UNPKG

bootstrap-table

Version:

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

11 lines (9 loc) 15.5 kB
/** * 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.22.2 * @homepage https://bootstrap-table.com * @author wenzhixin <wenzhixin2010@gmail.com> (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,b=g&&!p.call({1:2},1);s.f=b?function(t){var n=g(this,t);return!!n&&n.enumerable}:p;var h,y,m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},v=c,d=Function.prototype,w=d.call,S=v&&d.bind.bind(w,w),O=v?S:function(t){return function(){return w.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 new 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},U=q.all,G=q.IS_HTMLDDA?function(t){return"function"==typeof t||t===U}:function(t){return"function"==typeof t},B=G,H=q.all,W=q.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:B(t)||t===H}:function(t){return"object"==typeof t?null!==t:B(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=(h=rt.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!y&&$&&(!(h=$.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=$.match(/Chrome\/(\d+)/))&&(y=+h[1]);var et=y,ot=et,it=i,ut=e.String,ct=!!Object.getOwnPropertySymbols&&!it((function(){var t=Symbol("symbol detection");return!ut(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})),at=ct&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ft=V,lt=G,st=X,pt=Object,gt=at?function(t){return"symbol"==typeof t}:function(t){var n=ft("Symbol");return lt(n)&&st(n.prototype,pt(t))},bt=String,ht=G,yt=function(t){try{return bt(t)}catch(t){return"Object"}},mt=TypeError,vt=function(t){if(ht(t))return t;throw new mt(yt(t)+" is not a function")},dt=M,wt=l,St=G,Ot=W,jt=TypeError,Pt={exports:{}},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.34.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Mt=Pt.exports,Dt=L,It=Object,Lt=function(t){return It(Dt(t))},kt=Lt,Nt=O({}.hasOwnProperty),_t=Object.hasOwn||function(t,n){return Nt(kt(t),n)},zt=O,qt=0,Ut=Math.random(),Gt=zt(1..toString),Bt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Gt(++qt+Ut,36)},Ht=Mt,Wt=_t,Jt=Bt,Kt=ct,Qt=at,Vt=e.Symbol,Xt=Ht("wks"),Yt=Qt?Vt.for||Vt:Vt&&Vt.withoutSetter||Jt,$t=function(t){return Wt(Xt,t)||(Xt[t]=Kt&&Wt(Vt,t)?Vt[t]:Yt("Symbol."+t)),Xt[t]},Zt=l,tn=W,nn=gt,rn=function(t,n){var r=t[n];return dt(r)?void 0:vt(r)},en=function(t,n){var r,e;if("string"===n&&St(r=t.toString)&&!Ot(e=wt(r,t)))return e;if(St(r=t.valueOf)&&!Ot(e=wt(r,t)))return e;if("string"!==n&&St(r=t.toString)&&!Ot(e=wt(r,t)))return e;throw new jt("Can't convert object to primitive value")},on=TypeError,un=$t("toPrimitive"),cn=function(t,n){if(!tn(t)||nn(t))return t;var r,e=rn(t,un);if(e){if(void 0===n&&(n="default"),r=Zt(e,t,n),!tn(r)||nn(r))return r;throw new on("Can't convert object to primitive value")}return void 0===n&&(n="number"),en(t,n)},an=gt,fn=function(t){var n=cn(t,"string");return an(n)?n:n+""},ln=W,sn=e.document,pn=ln(sn)&&ln(sn.createElement),gn=function(t){return pn?sn.createElement(t):{}},bn=!u&&!i((function(){return 7!==Object.defineProperty(gn("div"),"a",{get:function(){return 7}}).a})),hn=u,yn=l,mn=s,vn=m,dn=_,wn=fn,Sn=_t,On=bn,jn=Object.getOwnPropertyDescriptor;o.f=hn?jn:function(t,n){if(t=dn(t),n=wn(n),On)try{return jn(t,n)}catch(t){}if(Sn(t,n))return vn(!yn(mn.f,t,n),t[n])};var Pn={},Tn=u&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),An=W,Cn=String,En=TypeError,xn=function(t){if(An(t))return t;throw new En(Cn(t)+" is not an object")},Rn=u,Fn=bn,Mn=Tn,Dn=xn,In=fn,Ln=TypeError,kn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,_n="enumerable",zn="configurable",qn="writable";Pn.f=Rn?Mn?function(t,n,r){if(Dn(t),n=In(n),Dn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&qn in r&&!r.writable){var e=Nn(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:zn in r?r.configurable:e.configurable,enumerable:_n in r?r.enumerable:e.enumerable,writable:!1})}return kn(t,n,r)}:kn:function(t,n,r){if(Dn(t),n=In(n),Dn(r),Fn)try{return kn(t,n,r)}catch(t){}if("get"in r||"set"in r)throw new Ln("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var Un=Pn,Gn=m,Bn=u?function(t,n,r){return Un.f(t,n,Gn(1,r))}:function(t,n,r){return t[n]=r,t},Hn={exports:{}},Wn=u,Jn=_t,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=Bt,ar=Mt("keys"),fr={},lr=ur,sr=e,pr=W,gr=Bn,br=_t,hr=Rt,yr=function(t){return ar[t]||(ar[t]=cr(t))},mr=fr,vr="Object already initialized",dr=sr.TypeError,wr=sr.WeakMap;if(lr||hr.state){var Sr=hr.state||(hr.state=new wr);Sr.get=Sr.get,Sr.has=Sr.has,Sr.set=Sr.set,tr=function(t,n){if(Sr.has(t))throw new dr(vr);return n.facade=t,Sr.set(t,n),n},nr=function(t){return Sr.get(t)||{}},rr=function(t){return Sr.has(t)}}else{var Or=yr("state");mr[Or]=!0,tr=function(t,n){if(br(t,Or))throw new dr(vr);return n.facade=t,gr(t,Or,n),n},nr=function(t){return br(t,Or)?t[Or]:{}},rr=function(t){return br(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 new dr("Incompatible receiver, "+t+" required");return r}}},Pr=O,Tr=i,Ar=G,Cr=_t,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=Hn.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 Ur=Hn.exports,Gr=G,Br=Pn,Hr=Ur,Wr=Ct,Jr={},Kr=Math.ceil,Qr=Math.floor,Vr=Math.trunc||function(t){var n=+t;return(n>0?Qr:Kr)(n)},Xr=function(t){var n=+t;return n!=n||0===n?0:Vr(n)},Yr=Xr,$r=Math.max,Zr=Math.min,te=Xr,ne=Math.min,re=function(t){return t>0?ne(te(t),9007199254740991):0},ee=function(t){return re(t.length)},oe=_,ie=function(t,n){var r=Yr(t);return r<0?$r(r+n,0):Zr(r,n)},ue=ee,ce=function(t){return function(n,r,e){var o,i=oe(n),u=ue(i),c=ie(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}},ae={includes:ce(!0),indexOf:ce(!1)},fe=_t,le=_,se=ae.indexOf,pe=fr,ge=O([].push),be=function(t,n){var r,e=le(t),o=0,i=[];for(r in e)!fe(pe,r)&&fe(e,r)&&ge(i,r);for(;n.length>o;)fe(e,r=n[o++])&&(~se(i,r)||ge(i,r));return i},he=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=be,me=he.concat("length","prototype");Jr.f=Object.getOwnPropertyNames||function(t){return ye(t,me)};var ve={};ve.f=Object.getOwnPropertySymbols;var de=V,we=Jr,Se=ve,Oe=xn,je=O([].concat),Pe=de("Reflect","ownKeys")||function(t){var n=we.f(Oe(t)),r=Se.f;return r?je(n,r(t)):n},Te=_t,Ae=Pe,Ce=o,Ee=Pn,xe=i,Re=G,Fe=/#|\.prototype\./,Me=function(t,n){var r=Ie[De(t)];return r===ke||r!==Le&&(Re(n)?xe(n):!!n)},De=Me.normalize=function(t){return String(t).replace(Fe,".").toLowerCase()},Ie=Me.data={},Le=Me.NATIVE="N",ke=Me.POLYFILL="P",Ne=Me,_e=e,ze=o.f,qe=Bn,Ue=function(t,n,r,e){e||(e={});var o=e.enumerable,i=void 0!==e.name?e.name:n;if(Gr(r)&&Hr(r,i,e),e.global)o?t[n]=r:Wr(n,r);else{try{e.unsafe?t[n]&&(o=!0):delete t[n]}catch(t){}o?t[n]=r:Br.f(t,n,{value:r,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},Ge=Ct,Be=function(t,n,r){for(var e=Ae(n),o=Ee.f,i=Ce.f,u=0;u<e.length;u++){var c=e[u];Te(t,c)||r&&Te(r,c)||o(t,c,i(n,c))}},He=Ne,We=function(t,n){var r,e,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?_e:f?_e[c]||Ge(c,{}):(_e[c]||{}).prototype)for(e in n){if(i=n[e],o=t.dontCallGetSet?(u=ze(r,e))&&u.value:r[e],!He(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Be(i,o)}(t.sham||o&&o.sham)&&qe(i,"sham",!0),Ue(r,e,i,t)}},Je=A,Ke=Array.isArray||function(t){return"Array"===Je(t)},Qe=TypeError,Ve=fn,Xe=Pn,Ye=m,$e={};$e[$t("toStringTag")]="z";var Ze="[object z]"===String($e),to=G,no=A,ro=$t("toStringTag"),eo=Object,oo="Arguments"===no(function(){return arguments}()),io=O,uo=i,co=G,ao=Ze?no: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=eo(t),ro))?r:oo?no(n):"Object"===(e=no(n))&&to(n.callee)?"Arguments":e},fo=er,lo=function(){},so=[],po=V("Reflect","construct"),go=/^\s*(?:class|function)\b/,bo=io(go.exec),ho=!go.test(lo),yo=function(t){if(!co(t))return!1;try{return po(lo,so,t),!0}catch(t){return!1}},mo=function(t){if(!co(t))return!1;switch(ao(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ho||!!bo(go,fo(t))}catch(t){return!0}};mo.sham=!0;var vo=!po||uo((function(){var t;return yo(yo.call)||!yo(Object)||!yo((function(){t=!0}))||t}))?mo:yo,wo=Ke,So=vo,Oo=W,jo=$t("species"),Po=Array,To=function(t){var n;return wo(t)&&(n=t.constructor,(So(n)&&(n===Po||wo(n.prototype))||Oo(n)&&null===(n=n[jo]))&&(n=void 0)),void 0===n?Po:n},Ao=i,Co=et,Eo=$t("species"),xo=We,Ro=i,Fo=Ke,Mo=W,Do=Lt,Io=ee,Lo=function(t){if(t>9007199254740991)throw Qe("Maximum allowed index exceeded");return t},ko=function(t,n,r){var e=Ve(n);e in t?Xe.f(t,e,Ye(0,r)):t[e]=r},No=function(t,n){return new(To(t))(0===n?0:n)},_o=function(t){return Co>=51||!Ao((function(){var n=[];return(n.constructor={})[Eo]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},zo=et,qo=$t("isConcatSpreadable"),Uo=zo>=51||!Ro((function(){var t=[];return t[qo]=!1,t.concat()[0]!==t})),Go=function(t){if(!Mo(t))return!1;var n=t[qo];return void 0!==n?!!n:Fo(t)};xo({target:"Array",proto:!0,arity:1,forced:!Uo||!_o("concat")},{concat:function(t){var n,r,e,o,i,u=Do(this),c=No(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Go(i=-1===n?u:arguments[n]))for(o=Io(i),Lo(a+o),r=0;r<o;r++,a++)r in i&&ko(c,a,i[r]);else Lo(a+1),ko(c,a++,i);return c.length=a,c}});var Bo=be,Ho=he,Wo=Object.keys||function(t){return Bo(t,Ho)},Jo=u,Ko=O,Qo=l,Vo=i,Xo=Wo,Yo=ve,$o=s,Zo=Lt,ti=F,ni=Object.assign,ri=Object.defineProperty,ei=Ko([].concat),oi=!ni||Vo((function(){if(Jo&&1!==ni({b:1},ni(ri({},"a",{enumerable:!0,get:function(){ri(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!==ni({},t)[r]||Xo(ni({},n)).join("")!==e}))?function(t,n){for(var r=Zo(t),e=arguments.length,o=1,i=Yo.f,u=$o.f;e>o;)for(var c,a=ti(arguments[o++]),f=i?ei(Xo(a),i(a)):Xo(a),l=f.length,s=0;l>s;)c=f[s++],Jo&&!Qo(u,a,c)||(r[c]=a[c]);return r}:ni,ii=oi;We({target:"Object",stat:!0,arity:2,forced:Object.assign!==ii},{assign:ii}),t.fn.bootstrapTable.locales["fr-LU"]={formatCopyRows:function(){return"Copier les lignes"},formatPrint:function(){return"Imprimer"},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-LU"])}));