UNPKG

9.86 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 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")(),i=function(t){try{return!!t()}catch(t){return!0}},a=!i((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)},y="".split,d=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return d(m(t))},v=function(t){return"object"==typeof t?null!==t:"function"==typeof t},g=function(t,n){if(!v(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!v(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!v(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!v(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,S=function(t,n){return b.call(t,n)},w=o.document,j=v(w)&&v(w.createElement),k=!a&&!i((function(){return 7!=Object.defineProperty((t="div",j?w.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,O={f:a?P:function(t,n){if(t=h(t),n=g(n,!0),k)try{return P(t,n)}catch(t){}if(S(t,n))return l(!f.f.call(t,n),t[n])}},T=function(t){if(!v(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,x={f:a?z:function(t,n,r){if(T(t),n=g(n,!0),T(r),k)try{return z(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=a?function(t,n,r){return x.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},A=function(t,n){try{E(o,t,n)}catch(r){o[t]=n}return n},C="__core-js_shared__",M=o[C]||A(C,{}),R=Function.toString;"function"!=typeof M.inspectSource&&(M.inspectSource=function(t){return R.call(t)});var F,N,Z,I,L=M.inspectSource,_=o.WeakMap,D="function"==typeof _&&/native code/.test(L(_)),q=r((function(t){(t.exports=function(t,n){return M[t]||(M[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),V=0,K=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++V+K).toString(36)},G=q("keys"),W={},H=o.WeakMap;if(D){var J=new H,Q=J.get,U=J.has,Y=J.set;F=function(t,n){return Y.call(J,t,n),n},N=function(t){return Q.call(J,t)||{}},Z=function(t){return U.call(J,t)}}else{var X=G[I="state"]||(G[I]=B(I));W[X]=!0,F=function(t,n){return E(t,X,n),n},N=function(t){return S(t,X)?t[X]:{}},Z=function(t){return S(t,X)}}var $,tt,nt={set:F,get:N,has:Z,enforce:function(t){return Z(t)?N(t):F(t,{})},getterFor:function(t){return function(n){var r;if(!v(n)||(r=N(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=r((function(t){var n=nt.get,r=nt.enforce,e=String(String).split("String");(t.exports=function(t,n,i,a){var u=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof n||S(i,"name")||E(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(u?!f&&t[n]&&(c=!0):delete t[n],c?t[n]=i:E(t,n,i)):c?t[n]=i:A(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(this)}))})),et=o,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,n){return arguments.length<2?ot(et[t])||ot(o[t]):et[t]&&et[t][n]||o[t]&&o[t][n]},at=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ft=Math.min,lt=function(t){return t>0?ft(ct(t),9007199254740991):0},st=Math.max,pt=Math.min,yt=function(t){return function(n,r,e){var o,i=h(n),a=lt(i.length),u=function(t,n){var r=ct(t);return r<0?st(r+n,0):pt(r,n)}(e,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},dt={includes:yt(!0),indexOf:yt(!1)}.indexOf,mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),ht={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=h(t),o=0,i=[];for(r in e)!S(W,r)&&S(e,r)&&i.push(r);for(;n.length>o;)S(e,r=n[o++])&&(~dt(i,r)||i.push(r));return i}(t,mt)}},vt={f:Object.getOwnPropertySymbols},gt=it("Reflect","ownKeys")||function(t){var n=ht.f(T(t)),r=vt.f;return r?n.concat(r(t)):n},bt=function(t,n){for(var r=gt(n),e=x.f,o=O.f,i=0;i<r.length;i++){var a=r[i];S(t,a)||e(t,a,o(n,a))}},St=/#|\.prototype\./,wt=function(t,n){var r=kt[jt(t)];return r==Ot||r!=Pt&&("function"==typeof n?i(n):!!n)},jt=wt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},kt=wt.data={},Pt=wt.NATIVE="N",Ot=wt.POLYFILL="P",Tt=wt,zt=O.f,xt=Array.isArray||function(t){return"Array"==p(t)},Et=function(t){return Object(m(t))},At=function(t,n,r){var e=g(n);e in t?x.f(t,e,l(0,r)):t[e]=r},Ct=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Mt=Ct&&!Symbol.sham&&"symbol"==typeof Symbol(),Rt=q("wks"),Ft=o.Symbol,Nt=Mt?Ft:B,Zt=function(t){return S(Rt,t)||(Ct&&S(Ft,t)?Rt[t]=Ft[t]:Rt[t]=Nt("Symbol."+t)),Rt[t]},It=Zt("species"),Lt=function(t,n){var r;return xt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!xt(r.prototype)?v(r)&&null===(r=r[It])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},_t=it("navigator","userAgent")||"",Dt=o.process,qt=Dt&&Dt.versions,Vt=qt&&qt.v8;Vt?tt=($=Vt.split("."))[0]+$[1]:_t&&(!($=_t.match(/Edge\/(\d+)/))||$[1]>=74)&&($=_t.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Kt,Bt=tt&&+tt,Gt=Zt("species"),Wt=Zt("isConcatSpreadable"),Ht=9007199254740991,Jt="Maximum allowed index exceeded",Qt=Bt>=51||!i((function(){var t=[];return t[Wt]=!1,t.concat()[0]!==t})),Ut=(Kt="concat",Bt>=51||!i((function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t[Kt](Boolean).foo}))),Yt=function(t){if(!v(t))return!1;var n=t[Wt];return void 0!==n?!!n:xt(t)};!function(t,n){var r,e,i,a,u,c=t.target,f=t.global,l=t.stat;if(r=f?o:l?o[c]||A(c,{}):(o[c]||{}).prototype)for(e in n){if(a=n[e],i=t.noTargetGet?(u=zt(r,e))&&u.value:r[e],!Tt(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;bt(a,i)}(t.sham||i&&i.sham)&&E(a,"sham",!0),rt(r,e,a,t)}}({target:"Array",proto:!0,forced:!Qt||!Ut},{concat:function(t){var n,r,e,o,i,a=Et(this),u=Lt(a,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(Yt(i=-1===n?a:arguments[n])){if(c+(o=lt(i.length))>Ht)throw TypeError(Jt);for(r=0;r<o;r++,c++)r in i&&At(u,c,i[r])}else{if(c>=Ht)throw TypeError(Jt);At(u,c++,i)}return u.length=c,u}}),t.fn.bootstrapTable.locales["sk-SK"]=t.fn.bootstrapTable.locales.sk={formatCopyRows:function(){return"Skopírovať riadky"},formatPrint:function(){return"Vytlačiť"},formatLoadingMessage:function(){return"Prosím čakajte"},formatRecordsPerPage:function(t){return"".concat(t," záznamov na stranu")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r," (filtered from ").concat(e," total rows)"):"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(r)},formatSRPaginationPreText:function(){return"Predchádzajúca strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"Nasledujúca strana"},formatDetailPagination:function(t){return"Zobrazuje sa ".concat(t," riadkov")},formatClearSearch:function(){return"Odstráň filtre"},formatSearch:function(){return"Vyhľadávanie"},formatNoMatches:function(){return"Nenájdená žiadna vyhovujúca položka"},formatPaginationSwitch:function(){return"Skry/Zobraz stránkovanie"},formatPaginationSwitchDown:function(){return"Zobraziť stránkovanie"},formatPaginationSwitchUp:function(){return"Skryť stránkovanie"},formatRefresh:function(){return"Obnoviť"},formatToggle:function(){return"Prepni"},formatToggleOn:function(){return"Zobraziť kartové zobrazenie"},formatToggleOff:function(){return"skryť kartové zobrazenie"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Prepnúť všetky"},formatFullscreen:function(){return"Celá obrazovka"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Automatické obnovenie"},formatExport:function(){return"Exportuj dáta"},formatJumpTo:function(){return"Ísť"},formatAdvancedSearch:function(){return"Pokročilé vyhľadávanie"},formatAdvancedCloseButton:function(){return"Zatvoriť"},formatFilterControlSwitch:function(){return"Zobraziť/Skryť tlačidlá"},formatFilterControlSwitchHide:function(){return"Skryť tlačidlá"},formatFilterControlSwitchShow:function(){return"Zobraziť tlačidlá"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sk-SK"])}));