UNPKG

13.5 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
10!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=n(t),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,n){return t(n={exports:{}},n.exports),n.exports}var i,u,c=function(t){return t&&t.Math==Math&&t},a=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof r&&r)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},l=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=Function.prototype.call,g=s?p.bind(p):function(){return p.apply(p,arguments)},m={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,y={f:h&&!m.call({1:2},1)?function(t){var n=h(this,t);return!!n&&n.enumerable}:m},b=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},d=Function.prototype,v=d.bind,S=d.call,w=s&&v.bind(S,S),O=s?function(t){return t&&w(t)}:function(t){return t&&function(){return S.apply(t,arguments)}},j=O({}.toString),P=O("".slice),T=function(t){return P(j(t),8,-1)},A=a.Object,E=O("".split),x=f((function(){return!A("z").propertyIsEnumerable(0)}))?function(t){return"String"==T(t)?E(t,""):A(t)}:A,C=a.TypeError,F=function(t){if(null==t)throw C("Can't call method on "+t);return t},R=function(t){return x(F(t))},M=function(t){return"function"==typeof t},k=function(t){return"object"==typeof t?null!==t:M(t)},I=function(t){return M(t)?t:void 0},L=function(t,n){return arguments.length<2?I(a[t]):a[t]&&a[t][n]},D=O({}.isPrototypeOf),N=L("navigator","userAgent")||"",Z=a.process,z=a.Deno,G=Z&&Z.versions||z&&z.version,U=G&&G.v8;U&&(u=(i=U.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!u&&N&&(!(i=N.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=N.match(/Chrome\/(\d+)/))&&(u=+i[1]);var _=u,K=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&_&&_<41})),W=K&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,q=a.Object,B=W?function(t){return"symbol"==typeof t}:function(t){var n=L("Symbol");return M(n)&&D(n.prototype,q(t))},V=a.String,H=a.TypeError,J=function(t){if(M(t))return t;throw H(function(t){try{return V(t)}catch(t){return"Object"}}(t)+" is not a function")},Q=a.TypeError,X=Object.defineProperty,Y=function(t,n){try{X(a,t,{value:n,configurable:!0,writable:!0})}catch(e){a[t]=n}return n},$="__core-js_shared__",tt=a[$]||Y($,{}),nt=o((function(t){(t.exports=function(t,n){return tt[t]||(tt[t]=void 0!==n?n:{})})("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"})})),et=a.Object,rt=function(t){return et(F(t))},ot=O({}.hasOwnProperty),it=Object.hasOwn||function(t,n){return ot(rt(t),n)},ut=0,ct=Math.random(),at=O(1..toString),ft=function(t){return"Symbol("+(void 0===t?"":t)+")_"+at(++ut+ct,36)},lt=nt("wks"),st=a.Symbol,pt=st&&st.for,gt=W?st:st&&st.withoutSetter||ft,mt=function(t){if(!it(lt,t)||!K&&"string"!=typeof lt[t]){var n="Symbol."+t;K&&it(st,t)?lt[t]=st[t]:lt[t]=W&&pt?pt(n):gt(n)}return lt[t]},ht=a.TypeError,yt=mt("toPrimitive"),bt=function(t,n){if(!k(t)||B(t))return t;var e,r,o=null==(e=t[yt])?void 0:J(e);if(o){if(void 0===n&&(n="default"),r=g(o,t,n),!k(r)||B(r))return r;throw ht("Can't convert object to primitive value")}return void 0===n&&(n="number"),function(t,n){var e,r;if("string"===n&&M(e=t.toString)&&!k(r=g(e,t)))return r;if(M(e=t.valueOf)&&!k(r=g(e,t)))return r;if("string"!==n&&M(e=t.toString)&&!k(r=g(e,t)))return r;throw Q("Can't convert object to primitive value")}(t,n)},dt=function(t){var n=bt(t,"string");return B(n)?n:n+""},vt=a.document,St=k(vt)&&k(vt.createElement),wt=!l&&!f((function(){return 7!=Object.defineProperty((t="div",St?vt.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),Ot=Object.getOwnPropertyDescriptor,jt={f:l?Ot:function(t,n){if(t=R(t),n=dt(n),wt)try{return Ot(t,n)}catch(t){}if(it(t,n))return b(!g(y.f,t,n),t[n])}},Pt=l&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=a.String,At=a.TypeError,Et=function(t){if(k(t))return t;throw At(Tt(t)+" is not an object")},xt=a.TypeError,Ct=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Rt="enumerable",Mt="configurable",kt="writable",It={f:l?Pt?function(t,n,e){if(Et(t),n=dt(n),Et(e),"function"==typeof t&&"prototype"===n&&"value"in e&&kt in e&&!e.writable){var r=Ft(t,n);r&&r.writable&&(t[n]=e.value,e={configurable:Mt in e?e.configurable:r.configurable,enumerable:Rt in e?e.enumerable:r.enumerable,writable:!1})}return Ct(t,n,e)}:Ct:function(t,n,e){if(Et(t),n=dt(n),Et(e),wt)try{return Ct(t,n,e)}catch(t){}if("get"in e||"set"in e)throw xt("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},Lt=l?function(t,n,e){return It.f(t,n,b(1,e))}:function(t,n,e){return t[n]=e,t},Dt=Function.prototype,Nt=l&&Object.getOwnPropertyDescriptor,Zt=it(Dt,"name"),zt={EXISTS:Zt,PROPER:Zt&&"something"===function(){}.name,CONFIGURABLE:Zt&&(!l||l&&Nt(Dt,"name").configurable)},Gt=O(Function.toString);M(tt.inspectSource)||(tt.inspectSource=function(t){return Gt(t)});var Ut,_t,Kt,Wt,qt=tt.inspectSource,Bt=a.WeakMap,Vt=M(Bt)&&/native code/.test(qt(Bt)),Ht=nt("keys"),Jt={},Qt="Object already initialized",Xt=a.TypeError,Yt=a.WeakMap;if(Vt||tt.state){var $t=tt.state||(tt.state=new Yt),tn=O($t.get),nn=O($t.has),en=O($t.set);Ut=function(t,n){if(nn($t,t))throw new Xt(Qt);return n.facade=t,en($t,t,n),n},_t=function(t){return tn($t,t)||{}},Kt=function(t){return nn($t,t)}}else{var rn=Ht[Wt="state"]||(Ht[Wt]=ft(Wt));Jt[rn]=!0,Ut=function(t,n){if(it(t,rn))throw new Xt(Qt);return n.facade=t,Lt(t,rn,n),n},_t=function(t){return it(t,rn)?t[rn]:{}},Kt=function(t){return it(t,rn)}}var on={set:Ut,get:_t,has:Kt,enforce:function(t){return Kt(t)?_t(t):Ut(t,{})},getterFor:function(t){return function(n){var e;if(!k(n)||(e=_t(n)).type!==t)throw Xt("Incompatible receiver, "+t+" required");return e}}},un=o((function(t){var n=It.f,e=zt.CONFIGURABLE,r=on.enforce,o=on.get,i=!f((function(){return 8!==n((function(){}),"length",{value:8}).length})),u=String(String).split("String"),c=t.exports=function(t,o,c){"Symbol("===String(o).slice(0,7)&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),c&&c.getter&&(o="get "+o),c&&c.setter&&(o="set "+o),(!it(t,"name")||e&&t.name!==o)&&n(t,"name",{value:o,configurable:!0}),i&&c&&it(c,"arity")&&t.length!==c.arity&&n(t,"length",{value:c.arity});var a=r(t);return it(a,"source")||(a.source=u.join("string"==typeof o?o:"")),t};Function.prototype.toString=c((function(){return M(this)&&o(this).source||qt(this)}),"toString")})),cn=function(t,n,e,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet,c=r&&void 0!==r.name?r.name:n;return M(e)&&un(e,c,r),t===a?(i?t[n]=e:Y(n,e),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=e:Lt(t,n,e),t)},an=Math.ceil,fn=Math.floor,ln=function(t){var n=+t;return n!=n||0===n?0:(n>0?fn:an)(n)},sn=Math.max,pn=Math.min,gn=Math.min,mn=function(t){return(n=t.length)>0?gn(ln(n),9007199254740991):0;var n},hn=function(t){return function(n,e,r){var o,i=R(n),u=mn(i),c=function(t,n){var e=ln(t);return e<0?sn(e+n,0):pn(e,n)}(r,u);if(t&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},yn={includes:hn(!0),indexOf:hn(!1)}.indexOf,bn=O([].push),dn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vn=Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=R(t),o=0,i=[];for(e in r)!it(Jt,e)&&it(r,e)&&bn(i,e);for(;n.length>o;)it(r,e=n[o++])&&(~yn(i,e)||bn(i,e));return i}(t,dn)},Sn={f:vn},wn={f:Object.getOwnPropertySymbols},On=O([].concat),jn=L("Reflect","ownKeys")||function(t){var n=Sn.f(Et(t)),e=wn.f;return e?On(n,e(t)):n},Pn=function(t,n,e){for(var r=jn(n),o=It.f,i=jt.f,u=0;u<r.length;u++){var c=r[u];it(t,c)||e&&it(e,c)||o(t,c,i(n,c))}},Tn=/#|\.prototype\./,An=function(t,n){var e=xn[En(t)];return e==Fn||e!=Cn&&(M(n)?f(n):!!n)},En=An.normalize=function(t){return String(t).replace(Tn,".").toLowerCase()},xn=An.data={},Cn=An.NATIVE="N",Fn=An.POLYFILL="P",Rn=An,Mn=jt.f,kn=Array.isArray||function(t){return"Array"==T(t)},In=function(t,n,e){var r=dt(n);r in t?It.f(t,r,b(0,e)):t[r]=e},Ln={};Ln[mt("toStringTag")]="z";var Dn="[object z]"===String(Ln),Nn=mt("toStringTag"),Zn=a.Object,zn="Arguments"==T(function(){return arguments}()),Gn=Dn?T:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Zn(t),Nn))?e:zn?T(n):"Object"==(r=T(n))&&M(n.callee)?"Arguments":r},Un=function(){},_n=[],Kn=L("Reflect","construct"),Wn=/^\s*(?:class|function)\b/,qn=O(Wn.exec),Bn=!Wn.exec(Un),Vn=function(t){if(!M(t))return!1;try{return Kn(Un,_n,t),!0}catch(t){return!1}},Hn=function(t){if(!M(t))return!1;switch(Gn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Bn||!!qn(Wn,qt(t))}catch(t){return!0}};Hn.sham=!0;var Jn,Qn=!Kn||f((function(){var t;return Vn(Vn.call)||!Vn(Object)||!Vn((function(){t=!0}))||t}))?Hn:Vn,Xn=mt("species"),Yn=a.Array,$n=function(t,n){return new(function(t){var n;return kn(t)&&(n=t.constructor,(Qn(n)&&(n===Yn||kn(n.prototype))||k(n)&&null===(n=n[Xn]))&&(n=void 0)),void 0===n?Yn:n}(t))(0===n?0:n)},te=mt("species"),ne=mt("isConcatSpreadable"),ee=9007199254740991,re="Maximum allowed index exceeded",oe=a.TypeError,ie=_>=51||!f((function(){var t=[];return t[ne]=!1,t.concat()[0]!==t})),ue=(Jn="concat",_>=51||!f((function(){var t=[];return(t.constructor={})[te]=function(){return{foo:1}},1!==t[Jn](Boolean).foo}))),ce=function(t){if(!k(t))return!1;var n=t[ne];return void 0!==n?!!n:kn(t)};!function(t,n){var e,r,o,i,u,c=t.target,f=t.global,l=t.stat;if(e=f?a:l?a[c]||Y(c,{}):(a[c]||{}).prototype)for(r in n){if(i=n[r],o=t.noTargetGet?(u=Mn(e,r))&&u.value:e[r],!Rn(f?r:c+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Pn(i,o)}(t.sham||o&&o.sham)&&Lt(i,"sham",!0),cn(e,r,i,t)}}({target:"Array",proto:!0,arity:1,forced:!ie||!ue},{concat:function(t){var n,e,r,o,i,u=rt(this),c=$n(u,0),a=0;for(n=-1,r=arguments.length;n<r;n++)if(ce(i=-1===n?u:arguments[n])){if(a+(o=mn(i))>ee)throw oe(re);for(e=0;e<o;e++,a++)e in i&&In(c,a,i[e])}else{if(a>=ee)throw oe(re);In(c,a++,i)}return c.length=a,c}}),e.default.fn.bootstrapTable.locales["lb-LU"]=e.default.fn.bootstrapTable.locales.lb={formatCopyRows:function(){return"Zeilen kopéieren"},formatPrint:function(){return"Drécken"},formatLoadingMessage:function(){return"Gëtt gelueden, gedellëgt Iech wannechgelift ee Moment"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen per Säit")},formatShowingRows:function(t,n,e,r){return void 0!==r&&r>0&&r>e?"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(e," Zeil").concat(e>1?"en":""," (gefiltert vun insgesamt ").concat(r," Zeil").concat(e>1?"en":"",")"):"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(e," Zeil").concat(e>1?"en":"")},formatSRPaginationPreText:function(){return"viregt Säit"},formatSRPaginationPageText:function(t){return"op Säit ".concat(t)},formatSRPaginationNextText:function(){return"nächst Säit"},formatDetailPagination:function(t){return"Weist ".concat(t," Zeilen")},formatClearSearch:function(){return"Sich réckgängeg maachen"},formatSearch:function(){return"Sich"},formatNoMatches:function(){return"Keng passend Anträg fonnt"},formatPaginationSwitch:function(){return"Paginatioun uweisen/verstoppen"},formatPaginationSwitchDown:function(){return"Paginatioun uweisen"},formatPaginationSwitchUp:function(){return"Paginatioun verstoppen"},formatRefresh:function(){return"Nei lueden"},formatToggle:function(){return"Ëmschalten"},formatToggleOn:function(){return"Kaartenusiicht uweisen"},formatToggleOff:function(){return"Kaartenusiicht verstoppen"},formatColumns:function(){return"Kolonnen"},formatColumnsToggleAll:function(){return"All ëmschalten"},formatFullscreen:function(){return"Vollbild"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Automatescht neilueden"},formatExport:function(){return"Daten exportéieren"},formatJumpTo:function(){return"Sprangen"},formatAdvancedSearch:function(){return"Erweidert Sich"},formatAdvancedCloseButton:function(){return"Zoumaachen"},formatFilterControlSwitch:function(){return"Schaltelementer uweisen/verstoppen"},formatFilterControlSwitchHide:function(){return"Schaltelementer verstoppen"},formatFilterControlSwitchShow:function(){return"Schaltelementer uweisen"}},e.default.extend(e.default.fn.bootstrapTable.defaults,e.default.fn.bootstrapTable.locales["lb-LU"])}));