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) • 19.4 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")(),d={},y=function(t){try{return!!t()}catch(t){return!0}},b=!y((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!y((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),g=h,v=Function.prototype.call,m=g?v.bind(v):function(){return v.apply(v,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,x=Function.prototype,D=x.call,_=A&&x.bind.bind(D,D),C=A?_:function(t){return function(){return D.apply(t,arguments)}},I=C,R=I({}.toString),k=I("".slice),F=function(t){return k(R(t),8,-1)},M=y,L=F,z=Object,N=C("".split),G=M((function(){return!z("z").propertyIsEnumerable(0)}))?function(t){return"String"===L(t)?N(t,""):z(t)}:z,B=function(t){return null==t},W=B,$=TypeError,q=function(t){if(W(t))throw new $("Can't call method on "+t);return t},H=G,U=q,X=function(t){return H(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=C({}.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,dt=y,yt=p.String,bt=!!Object.getOwnPropertySymbols&&!dt((function(){var t=Symbol("symbol detection");return!yt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&pt&&pt<41})),ht=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gt=ot,vt=Y,mt=it,wt=Object,Ot=ht?function(t){return"symbol"==typeof t}:function(t){var n=gt("Symbol");return vt(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,xt=B,Dt=m,_t=Y,Ct=tt,It=TypeError,Rt={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__",Nt=p[zt]||Lt(zt,{}),Gt=Nt;(Rt.exports=function(t,n){return Gt[t]||(Gt[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=Rt.exports,Wt=q,$t=Object,qt=function(t){return $t(Wt(t))},Ht=qt,Ut=C({}.hasOwnProperty),Xt=Object.hasOwn||function(t,n){return Ut(Ht(t),n)},Kt=C,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 xt(e)?void 0:At(e)},dn=function(t,n){var e,r;if("string"===n&&_t(e=t.toString)&&!Ct(r=Dt(e,t)))return r;if(_t(e=t.valueOf)&&!Ct(r=Dt(e,t)))return r;if("string"!==n&&_t(e=t.toString)&&!Ct(r=Dt(e,t)))return r;throw new It("Can't convert object to primitive value")},yn=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 yn("Can't convert object to primitive value")}return void 0===n&&(n="number"),dn(t,n)},gn=Ot,vn=function(t){var n=hn(t,"string");return gn(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&&!y((function(){return 7!==Object.defineProperty(Sn("div"),"a",{get:function(){return 7}}).a})),Tn=b,En=m,An=w,xn=E,Dn=X,_n=vn,Cn=Xt,In=Pn,Rn=Object.getOwnPropertyDescriptor;d.f=Tn?Rn:function(t,n){if(t=Dn(t),n=_n(n),In)try{return Rn(t,n)}catch(t){}if(Cn(t,n))return xn(!En(An.f,t,n),t[n])};var kn={},Fn=b&&y((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mn=tt,Ln=String,zn=TypeError,Nn=function(t){if(Mn(t))return t;throw new zn(Ln(t)+" is not an object")},Gn=b,Bn=Pn,Wn=Fn,$n=Nn,qn=vn,Hn=TypeError,Un=Object.defineProperty,Xn=Object.getOwnPropertyDescriptor,Kn="enumerable",Qn="configurable",Vn="writable";kn.f=Gn?Wn?function(t,n,e){if($n(t),n=qn(n),$n(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 Un(t,n,e)}:Un:function(t,n,e){if($n(t),n=qn(n),$n(e),Bn)try{return Un(t,n,e)}catch(t){}if("get"in e||"set"in e)throw new Hn("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=Nt,fe=C(Function.toString);ce(ae.inspectSource)||(ae.inspectSource=function(t){return fe(t)});var se,le,pe,de=ae.inspectSource,ye=Y,be=p.WeakMap,he=ye(be)&&/native code/.test(String(be)),ge=Jt,ve=Bt("keys"),me=function(t){return ve[t]||(ve[t]=ge(t))},we={},Oe=he,je=p,Se=tt,Pe=Zn,Te=Xt,Ee=Nt,Ae=me,xe=we,De="Object already initialized",_e=je.TypeError,Ce=je.WeakMap;if(Oe||Ee.state){var Ie=Ee.state||(Ee.state=new Ce);Ie.get=Ie.get,Ie.has=Ie.has,Ie.set=Ie.set,se=function(t,n){if(Ie.has(t))throw new _e(De);return n.facade=t,Ie.set(t,n),n},le=function(t){return Ie.get(t)||{}},pe=function(t){return Ie.has(t)}}else{var Re=Ae("state");xe[Re]=!0,se=function(t,n){if(Te(t,Re))throw new _e(De);return n.facade=t,Pe(t,Re,n),n},le=function(t){return Te(t,Re)?t[Re]:{}},pe=function(t){return Te(t,Re)}}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 _e("Incompatible receiver, "+t+" required");return e}}},Fe=C,Me=y,Le=Y,ze=Xt,Ne=b,Ge=ue.CONFIGURABLE,Be=de,We=ke.enforce,$e=ke.get,qe=String,He=Object.defineProperty,Ue=Fe("".slice),Xe=Fe("".replace),Ke=Fe([].join),Qe=Ne&&!Me((function(){return 8!==He((function(){}),"length",{value:8}).length})),Ve=String(String).split("String"),Ye=te.exports=function(t,n,e){"Symbol("===Ue(qe(n),0,7)&&(n="["+Xe(qe(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!ze(t,"name")||Ge&&t.name!==n)&&(Ne?He(t,"name",{value:n,configurable:!0}):t.name=n),Qe&&e&&ze(e,"arity")&&t.length!==e.arity&&He(t,"length",{value:e.arity});try{e&&ze(e,"constructor")&&e.constructor?Ne&&He(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)&&$e(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,dr=Math.min,yr=function(t){return t>0?dr(pr(t),9007199254740991):0},br=function(t){return yr(t.length)},hr=X,gr=function(t,n){var e=fr(t);return e<0?sr(e+n,0):lr(e,n)},vr=br,mr=function(t){return function(n,e,r){var o,i=hr(n),u=vr(i),c=gr(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=C([].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"],xr=Er,Dr=Ar.concat("length","prototype");or.f=Object.getOwnPropertyNames||function(t){return xr(t,Dr)};var _r={};_r.f=Object.getOwnPropertySymbols;var Cr=ot,Ir=or,Rr=_r,kr=Nn,Fr=C([].concat),Mr=Cr("Reflect","ownKeys")||function(t){var n=Ir.f(kr(t)),e=Rr.f;return e?Fr(n,e(t)):n},Lr=Xt,zr=Mr,Nr=d,Gr=kn,Br=y,Wr=Y,$r=/#|\.prototype\./,qr=function(t,n){var e=Ur[Hr(t)];return e===Kr||e!==Xr&&(Wr(n)?Br(n):!!n)},Hr=qr.normalize=function(t){return String(t).replace($r,".").toLowerCase()},Ur=qr.data={},Xr=qr.NATIVE="N",Kr=qr.POLYFILL="P",Qr=qr,Vr=p,Yr=d.f,Jr=Zn,Zr=rr,to=Mt,no=function(t,n,e){for(var r=zr(n),o=Gr.f,i=Nr.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=C,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,go=F,vo=an("toStringTag"),mo=Object,wo="Arguments"===go(function(){return arguments}()),Oo=bo?go: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),vo))?e:wo?go(n):"Object"===(r=go(n))&&ho(n.callee)?"Arguments":r},jo=C,So=y,Po=Y,To=Oo,Eo=de,Ao=function(){},xo=[],Do=ot("Reflect","construct"),_o=/^\s*(?:class|function)\b/,Co=jo(_o.exec),Io=!_o.test(Ao),Ro=function(t){if(!Po(t))return!1;try{return Do(Ao,xo,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 Io||!!Co(_o,Eo(t))}catch(t){return!0}};ko.sham=!0;var Fo=!Do||So((function(){var t;return Ro(Ro.call)||!Ro(Object)||!Ro((function(){t=!0}))||t}))?ko:Ro,Mo=lo,Lo=Fo,zo=tt,No=an("species"),Go=Array,Bo=function(t){var n;return Mo(t)&&(n=t.constructor,(Lo(n)&&(n===Go||Mo(n.prototype))||zo(n)&&null===(n=n[No]))&&(n=void 0)),void 0===n?Go:n},Wo=function(t,n){return co(t),void 0===n?t:ao?fo(t,n):function(){return t.apply(n,arguments)}},$o=G,qo=qt,Ho=br,Uo=function(t,n){return new(Bo(t))(0===n?0:n)},Xo=C([].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,d,y=qo(a),b=$o(y),h=Ho(b),g=Wo(f,s),v=0,m=l||Uo,w=n?m(a,h):e||u?m(a,0):void 0;h>v;v++)if((c||v in b)&&(d=g(p=b[v],v,y),t))if(n)w[v]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return v;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=Nn,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=Nn,fi=Vo,si=Ar,li=we,pi=ci,di=jn,yi=me("IE_PROTO"),bi=function(){},hi=function(t){return"<script>"+t+"</"+"script>"},gi=function(t){t.write(hi("")),t.close();var n=t.parentWindow.Object;return t=null,n},vi=function(){try{ui=new ActiveXObject("htmlfile")}catch(t){}var t,n;vi="undefined"!=typeof document?document.domain&&ui?gi(ui):((n=di("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):gi(ui);for(var e=si.length;e--;)delete vi.prototype[si[e]];return vi()};li[yi]=!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[yi]=t):e=vi(),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,xi="find",Di=!0;xi in[]&&Array(1).find((function(){Di=!1})),Ti({target:"Array",proto:!0,forced:Di},{find:function(t){return Ei(this,t,arguments.length>1?arguments[1]:void 0)}}),Ai(xi);var _i=Oo,Ci=yo?{}.toString:function(){return"[object "+_i(this)+"]"};yo||rr(Object.prototype,"toString",Ci,{unsafe:!0});var Ii=wr.includes,Ri=Pi;ro({target:"Array",proto:!0,forced:y((function(){return!Array(1).includes()}))},{includes:function(t){return Ii(this,t,arguments.length>1?arguments[1]:void 0)}}),Ri("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,Ni=Oo,Gi=String,Bi=an("match"),Wi=ro,$i=function(t){if(Li(t))throw new zi("The method doesn't accept regular expressions");return t},qi=q,Hi=function(t){if("Symbol"===Ni(t))throw new TypeError("Cannot convert a Symbol value to a string");return Gi(t)},Ui=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[Bi]=!1,"/./"[t](n)}catch(t){}}return!1},Xi=C("".indexOf);Wi({target:"String",proto:!0,forced:!Ui("includes")},{includes:function(t){return!!~Xi(Hi(qi(this)),Hi($i(t)),arguments.length>1?arguments[1]:void 0)}}),t.fn.bootstrapTable.utils.extend(t.fn.bootstrapTable.defaults,{classes:"table highlight",buttonsPrefix:"",buttonsClass:"waves-effect waves-light btn"}),t.fn.bootstrapTable.theme="materialize",t.BootstrapTable=function(n){!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)}(p,n);var u,a,s,l=c(p);function p(){return e(this,p),l.apply(this,arguments)}return u=p,a=[{key:"initConstants",value:function(){f(o(p.prototype),"initConstants",this).call(this),this.constants.classes.buttonsGroup="button-group",this.constants.classes.buttonsDropdown="",this.constants.classes.input="input-field",this.constants.classes.input="",this.constants.classes.paginationDropdown="",this.constants.classes.buttonActive="green",this.constants.html.toolbarDropdown=['<ul class="dropdown-content">',"</ul>"],this.constants.html.toolbarDropdownItem='<li class="dropdown-item-marker"><label>%s</label></li>',this.constants.html.toolbarDropdownSeparator='<li class="divider" tabindex="-1"></li>',this.constants.html.pageDropdown=['<ul id="pagination-list-id" class="dropdown-content">',"</ul>"],this.constants.html.pageDropdownItem='<li><a class="%s" href="#">%s</a></li>',this.constants.html.dropdownCaret='<i class="material-icons">arrow_drop_down</i>',this.constants.html.pagination=['<ul class="pagination%s">',"</ul>"],this.constants.html.paginationItem='<li class="waves-effect page-item%s" aria-label="%s"><a href="#">%s</a></li>',this.constants.html.icon='<i class="%s">%s</i>',this.constants.html.inputGroup="%s%s"}},{key:"initToolbar",value:function(){f(o(p.prototype),"initToolbar",this).call(this),this.handleToolbar()}},{key:"handleToolbar",value:function(){this.$toolbar.find(".dropdown-toggle").length&&this.$toolbar.find(".dropdown-toggle").each((function(n,e){if(t(e).next().length){var r="toolbar-columns-id".concat(n);t(e).next().attr("id",r),t(e).attr("data-target",r).dropdown({alignment:"right",constrainWidth:!1,closeOnClick:!1})}}))}},{key:"initPagination",value:function(){f(o(p.prototype),"initPagination",this).call(this),this.options.pagination&&this.paginationParts.includes("pageSize")&&this.$pagination.find(".dropdown-toggle").attr("data-target",this.$pagination.find(".dropdown-content").attr("id")).dropdown()}}],a&&r(u.prototype,a),s&&r(u,s),Object.defineProperty(u,"prototype",{writable:!1}),p}(t.BootstrapTable)}));