UNPKG

9.76 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}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f={f:c&&!a.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:a},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},g=function(t){return d(m(t))},h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},w=function(t,n){if(!h(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!h(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,v=function(t,n){return b.call(t,n)},S=o.document,P=h(S)&&h(S.createElement),j=!u&&!i((function(){return 7!=Object.defineProperty((t="div",P?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),k=Object.getOwnPropertyDescriptor,O={f:u?k:function(t,n){if(t=g(t),n=w(n,!0),j)try{return k(t,n)}catch(t){}if(v(t,n))return l(!f.f.call(t,n),t[n])}},T=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,x={f:u?z:function(t,n,r){if(T(t),n=w(n,!0),T(r),j)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=u?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,{}),F=Function.toString;"function"!=typeof M.inspectSource&&(M.inspectSource=function(t){return F.call(t)});var R,L,N,W,I=M.inspectSource,_=o.WeakMap,D="function"==typeof _&&/native code/.test(I(_)),U=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)"})})),q=0,K=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++q+K).toString(36)},G=U("keys"),Z={},H=o.WeakMap;if(D){var J=new H,Q=J.get,V=J.has,Y=J.set;R=function(t,n){return Y.call(J,t,n),n},L=function(t){return Q.call(J,t)||{}},N=function(t){return V.call(J,t)}}else{var X=G[W="state"]||(G[W]=B(W));Z[X]=!0,R=function(t,n){return E(t,X,n),n},L=function(t){return v(t,X)?t[X]:{}},N=function(t){return v(t,X)}}var $,tt,nt={set:R,get:L,has:N,enforce:function(t){return N(t)?L(t):R(t,{})},getterFor:function(t){return function(n){var r;if(!h(n)||(r=L(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 a=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,f=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||v(i,"name")||E(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(a?!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||I(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,at=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?at:ut)(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=g(n),u=lt(i.length),a=function(t,n){var r=ct(t);return r<0?st(r+n,0):pt(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}},dt={includes:yt(!0),indexOf:yt(!1)}.indexOf,mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),gt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=g(t),o=0,i=[];for(r in e)!v(Z,r)&&v(e,r)&&i.push(r);for(;n.length>o;)v(e,r=n[o++])&&(~dt(i,r)||i.push(r));return i}(t,mt)}},ht={f:Object.getOwnPropertySymbols},wt=it("Reflect","ownKeys")||function(t){var n=gt.f(T(t)),r=ht.f;return r?n.concat(r(t)):n},bt=function(t,n){for(var r=wt(n),e=x.f,o=O.f,i=0;i<r.length;i++){var u=r[i];v(t,u)||e(t,u,o(n,u))}},vt=/#|\.prototype\./,St=function(t,n){var r=jt[Pt(t)];return r==Ot||r!=kt&&("function"==typeof n?i(n):!!n)},Pt=St.normalize=function(t){return String(t).replace(vt,".").toLowerCase()},jt=St.data={},kt=St.NATIVE="N",Ot=St.POLYFILL="P",Tt=St,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=w(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(),Ft=U("wks"),Rt=o.Symbol,Lt=Mt?Rt:B,Nt=function(t){return v(Ft,t)||(Ct&&v(Rt,t)?Ft[t]=Rt[t]:Ft[t]=Lt("Symbol."+t)),Ft[t]},Wt=Nt("species"),It=function(t,n){var r;return xt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!xt(r.prototype)?h(r)&&null===(r=r[Wt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},_t=it("navigator","userAgent")||"",Dt=o.process,Ut=Dt&&Dt.versions,qt=Ut&&Ut.v8;qt?tt=($=qt.split("."))[0]+$[1]:_t&&(!($=_t.match(/Edge\/(\d+)/))||$[1]>=74)&&($=_t.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Kt,Bt=tt&&+tt,Gt=Nt("species"),Zt=Nt("isConcatSpreadable"),Ht=9007199254740991,Jt="Maximum allowed index exceeded",Qt=Bt>=51||!i((function(){var t=[];return t[Zt]=!1,t.concat()[0]!==t})),Vt=(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(!h(t))return!1;var n=t[Zt];return void 0!==n?!!n:xt(t)};!function(t,n){var r,e,i,u,a,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(u=n[e],i=t.noTargetGet?(a=zt(r,e))&&a.value:r[e],!Tt(f?e:c+(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||!Vt},{concat:function(t){var n,r,e,o,i,u=Et(this),a=It(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(Yt(i=-1===n?u:arguments[n])){if(c+(o=lt(i.length))>Ht)throw TypeError(Jt);for(r=0;r<o;r++,c++)r in i&&At(a,c,i[r])}else{if(c>=Ht)throw TypeError(Jt);At(a,c++,i)}return a.length=c,a}}),t.fn.bootstrapTable.locales["pl-PL"]=t.fn.bootstrapTable.locales.pl={formatCopyRows:function(){return"Kopiuj wiersze"},formatPrint:function(){return"Print"},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"poprzednia strona"},formatSRPaginationPageText:function(t){return"z ".concat(t)},formatSRPaginationNextText:function(){return"następna strona"},formatDetailPagination:function(t){return"Wyświetla ".concat(t," wierszy")},formatClearSearch:function(){return"Wyczyść wyszukiwanie"},formatSearch:function(){return"Szukaj"},formatNoMatches:function(){return"Niestety, nic nie znaleziono"},formatPaginationSwitch:function(){return"Pokaż/ukryj stronicowanie"},formatPaginationSwitchDown:function(){return"Pokaż stronicowanie"},formatPaginationSwitchUp:function(){return"Ukryj stronicowanie"},formatRefresh:function(){return"Odśwież"},formatToggle:function(){return"Przełącz"},formatToggleOn:function(){return"Pokaż układ karty"},formatToggleOff:function(){return"Ukryj układ karty"},formatColumns:function(){return"Kolumny"},formatColumnsToggleAll:function(){return"Zaznacz wszystko"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Wszystkie"},formatAutoRefresh:function(){return"Auto odświeżanie"},formatExport:function(){return"Eksport danych"},formatJumpTo:function(){return"Przejdź"},formatAdvancedSearch:function(){return"Wyszukiwanie zaawansowane"},formatAdvancedCloseButton:function(){return"Zamknij"},formatFilterControlSwitch:function(){return"Pokaż/Ukryj"},formatFilterControlSwitchHide:function(){return"Pokaż"},formatFilterControlSwitchShow:function(){return"Ukryj"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["pl-PL"])}));