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