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