mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 17:44:17 -08:00
0072f1500e
Signed-off-by: snipe <[email protected]>
11 lines
15 KiB
JavaScript
11 lines
15 KiB
JavaScript
/**
|
|
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
|
|
*
|
|
* @version v1.23.2
|
|
* @homepage https://bootstrap-table.com
|
|
* @author wenzhixin <[email protected]> (http://wenzhixin.net.cn/)
|
|
* @license MIT
|
|
*/
|
|
|
|
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(t){return t&&t.Math===Math&&t},e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")(),o={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=c,f=Function.prototype.call,l=a?f.bind(f):function(){return f.apply(f,arguments)},s={},p={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,y=g&&!p.call({1:2},1);s.f=y?function(t){var n=g(this,t);return!!n&&n.enumerable}:p;var b,h,m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},d=c,v=Function.prototype,w=v.call,S=d&&v.bind.bind(w,w),O=d?S:function(t){return function(){return w.apply(t,arguments)}},j=O,P=j({}.toString),T=j("".slice),E=function(t){return T(P(t),8,-1)},C=i,A=E,x=Object,F=O("".split),R=C((function(){return!x("z").propertyIsEnumerable(0)}))?function(t){return"String"===A(t)?F(t,""):x(t)}:x,M=function(t){return null==t},k=M,I=TypeError,L=function(t){if(k(t))throw new I("Can't call method on "+t);return t},N=R,z=L,D=function(t){return N(z(t))},G="object"==typeof document&&document.all,H=void 0===G&&void 0!==G?function(t){return"function"==typeof t||t===G}:function(t){return"function"==typeof t},U=H,_=function(t){return"object"==typeof t?null!==t:U(t)},q=e,B=H,W=function(t,n){return arguments.length<2?(r=q[t],B(r)?r:void 0):q[t]&&q[t][n];var r},$=O({}.isPrototypeOf),J=e,K="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Q=J.process,V=J.Deno,X=Q&&Q.versions||V&&V.version,Y=X&&X.v8;Y&&(h=(b=Y.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!h&&K&&(!(b=K.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=K.match(/Chrome\/(\d+)/))&&(h=+b[1]);var Z=h,tt=Z,nt=i,rt=e.String,et=!!Object.getOwnPropertySymbols&&!nt((function(){var t=Symbol("symbol detection");return!rt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&tt&&tt<41})),ot=et&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,it=W,ut=H,ct=$,at=Object,ft=ot?function(t){return"symbol"==typeof t}:function(t){var n=it("Symbol");return ut(n)&&ct(n.prototype,at(t))},lt=String,st=H,pt=function(t){try{return lt(t)}catch(t){return"Object"}},gt=TypeError,yt=function(t){if(st(t))return t;throw new gt(pt(t)+" is not a function")},bt=M,ht=l,mt=H,dt=_,vt=TypeError,wt={exports:{}},St=e,Ot=Object.defineProperty,jt=function(t,n){try{Ot(St,t,{value:n,configurable:!0,writable:!0})}catch(r){St[t]=n}return n},Pt=e,Tt=jt,Et="__core-js_shared__",Ct=wt.exports=Pt[Et]||Tt(Et,{});(Ct.versions||(Ct.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var At=wt.exports,xt=At,Ft=function(t,n){return xt[t]||(xt[t]=n||{})},Rt=L,Mt=Object,kt=function(t){return Mt(Rt(t))},It=kt,Lt=O({}.hasOwnProperty),Nt=Object.hasOwn||function(t,n){return Lt(It(t),n)},zt=O,Dt=0,Gt=Math.random(),Ht=zt(1..toString),Ut=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ht(++Dt+Gt,36)},_t=Ft,qt=Nt,Bt=Ut,Wt=et,$t=ot,Jt=e.Symbol,Kt=_t("wks"),Qt=$t?Jt.for||Jt:Jt&&Jt.withoutSetter||Bt,Vt=function(t){return qt(Kt,t)||(Kt[t]=Wt&&qt(Jt,t)?Jt[t]:Qt("Symbol."+t)),Kt[t]},Xt=l,Yt=_,Zt=ft,tn=function(t,n){var r=t[n];return bt(r)?void 0:yt(r)},nn=function(t,n){var r,e;if("string"===n&&mt(r=t.toString)&&!dt(e=ht(r,t)))return e;if(mt(r=t.valueOf)&&!dt(e=ht(r,t)))return e;if("string"!==n&&mt(r=t.toString)&&!dt(e=ht(r,t)))return e;throw new vt("Can't convert object to primitive value")},rn=TypeError,en=Vt("toPrimitive"),on=function(t,n){if(!Yt(t)||Zt(t))return t;var r,e=tn(t,en);if(e){if(void 0===n&&(n="default"),r=Xt(e,t,n),!Yt(r)||Zt(r))return r;throw new rn("Can't convert object to primitive value")}return void 0===n&&(n="number"),nn(t,n)},un=ft,cn=function(t){var n=on(t,"string");return un(n)?n:n+""},an=_,fn=e.document,ln=an(fn)&&an(fn.createElement),sn=function(t){return ln?fn.createElement(t):{}},pn=!u&&!i((function(){return 7!==Object.defineProperty(sn("div"),"a",{get:function(){return 7}}).a})),gn=u,yn=l,bn=s,hn=m,mn=D,dn=cn,vn=Nt,wn=pn,Sn=Object.getOwnPropertyDescriptor;o.f=gn?Sn:function(t,n){if(t=mn(t),n=dn(n),wn)try{return Sn(t,n)}catch(t){}if(vn(t,n))return hn(!yn(bn.f,t,n),t[n])};var On={},jn=u&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Pn=_,Tn=String,En=TypeError,Cn=function(t){if(Pn(t))return t;throw new En(Tn(t)+" is not an object")},An=u,xn=pn,Fn=jn,Rn=Cn,Mn=cn,kn=TypeError,In=Object.defineProperty,Ln=Object.getOwnPropertyDescriptor,Nn="enumerable",zn="configurable",Dn="writable";On.f=An?Fn?function(t,n,r){if(Rn(t),n=Mn(n),Rn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&Dn in r&&!r[Dn]){var e=Ln(t,n);e&&e[Dn]&&(t[n]=r.value,r={configurable:zn in r?r[zn]:e[zn],enumerable:Nn in r?r[Nn]:e[Nn],writable:!1})}return In(t,n,r)}:In:function(t,n,r){if(Rn(t),n=Mn(n),Rn(r),xn)try{return In(t,n,r)}catch(t){}if("get"in r||"set"in r)throw new kn("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var Gn=On,Hn=m,Un=u?function(t,n,r){return Gn.f(t,n,Hn(1,r))}:function(t,n,r){return t[n]=r,t},_n={exports:{}},qn=u,Bn=Nt,Wn=Function.prototype,$n=qn&&Object.getOwnPropertyDescriptor,Jn=Bn(Wn,"name"),Kn={EXISTS:Jn,PROPER:Jn&&"something"===function(){}.name,CONFIGURABLE:Jn&&(!qn||qn&&$n(Wn,"name").configurable)},Qn=H,Vn=At,Xn=O(Function.toString);Qn(Vn.inspectSource)||(Vn.inspectSource=function(t){return Xn(t)});var Yn,Zn,tr,nr=Vn.inspectSource,rr=H,er=e.WeakMap,or=rr(er)&&/native code/.test(String(er)),ir=Ut,ur=Ft("keys"),cr={},ar=or,fr=e,lr=_,sr=Un,pr=Nt,gr=At,yr=function(t){return ur[t]||(ur[t]=ir(t))},br=cr,hr="Object already initialized",mr=fr.TypeError,dr=fr.WeakMap;if(ar||gr.state){var vr=gr.state||(gr.state=new dr);vr.get=vr.get,vr.has=vr.has,vr.set=vr.set,Yn=function(t,n){if(vr.has(t))throw new mr(hr);return n.facade=t,vr.set(t,n),n},Zn=function(t){return vr.get(t)||{}},tr=function(t){return vr.has(t)}}else{var wr=yr("state");br[wr]=!0,Yn=function(t,n){if(pr(t,wr))throw new mr(hr);return n.facade=t,sr(t,wr,n),n},Zn=function(t){return pr(t,wr)?t[wr]:{}},tr=function(t){return pr(t,wr)}}var Sr={set:Yn,get:Zn,has:tr,enforce:function(t){return tr(t)?Zn(t):Yn(t,{})},getterFor:function(t){return function(n){var r;if(!lr(n)||(r=Zn(n)).type!==t)throw new mr("Incompatible receiver, "+t+" required");return r}}},Or=O,jr=i,Pr=H,Tr=Nt,Er=u,Cr=Kn.CONFIGURABLE,Ar=nr,xr=Sr.enforce,Fr=Sr.get,Rr=String,Mr=Object.defineProperty,kr=Or("".slice),Ir=Or("".replace),Lr=Or([].join),Nr=Er&&!jr((function(){return 8!==Mr((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),Dr=_n.exports=function(t,n,r){"Symbol("===kr(Rr(n),0,7)&&(n="["+Ir(Rr(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!Tr(t,"name")||Cr&&t.name!==n)&&(Er?Mr(t,"name",{value:n,configurable:!0}):t.name=n),Nr&&r&&Tr(r,"arity")&&t.length!==r.arity&&Mr(t,"length",{value:r.arity});try{r&&Tr(r,"constructor")&&r.constructor?Er&&Mr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=xr(t);return Tr(e,"source")||(e.source=Lr(zr,"string"==typeof n?n:"")),t};Function.prototype.toString=Dr((function(){return Pr(this)&&Fr(this).source||Ar(this)}),"toString");var Gr=_n.exports,Hr=H,Ur=On,_r=Gr,qr=jt,Br={},Wr=Math.ceil,$r=Math.floor,Jr=Math.trunc||function(t){var n=+t;return(n>0?$r:Wr)(n)},Kr=function(t){var n=+t;return n!=n||0===n?0:Jr(n)},Qr=Kr,Vr=Math.max,Xr=Math.min,Yr=Kr,Zr=Math.min,te=function(t){var n=Yr(t);return n>0?Zr(n,9007199254740991):0},ne=function(t){return te(t.length)},re=D,ee=function(t,n){var r=Qr(t);return r<0?Vr(r+n,0):Xr(r,n)},oe=ne,ie=function(t){return function(n,r,e){var o=re(n),i=oe(o);if(0===i)return!t&&-1;var u,c=ee(e,i);if(t&&r!=r){for(;i>c;)if((u=o[c++])!=u)return!0}else for(;i>c;c++)if((t||c in o)&&o[c]===r)return t||c||0;return!t&&-1}},ue={includes:ie(!0),indexOf:ie(!1)},ce=Nt,ae=D,fe=ue.indexOf,le=cr,se=O([].push),pe=function(t,n){var r,e=ae(t),o=0,i=[];for(r in e)!ce(le,r)&&ce(e,r)&&se(i,r);for(;n.length>o;)ce(e,r=n[o++])&&(~fe(i,r)||se(i,r));return i},ge=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=pe,be=ge.concat("length","prototype");Br.f=Object.getOwnPropertyNames||function(t){return ye(t,be)};var he={};he.f=Object.getOwnPropertySymbols;var me=W,de=Br,ve=he,we=Cn,Se=O([].concat),Oe=me("Reflect","ownKeys")||function(t){var n=de.f(we(t)),r=ve.f;return r?Se(n,r(t)):n},je=Nt,Pe=Oe,Te=o,Ee=On,Ce=i,Ae=H,xe=/#|\.prototype\./,Fe=function(t,n){var r=Me[Re(t)];return r===Ie||r!==ke&&(Ae(n)?Ce(n):!!n)},Re=Fe.normalize=function(t){return String(t).replace(xe,".").toLowerCase()},Me=Fe.data={},ke=Fe.NATIVE="N",Ie=Fe.POLYFILL="P",Le=Fe,Ne=e,ze=o.f,De=Un,Ge=function(t,n,r,e){e||(e={});var o=e.enumerable,i=void 0!==e.name?e.name:n;if(Hr(r)&&_r(r,i,e),e.global)o?t[n]=r:qr(n,r);else{try{e.unsafe?t[n]&&(o=!0):delete t[n]}catch(t){}o?t[n]=r:Ur.f(t,n,{value:r,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},He=jt,Ue=function(t,n,r){for(var e=Pe(n),o=Ee.f,i=Te.f,u=0;u<e.length;u++){var c=e[u];je(t,c)||r&&je(r,c)||o(t,c,i(n,c))}},_e=Le,qe=function(t,n){var r,e,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?Ne:f?Ne[c]||He(c,{}):Ne[c]&&Ne[c].prototype)for(e in n){if(i=n[e],o=t.dontCallGetSet?(u=ze(r,e))&&u.value:r[e],!_e(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ue(i,o)}(t.sham||o&&o.sham)&&De(i,"sham",!0),Ge(r,e,i,t)}},Be=E,We=Array.isArray||function(t){return"Array"===Be(t)},$e=TypeError,Je=u,Ke=On,Qe=m,Ve={};Ve[Vt("toStringTag")]="z";var Xe="[object z]"===String(Ve),Ye=H,Ze=E,to=Vt("toStringTag"),no=Object,ro="Arguments"===Ze(function(){return arguments}()),eo=O,oo=i,io=H,uo=Xe?Ze:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=no(t),to))?r:ro?Ze(n):"Object"===(e=Ze(n))&&Ye(n.callee)?"Arguments":e},co=nr,ao=function(){},fo=W("Reflect","construct"),lo=/^\s*(?:class|function)\b/,so=eo(lo.exec),po=!lo.test(ao),go=function(t){if(!io(t))return!1;try{return fo(ao,[],t),!0}catch(t){return!1}},yo=function(t){if(!io(t))return!1;switch(uo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return po||!!so(lo,co(t))}catch(t){return!0}};yo.sham=!0;var bo=!fo||oo((function(){var t;return go(go.call)||!go(Object)||!go((function(){t=!0}))||t}))?yo:go,ho=We,mo=bo,vo=_,wo=Vt("species"),So=Array,Oo=function(t){var n;return ho(t)&&(n=t.constructor,(mo(n)&&(n===So||ho(n.prototype))||vo(n)&&null===(n=n[wo]))&&(n=void 0)),void 0===n?So:n},jo=i,Po=Z,To=Vt("species"),Eo=qe,Co=i,Ao=We,xo=_,Fo=kt,Ro=ne,Mo=function(t){if(t>9007199254740991)throw $e("Maximum allowed index exceeded");return t},ko=function(t,n,r){Je?Ke.f(t,n,Qe(0,r)):t[n]=r},Io=function(t,n){return new(Oo(t))(0===n?0:n)},Lo=function(t){return Po>=51||!jo((function(){var n=[];return(n.constructor={})[To]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},No=Z,zo=Vt("isConcatSpreadable"),Do=No>=51||!Co((function(){var t=[];return t[zo]=!1,t.concat()[0]!==t})),Go=function(t){if(!xo(t))return!1;var n=t[zo];return void 0!==n?!!n:Ao(t)};Eo({target:"Array",proto:!0,arity:1,forced:!Do||!Lo("concat")},{concat:function(t){var n,r,e,o,i,u=Fo(this),c=Io(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Go(i=-1===n?u:arguments[n]))for(o=Ro(i),Mo(a+o),r=0;r<o;r++,a++)r in i&&ko(c,a,i[r]);else Mo(a+1),ko(c,a++,i);return c.length=a,c}});var Ho=pe,Uo=ge,_o=Object.keys||function(t){return Ho(t,Uo)},qo=u,Bo=O,Wo=l,$o=i,Jo=_o,Ko=he,Qo=s,Vo=kt,Xo=R,Yo=Object.assign,Zo=Object.defineProperty,ti=Bo([].concat),ni=!Yo||$o((function(){if(qo&&1!==Yo({b:1},Yo(Zo({},"a",{enumerable:!0,get:function(){Zo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},r=Symbol("assign detection"),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach((function(t){n[t]=t})),7!==Yo({},t)[r]||Jo(Yo({},n)).join("")!==e}))?function(t,n){for(var r=Vo(t),e=arguments.length,o=1,i=Ko.f,u=Qo.f;e>o;)for(var c,a=Xo(arguments[o++]),f=i?ti(Jo(a),i(a)):Jo(a),l=f.length,s=0;l>s;)c=f[s++],qo&&!Wo(u,a,c)||(r[c]=a[c]);return r}:Yo,ri=ni;qe({target:"Object",stat:!0,arity:2,forced:Object.assign!==ri},{assign:ri}),t.fn.bootstrapTable.locales["en-US"]=t.fn.bootstrapTable.locales.en={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Showing ".concat(t," to ").concat(n," of ").concat(r," rows (filtered from ").concat(e," total rows)"):"Showing ".concat(t," to ").concat(n," of ").concat(r," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["en-US"])}));
|