UNPKG

9.67 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.18.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=t||self).jQuery)}(this,(function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"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=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),f={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,a={f:c&&!f.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:f},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},y="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return g(d(t))},h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!h(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!h(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,n){return b.call(t,n)},S=o.document,O=h(S)&&h(S.createElement),P=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),T=Object.getOwnPropertyDescriptor,j={f:u?T:function(t,n){if(t=m(t),n=v(n,!0),P)try{return T(t,n)}catch(t){}if(w(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},A=Object.defineProperty,C={f:u?A:function(t,n,r){if(x(t),n=v(n,!0),x(r),P)try{return A(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}},E=u?function(t,n,r){return C.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},R=function(t,n){try{E(o,t,n)}catch(r){o[t]=n}return n},M="__core-js_shared__",F=o[M]||R(M,{}),k=Function.toString;"function"!=typeof F.inspectSource&&(F.inspectSource=function(t){return k.call(t)});var N,H,I,L,_=F.inspectSource,D=o.WeakMap,q="function"==typeof D&&/native code/.test(_(D)),G=r((function(t){(t.exports=function(t,n){return F[t]||(F[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),W=0,z=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+z).toString(36)},K=G("keys"),Z={},J=o.WeakMap;if(q){var Q=new J,U=Q.get,V=Q.has,Y=Q.set;N=function(t,n){return Y.call(Q,t,n),n},H=function(t){return U.call(Q,t)||{}},I=function(t){return V.call(Q,t)}}else{var X=K[L="state"]||(K[L]=B(L));Z[X]=!0,N=function(t,n){return E(t,X,n),n},H=function(t){return w(t,X)?t[X]:{}},I=function(t){return w(t,X)}}var $,tt,nt={set:N,get:H,has:I,enforce:function(t){return I(t)?H(t):N(t,{})},getterFor:function(t){return function(n){var r;if(!h(n)||(r=H(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=r((function(t){var n=nt.get,r=nt.enforce,e=String(String).split("String");(t.exports=function(t,n,i,u){var f=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,a=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||E(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(f?!a&&t[n]&&(c=!0):delete t[n],c?t[n]=i:E(t,n,i)):c?t[n]=i:R(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||_(this)}))})),et=o,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,n){return arguments.length<2?ot(et[t])||ot(o[t]):et[t]&&et[t][n]||o[t]&&o[t][n]},ut=Math.ceil,ft=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ft:ut)(t)},at=Math.min,lt=function(t){return t>0?at(ct(t),9007199254740991):0},st=Math.max,pt=Math.min,yt=function(t){return function(n,r,e){var o,i=m(n),u=lt(i.length),f=function(t,n){var r=ct(t);return r<0?st(r+n,0):pt(r,n)}(e,u);if(t&&r!=r){for(;u>f;)if((o=i[f++])!=o)return!0}else for(;u>f;f++)if((t||f in i)&&i[f]===r)return t||f||0;return!t&&-1}},gt={includes:yt(!0),indexOf:yt(!1)}.indexOf,dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),mt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=m(t),o=0,i=[];for(r in e)!w(Z,r)&&w(e,r)&&i.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~gt(i,r)||i.push(r));return i}(t,dt)}},ht={f:Object.getOwnPropertySymbols},vt=it("Reflect","ownKeys")||function(t){var n=mt.f(x(t)),r=ht.f;return r?n.concat(r(t)):n},bt=function(t,n){for(var r=vt(n),e=C.f,o=j.f,i=0;i<r.length;i++){var u=r[i];w(t,u)||e(t,u,o(n,u))}},wt=/#|\.prototype\./,St=function(t,n){var r=Pt[Ot(t)];return r==jt||r!=Tt&&("function"==typeof n?i(n):!!n)},Ot=St.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Pt=St.data={},Tt=St.NATIVE="N",jt=St.POLYFILL="P",xt=St,At=j.f,Ct=Array.isArray||function(t){return"Array"==p(t)},Et=function(t){return Object(d(t))},Rt=function(t,n,r){var e=v(n);e in t?C.f(t,e,l(0,r)):t[e]=r},Mt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Ft=Mt&&!Symbol.sham&&"symbol"==typeof Symbol(),kt=G("wks"),Nt=o.Symbol,Ht=Ft?Nt:B,It=function(t){return w(kt,t)||(Mt&&w(Nt,t)?kt[t]=Nt[t]:kt[t]=Ht("Symbol."+t)),kt[t]},Lt=It("species"),_t=function(t,n){var r;return Ct(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Ct(r.prototype)?h(r)&&null===(r=r[Lt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Dt=it("navigator","userAgent")||"",qt=o.process,Gt=qt&&qt.versions,Wt=Gt&&Gt.v8;Wt?tt=($=Wt.split("."))[0]+$[1]:Dt&&(!($=Dt.match(/Edge\/(\d+)/))||$[1]>=74)&&($=Dt.match(/Chrome\/(\d+)/))&&(tt=$[1]);var zt,Bt=tt&&+tt,Kt=It("species"),Zt=It("isConcatSpreadable"),Jt=9007199254740991,Qt="Maximum allowed index exceeded",Ut=Bt>=51||!i((function(){var t=[];return t[Zt]=!1,t.concat()[0]!==t})),Vt=(zt="concat",Bt>=51||!i((function(){var t=[];return(t.constructor={})[Kt]=function(){return{foo:1}},1!==t[zt](Boolean).foo}))),Yt=function(t){if(!h(t))return!1;var n=t[Zt];return void 0!==n?!!n:Ct(t)};!function(t,n){var r,e,i,u,f,c=t.target,a=t.global,l=t.stat;if(r=a?o:l?o[c]||R(c,{}):(o[c]||{}).prototype)for(e in n){if(u=n[e],i=t.noTargetGet?(f=At(r,e))&&f.value:r[e],!xt(a?e:c+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;bt(u,i)}(t.sham||i&&i.sham)&&E(u,"sham",!0),rt(r,e,u,t)}}({target:"Array",proto:!0,forced:!Ut||!Vt},{concat:function(t){var n,r,e,o,i,u=Et(this),f=_t(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(Yt(i=-1===n?u:arguments[n])){if(c+(o=lt(i.length))>Jt)throw TypeError(Qt);for(r=0;r<o;r++,c++)r in i&&Rt(f,c,i[r])}else{if(c>=Jt)throw TypeError(Qt);Rt(f,c++,i)}return f.length=c,f}}),t.fn.bootstrapTable.locales["af-ZA"]=t.fn.bootstrapTable.locales.af={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Besig om te laai, wag asseblief"},formatRecordsPerPage:function(t){return"".concat(t," rekords per bladsy")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Resultate ".concat(t," tot ").concat(n," van ").concat(r," rye (filtered from ").concat(e," total rows)"):"Resultate ".concat(t," tot ").concat(n," van ").concat(r," rye")},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"Soek"},formatNoMatches:function(){return"Geen rekords gevind nie"},formatPaginationSwitch:function(){return"Wys/verberg bladsy nummering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Herlaai"},formatToggle:function(){return"Wissel"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolomme"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export 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"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["af-ZA"])}));