UNPKG

9.09 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",c=function(t){return t&&t.Math==Math&&t},f=c(typeof globalThis==a&&globalThis)||c(typeof window==a&&window)||c(typeof self==a&&self)||c(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,y={f:g&&!p.call({1:2},1)?function(t){var n=g(this,t);return!!n&&n.enumerable}:p},d=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")},j={}.hasOwnProperty,T=function(t,n){return j.call(t,n)},x=f.document,k=O(x)&&O(x.createElement),A=!s&&!l((function(){return 7!=Object.defineProperty((t="div",k?x.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),E=Object.getOwnPropertyDescriptor,M={f:s?E:function(t,n){if(t=S(t),n=P(n,!0),A)try{return E(t,n)}catch(t){}if(T(t,n))return d(!y.f.call(t,n),t[n])}},_=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,R={f:s?z:function(t,n,r){if(_(t),n=P(n,!0),_(r),A)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}},C=s?function(t,n,r){return R.f(t,n,d(1,r))}:function(t,n,r){return t[n]=r,t},N=function(t,n){try{C(f,t,n)}catch(r){f[t]=n}return n},F=r((function(t){var n=f["__core-js_shared__"]||N("__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=F("native-function-to-string",Function.toString),L=f.WeakMap,D="function"==typeof L&&/native code/.test(I.call(L)),q=0,G=Math.random(),K=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++q+G).toString(36)},V=F("keys"),Z={},B=f.WeakMap;if(D){var H=new B,W=H.get,J=H.has,Q=H.set;e=function(t,n){return Q.call(H,t,n),n},o=function(t){return W.call(H,t)||{}},i=function(t){return J.call(H,t)}}else{var U=V[u="state"]||(V[u]=K(u));Z[U]=!0,e=function(t,n){return C(t,U,n),n},o=function(t){return T(t,U)?t[U]:{}},i=function(t){return T(t,U)}}var Y,X={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=X.get,r=X.enforce,e=String(I).split("toString");F("inspectSource",(function(t){return I.call(t)})),(t.exports=function(t,n,o,i){var u=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof n||T(o,"name")||C(o,"name",n),r(o).source=e.join("string"==typeof n?n:"")),t!==f?(u?!c&&t[n]&&(a=!0):delete t[n],a?t[n]=o:C(t,n,o)):a?t[n]=o:N(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||I.call(this)}))})),tt=f,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,ct=Math.min,ft=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):ct(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:ft(!0),indexOf:ft(!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)!T(Z,r)&&T(e,r)&&i.push(r);for(;n.length>o;)T(e,r=n[o++])&&(~lt(i,r)||i.push(r));return i}(t,st)}},gt={f:Object.getOwnPropertySymbols},yt=function(t,n){return arguments.length<2?nt(tt[t])||nt(f[t]):tt[t]&&tt[t][n]||f[t]&&f[t][n]}("Reflect","ownKeys")||function(t){var n=pt.f(_(t)),r=gt.f;return r?n.concat(r(t)):n},dt=function(t,n){for(var r=yt(n),e=R.f,o=M.f,i=0;i<r.length;i++){var u=r[i];T(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=M.f,jt=Array.isArray||function(t){return"Array"==m(t)},Tt=function(t){return Object(w(t))},xt=function(t,n,r){var e=P(n);e in t?R.f(t,e,d(0,r)):t[e]=r},kt=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),At=f.Symbol,Et=F("wks"),Mt=function(t){return Et[t]||(Et[t]=kt&&At[t]||(kt?At:K)("Symbol."+t))},_t=Mt("species"),zt=function(t,n){var r;return jt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!jt(r.prototype)?O(r)&&null===(r=r[_t])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Rt=Mt("species"),Ct=Mt("isConcatSpreadable"),Nt=!l((function(){var t=[];return t[Ct]=!1,t.concat()[0]!==t})),Ft=(Y="concat",!l((function(){var t=[];return(t.constructor={})[Rt]=function(){return{foo:1}},1!==t[Y](Boolean).foo}))),It=function(t){if(!O(t))return!1;var n=t[Ct];return void 0!==n?!!n:jt(t)};!function(t,n){var r,e,o,i,u,a=t.target,c=t.global,l=t.stat;if(r=c?f:l?f[a]||N(a,{}):(f[a]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Pt(r,e))&&u.value:r[e],!Ot(c?e:a+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;dt(i,o)}(t.sham||o&&o.sham)&&C(i,"sham",!0),$(r,e,i,t)}}({target:"Array",proto:!0,forced:!Nt||!Ft},{concat:function(t){var n,r,e,o,i,u=Tt(this),a=zt(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],It(i)){if(c+(o=ut(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in i&&xt(a,c,i[r])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");xt(a,c++,i)}return a.length=c,a}}),t.fn.bootstrapTable.locales["sk-SK"]={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"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sk-SK"])}));