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) 16.1 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 m,y,v=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},d=c,h=Function.prototype,w=h.call,S=d&&h.bind.bind(w,w),j=d?S:function(t){return function(){return w.apply(t,arguments)}},O=j,T=O({}.toString),P=O("".slice),A=function(t){return P(T(t),8,-1)},E=i,C=A,x=Object,D=j("".split),M=E((function(){return!x("z").propertyIsEnumerable(0)}))?function(t){return"String"===C(t)?D(t,""):x(t)}:x,F=function(t){return null==t},k=F,R=TypeError,L=function(t){if(k(t))throw new R("Can't call method on "+t);return t},I=M,N=L,z=function(t){return I(N(t))},V="object"==typeof document&&document.all,G={all:V,IS_HTMLDDA:void 0===V&&void 0!==V},_=G.all,B=G.IS_HTMLDDA?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},q=B,H=G.all,U=G.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:q(t)||t===H}:function(t){return"object"==typeof t?null!==t:q(t)},K=e,W=B,J=function(t){return W(t)?t:void 0},Q=function(t,n){return arguments.length<2?J(K[t]):K[t]&&K[t][n]},X=j({}.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&&(y=(m=rt.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!y&&Z&&(!(m=Z.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=Z.match(/Chrome\/(\d+)/))&&(y=+m[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=Q,lt=B,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,mt=B,yt=function(t){try{return bt(t)}catch(t){return"Object"}},vt=TypeError,dt=function(t){if(mt(t))return t;throw new vt(yt(t)+" is not a function")},ht=F,wt=l,St=B,jt=U,Ot=TypeError,Tt={exports:{}},Pt=e,At=Object.defineProperty,Et=function(t,n){try{At(Pt,t,{value:n,configurable:!0,writable:!0})}catch(r){Pt[t]=n}return n},Ct=Et,xt="__core-js_shared__",Dt=e[xt]||Ct(xt,{}),Mt=Dt;(Tt.exports=function(t,n){return Mt[t]||(Mt[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 Ft=Tt.exports,kt=L,Rt=Object,Lt=function(t){return Rt(kt(t))},It=Lt,Nt=j({}.hasOwnProperty),zt=Object.hasOwn||function(t,n){return Nt(It(t),n)},Vt=j,Gt=0,_t=Math.random(),Bt=Vt(1..toString),qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Bt(++Gt+_t,36)},Ht=Ft,Ut=zt,Kt=qt,Wt=ct,Jt=at,Qt=e.Symbol,Xt=Ht("wks"),Yt=Jt?Qt.for||Qt:Qt&&Qt.withoutSetter||Kt,Zt=function(t){return Ut(Xt,t)||(Xt[t]=Wt&&Ut(Qt,t)?Qt[t]:Yt("Symbol."+t)),Xt[t]},$t=l,tn=U,nn=gt,rn=function(t,n){var r=t[n];return ht(r)?void 0:dt(r)},en=function(t,n){var r,e;if("string"===n&&St(r=t.toString)&&!jt(e=wt(r,t)))return e;if(St(r=t.valueOf)&&!jt(e=wt(r,t)))return e;if("string"!==n&&St(r=t.toString)&&!jt(e=wt(r,t)))return e;throw new Ot("Can't convert object to primitive value")},on=TypeError,un=Zt("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=$t(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=U,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})),mn=u,yn=l,vn=s,dn=v,hn=z,wn=fn,Sn=zt,jn=bn,On=Object.getOwnPropertyDescriptor;o.f=mn?On:function(t,n){if(t=hn(t),n=wn(n),jn)try{return On(t,n)}catch(t){}if(Sn(t,n))return dn(!yn(vn.f,t,n),t[n])};var Tn={},Pn=u&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),An=U,En=String,Cn=TypeError,xn=function(t){if(An(t))return t;throw new Cn(En(t)+" is not an object")},Dn=u,Mn=bn,Fn=Pn,kn=xn,Rn=fn,Ln=TypeError,In=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,zn="enumerable",Vn="configurable",Gn="writable";Tn.f=Dn?Fn?function(t,n,r){if(kn(t),n=Rn(n),kn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&Gn in r&&!r.writable){var e=Nn(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:Vn in r?r.configurable:e.configurable,enumerable:zn in r?r.enumerable:e.enumerable,writable:!1})}return In(t,n,r)}:In:function(t,n,r){if(kn(t),n=Rn(n),kn(r),Mn)try{return In(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 _n=Tn,Bn=v,qn=u?function(t,n,r){return _n.f(t,n,Bn(1,r))}:function(t,n,r){return t[n]=r,t},Hn={exports:{}},Un=u,Kn=zt,Wn=Function.prototype,Jn=Un&&Object.getOwnPropertyDescriptor,Qn=Kn(Wn,"name"),Xn={EXISTS:Qn,PROPER:Qn&&"something"===function(){}.name,CONFIGURABLE:Qn&&(!Un||Un&&Jn(Wn,"name").configurable)},Yn=B,Zn=Dt,$n=j(Function.toString);Yn(Zn.inspectSource)||(Zn.inspectSource=function(t){return $n(t)});var tr,nr,rr,er=Zn.inspectSource,or=B,ir=e.WeakMap,ur=or(ir)&&/native code/.test(String(ir)),cr=qt,ar=Ft("keys"),fr={},lr=ur,sr=e,pr=U,gr=qn,br=zt,mr=Dt,yr=function(t){return ar[t]||(ar[t]=cr(t))},vr=fr,dr="Object already initialized",hr=sr.TypeError,wr=sr.WeakMap;if(lr||mr.state){var Sr=mr.state||(mr.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 hr(dr);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 jr=yr("state");vr[jr]=!0,tr=function(t,n){if(br(t,jr))throw new hr(dr);return n.facade=t,gr(t,jr,n),n},nr=function(t){return br(t,jr)?t[jr]:{}},rr=function(t){return br(t,jr)}}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 new hr("Incompatible receiver, "+t+" required");return r}}},Tr=j,Pr=i,Ar=B,Er=zt,Cr=u,xr=Xn.CONFIGURABLE,Dr=er,Mr=Or.enforce,Fr=Or.get,kr=String,Rr=Object.defineProperty,Lr=Tr("".slice),Ir=Tr("".replace),Nr=Tr([].join),zr=Cr&&!Pr((function(){return 8!==Rr((function(){}),"length",{value:8}).length})),Vr=String(String).split("String"),Gr=Hn.exports=function(t,n,r){"Symbol("===Lr(kr(n),0,7)&&(n="["+Ir(kr(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!Er(t,"name")||xr&&t.name!==n)&&(Cr?Rr(t,"name",{value:n,configurable:!0}):t.name=n),zr&&r&&Er(r,"arity")&&t.length!==r.arity&&Rr(t,"length",{value:r.arity});try{r&&Er(r,"constructor")&&r.constructor?Cr&&Rr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=Mr(t);return Er(e,"source")||(e.source=Nr(Vr,"string"==typeof n?n:"")),t};Function.prototype.toString=Gr((function(){return Ar(this)&&Fr(this).source||Dr(this)}),"toString");var _r=Hn.exports,Br=B,qr=Tn,Hr=_r,Ur=Et,Kr={},Wr=Math.ceil,Jr=Math.floor,Qr=Math.trunc||function(t){var n=+t;return(n>0?Jr:Wr)(n)},Xr=function(t){var n=+t;return n!=n||0===n?0:Qr(n)},Yr=Xr,Zr=Math.max,$r=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=z,ie=function(t,n){var r=Yr(t);return r<0?Zr(r+n,0):$r(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=zt,le=z,se=ae.indexOf,pe=fr,ge=j([].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},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=be,ve=me.concat("length","prototype");Kr.f=Object.getOwnPropertyNames||function(t){return ye(t,ve)};var de={};de.f=Object.getOwnPropertySymbols;var he=Q,we=Kr,Se=de,je=xn,Oe=j([].concat),Te=he("Reflect","ownKeys")||function(t){var n=we.f(je(t)),r=Se.f;return r?Oe(n,r(t)):n},Pe=zt,Ae=Te,Ee=o,Ce=Tn,xe=i,De=B,Me=/#|\.prototype\./,Fe=function(t,n){var r=Re[ke(t)];return r===Ie||r!==Le&&(De(n)?xe(n):!!n)},ke=Fe.normalize=function(t){return String(t).replace(Me,".").toLowerCase()},Re=Fe.data={},Le=Fe.NATIVE="N",Ie=Fe.POLYFILL="P",Ne=Fe,ze=e,Ve=o.f,Ge=qn,_e=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:qr.f(t,n,{value:r,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},Be=Et,qe=function(t,n,r){for(var e=Ae(n),o=Ce.f,i=Ee.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=Ne,Ue=function(t,n){var r,e,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?ze:f?ze[c]||Be(c,{}):(ze[c]||{}).prototype)for(e in n){if(i=n[e],o=t.dontCallGetSet?(u=Ve(r,e))&&u.value:r[e],!He(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;qe(i,o)}(t.sham||o&&o.sham)&&Ge(i,"sham",!0),_e(r,e,i,t)}},Ke=A,We=Array.isArray||function(t){return"Array"===Ke(t)},Je=TypeError,Qe=fn,Xe=Tn,Ye=v,Ze={};Ze[Zt("toStringTag")]="z";var $e="[object z]"===String(Ze),to=B,no=A,ro=Zt("toStringTag"),eo=Object,oo="Arguments"===no(function(){return arguments}()),io=j,uo=i,co=B,ao=$e?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=Q("Reflect","construct"),go=/^\s*(?:class|function)\b/,bo=io(go.exec),mo=!go.test(lo),yo=function(t){if(!co(t))return!1;try{return po(lo,so,t),!0}catch(t){return!1}},vo=function(t){if(!co(t))return!1;switch(ao(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mo||!!bo(go,fo(t))}catch(t){return!0}};vo.sham=!0;var ho=!po||uo((function(){var t;return yo(yo.call)||!yo(Object)||!yo((function(){t=!0}))||t}))?vo:yo,wo=We,So=ho,jo=U,Oo=Zt("species"),To=Array,Po=function(t){var n;return wo(t)&&(n=t.constructor,(So(n)&&(n===To||wo(n.prototype))||jo(n)&&null===(n=n[Oo]))&&(n=void 0)),void 0===n?To:n},Ao=i,Eo=et,Co=Zt("species"),xo=Ue,Do=i,Mo=We,Fo=U,ko=Lt,Ro=ee,Lo=function(t){if(t>9007199254740991)throw Je("Maximum allowed index exceeded");return t},Io=function(t,n,r){var e=Qe(n);e in t?Xe.f(t,e,Ye(0,r)):t[e]=r},No=function(t,n){return new(Po(t))(0===n?0:n)},zo=function(t){return Eo>=51||!Ao((function(){var n=[];return(n.constructor={})[Co]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},Vo=et,Go=Zt("isConcatSpreadable"),_o=Vo>=51||!Do((function(){var t=[];return t[Go]=!1,t.concat()[0]!==t})),Bo=function(t){if(!Fo(t))return!1;var n=t[Go];return void 0!==n?!!n:Mo(t)};xo({target:"Array",proto:!0,arity:1,forced:!_o||!zo("concat")},{concat:function(t){var n,r,e,o,i,u=ko(this),c=No(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Bo(i=-1===n?u:arguments[n]))for(o=Ro(i),Lo(a+o),r=0;r<o;r++,a++)r in i&&Io(c,a,i[r]);else Lo(a+1),Io(c,a++,i);return c.length=a,c}});var qo=be,Ho=me,Uo=Object.keys||function(t){return qo(t,Ho)},Ko=u,Wo=j,Jo=l,Qo=i,Xo=Uo,Yo=de,Zo=s,$o=Lt,ti=M,ni=Object.assign,ri=Object.defineProperty,ei=Wo([].concat),oi=!ni||Qo((function(){if(Ko&&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=$o(t),e=arguments.length,o=1,i=Yo.f,u=Zo.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++],Ko&&!Jo(u,a,c)||(r[c]=a[c]);return r}:ni,ii=oi;Ue({target:"Object",stat:!0,arity:2,forced:Object.assign!==ii},{assign:ii}),t.fn.bootstrapTable.locales["nl-BE"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laden, even geduld"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":""," (gefilterd van ").concat(e," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(r," record").concat(r>1?"s":"")},formatSRPaginationPreText:function(){return"vorige pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationNextText:function(){return"volgende pagina"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatClearSearch:function(){return"Verwijder filters"},formatSearch:function(){return"Zoeken"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatRefresh:function(){return"Vernieuwen"},formatToggleOn:function(){return"Toon kaartweergave"},formatToggleOff:function(){return"Verberg kaartweergave"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatFullscreen:function(){return"Volledig scherm"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatExport:function(){return"Exporteer gegevens"},formatJumpTo:function(){return"GA"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAdvancedCloseButton:function(){return"Sluiten"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"},formatAddLevel:function(){return"Niveau toevoegen"},formatCancel:function(){return"Annuleren"},formatColumn:function(){return"Kolom"},formatDeleteLevel:function(){return"Niveau verwijderen"},formatDuplicateAlertTitle:function(){return"Duplicaten gevonden!"},formatDuplicateAlertDescription:function(){return"Gelieve dubbele kolommen te verwijderen of wijzigen"},formatMultipleSort:function(){return"Meervoudige sortering"},formatOrder:function(){return"Volgorde"},formatSort:function(){return"Sorteren"},formatSortBy:function(){return"Sorteren op"},formatThenBy:function(){return"vervolgens"},formatSortOrders:function(){return{asc:"Oplopend",desc:"Aflopend"}}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["nl-BE"])}));