UNPKG

9.49 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,u,i,f="object",c=function(t){return t&&t.Math==Math&&t},a=c(typeof globalThis==f&&globalThis)||c(typeof window==f&&window)||c(typeof self==f&&self)||c(typeof n==f&&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,y=Object.getOwnPropertyDescriptor,g={f:y&&!p.call({1:2},1)?function(t){var n=y(this,t);return!!n&&n.enumerable}:p},d=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},m={}.toString,h=function(t){return m.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},P=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")},T={}.hasOwnProperty,j=function(t,n){return T.call(t,n)},x=a.document,E=O(x)&&O(x.createElement),M=!s&&!l((function(){return 7!=Object.defineProperty((t="div",E?x.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),A=Object.getOwnPropertyDescriptor,R={f:s?A:function(t,n){if(t=S(t),n=P(n,!0),M)try{return A(t,n)}catch(t){}if(j(t,n))return d(!g.f.call(t,n),t[n])}},_=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},C=Object.defineProperty,N={f:s?C:function(t,n,r){if(_(t),n=P(n,!0),_(r),M)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}},k=s?function(t,n,r){return N.f(t,n,d(1,r))}:function(t,n,r){return t[n]=r,t},F=function(t,n){try{k(a,t,n)}catch(r){a[t]=n}return n},I=r((function(t){var n=a["__core-js_shared__"]||F("__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)"})})),L=I("native-function-to-string",Function.toString),D=a.WeakMap,q="function"==typeof D&&/native code/.test(L.call(D)),z=0,B=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+B).toString(36)},W=I("keys"),J={},K=a.WeakMap;if(q){var Q=new K,U=Q.get,V=Q.has,Y=Q.set;e=function(t,n){return Y.call(Q,t,n),n},o=function(t){return U.call(Q,t)||{}},u=function(t){return V.call(Q,t)}}else{var H=W[i="state"]||(W[i]=G(i));J[H]=!0,e=function(t,n){return k(t,H,n),n},o=function(t){return j(t,H)?t[H]:{}},u=function(t){return j(t,H)}}var X,Z={set:e,get:o,has:u,enforce:function(t){return u(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(L).split("toString");I("inspectSource",(function(t){return L.call(t)})),(t.exports=function(t,n,o,u){var i=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,c=!!u&&!!u.noTargetGet;"function"==typeof o&&("string"!=typeof n||j(o,"name")||k(o,"name",n),r(o).source=e.join("string"==typeof n?n:"")),t!==a?(i?!c&&t[n]&&(f=!0):delete t[n],f?t[n]=o:k(t,n,o)):f?t[n]=o:F(n,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L.call(this)}))})),tt=a,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)},ut=Math.min,it=function(t){return t>0?ut(ot(t),9007199254740991):0},ft=Math.max,ct=Math.min,at=function(t){return function(n,r,e){var o,u=S(n),i=it(u.length),f=function(t,n){var r=ot(t);return r<0?ft(r+n,0):ct(r,n)}(e,i);if(t&&r!=r){for(;i>f;)if((o=u[f++])!=o)return!0}else for(;i>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}},lt={includes:at(!0),indexOf:at(!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,u=[];for(r in e)!j(J,r)&&j(e,r)&&u.push(r);for(;n.length>o;)j(e,r=n[o++])&&(~lt(u,r)||u.push(r));return u}(t,st)}},yt={f:Object.getOwnPropertySymbols},gt=function(t,n){return arguments.length<2?nt(tt[t])||nt(a[t]):tt[t]&&tt[t][n]||a[t]&&a[t][n]}("Reflect","ownKeys")||function(t){var n=pt.f(_(t)),r=yt.f;return r?n.concat(r(t)):n},dt=function(t,n){for(var r=gt(n),e=N.f,o=R.f,u=0;u<r.length;u++){var i=r[u];j(t,i)||e(t,i,o(n,i))}},mt=/#|\.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(mt,".").toLowerCase()},bt=ht.data={},wt=ht.NATIVE="N",St=ht.POLYFILL="P",Ot=ht,Pt=R.f,Tt=Array.isArray||function(t){return"Array"==h(t)},jt=function(t){return Object(w(t))},xt=function(t,n,r){var e=P(n);e in t?N.f(t,e,d(0,r)):t[e]=r},Et=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),Mt=a.Symbol,At=I("wks"),Rt=function(t){return At[t]||(At[t]=Et&&Mt[t]||(Et?Mt:G)("Symbol."+t))},_t=Rt("species"),Ct=function(t,n){var r;return Tt(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Tt(r.prototype)?O(r)&&null===(r=r[_t])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Nt=Rt("species"),kt=Rt("isConcatSpreadable"),Ft=!l((function(){var t=[];return t[kt]=!1,t.concat()[0]!==t})),It=(X="concat",!l((function(){var t=[];return(t.constructor={})[Nt]=function(){return{foo:1}},1!==t[X](Boolean).foo}))),Lt=function(t){if(!O(t))return!1;var n=t[kt];return void 0!==n?!!n:Tt(t)};!function(t,n){var r,e,o,u,i,f=t.target,c=t.global,l=t.stat;if(r=c?a:l?a[f]||F(f,{}):(a[f]||{}).prototype)for(e in n){if(u=n[e],o=t.noTargetGet?(i=Pt(r,e))&&i.value:r[e],!Ot(c?e:f+(l?".":"#")+e,t.forced)&&void 0!==o){if(typeof u==typeof o)continue;dt(u,o)}(t.sham||o&&o.sham)&&k(u,"sham",!0),$(r,e,u,t)}}({target:"Array",proto:!0,forced:!Ft||!It},{concat:function(t){var n,r,e,o,u,i=jt(this),f=Ct(i,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(u=-1===n?i:arguments[n],Lt(u)){if(c+(o=it(u.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in u&&xt(f,c,u[r])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");xt(f,c++,u)}return f.length=c,f}}),t.fn.bootstrapTable.locales["sr-Cyrl-RS"]={formatLoadingMessage:function(){return"Молим сачекај"},formatRecordsPerPage:function(t){return"".concat(t," редова по страни")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r," (филтрирано од ").concat(e,")"):"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r)},formatSRPaginationPreText:function(){return"претходна страна"},formatSRPaginationPageText:function(t){return"на страну ".concat(t)},formatSRPaginationNextText:function(){return"следећа страна"},formatDetailPagination:function(t){return"Приказано ".concat(t," редова")},formatClearSearch:function(){return"Обриши претрагу"},formatSearch:function(){return"Пронађи"},formatNoMatches:function(){return"Није пронађен ни један податак"},formatPaginationSwitch:function(){return"Прикажи/сакриј пагинацију"},formatPaginationSwitchDown:function(){return"Прикажи пагинацију"},formatPaginationSwitchUp:function(){return"Сакриј пагинацију"},formatRefresh:function(){return"Освежи"},formatToggle:function(){return"Промени приказ"},formatToggleOn:function(){return"Прикажи картице"},formatToggleOff:function(){return"Сакриј картице"},formatColumns:function(){return"Колоне"},formatColumnsToggleAll:function(){return"Прикажи/сакриј све"},formatFullscreen:function(){return"Цео екран"},formatAllRows:function(){return"Све"},formatAutoRefresh:function(){return"Аутоматско освежавање"},formatExport:function(){return"Извези податке"},formatJumpTo:function(){return"Иди"},formatAdvancedSearch:function(){return"Напредна претрага"},formatAdvancedCloseButton:function(){return"Затвори"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sr-Cyrl-RS"])}));