UNPKG

9.06 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,f="object",a=function(t){return t&&t.Math==Math&&t},c=a(typeof globalThis==f&&globalThis)||a(typeof window==f&&window)||a(typeof self==f&&self)||a(typeof n==f&&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,d=Object.getOwnPropertyDescriptor,g={f:d&&!p.call({1:2},1)?function(t){var n=d(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,w=l((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==m(t)?v.call(t,""):Object(t)}:Object,b=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},S=function(t){return w(b(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,z={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(!g.f.call(t,n),t[n])}},k=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,C={f:s?_:function(t,n,r){if(k(t),n=P(n,!0),k(r),E)try{return _(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}},R=s?function(t,n,r){return C.f(t,n,y(1,r))}:function(t,n,r){return t[n]=r,t},L=function(t,n){try{R(c,t,n)}catch(r){c[t]=n}return n},N=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)"})})),F=N("native-function-to-string",Function.toString),I=c.WeakMap,D="function"==typeof I&&/native code/.test(F.call(I)),q=0,W=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++q+W).toString(36)},H=N("keys"),B={},K=c.WeakMap;if(D){var J=new K,Q=J.get,U=J.has,V=J.set;e=function(t,n){return V.call(J,t,n),n},o=function(t){return Q.call(J,t)||{}},i=function(t){return U.call(J,t)}}else{var Y=H[u="state"]||(H[u]=G(u));B[Y]=!0,e=function(t,n){return R(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(F).split("toString");N("inspectSource",(function(t){return F.call(t)})),(t.exports=function(t,n,o,i){var u=!!i&&!!i.unsafe,f=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof n||j(o,"name")||R(o,"name",n),r(o).source=e.join("string"==typeof n?n:"")),t!==c?(u?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=o:R(t,n,o)):f?t[n]=o:L(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||F.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},ft=Math.max,at=Math.min,ct=function(t){return function(n,r,e){var o,i=S(n),u=ut(i.length),f=function(t,n){var r=ot(t);return r<0?ft(r+n,0):at(r,n)}(e,u);if(t&&r!=r){for(;u>f;)if((o=i[f++])!=o)return!0}else for(;u>f;f++)if((t||f in i)&&i[f]===r)return t||f||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(B,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)}},dt={f:Object.getOwnPropertySymbols},gt=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(k(t)),r=dt.f;return r?n.concat(r(t)):n},yt=function(t,n){for(var r=gt(n),e=C.f,o=z.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=wt[vt(t)];return r==St||r!=bt&&("function"==typeof n?l(n):!!n)},vt=mt.normalize=function(t){return String(t).replace(ht,".").toLowerCase()},wt=mt.data={},bt=mt.NATIVE="N",St=mt.POLYFILL="P",Ot=mt,Pt=z.f,Tt=Array.isArray||function(t){return"Array"==m(t)},jt=function(t){return Object(b(t))},xt=function(t,n,r){var e=P(n);e in t?C.f(t,e,y(0,r)):t[e]=r},At=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),Et=c.Symbol,Mt=N("wks"),zt=function(t){return Mt[t]||(Mt[t]=At&&Et[t]||(At?Et:G)("Symbol."+t))},kt=zt("species"),_t=function(t,n){var r;return Tt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Tt(r.prototype)?O(r)&&null===(r=r[kt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Ct=zt("species"),Rt=zt("isConcatSpreadable"),Lt=!l((function(){var t=[];return t[Rt]=!1,t.concat()[0]!==t})),Nt=(X="concat",!l((function(){var t=[];return(t.constructor={})[Ct]=function(){return{foo:1}},1!==t[X](Boolean).foo}))),Ft=function(t){if(!O(t))return!1;var n=t[Rt];return void 0!==n?!!n:Tt(t)};!function(t,n){var r,e,o,i,u,f=t.target,a=t.global,l=t.stat;if(r=a?c:l?c[f]||L(f,{}):(c[f]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Pt(r,e))&&u.value:r[e],!Ot(a?e:f+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;yt(i,o)}(t.sham||o&&o.sham)&&R(i,"sham",!0),$(r,e,i,t)}}({target:"Array",proto:!0,forced:!Lt||!Nt},{concat:function(t){var n,r,e,o,i,u=jt(this),f=_t(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],Ft(i)){if(a+(o=ut(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,a++)r in i&&xt(f,a,i[r])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");xt(f,a++,i)}return f.length=a,f}}),t.fn.bootstrapTable.locales["pl-PL"]={formatLoadingMessage:function(){return"Ładowanie, proszę czekać"},formatRecordsPerPage:function(t){return"".concat(t," rekordów na stronę")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(r," (filtered from ").concat(e," total rows)"):"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").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"Clear Search"},formatSearch:function(){return"Szukaj"},formatNoMatches:function(){return"Niestety, nic nie znaleziono"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Odśwież"},formatToggle:function(){return"Przełącz"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolumny"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},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["pl-PL"])}));