UNPKG

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