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