UNPKG

9.06 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.15.5
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=t||self).jQuery)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,n){return t(n={exports:{}},n.exports),n.exports}var e,o,i,u,a="object",f=function(t){return t&&t.Math==Math&&t},c=f(typeof globalThis==a&&globalThis)||f(typeof window==a&&window)||f(typeof self==a&&self)||f(typeof n==a&&n)||Function("return this")(),l=function(t){try{return!!t()}catch(t){return!0}},s=!l((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),p={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,d={f:g&&!p.call({1:2},1)?function(t){var n=g(this,t);return!!n&&n.enumerable}:p},m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},y={}.toString,h=function(t){return y.call(t).slice(8,-1)},v="".split,b=l((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==h(t)?v.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},S=function(t){return b(w(t))},O=function(t){return"object"==typeof t?null!==t:"function"==typeof t},T=function(t,n){if(!O(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!O(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!O(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!O(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},P={}.hasOwnProperty,j=function(t,n){return P.call(t,n)},x=c.document,M=O(x)&&O(x.createElement),k=!s&&!l((function(){return 7!=Object.defineProperty((t="div",M?x.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),A=Object.getOwnPropertyDescriptor,E={f:s?A:function(t,n){if(t=S(t),n=T(n,!0),k)try{return A(t,n)}catch(t){}if(j(t,n))return m(!d.f.call(t,n),t[n])}},_=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},R=Object.defineProperty,C={f:s?R:function(t,n,r){if(_(t),n=T(n,!0),_(r),k)try{return R(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},I=s?function(t,n,r){return C.f(t,n,m(1,r))}:function(t,n,r){return t[n]=r,t},D=function(t,n){try{I(c,t,n)}catch(r){c[t]=n}return n},F=r((function(t){var n=c["__core-js_shared__"]||D("__core-js_shared__",{});(t.exports=function(t,r){return n[t]||(n[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),N=F("native-function-to-string",Function.toString),L=c.WeakMap,q="function"==typeof L&&/native code/.test(N.call(L)),B=0,z=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+z).toString(36)},H=F("keys"),W={},J=c.WeakMap;if(q){var K=new J,Q=K.get,U=K.has,V=K.set;e=function(t,n){return V.call(K,t,n),n},o=function(t){return Q.call(K,t)||{}},i=function(t){return U.call(K,t)}}else{var Y=H[u="state"]||(H[u]=G(u));W[Y]=!0,e=function(t,n){return I(t,Y,n),n},o=function(t){return j(t,Y)?t[Y]:{}},i=function(t){return j(t,Y)}}var X,Z={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!O(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},$=r((function(t){var n=Z.get,r=Z.enforce,e=String(N).split("toString");F("inspectSource",(function(t){return N.call(t)})),(t.exports=function(t,n,o,i){var u=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof n||j(o,"name")||I(o,"name",n),r(o).source=e.join("string"==typeof n?n:"")),t!==c?(u?!f&&t[n]&&(a=!0):delete t[n],a?t[n]=o:I(t,n,o)):a?t[n]=o:D(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||N.call(this)}))})),tt=c,nt=function(t){return"function"==typeof t?t:void 0},rt=Math.ceil,et=Math.floor,ot=function(t){return isNaN(t=+t)?0:(t>0?et:rt)(t)},it=Math.min,ut=function(t){return t>0?it(ot(t),9007199254740991):0},at=Math.max,ft=Math.min,ct=function(t){return function(n,r,e){var o,i=S(n),u=ut(i.length),a=function(t,n){var r=ot(t);return r<0?at(r+n,0):ft(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}},lt={includes:ct(!0),indexOf:ct(!1)}.indexOf,st=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),pt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=S(t),o=0,i=[];for(r in e)!j(W,r)&&j(e,r)&&i.push(r);for(;n.length>o;)j(e,r=n[o++])&&(~lt(i,r)||i.push(r));return i}(t,st)}},gt={f:Object.getOwnPropertySymbols},dt=function(t,n){return arguments.length<2?nt(tt[t])||nt(c[t]):tt[t]&&tt[t][n]||c[t]&&c[t][n]}("Reflect","ownKeys")||function(t){var n=pt.f(_(t)),r=gt.f;return r?n.concat(r(t)):n},mt=function(t,n){for(var r=dt(n),e=C.f,o=E.f,i=0;i<r.length;i++){var u=r[i];j(t,u)||e(t,u,o(n,u))}},yt=/#|\.prototype\./,ht=function(t,n){var r=bt[vt(t)];return r==St||r!=wt&&("function"==typeof n?l(n):!!n)},vt=ht.normalize=function(t){return String(t).replace(yt,".").toLowerCase()},bt=ht.data={},wt=ht.NATIVE="N",St=ht.POLYFILL="P",Ot=ht,Tt=E.f,Pt=Array.isArray||function(t){return"Array"==h(t)},jt=function(t){return Object(w(t))},xt=function(t,n,r){var e=T(n);e in t?C.f(t,e,m(0,r)):t[e]=r},Mt=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),kt=c.Symbol,At=F("wks"),Et=function(t){return At[t]||(At[t]=Mt&&kt[t]||(Mt?kt:G)("Symbol."+t))},_t=Et("species"),Rt=function(t,n){var r;return Pt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Pt(r.prototype)?O(r)&&null===(r=r[_t])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Ct=Et("species"),It=Et("isConcatSpreadable"),Dt=!l((function(){var t=[];return t[It]=!1,t.concat()[0]!==t})),Ft=(X="concat",!l((function(){var t=[];return(t.constructor={})[Ct]=function(){return{foo:1}},1!==t[X](Boolean).foo}))),Nt=function(t){if(!O(t))return!1;var n=t[It];return void 0!==n?!!n:Pt(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]||D(a,{}):(c[a]||{}).prototype)for(e in n){if(i=n[e],o=t.noTargetGet?(u=Tt(r,e))&&u.value:r[e],!Ot(f?e:a+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;mt(i,o)}(t.sham||o&&o.sham)&&I(i,"sham",!0),$(r,e,i,t)}}({target:"Array",proto:!0,forced:!Dt||!Ft},{concat:function(t){var n,r,e,o,i,u=jt(this),a=Rt(u,0),f=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],Nt(i)){if(f+(o=ut(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,f++)r in i&&xt(a,f,i[r])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");xt(a,f++,i)}return a.length=f,a}}),t.fn.bootstrapTable.locales["id-ID"]={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"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["id-ID"])}));