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