UNPKG

21.2 kBJavaScriptView Raw
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.20.1
5 * @homepage https://bootstrap-table.com
6 * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
7 * @license MIT
8 */
9
10function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach((function(t){n(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||o(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(t,e){return t(e={exports:{}},e.exports),e.exports}var c,f,l=function(t){return t&&t.Math==Math&&t},s=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof a&&a)||function(){return this}()||Function("return this")(),p=function(t){try{return!!t()}catch(t){return!0}},d=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),y=!p((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=Function.prototype.call,b=y?v.bind(v):function(){return v.apply(v,arguments)},h={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,m={f:g&&!h.call({1:2},1)?function(t){var e=g(this,t);return!!e&&e.enumerable}:h},O=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w=Function.prototype,x=w.bind,S=w.call,j=y&&x.bind(S,S),E=y?function(t){return t&&j(t)}:function(t){return t&&function(){return S.apply(t,arguments)}},A=E({}.toString),I=E("".slice),_=function(t){return I(A(t),8,-1)},T=s.Object,P=E("".split),$=p((function(){return!T("z").propertyIsEnumerable(0)}))?function(t){return"String"==_(t)?P(t,""):T(t)}:T,R=s.TypeError,C=function(t){if(null==t)throw R("Can't call method on "+t);return t},F=function(t){return $(C(t))},M=function(t){return"function"==typeof t},k=function(t){return"object"==typeof t?null!==t:M(t)},D=function(t){return M(t)?t:void 0},N=function(t,e){return arguments.length<2?D(s[t]):s[t]&&s[t][e]},z=E({}.isPrototypeOf),L=N("navigator","userAgent")||"",U=s.process,B=s.Deno,G=U&&U.versions||B&&B.version,K=G&&G.v8;K&&(f=(c=K.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!f&&L&&(!(c=L.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=L.match(/Chrome\/(\d+)/))&&(f=+c[1]);var W=f,X=!!Object.getOwnPropertySymbols&&!p((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41})),V=X&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Y=s.Object,q=V?function(t){return"symbol"==typeof t}:function(t){var e=N("Symbol");return M(e)&&z(e.prototype,Y(t))},Q=s.String,Z=s.TypeError,H=function(t){if(M(t))return t;throw Z(function(t){try{return Q(t)}catch(t){return"Object"}}(t)+" is not a function")},J=function(t,e){var n=t[e];return null==n?void 0:H(n)},tt=s.TypeError,et=Object.defineProperty,nt=function(t,e){try{et(s,t,{value:e,configurable:!0,writable:!0})}catch(n){s[t]=e}return e},rt=s["__core-js_shared__"]||nt("__core-js_shared__",{}),ot=u((function(t){(t.exports=function(t,e){return rt[t]||(rt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.4",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})})),it=s.Object,at=function(t){return it(C(t))},ut=E({}.hasOwnProperty),ct=Object.hasOwn||function(t,e){return ut(at(t),e)},ft=0,lt=Math.random(),st=E(1..toString),pt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+st(++ft+lt,36)},dt=ot("wks"),yt=s.Symbol,vt=yt&&yt.for,bt=V?yt:yt&&yt.withoutSetter||pt,ht=function(t){if(!ct(dt,t)||!X&&"string"!=typeof dt[t]){var e="Symbol."+t;X&&ct(yt,t)?dt[t]=yt[t]:dt[t]=V&&vt?vt(e):bt(e)}return dt[t]},gt=s.TypeError,mt=ht("toPrimitive"),Ot=function(t,e){if(!k(t)||q(t))return t;var n,r=J(t,mt);if(r){if(void 0===e&&(e="default"),n=b(r,t,e),!k(n)||q(n))return n;throw gt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&M(n=t.toString)&&!k(r=b(n,t)))return r;if(M(n=t.valueOf)&&!k(r=b(n,t)))return r;if("string"!==e&&M(n=t.toString)&&!k(r=b(n,t)))return r;throw tt("Can't convert object to primitive value")}(t,e)},wt=function(t){var e=Ot(t,"string");return q(e)?e:e+""},xt=s.document,St=k(xt)&&k(xt.createElement),jt=function(t){return St?xt.createElement(t):{}},Et=!d&&!p((function(){return 7!=Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a})),At=Object.getOwnPropertyDescriptor,It={f:d?At:function(t,e){if(t=F(t),e=wt(e),Et)try{return At(t,e)}catch(t){}if(ct(t,e))return O(!b(m.f,t,e),t[e])}},_t=d&&p((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=s.String,Pt=s.TypeError,$t=function(t){if(k(t))return t;throw Pt(Tt(t)+" is not an object")},Rt=s.TypeError,Ct=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Mt={f:d?_t?function(t,e,n){if($t(t),e=wt(e),$t(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var r=Ft(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return Ct(t,e,n)}:Ct:function(t,e,n){if($t(t),e=wt(e),$t(n),Et)try{return Ct(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Rt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},kt=d?function(t,e,n){return Mt.f(t,e,O(1,n))}:function(t,e,n){return t[e]=n,t},Dt=Function.prototype,Nt=d&&Object.getOwnPropertyDescriptor,zt=ct(Dt,"name"),Lt={EXISTS:zt,PROPER:zt&&"something"===function(){}.name,CONFIGURABLE:zt&&(!d||d&&Nt(Dt,"name").configurable)},Ut=E(Function.toString);M(rt.inspectSource)||(rt.inspectSource=function(t){return Ut(t)});var Bt,Gt,Kt,Wt=rt.inspectSource,Xt=s.WeakMap,Vt=M(Xt)&&/native code/.test(Wt(Xt)),Yt=ot("keys"),qt=function(t){return Yt[t]||(Yt[t]=pt(t))},Qt={},Zt=s.TypeError,Ht=s.WeakMap;if(Vt||rt.state){var Jt=rt.state||(rt.state=new Ht),te=E(Jt.get),ee=E(Jt.has),ne=E(Jt.set);Bt=function(t,e){if(ee(Jt,t))throw new Zt("Object already initialized");return e.facade=t,ne(Jt,t,e),e},Gt=function(t){return te(Jt,t)||{}},Kt=function(t){return ee(Jt,t)}}else{var re=qt("state");Qt[re]=!0,Bt=function(t,e){if(ct(t,re))throw new Zt("Object already initialized");return e.facade=t,kt(t,re,e),e},Gt=function(t){return ct(t,re)?t[re]:{}},Kt=function(t){return ct(t,re)}}var oe={set:Bt,get:Gt,has:Kt,enforce:function(t){return Kt(t)?Gt(t):Bt(t,{})},getterFor:function(t){return function(e){var n;if(!k(e)||(n=Gt(e)).type!==t)throw Zt("Incompatible receiver, "+t+" required");return n}}},ie=u((function(t){var e=Mt.f,n=Lt.CONFIGURABLE,r=oe.enforce,o=oe.get,i=!p((function(){return 8!==e((function(){}),"length",{value:8}).length})),a=String(String).split("String"),u=t.exports=function(t,o,u){"Symbol("===String(o).slice(0,7)&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),u&&u.getter&&(o="get "+o),u&&u.setter&&(o="set "+o),(!ct(t,"name")||n&&t.name!==o)&&e(t,"name",{value:o,configurable:!0}),i&&u&&ct(u,"arity")&&t.length!==u.arity&&e(t,"length",{value:u.arity});var c=r(t);return ct(c,"source")||(c.source=a.join("string"==typeof o?o:"")),t};Function.prototype.toString=u((function(){return M(this)&&o(this).source||Wt(this)}),"toString")})),ae=function(t,e,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet,u=r&&void 0!==r.name?r.name:e;return M(n)&&ie(n,u,r),t===s?(i?t[e]=n:nt(e,n),t):(o?!a&&t[e]&&(i=!0):delete t[e],i?t[e]=n:kt(t,e,n),t)},ue=Math.ceil,ce=Math.floor,fe=function(t){var e=+t;return e!=e||0===e?0:(e>0?ce:ue)(e)},le=Math.max,se=Math.min,pe=Math.min,de=function(t){return t>0?pe(fe(t),9007199254740991):0},ye=function(t){return de(t.length)},ve=function(t){return function(e,n,r){var o,i=F(e),a=ye(i),u=function(t,e){var n=fe(t);return n<0?le(n+e,0):se(n,e)}(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},be={includes:ve(!0),indexOf:ve(!1)}.indexOf,he=E([].push),ge=function(t,e){var n,r=F(t),o=0,i=[];for(n in r)!ct(Qt,n)&&ct(r,n)&&he(i,n);for(;e.length>o;)ct(r,n=e[o++])&&(~be(i,n)||he(i,n));return i},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oe=me.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(t){return ge(t,Oe)}},xe={f:Object.getOwnPropertySymbols},Se=E([].concat),je=N("Reflect","ownKeys")||function(t){var e=we.f($t(t)),n=xe.f;return n?Se(e,n(t)):e},Ee=function(t,e,n){for(var r=je(e),o=Mt.f,i=It.f,a=0;a<r.length;a++){var u=r[a];ct(t,u)||n&&ct(n,u)||o(t,u,i(e,u))}},Ae=/#|\.prototype\./,Ie=function(t,e){var n=Te[_e(t)];return n==$e||n!=Pe&&(M(e)?p(e):!!e)},_e=Ie.normalize=function(t){return String(t).replace(Ae,".").toLowerCase()},Te=Ie.data={},Pe=Ie.NATIVE="N",$e=Ie.POLYFILL="P",Re=Ie,Ce=It.f,Fe=function(t,e){var n,r,o,i,a,u=t.target,c=t.global,f=t.stat;if(n=c?s:f?s[u]||nt(u,{}):(s[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Ce(n,r))&&a.value:n[r],!Re(c?r:u+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ee(i,o)}(t.sham||o&&o.sham)&&kt(i,"sham",!0),ae(n,r,i,t)}},Me={};Me[ht("toStringTag")]="z";var ke,De="[object z]"===String(Me),Ne=ht("toStringTag"),ze=s.Object,Le="Arguments"==_(function(){return arguments}()),Ue=De?_: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=ze(t),Ne))?n:Le?_(e):"Object"==(r=_(e))&&M(e.callee)?"Arguments":r},Be=s.String,Ge=function(t){if("Symbol"===Ue(t))throw TypeError("Cannot convert a Symbol value to a string");return Be(t)},Ke=function(){var t=$t(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},We=s.RegExp,Xe=p((function(){var t=We("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Ve=Xe||p((function(){return!We("a","y").sticky})),Ye={BROKEN_CARET:Xe||p((function(){var t=We("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Ve,UNSUPPORTED_Y:Xe},qe=Object.keys||function(t){return ge(t,me)},Qe=d&&!_t?Object.defineProperties:function(t,e){$t(t);for(var n,r=F(e),o=qe(e),i=o.length,a=0;i>a;)Mt.f(t,n=o[a++],r[n]);return t},Ze={f:Qe},He=N("document","documentElement"),Je=qt("IE_PROTO"),tn=function(){},en=function(t){return"<script>"+t+"<\/script>"},nn=function(t){t.write(en("")),t.close();var e=t.parentWindow.Object;return t=null,e},rn=function(){try{ke=new ActiveXObject("htmlfile")}catch(t){}var t,e;rn="undefined"!=typeof document?document.domain&&ke?nn(ke):((e=jt("iframe")).style.display="none",He.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(en("document.F=Object")),t.close(),t.F):nn(ke);for(var n=me.length;n--;)delete rn.prototype[me[n]];return rn()};Qt[Je]=!0;var on,an,un=Object.create||function(t,e){var n;return null!==t?(tn.prototype=$t(t),n=new tn,tn.prototype=null,n[Je]=t):n=rn(),void 0===e?n:Ze.f(n,e)},cn=s.RegExp,fn=p((function(){var t=cn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),ln=s.RegExp,sn=p((function(){var t=ln("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),pn=oe.get,dn=ot("native-string-replace",String.prototype.replace),yn=RegExp.prototype.exec,vn=yn,bn=E("".charAt),hn=E("".indexOf),gn=E("".replace),mn=E("".slice),On=(an=/b*/g,b(yn,on=/a/,"a"),b(yn,an,"a"),0!==on.lastIndex||0!==an.lastIndex),wn=Ye.BROKEN_CARET,xn=void 0!==/()??/.exec("")[1];(On||xn||wn||fn||sn)&&(vn=function(t){var e,n,r,o,i,a,u,c=this,f=pn(c),l=Ge(t),s=f.raw;if(s)return s.lastIndex=c.lastIndex,e=b(vn,s,l),c.lastIndex=s.lastIndex,e;var p=f.groups,d=wn&&c.sticky,y=b(Ke,c),v=c.source,h=0,g=l;if(d&&(y=gn(y,"y",""),-1===hn(y,"g")&&(y+="g"),g=mn(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==bn(l,c.lastIndex-1))&&(v="(?: "+v+")",g=" "+g,h++),n=new RegExp("^(?:"+v+")",y)),xn&&(n=new RegExp("^"+v+"$(?!\\s)",y)),On&&(r=c.lastIndex),o=b(yn,d?n:c,g),d?o?(o.input=mn(o.input,h),o[0]=mn(o[0],h),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:On&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),xn&&o&&o.length>1&&b(dn,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=un(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Sn=vn;Fe({target:"RegExp",proto:!0,forced:/./.exec!==Sn},{exec:Sn});var jn=Function.prototype,En=jn.apply,An=jn.call,In="object"==typeof Reflect&&Reflect.apply||(y?An.bind(En):function(){return An.apply(En,arguments)}),_n=ht("species"),Tn=RegExp.prototype,Pn=E("".charAt),$n=E("".charCodeAt),Rn=E("".slice),Cn=function(t){return function(e,n){var r,o,i=Ge(C(e)),a=fe(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=$n(i,a))<55296||r>56319||a+1===u||(o=$n(i,a+1))<56320||o>57343?t?Pn(i,a):r:t?Rn(i,a,a+2):o-56320+(r-55296<<10)+65536}},Fn={codeAt:Cn(!1),charAt:Cn(!0)}.charAt,Mn=function(t,e,n){return e+(n?Fn(t,e).length:1)},kn=Math.floor,Dn=E("".charAt),Nn=E("".replace),zn=E("".slice),Ln=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Un=/\$([$&'`]|\d{1,2})/g,Bn=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,c=Un;return void 0!==o&&(o=at(o),c=Ln),Nn(i,c,(function(i,c){var f;switch(Dn(c,0)){case"$":return"$";case"&":return t;case"`":return zn(e,0,n);case"'":return zn(e,a);case"<":f=o[zn(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>u){var s=kn(l/10);return 0===s?i:s<=u?void 0===r[s-1]?Dn(c,1):r[s-1]+Dn(c,1):i}f=r[l-1]}return void 0===f?"":f}))},Gn=s.TypeError,Kn=function(t,e){var n=t.exec;if(M(n)){var r=b(n,t,e);return null!==r&&$t(r),r}if("RegExp"===_(t))return b(Sn,t,e);throw Gn("RegExp#exec called on incompatible receiver")},Wn=ht("replace"),Xn=Math.max,Vn=Math.min,Yn=E([].concat),qn=E([].push),Qn=E("".indexOf),Zn=E("".slice),Hn="$0"==="a".replace(/./,"$0"),Jn=!!/./[Wn]&&""===/./[Wn]("a","$0");!function(t,e,n,r){var o=ht(t),i=!p((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!p((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[_n]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var u=E(/./[o]),c=e(o,""[t],(function(t,e,n,r,o){var a=E(t),c=e.exec;return c===Sn||c===Tn.exec?i&&!o?{done:!0,value:u(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));ae(String.prototype,t,c[0]),ae(Tn,o,c[1])}r&&kt(Tn[o],"sham",!0)}("replace",(function(t,e,n){var r=Jn?"$":"$0";return[function(t,n){var r=C(this),o=null==t?void 0:J(t,Wn);return o?b(o,t,r,n):b(e,Ge(r),t,n)},function(t,o){var i=$t(this),a=Ge(t);if("string"==typeof o&&-1===Qn(o,r)&&-1===Qn(o,"$<")){var u=n(e,i,a,o);if(u.done)return u.value}var c=M(o);c||(o=Ge(o));var f=i.global;if(f){var l=i.unicode;i.lastIndex=0}for(var s=[];;){var p=Kn(i,a);if(null===p)break;if(qn(s,p),!f)break;""===Ge(p[0])&&(i.lastIndex=Mn(a,de(i.lastIndex),l))}for(var d,y="",v=0,b=0;b<s.length;b++){for(var h=Ge((p=s[b])[0]),g=Xn(Vn(fe(p.index),a.length),0),m=[],O=1;O<p.length;O++)qn(m,void 0===(d=p[O])?d:String(d));var w=p.groups;if(c){var x=Yn([h],m,g,a);void 0!==w&&qn(x,w);var S=Ge(In(o,void 0,x))}else S=Bn(h,a,g,m,w,o);g>=v&&(y+=Zn(a,v,g)+S,v=g+h.length)}return y+Zn(a,v)}]}),!!p((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Hn||Jn);var tr=Array.isArray||function(t){return"Array"==_(t)},er=function(t,e,n){var r=wt(e);r in t?Mt.f(t,r,O(0,n)):t[r]=n},nr=function(){},rr=[],or=N("Reflect","construct"),ir=/^\s*(?:class|function)\b/,ar=E(ir.exec),ur=!ir.exec(nr),cr=function(t){if(!M(t))return!1;try{return or(nr,rr,t),!0}catch(t){return!1}},fr=function(t){if(!M(t))return!1;switch(Ue(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ur||!!ar(ir,Wt(t))}catch(t){return!0}};fr.sham=!0;var lr,sr=!or||p((function(){var t;return cr(cr.call)||!cr(Object)||!cr((function(){t=!0}))||t}))?fr:cr,pr=ht("species"),dr=s.Array,yr=function(t,e){return new(function(t){var e;return tr(t)&&(e=t.constructor,(sr(e)&&(e===dr||tr(e.prototype))||k(e)&&null===(e=e[pr]))&&(e=void 0)),void 0===e?dr:e}(t))(0===e?0:e)},vr=ht("species"),br=ht("isConcatSpreadable"),hr=s.TypeError,gr=W>=51||!p((function(){var t=[];return t[br]=!1,t.concat()[0]!==t})),mr=(lr="concat",W>=51||!p((function(){var t=[];return(t.constructor={})[vr]=function(){return{foo:1}},1!==t[lr](Boolean).foo}))),Or=function(t){if(!k(t))return!1;var e=t[br];return void 0!==e?!!e:tr(t)};Fe({target:"Array",proto:!0,arity:1,forced:!gr||!mr},{concat:function(t){var e,n,r,o,i,a=at(this),u=yr(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(Or(i=-1===e?a:arguments[e])){if(c+(o=ye(i))>9007199254740991)throw hr("Maximum allowed index exceeded");for(n=0;n<o;n++,c++)n in i&&er(u,c,i[n])}else{if(c>=9007199254740991)throw hr("Maximum allowed index exceeded");er(u,c++,i)}return u.length=c,u}});var wr=window.jQuery,xr=function(t){return void 0===t?t:wr.extend(!0,Array.isArray(t)?[]:{},t)};function Sr(t,e,n,r,o,i,a,u,c,f){"boolean"!=typeof a&&(c=u,u=a,a=!1);const l="function"==typeof n?n.options:n;let s;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=a?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),s)if(l.functional){const t=l.render;l.render=function(e,n){return s.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,s):[s]}return n}const jr=Sr({render:function(){var t=this.$createElement;return(this._self._c||t)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default:function(){}},options:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;this.$table=wr(this.$el),this.$table.on("all.bs.table",(function(e,n,o){var i=wr.fn.bootstrapTable.events[n];i=i.replace(/([A-Z])/g,"-$1").toLowerCase(),t.$emit.apply(t,["on-all"].concat(r(o))),t.$emit.apply(t,[i].concat(r(o)))})),this._initTable()},methods:e({_initTable:function(){var t=e(e({},xr(this.options)),{},{columns:xr(this.columns),data:xr(this.data)});this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)}},function(){var t,e={},n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}(wr.fn.bootstrapTable.methods);try{var r=function(){var n=t.value;e[n]=function(){for(var t,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(t=this.$table).bootstrapTable.apply(t,[n].concat(r))}};for(n.s();!(t=n.n()).done;)r()}catch(t){n.e(t)}finally{n.f()}return e}()),watch:{options:{handler:function(){this._initTable()},deep:!0},columns:{handler:function(){this._initTable()},deep:!0},data:{handler:function(){this.load(xr(this.data))},deep:!0}}},undefined,false,undefined,!1,void 0,void 0,void 0);export{jr as default};