bootstrap-table-custom-view.min.js 21 KB

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