UNPKG

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