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}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f={f:c&&!a.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:a},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)},g="".split,m=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return m(y(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=d(t),n=v(n,!0),P)try{return T(t,n)}catch(t){}if(w(t,n))return l(!f.f.call(t,n),t[n])}},A=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},x=Object.defineProperty,C={f:u?x:function(t,n,r){if(A(t),n=v(n,!0),A(r),P)try{return x(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}},M=u?function(t,n,r){return C.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},E=function(t,n){try{M(o,t,n)}catch(r){o[t]=n}return n},z="__core-js_shared__",N=o[z]||E(z,{}),R=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return R.call(t)});var F,I,k,D,L=N.inspectSource,_=o.WeakMap,q="function"==typeof _&&/native code/.test(L(_)),V=r((function(t){(t.exports=function(t,n){return N[t]||(N[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),H=0,B=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++H+B).toString(36)},W=V("keys"),J={},K=o.WeakMap;if(q){var Q=new K,U=Q.get,Y=Q.has,X=Q.set;F=function(t,n){return X.call(Q,t,n),n},I=function(t){return U.call(Q,t)||{}},k=function(t){return Y.call(Q,t)}}else{var Z=W[D="state"]||(W[D]=G(D));J[Z]=!0,F=function(t,n){return M(t,Z,n),n},I=function(t){return w(t,Z)?t[Z]:{}},k=function(t){return w(t,Z)}}var $,tt,nt={set:F,get:I,has:k,enforce:function(t){return k(t)?I(t):F(t,{})},getterFor:function(t){return function(n){var r;if(!h(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,u){var a=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,f=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||M(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(a?!f&&t[n]&&(c=!0):delete t[n],c?t[n]=i:M(t,n,i)):c?t[n]=i:E(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(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,at=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?at:ut)(t)},ft=Math.min,lt=function(t){return t>0?ft(ct(t),9007199254740991):0},st=Math.max,pt=Math.min,gt=function(t){return function(n,r,e){var o,i=d(n),u=lt(i.length),a=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>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}},mt={includes:gt(!0),indexOf:gt(!1)}.indexOf,yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=d(t),o=0,i=[];for(r in e)!w(J,r)&&w(e,r)&&i.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~mt(i,r)||i.push(r));return i}(t,yt)}},ht={f:Object.getOwnPropertySymbols},vt=it("Reflect","ownKeys")||function(t){var n=dt.f(A(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",At=St,xt=j.f,Ct=Array.isArray||function(t){return"Array"==p(t)},Mt=function(t){return Object(y(t))},Et=function(t,n,r){var e=v(n);e in t?C.f(t,e,l(0,r)):t[e]=r},zt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Nt=zt&&!Symbol.sham&&"symbol"==typeof Symbol(),Rt=V("wks"),Ft=o.Symbol,It=Nt?Ft:G,kt=function(t){return w(Rt,t)||(zt&&w(Ft,t)?Rt[t]=Ft[t]:Rt[t]=It("Symbol."+t)),Rt[t]},Dt=kt("species"),Lt=function(t,n){var r;return Ct(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Ct(r.prototype)?h(r)&&null===(r=r[Dt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},_t=it("navigator","userAgent")||"",qt=o.process,Vt=qt&&qt.versions,Ht=Vt&&Vt.v8;Ht?tt=($=Ht.split("."))[0]+$[1]:_t&&(!($=_t.match(/Edge\/(\d+)/))||$[1]>=74)&&($=_t.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Bt,Gt=tt&&+tt,Wt=kt("species"),Jt=kt("isConcatSpreadable"),Kt=9007199254740991,Qt="Maximum allowed index exceeded",Ut=Gt>=51||!i((function(){var t=[];return t[Jt]=!1,t.concat()[0]!==t})),Yt=(Bt="concat",Gt>=51||!i((function(){var t=[];return(t.constructor={})[Wt]=function(){return{foo:1}},1!==t[Bt](Boolean).foo}))),Xt=function(t){if(!h(t))return!1;var n=t[Jt];return void 0!==n?!!n:Ct(t)};!function(t,n){var r,e,i,u,a,c=t.target,f=t.global,l=t.stat;if(r=f?o:l?o[c]||E(c,{}):(o[c]||{}).prototype)for(e in n){if(u=n[e],i=t.noTargetGet?(a=xt(r,e))&&a.value:r[e],!At(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;bt(u,i)}(t.sham||i&&i.sham)&&M(u,"sham",!0),rt(r,e,u,t)}}({target:"Array",proto:!0,forced:!Ut||!Yt},{concat:function(t){var n,r,e,o,i,u=Mt(this),a=Lt(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(Xt(i=-1===n?u:arguments[n])){if(c+(o=lt(i.length))>Kt)throw TypeError(Qt);for(r=0;r<o;r++,c++)r in i&&Et(a,c,i[r])}else{if(c>=Kt)throw TypeError(Qt);Et(a,c++,i)}return a.length=c,a}}),t.fn.bootstrapTable.locales["it-IT"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Caricamento in corso"},formatRecordsPerPage:function(t){return"".concat(t," elementi per pagina")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(r," elementi (filtrati da ").concat(e," elementi totali)"):"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(r," elementi")},formatSRPaginationPreText:function(){return"pagina precedente"},formatSRPaginationPageText:function(t){return"alla pagina ".concat(t)},formatSRPaginationNextText:function(){return"pagina successiva"},formatDetailPagination:function(t){return"Mostrando ".concat(t," elementi")},formatClearSearch:function(){return"Pulisci filtri"},formatSearch:function(){return"Cerca"},formatNoMatches:function(){return"Nessun elemento trovato"},formatPaginationSwitch:function(){return"Nascondi/Mostra paginazione"},formatPaginationSwitchDown:function(){return"Mostra paginazione"},formatPaginationSwitchUp:function(){return"Nascondi paginazione"},formatRefresh:function(){return"Aggiorna"},formatToggle:function(){return"Attiva/Disattiva"},formatToggleOn:function(){return"Mostra visuale a scheda"},formatToggleOff:function(){return"Nascondi visuale a scheda"},formatColumns:function(){return"Colonne"},formatColumnsToggleAll:function(){return"Mostra tutte"},formatFullscreen:function(){return"Schermo intero"},formatAllRows:function(){return"Tutto"},formatAutoRefresh:function(){return"Auto Aggiornamento"},formatExport:function(){return"Esporta dati"},formatJumpTo:function(){return"VAI"},formatAdvancedSearch:function(){return"Filtri avanzati"},formatAdvancedCloseButton:function(){return"Chiudi"},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["it-IT"])}));