UNPKG

14.1 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},f=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")(),a=function(t){try{return!!t()}catch(t){return!0}},l=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s=!a((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,b=Object.getOwnPropertyDescriptor,h={f:b&&!m.call({1:2},1)?function(t){var n=b(this,t);return!!n&&n.enumerable}:m},y=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=f.Object,E=O("".split),x=a((function(){return!A("z").propertyIsEnumerable(0)}))?function(t){return"String"==T(t)?E(t,""):A(t)}:A,F=f.TypeError,C=function(t){if(null==t)throw F("Can't call method on "+t);return t},D=function(t){return x(C(t))},N=function(t){return"function"==typeof t},R=function(t){return"object"==typeof t?null!==t:N(t)},Z=function(t){return N(t)?t:void 0},M=function(t,n){return arguments.length<2?Z(f[t]):f[t]&&f[t][n]},k=O({}.isPrototypeOf),L=M("navigator","userAgent")||"",I=f.process,z=f.Deno,B=I&&I.versions||z&&z.version,G=B&&B.v8;G&&(u=(i=G.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!u&&L&&(!(i=L.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=L.match(/Chrome\/(\d+)/))&&(u=+i[1]);var V=u,_=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V&&V<41})),U=_&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,q=f.Object,K=U?function(t){return"symbol"==typeof t}:function(t){var n=M("Symbol");return N(n)&&k(n.prototype,q(t))},W=f.String,H=f.TypeError,J=function(t){if(N(t))return t;throw H(function(t){try{return W(t)}catch(t){return"Object"}}(t)+" is not a function")},Q=f.TypeError,X=Object.defineProperty,Y=function(t,n){try{X(f,t,{value:n,configurable:!0,writable:!0})}catch(e){f[t]=n}return n},$="__core-js_shared__",tt=f[$]||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=f.Object,rt=function(t){return et(C(t))},ot=O({}.hasOwnProperty),it=Object.hasOwn||function(t,n){return ot(rt(t),n)},ut=0,ct=Math.random(),ft=O(1..toString),at=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ft(++ut+ct,36)},lt=nt("wks"),st=f.Symbol,pt=st&&st.for,gt=U?st:st&&st.withoutSetter||at,mt=function(t){if(!it(lt,t)||!_&&"string"!=typeof lt[t]){var n="Symbol."+t;_&&it(st,t)?lt[t]=st[t]:lt[t]=U&&pt?pt(n):gt(n)}return lt[t]},bt=f.TypeError,ht=mt("toPrimitive"),yt=function(t,n){if(!R(t)||K(t))return t;var e,r,o=null==(e=t[ht])?void 0:J(e);if(o){if(void 0===n&&(n="default"),r=g(o,t,n),!R(r)||K(r))return r;throw bt("Can't convert object to primitive value")}return void 0===n&&(n="number"),function(t,n){var e,r;if("string"===n&&N(e=t.toString)&&!R(r=g(e,t)))return r;if(N(e=t.valueOf)&&!R(r=g(e,t)))return r;if("string"!==n&&N(e=t.toString)&&!R(r=g(e,t)))return r;throw Q("Can't convert object to primitive value")}(t,n)},dt=function(t){var n=yt(t,"string");return K(n)?n:n+""},vt=f.document,St=R(vt)&&R(vt.createElement),wt=!l&&!a((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=D(t),n=dt(n),wt)try{return Ot(t,n)}catch(t){}if(it(t,n))return y(!g(h.f,t,n),t[n])}},Pt=l&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=f.String,At=f.TypeError,Et=function(t){if(R(t))return t;throw At(Tt(t)+" is not an object")},xt=f.TypeError,Ft=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,Dt="enumerable",Nt="configurable",Rt="writable",Zt={f:l?Pt?function(t,n,e){if(Et(t),n=dt(n),Et(e),"function"==typeof t&&"prototype"===n&&"value"in e&&Rt in e&&!e.writable){var r=Ct(t,n);r&&r.writable&&(t[n]=e.value,e={configurable:Nt in e?e.configurable:r.configurable,enumerable:Dt in e?e.enumerable:r.enumerable,writable:!1})}return Ft(t,n,e)}:Ft:function(t,n,e){if(Et(t),n=dt(n),Et(e),wt)try{return Ft(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}},Mt=l?function(t,n,e){return Zt.f(t,n,y(1,e))}:function(t,n,e){return t[n]=e,t},kt=Function.prototype,Lt=l&&Object.getOwnPropertyDescriptor,It=it(kt,"name"),zt={EXISTS:It,PROPER:It&&"something"===function(){}.name,CONFIGURABLE:It&&(!l||l&&Lt(kt,"name").configurable)},Bt=O(Function.toString);N(tt.inspectSource)||(tt.inspectSource=function(t){return Bt(t)});var Gt,Vt,_t,Ut,qt=tt.inspectSource,Kt=f.WeakMap,Wt=N(Kt)&&/native code/.test(qt(Kt)),Ht=nt("keys"),Jt={},Qt="Object already initialized",Xt=f.TypeError,Yt=f.WeakMap;if(Wt||tt.state){var $t=tt.state||(tt.state=new Yt),tn=O($t.get),nn=O($t.has),en=O($t.set);Gt=function(t,n){if(nn($t,t))throw new Xt(Qt);return n.facade=t,en($t,t,n),n},Vt=function(t){return tn($t,t)||{}},_t=function(t){return nn($t,t)}}else{var rn=Ht[Ut="state"]||(Ht[Ut]=at(Ut));Jt[rn]=!0,Gt=function(t,n){if(it(t,rn))throw new Xt(Qt);return n.facade=t,Mt(t,rn,n),n},Vt=function(t){return it(t,rn)?t[rn]:{}},_t=function(t){return it(t,rn)}}var on={set:Gt,get:Vt,has:_t,enforce:function(t){return _t(t)?Vt(t):Gt(t,{})},getterFor:function(t){return function(n){var e;if(!R(n)||(e=Vt(n)).type!==t)throw Xt("Incompatible receiver, "+t+" required");return e}}},un=o((function(t){var n=Zt.f,e=zt.CONFIGURABLE,r=on.enforce,o=on.get,i=!a((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 f=r(t);return it(f,"source")||(f.source=u.join("string"==typeof o?o:"")),t};Function.prototype.toString=c((function(){return N(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 N(e)&&un(e,c,r),t===f?(i?t[n]=e:Y(n,e),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=e:Mt(t,n,e),t)},fn=Math.ceil,an=Math.floor,ln=function(t){var n=+t;return n!=n||0===n?0:(n>0?an:fn)(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},bn=function(t){return function(n,e,r){var o,i=D(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}},hn={includes:bn(!0),indexOf:bn(!1)}.indexOf,yn=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=D(t),o=0,i=[];for(e in r)!it(Jt,e)&&it(r,e)&&yn(i,e);for(;n.length>o;)it(r,e=n[o++])&&(~hn(i,e)||yn(i,e));return i}(t,dn)},Sn={f:vn},wn={f:Object.getOwnPropertySymbols},On=O([].concat),jn=M("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=Zt.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==Cn||e!=Fn&&(N(n)?a(n):!!n)},En=An.normalize=function(t){return String(t).replace(Tn,".").toLowerCase()},xn=An.data={},Fn=An.NATIVE="N",Cn=An.POLYFILL="P",Dn=An,Nn=jt.f,Rn=Array.isArray||function(t){return"Array"==T(t)},Zn=function(t,n,e){var r=dt(n);r in t?Zt.f(t,r,y(0,e)):t[r]=e},Mn={};Mn[mt("toStringTag")]="z";var kn="[object z]"===String(Mn),Ln=mt("toStringTag"),In=f.Object,zn="Arguments"==T(function(){return arguments}()),Bn=kn?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=In(t),Ln))?e:zn?T(n):"Object"==(r=T(n))&&N(n.callee)?"Arguments":r},Gn=function(){},Vn=[],_n=M("Reflect","construct"),Un=/^\s*(?:class|function)\b/,qn=O(Un.exec),Kn=!Un.exec(Gn),Wn=function(t){if(!N(t))return!1;try{return _n(Gn,Vn,t),!0}catch(t){return!1}},Hn=function(t){if(!N(t))return!1;switch(Bn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Kn||!!qn(Un,qt(t))}catch(t){return!0}};Hn.sham=!0;var Jn,Qn=!_n||a((function(){var t;return Wn(Wn.call)||!Wn(Object)||!Wn((function(){t=!0}))||t}))?Hn:Wn,Xn=mt("species"),Yn=f.Array,$n=function(t,n){return new(function(t){var n;return Rn(t)&&(n=t.constructor,(Qn(n)&&(n===Yn||Rn(n.prototype))||R(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=f.TypeError,ie=V>=51||!a((function(){var t=[];return t[ne]=!1,t.concat()[0]!==t})),ue=(Jn="concat",V>=51||!a((function(){var t=[];return(t.constructor={})[te]=function(){return{foo:1}},1!==t[Jn](Boolean).foo}))),ce=function(t){if(!R(t))return!1;var n=t[ne];return void 0!==n?!!n:Rn(t)};!function(t,n){var e,r,o,i,u,c=t.target,a=t.global,l=t.stat;if(e=a?f:l?f[c]||Y(c,{}):(f[c]||{}).prototype)for(r in n){if(i=n[r],o=t.noTargetGet?(u=Nn(e,r))&&u.value:e[r],!Dn(a?r:c+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Pn(i,o)}(t.sham||o&&o.sham)&&Mt(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),f=0;for(n=-1,r=arguments.length;n<r;n++)if(ce(i=-1===n?u:arguments[n])){if(f+(o=mn(i))>ee)throw oe(re);for(e=0;e<o;e++,f++)e in i&&Zn(c,f,i[e])}else{if(f>=ee)throw oe(re);Zn(c,f++,i)}return c.length=f,c}}),e.default.fn.bootstrapTable.locales["de-DE"]=e.default.fn.bootstrapTable.locales.de={formatCopyRows:function(){return"Zeilen kopieren"},formatPrint:function(){return"Drucken"},formatLoadingMessage:function(){return"Lade, bitte warten"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen pro Seite.")},formatShowingRows:function(t,n,e,r){return void 0!==r&&r>0&&r>e?"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(e," Zeile").concat(e>1?"n":""," (Gefiltert von ").concat(r," Zeile").concat(r>1?"n":"",")"):"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(e," Zeile").concat(e>1?"n":"",".")},formatSRPaginationPreText:function(){return"Vorherige Seite"},formatSRPaginationPageText:function(t){return"Zu Seite ".concat(t)},formatSRPaginationNextText:function(){return"Nächste Seite"},formatDetailPagination:function(t){return"Zeige ".concat(t," Zeile").concat(t>1?"n":"",".")},formatClearSearch:function(){return"Lösche Filter"},formatSearch:function(){return"Suchen"},formatNoMatches:function(){return"Keine passenden Ergebnisse gefunden"},formatPaginationSwitch:function(){return"Verstecke/Zeige Nummerierung"},formatPaginationSwitchDown:function(){return"Zeige Nummerierung"},formatPaginationSwitchUp:function(){return"Verstecke Nummerierung"},formatRefresh:function(){return"Neu laden"},formatToggle:function(){return"Umschalten"},formatToggleOn:function(){return"Normale Ansicht"},formatToggleOff:function(){return"Kartenansicht"},formatColumns:function(){return"Spalten"},formatColumnsToggleAll:function(){return"Alle umschalten"},formatFullscreen:function(){return"Vollbild"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisches Neuladen"},formatExport:function(){return"Datenexport"},formatJumpTo:function(){return"Springen"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAdvancedCloseButton:function(){return"Schließen"},formatFilterControlSwitch:function(){return"Verstecke/Zeige Filter"},formatFilterControlSwitchHide:function(){return"Verstecke Filter"},formatFilterControlSwitchShow:function(){return"Zeige Filter"},formatAddLevel:function(){return"Ebene hinzufügen"},formatCancel:function(){return"Abbrechen"},formatColumn:function(){return"Spalte"},formatDeleteLevel:function(){return"Ebene entfernen"},formatDuplicateAlertTitle:function(){return"Doppelte Einträge gefunden!"},formatDuplicateAlertDescription:function(){return"Bitte doppelte Spalten entfenen oder ändern"},formatMultipleSort:function(){return"Mehrfachsortierung"},formatOrder:function(){return"Reihenfolge"},formatSort:function(){return"Sortieren"},formatSortBy:function(){return"Sortieren nach"},formatThenBy:function(){return"anschließend"},formatSortOrders:function(){return{asc:"Aufsteigend",desc:"Absteigend"}}},e.default.extend(e.default.fn.bootstrapTable.defaults,e.default.fn.bootstrapTable.locales["de-DE"])}));