UNPKG

13.3 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.20.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="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=n(t),e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t,n){return t(n={exports:{}},n.exports),n.exports}var i,u,c=function(t){return t&&t.Math==Math&&t},a=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof e&&e)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},l=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=Function.prototype.call,g=s?p.bind(p):function(){return p.apply(p,arguments)},y={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,d={f:m&&!y.call({1:2},1)?function(t){var n=m(this,t);return!!n&&n.enumerable}:y},h=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},b=Function.prototype,v=b.bind,w=b.call,S=s&&v.bind(w,w),O=s?function(t){return t&&S(t)}:function(t){return t&&function(){return w.apply(t,arguments)}},j=O({}.toString),P=O("".slice),T=function(t){return P(j(t),8,-1)},E=a.Object,x=O("".split),k=f((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"==T(t)?x(t,""):E(t)}:E,A=a.TypeError,C=function(t){if(null==t)throw A("Can't call method on "+t);return t},F=function(t){return k(C(t))},R=function(t){return"function"==typeof t},M=function(t){return"object"==typeof t?null!==t:R(t)},N=function(t){return R(t)?t:void 0},I=function(t,n){return arguments.length<2?N(a[t]):a[t]&&a[t][n]},L=O({}.isPrototypeOf),z=I("navigator","userAgent")||"",D=a.process,G=a.Deno,_=D&&D.versions||G&&G.version,H=_&&_.v8;H&&(u=(i=H.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!u&&z&&(!(i=z.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=z.match(/Chrome\/(\d+)/))&&(u=+i[1]);var q=u,B=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&q&&q<41})),U=B&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,V=a.Object,K=U?function(t){return"symbol"==typeof t}:function(t){var n=I("Symbol");return R(n)&&L(n.prototype,V(t))},W=a.String,J=a.TypeError,Q=function(t){if(R(t))return t;throw J(function(t){try{return W(t)}catch(t){return"Object"}}(t)+" is not a function")},X=a.TypeError,Y=Object.defineProperty,$=function(t,n){try{Y(a,t,{value:n,configurable:!0,writable:!0})}catch(r){a[t]=n}return n},Z="__core-js_shared__",tt=a[Z]||$(Z,{}),nt=o((function(t){(t.exports=function(t,n){return tt[t]||(tt[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.22.4",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})})),rt=a.Object,et=function(t){return rt(C(t))},ot=O({}.hasOwnProperty),it=Object.hasOwn||function(t,n){return ot(et(t),n)},ut=0,ct=Math.random(),at=O(1..toString),ft=function(t){return"Symbol("+(void 0===t?"":t)+")_"+at(++ut+ct,36)},lt=nt("wks"),st=a.Symbol,pt=st&&st.for,gt=U?st:st&&st.withoutSetter||ft,yt=function(t){if(!it(lt,t)||!B&&"string"!=typeof lt[t]){var n="Symbol."+t;B&&it(st,t)?lt[t]=st[t]:lt[t]=U&&pt?pt(n):gt(n)}return lt[t]},mt=a.TypeError,dt=yt("toPrimitive"),ht=function(t,n){if(!M(t)||K(t))return t;var r,e,o=null==(r=t[dt])?void 0:Q(r);if(o){if(void 0===n&&(n="default"),e=g(o,t,n),!M(e)||K(e))return e;throw mt("Can't convert object to primitive value")}return void 0===n&&(n="number"),function(t,n){var r,e;if("string"===n&&R(r=t.toString)&&!M(e=g(r,t)))return e;if(R(r=t.valueOf)&&!M(e=g(r,t)))return e;if("string"!==n&&R(r=t.toString)&&!M(e=g(r,t)))return e;throw X("Can't convert object to primitive value")}(t,n)},bt=function(t){var n=ht(t,"string");return K(n)?n:n+""},vt=a.document,wt=M(vt)&&M(vt.createElement),St=!l&&!f((function(){return 7!=Object.defineProperty((t="div",wt?vt.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),Ot=Object.getOwnPropertyDescriptor,jt={f:l?Ot:function(t,n){if(t=F(t),n=bt(n),St)try{return Ot(t,n)}catch(t){}if(it(t,n))return h(!g(d.f,t,n),t[n])}},Pt=l&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=a.String,Et=a.TypeError,xt=function(t){if(M(t))return t;throw Et(Tt(t)+" is not an object")},kt=a.TypeError,At=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,Ft="enumerable",Rt="configurable",Mt="writable",Nt={f:l?Pt?function(t,n,r){if(xt(t),n=bt(n),xt(r),"function"==typeof t&&"prototype"===n&&"value"in r&&Mt in r&&!r.writable){var e=Ct(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:Rt in r?r.configurable:e.configurable,enumerable:Ft in r?r.enumerable:e.enumerable,writable:!1})}return At(t,n,r)}:At:function(t,n,r){if(xt(t),n=bt(n),xt(r),St)try{return At(t,n,r)}catch(t){}if("get"in r||"set"in r)throw kt("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},It=l?function(t,n,r){return Nt.f(t,n,h(1,r))}:function(t,n,r){return t[n]=r,t},Lt=Function.prototype,zt=l&&Object.getOwnPropertyDescriptor,Dt=it(Lt,"name"),Gt={EXISTS:Dt,PROPER:Dt&&"something"===function(){}.name,CONFIGURABLE:Dt&&(!l||l&&zt(Lt,"name").configurable)},_t=O(Function.toString);R(tt.inspectSource)||(tt.inspectSource=function(t){return _t(t)});var Ht,qt,Bt,Ut,Vt=tt.inspectSource,Kt=a.WeakMap,Wt=R(Kt)&&/native code/.test(Vt(Kt)),Jt=nt("keys"),Qt={},Xt="Object already initialized",Yt=a.TypeError,$t=a.WeakMap;if(Wt||tt.state){var Zt=tt.state||(tt.state=new $t),tn=O(Zt.get),nn=O(Zt.has),rn=O(Zt.set);Ht=function(t,n){if(nn(Zt,t))throw new Yt(Xt);return n.facade=t,rn(Zt,t,n),n},qt=function(t){return tn(Zt,t)||{}},Bt=function(t){return nn(Zt,t)}}else{var en=Jt[Ut="state"]||(Jt[Ut]=ft(Ut));Qt[en]=!0,Ht=function(t,n){if(it(t,en))throw new Yt(Xt);return n.facade=t,It(t,en,n),n},qt=function(t){return it(t,en)?t[en]:{}},Bt=function(t){return it(t,en)}}var on={set:Ht,get:qt,has:Bt,enforce:function(t){return Bt(t)?qt(t):Ht(t,{})},getterFor:function(t){return function(n){var r;if(!M(n)||(r=qt(n)).type!==t)throw Yt("Incompatible receiver, "+t+" required");return r}}},un=o((function(t){var n=Nt.f,r=Gt.CONFIGURABLE,e=on.enforce,o=on.get,i=!f((function(){return 8!==n((function(){}),"length",{value:8}).length})),u=String(String).split("String"),c=t.exports=function(t,o,c){"Symbol("===String(o).slice(0,7)&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),c&&c.getter&&(o="get "+o),c&&c.setter&&(o="set "+o),(!it(t,"name")||r&&t.name!==o)&&n(t,"name",{value:o,configurable:!0}),i&&c&&it(c,"arity")&&t.length!==c.arity&&n(t,"length",{value:c.arity});var a=e(t);return it(a,"source")||(a.source=u.join("string"==typeof o?o:"")),t};Function.prototype.toString=c((function(){return R(this)&&o(this).source||Vt(this)}),"toString")})),cn=function(t,n,r,e){var o=!!e&&!!e.unsafe,i=!!e&&!!e.enumerable,u=!!e&&!!e.noTargetGet,c=e&&void 0!==e.name?e.name:n;return R(r)&&un(r,c,e),t===a?(i?t[n]=r:$(n,r),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=r:It(t,n,r),t)},an=Math.ceil,fn=Math.floor,ln=function(t){var n=+t;return n!=n||0===n?0:(n>0?fn:an)(n)},sn=Math.max,pn=Math.min,gn=Math.min,yn=function(t){return(n=t.length)>0?gn(ln(n),9007199254740991):0;var n},mn=function(t){return function(n,r,e){var o,i=F(n),u=yn(i),c=function(t,n){var r=ln(t);return r<0?sn(r+n,0):pn(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}},dn={includes:mn(!0),indexOf:mn(!1)}.indexOf,hn=O([].push),bn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vn=Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=F(t),o=0,i=[];for(r in e)!it(Qt,r)&&it(e,r)&&hn(i,r);for(;n.length>o;)it(e,r=n[o++])&&(~dn(i,r)||hn(i,r));return i}(t,bn)},wn={f:vn},Sn={f:Object.getOwnPropertySymbols},On=O([].concat),jn=I("Reflect","ownKeys")||function(t){var n=wn.f(xt(t)),r=Sn.f;return r?On(n,r(t)):n},Pn=function(t,n,r){for(var e=jn(n),o=Nt.f,i=jt.f,u=0;u<e.length;u++){var c=e[u];it(t,c)||r&&it(r,c)||o(t,c,i(n,c))}},Tn=/#|\.prototype\./,En=function(t,n){var r=kn[xn(t)];return r==Cn||r!=An&&(R(n)?f(n):!!n)},xn=En.normalize=function(t){return String(t).replace(Tn,".").toLowerCase()},kn=En.data={},An=En.NATIVE="N",Cn=En.POLYFILL="P",Fn=En,Rn=jt.f,Mn=Array.isArray||function(t){return"Array"==T(t)},Nn=function(t,n,r){var e=bt(n);e in t?Nt.f(t,e,h(0,r)):t[e]=r},In={};In[yt("toStringTag")]="z";var Ln="[object z]"===String(In),zn=yt("toStringTag"),Dn=a.Object,Gn="Arguments"==T(function(){return arguments}()),_n=Ln?T:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Dn(t),zn))?r:Gn?T(n):"Object"==(e=T(n))&&R(n.callee)?"Arguments":e},Hn=function(){},qn=[],Bn=I("Reflect","construct"),Un=/^\s*(?:class|function)\b/,Vn=O(Un.exec),Kn=!Un.exec(Hn),Wn=function(t){if(!R(t))return!1;try{return Bn(Hn,qn,t),!0}catch(t){return!1}},Jn=function(t){if(!R(t))return!1;switch(_n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Kn||!!Vn(Un,Vt(t))}catch(t){return!0}};Jn.sham=!0;var Qn,Xn=!Bn||f((function(){var t;return Wn(Wn.call)||!Wn(Object)||!Wn((function(){t=!0}))||t}))?Jn:Wn,Yn=yt("species"),$n=a.Array,Zn=function(t,n){return new(function(t){var n;return Mn(t)&&(n=t.constructor,(Xn(n)&&(n===$n||Mn(n.prototype))||M(n)&&null===(n=n[Yn]))&&(n=void 0)),void 0===n?$n:n}(t))(0===n?0:n)},tr=yt("species"),nr=yt("isConcatSpreadable"),rr=9007199254740991,er="Maximum allowed index exceeded",or=a.TypeError,ir=q>=51||!f((function(){var t=[];return t[nr]=!1,t.concat()[0]!==t})),ur=(Qn="concat",q>=51||!f((function(){var t=[];return(t.constructor={})[tr]=function(){return{foo:1}},1!==t[Qn](Boolean).foo}))),cr=function(t){if(!M(t))return!1;var n=t[nr];return void 0!==n?!!n:Mn(t)};!function(t,n){var r,e,o,i,u,c=t.target,f=t.global,l=t.stat;if(r=f?a:l?a[c]||$(c,{}):(a[c]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Rn(r,e))&&u.value:r[e],!Fn(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Pn(i,o)}(t.sham||o&&o.sham)&&It(i,"sham",!0),cn(r,e,i,t)}}({target:"Array",proto:!0,arity:1,forced:!ir||!ur},{concat:function(t){var n,r,e,o,i,u=et(this),c=Zn(u,0),a=0;for(n=-1,e=arguments.length;n<e;n++)if(cr(i=-1===n?u:arguments[n])){if(a+(o=yn(i))>rr)throw or(er);for(r=0;r<o;r++,a++)r in i&&Nn(c,a,i[r])}else{if(a>=rr)throw or(er);Nn(c,a++,i)}return c.length=a,c}}),r.default.fn.bootstrapTable.locales["et-EE"]=r.default.fn.bootstrapTable.locales.et={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Päring käib, palun oota"},formatRecordsPerPage:function(t){return"".concat(t," rida lehe kohta")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(r," tulemust (filtered from ").concat(e," total rows)"):"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(r," tulemust")},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"Otsi"},formatNoMatches:function(){return"Päringu tingimustele ei vastanud ühtegi tulemust"},formatPaginationSwitch:function(){return"Näita/Peida lehtedeks jagamine"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Värskenda"},formatToggle:function(){return"Lülita"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Veerud"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Kõik"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},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"}},r.default.extend(r.default.fn.bootstrapTable.defaults,r.default.fn.bootstrapTable.locales["et-EE"])}));