UNPKG

9.04 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 r(t,n){return t(n={exports:{}},n.exports),n.exports}var e,o,i,u,a="object",f=function(t){return t&&t.Math==Math&&t},c=f(typeof globalThis==a&&globalThis)||f(typeof window==a&&window)||f(typeof self==a&&self)||f(typeof n==a&&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,d={f:g&&!p.call({1:2},1)?function(t){var n=g(this,t);return!!n&&n.enumerable}:p},y=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,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},S=function(t){return b(w(t))},O=function(t){return"object"==typeof t?null!==t:"function"==typeof t},P=function(t,n){if(!O(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!O(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!O(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!O(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},T={}.hasOwnProperty,j=function(t,n){return T.call(t,n)},x=c.document,A=O(x)&&O(x.createElement),E=!s&&!l((function(){return 7!=Object.defineProperty((t="div",A?x.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),M=Object.getOwnPropertyDescriptor,C={f:s?M:function(t,n){if(t=S(t),n=P(n,!0),E)try{return M(t,n)}catch(t){}if(j(t,n))return y(!d.f.call(t,n),t[n])}},_=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},R=Object.defineProperty,N={f:s?R:function(t,n,r){if(_(t),n=P(n,!0),_(r),E)try{return R(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}},F=s?function(t,n,r){return N.f(t,n,y(1,r))}:function(t,n,r){return t[n]=r,t},L=function(t,n){try{F(c,t,n)}catch(r){c[t]=n}return n},k=r((function(t){var n=c["__core-js_shared__"]||L("__core-js_shared__",{});(t.exports=function(t,r){return n[t]||(n[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),I=k("native-function-to-string",Function.toString),q=c.WeakMap,D="function"==typeof q&&/native code/.test(I.call(q)),z=0,B=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+B).toString(36)},H=k("keys"),W={},J=c.WeakMap;if(D){var K=new J,Q=K.get,U=K.has,V=K.set;e=function(t,n){return V.call(K,t,n),n},o=function(t){return Q.call(K,t)||{}},i=function(t){return U.call(K,t)}}else{var Y=H[u="state"]||(H[u]=G(u));W[Y]=!0,e=function(t,n){return F(t,Y,n),n},o=function(t){return j(t,Y)?t[Y]:{}},i=function(t){return j(t,Y)}}var X,Z={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!O(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},$=r((function(t){var n=Z.get,r=Z.enforce,e=String(I).split("toString");k("inspectSource",(function(t){return I.call(t)})),(t.exports=function(t,n,o,i){var u=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof n||j(o,"name")||F(o,"name",n),r(o).source=e.join("string"==typeof n?n:"")),t!==c?(u?!f&&t[n]&&(a=!0):delete t[n],a?t[n]=o:F(t,n,o)):a?t[n]=o:L(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||I.call(this)}))})),tt=c,nt=function(t){return"function"==typeof t?t:void 0},rt=Math.ceil,et=Math.floor,ot=function(t){return isNaN(t=+t)?0:(t>0?et:rt)(t)},it=Math.min,ut=function(t){return t>0?it(ot(t),9007199254740991):0},at=Math.max,ft=Math.min,ct=function(t){return function(n,r,e){var o,i=S(n),u=ut(i.length),a=function(t,n){var r=ot(t);return r<0?at(r+n,0):ft(r,n)}(e,u);if(t&&r!=r){for(;u>a;)if((o=i[a++])!=o)return!0}else for(;u>a;a++)if((t||a in i)&&i[a]===r)return t||a||0;return!t&&-1}},lt={includes:ct(!0),indexOf:ct(!1)}.indexOf,st=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),pt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=S(t),o=0,i=[];for(r in e)!j(W,r)&&j(e,r)&&i.push(r);for(;n.length>o;)j(e,r=n[o++])&&(~lt(i,r)||i.push(r));return i}(t,st)}},gt={f:Object.getOwnPropertySymbols},dt=function(t,n){return arguments.length<2?nt(tt[t])||nt(c[t]):tt[t]&&tt[t][n]||c[t]&&c[t][n]}("Reflect","ownKeys")||function(t){var n=pt.f(_(t)),r=gt.f;return r?n.concat(r(t)):n},yt=function(t,n){for(var r=dt(n),e=N.f,o=C.f,i=0;i<r.length;i++){var u=r[i];j(t,u)||e(t,u,o(n,u))}},ht=/#|\.prototype\./,mt=function(t,n){var r=bt[vt(t)];return r==St||r!=wt&&("function"==typeof n?l(n):!!n)},vt=mt.normalize=function(t){return String(t).replace(ht,".").toLowerCase()},bt=mt.data={},wt=mt.NATIVE="N",St=mt.POLYFILL="P",Ot=mt,Pt=C.f,Tt=Array.isArray||function(t){return"Array"==m(t)},jt=function(t){return Object(w(t))},xt=function(t,n,r){var e=P(n);e in t?N.f(t,e,y(0,r)):t[e]=r},At=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),Et=c.Symbol,Mt=k("wks"),Ct=function(t){return Mt[t]||(Mt[t]=At&&Et[t]||(At?Et:G)("Symbol."+t))},_t=Ct("species"),Rt=function(t,n){var r;return Tt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Tt(r.prototype)?O(r)&&null===(r=r[_t])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Nt=Ct("species"),Ft=Ct("isConcatSpreadable"),Lt=!l((function(){var t=[];return t[Ft]=!1,t.concat()[0]!==t})),kt=(X="concat",!l((function(){var t=[];return(t.constructor={})[Nt]=function(){return{foo:1}},1!==t[X](Boolean).foo}))),It=function(t){if(!O(t))return!1;var n=t[Ft];return void 0!==n?!!n:Tt(t)};!function(t,n){var r,e,o,i,u,a=t.target,f=t.global,l=t.stat;if(r=f?c:l?c[a]||L(a,{}):(c[a]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Pt(r,e))&&u.value:r[e],!Ot(f?e:a+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;yt(i,o)}(t.sham||o&&o.sham)&&F(i,"sham",!0),$(r,e,i,t)}}({target:"Array",proto:!0,forced:!Lt||!kt},{concat:function(t){var n,r,e,o,i,u=jt(this),a=Rt(u,0),f=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],It(i)){if(f+(o=ut(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,f++)r in i&&xt(a,f,i[r])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");xt(a,f++,i)}return a.length=f,a}}),t.fn.bootstrapTable.locales["es-SP"]={formatLoadingMessage:function(){return"Cargando, por favor espera"},formatRecordsPerPage:function(t){return"".concat(t," registros por p&#225;gina.")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"".concat(t," - ").concat(n," de ").concat(r," registros (filtered from ").concat(e," total rows)"):"".concat(t," - ").concat(n," de ").concat(r," registros.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se han encontrado registros."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["es-SP"])}));