UNPKG

9.72 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}},a=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f={f:c&&!u.call({1:2},1)?function(t){var n=c(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)},y="".split,d=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return d(g(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,S=function(t,n){return b.call(t,n)},w=o.document,j=h(w)&&h(w.createElement),P=!a&&!i((function(){return 7!=Object.defineProperty((t="div",j?w.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),O=Object.getOwnPropertyDescriptor,k={f:a?O:function(t,n){if(t=m(t),n=v(n,!0),P)try{return O(t,n)}catch(t){}if(S(t,n))return l(!f.f.call(t,n),t[n])}},T=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},x=Object.defineProperty,A={f:a?x:function(t,n,r){if(T(t),n=v(n,!0),T(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}},C=a?function(t,n,r){return A.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},E=function(t,n){try{C(o,t,n)}catch(r){o[t]=n}return n},M="__core-js_shared__",R=o[M]||E(M,{}),z=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(t){return z.call(t)});var F,N,I,L,_=R.inspectSource,D=o.WeakMap,q="function"==typeof D&&/native code/.test(_(D)),H=r((function(t){(t.exports=function(t,n){return R[t]||(R[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),B=0,G=Math.random(),K=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+G).toString(36)},W=H("keys"),J={},Q=o.WeakMap;if(q){var U=new Q,V=U.get,Y=U.has,Z=U.set;F=function(t,n){return Z.call(U,t,n),n},N=function(t){return V.call(U,t)||{}},I=function(t){return Y.call(U,t)}}else{var X=W[L="state"]||(W[L]=K(L));J[X]=!0,F=function(t,n){return C(t,X,n),n},N=function(t){return S(t,X)?t[X]:{}},I=function(t){return S(t,X)}}var $,tt,nt={set:F,get:N,has:I,enforce:function(t){return I(t)?N(t):F(t,{})},getterFor:function(t){return function(n){var r;if(!h(n)||(r=N(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,a){var u=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof n||S(i,"name")||C(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(u?!f&&t[n]&&(c=!0):delete t[n],c?t[n]=i:C(t,n,i)):c?t[n]=i:E(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]},at=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ft=Math.min,lt=function(t){return t>0?ft(ct(t),9007199254740991):0},st=Math.max,pt=Math.min,yt=function(t){return function(n,r,e){var o,i=m(n),a=lt(i.length),u=function(t,n){var r=ct(t);return r<0?st(r+n,0):pt(r,n)}(e,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},dt={includes:yt(!0),indexOf:yt(!1)}.indexOf,gt=["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)!S(J,r)&&S(e,r)&&i.push(r);for(;n.length>o;)S(e,r=n[o++])&&(~dt(i,r)||i.push(r));return i}(t,gt)}},ht={f:Object.getOwnPropertySymbols},vt=it("Reflect","ownKeys")||function(t){var n=mt.f(T(t)),r=ht.f;return r?n.concat(r(t)):n},bt=function(t,n){for(var r=vt(n),e=A.f,o=k.f,i=0;i<r.length;i++){var a=r[i];S(t,a)||e(t,a,o(n,a))}},St=/#|\.prototype\./,wt=function(t,n){var r=Pt[jt(t)];return r==kt||r!=Ot&&("function"==typeof n?i(n):!!n)},jt=wt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},Pt=wt.data={},Ot=wt.NATIVE="N",kt=wt.POLYFILL="P",Tt=wt,xt=k.f,At=Array.isArray||function(t){return"Array"==p(t)},Ct=function(t){return Object(g(t))},Et=function(t,n,r){var e=v(n);e in t?A.f(t,e,l(0,r)):t[e]=r},Mt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Rt=Mt&&!Symbol.sham&&"symbol"==typeof Symbol(),zt=H("wks"),Ft=o.Symbol,Nt=Rt?Ft:K,It=function(t){return S(zt,t)||(Mt&&S(Ft,t)?zt[t]=Ft[t]:zt[t]=Nt("Symbol."+t)),zt[t]},Lt=It("species"),_t=function(t,n){var r;return At(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!At(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,Ht=qt&&qt.versions,Bt=Ht&&Ht.v8;Bt?tt=($=Bt.split("."))[0]+$[1]:Dt&&(!($=Dt.match(/Edge\/(\d+)/))||$[1]>=74)&&($=Dt.match(/Chrome\/(\d+)/))&&(tt=$[1]);var Gt,Kt=tt&&+tt,Wt=It("species"),Jt=It("isConcatSpreadable"),Qt=9007199254740991,Ut="Maximum allowed index exceeded",Vt=Kt>=51||!i((function(){var t=[];return t[Jt]=!1,t.concat()[0]!==t})),Yt=(Gt="concat",Kt>=51||!i((function(){var t=[];return(t.constructor={})[Wt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Zt=function(t){if(!h(t))return!1;var n=t[Jt];return void 0!==n?!!n:At(t)};!function(t,n){var r,e,i,a,u,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(a=n[e],i=t.noTargetGet?(u=xt(r,e))&&u.value:r[e],!Tt(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;bt(a,i)}(t.sham||i&&i.sham)&&C(a,"sham",!0),rt(r,e,a,t)}}({target:"Array",proto:!0,forced:!Vt||!Yt},{concat:function(t){var n,r,e,o,i,a=Ct(this),u=_t(a,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(Zt(i=-1===n?a:arguments[n])){if(c+(o=lt(i.length))>Qt)throw TypeError(Ut);for(r=0;r<o;r++,c++)r in i&&Et(u,c,i[r])}else{if(c>=Qt)throw TypeError(Ut);Et(u,c++,i)}return u.length=c,u}}),t.fn.bootstrapTable.locales["sr-Latn-RS"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Molim sačekaj"},formatRecordsPerPage:function(t){return"".concat(t," redova po strani")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(r," (filtrirano od ").concat(e,")"):"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(r)},formatSRPaginationPreText:function(){return"prethodna strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"sledeća strana"},formatDetailPagination:function(t){return"Prikazano ".concat(t," redova")},formatClearSearch:function(){return"Obriši pretragu"},formatSearch:function(){return"Pronađi"},formatNoMatches:function(){return"Nije pronađen ni jedan podatak"},formatPaginationSwitch:function(){return"Prikaži/sakrij paginaciju"},formatPaginationSwitchDown:function(){return"Prikaži paginaciju"},formatPaginationSwitchUp:function(){return"Sakrij paginaciju"},formatRefresh:function(){return"Osveži"},formatToggle:function(){return"Promeni prikaz"},formatToggleOn:function(){return"Prikaži kartice"},formatToggleOff:function(){return"Sakrij kartice"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Prikaži/sakrij sve"},formatFullscreen:function(){return"Ceo ekran"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Automatsko osvežavanje"},formatExport:function(){return"Izvezi podatke"},formatJumpTo:function(){return"Idi"},formatAdvancedSearch:function(){return"Napredna pretraga"},formatAdvancedCloseButton:function(){return"Zatvori"},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["sr-Latn-RS"])}));