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) • 14.5 kB
JavaScript
/**
* 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.20.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";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={},d={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,b=g&&!d.call({1:2},1);y.f=b?function(t){var n=g(this,t);return!!n&&n.enumerable}:d;var m,h,v=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},w=f,S=Function.prototype,j=S.bind,O=S.call,P=w&&j.bind(O,O),k=w?function(t){return t&&P(t)}:function(t){return t&&function(){return O.apply(t,arguments)}},T=k,z=T({}.toString),E=T("".slice),x=function(t){return E(z(t),8,-1)},A=k,F=c,C=x,R=i.Object,M=A("".split),L=F((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"==C(t)?M(t,""):R(t)}:R,I=i.TypeError,N=function(t){if(null==t)throw I("Can't call method on "+t);return t},D=L,U=N,W=function(t){return D(U(t))},G=function(t){return"function"==typeof t},_=G,q=function(t){return"object"==typeof t?null!==t:_(t)},B=i,K=G,Z=function(t){return K(t)?t:void 0},H=function(t,n){return arguments.length<2?Z(B[t]):B[t]&&B[t][n]},J=k({}.isPrototypeOf),Q=i,V=H("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=H,ct=G,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,yt=G,dt=function(t){try{return pt(t)}catch(t){return"Object"}},gt=i.TypeError,bt=function(t){if(yt(t))return t;throw gt(dt(t)+" is not a function")},mt=p,ht=G,vt=q,wt=i.TypeError,St={exports:{}},jt=i,Ot=Object.defineProperty,Pt=function(t,n){try{Ot(jt,t,{value:n,configurable:!0,writable:!0})}catch(r){jt[t]=n}return n},kt=Pt,Tt="__core-js_shared__",zt=i[Tt]||kt(Tt,{}),Et=zt;(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 xt=N,At=i.Object,Ft=function(t){return At(xt(t))},Ct=Ft,Rt=k({}.hasOwnProperty),Mt=Object.hasOwn||function(t,n){return Rt(Ct(t),n)},Lt=k,It=0,Nt=Math.random(),Dt=Lt(1..toString),Ut=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Dt(++It+Nt,36)},Wt=i,Gt=St.exports,_t=Mt,qt=Ut,Bt=ot,Kt=it,Zt=Gt("wks"),Ht=Wt.Symbol,Jt=Ht&&Ht.for,Qt=Kt?Ht:Ht&&Ht.withoutSetter||qt,Vt=function(t){if(!_t(Zt,t)||!Bt&&"string"!=typeof Zt[t]){var n="Symbol."+t;Bt&&_t(Ht,t)?Zt[t]=Ht[t]:Zt[t]=Kt&&Jt?Jt(n):Qt(n)}return Zt[t]},Xt=p,Yt=q,$t=st,tn=function(t,n){var r=t[n];return null==r?void 0:bt(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):{}},yn=!a&&!c((function(){return 7!=Object.defineProperty(pn("div"),"a",{get:function(){return 7}}).a})),dn=a,gn=p,bn=y,mn=v,hn=W,vn=an,wn=Mt,Sn=yn,jn=Object.getOwnPropertyDescriptor;u.f=dn?jn:function(t,n){if(t=hn(t),n=vn(n),Sn)try{return jn(t,n)}catch(t){}if(wn(t,n))return mn(!gn(bn.f,t,n),t[n])};var On={},Pn=a&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),kn=i,Tn=q,zn=kn.String,En=kn.TypeError,xn=function(t){if(Tn(t))return t;throw En(zn(t)+" is not an object")},An=a,Fn=yn,Cn=Pn,Rn=xn,Mn=an,Ln=i.TypeError,In=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Dn="enumerable",Un="configurable",Wn="writable";On.f=An?Cn?function(t,n,r){if(Rn(t),n=Mn(n),Rn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&Wn in r&&!r.writable){var e=Nn(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:Un in r?r.configurable:e.configurable,enumerable:Dn in r?r.enumerable:e.enumerable,writable:!1})}return In(t,n,r)}:In:function(t,n,r){if(Rn(t),n=Mn(n),Rn(r),Fn)try{return In(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 Gn=On,_n=v,qn=a?function(t,n,r){return Gn.f(t,n,_n(1,r))}:function(t,n,r){return t[n]=r,t},Bn={exports:{}},Kn=a,Zn=Mt,Hn=Function.prototype,Jn=Kn&&Object.getOwnPropertyDescriptor,Qn=Zn(Hn,"name"),Vn={EXISTS:Qn,PROPER:Qn&&"something"===function(){}.name,CONFIGURABLE:Qn&&(!Kn||Kn&&Jn(Hn,"name").configurable)},Xn=G,Yn=zt,$n=k(Function.toString);Xn(Yn.inspectSource)||(Yn.inspectSource=function(t){return $n(t)});var tr,nr,rr,er=Yn.inspectSource,or=G,ir=er,ur=i.WeakMap,cr=or(ur)&&/native code/.test(ir(ur)),ar=St.exports,fr=Ut,lr=ar("keys"),sr={},pr=cr,yr=i,dr=k,gr=q,br=qn,mr=Mt,hr=zt,vr=function(t){return lr[t]||(lr[t]=fr(t))},wr=sr,Sr="Object already initialized",jr=yr.TypeError,Or=yr.WeakMap;if(pr||hr.state){var Pr=hr.state||(hr.state=new Or),kr=dr(Pr.get),Tr=dr(Pr.has),zr=dr(Pr.set);tr=function(t,n){if(Tr(Pr,t))throw new jr(Sr);return n.facade=t,zr(Pr,t,n),n},nr=function(t){return kr(Pr,t)||{}},rr=function(t){return Tr(Pr,t)}}else{var Er=vr("state");wr[Er]=!0,tr=function(t,n){if(mr(t,Er))throw new jr(Sr);return n.facade=t,br(t,Er,n),n},nr=function(t){return mr(t,Er)?t[Er]:{}},rr=function(t){return mr(t,Er)}}var xr={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(!gr(n)||(r=nr(n)).type!==t)throw jr("Incompatible receiver, "+t+" required");return r}}},Ar=c,Fr=G,Cr=Mt,Rr=a,Mr=Vn.CONFIGURABLE,Lr=er,Ir=xr.enforce,Nr=xr.get,Dr=Object.defineProperty,Ur=Rr&&!Ar((function(){return 8!==Dr((function(){}),"length",{value:8}).length})),Wr=String(String).split("String"),Gr=Bn.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),(!Cr(t,"name")||Mr&&t.name!==n)&&Dr(t,"name",{value:n,configurable:!0}),Ur&&r&&Cr(r,"arity")&&t.length!==r.arity&&Dr(t,"length",{value:r.arity}),r&&Cr(r,"constructor")&&r.constructor){if(Rr)try{Dr(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var e=Ir(t);return Cr(e,"source")||(e.source=Wr.join("string"==typeof n?n:"")),t};Function.prototype.toString=Gr((function(){return Fr(this)&&Nr(this).source||Lr(this)}),"toString");var _r=i,qr=G,Br=qn,Kr=Bn.exports,Zr=Pt,Hr={},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=W,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=Mt,le=W,se=ae.indexOf,pe=sr,ye=k([].push),de=function(t,n){var r,e=le(t),o=0,i=[];for(r in e)!fe(pe,r)&&fe(e,r)&&ye(i,r);for(;n.length>o;)fe(e,r=n[o++])&&(~se(i,r)||ye(i,r));return i},ge=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");Hr.f=Object.getOwnPropertyNames||function(t){return de(t,ge)};var be={};be.f=Object.getOwnPropertySymbols;var me=H,he=Hr,ve=be,we=xn,Se=k([].concat),je=me("Reflect","ownKeys")||function(t){var n=he.f(we(t)),r=ve.f;return r?Se(n,r(t)):n},Oe=Mt,Pe=je,ke=u,Te=On,ze=c,Ee=G,xe=/#|\.prototype\./,Ae=function(t,n){var r=Ce[Fe(t)];return r==Me||r!=Re&&(Ee(n)?ze(n):!!n)},Fe=Ae.normalize=function(t){return String(t).replace(xe,".").toLowerCase()},Ce=Ae.data={},Re=Ae.NATIVE="N",Me=Ae.POLYFILL="P",Le=Ae,Ie=i,Ne=u.f,De=qn,Ue=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)&&Kr(r,c,e),t===_r?(i?t[n]=r:Zr(n,r),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=r:Br(t,n,r),t)},We=Pt,Ge=function(t,n,r){for(var e=Pe(n),o=Te.f,i=ke.f,u=0;u<e.length;u++){var c=e[u];Oe(t,c)||r&&Oe(r,c)||o(t,c,i(n,c))}},_e=Le,qe=x,Be=Array.isArray||function(t){return"Array"==qe(t)},Ke=an,Ze=On,He=v,Je={};Je[Vt("toStringTag")]="z";var Qe=i,Ve="[object z]"===String(Je),Xe=G,Ye=x,$e=Vt("toStringTag"),to=Qe.Object,no="Arguments"==Ye(function(){return arguments}()),ro=k,eo=c,oo=G,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=H("Reflect","construct"),lo=/^\s*(?:class|function)\b/,so=ro(lo.exec),po=!lo.exec(co),yo=function(t){if(!oo(t))return!1;try{return fo(co,ao,t),!0}catch(t){return!1}},go=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}};go.sham=!0;var bo=!fo||eo((function(){var t;return yo(yo.call)||!yo(Object)||!yo((function(){t=!0}))||t}))?go:yo,mo=i,ho=Be,vo=bo,wo=q,So=Vt("species"),jo=mo.Array,Oo=function(t){var n;return ho(t)&&(n=t.constructor,(vo(n)&&(n===jo||ho(n.prototype))||wo(n)&&null===(n=n[So]))&&(n=void 0)),void 0===n?jo:n},Po=c,ko=nt,To=Vt("species"),zo=function(t,n){var r,e,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?Ie:f?Ie[c]||We(c,{}):(Ie[c]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Ne(r,e))&&u.value:r[e],!_e(a?e:c+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ge(i,o)}(t.sham||o&&o.sham)&&De(i,"sham",!0),Ue(r,e,i,t)}},Eo=i,xo=c,Ao=Be,Fo=q,Co=Ft,Ro=ee,Mo=function(t,n,r){var e=Ke(n);e in t?Ze.f(t,e,He(0,r)):t[e]=r},Lo=function(t,n){return new(Oo(t))(0===n?0:n)},Io=function(t){return ko>=51||!Po((function(){var n=[];return(n.constructor={})[To]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},No=nt,Do=Vt("isConcatSpreadable"),Uo=9007199254740991,Wo="Maximum allowed index exceeded",Go=Eo.TypeError,_o=No>=51||!xo((function(){var t=[];return t[Do]=!1,t.concat()[0]!==t})),qo=Io("concat"),Bo=function(t){if(!Fo(t))return!1;var n=t[Do];return void 0!==n?!!n:Ao(t)};zo({target:"Array",proto:!0,arity:1,forced:!_o||!qo},{concat:function(t){var n,r,e,o,i,u=Co(this),c=Lo(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(Bo(i=-1===n?u:arguments[n])){if(a+(o=Ro(i))>Uo)throw Go(Wo);for(r=0;r<o;r++,a++)r in i&&Mo(c,a,i[r])}else{if(a>=Uo)throw Go(Wo);Mo(c,a++,i)}return c.length=a,c}}),r.default.fn.bootstrapTable.locales["pl-PL"]=r.default.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ż"},formatToggle:function(){return"Przełącz"},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"}},r.default.extend(r.default.fn.bootstrapTable.defaults,r.default.fn.bootstrapTable.locales["pl-PL"])}));