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