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.21.1
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)},y={},b={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!b.call({1:2},1);y.f=d?function(t){var n=v(this,t);return!!n&&n.enumerable}:b;var g,m,h=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},S=f,w=Function.prototype,O=w.bind,j=w.call,P=S&&O.bind(j,j),k=S?function(t){return t&&P(t)}:function(t){return t&&function(){return j.apply(t,arguments)}},T=k,z=T({}.toString),x=T("".slice),E=function(t){return x(z(t),8,-1)},A=c,C=E,F=Object,R=k("".split),M=A((function(){return!F("z").propertyIsEnumerable(0)}))?function(t){return"String"==C(t)?R(t,""):F(t)}:F,Z=TypeError,I=function(t){if(null==t)throw Z("Can't call method on "+t);return t},N=M,L=I,D=function(t){return N(L(t))},G=function(t){return"function"==typeof t},_=G,q=function(t){return"object"==typeof t?null!==t:_(t)},B=i,U=G,V=function(t){return U(t)?t:void 0},K=function(t,n){return arguments.length<2?V(B[t]):B[t]&&B[t][n]},W=k({}.isPrototypeOf),H=i,J=K("navigator","userAgent")||"",Q=H.process,X=H.Deno,Y=Q&&Q.versions||X&&X.version,$=Y&&Y.v8;$&&(m=(g=$.split("."))[0]>0&&g[0]<4?1:+(g[0]+g[1])),!m&&J&&(!(g=J.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=J.match(/Chrome\/(\d+)/))&&(m=+g[1]);var tt=m,nt=tt,rt=c,et=!!Object.getOwnPropertySymbols&&!rt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&nt&&nt<41})),ot=et&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,it=K,ut=G,ct=W,at=Object,ft=ot?function(t){return"symbol"==typeof t}:function(t){var n=it("Symbol");return ut(n)&&ct(n.prototype,at(t))},lt=String,st=G,pt=function(t){try{return lt(t)}catch(t){return"Object"}},yt=TypeError,bt=function(t){if(st(t))return t;throw yt(pt(t)+" is not a function")},vt=p,dt=G,gt=q,mt=TypeError,ht={exports:{}},St=i,wt=Object.defineProperty,Ot=function(t,n){try{wt(St,t,{value:n,configurable:!0,writable:!0})}catch(r){St[t]=n}return n},jt=Ot,Pt="__core-js_shared__",kt=i[Pt]||jt(Pt,{}),Tt=kt;(ht.exports=function(t,n){return Tt[t]||(Tt[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.22.8",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"});var zt=I,xt=Object,Et=function(t){return xt(zt(t))},At=Et,Ct=k({}.hasOwnProperty),Ft=Object.hasOwn||function(t,n){return Ct(At(t),n)},Rt=k,Mt=0,Zt=Math.random(),It=Rt(1..toString),Nt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+It(++Mt+Zt,36)},Lt=i,Dt=ht.exports,Gt=Ft,_t=Nt,qt=et,Bt=ot,Ut=Dt("wks"),Vt=Lt.Symbol,Kt=Vt&&Vt.for,Wt=Bt?Vt:Vt&&Vt.withoutSetter||_t,Ht=function(t){if(!Gt(Ut,t)||!qt&&"string"!=typeof Ut[t]){var n="Symbol."+t;qt&&Gt(Vt,t)?Ut[t]=Vt[t]:Ut[t]=Bt&&Kt?Kt(n):Wt(n)}return Ut[t]},Jt=p,Qt=q,Xt=ft,Yt=function(t,n){var r=t[n];return null==r?void 0:bt(r)},$t=function(t,n){var r,e;if("string"===n&&dt(r=t.toString)&&!gt(e=vt(r,t)))return e;if(dt(r=t.valueOf)&&!gt(e=vt(r,t)))return e;if("string"!==n&&dt(r=t.toString)&&!gt(e=vt(r,t)))return e;throw mt("Can't convert object to primitive value")},tn=TypeError,nn=Ht("toPrimitive"),rn=function(t,n){if(!Qt(t)||Xt(t))return t;var r,e=Yt(t,nn);if(e){if(void 0===n&&(n="default"),r=Jt(e,t,n),!Qt(r)||Xt(r))return r;throw tn("Can't convert object to primitive value")}return void 0===n&&(n="number"),$t(t,n)},en=ft,on=function(t){var n=rn(t,"string");return en(n)?n:n+""},un=q,cn=i.document,an=un(cn)&&un(cn.createElement),fn=function(t){return an?cn.createElement(t):{}},ln=!a&&!c((function(){return 7!=Object.defineProperty(fn("div"),"a",{get:function(){return 7}}).a})),sn=a,pn=p,yn=y,bn=h,vn=D,dn=on,gn=Ft,mn=ln,hn=Object.getOwnPropertyDescriptor;u.f=sn?hn:function(t,n){if(t=vn(t),n=dn(n),mn)try{return hn(t,n)}catch(t){}if(gn(t,n))return bn(!pn(yn.f,t,n),t[n])};var Sn={},wn=a&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),On=q,jn=String,Pn=TypeError,kn=function(t){if(On(t))return t;throw Pn(jn(t)+" is not an object")},Tn=a,zn=ln,xn=wn,En=kn,An=on,Cn=TypeError,Fn=Object.defineProperty,Rn=Object.getOwnPropertyDescriptor,Mn="enumerable",Zn="configurable",In="writable";Sn.f=Tn?xn?function(t,n,r){if(En(t),n=An(n),En(r),"function"==typeof t&&"prototype"===n&&"value"in r&&In in r&&!r.writable){var e=Rn(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:Zn in r?r.configurable:e.configurable,enumerable:Mn in r?r.enumerable:e.enumerable,writable:!1})}return Fn(t,n,r)}:Fn:function(t,n,r){if(En(t),n=An(n),En(r),zn)try{return Fn(t,n,r)}catch(t){}if("get"in r||"set"in r)throw Cn("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var Nn=Sn,Ln=h,Dn=a?function(t,n,r){return Nn.f(t,n,Ln(1,r))}:function(t,n,r){return t[n]=r,t},Gn={exports:{}},_n=a,qn=Ft,Bn=Function.prototype,Un=_n&&Object.getOwnPropertyDescriptor,Vn=qn(Bn,"name"),Kn={EXISTS:Vn,PROPER:Vn&&"something"===function(){}.name,CONFIGURABLE:Vn&&(!_n||_n&&Un(Bn,"name").configurable)},Wn=G,Hn=kt,Jn=k(Function.toString);Wn(Hn.inspectSource)||(Hn.inspectSource=function(t){return Jn(t)});var Qn,Xn,Yn,$n=Hn.inspectSource,tr=G,nr=$n,rr=i.WeakMap,er=tr(rr)&&/native code/.test(nr(rr)),or=ht.exports,ir=Nt,ur=or("keys"),cr={},ar=er,fr=i,lr=k,sr=q,pr=Dn,yr=Ft,br=kt,vr=function(t){return ur[t]||(ur[t]=ir(t))},dr=cr,gr="Object already initialized",mr=fr.TypeError,hr=fr.WeakMap;if(ar||br.state){var Sr=br.state||(br.state=new hr),wr=lr(Sr.get),Or=lr(Sr.has),jr=lr(Sr.set);Qn=function(t,n){if(Or(Sr,t))throw new mr(gr);return n.facade=t,jr(Sr,t,n),n},Xn=function(t){return wr(Sr,t)||{}},Yn=function(t){return Or(Sr,t)}}else{var Pr=vr("state");dr[Pr]=!0,Qn=function(t,n){if(yr(t,Pr))throw new mr(gr);return n.facade=t,pr(t,Pr,n),n},Xn=function(t){return yr(t,Pr)?t[Pr]:{}},Yn=function(t){return yr(t,Pr)}}var kr={set:Qn,get:Xn,has:Yn,enforce:function(t){return Yn(t)?Xn(t):Qn(t,{})},getterFor:function(t){return function(n){var r;if(!sr(n)||(r=Xn(n)).type!==t)throw mr("Incompatible receiver, "+t+" required");return r}}},Tr=c,zr=G,xr=Ft,Er=a,Ar=Kn.CONFIGURABLE,Cr=$n,Fr=kr.enforce,Rr=kr.get,Mr=Object.defineProperty,Zr=Er&&!Tr((function(){return 8!==Mr((function(){}),"length",{value:8}).length})),Ir=String(String).split("String"),Nr=Gn.exports=function(t,n,r){"Symbol("===String(n).slice(0,7)&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!xr(t,"name")||Ar&&t.name!==n)&&Mr(t,"name",{value:n,configurable:!0}),Zr&&r&&xr(r,"arity")&&t.length!==r.arity&&Mr(t,"length",{value:r.arity});try{r&&xr(r,"constructor")&&r.constructor?Er&&Mr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=Fr(t);return xr(e,"source")||(e.source=Ir.join("string"==typeof n?n:"")),t};Function.prototype.toString=Nr((function(){return zr(this)&&Rr(this).source||Cr(this)}),"toString");var Lr=G,Dr=Dn,Gr=Gn.exports,_r=Ot,qr={},Br=Math.ceil,Ur=Math.floor,Vr=Math.trunc||function(t){var n=+t;return(n>0?Ur:Br)(n)},Kr=function(t){var n=+t;return n!=n||0===n?0:Vr(n)},Wr=Kr,Hr=Math.max,Jr=Math.min,Qr=Kr,Xr=Math.min,Yr=function(t){return t>0?Xr(Qr(t),9007199254740991):0},$r=function(t){return Yr(t.length)},te=D,ne=function(t,n){var r=Wr(t);return r<0?Hr(r+n,0):Jr(r,n)},re=$r,ee=function(t){return function(n,r,e){var o,i=te(n),u=re(i),c=ne(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}},oe={includes:ee(!0),indexOf:ee(!1)},ie=Ft,ue=D,ce=oe.indexOf,ae=cr,fe=k([].push),le=function(t,n){var r,e=ue(t),o=0,i=[];for(r in e)!ie(ae,r)&&ie(e,r)&&fe(i,r);for(;n.length>o;)ie(e,r=n[o++])&&(~ce(i,r)||fe(i,r));return i},se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");qr.f=Object.getOwnPropertyNames||function(t){return le(t,se)};var pe={};pe.f=Object.getOwnPropertySymbols;var ye=K,be=qr,ve=pe,de=kn,ge=k([].concat),me=ye("Reflect","ownKeys")||function(t){var n=be.f(de(t)),r=ve.f;return r?ge(n,r(t)):n},he=Ft,Se=me,we=u,Oe=Sn,je=c,Pe=G,ke=/#|\.prototype\./,Te=function(t,n){var r=xe[ze(t)];return r==Ae||r!=Ee&&(Pe(n)?je(n):!!n)},ze=Te.normalize=function(t){return String(t).replace(ke,".").toLowerCase()},xe=Te.data={},Ee=Te.NATIVE="N",Ae=Te.POLYFILL="P",Ce=Te,Fe=i,Re=u.f,Me=Dn,Ze=function(t,n,r,e){e||(e={});var o=e.enumerable,i=void 0!==e.name?e.name:n;return Lr(r)&&Gr(r,i,e),e.global?o?t[n]=r:_r(n,r):(e.unsafe?t[n]&&(o=!0):delete t[n],o?t[n]=r:Dr(t,n,r)),t},Ie=Ot,Ne=function(t,n,r){for(var e=Se(n),o=Oe.f,i=we.f,u=0;u<e.length;u++){var c=e[u];he(t,c)||r&&he(r,c)||o(t,c,i(n,c))}},Le=Ce,De=E,Ge=Array.isArray||function(t){return"Array"==De(t)},_e=TypeError,qe=on,Be=Sn,Ue=h,Ve={};Ve[Ht("toStringTag")]="z";var Ke="[object z]"===String(Ve),We=G,He=E,Je=Ht("toStringTag"),Qe=Object,Xe="Arguments"==He(function(){return arguments}()),Ye=k,$e=c,to=G,no=Ke?He: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=Qe(t),Je))?r:Xe?He(n):"Object"==(e=He(n))&&We(n.callee)?"Arguments":e},ro=$n,eo=function(){},oo=[],io=K("Reflect","construct"),uo=/^\s*(?:class|function)\b/,co=Ye(uo.exec),ao=!uo.exec(eo),fo=function(t){if(!to(t))return!1;try{return io(eo,oo,t),!0}catch(t){return!1}},lo=function(t){if(!to(t))return!1;switch(no(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ao||!!co(uo,ro(t))}catch(t){return!0}};lo.sham=!0;var so=!io||$e((function(){var t;return fo(fo.call)||!fo(Object)||!fo((function(){t=!0}))||t}))?lo:fo,po=Ge,yo=so,bo=q,vo=Ht("species"),go=Array,mo=function(t){var n;return po(t)&&(n=t.constructor,(yo(n)&&(n===go||po(n.prototype))||bo(n)&&null===(n=n[vo]))&&(n=void 0)),void 0===n?go:n},ho=c,So=tt,wo=Ht("species"),Oo=function(t,n){var r,e,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?Fe:f?Fe[c]||Ie(c,{}):(Fe[c]||{}).prototype)for(e in n){if(i=n[e],o=t.dontCallGetSet?(u=Re(r,e))&&u.value:r[e],!Le(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ne(i,o)}(t.sham||o&&o.sham)&&Me(i,"sham",!0),Ze(r,e,i,t)}},jo=c,Po=Ge,ko=q,To=Et,zo=$r,xo=function(t){if(t>9007199254740991)throw _e("Maximum allowed index exceeded");return t},Eo=function(t,n,r){var e=qe(n);e in t?Be.f(t,e,Ue(0,r)):t[e]=r},Ao=function(t,n){return new(mo(t))(0===n?0:n)},Co=function(t){return So>=51||!ho((function(){var n=[];return(n.constructor={})[wo]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},Fo=tt,Ro=Ht("isConcatSpreadable"),Mo=Fo>=51||!jo((function(){var t=[];return t[Ro]=!1,t.concat()[0]!==t})),Zo=Co("concat"),Io=function(t){if(!ko(t))return!1;var n=t[Ro];return void 0!==n?!!n:Po(t)};Oo({target:"Array",proto:!0,arity:1,forced:!Mo||!Zo},{concat:function(t){var n,r,e,o,i,u=To(this),c=Ao(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Io(i=-1===n?u:arguments[n]))for(o=zo(i),xo(a+o),r=0;r<o;r++,a++)r in i&&Eo(c,a,i[r]);else xo(a+1),Eo(c,a++,i);return c.length=a,c}}),r.default.fn.bootstrapTable.locales["cs-CZ"]=r.default.fn.bootstrapTable.locales.cs={formatCopyRows:function(){return"Kopírovat řádky"},formatPrint:function(){return"Tisk"},formatLoadingMessage:function(){return"Čekejte, prosím"},formatRecordsPerPage:function(t){return"".concat(t," položek na stránku")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(r," (filtered from ").concat(e," total rows)"):"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(r)},formatSRPaginationPreText:function(){return"předchozí strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"další strana"},formatDetailPagination:function(t){return"Zobrazuji ".concat(t," řádek")},formatClearSearch:function(){return"Smazat hledání"},formatSearch:function(){return"Vyhledávání"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"},formatPaginationSwitch:function(){return"Skrýt/Zobrazit stránkování"},formatPaginationSwitchDown:function(){return"Zobrazit stránkování"},formatPaginationSwitchUp:function(){return"Skrýt stránkování"},formatRefresh:function(){return"Aktualizovat"},formatToggleOn:function(){return"Zobrazit karty"},formatToggleOff:function(){return"Zobrazit tabulku"},formatColumns:function(){return"Sloupce"},formatColumnsToggleAll:function(){return"Zobrazit/Skrýt vše"},formatFullscreen:function(){return"Zapnout/Vypnout fullscreen"},formatAllRows:function(){return"Vše"},formatAutoRefresh:function(){return"Automatické obnovení"},formatExport:function(){return"Export dat"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Pokročilé hledání"},formatAdvancedCloseButton:function(){return"Zavřít"},formatFilterControlSwitch:function(){return"Skrýt/Zobrazit ovladače"},formatFilterControlSwitchHide:function(){return"Skrýt ovladače"},formatFilterControlSwitchShow:function(){return"Zobrazit ovladače"}},r.default.extend(r.default.fn.bootstrapTable.defaults,r.default.fn.bootstrapTable.locales["cs-CZ"])}));