UNPKG

9.73 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.0
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}},c=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,a={f:f&&!u.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:u},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)},h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?h.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return g(y(t))},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!d(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!d(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!d(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!d(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,P=d(S)&&d(S.createElement),O=!c&&!i((function(){return 7!=Object.defineProperty((t="div",P?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),T=Object.getOwnPropertyDescriptor,j={f:c?T:function(t,n){if(t=m(t),n=v(n,!0),O)try{return T(t,n)}catch(t){}if(w(t,n))return l(!a.f.call(t,n),t[n])}},A=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},C=Object.defineProperty,x={f:c?C:function(t,n,r){if(A(t),n=v(n,!0),A(r),O)try{return C(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=c?function(t,n,r){return x.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,{}),N=Function.toString;"function"!=typeof F.inspectSource&&(F.inspectSource=function(t){return N.call(t)});var k,I,L,_,q=F.inspectSource,D=o.WeakMap,z="function"==typeof D&&/native code/.test(q(D)),B=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)"})})),H=0,G=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++H+G).toString(36)},J=B("keys"),K={},Q=o.WeakMap;if(z){var U=new Q,V=U.get,Y=U.has,X=U.set;k=function(t,n){return X.call(U,t,n),n},I=function(t){return V.call(U,t)||{}},L=function(t){return Y.call(U,t)}}else{var Z=J[_="state"]||(J[_]=W(_));K[Z]=!0,k=function(t,n){return E(t,Z,n),n},I=function(t){return w(t,Z)?t[Z]:{}},L=function(t){return w(t,Z)}}var $,tt,nt={set:k,get:I,has:L,enforce:function(t){return L(t)?I(t):k(t,{})},getterFor:function(t){return function(n){var r;if(!d(n)||(r=I(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,c){var u=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,a=!!c&&!!c.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?(u?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=i:E(t,n,i)):f?t[n]=i:R(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||q(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]},ct=Math.ceil,ut=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?ut:ct)(t)},at=Math.min,lt=function(t){return t>0?at(ft(t),9007199254740991):0},st=Math.max,pt=Math.min,ht=function(t){return function(n,r,e){var o,i=m(n),c=lt(i.length),u=function(t,n){var r=ft(t);return r<0?st(r+n,0):pt(r,n)}(e,c);if(t&&r!=r){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},gt={includes:ht(!0),indexOf:ht(!1)}.indexOf,yt=["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(K,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,yt)}},dt={f:Object.getOwnPropertySymbols},vt=it("Reflect","ownKeys")||function(t){var n=mt.f(A(t)),r=dt.f;return r?n.concat(r(t)):n},bt=function(t,n){for(var r=vt(n),e=x.f,o=j.f,i=0;i<r.length;i++){var c=r[i];w(t,c)||e(t,c,o(n,c))}},wt=/#|\.prototype\./,St=function(t,n){var r=Ot[Pt(t)];return r==jt||r!=Tt&&("function"==typeof n?i(n):!!n)},Pt=St.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=St.data={},Tt=St.NATIVE="N",jt=St.POLYFILL="P",At=St,Ct=j.f,xt=Array.isArray||function(t){return"Array"==p(t)},Et=function(t){return Object(y(t))},Rt=function(t,n,r){var e=v(n);e in t?x.f(t,e,l(0,r)):t[e]=r},Mt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Ft=Mt&&!Symbol.sham&&"symbol"==typeof Symbol(),Nt=B("wks"),kt=o.Symbol,It=Ft?kt:W,Lt=function(t){return w(Nt,t)||(Mt&&w(kt,t)?Nt[t]=kt[t]:Nt[t]=It("Symbol."+t)),Nt[t]},_t=Lt("species"),qt=function(t,n){var r;return xt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!xt(r.prototype)?d(r)&&null===(r=r[_t])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Dt=it("navigator","userAgent")||"",zt=o.process,Bt=zt&&zt.versions,Ht=Bt&&Bt.v8;Ht?tt=($=Ht.split("."))[0]+$[1]:Dt&&(!($=Dt.match(/Edge\/(\d+)/))||$[1]>=74)&&($=Dt.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Gt,Wt=tt&&+tt,Jt=Lt("species"),Kt=Lt("isConcatSpreadable"),Qt=9007199254740991,Ut="Maximum allowed index exceeded",Vt=Wt>=51||!i((function(){var t=[];return t[Kt]=!1,t.concat()[0]!==t})),Yt=(Gt="concat",Wt>=51||!i((function(){var t=[];return(t.constructor={})[Jt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Xt=function(t){if(!d(t))return!1;var n=t[Kt];return void 0!==n?!!n:xt(t)};!function(t,n){var r,e,i,c,u,f=t.target,a=t.global,l=t.stat;if(r=a?o:l?o[f]||R(f,{}):(o[f]||{}).prototype)for(e in n){if(c=n[e],i=t.noTargetGet?(u=Ct(r,e))&&u.value:r[e],!At(a?e:f+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;bt(c,i)}(t.sham||i&&i.sham)&&E(c,"sham",!0),rt(r,e,c,t)}}({target:"Array",proto:!0,forced:!Vt||!Yt},{concat:function(t){var n,r,e,o,i,c=Et(this),u=qt(c,0),f=0;for(n=-1,e=arguments.length;n<e;n++)if(Xt(i=-1===n?c:arguments[n])){if(f+(o=lt(i.length))>Qt)throw TypeError(Ut);for(r=0;r<o;r++,f++)r in i&&Rt(u,f,i[r])}else{if(f>=Qt)throw TypeError(Ut);Rt(u,f++,i)}return u.length=f,u}}),t.fn.bootstrapTable.locales["fr-CH"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Affiche de ".concat(t," à ").concat(n," sur ").concat(r," lignes (filtrés à partir de ").concat(e," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(r," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["fr-CH"])}));