UNPKG

9.69 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.0
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}},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)},y="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return g(h(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!m(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!m(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!m(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!m(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=m(S)&&m(S.createElement),j=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:u?P:function(t,n){if(t=d(t),n=v(n,!0),j)try{return P(t,n)}catch(t){}if(w(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,A={f:u?k:function(t,n,r){if(x(t),n=v(n,!0),x(r),j)try{return k(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=u?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},M="__core-js_shared__",R=o[M]||C(M,{}),z=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(t){return z.call(t)});var F,N,I,L,_=R.inspectSource,D=o.WeakMap,H="function"==typeof D&&/native code/.test(_(D)),q=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)"})})),G=0,K=Math.random(),V=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++G+K).toString(36)},Z=q("keys"),B={},W=o.WeakMap;if(H){var J=new W,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)||{}},I=function(t){return U.call(J,t)}}else{var X=Z[L="state"]||(Z[L]=V(L));B[X]=!0,F=function(t,n){return E(t,X,n),n},N=function(t){return w(t,X)?t[X]:{}},I=function(t){return w(t,X)}}var $,tt,nt={set:F,get:N,has:I,enforce:function(t){return I(t)?N(t):F(t,{})},getterFor:function(t){return function(n){var r;if(!m(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,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,a=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||E(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(c?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=i:E(t,n,i)):f?t[n]=i:C(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||_(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]},ut=Math.ceil,ct=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?ct:ut)(t)},at=Math.min,lt=function(t){return t>0?at(ft(t),9007199254740991):0},st=Math.max,pt=Math.min,yt=function(t){return function(n,r,e){var o,i=d(n),u=lt(i.length),c=function(t,n){var r=ft(t);return r<0?st(r+n,0):pt(r,n)}(e,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},gt={includes:yt(!0),indexOf:yt(!1)}.indexOf,ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=d(t),o=0,i=[];for(r in e)!w(B,r)&&w(e,r)&&i.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~gt(i,r)||i.push(r));return i}(t,ht)}},mt={f:Object.getOwnPropertySymbols},vt=it("Reflect","ownKeys")||function(t){var n=dt.f(x(t)),r=mt.f;return r?n.concat(r(t)):n},bt=function(t,n){for(var r=vt(n),e=A.f,o=T.f,i=0;i<r.length;i++){var u=r[i];w(t,u)||e(t,u,o(n,u))}},wt=/#|\.prototype\./,St=function(t,n){var r=jt[Ot(t)];return r==Tt||r!=Pt&&("function"==typeof n?i(n):!!n)},Ot=St.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},jt=St.data={},Pt=St.NATIVE="N",Tt=St.POLYFILL="P",xt=St,kt=T.f,At=Array.isArray||function(t){return"Array"==p(t)},Et=function(t){return Object(h(t))},Ct=function(t,n,r){var e=v(n);e in t?A.f(t,e,l(0,r)):t[e]=r},Mt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Rt=Mt&&!Symbol.sham&&"symbol"==typeof Symbol(),zt=q("wks"),Ft=o.Symbol,Nt=Rt?Ft:V,It=function(t){return w(zt,t)||(Mt&&w(Ft,t)?zt[t]=Ft[t]:zt[t]=Nt("Symbol."+t)),zt[t]},Lt=It("species"),_t=function(t,n){var r;return At(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!At(r.prototype)?m(r)&&null===(r=r[Lt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Dt=it("navigator","userAgent")||"",Ht=o.process,qt=Ht&&Ht.versions,Gt=qt&&qt.v8;Gt?tt=($=Gt.split("."))[0]+$[1]:Dt&&(!($=Dt.match(/Edge\/(\d+)/))||$[1]>=74)&&($=Dt.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Kt,Vt=tt&&+tt,Zt=It("species"),Bt=It("isConcatSpreadable"),Wt=9007199254740991,Jt="Maximum allowed index exceeded",Qt=Vt>=51||!i((function(){var t=[];return t[Bt]=!1,t.concat()[0]!==t})),Ut=(Kt="concat",Vt>=51||!i((function(){var t=[];return(t.constructor={})[Zt]=function(){return{foo:1}},1!==t[Kt](Boolean).foo}))),Yt=function(t){if(!m(t))return!1;var n=t[Bt];return void 0!==n?!!n:At(t)};!function(t,n){var r,e,i,u,c,f=t.target,a=t.global,l=t.stat;if(r=a?o:l?o[f]||C(f,{}):(o[f]||{}).prototype)for(e in n){if(u=n[e],i=t.noTargetGet?(c=kt(r,e))&&c.value:r[e],!xt(a?e:f+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;bt(u,i)}(t.sham||i&&i.sham)&&E(u,"sham",!0),rt(r,e,u,t)}}({target:"Array",proto:!0,forced:!Qt||!Ut},{concat:function(t){var n,r,e,o,i,u=Et(this),c=_t(u,0),f=0;for(n=-1,e=arguments.length;n<e;n++)if(Yt(i=-1===n?u:arguments[n])){if(f+(o=lt(i.length))>Wt)throw TypeError(Jt);for(r=0;r<o;r++,f++)r in i&&Ct(c,f,i[r])}else{if(f>=Wt)throw TypeError(Jt);Ct(c,f++,i)}return c.length=f,c}}),t.fn.bootstrapTable.locales["sk-SK"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},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"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"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"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Obnoviť"},formatToggle:function(){return"Prepni"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Exportuj dáta"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sk-SK"])}));