| 12345678910 |
- /**
- * 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.18.2
- * @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),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var i=function(t){return t&&t.Math==Math&&t},u=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},a=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,s={f:l&&!f.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:f},p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},y={}.toString,d=function(t){return y.call(t).slice(8,-1)},v="".split,h=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?v.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return h(g(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!m(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!m(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},x={}.hasOwnProperty,E=function(t,e){return x.call(t,e)},O=u.document,S=m(O)&&m(O.createElement),j=function(t){return S?O.createElement(t):{}},P=!a&&!c((function(){return 7!=Object.defineProperty(j("div"),"a",{get:function(){return 7}}).a})),R=Object.getOwnPropertyDescriptor,T={f:a?R:function(t,e){if(t=b(t),e=w(e,!0),P)try{return R(t,e)}catch(t){}if(E(t,e))return p(!s.f.call(t,e),t[e])}},I=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,A={f:a?_:function(t,e,n){if(I(t),e=w(e,!0),I(n),P)try{return _(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},k=a?function(t,e,n){return A.f(t,e,p(1,n))}:function(t,e,n){return t[e]=n,t},C=function(t,e){try{k(u,t,e)}catch(n){u[t]=e}return e},M="__core-js_shared__",N=u[M]||C(M,{}),D=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return D.call(t)});var $,F,U,L=N.inspectSource,B=u.WeakMap,K="function"==typeof B&&/native code/.test(L(B)),q=o((function(t){(t.exports=function(t,e){return N[t]||(N[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),W=0,z=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+z).toString(36)},Y=q("keys"),X=function(t){return Y[t]||(Y[t]=G(t))},Q={},V=u.WeakMap;if(K){var H=N.state||(N.state=new V),J=H.get,Z=H.has,tt=H.set;$=function(t,e){return e.facade=t,tt.call(H,t,e),e},F=function(t){return J.call(H,t)||{}},U=function(t){return Z.call(H,t)}}else{var et=X("state");Q[et]=!0,$=function(t,e){return e.facade=t,k(t,et,e),e},F=function(t){return E(t,et)?t[et]:{}},U=function(t){return E(t,et)}}var nt,rt,ot={set:$,get:F,has:U,enforce:function(t){return U(t)?F(t):$(t,{})},getterFor:function(t){return function(e){var n;if(!m(e)||(n=F(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},it=o((function(t){var e=ot.get,n=ot.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var c,a=!!i&&!!i.unsafe,f=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||E(o,"name")||k(o,"name",e),(c=n(o)).source||(c.source=r.join("string"==typeof e?e:""))),t!==u?(a?!l&&t[e]&&(f=!0):delete t[e],f?t[e]=o:k(t,e,o)):f?t[e]=o:C(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),ut=u,ct=function(t){return"function"==typeof t?t:void 0},at=function(t,e){return arguments.length<2?ct(ut[t])||ct(u[t]):ut[t]&&ut[t][e]||u[t]&&u[t][e]},ft=Math.ceil,lt=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?lt:ft)(t)},pt=Math.min,yt=function(t){return t>0?pt(st(t),9007199254740991):0},dt=Math.max,vt=Math.min,ht=function(t){return function(e,n,r){var o,i=b(e),u=yt(i.length),c=function(t,e){var n=st(t);return n<0?dt(n+e,0):vt(n,e)}(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}},gt={includes:ht(!0),indexOf:ht(!1)}.indexOf,bt=function(t,e){var n,r=b(t),o=0,i=[];for(n in r)!E(Q,n)&&E(r,n)&&i.push(n);for(;e.length>o;)E(r,n=e[o++])&&(~gt(i,n)||i.push(n));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wt=mt.concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(t){return bt(t,wt)}},Et={f:Object.getOwnPropertySymbols},Ot=at("Reflect","ownKeys")||function(t){var e=xt.f(I(t)),n=Et.f;return n?e.concat(n(t)):e},St=function(t,e){for(var n=Ot(e),r=A.f,o=T.f,i=0;i<n.length;i++){var u=n[i];E(t,u)||r(t,u,o(e,u))}},jt=/#|\.prototype\./,Pt=function(t,e){var n=Tt[Rt(t)];return n==_t||n!=It&&("function"==typeof e?c(e):!!e)},Rt=Pt.normalize=function(t){return String(t).replace(jt,".").toLowerCase()},Tt=Pt.data={},It=Pt.NATIVE="N",_t=Pt.POLYFILL="P",At=Pt,kt=T.f,Ct=function(t,e){var n,r,o,i,c,a=t.target,f=t.global,l=t.stat;if(n=f?u:l?u[a]||C(a,{}):(u[a]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(c=kt(n,r))&&c.value:n[r],!At(f?r:a+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;St(i,o)}(t.sham||o&&o.sham)&&k(i,"sham",!0),it(n,r,i,t)}},Mt=Array.isArray||function(t){return"Array"==d(t)},Nt=function(t){return Object(g(t))},Dt=function(t,e,n){var r=w(e);r in t?A.f(t,r,p(0,n)):t[r]=n},$t=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),Ft=$t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ut=q("wks"),Lt=u.Symbol,Bt=Ft?Lt:Lt&&Lt.withoutSetter||G,Kt=function(t){return E(Ut,t)||($t&&E(Lt,t)?Ut[t]=Lt[t]:Ut[t]=Bt("Symbol."+t)),Ut[t]},qt=Kt("species"),Wt=function(t,e){var n;return Mt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Mt(n.prototype)?m(n)&&null===(n=n[qt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},zt=at("navigator","userAgent")||"",Gt=u.process,Yt=Gt&&Gt.versions,Xt=Yt&&Yt.v8;Xt?rt=(nt=Xt.split("."))[0]+nt[1]:zt&&(!(nt=zt.match(/Edge\/(\d+)/))||nt[1]>=74)&&(nt=zt.match(/Chrome\/(\d+)/))&&(rt=nt[1]);var Qt,Vt=rt&&+rt,Ht=Kt("species"),Jt=Kt("isConcatSpreadable"),Zt=9007199254740991,te="Maximum allowed index exceeded",ee=Vt>=51||!c((function(){var t=[];return t[Jt]=!1,t.concat()[0]!==t})),ne=(Qt="concat",Vt>=51||!c((function(){var t=[];return(t.constructor={})[Ht]=function(){return{foo:1}},1!==t[Qt](Boolean).foo}))),re=function(t){if(!m(t))return!1;var e=t[Jt];return void 0!==e?!!e:Mt(t)};Ct({target:"Array",proto:!0,forced:!ee||!ne},{concat:function(t){var e,n,r,o,i,u=Nt(this),c=Wt(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(re(i=-1===e?u:arguments[e])){if(a+(o=yt(i.length))>Zt)throw TypeError(te);for(n=0;n<o;n++,a++)n in i&&Dt(c,a,i[n])}else{if(a>=Zt)throw TypeError(te);Dt(c,a++,i)}return c.length=a,c}});var oe,ie=function(t,e,n){if(function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function")}(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},ue=[].push,ce=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,y,d=Nt(a),v=h(d),g=ie(f,l,3),b=yt(v.length),m=0,w=s||Wt,x=e?w(a,b):n||u?w(a,0):void 0;b>m;m++)if((c||m in v)&&(y=g(p=v[m],m,d),t))if(e)x[m]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:ue.call(x,p)}else switch(t){case 4:return!1;case 7:ue.call(x,p)}return i?-1:r||o?o:x}},ae={forEach:ce(0),map:ce(1),filter:ce(2),some:ce(3),every:ce(4),find:ce(5),findIndex:ce(6),filterOut:ce(7)},fe=Object.keys||function(t){return bt(t,mt)},le=a?Object.defineProperties:function(t,e){I(t);for(var n,r=fe(e),o=r.length,i=0;o>i;)A.f(t,n=r[i++],e[n]);return t},se=at("document","documentElement"),pe=X("IE_PROTO"),ye=function(){},de=function(t){return"<script>"+t+"</"+"script>"},ve=function(){try{oe=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;ve=oe?function(t){t.write(de("")),t.close();var e=t.parentWindow.Object;return t=null,e}(oe):((e=j("iframe")).style.display="none",se.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(de("document.F=Object")),t.close(),t.F);for(var n=mt.length;n--;)delete ve.prototype[mt[n]];return ve()};Q[pe]=!0;var he=Object.create||function(t,e){var n;return null!==t?(ye.prototype=I(t),n=new ye,ye.prototype=null,n[pe]=t):n=ve(),void 0===e?n:le(n,e)},ge=Kt("unscopables"),be=Array.prototype;null==be[ge]&&A.f(be,ge,{configurable:!0,value:he(null)});var me,we=Object.defineProperty,xe={},Ee=function(t){throw t},Oe=ae.find,Se="find",je=!0,Pe=function(t,e){if(E(xe,t))return xe[t];e||(e={});var n=[][t],r=!!E(e,"ACCESSORS")&&e.ACCESSORS,o=E(e,0)?e[0]:Ee,i=E(e,1)?e[1]:void 0;return xe[t]=!!n&&!c((function(){if(r&&!a)return!0;var t={length:-1};r?we(t,1,{enumerable:!0,get:Ee}):t[1]=1,n.call(t,o,i)}))}(Se);Se in[]&&Array(1).find((function(){je=!1})),Ct({target:"Array",proto:!0,forced:je||!Pe},{find:function(t){return Oe(this,t,arguments.length>1?arguments[1]:void 0)}}),me=Se,be[ge][me]=!0;var Re=function(){var t=I(this),e="";return 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};function Te(t,e){return RegExp(t,e)}var Ie,_e,Ae={UNSUPPORTED_Y:c((function(){var t=Te("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:c((function(){var t=Te("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},ke=RegExp.prototype.exec,Ce=String.prototype.replace,Me=ke,Ne=(Ie=/a/,_e=/b*/g,ke.call(Ie,"a"),ke.call(_e,"a"),0!==Ie.lastIndex||0!==_e.lastIndex),De=Ae.UNSUPPORTED_Y||Ae.BROKEN_CARET,$e=void 0!==/()??/.exec("")[1];(Ne||$e||De)&&(Me=function(t){var e,n,r,o,i=this,u=De&&i.sticky,c=Re.call(i),a=i.source,f=0,l=t;return u&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(a="(?: "+a+")",l=" "+l,f++),n=new RegExp("^(?:"+a+")",c)),$e&&(n=new RegExp("^"+a+"$(?!\\s)",c)),Ne&&(e=i.lastIndex),r=ke.call(u?n:i,l),u?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ne&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),$e&&r&&r.length>1&&Ce.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Fe=Me;Ct({target:"RegExp",proto:!0,forced:/./.exec!==Fe},{exec:Fe});var Ue=Kt("species"),Le=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Be="$0"==="a".replace(/./,"$0"),Ke=Kt("replace"),qe=!!/./[Ke]&&""===/./[Ke]("a","$0"),We=!c((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),ze=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};function Ge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(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 Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qe(t,e){return(Qe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ve(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function He(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ve(this,n)}}function Je(t,e,n){return(Je="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xe(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}!function(t,e,n,r){var o=Kt(t),i=!c((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),u=i&&!c((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Ue]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!u||"replace"===t&&(!Le||!Be||qe)||"split"===t&&!We){var a=/./[o],f=n(o,""[t],(function(t,e,n,r,o){return e.exec===Fe?i&&!o?{done:!0,value:a.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Be,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:qe}),l=f[0],s=f[1];it(String.prototype,t,l),it(RegExp.prototype,o,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&k(RegExp.prototype[o],"sham",!0)}("search",1,(function(t,e,n){return[function(e){var n=g(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=I(t),i=String(this),u=o.lastIndex;ze(u,0)||(o.lastIndex=0);var c=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==d(t))throw TypeError("RegExp#exec called on incompatible receiver");return Fe.call(t,e)}(o,i);return ze(o.lastIndex,u)||(o.lastIndex=u),null===c?-1:c.index}]}));var Ze=n.default.fn.bootstrapTable.utils;n.default.extend(n.default.fn.bootstrapTable.defaults,{keyEvents:!1}),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}}),e&&Qe(t,e)}(u,t);var e,r,o,i=He(u);function u(){return Ge(this,u),i.apply(this,arguments)}return e=u,(r=[{key:"init",value:function(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=Je(Xe(u.prototype),"init",this)).call.apply(t,[this].concat(n)),this.options.keyEvents&&this.initKeyEvents()}},{key:"initKeyEvents",value:function(){var t=this;n.default(document).off("keydown").on("keydown",(function(e){var r=Ze.getSearchInput(t),o=t.$toolbar.find('button[name="refresh"]'),i=t.$toolbar.find('button[name="toggle"]'),u=t.$toolbar.find('button[name="paginationSwitch"]');if(document.activeElement===r.get(0)||!n.default.contains(document.activeElement,t.$toolbar.get(0)))return!0;switch(e.keyCode){case 83:if(!t.options.search)return;return r.focus(),!1;case 82:if(!t.options.showRefresh)return;return o.click(),!1;case 84:if(!t.options.showToggle)return;return i.click(),!1;case 80:if(!t.options.showPaginationSwitch)return;return u.click(),!1;case 37:if(!t.options.pagination)return;return t.prevPage(),!1;case 39:if(!t.options.pagination)return;return void t.nextPage()}}))}}])&&Ye(e.prototype,r),o&&Ye(e,o),u}(n.default.BootstrapTable)}));
|