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