UNPKG

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