UNPKG

bootstrap-table

Version:

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

11 lines (9 loc) 14.4 kB
/** * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) * * @version v1.20.2 * @homepage https://bootstrap-table.com * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/) * @license MIT */ !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(t),e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||function(){return this}()||Function("return this")(),u={},a=function(t){try{return!!t()}catch(t){return!0}},c=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=f,s=Function.prototype.call,p=l?s.bind(s):function(){return s.apply(s,arguments)},g={},y={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,d=m&&!y.call({1:2},1);g.f=d?function(t){var r=m(this,t);return!!r&&r.enumerable}:y;var b,v,h=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},w=f,S=Function.prototype,O=S.bind,j=S.call,P=w&&O.bind(j,j),T=w?function(t){return t&&P(t)}:function(t){return t&&function(){return j.apply(t,arguments)}},C=T,x=C({}.toString),E=C("".slice),M=function(t){return E(x(t),8,-1)},A=T,F=a,R=M,I=i.Object,L=A("".split),N=F((function(){return!I("z").propertyIsEnumerable(0)}))?function(t){return"String"==R(t)?L(t,""):I(t)}:I,z=i.TypeError,k=function(t){if(null==t)throw z("Can't call method on "+t);return t},D=N,q=k,B=function(t){return D(q(t))},G=function(t){return"function"==typeof t},_=G,U=function(t){return"object"==typeof t?null!==t:_(t)},W=i,H=G,J=function(t){return H(t)?t:void 0},K=function(t,r){return arguments.length<2?J(W[t]):W[t]&&W[t][r]},Q=T({}.isPrototypeOf),V=i,X=K("navigator","userAgent")||"",Y=V.process,$=V.Deno,Z=Y&&Y.versions||$&&$.version,tt=Z&&Z.v8;tt&&(v=(b=tt.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&X&&(!(b=X.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=X.match(/Chrome\/(\d+)/))&&(v=+b[1]);var rt=v,nt=rt,et=a,ot=!!Object.getOwnPropertySymbols&&!et((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&nt&&nt<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=K,at=G,ct=Q,ft=it,lt=i.Object,st=ft?function(t){return"symbol"==typeof t}:function(t){var r=ut("Symbol");return at(r)&&ct(r.prototype,lt(t))},pt=i.String,gt=G,yt=function(t){try{return pt(t)}catch(t){return"Object"}},mt=i.TypeError,dt=function(t){if(gt(t))return t;throw mt(yt(t)+" is not a function")},bt=p,vt=G,ht=U,wt=i.TypeError,St={exports:{}},Ot=i,jt=Object.defineProperty,Pt=function(t,r){try{jt(Ot,t,{value:r,configurable:!0,writable:!0})}catch(n){Ot[t]=r}return r},Tt=Pt,Ct="__core-js_shared__",xt=i[Ct]||Tt(Ct,{}),Et=xt;(St.exports=function(t,r){return Et[t]||(Et[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Mt=k,At=i.Object,Ft=function(t){return At(Mt(t))},Rt=Ft,It=T({}.hasOwnProperty),Lt=Object.hasOwn||function(t,r){return It(Rt(t),r)},Nt=T,zt=0,kt=Math.random(),Dt=Nt(1..toString),qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Dt(++zt+kt,36)},Bt=i,Gt=St.exports,_t=Lt,Ut=qt,Wt=ot,Ht=it,Jt=Gt("wks"),Kt=Bt.Symbol,Qt=Kt&&Kt.for,Vt=Ht?Kt:Kt&&Kt.withoutSetter||Ut,Xt=function(t){if(!_t(Jt,t)||!Wt&&"string"!=typeof Jt[t]){var r="Symbol."+t;Wt&&_t(Kt,t)?Jt[t]=Kt[t]:Jt[t]=Ht&&Qt?Qt(r):Vt(r)}return Jt[t]},Yt=p,$t=U,Zt=st,tr=function(t,r){var n=t[r];return null==n?void 0:dt(n)},rr=function(t,r){var n,e;if("string"===r&&vt(n=t.toString)&&!ht(e=bt(n,t)))return e;if(vt(n=t.valueOf)&&!ht(e=bt(n,t)))return e;if("string"!==r&&vt(n=t.toString)&&!ht(e=bt(n,t)))return e;throw wt("Can't convert object to primitive value")},nr=Xt,er=i.TypeError,or=nr("toPrimitive"),ir=function(t,r){if(!$t(t)||Zt(t))return t;var n,e=tr(t,or);if(e){if(void 0===r&&(r="default"),n=Yt(e,t,r),!$t(n)||Zt(n))return n;throw er("Can't convert object to primitive value")}return void 0===r&&(r="number"),rr(t,r)},ur=st,ar=function(t){var r=ir(t,"string");return ur(r)?r:r+""},cr=U,fr=i.document,lr=cr(fr)&&cr(fr.createElement),sr=function(t){return lr?fr.createElement(t):{}},pr=!c&&!a((function(){return 7!=Object.defineProperty(sr("div"),"a",{get:function(){return 7}}).a})),gr=c,yr=p,mr=g,dr=h,br=B,vr=ar,hr=Lt,wr=pr,Sr=Object.getOwnPropertyDescriptor;u.f=gr?Sr:function(t,r){if(t=br(t),r=vr(r),wr)try{return Sr(t,r)}catch(t){}if(hr(t,r))return dr(!yr(mr.f,t,r),t[r])};var Or={},jr=c&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Pr=i,Tr=U,Cr=Pr.String,xr=Pr.TypeError,Er=function(t){if(Tr(t))return t;throw xr(Cr(t)+" is not an object")},Mr=c,Ar=pr,Fr=jr,Rr=Er,Ir=ar,Lr=i.TypeError,Nr=Object.defineProperty,zr=Object.getOwnPropertyDescriptor,kr="enumerable",Dr="configurable",qr="writable";Or.f=Mr?Fr?function(t,r,n){if(Rr(t),r=Ir(r),Rr(n),"function"==typeof t&&"prototype"===r&&"value"in n&&qr in n&&!n.writable){var e=zr(t,r);e&&e.writable&&(t[r]=n.value,n={configurable:Dr in n?n.configurable:e.configurable,enumerable:kr in n?n.enumerable:e.enumerable,writable:!1})}return Nr(t,r,n)}:Nr:function(t,r,n){if(Rr(t),r=Ir(r),Rr(n),Ar)try{return Nr(t,r,n)}catch(t){}if("get"in n||"set"in n)throw Lr("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var Br=Or,Gr=h,_r=c?function(t,r,n){return Br.f(t,r,Gr(1,n))}:function(t,r,n){return t[r]=n,t},Ur={exports:{}},Wr=c,Hr=Lt,Jr=Function.prototype,Kr=Wr&&Object.getOwnPropertyDescriptor,Qr=Hr(Jr,"name"),Vr={EXISTS:Qr,PROPER:Qr&&"something"===function(){}.name,CONFIGURABLE:Qr&&(!Wr||Wr&&Kr(Jr,"name").configurable)},Xr=G,Yr=xt,$r=T(Function.toString);Xr(Yr.inspectSource)||(Yr.inspectSource=function(t){return $r(t)});var Zr,tn,rn,nn=Yr.inspectSource,en=G,on=nn,un=i.WeakMap,an=en(un)&&/native code/.test(on(un)),cn=St.exports,fn=qt,ln=cn("keys"),sn={},pn=an,gn=i,yn=T,mn=U,dn=_r,bn=Lt,vn=xt,hn=function(t){return ln[t]||(ln[t]=fn(t))},wn=sn,Sn="Object already initialized",On=gn.TypeError,jn=gn.WeakMap;if(pn||vn.state){var Pn=vn.state||(vn.state=new jn),Tn=yn(Pn.get),Cn=yn(Pn.has),xn=yn(Pn.set);Zr=function(t,r){if(Cn(Pn,t))throw new On(Sn);return r.facade=t,xn(Pn,t,r),r},tn=function(t){return Tn(Pn,t)||{}},rn=function(t){return Cn(Pn,t)}}else{var En=hn("state");wn[En]=!0,Zr=function(t,r){if(bn(t,En))throw new On(Sn);return r.facade=t,dn(t,En,r),r},tn=function(t){return bn(t,En)?t[En]:{}},rn=function(t){return bn(t,En)}}var Mn={set:Zr,get:tn,has:rn,enforce:function(t){return rn(t)?tn(t):Zr(t,{})},getterFor:function(t){return function(r){var n;if(!mn(r)||(n=tn(r)).type!==t)throw On("Incompatible receiver, "+t+" required");return n}}},An=a,Fn=G,Rn=Lt,In=c,Ln=Vr.CONFIGURABLE,Nn=nn,zn=Mn.enforce,kn=Mn.get,Dn=Object.defineProperty,qn=In&&!An((function(){return 8!==Dn((function(){}),"length",{value:8}).length})),Bn=String(String).split("String"),Gn=Ur.exports=function(t,r,n){if("Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!Rn(t,"name")||Ln&&t.name!==r)&&Dn(t,"name",{value:r,configurable:!0}),qn&&n&&Rn(n,"arity")&&t.length!==n.arity&&Dn(t,"length",{value:n.arity}),n&&Rn(n,"constructor")&&n.constructor){if(In)try{Dn(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var e=zn(t);return Rn(e,"source")||(e.source=Bn.join("string"==typeof r?r:"")),t};Function.prototype.toString=Gn((function(){return Fn(this)&&kn(this).source||Nn(this)}),"toString");var _n=i,Un=G,Wn=_r,Hn=Ur.exports,Jn=Pt,Kn={},Qn=Math.ceil,Vn=Math.floor,Xn=function(t){var r=+t;return r!=r||0===r?0:(r>0?Vn:Qn)(r)},Yn=Xn,$n=Math.max,Zn=Math.min,te=Xn,re=Math.min,ne=function(t){return t>0?re(te(t),9007199254740991):0},ee=function(t){return ne(t.length)},oe=B,ie=function(t,r){var n=Yn(t);return n<0?$n(n+r,0):Zn(n,r)},ue=ee,ae=function(t){return function(r,n,e){var o,i=oe(r),u=ue(i),a=ie(e,u);if(t&&n!=n){for(;u>a;)if((o=i[a++])!=o)return!0}else for(;u>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},ce={includes:ae(!0),indexOf:ae(!1)},fe=Lt,le=B,se=ce.indexOf,pe=sn,ge=T([].push),ye=function(t,r){var n,e=le(t),o=0,i=[];for(n in e)!fe(pe,n)&&fe(e,n)&&ge(i,n);for(;r.length>o;)fe(e,n=r[o++])&&(~se(i,n)||ge(i,n));return i},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");Kn.f=Object.getOwnPropertyNames||function(t){return ye(t,me)};var de={};de.f=Object.getOwnPropertySymbols;var be=K,ve=Kn,he=de,we=Er,Se=T([].concat),Oe=be("Reflect","ownKeys")||function(t){var r=ve.f(we(t)),n=he.f;return n?Se(r,n(t)):r},je=Lt,Pe=Oe,Te=u,Ce=Or,xe=a,Ee=G,Me=/#|\.prototype\./,Ae=function(t,r){var n=Re[Fe(t)];return n==Le||n!=Ie&&(Ee(r)?xe(r):!!r)},Fe=Ae.normalize=function(t){return String(t).replace(Me,".").toLowerCase()},Re=Ae.data={},Ie=Ae.NATIVE="N",Le=Ae.POLYFILL="P",Ne=Ae,ze=i,ke=u.f,De=_r,qe=function(t,r,n,e){var o=!!e&&!!e.unsafe,i=!!e&&!!e.enumerable,u=!!e&&!!e.noTargetGet,a=e&&void 0!==e.name?e.name:r;return Un(n)&&Hn(n,a,e),t===_n?(i?t[r]=n:Jn(r,n),t):(o?!u&&t[r]&&(i=!0):delete t[r],i?t[r]=n:Wn(t,r,n),t)},Be=Pt,Ge=function(t,r,n){for(var e=Pe(r),o=Ce.f,i=Te.f,u=0;u<e.length;u++){var a=e[u];je(t,a)||n&&je(n,a)||o(t,a,i(r,a))}},_e=Ne,Ue=M,We=Array.isArray||function(t){return"Array"==Ue(t)},He=ar,Je=Or,Ke=h,Qe={};Qe[Xt("toStringTag")]="z";var Ve=i,Xe="[object z]"===String(Qe),Ye=G,$e=M,Ze=Xt("toStringTag"),to=Ve.Object,ro="Arguments"==$e(function(){return arguments}()),no=T,eo=a,oo=G,io=Xe?$e:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(t){}}(r=to(t),Ze))?n:ro?$e(r):"Object"==(e=$e(r))&&Ye(r.callee)?"Arguments":e},uo=nn,ao=function(){},co=[],fo=K("Reflect","construct"),lo=/^\s*(?:class|function)\b/,so=no(lo.exec),po=!lo.exec(ao),go=function(t){if(!oo(t))return!1;try{return fo(ao,co,t),!0}catch(t){return!1}},yo=function(t){if(!oo(t))return!1;switch(io(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return po||!!so(lo,uo(t))}catch(t){return!0}};yo.sham=!0;var mo=!fo||eo((function(){var t;return go(go.call)||!go(Object)||!go((function(){t=!0}))||t}))?yo:go,bo=i,vo=We,ho=mo,wo=U,So=Xt("species"),Oo=bo.Array,jo=function(t){var r;return vo(t)&&(r=t.constructor,(ho(r)&&(r===Oo||vo(r.prototype))||wo(r)&&null===(r=r[So]))&&(r=void 0)),void 0===r?Oo:r},Po=a,To=rt,Co=Xt("species"),xo=function(t,r){var n,e,o,i,u,a=t.target,c=t.global,f=t.stat;if(n=c?ze:f?ze[a]||Be(a,{}):(ze[a]||{}).prototype)for(e in r){if(i=r[e],o=t.noTargetGet?(u=ke(n,e))&&u.value:n[e],!_e(c?e:a+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ge(i,o)}(t.sham||o&&o.sham)&&De(i,"sham",!0),qe(n,e,i,t)}},Eo=i,Mo=a,Ao=We,Fo=U,Ro=Ft,Io=ee,Lo=function(t,r,n){var e=He(r);e in t?Je.f(t,e,Ke(0,n)):t[e]=n},No=function(t,r){return new(jo(t))(0===r?0:r)},zo=function(t){return To>=51||!Po((function(){var r=[];return(r.constructor={})[Co]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},ko=rt,Do=Xt("isConcatSpreadable"),qo=9007199254740991,Bo="Maximum allowed index exceeded",Go=Eo.TypeError,_o=ko>=51||!Mo((function(){var t=[];return t[Do]=!1,t.concat()[0]!==t})),Uo=zo("concat"),Wo=function(t){if(!Fo(t))return!1;var r=t[Do];return void 0!==r?!!r:Ao(t)};xo({target:"Array",proto:!0,arity:1,forced:!_o||!Uo},{concat:function(t){var r,n,e,o,i,u=Ro(this),a=No(u,0),c=0;for(r=-1,e=arguments.length;r<e;r++)if(Wo(i=-1===r?u:arguments[r])){if(c+(o=Io(i))>qo)throw Go(Bo);for(n=0;n<o;n++,c++)n in i&&Lo(a,c,i[n])}else{if(c>=qo)throw Go(Bo);Lo(a,c++,i)}return a.length=c,a}}),n.default.fn.bootstrapTable.locales["es-CL"]={formatCopyRows:function(){return"Copiar Filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatShowingRows:function(t,r,n,e){return void 0!==e&&e>0&&e>n?"Mostrando ".concat(t," a ").concat(r," de ").concat(n," filas (filtrado de ").concat(e," filas totales)"):"Mostrando ".concat(t," a ").concat(r," de ").concat(n," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Cambiar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales["es-CL"])}));