UNPKG

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