mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-21 07:30:30 +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 r(t,n){return t(n={exports:{}},n.exports),n.exports}var e=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},i=!a((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f={f:c&&!u.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:u},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)},d="".split,g=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?d.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return g(y(t))},h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!h(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!h(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,n){return b.call(t,n)},S=o.document,O=h(S)&&h(S.createElement),P=!i&&!a((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),j=Object.getOwnPropertyDescriptor,T={f:i?j:function(t,n){if(t=m(t),n=v(n,!0),P)try{return j(t,n)}catch(t){}if(w(t,n))return l(!f.f.call(t,n),t[n])}},x=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},M=Object.defineProperty,A={f:i?M:function(t,n,r){if(x(t),n=v(n,!0),x(r),P)try{return M(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},E=i?function(t,n,r){return A.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},C=function(t,n){try{E(o,t,n)}catch(r){o[t]=n}return n},R=o["__core-js_shared__"]||C("__core-js_shared__",{}),_=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(t){return _.call(t)});var N,I,L,k,q=R.inspectSource,F=o.WeakMap,D="function"==typeof F&&/native code/.test(q(F)),z=r((function(t){(t.exports=function(t,n){return R[t]||(R[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),B=0,G=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+G).toString(36)},J=z("keys"),K={},Q=o.WeakMap;if(D){var U=new Q,V=U.get,Y=U.has,H=U.set;N=function(t,n){return H.call(U,t,n),n},I=function(t){return V.call(U,t)||{}},L=function(t){return Y.call(U,t)}}else{var X=J[k="state"]||(J[k]=W(k));K[X]=!0,N=function(t,n){return E(t,X,n),n},I=function(t){return w(t,X)?t[X]:{}},L=function(t){return w(t,X)}}var Z,$,tt={set:N,get:I,has:L,enforce:function(t){return L(t)?I(t):N(t,{})},getterFor:function(t){return function(n){var r;if(!h(n)||(r=I(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},nt=r((function(t){var n=tt.get,r=tt.enforce,e=String(String).split("String");(t.exports=function(t,n,a,i){var u=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof n||w(a,"name")||E(a,"name",n),r(a).source=e.join("string"==typeof n?n:"")),t!==o?(u?!f&&t[n]&&(c=!0):delete t[n],c?t[n]=a:E(t,n,a)):c?t[n]=a:C(n,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||q(this)}))})),rt=o,et=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?et(rt[t])||et(o[t]):rt[t]&&rt[t][n]||o[t]&&o[t][n]},at=Math.ceil,it=Math.floor,ut=function(t){return isNaN(t=+t)?0:(t>0?it:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(ut(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,r,e){var o,a=m(n),i=ft(a.length),u=function(t,n){var r=ut(t);return r<0?lt(r+n,0):st(r,n)}(e,i);if(t&&r!=r){for(;i>u;)if((o=a[u++])!=o)return!0}else for(;i>u;u++)if((t||u in a)&&a[u]===r)return t||u||0;return!t&&-1}},dt={includes:pt(!0),indexOf:pt(!1)}.indexOf,gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=m(t),o=0,a=[];for(r in e)!w(K,r)&&w(e,r)&&a.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~dt(a,r)||a.push(r));return a}(t,gt)}},mt={f:Object.getOwnPropertySymbols},ht=ot("Reflect","ownKeys")||function(t){var n=yt.f(x(t)),r=mt.f;return r?n.concat(r(t)):n},vt=function(t,n){for(var r=ht(n),e=A.f,o=T.f,a=0;a<r.length;a++){var i=r[a];w(t,i)||e(t,i,o(n,i))}},bt=/#|\.prototype\./,wt=function(t,n){var r=Ot[St(t)];return r==jt||r!=Pt&&("function"==typeof n?a(n):!!n)},St=wt.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},Ot=wt.data={},Pt=wt.NATIVE="N",jt=wt.POLYFILL="P",Tt=wt,xt=T.f,Mt=Array.isArray||function(t){return"Array"==p(t)},At=function(t){return Object(y(t))},Et=function(t,n,r){var e=v(n);e in t?A.f(t,e,l(0,r)):t[e]=r},Ct=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())})),Rt=Ct&&!Symbol.sham&&"symbol"==typeof Symbol(),_t=z("wks"),Nt=o.Symbol,It=Rt?Nt:W,Lt=function(t){return w(_t,t)||(Ct&&w(Nt,t)?_t[t]=Nt[t]:_t[t]=It("Symbol."+t)),_t[t]},kt=Lt("species"),qt=function(t,n){var r;return Mt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Mt(r.prototype)?h(r)&&null===(r=r[kt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Ft=ot("navigator","userAgent")||"",Dt=o.process,zt=Dt&&Dt.versions,Bt=zt&&zt.v8;Bt?$=(Z=Bt.split("."))[0]+Z[1]:Ft&&(!(Z=Ft.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Ft.match(/Chrome\/(\d+)/))&&($=Z[1]);var Gt,Wt=$&&+$,Jt=Lt("species"),Kt=Lt("isConcatSpreadable"),Qt=Wt>=51||!a((function(){var t=[];return t[Kt]=!1,t.concat()[0]!==t})),Ut=(Gt="concat",Wt>=51||!a((function(){var t=[];return(t.constructor={})[Jt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Vt=function(t){if(!h(t))return!1;var n=t[Kt];return void 0!==n?!!n:Mt(t)};!function(t,n){var r,e,a,i,u,c=t.target,f=t.global,l=t.stat;if(r=f?o:l?o[c]||C(c,{}):(o[c]||{}).prototype)for(e in n){if(i=n[e],a=t.noTargetGet?(u=xt(r,e))&&u.value:r[e],!Tt(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==a){if(typeof i==typeof a)continue;vt(i,a)}(t.sham||a&&a.sham)&&E(i,"sham",!0),nt(r,e,i,t)}}({target:"Array",proto:!0,forced:!Qt||!Ut},{concat:function(t){var n,r,e,o,a,i=At(this),u=qt(i,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(a=-1===n?i:arguments[n],Vt(a)){if(c+(o=ft(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in a&&Et(u,c,a[r])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Et(u,c++,a)}return u.length=c,u}}),t.fn.bootstrapTable.locales["es-AR"]={formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Mostrando desde ".concat(t," a ").concat(n," de ").concat(r," filas (filtrado de ").concat(e," columnas totales)"):"Mostrando desde ".concat(t," a ").concat(n," de ").concat(r," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," columnas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Recargar"},formatToggle:function(){return"Cambiar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"Ir"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-AR"])}));
|