mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-19 16:24:55 +00:00
11 lines
9.3 KiB
JavaScript
11 lines
9.3 KiB
JavaScript
/**
|
|
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
|
|
*
|
|
* @version v1.16.0
|
|
* @homepage https://bootstrap-table.com
|
|
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
|
|
* @license MIT
|
|
*/
|
|
|
|
!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=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},v=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")},b={}.hasOwnProperty,S=function(t,n){return b.call(t,n)},w=o.document,O=d(w)&&d(w.createElement),j=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?w.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:u?P:function(t,n){if(t=h(t),n=v(n,!0),j)try{return P(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=v(n,!0),x(e),j)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}},M=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{M(o,t,n)}catch(e){o[t]=n}return n},Z=o["__core-js_shared__"]||N("__core-js_shared__",{}),_=Function.toString;"function"!=typeof Z.inspectSource&&(Z.inspectSource=function(t){return _.call(t)});var C,R,k,D,L=Z.inspectSource,F=o.WeakMap,I="function"==typeof F&&/native code/.test(L(F)),V=e((function(t){(t.exports=function(t,n){return Z[t]||(Z[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),q=0,G=Math.random(),z=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++q+G).toString(36)},K=V("keys"),B={},U=o.WeakMap;if(I){var W=new U,J=W.get,Q=W.has,Y=W.set;C=function(t,n){return Y.call(W,t,n),n},R=function(t){return J.call(W,t)||{}},k=function(t){return Q.call(W,t)}}else{var H=K[D="state"]||(K[D]=z(D));B[H]=!0,C=function(t,n){return M(t,H,n),n},R=function(t){return S(t,H)?t[H]:{}},k=function(t){return S(t,H)}}var X,$,tt={set:C,get:R,has:k,enforce:function(t){return k(t)?R(t):C(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}}},nt=e((function(t){var n=tt.get,e=tt.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")||M(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:M(t,n,i)):f?t[n]=i:N(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(this)}))})),et=o,rt=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?rt(et[t])||rt(o[t]):et[t]&&et[t][n]||o[t]&&o[t][n]},it=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:it)(t)},ft=Math.min,at=function(t){return t>0?ft(ct(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,e,r){var o,i=h(n),u=at(i.length),c=function(t,n){var e=ct(t);return e<0?lt(e+n,0):st(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}},gt={includes:pt(!0),indexOf:pt(!1)}.indexOf,mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=h(t),o=0,i=[];for(e in r)!S(B,e)&&S(r,e)&&i.push(e);for(;n.length>o;)S(r,e=n[o++])&&(~gt(i,e)||i.push(e));return i}(t,mt)}},ht={f:Object.getOwnPropertySymbols},dt=ot("Reflect","ownKeys")||function(t){var n=yt.f(x(t)),e=ht.f;return e?n.concat(e(t)):n},vt=function(t,n){for(var e=dt(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))}},bt=/#|\.prototype\./,St=function(t,n){var e=Ot[wt(t)];return e==Pt||e!=jt&&("function"==typeof n?i(n):!!n)},wt=St.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},Ot=St.data={},jt=St.NATIVE="N",Pt=St.POLYFILL="P",Tt=St,xt=T.f,Et=Array.isArray||function(t){return"Array"==p(t)},At=function(t){return Object(y(t))},Mt=function(t,n,e){var r=v(n);r in t?A.f(t,r,l(0,e)):t[r]=e},Nt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Zt=Nt&&!Symbol.sham&&"symbol"==typeof Symbol(),_t=V("wks"),Ct=o.Symbol,Rt=Zt?Ct:z,kt=function(t){return S(_t,t)||(Nt&&S(Ct,t)?_t[t]=Ct[t]:_t[t]=Rt("Symbol."+t)),_t[t]},Dt=kt("species"),Lt=function(t,n){var e;return Et(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!Et(e.prototype)?d(e)&&null===(e=e[Dt])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},Ft=ot("navigator","userAgent")||"",It=o.process,Vt=It&&It.versions,qt=Vt&&Vt.v8;qt?$=(X=qt.split("."))[0]+X[1]:Ft&&(!(X=Ft.match(/Edge\/(\d+)/))||X[1]>=74)&&(X=Ft.match(/Chrome\/(\d+)/))&&($=X[1]);var Gt,zt=$&&+$,Kt=kt("species"),Bt=kt("isConcatSpreadable"),Ut=zt>=51||!i((function(){var t=[];return t[Bt]=!1,t.concat()[0]!==t})),Wt=(Gt="concat",zt>=51||!i((function(){var t=[];return(t.constructor={})[Kt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Jt=function(t){if(!d(t))return!1;var n=t[Bt];return void 0!==n?!!n:Et(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=xt(e,r))&&c.value:e[r],!Tt(a?r:f+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;vt(u,i)}(t.sham||i&&i.sham)&&M(u,"sham",!0),nt(e,r,u,t)}}({target:"Array",proto:!0,forced:!Ut||!Wt},{concat:function(t){var n,e,r,o,i,u=At(this),c=Lt(u,0),f=0;for(n=-1,r=arguments.length;n<r;n++)if(i=-1===n?u:arguments[n],Jt(i)){if(f+(o=at(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,f++)e in i&&Mt(c,f,i[e])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Mt(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"])}));
|