UNPKG

9.83 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.18.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=t||self).jQuery)}(this,(function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.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 n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,a={f:f&&!c.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:c},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},g="".split,m=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return m(y(t))},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,n){if(!d(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!d(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!d(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!d(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},v={}.hasOwnProperty,S=function(t,n){return v.call(t,n)},w=o.document,O=d(w)&&d(w.createElement),P=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?w.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),j=Object.getOwnPropertyDescriptor,T={f:u?j:function(t,n){if(t=h(t),n=b(n,!0),P)try{return j(t,n)}catch(t){}if(S(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},E=Object.defineProperty,A={f:u?E:function(t,n,e){if(x(t),n=b(n,!0),x(e),P)try{return E(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},Z=u?function(t,n,e){return A.f(t,n,l(1,e))}:function(t,n,e){return t[n]=e,t},N=function(t,n){try{Z(o,t,n)}catch(e){o[t]=n}return n},C="__core-js_shared__",F=o[C]||N(C,{}),M=Function.toString;"function"!=typeof F.inspectSource&&(F.inspectSource=function(t){return M.call(t)});var k,R,D,L,V=F.inspectSource,I=o.WeakMap,_="function"==typeof I&&/native code/.test(V(I)),q=e((function(t){(t.exports=function(t,n){return F[t]||(F[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),z=0,G=Math.random(),K=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+G).toString(36)},B=q("keys"),U={},W=o.WeakMap;if(_){var H=new W,J=H.get,Q=H.has,Y=H.set;k=function(t,n){return Y.call(H,t,n),n},R=function(t){return J.call(H,t)||{}},D=function(t){return Q.call(H,t)}}else{var X=B[L="state"]||(B[L]=K(L));U[X]=!0,k=function(t,n){return Z(t,X,n),n},R=function(t){return S(t,X)?t[X]:{}},D=function(t){return S(t,X)}}var $,tt,nt={set:k,get:R,has:D,enforce:function(t){return D(t)?R(t):k(t,{})},getterFor:function(t){return function(n){var e;if(!d(n)||(e=R(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},et=e((function(t){var n=nt.get,e=nt.enforce,r=String(String).split("String");(t.exports=function(t,n,i,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,a=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||S(i,"name")||Z(i,"name",n),e(i).source=r.join("string"==typeof n?n:"")),t!==o?(c?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=i:Z(t,n,i)):f?t[n]=i:N(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||V(this)}))})),rt=o,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,n){return arguments.length<2?ot(rt[t])||ot(o[t]):rt[t]&&rt[t][n]||o[t]&&o[t][n]},ut=Math.ceil,ct=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?ct:ut)(t)},at=Math.min,lt=function(t){return t>0?at(ft(t),9007199254740991):0},st=Math.max,pt=Math.min,gt=function(t){return function(n,e,r){var o,i=h(n),u=lt(i.length),c=function(t,n){var e=ft(t);return e<0?st(e+n,0):pt(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}},mt={includes:gt(!0),indexOf:gt(!1)}.indexOf,yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),ht={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=h(t),o=0,i=[];for(e in r)!S(U,e)&&S(r,e)&&i.push(e);for(;n.length>o;)S(r,e=n[o++])&&(~mt(i,e)||i.push(e));return i}(t,yt)}},dt={f:Object.getOwnPropertySymbols},bt=it("Reflect","ownKeys")||function(t){var n=ht.f(x(t)),e=dt.f;return e?n.concat(e(t)):n},vt=function(t,n){for(var e=bt(n),r=A.f,o=T.f,i=0;i<e.length;i++){var u=e[i];S(t,u)||r(t,u,o(n,u))}},St=/#|\.prototype\./,wt=function(t,n){var e=Pt[Ot(t)];return e==Tt||e!=jt&&("function"==typeof n?i(n):!!n)},Ot=wt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},Pt=wt.data={},jt=wt.NATIVE="N",Tt=wt.POLYFILL="P",xt=wt,Et=T.f,At=Array.isArray||function(t){return"Array"==p(t)},Zt=function(t){return Object(y(t))},Nt=function(t,n,e){var r=b(n);r in t?A.f(t,r,l(0,e)):t[r]=e},Ct=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Ft=Ct&&!Symbol.sham&&"symbol"==typeof Symbol(),Mt=q("wks"),kt=o.Symbol,Rt=Ft?kt:K,Dt=function(t){return S(Mt,t)||(Ct&&S(kt,t)?Mt[t]=kt[t]:Mt[t]=Rt("Symbol."+t)),Mt[t]},Lt=Dt("species"),Vt=function(t,n){var e;return At(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!At(e.prototype)?d(e)&&null===(e=e[Lt])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},It=it("navigator","userAgent")||"",_t=o.process,qt=_t&&_t.versions,zt=qt&&qt.v8;zt?tt=($=zt.split("."))[0]+$[1]:It&&(!($=It.match(/Edge\/(\d+)/))||$[1]>=74)&&($=It.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Gt,Kt=tt&&+tt,Bt=Dt("species"),Ut=Dt("isConcatSpreadable"),Wt=9007199254740991,Ht="Maximum allowed index exceeded",Jt=Kt>=51||!i((function(){var t=[];return t[Ut]=!1,t.concat()[0]!==t})),Qt=(Gt="concat",Kt>=51||!i((function(){var t=[];return(t.constructor={})[Bt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Yt=function(t){if(!d(t))return!1;var n=t[Ut];return void 0!==n?!!n:At(t)};!function(t,n){var e,r,i,u,c,f=t.target,a=t.global,l=t.stat;if(e=a?o:l?o[f]||N(f,{}):(o[f]||{}).prototype)for(r in n){if(u=n[r],i=t.noTargetGet?(c=Et(e,r))&&c.value:e[r],!xt(a?r:f+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;vt(u,i)}(t.sham||i&&i.sham)&&Z(u,"sham",!0),et(e,r,u,t)}}({target:"Array",proto:!0,forced:!Jt||!Qt},{concat:function(t){var n,e,r,o,i,u=Zt(this),c=Vt(u,0),f=0;for(n=-1,r=arguments.length;n<r;n++)if(Yt(i=-1===n?u:arguments[n])){if(f+(o=lt(i.length))>Wt)throw TypeError(Ht);for(e=0;e<o;e++,f++)e in i&&Nt(c,f,i[e])}else{if(f>=Wt)throw TypeError(Ht);Nt(c,f++,i)}return c.length=f,c}}),t.fn.bootstrapTable.locales["de-DE"]=t.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"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["de-DE"])}));