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]})),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,h=g&&!p.call({1:2},1);s.f=h?function(t){var n=g(this,t);return!!n&&n.enumerable}:p;var b,y,m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},v=c,d=Function.prototype,S=d.call,w=v&&d.bind.bind(S,S),O=v?w:function(t){return function(){return S.apply(t,arguments)}},j=O,P=j({}.toString),T=j("".slice),A=function(t){return T(P(t),8,-1)},C=i,E=A,x=Object,R=O("".split),F=C((function(){return!x("z").propertyIsEnumerable(0)}))?function(t){return"String"==E(t)?R(t,""):x(t)}:x,M=function(t){return null==t},D=M,I=TypeError,L=function(t){if(D(t))throw I("Can't call method on "+t);return t},k=F,N=L,_=function(t){return k(N(t))},z="object"==typeof document&&document.all,q={all:z,IS_HTMLDDA:void 0===z&&void 0!==z},B=q.all,G=q.IS_HTMLDDA?function(t){return"function"==typeof t||t===B}:function(t){return"function"==typeof t},H=G,U=q.all,W=q.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:H(t)||t===U}:function(t){return"object"==typeof t?null!==t:H(t)},J=e,K=G,Q=function(t){return K(t)?t:void 0},V=function(t,n){return arguments.length<2?Q(J[t]):J[t]&&J[t][n]},X=O({}.isPrototypeOf),Y=e,$="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Z=Y.process,tt=Y.Deno,nt=Z&&Z.versions||tt&&tt.version,rt=nt&&nt.v8;rt&&(y=(b=rt.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!y&&$&&(!(b=$.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=$.match(/Chrome\/(\d+)/))&&(y=+b[1]);var et=y,ot=et,it=i,ut=!!Object.getOwnPropertySymbols&&!it((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})),ct=ut&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=V,ft=G,lt=X,st=Object,pt=ct?function(t){return"symbol"==typeof t}:function(t){var n=at("Symbol");return ft(n)&&lt(n.prototype,st(t))},gt=String,ht=G,bt=function(t){try{return gt(t)}catch(t){return"Object"}},yt=TypeError,mt=function(t){if(ht(t))return t;throw yt(bt(t)+" is not a function")},vt=M,dt=l,St=G,wt=W,Ot=TypeError,jt={},Pt={get exports(){return jt},set exports(t){jt=t}},Tt=e,At=Object.defineProperty,Ct=function(t,n){try{At(Tt,t,{value:n,configurable:!0,writable:!0})}catch(r){Tt[t]=n}return n},Et=Ct,xt="__core-js_shared__",Rt=e[xt]||Et(xt,{}),Ft=Rt;(Pt.exports=function(t,n){return Ft[t]||(Ft[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 Mt=L,Dt=Object,It=function(t){return Dt(Mt(t))},Lt=It,kt=O({}.hasOwnProperty),Nt=Object.hasOwn||function(t,n){return kt(Lt(t),n)},_t=O,zt=0,qt=Math.random(),Bt=_t(1..toString),Gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Bt(++zt+qt,36)},Ht=jt,Ut=Nt,Wt=Gt,Jt=ut,Kt=ct,Qt=e.Symbol,Vt=Ht("wks"),Xt=Kt?Qt.for||Qt:Qt&&Qt.withoutSetter||Wt,Yt=function(t){return Ut(Vt,t)||(Vt[t]=Jt&&Ut(Qt,t)?Qt[t]:Xt("Symbol."+t)),Vt[t]},$t=l,Zt=W,tn=pt,nn=function(t,n){var r=t[n];return vt(r)?void 0:mt(r)},rn=function(t,n){var r,e;if("string"===n&&St(r=t.toString)&&!wt(e=dt(r,t)))return e;if(St(r=t.valueOf)&&!wt(e=dt(r,t)))return e;if("string"!==n&&St(r=t.toString)&&!wt(e=dt(r,t)))return e;throw Ot("Can't convert object to primitive value")},en=TypeError,on=Yt("toPrimitive"),un=function(t,n){if(!Zt(t)||tn(t))return t;var r,e=nn(t,on);if(e){if(void 0===n&&(n="default"),r=$t(e,t,n),!Zt(r)||tn(r))return r;throw en("Can't convert object to primitive value")}return void 0===n&&(n="number"),rn(t,n)},cn=pt,an=function(t){var n=un(t,"string");return cn(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})),hn=u,bn=l,yn=s,mn=m,vn=_,dn=an,Sn=Nt,wn=gn,On=Object.getOwnPropertyDescriptor;o.f=hn?On:function(t,n){if(t=vn(t),n=dn(n),wn)try{return On(t,n)}catch(t){}if(Sn(t,n))return mn(!bn(yn.f,t,n),t[n])};var jn={},Pn=u&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tn=W,An=String,Cn=TypeError,En=function(t){if(Tn(t))return t;throw Cn(An(t)+" is not an object")},xn=u,Rn=gn,Fn=Pn,Mn=En,Dn=an,In=TypeError,Ln=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,Nn="enumerable",_n="configurable",zn="writable";jn.f=xn?Fn?function(t,n,r){if(Mn(t),n=Dn(n),Mn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&zn in r&&!r.writable){var e=kn(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:_n in r?r.configurable:e.configurable,enumerable:Nn in r?r.enumerable:e.enumerable,writable:!1})}return Ln(t,n,r)}:Ln:function(t,n,r){if(Mn(t),n=Dn(n),Mn(r),Rn)try{return Ln(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 qn=jn,Bn=m,Gn=u?function(t,n,r){return qn.f(t,n,Bn(1,r))}:function(t,n,r){return t[n]=r,t},Hn={},Un={get exports(){return Hn},set exports(t){Hn=t}},Wn=u,Jn=Nt,Kn=Function.prototype,Qn=Wn&&Object.getOwnPropertyDescriptor,Vn=Jn(Kn,"name"),Xn={EXISTS:Vn,PROPER:Vn&&"something"===function(){}.name,CONFIGURABLE:Vn&&(!Wn||Wn&&Qn(Kn,"name").configurable)},Yn=G,$n=Rt,Zn=O(Function.toString);Yn($n.inspectSource)||($n.inspectSource=function(t){return Zn(t)});var tr,nr,rr,er=$n.inspectSource,or=G,ir=e.WeakMap,ur=or(ir)&&/native code/.test(String(ir)),cr=Gt,ar=jt("keys"),fr={},lr=ur,sr=e,pr=W,gr=Gn,hr=Nt,br=Rt,yr=function(t){return ar[t]||(ar[t]=cr(t))},mr=fr,vr="Object already initialized",dr=sr.TypeError,Sr=sr.WeakMap;if(lr||br.state){var wr=br.state||(br.state=new Sr);wr.get=wr.get,wr.has=wr.has,wr.set=wr.set,tr=function(t,n){if(wr.has(t))throw dr(vr);return n.facade=t,wr.set(t,n),n},nr=function(t){return wr.get(t)||{}},rr=function(t){return wr.has(t)}}else{var Or=yr("state");mr[Or]=!0,tr=function(t,n){if(hr(t,Or))throw dr(vr);return n.facade=t,gr(t,Or,n),n},nr=function(t){return hr(t,Or)?t[Or]:{}},rr=function(t){return hr(t,Or)}}var jr={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 dr("Incompatible receiver, "+t+" required");return r}}},Pr=O,Tr=i,Ar=G,Cr=Nt,Er=u,xr=Xn.CONFIGURABLE,Rr=er,Fr=jr.enforce,Mr=jr.get,Dr=String,Ir=Object.defineProperty,Lr=Pr("".slice),kr=Pr("".replace),Nr=Pr([].join),_r=Er&&!Tr((function(){return 8!==Ir((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),qr=Un.exports=function(t,n,r){"Symbol("===Lr(Dr(n),0,7)&&(n="["+kr(Dr(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!Cr(t,"name")||xr&&t.name!==n)&&(Er?Ir(t,"name",{value:n,configurable:!0}):t.name=n),_r&&r&&Cr(r,"arity")&&t.length!==r.arity&&Ir(t,"length",{value:r.arity});try{r&&Cr(r,"constructor")&&r.constructor?Er&&Ir(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=Fr(t);return Cr(e,"source")||(e.source=Nr(zr,"string"==typeof n?n:"")),t};Function.prototype.toString=qr((function(){return Ar(this)&&Mr(this).source||Rr(this)}),"toString");var Br=G,Gr=jn,Hr=Hn,Ur=Ct,Wr={},Jr=Math.ceil,Kr=Math.floor,Qr=Math.trunc||function(t){var n=+t;return(n>0?Kr:Jr)(n)},Vr=function(t){var n=+t;return n!=n||0===n?0:Qr(n)},Xr=Vr,Yr=Math.max,$r=Math.min,Zr=Vr,te=Math.min,ne=function(t){return t>0?te(Zr(t),9007199254740991):0},re=function(t){return ne(t.length)},ee=_,oe=function(t,n){var r=Xr(t);return r<0?Yr(r+n,0):$r(r,n)},ie=re,ue=function(t){return function(n,r,e){var o,i=ee(n),u=ie(i),c=oe(e,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},ce={includes:ue(!0),indexOf:ue(!1)},ae=Nt,fe=_,le=ce.indexOf,se=fr,pe=O([].push),ge=function(t,n){var r,e=fe(t),o=0,i=[];for(r in e)!ae(se,r)&&ae(e,r)&&pe(i,r);for(;n.length>o;)ae(e,r=n[o++])&&(~le(i,r)||pe(i,r));return i},he=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],be=ge,ye=he.concat("length","prototype");Wr.f=Object.getOwnPropertyNames||function(t){return be(t,ye)};var me={};me.f=Object.getOwnPropertySymbols;var ve=V,de=Wr,Se=me,we=En,Oe=O([].concat),je=ve("Reflect","ownKeys")||function(t){var n=de.f(we(t)),r=Se.f;return r?Oe(n,r(t)):n},Pe=Nt,Te=je,Ae=o,Ce=jn,Ee=i,xe=G,Re=/#|\.prototype\./,Fe=function(t,n){var r=De[Me(t)];return r==Le||r!=Ie&&(xe(n)?Ee(n):!!n)},Me=Fe.normalize=function(t){return String(t).replace(Re,".").toLowerCase()},De=Fe.data={},Ie=Fe.NATIVE="N",Le=Fe.POLYFILL="P",ke=Fe,Ne=e,_e=o.f,ze=Gn,qe=function(t,n,r,e){e||(e={});var o=e.enumerable,i=void 0!==e.name?e.name:n;if(Br(r)&&Hr(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},Be=Ct,Ge=function(t,n,r){for(var e=Te(n),o=Ce.f,i=Ae.f,u=0;u<e.length;u++){var c=e[u];Pe(t,c)||r&&Pe(r,c)||o(t,c,i(n,c))}},He=ke,Ue=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]||Be(c,{}):(Ne[c]||{}).prototype)for(e in n){if(i=n[e],o=t.dontCallGetSet?(u=_e(r,e))&&u.value:r[e],!He(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ge(i,o)}(t.sham||o&&o.sham)&&ze(i,"sham",!0),qe(r,e,i,t)}},We=A,Je=Array.isArray||function(t){return"Array"==We(t)},Ke=TypeError,Qe=an,Ve=jn,Xe=m,Ye={};Ye[Yt("toStringTag")]="z";var $e="[object z]"===String(Ye),Ze=G,to=A,no=Yt("toStringTag"),ro=Object,eo="Arguments"==to(function(){return arguments}()),oo=O,io=i,uo=G,co=$e?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))&&Ze(n.callee)?"Arguments":e},ao=er,fo=function(){},lo=[],so=V("Reflect","construct"),po=/^\s*(?:class|function)\b/,go=oo(po.exec),ho=!po.exec(fo),bo=function(t){if(!uo(t))return!1;try{return so(fo,lo,t),!0}catch(t){return!1}},yo=function(t){if(!uo(t))return!1;switch(co(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ho||!!go(po,ao(t))}catch(t){return!0}};yo.sham=!0;var mo=!so||io((function(){var t;return bo(bo.call)||!bo(Object)||!bo((function(){t=!0}))||t}))?yo:bo,vo=Je,So=mo,wo=W,Oo=Yt("species"),jo=Array,Po=function(t){var n;return vo(t)&&(n=t.constructor,(So(n)&&(n===jo||vo(n.prototype))||wo(n)&&null===(n=n[Oo]))&&(n=void 0)),void 0===n?jo:n},To=i,Ao=et,Co=Yt("species"),Eo=Ue,xo=i,Ro=Je,Fo=W,Mo=It,Do=re,Io=function(t){if(t>9007199254740991)throw Ke("Maximum allowed index exceeded");return t},Lo=function(t,n,r){var e=Qe(n);e in t?Ve.f(t,e,Xe(0,r)):t[e]=r},ko=function(t,n){return new(Po(t))(0===n?0:n)},No=function(t){return Ao>=51||!To((function(){var n=[];return(n.constructor={})[Co]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},_o=et,zo=Yt("isConcatSpreadable"),qo=_o>=51||!xo((function(){var t=[];return t[zo]=!1,t.concat()[0]!==t})),Bo=function(t){if(!Fo(t))return!1;var n=t[zo];return void 0!==n?!!n:Ro(t)};Eo({target:"Array",proto:!0,arity:1,forced:!qo||!No("concat")},{concat:function(t){var n,r,e,o,i,u=Mo(this),c=ko(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Bo(i=-1===n?u:arguments[n]))for(o=Do(i),Io(a+o),r=0;r<o;r++,a++)r in i&&Lo(c,a,i[r]);else Io(a+1),Lo(c,a++,i);return c.length=a,c}});var Go=ge,Ho=he,Uo=Object.keys||function(t){return Go(t,Ho)},Wo=u,Jo=O,Ko=l,Qo=i,Vo=Uo,Xo=me,Yo=s,$o=It,Zo=F,ti=Object.assign,ni=Object.defineProperty,ri=Jo([].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=$o(t),e=arguments.length,o=1,i=Xo.f,u=Yo.f;e>o;)for(var c,a=Zo(arguments[o++]),f=i?ri(Vo(a),i(a)):Vo(a),l=f.length,s=0;l>s;)c=f[s++],Wo&&!Ko(u,a,c)||(r[c]=a[c]);return r}:ti,oi=ei;Ue({target:"Object",stat:!0,arity:2,forced:Object.assign!==oi},{assign:oi}),t.fn.bootstrapTable.locales["fr-BE"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Affiche de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrés à partir de ").concat(e," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-BE"])}));