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]})),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,b=g&&!p.call({1:2},1);s.f=b?function(t){var n=g(this,t);return!!n&&n.enumerable}:p;var y,m,h=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},d=a,v=Function.prototype,S=v.call,w=d&&v.bind.bind(S,S),O=d?w:function(t){return function(){return S.apply(t,arguments)}},j=O,P=j({}.toString),T=j("".slice),A=function(t){return T(P(t),8,-1)},E=i,x=A,C=Object,M=O("".split),k=E((function(){return!C("z").propertyIsEnumerable(0)}))?function(t){return"String"==x(t)?M(t,""):C(t)}:C,F=function(t){return null==t},R=F,D=TypeError,I=function(t){if(R(t))throw D("Can't call method on "+t);return t},L=k,N=I,_=function(t){return L(N(t))},z="object"==typeof document&&document.all,H={all:z,IS_HTMLDDA:void 0===z&&void 0!==z},G=H.all,q=H.IS_HTMLDDA?function(t){return"function"==typeof t||t===G}:function(t){return"function"==typeof t},B=q,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=q,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&&(m=(y=rt.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!m&&$&&(!(y=$.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=$.match(/Chrome\/(\d+)/))&&(m=+y[1]);var et=m,ot=et,it=i,ut=!!Object.getOwnPropertySymbols&&!it((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})),at=ut&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ct=V,ft=q,lt=X,st=Object,pt=at?function(t){return"symbol"==typeof t}:function(t){var n=ct("Symbol");return ft(n)&&lt(n.prototype,st(t))},gt=String,bt=q,yt=function(t){try{return gt(t)}catch(t){return"Object"}},mt=TypeError,ht=function(t){if(bt(t))return t;throw mt(yt(t)+" is not a function")},dt=F,vt=l,St=q,wt=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},xt=Et,Ct="__core-js_shared__",Mt=e[Ct]||xt(Ct,{}),kt=Mt;(Pt.exports=function(t,n){return kt[t]||(kt[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 Ft=I,Rt=Object,Dt=function(t){return Rt(Ft(t))},It=Dt,Lt=O({}.hasOwnProperty),Nt=Object.hasOwn||function(t,n){return Lt(It(t),n)},_t=O,zt=0,Ht=Math.random(),Gt=_t(1..toString),qt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Gt(++zt+Ht,36)},Bt=jt,Ut=Nt,Wt=qt,Jt=ut,Kt=at,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 dt(r)?void 0:ht(r)},rn=function(t,n){var r,e;if("string"===n&&St(r=t.toString)&&!wt(e=vt(r,t)))return e;if(St(r=t.valueOf)&&!wt(e=vt(r,t)))return e;if("string"!==n&&St(r=t.toString)&&!wt(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)},an=pt,cn=function(t){var n=un(t,"string");return an(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,mn=s,hn=h,dn=_,vn=cn,Sn=Nt,wn=gn,On=Object.getOwnPropertyDescriptor;o.f=bn?On:function(t,n){if(t=dn(t),n=vn(n),wn)try{return On(t,n)}catch(t){}if(Sn(t,n))return hn(!yn(mn.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,xn=function(t){if(Tn(t))return t;throw En(An(t)+" is not an object")},Cn=u,Mn=gn,kn=Pn,Fn=xn,Rn=cn,Dn=TypeError,In=Object.defineProperty,Ln=Object.getOwnPropertyDescriptor,Nn="enumerable",_n="configurable",zn="writable";jn.f=Cn?kn?function(t,n,r){if(Fn(t),n=Rn(n),Fn(r),"function"==typeof t&&"prototype"===n&&"value"in r&&zn in r&&!r.writable){var e=Ln(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:_n in r?r.configurable:e.configurable,enumerable:Nn in r?r.enumerable:e.enumerable,writable:!1})}return In(t,n,r)}:In:function(t,n,r){if(Fn(t),n=Rn(n),Fn(r),Mn)try{return In(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,Gn=h,qn=u?function(t,n,r){return Hn.f(t,n,Gn(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=Nt,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=q,$n=Mt,Zn=O(Function.toString);Yn($n.inspectSource)||($n.inspectSource=function(t){return Zn(t)});var tr,nr,rr,er=$n.inspectSource,or=q,ir=e.WeakMap,ur=or(ir)&&/native code/.test(String(ir)),ar=qt,cr=jt("keys"),fr={},lr=ur,sr=e,pr=W,gr=qn,br=Nt,yr=Mt,mr=function(t){return cr[t]||(cr[t]=ar(t))},hr=fr,dr="Object already initialized",vr=sr.TypeError,Sr=sr.WeakMap;if(lr||yr.state){var wr=yr.state||(yr.state=new Sr);wr.get=wr.get,wr.has=wr.has,wr.set=wr.set,tr=function(t,n){if(wr.has(t))throw vr(dr);return n.facade=t,wr.set(t,n),n},nr=function(t){return wr.get(t)||{}},rr=function(t){return wr.has(t)}}else{var Or=mr("state");hr[Or]=!0,tr=function(t,n){if(br(t,Or))throw vr(dr);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=q,Er=Nt,xr=u,Cr=Xn.CONFIGURABLE,Mr=er,kr=jr.enforce,Fr=jr.get,Rr=String,Dr=Object.defineProperty,Ir=Pr("".slice),Lr=Pr("".replace),Nr=Pr([].join),_r=xr&&!Tr((function(){return 8!==Dr((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),Hr=Un.exports=function(t,n,r){"Symbol("===Ir(Rr(n),0,7)&&(n="["+Lr(Rr(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(n="get "+n),r&&r.setter&&(n="set "+n),(!Er(t,"name")||Cr&&t.name!==n)&&(xr?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?xr&&Dr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=kr(t);return Er(e,"source")||(e.source=Nr(zr,"string"==typeof n?n:"")),t};Function.prototype.toString=Hr((function(){return Ar(this)&&Fr(this).source||Mr(this)}),"toString");var Gr=q,qr=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),a=oe(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}},ae={includes:ue(!0),indexOf:ue(!1)},ce=Nt,fe=_,le=ae.indexOf,se=fr,pe=O([].push),ge=function(t,n){var r,e=fe(t),o=0,i=[];for(r in e)!ce(se,r)&&ce(e,r)&&pe(i,r);for(;n.length>o;)ce(e,r=n[o++])&&(~le(i,r)||pe(i,r));return i},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ge,me=be.concat("length","prototype");Wr.f=Object.getOwnPropertyNames||function(t){return ye(t,me)};var he={};he.f=Object.getOwnPropertySymbols;var de=V,ve=Wr,Se=he,we=xn,Oe=O([].concat),je=de("Reflect","ownKeys")||function(t){var n=ve.f(we(t)),r=Se.f;return r?Oe(n,r(t)):n},Pe=Nt,Te=je,Ae=o,Ee=jn,xe=i,Ce=q,Me=/#|\.prototype\./,ke=function(t,n){var r=Re[Fe(t)];return r==Ie||r!=De&&(Ce(n)?xe(n):!!n)},Fe=ke.normalize=function(t){return String(t).replace(Me,".").toLowerCase()},Re=ke.data={},De=ke.NATIVE="N",Ie=ke.POLYFILL="P",Le=ke,Ne=e,_e=o.f,ze=qn,He=function(t,n,r,e){e||(e={});var o=e.enumerable,i=void 0!==e.name?e.name:n;if(Gr(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:qr.f(t,n,{value:r,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},Ge=Et,qe=function(t,n,r){for(var e=Te(n),o=Ee.f,i=Ae.f,u=0;u<e.length;u++){var a=e[u];Pe(t,a)||r&&Pe(r,a)||o(t,a,i(n,a))}},Be=Le,Ue=function(t,n){var r,e,o,i,u,a=t.target,c=t.global,f=t.stat;if(r=c?Ne:f?Ne[a]||Ge(a,{}):(Ne[a]||{}).prototype)for(e in n){if(i=n[e],o=t.dontCallGetSet?(u=_e(r,e))&&u.value:r[e],!Be(c?e:a+(f?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;qe(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=cn,Ve=jn,Xe=h,Ye={};Ye[Yt("toStringTag")]="z";var $e="[object z]"===String(Ye),Ze=q,to=A,no=Yt("toStringTag"),ro=Object,eo="Arguments"==to(function(){return arguments}()),oo=O,io=i,uo=q,ao=$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},co=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(ao(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bo||!!go(po,co(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,So=ho,wo=W,Oo=Yt("species"),jo=Array,Po=function(t){var n;return vo(t)&&(n=t.constructor,(So(n)&&(n===jo||vo(n.prototype))||wo(n)&&null===(n=n[Oo]))&&(n=void 0)),void 0===n?jo:n},To=i,Ao=et,Eo=Yt("species"),xo=Ue,Co=i,Mo=Je,ko=W,Fo=Dt,Ro=re,Do=function(t){if(t>9007199254740991)throw Ke("Maximum allowed index exceeded");return t},Io=function(t,n,r){var e=Qe(n);e in t?Ve.f(t,e,Xe(0,r)):t[e]=r},Lo=function(t,n){return new(Po(t))(0===n?0:n)},No=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||!Co((function(){var t=[];return t[zo]=!1,t.concat()[0]!==t})),Go=function(t){if(!ko(t))return!1;var n=t[zo];return void 0!==n?!!n:Mo(t)};xo({target:"Array",proto:!0,arity:1,forced:!Ho||!No("concat")},{concat:function(t){var n,r,e,o,i,u=Fo(this),a=Lo(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(Go(i=-1===n?u:arguments[n]))for(o=Ro(i),Do(c+o),r=0;r<o;r++,c++)r in i&&Io(a,c,i[r]);else Do(c+1),Io(a,c++,i);return a.length=c,a}});var qo=ge,Bo=be,Uo=Object.keys||function(t){return qo(t,Bo)},Wo=u,Jo=O,Ko=l,Qo=i,Vo=Uo,Xo=he,Yo=s,$o=Dt,Zo=k,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 a,c=Zo(arguments[o++]),f=i?ri(Vo(c),i(c)):Vo(c),l=f.length,s=0;l>s;)a=f[s++],Wo&&!Ko(u,c,a)||(r[a]=c[a]);return r}:ti,oi=ei;Ue({target:"Object",stat:!0,arity:2,forced:Object.assign!==oi},{assign:oi}),t.fn.bootstrapTable.locales["id-ID"]=t.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"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["id-ID"])}));