From e29168f5ab9f27a31cccf0e75663f452af32c727 Mon Sep 17 00:00:00 2001 From: syshex Date: Thu, 29 Jun 2017 13:00:48 +0100 Subject: [PATCH] 1.1.6 - dist --- dist/vue-bootstrap-table.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/vue-bootstrap-table.min.js b/dist/vue-bootstrap-table.min.js index 4282295..1efa6f3 100644 --- a/dist/vue-bootstrap-table.min.js +++ b/dist/vue-bootstrap-table.min.js @@ -1,4 +1,4 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueBootstrapTable=e():t.VueBootstrapTable=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=r(44),i=n(o);t.exports=i.default},function(t,e,r){(function(e){"use strict";function n(t){return"[object Array]"===E.call(t)}function o(t){return"undefined"!=typeof e&&e.isBuffer&&e.isBuffer(t)}function i(t){return"[object ArrayBuffer]"===E.call(t)}function a(t){return"undefined"!=typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function f(t){return"number"==typeof t}function c(t){return"undefined"==typeof t}function l(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===E.call(t)}function h(t){return"[object File]"===E.call(t)}function d(t){return"[object Blob]"===E.call(t)}function y(t){return"[object Function]"===E.call(t)}function v(t){return l(t)&&y(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function b(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function w(t,e){if(null!==t&&"undefined"!=typeof t)if("object"==typeof t||n(t)||(t=[t]),n(t))for(var r=0,o=t.length;r=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){s.headers[t]={}}),i.forEach(["post","put","patch"],function(t){s.headers[t]=i.merge(u)}),t.exports=s}).call(e,r(39))},function(t,e,r){"use strict";var n=r(1),o=r(18),i=r(21),a=r(27),u=r(25),s=r(6),f="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||r(20);t.exports=function(t){return new Promise(function(e,c){var l=t.data,p=t.headers;n.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||u(t.url)||(h=new window.XDomainRequest,d="onload",y=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var v=t.auth.username||"",g=t.auth.password||"";p.Authorization="Basic "+f(v+":"+g)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||y)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:n,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:r,config:t,request:h};o(e,c,i),h=null}},h.onerror=function(){c(s("Network Error",t)),h=null},h.ontimeout=function(){c(s("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},n.isStandardBrowserEnv()){var b=r(23),m=(t.withCredentials||u(t.url))&&t.xsrfCookieName?b.read(t.xsrfCookieName):void 0;m&&(p[t.xsrfHeaderName]=m)}if("setRequestHeader"in h&&n.forEach(p,function(t,e){"undefined"==typeof l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),c(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,r){"use strict";var n=r(17);t.exports=function(t,e,r,o){var i=new Error(t);return n(i,e,r,o)}},function(t,e){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(o):i<128?r+=n[i]:i<2048?r+=n[192|i>>6]+n[128|63&i]:i<55296||i>=57344?r+=n[224|i>>12]+n[128|i>>6&63]+n[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(o)),r+=n[240|i>>18]+n[128|i>>12&63]+n[128|i>>6&63]+n[128|63&i])}return r},e.compact=function(t,r){if("object"!=typeof t||null===t)return t;var n=r||[],o=n.indexOf(t);if(o!==-1)return n[o];if(n.push(t),Array.isArray(t)){for(var i=[],a=0;a>8-u%1*8)){if(n=i.charCodeAt(u+=.75),n>255)throw new r;e=e<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=n},function(t,e,r){"use strict";function n(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(1);t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,function(t,e){null!==t&&"undefined"!=typeof t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(n(e)+"="+n(t))}))}),i=a.join("&")}return i&&(t+=(t.indexOf("?")===-1?"?":"&")+i),t}},function(t,e){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,r){"use strict";var n=r(1);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},function(t,e,r){"use strict";var n=r(1);t.exports=function(t){var e,r,o,i={};return t?(n.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+r:r)}),i):i}},function(t,e){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(11),i=n(o),a=r(40),u=n(a),s=r(38),f=n(s),c=r(37),l=n(c),p=r(36),h=n(p),d={template:'{{this.entry[this.columnname]}}
',props:["entry","columnname"],data:function(){return{enabled:!1,datavalue:""}},methods:{saveThis:function(){var t=this.entry[this.columnname];this.entry[this.columnname]=this.datavalue,this.$dispatch("cellDataModifiedEvent",t,this.datavalue,this.columnname,this.entry),this.enabled=!this.enabled},cancelThis:function(){this.datavalue=this.entry[this.columnname],this.enabled=!this.enabled},toggleInput:function(){this.datavalue=this.entry[this.columnname],this.enabled=!this.enabled}}};e.default={name:"VueBootstrapTable",components:{"value-field-section":d},props:{columns:{type:Array,required:!0},values:{type:Array,required:!1},sortable:{type:Boolean,required:!1,default:!0},multiColumnSortable:{type:Boolean,required:!1,default:!1},showFilter:{type:Boolean,required:!1,default:!1},showColumnPicker:{type:Boolean,required:!1,default:!1},paginated:{type:Boolean,required:!1,default:!1},pageSize:{type:Number,required:!1,default:10},ajax:{type:Object,required:!1,default:function(){return{enabled:!1,url:"",method:"GET",delegate:!1}}},rowClickHandler:{type:Function,required:!1,default:function(){}}},data:function(){return{filteredSize:0,filterKey:"",sortKey:[],sortOrders:{},sortChanged:1,columnMenuOpen:!1,displayCols:[],filteredValues:[],page:1,echo:0,loading:!1}},ready:function(){this.loading=!0,this.setSortOrders();var t=this;this.columns.forEach(function(e){var r=t.buildColumnObject(e);t.displayCols.push(r)}),this.ajax.enabled?this.ajax.delegate?this.processFilter():(this.loading=!0,this.fetchData(function(e){t.values=e.data,t.processFilter()})):this.processFilter()},watch:{values:function(){this.processFilter()},columns:function(){this.displayCols=[];var t=this;this.columns.forEach(function(e){var r=t.buildColumnObject(e);t.displayCols.push(r)}),this.setSortOrders()},showFilter:function(){this.filterKey=""},showColumnPicker:function(){this.columnMenuOpen=!1,this.displayCols.forEach(function(t){t.visible=!0})},filterKey:function(){this.page=1,this.processFilter()},sortKey:function(){this.processFilter()},sortChanged:function(){this.processFilter()},page:function(){this.processFilter()},paginated:function(){this.processFilter()},loading:function(){}},computed:{displayColsVisible:function t(){var t=[];for(var e in this.displayCols)this.displayCols[e].visible&&t.push(this.displayCols[e]);return t},filteredValuesSorted:function(){for(var t=[],e=0,r=this.sortKey.length;e3&&(e=this.page-2);for(var r=0;e<=this.maxPage&&r<5;e++)t.push(e),r++;return t},maxPage:function(){return Math.ceil(this.filteredSize/this.pageSize)},showPaginationEtc:function(){var t=1;return this.page>3&&(t=this.page-2),t+40)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function n(t){return 3*t.length/4-r(t)}function o(t){var e,n,o,i,a,u,s=t.length;a=r(t),u=new c(3*s/4-a),o=a>0?s-4:s;var l=0;for(e=0,n=0;e>16&255,u[l++]=i>>8&255,u[l++]=255&i;return 2===a?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,u[l++]=255&i):1===a&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,u[l++]=i>>8&255,u[l++]=255&i),u}function i(t){return s[t>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}function a(t,e,r){for(var n,o=[],a=e;ac?c:f+u));return 1===n?(e=t[r-1],o+=s[e>>2],o+=s[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=s[e>>10],o+=s[e>>4&63],o+=s[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=n,e.toByteArray=o,e.fromByteArray=u;for(var s=[],f=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=l.length;p=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){s.headers[t]={}}),i.forEach(["post","put","patch"],function(t){s.headers[t]=i.merge(u)}),t.exports=s}).call(e,r(39))},function(t,e,r){"use strict";var n=r(1),o=r(18),i=r(21),a=r(27),u=r(25),s=r(6),f="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||r(20);t.exports=function(t){return new Promise(function(e,c){var l=t.data,p=t.headers;n.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||u(t.url)||(h=new window.XDomainRequest,d="onload",y=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var v=t.auth.username||"",g=t.auth.password||"";p.Authorization="Basic "+f(v+":"+g)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||y)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:n,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:r,config:t,request:h};o(e,c,i),h=null}},h.onerror=function(){c(s("Network Error",t)),h=null},h.ontimeout=function(){c(s("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},n.isStandardBrowserEnv()){var b=r(23),m=(t.withCredentials||u(t.url))&&t.xsrfCookieName?b.read(t.xsrfCookieName):void 0;m&&(p[t.xsrfHeaderName]=m)}if("setRequestHeader"in h&&n.forEach(p,function(t,e){"undefined"==typeof l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),c(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,r){"use strict";var n=r(17);t.exports=function(t,e,r,o){var i=new Error(t);return n(i,e,r,o)}},function(t,e){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(o):i<128?r+=n[i]:i<2048?r+=n[192|i>>6]+n[128|63&i]:i<55296||i>=57344?r+=n[224|i>>12]+n[128|i>>6&63]+n[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(o)),r+=n[240|i>>18]+n[128|i>>12&63]+n[128|i>>6&63]+n[128|63&i])}return r},e.compact=function(t,r){if("object"!=typeof t||null===t)return t;var n=r||[],o=n.indexOf(t);if(o!==-1)return n[o];if(n.push(t),Array.isArray(t)){for(var i=[],a=0;a>8-u%1*8)){if(n=i.charCodeAt(u+=.75),n>255)throw new r;e=e<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=n},function(t,e,r){"use strict";function n(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(1);t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,function(t,e){null!==t&&"undefined"!=typeof t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(n(e)+"="+n(t))}))}),i=a.join("&")}return i&&(t+=(t.indexOf("?")===-1?"?":"&")+i),t}},function(t,e){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";var n=r(1);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,r){"use strict";var n=r(1);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},function(t,e,r){"use strict";var n=r(1);t.exports=function(t){var e,r,o,i={};return t?(n.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+r:r)}),i):i}},function(t,e){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(11),i=n(o),a=r(40),u=n(a),s=r(38),f=n(s),c=r(37),l=n(c),p=r(36),h=n(p),d={template:'{{this.entry[this.columnname]}}
',props:["entry","columnname"],data:function(){return{enabled:!1,datavalue:""}},methods:{saveThis:function(){var t=this.entry[this.columnname];this.entry[this.columnname]=this.datavalue,this.$dispatch("cellDataModifiedEvent",t,this.datavalue,this.columnname,this.entry),this.enabled=!this.enabled},cancelThis:function(){this.datavalue=this.entry[this.columnname],this.enabled=!this.enabled},toggleInput:function(){this.datavalue=this.entry[this.columnname],this.enabled=!this.enabled}}};e.default={name:"VueBootstrapTable",components:{"value-field-section":d},props:{columns:{type:Array,required:!0},values:{type:Array,required:!1},sortable:{type:Boolean,required:!1,default:!0},multiColumnSortable:{type:Boolean,required:!1,default:!1},showFilter:{type:Boolean,required:!1,default:!1},filterCaseSensitive:{type:Boolean,required:!1,default:!0},showColumnPicker:{type:Boolean,required:!1,default:!1},paginated:{type:Boolean,required:!1,default:!1},pageSize:{type:Number,required:!1,default:10},ajax:{type:Object,required:!1,default:function(){return{enabled:!1,url:"",method:"GET",delegate:!1}}},rowClickHandler:{type:Function,required:!1,default:function(){}}},data:function(){return{filteredSize:0,filterKey:"",sortKey:[],sortOrders:{},sortChanged:1,columnMenuOpen:!1,displayCols:[],filteredValues:[],page:1,echo:0,loading:!1}},ready:function(){this.loading=!0,this.setSortOrders();var t=this;this.columns.forEach(function(e){var r=t.buildColumnObject(e);t.displayCols.push(r)}),this.ajax.enabled?this.ajax.delegate?this.processFilter():(this.loading=!0,this.fetchData(function(e){t.values=e.data,t.processFilter()})):this.processFilter()},watch:{values:function(){this.processFilter()},columns:function(){this.displayCols=[];var t=this;this.columns.forEach(function(e){var r=t.buildColumnObject(e);t.displayCols.push(r)}),this.setSortOrders()},showFilter:function(){this.filterKey=""},showColumnPicker:function(){this.columnMenuOpen=!1,this.displayCols.forEach(function(t){t.visible=!0})},filterKey:function(){this.page=1,this.processFilter()},sortKey:function(){this.processFilter()},sortChanged:function(){this.processFilter()},page:function(){this.processFilter()},paginated:function(){this.processFilter()},loading:function(){}},computed:{displayColsVisible:function t(){var t=[];for(var e in this.displayCols)this.displayCols[e].visible&&t.push(this.displayCols[e]);return t},filteredValuesSorted:function(){for(var t=[],e=0,r=this.sortKey.length;e3&&(e=this.page-2);for(var r=0;e<=this.maxPage&&r<5;e++)t.push(e),r++;return t},maxPage:function(){return Math.ceil(this.filteredSize/this.pageSize)},showPaginationEtc:function(){var t=1;return this.page>3&&(t=this.page-2),t+40)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function n(t){return 3*t.length/4-r(t)}function o(t){var e,n,o,i,a,u,s=t.length;a=r(t),u=new c(3*s/4-a),o=a>0?s-4:s;var l=0;for(e=0,n=0;e>16&255,u[l++]=i>>8&255,u[l++]=255&i;return 2===a?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,u[l++]=255&i):1===a&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,u[l++]=i>>8&255,u[l++]=255&i),u}function i(t){return s[t>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}function a(t,e,r){for(var n,o=[],a=e;ac?c:f+u));return 1===n?(e=t[r-1],o+=s[e>>2],o+=s[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=s[e>>10],o+=s[e>>4&63],o+=s[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=n,e.toByteArray=o,e.fromByteArray=u;for(var s=[],f=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=l.length;p