UNPKG

9.14 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,d=Object.getOwnPropertyDescriptor,g={f:d&&!p.call({1:2},1)?function(t){var n=d(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")},j={}.hasOwnProperty,P=function(t,n){return j.call(t,n)},x=c.document,k=O(x)&&O(x.createElement),M=!s&&!l((function(){return 7!=Object.defineProperty((t="div",k?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),M)try{return A(t,n)}catch(t){}if(P(t,n))return m(!g.f.call(t,n),t[n])}},C=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,R={f:s?_:function(t,n,r){if(C(t),n=T(n,!0),C(r),M)try{return _(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}},F=s?function(t,n,r){return R.f(t,n,m(1,r))}:function(t,n,r){return t[n]=r,t},L=function(t,n){try{F(c,t,n)}catch(r){c[t]=n}return n},N=r((function(t){var n=c["__core-js_shared__"]||L("__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)"})})),I=N("native-function-to-string",Function.toString),D=c.WeakMap,q="function"==typeof D&&/native code/.test(I.call(D)),z=0,G=Math.random(),Y=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+G).toString(36)},B=N("keys"),H={},W=c.WeakMap;if(q){var J=new W,K=J.get,Q=J.has,U=J.set;e=function(t,n){return U.call(J,t,n),n},o=function(t){return K.call(J,t)||{}},i=function(t){return Q.call(J,t)}}else{var V=B[u="state"]||(B[u]=Y(u));H[V]=!0,e=function(t,n){return F(t,V,n),n},o=function(t){return P(t,V)?t[V]:{}},i=function(t){return P(t,V)}}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(I).split("toString");N("inspectSource",(function(t){return I.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||P(o,"name")||F(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:F(t,n,o)):a?t[n]=o:L(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||I.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)!P(H,r)&&P(e,r)&&i.push(r);for(;n.length>o;)P(e,r=n[o++])&&(~lt(i,r)||i.push(r));return i}(t,st)}},dt={f:Object.getOwnPropertySymbols},gt=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(C(t)),r=dt.f;return r?n.concat(r(t)):n},mt=function(t,n){for(var r=gt(n),e=R.f,o=E.f,i=0;i<r.length;i++){var u=r[i];P(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,jt=Array.isArray||function(t){return"Array"==h(t)},Pt=function(t){return Object(w(t))},xt=function(t,n,r){var e=T(n);e in t?R.f(t,e,m(0,r)):t[e]=r},kt=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),Mt=c.Symbol,At=N("wks"),Et=function(t){return At[t]||(At[t]=kt&&Mt[t]||(kt?Mt:Y)("Symbol."+t))},Ct=Et("species"),_t=function(t,n){var r;return jt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!jt(r.prototype)?O(r)&&null===(r=r[Ct])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Rt=Et("species"),Ft=Et("isConcatSpreadable"),Lt=!l((function(){var t=[];return t[Ft]=!1,t.concat()[0]!==t})),Nt=(X="concat",!l((function(){var t=[];return(t.constructor={})[Rt]=function(){return{foo:1}},1!==t[X](Boolean).foo}))),It=function(t){if(!O(t))return!1;var n=t[Ft];return void 0!==n?!!n:jt(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]||L(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)&&F(i,"sham",!0),$(r,e,i,t)}}({target:"Array",proto:!0,forced:!Lt||!Nt},{concat:function(t){var n,r,e,o,i,u=Pt(this),a=_t(u,0),f=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],It(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["ms-MY"]={formatLoadingMessage:function(){return"Permintaan sedang dimuatkan. Sila tunggu sebentar"},formatRecordsPerPage:function(t){return"".concat(t," rekod setiap muka surat")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(r," rekod (filtered from ").concat(e," total rows)"):"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(r," rekod")},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"Clear Search"},formatSearch:function(){return"Cari"},formatNoMatches:function(){return"Tiada rekod yang menyamai permintaan"},formatPaginationSwitch:function(){return"Tunjuk/sembunyi muka surat"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Muatsemula"},formatToggle:function(){return"Tukar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Lajur"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["ms-MY"])}));