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) 20.1 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.21.1 * @homepage https://bootstrap-table.com * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/) * @license MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t);function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=i(t);if(e){var o=i(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function f(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=f(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},s.apply(this,arguments)}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},p=function(t){return t&&t.Math==Math&&t},y=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof l&&l)||function(){return this}()||Function("return this")(),b={},d=function(t){try{return!!t()}catch(t){return!0}},h=!d((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=!d((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),g=v,m=Function.prototype.call,w=g?m.bind(m):function(){return m.apply(m,arguments)},O={},j={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,T=S&&!j.call({1:2},1);O.f=T?function(t){var e=S(this,t);return!!e&&e.enumerable}:j;var P,V,E=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},x=v,C=Function.prototype,A=C.bind,R=C.call,_=x&&A.bind(R,R),F=x?function(t){return t&&_(t)}:function(t){return t&&function(){return R.apply(t,arguments)}},k=F,B=k({}.toString),D=k("".slice),M=function(t){return D(B(t),8,-1)},I=d,z=M,L=Object,N=F("".split),q=I((function(){return!L("z").propertyIsEnumerable(0)}))?function(t){return"String"==z(t)?N(t,""):L(t)}:L,G=TypeError,W=function(t){if(null==t)throw G("Can't call method on "+t);return t},$=q,U=W,X=function(t){return $(U(t))},K=function(t){return"function"==typeof t},Q=K,Y=function(t){return"object"==typeof t?null!==t:Q(t)},H=y,J=K,Z=function(t){return J(t)?t:void 0},tt=function(t,e){return arguments.length<2?Z(H[t]):H[t]&&H[t][e]},et=F({}.isPrototypeOf),nt=y,rt=tt("navigator","userAgent")||"",ot=nt.process,it=nt.Deno,ut=ot&&ot.versions||it&&it.version,ct=ut&&ut.v8;ct&&(V=(P=ct.split("."))[0]>0&&P[0]<4?1:+(P[0]+P[1])),!V&&rt&&(!(P=rt.match(/Edge\/(\d+)/))||P[1]>=74)&&(P=rt.match(/Chrome\/(\d+)/))&&(V=+P[1]);var at=V,ft=at,st=d,lt=!!Object.getOwnPropertySymbols&&!st((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ft&&ft<41})),pt=lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,yt=tt,bt=K,dt=et,ht=Object,vt=pt?function(t){return"symbol"==typeof t}:function(t){var e=yt("Symbol");return bt(e)&&dt(e.prototype,ht(t))},gt=String,mt=K,wt=function(t){try{return gt(t)}catch(t){return"Object"}},Ot=TypeError,jt=function(t){if(mt(t))return t;throw Ot(wt(t)+" is not a function")},St=jt,Tt=w,Pt=K,Vt=Y,Et=TypeError,xt={exports:{}},Ct=y,At=Object.defineProperty,Rt=function(t,e){try{At(Ct,t,{value:e,configurable:!0,writable:!0})}catch(n){Ct[t]=e}return e},_t=Rt,Ft="__core-js_shared__",kt=y[Ft]||_t(Ft,{}),Bt=kt;(xt.exports=function(t,e){return Bt[t]||(Bt[t]=void 0!==e?e:{})})("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 Dt=W,Mt=Object,It=function(t){return Mt(Dt(t))},zt=It,Lt=F({}.hasOwnProperty),Nt=Object.hasOwn||function(t,e){return Lt(zt(t),e)},qt=F,Gt=0,Wt=Math.random(),$t=qt(1..toString),Ut=function(t){return"Symbol("+(void 0===t?"":t)+")_"+$t(++Gt+Wt,36)},Xt=y,Kt=xt.exports,Qt=Nt,Yt=Ut,Ht=lt,Jt=pt,Zt=Kt("wks"),te=Xt.Symbol,ee=te&&te.for,ne=Jt?te:te&&te.withoutSetter||Yt,re=function(t){if(!Qt(Zt,t)||!Ht&&"string"!=typeof Zt[t]){var e="Symbol."+t;Ht&&Qt(te,t)?Zt[t]=te[t]:Zt[t]=Jt&&ee?ee(e):ne(e)}return Zt[t]},oe=w,ie=Y,ue=vt,ce=function(t,e){var n=t[e];return null==n?void 0:St(n)},ae=function(t,e){var n,r;if("string"===e&&Pt(n=t.toString)&&!Vt(r=Tt(n,t)))return r;if(Pt(n=t.valueOf)&&!Vt(r=Tt(n,t)))return r;if("string"!==e&&Pt(n=t.toString)&&!Vt(r=Tt(n,t)))return r;throw Et("Can't convert object to primitive value")},fe=TypeError,se=re("toPrimitive"),le=function(t,e){if(!ie(t)||ue(t))return t;var n,r=ce(t,se);if(r){if(void 0===e&&(e="default"),n=oe(r,t,e),!ie(n)||ue(n))return n;throw fe("Can't convert object to primitive value")}return void 0===e&&(e="number"),ae(t,e)},pe=vt,ye=function(t){var e=le(t,"string");return pe(e)?e:e+""},be=Y,de=y.document,he=be(de)&&be(de.createElement),ve=function(t){return he?de.createElement(t):{}},ge=ve,me=!h&&!d((function(){return 7!=Object.defineProperty(ge("div"),"a",{get:function(){return 7}}).a})),we=h,Oe=w,je=O,Se=E,Te=X,Pe=ye,Ve=Nt,Ee=me,xe=Object.getOwnPropertyDescriptor;b.f=we?xe:function(t,e){if(t=Te(t),e=Pe(e),Ee)try{return xe(t,e)}catch(t){}if(Ve(t,e))return Se(!Oe(je.f,t,e),t[e])};var Ce={},Ae=h&&d((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Re=Y,_e=String,Fe=TypeError,ke=function(t){if(Re(t))return t;throw Fe(_e(t)+" is not an object")},Be=h,De=me,Me=Ae,Ie=ke,ze=ye,Le=TypeError,Ne=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Ge="enumerable",We="configurable",$e="writable";Ce.f=Be?Me?function(t,e,n){if(Ie(t),e=ze(e),Ie(n),"function"==typeof t&&"prototype"===e&&"value"in n&&$e in n&&!n.writable){var r=qe(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:We in n?n.configurable:r.configurable,enumerable:Ge in n?n.enumerable:r.enumerable,writable:!1})}return Ne(t,e,n)}:Ne:function(t,e,n){if(Ie(t),e=ze(e),Ie(n),De)try{return Ne(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Le("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Ue=Ce,Xe=E,Ke=h?function(t,e,n){return Ue.f(t,e,Xe(1,n))}:function(t,e,n){return t[e]=n,t},Qe={exports:{}},Ye=h,He=Nt,Je=Function.prototype,Ze=Ye&&Object.getOwnPropertyDescriptor,tn=He(Je,"name"),en={EXISTS:tn,PROPER:tn&&"something"===function(){}.name,CONFIGURABLE:tn&&(!Ye||Ye&&Ze(Je,"name").configurable)},nn=K,rn=kt,on=F(Function.toString);nn(rn.inspectSource)||(rn.inspectSource=function(t){return on(t)});var un,cn,an,fn=rn.inspectSource,sn=K,ln=fn,pn=y.WeakMap,yn=sn(pn)&&/native code/.test(ln(pn)),bn=xt.exports,dn=Ut,hn=bn("keys"),vn=function(t){return hn[t]||(hn[t]=dn(t))},gn={},mn=yn,wn=y,On=F,jn=Y,Sn=Ke,Tn=Nt,Pn=kt,Vn=vn,En=gn,xn="Object already initialized",Cn=wn.TypeError,An=wn.WeakMap;if(mn||Pn.state){var Rn=Pn.state||(Pn.state=new An),_n=On(Rn.get),Fn=On(Rn.has),kn=On(Rn.set);un=function(t,e){if(Fn(Rn,t))throw new Cn(xn);return e.facade=t,kn(Rn,t,e),e},cn=function(t){return _n(Rn,t)||{}},an=function(t){return Fn(Rn,t)}}else{var Bn=Vn("state");En[Bn]=!0,un=function(t,e){if(Tn(t,Bn))throw new Cn(xn);return e.facade=t,Sn(t,Bn,e),e},cn=function(t){return Tn(t,Bn)?t[Bn]:{}},an=function(t){return Tn(t,Bn)}}var Dn={set:un,get:cn,has:an,enforce:function(t){return an(t)?cn(t):un(t,{})},getterFor:function(t){return function(e){var n;if(!jn(e)||(n=cn(e)).type!==t)throw Cn("Incompatible receiver, "+t+" required");return n}}},Mn=d,In=K,zn=Nt,Ln=h,Nn=en.CONFIGURABLE,qn=fn,Gn=Dn.enforce,Wn=Dn.get,$n=Object.defineProperty,Un=Ln&&!Mn((function(){return 8!==$n((function(){}),"length",{value:8}).length})),Xn=String(String).split("String"),Kn=Qe.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!zn(t,"name")||Nn&&t.name!==e)&&$n(t,"name",{value:e,configurable:!0}),Un&&n&&zn(n,"arity")&&t.length!==n.arity&&$n(t,"length",{value:n.arity});try{n&&zn(n,"constructor")&&n.constructor?Ln&&$n(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Gn(t);return zn(r,"source")||(r.source=Xn.join("string"==typeof e?e:"")),t};Function.prototype.toString=Kn((function(){return In(this)&&Wn(this).source||qn(this)}),"toString");var Qn=K,Yn=Ke,Hn=Qe.exports,Jn=Rt,Zn=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;return Qn(n)&&Hn(n,i,r),r.global?o?t[e]=n:Jn(e,n):(r.unsafe?t[e]&&(o=!0):delete t[e],o?t[e]=n:Yn(t,e,n)),t},tr={},er=Math.ceil,nr=Math.floor,rr=Math.trunc||function(t){var e=+t;return(e>0?nr:er)(e)},or=function(t){var e=+t;return e!=e||0===e?0:rr(e)},ir=or,ur=Math.max,cr=Math.min,ar=function(t,e){var n=ir(t);return n<0?ur(n+e,0):cr(n,e)},fr=or,sr=Math.min,lr=function(t){return t>0?sr(fr(t),9007199254740991):0},pr=function(t){return lr(t.length)},yr=X,br=ar,dr=pr,hr=function(t){return function(e,n,r){var o,i=yr(e),u=dr(i),c=br(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},vr={includes:hr(!0),indexOf:hr(!1)},gr=Nt,mr=X,wr=vr.indexOf,Or=gn,jr=F([].push),Sr=function(t,e){var n,r=mr(t),o=0,i=[];for(n in r)!gr(Or,n)&&gr(r,n)&&jr(i,n);for(;e.length>o;)gr(r,n=e[o++])&&(~wr(i,n)||jr(i,n));return i},Tr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pr=Sr,Vr=Tr.concat("length","prototype");tr.f=Object.getOwnPropertyNames||function(t){return Pr(t,Vr)};var Er={};Er.f=Object.getOwnPropertySymbols;var xr=tt,Cr=tr,Ar=Er,Rr=ke,_r=F([].concat),Fr=xr("Reflect","ownKeys")||function(t){var e=Cr.f(Rr(t)),n=Ar.f;return n?_r(e,n(t)):e},kr=Nt,Br=Fr,Dr=b,Mr=Ce,Ir=d,zr=K,Lr=/#|\.prototype\./,Nr=function(t,e){var n=Gr[qr(t)];return n==$r||n!=Wr&&(zr(e)?Ir(e):!!e)},qr=Nr.normalize=function(t){return String(t).replace(Lr,".").toLowerCase()},Gr=Nr.data={},Wr=Nr.NATIVE="N",$r=Nr.POLYFILL="P",Ur=Nr,Xr=y,Kr=b.f,Qr=Ke,Yr=Zn,Hr=Rt,Jr=function(t,e,n){for(var r=Br(e),o=Mr.f,i=Dr.f,u=0;u<r.length;u++){var c=r[u];kr(t,c)||n&&kr(n,c)||o(t,c,i(e,c))}},Zr=Ur,to=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?Xr:f?Xr[c]||Hr(c,{}):(Xr[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Kr(n,r))&&u.value:n[r],!Zr(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Jr(i,o)}(t.sham||o&&o.sham)&&Qr(i,"sham",!0),Yr(n,r,i,t)}},eo=Sr,no=Tr,ro=Object.keys||function(t){return eo(t,no)},oo=h,io=F,uo=w,co=d,ao=ro,fo=Er,so=O,lo=It,po=q,yo=Object.assign,bo=Object.defineProperty,ho=io([].concat),vo=!yo||co((function(){if(oo&&1!==yo({b:1},yo(bo({},"a",{enumerable:!0,get:function(){bo(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=yo({},t)[n]||ao(yo({},e)).join("")!=r}))?function(t,e){for(var n=lo(t),r=arguments.length,o=1,i=fo.f,u=so.f;r>o;)for(var c,a=po(arguments[o++]),f=i?ho(ao(a),i(a)):ao(a),s=f.length,l=0;s>l;)c=f[l++],oo&&!uo(u,a,c)||(n[c]=a[c]);return n}:yo,go=vo;to({target:"Object",stat:!0,arity:2,forced:Object.assign!==go},{assign:go});var mo=M,wo=Array.isArray||function(t){return"Array"==mo(t)},Oo=TypeError,jo=ye,So=Ce,To=E,Po=function(t,e,n){var r=jo(e);r in t?So.f(t,r,To(0,n)):t[r]=n},Vo={};Vo[re("toStringTag")]="z";var Eo="[object z]"===String(Vo),xo=Eo,Co=K,Ao=M,Ro=re("toStringTag"),_o=Object,Fo="Arguments"==Ao(function(){return arguments}()),ko=xo?Ao:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=_o(t),Ro))?n:Fo?Ao(e):"Object"==(r=Ao(e))&&Co(e.callee)?"Arguments":r},Bo=F,Do=d,Mo=K,Io=ko,zo=fn,Lo=function(){},No=[],qo=tt("Reflect","construct"),Go=/^\s*(?:class|function)\b/,Wo=Bo(Go.exec),$o=!Go.exec(Lo),Uo=function(t){if(!Mo(t))return!1;try{return qo(Lo,No,t),!0}catch(t){return!1}},Xo=function(t){if(!Mo(t))return!1;switch(Io(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return $o||!!Wo(Go,zo(t))}catch(t){return!0}};Xo.sham=!0;var Ko=!qo||Do((function(){var t;return Uo(Uo.call)||!Uo(Object)||!Uo((function(){t=!0}))||t}))?Xo:Uo,Qo=wo,Yo=Ko,Ho=Y,Jo=re("species"),Zo=Array,ti=function(t){var e;return Qo(t)&&(e=t.constructor,(Yo(e)&&(e===Zo||Qo(e.prototype))||Ho(e)&&null===(e=e[Jo]))&&(e=void 0)),void 0===e?Zo:e},ei=function(t,e){return new(ti(t))(0===e?0:e)},ni=d,ri=at,oi=re("species"),ii=function(t){return ri>=51||!ni((function(){var e=[];return(e.constructor={})[oi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ui=to,ci=d,ai=wo,fi=Y,si=It,li=pr,pi=function(t){if(t>9007199254740991)throw Oo("Maximum allowed index exceeded");return t},yi=Po,bi=ei,di=ii,hi=at,vi=re("isConcatSpreadable"),gi=hi>=51||!ci((function(){var t=[];return t[vi]=!1,t.concat()[0]!==t})),mi=di("concat"),wi=function(t){if(!fi(t))return!1;var e=t[vi];return void 0!==e?!!e:ai(t)};ui({target:"Array",proto:!0,arity:1,forced:!gi||!mi},{concat:function(t){var e,n,r,o,i,u=si(this),c=bi(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(wi(i=-1===e?u:arguments[e]))for(o=li(i),pi(a+o),n=0;n<o;n++,a++)n in i&&yi(c,a,i[n]);else pi(a+1),yi(c,a++,i);return c.length=a,c}});var Oi=jt,ji=v,Si=F(F.bind),Ti=function(t,e){return Oi(t),void 0===e?t:ji?Si(t,e):function(){return t.apply(e,arguments)}},Pi=q,Vi=It,Ei=pr,xi=ei,Ci=F([].push),Ai=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,u=7==t,c=5==t||i;return function(a,f,s,l){for(var p,y,b=Vi(a),d=Pi(b),h=Ti(f,s),v=Ei(d),g=0,m=l||xi,w=e?m(a,v):n||u?m(a,0):void 0;v>g;g++)if((c||g in d)&&(y=h(p=d[g],g,b),t))if(e)w[g]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:Ci(w,p)}else switch(t){case 4:return!1;case 7:Ci(w,p)}return i?-1:r||o?o:w}},Ri={forEach:Ai(0),map:Ai(1),filter:Ai(2),some:Ai(3),every:Ai(4),find:Ai(5),findIndex:Ai(6),filterReject:Ai(7)},_i={},Fi=h,ki=Ae,Bi=Ce,Di=ke,Mi=X,Ii=ro;_i.f=Fi&&!ki?Object.defineProperties:function(t,e){Di(t);for(var n,r=Mi(e),o=Ii(e),i=o.length,u=0;i>u;)Bi.f(t,n=o[u++],r[n]);return t};var zi,Li=tt("document","documentElement"),Ni=ke,qi=_i,Gi=Tr,Wi=gn,$i=Li,Ui=ve,Xi=vn("IE_PROTO"),Ki=function(){},Qi=function(t){return"<script>"+t+"</"+"script>"},Yi=function(t){t.write(Qi("")),t.close();var e=t.parentWindow.Object;return t=null,e},Hi=function(){try{zi=new ActiveXObject("htmlfile")}catch(t){}var t,e;Hi="undefined"!=typeof document?document.domain&&zi?Yi(zi):((e=Ui("iframe")).style.display="none",$i.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Qi("document.F=Object")),t.close(),t.F):Yi(zi);for(var n=Gi.length;n--;)delete Hi.prototype[Gi[n]];return Hi()};Wi[Xi]=!0;var Ji=re,Zi=Object.create||function(t,e){var n;return null!==t?(Ki.prototype=Ni(t),n=new Ki,Ki.prototype=null,n[Xi]=t):n=Hi(),void 0===e?n:qi.f(n,e)},tu=Ce.f,eu=Ji("unscopables"),nu=Array.prototype;null==nu[eu]&&tu(nu,eu,{configurable:!0,value:Zi(null)});var ru=to,ou=Ri.find,iu=function(t){nu[eu][t]=!0},uu="find",cu=!0;uu in[]&&Array(1).find((function(){cu=!1})),ru({target:"Array",proto:!0,forced:cu},{find:function(t){return ou(this,t,arguments.length>1?arguments[1]:void 0)}}),iu(uu);var au=ko,fu=Eo?{}.toString:function(){return"[object "+au(this)+"]"};Eo||Zn(Object.prototype,"toString",fu,{unsafe:!0});var su=F([].slice),lu=to,pu=wo,yu=Ko,bu=Y,du=ar,hu=pr,vu=X,gu=Po,mu=re,wu=su,Ou=ii("slice"),ju=mu("species"),Su=Array,Tu=Math.max;lu({target:"Array",proto:!0,forced:!Ou},{slice:function(t,e){var n,r,o,i=vu(this),u=hu(i),c=du(t,u),a=du(void 0===e?u:e,u);if(pu(i)&&(n=i.constructor,(yu(n)&&(n===Su||pu(n.prototype))||bu(n)&&null===(n=n[ju]))&&(n=void 0),n===Su||void 0===n))return wu(i,c,a);for(r=new(void 0===n?Su:n)(Tu(a-c,0)),o=0;c<a;c++,o++)c in i&&gu(r,o,i[c]);return r.length=o,r}});var Pu=n.default.fn.bootstrapTable.utils;n.default.extend(n.default.fn.bootstrapTable.defaults,{customView:!1,customViewDefaultView:!1}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{customView:{bootstrap3:"glyphicon glyphicon-eye-open",bootstrap5:"bi-eye",bootstrap4:"fa fa-eye",semantic:"fa fa-eye",foundation:"fa fa-eye",bulma:"fa fa-eye",materialize:"remove_red_eye"}[n.default.fn.bootstrapTable.theme]||"fa-eye"}),n.default.extend(n.default.fn.bootstrapTable.defaults,{onCustomViewPostBody:function(){return!1},onCustomViewPreBody:function(){return!1}}),n.default.extend(n.default.fn.bootstrapTable.locales,{formatToggleCustomView:function(){return"Toggle custom view"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.fn.bootstrapTable.methods.push("toggleCustomView"),n.default.extend(n.default.fn.bootstrapTable.Constructor.EVENTS,{"custom-view-post-body.bs.table":"onCustomViewPostBody","custom-view-pre-body.bs.table":"onCustomViewPreBody"}),n.default.BootstrapTable=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(l,t);var e,n,c,f=a(l);function l(){return r(this,l),f.apply(this,arguments)}return e=l,n=[{key:"init",value:function(){this.customViewDefaultView=this.options.customViewDefaultView,s(i(l.prototype),"init",this).call(this)}},{key:"initToolbar",value:function(){var t;this.options.customView&&(this.buttons=Object.assign(this.buttons,{customView:{text:this.options.formatToggleCustomView(),icon:this.options.icons.customView,event:this.toggleCustomView,attributes:{"aria-label":this.options.formatToggleCustomView(),title:this.options.formatToggleCustomView()}}}));for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=s(i(l.prototype),"initToolbar",this)).call.apply(t,[this].concat(n))}},{key:"initBody",value:function(){if(s(i(l.prototype),"initBody",this).call(this),this.options.customView){var t=this.$el,e=this.$container.find(".fixed-table-custom-view");if(t.hide(),e.hide(),this.options.customView&&this.customViewDefaultView){var n=this.getData().slice(this.pageFrom-1,this.pageTo),r=Pu.calculateObjectValue(this,this.options.customView,[n],"");this.trigger("custom-view-pre-body",n,r),1===e.length?e.show().html(r):this.$tableBody.after('<div class="fixed-table-custom-view">'.concat(r,"</div>")),this.trigger("custom-view-post-body",n,r)}else t.show()}}},{key:"toggleCustomView",value:function(){this.customViewDefaultView=!this.customViewDefaultView,this.initBody()}}],n&&o(e.prototype,n),c&&o(e,c),Object.defineProperty(e,"prototype",{writable:!1}),l}(n.default.BootstrapTable)}));