UNPKG

13.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.20.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:{};function o(t,n){return t(n={exports:{}},n.exports),n.exports}var i,u,a=function(t){return t&&t.Math==Math&&t},c=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof e&&e)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},l=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=Function.prototype.call,g=s?p.bind(p):function(){return p.apply(p,arguments)},m={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,d={f:y&&!m.call({1:2},1)?function(t){var n=y(this,t);return!!n&&n.enumerable}:m},b=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},h=Function.prototype,v=h.bind,w=h.call,S=s&&v.bind(w,w),O=s?function(t){return t&&S(t)}:function(t){return t&&function(){return w.apply(t,arguments)}},j=O({}.toString),P=O("".slice),T=function(t){return P(j(t),8,-1)},E=c.Object,x=O("".split),A=f((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"==T(t)?x(t,""):E(t)}:E,C=c.TypeError,k=function(t){if(null==t)throw C("Can't call method on "+t);return t},F=function(t){return A(k(t))},M=function(t){return"function"==typeof t},R=function(t){return"object"==typeof t?null!==t:M(t)},I=function(t){return M(t)?t:void 0},D=function(t,n){return arguments.length<2?I(c[t]):c[t]&&c[t][n]},L=O({}.isPrototypeOf),N=D("navigator","userAgent")||"",z=c.process,G=c.Deno,B=z&&z.versions||G&&G.version,_=B&&B.v8;_&&(u=(i=_.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!u&&N&&(!(i=N.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=N.match(/Chrome\/(\d+)/))&&(u=+i[1]);var H=u,q=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&H&&H<41})),U=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,W=c.Object,J=U?function(t){return"symbol"==typeof t}:function(t){var n=D("Symbol");return M(n)&&L(n.prototype,W(t))},K=c.String,Q=c.TypeError,V=function(t){if(M(t))return t;throw Q(function(t){try{return K(t)}catch(t){return"Object"}}(t)+" is not a function")},X=c.TypeError,Y=Object.defineProperty,$=function(t,n){try{Y(c,t,{value:n,configurable:!0,writable:!0})}catch(r){c[t]=n}return n},Z="__core-js_shared__",tt=c[Z]||$(Z,{}),nt=o((function(t){(t.exports=function(t,n){return tt[t]||(tt[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.22.4",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})})),rt=c.Object,et=function(t){return rt(k(t))},ot=O({}.hasOwnProperty),it=Object.hasOwn||function(t,n){return ot(et(t),n)},ut=0,at=Math.random(),ct=O(1..toString),ft=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ct(++ut+at,36)},lt=nt("wks"),st=c.Symbol,pt=st&&st.for,gt=U?st:st&&st.withoutSetter||ft,mt=function(t){if(!it(lt,t)||!q&&"string"!=typeof lt[t]){var n="Symbol."+t;q&&it(st,t)?lt[t]=st[t]:lt[t]=U&&pt?pt(n):gt(n)}return lt[t]},yt=c.TypeError,dt=mt("toPrimitive"),bt=function(t,n){if(!R(t)||J(t))return t;var r,e,o=null==(r=t[dt])?void 0:V(r);if(o){if(void 0===n&&(n="default"),e=g(o,t,n),!R(e)||J(e))return e;throw yt("Can't convert object to primitive value")}return void 0===n&&(n="number"),function(t,n){var r,e;if("string"===n&&M(r=t.toString)&&!R(e=g(r,t)))return e;if(M(r=t.valueOf)&&!R(e=g(r,t)))return e;if("string"!==n&&M(r=t.toString)&&!R(e=g(r,t)))return e;throw X("Can't convert object to primitive value")}(t,n)},ht=function(t){var n=bt(t,"string");return J(n)?n:n+""},vt=c.document,wt=R(vt)&&R(vt.createElement),St=!l&&!f((function(){return 7!=Object.defineProperty((t="div",wt?vt.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),Ot=Object.getOwnPropertyDescriptor,jt={f:l?Ot:function(t,n){if(t=F(t),n=ht(n),St)try{return Ot(t,n)}catch(t){}if(it(t,n))return b(!g(d.f,t,n),t[n])}},Pt=l&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=c.String,Et=c.TypeError,xt=function(t){if(R(t))return t;throw Et(Tt(t)+" is not an object")},At=c.TypeError,Ct=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Ft="enumerable",Mt="configurable",Rt="writable",It={f:l?Pt?function(t,n,r){if(xt(t),n=ht(n),xt(r),"function"==typeof t&&"prototype"===n&&"value"in r&&Rt in r&&!r.writable){var e=kt(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:Mt in r?r.configurable:e.configurable,enumerable:Ft in r?r.enumerable:e.enumerable,writable:!1})}return Ct(t,n,r)}:Ct:function(t,n,r){if(xt(t),n=ht(n),xt(r),St)try{return Ct(t,n,r)}catch(t){}if("get"in r||"set"in r)throw At("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},Dt=l?function(t,n,r){return It.f(t,n,b(1,r))}:function(t,n,r){return t[n]=r,t},Lt=Function.prototype,Nt=l&&Object.getOwnPropertyDescriptor,zt=it(Lt,"name"),Gt={EXISTS:zt,PROPER:zt&&"something"===function(){}.name,CONFIGURABLE:zt&&(!l||l&&Nt(Lt,"name").configurable)},Bt=O(Function.toString);M(tt.inspectSource)||(tt.inspectSource=function(t){return Bt(t)});var _t,Ht,qt,Ut,Wt=tt.inspectSource,Jt=c.WeakMap,Kt=M(Jt)&&/native code/.test(Wt(Jt)),Qt=nt("keys"),Vt={},Xt="Object already initialized",Yt=c.TypeError,$t=c.WeakMap;if(Kt||tt.state){var Zt=tt.state||(tt.state=new $t),tn=O(Zt.get),nn=O(Zt.has),rn=O(Zt.set);_t=function(t,n){if(nn(Zt,t))throw new Yt(Xt);return n.facade=t,rn(Zt,t,n),n},Ht=function(t){return tn(Zt,t)||{}},qt=function(t){return nn(Zt,t)}}else{var en=Qt[Ut="state"]||(Qt[Ut]=ft(Ut));Vt[en]=!0,_t=function(t,n){if(it(t,en))throw new Yt(Xt);return n.facade=t,Dt(t,en,n),n},Ht=function(t){return it(t,en)?t[en]:{}},qt=function(t){return it(t,en)}}var on={set:_t,get:Ht,has:qt,enforce:function(t){return qt(t)?Ht(t):_t(t,{})},getterFor:function(t){return function(n){var r;if(!R(n)||(r=Ht(n)).type!==t)throw Yt("Incompatible receiver, "+t+" required");return r}}},un=o((function(t){var n=It.f,r=Gt.CONFIGURABLE,e=on.enforce,o=on.get,i=!f((function(){return 8!==n((function(){}),"length",{value:8}).length})),u=String(String).split("String"),a=t.exports=function(t,o,a){"Symbol("===String(o).slice(0,7)&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(o="get "+o),a&&a.setter&&(o="set "+o),(!it(t,"name")||r&&t.name!==o)&&n(t,"name",{value:o,configurable:!0}),i&&a&&it(a,"arity")&&t.length!==a.arity&&n(t,"length",{value:a.arity});var c=e(t);return it(c,"source")||(c.source=u.join("string"==typeof o?o:"")),t};Function.prototype.toString=a((function(){return M(this)&&o(this).source||Wt(this)}),"toString")})),an=function(t,n,r,e){var o=!!e&&!!e.unsafe,i=!!e&&!!e.enumerable,u=!!e&&!!e.noTargetGet,a=e&&void 0!==e.name?e.name:n;return M(r)&&un(r,a,e),t===c?(i?t[n]=r:$(n,r),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=r:Dt(t,n,r),t)},cn=Math.ceil,fn=Math.floor,ln=function(t){var n=+t;return n!=n||0===n?0:(n>0?fn:cn)(n)},sn=Math.max,pn=Math.min,gn=Math.min,mn=function(t){return(n=t.length)>0?gn(ln(n),9007199254740991):0;var n},yn=function(t){return function(n,r,e){var o,i=F(n),u=mn(i),a=function(t,n){var r=ln(t);return r<0?sn(r+n,0):pn(r,n)}(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}},dn={includes:yn(!0),indexOf:yn(!1)}.indexOf,bn=O([].push),hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),vn=Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=F(t),o=0,i=[];for(r in e)!it(Vt,r)&&it(e,r)&&bn(i,r);for(;n.length>o;)it(e,r=n[o++])&&(~dn(i,r)||bn(i,r));return i}(t,hn)},wn={f:vn},Sn={f:Object.getOwnPropertySymbols},On=O([].concat),jn=D("Reflect","ownKeys")||function(t){var n=wn.f(xt(t)),r=Sn.f;return r?On(n,r(t)):n},Pn=function(t,n,r){for(var e=jn(n),o=It.f,i=jt.f,u=0;u<e.length;u++){var a=e[u];it(t,a)||r&&it(r,a)||o(t,a,i(n,a))}},Tn=/#|\.prototype\./,En=function(t,n){var r=An[xn(t)];return r==kn||r!=Cn&&(M(n)?f(n):!!n)},xn=En.normalize=function(t){return String(t).replace(Tn,".").toLowerCase()},An=En.data={},Cn=En.NATIVE="N",kn=En.POLYFILL="P",Fn=En,Mn=jt.f,Rn=Array.isArray||function(t){return"Array"==T(t)},In=function(t,n,r){var e=ht(n);e in t?It.f(t,e,b(0,r)):t[e]=r},Dn={};Dn[mt("toStringTag")]="z";var Ln="[object z]"===String(Dn),Nn=mt("toStringTag"),zn=c.Object,Gn="Arguments"==T(function(){return arguments}()),Bn=Ln?T: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=zn(t),Nn))?r:Gn?T(n):"Object"==(e=T(n))&&M(n.callee)?"Arguments":e},_n=function(){},Hn=[],qn=D("Reflect","construct"),Un=/^\s*(?:class|function)\b/,Wn=O(Un.exec),Jn=!Un.exec(_n),Kn=function(t){if(!M(t))return!1;try{return qn(_n,Hn,t),!0}catch(t){return!1}},Qn=function(t){if(!M(t))return!1;switch(Bn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Jn||!!Wn(Un,Wt(t))}catch(t){return!0}};Qn.sham=!0;var Vn,Xn=!qn||f((function(){var t;return Kn(Kn.call)||!Kn(Object)||!Kn((function(){t=!0}))||t}))?Qn:Kn,Yn=mt("species"),$n=c.Array,Zn=function(t,n){return new(function(t){var n;return Rn(t)&&(n=t.constructor,(Xn(n)&&(n===$n||Rn(n.prototype))||R(n)&&null===(n=n[Yn]))&&(n=void 0)),void 0===n?$n:n}(t))(0===n?0:n)},tr=mt("species"),nr=mt("isConcatSpreadable"),rr=9007199254740991,er="Maximum allowed index exceeded",or=c.TypeError,ir=H>=51||!f((function(){var t=[];return t[nr]=!1,t.concat()[0]!==t})),ur=(Vn="concat",H>=51||!f((function(){var t=[];return(t.constructor={})[tr]=function(){return{foo:1}},1!==t[Vn](Boolean).foo}))),ar=function(t){if(!R(t))return!1;var n=t[nr];return void 0!==n?!!n:Rn(t)};!function(t,n){var r,e,o,i,u,a=t.target,f=t.global,l=t.stat;if(r=f?c:l?c[a]||$(a,{}):(c[a]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Mn(r,e))&&u.value:r[e],!Fn(f?e:a+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Pn(i,o)}(t.sham||o&&o.sham)&&Dt(i,"sham",!0),an(r,e,i,t)}}({target:"Array",proto:!0,arity:1,forced:!ir||!ur},{concat:function(t){var n,r,e,o,i,u=et(this),a=Zn(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(ar(i=-1===n?u:arguments[n])){if(c+(o=mn(i))>rr)throw or(er);for(r=0;r<o;r++,c++)r in i&&In(a,c,i[r])}else{if(c>=rr)throw or(er);In(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"},formatToggle:function(){return"Beralih"},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"])}));