diff --git a/docs/404.html b/docs/404.html index e820f23f..ae5e90d1 100644 --- a/docs/404.html +++ b/docs/404.html @@ -5,13 +5,13 @@ vue-good-table + - - + -

404

That's a Four-Oh-Four.
Take me home.
- +

404

Looks like we've got some broken links.
Take me home.
+ diff --git a/docs/assets/js/app.aa0f1132.js b/docs/assets/js/app.66d65d5c.js similarity index 69% rename from docs/assets/js/app.aa0f1132.js rename to docs/assets/js/app.66d65d5c.js index abf48160..e51e3f4b 100644 --- a/docs/assets/js/app.aa0f1132.js +++ b/docs/assets/js/app.66d65d5c.js @@ -5,4 +5,4 @@ * vue-router v3.0.1 * (c) 2017 Evan You * @license MIT - */function Co(t,e){0}function Oo(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var ko={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),l=0,f=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&l++,o._inactive&&(f=!0),o=o.$parent;if(i.routerViewDepth=l,f)return a(c[s],i,r);var p=u.matched[l];if(!p)return c[s]=null,a();var h=c[s]=p.components[s];i.registerRouteInstance=function(t,e){var n=p.instances[s];(e&&n!==t||!e&&n===t)&&(p.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){p.instances[s]=e.componentInstance};var d=i.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(u,p.props&&p.props[s]);if(d){d=i.props=function(t,e){for(var n in e)t[n]=e[n];return t}({},d);var v=i.attrs=i.attrs||{};for(var g in d)h.props&&g in h.props||(v[g]=d[g],delete d[g])}return a(h,i,r)}};var So=/[!'()*]/g,To=function(t){return"%"+t.charCodeAt(0).toString(16)},Po=/%2C/g,jo=function(t){return encodeURIComponent(t).replace(So,To).replace(Po,",")},$o=decodeURIComponent;function Ao(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=$o(n.shift()),o=n.length>0?$o(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function Do(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return jo(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(jo(e)):r.push(jo(e)+"="+jo(t)))}),r.join("&")}return jo(e)+"="+jo(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var Eo=/\/?$/;function Lo(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=Mo(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:Ro(e,o),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=Ro(n,o)),Object.freeze(a)}function Mo(t){if(Array.isArray(t))return t.map(Mo);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=Mo(t[n]);return e}return t}var Io=Lo(null,{path:"/"});function Ro(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||Do)(r)+o}function Uo(t,e){return e===Io?t===e:!!e&&(t.path&&e.path?t.path.replace(Eo,"")===e.path.replace(Eo,"")&&t.hash===e.hash&&Fo(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&Fo(t.query,e.query)&&Fo(t.params,e.params)))}function Fo(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?Fo(r,o):String(r)===String(o)})}var No,Ho=[String,Object],Yo=[String,Array],zo={name:"router-link",props:{to:{type:Ho,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Yo,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,u={},c=n.options.linkActiveClass,l=n.options.linkExactActiveClass,f=null==c?"router-link-active":c,p=null==l?"router-link-exact-active":l,h=null==this.activeClass?f:this.activeClass,d=null==this.exactActiveClass?p:this.exactActiveClass,v=i.path?Lo(null,i,null,n):a;u[d]=Uo(r,v),u[h]=this.exact?u[d]:function(t,e){return 0===t.path.replace(Eo,"/").indexOf(e.path.replace(Eo,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var g=function(t){Bo(t)&&(e.replace?n.replace(i):n.push(i))},m={click:Bo};Array.isArray(this.event)?this.event.forEach(function(t){m[t]=g}):m[this.event]=g;var y={class:u};if("a"===this.tag)y.on=m,y.attrs={href:s};else{var b=function t(e){if(e)for(var n,r=0;r=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),u=e&&e.path||"/",c=s.path?Go(s.path,u,n||o.append):u,l=function(t,e,n){void 0===e&&(e={});var r,o=n||Ao;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}(s.query,o.query,r&&r.options.parseQuery),f=o.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:c,query:l,hash:f}}function vi(t,e){for(var n in e)t[n]=e[n];return t}function gi(t,e){var n=hi(t),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(t,n,a){var s=di(t,n,!1,e),c=s.name;if(c){var l=i[c];if(!l)return u(null,s);var f=l.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&f.indexOf(p)>-1&&(s.params[p]=n.params[p]);if(l)return s.path=pi(l.path,s.params),u(l,s,a)}else if(s.path){s.params={};for(var h=0;h=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function Mi(t){return function(e,n,r){var o=!1,i=0,a=null;Ii(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var u,c=Fi(function(e){var o;((o=e).__esModule||Ui&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:No.extend(e),n.components[s]=e,--i<=0&&r()}),l=Fi(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Oo(t)?t:new Error(e),r(a))});try{u=t(c,l)}catch(t){l(t)}if(u)if("function"==typeof u.then)u.then(c,l);else{var f=u.component;f&&"function"==typeof f.then&&f.then(c,l)}}}),o||r()}}function Ii(t,e){return Ri(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Ri(t){return Array.prototype.concat.apply([],t)}var Ui="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Fi(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Ni=function(t,e){this.router=t,this.base=function(t){if(!t)if(qo){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=Io,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Hi(t,e,n,r){var o=Ii(t,function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=No.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,o,i)}):n(a,r,o,i)});return Ri(r?o.reverse():o)}function Yi(t,e){if(e)return function(){return t.apply(e,arguments)}}Ni.prototype.listen=function(t){this.cb=t},Ni.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ni.prototype.onError=function(t){this.errorCbs.push(t)},Ni.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},Ni.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current,i=function(t){Oo(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):(Co(),console.error(t))),n&&n(t)};if(Uo(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),i();var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function Zi(t){Ti?Di(Vi(t)):window.location.hash=t}function Xi(t){Ti?Ei(Vi(t)):window.location.replace(Vi(t))}var Ki=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ni),Qi=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=gi(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Ti&&!1!==t.fallback,this.fallback&&(e="hash"),qo||(e="abstract"),this.mode=e,e){case"history":this.history=new zi(this,t.base);break;case"hash":this.history=new Wi(this,t.base,this.fallback);break;case"abstract":this.history=new Ki(this,t.base);break;default:0}},Ji={currentRoute:{configurable:!0}};function ta(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Qi.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ji.currentRoute.get=function(){return this.history&&this.history.current},Qi.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof zi)n.transitionTo(n.getCurrentLocation());else if(n instanceof Wi){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Qi.prototype.beforeEach=function(t){return ta(this.beforeHooks,t)},Qi.prototype.beforeResolve=function(t){return ta(this.resolveHooks,t)},Qi.prototype.afterEach=function(t){return ta(this.afterHooks,t)},Qi.prototype.onReady=function(t,e){this.history.onReady(t,e)},Qi.prototype.onError=function(t){this.history.onError(t)},Qi.prototype.push=function(t,e,n){this.history.push(t,e,n)},Qi.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},Qi.prototype.go=function(t){this.history.go(t)},Qi.prototype.back=function(){this.go(-1)},Qi.prototype.forward=function(){this.go(1)},Qi.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Qi.prototype.resolve=function(t,e,n){var r=di(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?Vo(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},Qi.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Io&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Qi.prototype,Ji),Qi.install=Wo,Qi.version="3.0.1",qo&&window.Vue&&window.Vue.use(Qi);var ea=Qi,na={functional:!0,props:{custom:{type:Boolean,default:!0}},render:function(t,e){var n=e.parent,r=e.props,o=e.data;return t(n.$page.key,{class:[r.custom?"custom":"",o.class,o.staticClass],style:o.style})}},ra=(n(153),n(0)),oa=Object(ra.a)({},function(t,e){var n=e._c;return n("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[n("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),n("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})])},[],!0,null,null,null).exports,ia={functional:!0,props:["type","text"],render:function(t,e){var n=e.props,r=e.slots;return t("span",{class:["badge",n.type]},n.text||r().default)}},aa=(n(151),Object(ra.a)(ia,void 0,void 0,!1,null,null,null).exports);n(149),n(16),n(23),n(11),n(32),n(30);function sa(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e-1},a=[],s=0;s=r);s++){var u=n[s];if(this.getPageLocalePath(u)===o)if(i(u))a.push(u);else if(u.headers)for(var c=0;c=r);c++){var l=u.headers[c];i(l)&&a.push(Object.assign({},u,{path:u.path+"#"+l.slug,header:l}))}}return a}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})):t._e()])},[],!1,null,null,null).exports),Da=(n(127),{name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}}),Ea=(n(121),Object(ra.a)(Da,function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)},[],!1,null,null,null).exports),La={components:{NavLink:Sa,DropdownTransition:Ea},data:function(){return{open:!1}},props:{item:{required:!0}},methods:{toggle:function(){this.open=!this.open}}},Ma=(n(119),{components:{NavLink:Sa,DropdownLink:Object(ra.a)(La,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("a",{staticClass:"dropdown-title",on:{click:t.toggle}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,function(e,r){return n("li",{key:e.link||r,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v(t._s(e.text))]):t._e(),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,function(t){return n("li",{key:t.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:t}})],1)})):n("NavLink",{attrs:{item:e}})],1)}))])],1)},[],!1,null,null,null).exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,r=this.$router.options.routes,o=this.$site.themeConfig.locales||{},i={text:this.$themeLocaleConfig.selectText||"Languages",items:Object.keys(e).map(function(i){var a,s=e[i],u=o[i]&&o[i].label||s.lang;return s.lang===t.$lang?a=n:(a=n.replace(t.$localeConfig.path,i),r.some(function(t){return t.path===a})||(a=i)),{text:u,link:a}})};return sa(this.userNav).concat([i])}return this.userNav},userLinks:function(){return(this.nav||[]).map(function(t){return Object.assign(Oa(t),{items:(t.items||[]).map(Oa)})})},repoLink:function(){var t=this.$site.themeConfig.repo;if(t)return/^https?:/.test(t)?t:"https://github.com/".concat(t)},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;n5&&void 0!==arguments[5]?arguments[5]:1;return!e||i>o?null:t("ul",{class:"sidebar-sub-headers"},e.map(function(e){var a=_a(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[Ya(t,"#"+e.slug,e.title,a),za(t,e.children,n,r,o,i+1)])}))}var Ba={functional:!0,props:["item"],render:function(t,e){var n=e.parent,r=n.$page,o=n.$site,i=n.$route,a=e.props.item,s=_a(i,a.path),u="auto"===a.type?s||a.children.some(function(t){return _a(i,a.basePath+"#"+t.slug)}):s,c=Ya(t,a.path,a.title||a.path,u),l=null!=r.frontmatter.sidebarDepth?r.frontmatter.sidebarDepth:o.themeConfig.sidebarDepth,f=null==l?1:l;return"auto"===a.type?[c,za(t,a.children,a.basePath,i,f)]:u&&a.headers&&!pa.test(a.path)?[c,za(t,Ca(a.headers),a.path,i,f)]:c}},Wa=(n(111),Object(ra.a)(Ba,void 0,void 0,!1,null,null,null).exports),qa={name:"SidebarGroup",props:["item","first","open","collapsable"],components:{SidebarLink:Wa,DropdownTransition:Ea}};n(109);var Ga={components:{SidebarGroup:Object(ra.a)(qa,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-group",class:{first:t.first,collapsable:t.collapsable}},[n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),n("DropdownTransition",[t.open||!t.collapsable?n("ul",{ref:"items",staticClass:"sidebar-group-items"},t._l(t.item.children,function(t){return n("li",[n("SidebarLink",{attrs:{item:t}})],1)})):t._e()])],1)},[],!1,null,null,null).exports,SidebarLink:Wa,NavLinks:Ia},props:["items"],data:function(){return{openGroupIndex:0}},created:function(){this.refreshIndex()},watch:{$route:function(){this.refreshIndex()}},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return _a(this.$route,t.path)}}},Va=(n(107),{components:{Home:Pa,Page:Ha,Sidebar:Object(ra.a)(Ga,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar"},[n("NavLinks"),t._t("top"),t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,function(e,r){return n("li",{key:r},["group"===e.type?n("SidebarGroup",{attrs:{item:e,first:0===r,open:r===t.openGroupIndex,collapsable:e.collapsable},on:{toggle:function(e){t.toggleGroup(r)}}}):n("SidebarLink",{attrs:{item:e}})],1)})):t._e(),t._t("bottom")],2)},[],!1,null,null,null).exports,Navbar:Ua},data:function(){return{isSidebarOpen:!1}},computed:{shouldShowNavbar:function(){var t=this.$site.themeConfig;return!1!==this.$page.frontmatter.navbar&&!1!==t.navbar&&(this.$title||t.logo||t.repo||t.nav||this.$themeLocaleConfig.nav)},shouldShowSidebar:function(){var t=this.$page.frontmatter;return!t.layout&&!t.home&&!1!==t.sidebar&&this.sidebarItems.length},sidebarItems:function(){return xa(this.$page,this.$route,this.$site,this.$localePath)},pageClasses:function(){var t=this.$page.frontmatter.pageClass;return[{"no-navbar":!this.shouldShowNavbar,"sidebar-open":this.isSidebarOpen,"no-sidebar":!this.shouldShowSidebar},t]}},mounted:function(){var t=this;window.addEventListener("scroll",this.onScroll),fa.a.configure({showSpinner:!1}),this.$router.beforeEach(function(t,e,n){t.path===e.path||xo.component(t.name)||fa.a.start(),n()}),this.$router.afterEach(function(){fa.a.done(),t.isSidebarOpen=!1})},methods:{toggleSidebar:function(t){this.isSidebarOpen="boolean"==typeof t?t:!this.isSidebarOpen},onTouchStart:function(t){this.touchStart={x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}},onTouchEnd:function(t){var e=t.changedTouches[0].clientX-this.touchStart.x,n=t.changedTouches[0].clientY-this.touchStart.y;Math.abs(e)>Math.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))}}}),Za=(n(105),n(103),Object(ra.a)(Va,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),n("div",{staticClass:"sidebar-mask",on:{click:function(e){t.toggleSidebar(!1)}}}),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar}},[t._t("sidebar-top",null,{slot:"top"}),t._t("sidebar-bottom",null,{slot:"bottom"})],2),t.$page.frontmatter.layout?n("div",{staticClass:"custom-layout"},[n(t.$page.frontmatter.layout,{tag:"component"})],1):t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems}},[t._t("page-top",null,{slot:"top"}),t._t("page-bottom",null,{slot:"bottom"})],2)],1)},[],!1,null,null,null).exports),Xa=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],Ka={methods:{getMsg:function(){return Xa[Math.floor(Math.random()*Xa.length)]}}},Qa=Object(ra.a)(Ka,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"content"},[e("h1",[this._v("404")]),e("blockquote",[this._v(this._s(this.getMsg()))]),e("router-link",{attrs:{to:"/"}},[this._v("Take me home.")])],1)])},[],!1,null,null,null).exports,Ja={created:function(){this.$ssrContext&&(this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.description=this.$page.description||this.$description)},mounted:function(){var t=this;this.currentMetaTags=[];var e=function(){document.title=t.$title,document.documentElement.lang=t.$lang;var e=[{name:"description",content:t.$description}].concat(sa(t.$page.frontmatter.meta||[]));t.currentMetaTags=ts(e,t.currentMetaTags)};this.$watch("$page",e),e()},beforeDestroy:function(){ts(null,this.currentMetaTags)}};function ts(t,e){if(e&&e.forEach(function(t){document.head.removeChild(t)}),t)return t.map(function(t){var e=document.createElement("meta");return Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}var es=n(90),ns=[Ja,{mounted:function(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(es)()(function(){this.setActiveHash()},300),setActiveHash:function(){for(var t=this,e=[].slice.call(document.querySelectorAll(".sidebar-link")),n=[].slice.call(document.querySelectorAll(".header-anchor")).filter(function(t){return e.some(function(e){return e.hash===t.hash})}),r=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),o=0;o=i.parentElement.offsetTop+10&&(!a||r-1},compare:function(t,e){function n(t){return void 0===t||null===t?"":t.toLowerCase()}return(t=n(t))<(e=n(e))?-1:t>e?1:0}}),ys={name:"VgtPagination",props:{styleClass:{default:"table table-bordered"},total:{default:null},perPage:{},rtl:{default:!1},customRowsPerPageDropdown:{default:function(){return[]}},paginateDropdownAllowAll:{default:!0},nextText:{default:"Next"},prevText:{default:"Prev"},rowsPerPageText:{default:"Rows per page:"},ofText:{default:"of"},allText:{default:"All"}},data:function(){return{currentPage:1,currentPerPage:10,rowsPerPageOptions:[],defaultRowsPerPageDropdown:[10,20,30,40,50]}},watch:{perPage:function(){this.handlePerPage(),this.perPageChanged()},customRowsPerPageDropdown:function(){null!==this.customRowsPerPageDropdown&&Array.isArray(this.customRowsPerPageDropdown)&&0!==this.customRowsPerPageDropdown.lenght&&(this.rowsPerPageOptions=this.customRowsPerPageDropdown)}},computed:{currentPerPageString:function(){return-1===this.currentPerPage?"All":this.currentPerPage},paginatedInfo:function(){if(-1===this.currentPerPage)return"1 - ".concat(this.total," ").concat(this.ofText," ").concat(this.total);var t=(this.currentPage-1)*this.currentPerPage+1?(this.currentPage-1)*this.currentPerPage+1:1;t>this.total&&(t=1,this.currentPage=1);var e=Math.min(this.total,this.currentPerPage*this.currentPage);return"".concat(t," - ").concat(e," ").concat(this.ofText," ").concat(this.total)},nextIsPossible:function(){return-1!==this.currentPerPage&&this.total>this.currentPerPage*this.currentPage},prevIsPossible:function(){return this.currentPage>1}},methods:{reset:function(){},changePage:function(t){t>0&&this.total>this.currentPerPage*t&&(this.currentPage=t,this.pageChanged())},nextPage:function(){-1!==this.currentPerPage&&this.nextIsPossible&&(++this.currentPage,this.pageChanged())},previousPage:function(){this.currentPage>1&&(--this.currentPage,this.pageChanged())},pageChanged:function(){this.$emit("page-changed",{currentPage:this.currentPage})},perPageChanged:function(t){t&&(this.currentPerPage=parseInt(t.target.value,10)),this.$emit("per-page-changed",{currentPerPage:this.currentPerPage})},getRowsPerPageDropdown:function(){return this.rowsPerPageOptions},handlePerPage:function(){if(this.rowsPerPageOptions=ps()(this.defaultRowsPerPageDropdown),this.perPage){this.currentPerPage=this.perPage;for(var t=!1,e=0;e0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},t&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(t){return t.filterOptions&&t.filterOptions.enabled},isDropdown:function(t){return this.isFilterable(t)&&t.filterOptions.filterDropdownItems&&t.filterOptions.filterDropdownItems.length},isDropdownObjects:function(t){return this.isDropdown(t)&&"object"===as(t.filterOptions.filterDropdownItems[0])},isDropdownArray:function(t){return this.isDropdown(t)&&"object"!==as(t.filterOptions.filterDropdownItems[0])},getPlaceholder:function(t){return this.isFilterable(t)&&t.filterOptions.placeholder||"Filter ".concat(t.label)},updateFiltersOnEnter:function(t,e){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(t,e)},updateFiltersOnKeyup:function(t,e){"enter"!==t.filterOptions.trigger&&this.updateFilters(t,e)},updateFilters:function(t,e){var n=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){n.updateFiltersImmediately(t,e)},400)},updateFiltersImmediately:function(t,e){this.$set(this.columnFilters,t.field,e),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var t=0;t0?1:i}function Ls(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ps(t,e);return!isNaN(n)}var Ms={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var Is=/MMMM|MM|DD|dddd/g;function Rs(t){return t.replace(Is,function(t){return t.slice(1)})}var Us,Fs,Ns={lastWeek:"[last] dddd [at] LT",yesterday:"[yesterday at] LT",today:"[today at] LT",tomorrow:"[tomorrow at] LT",nextWeek:"dddd [at] LT",other:"L"};function Hs(t,e,n){return function(r,o){var i=o||{},a=i.type?String(i.type):e;return(t[a]||t[e])[n?n(Number(r)):Number(r)]}}function Ys(t,e){return function(n){var r=n||{},o=r.type?String(r.type):e;return t[o]||t[e]}}var zs={narrow:["Su","Mo","Tu","We","Th","Fr","Sa"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Bs={short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ws={uppercase:["AM","PM"],lowercase:["am","pm"],long:["a.m.","p.m."]};function qs(t,e){return function(n,r){var o=r||{},i=o.type?String(o.type):e,a=t[i]||t[e];return String(n).match(a)}}function Gs(t,e){return function(n,r){var o=r||{},i=o.type?String(o.type):e,a=t[i]||t[e],s=n[1];return a.findIndex(function(t){return t.test(s)})}}var Vs,Zs={formatDistance:function(t,e,n){var r;return n=n||{},r="string"==typeof Ms[t]?Ms[t]:1===e?Ms[t].one:Ms[t].other.replace("{{count}}",e),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:(Fs={LTS:(Us={LT:"h:mm aa",LTS:"h:mm:ss aa",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY h:mm aa",LLLL:"dddd, MMMM D YYYY h:mm aa"}).LTS,LT:Us.LT,L:Us.L,LL:Us.LL,LLL:Us.LLL,LLLL:Us.LLLL,l:Us.l||Rs(Us.L),ll:Us.ll||Rs(Us.LL),lll:Us.lll||Rs(Us.LLL),llll:Us.llll||Rs(Us.LLLL)},function(t){return Fs[t]}),formatRelative:function(t,e,n,r){return Ns[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},weekday:Hs(zs,"long"),weekdays:Ys(zs,"long"),month:Hs(Bs,"long"),months:Ys(Bs,"long"),timeOfDay:Hs(Ws,"long",function(t){return t/12>=1?1:0}),timesOfDay:Ys(Ws,"long")},match:{ordinalNumbers:(Vs=/^(\d+)(th|st|nd|rd)?/i,function(t){return String(t).match(Vs)}),ordinalNumber:function(t){return parseInt(t[1],10)},weekdays:qs({narrow:/^(su|mo|tu|we|th|fr|sa)/i,short:/^(sun|mon|tue|wed|thu|fri|sat)/i,long:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},"long"),weekday:Gs({any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},"any"),months:qs({short:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,long:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},"long"),month:Gs({any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},"any"),timesOfDay:qs({short:/^(am|pm)/i,long:/^([ap]\.?\s?m\.?)/i},"long"),timeOfDay:Gs({any:[/^a/i,/^p/i]},"any")},options:{weekStartsOn:0,firstWeekContainsDate:1}},Xs=864e5;function Ks(t,e){var n=Ps(t,e),r=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var o=r-n.getTime();return Math.floor(o/Xs)+1}function Qs(t,e){var n=Ps(t,e),r=n.getUTCDay(),o=(r<1?7:0)+r-1;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function Js(t,e){var n=Ps(t,e),r=n.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(r+1,0,4),o.setUTCHours(0,0,0,0);var i=Qs(o,e),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var s=Qs(a,e);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function tu(t,e){var n=Js(t,e),r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),Qs(r,e)}var eu=6048e5;function nu(t,e){var n=Ps(t,e),r=Qs(n,e).getTime()-tu(n,e).getTime();return Math.round(r/eu)+1}var ru={M:function(t){return t.getUTCMonth()+1},Mo:function(t,e){var n=t.getUTCMonth()+1;return e.locale.localize.ordinalNumber(n,{unit:"month"})},MM:function(t){return iu(t.getUTCMonth()+1,2)},MMM:function(t,e){return e.locale.localize.month(t.getUTCMonth(),{type:"short"})},MMMM:function(t,e){return e.locale.localize.month(t.getUTCMonth(),{type:"long"})},Q:function(t){return Math.ceil((t.getUTCMonth()+1)/3)},Qo:function(t,e){var n=Math.ceil((t.getUTCMonth()+1)/3);return e.locale.localize.ordinalNumber(n,{unit:"quarter"})},D:function(t){return t.getUTCDate()},Do:function(t,e){return e.locale.localize.ordinalNumber(t.getUTCDate(),{unit:"dayOfMonth"})},DD:function(t){return iu(t.getUTCDate(),2)},DDD:function(t){return Ks(t)},DDDo:function(t,e){return e.locale.localize.ordinalNumber(Ks(t),{unit:"dayOfYear"})},DDDD:function(t){return iu(Ks(t),3)},dd:function(t,e){return e.locale.localize.weekday(t.getUTCDay(),{type:"narrow"})},ddd:function(t,e){return e.locale.localize.weekday(t.getUTCDay(),{type:"short"})},dddd:function(t,e){return e.locale.localize.weekday(t.getUTCDay(),{type:"long"})},d:function(t){return t.getUTCDay()},do:function(t,e){return e.locale.localize.ordinalNumber(t.getUTCDay(),{unit:"dayOfWeek"})},E:function(t){return t.getUTCDay()||7},W:function(t){return nu(t)},Wo:function(t,e){return e.locale.localize.ordinalNumber(nu(t),{unit:"isoWeek"})},WW:function(t){return iu(nu(t),2)},YY:function(t){return iu(t.getUTCFullYear(),4).substr(2)},YYYY:function(t){return iu(t.getUTCFullYear(),4)},GG:function(t){return String(Js(t)).substr(2)},GGGG:function(t){return Js(t)},H:function(t){return t.getUTCHours()},HH:function(t){return iu(t.getUTCHours(),2)},h:function(t){var e=t.getUTCHours();return 0===e?12:e>12?e%12:e},hh:function(t){return iu(ru.h(t),2)},m:function(t){return t.getUTCMinutes()},mm:function(t){return iu(t.getUTCMinutes(),2)},s:function(t){return t.getUTCSeconds()},ss:function(t){return iu(t.getUTCSeconds(),2)},S:function(t){return Math.floor(t.getUTCMilliseconds()/100)},SS:function(t){return iu(Math.floor(t.getUTCMilliseconds()/10),2)},SSS:function(t){return iu(t.getUTCMilliseconds(),3)},Z:function(t,e){return ou((e._originalDate||t).getTimezoneOffset(),":")},ZZ:function(t,e){return ou((e._originalDate||t).getTimezoneOffset())},X:function(t,e){var n=e._originalDate||t;return Math.floor(n.getTime()/1e3)},x:function(t,e){return(e._originalDate||t).getTime()},A:function(t,e){return e.locale.localize.timeOfDay(t.getUTCHours(),{type:"uppercase"})},a:function(t,e){return e.locale.localize.timeOfDay(t.getUTCHours(),{type:"lowercase"})},aa:function(t,e){return e.locale.localize.timeOfDay(t.getUTCHours(),{type:"long"})}};function ou(t,e){e=e||"";var n=t>0?"-":"+",r=Math.abs(t),o=r%60;return n+iu(Math.floor(r/60),2)+e+iu(o,2)}function iu(t,e){for(var n=Math.abs(t).toString();n.length=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Ps(t,n),c=Number(e),l=u.getUTCDay(),f=((c%7+7)%7=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=i.locale||Zs,u=s.parsers||{},c=s.units||{};if(!s.match)throw new RangeError("locale must contain match property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var l=String(e).replace(_u,function(t){return"["===t[0]?t:"\\"===t[0]?function(t){if(t.match(/\[[\s\S]/))return t.replace(/^\[|]$/g,"");return t.replace(/\\/g,"")}(t):s.formatLong(t)});if(""===l)return""===o?Ps(n,i):new Date(NaN);var f=As(i);f.locale=s;var p,h=l.match(s.parsingTokensRegExp||wu),d=h.length,v=[{priority:yu,set:Cu,index:0}];for(p=0;p=0?parseFloat(t):parseInt(t,10)}return(t="number"==typeof t?t:n(t))<(e="number"==typeof e?e:n(e))?-1:t>e?1:0};var ju=Pu,$u=ku()(ju);$u.format=function(t){return void 0===t||null===t?"":parseFloat(Math.round(100*t)/100).toFixed(2)};var Au=$u,Du=ku()(ju);Du.format=function(t){return void 0===t||null===t?"":"".concat(parseFloat(100*t).toFixed(2),"%")};var Eu=Du,Lu=ku()(ms);Lu.isRight=!0,Lu.filterPredicate=function(t,e){return 0===Lu.compare(t,e)},Lu.compare=function(t,e){function n(t){return"boolean"!=typeof t?-1/0:t?1:0}return(t=n(t))<(e=n(e))?-1:t>e?1:0};var Mu=Lu,Iu={},Ru={date:r,decimal:i,number:o,percentage:a,boolean:s};us()(Object.keys(Ru),function(t){var e=t.replace(/^\.\//,"").replace(/\.js/,"");Iu[e]=Ru[t].default});var Uu={name:"vue-good-table",props:{isLoading:{default:!1,type:Boolean},theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:{default:!1},responsive:{default:!0},rtl:{default:!1},rowStyleClass:{default:null,type:[Function,String]},groupOptions:{default:function(){return{enabled:!1}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear"}}},sortOptions:{default:function(){return{enabled:!0,initialSortBy:{}}}},paginationOptions:{default:function(){return{enabled:!1,perPage:10,perPageDropdown:null,position:"bottom",dropdownAllowAll:!0}}},searchOptions:{default:function(){return{enabled:!1,trigger:null,externalQuery:null,searchFn:null,placeholder:"Search Table"}}}},data:function(){return{tableLoading:!1,nextText:"Next",prevText:"Prev",rowsPerPageText:"Rows per page",ofText:"of",allText:"All",selectable:!1,selectOnCheckboxOnly:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",sortable:!0,defaultSortBy:null,searchEnabled:!1,searchTrigger:null,externalSearchQuery:null,searchFn:null,searchPlaceholder:"Search Table",perPage:null,paginate:!1,paginateOnTop:!1,paginateOnBottom:!0,customRowsPerPageDropdown:[],paginateDropdownAllowAll:!0,currentPage:1,currentPerPage:10,sortColumn:-1,sortType:"asc",globalSearchTerm:"",filteredRows:[],columnFilters:{},forceSearch:!1,sortChanged:!1,dataTypes:Iu||{},allSelected:!1}},watch:{rows:{handler:function(){this.tableLoading=!1,this.filterRows(this.columnFilters,!1)},deep:!0,immediate:!0},selectOptions:{handler:function(){this.initializeSelect()},deep:!0,immediate:!0},paginationOptions:{handler:function(){this.initializePagination()},deep:!0,immediate:!0},searchOptions:{handler:function(){this.initializeSearch()},deep:!0,immediate:!0},sortOptions:{handler:function(){this.initializeSort()},deep:!0,immediate:!0}},computed:{isTableLoading:function(){return this.isLoading||this.tableLoading},showEmptySlot:function(){return!this.paginated.length||"no groups"===this.paginated[0].label&&!this.paginated[0].children.length},selectionInfo:function(){return"".concat(this.selectedRowCount," ").concat(this.selectionText)},selectedRowCount:function(){return this.selectedRows.length},selectedRows:function(){var t=[];return us()(this.processedRows,function(e){us()(e.children,function(e){e.vgtSelected&&t.push(e)})}),t},fullColspan:function(){var t=this.columns.length;return this.lineNumbers&&t++,this.selectable&&t++,t},groupHeaderOnTop:function(){return!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&"bottom"===this.groupOptions.headerPosition)&&!(!this.groupOptions||!this.groupOptions.enabled)},groupHeaderOnBottom:function(){return!!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&"bottom"===this.groupOptions.headerPosition)},totalRowCount:function(){var t=0;return us()(this.processedRows,function(e){t+=e.children?e.children.length:0}),t},tableStyleClasses:function(){var t=this.styleClass;return t+=" ".concat(this.theme)},searchTerm:function(){return null!=this.externalSearchQuery?this.externalSearchQuery:this.globalSearchTerm},globalSearchAllowed:function(){return!(!this.searchEnabled||!this.globalSearchTerm||"enter"===this.searchTrigger)||(null!=this.externalSearchQuery&&"enter"!==this.searchTrigger||!!this.forceSearch&&(this.forceSearch=!1,!0))},processedRows:function(){var t=this,e=this.filteredRows;if("remote"===this.mode)return e;if(this.globalSearchAllowed){var n=[];us()(this.filteredRows,function(t){n.push.apply(n,sa(t.children))});var r=[];us()(n,function(e){us()(t.columns,function(n){if(!n.globalSearchDisabled)if(t.searchFn){if(t.searchFn(e,n,t.collectFormatted(e,n),t.searchTerm))return r.push(e),!1}else if(ms.filterPredicate(t.collectFormatted(e,n),t.searchTerm))return r.push(e),!1})}),this.$emit("on-search",{searchTerm:this.searchTerm,rowCount:r.length}),e=[],us()(this.filteredRows,function(t){var n=t.vgt_header_id,o=ds()(r,["vgt_id",n]);if(o.length){var i=ps()(t);i.children=o,e.push(i)}})}return-1!==this.sortColumn&&this.isSortableColumn(this.sortColumn)&&("enter"!==this.searchTrigger||this.sortChanged)&&(this.sortChanged=!1,us()(e,function(e){e.children.sort(function(e,n){if(!t.columns[t.sortColumn])return 0;var r=t.collect(e,t.columns[t.sortColumn].field),o=t.collect(n,t.columns[t.sortColumn].field),i=t.columns[t.sortColumn].sortFn;return i&&"function"==typeof i?i(r,o,t.columns[t.sortColumn],e,n)*("desc"===t.sortType?-1:1):t.typedColumns[t.sortColumn].typeDef.compare(r,o,t.columns[t.sortColumn])*("desc"===t.sortType?-1:1)})})),"enter"===this.searchTrigger&&(this.filteredRows=e),e},paginated:function(){if(!this.processedRows.length)return[];if("remote"===this.mode)return this.processedRows;var t=[];if(us()(this.processedRows,function(e){var n;(n=t).push.apply(n,sa(e.children))}),this.paginate){var e=(this.currentPage-1)*this.currentPerPage;(e>=t.length||-1===this.currentPerPage)&&(this.currentPage=1,e=0);var n=t.length+1;-1!==this.currentPerPage&&(n=this.currentPage*this.currentPerPage),t=t.slice(e,n)}var r=[];return us()(this.processedRows,function(e){var n=e.vgt_header_id,o=ds()(t,["vgt_id",n]);if(o.length){var i=ps()(e);i.children=o,r.push(i)}}),r},originalRows:function(){var t=ps()(this.rows),e=[];e=this.groupOptions.enabled?this.handleGrouped(t):this.handleGrouped([{label:"no groups",children:t}]);var n=0;return us()(e,function(t,e){us()(t.children,function(t,e){t.originalIndex=n++})}),e},typedColumns:function(){for(var t=ls()(this.columns,[]),e=0;e2&&void 0!==arguments[2]&&arguments[2]&&e.headerField?this.collect(t,e.headerField):this.collect(t,e.field)))return"";if(e.formatFn&&"function"==typeof e.formatFn)return e.formatFn(n);var r=e.typeDef;return r||(r=this.dataTypes[e.type]||ms),r.format(n,e)},formattedRow:function(t){for(var e={},n=0;n1&&void 0!==arguments[1])||arguments[1];this.columnFilters=t;var r=ps()(this.originalRows);if(this.columnFilters&&Object.keys(this.columnFilters).length){if(("remote"!==this.mode||n)&&(this.changePage(1),this.unselectAll()),n&&this.$emit("on-column-filter",{columnFilters:this.columnFilters}),"remote"===this.mode)return void(n?this.tableLoading=!0:this.filteredRows=r);for(var o=function(t){var n=e.typedColumns[t];e.columnFilters[n.field]&&(r=us()(r,function(t){var r=t.children.filter(function(t){return n.filterOptions&&"function"==typeof n.filterOptions.filterFn?n.filterOptions.filterFn(e.collect(t,n.field),e.columnFilters[n.field]):n.typeDef.filterPredicate(e.collect(t,n.field),e.columnFilters[n.field])});t.children=r}))},i=0;i-1:t.allSelected},on:{change:[function(e){var n=t.allSelected,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=t._i(n,null);r.checked?i<0&&(t.allSelected=n.concat([null])):i>-1&&(t.allSelected=n.slice(0,i).concat(n.slice(i+1)))}else t.allSelected=o},t.toggleSelectAll]}})]):t._e(),t._l(t.columns,function(e,r){return e.hidden?t._e():n("th",{key:r,class:t.getHeaderClasses(e,r),style:{width:e.width?e.width:"auto"},on:{click:function(e){t.sort(r)}}},[t._t("table-column",[n("span",[t._v(t._s(e.label))])],{column:e})],2)})],2),n("vgt-filter-row",{ref:"filter-row",tag:"tr",attrs:{"global-search-enabled":t.searchEnabled,"line-numbers":t.lineNumbers,selectable:t.selectable,columns:t.columns,mode:t.mode,"typed-columns":t.typedColumns},on:{"filter-changed":t.filterRows}})]),t._l(t.paginated,function(e,r){return n("tbody",{key:r},[t.groupHeaderOnTop?n("tr",["span"===e.mode?n("th",{staticClass:"vgt-left-align vgt-row-header",attrs:{colspan:t.fullColspan}},[t._v("\n "+t._s(e.label)+"\n ")]):t._e(),"span"!==e.mode&&t.lineNumbers?n("th",{staticClass:"vgt-row-header"}):t._e(),"span"!==e.mode&&t.selectable?n("th",{staticClass:"vgt-row-header"}):t._e(),t._l(t.columns,function(r,o){return"span"!==e.mode?n("th",{key:o,staticClass:"vgt-row-header",class:t.getClasses(o,"td")},[t._v("\n "+t._s(t.collectFormatted(e,r,!0))+"\n ")]):t._e()})],2):t._e(),t._l(e.children,function(e,r){return n("tr",{key:e.originalIndex,class:t.getRowStyleClass(e),on:{mouseenter:function(n){t.onMouseenter(e,r)},mouseleave:function(n){t.onMouseleave(e,r)},click:function(n){t.click(e,r,n)}}},[t.lineNumbers?n("th",{staticClass:"line-numbers"},[t._v("\n "+t._s(t.getCurrentIndex(r))+"\n ")]):t._e(),t.selectable?n("th",{staticClass:"vgt-checkbox-col",on:{click:function(n){n.preventDefault(),n.stopPropagation(),t.checkboxClick(e,r,n)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.vgtSelected,expression:"row.vgtSelected"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.vgtSelected)?t._i(e.vgtSelected,null)>-1:e.vgtSelected},on:{change:function(n){var r=e.vgtSelected,o=n.target,i=!!o.checked;if(Array.isArray(r)){var a=t._i(r,null);o.checked?a<0&&t.$set(e,"vgtSelected",r.concat([null])):a>-1&&t.$set(e,"vgtSelected",r.slice(0,a).concat(r.slice(a+1)))}else t.$set(e,"vgtSelected",i)}}})]):t._e(),t._l(t.columns,function(o,i){return!o.hidden&&o.field?n("td",{key:i,class:t.getClasses(i,"td"),on:{click:function(n){t.onCellClicked(e,o,r,n)}}},[t._t("table-row",[o.html?t._e():n("span",[t._v("\n "+t._s(t.collectFormatted(e,o))+"\n ")]),o.html?n("span",{domProps:{innerHTML:t._s(t.collect(e,o.field))}}):t._e()],{row:e,column:o,formattedRow:t.formattedRow(e),index:r})],2):t._e()})],2)}),t.groupHeaderOnBottom?n("tr",["span"===e.mode?n("th",{staticClass:"vgt-left-align vgt-row-header",attrs:{colspan:t.columns.length}},[t._v("\n "+t._s(e.label)+"\n ")]):t._e(),"span"!==e.mode&&t.lineNumbers?n("th",{staticClass:"vgt-row-header"}):t._e(),"span"!==e.mode&&t.selectable?n("th",{staticClass:"vgt-row-header"}):t._e(),t._l(t.columns,function(r,o){return"span"!==e.mode?n("th",{key:o,staticClass:"vgt-row-header",class:t.getClasses(o,"td")},[t._v("\n "+t._s(t.collectFormatted(e,r,!0))+"\n ")]):t._e()})],2):t._e()],2)}),t.showEmptySlot?n("tbody",[n("tr",[n("td",{attrs:{colspan:t.fullColspan}},[t._t("emptystate",[n("div",{staticClass:"vgt-center-align vgt-text-disabled"},[t._v("\n No data for table\n ")])])],2)])]):t._e()],2)]),t.paginate&&t.paginateOnBottom?n("vgt-pagination",{ref:"paginationBottom",attrs:{perPage:t.perPage,rtl:t.rtl,total:t.totalRows||t.totalRowCount,nextText:t.nextText,prevText:t.prevText,rowsPerPageText:t.rowsPerPageText,customRowsPerPageDropdown:t.customRowsPerPageDropdown,paginateDropdownAllowAll:t.paginateDropdownAllowAll,ofText:t.ofText,allText:t.allText},on:{"page-changed":t.pageChanged,"per-page-changed":t.perPageChanged}}):t._e()],1)])},[],!1,null,null,null).exports),Nu={install:function(t,e){t.component(Fu.name,Fu)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Nu);var Hu=Nu,Yu=function(t){var e=t.Vue;t.options,t.router,t.siteData;e.use(Hu)},zu=function(){};xo.config.productionTip=!1,xo.use(ea),xo.mixin(function(t){!function(t){t.pages.forEach(function(t){t.frontmatter||(t.frontmatter={})}),t.locales&&Object.keys(t.locales).forEach(function(e){t.locales[e].path=e}),Object.freeze(t)}(t);var e=new xo({data:{siteData:t}});return{computed:{$site:function(){return e.siteData},$localeConfig:function(){var t,e,n=this.$site.locales,r=void 0===n?{}:n;for(var o in r)"/"===o?e=r[o]:0===this.$page.path.indexOf(o)&&(t=r[o]);return t||e||{}},$siteTitle:function(){return this.$localeConfig.title||this.$site.title||""},$title:function(){var t=this.$page,e=this.$siteTitle,n=t.frontmatter.home?null:t.frontmatter.title||t.title;return e?n?n+" | "+e:e:n||"VuePress"},$description:function(){return this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||""},$lang:function(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"},$localePath:function(){return this.$localeConfig.path||"/"},$themeLocaleConfig:function(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}},$page:function(){return function(t,e){for(var n=0;nm;)v(g[m++]);f.constructor=c,c.prototype=f,n(18)(r,"RegExp",c)}n(80)("RegExp")},,function(t,e,n){"use strict";var r=n(51);n.n(r).a},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(3),o=n(25),i=n(5),a=n(130),s="["+a+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(t,e,n){var o={},s=i(function(){return!!a[t]()||"​…"!="​…"[t]()}),u=o[t]=s?e(f):a[t];n&&(o[n]=u),r(r.P+r.F*s,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=l},function(t,e,n){"use strict";n(131)("trim",function(t){return function(){return t(this,3)}})},,function(t,e,n){"use strict";var r=n(52);n.n(r).a},,function(t,e,n){"use strict";var r=n(53);n.n(r).a},function(t,e,n){var r=n(3),o=n(5),i=n(25),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";n(137)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var r=n(6),o=n(75),i=n(2)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(139);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(17),o=n(24),i=n(62)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(12),o=n(8),i=n(34);t.exports=n(10)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(8),o=n(142),i=n(61),a=n(62)("IE_PROTO"),s=function(){},u=function(){var t,e=n(67)("iframe"),r=i.length;for(e.style.display="none",n(82).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(" + diff --git a/docs/guide/advanced/grouped-table.html b/docs/guide/advanced/grouped-table.html index 8ff89f04..e0946548 100644 --- a/docs/guide/advanced/grouped-table.html +++ b/docs/guide/advanced/grouped-table.html @@ -5,13 +5,13 @@ Grouped Table | vue-good-table + - - + -
- + diff --git a/docs/guide/advanced/index.html b/docs/guide/advanced/index.html index d95fc8b0..b1e4574c 100644 --- a/docs/guide/advanced/index.html +++ b/docs/guide/advanced/index.html @@ -5,13 +5,13 @@ Customizations | vue-good-table + - - + -
- + diff --git a/docs/guide/advanced/remote-workflow.html b/docs/guide/advanced/remote-workflow.html index 32eee629..ce75aa05 100644 --- a/docs/guide/advanced/remote-workflow.html +++ b/docs/guide/advanced/remote-workflow.html @@ -5,13 +5,13 @@ Server Side Table | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/column-filter-options.html b/docs/guide/configuration/column-filter-options.html index dd965980..30291f4c 100644 --- a/docs/guide/configuration/column-filter-options.html +++ b/docs/guide/configuration/column-filter-options.html @@ -5,13 +5,13 @@ Column Filter Options | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/column-options.html b/docs/guide/configuration/column-options.html index 5b82d402..f5215c24 100644 --- a/docs/guide/configuration/column-options.html +++ b/docs/guide/configuration/column-options.html @@ -5,13 +5,13 @@ Column Options | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/index.html b/docs/guide/configuration/index.html index 53bfe22b..6147deaa 100644 --- a/docs/guide/configuration/index.html +++ b/docs/guide/configuration/index.html @@ -5,13 +5,13 @@ Table Options | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/pagination-options.html b/docs/guide/configuration/pagination-options.html index 42a3a950..b560959e 100644 --- a/docs/guide/configuration/pagination-options.html +++ b/docs/guide/configuration/pagination-options.html @@ -5,13 +5,13 @@ Pagination Options | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/search-options.html b/docs/guide/configuration/search-options.html index bb9ab1be..a3d54cdf 100644 --- a/docs/guide/configuration/search-options.html +++ b/docs/guide/configuration/search-options.html @@ -5,13 +5,13 @@ Search Options | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/sort-options.html b/docs/guide/configuration/sort-options.html index 84654df4..a2328607 100644 --- a/docs/guide/configuration/sort-options.html +++ b/docs/guide/configuration/sort-options.html @@ -5,13 +5,13 @@ Sort Options | vue-good-table + - - + -
- + diff --git a/docs/guide/configuration/table-events.html b/docs/guide/configuration/table-events.html index 194ea0dc..afe58ff7 100644 --- a/docs/guide/configuration/table-events.html +++ b/docs/guide/configuration/table-events.html @@ -5,13 +5,13 @@ Table Events | vue-good-table + - - + -
- + diff --git a/docs/guide/index.html b/docs/guide/index.html index f053c452..5a061b3a 100644 --- a/docs/guide/index.html +++ b/docs/guide/index.html @@ -5,13 +5,13 @@ Getting Started | vue-good-table + - - + -
- + diff --git a/docs/guide/style-configuration/index.html b/docs/guide/style-configuration/index.html index 23b7dfa1..d04de37e 100644 --- a/docs/guide/style-configuration/index.html +++ b/docs/guide/style-configuration/index.html @@ -5,13 +5,13 @@ Themes | vue-good-table + - - + -
- + diff --git a/docs/guide/style-configuration/style-classes.html b/docs/guide/style-configuration/style-classes.html index 8b869cc4..100db88c 100644 --- a/docs/guide/style-configuration/style-classes.html +++ b/docs/guide/style-configuration/style-classes.html @@ -5,13 +5,13 @@ Style Classes | vue-good-table + - - + -
- + diff --git a/docs/index.html b/docs/index.html index 90e3b63a..966b02c2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,13 +5,13 @@ vue-good-table + - - + -
- + diff --git a/docs/vgt-logo-2x.png b/docs/vgt-logo-2x.png new file mode 100644 index 00000000..03c98301 Binary files /dev/null and b/docs/vgt-logo-2x.png differ diff --git a/docs/vgt-logo.png b/docs/vgt-logo.png new file mode 100644 index 00000000..3f52a41f Binary files /dev/null and b/docs/vgt-logo.png differ diff --git a/vp-docs/.vuepress/config.js b/vp-docs/.vuepress/config.js index 80eba477..69931e14 100644 --- a/vp-docs/.vuepress/config.js +++ b/vp-docs/.vuepress/config.js @@ -4,8 +4,12 @@ module.exports = { base: '/vue-good-table/', dest: 'docs', ga: 'UA-120929110-1', + head: [ + ['link', { rel: 'icon', href: '/favicon.png' }] + ], themeConfig: { repo: 'xaksis/vue-good-table', + logo: '/vgt-logo.png', lastUpdated: true, nav: [ { text: 'Home', link: '/' }, diff --git a/vp-docs/.vuepress/public/favicon.png b/vp-docs/.vuepress/public/favicon.png new file mode 100644 index 00000000..db0dfce2 Binary files /dev/null and b/vp-docs/.vuepress/public/favicon.png differ diff --git a/vp-docs/.vuepress/public/vgt-logo-2x.png b/vp-docs/.vuepress/public/vgt-logo-2x.png new file mode 100644 index 00000000..03c98301 Binary files /dev/null and b/vp-docs/.vuepress/public/vgt-logo-2x.png differ diff --git a/vp-docs/.vuepress/public/vgt-logo.png b/vp-docs/.vuepress/public/vgt-logo.png new file mode 100644 index 00000000..3f52a41f Binary files /dev/null and b/vp-docs/.vuepress/public/vgt-logo.png differ