calibre-web/cps/static/js/libs/bootstrap-table/bootstrap-table.min.js

11 lines
118 KiB
JavaScript
Raw Normal View History

2020-06-06 19:21:10 +00:00
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
2021-02-20 19:03:39 +00:00
* @version v1.18.2
2020-06-06 19:21:10 +00:00
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
*/
2021-02-20 19:03:39 +00:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(t.jQuery)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=e(t),n="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 a=function(t){return t&&t.Math==Math&&t},s=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof n&&n)||function(){return this}()||Function("return this")(),r=function(t){try{return!!t()}catch(t){return!0}},l=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,u={f:h&&!c.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:c},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f={}.toString,p=function(t){return f.call(t).slice(8,-1)},g="".split,v=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,b=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return v(b(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,e){if(!y(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!y(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!y(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!y(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},S={}.hasOwnProperty,x=function(t,e){return S.call(t,e)},k=s.document,O=y(k)&&y(k.createElement),C=function(t){return O?k.createElement(t):{}},T=!l&&!r((function(){return 7!=Object.defineProperty(C("div"),"a",{get:function(){return 7}}).a})),P=Object.getOwnPropertyDescriptor,A={f:l?P:function(t,e){if(t=m(t),e=w(e,!0),T)try{return P(t,e)}catch(t){}if(x(t,e))return d(!u.f.call(t,e),t[e])}},I=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},$=Object.defineProperty,E={f:l?$:function(t,e,i){if(I(t),e=w(e,!0),I(i),T)try{return $(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},R=l?function(t,e,i){return E.f(t,e,d(1,i))}:function(t,e,i){return t[e]=i,t},j=function(t,e){try{R(s,t,e)}catch(i){s[t]=e}return e},_="__core-js_shared__",N=s[_]||j(_,{}),F=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return F.call(t)});var D,V,B,L=N.inspectSource,H=s.WeakMap,M="function"==typeof H&&/native code/.test(L(H)),U=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)"})})),z=0,q=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+q).toString(36)},G=U("keys"),K=function(t){return G[t]||(G[t]=W(t))},Y={},X=s.WeakMap;if(M){var J=N.state||(N.state=new X),Q=J.get,Z=J.has,tt=J.set;D=function(t,e){return e.facade=t,tt.call(J,t,e),e},V=function(t){return Q.call(J,t)||{}},B=function(t){return Z.call(J,t)}}else{var et=K("state");Y[et]=!0,D=function(t,e){return e.facade=t,R(t,et,e),e},V=function(t){return x(t,et)?t[et]:{}},B=function(t){return x(t,et)}}var it,nt,ot={set:D,get:V,has:B,enforce:function(t){return B(t)?V(t):D(t,{})},getterFor:function(t){return function(e){var i;if(!y(e)||(i=V(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},at=o((function(t){var e=ot.get,i=ot.enforce,n=String(String).split("String");(t.exports=function(t,e,o,a){var r,l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof e||x(o,"name")||R(o,"name",e),(r=i(o)).source||(r.source=n.join("string"==typeof e?e:""))