UNPKG

14.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.20.2
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";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=n(t),e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||function(){return this}()||Function("return this")(),u={},c=function(t){try{return!!t()}catch(t){return!0}},a=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=f,s=Function.prototype.call,p=l?s.bind(s):function(){return s.apply(s,arguments)},g={},y={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,d=b&&!y.call({1:2},1);g.f=d?function(t){var n=b(this,t);return!!n&&n.enumerable}:y;var m,h,v=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},w=f,S=Function.prototype,O=S.bind,j=S.call,P=w&&O.bind(j,j),T=w?function(t){return t&&P(t)}:function(t){return t&&function(){return j.apply(t,arguments)}},x=T,A=x({}.toString),E=x("".slice),C=function(t){return E(A(t),8,-1)},R=T,F=c,M=C,k=i.Object,I=R("".split),L=F((function(){return!k("z").propertyIsEnumerable(0)}))?function(t){return"String"==M(t)?I(t,""):k(t)}:k,N=i.TypeError,z=function(t){if(null==t)throw N("Can't call method on "+t);return t},D=L,G=z,H=function(t){return D(G(t))},_=function(t){return"function"==typeof t},B=_,q=function(t){return"object"==typeof t?null!==t:B(t)},U=i,W=_,K=function(t){return W(t)?t:void 0},Z=function(t,n){return arguments.length<2?K(U[t]):U[t]&&U[t][n]},J=T({}.isPrototypeOf),Q=i,V=Z("navigator","userAgent")||"",X=Q.process,Y=Q.Deno,$=X&&X.versions||Y&&Y.version,tt=$&&$.v8;tt&&(h=(m=tt.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!h&&V&&(!(m=V.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=V.match(/Chrome\/(\d+)/))&&(h=+m[1]);var nt=h,rt=nt,et=c,ot=!!Object.getOwnPropertySymbols&&!et((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&rt&&rt<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=Z,ct=_,at=J,ft=it,lt=i.Object,st=ft?function(t){return"symbol"==typeof t}:function(t){var n=ut("Symbol");return ct(n)&&at(n.prototype,lt(t))},pt=i.String,gt=_,yt=function(t){try{return pt(t)}catch(t){return"Object"}},bt=i.TypeError,dt=function(t){if(gt(t))return t;throw bt(yt(t)+" is not a function")},mt=p,ht=_,vt=q,wt=i.TypeError,St={exports:{}},Ot=i,jt=Object.defineProperty,Pt=function(t,n){try{jt(Ot,t,{value:n,configurable:!0,writable:!0})}catch(r){Ot[t]=n}return n},Tt=Pt,xt="__core-js_shared__",At=i[xt]||Tt(xt,{}),Et=At;(St.exports=function(t,n){return Et[t]||(Et[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=z,Rt=i.Object,Ft=function(t){return Rt(Ct(t))},Mt=Ft,kt=T({}.hasOwnProperty),It=Object.hasOwn||function(t,n){return kt(Mt(t),n)},Lt=T,Nt=0,zt=Math.random(),Dt=Lt(1..toString),Gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Dt(++Nt+zt,36)},Ht=i,_t=St.exports,Bt=It,qt=Gt,Ut=ot,Wt=it,Kt=_t("wks"),Zt=Ht.Symbol,Jt=Zt&&Zt.for,Qt=Wt?Zt:Zt&&Zt.withoutSetter||qt,Vt=function(t){if(!Bt(Kt,t)||!Ut&&"string"!=typeof Kt[t]){var n="Symbol."+t;Ut&&Bt(Zt,t)?Kt[t]=Zt[t]:Kt[t]=Wt&&Jt?Jt(n):Qt(n)}return Kt[t]},Xt=p,Yt=q,$t=st,tn=function(t,n){var r=t[n];return null==r?void 0:dt(r)},nn=function(t,n){var r,e;if("string"===n&&ht(r=t.toString)&&!vt(e=mt(r,t)))return e;if(ht(r=t.valueOf)&&!vt(e=mt(r,t)))return e;if("string"!==n&&ht(r=t.toString)&&!vt(e=mt(r,t)))return e;throw wt("Can't convert object to primitive value")},rn=Vt,en=i.TypeError,on=rn("toPrimitive"),un=function(t,n){if(!Yt(t)||$t(t))return t;var r,e=tn(t,on);if(e){if(void 0===n&&(n="default"),r=Xt(e,t,n),!Yt(r)||$t(r))return r;throw en("Can't convert object to primitive value")}return void 0===n&&(n="number"),nn(t,n)},cn=st,an=function(t){var n=un(t,"string");return cn(n)?n:n+""},fn=q,ln=i.document,sn=fn(ln)&&fn(ln.createElement),pn=function(t){return sn?ln.createElement(t):{}},gn=!a&&!c((function(){return 7!=Object.defineProperty(pn("div"),"a",{get:function(){return 7}}).a})),yn=a,bn=p,dn=g,mn=v,hn=H,vn=an,wn=It,Sn=gn,On=Object.getOwnPropertyDescriptor;u.f=yn?On:function(t,n){if(t=hn(t),n=vn(n),Sn)try{return On(t,n)}catch(t){}if(wn(t,n))return mn(!bn(dn.f,t,n),t[n])};var jn={},Pn=a&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tn=i,xn=q,An=Tn.String,En=Tn.TypeError,Cn=function(t){if(xn(t))return t;throw En(An(t)+" is not an object")},Rn=a,Fn=gn,Mn=Pn,kn=Cn,In=an,Ln=i.TypeError,Nn=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,Dn="enumerable",Gn="configurable",Hn="writable";jn.f=Rn?Mn?function(t,n,r){if(kn(t),n=In(n),kn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&Hn in r&&!r.writable){var e=zn(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:Gn in r?r.configurable:e.configurable,enumerable:Dn in r?r.enumerable:e.enumerable,writable:!1})}return Nn(t,n,r)}:Nn:function(t,n,r){if(kn(t),n=In(n),kn(r),Fn)try{return Nn(t,n,r)}catch(t){}if("get"in r||"set"in r)throw Ln("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var _n=jn,Bn=v,qn=a?function(t,n,r){return _n.f(t,n,Bn(1,r))}:function(t,n,r){return t[n]=r,t},Un={exports:{}},Wn=a,Kn=It,Zn=Function.prototype,Jn=Wn&&Object.getOwnPropertyDescriptor,Qn=Kn(Zn,"name"),Vn={EXISTS:Qn,PROPER:Qn&&"something"===function(){}.name,CONFIGURABLE:Qn&&(!Wn||Wn&&Jn(Zn,"name").configurable)},Xn=_,Yn=At,$n=T(Function.toString);Xn(Yn.inspectSource)||(Yn.inspectSource=function(t){return $n(t)});var tr,nr,rr,er=Yn.inspectSource,or=_,ir=er,ur=i.WeakMap,cr=or(ur)&&/native code/.test(ir(ur)),ar=St.exports,fr=Gt,lr=ar("keys"),sr={},pr=cr,gr=i,yr=T,br=q,dr=qn,mr=It,hr=At,vr=function(t){return lr[t]||(lr[t]=fr(t))},wr=sr,Sr="Object already initialized",Or=gr.TypeError,jr=gr.WeakMap;if(pr||hr.state){var Pr=hr.state||(hr.state=new jr),Tr=yr(Pr.get),xr=yr(Pr.has),Ar=yr(Pr.set);tr=function(t,n){if(xr(Pr,t))throw new Or(Sr);return n.facade=t,Ar(Pr,t,n),n},nr=function(t){return Tr(Pr,t)||{}},rr=function(t){return xr(Pr,t)}}else{var Er=vr("state");wr[Er]=!0,tr=function(t,n){if(mr(t,Er))throw new Or(Sr);return n.facade=t,dr(t,Er,n),n},nr=function(t){return mr(t,Er)?t[Er]:{}},rr=function(t){return mr(t,Er)}}var Cr={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(!br(n)||(r=nr(n)).type!==t)throw Or("Incompatible receiver, "+t+" required");return r}}},Rr=c,Fr=_,Mr=It,kr=a,Ir=Vn.CONFIGURABLE,Lr=er,Nr=Cr.enforce,zr=Cr.get,Dr=Object.defineProperty,Gr=kr&&!Rr((function(){return 8!==Dr((function(){}),"length",{value:8}).length})),Hr=String(String).split("String"),_r=Un.exports=function(t,n,r){if("Symbol("===String(n).slice(0,7)&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!Mr(t,"name")||Ir&&t.name!==n)&&Dr(t,"name",{value:n,configurable:!0}),Gr&&r&&Mr(r,"arity")&&t.length!==r.arity&&Dr(t,"length",{value:r.arity}),r&&Mr(r,"constructor")&&r.constructor){if(kr)try{Dr(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var e=Nr(t);return Mr(e,"source")||(e.source=Hr.join("string"==typeof n?n:"")),t};Function.prototype.toString=_r((function(){return Fr(this)&&zr(this).source||Lr(this)}),"toString");var Br=i,qr=_,Ur=qn,Wr=Un.exports,Kr=Pt,Zr={},Jr=Math.ceil,Qr=Math.floor,Vr=function(t){var n=+t;return n!=n||0===n?0:(n>0?Qr:Jr)(n)},Xr=Vr,Yr=Math.max,$r=Math.min,te=Vr,ne=Math.min,re=function(t){return t>0?ne(te(t),9007199254740991):0},ee=function(t){return re(t.length)},oe=H,ie=function(t,n){var r=Xr(t);return r<0?Yr(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=It,le=H,se=ae.indexOf,pe=sr,ge=T([].push),ye=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},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");Zr.f=Object.getOwnPropertyNames||function(t){return ye(t,be)};var de={};de.f=Object.getOwnPropertySymbols;var me=Z,he=Zr,ve=de,we=Cn,Se=T([].concat),Oe=me("Reflect","ownKeys")||function(t){var n=he.f(we(t)),r=ve.f;return r?Se(n,r(t)):n},je=It,Pe=Oe,Te=u,xe=jn,Ae=c,Ee=_,Ce=/#|\.prototype\./,Re=function(t,n){var r=Me[Fe(t)];return r==Ie||r!=ke&&(Ee(n)?Ae(n):!!n)},Fe=Re.normalize=function(t){return String(t).replace(Ce,".").toLowerCase()},Me=Re.data={},ke=Re.NATIVE="N",Ie=Re.POLYFILL="P",Le=Re,Ne=i,ze=u.f,De=qn,Ge=function(t,n,r,e){var o=!!e&&!!e.unsafe,i=!!e&&!!e.enumerable,u=!!e&&!!e.noTargetGet,c=e&&void 0!==e.name?e.name:n;return qr(r)&&Wr(r,c,e),t===Br?(i?t[n]=r:Kr(n,r),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=r:Ur(t,n,r),t)},He=Pt,_e=function(t,n,r){for(var e=Pe(n),o=xe.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))}},Be=Le,qe=C,Ue=Array.isArray||function(t){return"Array"==qe(t)},We=an,Ke=jn,Ze=v,Je={};Je[Vt("toStringTag")]="z";var Qe=i,Ve="[object z]"===String(Je),Xe=_,Ye=C,$e=Vt("toStringTag"),to=Qe.Object,no="Arguments"==Ye(function(){return arguments}()),ro=T,eo=c,oo=_,io=Ve?Ye: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=to(t),$e))?r:no?Ye(n):"Object"==(e=Ye(n))&&Xe(n.callee)?"Arguments":e},uo=er,co=function(){},ao=[],fo=Z("Reflect","construct"),lo=/^\s*(?:class|function)\b/,so=ro(lo.exec),po=!lo.exec(co),go=function(t){if(!oo(t))return!1;try{return fo(co,ao,t),!0}catch(t){return!1}},yo=function(t){if(!oo(t))return!1;switch(io(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return po||!!so(lo,uo(t))}catch(t){return!0}};yo.sham=!0;var bo=!fo||eo((function(){var t;return go(go.call)||!go(Object)||!go((function(){t=!0}))||t}))?yo:go,mo=i,ho=Ue,vo=bo,wo=q,So=Vt("species"),Oo=mo.Array,jo=function(t){var n;return ho(t)&&(n=t.constructor,(vo(n)&&(n===Oo||ho(n.prototype))||wo(n)&&null===(n=n[So]))&&(n=void 0)),void 0===n?Oo:n},Po=c,To=nt,xo=Vt("species"),Ao=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]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=ze(r,e))&&u.value:r[e],!Be(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;_e(i,o)}(t.sham||o&&o.sham)&&De(i,"sham",!0),Ge(r,e,i,t)}},Eo=i,Co=c,Ro=Ue,Fo=q,Mo=Ft,ko=ee,Io=function(t,n,r){var e=We(n);e in t?Ke.f(t,e,Ze(0,r)):t[e]=r},Lo=function(t,n){return new(jo(t))(0===n?0:n)},No=function(t){return To>=51||!Po((function(){var n=[];return(n.constructor={})[xo]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},zo=nt,Do=Vt("isConcatSpreadable"),Go=9007199254740991,Ho="Maximum allowed index exceeded",_o=Eo.TypeError,Bo=zo>=51||!Co((function(){var t=[];return t[Do]=!1,t.concat()[0]!==t})),qo=No("concat"),Uo=function(t){if(!Fo(t))return!1;var n=t[Do];return void 0!==n?!!n:Ro(t)};Ao({target:"Array",proto:!0,arity:1,forced:!Bo||!qo},{concat:function(t){var n,r,e,o,i,u=Mo(this),c=Lo(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Uo(i=-1===n?u:arguments[n])){if(a+(o=ko(i))>Go)throw _o(Ho);for(r=0;r<o;r++,a++)r in i&&Io(c,a,i[r])}else{if(a>=Go)throw _o(Ho);Io(c,a++,i)}return c.length=a,c}}),r.default.fn.bootstrapTable.locales["af-ZA"]=r.default.fn.bootstrapTable.locales.af={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Besig om te laai, wag asseblief"},formatRecordsPerPage:function(t){return"".concat(t," rekords per bladsy")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Resultate ".concat(t," tot ").concat(n," van ").concat(r," rye (filtered from ").concat(e," total rows)"):"Resultate ".concat(t," tot ").concat(n," van ").concat(r," rye")},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"Soek"},formatNoMatches:function(){return"Geen rekords gevind nie"},formatPaginationSwitch:function(){return"Wys/verberg bladsy nummering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Herlaai"},formatToggle:function(){return"Wissel"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolomme"},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"}},r.default.extend(r.default.fn.bootstrapTable.defaults,r.default.fn.bootstrapTable.locales["af-ZA"])}));