bootstrap-table-defer-url.min.js 8.5 KB

12345678910
  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.15.0
  5. * @homepage https://bootstrap-table.com
  6. * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
  7. * @license MIT
  8. */
  9. (function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],b):(a=a||self,b(a.jQuery))})(this,function(a){'use strict';var n=Math.min;function b(a,b){return b={exports:{}},a(b,b.exports),b.exports}function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}function e(a,b,c){return b&&d(a.prototype,b),c&&d(a,c),a}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),b&&i(a,b)}function h(a){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},h(a)}function i(a,b){return i=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a},i(a,b)}function j(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function k(a,b){return b&&("object"==typeof b||"function"==typeof b)?b:j(a)}function l(a,b){for(;!Object.prototype.hasOwnProperty.call(a,b)&&(a=h(a),null!==a););return a}function m(a,b,c){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(a,b,c){var d=l(a,b);if(d){var e=Object.getOwnPropertyDescriptor(d,b);return e.get?e.get.call(c):e.value}},m(a,b,c||a)}a=a&&a.hasOwnProperty("default")?a["default"]:a;var o,p,q,r={}.toString,s=function(a){return r.call(a).slice(8,-1)},t=Array.isArray||function(a){return"Array"==s(a)},u=function(a){return"object"==typeof a?null!==a:"function"==typeof a},v=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a},w=function(a){return Object(v(a))},x=Math.ceil,y=Math.floor,z=function(a){return isNaN(a=+a)?0:(0<a?y:x)(a)},B=function(a){return 0<a?n(z(a),9007199254740991):0},C=function(a,b){if(!u(a))return a;var c,d;if(b&&"function"==typeof(c=a.toString)&&!u(d=c.call(a)))return d;if("function"==typeof(c=a.valueOf)&&!u(d=c.call(a)))return d;if(!b&&"function"==typeof(c=a.toString)&&!u(d=c.call(a)))return d;throw TypeError("Can't convert object to primitive value")},D=function(a){try{return!!a()}catch(a){return!0}},E=!D(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),F="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")(),G=F.document,H=u(G)&&u(G.createElement),I=function(a){return H?G.createElement(a):{}},J=!E&&!D(function(){return 7!=Object.defineProperty(I("div"),"a",{get:function(){return 7}}).a}),K=function(a){if(!u(a))throw TypeError(a+" is not an object");return a},L=Object.defineProperty,M=E?L:function(a,b,c){if(K(a),b=C(b,!0),K(c),J)try{return L(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported");return"value"in c&&(a[b]=c.value),a},f={f:M},A=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}},N=function(a,b,c){var d=C(b);d in a?f.f(a,d,A(0,c)):a[d]=c},P=E?function(a,b,c){return f.f(a,b,A(1,c))}:function(a,b,c){return a[b]=c,a},Q=function(a,b){try{P(F,a,b)}catch(c){F[a]=b}return b},R=b(function(a){var b=F["__core-js_shared__"]||Q("__core-js_shared__",{});(a.exports=function(a,c){return b[a]||(b[a]=c===void 0?{}:c)})("versions",[]).push({version:"3.0.0",mode:"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),S=0,O=Math.random(),T=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++S+O).toString(36))},U=!D(function(){}),V=R("wks"),W=F.Symbol,X=function(a){return V[a]||(V[a]=U&&W[a]||(U?W:T)("Symbol."+a))},Y=X("species"),Z=function(a,b){var c;return t(a)&&(c=a.constructor,"function"==typeof c&&(c===Array||t(c.prototype))?c=void 0:u(c)&&(c=c[Y],null===c&&(c=void 0))),new(void 0===c?Array:c)(0===b?0:b)},_=X("species"),aa={}.propertyIsEnumerable,ba=Object.getOwnPropertyDescriptor,ca=ba&&!aa.call({1:2},1),da=ca?function(a){var b=ba(this,a);return!!b&&b.enumerable}:aa,ea={f:da},fa="".split,ga=D(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return"String"==s(a)?fa.call(a,""):Object(a)}:Object,ha=function(a){return ga(v(a))},ia={}.hasOwnProperty,ja=function(a,b){return ia.call(a,b)},ka=Object.getOwnPropertyDescriptor,la=E?ka:function(a,b){if(a=ha(a),b=C(b,!0),J)try{return ka(a,b)}catch(a){}return ja(a,b)?A(!ea.f.call(a,b),a[b]):void 0},ma={f:la},na=R("native-function-to-string",Function.toString),oa=F.WeakMap,pa="function"==typeof oa&&/native code/.test(na.call(oa)),qa=R("keys"),ra=function(a){return qa[a]||(qa[a]=T(a))},sa={},ta=F.WeakMap,ua=function(a){return q(a)?p(a):o(a,{})};if(pa){var va=new ta,wa=va.get,xa=va.has,ya=va.set;o=function(a,b){return ya.call(va,a,b),b},p=function(a){return wa.call(va,a)||{}},q=function(a){return xa.call(va,a)}}else{var za=ra("state");sa[za]=!0,o=function(a,b){return P(a,za,b),b},p=function(a){return ja(a,za)?a[za]:{}},q=function(a){return ja(a,za)}}var Aa={set:o,get:p,has:q,enforce:ua,getterFor:function(a){return function(b){var c;if(!u(b)||(c=p(b)).type!==a)throw TypeError("Incompatible receiver, "+a+" required");return c}}},Ba=b(function(a){var b=Aa.get,c=Aa.enforce,d=(na+"").split("toString");R("inspectSource",function(a){return na.call(a)}),(a.exports=function(a,b,e,f){var g=!!f&&!!f.unsafe,h=!!f&&!!f.enumerable,i=!!f&&!!f.noTargetGet;return("function"==typeof e&&("string"==typeof b&&!ja(e,"name")&&P(e,"name",b),c(e).source=d.join("string"==typeof b?b:"")),a===F)?void(h?a[b]=e:Q(b,e)):void(g?!i&&a[b]&&(h=!0):delete a[b],h?a[b]=e:P(a,b,e))})(Function.prototype,"toString",function(){return"function"==typeof this&&b(this).source||na.call(this)})}),Ca=Math.max,Da=function(a,b){var c=z(a);return 0>c?Ca(c+b,0):n(c,b)},Ea=function(a){return function(b,c,d){var e,f=ha(b),g=B(f.length),h=Da(d,g);if(a&&c!=c){for(;g>h;)if(e=f[h++],e!=e)return!0;}else for(;g>h;h++)if((a||h in f)&&f[h]===c)return a||h||0;return!a&&-1}}(!1),Fa=function(a,b){var c,d=ha(a),e=0,f=[];for(c in d)!ja(sa,c)&&ja(d,c)&&f.push(c);for(;b.length>e;)ja(d,c=b[e++])&&(~Ea(f,c)||f.push(c));return f},Ga=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),Ha=Object.getOwnPropertyNames||function(a){return Fa(a,Ga)},Ia={f:Ha},Ja=Object.getOwnPropertySymbols,Ka={f:Ja},La=F.Reflect,Ma=La&&La.ownKeys||function(a){var b=Ia.f(K(a)),c=Ka.f;return c?b.concat(c(a)):b},Na=function(a,b){for(var c,d=Ma(b),e=f.f,g=ma.f,h=0;h<d.length;h++)c=d[h],ja(a,c)||e(a,c,g(b,c))},Oa=/#|\.prototype\./,Pa=function(a,b){var c=Ra[Qa(a)];return!(c!=Ta)||c!=Sa&&("function"==typeof b?D(b):!!b)},Qa=Pa.normalize=function(a){return(a+"").replace(Oa,".").toLowerCase()},Ra=Pa.data={},Sa=Pa.NATIVE="N",Ta=Pa.POLYFILL="P",Ua=ma.f,Va=X("isConcatSpreadable"),Wa=9007199254740991,Xa="Maximum allowed index exceeded",Ya=!D(function(){var a=[];return a[Va]=!1,a.concat()[0]!==a}),Za=function(a){return!D(function(){var b=[],c=b.constructor={};return c[_]=function(){return{foo:1}},1!==b[a](Boolean).foo})}("concat"),$a=function(a){if(!u(a))return!1;var b=a[Va];return b===void 0?t(a):!!b};(function(a,b){var c,d,e,f,g,h,i=a.target,j=a.global,k=a.stat;if(d=j?F:k?F[i]||Q(i,{}):(F[i]||{}).prototype,d)for(e in b){if(g=b[e],a.noTargetGet?(h=Ua(d,e),f=h&&h.value):f=d[e],c=Pa(j?e:i+(k?".":"#")+e,a.forced),!c&&void 0!==f){if(typeof g==typeof f)continue;Na(g,f)}(a.sham||f&&f.sham)&&P(g,"sham",!0),Ba(d,e,g,a)}})({target:"Array",proto:!0,forced:!Ya||!Za},{concat:function(){var a,b,c,d,e,f=w(this),g=Z(f,0),h=0;for(a=-1,c=arguments.length;a<c;a++)if(e=-1===a?f:arguments[a],$a(e)){if(d=B(e.length),h+d>Wa)throw TypeError(Xa);for(b=0;b<d;b++,h++)b in e&&N(g,h,e[b])}else{if(h>=Wa)throw TypeError(Xa);N(g,h++,e)}return g.length=h,g}}),a.extend(a.fn.bootstrapTable.defaults,{deferUrl:void 0}),a.BootstrapTable=function(a){function b(){return c(this,b),k(this,h(b).apply(this,arguments))}return g(b,a),e(b,[{key:"init",value:function(){for(var a,c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];(a=m(h(b.prototype),"init",this)).call.apply(a,[this].concat(d)),this.options.deferUrl&&(this.options.url=this.options.deferUrl)}}]),b}(a.BootstrapTable)});