bootstrap-table-addrbar.min.js 18 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.18.0
  5. * @homepage https://bootstrap-table.com
  6. * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
  7. * @license MIT
  8. */
  9. !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t=t||self).jQuery)}(this,(function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},a=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,f={f:u&&!c.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:c},l=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?h.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return g(d(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,e){if(!y(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!y(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!y(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!y(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},x={}.hasOwnProperty,m=function(t,e){return x.call(t,e)},O=o.document,S=y(O)&&y(O.createElement),w=!a&&!i((function(){return 7!=Object.defineProperty((t="div",S?O.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),E=Object.getOwnPropertyDescriptor,j={f:a?E:function(t,e){if(t=v(t),e=b(e,!0),w)try{return E(t,e)}catch(t){}if(m(t,e))return l(!f.f.call(t,e),t[e])}},P=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},R=Object.defineProperty,T={f:a?R:function(t,e,n){if(P(t),e=b(e,!0),P(n),w)try{return R(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}},_=a?function(t,e,n){return T.f(t,e,l(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{_(o,t,e)}catch(n){o[t]=e}return e},A="__core-js_shared__",C=o[A]||I(A,{}),k=Function.toString;"function"!=typeof C.inspectSource&&(C.inspectSource=function(t){return k.call(t)});var D,N,M,$,L=C.inspectSource,U=o.WeakMap,z="function"==typeof U&&/native code/.test(L(U)),B=n((function(t){(t.exports=function(t,e){return C[t]||(C[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),F=0,V=Math.random(),K=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++F+V).toString(36)},q=B("keys"),Y={},G=o.WeakMap;if(z){var W=new G,Q=W.get,H=W.has,J=W.set;D=function(t,e){return J.call(W,t,e),e},N=function(t){return Q.call(W,t)||{}},M=function(t){return H.call(W,t)}}else{var X=q[$="state"]||(q[$]=K($));Y[X]=!0,D=function(t,e){return _(t,X,e),e},N=function(t){return m(t,X)?t[X]:{}},M=function(t){return m(t,X)}}var Z,tt,et={set:D,get:N,has:M,enforce:function(t){return M(t)?N(t):D(t,{})},getterFor:function(t){return function(e){var n;if(!y(e)||(n=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},nt=n((function(t){var e=et.get,n=et.enforce,r=String(String).split("String");(t.exports=function(t,e,i,a){var c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||m(i,"name")||_(i,"name",e),n(i).source=r.join("string"==typeof e?e:"")),t!==o?(c?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=i:_(t,e,i)):u?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),rt=o,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(rt[t])||ot(o[t]):rt[t]&&rt[t][e]||o[t]&&o[t][e]},at=Math.ceil,ct=Math.floor,ut=function(t){return isNaN(t=+t)?0:(t>0?ct:at)(t)},ft=Math.min,lt=function(t){return t>0?ft(ut(t),9007199254740991):0},st=Math.max,pt=Math.min,ht=function(t){return function(e,n,r){var o,i=v(e),a=lt(i.length),c=function(t,e){var n=ut(t);return n<0?st(n+e,0):pt(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>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,dt=function(t,e){var n,r=v(t),o=0,i=[];for(n in r)!m(Y,n)&&m(r,n)&&i.push(n);for(;e.length>o;)m(r,n=e[o++])&&(~gt(i,n)||i.push(n));return i},vt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yt=vt.concat("length","prototype"),bt={f:Object.getOwnPropertyNames||function(t){return dt(t,yt)}},xt={f:Object.getOwnPropertySymbols},mt=it("Reflect","ownKeys")||function(t){var e=bt.f(P(t)),n=xt.f;return n?e.concat(n(t)):e},Ot=function(t,e){for(var n=mt(e),r=T.f,o=j.f,i=0;i<n.length;i++){var a=n[i];m(t,a)||r(t,a,o(e,a))}},St=/#|\.prototype\./,wt=function(t,e){var n=jt[Et(t)];return n==Rt||n!=Pt&&("function"==typeof e?i(e):!!e)},Et=wt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},jt=wt.data={},Pt=wt.NATIVE="N",Rt=wt.POLYFILL="P",Tt=wt,_t=j.f,It=function(t,e){var n,r,i,a,c,u=t.target,f=t.global,l=t.stat;if(n=f?o:l?o[u]||I(u,{}):(o[u]||{}).prototype)for(r in e){if(a=e[r],i=t.noTargetGet?(c=_t(n,r))&&c.value:n[r],!Tt(f?r:u+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;Ot(a,i)}(t.sham||i&&i.sham)&&_(a,"sham",!0),nt(n,r,a,t)}},At=Array.isArray||function(t){return"Array"==p(t)},Ct=function(t){return Object(d(t))},kt=function(t,e,n){var r=b(e);r in t?T.f(t,r,l(0,n)):t[r]=n},Dt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Nt=Dt&&!Symbol.sham&&"symbol"==typeof Symbol(),Mt=B("wks"),$t=o.Symbol,Lt=Nt?$t:K,Ut=function(t){return m(Mt,t)||(Dt&&m($t,t)?Mt[t]=$t[t]:Mt[t]=Lt("Symbol."+t)),Mt[t]},zt=Ut("species"),Bt=function(t,e){var n;return At(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!At(n.prototype)?y(n)&&null===(n=n[zt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Ft=it("navigator","userAgent")||"",Vt=o.process,Kt=Vt&&Vt.versions,qt=Kt&&Kt.v8;qt?tt=(Z=qt.split("."))[0]+Z[1]:Ft&&(!(Z=Ft.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Ft.match(/Chrome\/(\d+)/))&&(tt=Z[1]);var Yt,Gt=tt&&+tt,Wt=Ut("species"),Qt=Ut("isConcatSpreadable"),Ht=9007199254740991,Jt="Maximum allowed index exceeded",Xt=Gt>=51||!i((function(){var t=[];return t[Qt]=!1,t.concat()[0]!==t})),Zt=(Yt="concat",Gt>=51||!i((function(){var t=[];return(t.constructor={})[Wt]=function(){return{foo:1}},1!==t[Yt](Boolean).foo}))),te=function(t){if(!y(t))return!1;var e=t[Qt];return void 0!==e?!!e:At(t)};It({target:"Array",proto:!0,forced:!Xt||!Zt},{concat:function(t){var e,n,r,o,i,a=Ct(this),c=Bt(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(te(i=-1===e?a:arguments[e])){if(u+(o=lt(i.length))>Ht)throw TypeError(Jt);for(n=0;n<o;n++,u++)n in i&&kt(c,u,i[n])}else{if(u>=Ht)throw TypeError(Jt);kt(c,u++,i)}return c.length=u,c}});var ee=Object.keys||function(t){return dt(t,vt)},ne=f.f,re=function(t){return function(e){for(var n,r=v(e),o=ee(r),i=o.length,c=0,u=[];i>c;)n=o[c++],a&&!ne.call(r,n)||u.push(t?[n,r[n]]:r[n]);return u}},oe={entries:re(!0),values:re(!1)}.entries;It({target:"Object",stat:!0},{entries:function(t){return oe(t)}});var ie=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return P(n),function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),ae=Ut("match"),ce=function(){var t=P(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 ue(t,e){return RegExp(t,e)}var fe={UNSUPPORTED_Y:i((function(){var t=ue("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:i((function(){var t=ue("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},le=Ut("species"),se=T.f,pe=bt.f,he=et.set,ge=Ut("match"),de=o.RegExp,ve=de.prototype,ye=/a/g,be=/a/g,xe=new de(ye)!==ye,me=fe.UNSUPPORTED_Y;if(a&&Tt("RegExp",!xe||me||i((function(){return be[ge]=!1,de(ye)!=ye||de(be)==be||"/a/i"!=de(ye,"i")})))){for(var Oe=function(t,e){var n,r,o,i=this instanceof Oe,a=y(n=t)&&(void 0!==(r=n[ae])?!!r:"RegExp"==p(n)),c=void 0===e;if(!i&&a&&t.constructor===Oe&&c)return t;xe?a&&!c&&(t=t.source):t instanceof Oe&&(c&&(e=ce.call(t)),t=t.source),me&&(o=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var u,f,l,s,h,g=(u=xe?new de(t,e):de(t,e),f=i?this:ve,l=Oe,ie&&"function"==typeof(s=f.constructor)&&s!==l&&y(h=s.prototype)&&h!==l.prototype&&ie(u,h),u);return me&&o&&he(g,{sticky:o}),g},Se=function(t){t in Oe||se(Oe,t,{configurable:!0,get:function(){return de[t]},set:function(e){de[t]=e}})},we=pe(de),Ee=0;we.length>Ee;)Se(we[Ee++]);ve.constructor=Oe,Oe.prototype=ve,nt(o,"RegExp",Oe)}!function(t){var e=it(t),n=T.f;a&&e&&!e[le]&&n(e,le,{configurable:!0,get:function(){return this}})}("RegExp");var je=RegExp.prototype.exec,Pe=String.prototype.replace,Re=je,Te=function(){var t=/a/,e=/b*/g;return je.call(t,"a"),je.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),_e=fe.UNSUPPORTED_Y||fe.BROKEN_CARET,Ie=void 0!==/()??/.exec("")[1];(Te||Ie||_e)&&(Re=function(t){var e,n,r,o,i=this,a=_e&&i.sticky,c=ce.call(i),u=i.source,f=0,l=t;return a&&(-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])&&(u="(?: "+u+")",l=" "+l,f++),n=new RegExp("^(?:"+u+")",c)),Ie&&(n=new RegExp("^"+u+"$(?!\\s)",c)),Te&&(e=i.lastIndex),r=je.call(a?n:i,l),a?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:Te&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),Ie&&r&&r.length>1&&Pe.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Ae=Re;It({target:"RegExp",proto:!0,forced:/./.exec!==Ae},{exec:Ae});var Ce="toString",ke=RegExp.prototype,De=ke.toString,Ne=i((function(){return"/a/b"!=De.call({source:"a",flags:"b"})})),Me=De.name!=Ce;(Ne||Me)&&nt(RegExp.prototype,Ce,(function(){var t=P(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in ke)?ce.call(t):n)}),{unsafe:!0});var $e=Ut("species"),Le=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Ue="$0"==="a".replace(/./,"$0"),ze=!i((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]})),Be=function(t,e,n,r){var o=Ut(t),a=!i((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),c=a&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[$e]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!a||!c||"replace"===t&&(!Le||!Ue)||"split"===t&&!ze){var u=/./[o],f=n(o,""[t],(function(t,e,n,r,o){return e.exec===Ae?a&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Ue}),l=f[0],s=f[1];nt(String.prototype,t,l),nt(RegExp.prototype,o,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&_(RegExp.prototype[o],"sham",!0)},Fe=function(t){return function(e,n){var r,o,i=String(d(e)),a=ut(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Ve={codeAt:Fe(!1),charAt:Fe(!0)}.charAt,Ke=function(t,e,n){return e+(n?Ve(t,e).length:1)},qe=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"!==p(t))throw TypeError("RegExp#exec called on incompatible receiver");return Ae.call(t,e)};Be("match",1,(function(t,e,n){return[function(e){var n=d(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=P(t),i=String(this);if(!o.global)return qe(o,i);var a=o.unicode;o.lastIndex=0;for(var c,u=[],f=0;null!==(c=qe(o,i));){var l=String(c[0]);u[f]=l,""===l&&(o.lastIndex=Ke(i,lt(o.lastIndex),a)),f++}return 0===f?null:u}]}));var Ye=Math.max,Ge=Math.min,We=Math.floor,Qe=/\$([$&'`]|\d\d?|<[^>]*>)/g,He=/\$([$&'`]|\d\d?)/g;Be("replace",2,(function(t,e,n,r){return[function(n,r){var o=d(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){if(r.REPLACE_KEEPS_$0||"string"==typeof i&&-1===i.indexOf("$0")){var a=n(e,t,this,i);if(a.done)return a.value}var c=P(t),u=String(this),f="function"==typeof i;f||(i=String(i));var l=c.global;if(l){var s=c.unicode;c.lastIndex=0}for(var p=[];;){var h=qe(c,u);if(null===h)break;if(p.push(h),!l)break;""===String(h[0])&&(c.lastIndex=Ke(u,lt(c.lastIndex),s))}for(var g,d="",v=0,y=0;y<p.length;y++){h=p[y];for(var b=String(h[0]),x=Ye(Ge(ut(h.index),u.length),0),m=[],O=1;O<h.length;O++)m.push(void 0===(g=h[O])?g:String(g));var S=h.groups;if(f){var w=[b].concat(m,x,u);void 0!==S&&w.push(S);var E=String(i.apply(void 0,w))}else E=o(b,u,x,m,S,i);x>=v&&(d+=u.slice(v,x)+E,v=x+b.length)}return d+u.slice(v)}];function o(t,n,r,o,i,a){var c=r+t.length,u=o.length,f=He;return void 0!==i&&(i=Ct(i),f=Qe),e.call(a,f,(function(e,a){var f;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":f=i[a.slice(1,-1)];break;default:var l=+a;if(0===l)return e;if(l>u){var s=We(l/10);return 0===s?e:s<=u?void 0===o[s-1]?a.charAt(1):o[s-1]+a.charAt(1):e}f=o[l-1]}return void 0===f?"":f}))}}));var Je=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};function Xe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ze(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 tn(t){return(tn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function en(t,e){return(en=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nn(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 rn(t,e,n){return(rn="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=tn(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 on(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function an(t,e){var n={};n["".concat(e,"page")]=t.options.pageNumber,n["".concat(e,"size")]=t.options.pageSize,n["".concat(e,"order")]=t.options.sortOrder,n["".concat(e,"sort")]=t.options.sortName,n["".concat(e,"search")]=t.options.searchText,window.history.pushState({},"",function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.search,n=0,r=Object.entries(t);n<r.length;n++){var o=on(r[n],2),i=o[0],a=o[1],c="".concat(i,"=([^&]*)"),u="".concat(i,"=").concat(a);if(void 0!==a)if(e.match(c)){var f=new RegExp("(".concat(i,"=)([^&]*)"),"gi");e=e.replace(f,u)}else{var l=e.match("[?]")?"&":"?";e=e+l+u}}return location.hash&&(e+=location.hash),e}(n))}Be("search",1,(function(t,e,n){return[function(e){var n=d(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=P(t),i=String(this),a=o.lastIndex;Je(a,0)||(o.lastIndex=0);var c=qe(o,i);return Je(o.lastIndex,a)||(o.lastIndex=a),null===c?-1:c.index}]})),t.extend(t.fn.bootstrapTable.defaults,{addrbar:!1,addrPrefix:""}),t.BootstrapTable=function(e){function n(){return Xe(this,n),nn(this,tn(n).apply(this,arguments))}var r,o,i;return 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&&en(t,e)}(n,e),r=n,(o=[{key:"init",value:function(){var t,e=this;if(this.options.pagination&&this.options.addrbar){this.addrbarInit=!0,this.options.pageNumber=+this.getDefaultOptionValue("pageNumber","page"),this.options.pageSize=+this.getDefaultOptionValue("pageSize","size"),this.options.sortOrder=this.getDefaultOptionValue("sortOrder","order"),this.options.sortName=this.getDefaultOptionValue("sortName","sort"),this.options.searchText=this.getDefaultOptionValue("searchText","search");var r=this.options.addrPrefix||"",o=this.options.onLoadSuccess,i=this.options.onPageChange;this.options.onLoadSuccess=function(t){e.addrbarInit?e.addrbarInit=!1:an(e,r),o&&o.call(e,t)},this.options.onPageChange=function(t,n){an(e,r),i&&i.call(e,t,n)}}for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];(t=rn(tn(n.prototype),"init",this)).call.apply(t,[this].concat(c))}},{key:"getDefaultOptionValue",value:function(e,n){return this.options[e]!==t.BootstrapTable.DEFAULTS[e]?this.options[e]:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.search,n=new RegExp("(^|&)".concat(t,"=([^&]*)(&|$)")),r=e.substr(1).match(n);return r?decodeURIComponent(r[2]):null}("".concat(this.options.addrPrefix||"").concat(n))||t.BootstrapTable.DEFAULTS[e]}}])&&Ze(r.prototype,o),i&&Ze(r,i),n}(t.BootstrapTable)}));