diff --git a/404.html b/404.html new file mode 100644 index 00000000..93997026 --- /dev/null +++ b/404.html @@ -0,0 +1,43 @@ + + + + + + + + + vue-good-table-next + + + + + +

404

Looks like we've got some broken links.
Take me home
+ + + diff --git a/assets/404.html-BZ3R16XH.js b/assets/404.html-BZ3R16XH.js new file mode 100644 index 00000000..fc0f3715 --- /dev/null +++ b/assets/404.html-BZ3R16XH.js @@ -0,0 +1 @@ +import{_ as e,o,c as a,a as n}from"./app-CbJnpAZk.js";const l={};function r(s,t){return o(),a("div",null,t[0]||(t[0]=[n("p",null,"404 Not Found",-1)]))}const _=e(l,[["render",r],["__file","404.html.vue"]]),i=JSON.parse('{"path":"/404.html","title":"","lang":"en-US","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,i as data}; diff --git a/assets/action-slot-table-D9xqIWvQ.js b/assets/action-slot-table-D9xqIWvQ.js new file mode 100644 index 00000000..90bea806 --- /dev/null +++ b/assets/action-slot-table-D9xqIWvQ.js @@ -0,0 +1 @@ +import{_ as n,r as s,o as l,c as r,b as c,w as d,a as o}from"./app-CbJnpAZk.js";const u={name:"action-slot-table",data(){return{columns:[{label:"Name",field:"name",filterOptions:{enabled:!1}},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function m(i,e,p,b,t,_){const a=s("vue-good-table");return l(),r("div",null,[c(a,{columns:t.columns,rows:t.rows},{"table-actions":d(()=>e[0]||(e[0]=[o("button",{class:"button"},"Button 1",-1),o("button",{class:"button"},"Button 2",-1)])),_:1},8,["columns","rows"])])}const y=n(u,[["render",m],["__file","action-slot-table.vue"]]);export{y as default}; diff --git a/assets/app-CbJnpAZk.js b/assets/app-CbJnpAZk.js new file mode 100644 index 00000000..a5e001ff --- /dev/null +++ b/assets/app-CbJnpAZk.js @@ -0,0 +1,28 @@ +/** +* @vue/shared v3.5.4 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ha(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const We={},Tr=[],nn=()=>{},vd=()=>!1,wo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$a=e=>e.startsWith("onUpdate:"),ut=Object.assign,ja=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bd=Object.prototype.hasOwnProperty,Ne=(e,t)=>bd.call(e,t),le=Array.isArray,Cr=e=>_o(e)==="[object Map]",_i=e=>_o(e)==="[object Set]",Ls=e=>_o(e)==="[object Date]",ge=e=>typeof e=="function",rt=e=>typeof e=="string",rn=e=>typeof e=="symbol",Ve=e=>e!==null&&typeof e=="object",ou=e=>(Ve(e)||ge(e))&&ge(e.then)&&ge(e.catch),iu=Object.prototype.toString,_o=e=>iu.call(e),yd=e=>_o(e).slice(8,-1),au=e=>_o(e)==="[object Object]",Va=e=>rt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xr=Ha(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wd=/-(\w)/g,Nt=Pi(e=>e.replace(wd,(t,n)=>n?n.toUpperCase():"")),_d=/\B([A-Z])/g,Hn=Pi(e=>e.replace(_d,"-$1").toLowerCase()),Po=Pi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qi=Pi(e=>e?`on${Po(e)}`:""),In=(e,t)=>!Object.is(e,t),Jo=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ri=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Pd=e=>{const t=rt(e)?Number(e):NaN;return isNaN(t)?e:t};let Is;const lu=()=>Is||(Is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hr(e){if(le(e)){const t={};for(let n=0;n{if(n){const r=n.split(Cd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ce(e){let t="";if(rt(e))t=e;else if(le(e))for(let n=0;nTi(n,t))}const cu=e=>!!(e&&e.__v_isRef===!0),he=e=>rt(e)?e:e==null?"":le(e)||Ve(e)&&(e.toString===iu||!ge(e.toString))?cu(e)?he(e.value):JSON.stringify(e,fu,2):String(e),fu=(e,t)=>cu(t)?fu(e,t.value):Cr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Xi(r,i)+" =>"]=o,n),{})}:_i(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Xi(n))}:rn(t)?Xi(t):Ve(t)&&!le(t)&&!au(t)?String(t):t,Xi=(e,t="")=>{var n;return rn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.4 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let kt;class Ad{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;Zr;){let t=Zr;for(Zr=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function gu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function mu(e){let t,n=e.depsTail;for(let r=n;r;r=r.prevDep)r.version===-1?(r===n&&(n=r.prevDep),Wa(r),Id(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function wa(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&vu(t.dep.computed)||t.dep.version!==t.version)return!0;return!!e._dirty}function vu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ao))return;e.globalVersion=ao;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!wa(e)){e.flags&=-3;return}const n=Be,r=qt;Be=e,qt=!0;try{gu(e);const o=e.fn(e._value);(t.version===0||In(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Be=n,qt=r,mu(e),e.flags&=-3}}function Wa(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let o=t.computed.deps;o;o=o.nextDep)Wa(o)}}function Id(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let qt=!0;const bu=[];function $n(){bu.push(qt),qt=!1}function jn(){const e=bu.pop();qt=e===void 0?!0:e}function Ds(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Be;Be=void 0;try{t()}finally{Be=n}}}let ao=0;class Ci{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!Be||!qt||Be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Be)n=this.activeLink={dep:this,sub:Be,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},Be.deps?(n.prevDep=Be.depsTail,Be.depsTail.nextDep=n,Be.depsTail=n):Be.deps=Be.depsTail=n,Be.flags&4&&yu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Be.depsTail,n.nextDep=void 0,Be.depsTail.nextDep=n,Be.depsTail=n,Be.deps===n&&(Be.deps=r)}return n}trigger(t){this.version++,ao++,this.notify(t)}notify(t){Ba();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{Ua()}}}function yu(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)yu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const oi=new WeakMap,or=Symbol(""),_a=Symbol(""),so=Symbol("");function Tt(e,t,n){if(qt&&Be){let r=oi.get(e);r||oi.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=new Ci),o.track()}}function vn(e,t,n,r,o,i){const a=oi.get(e);if(!a){ao++;return}const s=l=>{l&&l.trigger()};if(Ba(),t==="clear")a.forEach(s);else{const l=le(e),u=l&&Va(n);if(l&&n==="length"){const f=Number(r);a.forEach((c,d)=>{(d==="length"||d===so||!rn(d)&&d>=f)&&s(c)})}else switch(n!==void 0&&s(a.get(n)),u&&s(a.get(so)),t){case"add":l?u&&s(a.get("length")):(s(a.get(or)),Cr(e)&&s(a.get(_a)));break;case"delete":l||(s(a.get(or)),Cr(e)&&s(a.get(_a)));break;case"set":Cr(e)&&s(a.get(or));break}}Ua()}function Dd(e,t){var n;return(n=oi.get(e))==null?void 0:n.get(t)}function mr(e){const t=xe(e);return t===e?t:(Tt(t,"iterate",so),Ut(e)?t:t.map(_t))}function xi(e){return Tt(e=xe(e),"iterate",so),e}const Md={__proto__:null,[Symbol.iterator](){return Zi(this,Symbol.iterator,_t)},concat(...e){return mr(this).concat(...e.map(t=>le(t)?mr(t):t))},entries(){return Zi(this,"entries",e=>(e[1]=_t(e[1]),e))},every(e,t){return cn(this,"every",e,t,void 0,arguments)},filter(e,t){return cn(this,"filter",e,t,n=>n.map(_t),arguments)},find(e,t){return cn(this,"find",e,t,_t,arguments)},findIndex(e,t){return cn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return cn(this,"findLast",e,t,_t,arguments)},findLastIndex(e,t){return cn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return cn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ea(this,"includes",e)},indexOf(...e){return ea(this,"indexOf",e)},join(e){return mr(this).join(e)},lastIndexOf(...e){return ea(this,"lastIndexOf",e)},map(e,t){return cn(this,"map",e,t,void 0,arguments)},pop(){return Wr(this,"pop")},push(...e){return Wr(this,"push",e)},reduce(e,...t){return Ms(this,"reduce",e,t)},reduceRight(e,...t){return Ms(this,"reduceRight",e,t)},shift(){return Wr(this,"shift")},some(e,t){return cn(this,"some",e,t,void 0,arguments)},splice(...e){return Wr(this,"splice",e)},toReversed(){return mr(this).toReversed()},toSorted(e){return mr(this).toSorted(e)},toSpliced(...e){return mr(this).toSpliced(...e)},unshift(...e){return Wr(this,"unshift",e)},values(){return Zi(this,"values",_t)}};function Zi(e,t,n){const r=xi(e),o=r[t]();return r!==e&&!Ut(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Fd=Array.prototype;function cn(e,t,n,r,o,i){const a=xi(e),s=a!==e&&!Ut(e),l=a[t];if(l!==Fd[t]){const c=l.apply(e,i);return s?_t(c):c}let u=n;a!==e&&(s?u=function(c,d){return n.call(this,_t(c),d,e)}:n.length>2&&(u=function(c,d){return n.call(this,c,d,e)}));const f=l.call(a,u,r);return s&&o?o(f):f}function Ms(e,t,n,r){const o=xi(e);let i=n;return o!==e&&(Ut(e)?n.length>3&&(i=function(a,s,l){return n.call(this,a,s,l,e)}):i=function(a,s,l){return n.call(this,a,_t(s),l,e)}),o[t](i,...r)}function ea(e,t,n){const r=xe(e);Tt(r,"iterate",so);const o=r[t](...n);return(o===-1||o===!1)&&Ya(n[0])?(n[0]=xe(n[0]),r[t](...n)):o}function Wr(e,t,n=[]){$n(),Ba();const r=xe(e)[t].apply(e,n);return Ua(),jn(),r}const Nd=Ha("__proto__,__v_isRef,__isVue"),wu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rn));function Hd(e){rn(e)||(e=String(e));const t=xe(this);return Tt(t,"has",e),t.hasOwnProperty(e)}class _u{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Xd:xu:i?Cu:Tu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=le(t);if(!o){let l;if(a&&(l=Md[n]))return l;if(n==="hasOwnProperty")return Hd}const s=Reflect.get(t,n,lt(t)?t:r);return(rn(n)?wu.has(n):Nd(n))||(o||Tt(t,"get",n),i)?s:lt(s)?a&&Va(n)?s:s.value:Ve(s)?o?Ei(s):To(s):s}}class Pu extends _u{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=cr(i);if(!Ut(r)&&!cr(r)&&(i=xe(i),r=xe(r)),!le(t)&<(i)&&!lt(r))return l?!1:(i.value=r,!0)}const a=le(t)&&Va(n)?Number(n)e,Si=e=>Reflect.getPrototypeOf(e);function No(e,t,n=!1,r=!1){e=e.__v_raw;const o=xe(e),i=xe(t);n||(In(t,i)&&Tt(o,"get",t),Tt(o,"get",i));const{has:a}=Si(o),s=r?za:n?Ka:_t;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function Ho(e,t=!1){const n=this.__v_raw,r=xe(n),o=xe(e);return t||(In(e,o)&&Tt(r,"has",e),Tt(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function $o(e,t=!1){return e=e.__v_raw,!t&&Tt(xe(e),"iterate",or),Reflect.get(e,"size",e)}function Fs(e,t=!1){!t&&!Ut(e)&&!cr(e)&&(e=xe(e));const n=xe(this);return Si(n).has.call(n,e)||(n.add(e),vn(n,"add",e,e)),this}function Ns(e,t,n=!1){!n&&!Ut(t)&&!cr(t)&&(t=xe(t));const r=xe(this),{has:o,get:i}=Si(r);let a=o.call(r,e);a||(e=xe(e),a=o.call(r,e));const s=i.call(r,e);return r.set(e,t),a?In(t,s)&&vn(r,"set",e,t):vn(r,"add",e,t),this}function Hs(e){const t=xe(this),{has:n,get:r}=Si(t);let o=n.call(t,e);o||(e=xe(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&vn(t,"delete",e,void 0),i}function $s(){const e=xe(this),t=e.size!==0,n=e.clear();return t&&vn(e,"clear",void 0,void 0),n}function jo(e,t){return function(r,o){const i=this,a=i.__v_raw,s=xe(a),l=t?za:e?Ka:_t;return!e&&Tt(s,"iterate",or),a.forEach((u,f)=>r.call(o,l(u),l(f),i))}}function Vo(e,t,n){return function(...r){const o=this.__v_raw,i=xe(o),a=Cr(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=o[e](...r),f=n?za:t?Ka:_t;return!t&&Tt(i,"iterate",l?_a:or),{next(){const{value:c,done:d}=u.next();return d?{value:c,done:d}:{value:s?[f(c[0]),f(c[1])]:f(c),done:d}},[Symbol.iterator](){return this}}}}function xn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ud(){const e={get(i){return No(this,i)},get size(){return $o(this)},has:Ho,add:Fs,set:Ns,delete:Hs,clear:$s,forEach:jo(!1,!1)},t={get(i){return No(this,i,!1,!0)},get size(){return $o(this)},has:Ho,add(i){return Fs.call(this,i,!0)},set(i,a){return Ns.call(this,i,a,!0)},delete:Hs,clear:$s,forEach:jo(!1,!0)},n={get(i){return No(this,i,!0)},get size(){return $o(this,!0)},has(i){return Ho.call(this,i,!0)},add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear"),forEach:jo(!0,!1)},r={get(i){return No(this,i,!0,!0)},get size(){return $o(this,!0)},has(i){return Ho.call(this,i,!0)},add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear"),forEach:jo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vo(i,!1,!1),n[i]=Vo(i,!0,!1),t[i]=Vo(i,!1,!0),r[i]=Vo(i,!0,!0)}),[e,n,t,r]}const[Wd,zd,qd,Gd]=Ud();function qa(e,t){const n=t?e?Gd:qd:e?zd:Wd;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ne(n,o)&&o in r?n:r,o,i)}const Yd={get:qa(!1,!1)},Kd={get:qa(!1,!0)},Qd={get:qa(!0,!1)};const Tu=new WeakMap,Cu=new WeakMap,xu=new WeakMap,Xd=new WeakMap;function Jd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zd(e){return e.__v_skip||!Object.isExtensible(e)?0:Jd(yd(e))}function To(e){return cr(e)?e:Ga(e,!1,jd,Yd,Tu)}function Su(e){return Ga(e,!1,Bd,Kd,Cu)}function Ei(e){return Ga(e,!0,Vd,Qd,xu)}function Ga(e,t,n,r,o){if(!Ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=Zd(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return o.set(e,s),s}function ir(e){return cr(e)?ir(e.__v_raw):!!(e&&e.__v_isReactive)}function cr(e){return!!(e&&e.__v_isReadonly)}function Ut(e){return!!(e&&e.__v_isShallow)}function Ya(e){return e?!!e.__v_raw:!1}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}function eh(e){return!Ne(e,"__v_skip")&&Object.isExtensible(e)&&su(e,"__v_skip",!0),e}const _t=e=>Ve(e)?To(e):e,Ka=e=>Ve(e)?Ei(e):e;function lt(e){return e?e.__v_isRef===!0:!1}function we(e){return Eu(e,!1)}function Dn(e){return Eu(e,!0)}function Eu(e,t){return lt(e)?e:new th(e,t)}class th{constructor(t,n){this.dep=new Ci,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:xe(t),this._value=n?t:_t(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ut(t)||cr(t);t=r?t:xe(t),In(t,n)&&(this._rawValue=t,this._value=r?t:_t(t),this.dep.trigger())}}function ar(e){return lt(e)?e.value:e}const nh={get:(e,t,n)=>t==="__v_raw"?e:ar(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ku(e){return ir(e)?e:new Proxy(e,nh)}class rh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ci,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function oh(e){return new rh(e)}function Qa(e){const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=Ou(e,n);return t}class ih{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Dd(xe(this._object),this._key)}}class ah{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function sh(e,t,n){return lt(e)?e:ge(e)?new ah(e):Ve(e)&&arguments.length>1?Ou(e,t,n):we(e)}function Ou(e,t,n){const r=e[t];return lt(r)?r:new ih(e,t,n)}class lh{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ci(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ao-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){this.flags|=16,Be!==this&&this.dep.notify()}get value(){const t=this.dep.track();return vu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function uh(e,t,n=!1){let r,o;return ge(e)?r=e:(r=e.get,o=e.set),new lh(r,o,n)}const Bo={},ii=new WeakMap;let Jn;function ch(e,t=!1,n=Jn){if(n){let r=ii.get(n);r||ii.set(n,r=[]),r.push(e)}}function fh(e,t,n=We){const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:s,call:l}=n,u=w=>o?w:Ut(w)||o===!1||o===0?gn(w,1):gn(w);let f,c,d,p,b=!1,_=!1;if(lt(e)?(c=()=>e.value,b=Ut(e)):ir(e)?(c=()=>u(e),b=!0):le(e)?(_=!0,b=e.some(w=>ir(w)||Ut(w)),c=()=>e.map(w=>{if(lt(w))return w.value;if(ir(w))return u(w);if(ge(w))return l?l(w,2):w()})):ge(e)?t?c=l?()=>l(e,2):e:c=()=>{if(d){$n();try{d()}finally{jn()}}const w=Jn;Jn=f;try{return l?l(e,3,[p]):e(p)}finally{Jn=w}}:c=nn,t&&o){const w=c,M=o===!0?1/0:o;c=()=>gn(w(),M)}const E=du(),L=()=>{f.stop(),E&&ja(E.effects,f)};if(i)if(t){const w=t;t=(...M)=>{w(...M),L()}}else{const w=c;c=()=>{w(),L()}}let C=_?new Array(e.length).fill(Bo):Bo;const m=w=>{if(!(!(f.flags&1)||!f.dirty&&!w))if(t){const M=f.run();if(o||b||(_?M.some((q,N)=>In(q,C[N])):In(M,C))){d&&d();const q=Jn;Jn=f;try{const N=[M,C===Bo?void 0:_&&C[0]===Bo?[]:C,p];l?l(t,3,N):t(...N),C=M}finally{Jn=q}}}else f.run()};return s&&s(m),f=new hu(c),f.scheduler=a?()=>a(m,!1):m,p=w=>ch(w,!1,f),d=f.onStop=()=>{const w=ii.get(f);if(w){if(l)l(w,4);else for(const M of w)M();ii.delete(f)}},t?r?m(!0):C=f.run():a?a(m.bind(null,!0),!0):f.run(),L.pause=f.pause.bind(f),L.resume=f.resume.bind(f),L.stop=L,L}function gn(e,t=1/0,n){if(t<=0||!Ve(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,lt(e))gn(e.value,t,n);else if(le(e))for(let r=0;r{gn(r,t,n)});else if(au(e)){for(const r in e)gn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&gn(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.4 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Co(e,t,n,r){try{return r?e(...r):e()}catch(o){xo(o,t,n)}}function Gt(e,t,n,r){if(ge(e)){const o=Co(e,t,n,r);return o&&ou(o)&&o.catch(i=>{xo(i,t,n)}),o}if(le(e)){const o=[];for(let i=0;i>>1,o=Ot[r],i=uo(o);i=uo(n)?Ot.push(e):Ot.splice(hh(t),0,e),e.flags|=1,Au()}}function Au(){!lo&&!Pa&&(Pa=!0,Xa=Ru.then(Lu))}function ph(e){le(e)?Sr.push(...e):On&&e.id===-1?On.splice(wr+1,0,e):e.flags&1||(Sr.push(e),e.flags|=1),Au()}function js(e,t,n=lo?Jt+1:0){for(;nuo(n)-uo(r));if(Sr.length=0,On){On.push(...t);return}for(On=t,wr=0;wre.id==null?e.flags&2?-1:1/0:e.id;function Lu(e){Pa=!1,lo=!0;try{for(Jt=0;Jt{r._d&&Js(-1);const i=si(t);let a;try{a=e(...o)}finally{si(i),r._d&&Js(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function co(e,t){if(ht===null)return e;const n=Di(ht),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,Rn=Symbol("_leaveCb"),Uo=Symbol("_enterCb");function mh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ct(()=>{e.isMounted=!0}),Ri(()=>{e.isUnmounting=!0}),e}const jt=[Function,Array],Mu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jt,onEnter:jt,onAfterEnter:jt,onEnterCancelled:jt,onBeforeLeave:jt,onLeave:jt,onAfterLeave:jt,onLeaveCancelled:jt,onBeforeAppear:jt,onAppear:jt,onAfterAppear:jt,onAppearCancelled:jt},Fu=e=>{const t=e.subTree;return t.component?Fu(t.component):t},vh={name:"BaseTransition",props:Mu,setup(e,{slots:t}){const n=Ii(),r=mh();return()=>{const o=t.default&&$u(t.default(),!0);if(!o||!o.length)return;const i=Nu(o),a=xe(e),{mode:s}=a;if(r.isLeaving)return ta(i);const l=Vs(i);if(!l)return ta(i);let u=Ta(l,a,r,n,d=>u=d);l.type!==Pt&&fo(l,u);const f=n.subTree,c=f&&Vs(f);if(c&&c.type!==Pt&&!tr(l,c)&&Fu(n).type!==Pt){const d=Ta(c,a,r,n);if(fo(c,d),s==="out-in"&&l.type!==Pt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},ta(i);s==="in-out"&&l.type!==Pt&&(d.delayLeave=(p,b,_)=>{const E=Hu(r,c);E[String(c.key)]=c,p[Rn]=()=>{b(),p[Rn]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return i}}};function Nu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Pt){t=n;break}}return t}const bh=vh;function Hu(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ta(e,t,n,r,o){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:f,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:b,onLeaveCancelled:_,onBeforeAppear:E,onAppear:L,onAfterAppear:C,onAppearCancelled:m}=t,w=String(e.key),M=Hu(n,e),q=(G,k)=>{G&&Gt(G,r,9,k)},N=(G,k)=>{const H=k[1];q(G,k),le(G)?G.every(T=>T.length<=1)&&H():G.length<=1&&H()},S={mode:a,persisted:s,beforeEnter(G){let k=l;if(!n.isMounted)if(i)k=E||l;else return;G[Rn]&&G[Rn](!0);const H=M[w];H&&tr(e,H)&&H.el[Rn]&&H.el[Rn](),q(k,[G])},enter(G){let k=u,H=f,T=c;if(!n.isMounted)if(i)k=L||u,H=C||f,T=m||c;else return;let $=!1;const se=G[Uo]=fe=>{$||($=!0,fe?q(T,[G]):q(H,[G]),S.delayedLeave&&S.delayedLeave(),G[Uo]=void 0)};k?N(k,[G,se]):se()},leave(G,k){const H=String(e.key);if(G[Uo]&&G[Uo](!0),n.isUnmounting)return k();q(d,[G]);let T=!1;const $=G[Rn]=se=>{T||(T=!0,k(),se?q(_,[G]):q(b,[G]),G[Rn]=void 0,M[H]===e&&delete M[H])};M[H]=e,p?N(p,[G,$]):$()},clone(G){const k=Ta(G,t,n,r,o);return o&&o(k),k}};return S}function ta(e){if(So(e))return e=Mn(e),e.children=null,e}function Vs(e){if(!So(e))return Du(e.type)&&e.children?Nu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ge(n.default))return n.default()}}function fo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $u(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;ili(b,t&&(le(t)?t[_]:t),n,r,o));return}if(sr(r)&&!o)return;const i=r.shapeFlag&4?Di(r.component):r.el,a=o?null:i,{i:s,r:l}=e,u=t&&t.r,f=s.refs===We?s.refs={}:s.refs,c=s.setupState,d=xe(c),p=c===We?()=>!1:b=>Ne(d,b);if(u!=null&&u!==l&&(rt(u)?(f[u]=null,p(u)&&(c[u]=null)):lt(u)&&(u.value=null)),ge(l))Co(l,s,12,[a,f]);else{const b=rt(l),_=lt(l);if(b||_){const E=()=>{if(e.f){const L=b?p(l)?c[l]:f[l]:l.value;o?le(L)&&ja(L,i):le(L)?L.includes(i)||L.push(i):b?(f[l]=[i],p(l)&&(c[l]=f[l])):(l.value=[i],e.k&&(f[e.k]=l.value))}else b?(f[l]=a,p(l)&&(c[l]=a)):_&&(l.value=a,e.k&&(f[e.k]=a))};a?(E.id=-1,Mt(E,n)):E()}}}let Bs=!1;const vr=()=>{Bs||(console.error("Hydration completed but contains mismatches."),Bs=!0)},yh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",wh=e=>e.namespaceURI.includes("MathML"),Wo=e=>{if(e.nodeType===1){if(yh(e))return"svg";if(wh(e))return"mathml"}},Pr=e=>e.nodeType===8;function _h(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:l,createComment:u}}=e,f=(m,w)=>{if(!w.hasChildNodes()){n(null,m,w),ai(),w._vnode=m;return}c(w.firstChild,m,null,null,null),ai(),w._vnode=m},c=(m,w,M,q,N,S=!1)=>{S=S||!!w.dynamicChildren;const G=Pr(m)&&m.data==="[",k=()=>_(m,w,M,q,N,G),{type:H,ref:T,shapeFlag:$,patchFlag:se}=w;let fe=m.nodeType;w.el=m,se===-2&&(S=!1,w.dynamicChildren=null);let j=null;switch(H){case ur:fe!==3?w.children===""?(l(w.el=o(""),a(m),m),j=m):j=k():(m.data!==w.children&&(vr(),m.data=w.children),j=i(m));break;case Pt:C(m)?(j=i(m),L(w.el=m.content.firstChild,m,M)):fe!==8||G?j=k():j=i(m);break;case to:if(G&&(m=i(m),fe=m.nodeType),fe===1||fe===3){j=m;const oe=!w.children.length;for(let X=0;X{S=S||!!w.dynamicChildren;const{type:G,props:k,patchFlag:H,shapeFlag:T,dirs:$,transition:se}=w,fe=G==="input"||G==="option";if(fe||H!==-1){$&&Zt(w,null,M,"created");let j=!1;if(C(m)){j=ec(q,se)&&M&&M.vnode.props&&M.vnode.props.appear;const X=m.content.firstChild;j&&se.beforeEnter(X),L(X,m,M),w.el=m=X}if(T&16&&!(k&&(k.innerHTML||k.textContent))){let X=p(m.firstChild,w,m,M,q,N,S);for(;X;){zo(m,1)||vr();const Re=X;X=X.nextSibling,s(Re)}}else T&8&&m.textContent!==w.children&&(zo(m,0)||vr(),m.textContent=w.children);if(k){if(fe||!S||H&48){const X=m.tagName.includes("-");for(const Re in k)(fe&&(Re.endsWith("value")||Re==="indeterminate")||wo(Re)&&!xr(Re)||Re[0]==="."||X)&&r(m,Re,null,k[Re],void 0,M)}else if(k.onClick)r(m,"onClick",null,k.onClick,void 0,M);else if(H&4&&ir(k.style))for(const X in k.style)k.style[X]}let oe;(oe=k&&k.onVnodeBeforeMount)&&Vt(oe,M,w),$&&Zt(w,null,M,"beforeMount"),((oe=k&&k.onVnodeMounted)||$||j)&&ac(()=>{oe&&Vt(oe,M,w),j&&se.enter(m),$&&Zt(w,null,M,"mounted")},q)}return m.nextSibling},p=(m,w,M,q,N,S,G)=>{G=G||!!w.dynamicChildren;const k=w.children,H=k.length;for(let T=0;T{const{slotScopeIds:G}=w;G&&(N=N?N.concat(G):G);const k=a(m),H=p(i(m),w,k,M,q,N,S);return H&&Pr(H)&&H.data==="]"?i(w.anchor=H):(vr(),l(w.anchor=u("]"),k,H),H)},_=(m,w,M,q,N,S)=>{if(zo(m.parentElement,1)||vr(),w.el=null,S){const H=E(m);for(;;){const T=i(m);if(T&&T!==H)s(T);else break}}const G=i(m),k=a(m);return s(m),n(null,w,k,G,M,q,Wo(k),N),G},E=(m,w="[",M="]")=>{let q=0;for(;m;)if(m=i(m),m&&Pr(m)&&(m.data===w&&q++,m.data===M)){if(q===0)return i(m);q--}return m},L=(m,w,M)=>{const q=w.parentNode;q&&q.replaceChild(m,w);let N=M;for(;N;)N.vnode.el===w&&(N.vnode.el=N.subTree.el=m),N=N.parent},C=m=>m.nodeType===1&&m.tagName.toLowerCase()==="template";return[f,c]}const Us="data-allow-mismatch",Ph={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function zo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Us);)e=e.parentElement;const n=e&&e.getAttribute(Us);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Ph[t])}}function Th(e,t){if(Pr(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1)t(r);else if(Pr(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const sr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function vt(e){ge(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:a,suspensible:s=!0,onError:l}=e;let u=null,f,c=0;const d=()=>(c++,u=null,p()),p=()=>{let b;return u||(b=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((E,L)=>{l(_,()=>E(d()),()=>L(_),c+1)});throw _}).then(_=>b!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),f=_,_)))};return Le({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(b,_,E){const L=i?()=>{const C=i(E,m=>Th(b,m));C&&(_.bum||(_.bum=[])).push(C)}:E;f?L():p().then(()=>!_.isUnmounted&&L())},get __asyncResolved(){return f},setup(){const b=dt;if(Ja(b),f)return()=>na(f,b);const _=m=>{u=null,xo(m,b,13,!r)};if(s&&b.suspense||ko)return p().then(m=>()=>na(m,b)).catch(m=>(_(m),()=>r?ue(r,{error:m}):null));const E=we(!1),L=we(),C=we(!!o);return o&&setTimeout(()=>{C.value=!1},o),a!=null&&setTimeout(()=>{if(!E.value&&!L.value){const m=new Error(`Async component timed out after ${a}ms.`);_(m),L.value=m}},a),p().then(()=>{E.value=!0,b.parent&&So(b.parent.vnode)&&ki(b.parent.update)}).catch(m=>{_(m),L.value=m}),()=>{if(E.value&&f)return na(f,b);if(L.value&&r)return ue(r,{error:L.value});if(n&&!C.value)return ue(n)}}})}function na(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=ue(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const So=e=>e.type.__isKeepAlive;function Ch(e,t){ju(e,"a",t)}function xh(e,t){ju(e,"da",t)}function ju(e,t,n=dt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Oi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)So(o.parent.vnode)&&Sh(r,t,n,o),o=o.parent}}function Sh(e,t,n,r){const o=Oi(t,e,r,!0);Ai(()=>{ja(r[t],o)},n)}function Oi(e,t,n=dt,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{$n();const s=Eo(n),l=Gt(t,n,e,a);return s(),jn(),l});return r?o.unshift(i):o.push(i),i}}const yn=e=>(t,n=dt)=>{(!ko||e==="sp")&&Oi(e,(...r)=>t(...r),n)},Eh=yn("bm"),Ct=yn("m"),kh=yn("bu"),Oh=yn("u"),Ri=yn("bum"),Ai=yn("um"),Rh=yn("sp"),Ah=yn("rtg"),Lh=yn("rtc");function Ih(e,t=dt){Oi("ec",e,t)}const Vu="components";function mn(e,t){return Mh(Vu,e,!0,t)||e}const Dh=Symbol.for("v-ndc");function Mh(e,t,n=!0,r=!1){const o=ht||dt;if(o){const i=o.type;if(e===Vu){const s=_p(i,!1);if(s&&(s===t||s===Nt(t)||s===Po(Nt(t))))return i}const a=Ws(o[e]||i[e],t)||Ws(o.appContext[e],t);return!a&&r?i:a}}function Ws(e,t){return e&&(e[t]||e[Nt(t)]||e[Po(Nt(t))])}function st(e,t,n,r){let o;const i=n,a=le(e);if(a||rt(e)){const s=a&&ir(e);let l=!1;s&&(l=!Ut(e),e=xi(e)),o=new Array(e.length);for(let u=0,f=e.length;ut(s,l,void 0,i));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,u=s.length;l{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function pe(e,t,n={},r,o){if(ht.ce||ht.parent&&sr(ht.parent)&&ht.parent.ce)return t!=="default"&&(n.name=t),x(),Qe(me,null,[ue("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),x();const a=i&&Bu(i(n)),s=Qe(me,{key:(n.key||a&&a.key||`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Bu(e){return e.some(t=>ci(t)?!(t.type===Pt||t.type===me&&!Bu(t.children)):!0)?e:null}const Ca=e=>e?uc(e)?Di(e):Ca(e.parent):null,eo=ut(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ca(e.parent),$root:e=>Ca(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Za(e),$forceUpdate:e=>e.f||(e.f=()=>{ki(e.update)}),$nextTick:e=>e.n||(e.n=pr.bind(e.proxy)),$watch:e=>np.bind(e)}),oa=(e,t)=>e!==We&&!e.__isScriptSetup&&Ne(e,t),Fh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(oa(r,t))return a[t]=1,r[t];if(o!==We&&Ne(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&Ne(u,t))return a[t]=3,i[t];if(n!==We&&Ne(n,t))return a[t]=4,n[t];xa&&(a[t]=0)}}const f=eo[t];let c,d;if(f)return t==="$attrs"&&Tt(e.attrs,"get",""),f(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==We&&Ne(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,Ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return oa(o,t)?(o[t]=n,!0):r!==We&&Ne(r,t)?(r[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==We&&Ne(e,a)||oa(t,a)||(s=i[0])&&Ne(s,a)||Ne(r,a)||Ne(eo,a)||Ne(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zs(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let xa=!0;function Nh(e){const t=Za(e),n=e.proxy,r=e.ctx;xa=!1,t.beforeCreate&&qs(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:l,inject:u,created:f,beforeMount:c,mounted:d,beforeUpdate:p,updated:b,activated:_,deactivated:E,beforeDestroy:L,beforeUnmount:C,destroyed:m,unmounted:w,render:M,renderTracked:q,renderTriggered:N,errorCaptured:S,serverPrefetch:G,expose:k,inheritAttrs:H,components:T,directives:$,filters:se}=t;if(u&&Hh(u,r,null),a)for(const oe in a){const X=a[oe];ge(X)&&(r[oe]=X.bind(n))}if(o){const oe=o.call(n,n);Ve(oe)&&(e.data=To(oe))}if(xa=!0,i)for(const oe in i){const X=i[oe],Re=ge(X)?X.bind(n,n):ge(X.get)?X.get.bind(n,n):nn,qe=!ge(X)&&ge(X.set)?X.set.bind(n):nn,it=U({get:Re,set:qe});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>it.value,set:et=>it.value=et})}if(s)for(const oe in s)Uu(s[oe],r,n,oe);if(l){const oe=ge(l)?l.call(n):l;Reflect.ownKeys(oe).forEach(X=>{lr(X,oe[X])})}f&&qs(f,e,"c");function j(oe,X){le(X)?X.forEach(Re=>oe(Re.bind(n))):X&&oe(X.bind(n))}if(j(Eh,c),j(Ct,d),j(kh,p),j(Oh,b),j(Ch,_),j(xh,E),j(Ih,S),j(Lh,q),j(Ah,N),j(Ri,C),j(Ai,w),j(Rh,G),le(k))if(k.length){const oe=e.exposed||(e.exposed={});k.forEach(X=>{Object.defineProperty(oe,X,{get:()=>n[X],set:Re=>n[X]=Re})})}else e.exposed||(e.exposed={});M&&e.render===nn&&(e.render=M),H!=null&&(e.inheritAttrs=H),T&&(e.components=T),$&&(e.directives=$),G&&Ja(e)}function Hh(e,t,n=nn){le(e)&&(e=Sa(e));for(const r in e){const o=e[r];let i;Ve(o)?"default"in o?i=Rt(o.from||r,o.default,!0):i=Rt(o.from||r):i=Rt(o),lt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function qs(e,t,n){Gt(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Uu(e,t,n,r){let o=r.includes(".")?rc(n,r):()=>n[r];if(rt(e)){const i=t[e];ge(i)&&pt(o,i)}else if(ge(e))pt(o,e.bind(n));else if(Ve(e))if(le(e))e.forEach(i=>Uu(i,t,n,r));else{const i=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(i)&&pt(o,i,e)}}function Za(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>ui(l,u,a,!0)),ui(l,t,a)),Ve(t)&&i.set(t,l),l}function ui(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&ui(e,i,n,!0),o&&o.forEach(a=>ui(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=$h[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const $h={data:Gs,props:Ys,emits:Ys,methods:Xr,computed:Xr,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:Xr,directives:Xr,watch:Vh,provide:Gs,inject:jh};function Gs(e,t){return t?e?function(){return ut(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function jh(e,t){return Xr(Sa(e),Sa(t))}function Sa(e){if(le(e)){const t={};for(let n=0;n1)return n&&ge(t)?t.call(r&&r.proxy):t}}const zu={},qu=()=>Object.create(zu),Gu=e=>Object.getPrototypeOf(e)===zu;function Wh(e,t,n,r=!1){const o={},i=qu();e.propsDefaults=Object.create(null),Yu(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Su(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function zh(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=xe(o),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let c=0;c{l=!0;const[d,p]=Ku(c,t,!0);ut(a,d),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!l)return Ve(e)&&r.set(e,Tr),Tr;if(le(i))for(let f=0;fe[0]==="_"||e==="$stable",es=e=>le(e)?e.map(Bt):[Bt(e)],Gh=(e,t,n)=>{if(t._n)return t;const r=Ue((...o)=>es(t(...o)),n);return r._c=!1,r},Xu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Qu(o))continue;const i=e[o];if(ge(i))t[o]=Gh(o,i,r);else if(i!=null){const a=es(i);t[o]=()=>a}}},Ju=(e,t)=>{const n=es(t);e.slots.default=()=>n},Zu=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Yh=(e,t,n)=>{const r=e.slots=qu();if(e.vnode.shapeFlag&32){const o=t._;o?(Zu(r,t,n),n&&su(r,"_",o,!0)):Xu(t,r)}else t&&Ju(e,t)},Kh=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=We;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:Zu(o,t,n):(i=!t.$stable,Xu(t,o)),a=t}else t&&(Ju(e,t),a={default:1});if(i)for(const s in o)!Qu(s)&&a[s]==null&&delete o[s]},Mt=ac;function Qh(e){return Xh(e,_h)}function Xh(e,t){const n=lu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:l,setText:u,setElementText:f,parentNode:c,nextSibling:d,setScopeId:p=nn,insertStaticContent:b}=e,_=(g,v,P,D=null,A=null,F=null,Q=void 0,K=null,z=!!v.dynamicChildren)=>{if(g===v)return;g&&!tr(g,v)&&(D=O(g),et(g,A,F,!0),g=null),v.patchFlag===-2&&(z=!1,v.dynamicChildren=null);const{type:V,ref:ce,shapeFlag:J}=v;switch(V){case ur:E(g,v,P,D);break;case Pt:L(g,v,P,D);break;case to:g==null&&C(v,P,D,Q);break;case me:T(g,v,P,D,A,F,Q,K,z);break;default:J&1?M(g,v,P,D,A,F,Q,K,z):J&6?$(g,v,P,D,A,F,Q,K,z):(J&64||J&128)&&V.process(g,v,P,D,A,F,Q,K,z,ee)}ce!=null&&A&&li(ce,g&&g.ref,F,v||g,!v)},E=(g,v,P,D)=>{if(g==null)r(v.el=s(v.children),P,D);else{const A=v.el=g.el;v.children!==g.children&&u(A,v.children)}},L=(g,v,P,D)=>{g==null?r(v.el=l(v.children||""),P,D):v.el=g.el},C=(g,v,P,D)=>{[g.el,g.anchor]=b(g.children,v,P,D,g.el,g.anchor)},m=({el:g,anchor:v},P,D)=>{let A;for(;g&&g!==v;)A=d(g),r(g,P,D),g=A;r(v,P,D)},w=({el:g,anchor:v})=>{let P;for(;g&&g!==v;)P=d(g),o(g),g=P;o(v)},M=(g,v,P,D,A,F,Q,K,z)=>{v.type==="svg"?Q="svg":v.type==="math"&&(Q="mathml"),g==null?q(v,P,D,A,F,Q,K,z):G(g,v,A,F,Q,K,z)},q=(g,v,P,D,A,F,Q,K)=>{let z,V;const{props:ce,shapeFlag:J,transition:ae,dirs:de}=g;if(z=g.el=a(g.type,F,ce&&ce.is,ce),J&8?f(z,g.children):J&16&&S(g.children,z,null,D,A,ia(g,F),Q,K),de&&Zt(g,null,D,"created"),N(z,g,g.scopeId,Q,D),ce){for(const Fe in ce)Fe!=="value"&&!xr(Fe)&&i(z,Fe,null,ce[Fe],F,D);"value"in ce&&i(z,"value",null,ce.value,F),(V=ce.onVnodeBeforeMount)&&Vt(V,D,g)}de&&Zt(g,null,D,"beforeMount");const ye=ec(A,ae);ye&&ae.beforeEnter(z),r(z,v,P),((V=ce&&ce.onVnodeMounted)||ye||de)&&Mt(()=>{V&&Vt(V,D,g),ye&&ae.enter(z),de&&Zt(g,null,D,"mounted")},A)},N=(g,v,P,D,A)=>{if(P&&p(g,P),D)for(let F=0;F{for(let V=z;V{const K=v.el=g.el;let{patchFlag:z,dynamicChildren:V,dirs:ce}=v;z|=g.patchFlag&16;const J=g.props||We,ae=v.props||We;let de;if(P&&Yn(P,!1),(de=ae.onVnodeBeforeUpdate)&&Vt(de,P,v,g),ce&&Zt(v,g,P,"beforeUpdate"),P&&Yn(P,!0),(J.innerHTML&&ae.innerHTML==null||J.textContent&&ae.textContent==null)&&f(K,""),V?k(g.dynamicChildren,V,K,P,D,ia(v,A),F):Q||X(g,v,K,null,P,D,ia(v,A),F,!1),z>0){if(z&16)H(K,J,ae,P,A);else if(z&2&&J.class!==ae.class&&i(K,"class",null,ae.class,A),z&4&&i(K,"style",J.style,ae.style,A),z&8){const ye=v.dynamicProps;for(let Fe=0;Fe{de&&Vt(de,P,v,g),ce&&Zt(v,g,P,"updated")},D)},k=(g,v,P,D,A,F,Q)=>{for(let K=0;K{if(v!==P){if(v!==We)for(const F in v)!xr(F)&&!(F in P)&&i(g,F,v[F],null,A,D);for(const F in P){if(xr(F))continue;const Q=P[F],K=v[F];Q!==K&&F!=="value"&&i(g,F,K,Q,A,D)}"value"in P&&i(g,"value",v.value,P.value,A)}},T=(g,v,P,D,A,F,Q,K,z)=>{const V=v.el=g?g.el:s(""),ce=v.anchor=g?g.anchor:s("");let{patchFlag:J,dynamicChildren:ae,slotScopeIds:de}=v;de&&(K=K?K.concat(de):de),g==null?(r(V,P,D),r(ce,P,D),S(v.children||[],P,ce,A,F,Q,K,z)):J>0&&J&64&&ae&&g.dynamicChildren?(k(g.dynamicChildren,ae,P,A,F,Q,K),(v.key!=null||A&&v===A.subTree)&&tc(g,v,!0)):X(g,v,P,ce,A,F,Q,K,z)},$=(g,v,P,D,A,F,Q,K,z)=>{v.slotScopeIds=K,g==null?v.shapeFlag&512?A.ctx.activate(v,P,D,Q,z):se(v,P,D,A,F,Q,z):fe(g,v,z)},se=(g,v,P,D,A,F,Q)=>{const K=g.component=mp(g,D,A);if(So(g)&&(K.ctx.renderer=ee),vp(K,!1,Q),K.asyncDep){if(A&&A.registerDep(K,j,Q),!g.el){const z=K.subTree=ue(Pt);L(null,z,v,P)}}else j(K,g,v,P,A,F,Q)},fe=(g,v,P)=>{const D=v.component=g.component;if(sp(g,v,P))if(D.asyncDep&&!D.asyncResolved){oe(D,v,P);return}else D.next=v,D.update();else v.el=g.el,D.vnode=v},j=(g,v,P,D,A,F,Q)=>{const K=()=>{if(g.isMounted){let{next:J,bu:ae,u:de,parent:ye,vnode:Fe}=g;{const St=nc(g);if(St){J&&(J.el=Fe.el,oe(g,J,Q)),St.asyncDep.then(()=>{g.isUnmounted||K()});return}}let Oe=J,Ge;Yn(g,!1),J?(J.el=Fe.el,oe(g,J,Q)):J=Fe,ae&&Jo(ae),(Ge=J.props&&J.props.onVnodeBeforeUpdate)&&Vt(Ge,ye,J,Fe),Yn(g,!0);const at=aa(g),At=g.subTree;g.subTree=at,_(At,at,c(At.el),O(At),g,A,F),J.el=at.el,Oe===null&&lp(g,at.el),de&&Mt(de,A),(Ge=J.props&&J.props.onVnodeUpdated)&&Mt(()=>Vt(Ge,ye,J,Fe),A)}else{let J;const{el:ae,props:de}=v,{bm:ye,m:Fe,parent:Oe,root:Ge,type:at}=g,At=sr(v);if(Yn(g,!1),ye&&Jo(ye),!At&&(J=de&&de.onVnodeBeforeMount)&&Vt(J,Oe,v),Yn(g,!0),ae&&ke){const St=()=>{g.subTree=aa(g),ke(ae,g.subTree,g,A,null)};At&&at.__asyncHydrate?at.__asyncHydrate(ae,g,St):St()}else{Ge.ce&&Ge.ce._injectChildStyle(at);const St=g.subTree=aa(g);_(null,St,P,D,g,A,F),v.el=St.el}if(Fe&&Mt(Fe,A),!At&&(J=de&&de.onVnodeMounted)){const St=v;Mt(()=>Vt(J,Oe,St),A)}(v.shapeFlag&256||Oe&&sr(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&g.a&&Mt(g.a,A),g.isMounted=!0,v=P=D=null}};g.scope.on();const z=g.effect=new hu(K);g.scope.off();const V=g.update=z.run.bind(z),ce=g.job=z.runIfDirty.bind(z);ce.i=g,ce.id=g.uid,z.scheduler=()=>ki(ce),Yn(g,!0),V()},oe=(g,v,P)=>{v.component=g;const D=g.vnode.props;g.vnode=v,g.next=null,zh(g,v.props,D,P),Kh(g,v.children,P),$n(),js(g),jn()},X=(g,v,P,D,A,F,Q,K,z=!1)=>{const V=g&&g.children,ce=g?g.shapeFlag:0,J=v.children,{patchFlag:ae,shapeFlag:de}=v;if(ae>0){if(ae&128){qe(V,J,P,D,A,F,Q,K,z);return}else if(ae&256){Re(V,J,P,D,A,F,Q,K,z);return}}de&8?(ce&16&&Me(V,A,F),J!==V&&f(P,J)):ce&16?de&16?qe(V,J,P,D,A,F,Q,K,z):Me(V,A,F,!0):(ce&8&&f(P,""),de&16&&S(J,P,D,A,F,Q,K,z))},Re=(g,v,P,D,A,F,Q,K,z)=>{g=g||Tr,v=v||Tr;const V=g.length,ce=v.length,J=Math.min(V,ce);let ae;for(ae=0;aece?Me(g,A,F,!0,!1,J):S(v,P,D,A,F,Q,K,z,J)},qe=(g,v,P,D,A,F,Q,K,z)=>{let V=0;const ce=v.length;let J=g.length-1,ae=ce-1;for(;V<=J&&V<=ae;){const de=g[V],ye=v[V]=z?An(v[V]):Bt(v[V]);if(tr(de,ye))_(de,ye,P,null,A,F,Q,K,z);else break;V++}for(;V<=J&&V<=ae;){const de=g[J],ye=v[ae]=z?An(v[ae]):Bt(v[ae]);if(tr(de,ye))_(de,ye,P,null,A,F,Q,K,z);else break;J--,ae--}if(V>J){if(V<=ae){const de=ae+1,ye=deae)for(;V<=J;)et(g[V],A,F,!0),V++;else{const de=V,ye=V,Fe=new Map;for(V=ye;V<=ae;V++){const yt=v[V]=z?An(v[V]):Bt(v[V]);yt.key!=null&&Fe.set(yt.key,V)}let Oe,Ge=0;const at=ae-ye+1;let At=!1,St=0;const _n=new Array(at);for(V=0;V=at){et(yt,A,F,!0);continue}let It;if(yt.key!=null)It=Fe.get(yt.key);else for(Oe=ye;Oe<=ae;Oe++)if(_n[Oe-ye]===0&&tr(yt,v[Oe])){It=Oe;break}It===void 0?et(yt,A,F,!0):(_n[It-ye]=V+1,It>=St?St=It:At=!0,_(yt,v[It],P,null,A,F,Q,K,z),Ge++)}const Bn=At?Jh(_n):Tr;for(Oe=Bn.length-1,V=at-1;V>=0;V--){const yt=ye+V,It=v[yt],Ro=yt+1{const{el:F,type:Q,transition:K,children:z,shapeFlag:V}=g;if(V&6){it(g.component.subTree,v,P,D);return}if(V&128){g.suspense.move(v,P,D);return}if(V&64){Q.move(g,v,P,ee);return}if(Q===me){r(F,v,P);for(let J=0;JK.enter(F),A);else{const{leave:J,delayLeave:ae,afterLeave:de}=K,ye=()=>r(F,v,P),Fe=()=>{J(F,()=>{ye(),de&&de()})};ae?ae(F,ye,Fe):Fe()}else r(F,v,P)},et=(g,v,P,D=!1,A=!1)=>{const{type:F,props:Q,ref:K,children:z,dynamicChildren:V,shapeFlag:ce,patchFlag:J,dirs:ae,cacheIndex:de}=g;if(J===-2&&(A=!1),K!=null&&li(K,null,P,g,!0),de!=null&&(v.renderCache[de]=void 0),ce&256){v.ctx.deactivate(g);return}const ye=ce&1&&ae,Fe=!sr(g);let Oe;if(Fe&&(Oe=Q&&Q.onVnodeBeforeUnmount)&&Vt(Oe,v,g),ce&6)re(g.component,P,D);else{if(ce&128){g.suspense.unmount(P,D);return}ye&&Zt(g,null,v,"beforeUnmount"),ce&64?g.type.remove(g,v,P,ee,D):V&&!V.hasOnce&&(F!==me||J>0&&J&64)?Me(V,v,P,!1,!0):(F===me&&J&384||!A&&ce&16)&&Me(z,v,P),D&&xt(g)}(Fe&&(Oe=Q&&Q.onVnodeUnmounted)||ye)&&Mt(()=>{Oe&&Vt(Oe,v,g),ye&&Zt(g,null,v,"unmounted")},P)},xt=g=>{const{type:v,el:P,anchor:D,transition:A}=g;if(v===me){He(P,D);return}if(v===to){w(g);return}const F=()=>{o(P),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(g.shapeFlag&1&&A&&!A.persisted){const{leave:Q,delayLeave:K}=A,z=()=>Q(P,F);K?K(g.el,F,z):z()}else F()},He=(g,v)=>{let P;for(;g!==v;)P=d(g),o(g),g=P;o(v)},re=(g,v,P)=>{const{bum:D,scope:A,job:F,subTree:Q,um:K,m:z,a:V}=g;Qs(z),Qs(V),D&&Jo(D),A.stop(),F&&(F.flags|=8,et(Q,g,v,P)),K&&Mt(K,v),Mt(()=>{g.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},Me=(g,v,P,D=!1,A=!1,F=0)=>{for(let Q=F;Q{if(g.shapeFlag&6)return O(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const v=d(g.anchor||g.el),P=v&&v[gh];return P?d(P):v};let W=!1;const Y=(g,v,P)=>{g==null?v._vnode&&et(v._vnode,null,null,!0):_(v._vnode||null,g,v,null,null,null,P),v._vnode=g,W||(W=!0,js(),ai(),W=!1)},ee={p:_,um:et,m:it,r:xt,mt:se,mc:S,pc:X,pbc:k,n:O,o:e};let be,ke;return t&&([be,ke]=t(ee)),{render:Y,hydrate:be,createApp:Uh(Y,be)}}function ia({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Yn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ec(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tc(e,t,n=!1){const r=e.children,o=t.children;if(le(r)&&le(o))for(let i=0;i>1,e[n[s]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function nc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nc(t)}function Qs(e){if(e)for(let t=0;tRt(Zh);function tp(e,t){return ts(e,null,t)}function pt(e,t,n){return ts(e,t,n)}function ts(e,t,n=We){const{immediate:r,deep:o,flush:i,once:a}=n,s=ut({},n);let l;if(ko)if(i==="sync"){const d=ep();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)s.once=!0;else return{stop:nn,resume:nn,pause:nn};const u=dt;s.call=(d,p,b)=>Gt(d,u,p,b);let f=!1;i==="post"?s.scheduler=d=>{Mt(d,u&&u.suspense)}:i!=="sync"&&(f=!0,s.scheduler=(d,p)=>{p?d():ki(d)}),s.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const c=fh(e,t,s);return l&&l.push(c),c}function np(e,t,n){const r=this.proxy,o=rt(e)?e.includes(".")?rc(r,e):()=>r[e]:e.bind(r,r);let i;ge(t)?i=t:(i=t.handler,n=t);const a=Eo(this),s=ts(o,i.bind(r),n);return a(),s}function rc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Nt(t)}Modifiers`]||e[`${Hn(t)}Modifiers`];function op(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||We;let o=n;const i=t.startsWith("update:"),a=i&&rp(r,t.slice(7));a&&(a.trim&&(o=n.map(f=>rt(f)?f.trim():f)),a.number&&(o=n.map(ri)));let s,l=r[s=Qi(t)]||r[s=Qi(Nt(t))];!l&&i&&(l=r[s=Qi(Hn(t))]),l&&Gt(l,e,6,o);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Gt(u,e,6,o)}}function oc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!ge(e)){const l=u=>{const f=oc(u,t,!0);f&&(s=!0,ut(a,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Ve(e)&&r.set(e,null),null):(le(i)?i.forEach(l=>a[l]=null):ut(a,i),Ve(e)&&r.set(e,a),a)}function Li(e,t){return!e||!wo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Hn(t))||Ne(e,t))}function aa(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:l,render:u,renderCache:f,props:c,data:d,setupState:p,ctx:b,inheritAttrs:_}=e,E=si(e);let L,C;try{if(n.shapeFlag&4){const w=o||r,M=w;L=Bt(u.call(M,w,f,c,p,d,b)),C=s}else{const w=t;L=Bt(w.length>1?w(c,{attrs:s,slots:a,emit:l}):w(c,null)),C=t.props?s:ip(s)}}catch(w){no.length=0,xo(w,e,1),L=ue(Pt)}let m=L;if(C&&_!==!1){const w=Object.keys(C),{shapeFlag:M}=m;w.length&&M&7&&(i&&w.some($a)&&(C=ap(C,i)),m=Mn(m,C,!1,!0))}return n.dirs&&(m=Mn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&fo(m,n.transition),L=m,si(E),L}const ip=e=>{let t;for(const n in e)(n==="class"||n==="style"||wo(n))&&((t||(t={}))[n]=e[n]);return t},ap=(e,t)=>{const n={};for(const r in e)(!$a(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sp(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Xs(r,a,u):!!a;if(l&8){const f=t.dynamicProps;for(let c=0;ce.__isSuspense;function ac(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):ph(e)}const me=Symbol.for("v-fgt"),ur=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),to=Symbol.for("v-stc"),no=[];let Ft=null;function x(e=!1){no.push(Ft=e?null:[])}function up(){no.pop(),Ft=no[no.length-1]||null}let ho=1;function Js(e){ho+=e,e<0&&Ft&&(Ft.hasOnce=!0)}function sc(e){return e.dynamicChildren=ho>0?Ft||Tr:null,up(),ho>0&&Ft&&Ft.push(e),e}function R(e,t,n,r,o,i){return sc(B(e,t,n,r,o,i,!0))}function Qe(e,t,n,r,o){return sc(ue(e,t,n,r,o,!0))}function ci(e){return e?e.__v_isVNode===!0:!1}function tr(e,t){return e.type===t.type&&e.key===t.key}const lc=({key:e})=>e??null,Zo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?rt(e)||lt(e)||ge(e)?{i:ht,r:e,k:t,f:!!n}:e:null);function B(e,t=null,n=null,r=0,o=null,i=e===me?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lc(t),ref:t&&Zo(t),scopeId:Iu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ht};return s?(ns(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=rt(n)?8:16),ho>0&&!a&&Ft&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ft.push(l),l}const ue=cp;function cp(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Dh)&&(e=Pt),ci(e)){const s=Mn(e,t,!0);return n&&ns(s,n),ho>0&&!i&&Ft&&(s.shapeFlag&6?Ft[Ft.indexOf(e)]=s:Ft.push(s)),s.patchFlag=-2,s}if(Pp(e)&&(e=e.__vccOpts),t){t=fp(t);let{class:s,style:l}=t;s&&!rt(s)&&(t.class=Ce(s)),Ve(l)&&(Ya(l)&&!le(l)&&(l=ut({},l)),t.style=hr(l))}const a=rt(e)?1:ic(e)?128:Du(e)?64:Ve(e)?4:ge(e)?2:0;return B(e,t,n,r,o,a,i,!0)}function fp(e){return e?Ya(e)||Gu(e)?ut({},e):e:null}function Mn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:l}=e,u=t?hp(o||{},t):o,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&lc(u),ref:t&&t.ref?n&&i?le(i)?i.concat(Zo(t)):[i,Zo(t)]:Zo(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mn(e.ssContent),ssFallback:e.ssFallback&&Mn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&fo(f,l.clone(f)),f}function on(e=" ",t=0){return ue(ur,null,e,t)}function dp(e,t){const n=ue(to,null,e);return n.staticCount=t,n}function ie(e="",t=!1){return t?(x(),Qe(Pt,null,e)):ue(Pt,null,e)}function Bt(e){return e==null||typeof e=="boolean"?ue(Pt):le(e)?ue(me,null,e.slice()):typeof e=="object"?An(e):ue(ur,null,String(e))}function An(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mn(e)}function ns(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ns(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Gu(t)?t._ctx=ht:o===3&&ht&&(ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:ht},n=32):(t=String(t),r&64?(n=16,t=[on(t)]):n=8);e.children=t,e.shapeFlag|=n}function hp(...e){const t={};for(let n=0;ndt||ht;let fi,ka;{const e=lu(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};fi=t("__VUE_INSTANCE_SETTERS__",n=>dt=n),ka=t("__VUE_SSR_SETTERS__",n=>ko=n)}const Eo=e=>{const t=dt;return fi(e),e.scope.on(),()=>{e.scope.off(),fi(t)}},Zs=()=>{dt&&dt.scope.off(),fi(null)};function uc(e){return e.vnode.shapeFlag&4}let ko=!1;function vp(e,t=!1,n=!1){t&&ka(t);const{props:r,children:o}=e.vnode,i=uc(e);Wh(e,r,i,t),Yh(e,o,n);const a=i?bp(e,t):void 0;return t&&ka(!1),a}function bp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Fh);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?wp(e):null,i=Eo(e);$n();const a=Co(r,e,0,[e.props,o]);if(jn(),i(),ou(a)){if(sr(e)||Ja(e),a.then(Zs,Zs),t)return a.then(s=>{el(e,s,t)}).catch(s=>{xo(s,e,0)});e.asyncDep=a}else el(e,a,t)}else cc(e,t)}function el(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ve(t)&&(e.setupState=ku(t)),cc(e,n)}let tl;function cc(e,t,n){const r=e.type;if(!e.render){if(!t&&tl&&!r.render){const o=r.template||Za(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=ut(ut({isCustomElement:i,delimiters:s},a),l);r.render=tl(o,u)}}e.render=r.render||nn}{const o=Eo(e);$n();try{Nh(e)}finally{jn(),o()}}}const yp={get(e,t){return Tt(e,"get",""),e[t]}};function wp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,yp),slots:e.slots,emit:e.emit,expose:t}}function Di(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ku(eh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in eo)return eo[n](e)},has(t,n){return n in t||n in eo}})):e.proxy}function _p(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function Pp(e){return ge(e)&&"__vccOpts"in e}const U=(e,t)=>uh(e,t,ko);function Ae(e,t,n){const r=arguments.length;return r===2?Ve(t)&&!le(t)?ci(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ci(n)&&(n=[n]),ue(e,t,n))}const Tp="3.5.4";/** +* @vue/runtime-dom v3.5.4 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Oa;const nl=typeof window<"u"&&window.trustedTypes;if(nl)try{Oa=nl.createPolicy("vue",{createHTML:e=>e})}catch{}const fc=Oa?e=>Oa.createHTML(e):e=>e,Cp="http://www.w3.org/2000/svg",xp="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,rl=pn&&pn.createElement("template"),Sp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?pn.createElementNS(Cp,e):t==="mathml"?pn.createElementNS(xp,e):n?pn.createElement(e,{is:n}):pn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>pn.createTextNode(e),createComment:e=>pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{rl.innerHTML=fc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const s=rl.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sn="transition",zr="animation",po=Symbol("_vtc"),dc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ep=ut({},Mu,dc),kp=e=>(e.displayName="Transition",e.props=Ep,e),rs=kp((e,{slots:t})=>Ae(bh,Op(e),t)),Kn=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},ol=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function Op(e){const t={};for(const T in e)T in dc||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:f=s,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,b=Rp(o),_=b&&b[0],E=b&&b[1],{onBeforeEnter:L,onEnter:C,onEnterCancelled:m,onLeave:w,onLeaveCancelled:M,onBeforeAppear:q=L,onAppear:N=C,onAppearCancelled:S=m}=t,G=(T,$,se)=>{Qn(T,$?f:s),Qn(T,$?u:a),se&&se()},k=(T,$)=>{T._isLeaving=!1,Qn(T,c),Qn(T,p),Qn(T,d),$&&$()},H=T=>($,se)=>{const fe=T?N:C,j=()=>G($,T,se);Kn(fe,[$,j]),il(()=>{Qn($,T?l:i),En($,T?f:s),ol(fe)||al($,r,_,j)})};return ut(t,{onBeforeEnter(T){Kn(L,[T]),En(T,i),En(T,a)},onBeforeAppear(T){Kn(q,[T]),En(T,l),En(T,u)},onEnter:H(!1),onAppear:H(!0),onLeave(T,$){T._isLeaving=!0;const se=()=>k(T,$);En(T,c),En(T,d),Ip(),il(()=>{T._isLeaving&&(Qn(T,c),En(T,p),ol(w)||al(T,r,E,se))}),Kn(w,[T,se])},onEnterCancelled(T){G(T,!1),Kn(m,[T])},onAppearCancelled(T){G(T,!0),Kn(S,[T])},onLeaveCancelled(T){k(T),Kn(M,[T])}})}function Rp(e){if(e==null)return null;if(Ve(e))return[sa(e.enter),sa(e.leave)];{const t=sa(e);return[t,t]}}function sa(e){return Pd(e)}function En(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[po]||(e[po]=new Set)).add(t)}function Qn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[po];n&&(n.delete(t),n.size||(e[po]=void 0))}function il(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ap=0;function al(e,t,n,r){const o=e._endId=++Ap,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Lp(e,t);if(!a)return r();const u=a+"end";let f=0;const c=()=>{e.removeEventListener(u,d),i()},d=p=>{p.target===e&&++f>=l&&c()};setTimeout(()=>{f(n[b]||"").split(", "),o=r(`${Sn}Delay`),i=r(`${Sn}Duration`),a=sl(o,i),s=r(`${zr}Delay`),l=r(`${zr}Duration`),u=sl(s,l);let f=null,c=0,d=0;t===Sn?a>0&&(f=Sn,c=a,d=i.length):t===zr?u>0&&(f=zr,c=u,d=l.length):(c=Math.max(a,u),f=c>0?a>u?Sn:zr:null,d=f?f===Sn?i.length:l.length:0);const p=f===Sn&&/\b(transform|all)(,|$)/.test(r(`${Sn}Property`).toString());return{type:f,timeout:c,propCount:d,hasTransform:p}}function sl(e,t){for(;e.lengthll(n)+ll(e[r])))}function ll(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ip(){return document.body.offsetHeight}function Dp(e,t,n){const r=e[po];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const di=Symbol("_vod"),hc=Symbol("_vsh"),hi={beforeMount(e,{value:t},{transition:n}){e[di]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):qr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),qr(e,!0),r.enter(e)):r.leave(e,()=>{qr(e,!1)}):qr(e,t))},beforeUnmount(e,{value:t}){qr(e,t)}};function qr(e,t){e.style.display=t?e[di]:"none",e[hc]=!t}const Mp=Symbol(""),Fp=/(^|;)\s*display\s*:/;function Np(e,t,n){const r=e.style,o=rt(n);let i=!1;if(n&&!o){if(t)if(rt(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&ei(r,s,"")}else for(const a in t)n[a]==null&&ei(r,a,"");for(const a in n)a==="display"&&(i=!0),ei(r,a,n[a])}else if(o){if(t!==n){const a=r[Mp];a&&(n+=";"+a),r.cssText=n,i=Fp.test(n)}}else t&&e.removeAttribute("style");di in e&&(e[di]=i?r.display:"",e[hc]&&(r.display="none"))}const ul=/\s*!important$/;function ei(e,t,n){if(le(n))n.forEach(r=>ei(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Hp(e,t);ul.test(n)?e.setProperty(Hn(r),n.replace(ul,""),"important"):e[r]=n}}const cl=["Webkit","Moz","ms"],la={};function Hp(e,t){const n=la[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return la[t]=r;r=Po(r);for(let o=0;oua||(Up.then(()=>ua=0),ua=Date.now());function zp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Gt(qp(r,n.value),t,5,[r])};return n.value=e,n.attached=Wp(),n}function qp(e,t){if(le(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const gl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gp=(e,t,n,r,o,i)=>{const a=o==="svg";t==="class"?Dp(e,r,a):t==="style"?Np(e,n,r):wo(t)?$a(t)||Vp(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yp(e,t,r,a))?($p(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&dl(e,t,r,a,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),dl(e,t,r,a))};function Yp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&gl(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return gl(t)&&rt(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!rt(n)))}const pi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return le(t)?n=>Jo(t,n):t};function Kp(e){e.target.composing=!0}function ml(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kr=Symbol("_assign"),hT={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[kr]=pi(o);const i=r||o.props&&o.props.type==="number";nr(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=ri(s)),e[kr](s)}),n&&nr(e,"change",()=>{e.value=e.value.trim()}),t||(nr(e,"compositionstart",Kp),nr(e,"compositionend",ml),nr(e,"change",ml))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){if(e[kr]=pi(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?ri(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},Qp={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=_i(t);nr(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?ri(gi(a)):gi(a));e[kr](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,pr(()=>{e._assigning=!1})}),e[kr]=pi(r)},mounted(e,{value:t,modifiers:{number:n}}){vl(e,t)},beforeUpdate(e,t,n){e[kr]=pi(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||vl(e,t)}};function vl(e,t,n){const r=e.multiple,o=le(t);if(!(r&&!o&&!_i(t))){for(let i=0,a=e.options.length;iString(f)===String(l)):s.selected=Rd(t,l)>-1}else s.selected=t.has(l);else if(Ti(gi(s),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function gi(e){return"_value"in e?e._value:e.value}const Xp=["ctrl","shift","alt","meta"],Jp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Xp.some(n=>e[`${n}Key`]&&!t.includes(n))},Fn=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Hn(o.key);if(t.some(a=>a===i||Zp[a]===i))return e(o)})},eg=ut({patchProp:Gp},Sp);let ca,bl=!1;function tg(){return ca=bl?ca:Qh(eg),bl=!0,ca}const ng=(...e)=>{const t=tg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=og(r);if(o)return n(o,!0,rg(o))},t};function rg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function og(e){return rt(e)?document.querySelector(e):e}var Oo=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),ig=/.md((\?|#).*)?$/,ag=(e,t="/")=>Oo(e)||e.startsWith("/")&&!e.startsWith(t)&&!ig.test(e),Fi=e=>/^(https?:)?\/\//.test(e),yl=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=t.substring(0,t.length-3)+".html":t.endsWith(".html")||(t=t+".html"),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},sg="http://.",lg=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return yl(new URL(`${n}/${e}`,sg).pathname)}return yl(e)},ug=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const i=o.split("/").length-r.split("/").length;return i!==0?i:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},cg=/(#|\?)/,pc=e=>{const[t,...n]=e.split(cg);return{pathname:t,hashAndQueries:n.join("")}},fg=["link","meta","script","style","noscript","template"],dg=["title","base"],hg=([e,t,n])=>dg.includes(e)?e:fg.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,pg=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=hg(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},gg=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,gc=e=>e[e.length-1]==="/"?e.slice(0,-1):e,mc=e=>e[0]==="/"?e.slice(1):e,os=e=>Object.prototype.toString.call(e)==="[object Object]",Wt=e=>typeof e=="string";const mg="modulepreload",vg=function(e){return"/vue-good-table-next/"+e},wl={},Te=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(s=>{if(s=vg(s),s in wl)return;wl[s]=!0;const l=s.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${u}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":mg,l||(f.as="script"),f.crossOrigin="",f.href=s,a&&f.setAttribute("nonce",a),document.head.appendChild(f),l)return new Promise((c,d)=>{f.addEventListener("load",c),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},bg=JSON.parse("{}"),yg=Object.fromEntries([["/",{loader:()=>Te(()=>import("./index.html-D0uuLz6G.js"),[]),meta:{title:""}}],["/guide/",{loader:()=>Te(()=>import("./index.html-CeAro-yX.js"),[]),meta:{title:"Getting Started"}}],["/guide/advanced/",{loader:()=>Te(()=>import("./index.html-B9WRxgYq.js"),[]),meta:{title:"Customizations"}}],["/guide/advanced/checkbox-table.html",{loader:()=>Te(()=>import("./checkbox-table.html-CPfB2W_o.js"),[]),meta:{title:"Checkbox Table"}}],["/guide/advanced/grouped-table.html",{loader:()=>Te(()=>import("./grouped-table.html-2QFg8SLo.js"),[]),meta:{title:"Grouped Table"}}],["/guide/advanced/remote-workflow.html",{loader:()=>Te(()=>import("./remote-workflow.html-CAuSw68r.js"),[]),meta:{title:"Server Side Table"}}],["/guide/advanced/row-details-table.html",{loader:()=>Te(()=>import("./row-details-table.html-DQZqMzfp.js"),[]),meta:{title:"Row Details Table"}}],["/guide/configuration/",{loader:()=>Te(()=>import("./index.html-ClzZSixM.js"),[]),meta:{title:"Table Options"}}],["/guide/configuration/column-filter-options.html",{loader:()=>Te(()=>import("./column-filter-options.html-B1--ecSG.js"),[]),meta:{title:"Column Filter Options"}}],["/guide/configuration/column-options.html",{loader:()=>Te(()=>import("./column-options.html-DuCvuuoG.js"),[]),meta:{title:"Column Options"}}],["/guide/configuration/pagination-options.html",{loader:()=>Te(()=>import("./pagination-options.html-DHpaX1Yj.js"),[]),meta:{title:"Pagination Options"}}],["/guide/configuration/search-options.html",{loader:()=>Te(()=>import("./search-options.html-Q4TEZdHi.js"),[]),meta:{title:"Search Options"}}],["/guide/configuration/sort-options.html",{loader:()=>Te(()=>import("./sort-options.html-CY-f0lCD.js"),[]),meta:{title:"Sort Options"}}],["/guide/configuration/table-events.html",{loader:()=>Te(()=>import("./table-events.html-BrtV-OVl.js"),[]),meta:{title:"Table Events"}}],["/guide/style-configuration/",{loader:()=>Te(()=>import("./index.html-Y4vdaS99.js"),[]),meta:{title:"Themes"}}],["/guide/style-configuration/sass.html",{loader:()=>Te(()=>import("./sass.html-BB1CH5EO.js"),[]),meta:{title:"Sass"}}],["/guide/style-configuration/style-classes.html",{loader:()=>Te(()=>import("./style-classes.html-Bo6ojF8_.js"),[]),meta:{title:"Style Classes"}}],["/404.html",{loader:()=>Te(()=>import("./404.html-BZ3R16XH.js"),[]),meta:{title:""}}]]);/*! + * vue-router v4.4.4 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const _r=typeof document<"u";function vc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&vc(e.default)}const je=Object.assign;function fa(e,t){const n={};for(const r in t){const o=t[r];n[r]=Yt(o)?o.map(e):e(o)}return n}const ro=()=>{},Yt=Array.isArray,bc=/#/g,_g=/&/g,Pg=/\//g,Tg=/=/g,Cg=/\?/g,yc=/\+/g,xg=/%5B/g,Sg=/%5D/g,wc=/%5E/g,Eg=/%60/g,_c=/%7B/g,kg=/%7C/g,Pc=/%7D/g,Og=/%20/g;function is(e){return encodeURI(""+e).replace(kg,"|").replace(xg,"[").replace(Sg,"]")}function Rg(e){return is(e).replace(_c,"{").replace(Pc,"}").replace(wc,"^")}function Ra(e){return is(e).replace(yc,"%2B").replace(Og,"+").replace(bc,"%23").replace(_g,"%26").replace(Eg,"`").replace(_c,"{").replace(Pc,"}").replace(wc,"^")}function Ag(e){return Ra(e).replace(Tg,"%3D")}function Lg(e){return is(e).replace(bc,"%23").replace(Cg,"%3F")}function Ig(e){return e==null?"":Lg(e).replace(Pg,"%2F")}function go(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Dg=/\/$/,Mg=e=>e.replace(Dg,"");function da(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=$g(r??t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:go(a)}}function Fg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function _l(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ng(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Lr(t.matched[r],n.matched[o])&&Tc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Lr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Tc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hg(e[n],t[n]))return!1;return!0}function Hg(e,t){return Yt(e)?Pl(e,t):Yt(t)?Pl(t,e):e===t}function Pl(e,t){return Yt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function $g(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a).join("/")}const hn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mo;(function(e){e.pop="pop",e.push="push"})(mo||(mo={}));var oo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(oo||(oo={}));function jg(e){if(!e)if(_r){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Mg(e)}const Vg=/^[^#]+#/;function Bg(e,t){return e.replace(Vg,"#")+t}function Ug(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ni=()=>({left:window.scrollX,top:window.scrollY});function Wg(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ug(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Tl(e,t){return(history.state?history.state.position-t:-1)+e}const Aa=new Map;function zg(e,t){Aa.set(e,t)}function qg(e){const t=Aa.get(e);return Aa.delete(e),t}let Gg=()=>location.protocol+"//"+location.host;function Cc(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),_l(l,"")}return _l(n,e)+r+o}function Yg(e,t,n,r){let o=[],i=[],a=null;const s=({state:d})=>{const p=Cc(e,location),b=n.value,_=t.value;let E=0;if(d){if(n.value=p,t.value=d,a&&a===b){a=null;return}E=_?d.position-_.position:0}else r(p);o.forEach(L=>{L(n.value,b,{delta:E,type:mo.pop,direction:E?E>0?oo.forward:oo.back:oo.unknown})})};function l(){a=n.value}function u(d){o.push(d);const p=()=>{const b=o.indexOf(d);b>-1&&o.splice(b,1)};return i.push(p),p}function f(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:Ni()}),"")}function c(){for(const d of i)d();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:u,destroy:c}}function Cl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ni():null}}function Kg(e){const{history:t,location:n}=window,r={value:Cc(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,f){const c=e.indexOf("#"),d=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+l:Gg()+e+l;try{t[f?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[f?"replace":"assign"](d)}}function a(l,u){const f=je({},t.state,Cl(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,f,!0),r.value=l}function s(l,u){const f=je({},o.value,t.state,{forward:l,scroll:Ni()});i(f.current,f,!0);const c=je({},Cl(r.value,l,null),{position:f.position+1},u);i(l,c,!1),r.value=l}return{location:r,state:o,push:s,replace:a}}function Qg(e){e=jg(e);const t=Kg(e),n=Yg(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=je({location:"",base:e,go:r,createHref:Bg.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Xg(e){return typeof e=="string"||e&&typeof e=="object"}function xc(e){return typeof e=="string"||typeof e=="symbol"}const Sc=Symbol("");var xl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(xl||(xl={}));function Ir(e,t){return je(new Error,{type:e,[Sc]:!0},t)}function fn(e,t){return e instanceof Error&&Sc in e&&(t==null||!!(e.type&t))}const Sl="[^/]+?",Jg={sensitive:!1,strict:!1,start:!0,end:!0},Zg=/[.+*?^${}()[\]/\\]/g;function em(e,t){const n=je({},Jg,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let c=0;ct.length?t.length===1&&t[0]===80?1:-1:0}function Ec(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const nm={type:0,value:""},rm=/[a-zA-Z0-9_]/;function om(e){if(!e)return[[]];if(e==="/")return[[nm]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,l,u="",f="";function c(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;s{a(m)}:ro}function a(c){if(xc(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function s(){return n}function l(c){const d=cm(c,n);n.splice(d,0,c),c.record.name&&!Ol(c)&&r.set(c.record.name,c)}function u(c,d){let p,b={},_,E;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw Ir(1,{location:c});E=p.record.name,b=je(kl(d.params,p.keys.filter(m=>!m.optional).concat(p.parent?p.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),c.params&&kl(c.params,p.keys.map(m=>m.name))),_=p.stringify(b)}else if(c.path!=null)_=c.path,p=n.find(m=>m.re.test(_)),p&&(b=p.parse(_),E=p.record.name);else{if(p=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!p)throw Ir(1,{location:c,currentLocation:d});E=p.record.name,b=je({},d.params,c.params),_=p.stringify(b)}const L=[];let C=p;for(;C;)L.unshift(C.record),C=C.parent;return{name:E,path:_,params:b,matched:L,meta:um(L)}}e.forEach(c=>i(c));function f(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:a,clearRoutes:f,getRoutes:s,getRecordMatcher:o}}function kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function sm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:lm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function lm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ol(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function um(e){return e.reduce((t,n)=>je(t,n.meta),{})}function Rl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function cm(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Ec(e,t[i])<0?r=i:n=i+1}const o=fm(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function fm(e){let t=e;for(;t=t.parent;)if(kc(t)&&Ec(e,t)===0)return t}function kc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function dm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Ra(i)):[r&&Ra(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function hm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Yt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const pm=Symbol(""),Ll=Symbol(""),Hi=Symbol(""),as=Symbol(""),La=Symbol("");function Gr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ln(e,t,n,r,o,i=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const u=d=>{d===!1?l(Ir(4,{from:n,to:t})):d instanceof Error?l(d):Xg(d)?l(Ir(2,{from:t,to:d})):(a&&r.enterCallbacks[o]===a&&typeof d=="function"&&a.push(d),s())},f=i(()=>e.call(r&&r.instances[o],t,n,u));let c=Promise.resolve(f);e.length<3&&(c=c.then(u)),c.catch(d=>l(d))})}function ha(e,t,n,r,o=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(vc(l)){const f=(l.__vccOpts||l)[t];f&&i.push(Ln(f,n,r,a,s,o))}else{let u=l();i.push(()=>u.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const c=wg(f)?f.default:f;a.mods[s]=f,a.components[s]=c;const p=(c.__vccOpts||c)[t];return p&&Ln(p,n,r,a,s,o)()}))}}return i}function Il(e){const t=Rt(Hi),n=Rt(as),r=U(()=>{const l=ar(e.to);return t.resolve(l)}),o=U(()=>{const{matched:l}=r.value,{length:u}=l,f=l[u-1],c=n.matched;if(!f||!c.length)return-1;const d=c.findIndex(Lr.bind(null,f));if(d>-1)return d;const p=Dl(l[u-2]);return u>1&&Dl(f)===p&&c[c.length-1].path!==p?c.findIndex(Lr.bind(null,l[u-2])):d}),i=U(()=>o.value>-1&&bm(n.params,r.value.params)),a=U(()=>o.value>-1&&o.value===n.matched.length-1&&Tc(n.params,r.value.params));function s(l={}){return vm(l)?t[ar(e.replace)?"replace":"push"](ar(e.to)).catch(ro):Promise.resolve()}return{route:r,href:U(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const gm=Le({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Il,setup(e,{slots:t}){const n=To(Il(e)),{options:r}=Rt(Hi),o=U(()=>({[Ml(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ml(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Ae("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),mm=gm;function vm(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bm(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Yt(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function Dl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ml=(e,t,n)=>e??t??n,ym=Le({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Rt(La),o=U(()=>e.route||r.value),i=Rt(Ll,0),a=U(()=>{let u=ar(i);const{matched:f}=o.value;let c;for(;(c=f[u])&&!c.components;)u++;return u}),s=U(()=>o.value.matched[a.value]);lr(Ll,U(()=>a.value+1)),lr(pm,s),lr(La,o);const l=we();return pt(()=>[l.value,s.value,e.name],([u,f,c],[d,p,b])=>{f&&(f.instances[c]=u,p&&p!==f&&u&&u===d&&(f.leaveGuards.size||(f.leaveGuards=p.leaveGuards),f.updateGuards.size||(f.updateGuards=p.updateGuards))),u&&f&&(!p||!Lr(f,p)||!d)&&(f.enterCallbacks[c]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=o.value,f=e.name,c=s.value,d=c&&c.components[f];if(!d)return Fl(n.default,{Component:d,route:u});const p=c.props[f],b=p?p===!0?u.params:typeof p=="function"?p(u):p:null,E=Ae(d,je({},b,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(c.instances[f]=null)},ref:l}));return Fl(n.default,{Component:E,route:u})||E}}});function Fl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wm=ym;function _m(e){const t=am(e.routes,e),n=e.parseQuery||dm,r=e.stringifyQuery||Al,o=e.history,i=Gr(),a=Gr(),s=Gr(),l=Dn(hn);let u=hn;_r&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=fa.bind(null,O=>""+O),c=fa.bind(null,Ig),d=fa.bind(null,go);function p(O,W){let Y,ee;return xc(O)?(Y=t.getRecordMatcher(O),ee=W):ee=O,t.addRoute(ee,Y)}function b(O){const W=t.getRecordMatcher(O);W&&t.removeRoute(W)}function _(){return t.getRoutes().map(O=>O.record)}function E(O){return!!t.getRecordMatcher(O)}function L(O,W){if(W=je({},W||l.value),typeof O=="string"){const v=da(n,O,W.path),P=t.resolve({path:v.path},W),D=o.createHref(v.fullPath);return je(v,P,{params:d(P.params),hash:go(v.hash),redirectedFrom:void 0,href:D})}let Y;if(O.path!=null)Y=je({},O,{path:da(n,O.path,W.path).path});else{const v=je({},O.params);for(const P in v)v[P]==null&&delete v[P];Y=je({},O,{params:c(v)}),W.params=c(W.params)}const ee=t.resolve(Y,W),be=O.hash||"";ee.params=f(d(ee.params));const ke=Fg(r,je({},O,{hash:Rg(be),path:ee.path})),g=o.createHref(ke);return je({fullPath:ke,hash:be,query:r===Al?hm(O.query):O.query||{}},ee,{redirectedFrom:void 0,href:g})}function C(O){return typeof O=="string"?da(n,O,l.value.path):je({},O)}function m(O,W){if(u!==O)return Ir(8,{from:W,to:O})}function w(O){return N(O)}function M(O){return w(je(C(O),{replace:!0}))}function q(O){const W=O.matched[O.matched.length-1];if(W&&W.redirect){const{redirect:Y}=W;let ee=typeof Y=="function"?Y(O):Y;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=C(ee):{path:ee},ee.params={}),je({query:O.query,hash:O.hash,params:ee.path!=null?{}:O.params},ee)}}function N(O,W){const Y=u=L(O),ee=l.value,be=O.state,ke=O.force,g=O.replace===!0,v=q(Y);if(v)return N(je(C(v),{state:typeof v=="object"?je({},be,v.state):be,force:ke,replace:g}),W||Y);const P=Y;P.redirectedFrom=W;let D;return!ke&&Ng(r,ee,Y)&&(D=Ir(16,{to:P,from:ee}),it(ee,ee,!0,!1)),(D?Promise.resolve(D):k(P,ee)).catch(A=>fn(A)?fn(A,2)?A:qe(A):X(A,P,ee)).then(A=>{if(A){if(fn(A,2))return N(je({replace:g},C(A.to),{state:typeof A.to=="object"?je({},be,A.to.state):be,force:ke}),W||P)}else A=T(P,ee,!0,g,be);return H(P,ee,A),A})}function S(O,W){const Y=m(O,W);return Y?Promise.reject(Y):Promise.resolve()}function G(O){const W=He.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext(O):O()}function k(O,W){let Y;const[ee,be,ke]=Pm(O,W);Y=ha(ee.reverse(),"beforeRouteLeave",O,W);for(const v of ee)v.leaveGuards.forEach(P=>{Y.push(Ln(P,O,W))});const g=S.bind(null,O,W);return Y.push(g),Me(Y).then(()=>{Y=[];for(const v of i.list())Y.push(Ln(v,O,W));return Y.push(g),Me(Y)}).then(()=>{Y=ha(be,"beforeRouteUpdate",O,W);for(const v of be)v.updateGuards.forEach(P=>{Y.push(Ln(P,O,W))});return Y.push(g),Me(Y)}).then(()=>{Y=[];for(const v of ke)if(v.beforeEnter)if(Yt(v.beforeEnter))for(const P of v.beforeEnter)Y.push(Ln(P,O,W));else Y.push(Ln(v.beforeEnter,O,W));return Y.push(g),Me(Y)}).then(()=>(O.matched.forEach(v=>v.enterCallbacks={}),Y=ha(ke,"beforeRouteEnter",O,W,G),Y.push(g),Me(Y))).then(()=>{Y=[];for(const v of a.list())Y.push(Ln(v,O,W));return Y.push(g),Me(Y)}).catch(v=>fn(v,8)?v:Promise.reject(v))}function H(O,W,Y){s.list().forEach(ee=>G(()=>ee(O,W,Y)))}function T(O,W,Y,ee,be){const ke=m(O,W);if(ke)return ke;const g=W===hn,v=_r?history.state:{};Y&&(ee||g?o.replace(O.fullPath,je({scroll:g&&v&&v.scroll},be)):o.push(O.fullPath,be)),l.value=O,it(O,W,Y,g),qe()}let $;function se(){$||($=o.listen((O,W,Y)=>{if(!re.listening)return;const ee=L(O),be=q(ee);if(be){N(je(be,{replace:!0}),ee).catch(ro);return}u=ee;const ke=l.value;_r&&zg(Tl(ke.fullPath,Y.delta),Ni()),k(ee,ke).catch(g=>fn(g,12)?g:fn(g,2)?(N(g.to,ee).then(v=>{fn(v,20)&&!Y.delta&&Y.type===mo.pop&&o.go(-1,!1)}).catch(ro),Promise.reject()):(Y.delta&&o.go(-Y.delta,!1),X(g,ee,ke))).then(g=>{g=g||T(ee,ke,!1),g&&(Y.delta&&!fn(g,8)?o.go(-Y.delta,!1):Y.type===mo.pop&&fn(g,20)&&o.go(-1,!1)),H(ee,ke,g)}).catch(ro)}))}let fe=Gr(),j=Gr(),oe;function X(O,W,Y){qe(O);const ee=j.list();return ee.length?ee.forEach(be=>be(O,W,Y)):console.error(O),Promise.reject(O)}function Re(){return oe&&l.value!==hn?Promise.resolve():new Promise((O,W)=>{fe.add([O,W])})}function qe(O){return oe||(oe=!O,se(),fe.list().forEach(([W,Y])=>O?Y(O):W()),fe.reset()),O}function it(O,W,Y,ee){const{scrollBehavior:be}=e;if(!_r||!be)return Promise.resolve();const ke=!Y&&qg(Tl(O.fullPath,0))||(ee||!Y)&&history.state&&history.state.scroll||null;return pr().then(()=>be(O,W,ke)).then(g=>g&&Wg(g)).catch(g=>X(g,O,W))}const et=O=>o.go(O);let xt;const He=new Set,re={currentRoute:l,listening:!0,addRoute:p,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:_,resolve:L,options:e,push:w,replace:M,go:et,back:()=>et(-1),forward:()=>et(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:j.add,isReady:Re,install(O){const W=this;O.component("RouterLink",mm),O.component("RouterView",wm),O.config.globalProperties.$router=W,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ar(l)}),_r&&!xt&&l.value===hn&&(xt=!0,w(o.location).catch(be=>{}));const Y={};for(const be in hn)Object.defineProperty(Y,be,{get:()=>l.value[be],enumerable:!0});O.provide(Hi,W),O.provide(as,Su(Y)),O.provide(La,l);const ee=O.unmount;He.add(O),O.unmount=function(){He.delete(O),He.size<1&&(u=hn,$&&$(),$=null,l.value=hn,xt=!1,oe=!1),ee()}}};function Me(O){return O.reduce((W,Y)=>W.then(()=>G(Y)),Promise.resolve())}return re}function Pm(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aLr(u,s))?r.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>Lr(u,l))||o.push(l))}return[n,r,o]}function Vn(){return Rt(Hi)}function wn(e){return Rt(as)}var ss=Symbol(""),an=()=>{const e=Rt(ss);if(!e)throw new Error("useClientData() is called without provider.");return e},Tm=()=>an().pageComponent,Fr=()=>an().pageData,Xt=()=>an().pageFrontmatter,Cm=()=>an().pageHead,xm=()=>an().pageLang,Sm=()=>an().pageLayout,Nr=()=>an().routeLocale,Em=()=>an().routes,Oc=()=>an().siteData,ls=()=>an().siteLocaleData,km=Symbol(""),Ia=Dn(bg),Or=Dn(yg),Rc=(e,t)=>{const n=lg(e,t);if(Or.value[n])return n;const r=encodeURI(n);if(Or.value[r])return r;const o=Ia.value[n]||Ia.value[r];return o||n},vo=(e,t)=>{const{pathname:n,hashAndQueries:r}=pc(e),o=Rc(n,t),i=o+r;return Or.value[o]?{...Or.value[o],path:i,notFound:!1}:{...Or.value["/404.html"],path:i,notFound:!0}},Om=(e,t)=>{const{pathname:n,hashAndQueries:r}=pc(e);return Rc(n,t)+r},Rm=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},$i=Le({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=Vn(),r=wn(),o=U(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/vue-good-table-next/${Om(e.to,r.path).substring(1)}`);return()=>{var i;return Ae("a",{class:["route-link",{[e.activeClass]:e.active}],href:o.value,onClick:(a={})=>{Rm(a)&&n.push(e.to).catch()}},(i=t.default)==null?void 0:i.call(t))}}}),Hr=Le({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=sh(e,"config"),r=wn(),o=Oc(),i=U(()=>Oo(n.value.link)),a=U(()=>n.value.target||(i.value?"_blank":void 0)),s=U(()=>a.value==="_blank"),l=U(()=>!i.value&&!s.value),u=U(()=>n.value.rel||(s.value?"noopener noreferrer":null)),f=U(()=>n.value.ariaLabel??n.value.text),c=U(()=>{if(n.value.exact)return!1;const p=Object.keys(o.value.locales);return p.length?p.every(b=>b!==n.value.link):n.value.link!=="/"}),d=U(()=>l.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(r.path):c.value?r.path.startsWith(n.value.link):r.path===n.value.link:!1);return()=>{const{before:p,after:b,default:_}=t,E=(_==null?void 0:_(n.value))||[p==null?void 0:p(n.value),n.value.text,b==null?void 0:b(n.value)];return l.value?Ae($i,{class:"auto-link",to:n.value.link,active:d.value,"aria-label":f.value},()=>E):Ae("a",{class:"auto-link external-link",href:n.value.link,"aria-label":f.value,rel:u.value,target:a.value},E)}}}),us=Le({name:"ClientOnly",setup(e,t){const n=we(!1);return Ct(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),cs=Le({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Tm(),n=U(()=>{if(!e.path)return t.value;const r=vo(e.path);return vt(()=>r.loader().then(({comp:o})=>o))});return()=>Ae(n.value)}}),Am="Layout",Lm="en-US",Xn=To({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Wt(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return pg(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||Lm,resolvePageLayout:(e,t)=>{const n=Wt(e.frontmatter.layout)?e.frontmatter.layout:Am;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>ug(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},r)=>{var o;return{...n,...t[r],head:[...((o=t[r])==null?void 0:o.head)??[],...n.head??[]]}}}),sn=(e={})=>e,fs=e=>Fi(e)?e:`/vue-good-table-next/${mc(e)}`;function ji(e){return du()?(Ld(e),!0):!1}function Kt(e){return typeof e=="function"?e():ar(e)}const ds=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Im=Object.prototype.toString,Dm=e=>Im.call(e)==="[object Object]",Da=()=>{};function Ac(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Lc=e=>e();function Mm(e,t={}){let n,r,o=Da;const i=s=>{clearTimeout(s),o(),o=Da};return s=>{const l=Kt(e),u=Kt(t.maxWait);return n&&i(n),l<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((f,c)=>{o=t.rejectOnCancel?c:f,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,f(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,f(s())},l)})}}function Fm(e=Lc){const t=we(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:Ei(t),pause:n,resume:r,eventFilter:o}}function Nm(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Hm(e){return Ii()}function $m(e,t=200,n={}){return Ac(Mm(t,n),e)}function jm(e,t,n={}){const{eventFilter:r=Lc,...o}=n;return pt(e,Ac(r,t),o)}function Vm(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=Fm(r);return{stop:jm(e,t,{...o,eventFilter:i}),pause:a,resume:s,isActive:l}}function hs(e,t=!0,n){Hm()?Ct(e,n):t?e():pr(e)}function Bm(e,t,n={}){const{immediate:r=!0}=n,o=we(!1);let i=null;function a(){i&&(clearTimeout(i),i=null)}function s(){o.value=!1,a()}function l(...u){a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...u)},Kt(t))}return r&&(o.value=!0,ds&&l()),ji(s),{isPending:Ei(o),start:l,stop:s}}function Um(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=lt(e),i=we(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Kt(n);return i.value=i.value===l?Kt(r):l,i.value}}return o?a:[i,a]}function rr(e){var t;const n=Kt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Nn=ds?window:void 0,Ic=ds?window.navigator:void 0;function Qt(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Nn):[t,n,r,o]=e,!t)return Da;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(f=>f()),i.length=0},s=(f,c,d,p)=>(f.addEventListener(c,d,p),()=>f.removeEventListener(c,d,p)),l=pt(()=>[rr(t),Kt(o)],([f,c])=>{if(a(),!f)return;const d=Dm(c)?{...c}:c;i.push(...n.flatMap(p=>r.map(b=>s(f,p,b,d))))},{immediate:!0,flush:"post"}),u=()=>{l(),a()};return ji(u),u}function Wm(){const e=we(!1),t=Ii();return t&&Ct(()=>{e.value=!0},t),e}function Vi(e){const t=Wm();return U(()=>(t.value,!!e()))}function ps(e,t={}){const{window:n=Nn}=t,r=Vi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=we(!1),a=u=>{i.value=u.matches},s=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))},l=tp(()=>{r.value&&(s(),o=n.matchMedia(Kt(e)),"addEventListener"in o?o.addEventListener("change",a):o.addListener(a),i.value=o.matches)});return ji(()=>{l(),s(),o=void 0}),i}function Nl(e,t={}){const{controls:n=!1,navigator:r=Ic}=t,o=Vi(()=>r&&"permissions"in r),i=Dn(),a=typeof e=="string"?{name:e}:e,s=Dn(),l=()=>{var f,c;s.value=(c=(f=i.value)==null?void 0:f.state)!=null?c:"prompt"};Qt(i,"change",l);const u=Nm(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(a)}catch{i.value=void 0}finally{l()}if(n)return xe(i.value)}});return u(),n?{state:s,isSupported:o,query:u}:s}function zm(e={}){const{navigator:t=Ic,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,a=Vi(()=>t&&"clipboard"in t),s=Nl("clipboard-read"),l=Nl("clipboard-write"),u=U(()=>a.value||i),f=we(""),c=we(!1),d=Bm(()=>c.value=!1,o);function p(){a.value&&L(s.value)?t.clipboard.readText().then(C=>{f.value=C}):f.value=E()}u.value&&n&&Qt(["copy","cut"],p);async function b(C=Kt(r)){u.value&&C!=null&&(a.value&&L(l.value)?await t.clipboard.writeText(C):_(C),f.value=C,c.value=!0,d.start())}function _(C){const m=document.createElement("textarea");m.value=C??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function E(){var C,m,w;return(w=(m=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:m.toString())!=null?w:""}function L(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:f,copied:c,copy:b}}const qo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Go="__vueuse_ssr_handlers__",qm=Gm();function Gm(){return Go in qo||(qo[Go]=qo[Go]||{}),qo[Go]}function Ym(e,t){return qm[e]||t}function Km(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Qm={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hl="vueuse-storage";function Dc(e,t,n,r={}){var o;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:f,window:c=Nn,eventFilter:d,onError:p=k=>{console.error(k)},initOnMounted:b}=r,_=(f?Dn:we)(typeof t=="function"?t():t);if(!n)try{n=Ym("getDefaultStorage",()=>{var k;return(k=Nn)==null?void 0:k.localStorage})()}catch(k){p(k)}if(!n)return _;const E=Kt(t),L=Km(E),C=(o=r.serializer)!=null?o:Qm[L],{pause:m,resume:w}=Vm(_,()=>q(_.value),{flush:i,deep:a,eventFilter:d});c&&s&&hs(()=>{n instanceof Storage?Qt(c,"storage",S):Qt(c,Hl,G),b&&S()}),b||S();function M(k,H){if(c){const T={key:e,oldValue:k,newValue:H,storageArea:n};c.dispatchEvent(n instanceof Storage?new StorageEvent("storage",T):new CustomEvent(Hl,{detail:T}))}}function q(k){try{const H=n.getItem(e);if(k==null)M(H,null),n.removeItem(e);else{const T=C.write(k);H!==T&&(n.setItem(e,T),M(H,T))}}catch(H){p(H)}}function N(k){const H=k?k.newValue:n.getItem(e);if(H==null)return l&&E!=null&&n.setItem(e,C.write(E)),E;if(!k&&u){const T=C.read(H);return typeof u=="function"?u(T,E):L==="object"&&!Array.isArray(T)?{...E,...T}:T}else return typeof H!="string"?H:C.read(H)}function S(k){if(!(k&&k.storageArea!==n)){if(k&&k.key==null){_.value=E;return}if(!(k&&k.key!==e)){m();try{(k==null?void 0:k.newValue)!==C.write(_.value)&&(_.value=N(k))}catch(H){p(H)}finally{k?pr(w):w()}}}}function G(k){S(k.detail)}return _}function Xm(e){return ps("(prefers-color-scheme: dark)",e)}function Jm(e,t,n={}){const{window:r=Nn,...o}=n;let i;const a=Vi(()=>r&&"ResizeObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},l=U(()=>{const c=Kt(e);return Array.isArray(c)?c.map(d=>rr(d)):[rr(c)]}),u=pt(l,c=>{if(s(),a.value&&r){i=new ResizeObserver(t);for(const d of c)d&&i.observe(d,o)}},{immediate:!0,flush:"post"}),f=()=>{s(),u()};return ji(f),{isSupported:a,stop:f}}function Zm(e,t={width:0,height:0},n={}){const{window:r=Nn,box:o="content-box"}=n,i=U(()=>{var c,d;return(d=(c=rr(e))==null?void 0:c.namespaceURI)==null?void 0:d.includes("svg")}),a=we(t.width),s=we(t.height),{stop:l}=Jm(e,([c])=>{const d=o==="border-box"?c.borderBoxSize:o==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(r&&i.value){const p=rr(e);if(p){const b=p.getBoundingClientRect();a.value=b.width,s.value=b.height}}else if(d){const p=Array.isArray(d)?d:[d];a.value=p.reduce((b,{inlineSize:_})=>b+_,0),s.value=p.reduce((b,{blockSize:_})=>b+_,0)}else a.value=c.contentRect.width,s.value=c.contentRect.height},n);hs(()=>{const c=rr(e);c&&(a.value="offsetWidth"in c?c.offsetWidth:t.width,s.value="offsetHeight"in c?c.offsetHeight:t.height)});const u=pt(()=>rr(e),c=>{a.value=c?t.width:0,s.value=c?t.height:0});function f(){l(),u()}return{width:a,height:s,stop:f}}function ev(e={}){const{window:t=Nn,behavior:n="auto"}=e;if(!t)return{x:we(0),y:we(0)};const r=we(t.scrollX),o=we(t.scrollY),i=U({get(){return r.value},set(s){scrollTo({left:s,behavior:n})}}),a=U({get(){return o.value},set(s){scrollTo({top:s,behavior:n})}});return Qt(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:a}}function tv(e={}){const{window:t=Nn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:a="inner"}=e,s=we(n),l=we(r),u=()=>{t&&(a==="outer"?(s.value=t.outerWidth,l.value=t.outerHeight):i?(s.value=t.innerWidth,l.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(u(),hs(u),Qt("resize",u,{passive:!0}),o){const f=ps("(orientation: portrait)");pt(f,()=>u())}return{width:s,height:l}}const $l=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},nv=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Vn();Qt("scroll",$m(()=>{var b,_;const a=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(a-0)c.some(L=>L.hash===E.hash));for(let E=0;E=(((b=L.parentElement)==null?void 0:b.offsetTop)??0)-r,w=!C||a<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(m&&w))continue;const q=decodeURIComponent(o.currentRoute.value.hash),N=decodeURIComponent(L.hash);if(q===N)return;if(f){for(let S=E+1;S{const t=Nr();return U(()=>e[t.value]??{})},uv=()=>{const e=Em();return U(()=>Object.keys(e.value))},pa=(e,t)=>{var r;const n=(r=Ii())==null?void 0:r.appContext.components;return n?e in n||Nt(e)in n||Po(Nt(e))in n:!1},Fc=e=>new Promise(t=>{setTimeout(t,e)}),cv=(e,t=2)=>{if(t===!1)return[];const[n,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t,o=e.filter(a=>a.level>=n&&a.level<=r),i=[];e:for(let a=0;a=0;l--){const u=o[l];if(u.level{let n;if(t.length){const r=e.cloneNode(!0);r.querySelectorAll(t.join(",")).forEach(o=>{o.remove()}),n=r.textContent||""}else n=e.textContent||"";return n.trim()},dv=({selector:e=[...new Array(6)].map((r,o)=>`[vp-content] h${o+1}`).join(","),levels:t=2,ignore:n=[]}={})=>{const r=Array.from(document.querySelectorAll(e)).filter(o=>o.id&&o.hasChildNodes()).map(o=>{const i=Number(o.tagName[1]);return{element:o,title:fv(o,n),link:`#${o.id}`,slug:o.id,level:i}});return cv(r,t)},hv=e=>typeof e<"u",Nc=(e,t)=>Wt(e)&&e.startsWith(t),{keys:pv}=Object,Hc=e=>Nc(e,"/");var gv={"/":{backToTop:"Back to top"}};const mv=Le({name:"BackToTop",setup(){const e=Xt(),t=Mc(gv),n=Dn(),{height:r}=Zm(n),{height:o}=tv(),{y:i}=ev(),a=U(()=>e.value.backToTop!==!1&&i.value>100),s=U(()=>i.value/(r.value-o.value)*100);return Ct(()=>{n.value=document.body}),()=>Ae(rs,{name:"back-to-top"},()=>a.value?Ae("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[Ae("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":s.value},Ae("svg",Ae("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*s.value*.48} ${Math.PI*(100-s.value)*.48}`}))),Ae("div",{class:"back-to-top-icon"})]):null)}}),vv=sn({rootComponents:[mv]}),bv=Object.freeze(Object.defineProperty({__proto__:null,default:vv},Symbol.toStringTag,{value:"Module"})),yv=/language-(shellscript|shell|bash|sh|zsh)/,wv=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o,ignoreSelector:i=[],transform:a})=>{const s=ps("(max-width: 419px)"),l=U(()=>!s.value||o),u=Mc(n),f=Fr(),c=E=>{var C;if(E.hasAttribute("copy-code"))return;const L=document.createElement("button");L.type="button",L.classList.add("vp-copy-code-button"),L.setAttribute("aria-label",u.value.copy),L.setAttribute("data-copied",u.value.copied),(C=E.parentElement)==null||C.insertBefore(L,E),E.setAttribute("copy-code","")};pt(()=>[f.value.path,l.value],async()=>{document.body.classList.toggle("no-copy-code",!l.value),l.value&&(await pr(),await Fc(e),document.querySelectorAll(r.join(",")).forEach(c))},{immediate:!0});const{copy:p}=zm({legacy:!0}),b=new WeakMap,_=async(E,L,C)=>{const m=L.cloneNode(!0);i.length&&m.querySelectorAll(i.join(",")).forEach(q=>{q.remove()}),a&&a(m);let w=m.textContent||"";if(yv.test(E.className)&&(w=w.replace(/^ *(\$|>) /gm,"")),await p(w),t<=0)return;C.classList.add("copied"),clearTimeout(b.get(C));const M=setTimeout(()=>{C.classList.remove("copied"),C.blur(),b.delete(C)},t);b.set(C,M)};Qt("click",E=>{const L=E.target;if(l.value&&L.matches('div[class*="language-"] > button.vp-copy-code-button')){const C=L.parentElement,m=L.nextElementSibling;if(!C||!m)return;_(C,m,L)}})};var _v=[],Pv={"/":{copy:"Copy code",copied:"Copied"}},Tv=['[vp-content] div[class*="language-"] pre'];const Cv=sn({setup:()=>{wv({selector:Tv,ignoreSelector:_v,locales:Pv,duration:2e3,delay:500,showInMobile:!1})}}),xv=Object.freeze(Object.defineProperty({__proto__:null,default:Cv},Symbol.toStringTag,{value:"Module"})),Sv=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var Zn=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(T){function $(){}T($,$)},o=function(T){var $=T.target;if($===G){b();return}m.indexOf($)!==-1&&_({target:$})},i=function(){if(!(M||!S.original)){var T=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(q-T)>N.scrollOffset&&setTimeout(b,150)}},a=function(T){var $=T.key||T.keyCode;($==="Escape"||$==="Esc"||$===27)&&b()},s=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=T;if(T.background&&(G.style.background=T.background),T.container&&T.container instanceof Object&&($.container=Zn({},N.container,T.container)),T.template){var se=ti(T.template)?T.template:document.querySelector(T.template);$.template=se}return N=Zn({},N,$),m.forEach(function(fe){fe.dispatchEvent(br("medium-zoom:update",{detail:{zoom:k}}))}),k},l=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Zn({},N,T))},u=function(){for(var T=arguments.length,$=Array(T),se=0;se0?$.reduce(function(j,oe){return[].concat(j,Vl(oe))},[]):m;return fe.forEach(function(j){j.classList.remove("medium-zoom-image"),j.dispatchEvent(br("medium-zoom:detach",{detail:{zoom:k}}))}),m=m.filter(function(j){return fe.indexOf(j)===-1}),k},c=function(T,$){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(fe){fe.addEventListener("medium-zoom:"+T,$,se)}),w.push({type:"medium-zoom:"+T,listener:$,options:se}),k},d=function(T,$){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(fe){fe.removeEventListener("medium-zoom:"+T,$,se)}),w=w.filter(function(fe){return!(fe.type==="medium-zoom:"+T&&fe.listener.toString()===$.toString())}),k},p=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=T.target,se=function(){var j={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},oe=void 0,X=void 0;if(N.container)if(N.container instanceof Object)j=Zn({},j,N.container),oe=j.width-j.left-j.right-N.margin*2,X=j.height-j.top-j.bottom-N.margin*2;else{var Re=ti(N.container)?N.container:document.querySelector(N.container),qe=Re.getBoundingClientRect(),it=qe.width,et=qe.height,xt=qe.left,He=qe.top;j=Zn({},j,{width:it,height:et,left:xt,top:He})}oe=oe||j.width-N.margin*2,X=X||j.height-N.margin*2;var re=S.zoomedHd||S.original,Me=jl(re)?oe:re.naturalWidth||oe,O=jl(re)?X:re.naturalHeight||X,W=re.getBoundingClientRect(),Y=W.top,ee=W.left,be=W.width,ke=W.height,g=Math.min(Math.max(be,Me),oe)/be,v=Math.min(Math.max(ke,O),X)/ke,P=Math.min(g,v),D=(-ee+(oe-be)/2+N.margin+j.left)/P,A=(-Y+(X-ke)/2+N.margin+j.top)/P,F="scale("+P+") translate3d("+D+"px, "+A+"px, 0)";S.zoomed.style.transform=F,S.zoomedHd&&(S.zoomedHd.style.transform=F)};return new r(function(fe){if($&&m.indexOf($)===-1){fe(k);return}var j=function it(){M=!1,S.zoomed.removeEventListener("transitionend",it),S.original.dispatchEvent(br("medium-zoom:opened",{detail:{zoom:k}})),fe(k)};if(S.zoomed){fe(k);return}if($)S.original=$;else if(m.length>0){var oe=m;S.original=oe[0]}else{fe(k);return}if(S.original.dispatchEvent(br("medium-zoom:open",{detail:{zoom:k}})),q=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,M=!0,S.zoomed=Ov(S.original),document.body.appendChild(G),N.template){var X=ti(N.template)?N.template:document.querySelector(N.template);S.template=document.createElement("div"),S.template.appendChild(X.content.cloneNode(!0)),document.body.appendChild(S.template)}if(S.original.parentElement&&S.original.parentElement.tagName==="PICTURE"&&S.original.currentSrc&&(S.zoomed.src=S.original.currentSrc),document.body.appendChild(S.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),S.original.classList.add("medium-zoom-image--hidden"),S.zoomed.classList.add("medium-zoom-image--opened"),S.zoomed.addEventListener("click",b),S.zoomed.addEventListener("transitionend",j),S.original.getAttribute("data-zoom-src")){S.zoomedHd=S.zoomed.cloneNode(),S.zoomedHd.removeAttribute("srcset"),S.zoomedHd.removeAttribute("sizes"),S.zoomedHd.removeAttribute("loading"),S.zoomedHd.src=S.zoomed.getAttribute("data-zoom-src"),S.zoomedHd.onerror=function(){clearInterval(Re),console.warn("Unable to reach the zoom image target "+S.zoomedHd.src),S.zoomedHd=null,se()};var Re=setInterval(function(){S.zoomedHd.complete&&(clearInterval(Re),S.zoomedHd.classList.add("medium-zoom-image--opened"),S.zoomedHd.addEventListener("click",b),document.body.appendChild(S.zoomedHd),se())},10)}else if(S.original.hasAttribute("srcset")){S.zoomedHd=S.zoomed.cloneNode(),S.zoomedHd.removeAttribute("sizes"),S.zoomedHd.removeAttribute("loading");var qe=S.zoomedHd.addEventListener("load",function(){S.zoomedHd.removeEventListener("load",qe),S.zoomedHd.classList.add("medium-zoom-image--opened"),S.zoomedHd.addEventListener("click",b),document.body.appendChild(S.zoomedHd),se()})}else se()})},b=function(){return new r(function(T){if(M||!S.original){T(k);return}var $=function se(){S.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(S.zoomed),S.zoomedHd&&document.body.removeChild(S.zoomedHd),document.body.removeChild(G),S.zoomed.classList.remove("medium-zoom-image--opened"),S.template&&document.body.removeChild(S.template),M=!1,S.zoomed.removeEventListener("transitionend",se),S.original.dispatchEvent(br("medium-zoom:closed",{detail:{zoom:k}})),S.original=null,S.zoomed=null,S.zoomedHd=null,S.template=null,T(k)};M=!0,document.body.classList.remove("medium-zoom--opened"),S.zoomed.style.transform="",S.zoomedHd&&(S.zoomedHd.style.transform=""),S.template&&(S.template.style.transition="opacity 150ms",S.template.style.opacity=0),S.original.dispatchEvent(br("medium-zoom:close",{detail:{zoom:k}})),S.zoomed.addEventListener("transitionend",$)})},_=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=T.target;return S.original?b():p({target:$})},E=function(){return N},L=function(){return m},C=function(){return S.original},m=[],w=[],M=!1,q=0,N=n,S={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?N=t:(t||typeof t=="string")&&u(t),N=Zn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},N);var G=kv(N.background);document.addEventListener("click",o),document.addEventListener("keyup",a),document.addEventListener("scroll",i),window.addEventListener("resize",b);var k={open:p,close:b,toggle:_,update:s,clone:l,attach:u,detach:f,on:c,off:d,getOptions:E,getImages:L,getZoomedImage:C};return k};function Av(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var Lv=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Av(Lv);const Iv=Symbol("mediumZoom");var Dv={};const Mv="[vp-content] > img, [vp-content] :not(a) > img",Fv=Dv,Nv=300,Hv=sn({enhance({app:e,router:t}){const n=Rv(Fv);n.refresh=(r=Mv)=>{n.detach(),n.attach(r)},e.provide(Iv,n),t.afterEach(()=>{Fc(Nv).then(()=>{n.refresh()})})}}),$v=Object.freeze(Object.defineProperty({__proto__:null,default:Hv},Symbol.toStringTag,{value:"Module"}));/** + * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT + */const Bl=(e,t)=>{e.classList.add(t)},Ul=(e,t)=>{e.classList.remove(t)},jv=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},ga=(e,t,n)=>en?n:e,Wl=e=>(-1+e)*100,Vv=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),Bv=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),Ko=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=i=>{const{style:a}=document.body;if(i in a)return i;const s=i.charAt(0).toUpperCase()+i.slice(1);let l=e.length;for(;l--;){const u=`${e[l]}${s}`;if(u in a)return u}return i},r=i=>{const a=Bv(i);return t[a]??(t[a]=n(a))},o=(i,a,s)=>{i.style[r(a)]=s};return(i,a)=>{for(const s in a){const l=a[s];Object.hasOwn(a,s)&&hv(l)&&o(i,s,l)}}})(),dn={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},Je={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=dn,r=Je.isStarted(),o=ga(e,dn.minimum,1);Je.percent=o===1?null:o;const i=Je.render(!r),a=i.querySelector(dn.barSelector);return i.offsetWidth,Vv(s=>{Ko(a,{transform:`translate3d(${Wl(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(Ko(i,{transition:"none",opacity:"1"}),i.offsetWidth,setTimeout(()=>{Ko(i,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Je.remove(),s()},t)},t)):setTimeout(()=>{s()},t)}),Je},isStarted:()=>typeof Je.percent=="number",start:()=>{Je.percent||Je.set(0);const e=()=>{setTimeout(()=>{Je.percent&&(Je.trickle(),e())},dn.trickleSpeed)};return e(),Je},done:e=>!e&&!Je.percent?Je:Je.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Je;return t?(t=ga(t+(typeof e=="number"?e:(1-t)*ga(Math.random()*t,.1,.95)),0,.994),Je.set(t)):Je.start()},trickle:()=>Je.increase(Math.random()*dn.trickleRate),render:e=>{if(Je.isRendered())return document.getElementById("nprogress");Bl(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=dn.template;const n=t.querySelector(dn.barSelector),r=document.querySelector(dn.parent),o=e?"-100":Wl(Je.percent??0);return Ko(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&Bl(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{Ul(document.documentElement,"nprogress-busy"),Ul(document.querySelector(dn.parent),"nprogress-custom-parent"),jv(document.getElementById("nprogress"))}},Uv=()=>{Ct(()=>{const e=Vn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Je.start()}),e.afterEach(n=>{t.add(n.path),Je.done()})})},Wv=sn({setup(){Uv()}}),zv=Object.freeze(Object.defineProperty({__proto__:null,default:Wv},Symbol.toStringTag,{value:"Module"})),qv=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Gv=JSON.parse(`{"repo":"borisflesch/vue-good-table-next","logo":"/vgt-logo.png","lastUpdated":true,"darkMode":false,"navbar":[{"text":"Home","link":"/"},{"text":"Guide","link":"/guide/"}],"sidebar":{"/guide/":[{"text":"Introduction","children":["/guide/"]},{"text":"Configuration","children":["/guide/configuration/","/guide/configuration/table-events","/guide/configuration/search-options","/guide/configuration/sort-options","/guide/configuration/pagination-options","/guide/configuration/column-options","/guide/configuration/column-filter-options"]},{"text":"Advanced Configuration","children":["/guide/advanced/","/guide/advanced/checkbox-table","/guide/advanced/grouped-table","/guide/advanced/remote-workflow","/guide/advanced/row-details-table"]},{"text":"Style Configuration","children":["/guide/style-configuration/","/guide/style-configuration/style-classes","/guide/style-configuration/sass"]}]},"locales":{"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),Yv=we(Gv),$c=()=>Yv,jc=Symbol(""),Kv=()=>{const e=Rt(jc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Qv=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},Xv=sn({enhance({app:e}){const t=$c(),n=e._context.provides[ss],r=U(()=>Qv(t.value,n.routeLocale.value));e.provide(jc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}}),Jv=Object.freeze(Object.defineProperty({__proto__:null,default:Xv},Symbol.toStringTag,{value:"Module"})),Zv=()=>$c(),ct=()=>Kv(),Vc=Symbol(""),eb=e=>{const t=(n=e.value)=>{const r=window.document.documentElement;r.dataset.theme=n?"dark":"light"};Ct(()=>{pt(e,t,{immediate:!0})}),Ai(()=>{t()})},Bi=()=>{const e=Rt(Vc);if(!e)throw new Error("useDarkMode() is called without provider.");return e},tb=()=>{const e=ct(),t=Xm(),n=Dc("vuepress-color-scheme",e.value.colorMode),r=U({get(){return e.value.colorModeSwitch?n.value==="auto"?t.value:n.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});lr(Vc,r),eb(r)};let ma=null,Yr=null;const nb={wait:()=>ma,pending:()=>{ma=new Promise(e=>{Yr=e})},resolve:()=>{Yr==null||Yr(),ma=null,Yr=null}},Bc=()=>nb,Dr=(e,t)=>{const{notFound:n,meta:r,path:o}=vo(e,t);return n?{text:o,link:o}:{text:r.title||o,link:o}},zl=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),rb=(e,t)=>{if(t.hash===e)return!0;const n=zl(t.path),r=zl(e);return n===r},Uc=(e,t)=>e.link&&rb(e.link,t)?!0:"children"in e?e.children.some(n=>Uc(n,t)):!1,Wc=e=>!ag(e)&&!Oo(e),zc=e=>!Fi(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,ob={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},ib=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const n=zc(e);return n!==null?ob[n]:null},ab=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const i=ib({docsRepo:e,editLinkPattern:o});return i?i.replace(/:repo/,Fi(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,mc(`${gc(n)}/${r}`)):null},Rr=(e="",t="")=>Hc(t)||Oo(t)?t:`${gg(e)}${t}`,ni=we([]),sb=()=>{const e=Vn(),t=ct(),n=Xt(),r=U(()=>n.value.sidebarDepth??t.value.sidebarDepth??2);e.beforeEach((i,a)=>{i.path!==a.path&&(ni.value=[])});const o=()=>{if(r.value<=0){ni.value=[];return}ni.value=dv({levels:[2,r.value+1],ignore:[".vp-badge"]})};pt(r,o),Ct(o)},lb=()=>ni,ub=e=>({text:e.title,link:e.link,children:gs(e.children)}),gs=e=>e?e.map(t=>ub(t)):[],qc=(e,t)=>[{text:e.title,children:gs(t)}],Gc=(e,t,n,r="")=>{const o=(i,a)=>{var l;const s=Wt(i)?Dr(Rr(a,i)):Wt(i.link)?{...i,link:Wc(i.link)?Dr(Rr(a,i.link)).link:i.link}:i;if("children"in s)return{...s,children:s.children.map(u=>o(u,Rr(a,s.prefix)))};if(s.link===n){const u=((l=t[0])==null?void 0:l.level)===1?t[0].children:t;return{...s,children:gs(u)}}return s};return e.map(i=>o(i,r))},cb=(e,t,n,r)=>{const o=pv(e).sort((i,a)=>a.length-i.length);for(const i of o)if(Nc(decodeURI(r),i)){const a=e[i];return a?a==="heading"?qc(t,n):Gc(a,n,r,i):[]}return console.warn(`${decodeURI(r)} is missing sidebar config.`),[]},Yc=Symbol("sidebarItems"),ms=()=>{const e=Rt(Yc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},fb=(e,t,n,r,o)=>e===!1?[]:e==="heading"?qc(t,o):Array.isArray(e)?Gc(e,o,n,r):os(e)?cb(e,t,o,n):[],db=()=>{const e=ct(),t=Xt(),n=Fr(),r=wn(),o=Nr(),i=lb(),a=U(()=>t.value.home?!1:t.value.sidebar??e.value.sidebar??"heading"),s=U(()=>fb(a.value,n.value,r.path,o.value,i.value));lr(Yc,s)},hb=Le({__name:"Badge",props:{type:{default:"tip"},text:{default:""},vertical:{default:void 0}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function pb(e,t,n,r,o,i){return x(),R("span",{class:Ce(["vp-badge",n.type]),style:hr({verticalAlign:n.vertical})},[pe(e.$slots,"default",{},()=>[on(he(n.text),1)])],6)}const gb=Ie(hb,[["render",pb],["__file","Badge.vue"]]),mb=Le({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=we([]),r=Bi(),o=we();Ct(()=>{if(!o.value)return;const c=o.value.querySelector('div[class*="language-"]');if(c&&c.dataset.highlighter==="shiki"){const d=c.style.getPropertyValue("--shiki-light"),p=c.style.getPropertyValue("--shiki-dark"),b=c.style.getPropertyValue("--shiki-light-bg"),_=c.style.getPropertyValue("--shiki-dark-bg");pt(r,E=>{o.value.style.setProperty("--vp-c-code-tab-bg",E?_:b),o.value.style.setProperty("--vp-c-code-tab-title",E?p:d)},{immediate:!0})}});const i=we(-1),a=Dc("vuepress-code-group",{}),s=U(()=>n.value.map(c=>c.innerText).join(","));Ct(()=>{pt(()=>a.value[s.value],(c=-1)=>{i.value!==c&&(i.value=c)},{immediate:!0}),pt(i,c=>{a.value[s.value]!==c&&(a.value[s.value]=c)})});const l=(c=i.value)=>{c{c>0?i.value=c-1:i.value=n.value.length-1,n.value[i.value].focus()},f=(c,d)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),i.value=d):c.key==="ArrowRight"?(c.preventDefault(),l(d)):c.key==="ArrowLeft"&&(c.preventDefault(),u(d))};return()=>{var d;const c=(((d=t.default)==null?void 0:d.call(t))??[]).filter(p=>p.type.name==="CodeGroupItem").map(p=>(p.props===null&&(p.props={}),p));return c.length===0?null:(i.value<0||i.value>c.length-1?(i.value=c.findIndex(p=>p.props.active===""||p.props.active===!0),i.value===-1&&(i.value=0)):c.forEach((p,b)=>{p.props.active=b===i.value}),Ae("div",{class:"code-group",ref:o},[Ae("div",{class:"code-group-nav",role:"tablist"},c.map((p,b)=>{const _=b===i.value;return Ae("button",{ref:E=>{E&&(n.value[b]=E)},class:{"code-group-nav-tab":!0,active:_},role:"tab",ariaSelected:_,onClick:()=>{i.value=b},onKeydown:E=>{f(E,b)}},p.props.title)})),c]))}}}),vb=Le({name:"CodeGroupItem",__name:"CodeGroupItem",props:{title:{},active:{type:Boolean}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}});function bb(e,t,n,r,o,i){return x(),R("div",{class:Ce(["code-group-item",{active:n.active}]),role:"tabpanel"},[pe(e.$slots,"default")],2)}const yb=Ie(vb,[["render",bb],["__file","CodeGroupItem.vue"]]),wb=Le({__name:"VPHomeFeatures",setup(e,{expose:t}){t();const n=Xt(),r=U(()=>n.value.features??[]),o={frontmatter:n,features:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),_b={key:0,class:"vp-features"};function Pb(e,t,n,r,o,i){return r.features.length?(x(),R("div",_b,[(x(!0),R(me,null,st(r.features,a=>(x(),R("div",{key:a.title,class:"vp-feature"},[B("h2",null,he(a.title),1),B("p",null,he(a.details),1)]))),128))])):ie("",!0)}const Tb=Ie(wb,[["render",Pb],["__file","VPHomeFeatures.vue"]]),Cb=Le({__name:"VPHomeFooter",setup(e,{expose:t}){t();const n=Xt(),r=U(()=>n.value.footer),o=U(()=>n.value.footerHtml),i={frontmatter:n,footer:r,footerHtml:o};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),xb=["innerHTML"],Sb=["textContent"];function Eb(e,t,n,r,o,i){return r.footer?(x(),R(me,{key:0},[r.footerHtml?(x(),R("div",{key:0,class:"vp-footer","vp-footer":"",innerHTML:r.footer},null,8,xb)):(x(),R("div",{key:1,class:"vp-footer","vp-footer":"",textContent:he(r.footer)},null,8,Sb))],64)):ie("",!0)}const kb=Ie(Cb,[["render",Eb],["__file","VPHomeFooter.vue"]]),Ob=Le({__name:"VPHomeHero",setup(e,{expose:t}){t();const n=Xt(),r=ls(),o=Bi(),i=U(()=>n.value.heroText===null?null:n.value.heroText||r.value.title||"Hello"),a=U(()=>n.value.tagline===null?null:n.value.tagline||r.value.description||"Welcome to your VuePress site"),s=U(()=>o.value&&n.value.heroImageDark!==void 0?n.value.heroImageDark:n.value.heroImage),l=U(()=>n.value.heroAlt||i.value||"hero"),u=U(()=>n.value.heroHeight??280),f=U(()=>Array.isArray(n.value.actions)?n.value.actions.map(({text:p,link:b,type:_="primary"})=>({text:p,link:b,type:_})):[]),d={frontmatter:n,siteLocale:r,isDarkMode:o,heroText:i,tagline:a,heroImage:s,heroAlt:l,heroHeight:u,actions:f,HomeHeroImage:()=>{if(!s.value)return null;const p=Ae("img",{class:"vp-hero-image",src:fs(s.value),alt:l.value,height:u.value});return n.value.heroImageDark===void 0?p:Ae(us,()=>p)},get AutoLink(){return Hr}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),Rb={class:"vp-hero"},Ab={key:0,id:"main-title"},Lb={key:1,class:"vp-hero-description"},Ib={key:2,class:"vp-hero-actions"};function Db(e,t,n,r,o,i){return x(),R("header",Rb,[ue(r.HomeHeroImage),r.heroText?(x(),R("h1",Ab,he(r.heroText),1)):ie("",!0),r.tagline?(x(),R("p",Lb,he(r.tagline),1)):ie("",!0),r.actions.length?(x(),R("p",Ib,[(x(!0),R(me,null,st(r.actions,a=>(x(),Qe(r.AutoLink,{key:a.text,class:Ce(["vp-hero-action-button",[a.type]]),config:a},null,8,["class","config"]))),128))])):ie("",!0)])}const Mb=Ie(Ob,[["render",Db],["__file","VPHomeHero.vue"]]),Fb=Le({__name:"VPHome",setup(e,{expose:t}){t();const n={VPHomeFeatures:Tb,VPHomeFooter:kb,VPHomeHero:Mb,get Content(){return cs}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Nb={class:"vp-home"},Hb={class:"theme-default-content","vp-content":""};function $b(e,t,n,r,o,i){return x(),R("main",Nb,[ue(r.VPHomeHero),ue(r.VPHomeFeatures),B("div",Hb,[ue(r.Content)]),ue(r.VPHomeFooter)])}const jb=Ie(Fb,[["render",$b],["__file","VPHome.vue"]]),Vb=Le({__name:"VPNavbarBrand",setup(e,{expose:t}){t();const n=Nr(),r=ls(),o=ct(),i=Bi(),a=U(()=>o.value.home||n.value),s=U(()=>r.value.title),l=U(()=>i.value&&o.value.logoDark!==void 0?o.value.logoDark:o.value.logo),u=U(()=>o.value.logoAlt??s.value),f=U(()=>s.value.toLocaleUpperCase().trim()===u.value.toLocaleUpperCase().trim()),d={routeLocale:n,siteLocale:r,themeLocale:o,isDarkMode:i,navbarBrandLink:a,navbarBrandTitle:s,navbarBrandLogo:l,navbarBrandLogoAlt:u,navBarLogoAltMatchesTitle:f,NavbarBrandLogo:()=>{if(!l.value)return null;const p=Ae("img",{class:"vp-site-logo",src:fs(l.value),alt:u.value});return o.value.logoDark===void 0?p:Ae(us,()=>p)},get RouteLink(){return $i}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),Bb=["aria-hidden"];function Ub(e,t,n,r,o,i){return x(),Qe(r.RouteLink,{to:r.navbarBrandLink},{default:Ue(()=>[ue(r.NavbarBrandLogo),r.navbarBrandTitle?(x(),R("span",{key:0,class:Ce(["vp-site-name",{"vp-hide-mobile":r.navbarBrandLogo}]),"aria-hidden":r.navBarLogoAltMatchesTitle},he(r.navbarBrandTitle),11,Bb)):ie("",!0)]),_:1},8,["to"])}const Wb=Ie(Vb,[["render",Ub],["__file","VPNavbarBrand.vue"]]),zb=Le({__name:"VPDropdownTransition",setup(e,{expose:t}){t();const o={setHeight:i=>{i.style.height=`${i.scrollHeight}px`},unsetHeight:i=>{i.style.height=""}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function qb(e,t,n,r,o,i){return x(),Qe(rs,{name:"vp-dropdown",onEnter:r.setHeight,onAfterEnter:r.unsetHeight,onBeforeLeave:r.setHeight},{default:Ue(()=>[pe(e.$slots,"default")]),_:3})}const Kc=Ie(zb,[["render",qb],["__file","VPDropdownTransition.vue"]]),Gb=Le({__name:"VPNavbarDropdown",props:{item:{}},setup(e,{expose:t}){t();const n=e,{item:r}=Qa(n),o=wn(),i=we(!1),a=U(()=>r.value.ariaLabel||r.value.text),s=(f,c)=>c[c.length-1]===f,l=f=>{const c=f.detail===0;i.value=c?!i.value:!1};pt(()=>o.path,()=>{i.value=!1});const u={props:n,item:r,route:o,open:i,dropdownAriaLabel:a,isLastItemOfArray:s,handleDropdown:l,VPDropdownTransition:Kc,get AutoLink(){return Hr}};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}}),Yb=["aria-label"],Kb={class:"title"},Qb=["aria-label"],Xb={class:"title"},Jb={class:"vp-navbar-dropdown"},Zb={class:"vp-navbar-dropdown-subtitle"},ey={key:1},ty={class:"vp-navbar-dropdown-subitem-wrapper"};function ny(e,t,n,r,o,i){return x(),R("div",{class:Ce(["vp-navbar-dropdown-wrapper",{open:r.open}])},[B("button",{class:"vp-navbar-dropdown-title",type:"button","aria-label":r.dropdownAriaLabel,onClick:r.handleDropdown},[B("span",Kb,he(r.item.text),1),t[1]||(t[1]=B("span",{class:"arrow down"},null,-1))],8,Yb),B("button",{class:"vp-navbar-dropdown-title-mobile",type:"button","aria-label":r.dropdownAriaLabel,onClick:t[0]||(t[0]=a=>r.open=!r.open)},[B("span",Xb,he(r.item.text),1),B("span",{class:Ce(["arrow",r.open?"down":"right"])},null,2)],8,Qb),ue(r.VPDropdownTransition,null,{default:Ue(()=>[co(B("ul",Jb,[(x(!0),R(me,null,st(r.item.children,a=>(x(),R("li",{key:a.text,class:"vp-navbar-dropdown-item"},["children"in a?(x(),R(me,{key:0},[B("h4",Zb,[a.link?(x(),Qe(r.AutoLink,{key:0,config:a,onFocusout:s=>r.isLastItemOfArray(a,r.item.children)&&a.children.length===0&&(r.open=!1)},null,8,["config","onFocusout"])):(x(),R("span",ey,he(a.text),1))]),B("ul",ty,[(x(!0),R(me,null,st(a.children,s=>(x(),R("li",{key:s.link,class:"vp-navbar-dropdown-subitem"},[ue(r.AutoLink,{config:s,onFocusout:l=>r.isLastItemOfArray(s,a.children)&&r.isLastItemOfArray(a,r.item.children)&&(r.open=!1)},null,8,["config","onFocusout"])]))),128))])],64)):(x(),Qe(r.AutoLink,{key:1,config:a,onFocusout:s=>r.isLastItemOfArray(a,r.item.children)&&(r.open=!1)},null,8,["config","onFocusout"]))]))),128))],512),[[hi,r.open]])]),_:1})],2)}const ry=Ie(Gb,[["render",ny],["__file","VPNavbarDropdown.vue"]]),Qc=(e,t="")=>Wt(e)?Dr(Rr(t,e)):"children"in e?{...e,children:e.children.map(n=>Qc(n,Rr(t,e.prefix)))}:{...e,link:Wc(e.link)?Dr(Rr(t,e.link)).link:e.link},oy=()=>{const e=ct();return U(()=>(e.value.navbar||[]).map(t=>Qc(t)))},iy=()=>{const e=ct(),t=U(()=>e.value.repo),n=U(()=>t.value?zc(t.value):null),r=U(()=>t.value&&!Fi(t.value)?`https://github.com/${t.value}`:t.value),o=U(()=>r.value?e.value.repoLabel?e.value.repoLabel:n.value===null?"Source":n.value:null);return U(()=>!r.value||!o.value?[]:[{text:o.value,link:r.value}])},ay=()=>{const e=wn(),t=uv(),n=Nr(),r=Oc(),o=ls(),i=Zv(),a=ct();return U(()=>{const s=Object.keys(r.value.locales);if(s.length<2)return[];const l=e.path,u=e.fullPath;return[{text:`${a.value.selectLanguageText}`,ariaLabel:`${a.value.selectLanguageAriaLabel??a.value.selectLanguageText}`,children:s.map(c=>{var L,C;const d=((L=r.value.locales)==null?void 0:L[c])??{},p=((C=i.value.locales)==null?void 0:C[c])??{},b=`${d.lang}`,_=p.selectLanguageName??b;if(b===o.value.lang)return{text:_,activeMatch:".",link:e.fullPath};const E=l.replace(n.value,c);return{text:_,link:t.value.some(m=>m===E)?u.replace(l,E):p.home??c}})}]})},sy="719px",ly={mobile:sy};var bo;(function(e){e.Mobile="mobile"})(bo||(bo={}));const uy={[bo.Mobile]:Number.parseInt(ly.mobile.replace("px",""),10)},Xc=(e,t)=>{const n=uy[e];Number.isInteger(n)&&(Qt("orientationchange",()=>{t(n)},!1),Qt("resize",()=>{t(n)},!1),Ct(()=>{t(n)}))},cy=Le({__name:"VPNavbarItems",setup(e,{expose:t}){t();const n=oy(),r=ay(),o=iy(),i=we(!1),a=U(()=>ct().value.navbarLabel??"site navigation"),s=U(()=>[...n.value,...r.value,...o.value]);Xc(bo.Mobile,u=>{i.value=window.innerWidth(x(),R("div",{key:a.text,class:"vp-navbar-item"},["children"in a?(x(),Qe(r.VPNavbarDropdown,{key:0,class:Ce({mobile:r.isMobile}),item:a},null,8,["class","item"])):(x(),Qe(r.AutoLink,{key:1,config:a},null,8,["config"]))]))),128))],8,fy)):ie("",!0)}const Jc=Ie(cy,[["render",dy],["__file","VPNavbarItems.vue"]]),hy={},py={class:"dark-icon",viewBox:"0 0 32 32"};function gy(e,t){return x(),R("svg",py,t[0]||(t[0]=[B("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1)]))}const my=Ie(hy,[["render",gy],["__file","VPDarkIcon.vue"]]),vy={},by={class:"light-icon",viewBox:"0 0 32 32"};function yy(e,t){return x(),R("svg",by,t[0]||(t[0]=[dp('',9)]))}const wy=Ie(vy,[["render",yy],["__file","VPLightIcon.vue"]]),_y=Le({__name:"VPToggleColorModeButton",setup(e,{expose:t}){t();const n=ct(),r=Bi(),i={themeLocale:n,isDarkMode:r,toggleColorMode:()=>{r.value=!r.value},VPDarkIcon:my,VPLightIcon:wy};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Py=["title"];function Ty(e,t,n,r,o,i){return x(),R("button",{type:"button",class:"vp-toggle-color-mode-button",title:r.themeLocale.toggleColorMode,onClick:r.toggleColorMode},[co(ue(r.VPLightIcon,null,null,512),[[hi,!r.isDarkMode]]),co(ue(r.VPDarkIcon,null,null,512),[[hi,r.isDarkMode]])],8,Py)}const Cy=Ie(_y,[["render",Ty],["__file","VPToggleColorModeButton.vue"]]),xy=Le({__name:"VPToggleSidebarButton",emits:["toggle"],setup(e,{expose:t}){t();const r={themeLocale:ct()};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),Sy=["title"];function Ey(e,t,n,r,o,i){return x(),R("div",{class:"vp-toggle-sidebar-button",title:r.themeLocale.toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:t[0]||(t[0]=a=>e.$emit("toggle"))},t[1]||(t[1]=[B("div",{class:"icon","aria-hidden":"true"},[B("span"),B("span"),B("span")],-1)]),8,Sy)}const ky=Ie(xy,[["render",Ey],["__file","VPToggleSidebarButton.vue"]]),Oy=Le({__name:"VPNavbar",emits:["toggleSidebar"],setup(e,{expose:t}){t();const n=ct(),r=we(null),o=we(null),i=we(0),a=U(()=>i.value?{maxWidth:`${i.value}px`}:{}),s=(u,f)=>{var p;const c=(p=u==null?void 0:u.ownerDocument.defaultView)==null?void 0:p.getComputedStyle(u,null)[f],d=Number.parseInt(c,10);return Number.isNaN(d)?0:d};Xc(bo.Mobile,u=>{var c;const f=s(r.value,"paddingLeft")+s(r.value,"paddingRight");window.innerWidthe.$emit("toggleSidebar"))}),B("span",Ay,[ue(r.VPNavbarBrand)],512),B("div",{class:"vp-navbar-items-wrapper",style:hr(r.linksWrapperStyle)},[pe(e.$slots,"before"),ue(r.VPNavbarItems,{class:"vp-hide-mobile"}),pe(e.$slots,"after"),r.themeLocale.colorModeSwitch?(x(),Qe(r.VPToggleColorModeButton,{key:0})):ie("",!0),ue(a)],4)],512)}const Iy=Ie(Oy,[["render",Ly],["__file","VPNavbar.vue"]]),Dy={},My={class:"edit-icon",viewBox:"0 0 1024 1024"};function Fy(e,t){return x(),R("svg",My,t[0]||(t[0]=[B("g",{fill:"currentColor"},[B("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),B("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})],-1)]))}const Ny=Ie(Dy,[["render",Fy],["__file","VPEditIcon.vue"]]),Hy=()=>{const e=ct(),t=Fr(),n=Xt();return U(()=>{var o;return n.value.contributors??e.value.contributors??!0?((o=t.value.git)==null?void 0:o.contributors)??null:null})},$y=()=>{const e=ct(),t=Fr(),n=Xt();return U(()=>{if(!(n.value.editLink??e.value.editLink??!0))return null;const{repo:o,docsRepo:i=o,docsBranch:a="main",docsDir:s="",editLinkText:l}=e.value;if(!i)return null;const u=ab({docsRepo:i,docsBranch:a,docsDir:s,filePathRelative:t.value.filePathRelative,editLinkPattern:n.value.editLinkPattern??e.value.editLinkPattern});return u?{text:l??"Edit this page",link:u}:null})},jy=()=>{const e=ct(),t=Fr(),n=Xt();return U(()=>{var i;return!(n.value.lastUpdated??e.value.lastUpdated??!0)||!((i=t.value.git)!=null&&i.updatedTime)?null:new Date(t.value.git.updatedTime).toLocaleString()})},Vy=Le({__name:"VPPageMeta",setup(e,{expose:t}){t();const n=ct(),r=$y(),o=jy(),i=Hy(),a={themeLocale:n,editLink:r,lastUpdated:o,contributors:i,VPEditIcon:Ny,get AutoLink(){return Hr}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),By={class:"vp-page-meta"},Uy={key:0,class:"vp-meta-item edit-link"},Wy={class:"vp-meta-item git-info"},zy={key:0,class:"vp-meta-item last-updated"},qy={class:"meta-item-label"},Gy={class:"meta-item-info"},Yy={key:1,class:"vp-meta-item contributors"},Ky={class:"meta-item-label"},Qy={class:"meta-item-info"},Xy=["title"];function Jy(e,t,n,r,o,i){const a=mn("ClientOnly");return x(),R("footer",By,[r.editLink?(x(),R("div",Uy,[ue(r.AutoLink,{class:"label",config:r.editLink},{before:Ue(()=>[ue(r.VPEditIcon)]),_:1},8,["config"])])):ie("",!0),B("div",Wy,[r.lastUpdated?(x(),R("div",zy,[B("span",qy,he(r.themeLocale.lastUpdatedText)+": ",1),ue(a,null,{default:Ue(()=>[B("span",Gy,he(r.lastUpdated),1)]),_:1})])):ie("",!0),r.contributors&&r.contributors.length?(x(),R("div",Yy,[B("span",Ky,he(r.themeLocale.contributorsText)+": ",1),B("span",Qy,[(x(!0),R(me,null,st(r.contributors,(s,l)=>(x(),R(me,{key:l},[B("span",{class:"contributor",title:`email: ${s.email}`},he(s.name),9,Xy),l!==r.contributors.length-1?(x(),R(me,{key:0},[on(", ")],64)):ie("",!0)],64))),128))])])):ie("",!0)])])}const Zy=Ie(Vy,[["render",Jy],["__file","VPPageMeta.vue"]]),ew=()=>{const e=Vn(),t=wn();return n=>{n&&(Hc(n)?t.path!==n&&e.push(n):Oo(n)?window.open(n):e.push(encodeURI(n)))}},ql=(e,t)=>e===!1?!1:Wt(e)?Dr(e,t):os(e)?{...e,link:Dr(e.link,t).link}:null,Ma=(e,t,n)=>{const r=e.findIndex(i=>i.link===t);if(r!==-1){const i=e[r+n];return i?i.link?i:"prefix"in i&&!vo(i.prefix).notFound?{...i,link:i.prefix}:null:null}for(const i of e)if("children"in i){const a=Ma(i.children,t,n);if(a)return a}const o=e.findIndex(i=>"prefix"in i&&i.prefix===t);if(o!==-1){const i=e[o+n];return i?i.link?i:"prefix"in i&&!vo(i.prefix).notFound?{...i,link:i.prefix}:null:null}return null},tw=()=>{const e=Xt(),t=ct(),n=ms(),r=wn(),o=U(()=>{const a=ql(e.value.prev,r.path);return a===!1?null:a??(t.value.prev===!1?null:Ma(n.value,r.path,-1))}),i=U(()=>{const a=ql(e.value.next,r.path);return a===!1?null:a??(t.value.next===!1?null:Ma(n.value,r.path,1))});return{prevLink:o,nextLink:i}},nw=Le({__name:"VPPageNav",setup(e,{expose:t}){t();const n=ct(),r=ew(),{prevLink:o,nextLink:i}=tw(),a=U(()=>n.value.pageNavbarLabel??"page navigation");Qt("keydown",l=>{l.altKey&&(l.key==="ArrowRight"?i.value&&(r(i.value.link),l.preventDefault()):l.key==="ArrowLeft"&&o.value&&(r(o.value.link),l.preventDefault()))});const s={themeLocale:n,navigate:r,prevLink:o,nextLink:i,navbarLabel:a,get AutoLink(){return Hr}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),rw=["aria-label"],ow={class:"hint"},iw={class:"link"},aw={class:"hint"},sw={class:"link"};function lw(e,t,n,r,o,i){return r.prevLink||r.nextLink?(x(),R("nav",{key:0,class:"vp-page-nav","aria-label":r.navbarLabel},[r.prevLink?(x(),Qe(r.AutoLink,{key:0,class:"prev",config:r.prevLink},{default:Ue(()=>[B("div",ow,[t[0]||(t[0]=B("span",{class:"arrow left"},null,-1)),on(" "+he(r.themeLocale.prev??"Prev"),1)]),B("div",iw,[B("span",null,he(r.prevLink.text),1)])]),_:1},8,["config"])):ie("",!0),r.nextLink?(x(),Qe(r.AutoLink,{key:1,class:"next",config:r.nextLink},{default:Ue(()=>[B("div",aw,[on(he(r.themeLocale.next??"Next")+" ",1),t[1]||(t[1]=B("span",{class:"arrow right"},null,-1))]),B("div",sw,[B("span",null,he(r.nextLink.text),1)])]),_:1},8,["config"])):ie("",!0)],8,rw)):ie("",!0)}const uw=Ie(nw,[["render",lw],["__file","VPPageNav.vue"]]),cw=Le({__name:"VPPage",setup(e,{expose:t}){t(),sb();const n={VPPageMeta:Zy,VPPageNav:uw,get Content(){return cs}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),fw={class:"vp-page"},dw={class:"theme-default-content","vp-content":""};function hw(e,t,n,r,o,i){return x(),R("main",fw,[pe(e.$slots,"top"),B("div",dw,[pe(e.$slots,"content-top"),ue(r.Content),pe(e.$slots,"content-bottom")]),ue(r.VPPageMeta),ue(r.VPPageNav),pe(e.$slots,"bottom")])}const pw=Ie(cw,[["render",hw],["__file","VPPage.vue"]]),gw=Le({__name:"VPSidebarItem",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const n=e,{item:r,depth:o}=Qa(n),i=wn(),a=Vn(),s=U(()=>"collapsible"in r.value&&r.value.collapsible),l=U(()=>Uc(r.value,i)),u=U(()=>({"vp-sidebar-item":!0,"vp-sidebar-heading":o.value===0,active:l.value,collapsible:s.value})),f=U(()=>s.value?l.value:!0),[c,d]=Um(f.value),p=E=>{s.value&&(E.preventDefault(),d())},b=a.afterEach(()=>{pr(()=>{c.value=f.value})});Ri(()=>{b()});const _={props:n,item:r,depth:o,route:i,router:a,collapsible:s,isActive:l,itemClass:u,isOpenDefault:f,isOpen:c,toggleIsOpen:d,onClick:p,unregisterRouterHook:b,VPDropdownTransition:Kc,get AutoLink(){return Hr}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}}),mw={class:"vp-sidebar-children"};function vw(e,t,n,r,o,i){const a=mn("VPSidebarItem",!0);return x(),R("li",null,[r.item.link?(x(),Qe(r.AutoLink,{key:0,class:Ce(r.itemClass),config:r.item},null,8,["class","config"])):(x(),R("p",{key:1,tabindex:"0",class:Ce(r.itemClass),onClick:r.onClick,onKeydown:Mi(r.onClick,["enter"])},[on(he(r.item.text)+" ",1),r.collapsible?(x(),R("span",{key:0,class:Ce(["arrow",r.isOpen?"down":"right"])},null,2)):ie("",!0)],34)),"children"in r.item&&r.item.children.length?(x(),Qe(r.VPDropdownTransition,{key:2},{default:Ue(()=>[co(B("ul",mw,[(x(!0),R(me,null,st(r.item.children,s=>(x(),Qe(a,{key:`${r.depth}${s.text}${s.link}`,item:s,depth:r.depth+1},null,8,["item","depth"]))),128))],512),[[hi,r.isOpen]])]),_:1})):ie("",!0)])}const bw=Ie(gw,[["render",vw],["__file","VPSidebarItem.vue"]]),yw=Le({__name:"VPSidebarItems",setup(e,{expose:t}){t();const n=wn(),r=ms();Ct(()=>{pt(()=>n.hash,i=>{const a=document.querySelector(".vp-sidebar");if(!a)return;const s=document.querySelector(`.vp-sidebar a.vp-sidebar-item[href="${n.path}${i}"]`);if(!s)return;const{top:l,height:u}=a.getBoundingClientRect(),{top:f,height:c}=s.getBoundingClientRect();fl+u&&s.scrollIntoView(!1)})});const o={route:n,sidebarItems:r,VPSidebarItem:bw};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),ww={key:0,class:"vp-sidebar-items"};function _w(e,t,n,r,o,i){return r.sidebarItems.length?(x(),R("ul",ww,[(x(!0),R(me,null,st(r.sidebarItems,a=>(x(),Qe(r.VPSidebarItem,{key:`${a.text}${a.link}`,item:a},null,8,["item"]))),128))])):ie("",!0)}const Pw=Ie(yw,[["render",_w],["__file","VPSidebarItems.vue"]]),Tw=Le({__name:"VPSidebar",setup(e,{expose:t}){t();const n={VPNavbarItems:Jc,VPSidebarItems:Pw};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Cw={class:"vp-sidebar","vp-sidebar":""};function xw(e,t,n,r,o,i){return x(),R("aside",Cw,[ue(r.VPNavbarItems),pe(e.$slots,"top"),ue(r.VPSidebarItems),pe(e.$slots,"bottom")])}const Sw=Ie(Tw,[["render",xw],["__file","VPSidebar.vue"]]),Ew=Le({__name:"Layout",setup(e,{expose:t}){t();const n=Fr(),r=Xt(),o=ct(),i=U(()=>r.value.navbar!==!1&&o.value.navbar!==!1),a=ms(),s=we(!1),l=m=>{s.value=typeof m=="boolean"?m:!s.value},u={x:0,y:0},f=m=>{u.x=m.changedTouches[0].clientX,u.y=m.changedTouches[0].clientY},c=m=>{const w=m.changedTouches[0].clientX-u.x,M=m.changedTouches[0].clientY-u.y;Math.abs(w)>Math.abs(M)&&Math.abs(w)>40&&(w>0&&u.x<=80?l(!0):l(!1))},d=U(()=>r.value.externalLinkIcon??o.value.externalLinkIcon??!0),p=U(()=>[{"no-navbar":!i.value,"no-sidebar":!a.value.length,"sidebar-open":s.value,"external-link-icon":d.value},r.value.pageClass]);let b;Ct(()=>{b=Vn().afterEach(()=>{l(!1)})}),Ai(()=>{b()});const _=Bc(),E=_.resolve,L=_.pending,C={page:n,frontmatter:r,themeLocale:o,shouldShowNavbar:i,sidebarItems:a,isSidebarOpen:s,toggleSidebar:l,touchStart:u,onTouchStart:f,onTouchEnd:c,enableExternalLinkIcon:d,containerClass:p,get unregisterRouterHook(){return b},set unregisterRouterHook(m){b=m},scrollPromise:_,onBeforeEnter:E,onBeforeLeave:L,VPHome:jb,VPNavbar:Iy,VPPage:pw,VPSidebar:Sw};return Object.defineProperty(C,"__isScriptSetup",{enumerable:!1,value:!0}),C}});function kw(e,t,n,r,o,i){return x(),R("div",{class:Ce(["vp-theme-container",r.containerClass]),"vp-container":"",onTouchstart:r.onTouchStart,onTouchend:r.onTouchEnd},[pe(e.$slots,"navbar",{},()=>[r.shouldShowNavbar?(x(),Qe(r.VPNavbar,{key:0,onToggleSidebar:r.toggleSidebar},{before:Ue(()=>[pe(e.$slots,"navbar-before")]),after:Ue(()=>[pe(e.$slots,"navbar-after")]),_:3})):ie("",!0)]),B("div",{class:"vp-sidebar-mask",onClick:t[0]||(t[0]=a=>r.toggleSidebar(!1))}),pe(e.$slots,"sidebar",{},()=>[ue(r.VPSidebar,null,{top:Ue(()=>[pe(e.$slots,"sidebar-top")]),bottom:Ue(()=>[pe(e.$slots,"sidebar-bottom")]),_:3})]),pe(e.$slots,"page",{},()=>[r.frontmatter.home?(x(),Qe(r.VPHome,{key:0})):(x(),Qe(rs,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:r.onBeforeEnter,onBeforeLeave:r.onBeforeLeave},{default:Ue(()=>[(x(),Qe(r.VPPage,{key:r.page.path},{top:Ue(()=>[pe(e.$slots,"page-top")]),"content-top":Ue(()=>[pe(e.$slots,"page-content-top")]),"content-bottom":Ue(()=>[pe(e.$slots,"page-content-bottom")]),bottom:Ue(()=>[pe(e.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34)}const Ow=Ie(Ew,[["render",kw],["__file","Layout.vue"]]),Rw=Le({__name:"NotFound",setup(e,{expose:t}){t();const n=Nr(),r=ct(),o=r.value.notFound??["Not Found"],i=()=>o[Math.floor(Math.random()*o.length)],a=r.value.home??n.value,s=r.value.backToHome??"Back to home",l={routeLocale:n,themeLocale:r,messages:o,getMsg:i,homeLink:a,homeText:s,get RouteLink(){return $i}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),Aw={class:"vp-theme-container","vp-container":""},Lw={class:"page"},Iw={class:"theme-default-content","vp-content":""};function Dw(e,t,n,r,o,i){return x(),R("div",Aw,[B("main",Lw,[B("div",Iw,[t[0]||(t[0]=B("h1",null,"404",-1)),B("blockquote",null,he(r.getMsg()),1),ue(r.RouteLink,{to:r.homeLink},{default:Ue(()=>[on(he(r.homeText),1)]),_:1},8,["to"])])])])}const Mw=Ie(Rw,[["render",Dw],["__scopeId","data-v-463c2c5d"],["__file","NotFound.vue"]]),Fw=sn({enhance({app:e,router:t}){pa("Badge")||e.component("Badge",gb),pa("CodeGroup")||e.component("CodeGroup",mb),pa("CodeGroupItem")||e.component("CodeGroupItem",yb),e.component("VPSearch",()=>{const r=e.component("Docsearch")??e.component("SearchBox");return r?Ae(r):null});const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await Bc().wait(),n(...r))},setup(){tb(),db()},layouts:{Layout:Ow,NotFound:Mw}}),Nw=Object.freeze(Object.defineProperty({__proto__:null,default:Fw},Symbol.toStringTag,{value:"Module"})),Hw={enhance:({app:e})=>{e.component("action-slot-table",vt(()=>Te(()=>import("./action-slot-table-D9xqIWvQ.js"),[]))),e.component("basic-table",vt(()=>Te(()=>import("./basic-table-BKwkKJsm.js"),[]))),e.component("before-after-columns",vt(()=>Te(()=>import("./before-after-columns-DrD9HBNX.js"),[]))),e.component("checkbox-table",vt(()=>Te(()=>import("./checkbox-table-C1TNYJtt.js"),[]))),e.component("custom-row",vt(()=>Te(()=>import("./custom-row-Blmqva5L.js"),[]))),e.component("external-query",vt(()=>Te(()=>import("./external-query-BRRiwCYx.js"),[]))),e.component("fixed-header",vt(()=>Te(()=>import("./fixed-header-CgsuDri0.js"),[]))),e.component("grouped-custom-span",vt(()=>Te(()=>import("./grouped-custom-span-CyL33dNR.js"),[]))),e.component("grouped-custom",vt(()=>Te(()=>import("./grouped-custom-BKWBLv2J.js"),[]))),e.component("grouped-table",vt(()=>Te(()=>import("./grouped-table-CkniEbWt.js"),[]))),e.component("line-numbers-table",vt(()=>Te(()=>import("./line-numbers-table-DdTie_hs.js"),[]))),e.component("other-projects",vt(()=>Te(()=>import("./other-projects-D2HFQoB3.js"),[]))),e.component("pagination-table",vt(()=>Te(()=>import("./pagination-table-CdDEvre5.js"),[]))),e.component("rtl-table",vt(()=>Te(()=>import("./rtl-table-c6t6pkfJ.js"),[]))),e.component("search-demo",vt(()=>Te(()=>import("./search-demo-Uxd9WTDK.js"),[]))),e.component("theme-example",vt(()=>Te(()=>import("./theme-example-D-fFji9T.js"),[])))}},$w=Object.freeze(Object.defineProperty({__proto__:null,default:Hw},Symbol.toStringTag,{value:"Module"})),jw=e=>{if(window.dataLayer&&window.gtag)return;const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e.id}`,t.async=!0,document.head.appendChild(t),window.dataLayer=window.dataLayer??[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),e.debug?window.gtag("config",e.id,{debug_mode:!0}):window.gtag("config",e.id)};var Vw={id:"G-0V4SMPYCC4"};const Bw=Vw,Uw=sn({enhance(){jw(Bw)}}),Ww=Object.freeze(Object.defineProperty({__proto__:null,default:Uw},Symbol.toStringTag,{value:"Module"})),zw=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,qw=(e,t)=>t.some(n=>{if(Wt(n))return n===e.key;const{key:r,ctrl:o=!1,shift:i=!1,alt:a=!1}=n;return r===e.key&&o===e.ctrlKey&&i===e.shiftKey&&a===e.altKey}),Gw=/[^\x00-\x7F]/,Yw=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Gl=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Yl=(e,t)=>{const n=t.join(" "),r=Yw(e);if(Gw.test(e))return r.some(a=>n.toLowerCase().includes(a));const o=e.endsWith(" ");return new RegExp(`${r.map((a,s)=>r.length===s+1&&!o?`(?=.*\\b${Gl(a)})`:`(?=.*\\b${Gl(a)}\\b)`).join("")}.+`,"gi").test(n)},Kw=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&qw(r,t.value)&&!zw(r.target)&&(r.preventDefault(),e.value.focus())};Ct(()=>{document.addEventListener("keydown",n)}),Ri(()=>{document.removeEventListener("keydown",n)})},Qw=[{title:"",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"Getting Started",headers:[{level:2,title:"Installation",slug:"installation",link:"#installation",children:[]},{level:2,title:"Basic Example",slug:"basic-example",link:"#basic-example",children:[]},{level:2,title:"Usage with Nuxt.js",slug:"usage-with-nuxt-js",link:"#usage-with-nuxt-js",children:[]}],path:"/guide/",pathLocale:"/",extraFields:[]},{title:"Customizations",headers:[{level:2,title:"Custom Row Template",slug:"custom-row-template",link:"#custom-row-template",children:[{level:3,title:"Result",slug:"result",link:"#result",children:[]}]},{level:2,title:"Adding custom columns",slug:"adding-custom-columns",link:"#adding-custom-columns",children:[{level:3,title:"Result",slug:"result-1",link:"#result-1",children:[]}]},{level:2,title:"Custom column headers",slug:"custom-column-headers",link:"#custom-column-headers",children:[]},{level:2,title:"Custom column filters",slug:"custom-column-filters",link:"#custom-column-filters",children:[{level:3,title:"Upgrading from versions 2.20.0-2.21.0",slug:"upgrading-from-versions-2-20-0-2-21-0",link:"#upgrading-from-versions-2-20-0-2-21-0",children:[]}]},{level:2,title:"Custom pagination",slug:"custom-pagination",link:"#custom-pagination",children:[]}],path:"/guide/advanced/",pathLocale:"/",extraFields:[]},{title:"Checkbox Table",headers:[{level:2,title:"Configuration",slug:"configuration",link:"#configuration",children:[{level:3,title:"Example",slug:"example",link:"#example",children:[]}]},{level:2,title:"Selected row action slot",slug:"selected-row-action-slot",link:"#selected-row-action-slot",children:[{level:3,title:"Example",slug:"example-1",link:"#example-1",children:[]}]}],path:"/guide/advanced/checkbox-table.html",pathLocale:"/",extraFields:[]},{title:"Grouped Table",headers:[{level:2,title:"Customizing Header Row",slug:"customizing-header-row",link:"#customizing-header-row",children:[{level:3,title:"When mode is 'span'",slug:"when-mode-is-span",link:"#when-mode-is-span",children:[]},{level:3,title:"When mode is not 'span'",slug:"when-mode-is-not-span",link:"#when-mode-is-not-span",children:[]}]},{level:2,title:"Collapsable Rows",slug:"collapsable-rows",link:"#collapsable-rows",children:[]}],path:"/guide/advanced/grouped-table.html",pathLocale:"/",extraFields:[]},{title:"Server Side Table",headers:[{level:2,title:"Why Remote Mode?",slug:"why-remote-mode",link:"#why-remote-mode",children:[]},{level:2,title:"Prep Work",slug:"prep-work",link:"#prep-work",children:[{level:3,title:"What do we send to server?",slug:"what-do-we-send-to-server",link:"#what-do-we-send-to-server",children:[]},{level:3,title:"What does the server send back?",slug:"what-does-the-server-send-back",link:"#what-does-the-server-send-back",children:[]}]},{level:2,title:"Set mode to remote",slug:"set-mode-to-remote",link:"#set-mode-to-remote",children:[]},{level:2,title:"Provide handlers for user events",slug:"provide-handlers-for-user-events",link:"#provide-handlers-for-user-events",children:[]},{level:2,title:"So, what is happening?",slug:"so-what-is-happening",link:"#so-what-is-happening",children:[]},{level:2,title:"Conclusion",slug:"conclusion",link:"#conclusion",children:[]}],path:"/guide/advanced/remote-workflow.html",pathLocale:"/",extraFields:[]},{title:"Row Details Table",headers:[{level:2,title:"Configuration",slug:"configuration",link:"#configuration",children:[{level:3,title:"Example",slug:"example",link:"#example",children:[]}]}],path:"/guide/advanced/row-details-table.html",pathLocale:"/",extraFields:[]},{title:"Table Options",headers:[{level:2,title:"columns",slug:"columns",link:"#columns",children:[]},{level:2,title:"rows",slug:"rows",link:"#rows",children:[]},{level:2,title:"max-height",slug:"max-height",link:"#max-height",children:[]},{level:2,title:"fixed-header",slug:"fixed-header",link:"#fixed-header",children:[]},{level:2,title:"line-numbers",slug:"line-numbers",link:"#line-numbers",children:[]},{level:2,title:"row-style-class",slug:"row-style-class",link:"#row-style-class",children:[]},{level:2,title:"rtl",slug:"rtl",link:"#rtl",children:[]},{level:2,title:"Table Actions Slot",slug:"table-actions-slot",link:"#table-actions-slot",children:[]},{level:2,title:"Table Actions Footer Slot",slug:"table-actions-footer-slot",link:"#table-actions-footer-slot",children:[]},{level:2,title:"Empty state slot",slug:"empty-state-slot",link:"#empty-state-slot",children:[]},{level:2,title:"mode",slug:"mode",link:"#mode",children:[]},{level:2,title:"totalRecords",slug:"totalrecords",link:"#totalrecords",children:[]},{level:2,title:"compactMode",slug:"compactmode",link:"#compactmode",children:[]}],path:"/guide/configuration/",pathLocale:"/",extraFields:[]},{title:"Column Filter Options",headers:[{level:2,title:"filterOptions",slug:"filteroptions",link:"#filteroptions",children:[]},{level:2,title:"styleClass",slug:"styleclass",link:"#styleclass",children:[]},{level:2,title:"enabled",slug:"enabled",link:"#enabled",children:[]},{level:2,title:"placeholder",slug:"placeholder",link:"#placeholder",children:[]},{level:2,title:"filterValue",slug:"filtervalue",link:"#filtervalue",children:[]},{level:2,title:"trigger",slug:"trigger",link:"#trigger",children:[]},{level:2,title:"filterDropdownItems",slug:"filterdropdownitems",link:"#filterdropdownitems",children:[]},{level:2,title:"filterFn",slug:"filterfn",link:"#filterfn",children:[]}],path:"/guide/configuration/column-filter-options.html",pathLocale:"/",extraFields:[]},{title:"Column Options",headers:[{level:2,title:"label",slug:"label",link:"#label",children:[]},{level:2,title:"field",slug:"field",link:"#field",children:[]},{level:2,title:"type",slug:"type",link:"#type",children:[]},{level:2,title:"dateInputFormat",slug:"dateinputformat",link:"#dateinputformat",children:[]},{level:2,title:"dateOutputFormat",slug:"dateoutputformat",link:"#dateoutputformat",children:[]},{level:2,title:"sortable",slug:"sortable",link:"#sortable",children:[]},{level:2,title:"firstSortType",slug:"firstsorttype",link:"#firstsorttype",children:[]},{level:2,title:"sortFn",slug:"sortfn",link:"#sortfn",children:[]},{level:2,title:"formatFn",slug:"formatfn",link:"#formatfn",children:[]},{level:2,title:"html",slug:"html",link:"#html",children:[]},{level:2,title:"width",slug:"width",link:"#width",children:[]},{level:2,title:"hidden",slug:"hidden",link:"#hidden",children:[]},{level:2,title:"thClass",slug:"thclass",link:"#thclass",children:[]},{level:2,title:"tdClass",slug:"tdclass",link:"#tdclass",children:[]},{level:2,title:"globalSearchDisabled",slug:"globalsearchdisabled",link:"#globalsearchdisabled",children:[]},{level:2,title:"tooltip",slug:"tooltip",link:"#tooltip",children:[]}],path:"/guide/configuration/column-options.html",pathLocale:"/",extraFields:[]},{title:"Pagination Options",headers:[{level:2,title:"enabled",slug:"enabled",link:"#enabled",children:[]},{level:2,title:"mode",slug:"mode",link:"#mode",children:[{level:3,title:"records mode (default)",slug:"records-mode-default",link:"#records-mode-default",children:[]},{level:3,title:"pages mode",slug:"pages-mode",link:"#pages-mode",children:[]}]},{level:2,title:"position",slug:"position",link:"#position",children:[]},{level:2,title:"perPage",slug:"perpage",link:"#perpage",children:[]},{level:2,title:"perPageDropdownEnabled",slug:"perpagedropdownenabled",link:"#perpagedropdownenabled",children:[]},{level:2,title:"perPageDropdown",slug:"perpagedropdown",link:"#perpagedropdown",children:[]},{level:2,title:"dropdownAllowAll",slug:"dropdownallowall",link:"#dropdownallowall",children:[]},{level:2,title:"setCurrentPage",slug:"setcurrentpage",link:"#setcurrentpage",children:[]},{level:2,title:"pagination label/text options",slug:"pagination-label-text-options",link:"#pagination-label-text-options",children:[{level:3,title:"InfoFn",slug:"infofn",link:"#infofn",children:[]}]},{level:2,title:"Replace Pagination Component",slug:"replace-pagination-component",link:"#replace-pagination-component",children:[]}],path:"/guide/configuration/pagination-options.html",pathLocale:"/",extraFields:[]},{title:"Search Options",headers:[{level:2,title:"enabled",slug:"enabled",link:"#enabled",children:[]},{level:2,title:"trigger",slug:"trigger",link:"#trigger",children:[]},{level:2,title:"skipDiacritics",slug:"skipdiacritics",link:"#skipdiacritics",children:[]},{level:2,title:"searchFn",slug:"searchfn",link:"#searchfn",children:[]},{level:2,title:"placeholder",slug:"placeholder",link:"#placeholder",children:[]},{level:2,title:"externalQuery",slug:"externalquery",link:"#externalquery",children:[]}],path:"/guide/configuration/search-options.html",pathLocale:"/",extraFields:[]},{title:"Sort Options",headers:[{level:2,title:"enabled",slug:"enabled",link:"#enabled",children:[]},{level:2,title:"initialSortBy",slug:"initialsortby",link:"#initialsortby",children:[]},{level:2,title:"multipleColumns",slug:"multiplecolumns",link:"#multiplecolumns",children:[]}],path:"/guide/configuration/sort-options.html",pathLocale:"/",extraFields:[]},{title:"Table Events",headers:[{level:2,title:"v-on:row-click",slug:"v-on-row-click",link:"#v-on-row-click",children:[]},{level:2,title:"v-on:row-dblclick",slug:"v-on-row-dblclick",link:"#v-on-row-dblclick",children:[]},{level:2,title:"v-on:cell-click",slug:"v-on-cell-click",link:"#v-on-cell-click",children:[]},{level:2,title:"v-on:row-mouseenter",slug:"v-on-row-mouseenter",link:"#v-on-row-mouseenter",children:[]},{level:2,title:"v-on:row-mouseleave",slug:"v-on-row-mouseleave",link:"#v-on-row-mouseleave",children:[]},{level:2,title:"v-on:search",slug:"v-on-search",link:"#v-on-search",children:[]},{level:2,title:"v-on:page-change",slug:"v-on-page-change",link:"#v-on-page-change",children:[]},{level:2,title:"v-on:per-page-change",slug:"v-on-per-page-change",link:"#v-on-per-page-change",children:[]},{level:2,title:"v-on:sort-change",slug:"v-on-sort-change",link:"#v-on-sort-change",children:[]},{level:2,title:"v-on:column-filter",slug:"v-on-column-filter",link:"#v-on-column-filter",children:[]},{level:2,title:"v-on:select-all",slug:"v-on-select-all",link:"#v-on-select-all",children:[]},{level:2,title:"v-on:selected-rows-change",slug:"v-on-selected-rows-change",link:"#v-on-selected-rows-change",children:[]}],path:"/guide/configuration/table-events.html",pathLocale:"/",extraFields:[]},{title:"Themes",headers:[{level:2,title:"Default",slug:"default",link:"#default",children:[]},{level:2,title:"Polar-bear",slug:"polar-bear",link:"#polar-bear",children:[]},{level:2,title:"Black-rhino",slug:"black-rhino",link:"#black-rhino",children:[]},{level:2,title:"Nocturnal",slug:"nocturnal",link:"#nocturnal",children:[]}],path:"/guide/style-configuration/",pathLocale:"/",extraFields:[]},{title:"Sass",headers:[],path:"/guide/style-configuration/sass.html",pathLocale:"/",extraFields:[]},{title:"Style Classes",headers:[{level:2,title:".vgt-table",slug:"vgt-table",link:"#vgt-table",children:[]},{level:2,title:".vgt-table .striped",slug:"vgt-table-striped",link:"#vgt-table-striped",children:[]},{level:2,title:".vgt-table .bordered",slug:"vgt-table-bordered",link:"#vgt-table-bordered",children:[]},{level:2,title:".vgt-table .condensed",slug:"vgt-table-condensed",link:"#vgt-table-condensed",children:[]}],path:"/guide/style-configuration/style-classes.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],Xw=we(Qw),Jw=()=>Xw,Zw=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=U(()=>e.value.filter(i=>i.pathLocale===t.value));return U(()=>{const i=n.value.trim().toLowerCase();if(!i)return[];const a=[],s=(l,u)=>{Yl(i,[u.title])&&a.push({link:`${l.path}#${u.slug}`,title:l.title,header:u.title});for(const f of u.children){if(a.length>=r.value)return;s(l,f)}};for(const l of o.value){if(a.length>=r.value)break;if(Yl(i,[l.title,...l.extraFields])){a.push({link:l.path,title:l.title});continue}for(const u of l.headers){if(a.length>=r.value)break;s(l,u)}}return a})},e_=e=>{const t=we(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},t_=Le({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=Qa(e),o=Vn(),i=Nr(),a=Jw(),s=we(null),l=we(!1),u=we(""),f=U(()=>t.value[i.value]??{}),c=Zw({searchIndex:a,routeLocale:i,query:u,maxSuggestions:r}),{focusIndex:d,focusNext:p,focusPrev:b}=e_(c);Kw({input:s,hotKeys:n});const _=U(()=>l.value&&!!c.value.length),E=()=>{_.value&&b()},L=()=>{_.value&&p()},C=m=>{if(!_.value)return;const w=c.value[m];w&&o.push(w.link).then(()=>{u.value="",d.value=0})};return()=>Ae("form",{class:"search-box",role:"search"},[Ae("input",{ref:s,type:"search",placeholder:f.value.placeholder,autocomplete:"off",spellcheck:!1,value:u.value,onFocus:()=>{l.value=!0},onBlur:()=>{l.value=!1},onInput:m=>{u.value=m.target.value},onKeydown:m=>{switch(m.key){case"ArrowUp":{E();break}case"ArrowDown":{L();break}case"Enter":{m.preventDefault(),C(d.value);break}}}}),_.value&&Ae("ul",{class:"suggestions",onMouseleave:()=>{d.value=-1}},c.value.map(({link:m,title:w,header:M},q)=>Ae("li",{class:["suggestion",{focus:d.value===q}],onMouseenter:()=>{d.value=q},onMousedown:()=>{C(q)}},Ae("a",{href:m,onClick:N=>{N.preventDefault()}},[Ae("span",{class:"page-title"},w),M&&Ae("span",{class:"page-header"},`> ${M}`)]))))])}});var n_=["s","/"],r_={"/":{placeholder:"Search"}};const o_=r_,i_=n_,a_=5,s_=sn({enhance({app:e}){e.component("SearchBox",t=>Ae(t_,{locales:o_,hotKeys:i_,maxSuggestions:a_,...t}))}}),l_=Object.freeze(Object.defineProperty({__proto__:null,default:s_},Symbol.toStringTag,{value:"Module"})),u_="asc",bt={Ascending:"asc",Descending:"desc",None:"none"},Zc={Pages:"pages",Records:"records"},c_=[10,20,30,40,50];var Qo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mi={exports:{}};mi.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",f="[object Boolean]",c="[object Date]",d="[object Error]",p="[object Function]",b="[object GeneratorFunction]",_="[object Map]",E="[object Number]",L="[object Null]",C="[object Object]",m="[object Promise]",w="[object Proxy]",M="[object RegExp]",q="[object Set]",N="[object String]",S="[object Symbol]",G="[object Undefined]",k="[object WeakMap]",H="[object ArrayBuffer]",T="[object DataView]",$="[object Float32Array]",se="[object Float64Array]",fe="[object Int8Array]",j="[object Int16Array]",oe="[object Int32Array]",X="[object Uint8Array]",Re="[object Uint8ClampedArray]",qe="[object Uint16Array]",it="[object Uint32Array]",et=/[\\^$.*+?()[\]{}|]/g,xt=/^\[object .+?Constructor\]$/,He=/^(?:0|[1-9]\d*)$/,re={};re[$]=re[se]=re[fe]=re[j]=re[oe]=re[X]=re[Re]=re[qe]=re[it]=!0,re[s]=re[l]=re[H]=re[f]=re[T]=re[c]=re[d]=re[p]=re[_]=re[E]=re[C]=re[M]=re[q]=re[N]=re[k]=!1;var Me=typeof Qo=="object"&&Qo&&Qo.Object===Object&&Qo,O=typeof self=="object"&&self&&self.Object===Object&&self,W=Me||O||Function("return this")(),Y=t&&!t.nodeType&&t,ee=Y&&!0&&e&&!e.nodeType&&e,be=ee&&ee.exports===Y,ke=be&&Me.process,g=function(){try{return ke&&ke.binding&&ke.binding("util")}catch{}}(),v=g&&g.isTypedArray;function P(h,y){for(var I=-1,ne=h==null?0:h.length,ze=0,ve=[];++I-1}function Nf(h,y){var I=this.__data__,ne=Lo(I,h);return ne<0?(++this.size,I.push([h,y])):I[ne][1]=y,this}ln.prototype.clear=If,ln.prototype.delete=Df,ln.prototype.get=Mf,ln.prototype.has=Ff,ln.prototype.set=Nf;function zn(h){var y=-1,I=h==null?0:h.length;for(this.clear();++yft))return!1;var Ye=ve.get(h);if(Ye&&ve.get(y))return Ye==y;var Dt=-1,zt=!0,wt=I&i?new Ao:void 0;for(ve.set(h,y),ve.set(y,h);++Dt-1&&h%1==0&&h-1&&h%1==0&&h<=a}function Os(h){var y=typeof h;return h!=null&&(y=="object"||y=="function")}function Ur(h){return h!=null&&typeof h=="object"}var Rs=v?Q(v):ed;function pd(h){return dd(h)?Qf(h):td(h)}function gd(){return[]}function md(){return!1}e.exports=hd})(mi,mi.exports);var d_=mi.exports;const va=f_(d_);let Kl={a:["a","à","á","â","ã","ä","å","æ","ā","ă","ą","ǎ","ǟ","ǡ","ǻ","ȁ","ȃ","ȧ","ɐ","ɑ","ɒ","ͣ","а","ӑ","ӓ","ᵃ","ᵄ","ᶏ","ḁ","ẚ","ạ","ả","ấ","ầ","ẩ","ẫ","ậ","ắ","ằ","ẳ","ẵ","ặ","ₐ","ⱥ","a"],b:["b","ƀ","ƃ","ɓ","ᖯ","ᵇ","ᵬ","ᶀ","ḃ","ḅ","ḇ","b"],c:["c","ç","ć","ĉ","ċ","č","ƈ","ȼ","ɕ","ͨ","ᴄ","ᶜ","ḉ","ↄ","c"],d:["d","ď","đ","Ƌ","ƌ","ȡ","ɖ","ɗ","ͩ","ᵈ","ᵭ","ᶁ","ᶑ","ḋ","ḍ","ḏ","ḑ","ḓ","d"],e:["e","è","é","ê","ë","ē","ĕ","ė","ę","ě","ǝ","ȅ","ȇ","ȩ","ɇ","ɘ","ͤ","ᵉ","ᶒ","ḕ","ḗ","ḙ","ḛ","ḝ","ẹ","ẻ","ẽ","ế","ề","ể","ễ","ệ","ₑ","e"],f:["f","ƒ","ᵮ","ᶂ","ᶠ","ḟ","f"],g:["g","ĝ","ğ","ġ","ģ","ǥ","ǧ","ǵ","ɠ","ɡ","ᵍ","ᵷ","ᵹ","ᶃ","ᶢ","ḡ","g"],h:["h","ĥ","ħ","ƕ","ȟ","ɥ","ɦ","ʮ","ʯ","ʰ","ʱ","ͪ","Һ","һ","ᑋ","ᶣ","ḣ","ḥ","ḧ","ḩ","ḫ","ⱨ","h"],i:["i","ì","í","î","ï","ĩ","ī","ĭ","į","ǐ","ȉ","ȋ","ɨ","ͥ","ᴉ","ᵎ","ᵢ","ᶖ","ᶤ","ḭ","ḯ","ỉ","ị","i"],j:["j","ĵ","ǰ","ɉ","ʝ","ʲ","ᶡ","ᶨ","j"],k:["k","ķ","ƙ","ǩ","ʞ","ᵏ","ᶄ","ḱ","ḳ","ḵ","ⱪ","k"],l:["l","ĺ","ļ","ľ","ŀ","ł","ƚ","ȴ","ɫ","ɬ","ɭ","ˡ","ᶅ","ᶩ","ᶪ","ḷ","ḹ","ḻ","ḽ","ℓ","ⱡ"],m:["m","ɯ","ɰ","ɱ","ͫ","ᴟ","ᵐ","ᵚ","ᵯ","ᶆ","ᶬ","ᶭ","ḿ","ṁ","ṃ","㎡","㎥","m"],n:["n","ñ","ń","ņ","ň","ʼn","ƞ","ǹ","ȵ","ɲ","ɳ","ᵰ","ᶇ","ᶮ","ᶯ","ṅ","ṇ","ṉ","ṋ","ⁿ","n"],o:["o","ò","ó","ô","õ","ö","ø","ō","ŏ","ő","ơ","ǒ","ǫ","ǭ","ǿ","ȍ","ȏ","ȫ","ȭ","ȯ","ȱ","ɵ","ͦ","о","ӧ","ө","ᴏ","ᴑ","ᴓ","ᴼ","ᵒ","ᶱ","ṍ","ṏ","ṑ","ṓ","ọ","ỏ","ố","ồ","ổ","ỗ","ộ","ớ","ờ","ở","ỡ","ợ","ₒ","o","𐐬"],p:["p","ᵖ","ᵱ","ᵽ","ᶈ","ṕ","ṗ","p"],q:["q","ɋ","ʠ","ᛩ","q"],r:["r","ŕ","ŗ","ř","ȑ","ȓ","ɍ","ɹ","ɻ","ʳ","ʴ","ʵ","ͬ","ᵣ","ᵲ","ᶉ","ṙ","ṛ","ṝ","ṟ"],s:["s","ś","ŝ","ş","š","ș","ʂ","ᔆ","ᶊ","ṡ","ṣ","ṥ","ṧ","ṩ","s"],t:["t","ţ","ť","ŧ","ƫ","ƭ","ț","ʇ","ͭ","ᵀ","ᵗ","ᵵ","ᶵ","ṫ","ṭ","ṯ","ṱ","ẗ","t"],u:["u","ù","ú","û","ü","ũ","ū","ŭ","ů","ű","ų","ư","ǔ","ǖ","ǘ","ǚ","ǜ","ȕ","ȗ","ͧ","ߎ","ᵘ","ᵤ","ṳ","ṵ","ṷ","ṹ","ṻ","ụ","ủ","ứ","ừ","ử","ữ","ự","u"],v:["v","ʋ","ͮ","ᵛ","ᵥ","ᶹ","ṽ","ṿ","ⱱ","v","ⱴ"],w:["w","ŵ","ʷ","ᵂ","ẁ","ẃ","ẅ","ẇ","ẉ","ẘ","ⱳ","w"],x:["x","̽","͓","ᶍ","ͯ","ẋ","ẍ","ₓ","x"],y:["y","ý","ÿ","ŷ","ȳ","ɏ","ʸ","ẏ","ỳ","ỵ","ỷ","ỹ","y"],z:["z","ź","ż","ž","ƶ","ȥ","ɀ","ʐ","ʑ","ᙆ","ᙇ","ᶻ","ᶼ","ᶽ","ẑ","ẓ","ẕ","ⱬ","z"]};const Ql=function(){let e={};for(let t in Kl){let n=Kl[t];for(let r in n){let o=n[r];o!==t&&(e[o]=t)}}return e}(),h_=/[^a-z0-9\s,.-]/,ba=e=>{if(e.search(h_)===-1)return e;let t="",n=e.length;for(var r=0;re.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),Ar={format(e){return e},filterPredicate(e,t,n=!1,r=!1){if(typeof e>"u"||e===null)return!1;const o=n?String(e).toLowerCase():ba(Xl(String(e)).toLowerCase()),i=n?t.toLowerCase():ba(Xl(t).toLowerCase());return r?o===i:o.indexOf(i)>-1},compare(e,t){function n(r){return typeof r>"u"||r===null?"":ba(String(r).toLowerCase())}return e=n(e),t=n(t),et?1:0}},p_={name:"VgtPaginationPageInfo",props:{currentPage:{default:1},lastPage:{default:1},totalRecords:{default:0},ofText:{default:"of",type:String},pageText:{default:"page",type:String},currentPerPage:{},mode:{default:Zc.Records},infoFn:{default:null}},data(){return{id:this.getId()}},computed:{pageInfo(){return`${this.ofText} ${this.lastPage}`},firstRecordOnPage(){return(this.currentPage-1)*this.currentPerPage+1},lastRecordOnPage(){return Math.min(this.totalRecords,this.currentPage*this.currentPerPage)},recordInfo(){let e=this.firstRecordOnPage;const t=this.lastRecordOnPage;return t===0&&(e=0),`${e} - ${t} ${this.ofText} ${this.totalRecords}`},infoParams(){let e=this.firstRecordOnPage;const t=this.lastRecordOnPage;return t===0&&(e=0),{firstRecordOnPage:e,lastRecordOnPage:t,totalRecords:this.totalRecords,currentPage:this.currentPage,totalPages:this.lastPage}}},methods:{getId(){return`vgt-page-input-${Math.floor(Math.random()*Date.now())}`},changePage(e){const t=parseInt(e.target.value,10);//! invalid number +if(Number.isNaN(t)||t>this.lastPage||t<1)return e.target.value=this.currentPage,!1;e.target.value=t,this.$emit("page-changed",t)}},mounted(){},components:{}},g_={class:"footer__navigation__page-info"},m_={key:0},v_=["for"],b_=["id","value"],y_={key:2};function w_(e,t,n,r,o,i){return x(),R("div",g_,[n.infoFn?(x(),R("div",m_,he(n.infoFn(i.infoParams)),1)):n.mode==="pages"?(x(),R("form",{key:1,onSubmit:t[1]||(t[1]=Fn(()=>{},["prevent"]))},[B("label",{for:o.id,class:"page-info__label"},[B("span",null,he(n.pageText),1),B("input",{id:o.id,"aria-describedby":"change-page-hint","aria-controls":"vgb-table",class:"footer__navigation__page-info__current-entry",type:"text",onKeyup:t[0]||(t[0]=Mi(Fn((...a)=>i.changePage&&i.changePage(...a),["stop"]),["enter"])),value:n.currentPage},null,40,b_),B("span",null,he(i.pageInfo),1)],8,v_),t[2]||(t[2]=B("span",{id:"change-page-hint",style:{display:"none"}}," Type a page number and press Enter to change the page. ",-1))],32)):(x(),R("div",y_,he(i.recordInfo),1))])}const __=Ie(p_,[["render",w_],["__file","VgtPaginationPageInfo.vue"]]),P_={name:"VgtPagination",props:{styleClass:{default:"table table-bordered"},total:{default:null},perPage:{},rtl:{default:!1},perPageDropdownEnabled:{default:!0},customRowsPerPageDropdown:{default(){return[]}},paginateDropdownAllowAll:{default:!0},mode:{default:Zc.Records},nextText:{default:"Next"},prevText:{default:"Prev"},rowsPerPageText:{default:"Rows per page:"},ofText:{default:"of"},pageText:{default:"page"},allText:{default:"All"},infoFn:{default:null}},data(){return{id:this.getId(),currentPage:1,prevPage:0,currentPerPage:10,rowsPerPageOptions:[]}},watch:{perPage:{handler(e,t){this.handlePerPage(),this.perPageChanged(t)},immediate:!0},customRowsPerPageDropdown:{handler(){this.handlePerPage()},deep:!0},total:{handler(e,t){this.rowsPerPageOptions.indexOf(this.currentPerPage)===-1&&(this.currentPerPage=e)}}},computed:{pagesCount(){const e=Math.floor(this.total/this.currentPerPage);return this.total%this.currentPerPage===0?e:e+1},nextIsPossible(){return this.currentPage1}},methods:{getId(){return`vgt-select-rpp-${Math.floor(Math.random()*Date.now())}`},changePage(e,t=!0){e>0&&this.total>this.currentPerPage*(e-1)&&(this.prevPage=this.currentPage,this.currentPage=e,this.pageChanged(t))},nextPage(){this.nextIsPossible&&(this.prevPage=this.currentPage,++this.currentPage,this.pageChanged())},previousPage(){this.prevIsPossible&&(this.prevPage=this.currentPage,--this.currentPage,this.pageChanged())},pageChanged(e=!0){const t={currentPage:this.currentPage,prevPage:this.prevPage};e||(t.noEmit=!0),this.$emit("page-changed",t)},perPageChanged(e){e&&this.$emit("per-page-changed",{currentPerPage:this.currentPerPage}),this.changePage(1,!1)},handlePerPage(){if(this.customRowsPerPageDropdown!==null&&Array.isArray(this.customRowsPerPageDropdown)&&this.customRowsPerPageDropdown.length!==0?this.rowsPerPageOptions=JSON.parse(JSON.stringify(this.customRowsPerPageDropdown)):this.rowsPerPageOptions=JSON.parse(JSON.stringify(c_)),this.perPage){this.currentPerPage=this.perPage;let e=!1;for(let t=0;to.currentPerPage=s),onChange:t[1]||(t[1]=(...s)=>i.perPageChanged&&i.perPageChanged(...s)),"aria-controls":"vgt-table"},[(x(!0),R(me,null,st(o.rowsPerPageOptions,(s,l)=>(x(),R("option",{key:l,value:s},he(s),9,E_))),128)),n.paginateDropdownAllowAll?(x(),R("option",{key:0,value:n.total},he(n.allText),9,k_)):ie("",!0)],40,S_),[[Qp,o.currentPerPage]])])])):ie("",!0),B("div",O_,[ue(a,{onPageChanged:i.changePage,"total-records":n.total,"last-page":i.pagesCount,"current-page":o.currentPage,"current-per-page":o.currentPerPage,"of-text":n.ofText,"page-text":n.pageText,"info-fn":n.infoFn,mode:n.mode},null,8,["onPageChanged","total-records","last-page","current-page","current-per-page","of-text","page-text","info-fn","mode"]),B("button",{type:"button","aria-controls":"vgt-table",class:Ce(["footer__navigation__page-btn",{disabled:!i.prevIsPossible}]),onClick:t[2]||(t[2]=Fn((...s)=>i.previousPage&&i.previousPage(...s),["prevent","stop"]))},[B("span",{"aria-hidden":"true",class:Ce(["chevron",{left:!n.rtl,right:n.rtl}])},null,2),B("span",null,he(n.prevText),1)],2),B("button",{type:"button","aria-controls":"vgt-table",class:Ce(["footer__navigation__page-btn",{disabled:!i.nextIsPossible}]),onClick:t[3]||(t[3]=Fn((...s)=>i.nextPage&&i.nextPage(...s),["prevent","stop"]))},[B("span",null,he(n.nextText),1),B("span",{"aria-hidden":"true",class:Ce(["chevron",{right:!n.rtl,left:n.rtl}])},null,2)],2)])])}const A_=Ie(P_,[["render",R_],["__file","VgtPagination.vue"]]),L_={name:"VgtGlobalSearch",props:["value","searchEnabled","globalSearchPlaceholder"],emits:["input","keyup","enter"],data(){return{globalSearchTerm:null,id:this.getId()}},computed:{showControlBar(){return!!(this.searchEnabled||this.$slots&&this.$slots["internal-table-actions"])}},methods:{updateValue(e){this.$emit("input",e),this.$emit("keyup",e)},entered(e){this.$emit("enter",e)},getId(){return`vgt-search-${Math.floor(Math.random()*Date.now())}`}}},I_={key:0,class:"vgt-global-search vgt-clearfix"},D_={class:"vgt-global-search__input vgt-pull-left"},M_=["for"],F_=["id","placeholder","value"],N_={class:"vgt-global-search__actions vgt-pull-right"};function H_(e,t,n,r,o,i){return i.showControlBar?(x(),R("div",I_,[B("div",D_,[n.searchEnabled?(x(),R("form",{key:0,onSubmit:t[2]||(t[2]=Fn(()=>{},["prevent"])),role:"search"},[B("label",{for:o.id},t[3]||(t[3]=[B("span",{"aria-hidden":"true",class:"input__icon"},[B("div",{class:"magnifying-glass"})],-1),B("span",{class:"sr-only"},"Search",-1)]),8,M_),B("input",{id:o.id,type:"text",class:"vgt-input vgt-pull-left",placeholder:n.globalSearchPlaceholder,value:n.value,onInput:t[0]||(t[0]=a=>i.updateValue(a.target.value)),onKeyup:t[1]||(t[1]=Mi(a=>i.entered(a.target.value),["enter"]))},null,40,F_)],32)):ie("",!0)]),B("div",N_,[pe(e.$slots,"internal-table-actions")])])):ie("",!0)}const $_=Ie(L_,[["render",H_],["__file","VgtGlobalSearch.vue"]]),j_={name:"VgtFilterRow",props:["lineNumbers","columns","expandRowsEnabled","typedColumns","globalSearchEnabled","selectable","mode"],emits:["filter-changed"],watch:{columns:{handler(e,t){this.populateInitialFilters()},deep:!0,immediate:!0}},data(){return{columnFilters:{},timer:null}},computed:{hasFilterRow(){for(let e=0;e{this.updateFiltersImmediately(e.field,t)},400)},updateFiltersImmediately(e,t){this.columnFilters[this.fieldKey(e)]=t,this.$emit("filter-changed",this.columnFilters)},populateInitialFilters(){for(let e=0;e(x(),R(me,{key:s},[a.hidden?ie("",!0):(x(),R("th",{key:0,class:Ce(i.getClasses(a))},[pe(e.$slots,"column-filter",{column:a,updateFilters:i.updateSlotFilter},()=>[i.isFilterable(a)?(x(),R("div",z_,[i.isDropdown(a)?ie("",!0):(x(),R("input",{key:0,name:i.getName(a),type:"text",class:"vgt-input",placeholder:i.getPlaceholder(a),value:o.columnFilters[i.fieldKey(a.field)],onKeyup:Mi(l=>i.updateFiltersOnEnter(a,l.target.value),["enter"]),onInput:l=>i.updateFiltersOnKeyup(a,l.target.value)},null,40,q_)),i.isDropdownArray(a)?(x(),R("select",{key:1,name:i.getName(a),class:"vgt-select",value:o.columnFilters[i.fieldKey(a.field)],onChange:l=>i.updateFiltersImmediately(a.field,l.target.value)},[B("option",Y_,he(i.getPlaceholder(a)),1),(x(!0),R(me,null,st(a.filterOptions.filterDropdownItems,(l,u)=>(x(),R("option",{key:u,value:l},he(l),9,K_))),128))],40,G_)):ie("",!0),i.isDropdownObjects(a)?(x(),R("select",{key:2,name:i.getName(a),class:"vgt-select",value:o.columnFilters[i.fieldKey(a.field)],onChange:l=>i.updateFiltersImmediately(a.field,l.target.value)},[B("option",X_,he(i.getPlaceholder(a)),1),(x(!0),R(me,null,st(a.filterOptions.filterDropdownItems,(l,u)=>(x(),R("option",{key:u,value:l.value},he(l.text),9,J_))),128))],40,Q_)):ie("",!0)])):ie("",!0)])],2))],64))),128))])):ie("",!0)}const e0=Ie(j_,[["render",Z_],["__file","VgtFilterRow.vue"]]);function io(e){return e.firstSortType||u_}function t0(e,t){return e.length===1&&e[0].field===t.field?e[0].type:void 0}function ef(e,t){return bt.Descending===io(t)&&e===bt.Ascending?bt.None:e===bt.Ascending?bt.Descending:bt.Descending===io(t)&&e===bt.Descending?bt.Ascending:e===bt.Descending?bt.None:bt.Descending===io(t)&&e===bt.None?bt.Descending:bt.Ascending}function n0(e,t){for(let n=0;n{const n=t0(e,t),r=ef(n,t);return[{field:t.field,type:n?r:io(t)}]},o0=(e,t)=>{const n=n0(e,t);return n===-1?e.push({field:t.field,type:io(t)}):e[n].type=ef(e[n].type,t),e},i0={name:"VgtTableHeader",props:{lineNumbers:{default:!1,type:Boolean},selectable:{default:!1,type:Boolean},allSelected:{default:!1,type:Boolean},allSelectedIndeterminate:{default:!1,type:Boolean},columns:{type:Array},expandRowsEnabled:{default:!1,type:Boolean},mode:{type:String},typedColumns:{},sortable:{type:Boolean},multipleColumnSort:{type:Boolean,default:!0},getClasses:{type:Function},searchEnabled:{type:Boolean},tableRef:{},paginated:{}},emits:["toggle-select-all","toggle-expand-rows-all","sort-change","filter-changed"],watch:{columns:{handler(){this.setColumnStyles()},immediate:!0,deep:!0},tableRef:{handler(){this.setColumnStyles()},immediate:!0},paginated:{handler(){this.tableRef&&this.setColumnStyles()},deep:!0}},data(){return{checkBoxThStyle:{},lineNumberThStyle:{},columnStyles:[],sorts:[],ro:null}},computed:{},methods:{reset(){this.$refs["filter-row"].reset(!0)},toggleExpandRowsAll(){this.$emit("toggle-expand-rows-all")},toggleSelectAll(){this.$emit("toggle-select-all")},isSortableColumn(e){const{sortable:t}=e;return typeof t=="boolean"?t:this.sortable},sort(e,t){this.isSortableColumn(t)&&(e.shiftKey&&this.multipleColumnSort?this.sorts=o0(this.sorts,t):this.sorts=r0(this.sorts,t),this.$emit("sort-change",this.sorts))},setInitialSort(e){this.sorts=e,this.$emit("sort-change",this.sorts)},getColumnSort(e){for(let t=0;t{"ResizeObserver"in window&&(this.ro=new ResizeObserver(()=>{this.setColumnStyles()}),this.ro.observe(this.$parent.$el),this.tableRef&&Array.from(this.$parent.$refs["table-header-primary"].$el.children[0].children).forEach(e=>{this.ro.observe(e)}))})},beforeUnmount(){this.ro&&this.ro.disconnect()},components:{"vgt-filter-row":e0}},a0={key:0,scope:"col",class:"line-numbers"},s0={key:1,scope:"col",class:"vgt-checkbox-col"},l0=["checked",".indeterminate"],u0={key:2,scope:"col",class:"vgt-checkbox-col"},c0=["title","aria-sort","aria-controls"],f0=["onClick"],d0={class:"sr-only"};function h0(e,t,n,r,o,i){const a=mn("vgt-filter-row");return x(),R("thead",null,[B("tr",null,[n.lineNumbers?(x(),R("th",a0)):ie("",!0),n.selectable?(x(),R("th",s0,[B("input",{type:"checkbox",checked:n.allSelected,".indeterminate":n.allSelectedIndeterminate,onChange:t[0]||(t[0]=(...s)=>i.toggleSelectAll&&i.toggleSelectAll(...s))},null,40,l0)])):ie("",!0),n.expandRowsEnabled?(x(),R("th",u0,[B("a",{href:"",onClick:t[1]||(t[1]=Fn((...s)=>i.toggleExpandRowsAll&&i.toggleExpandRowsAll(...s),["prevent"])),class:"vgt-wrap__expander"}," (+) ")])):ie("",!0),(x(!0),R(me,null,st(n.columns,(s,l)=>(x(),R(me,{key:l},[s.hidden?ie("",!0):(x(),R("th",{key:0,scope:"col",title:s.tooltip,class:Ce(i.getHeaderClasses(s,l)),style:hr(o.columnStyles[l]),"aria-sort":i.getColumnSortLong(s),"aria-controls":`col-${l}`},[pe(e.$slots,"table-column",{column:s},()=>[on(he(s.label),1)]),i.isSortableColumn(s)?(x(),R("button",{key:0,onClick:u=>i.sort(u,s)},[B("span",d0," Sort table by "+he(s.label)+" in "+he(i.getColumnSortLong(s))+" order ",1)],8,f0)):ie("",!0)],14,c0))],64))),128))]),ue(a,{ref:"filter-row",onFilterChanged:i.filterRows,"global-search-enabled":n.searchEnabled,"line-numbers":n.lineNumbers,"expand-rows-enabled":n.expandRowsEnabled,selectable:n.selectable,columns:n.columns,mode:n.mode,"typed-columns":n.typedColumns},{"column-filter":Ue(s=>[pe(e.$slots,"column-filter",{column:s.column,updateFilters:s.updateFilters})]),_:3},8,["onFilterChanged","global-search-enabled","line-numbers","expand-rows-enabled","selectable","columns","mode","typed-columns"])])}const p0=Ie(i0,[["render",h0],["__file","VgtTableHeader.vue"]]),g0={name:"VgtHeaderRow",props:{headerRow:{type:Object},columns:{type:Array},lineNumbers:{type:Boolean},selectable:{type:Boolean},selectAllByGroup:{type:Boolean},collapsable:{type:[Boolean,Number],default:!1},collectFormatted:{type:Function},formattedRow:{type:Function},getClasses:{type:Function},fullColspan:{type:Number},groupIndex:{type:Number}},emits:["vgtExpand","select-group-change"],data(){return{}},computed:{allSelected(){const{headerRow:e}=this;return e.children.filter(t=>t.vgtSelected).length===e.children.length}},methods:{columnCollapsable(e){return this.collapsable===!0?e===0:e===this.collapsable},toggleSelectGroup(e){this.$emit("select-group-change",{groupIndex:this.groupIndex,checked:e.target.checked})}},mounted(){},components:{}},m0=["colspan"],v0=["checked"],b0=["innerHTML"],y0={key:1},w0={key:1,class:"vgt-row-header"},_0={key:2,class:"vgt-row-header"},P0=["checked"],T0=["onClick"],C0={key:0},x0=["innerHTML"];function S0(e,t,n,r,o,i){return x(),R("tr",null,[n.headerRow.mode==="span"?(x(),R("th",{key:0,class:"vgt-left-align vgt-row-header",colspan:n.fullColspan},[n.selectAllByGroup?pe(e.$slots,"table-header-group-select",{key:0,columns:n.columns,row:n.headerRow},()=>[B("input",{type:"checkbox",checked:i.allSelected,onChange:t[0]||(t[0]=a=>i.toggleSelectGroup(a))},null,40,v0)]):ie("",!0),B("span",{onClick:t[1]||(t[1]=a=>n.collapsable?e.$emit("vgtExpand",!n.headerRow.vgtIsExpanded):()=>{})},[n.collapsable?(x(),R("span",{key:0,class:Ce(["triangle",{expand:n.headerRow.vgtIsExpanded}])},null,2)):ie("",!0),pe(e.$slots,"table-header-row",{row:n.headerRow},()=>[n.headerRow.html?(x(),R("span",{key:0,innerHTML:n.headerRow.label},null,8,b0)):(x(),R("span",y0,he(n.headerRow.label),1))])])],8,m0)):ie("",!0),n.headerRow.mode!=="span"&&n.lineNumbers?(x(),R("th",w0)):ie("",!0),n.headerRow.mode!=="span"&&n.selectable?(x(),R("th",_0,[n.selectAllByGroup?pe(e.$slots,"table-header-group-select",{key:0,columns:n.columns,row:n.headerRow},()=>[B("input",{type:"checkbox",checked:i.allSelected,onChange:t[2]||(t[2]=a=>i.toggleSelectGroup(a))},null,40,P0)]):ie("",!0)])):ie("",!0),(x(!0),R(me,null,st(n.columns,(a,s)=>(x(),R(me,{key:s},[n.headerRow.mode!=="span"&&!a.hidden?(x(),R("th",{key:0,class:Ce(["vgt-row-header",n.getClasses(s,"td")]),onClick:l=>i.columnCollapsable(s)?e.$emit("vgtExpand",!n.headerRow.vgtIsExpanded):()=>{}},[i.columnCollapsable(s)?(x(),R("span",{key:0,class:Ce(["triangle",{expand:n.headerRow.vgtIsExpanded}])},null,2)):ie("",!0),pe(e.$slots,"table-header-row",{row:n.headerRow,column:a,formattedRow:n.formattedRow(n.headerRow,!0)},()=>[a.html?ie("",!0):(x(),R("span",C0,he(n.collectFormatted(n.headerRow,a,!0)),1)),a.html?(x(),R("span",{key:1,innerHTML:n.collectFormatted(n.headerRow,a,!0)},null,8,x0)):ie("",!0)])],10,T0)):ie("",!0)],64))),128))])}const E0=Ie(g0,[["render",S0],["__file","VgtHeaderRow.vue"]]);function bn(e){"@babel/helpers - typeof";return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bn(e)}function Lt(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ot(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function gt(e){ot(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||bn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function k0(e,t){ot(2,arguments);var n=gt(e).getTime(),r=Lt(t);return new Date(n+r)}var O0={};function $r(){return O0}function tf(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function R0(e,t){ot(2,arguments);var n=gt(e),r=gt(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}var A0=6e4,L0=36e5,I0=1e3;function D0(e){return ot(1,arguments),e instanceof Date||bn(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function vi(e){if(ot(1,arguments),!D0(e)&&typeof e!="number")return!1;var t=gt(e);return!isNaN(Number(t))}function nf(e,t){ot(2,arguments);var n=Lt(t);return k0(e,-n)}var M0=864e5;function F0(e){ot(1,arguments);var t=gt(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/M0)+1}function Mr(e){ot(1,arguments);var t=1,n=gt(e),r=n.getUTCDay(),o=(r=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function N0(e){ot(1,arguments);var t=rf(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Mr(n);return r}var H0=6048e5;function of(e){ot(1,arguments);var t=gt(e),n=Mr(t).getTime()-N0(t).getTime();return Math.round(n/H0)+1}function fr(e,t){var n,r,o,i,a,s,l,u;ot(1,arguments);var f=$r(),c=Lt((n=(r=(o=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&o!==void 0?o:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=gt(e),p=d.getUTCDay(),b=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(c+1,0,p),b.setUTCHours(0,0,0,0);var _=fr(b,t),E=new Date(0);E.setUTCFullYear(c,0,p),E.setUTCHours(0,0,0,0);var L=fr(E,t);return f.getTime()>=_.getTime()?c+1:f.getTime()>=L.getTime()?c:c-1}function $0(e,t){var n,r,o,i,a,s,l,u;ot(1,arguments);var f=$r(),c=Lt((n=(r=(o=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),d=vs(e,t),p=new Date(0);p.setUTCFullYear(d,0,c),p.setUTCHours(0,0,0,0);var b=fr(p,t);return b}var j0=6048e5;function af(e,t){ot(1,arguments);var n=gt(e),r=fr(n,t).getTime()-$0(n,t).getTime();return Math.round(r/j0)+1}function $e(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return $e(n==="yy"?o%100:o,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):$e(r+1,2)},d:function(t,n){return $e(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return $e(t.getUTCHours()%12||12,n.length)},H:function(t,n){return $e(t.getUTCHours(),n.length)},m:function(t,n){return $e(t.getUTCMinutes(),n.length)},s:function(t,n){return $e(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,o=t.getUTCMilliseconds(),i=Math.floor(o*Math.pow(10,r-3));return $e(i,n.length)}},yr={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},V0={G:function(t,n,r){var o=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var o=t.getUTCFullYear(),i=o>0?o:1-o;return r.ordinalNumber(i,{unit:"year"})}return kn.y(t,n)},Y:function(t,n,r,o){var i=vs(t,o),a=i>0?i:1-i;if(n==="YY"){var s=a%100;return $e(s,2)}return n==="Yo"?r.ordinalNumber(a,{unit:"year"}):$e(a,n.length)},R:function(t,n){var r=rf(t);return $e(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return $e(r,n.length)},Q:function(t,n,r){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(o);case"QQ":return $e(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,n,r){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(o);case"qq":return $e(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,n,r){var o=t.getUTCMonth();switch(n){case"M":case"MM":return kn.M(t,n);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(t,n,r){var o=t.getUTCMonth();switch(n){case"L":return String(o+1);case"LL":return $e(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(t,n,r,o){var i=af(t,o);return n==="wo"?r.ordinalNumber(i,{unit:"week"}):$e(i,n.length)},I:function(t,n,r){var o=of(t);return n==="Io"?r.ordinalNumber(o,{unit:"week"}):$e(o,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):kn.d(t,n)},D:function(t,n,r){var o=F0(t);return n==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):$e(o,n.length)},E:function(t,n,r){var o=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(t,n,r,o){var i=t.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return $e(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,n,r,o){var i=t.getUTCDay(),a=(i-o.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return $e(a,n.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,n,r){var o=t.getUTCDay(),i=o===0?7:o;switch(n){case"i":return String(i);case"ii":return $e(i,n.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(t,n,r){var o=t.getUTCHours(),i=o/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,n,r){var o=t.getUTCHours(),i;switch(o===12?i=yr.noon:o===0?i=yr.midnight:i=o/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,n,r){var o=t.getUTCHours(),i;switch(o>=17?i=yr.evening:o>=12?i=yr.afternoon:o>=4?i=yr.morning:i=yr.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var o=t.getUTCHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{unit:"hour"})}return kn.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):kn.H(t,n)},K:function(t,n,r){var o=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(o,{unit:"hour"}):$e(o,n.length)},k:function(t,n,r){var o=t.getUTCHours();return o===0&&(o=24),n==="ko"?r.ordinalNumber(o,{unit:"hour"}):$e(o,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):kn.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):kn.s(t,n)},S:function(t,n){return kn.S(t,n)},X:function(t,n,r,o){var i=o._originalDate||t,a=i.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return Zl(a);case"XXXX":case"XX":return er(a);case"XXXXX":case"XXX":default:return er(a,":")}},x:function(t,n,r,o){var i=o._originalDate||t,a=i.getTimezoneOffset();switch(n){case"x":return Zl(a);case"xxxx":case"xx":return er(a);case"xxxxx":case"xxx":default:return er(a,":")}},O:function(t,n,r,o){var i=o._originalDate||t,a=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Jl(a,":");case"OOOO":default:return"GMT"+er(a,":")}},z:function(t,n,r,o){var i=o._originalDate||t,a=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Jl(a,":");case"zzzz":default:return"GMT"+er(a,":")}},t:function(t,n,r,o){var i=o._originalDate||t,a=Math.floor(i.getTime()/1e3);return $e(a,n.length)},T:function(t,n,r,o){var i=o._originalDate||t,a=i.getTime();return $e(a,n.length)}};function Jl(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(i===0)return n+String(o);var a=t;return n+String(o)+a+$e(i,2)}function Zl(e,t){if(e%60===0){var n=e>0?"-":"+";return n+$e(Math.abs(e)/60,2)}return er(e,t)}function er(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e),i=$e(Math.floor(o/60),2),a=$e(o%60,2);return r+i+n+a}var eu=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},sf=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},B0=function(t,n){var r=t.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return eu(t,n);var a;switch(o){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",eu(o,n)).replace("{{time}}",sf(i,n))},Fa={p:sf,P:B0},U0=["D","DD"],W0=["YY","YYYY"];function lf(e){return U0.indexOf(e)!==-1}function uf(e){return W0.indexOf(e)!==-1}function bi(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var z0={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"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},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"}},q0=function(t,n,r){var o,i=z0[t];return typeof i=="string"?o=i:n===1?o=i.one:o=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function ya(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var G0={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Y0={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},K0={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Q0={date:ya({formats:G0,defaultWidth:"full"}),time:ya({formats:Y0,defaultWidth:"full"}),dateTime:ya({formats:K0,defaultWidth:"full"})},X0={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},J0=function(t,n,r,o){return X0[t]};function Kr(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",o;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return o[u]}}var Z0={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},eP={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},tP={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},nP={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},rP={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},oP={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},iP=function(t,n){var r=Number(t),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},aP={ordinalNumber:iP,era:Kr({values:Z0,defaultWidth:"wide"}),quarter:Kr({values:eP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Kr({values:tP,defaultWidth:"wide"}),day:Kr({values:nP,defaultWidth:"wide"}),dayPeriod:Kr({values:rP,defaultWidth:"wide",formattingValues:oP,defaultFormattingWidth:"wide"})};function Qr(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?lP(s,function(c){return c.test(a)}):sP(s,function(c){return c.test(a)}),u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(a.length);return{value:u,rest:f}}}function sP(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function lP(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}var cP=/^(\d+)(th|st|nd|rd)?/i,fP=/\d+/i,dP={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},hP={any:[/^b/i,/^(a|c)/i]},pP={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gP={any:[/1/i,/2/i,/3/i,/4/i]},mP={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},vP={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],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]},bP={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yP={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},wP={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_P={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},PP={ordinalNumber:uP({matchPattern:cP,parsePattern:fP,valueCallback:function(t){return parseInt(t,10)}}),era:Qr({matchPatterns:dP,defaultMatchWidth:"wide",parsePatterns:hP,defaultParseWidth:"any"}),quarter:Qr({matchPatterns:pP,defaultMatchWidth:"wide",parsePatterns:gP,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qr({matchPatterns:mP,defaultMatchWidth:"wide",parsePatterns:vP,defaultParseWidth:"any"}),day:Qr({matchPatterns:bP,defaultMatchWidth:"wide",parsePatterns:yP,defaultParseWidth:"any"}),dayPeriod:Qr({matchPatterns:wP,defaultMatchWidth:"any",parsePatterns:_P,defaultParseWidth:"any"})},cf={code:"en-US",formatDistance:q0,formatLong:Q0,formatRelative:J0,localize:aP,match:PP,options:{weekStartsOn:0,firstWeekContainsDate:1}},TP=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,CP=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xP=/^'([^]*?)'?$/,SP=/''/g,EP=/[a-zA-Z]/;function kP(e,t,n){var r,o,i,a,s,l,u,f,c,d,p,b,_,E;ot(2,arguments);var L=String(t),C=$r(),m=(r=(o=void 0)!==null&&o!==void 0?o:C.locale)!==null&&r!==void 0?r:cf,w=Lt((i=(a=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:C.firstWeekContainsDate)!==null&&a!==void 0?a:(u=C.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(w>=1&&w<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=Lt((c=(d=(p=(b=void 0)!==null&&b!==void 0?b:void 0)!==null&&p!==void 0?p:C.weekStartsOn)!==null&&d!==void 0?d:(_=C.locale)===null||_===void 0||(E=_.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&c!==void 0?c:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!m.localize)throw new RangeError("locale must contain localize property");if(!m.formatLong)throw new RangeError("locale must contain formatLong property");var q=gt(e);if(!vi(q))throw new RangeError("Invalid time value");var N=tf(q),S=nf(q,N),G={firstWeekContainsDate:w,weekStartsOn:M,locale:m,_originalDate:q},k=L.match(CP).map(function(H){var T=H[0];if(T==="p"||T==="P"){var $=Fa[T];return $(H,m.formatLong)}return H}).join("").match(TP).map(function(H){if(H==="''")return"'";var T=H[0];if(T==="'")return OP(H);var $=V0[T];if($)return uf(H)&&bi(H,t,String(e)),lf(H)&&bi(H,t,String(e)),$(S,H,m.localize,G);if(T.match(EP))throw new RangeError("Format string contains an unescaped latin alphabet character `"+T+"`");return H}).join("");return k}function OP(e){var t=e.match(xP);return t?t[1].replace(SP,"'"):e}function RP(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function tu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){s=!0,i=u},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Na(e,t){return Na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Na(e,t)}function Se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Na(e,t)}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yi(e)}function ff(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ff=function(){return!!e})()}function LP(e,t){if(t&&(bn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return te(e)}function Ee(e){var t=ff();return function(){var n,r=yi(e);if(t){var o=yi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return LP(this,n)}}function _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){if(bn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(bn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function df(e){var t=IP(e,"string");return bn(t)=="symbol"?t:t+""}function DP(e,t){for(var n=0;n0,r=n?t:1-t,o;if(r<=50)o=e||100;else{var i=r+50,a=Math.floor(i/100)*100,s=e>=i%100;o=e+a-(s?100:0)}return n?o:1-o}function mf(e){return e%400===0||e%4===0&&e%100!==0}var $P=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a0}},{key:"set",value:function(o,i,a){var s=o.getUTCFullYear();if(a.isTwoDigitYear){var l=gf(a.year,s);return o.setUTCFullYear(l,0,1),o.setUTCHours(0,0,0,0),o}var u=!("era"in i)||i.era===1?a.year:1-a.year;return o.setUTCFullYear(u,0,1),o.setUTCHours(0,0,0,0),o}}]),n}(De),jP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a0}},{key:"set",value:function(o,i,a,s){var l=vs(o,s);if(a.isTwoDigitYear){var u=gf(a.year,l);return o.setUTCFullYear(u,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),fr(o,s)}var f=!("era"in i)||i.era===1?a.year:1-a.year;return o.setUTCFullYear(f,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),fr(o,s)}}]),n}(De),VP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=4}},{key:"set",value:function(o,i,a){return o.setUTCMonth((a-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),n}(De),WP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=4}},{key:"set",value:function(o,i,a){return o.setUTCMonth((a-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),n}(De),zP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=11}},{key:"set",value:function(o,i,a){return o.setUTCMonth(a,1),o.setUTCHours(0,0,0,0),o}}]),n}(De),qP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=11}},{key:"set",value:function(o,i,a){return o.setUTCMonth(a,1),o.setUTCHours(0,0,0,0),o}}]),n}(De);function GP(e,t,n){ot(2,arguments);var r=gt(e),o=Lt(t),i=af(r,n)-o;return r.setUTCDate(r.getUTCDate()-i*7),r}var YP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=53}},{key:"set",value:function(o,i,a,s){return fr(GP(o,a,s),s)}}]),n}(De);function KP(e,t){ot(2,arguments);var n=gt(e),r=Lt(t),o=of(n)-r;return n.setUTCDate(n.getUTCDate()-o*7),n}var QP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=53}},{key:"set",value:function(o,i,a){return Mr(KP(o,a))}}]),n}(De),XP=[31,28,31,30,31,30,31,31,30,31,30,31],JP=[31,29,31,30,31,30,31,31,30,31,30,31],ZP=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=JP[l]:i>=1&&i<=XP[l]}},{key:"set",value:function(o,i,a){return o.setUTCDate(a),o.setUTCHours(0,0,0,0),o}}]),n}(De),e1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(o,i,a){return o.setUTCMonth(0,a),o.setUTCHours(0,0,0,0),o}}]),n}(De);function ys(e,t,n){var r,o,i,a,s,l,u,f;ot(2,arguments);var c=$r(),d=Lt((r=(o=(i=(a=n==null?void 0:n.weekStartsOn)!==null&&a!==void 0?a:n==null||(s=n.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&o!==void 0?o:(u=c.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=gt(e),b=Lt(t),_=p.getUTCDay(),E=b%7,L=(E+7)%7,C=(L=0&&i<=6}},{key:"set",value:function(o,i,a,s){return o=ys(o,a,s),o.setUTCHours(0,0,0,0),o}}]),n}(De),n1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=6}},{key:"set",value:function(o,i,a,s){return o=ys(o,a,s),o.setUTCHours(0,0,0,0),o}}]),n}(De),r1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=6}},{key:"set",value:function(o,i,a,s){return o=ys(o,a,s),o.setUTCHours(0,0,0,0),o}}]),n}(De);function o1(e,t){ot(2,arguments);var n=Lt(t);n%7===0&&(n=n-7);var r=1,o=gt(e),i=o.getUTCDay(),a=n%7,s=(a+7)%7,l=(s=1&&i<=7}},{key:"set",value:function(o,i,a){return o=o1(o,a),o.setUTCHours(0,0,0,0),o}}]),n}(De),a1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=12}},{key:"set",value:function(o,i,a){var s=o.getUTCHours()>=12;return s&&a<12?o.setUTCHours(a+12,0,0,0):!s&&a===12?o.setUTCHours(0,0,0,0):o.setUTCHours(a,0,0,0),o}}]),n}(De),c1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=23}},{key:"set",value:function(o,i,a){return o.setUTCHours(a,0,0,0),o}}]),n}(De),f1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=11}},{key:"set",value:function(o,i,a){var s=o.getUTCHours()>=12;return s&&a<12?o.setUTCHours(a+12,0,0,0):o.setUTCHours(a,0,0,0),o}}]),n}(De),d1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&i<=24}},{key:"set",value:function(o,i,a){var s=a<=24?a%24:a;return o.setUTCHours(s,0,0,0),o}}]),n}(De),h1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=59}},{key:"set",value:function(o,i,a){return o.setUTCMinutes(a,0,0),o}}]),n}(De),p1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=0&&i<=59}},{key:"set",value:function(o,i,a){return o.setUTCSeconds(a,0),o}}]),n}(De),g1=function(e){Se(n,e);var t=Ee(n);function n(){var r;_e(this,n);for(var o=arguments.length,i=new Array(o),a=0;a=1&&q<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=Lt((d=(p=(b=(_=void 0)!==null&&_!==void 0?_:void 0)!==null&&b!==void 0?b:w.weekStartsOn)!==null&&p!==void 0?p:(E=w.locale)===null||E===void 0||(L=E.options)===null||L===void 0?void 0:L.weekStartsOn)!==null&&d!==void 0?d:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(m==="")return C===""?gt(n):new Date(NaN);var S={firstWeekContainsDate:q,weekStartsOn:N,locale:M},G=[new NP],k=m.match(P1).map(function(He){var re=He[0];if(re in Fa){var Me=Fa[re];return Me(He,M.formatLong)}return He}).join("").match(_1),H=[],T=nu(k),$;try{var se=function(){var re=$.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&uf(re)&&bi(re,m,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&lf(re)&&bi(re,m,e);var Me=re[0],O=w1[Me];if(O){var W=O.incompatibleTokens;if(Array.isArray(W)){var Y=H.find(function(be){return W.includes(be.token)||be.token===Me});if(Y)throw new RangeError("The format string mustn't contain `".concat(Y.fullToken,"` and `").concat(re,"` at the same time"))}else if(O.incompatibleTokens==="*"&&H.length>0)throw new RangeError("The format string mustn't contain `".concat(re,"` and any other token at the same time"));H.push({token:Me,fullToken:re});var ee=O.run(C,re,M.match,S);if(!ee)return{v:new Date(NaN)};G.push(ee.setter),C=ee.rest}else{if(Me.match(S1))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Me+"`");if(re==="''"?re="'":Me==="'"&&(re=E1(re)),C.indexOf(re)===0)C=C.slice(re.length);else return{v:new Date(NaN)}}};for(T.s();!($=T.n()).done;){var fe=se();if(bn(fe)==="object")return fe.v}}catch(He){T.e(He)}finally{T.f()}if(C.length>0&&x1.test(C))return new Date(NaN);var j=G.map(function(He){return He.priority}).sort(function(He,re){return re-He}).filter(function(He,re,Me){return Me.indexOf(He)===re}).map(function(He){return G.filter(function(re){return re.priority===He}).sort(function(re,Me){return Me.subPriority-re.subPriority})}).map(function(He){return He[0]}),oe=gt(n);if(isNaN(oe.getTime()))return new Date(NaN);var X=nf(oe,tf(oe)),Re={},qe=nu(j),it;try{for(qe.s();!(it=qe.n()).done;){var et=it.value;if(!et.validate(X,S))return new Date(NaN);var xt=et.set(X,Re,S);Array.isArray(xt)?(X=xt[0],RP(Re,xt[1])):X=xt}}catch(He){qe.e(He)}finally{qe.f()}return X}function E1(e){return e.match(T1)[1].replace(C1,"'")}const Ui=Object.assign({},Ar);Ui.isRight=!0;Ui.compare=function(e,t,n){function r(o){if(n&&n.dateInputFormat)return vf(`${o}`,`${n.dateInputFormat}`,new Date);if(typeof o=="string")try{return Date.parse(o)}catch{return o}return o}return e=r(e),t=r(t),vi(e)?vi(t)?R0(e,t):1:-1};Ui.format=function(e,t){if(e==null)return"";const n=vf(e,t.dateInputFormat,new Date);return vi(n)?kP(n,t.dateOutputFormat):(console.error(`Not a valid date: "${e}"`),null)};const k1=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"})),dr=Object.assign({},Ar);dr.isRight=!0;dr.filterPredicate=function(e,t){return dr.compare(e,t)===0};dr.compare=function(e,t){function n(r){return r==null?-1/0:r.indexOf(".")>=0?parseFloat(r):parseInt(r,10)}return e=typeof e=="number"?e:n(e),t=typeof t=="number"?t:n(t),et?1:0};const O1=Object.freeze(Object.defineProperty({__proto__:null,default:dr},Symbol.toStringTag,{value:"Module"})),bf=Object.assign({},dr);bf.format=function(e){return e==null?"":parseFloat(Math.round(e*100)/100).toFixed(2)};const R1=Object.freeze(Object.defineProperty({__proto__:null,default:bf},Symbol.toStringTag,{value:"Module"})),yf=Object.assign({},dr);yf.format=function(e){return e==null?"":`${parseFloat(e*100).toFixed(2)}%`};const A1=Object.freeze(Object.defineProperty({__proto__:null,default:yf},Symbol.toStringTag,{value:"Module"})),yo=Object.assign({},Ar);yo.isRight=!0;yo.filterPredicate=function(e,t){return yo.compare(e,t)===0};yo.compare=function(e,t){function n(r){return typeof r=="boolean"?r?1:0:typeof r=="string"?r==="true"?1:0:-1/0}return e=n(e),t=n(t),et?1:0};const L1=Object.freeze(Object.defineProperty({__proto__:null,default:yo},Symbol.toStringTag,{value:"Module"})),I1={date:k1,decimal:R1,number:O1,percentage:A1,boolean:L1},wf={},ru=I1;Object.keys(ru).forEach(e=>{const t=e.replace(/^\.\//,"").replace(/\.js/,"");wf[t]=ru[e].default});const D1={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,enableRowExpand:{default:!1,type:Boolean},expandRowsOptions:{default(){return{enabled:!1}}},groupOptions:{default(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default(){return{enabled:!1,selectionInfoClass:"",selectionText:e=>e+" row"+(e!==1?"s":"")+" selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!1,alwaysShowSelectionInfo:!1}}},sortOptions:{default(){return{enabled:!0,multipleColumns:!0,initialSortBy:{}}}},paginationOptions:{default(){return{enabled:!1,position:"bottom",perPage:10,perPageDropdown:null,perPageDropdownEnabled:!0,dropdownAllowAll:!0,mode:"records",infoFn:null}}},searchOptions:{default(){return{enabled:!1,trigger:null,externalQuery:null,searchFn:null,placeholder:"Search Table"}}},expandedRowClasses:{default:"",type:String},expandedRowDetailClasses:{default:"",type:String}},data:()=>({tableLoading:!1,nextText:"Next",prevText:"Previous",rowsPerPageText:"Rows per page",ofText:"of",allText:"All",pageText:"page",selectable:!1,selectOnCheckboxOnly:!1,selectAllByPage:!0,disableSelectInfo:!1,selectionInfoClass:"",selectionText:e=>e+" row"+(e!==1?"s":"")+" selected",clearSelectionText:"clear",alwaysShowSelectionInfo:!1,maintainExpanded:!0,expandedRowKeys:new Set,sortable:!0,defaultSortBy:null,multipleColumnSort:!0,searchEnabled:!1,searchTrigger:null,externalSearchQuery:null,searchFn:null,searchPlaceholder:"Search Table",searchSkipDiacritics:!1,perPage:null,paginate:!1,paginateOnTop:!1,paginateOnBottom:!0,customRowsPerPageDropdown:[],paginateDropdownAllowAll:!0,paginationMode:"records",paginationInfoFn:null,currentPage:1,currentPerPage:10,sorts:[],globalSearchTerm:"",filteredRows:[],columnFilters:{},forceSearch:!1,sortChanged:!1,dataTypes:wf||{},expandedRowIndex:null}),emits:["select-all","selected-rows-change","search","per-page-change","page-change","update:isLoading","sort-change","row-click","row-dblclick","row-aux-click","cell-click","row-mouseenter","row-mouseleave","column-filter"],watch:{rows:{handler(){this.$emit("update:isLoading",!1),this.filterRows(this.columnFilters,!1)},deep:!0,immediate:!0},selectOptions:{handler(){this.initializeSelect()},deep:!0,immediate:!0},paginationOptions:{handler(e,t){va(e,t)||this.initializePagination()},deep:!0,immediate:!0},expandRowsOptions:{handler(e,t){this.initializeExpandRows()},deep:!0,immediate:!0},searchOptions:{handler(){this.searchOptions.externalQuery!==void 0&&this.searchOptions.externalQuery!==this.searchTerm&&(this.externalSearchQuery=this.searchOptions.externalQuery,this.handleSearch()),this.initializeSearch()},deep:!0,immediate:!0},sortOptions:{handler(e,t){va(e,t)||this.initializeSort()},deep:!0},selectedRows(e,t){va(e,t)||this.$emit("selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot(){return!!this.$slots["table-actions-bottom"]},wrapperStyles(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField(){return this.groupOptions.rowKey||"vgt_header_id"},hasHeaderRowTemplate(){return!!this.$slots["table-header-row"]},showEmptySlot(){return!this.paginated.length||this.paginated[0].label==="no groups"&&!this.paginated[0].children.length},allSelected(){return this.selectedRowCount>0&&(this.selectAllByPage&&this.selectedPageRowsCount===this.totalPageRowCount||!this.selectAllByPage&&this.selectedRowCount===this.totalRowCount)},allSelectedIndeterminate(){return!this.allSelected&&(this.selectAllByPage&&this.selectedPageRowsCount>0||!this.selectAllByPage&&this.selectedRowCount>0)},selectionInfo(){return typeof this.selectionText=="function"?this.selectionText(this.selectedRowCount):`${this.selectedRowCount} ${this.selectionText}`},selectedRowCount(){return this.selectedRows.length},selectedPageRowsCount(){return this.selectedPageRows.length},selectedPageRows(){const e=[];return this.paginated.forEach(t=>{t.children.forEach(n=>{n.vgtSelected&&e.push(n)})}),e},selectedRows(){const e=[];return this.processedRows.forEach(t=>{t.children.forEach(n=>{n.vgtSelected&&e.push(n)})}),e.sort((t,n)=>t.originalIndex-n.originalIndex)},fullColspan(){let e=0;for(let t=0;t{const r=n.children?n.children.length:0;return t+r},0)},totalPageRowCount(){return this.paginated.reduce((t,n)=>{const r=n.children?n.children.length:0;return t+r},0)},wrapStyleClasses(){let e="vgt-wrap";return this.rtl&&(e+=" rtl"),e+=` ${this.theme}`,e},tableStyleClasses(){let e=this.styleClass;return e+=` ${this.theme}`,e},searchTerm(){return this.externalSearchQuery!=null?this.externalSearchQuery:this.globalSearchTerm},globalSearchAllowed(){return this.searchEnabled&&this.globalSearchTerm&&this.searchTrigger!=="enter"||this.externalSearchQuery!=null&&this.searchTrigger!=="enter"?!0:this.forceSearch?(this.forceSearch=!1,!0):!1},processedRows(){let e=this.filteredRows;if(this.mode==="remote")return e;if(this.globalSearchAllowed){const t=[];this.filteredRows.forEach(r=>{t.push(...r.children)});const n=[];t.forEach(r=>{for(let o=0;o{const o=r.vgt_header_id,i=n.filter(a=>a.vgt_id===o);if(i.length){const a=JSON.parse(JSON.stringify(r));a.children=i,e.push(a)}})}return this.sorts.length&&e.forEach(t=>{t.children.sort((n,r)=>{let o;for(let i=0;i{this.groupOptions.enabled&&e.push(n),e.push(...n.children)}),this.paginate){let n=(this.currentPage-1)*this.currentPerPage;(n>=e.length||this.currentPerPage===-1)&&(this.currentPage=1,n=0);let r=e.length+1;this.currentPerPage!==-1&&(r=this.currentPage*this.currentPerPage),e=e.slice(n,r)}const t=[];return e.forEach(n=>{if(n.vgt_header_id!==void 0){this.handleExpanded(n);const r=JSON.parse(JSON.stringify(n));r.children=[],t.push(r)}else{let r=t.find(o=>o.vgt_header_id===n.vgt_id);r||(r=this.processedRows.find(o=>o.vgt_header_id===n.vgt_id),r&&(r=JSON.parse(JSON.stringify(r)),r.children=[],t.push(r))),r.children.push(n)}}),t},originalRows(){const e=JSON.parse(JSON.stringify(this.rows));let t=[];this.groupOptions.enabled?t=this.handleGrouped(e):t=this.handleGrouped([{label:"no groups",children:e}]);let n=0;return t.forEach(r=>{r.children.forEach(o=>{o.originalIndex=n++})}),t},typedColumns(){const e=this.columns;for(let t=0;tn[this.rowKeyField]===e);t&&(t.vgtIsExpanded=!t.vgtIsExpanded),this.maintainExpanded&&t.vgtIsExpanded?this.expandedRowKeys.add(t[this.rowKeyField]):this.expandedRowKeys.delete(t[this.rowKeyField])},expandAll(){this.filteredRows.forEach(e=>{e.vgtIsExpanded=!0,this.maintainExpanded&&this.expandedRowKeys.add(e[this.rowKeyField])})},collapseAll(){this.filteredRows.forEach(e=>{e.vgtIsExpanded=!1,this.expandedRowKeys.clear()})},getColumnForField(e){for(let t=0;t{n.children.forEach((o,i)=>{o.vgtSelected=!1})}),this.emitSelectedRows()},toggleSelectAll(){if(this.allSelected){this.unselectAllInternal();return}(this.selectAllByPage?this.paginated:this.filteredRows).forEach(t=>{t.children.forEach(n=>{n.vgtSelected=!0})}),this.emitSelectedRows()},toggleExpandRowsAll(){for(let e of this.rows)e.expandedRow?e.expanded=!e.expanded:e.expanded=!1;this.$emit("toggle-expand-rows-all",{})},toggleSelectGroup(e,t){t.children.forEach(n=>{n.vgtSelected=e.checked})},changePage(e){const t=this.paginate;let{paginationBottom:n,paginationTop:r}=this.$refs;t&&(this.paginateOnTop&&r&&(r.currentPage=e),this.paginateOnBottom&&n&&(n.currentPage=e),this.currentPage=e)},pageChangedEvent(){return{currentPage:this.currentPage,currentPerPage:this.currentPerPage,total:Math.floor(this.totalRowCount/this.currentPerPage)}},pageChanged(e){if(this.currentPage=e.currentPage,!e.noEmit){const t=this.pageChangedEvent();t.prevPage=e.prevPage,this.$emit("page-change",t),this.mode==="remote"&&this.$emit("update:isLoading",!0)}},perPageChanged(e){this.currentPerPage=e.currentPerPage;let t=this.paginationOptions.position;this.$refs.paginationTop&&(t==="top"||t==="both")&&(this.$refs.paginationTop.currentPerPage=this.currentPerPage),this.$refs.paginationBottom&&(t==="bottom"||t==="both")&&(this.$refs.paginationBottom.currentPerPage=this.currentPerPage);const n=this.pageChangedEvent();this.$emit("per-page-change",n),this.mode==="remote"&&this.$emit("update:isLoading",!0)},changeSort(e){if(this.sorts=e,this.$emit("sort-change",e),this.changePage(1),this.mode==="remote"){this.$emit("update:isLoading",!0);return}this.sortChanged=!0},toggleRowExpand(e,t){this.expandedRowIndex===t?this.expandedRowIndex=null:this.expandedRowIndex=t},onCheckboxClicked(e,t,n){this.enableRowExpand&&this.toggleRowExpand(e,t),e.vgtSelected=!e.vgtSelected,this.$emit("row-click",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},toggleExpandRow(e){e.expanded=!e.expanded},onRowDoubleClicked(e,t,n){this.$emit("row-dblclick",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},onRowClicked(e,t,n){this.enableRowExpand&&this.toggleRowExpand(e,t),this.selectable&&!this.selectOnCheckboxOnly&&(e.vgtSelected=!e.vgtSelected),this.$emit("row-click",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},onRowAuxClicked(e,t,n){this.$emit("row-aux-click",{row:e,pageIndex:t,selected:!!e.vgtSelected,event:n})},onCellClicked(e,t,n,r){this.$emit("cell-click",{row:e,column:t,rowIndex:n,event:r})},onMouseenter(e,t){this.$emit("row-mouseenter",{row:e,pageIndex:t})},onMouseleave(e,t){this.$emit("row-mouseleave",{row:e,pageIndex:t})},searchTableOnEnter(){this.searchTrigger==="enter"&&(this.handleSearch(),this.filteredRows=JSON.parse(JSON.stringify(this.originalRows)),this.forceSearch=!0,this.sortChanged=!0)},searchTableOnKeyUp(){this.searchTrigger!=="enter"&&this.handleSearch()},resetTable(){this.unselectAllInternal(!0),this.changePage(1)},collect(e,t){function n(r,o){let i=r;const a=o.split(".");for(let s=0;s"u"||i===null)return;i=i[a[s]]}return i}if(typeof t=="function")return t(e);if(typeof t=="string")return n(e,t)},collectFormatted(e,t,n=!1){let r;if(n&&t.headerField?r=this.collect(e,t.headerField):r=this.collect(e,t.field),r===void 0)return"";if(t.formatFn&&typeof t.formatFn=="function")return t.formatFn(r,e);let o=t.typeDef;o||(o=this.dataTypes[t.type]||Ar);let i=o.format(r,t);return this.compactMode&&(i==""||i==null)?"-":i},formattedRow(e,t=!1){const n={};for(let r=0;rtypeof i=="function"&&i.name?i.name:i;for(let i=0;i{const l=s.children.filter(u=>{if(a.filterOptions&&typeof a.filterOptions.filterFn=="function")return a.filterOptions.filterFn(this.collect(u,a.field),this.columnFilters[o(a.field)]);const{typeDef:f}=a;return f.filterPredicate(this.collect(u,a.field),this.columnFilters[o(a.field)],!1,a.filterOptions&&typeof a.filterOptions.filterDropdownItems=="object")});s.children=l}))}}r?this.filteredRows=n.filter(o=>o.children&&o.children.length):this.filteredRows=n},getCurrentIndex(e){let t=0,n=!1;for(let r=0;r{t.vgt_header_id=n,this.groupOptions.maintainExpanded&&this.expandedRowKeys.has(t[this.groupOptions.rowKey])&&(t.vgtIsExpanded=!0),t.children.forEach(r=>{r.vgt_id=n})}),e},initializePagination(){const{enabled:e,perPage:t,position:n,perPageDropdown:r,perPageDropdownEnabled:o,dropdownAllowAll:i,nextLabel:a,prevLabel:s,rowsPerPageLabel:l,ofLabel:u,pageLabel:f,allLabel:c,setCurrentPage:d,mode:p,infoFn:b}=this.paginationOptions;typeof e=="boolean"&&(this.paginate=e),typeof t=="number"&&(this.perPage=t),n==="top"?(this.paginateOnTop=!0,this.paginateOnBottom=!1):n==="both"&&(this.paginateOnTop=!0,this.paginateOnBottom=!0),Array.isArray(r)&&r.length&&(this.customRowsPerPageDropdown=r,this.perPage||([this.perPage]=r)),typeof o=="boolean"&&(this.perPageDropdownEnabled=o),typeof i=="boolean"&&(this.paginateDropdownAllowAll=i),typeof p=="string"&&(this.paginationMode=p),typeof a=="string"&&(this.nextText=a),typeof s=="string"&&(this.prevText=s),typeof l=="string"&&(this.rowsPerPageText=l),typeof u=="string"&&(this.ofText=u),typeof f=="string"&&(this.pageText=f),typeof c=="string"&&(this.allText=c),typeof d=="number"&&setTimeout(()=>{this.changePage(d)},500),typeof b=="function"&&(this.paginationInfoFn=b)},initializeExpandRows(){const{enabled:e}=this.expandRowsOptions;typeof e=="boolean"&&(this.expandRowsEnabled=e)},initializeSearch(){const{enabled:e,trigger:t,externalQuery:n,searchFn:r,placeholder:o,skipDiacritics:i}=this.searchOptions;typeof e=="boolean"&&(this.searchEnabled=e),t==="enter"&&(this.searchTrigger=t),typeof n=="string"&&(this.externalSearchQuery=n),typeof r=="function"&&(this.searchFn=r),typeof o=="string"&&(this.searchPlaceholder=o),typeof i=="boolean"&&(this.searchSkipDiacritics=i)},initializeSort(){const{enabled:e,initialSortBy:t,multipleColumns:n}=this.sortOptions,r=JSON.parse(JSON.stringify(t||{}));if(typeof e=="boolean"&&(this.sortable=e),typeof n=="boolean"&&(this.multipleColumnSort=n),typeof r=="object"){const o=this.fixedHeader?this.$refs["table-header-secondary"]:this.$refs["table-header-primary"];Array.isArray(r)?o.setInitialSort(r):Object.prototype.hasOwnProperty.call(r,"field")&&o.setInitialSort([r])}},initializeSelect(){const{enabled:e,selectionInfoClass:t,selectionText:n,clearSelectionText:r,selectOnCheckboxOnly:o,selectAllByPage:i,disableSelectInfo:a,selectAllByGroup:s,alwaysShowSelectionInfo:l}=this.selectOptions;typeof e=="boolean"&&(this.selectable=e),typeof o=="boolean"&&(this.selectOnCheckboxOnly=o),typeof i=="boolean"&&(this.selectAllByPage=i),typeof s=="boolean"&&(this.selectAllByGroup=s),typeof a=="boolean"&&(this.disableSelectInfo=a),typeof t=="string"&&(this.selectionInfoClass=t),(typeof n=="string"||typeof n=="function")&&(this.selectionText=n),typeof l=="boolean"&&(this.alwaysShowSelectionInfo=l),typeof r=="string"&&(this.clearSelectionText=r)}},mounted(){this.perPage&&(this.currentPerPage=this.perPage),this.initializeSort()},components:{"vgt-pagination":A_,"vgt-global-search":$_,"vgt-header-row":E0,"vgt-table-header":p0}},M1={key:0,class:"vgt-loading vgt-center-align"},F1={class:"vgt-selection-info-row__actions vgt-pull-right"},N1={class:"vgt-fixed-header"},H1=["id"],$1=["id"],j1=["onMouseenter","onMouseleave","onDblclick","onClick","onAuxclick"],V1={key:0,class:"line-numbers"},B1=["onClick"],U1=["disabled","checked"],W1=["onClick","data-label"],z1={key:0},q1=["innerHTML"],G1=["colspan"],Y1=["colspan"],K1={key:0},Q1=["colspan"],X1={key:2,class:"vgt-wrap__actions-footer"};function J1(e,t,n,r,o,i){const a=mn("vgt-pagination"),s=mn("vgt-global-search"),l=mn("vgt-table-header"),u=mn("vgt-header-row");return x(),R("div",{class:Ce(i.wrapStyleClasses)},[n.isLoading?(x(),R("div",M1,[pe(e.$slots,"loadingContent",{},()=>[t[2]||(t[2]=B("span",{class:"vgt-loading__content"}," Loading... ",-1))])])):ie("",!0),B("div",{class:Ce(["vgt-inner-wrap",{"is-loading":n.isLoading}])},[e.paginate&&e.paginateOnTop?pe(e.$slots,"pagination-top",{key:0,pageChanged:i.pageChanged,perPageChanged:i.perPageChanged,total:n.totalRows||i.totalRowCount},()=>[ue(a,{ref:"paginationTop",onPageChanged:i.pageChanged,onPerPageChanged:i.perPageChanged,perPage:e.perPage,rtl:n.rtl,total:n.totalRows||i.totalRowCount,mode:e.paginationMode,nextText:e.nextText,prevText:e.prevText,rowsPerPageText:e.rowsPerPageText,perPageDropdownEnabled:n.paginationOptions.perPageDropdownEnabled,customRowsPerPageDropdown:e.customRowsPerPageDropdown,paginateDropdownAllowAll:e.paginateDropdownAllowAll,ofText:e.ofText,pageText:e.pageText,allText:e.allText,"info-fn":e.paginationInfoFn},null,8,["onPageChanged","onPerPageChanged","perPage","rtl","total","mode","nextText","prevText","rowsPerPageText","perPageDropdownEnabled","customRowsPerPageDropdown","paginateDropdownAllowAll","ofText","pageText","allText","info-fn"])]):ie("",!0),ue(s,{onKeyup:i.searchTableOnKeyUp,onEnter:i.searchTableOnEnter,value:e.globalSearchTerm,onInput:t[0]||(t[0]=f=>e.globalSearchTerm=f),"search-enabled":e.searchEnabled&&e.externalSearchQuery==null,"global-search-placeholder":e.searchPlaceholder},ra({_:2},[e.$slots["table-actions"]?{name:"internal-table-actions",fn:Ue(()=>[pe(e.$slots,"table-actions")]),key:"0"}:void 0]),1032,["onKeyup","onEnter","value","search-enabled","global-search-placeholder"]),e.alwaysShowSelectionInfo||i.selectedRowCount&&!e.disableSelectInfo?(x(),R("div",{key:1,class:Ce(["vgt-selection-info-row clearfix",e.selectionInfoClass])},[on(he(i.selectionInfo)+" ",1),B("a",{href:"",onClick:t[1]||(t[1]=Fn(f=>i.unselectAllInternal(!0),["prevent"]))},he(e.clearSelectionText),1),B("div",F1,[pe(e.$slots,"selected-row-actions")])],2)):ie("",!0),B("div",N1,[n.fixedHeader?(x(),R("table",{key:0,id:"vgt-table",class:Ce(i.tableStyleClasses)},[B("colgroup",null,[(x(!0),R(me,null,st(n.columns,(f,c)=>(x(),R("col",{key:c,id:`col-${c}`},null,8,H1))),128))]),ue(l,{ref:"table-header-secondary",onToggleSelectAll:i.toggleSelectAll,onToggleExpandRowsAll:i.toggleExpandRowsAll,onSortChange:i.changeSort,onFilterChanged:i.filterRows,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"all-selected":i.allSelected,"all-selected-indeterminate":i.allSelectedIndeterminate,mode:n.mode,sortable:e.sortable,"multiple-column-sort":e.multipleColumnSort,"typed-columns":i.typedColumns,getClasses:i.getClasses,searchEnabled:e.searchEnabled,paginated:i.paginated,"table-ref":e.$refs.table},{"table-column":Ue(f=>[pe(e.$slots,"table-column",{column:f.column},()=>[B("span",null,he(f.column.label),1)])]),"column-filter":Ue(f=>[pe(e.$slots,"column-filter",{column:f.column,updateFilters:f.updateFilters})]),_:3},8,["onToggleSelectAll","onToggleExpandRowsAll","onSortChange","onFilterChanged","columns","line-numbers","selectable","all-selected","all-selected-indeterminate","mode","sortable","multiple-column-sort","typed-columns","getClasses","searchEnabled","paginated","table-ref"])],2)):ie("",!0)]),B("div",{class:Ce({"vgt-responsive":n.responsive}),style:hr(i.wrapperStyles)},[B("table",{id:"vgt-table",ref:"table",class:Ce(i.tableStyles)},[B("colgroup",null,[(x(!0),R(me,null,st(n.columns,(f,c)=>(x(),R("col",{key:c,id:`col-${c}`},null,8,$1))),128))]),ue(l,{ref:"table-header-primary",onToggleSelectAll:i.toggleSelectAll,onToggleExpandRowsAll:i.toggleExpandRowsAll,onSortChange:i.changeSort,onFilterChanged:i.filterRows,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"all-selected":i.allSelected,"all-selected-indeterminate":i.allSelectedIndeterminate,mode:n.mode,sortable:e.sortable,"multiple-column-sort":e.multipleColumnSort,"typed-columns":i.typedColumns,getClasses:i.getClasses,searchEnabled:e.searchEnabled},{"table-column":Ue(f=>[pe(e.$slots,"table-column",{column:f.column},()=>[B("span",null,he(f.column.label),1)])]),"column-filter":Ue(f=>[pe(e.$slots,"column-filter",{column:f.column,updateFilters:f.updateFilters})]),_:3},8,["onToggleSelectAll","onToggleExpandRowsAll","onSortChange","onFilterChanged","columns","line-numbers","selectable","all-selected","all-selected-indeterminate","mode","sortable","multiple-column-sort","typed-columns","getClasses","searchEnabled"]),(x(!0),R(me,null,st(i.paginated,(f,c)=>(x(),R("tbody",{key:c},[i.groupHeaderOnTop?(x(),Qe(u,{key:0,onVgtExpand:d=>i.toggleExpand(f[i.rowKeyField]),"header-row":f,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"select-all-by-group":e.selectAllByGroup,collapsable:n.groupOptions.collapsable,"collect-formatted":i.collectFormatted,"formatted-row":i.formattedRow,class:Ce(i.getRowStyleClass(f)),"get-classes":i.getClasses,"full-colspan":i.fullColspan,groupIndex:c,onSelectGroupChange:d=>i.toggleSelectGroup(d,f)},ra({_:2},[i.hasHeaderRowTemplate?{name:"table-header-row",fn:Ue(d=>[pe(e.$slots,"table-header-row",{column:d.column,formattedRow:d.formattedRow,row:d.row})]),key:"0"}:void 0]),1032,["onVgtExpand","header-row","columns","line-numbers","selectable","select-all-by-group","collapsable","collect-formatted","formatted-row","class","get-classes","full-colspan","groupIndex","onSelectGroupChange"])):ie("",!0),(x(!0),R(me,null,st(f.children,(d,p)=>(x(),R(me,null,[!n.groupOptions.collapsable||f.vgtIsExpanded?(x(),R("tr",{key:d.originalIndex,class:Ce(i.getRowStyleClass(d)),onMouseenter:b=>i.onMouseenter(d,p),onMouseleave:b=>i.onMouseleave(d,p),onDblclick:b=>i.onRowDoubleClicked(d,p,b),onClick:b=>i.onRowClicked(d,p,b),onAuxclick:b=>i.onRowAuxClicked(d,p,b)},[n.lineNumbers?(x(),R("th",V1,he(i.getCurrentIndex(d.originalIndex)),1)):ie("",!0),e.selectable?(x(),R("th",{key:1,onClick:Fn(b=>i.onCheckboxClicked(d,p,b),["stop"]),class:"vgt-checkbox-col"},[B("input",{type:"checkbox",disabled:d.vgtDisabled,checked:d.vgtSelected},null,8,U1)],8,B1)):ie("",!0),(x(!0),R(me,null,st(n.columns,(b,_)=>(x(),R(me,null,[!b.hidden&&b.field?(x(),R("td",{key:_,onClick:E=>i.onCellClicked(d,b,p,E),class:Ce(i.getClasses(_,"td",d)),"data-label":n.compactMode?b.label:void 0},[pe(e.$slots,"table-row",{row:d,column:b,formattedRow:i.formattedRow(d),index:p,expandedRow:e.expandedRowIndex===p},()=>[b.html?(x(),R("span",{key:1,innerHTML:i.collect(d,b.field)},null,8,q1)):(x(),R("span",z1,he(i.collectFormatted(d,b)),1))])],10,W1)):ie("",!0)],64))),256))],42,j1)):ie("",!0),e.expandedRowIndex===p?(x(),R("tr",{class:Ce(n.expandedRowDetailClasses),key:d.originalIndex},[B("td",{colspan:i.fullColspan},[pe(e.$slots,"row-details",{row:d,formattedRow:i.formattedRow(d),index:p})],8,G1)],2)):ie("",!0),d.expanded?(x(),R("tr",{key:d.originalIndex},[B("td",{colspan:i.fullColspan},he(d.expandedRow),9,Y1)])):ie("",!0)],64))),256)),i.groupHeaderOnBottom?(x(),Qe(u,{key:1,"header-row":f,columns:n.columns,"line-numbers":n.lineNumbers,selectable:e.selectable,"select-all-by-group":e.selectAllByGroup,"collect-formatted":i.collectFormatted,"formatted-row":i.formattedRow,"get-classes":i.getClasses,"full-colspan":i.fullColspan,groupIndex:e.index,onSelectGroupChange:d=>i.toggleSelectGroup(d,f)},ra({_:2},[i.hasHeaderRowTemplate?{name:"table-header-row",fn:Ue(d=>[pe(e.$slots,"table-header-row",{column:d.column,formattedRow:d.formattedRow,row:d.row})]),key:"0"}:void 0]),1032,["header-row","columns","line-numbers","selectable","select-all-by-group","collect-formatted","formatted-row","get-classes","full-colspan","groupIndex","onSelectGroupChange"])):ie("",!0)]))),128)),i.showEmptySlot?(x(),R("tbody",K1,[B("tr",null,[B("td",{colspan:i.fullColspan},[pe(e.$slots,"emptystate",{},()=>[t[3]||(t[3]=B("div",{class:"vgt-center-align vgt-text-disabled"}," No data for table ",-1))])],8,Q1)])])):ie("",!0)],2)],6),i.hasFooterSlot?(x(),R("div",X1,[pe(e.$slots,"table-actions-bottom")])):ie("",!0),e.paginate&&e.paginateOnBottom?pe(e.$slots,"pagination-bottom",{key:3,pageChanged:i.pageChanged,perPageChanged:i.perPageChanged,total:n.totalRows||i.totalRowCount},()=>[ue(a,{ref:"paginationBottom",onPageChanged:i.pageChanged,onPerPageChanged:i.perPageChanged,perPage:e.perPage,rtl:n.rtl,total:n.totalRows||i.totalRowCount,mode:e.paginationMode,nextText:e.nextText,prevText:e.prevText,rowsPerPageText:e.rowsPerPageText,perPageDropdownEnabled:n.paginationOptions.perPageDropdownEnabled,customRowsPerPageDropdown:e.customRowsPerPageDropdown,paginateDropdownAllowAll:e.paginateDropdownAllowAll,ofText:e.ofText,pageText:e.pageText,allText:e.allText,"info-fn":e.paginationInfoFn},null,8,["onPageChanged","onPerPageChanged","perPage","rtl","total","mode","nextText","prevText","rowsPerPageText","perPageDropdownEnabled","customRowsPerPageDropdown","paginateDropdownAllowAll","ofText","pageText","allText","info-fn"])]):ie("",!0)],2)],2)}const Z1=Ie(D1,[["render",J1],["__file","Table.vue"]]),eT={install:(e,t)=>{e.component("VueGoodTable",Z1)}},tT=sn({enhance({app:e}){e.use(eT)},setup(){},rootComponents:[]}),nT=Object.freeze(Object.defineProperty({__proto__:null,default:tT},Symbol.toStringTag,{value:"Module"})),Xo=[lv,bv,xv,Sv,$v,zv,qv,Jv,Nw,$w,Ww,l_,nT].map(e=>e.default).filter(Boolean),rT=JSON.parse('{"base":"/vue-good-table-next/","lang":"en-US","title":"vue-good-table-next","description":"A powerful data table plugin for Vue 3.X","head":[["link",{"rel":"icon","href":"/vue-good-table-next/favicon.png"}]],"locales":{}}');var Jr=Dn(rT),oT=Qg,iT=()=>{const e=_m({history:oT(gc("/vue-good-table-next/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===hn){const r=vo(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},aT=e=>{e.component("ClientOnly",us),e.component("Content",cs),e.component("RouteLink",$i)},sT=(e,t,n)=>{const r=U(()=>t.currentRoute.value.path),o=oh((E,L)=>({get(){return E(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,L()}})),i=U(()=>Xn.resolveLayouts(n)),a=U(()=>Xn.resolveRouteLocale(Jr.value.locales,r.value)),s=U(()=>Xn.resolveSiteLocaleData(Jr.value,a.value)),l=U(()=>o.value.comp),u=U(()=>o.value.data),f=U(()=>u.value.frontmatter),c=U(()=>Xn.resolvePageHeadTitle(u.value,s.value)),d=U(()=>Xn.resolvePageHead(c.value,f.value,s.value)),p=U(()=>Xn.resolvePageLang(u.value,s.value)),b=U(()=>Xn.resolvePageLayout(u.value,i.value)),_={layouts:i,pageData:u,pageComponent:l,pageFrontmatter:f,pageHead:d,pageHeadTitle:c,pageLang:p,pageLayout:b,redirects:Ia,routeLocale:a,routePath:r,routes:Or,siteData:Jr,siteLocaleData:s};return e.provide(ss,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>d.value},$headTitle:{get:()=>c.value},$lang:{get:()=>p.value},$page:{get:()=>u.value},$routeLocale:{get:()=>a.value},$site:{get:()=>Jr.value},$siteLocale:{get:()=>s.value},$withBase:{get:()=>fs}}),_},lT=()=>{const e=Cm(),t=xm();let n=[];const r=()=>{e.value.forEach(a=>{const s=uT(a);s&&n.push(s)})},o=()=>{const a=[];return e.value.forEach(s=>{const l=cT(s);l&&a.push(l)}),a},i=()=>{document.documentElement.lang=t.value;const a=o();n.forEach((s,l)=>{const u=a.findIndex(f=>s.isEqualNode(f));u===-1?(s.remove(),delete n[l]):a.splice(u,1)}),a.forEach(s=>document.head.appendChild(s)),n=[...n.filter(s=>!!s),...a]};lr(km,i),Ct(()=>{r(),pt(e,i,{immediate:!1})})},uT=([e,t,n=""])=>{const r=Object.entries(t).map(([s,l])=>Wt(l)?`[${s}=${JSON.stringify(l)}]`:l===!0?`[${s}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===n)||null},cT=([e,t,n])=>{if(!Wt(e))return null;const r=document.createElement(e);return os(t)&&Object.entries(t).forEach(([o,i])=>{Wt(i)?r.setAttribute(o,i):i===!0&&r.setAttribute(o,"")}),Wt(n)&&r.appendChild(document.createTextNode(n)),r},fT=ng,dT=async()=>{var n;const e=fT({name:"Vuepress",setup(){var i;lT();for(const a of Xo)(i=a.setup)==null||i.call(a);const r=Xo.flatMap(({rootComponents:a=[]})=>a.map(s=>Ae(s))),o=Sm();return()=>[Ae(o.value),r]}}),t=iT();aT(e),sT(e,t,Xo);for(const r of Xo)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Jr}));return e.use(t),{app:e,router:t}};dT().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Ie as _,B as a,ue as b,R as c,dT as createVueApp,dp as d,on as e,ra as f,co as g,x as o,mn as r,he as t,hT as v,Ue as w}; diff --git a/assets/basic-table-BKwkKJsm.js b/assets/basic-table-BKwkKJsm.js new file mode 100644 index 00000000..b5c7f715 --- /dev/null +++ b/assets/basic-table-BKwkKJsm.js @@ -0,0 +1 @@ +import{_ as t,r as o,o as n,c as r,b as c}from"./app-CbJnpAZk.js";const s={name:"basic-table",props:[],data(){return{columns:[{label:"Name",field:"name"},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343},{id:4,name:"Chris",age:55,createdAt:"2011-10-11",score:.03343},{id:5,name:"Dan",age:40,createdAt:"2011-10-21",score:.03343},{id:6,name:"John",age:20,createdAt:"2011-10-31",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function d(l,m,u,i,e,p){const a=o("vue-good-table");return n(),r("div",null,[c(a,{columns:e.columns,rows:e.rows},null,8,["columns","rows"])])}const b=t(s,[["render",d],["__file","basic-table.vue"]]);export{b as default}; diff --git a/assets/before-after-columns-DrD9HBNX.js b/assets/before-after-columns-DrD9HBNX.js new file mode 100644 index 00000000..3a73ddf2 --- /dev/null +++ b/assets/before-after-columns-DrD9HBNX.js @@ -0,0 +1 @@ +import{_ as r,r as s,o,c as t,b as l,w as c,t as d}from"./app-CbJnpAZk.js";const f={name:"before-after-columns",props:[],data(){return{columns:[{label:"Before",field:"before"},{label:"Name",field:"name"},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"},{label:"After",field:"after"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}},m={key:0},u={key:1},i={key:2};function _(p,b,y,g,a,w){const n=s("vue-good-table");return o(),t("div",null,[l(n,{columns:a.columns,rows:a.rows},{"table-row":c(e=>[e.column.field=="before"?(o(),t("span",m," before ")):e.column.field=="after"?(o(),t("span",u," after ")):(o(),t("span",i,d(e.formattedRow[e.column.field]),1))]),_:1},8,["columns","rows"])])}const A=r(f,[["render",_],["__file","before-after-columns.vue"]]);export{A as default}; diff --git a/assets/checkbox-table-C1TNYJtt.js b/assets/checkbox-table-C1TNYJtt.js new file mode 100644 index 00000000..5ee3ea88 --- /dev/null +++ b/assets/checkbox-table-C1TNYJtt.js @@ -0,0 +1 @@ +import{_ as c,r as s,o as r,c as d,b as u,f as m,w as p,a as i}from"./app-CbJnpAZk.js";const b={name:"checkbox-table",props:["showSlot"],data(){return{columns:[{label:"Name",field:"name"},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{selectAll(e){console.log(e)},toggleSelectRow(e){console.log(e)}},mounted(){},components:{}};function g(e,o,n,f,t,a){const l=s("vue-good-table");return r(),d("div",null,[u(l,{onOnSelectedRowsChange:a.toggleSelectRow,columns:t.columns,rows:t.rows,"select-options":{enabled:!0},"search-options":{enabled:!0}},m({_:2},[n.showSlot?{name:"selected-row-actions",fn:p(()=>[o[0]||(o[0]=i("button",null,"Action 1",-1))]),key:"0"}:void 0]),1032,["onOnSelectedRowsChange","columns","rows"])])}const w=c(b,[["render",g],["__file","checkbox-table.vue"]]);export{w as default}; diff --git a/assets/checkbox-table.html-CPfB2W_o.js b/assets/checkbox-table.html-CPfB2W_o.js new file mode 100644 index 00000000..c3da6b8e --- /dev/null +++ b/assets/checkbox-table.html-CPfB2W_o.js @@ -0,0 +1,36 @@ +import{_ as p,r as o,o as c,c as i,d as e,b as t,a as s,e as l}from"./app-CbJnpAZk.js";const u={};function r(d,n){const a=o("checkbox-table");return c(),i("div",null,[n[0]||(n[0]=e(`

Checkbox Table

One of the most common customizations in datatables is selectable rows. Creating a checkbox table with vue-good-table is easier than ever.

Configuration

type: Object

Object containing select options

<vue-good-table
+  v-on:selected-rows-change="selectionChanged"
+  :columns="columns"
+  :rows="rows"
+  :select-options="{
+    enabled: true,
+    selectOnCheckboxOnly: true, // only select when checkbox is clicked instead of the row
+    selectionInfoClass: 'custom-class',
+    selectionText: 'rows selected',
+    clearSelectionText: 'clear',
+    disableSelectInfo: true, // disable the select info panel on top
+    selectAllByGroup: true, // when used in combination with a grouped table, add a checkbox in the header row to check/uncheck the entire group
+    alwaysShowSelectionInfo: false, // always show the row count, even when nothing is selected
+  }">
+

Although, the on-selected-rows-change event should be enough for you to keep track of selected rows. If at any time you need to know what rows are selected, you can get it via ref.

this.$refs['my-table'].selectedRows;
+

Example

<vue-good-table
+  v-on:selected-rows-change="selectionChanged"
+  :columns="columns"
+  :rows="rows"
+  :select-options="{ enabled: true }"
+  :search-options="{ enabled: true }">
+</vue-good-table>
+
`,10)),t(a),n[1]||(n[1]=e(`

Selected row action slot

Once you select a row, an info bar shows up. This bar allows for a customizable slot for your action buttons.

Example

<vue-good-table
+  v-on:selected-rows-change="selectionChanged"
+  :columns="columns"
+  :rows="rows"
+  :select-options="{ 
+    enabled: true,
+  }"
+  :search-options="{ enabled: true }">
+  <template #selected-row-actions>
+    <button>Action 1</button>
+  </template>
+</vue-good-table>
+<!-- click on a row below to show the action button -->
+
`,4)),t(a,{"show-slot":!0}),n[2]||(n[2]=s("div",{class:"hint-container tip"},[s("p",{class:"hint-container-title"},"Note"),s("p",null,[l("You can style the selection info bar by supplying a css class to "),s("code",null,"selectionInfoClass"),l(" property.")])],-1))])}const m=p(u,[["render",r],["__file","checkbox-table.html.vue"]]),v=JSON.parse('{"path":"/guide/advanced/checkbox-table.html","title":"Checkbox Table","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Configuration","slug":"configuration","link":"#configuration","children":[{"level":3,"title":"Example","slug":"example","link":"#example","children":[]}]},{"level":2,"title":"Selected row action slot","slug":"selected-row-action-slot","link":"#selected-row-action-slot","children":[{"level":3,"title":"Example","slug":"example-1","link":"#example-1","children":[]}]}],"git":{"updatedTime":1676572583000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":4},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1},{"name":"Ryan McCahan","email":"ryan@mccahan.net","commits":1},{"name":"p0ps","email":"p0psicles@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/advanced/checkbox-table.md"}');export{m as comp,v as data}; diff --git a/assets/column-filter-options.html-B1--ecSG.js b/assets/column-filter-options.html-B1--ecSG.js new file mode 100644 index 00000000..b877bf80 --- /dev/null +++ b/assets/column-filter-options.html-B1--ecSG.js @@ -0,0 +1,30 @@ +import{_ as n,o as a,c as e,d as t}from"./app-CbJnpAZk.js";const p={};function l(o,s){return a(),e("div",null,s[0]||(s[0]=[t(`

Column Filter Options

filterOptions

type Object

A collection of filter specific properties within a column object.

columns: [
+  { 
+    label: 'name',
+    field: 'user_name',
+    filterOptions: {
+	  styleClass: 'class1', // class to be added to the parent th element
+  	  enabled: true, // enable filter for this column
+      placeholder: 'Filter This Thing', // placeholder for filter input
+      filterValue: 'Jane', // initial populated value for this filter
+      filterDropdownItems: [], // dropdown (with selected values) instead of text input
+      filterFn: this.columnFilterFn, //custom filter function that
+      trigger: 'enter', //only trigger on enter not on keyup 
+    },
+  },
+  // ...
+]
+

styleClass

type: string Class to be added to the parent th element. You can specify several classes separated by a space.

enabled

type: Boolean Switch to enable column filter.

placeholder

type: String Placeholder to use on the column filter input.

filterValue

type: String If you want filter to be pre-populated, use this property

trigger

type: String (default: '') Allows specifying trigger for column filter. Default trigger is keyup. use 'enter' to filter only when enter key is pressed.

filterDropdownItems

type Array of strings or Array of objects

allows creating a dropdown for filter as opposed to an input

//array
+filterDropdownItems: ['Blue', 'Red', 'Yellow']
+//or
+filterDropdownItems: [  
+  { value: 'n', text: 'Inactive' },  
+  { value: 'y', text: 'Active' },  
+  { value: 'c', text: 'Check' }  
+],
+

filterFn

type Function

Custom filter, function of two variables: function(data, filterString), should return true if data matches the filterString, otherwise false

filterFn: function(data, filterString) {
+  var x = parseInt(filterString)
+  return data >= x - 5 && data <= x + 5;
+}
+// would create a filter matching numbers within 5 of the provided value
+
`,23)]))}const r=n(p,[["render",l],["__file","column-filter-options.html.vue"]]),c=JSON.parse('{"path":"/guide/configuration/column-filter-options.html","title":"Column Filter Options","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"filterOptions","slug":"filteroptions","link":"#filteroptions","children":[]},{"level":2,"title":"styleClass","slug":"styleclass","link":"#styleclass","children":[]},{"level":2,"title":"enabled","slug":"enabled","link":"#enabled","children":[]},{"level":2,"title":"placeholder","slug":"placeholder","link":"#placeholder","children":[]},{"level":2,"title":"filterValue","slug":"filtervalue","link":"#filtervalue","children":[]},{"level":2,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":2,"title":"filterDropdownItems","slug":"filterdropdownitems","link":"#filterdropdownitems","children":[]},{"level":2,"title":"filterFn","slug":"filterfn","link":"#filterfn","children":[]}],"git":{"updatedTime":1610854138000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":2},{"name":"Matthias Perret","email":"54006012+mp3000mp@users.noreply.github.com","commits":1},{"name":"Rob Gaston","email":"robcoach0221@gmail.com","commits":1},{"name":"cassmbautista","email":"35530271+cassmbautista@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/configuration/column-filter-options.md"}');export{r as comp,c as data}; diff --git a/assets/column-options.html-DuCvuuoG.js b/assets/column-options.html-DuCvuuoG.js new file mode 100644 index 00000000..d2c1cc38 --- /dev/null +++ b/assets/column-options.html-DuCvuuoG.js @@ -0,0 +1,160 @@ +import{_ as t,r as l,o as i,c as o,d as a,a as n,e,b as c,w as r}from"./app-CbJnpAZk.js";const d={},u={class:"hint-container tip"};function m(k,s){const p=l("RouteLink");return i(),o("div",null,[s[3]||(s[3]=a(`

Column Options

Each column objects can contain the following configuration options:

label

type String

Text to put on column header.

columns: [
+  {
+    label: 'name'
+  },
+  // ...
+]
+

field

type String

Row object property that this column corresponds to. This can be:

  • String eg: 'name' - simple row property name
  • String eg: 'location.lat'- nested row property name. lets say if the row had a property 'location' which was an object containing 'lat' and 'lon'
  • Function - a function that returns a value to be displayed based on the row object
columns: [
+  {
+    label: 'name',
+    field: this.fealdFn,
+  },
+  // ...
+]
+// in methods
+fieldFn(rowObj) {
+  return rowObj.name;
+}
+

type

type String

type of column. default: 'text'. This determines the formatting for the column and filter behavior as well. Possible values:

  • number - right aligned
  • decimal - right aligned, 2 decimal places
  • percentage - expects a decimal like 0.03 and formats it as 3.00%
  • boolean - right aligned
  • date - expects a string representation of date eg '20170530'. You should also specify dateInputFormat and dateOutputFormat
columns: [
+  {
+    label: 'joined On',
+    field: 'createdAt',
+    type: 'date',
+    dateInputFormat: 'yyyy-MM-dd', // expects 2018-03-16
+    dateOutputFormat: 'MMM do yyyy', // outputs Mar 16th 2018
+  },
+  // ...
+]
+

dateInputFormat

type String

provide the format to parse date string.

Tips

Vue-good-table uses date-fns for date parsing. Check out their formats here.

dateOutputFormat

type String

provide the format for output date

sortable

type Boolean

enable/disable sorting on columns. This property is higher priority than global sortable property

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    sortable: false,
+  },
+  // ...
+]
+

firstSortType

type String (default: 'asc')

controls the first sort type when sorting by the column. If you want the first sort type for this column to be descending, set this property to 'desc'. Possible values:

  • asc - the initial sort will be ascending
  • desc - the initial sort will be descending
columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    sortable: true,
+    firstSortType: 'desc'
+  },
+  // ...
+]
+

sortFn

type Function

custom sort function. If you want to supply your own sort function you can use this property.

// in data
+columns: [
+  {
+    label: 'Name',
+    field: 'name',
+    sortable: true,
+    sortFn: this.sortFn,
+  }
+  //...
+],
+// in methods
+methods: {
+  sortFn(x, y, col, rowX, rowY) {
+    // x - row1 value for column
+    // y - row2 value for column
+    // col - column being sorted
+    // rowX - row object for row1
+    // rowY - row object for row2
+    return (x < y ? -1 : (x > y ? 1 : 0));
+  }
+}
+

formatFn

type Function

Allows for custom format of values, function(value), should return the formatted value to display.

// in data
+columns: [
+  {
+    label: 'Salary',
+    field: 'salary',
+    sortable: true,
+    formatFn: this.formatFn,
+  }
+  //...
+],
+// in methods
+formatFn: function(value) {
+  return '$' + value;
+}
+

html

type Boolean

indicates whether this column will require html rendering.

`,43)),n("div",u,[s[2]||(s[2]=n("p",{class:"hint-container-title"},"Tips",-1)),n("p",null,[s[1]||(s[1]=e("The preferred way of creating columns that have html is by ")),c(p,{to:"/guide/advanced/#custom-row-template"},{default:r(()=>s[0]||(s[0]=[e("using slots")])),_:1})])]),s[4]||(s[4]=a(`
// in data
+columns: [
+  {
+    label: 'Action',
+    field: 'btn',
+    html: true,
+  }
+  //...
+],
+rows: [
+  {
+    btn: '<button>My Action</button>',
+    // ...
+  }
+]
+

width

type Number

provide a width value for this column

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    width: '50px',
+  },
+  // ...
+]
+

hidden

type Boolean

hide a column

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    hidden: true,
+  },
+  // ...
+]
+

thClass

type String

provide custom class(es) to the table header

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    thClass: 'custom-th-class',
+  },
+  // ...
+]
+

tdClass

type String or Function

provide custom class(es) to the table cells

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    tdClass: 'text-center',
+  },
+  // ...
+]
+

or

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    tdClass: this.tdClassFunc,
+  },
+  // ...
+]
+// and later
+methods: {
+  tdClassFunc(row) {
+    if (row.field > 50) {
+      return 'red-class';
+    }
+    return 'green-class';
+  },
+}
+

globalSearchDisabled

type Boolean (default: false)

if true, this column will be ignored by the global search

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    globalSearchDisabled: true,
+  },
+  // ...
+]
+

tooltip

type String

Text to put on a simple tooltip for column header.

columns: [
+  {
+    label: 'name',
+    field: 'user_name',
+    tooltip: 'A simple tooltip',
+  },
+  // ...
+]
+
`,27))])}const b=t(d,[["render",m],["__file","column-options.html.vue"]]),h=JSON.parse('{"path":"/guide/configuration/column-options.html","title":"Column Options","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"label","slug":"label","link":"#label","children":[]},{"level":2,"title":"field","slug":"field","link":"#field","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"dateInputFormat","slug":"dateinputformat","link":"#dateinputformat","children":[]},{"level":2,"title":"dateOutputFormat","slug":"dateoutputformat","link":"#dateoutputformat","children":[]},{"level":2,"title":"sortable","slug":"sortable","link":"#sortable","children":[]},{"level":2,"title":"firstSortType","slug":"firstsorttype","link":"#firstsorttype","children":[]},{"level":2,"title":"sortFn","slug":"sortfn","link":"#sortfn","children":[]},{"level":2,"title":"formatFn","slug":"formatfn","link":"#formatfn","children":[]},{"level":2,"title":"html","slug":"html","link":"#html","children":[]},{"level":2,"title":"width","slug":"width","link":"#width","children":[]},{"level":2,"title":"hidden","slug":"hidden","link":"#hidden","children":[]},{"level":2,"title":"thClass","slug":"thclass","link":"#thclass","children":[]},{"level":2,"title":"tdClass","slug":"tdclass","link":"#tdclass","children":[]},{"level":2,"title":"globalSearchDisabled","slug":"globalsearchdisabled","link":"#globalsearchdisabled","children":[]},{"level":2,"title":"tooltip","slug":"tooltip","link":"#tooltip","children":[]}],"git":{"updatedTime":1615489652000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":6},{"name":"Salvador Montiel","email":"salvadormontiel8@gmail.com","commits":1},{"name":"s-slavchev","email":"s-slavchev@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/configuration/column-options.md"}');export{b as comp,h as data}; diff --git a/assets/custom-row-Blmqva5L.js b/assets/custom-row-Blmqva5L.js new file mode 100644 index 00000000..198099b1 --- /dev/null +++ b/assets/custom-row-Blmqva5L.js @@ -0,0 +1 @@ +import{_ as c,r,o,c as t,b as d,w as l,a as m,t as n}from"./app-CbJnpAZk.js";const u={name:"custom-row",props:[],data(){return{columns:[{label:"Name",field:"name"},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}},i={key:0},_={style:{"font-weight":"bold",color:"blue"}},p={key:1};function f(w,y,g,b,a,h){const s=r("vue-good-table");return o(),t("div",null,[d(s,{columns:a.columns,rows:a.rows},{"table-row":l(e=>[e.column.field=="age"?(o(),t("span",i,[m("span",_,n(e.row.age),1)])):(o(),t("span",p,n(e.formattedRow[e.column.field]),1))]),_:1},8,["columns","rows"])])}const A=c(u,[["render",f],["__file","custom-row.vue"]]);export{A as default}; diff --git a/assets/external-query-BRRiwCYx.js b/assets/external-query-BRRiwCYx.js new file mode 100644 index 00000000..94dfbadb --- /dev/null +++ b/assets/external-query-BRRiwCYx.js @@ -0,0 +1 @@ +import{_ as n,r as a,o as l,c as s,e as u,g as d,v as c,a as p,b as m}from"./app-CbJnpAZk.js";const i={name:"external-query",props:[],data(){return{externalQuery:"",columns:[{label:"Name",field:"name",filterOptions:{enabled:!1}},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function y(x,t,f,_,e,b){const r=a("vue-good-table");return l(),s("div",null,[t[1]||(t[1]=u(" External Query ")),d(p("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=o=>e.externalQuery=o)},null,512),[[c,e.externalQuery]]),m(r,{"search-options":{enabled:!0,externalQuery:e.externalQuery},columns:e.columns,rows:e.rows},null,8,["search-options","columns","rows"])])}const v=n(i,[["render",y],["__file","external-query.vue"]]);export{v as default}; diff --git a/assets/fixed-header-CgsuDri0.js b/assets/fixed-header-CgsuDri0.js new file mode 100644 index 00000000..876bf520 --- /dev/null +++ b/assets/fixed-header-CgsuDri0.js @@ -0,0 +1 @@ +import{_ as t,r as o,o as r,c as n,b as d}from"./app-CbJnpAZk.js";const c={name:"fixed-header",props:[],data(){return{columns:[{label:"Name",field:"name"},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343},{id:4,name:"Chris",age:55,createdAt:"2011-10-11",score:.03343},{id:5,name:"Dan",age:40,createdAt:"2011-10-21",score:.03343},{id:6,name:"John",age:20,createdAt:"2011-10-31",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function s(l,m,i,u,e,p){const a=o("vue-good-table");return r(),n("div",null,[d(a,{columns:e.columns,rows:e.rows,"max-height":"200px","fixed-header":!0},null,8,["columns","rows"])])}const _=t(c,[["render",s],["__file","fixed-header.vue"]]);export{_ as default}; diff --git a/assets/grouped-custom-BKWBLv2J.js b/assets/grouped-custom-BKWBLv2J.js new file mode 100644 index 00000000..b6348d91 --- /dev/null +++ b/assets/grouped-custom-BKWBLv2J.js @@ -0,0 +1 @@ +import{_ as r,r as l,o,c as t,b as d,w as u,a as m,t as p}from"./app-CbJnpAZk.js";const _={name:"grouped-custom",props:["options"],data(){return{columns:[{label:"Name",field:"name"},{label:"Diet",field:"diet",type:"text"},{label:"Count",field:"count",type:"number"},{label:"Action",field:"action",type:"number"}],rows:[{name:"Mammal",diet:"",count:"",children:[{name:"Elephant",diet:"herbivore",count:5},{name:"Cat",diet:"carnivore",count:28}]},{name:"Reptiles",diet:"",count:"",action:"",children:[{name:"Snake",diet:"carnivore",count:40},{name:"lizard",diet:"insectivore",count:34}]},{name:"Fish",diet:"",count:"",children:[{name:"Shark",diet:"carnivore",count:2},{name:"koi",diet:"omnivore",count:14}]}]}},computed:{},methods:{showAlert(n){alert(JSON.stringify(n))}},mounted(){},components:{}},h={key:0},f=["onClick"],b={key:1};function v(n,w,c,g,a,i){const s=l("vue-good-table");return o(),t("div",null,[d(s,{columns:a.columns,rows:a.rows,"group-options":c.options,"search-options":{enabled:!0}},{"table-header-row":u(e=>[e.column.field=="action"?(o(),t("span",h,[m("button",{class:"fancy-btn",onClick:k=>i.showAlert(e)},"Action",8,f)])):(o(),t("span",b,p(e.formattedRow[e.column.field]),1))]),_:1},8,["columns","rows","group-options"])])}const C=r(_,[["render",v],["__file","grouped-custom.vue"]]);export{C as default}; diff --git a/assets/grouped-custom-span-CyL33dNR.js b/assets/grouped-custom-span-CyL33dNR.js new file mode 100644 index 00000000..206e47b6 --- /dev/null +++ b/assets/grouped-custom-span-CyL33dNR.js @@ -0,0 +1 @@ +import{_ as a,r as s,o as r,c,b as l,w as i,a as d,t as m}from"./app-CbJnpAZk.js";const p={name:"grouped-custom-span",props:["options"],data(){return{columns:[{label:"Name",field:"name"},{label:"Diet",field:"diet",type:"text"},{label:"Count",field:"count",type:"number"}],rows:[{mode:"span",label:"Mammal",children:[{name:"Elephant",diet:"herbivore",count:5},{name:"Cat",diet:"carnivore",count:28}]},{mode:"span",label:"Reptiles",children:[{name:"Snake",diet:"carnivore",count:40},{name:"lizard",diet:"insectivore",count:34}]},{mode:"span",label:"Fish",children:[{name:"Shark",diet:"carnivore",count:2},{name:"koi",diet:"omnivore",count:14}]}]}},computed:{},methods:{},mounted(){},components:{}},u={class:"my-fancy-class"};function _(b,h,o,f,e,v){const n=s("vue-good-table");return r(),c("div",null,[l(n,{columns:e.columns,rows:e.rows,"group-options":o.options,"search-options":{enabled:!0}},{"table-header-row":i(t=>[d("span",u,m(t.row.label),1)]),_:1},8,["columns","rows","group-options"])])}const w=a(p,[["render",_],["__file","grouped-custom-span.vue"]]);export{w as default}; diff --git a/assets/grouped-table-CkniEbWt.js b/assets/grouped-table-CkniEbWt.js new file mode 100644 index 00000000..36f880f0 --- /dev/null +++ b/assets/grouped-table-CkniEbWt.js @@ -0,0 +1 @@ +import{_ as t,r as a,o as r,c as l,b as s}from"./app-CbJnpAZk.js";const c={name:"grouped-table",props:["options"],data(){return{columns:[{label:"Name",field:"name"},{label:"Diet",field:"diet",type:"text"},{label:"Count",field:"count",type:"number"}],rows:[{mode:"span",label:"Mammal",children:[{name:"Elephant",diet:"herbivore",count:5},{name:"Cat",diet:"carnivore",count:28}]},{mode:"span",label:"Reptiles",children:[{name:"Snake",diet:"carnivore",count:40},{name:"lizard",diet:"insectivore",count:34}]},{mode:"span",label:"Fish",children:[{name:"Shark",diet:"carnivore",count:2},{name:"koi",diet:"omnivore",count:14}]}]}},computed:{},methods:{},mounted(){},components:{}};function i(d,u,o,m,e,p){const n=a("vue-good-table");return r(),l("div",null,[s(n,{columns:e.columns,rows:e.rows,"group-options":o.options,"search-options":{enabled:!0}},null,8,["columns","rows","group-options"])])}const _=t(c,[["render",i],["__file","grouped-table.vue"]]);export{_ as default}; diff --git a/assets/grouped-table.html-2QFg8SLo.js b/assets/grouped-table.html-2QFg8SLo.js new file mode 100644 index 00000000..20309a76 --- /dev/null +++ b/assets/grouped-table.html-2QFg8SLo.js @@ -0,0 +1,104 @@ +import{_ as l,r as e,o as i,c,d as s,b as a}from"./app-CbJnpAZk.js";const r={};function u(d,n){const t=e("grouped-table"),p=e("grouped-custom-span"),o=e("grouped-custom");return i(),c("div",null,[n[0]||(n[0]=s(`

Grouped Table

To create grouped rows, you need two things.

1. Add group-options to table component

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :group-options="{
+    enabled: true
+  }"
+>
+</vue-good-table>
+

2. Make sure the rows are formatted correctly. Grouped rows need to be nested within header rows containing data rows in their children property. For example:

rows: [
+  {
+    mode: 'span', // span means this header will span all columns
+    label: 'Mammal', // this is the label that'll be used for the header
+    html: false, // if this is true, label will be rendered as html
+    children: [
+      { name: 'Elephant', diet: 'herbivore', count: 5 },
+      { name: 'Cat', diet: 'carnivore', count: 28 }
+    ]
+  }
+];
+
`,6)),a(t,{options:{enabled:!0}}),n[1]||(n[1]=s(`

3. Sometimes, you might want a summary row instead of a header row. For example, if you want to show total count for your group

rows: [
+  {
+    name: 'Mammals Total', // this is the label that'll be used for the header
+    diet: undefined,
+    count: '', // total count will be displayed here
+    children: [
+      { name: 'Elephant', diet: 'herbivore', count: 5 },
+      { name: 'Cat', diet: 'carnivore', count: 28 }
+    ]
+  }
+];
+

4. If you want the header/summary row to show up at the bottom of the group, you can specify that in the group-options property of the table.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :group-options="{
+    enabled: true,
+    headerPosition: 'bottom'
+  }"
+>
+</vue-good-table>
+
`,4)),a(t,{options:{enabled:!0,headerPosition:"bottom"}}),n[2]||(n[2]=s(`

5. What if you wanted to add a total count in summary rows?

In your column definition add a property, headerField. This is just like field property but for summary/header rows only. So lets say we wanted to add a sum function to this field.

// in columns
+{
+  label: 'Count',
+  field: 'count',
+  headerField: this.sumCount,
+  type: 'number',
+},
+
+// in methods we define sumCount
+methods: {
+  sumCount: function (rowObj) {
+    console.log(rowObj);
+    let sum = 0;
+    for (let i = 0; i < rowObj.children.length; i++) {
+      sum += rowObj.children[i].count;
+    }
+    return sum;
+  },
+},
+
+

Customizing Header Row

If you want more control over what the header row looks like, you can use slots the same way you customize rows. For example if you want to add a button in the header row or something, this would be the way to do it.

When mode is 'span'

In this case, the header row spans across all columns

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :group-options="{
+    enabled: true,
+    headerPosition: 'top'
+  }"
+>
+  <template #table-header-row="props">
+    <span class="my-fancy-class">
+      {{ props.row.label }}
+    </span>
+  </template>
+</vue-good-table>
+
`,8)),a(p,{options:{enabled:!0,headerPosition:"top"}}),n[3]||(n[3]=s(`

When mode is not 'span'

In this case header row expects a value for each column

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :group-options="{
+    enabled: true,
+    headerPosition: 'top'
+  }"
+>
+  <template #table-header-row="props">
+    <span v-if="props.column.field == 'action'">
+      <button class="fancy-btn">Action</button>
+    </span>
+    <span v-else>
+      {{ props.formattedRow[props.column.field] }}
+    </span>
+  </template>
+</vue-good-table>
+
`,3)),a(o,{options:{enabled:!0,headerPosition:"top"}}),n[4]||(n[4]=s(`

Tips

  • The original row object can be accessed via props.row
  • The column object can be accessed via props.column
  • You can access the formatted row data (for example - formatted date) via props.formattedRow

Collapsable Rows

To allow the row to collapse and expand you can use the groupOption "collapsable". You can either pass in a boolean or a number. If collapsable is set to true then it will default to making the first column collapsable. Alternatively, you can specify the column index number. If you only add new rows to your table at the end, then the expanded or collapsed state of your rows will be maintained. However if you need to insert rows before the last one, you can pass in rowKey inside of groupOptions with a unique identifier for your rows. The expanded and collapsed state will then be maintained.

<vue-good-table
+  ref="myCustomTable"
+  :columns="columns"
+  :rows="rows"
+  :group-options="{
+    enabled: true,
+    rowKey:"id",
+    collapsable: true // or column index
+  }"
+>
+</vue-good-table>
+

To expand/collapse all you can use the method called expandAll or collapseAll.

this.$refs.myCustomTable.expandAll();
+this.$refs.myCustomTable.collapseAll();
+
  • Live Demo: https://jsfiddle.net/nb6fcqs7
`,7))])}const k=l(r,[["render",u],["__file","grouped-table.html.vue"]]),v=JSON.parse(`{"path":"/guide/advanced/grouped-table.html","title":"Grouped Table","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Customizing Header Row","slug":"customizing-header-row","link":"#customizing-header-row","children":[{"level":3,"title":"When mode is 'span'","slug":"when-mode-is-span","link":"#when-mode-is-span","children":[]},{"level":3,"title":"When mode is not 'span'","slug":"when-mode-is-not-span","link":"#when-mode-is-not-span","children":[]}]},{"level":2,"title":"Collapsable Rows","slug":"collapsable-rows","link":"#collapsable-rows","children":[]}],"git":{"updatedTime":1692177130000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":8},{"name":"The Jared Wilcurt","email":"TheJaredWilcurt@users.noreply.github.com","commits":3},{"name":"owen","email":"ciruz001@cougars.csusm.edu","commits":3},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1},{"name":"Rob Gaston","email":"rob.gaston@wwt.com","commits":1},{"name":"Rob Gaston","email":"robcoach0221@gmail.com","commits":1},{"name":"awbeny","email":"55807616+awbeny@users.noreply.github.com","commits":1},{"name":"cassmbautista","email":"35530271+cassmbautista@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/advanced/grouped-table.md"}`);export{k as comp,v as data}; diff --git a/assets/index.html-B9WRxgYq.js b/assets/index.html-B9WRxgYq.js new file mode 100644 index 00000000..0e879a03 --- /dev/null +++ b/assets/index.html-B9WRxgYq.js @@ -0,0 +1,169 @@ +import{_ as l,r as a,o,c,d as s,b as t}from"./app-CbJnpAZk.js";const i={};function u(r,n){const p=a("custom-row"),e=a("before-after-columns");return o(),c("div",null,[n[0]||(n[0]=s(`

Customizations

Custom Row Template

Sometimes you might want to customize exactly how rows are displayed in a table. Vue-good-table also supports dynamic td templates where you dictate how to display the cells. Example:

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #table-row="props">
+    <span v-if="props.column.field == 'age'">
+      <span style="font-weight: bold; color: blue;">{{props.row.age}}</span> 
+    </span>
+    <span v-else>
+      {{props.formattedRow[props.column.field]}}
+    </span>
+  </template>
+</vue-good-table>
+

Result

`,5)),t(p),n[1]||(n[1]=s(`

NOTE

  • The original row object can be accessed via props.row
  • The currently displayed table row index can be accessed via props.index .
  • The original row index can be accessed via props.row.originalIndex. You can then access the original row object by using rows[props.row.originalIndex].
  • The column object can be accessed via props.column
  • You can access the formatted row data (for example - formatted date) via props.formattedRow

Adding custom columns

Sometimes you might want to add columns to the table that are not part of your row data. Maybe before or after the other columns.

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #table-row="props">
+    <span v-if="props.column.field == 'before'">
+      before
+    </span>
+    <span v-else-if="props.column.field == 'after'">
+      after
+    </span>
+    <span v-else>
+      {{props.formattedRow[props.column.field]}}
+    </span>
+  </template>
+</vue-good-table>
+

keep in mind that you'll need to add the custom columns to your column definition.

{
+  label: 'Before',
+  field: 'before'
+},
+{
+  label: 'After',
+  field: 'after'
+},
+

Result

`,7)),t(e),n[2]||(n[2]=s(`

Custom column headers

Sometimes you might want to customize column headers. You can do that in the following way

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #table-column="props">
+     <span v-if="props.column.label =='Name'">
+        <i class="fa fa-address-book"></i> {{props.column.label}}
+     </span>
+     <span v-else>
+        {{props.column.label}}
+     </span>
+  </template>
+</vue-good-table>
+

Custom column filters

Sometimes you might want a custom filter. You can do that in the following way:

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #column-filter="props">
+    <my-custom-filter
+      v-if="props.column.filterOptions.customFilter"       
+      @input="handleCustomFilter"/>
+  </template>
+</vue-good-table>
+

Add a custom property in your columns to conditionally render the custom-filter slot where needed.

columns: [
+  {
+    label: 'Name',
+    field: 'name'
+  },
+  {
+    label: 'Category',
+    field: 'category'
+  },
+  {
+    label: 'Statistics',
+    field: 'statistics',
+    filterOptions: {
+      customFilter: true
+    }
+  } 
+]
+// in your methods
+handleCustomFilter(value) {
+  // filtering logic here
+}
+

You can add a function to handle the filtering logic in your own component, or optionally updateFilters can be used. The updateFilters method is in vue-good-table and will include your custom filter value with the other column filters. You can also provide a function to formatValue inside of filterOptions to transform the value before filtering on it.

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #column-filter="{ column, updateFilters }">
+    <my-custom-filter
+      v-if="column.filterOptions.customFilter"
+      @input="(value) => updateFilters(column, value)"/>
+  </template>
+</vue-good-table>
+

In your columns, you may want to display the value from one property but need to filter on another. If you set a slotFilterField in your filterOptions, that property will be used for the custom filter slot.

{
+  label: 'Name',
+  field: 'name.displayName',
+  filterOptions: {
+    customFilter: true,
+    slotFilterField: 'name.id',
+    formatValue: function (value) {
+      return valueArray.join(',');  
+    } 
+  }
+}
+

Note the formatValue function. This is where you can provide formatting logic to transform your filter value.

Upgrading from versions 2.20.0-2.21.0

Older versions of vue-good-table included a built-in multiselect filter. If you upgrade to the latest version and would still like to use this filter, follow these steps:

  • Install and set up vue-select in your project, follwing the guide at https://vue-select.org.
<v-select
+  :options="optionList"
+  multiple
+  @input="(value) => updateFilters(column, value)"
+/>
+
  • Make sure to set the multiple attribute for a multiselect filter.
  • Set an array of options on the options attribute of v-select. If you were using the built in multiselect filter, move them from the column property filterOptions.multiSelectDropdownItems.
  • vue-select emits an array of values when set to multiple. To convert the array of data into a comma separated string or another format, provide a function on filterOptions.formatValue.
<v-select
+  :options="optionList"
+  label="name"
+  multiple
+  @input="(valuesArray) => updateFilters(column, valuesArray)"
+/>
+
// vue-select emits an array of any objects selected in the dropdown
+// which is being converted to a string of ids to pass into the column filter value
+data: {
+  optionList: [
+    {
+      name: 'Joan',
+      id: 1
+    },
+    {
+      name: 'Don',
+      id: 2
+    }
+  ],
+  columns: [
+    {
+      label: 'name',
+      field: 'name',
+      filterOptions: {
+        enabled: true,
+        customFilter: true,
+        formatValue: this.formatFilterValue
+      }
+    }
+  ]
+},
+methods: {
+  formatFilterValue(valuesArray) {
+    return valuesArray.map((value) => value.id).join(',');
+  }
+}
+

:::

Custom pagination

Sometimes you might want to customize the pagination. You can do that in the following way:

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{enabled: true}">
+  <template #pagination-bottom="props">
+    <custom-pagination
+      :total="props.total"
+      :pageChanged="props.pageChanged"
+      :perPageChanged="props.perPageChanged">
+    </custom-pagination>
+  </template>
+</vue-good-table>
+
// within your <custom-pagination> component
+props: {
+  pageChanged: {
+    type: Function,
+  },
+  perPageChanged: {
+    type: Function,
+  },
+}
+// and...
+methods: {
+  customPageChange(customCurrentPage) {
+    this.pageChanged({currentPage: customCurrentPage});
+  },
+  customPerPageChange(customPerPage) {
+    this.perPageChanged({currentPerPage: customPerPage});
+  }
+}
+

Warning

You will have to implement your own pagination system:

  • The total number of rows can be accessed via props.total
  • The function to call when the current page has changed can be accessed via props.pageChanged.
  • The function to call when the per page value has changed can be accessed via props.perPageChanged .
`,26))])}const k=l(i,[["render",u],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/guide/advanced/","title":"Customizations","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Custom Row Template","slug":"custom-row-template","link":"#custom-row-template","children":[{"level":3,"title":"Result","slug":"result","link":"#result","children":[]}]},{"level":2,"title":"Adding custom columns","slug":"adding-custom-columns","link":"#adding-custom-columns","children":[{"level":3,"title":"Result","slug":"result-1","link":"#result-1","children":[]}]},{"level":2,"title":"Custom column headers","slug":"custom-column-headers","link":"#custom-column-headers","children":[]},{"level":2,"title":"Custom column filters","slug":"custom-column-filters","link":"#custom-column-filters","children":[{"level":3,"title":"Upgrading from versions 2.20.0-2.21.0","slug":"upgrading-from-versions-2-20-0-2-21-0","link":"#upgrading-from-versions-2-20-0-2-21-0","children":[]}]},{"level":2,"title":"Custom pagination","slug":"custom-pagination","link":"#custom-pagination","children":[]}],"git":{"updatedTime":1632425937000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":6},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1},{"name":"Rob Gaston","email":"robcoach0221@gmail.com","commits":1},{"name":"Victor Cazanave","email":"VictorCazanave@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/advanced/README.md"}');export{k as comp,m as data}; diff --git a/assets/index.html-CeAro-yX.js b/assets/index.html-CeAro-yX.js new file mode 100644 index 00000000..d818f4f0 --- /dev/null +++ b/assets/index.html-CeAro-yX.js @@ -0,0 +1,74 @@ +import{_ as p,r as e,o as t,c as l,d as n,b as o}from"./app-CbJnpAZk.js";const i={};function c(r,s){const a=e("basic-table");return t(),l("div",null,[s[0]||(s[0]=n(`

Getting Started

Installation

Install with npm:

npm install --save vue-good-table-next
+

Import globally in app:

import VueGoodTablePlugin from 'vue-good-table-next';
+
+// import the styles
+import 'vue-good-table-next/dist/vue-good-table-next.css'
+
+Vue.use(VueGoodTablePlugin);
+

or you can import into your component:

// import the styles
+import 'vue-good-table-next/dist/vue-good-table-next.css'
+import { VueGoodTable } from 'vue-good-table-next';
+
+// add to component
+components: {
+  VueGoodTable,
+}
+

Basic Example

`,9)),o(a),s[1]||(s[1]=n(`
<template>
+  <div>
+    <vue-good-table
+      :columns="columns"
+      :rows="rows"/>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'my-component',
+  data(){
+    return {
+      columns: [
+        {
+          label: 'Name',
+          field: 'name',
+        },
+        {
+          label: 'Age',
+          field: 'age',
+          type: 'number',
+        },
+        {
+          label: 'Created On',
+          field: 'createdAt',
+          type: 'date',
+          dateInputFormat: 'yyyy-MM-dd',
+          dateOutputFormat: 'MMM do yy',
+        },
+        {
+          label: 'Percent',
+          field: 'score',
+          type: 'percentage',
+        },
+      ],
+      rows: [
+        { id:1, name:"John", age: 20, createdAt: null, score: 0.03343 },
+        { id:2, name:"Jane", age: 24, createdAt: '2011-10-31', score: 0.03343 },
+        { id:3, name:"Susan", age: 16, createdAt: '2011-10-30', score: 0.03343 },
+        { id:4, name:"Chris", age: 55, createdAt: '2011-10-11', score: 0.03343 },
+        { id:5, name:"Dan", age: 40, createdAt: '2011-10-21', score: 0.03343 },
+        { id:6, name:"John", age: 20, createdAt: '2011-10-31', score: 0.03343 },
+      ],
+    };
+  },
+};
+</script>
+

Usage with Nuxt.js

Create your own plugin by creating a file called vue-good-table.js inside your Nuxt plugins folder. Shoud look something like this:

import Vue from 'vue'
+import VueGoodTablePlugin from 'vue-good-table-next';
+
+// import the styles
+import 'vue-good-table-next/dist/vue-good-table-next.css'
+
+Vue.use(VueGoodTablePlugin);
+

As you can see, the only difference from the normal installation is that we need to reference Vue using import Vue from 'vue'.

Next we need to declare the plugin inside your nuxt.config.js like so:

plugins: [
+  { src: '~/plugins/vue-good-table-next', ssr: false }
+],
+

This should now work as expected.

`,8))])}const d=p(i,[["render",c],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/guide/","title":"Getting Started","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Installation","slug":"installation","link":"#installation","children":[]},{"level":2,"title":"Basic Example","slug":"basic-example","link":"#basic-example","children":[]},{"level":2,"title":"Usage with Nuxt.js","slug":"usage-with-nuxt-js","link":"#usage-with-nuxt-js","children":[]}],"git":{"updatedTime":1656684582000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":6},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1},{"name":"Sergei Predvoditelev","email":"sergei@predvoditelev.ru","commits":1},{"name":"Tom Hopcraft","email":"CHEWX@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/README.md"}');export{d as comp,k as data}; diff --git a/assets/index.html-ClzZSixM.js b/assets/index.html-ClzZSixM.js new file mode 100644 index 00000000..aabbceca --- /dev/null +++ b/assets/index.html-ClzZSixM.js @@ -0,0 +1,78 @@ +import{_ as d,r as l,o as m,c as k,a as n,e as a,b as t,w as o,d as e}from"./app-CbJnpAZk.js";const v={},b={class:"hint-container tip"};function g(h,s){const p=l("RouteLink"),c=l("fixed-header"),u=l("line-numbers-table"),i=l("rtl-table"),r=l("action-slot-table");return m(),k("div",null,[s[14]||(s[14]=n("h1",{id:"table-options",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#table-options"},[n("span",null,"Table Options")])],-1)),s[15]||(s[15]=n("p",null,"These options relate to the table as a whole",-1)),s[16]||(s[16]=n("h2",{id:"columns",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#columns"},[n("span",null,"columns")])],-1)),s[17]||(s[17]=n("p",null,[a("type: "),n("code",null,"Array")],-1)),n("p",null,[s[1]||(s[1]=a("Array containing objects that describe table columns. The column object itself can contain many ")),t(p,{to:"/guide/configuration/column-options.html"},{default:o(()=>s[0]||(s[0]=[a("configurable properties")])),_:1}),s[2]||(s[2]=a("."))]),s[18]||(s[18]=e(`
[
+    {
+      label: 'Name',
+      field: 'name',
+    }
+    //...
+]
+

rows

type: Array

Array containing row objects. Each row object contains data that will be displayed in the table row.

[
+    {
+      id:1,
+      name:"John",
+      age:20
+    },
+    //...
+]
+
`,5)),n("div",b,[s[8]||(s[8]=n("p",{class:"hint-container-title"},"Tips",-1)),n("p",null,[s[4]||(s[4]=a("for ")),s[5]||(s[5]=n("strong",null,"grouped rows",-1)),s[6]||(s[6]=a(", you need a nested format. Refer to ")),t(p,{to:"/guide/advanced/grouped-table.html"},{default:o(()=>s[3]||(s[3]=[a("Grouped Table")])),_:1}),s[7]||(s[7]=a(" for examples."))])]),s[19]||(s[19]=e(`

max-height

type: String Set a maximum height for table body

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  max-height="300px">
+</vue-good-table>
+

fixed-header

type: Boolean (default: false) fix header so it stays in view as you scroll the table.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  max-height="200px"
+  :fixed-header="true">
+</vue-good-table>
+
`,6)),t(c),s[20]||(s[20]=e(`

Tips

Fixed header should probably be used with max-height

line-numbers

type: Boolean (default: false) Show line number for each row

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :line-numbers="true">
+</vue-good-table>
+
`,4)),t(u),s[21]||(s[21]=e(`

row-style-class

type: String or Function

property to assign a class to rows. This can either be a string representing a css class-name or a function.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :row-style-class="rowStyleClassFn">
+</vue-good-table>
+
methods: {
+  rowStyleClassFn(row) {
+    return row.age > 18 ? 'green' : 'red';
+  },
+}
+

rtl

type: Boolean (default: false)

Enable Right-To-Left layout for the table

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :rtl="true">
+</vue-good-table>
+
`,9)),t(i),s[22]||(s[22]=e(`

Table Actions Slot

If you want to add table specific actions like a print button for example, you can use the Table Actions Slot. If you have global search enabled, the action panel will show up to the right of that.

Note

You don't have to have global search enabled to use this slot.

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #table-actions>
+    This will show up on the top right of the table. 
+  </template>
+</vue-good-table>
+
`,4)),t(r),s[23]||(s[23]=e(`

If you want a space for your buttons between pagination and the table. This is the slot you use.

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #table-actions-bottom>
+    This will show up on the bottom of the table. 
+  </template>
+</vue-good-table>
+

Empty state slot

You can provide html for empty state slot as well. Example:

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+  <template #emptystate>
+    This will show up when there are no rows
+  </template>
+</vue-good-table>
+

mode

type: String

Set mode=remote to allow sorting/filtering etc to be powered by server side instead of client side.

`,9)),n("p",null,[s[10]||(s[10]=a("for a detailed workflow example check out ")),t(p,{to:"/guide/advanced/remote-workflow.html"},{default:o(()=>s[9]||(s[9]=[a("Server Side Workflow")])),_:1})]),s[24]||(s[24]=e(`
<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  mode="remote">
+</vue-good-table>
+

totalRecords

type: Number

Tips

totalRecords is only useful for remote mode. When server controls pagination the table needs to know how many total rows exist.

`,4)),n("p",null,[s[12]||(s[12]=a("total number of rows that exist given a table/filter. refer to ")),t(p,{to:"/guide/advanced/remote-workflow.html"},{default:o(()=>s[11]||(s[11]=[a("remote workflow")])),_:1}),s[13]||(s[13]=a(" for more details"))]),s[25]||(s[25]=e(`

compactMode

type: Boolean (default: false)

Enable mobile-friendly List view on small devices (screenSize below 576px)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  compactMode>
+</vue-good-table>
+
`,4)),t(i)])}const q=d(v,[["render",g],["__file","index.html.vue"]]),w=JSON.parse('{"path":"/guide/configuration/","title":"Table Options","lang":"en-US","frontmatter":{"sidebarDepth":3},"headers":[{"level":2,"title":"columns","slug":"columns","link":"#columns","children":[]},{"level":2,"title":"rows","slug":"rows","link":"#rows","children":[]},{"level":2,"title":"max-height","slug":"max-height","link":"#max-height","children":[]},{"level":2,"title":"fixed-header","slug":"fixed-header","link":"#fixed-header","children":[]},{"level":2,"title":"line-numbers","slug":"line-numbers","link":"#line-numbers","children":[]},{"level":2,"title":"row-style-class","slug":"row-style-class","link":"#row-style-class","children":[]},{"level":2,"title":"rtl","slug":"rtl","link":"#rtl","children":[]},{"level":2,"title":"Table Actions Slot","slug":"table-actions-slot","link":"#table-actions-slot","children":[]},{"level":2,"title":"Table Actions Footer Slot","slug":"table-actions-footer-slot","link":"#table-actions-footer-slot","children":[]},{"level":2,"title":"Empty state slot","slug":"empty-state-slot","link":"#empty-state-slot","children":[]},{"level":2,"title":"mode","slug":"mode","link":"#mode","children":[]},{"level":2,"title":"totalRecords","slug":"totalrecords","link":"#totalrecords","children":[]},{"level":2,"title":"compactMode","slug":"compactmode","link":"#compactmode","children":[]}],"git":{"updatedTime":1632425937000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":9},{"name":"AliReZa Sabouri","email":"7004080+Alirezanet@users.noreply.github.com","commits":1},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1}]},"filePathRelative":"guide/configuration/README.md"}');export{q as comp,w as data}; diff --git a/assets/index.html-D0uuLz6G.js b/assets/index.html-D0uuLz6G.js new file mode 100644 index 00000000..b393d3ea --- /dev/null +++ b/assets/index.html-D0uuLz6G.js @@ -0,0 +1 @@ +import{_ as o,r as s,o as r,c as l,a as e,b as n}from"./app-CbJnpAZk.js";const i={};function c(m,t){const a=s("other-projects");return r(),l("div",null,[t[0]||(t[0]=e("div",{class:"features"},[e("div",{class:"feature"},[e("h2",null,"Get Started Quickly"),e("p",null,"Get features like sorting / column filtering / paging with minimal setup.")]),e("div",{class:"feature"},[e("h2",null,"Customizable"),e("p",null,"Easily customize anything from table cells to column headers.")]),e("div",{class:"feature"},[e("h2",null,"Advanced Features"),e("p",null,"Leverage checkbox table, grouped rows and remote workflow for your table.")])],-1)),n(a)])}const d=o(i,[["render",c],["__file","index.html.vue"]]),h=JSON.parse(`{"path":"/","title":"","lang":"en-US","frontmatter":{"home":true,"heroImage":"/hero-image.png","actions":[{"text":"Get Started →","link":"/guide/"}],"footer":"MIT Licensed | Copyright © 2021 Boris Flesch (based on xaksis' project)"},"headers":[],"git":{"updatedTime":1632402063000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":6},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":2}]},"filePathRelative":"README.md"}`);export{d as comp,h as data}; diff --git a/assets/index.html-Y4vdaS99.js b/assets/index.html-Y4vdaS99.js new file mode 100644 index 00000000..48df6456 --- /dev/null +++ b/assets/index.html-Y4vdaS99.js @@ -0,0 +1,20 @@ +import{_ as e,r as l,o as p,c as o,d as s,b as t}from"./app-CbJnpAZk.js";const c={};function i(u,a){const n=l("theme-example");return p(),o("div",null,[a[0]||(a[0]=s(`

Themes

Default

<vue-good-table
+  :columns="columns"
+  :rows="rows">
+</vue-good-table>
+
`,3)),t(n),a[1]||(a[1]=s(`

Polar-bear

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  theme="polar-bear">
+</vue-good-table>
+
`,2)),t(n,{theme:"polar-bear"}),a[2]||(a[2]=s(`

Black-rhino

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  theme="black-rhino">
+</vue-good-table>
+
`,2)),t(n,{theme:"black-rhino"}),a[3]||(a[3]=s(`

Nocturnal

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  theme="nocturnal">
+</vue-good-table>
+
`,2)),t(n,{theme:"nocturnal"})])}const d=e(c,[["render",i],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/guide/style-configuration/","title":"Themes","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Default","slug":"default","link":"#default","children":[]},{"level":2,"title":"Polar-bear","slug":"polar-bear","link":"#polar-bear","children":[]},{"level":2,"title":"Black-rhino","slug":"black-rhino","link":"#black-rhino","children":[]},{"level":2,"title":"Nocturnal","slug":"nocturnal","link":"#nocturnal","children":[]}],"git":{"updatedTime":1615494524000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":2}]},"filePathRelative":"guide/style-configuration/README.md"}');export{d as comp,k as data}; diff --git a/assets/line-numbers-table-DdTie_hs.js b/assets/line-numbers-table-DdTie_hs.js new file mode 100644 index 00000000..8da1c583 --- /dev/null +++ b/assets/line-numbers-table-DdTie_hs.js @@ -0,0 +1 @@ +import{_ as n,r as o,o as a,c as r,b as l}from"./app-CbJnpAZk.js";const s={name:"line-numbers-table",data(){return{columns:[{label:"Name",field:"name",filterOptions:{enabled:!1}},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function c(d,m,u,i,e,p){const t=o("vue-good-table");return a(),r("div",null,[l(t,{columns:e.columns,rows:e.rows,lineNumbers:!0},null,8,["columns","rows"])])}const _=n(s,[["render",c],["__file","line-numbers-table.vue"]]);export{_ as default}; diff --git a/assets/other-projects-D2HFQoB3.js b/assets/other-projects-D2HFQoB3.js new file mode 100644 index 00000000..baf19f73 --- /dev/null +++ b/assets/other-projects-D2HFQoB3.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as d,d as o}from"./app-CbJnpAZk.js";const s={name:"other-projects",props:[],data(){return{}},computed:{},methods:{},mounted(){},components:{}};function c(r,e,i,p,v,n){return t(),d("div",null,e[0]||(e[0]=[o('

You might also like

vue-good-wizard

An easy to use and clean VueJS step wizard plugin.

vue-good-links

A light, expandable link and text hover effect library for VueJS.

UserBit

Cloud-based platform for UX and Product teams.

',2)]))}const l=a(s,[["render",c],["__scopeId","data-v-9b5e87dc"],["__file","other-projects.vue"]]);export{l as default}; diff --git a/assets/pagination-options.html-DHpaX1Yj.js b/assets/pagination-options.html-DHpaX1Yj.js new file mode 100644 index 00000000..8c42a151 --- /dev/null +++ b/assets/pagination-options.html-DHpaX1Yj.js @@ -0,0 +1,121 @@ +import{_ as t,r as p,o as l,c as o,d as a,b as e}from"./app-CbJnpAZk.js";const i={};function c(u,n){const s=p("pagination-table");return l(),o("div",null,[n[0]||(n[0]=a(`

Pagination Options

A set of options that are related to table pagination. Each of these are optional and reasonable defaults will be used if you leave off the property.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    mode: 'records',
+    perPage: 5,
+    position: 'top',
+    perPageDropdown: [3, 7, 9],
+    dropdownAllowAll: false,
+    setCurrentPage: 2,
+    nextLabel: 'next',
+    prevLabel: 'prev',
+    rowsPerPageLabel: 'Rows per page',
+    ofLabel: 'of',
+    pageLabel: 'page', // for 'pages' mode
+    allLabel: 'All',
+    infoFn: (params) => \`my own page \${params.firstRecordOnPage}\`, 
+  }">
+</vue-good-table>
+

enabled

type: Boolean (default: false)

Enable Pagination for table. By default the paginator is created at the bottom of the table.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true
+  }">
+</vue-good-table>
+

mode

type: String (default: 'records')

You can render pagination controls in two modes - 'records' and 'pages'. Below, you'll find examples of both.

Tips

For tables that may have many pages, 'pages' mode offers the ability to jump to any valid page.

records mode (default)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    mode: 'records'
+  }">
+</vue-good-table>
+
`,13)),e(s,{options:{enabled:!0,mode:"records",perPage:2}}),n[1]||(n[1]=a(`

pages mode

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    mode: 'pages'
+  }">
+</vue-good-table>
+
`,2)),e(s,{options:{enabled:!0,mode:"pages",perPage:2}}),n[2]||(n[2]=a(`

position

type: String (default: 'bottom')

Add pagination on 'top' or 'bottom' (top and bottom) of the table (default position is bottom)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    position: 'top'
+  }">
+</vue-good-table>
+

perPage

type: Integer (default: 10)

Number of rows to show per page

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    perPage: 5
+  }">
+</vue-good-table>
+

perPageDropdownEnabled

type: Boolean (default: true)

Show or hide the per page dropdown

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    perPageDropdownEnabled: false,
+  }">
+</vue-good-table>
+

perPageDropdown

type: Array (default: [10,20,30,40,50])

Customize the dropdown options for the amount of items per page

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    perPageDropdown: [3, 7, 9]
+  }">
+</vue-good-table>
+

type: Boolean (default: true)

enables/disables 'All' in the per page dropdown.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    perPageDropdown: [3, 7, 9],
+    dropdownAllowAll: false,
+  }">
+</vue-good-table>
+

setCurrentPage

type: Number

set current page programmatically.

Warning

There's no validation for number of pages so please be careful using this.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    setCurrentPage: 2,
+  }">
+</vue-good-table>
+

pagination label/text options

you can change one or more of the texts shown on pagination by overriding the labels in the following way:

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    nextLabel: 'next',
+    prevLabel: 'prev',
+    rowsPerPageLabel: 'Rows per page',
+    ofLabel: 'of',
+    pageLabel: 'page', // for 'pages' mode
+    allLabel: 'All',
+  }">
+</vue-good-table>
+

InfoFn

Provide your own function to lay out pagination info how you like:

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :pagination-options="{
+    enabled: true,
+    infoFn: (params) => \`Showing \${params.firstRecordOnPage} to \${params.lastRecordOnPage} of page \${params.currentPage}\`,
+  }">
+</vue-good-table>
+

the parameters passed to infoFn are the following:

{
+  firstRecordOnPage: 'index of the first record on the current page',
+  lastRecordOnPage: 'index of the last record on the current page',
+  totalRecords: 'total number of records',
+  currentPage: 'current page',
+  totalPage: 'total number of pages',
+}
+

Replace Pagination Component

you can also replace the pagination component with your own component - Custom Pagination

`,35))])}const d=t(i,[["render",c],["__file","pagination-options.html.vue"]]),v=JSON.parse('{"path":"/guide/configuration/pagination-options.html","title":"Pagination Options","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"enabled","slug":"enabled","link":"#enabled","children":[]},{"level":2,"title":"mode","slug":"mode","link":"#mode","children":[{"level":3,"title":"records mode (default)","slug":"records-mode-default","link":"#records-mode-default","children":[]},{"level":3,"title":"pages mode","slug":"pages-mode","link":"#pages-mode","children":[]}]},{"level":2,"title":"position","slug":"position","link":"#position","children":[]},{"level":2,"title":"perPage","slug":"perpage","link":"#perpage","children":[]},{"level":2,"title":"perPageDropdownEnabled","slug":"perpagedropdownenabled","link":"#perpagedropdownenabled","children":[]},{"level":2,"title":"perPageDropdown","slug":"perpagedropdown","link":"#perpagedropdown","children":[]},{"level":2,"title":"dropdownAllowAll","slug":"dropdownallowall","link":"#dropdownallowall","children":[]},{"level":2,"title":"setCurrentPage","slug":"setcurrentpage","link":"#setcurrentpage","children":[]},{"level":2,"title":"pagination label/text options","slug":"pagination-label-text-options","link":"#pagination-label-text-options","children":[{"level":3,"title":"InfoFn","slug":"infofn","link":"#infofn","children":[]}]},{"level":2,"title":"Replace Pagination Component","slug":"replace-pagination-component","link":"#replace-pagination-component","children":[]}],"git":{"updatedTime":1614453666000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":6}]},"filePathRelative":"guide/configuration/pagination-options.md"}');export{d as comp,v as data}; diff --git a/assets/pagination-table-CdDEvre5.js b/assets/pagination-table-CdDEvre5.js new file mode 100644 index 00000000..b737130a --- /dev/null +++ b/assets/pagination-table-CdDEvre5.js @@ -0,0 +1 @@ +import{_ as t,r as n,o as r,c as s,b as c}from"./app-CbJnpAZk.js";const d={name:"pagination-table",props:["options"],data(){return{columns:[{label:"Name",field:"name"},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343},{id:4,name:"Chris",age:55,createdAt:"2011-10-11",score:.03343},{id:5,name:"Dan",age:40,createdAt:"2011-10-21",score:.03343},{id:6,name:"John",age:20,createdAt:"2011-10-31",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function i(l,p,a,m,e,u){const o=n("vue-good-table");return r(),s("div",null,[c(o,{columns:e.columns,rows:e.rows,"pagination-options":a.options},null,8,["columns","rows","pagination-options"])])}const _=t(d,[["render",i],["__file","pagination-table.vue"]]);export{_ as default}; diff --git a/assets/remote-workflow.html-CAuSw68r.js b/assets/remote-workflow.html-CAuSw68r.js new file mode 100644 index 00000000..270aca3f --- /dev/null +++ b/assets/remote-workflow.html-CAuSw68r.js @@ -0,0 +1,94 @@ +import{_ as s,o as a,c as e,d as t}from"./app-CbJnpAZk.js";const p={};function o(l,n){return a(),e("div",null,n[0]||(n[0]=[t(`

Server Side Table

Why Remote Mode?

Vue-good-table's in-built features like sorting, paging, filtering etc. are all performed client side and therefore are great for most of the use-cases. Sometimes though, we might have too much data to render all of it at once on the UI. In such cases, we would want to do things like sorting, paging, filtering on the server side. Fortunately, vue-good-table comes with remote mode to switch from client side to server side.

When remote mode is on, vue-good-table does not perform sorting, paging, filtering etc. on the client side but instead emits events that we can use to then send proper parameters to the back-end. The server then is expected to send the correct rows to display on the UI.

Following is a workflow you can use to get a server powered vue-good-table instance:

Prep Work

What do we send to server?

Before we dive into remote mode, lets agree on what we're going to be sending to the server. A set of parameters that tells the server exactly what rows I need to get back. Here's a proposed parameter object to send:

serverParams: {
+  // a map of column filters example: {name: 'john', age: '20'}
+  columnFilters: {
+  },
+  sort: [
+    {
+      field: '', // example: 'name'
+      type: '' // 'asc' or 'desc'
+    }
+  ],
+
+  page: 1, // what page I want to show
+  perPage: 10 // how many items I'm showing per page
+}
+

With the above information, server should be able to generate the relevant rows to send back.

What does the server send back?

Two things are required for the server to send back

  1. relevant rows - set of rows for the current page, matching the current filter and sort.
  2. totalRecords - number of total records matching the params we sent (not just the current page). This is required for the pagination to work correctly.

Set mode to remote

<vue-good-table
+  mode="remote"
+  :pagination-options="{
+    enabled: true,
+  }"
+  :totalRows="totalRecords"
+  :rows="rows"
+  :columns="columns"/>
+

this tells VGT to not do client side paging/sorting/filtering

Provide handlers for user events

Now instead of doing the above client side, each user interaction will generate events. So lets provide handlers for those events:

<vue-good-table
+  mode="remote"
+  v-on:page-change="onPageChange"
+  v-on:sort-change="onSortChange"
+  v-on:column-filter="onColumnFilter"
+  v-on:per-page-change="onPerPageChange"
+  :totalRows="totalRecords"
+  :isLoading.sync="isLoading"
+  :pagination-options="{
+    enabled: true,
+  }"
+  :rows="rows"
+  :columns="columns"/>
+

... in data

data() {
+  return {
+    isLoading: false,
+    columns: [
+      //...
+    ],
+    rows: [],
+    totalRecords: 0,
+    serverParams: {
+      columnFilters: {
+      },
+      sort: {
+        field: '', 
+        type: '',
+      },
+      page: 1, 
+      perPage: 10
+    }
+  }; 
+},
+

... handlers

methods: {
+    updateParams(newProps) {
+      this.serverParams = Object.assign({}, this.serverParams, newProps);
+    },
+    
+    onPageChange(params) {
+      this.updateParams({page: params.currentPage});
+      this.loadItems();
+    },
+
+    onPerPageChange(params) {
+      this.updateParams({perPage: params.currentPerPage});
+      this.loadItems();
+    },
+
+    onSortChange(params) {
+      this.updateParams({
+        sort: [{
+          type: params.sortType,
+          field: this.columns[params.columnIndex].field,
+        }],
+      });
+      this.loadItems();
+    },
+    
+    onColumnFilter(params) {
+      this.updateParams(params);
+      this.loadItems();
+    }
+
+    // load items is what brings back the rows from server
+    loadItems() {
+      getFromServer(this.serverParams).then(response => {
+         this.totalRecords = response.totalRecords;
+         this.rows = response.rows;
+      });
+    }
+}
+

So, what is happening?

  1. Everytime the user interacts with the table, an appropriate event is emitted.
  2. Along with this, VGT knows that this event will now result in fetching things from the backend. So it starts a loading screen.
  3. In the handler of that event, we first update the serverParams and then send a request to the backend.
  4. When we get the response back, we update both the totalRecords and the rows data objects.
  5. Row object's update signifies to VGT that the loading event is now done, and VGT shows the new rows on the table.

Tips

If you want to show loading notification manually, you can do so using table's :isLoading.sync="isLoading" property.

Tips

to style the loading dom, you can use the slot - loadingContent

Conclusion

So that wasn't too bad. You now have VGT that's powered completely by your backend server.

`,29)]))}const c=s(p,[["render",o],["__file","remote-workflow.html.vue"]]),r=JSON.parse('{"path":"/guide/advanced/remote-workflow.html","title":"Server Side Table","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Why Remote Mode?","slug":"why-remote-mode","link":"#why-remote-mode","children":[]},{"level":2,"title":"Prep Work","slug":"prep-work","link":"#prep-work","children":[{"level":3,"title":"What do we send to server?","slug":"what-do-we-send-to-server","link":"#what-do-we-send-to-server","children":[]},{"level":3,"title":"What does the server send back?","slug":"what-does-the-server-send-back","link":"#what-does-the-server-send-back","children":[]}]},{"level":2,"title":"Set mode to remote","slug":"set-mode-to-remote","link":"#set-mode-to-remote","children":[]},{"level":2,"title":"Provide handlers for user events","slug":"provide-handlers-for-user-events","link":"#provide-handlers-for-user-events","children":[]},{"level":2,"title":"So, what is happening?","slug":"so-what-is-happening","link":"#so-what-is-happening","children":[]},{"level":2,"title":"Conclusion","slug":"conclusion","link":"#conclusion","children":[]}],"git":{"updatedTime":1632425937000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":5},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1}]},"filePathRelative":"guide/advanced/remote-workflow.md"}');export{c as comp,r as data}; diff --git a/assets/row-details-table.html-DQZqMzfp.js b/assets/row-details-table.html-DQZqMzfp.js new file mode 100644 index 00000000..f0aa7c31 --- /dev/null +++ b/assets/row-details-table.html-DQZqMzfp.js @@ -0,0 +1,18 @@ +import{_ as n,o as s,c as t,d as e}from"./app-CbJnpAZk.js";const p={};function l(o,a){return s(),t("div",null,a[0]||(a[0]=[e(`

Row Details Table

This option allows you to show or hide the details of a row on click.

Configuration

type: Boolean

table-row props now also contain props.expandedRow this will be true if row is expanded

Object containing select options

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :enable-row-expand="true"
+  expanded-row-classes="bg-red"
+  expanded-row-detail-classes="bg-yellow"
+>
+

Example

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :enable-row-expand="true"
+  expanded-row-classes="bg-red"
+  expanded-row-detail-classes="bg-yellow">
+    <template #row-details="props">
+      <p>{{ props.formattedRow }} (or props.row.X to access any property X of the current row)</p>
+    </template>
+</vue-good-table>
+
`,9)]))}const i=n(p,[["render",l],["__file","row-details-table.html.vue"]]),u=JSON.parse('{"path":"/guide/advanced/row-details-table.html","title":"Row Details Table","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Configuration","slug":"configuration","link":"#configuration","children":[{"level":3,"title":"Example","slug":"example","link":"#example","children":[]}]}],"git":{"updatedTime":1653178218000,"contributors":[{"name":"Karthik Ponnam","email":"ponnamkarthik3@gmail.com","commits":3},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1}]},"filePathRelative":"guide/advanced/row-details-table.md"}');export{i as comp,u as data}; diff --git a/assets/rtl-table-c6t6pkfJ.js b/assets/rtl-table-c6t6pkfJ.js new file mode 100644 index 00000000..9dfdcfca --- /dev/null +++ b/assets/rtl-table-c6t6pkfJ.js @@ -0,0 +1 @@ +import{_ as o,r as a,o as n,c as r,b as l}from"./app-CbJnpAZk.js";const s={name:"rtl-table",data(){return{columns:[{label:"Name",field:"name",filterOptions:{enabled:!1}},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function c(d,m,u,p,e,i){const t=a("vue-good-table");return n(),r("div",null,[l(t,{columns:e.columns,rows:e.rows,rtl:!0},null,8,["columns","rows"])])}const f=o(s,[["render",c],["__file","rtl-table.vue"]]);export{f as default}; diff --git a/assets/sass.html-BB1CH5EO.js b/assets/sass.html-BB1CH5EO.js new file mode 100644 index 00000000..1a466b23 --- /dev/null +++ b/assets/sass.html-BB1CH5EO.js @@ -0,0 +1,2 @@ +import{_ as e,o as a,c as t,d as n}from"./app-CbJnpAZk.js";const o={};function i(r,s){return a(),t("div",null,s[0]||(s[0]=[n(`

Sass

Vue-Good-Table's styling is written in Sass. The source files are made available as part of the npm dependency.

Vue-Good-Table's root Sass file:

@import "../node_modules/vue-good-table/src/styles/style.scss";
+
`,4)]))}const c=e(o,[["render",i],["__file","sass.html.vue"]]),d=JSON.parse('{"path":"/guide/style-configuration/sass.html","title":"Sass","lang":"en-US","frontmatter":{},"headers":[],"git":{"updatedTime":1596933527000,"contributors":[{"name":"Rob Gaston","email":"robcoach0221@gmail.com","commits":1},{"name":"The Jared Wilcurt","email":"TheJaredWilcurt@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/style-configuration/sass.md"}');export{c as comp,d as data}; diff --git a/assets/search-demo-Uxd9WTDK.js b/assets/search-demo-Uxd9WTDK.js new file mode 100644 index 00000000..ef6812b7 --- /dev/null +++ b/assets/search-demo-Uxd9WTDK.js @@ -0,0 +1 @@ +import{_ as a,r,o as n,c as s,b as c}from"./app-CbJnpAZk.js";const d={name:"search-demo",props:["trigger"],data(){return{columns:[{label:"Name",field:"name",filterOptions:{enabled:!1}},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function l(m,u,o,p,e,i){const t=r("vue-good-table");return n(),s("div",null,[c(t,{"search-options":{enabled:!0,trigger:o.trigger},columns:e.columns,rows:e.rows},null,8,["search-options","columns","rows"])])}const g=a(d,[["render",l],["__file","search-demo.vue"]]);export{g as default}; diff --git a/assets/search-options.html-Q4TEZdHi.js b/assets/search-options.html-Q4TEZdHi.js new file mode 100644 index 00000000..acd227fd --- /dev/null +++ b/assets/search-options.html-Q4TEZdHi.js @@ -0,0 +1,75 @@ +import{_ as o,r as e,o as u,c as r,a as s,b as a,w as d,e as p,d as t}from"./app-CbJnpAZk.js";const m={};function v(k,n){const i=e("RouteLink"),l=e("search-demo"),c=e("external-query");return u(),r("div",null,[n[3]||(n[3]=s("h1",{id:"search-options",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#search-options"},[s("span",null,"Search Options")])],-1)),n[4]||(n[4]=s("p",null,"Vue-good-table supports two ways of filtering the table.",-1)),s("ol",null,[n[2]||(n[2]=s("li",null,"A global search that searches through all records in the table",-1)),s("li",null,[a(i,{to:"/guide/configuration/column-filter-options.html"},{default:d(()=>n[0]||(n[0]=[p("Column filters")])),_:1}),n[1]||(n[1]=p(" that filter based on a given column"))])]),n[5]||(n[5]=t(`

This section talks about how to configure global search options.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true,
+    trigger: 'enter',
+    skipDiacritics: true,
+    searchFn: mySearchFn,
+    placeholder: 'Search this table',
+    externalQuery: searchQuery,
+    v-on:search="onSearch"
+  }">
+</vue-good-table>
+

enabled

type: Boolean (default: false)

Allows a single search input for the whole table

Warning

Enabling this option disables column filters

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true
+  }">
+</vue-good-table>
+
`,7)),a(l),n[6]||(n[6]=t(`

trigger

type: String (default: '')

Allows you to specify if you want search to trigger on 'enter' event of the input. By default table searches on key-up.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true,
+    trigger: 'enter'
+  }">
+</vue-good-table>
+
`,4)),a(l,{trigger:"enter"}),n[7]||(n[7]=t(`

skipDiacritics

type: boolean (default: false)

By default, search does a diacriticless comparison so you can search through accented characters. This however slows down the search to some extent. If your data doesn't have accented characters, you can skip this check and gain some performance.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true,
+    skipDiacritics: true,
+  }">
+</vue-good-table>
+

searchFn

type: Function

Allows you to specify your own search function for the global search

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true,
+    searchFn: myFunc
+  }">
+</vue-good-table>
+
// in js
+methods: {
+  myFunc(row, col, cellValue, searchTerm){
+    return cellValue === 'my value';
+  },
+}
+

placeholder

type: String (default: 'Search Table')

Text for global search input place holder

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true,
+    placeholder: 'Search this table',
+  }">
+</vue-good-table>
+

externalQuery

type: String

If you want to use your own input for searching the table, you can use this property

<input type="text" v-model="searchTerm" >
+<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :search-options="{
+    enabled: true,
+    externalQuery: searchTerm
+  }">
+</vue-good-table>
+
// and in data
+data(){
+  return {
+    searchTerm: '',
+    // rows, columns etc...
+  };
+}
+
`,18)),a(c)])}const b=o(m,[["render",v],["__file","search-options.html.vue"]]),g=JSON.parse('{"path":"/guide/configuration/search-options.html","title":"Search Options","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"enabled","slug":"enabled","link":"#enabled","children":[]},{"level":2,"title":"trigger","slug":"trigger","link":"#trigger","children":[]},{"level":2,"title":"skipDiacritics","slug":"skipdiacritics","link":"#skipdiacritics","children":[]},{"level":2,"title":"searchFn","slug":"searchfn","link":"#searchfn","children":[]},{"level":2,"title":"placeholder","slug":"placeholder","link":"#placeholder","children":[]},{"level":2,"title":"externalQuery","slug":"externalquery","link":"#externalquery","children":[]}],"git":{"updatedTime":1706212073000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":3},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1},{"name":"Marsad1998","email":"36798110+Marsad1998@users.noreply.github.com","commits":1},{"name":"Vincent Tang","email":"10290348+vincentntang@users.noreply.github.com","commits":1}]},"filePathRelative":"guide/configuration/search-options.md"}');export{b as comp,g as data}; diff --git a/assets/sort-options.html-CY-f0lCD.js b/assets/sort-options.html-CY-f0lCD.js new file mode 100644 index 00000000..efd738fa --- /dev/null +++ b/assets/sort-options.html-CY-f0lCD.js @@ -0,0 +1,36 @@ +import{_ as s,o as a,c as t,d as e}from"./app-CbJnpAZk.js";const l={};function p(i,n){return a(),t("div",null,n[0]||(n[0]=[e(`

Sort Options

Set of options related to table sorting

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :sort-options="{
+    enabled: true,
+    initialSortBy: {field: 'name', type: 'asc'}
+  }">
+</vue-good-table>
+

enabled

type: Boolean (default: true)

Enable/disable sorting on table as a whole.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :sort-options="{
+    enabled: true,
+  }">
+</vue-good-table>
+

initialSortBy

Update

initialSortBy now allows for sort by multiple columns

type: Object or Array

Allows specifying a default sort for the table on wakeup. Both field and type values are required.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :sort-options="{
+    enabled: true,
+    initialSortBy: {field: 'name', type: 'asc'}
+  }">
+</vue-good-table>
+

multipleColumns

type: Boolean (default: true)

Enable/disable multiple column sort. Users can shift-click on multiple columns to sort by multiple columns. The first column in the array gets primary sort.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :sort-options="{
+    enabled: true,
+    multipleColumns: true,
+    initialSortBy: [
+      {field: 'name', type: 'asc'},
+      {field: 'age', type: 'desc'}
+    ],
+  }">
+</vue-good-table>
+
`,16)]))}const c=s(l,[["render",p],["__file","sort-options.html.vue"]]),u=JSON.parse('{"path":"/guide/configuration/sort-options.html","title":"Sort Options","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"enabled","slug":"enabled","link":"#enabled","children":[]},{"level":2,"title":"initialSortBy","slug":"initialsortby","link":"#initialsortby","children":[]},{"level":2,"title":"multipleColumns","slug":"multiplecolumns","link":"#multiplecolumns","children":[]}],"git":{"updatedTime":1614651663000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":4}]},"filePathRelative":"guide/configuration/sort-options.md"}');export{c as comp,u as data}; diff --git a/assets/style-Bwz1d608.css b/assets/style-Bwz1d608.css new file mode 100644 index 00000000..6e61f677 --- /dev/null +++ b/assets/style-Bwz1d608.css @@ -0,0 +1 @@ +@charset "UTF-8";.vp-back-to-top-button{position:fixed!important;inset-inline-end:1rem;bottom:4rem;z-index:100;width:48px;height:48px;padding:12px;border-width:0;border-radius:50%;background:var(--back-to-top-c-bg);color:var(--back-to-top-c-accent);box-shadow:2px 2px 10px 4px var(--back-to-top-c-shadow);cursor:pointer}@media (max-width: 959px){.vp-back-to-top-button{transform:scale(.8);transform-origin:100% 100%}}@media print{.vp-back-to-top-button{display:none}}.vp-back-to-top-button:hover{color:var(--back-to-top-c-accent-hover)}.vp-back-to-top-button .back-to-top-icon{overflow:hidden;width:24px;height:24px;margin:0 auto;background:var(--back-to-top-c-icon);-webkit-mask-image:var(--back-to-top-icon);mask-image:var(--back-to-top-icon);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:cover;mask-size:cover}.vp-scroll-progress{position:absolute;right:-2px;bottom:-2px;width:52px;height:52px}.vp-scroll-progress svg{width:100%;height:100%}.vp-scroll-progress circle{opacity:.9;transform:rotate(-90deg);transform-origin:50% 50%}.back-to-top-enter-active,.back-to-top-leave-active{transition:opacity .3s}.back-to-top-enter-from,.back-to-top-leave-to{opacity:0}:root{--back-to-top-z-index: 5;--back-to-top-icon: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='4'%20d='M24.008%2014.1V42M12%2026l12-12l12%2012M12%206h24'%20/%3e%3c/svg%3e");--back-to-top-c-bg: var(--vp-c-bg);--back-to-top-c-accent: var(--vp-c-accent);--back-to-top-c-accent-hover: var(--vp-c-accent-hover);--back-to-top-c-shadow: var(--vp-c-shadow);--back-to-top-c-icon: currentcolor}.vp-copy-code-button{position:absolute;top:.5em;right:.5em;z-index:5;width:2.5rem;height:2.5rem;padding:0;border-width:0;border-radius:.5rem;background:transparent;outline:none;opacity:0;cursor:pointer;transition:opacity .4s}@media print{.vp-copy-code-button{display:none}}.vp-copy-code-button:before{content:"";display:inline-block;width:1.25rem;height:1.25rem;padding:.625rem;background:currentcolor;color:var(--copy-code-c-text);font-size:1.25rem;-webkit-mask-image:var(--code-copy-icon);mask-image:var(--code-copy-icon);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:1em;mask-size:1em;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.vp-copy-code-button:focus,.vp-copy-code-button.copied{opacity:1}.vp-copy-code-button:hover,.vp-copy-code-button.copied{background:var(--copy-code-c-hover)}.vp-copy-code-button.copied:before{-webkit-mask-image:var(--code-copied-icon);mask-image:var(--code-copied-icon)}.vp-copy-code-button.copied:after{content:attr(data-copied);position:absolute;top:0;right:calc(100% + .25rem);display:block;height:1.25rem;padding:.625rem;border-radius:.5rem;background:var(--copy-code-c-hover);color:var(--copy-code-c-text);font-weight:500;line-height:1.25rem;white-space:nowrap}.no-copy-code .vp-copy-code-button{display:none}body:not(.no-copy-code) div[class*=language-]:hover:before{display:none}body:not(.no-copy-code) div[class*=language-]:hover .vp-copy-code-button{opacity:1}:root{--code-copy-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2' /%3e%3c/svg%3e");--code-copied-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4' /%3e%3c/svg%3e");--copy-code-c-text: var(--code-c-line-number);--copy-code-c-hover: var(--code-c-highlight-bg)}.hint-container{position:relative;border-color:var(--hint-c-accent);background:var(--hint-c-bg);transition:background var(--vp-t-color),border-color var(--vp-t-color),color var(--vp-t-color)}@media print{.hint-container{page-break-inside:avoid}}.hint-container>.hint-container-title{color:var(--hint-c-title)}.hint-container :not(pre)>code{background:var(--note-c-soft)}.hint-container .hint-container-title{position:relative;margin-block:.75em;font-weight:600;line-height:1.25}.hint-container.important,.hint-container.info,.hint-container.note,.hint-container.tip,.hint-container.warning,.hint-container.caution{margin:.85rem 0;padding:.25rem 1rem;border-inline-start-width:.3rem;border-inline-start-style:solid;border-radius:.5rem;color:inherit}@media (max-width: 419px){.hint-container.important,.hint-container.info,.hint-container.note,.hint-container.tip,.hint-container.warning,.hint-container.caution{margin-inline:-.75rem}}.hint-container.important .hint-container-title,.hint-container.info .hint-container-title,.hint-container.note .hint-container-title,.hint-container.tip .hint-container-title,.hint-container.warning .hint-container-title,.hint-container.caution .hint-container-title{padding-inline-start:1.75rem}@media print{.hint-container.important .hint-container-title,.hint-container.info .hint-container-title,.hint-container.note .hint-container-title,.hint-container.tip .hint-container-title,.hint-container.warning .hint-container-title,.hint-container.caution .hint-container-title{padding-inline-start:0}}.hint-container.important .hint-container-title:before,.hint-container.info .hint-container-title:before,.hint-container.note .hint-container-title:before,.hint-container.tip .hint-container-title:before,.hint-container.warning .hint-container-title:before,.hint-container.caution .hint-container-title:before{content:" ";position:absolute;inset-inline-start:0;top:calc(50% - .6125em);width:1.25em;height:1.25em;background-position:left;background-repeat:no-repeat}@media print{.hint-container.important .hint-container-title:before,.hint-container.info .hint-container-title:before,.hint-container.note .hint-container-title:before,.hint-container.tip .hint-container-title:before,.hint-container.warning .hint-container-title:before,.hint-container.caution .hint-container-title:before{display:none}}.hint-container.important p,.hint-container.info p,.hint-container.note p,.hint-container.tip p,.hint-container.warning p,.hint-container.caution p{line-height:1.5}.hint-container.important a,.hint-container.info a,.hint-container.note a,.hint-container.tip a,.hint-container.warning a,.hint-container.caution a{color:var(--vp-c-accent)}.hint-container.important{--hint-c-accent: var(--important-c-accent);--hint-c-bg: var(--important-c-light);--hint-c-title: var(--important-c-dark);--hint-c-soft: var(--important-c-soft)}[data-theme=dark] .hint-container.important{--hint-c-bg: var(--important-c-dark);--hint-c-title: var(--important-c-light)}.hint-container.important>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512 981.333a84.992 84.992 0 0 1-84.907-84.906h169.814A84.992 84.992 0 0 1 512 981.333zm384-128H128v-42.666l85.333-85.334v-256A298.325 298.325 0 0 1 448 177.92V128a64 64 0 0 1 128 0v49.92a298.325 298.325 0 0 1 234.667 291.413v256L896 810.667v42.666zm-426.667-256v85.334h85.334v-85.334h-85.334zm0-256V512h85.334V341.333h-85.334z' fill='%23a371f7'/%3E%3C/svg%3E")}.hint-container.info{--hint-c-accent: var(--info-c-accent);--hint-c-bg: var(--info-c-light);--hint-c-title: var(--info-c-dark);--hint-c-soft: var(--info-c-soft)}[data-theme=dark] .hint-container.info{--hint-c-bg: var(--info-c-dark);--hint-c-title: var(--info-c-light)}.hint-container.info>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%234cb3d4'/%3E%3C/svg%3E")}.hint-container.note{--hint-c-accent: var(--note-c-accent);--hint-c-bg: var(--note-c-light);--hint-c-title: var(--note-c-dark);--hint-c-soft: var(--note-c-soft)}[data-theme=dark] .hint-container.note{--hint-c-bg: var(--note-c-dark);--hint-c-title: var(--note-c-light)}.hint-container.note>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%23ccc'/%3E%3C/svg%3E")}.hint-container.tip{--hint-c-accent: var(--tip-c-accent);--hint-c-bg: var(--tip-c-light);--hint-c-title: var(--tip-c-dark);--hint-c-soft: var(--tip-c-soft)}[data-theme=dark] .hint-container.tip{--hint-c-bg: var(--tip-c-dark);--hint-c-title: var(--tip-c-light)}.hint-container.tip>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23009400' d='M7.941 18c-.297-1.273-1.637-2.314-2.187-3a8 8 0 1 1 12.49.002c-.55.685-1.888 1.726-2.185 2.998H7.94zM16 20v1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h8zm-3-9.995V6l-4.5 6.005H11v4l4.5-6H13z'/%3E%3C/svg%3E")}.hint-container.warning{--hint-c-accent: var(--warning-c-accent);--hint-c-bg: var(--warning-c-light);--hint-c-title: var(--warning-c-dark);--hint-c-soft: var(--warning-c-soft)}[data-theme=dark] .hint-container.warning{--hint-c-bg: var(--warning-c-dark);--hint-c-title: var(--warning-c-light)}.hint-container.warning>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M576.286 752.57v-95.425q0-7.031-4.771-11.802t-11.3-4.772h-96.43q-6.528 0-11.3 4.772t-4.77 11.802v95.424q0 7.031 4.77 11.803t11.3 4.77h96.43q6.528 0 11.3-4.77t4.77-11.803zm-1.005-187.836 9.04-230.524q0-6.027-5.022-9.543-6.529-5.524-12.053-5.524H456.754q-5.524 0-12.053 5.524-5.022 3.516-5.022 10.547l8.538 229.52q0 5.023 5.022 8.287t12.053 3.265h92.913q7.032 0 11.803-3.265t5.273-8.287zM568.25 95.65l385.714 707.142q17.578 31.641-1.004 63.282-8.538 14.564-23.354 23.102t-31.892 8.538H126.286q-17.076 0-31.892-8.538T71.04 866.074q-18.582-31.641-1.004-63.282L455.75 95.65q8.538-15.57 23.605-24.61T512 62t32.645 9.04 23.605 24.61z' fill='%23e6a700'/%3E%3C/svg%3E")}.hint-container.caution{--hint-c-accent: var(--caution-c-accent);--hint-c-bg: var(--caution-c-light);--hint-c-title: var(--caution-c-dark);--hint-c-soft: var(--caution-c-soft)}[data-theme=dark] .hint-container.caution{--hint-c-bg: var(--caution-c-dark);--hint-c-title: var(--caution-c-light)}.hint-container.caution>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5.523 0 10 4.477 10 10v3.764a2 2 0 0 1-1.106 1.789L18 19v1a3 3 0 0 1-2.824 2.995L14.95 23a2.5 2.5 0 0 0 .044-.33L15 22.5V22a2 2 0 0 0-1.85-1.995L13 20h-2a2 2 0 0 0-1.995 1.85L9 22v.5c0 .171.017.339.05.5H9a3 3 0 0 1-3-3v-1l-2.894-1.447A2 2 0 0 1 2 15.763V12C2 6.477 6.477 2 12 2zm-4 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z' fill='%23e13238'/%3E%3C/svg%3E")}.hint-container.details{--detail-c-bg: var(--detail-c-light);--detail-c-icon: var(--detail-c-icon-light);position:relative;display:block;margin:1rem 0;padding:1.5rem;border-radius:.5rem;background:var(--detail-c-bg);transition:background var(--vp-t-transform),color var(--vp-t-transform)}@media (max-width: 419px){.hint-container.details{margin-inline:-.75rem}}[data-theme=dark] .hint-container.details{--detail-c-bg: var(--detail-c-dark);--detail-c-icon: var(--detail-c-icon-dark)}.hint-container.details h4{margin-top:0}.hint-container.details figure:last-child,.hint-container.details p:last-child{margin-bottom:0;padding-bottom:0}.hint-container.details a{color:var(--vp-c-accent)}.hint-container.details :not(pre)>code{background:var(--detail-c-soft)}.hint-container.details summary{position:relative;margin:-1.5rem;padding-block:1.5rem;padding-inline:4rem 1.5rem;list-style:none;cursor:pointer}.hint-container.details summary::-webkit-details-marker{display:none}.hint-container.details summary::marker{color:transparent;font-size:0}.hint-container.details summary:before,.hint-container.details summary:after{content:" ";position:absolute;inset-inline-start:1.5rem;top:calc(50% - .75rem);width:1.5rem;height:1.5rem}.hint-container.details summary:before{border-radius:50%;background:var(--detail-c-icon);transition:background var(--vp-t-color),transform var(--vp-t-transform)}.hint-container.details summary:after{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");line-height:normal;transition:transform var(--vp-t-transform);transform:rotate(90deg)}[data-theme=dark] .hint-container.details summary:after{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.hint-container.details[open]>summary{margin-bottom:.5em}.hint-container.details[open]>summary:after{transform:rotate(180deg)}:root{--important-c-accent: #a371f7;--important-c-light: #f4eefe;--important-c-dark: #230555;--important-c-soft: rgb(163 113 247 / 10%);--info-c-accent: #4cb3d4;--info-c-light: #eef9fd;--info-c-dark: #193c47;--info-c-soft: rgb(76 179 212 / 10%);--note-c-accent: #ccc;--note-c-light: #fdfdfe;--note-c-dark: #474748;--note-c-soft: rgb(212 213 216 / 20%);--tip-c-accent: #009400;--tip-c-light: #e6f6e6;--tip-c-dark: #003100;--tip-c-soft: rgb(0 148 0 / 15%);--warning-c-accent: #e6a700;--warning-c-light: #fff8e6;--warning-c-dark: #4d3800;--warning-c-soft: rgb(230 167 0 / 15%);--caution-c-accent: #e13238;--caution-c-light: #ffebec;--caution-c-dark: #4b1113;--caution-c-soft: rgb(225 50 56 / 15%);--detail-c-light: #eee;--detail-c-dark: #333;--detail-c-icon-light: #ccc;--detail-c-icon-dark: #555;--detail-c-soft: rgb(127 127 127 / 15%)}:root{--medium-zoom-z-index: 100;--medium-zoom-c-bg: var(--vp-c-bg-elv, #fff);--medium-zoom-opacity: 1}.medium-zoom-overlay{z-index:var(--medium-zoom-z-index);background-color:var(--medium-zoom-c-bg)!important}.medium-zoom-overlay~img{z-index:calc(var(--medium-zoom-z-index) + 1)}.medium-zoom--opened .medium-zoom-overlay{opacity:var(--medium-zoom-opacity)}:root{--nprogress-c: var(--vp-c-accent);--nprogress-z-index: 1031}#nprogress{pointer-events:none}#nprogress .bar{position:fixed;top:0;left:0;z-index:var(--nprogress-z-index);width:100%;height:2px;background:var(--nprogress-c)}:root{--code-padding-x: 1.25rem;--code-padding-y: 1rem;--code-border-radius: 6px;--code-line-height: 1.6;--code-font-family: consolas, monaco, "Andale Mono", "Ubuntu Mono", monospace}div[class*=language-]{position:relative;border-radius:var(--code-border-radius);background-color:var(--code-c-bg)}div[class*=language-]:before{content:attr(data-title);position:absolute;top:.8em;right:1em;z-index:3;color:var(--code-c-text);font-size:.75rem}div[class*=language-] pre{position:relative;z-index:1;overflow-x:auto;margin:.75rem 0;border-radius:var(--code-border-radius);font-size:14px;font-family:var(--code-font-family);line-height:var(--code-line-height)}div[class*=language-] pre code{display:block;box-sizing:border-box;width:-moz-fit-content;width:fit-content;min-width:100%;padding:var(--code-padding-y) var(--code-padding-x);background-color:transparent!important;overflow-wrap:unset;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}:root{--code-c-text: #f8f8f2;--code-c-bg: #2e3440;--code-c-highlight-bg: #343d4e;--code-c-line-number: rgba(248, 248, 242, .67)}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#636f88}.token.punctuation{color:#81a1c1}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#81a1c1}.token.number{color:#b48ead}.token.boolean{color:#81a1c1}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a3be8c}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#81a1c1}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#88c0d0}.token.keyword{color:#81a1c1}.token.regex,.token.important{color:#ebcb8b}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}:root{--code-line-number-width: 3.5rem}div[class*=language-]:not(.line-numbers-mode) .line-numbers{display:none}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;top:0;left:0;width:var(--code-line-number-width);height:100%;border-right:1px solid var(--code-c-highlight-bg, var(--code-c-text));border-radius:var(--code-border-radius) 0 0 var(--code-border-radius);transition:border var(--t-color)}div[class*=language-].line-numbers-mode pre{vertical-align:middle;margin-left:var(--code-line-number-width)}div[class*=language-].line-numbers-mode code{padding-left:1rem}div[class*=language-].line-numbers-mode .line-numbers{counter-reset:line-number;position:absolute;top:0;width:var(--code-line-number-width);padding-top:var(--code-padding-y);color:var(--code-c-line-number, var(--code-c-text));font-size:.875em;line-height:var(--code-line-height);text-align:center}div[class*=language-].line-numbers-mode .line-number{position:relative;z-index:3;font-family:var(--code-font-family);-webkit-user-select:none;-moz-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-number:before{content:counter(line-number);counter-increment:line-number}.vp-badge{display:inline-block;vertical-align:top;height:18px;padding:0 6px;border-radius:3px;color:var(--vp-c-accent-text);font-weight:600;font-size:14px;line-height:18px;transition:color var(--vp-t-color),background-color var(--vp-t-color)}.vp-badge.tip{background-color:var(--c-badge-tip)}.vp-badge.warning{background-color:var(--c-badge-warning);color:var(--c-badge-warning-text)}.vp-badge.danger{background-color:var(--c-badge-danger);color:var(--c-badge-danger-text)}.vp-badge+.vp-badge{margin-left:5px}.code-group-nav{margin-top:.85rem;margin-bottom:calc(-1.7rem - 6px);padding-top:10px;padding-bottom:calc(1.7rem - 6px);padding-left:10px;border-top-left-radius:6px;border-top-right-radius:6px;background-color:var(--vp-c-code-tab-bg);transition:background-color var(--t-color)}@media (max-width: 419px){.code-group-nav{margin-right:-1.5rem;margin-left:-1.5rem;border-radius:0}}.code-group-nav-tab{padding:5px;border:0;background-color:transparent;color:var(--vp-c-code-tab-title);font-weight:600;font-size:.85em;line-height:1.4;cursor:pointer}.code-group-nav-tab:focus{outline:none}.code-group-nav-tab:focus-visible{outline:1px solid}.code-group-nav-tab.active{border-bottom:var(--vp-c-code-tab-active) 1px solid}.code-group-item{display:none}.code-group-item.active{display:block}.code-group-item>pre{background-color:orange}.vp-features{display:flex;flex-wrap:wrap;place-content:stretch space-between;align-items:flex-start;margin-top:2.5rem;padding:1.2rem 0;border-top:1px solid var(--vp-c-gutter);transition:border-color var(--vp-t-color)}@media (max-width: 719px){.vp-features{flex-direction:column}}.vp-feature{flex-grow:1;flex-basis:30%;max-width:30%}@media (max-width: 719px){.vp-feature{max-width:100%;padding:0 2.5rem}}.vp-feature h2{padding-bottom:0;border-bottom:none;font-weight:500;font-size:1.4rem}@media (max-width: 419px){.vp-feature h2{font-size:1.25rem}}.vp-feature p{color:var(--vp-c-text-mute)}.vp-footer{padding:2.5rem;border-top:1px solid var(--vp-c-border);color:var(--vp-c-text-mute);text-align:center;transition:border-color var(--vp-t-color)}.vp-hero{text-align:center}.vp-hero-image{display:block;max-width:100%;max-height:280px;margin:3rem auto 1.5rem}@media (max-width: 419px){.vp-hero-image{max-height:210px;margin:2rem auto 1.2rem}}#main-title{font-size:3rem}@media (max-width: 419px){#main-title{font-size:2rem}}#main-title,.vp-hero-description,.vp-hero-actions{margin:1.8rem auto}@media (max-width: 419px){#main-title,.vp-hero-description,.vp-hero-actions{margin:1.2rem auto}}.vp-hero-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.vp-hero-description{max-width:35rem;color:var(--vp-c-text-mute);font-size:1.6rem;line-height:1.3}@media (max-width: 419px){.vp-hero-description{font-size:1.2rem}}.vp-hero-action-button{display:inline-block;box-sizing:border-box;padding:.8rem 1.6rem;border-width:2px;border-style:solid;border-radius:4px;font-size:1.2rem;transition:background-color var(--vp-t-color)}@media (max-width: 419px){.vp-hero-action-button{padding:.6rem 1.2rem;font-size:1rem}}.vp-hero-action-button.primary{border-color:var(--vp-c-accent);background-color:var(--vp-c-accent);color:var(--vp-c-accent-text)}.vp-hero-action-button.primary:hover{background-color:var(--vp-c-accent-hover)}.vp-hero-action-button.secondary{border-color:var(--vp-c-accent);background-color:var(--vp-c-bg);color:var(--vp-c-accent)}.vp-hero-action-button.secondary:hover{background-color:var(--vp-c-accent-hover);color:var(--vp-c-accent-text)}.vp-home{display:block;max-width:var(--homepage-width);margin:0 auto;padding:var(--navbar-height) 2rem 0}@media (max-width: 419px){.vp-home{padding-right:1.5rem;padding-left:1.5rem}}.vp-home .theme-default-content{margin:0;padding:0}.vp-site-logo{vertical-align:top;height:var(--navbar-line-height);margin-right:var(--navbar-padding-v)}.vp-site-name{position:relative;color:var(--vp-c-text);font-weight:600;font-size:1.3rem}@media screen and (max-width: 719px){.vp-site-name{display:block;overflow:hidden;width:calc(100vw - 11rem);text-overflow:ellipsis;white-space:nowrap}}.vp-dropdown-enter-from,.vp-dropdown-leave-to{height:0!important}.vp-navbar-dropdown-wrapper{cursor:pointer}.vp-navbar-dropdown-wrapper:not(.mobile){height:1.8rem}.vp-navbar-dropdown-wrapper:not(.mobile):hover .vp-navbar-dropdown,.vp-navbar-dropdown-wrapper:not(.mobile).open .vp-navbar-dropdown{display:block!important}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown{overflow:hidden;transition:height .1s ease-out;padding-top:.5rem}.vp-navbar-dropdown-wrapper:not(.mobile) .vp-navbar-dropdown{position:absolute;top:100%;right:0;display:none;overflow-y:auto;box-sizing:border-box;height:auto!important;max-height:calc(100vh - 2.7rem);margin:0;padding:.6rem 0;border:1px solid var(--vp-c-border);border-radius:.25rem;background-color:var(--vp-navbar-c-bg);text-align:left;white-space:nowrap}.vp-navbar-dropdown-title{display:block;padding:inherit;border:none;background:transparent;color:var(--vp-c-text);font-weight:500;font-size:.9rem;font-family:inherit;line-height:1.4rem;cursor:inherit}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-title{display:none}.vp-navbar-dropdown-title:hover{border-color:transparent}.vp-navbar-dropdown-title-mobile{display:none;padding:inherit;border:none;background:transparent;color:var(--vp-c-text);font-weight:600;font-size:inherit;font-family:inherit;line-height:1.4rem;cursor:inherit}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-title-mobile{display:block}.vp-navbar-dropdown-title-mobile:hover{color:var(--vp-c-accent)}.vp-navbar-dropdown-item{color:inherit;line-height:1.7rem}.vp-navbar-dropdown-item a{position:relative;display:block;margin-bottom:0;padding:0 1.5rem 0 1.25rem;border-bottom:none;font-weight:400;line-height:1.7rem}.vp-navbar-dropdown-item a:hover,.vp-navbar-dropdown-item a.route-link-active{color:var(--vp-c-accent)}.vp-navbar-dropdown-item a.route-link-active:after{content:"";position:absolute;top:calc(50% - 2px);left:9px;width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:5px solid var(--vp-c-accent)}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-item>a{font-size:15px;line-height:2rem}.vp-navbar-dropdown-subtitle{margin:.45rem 0 0;padding:1rem 0 .45rem;border-top:1px solid var(--vp-c-gutter);font-size:.9rem}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-subtitle{margin-top:0;padding-top:0;padding-bottom:0;border-top:0;font-size:15px;line-height:2rem}.vp-navbar-dropdown-item:first-child .vp-navbar-dropdown-subtitle{margin-top:0;padding-top:0;border-top:0}.vp-navbar-dropdown-subtitle>span{padding:0 1.5rem 0 1.25rem}.vp-navbar-dropdown-subtitle>a{font-weight:inherit}.vp-navbar-dropdown-subtitle>a.route-link-active:after{display:none}.vp-navbar-dropdown-subitem-wrapper{padding:0;list-style:none}.vp-navbar-dropdown-subitem{font-size:.9em}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-subitem{padding-left:1rem;font-size:14px}.vp-navbar-items{display:inline-block}@media print{.vp-navbar-items{display:none}}.vp-navbar-items a{display:inline-block;color:inherit;line-height:1.4rem}.vp-navbar-items a:hover,.vp-navbar-items a.route-link-active{color:var(--vp-c-text)}.vp-navbar-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:var(--navbar-line-height)}@media (max-width: 719px){.vp-navbar-item{margin-left:0}}.vp-navbar-item:first-child{margin-left:0}.vp-navbar-item a:hover,.vp-navbar-item a.route-link-active{color:var(--vp-c-accent)}.vp-navbar-item>a:hover,.vp-navbar-item>a.route-link-active{margin-bottom:-2px;border-bottom:2px solid var(--vp-c-accent)}@media (max-width: 719px){.vp-navbar-item>a:hover,.vp-navbar-item>a.route-link-active{margin-bottom:0;border-bottom:none}}.vp-toggle-color-mode-button{display:flex;margin:auto;margin-left:1rem;border:0;background:none;color:var(--vp-c-text);opacity:.8;cursor:pointer}@media print{.vp-toggle-color-mode-button{display:none}}.vp-toggle-color-mode-button:hover{opacity:1}.vp-toggle-color-mode-button .light-icon,.vp-toggle-color-mode-button .dark-icon{width:1.25rem;height:1.25rem}.vp-toggle-sidebar-button{position:absolute;top:.6rem;left:1rem;display:none;padding:.6rem;cursor:pointer}@media screen and (max-width: 719px){.vp-toggle-sidebar-button{display:block}}.vp-toggle-sidebar-button .icon{display:flex;flex-direction:column;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;cursor:inherit}.vp-toggle-sidebar-button .icon span{display:inline-block;width:100%;height:2px;border-radius:2px;background-color:var(--vp-c-text);transition:transform var(--vp-t-transform)}.vp-toggle-sidebar-button .icon span:nth-child(2){margin:6px 0}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(1){transform:rotate(45deg) translate3d(5.5px,5.5px,0)}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(2){transform:scale3d(0,1,1)}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(3){transform:rotate(-45deg) translate3d(6px,-6px,0)}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(1),.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(3){transform-origin:center}.vp-navbar{--navbar-line-height: calc( var(--navbar-height) - 2 * var(--navbar-padding-v) );position:fixed;top:0;right:0;left:0;z-index:20;box-sizing:border-box;height:var(--navbar-height);padding:var(--navbar-padding-v) var(--navbar-padding-h);border-bottom:1px solid var(--vp-c-border);background-color:var(--vp-navbar-c-bg);line-height:var(--navbar-line-height);transition:background-color var(--vp-t-color),border-color var(--vp-t-color)}@media screen and (max-width: 719px){.vp-navbar{padding-left:4rem}}.vp-navbar-items-wrapper{position:absolute;top:var(--navbar-padding-v);right:var(--navbar-padding-h);display:flex;box-sizing:border-box;height:var(--navbar-line-height);padding-left:var(--navbar-padding-h);font-size:.9rem;white-space:nowrap}.vp-page-meta{max-width:var(--content-width);margin:0 auto;padding:.75rem 2.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;overflow:auto}@media (max-width: 959px){.vp-page-meta{padding:2rem}}@media (max-width: 419px){.vp-page-meta{padding:1.5rem}}@media print{.vp-page-meta{margin:0!important;padding-right:0!important;padding-left:0!important}}@media (max-width: 719px){.vp-page-meta{display:block}}.vp-page-meta .vp-meta-item{flex-grow:1}.vp-page-meta .vp-meta-item .vp-meta-label{font-weight:500}.vp-page-meta .vp-meta-item .vp-meta-label:not(a){color:var(--vp-c-text-mute)}.vp-page-meta .vp-meta-item .vp-meta-info{color:var(--vp-c-text-mute);font-weight:400}.vp-page-meta .git-info{text-align:end}.vp-page-meta .edit-link{margin-top:.25rem;margin-right:.5rem;margin-bottom:.25rem;font-size:14px}@media print{.vp-page-meta .edit-link{display:none}}.vp-page-meta .edit-link .edit-icon{position:relative;bottom:-.125em;width:1em;height:1em;margin-right:.25em}.vp-page-meta .last-updated,.vp-page-meta .contributors{margin-top:.25rem;margin-bottom:.25rem;font-size:14px}@media (max-width: 719px){.vp-page-meta .last-updated,.vp-page-meta .contributors{font-size:13px;text-align:start}}.vp-page-nav{display:flex;flex-wrap:wrap;max-width:var(--content-width, 740px);min-height:2rem;margin-top:0;margin-right:auto;margin-left:auto;padding:1rem 2rem 0;border-top:1px solid var(--vp-c-gutter);transition:border-top var(--vp-t-color)}@media (max-width: 959px){.vp-page-nav{padding-right:1rem;padding-left:1rem}}@media print{.vp-page-nav{display:none}}.vp-page-nav .route-link{display:inline-block;flex-grow:1;margin:.25rem;padding:.25rem .5rem;border:1px solid var(--vp-c-gutter);border-radius:.25rem}.vp-page-nav .route-link:hover{background:var(--c-bg-soft)}.vp-page-nav .route-link .hint{color:var(--vp-c-text-mute);font-size:.875rem;line-height:2}.vp-page-nav .prev{text-align:start}.vp-page-nav .next{text-align:end}.vp-page{display:block;padding-top:var(--navbar-height);padding-bottom:2rem;padding-left:var(--sidebar-width)}@media (max-width: 959px){.vp-page{padding-left:var(--sidebar-width-mobile)}}@media (max-width: 719px){.vp-page{padding-left:0}}.vp-page .theme-default-content{max-width:var(--content-width);margin:0 auto;padding:2rem 2.5rem;padding-top:0}@media (max-width: 959px){.vp-page .theme-default-content{padding:2rem}}@media (max-width: 419px){.vp-page .theme-default-content{padding:1.5rem}}.vp-sidebar-item{border-left:.25rem solid transparent;color:var(--vp-c-text);cursor:default}.vp-sidebar-item:focus-visible{outline-width:1px;outline-offset:-1px}.vp-sidebar-item.vp-sidebar-heading{box-sizing:border-box;width:100%;margin:0;padding:.35rem 1.5rem .35rem 1.25rem;font-weight:700;font-size:1.1em;transition:color .15s ease}.vp-sidebar-item.vp-sidebar-heading+.vp-sidebar-children{overflow:hidden;transition:height .1s ease-out;margin-bottom:.75rem}.vp-sidebar-item.collapsible{cursor:pointer}.vp-sidebar-item:not(.vp-sidebar-heading){display:inline-block;box-sizing:border-box;width:100%;margin:0;padding:.35rem 1rem .35rem 2rem;font-weight:400;font-size:1em;line-height:1.4}.vp-sidebar-item:not(.vp-sidebar-heading)+.vp-sidebar-children{padding-left:1rem;font-size:.95em}.vp-sidebar-children .vp-sidebar-children .vp-sidebar-item:not(.vp-sidebar-heading){padding:.25rem 1rem .25rem 1.75rem}.vp-sidebar-children .vp-sidebar-children .vp-sidebar-item:not(.vp-sidebar-heading).active{border-left-color:transparent;font-weight:500}a.vp-sidebar-heading+.vp-sidebar-children .vp-sidebar-item:not(.vp-sidebar-heading).active{border-left-color:transparent}.vp-sidebar-item.active:not(p.vp-sidebar-heading){border-left-color:var(--vp-c-accent);color:var(--vp-c-accent);font-weight:600}a.vp-sidebar-item{cursor:pointer}a.vp-sidebar-item:hover{color:var(--vp-c-accent)}.vp-sidebar-items{margin:0;padding:1.5rem 0;list-style-type:none}@media (max-width: 719px){.vp-sidebar-items{padding:1rem 0}}.vp-sidebar-items ul{margin:0;padding:0;list-style-type:none}.vp-sidebar-items a{display:inline-block}.vp-sidebar{position:fixed;top:var(--navbar-height);bottom:0;left:0;z-index:10;overflow-y:auto;box-sizing:border-box;width:var(--sidebar-width);margin:0;border-right:1px solid var(--vp-c-border);background-color:var(--vp-sidebar-c-bg);font-size:16px;transition:transform var(--vp-t-transform),background-color var(--vp-t-color),border-color var(--vp-t-color);scrollbar-color:var(--vp-c-accent) var(--vp-c-gutter);scrollbar-width:thin}@media (max-width: 959px){.vp-sidebar{width:var(--sidebar-width-mobile);font-size:15px}}@media (max-width: 719px){.vp-sidebar{top:0;padding-top:var(--navbar-height);transform:translate(-100%)}}.vp-sidebar::-webkit-scrollbar{width:7px}.vp-sidebar::-webkit-scrollbar-track{background-color:var(--vp-c-gutter)}.vp-sidebar::-webkit-scrollbar-thumb{background-color:var(--vp-c-accent)}.vp-sidebar .vp-navbar-items{display:none;padding:.5rem 0 .75rem;border-bottom:1px solid var(--vp-c-gutter);transition:border-color var(--vp-t-color)}@media (max-width: 719px){.vp-sidebar .vp-navbar-items{display:block}.vp-sidebar .vp-navbar-items .vp-navbar-dropdown-item a.route-link-active:after{top:calc(1rem - 2px)}}.vp-sidebar .vp-navbar-items ul{margin:0;padding:0;list-style-type:none}.vp-sidebar .vp-navbar-items a{font-weight:600}.vp-sidebar .vp-navbar-item{display:block;padding:.5rem 0 .5rem 1.5rem;font-size:1.1em;line-height:1.25rem}.vp-sidebar-mask{position:fixed;top:0;left:0;z-index:9;display:none;width:100vw;height:100vh}.vp-theme-container.no-navbar .vp-sidebar{top:0}@media (max-width: 719px){.vp-theme-container.no-navbar .vp-sidebar{padding-top:0}}.vp-theme-container.no-navbar .vp-page{padding-top:0}.vp-theme-container.no-navbar .theme-default-content h1,.vp-theme-container.no-navbar .theme-default-content h2,.vp-theme-container.no-navbar .theme-default-content h3,.vp-theme-container.no-navbar .theme-default-content h4,.vp-theme-container.no-navbar .theme-default-content h5,.vp-theme-container.no-navbar .theme-default-content h6{margin-top:1.5rem;padding-top:0}.vp-theme-container.no-sidebar .vp-sidebar{display:none}@media (max-width: 719px){.vp-theme-container.no-sidebar .vp-sidebar{display:block}}.vp-theme-container.no-sidebar .vp-page{padding-left:0}@media (max-width: 719px){.vp-theme-container.sidebar-open .vp-sidebar{transform:translate(0)}.vp-theme-container.sidebar-open .vp-sidebar-mask{display:block}}.fade-slide-y-enter-active{transition:all .2s ease}.fade-slide-y-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1)}.fade-slide-y-enter-from,.fade-slide-y-leave-to{opacity:0;transform:translateY(10px)}.vp-theme-container[data-v-463c2c5d]{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width: 959px){.vp-theme-container[data-v-463c2c5d]{padding:2rem}}:root{--vp-c-white: #fff;--vp-c-black: #000;--vp-c-grey-text: #dddde3;--vp-c-grey-hover: #e4e4e9;--vp-c-grey-bg: #ebebef;--vp-c-grey-soft: rgb(142 150 170 / 14%);--vp-c-indigo-text: #3451b2;--vp-c-indigo-hover: #3a5ccc;--vp-c-indigo-bg: #5672cd;--vp-c-indigo-soft: rgb(100 108 255 / 14%);--vp-c-purple-text: #6f42c1;--vp-c-purple-hover: #7e4cc9;--vp-c-purple-bg: #8e5cd9;--vp-c-purple-soft: rgb(159 122 234 / 14%);--vp-c-green-text: #18794e;--vp-c-green-hover: #299764;--vp-c-green-bg: #30a46c;--vp-c-green-soft: rgb(16 185 129 / 14%);--vp-c-yellow-text: #915930;--vp-c-yellow-hover: #946300;--vp-c-yellow-bg: #9f6a00;--vp-c-yellow-soft: rgb(234 179 8 / 14%);--vp-c-red-text: #b8272c;--vp-c-red-hover: #d5393e;--vp-c-red-bg: #e0575b;--vp-c-red-soft: rgb(244 63 94 / 14%)}[data-theme=dark]{--vp-c-white: #000;--vp-c-black: #fff;--vp-c-grey-text: #515c67;--vp-c-grey-hover: #414853;--vp-c-grey-bg: #32363f;--vp-c-grey-soft: rgb(101 117 133 / 16%);--vp-c-indigo-text: #a8b1ff;--vp-c-indigo-hover: #5c73e7;--vp-c-indigo-bg: #3e63dd;--vp-c-indigo-soft: rgb(100 108 255 / 16%);--vp-c-purple-text: #c8abfa;--vp-c-purple-hover: #a879e6;--vp-c-purple-bg: #8e5cd9;--vp-c-purple-soft: rgb(159 122 234 / 16%);--vp-c-green-text: #3dd68c;--vp-c-green-hover: #30a46c;--vp-c-green-bg: #298459;--vp-c-green-soft: rgb(16 185 129 / 16%);--vp-c-yellow-text: #f9b44e;--vp-c-yellow-hover: #da8b17;--vp-c-yellow-bg: #a46a0a;--vp-c-yellow-soft: rgb(234 179 8 / 16%);--vp-c-red-text: #f66f81;--vp-c-red-hover: #f14158;--vp-c-red-bg: #b62a3c;--vp-c-red-soft: rgb(244 63 94 / 16%)}html,body{background:var(--vp-c-bg)}html{font-size:16px;font-display:optional;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}@media print{html{font-size:12pt}}html[data-theme=dark]{color-scheme:dark}body{min-height:100vh;margin:0;padding:0;color:#2c3e50;font-synthesis:style}a{color:var(--vp-c-accent);font-weight:500;text-decoration:none;overflow-wrap:break-word}kbd{display:inline-block;min-width:1em;margin-inline:.125rem;padding:.25em;border:1px solid #eee;border-radius:.25em;box-shadow:1px 1px 4px 0 var(--vp-c-shadow);line-height:1;letter-spacing:-.1em;text-align:center}:not(pre)>code{margin:0;padding:3px 6px;border-radius:4px;background:#7f7f7f1f;font-size:.875em;overflow-wrap:break-word}table code{padding:.1rem .4rem}p a code{color:var(--vp-c-accent);font-weight:400}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25;overflow-wrap:break-word}h1:focus-visible,h2:focus-visible,h3:focus-visible,h4:focus-visible,h5:focus-visible,h6:focus-visible{outline:none}h1{font-size:2rem}h2{padding-bottom:.3rem;border-bottom:1px solid #eaecef;font-size:1.65rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:1.05rem}h6{font-size:1rem}a.header-anchor{position:relative;color:inherit;text-decoration:none}a.header-anchor:hover:before{content:"¶";position:absolute;top:.4167em;left:-.75em;color:var(--vp-c-accent);font-size:.75em}a.header-anchor:focus-visible{outline:none}a.header-anchor:focus-visible:before{content:"¶";position:absolute;left:-.75em;color:var(--vp-c-accent);outline:auto}p,ul,ol{line-height:1.6;overflow-wrap:break-word}@media print{p,ul,ol{line-height:1.5}}ul,ol{padding-inline-start:1.2em}blockquote{margin:1rem 0;padding:.25rem 0 .25rem 1rem;border-inline-start:.2rem solid #ddd;color:#666;font-size:1rem;overflow-wrap:break-word}blockquote>p{margin:0}hr{border:0;border-top:1px solid #eaecef}table{display:block;overflow-x:auto;margin:1rem 0;border-collapse:collapse}tr:nth-child(odd){background:#f6f8fa}th,td{padding:.6em 1em;border:1px solid #dfe2e5}pre{text-align:left;direction:ltr;white-space:pre;word-spacing:normal;word-wrap:normal;word-break:normal;overflow-wrap:unset;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}@media print{pre{white-space:pre-wrap}}pre code{padding:0;border-radius:0}@page{margin:2cm;font-size:12pt;size:a4}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}a{color:inherit;font-weight:inherit!important;font-size:inherit!important;text-decoration:underline}a.header-anchor{text-decoration:none}abbr[title]:after{content:" (" attr(title) ")"}pre{border:1px solid #eee;white-space:pre-wrap!important}pre>code{white-space:pre-wrap!important}blockquote{border-inline-start:.2rem solid #ddd;color:inherit}blockquote,pre{orphans:5;widows:5}img,tr,canvas{page-break-inside:avoid}}@media (prefers-reduced-motion: reduce){*,:before,:after{background-attachment:initial!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important;animation-duration:1ms!important;animation-delay:-1ms!important;animation-iteration-count:1!important}}:root{--vp-c-accent: #3eaf7c;--vp-c-accent-hover: #4abf8a;--vp-c-accent-text: var(--vp-c-white);--vp-c-bg: #fff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #fff;--vp-c-text: rgba(60 60 67);--vp-c-text-mute: rgb(60 60 67 / 78%);--vp-c-text-subtle: rgb(60 60 67 / 56%);--vp-c-border: #d7d9da;--vp-c-gutter: #eaecef;--vp-c-border-hard: #d1d4d7;--vp-c-shadow: rgb(0 0 0 / 15%);--vp-c-shadow-hard: #f1f3f5;--vp-c-control: #f8f9fa;--vp-c-control-hover: #f1f3f5;--vp-c-control-active: #e9ecef;--vp-c-control-disabled: #ccc;--vp-navbar-c-bg: var(--vp-c-bg);--vp-sidebar-c-bg: var(--vp-c-bg);--vp-c-code-tab-title: var(--code-c-text, rgb(255 255 255 / 90%));--vp-c-code-tab-bg: var(--code-bg-color, var(--code-c-bg));--vp-c-code-tab-active: var(--vp-c-accent);--c-badge-tip: var(--c-tip);--c-badge-warning: #ecc808;--c-badge-warning-text: var(--vp-c-bg);--c-badge-danger: #dc2626;--c-badge-danger-text: var(--vp-c-bg);--font-family: -apple-system, "BlinkMacSystemFont", "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--navbar-height: 3.6rem;--navbar-padding-v: .7rem;--navbar-padding-h: 1.5rem;--sidebar-width: 20rem;--sidebar-width-mobile: calc(var(--sidebar-width) * .82);--content-width: 740px;--homepage-width: 960px;--vp-t-color: .3s ease;--vp-t-transform: .3s ease;--external-link-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");--external-link-c-icon: var(--vp-c-text-mute)}.DocSearch{--docsearch-primary-color: var(--vp-c-accent);--docsearch-text-color: var(--vp-c-text);--docsearch-highlight-color: var(--vp-c-accent);--docsearch-muted-color: var(--vp-c-text-mute);--docsearch-container-background: rgb(9 10 17 / 80%);--docsearch-modal-background: var(--vp-c-bg-alt);--docsearch-searchbox-background: var(--vp-c-gutter);--docsearch-searchbox-focus-background: var(--vp-c-bg);--docsearch-searchbox-shadow: inset 0 0 0 2px var(--vp-c-accent);--docsearch-hit-color: var(--vp-c-text-mute);--docsearch-hit-active-color: var(--vp-c-bg);--docsearch-hit-background: var(--vp-c-bg);--docsearch-hit-shadow: 0 1px 3px 0 var(--vp-c-border-hard);--docsearch-footer-background: var(--vp-c-bg)}.search-box{--search-c-item-text: var(--vp-c-text-subtle)}[data-theme=dark]{--vp-c-accent: #3aa675;--vp-c-accent-hover: #349469;--vp-c-bg: #22272e;--vp-c-bg-alt: #343b44;--vp-c-bg-elv: #22272e;--vp-c-text: #adbac7;--vp-c-text-mute: rgb(235 235 245 / 60%);--vp-c-text-subtle: rgb(235 235 245 / 38%);--vp-c-border: #3e4c5a;--vp-c-gutter: #373f4c;--vp-c-border-hard: #405064;--vp-c-shadow: rgb(0 0 0 / 30%);--vp-c-shadow-hard: #2f3841;--vp-c-control: #2d333b;--vp-c-control-hover: #2f3841;--vp-c-control-active: #333a44;--vp-c-control-disabled: #3e4c5a;--c-badge-warning: var(--c-warning);--c-badge-warning-text: #3c2e05;--c-badge-danger: var(--c-danger);--c-badge-danger-text: #401416}[data-theme=dark] .DocSearch{--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgb(3 4 9 / 30%);--docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);--docsearch-footer-shadow: inset 0 1px 0 0 rgb(73 76 106 / 50%), 0 -4px 8px 0 rgb(0 0 0 / 20%)}html,body{background-color:var(--vp-c-bg);accent-color:var(--vp-c-accent);transition:background-color var(--vp-t-color)}[data-theme=dark]{color-scheme:dark}body{color:var(--vp-c-text);font-size:1rem;font-family:var(--font-family)}h2{border-color:var(--vp-c-gutter);transition:border-color var(--vp-t-color)}a{color:var(--vp-c-accent)}code{background-color:var(--vp-c-bg-alt);color:var(--vp-c-text-mute);font-family:var(--code-font-family);transition:background-color var(--vp-t-color)}p a code{color:var(--vp-c-accent)}kbd{border-color:var(--vp-c-border-hard);transition:border-color var(--vp-t-color)}blockquote{border-color:var(--vp-c-border-hard);color:var(--vp-c-text-mute);transition:border-color var(--vp-t-color)}hr{border-color:var(--vp-c-gutter);transition:border-color var(--vp-t-color)}table{transition:border-color var(--vp-t-color)}tr:nth-child(odd){background-color:var(--vp-c-bg-alt);transition:background-color var(--vp-t-color)}tr:nth-child(odd) code{background-color:var(--vp-c-gutter)}th,td{border-color:var(--vp-c-border-hard);transition:border-color var(--vp-t-color)}.theme-default-content h1,.theme-default-content h2,.theme-default-content h3,.theme-default-content h4,.theme-default-content h5,.theme-default-content h6{margin-top:calc(.5rem - var(--navbar-height));margin-bottom:0;padding-top:calc(1rem + var(--navbar-height))}.theme-default-content h1:first-child,.theme-default-content h2:first-child,.theme-default-content h3:first-child,.theme-default-content h4:first-child,.theme-default-content h5:first-child,.theme-default-content h6:first-child{margin-bottom:1rem}.theme-default-content h1:first-child+p,.theme-default-content h1:first-child+pre,.theme-default-content h1:first-child+.custom-container,.theme-default-content h2:first-child+p,.theme-default-content h2:first-child+pre,.theme-default-content h2:first-child+.custom-container,.theme-default-content h3:first-child+p,.theme-default-content h3:first-child+pre,.theme-default-content h3:first-child+.custom-container,.theme-default-content h4:first-child+p,.theme-default-content h4:first-child+pre,.theme-default-content h4:first-child+.custom-container,.theme-default-content h5:first-child+p,.theme-default-content h5:first-child+pre,.theme-default-content h5:first-child+.custom-container,.theme-default-content h6:first-child+p,.theme-default-content h6:first-child+pre,.theme-default-content h6:first-child+.custom-container{margin-top:2rem}@media (max-width: 419px){.theme-default-content h1{font-size:1.9rem}}.theme-default-content a:not(.header-anchor){text-decoration:underline}.theme-default-content img{max-width:100%}div[class*=language-]{margin:.75rem 0;transition:background-color var(--vp-t-color),color var(--vp-t-color)}@media (max-width: 419px){div[class*=language-]{--code-border-radius: 0;margin:.75rem -1.5rem}}div[class*=language-] .line.diff,div[class*=language-] .line.highlighted{transition:background-color var(--vp-t-color)}.table-of-contents .vp-badge{vertical-align:middle}.arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s}[data-theme=dark] .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.arrow.down{transform:rotate(180deg)}.arrow.right{transform:rotate(90deg)}.arrow.left{transform:rotate(-90deg)}.vp-external-link-icon:after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-c-icon);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.external-link-icon .external-link:after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-c-icon);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.external-link-icon .theme-default-content a[href*="://"]:not(.no-external-link-icon):after,.external-link-icon .theme-default-content a[target=_blank]:not(.no-external-link-icon):after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-c-icon);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}@media screen and (max-width: 719px){.vp-hide-mobile{display:none}}.vp-comment{max-width:var(--content-width);margin:0 auto;padding:2rem 2.5rem}@media (max-width: 959px){.vp-comment{padding:2rem}}@media (max-width: 419px){.vp-comment{padding:1.5rem}}.vp-navbar .DocSearch{transition:background-color var(--vp-t-color)}.vp-navbar .search-box{vertical-align:top;flex:0 0 auto}:root{--search-c-bg: var(--vp-c-bg);--search-c-accent: var(--vp-c-accent);--search-c-text: var(--vp-c-text);--search-c-border: var(--vp-c-gutter);--search-c-item-text: var(--vp-c-text-subtle);--search-c-item-focus: var(--vp-c-bg-alt);--search-input-width: 8rem;--search-result-width: 20rem}.search-box{position:relative;display:inline-block;margin-left:1rem}@media print{.search-box{display:none}}.search-box input{display:inline-block;width:var(--search-input-width);height:2rem;padding:0 .5rem 0 2rem;border:1px solid var(--search-c-border);border-radius:2rem;background:var(--search-c-bg) url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='13'%3e%3cg%20stroke-width='2'%20stroke='%23aaa'%20fill='none'%3e%3cpath%20d='M11.29%2011.71l-4-4'/%3e%3ccircle%20cx='5'%20cy='5'%20r='4'/%3e%3c/g%3e%3c/svg%3e") .6rem .5rem no-repeat;background-size:1rem;color:var(--search-c-text);outline:none;font-size:.9rem;line-height:2rem;cursor:text;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all ease .3s}@media (max-width: 719px){.search-box input{position:relative;width:0;border-color:transparent;cursor:pointer}}.search-box input:focus{border-color:var(--search-c-accent);cursor:auto}@media (max-width: 719px){.search-box input:focus{left:0;width:10rem;cursor:text}}@media (max-width: 419px){.search-box input:focus{width:8rem}}.search-box .suggestions{position:absolute;top:2rem;right:0;width:var(--search-result-width);padding:.4rem;border:1px solid var(--search-c-border);border-radius:6px;background:var(--search-c-bg);list-style-type:none}@media (max-width: 419px){.search-box .suggestions{right:-.5rem;width:calc(100vw - 4rem)}}.search-box .suggestion{padding:.4rem .6rem;border-radius:4px;line-height:1.4;cursor:pointer}.search-box .suggestion a{color:var(--search-c-item-text);white-space:normal}.search-box .suggestion.focus{background-color:var(--search-c-item-focus)}.search-box .suggestion.focus a{color:var(--search-c-accent)}.search-box .suggestion .page-title{font-weight:600}.search-box .suggestion .page-header{margin-left:.25em;font-size:.9em}.vgt-table.striped tbody tr:nth-of-type(odd){background-color:#33446d08}.vgt-right-align{text-align:right}.vgt-left-align{text-align:left}.vgt-center-align{text-align:center}.vgt-pull-left{float:left!important}.vgt-pull-right{float:right!important}.vgt-clearfix:after{display:block;content:"";clear:both}.vgt-responsive{width:100%;overflow-x:auto;position:relative}.vgt-text-disabled{color:#909399}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.vgt-wrap{position:relative}.vgt-fixed-header{position:absolute;z-index:10;overflow-x:auto}table.vgt-table{font-size:16px;border-collapse:collapse;background-color:#fff;width:100%;max-width:100%;table-layout:auto;border:1px solid #DCDFE6}table.vgt-table td{padding:.75em;vertical-align:top;border-bottom:1px solid #DCDFE6;color:#606266}table.vgt-table tr.clickable{cursor:pointer}table.vgt-table tr.clickable:hover{background-color:#f1f5fd}.vgt-table th{padding:.75em 1.5em .75em .75em;vertical-align:middle;position:relative}.vgt-table th.sortable button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;position:absolute;top:0;left:0;width:100%;height:100%}.vgt-table th.sortable button:focus{outline:none}.vgt-table th.sortable button:after{content:"";position:absolute;height:0px;width:0px;right:6px;top:50%;margin-top:-7px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #606266}.vgt-table th.sortable button:before{content:"";position:absolute;height:0px;width:0px;right:6px;top:50%;margin-bottom:-7px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #606266}.vgt-table th.line-numbers,.vgt-table th.vgt-checkbox-col{padding:0 .75em;color:#606266;border-right:1px solid #DCDFE6;word-wrap:break-word;width:25px;text-align:center;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-table th.filter-th{padding:.75em}.vgt-table th.vgt-row-header{border-bottom:2px solid #DCDFE6;border-top:2px solid #DCDFE6;background-color:#fafafb}.vgt-table th.vgt-row-header .triangle{width:24px;height:24px;border-radius:15%;position:relative;margin:0 8px}.vgt-table th.vgt-row-header .triangle:after{content:"";position:absolute;display:block;left:50%;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #606266;margin-left:-3px;transition:.3s ease transform}.vgt-table th.vgt-row-header .triangle.expand:after{transform:rotate(90deg)}.vgt-table thead th{color:#606266;vertical-align:bottom;border-bottom:1px solid #DCDFE6;padding-right:1.5em;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-table thead th.vgt-checkbox-col{vertical-align:middle}.vgt-table thead th.sorting-asc button:after{border-bottom:5px solid #409eff}.vgt-table thead th.sorting-desc button:before{border-top:5px solid #409eff}.vgt-input,.vgt-select{width:100%;height:32px;line-height:1;display:block;font-size:14px;font-weight:400;padding:6px 12px;color:#606266;border-radius:4px;box-sizing:border-box;background-image:none;background-color:#fff;border:1px solid #DCDFE6;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.vgt-input::-moz-placeholder,.vgt-select::-moz-placeholder{color:#606266;opacity:.3}.vgt-input::placeholder,.vgt-select::placeholder{color:#606266;opacity:.3}.vgt-input:focus,.vgt-select:focus{outline:none;border-color:#409eff}.vgt-loading{position:absolute;width:100%;z-index:10;margin-top:117px}.vgt-loading__content{background-color:#c0dfff;color:#409eff;padding:7px 30px;border-radius:3px}.vgt-inner-wrap.is-loading{opacity:.5;pointer-events:none}.vgt-wrap__expander{text-decoration:none}.vgt-table.bordered td,.vgt-table.bordered th{border:1px solid #DCDFE6}.vgt-table.bordered th.vgt-row-header{border-bottom:3px solid #DCDFE6}.vgt-wrap.rtl{direction:rtl}.vgt-wrap.rtl .vgt-table thead th,.vgt-wrap.rtl .vgt-table.condensed thead th{padding-left:1.5em;padding-right:.75em}.vgt-wrap.rtl .vgt-table th.sorting:after,.vgt-wrap.rtl .vgt-table th.sorting-asc:after{margin-right:5px;margin-left:0}.vgt-wrap.rtl .vgt-table th.sortable:after,.vgt-wrap.rtl .vgt-table th.sortable:before{right:inherit;left:6px}.vgt-table.condensed td,.vgt-table.condensed th.vgt-row-header{padding:.4em}@media (max-width: 576px){.vgt-compact *{box-sizing:border-box}.vgt-compact tbody,.vgt-compact tr,.vgt-compact td{display:block;width:100%}.vgt-compact thead{display:none}.vgt-compact tr{margin-bottom:15px}.vgt-compact td{text-align:right;position:relative}.vgt-compact td:before{content:attr(data-label);position:relative;float:left;left:0;width:40%;padding-left:10px;font-weight:700;text-align:left}.vgt-compact th.line-numbers{width:100%!important;display:block;padding:.3em 1em!important}}.vgt-global-search{padding:5px 0;display:flex;flex-wrap:nowrap;align-items:stretch;border:1px solid #DCDFE6;border-bottom:0px;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-global-search form{display:flex}.vgt-global-search form label{margin-top:3px}.vgt-global-search__input{position:relative;padding-left:40px;flex-grow:1}.vgt-global-search__input .input__icon{position:absolute;left:0;max-width:32px}.vgt-global-search__input .input__icon .magnifying-glass{margin-top:3px;margin-left:8px;display:block;width:16px;height:16px;border:2px solid #494949;position:relative;border-radius:50%}.vgt-global-search__input .input__icon .magnifying-glass:before{content:"";display:block;position:absolute;right:-7px;bottom:-5px;background:#494949;width:8px;height:4px;border-radius:2px;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg)}.vgt-global-search__actions{margin-left:10px}.vgt-selection-info-row{background:#fdf9e8;padding:5px 16px;font-size:13px;border-top:1px solid #DCDFE6;border-left:1px solid #DCDFE6;border-right:1px solid #DCDFE6;color:#d3aa3b;font-weight:700}.vgt-selection-info-row a{font-weight:700;display:inline-block;margin-left:10px}.vgt-wrap__actions-footer{border:1px solid #DCDFE6}.vgt-wrap__footer{color:#606266;font-size:1.1rem;padding:1em;border:1px solid #DCDFE6;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-wrap__footer .footer__row-count{position:relative;padding-right:3px}.vgt-wrap__footer .footer__row-count__label,.vgt-wrap__footer .footer__row-count__select{display:inline-block;vertical-align:middle}.vgt-wrap__footer .footer__row-count__label{font-size:1.1rem}.vgt-wrap__footer .footer__row-count__select{font-size:1.1rem;background-color:transparent;width:auto;border:0;border-radius:0;height:auto;margin-left:8px;color:#606266;font-weight:700;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 15px 0 5px}.vgt-wrap__footer .footer__row-count__select::-ms-expand{display:none}.vgt-wrap__footer .footer__row-count__select:focus{outline:none;border-color:#409eff}.vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0px;width:0px;right:6px;top:50%;margin-top:-1px;border-top:6px solid #606266;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:none;pointer-events:none}.vgt-wrap__footer .footer__navigation{font-size:1.1rem}.vgt-wrap__footer .footer__navigation>button:first-of-type{margin-right:16px}.vgt-wrap__footer .footer__navigation__page-btn,.vgt-wrap__footer .footer__navigation__info,.vgt-wrap__footer .footer__navigation__page-info{display:inline-block;vertical-align:middle;color:#909399}.vgt-wrap__footer .footer__navigation__page-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;text-decoration:none;color:#606266;font-weight:700;white-space:nowrap;vertical-align:middle}.vgt-wrap__footer .footer__navigation__page-btn:hover{cursor:pointer}.vgt-wrap__footer .footer__navigation__page-btn.disabled,.vgt-wrap__footer .footer__navigation__page-btn.disabled:hover{opacity:.5;cursor:not-allowed}.vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#606266}.vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#606266}.vgt-wrap__footer .footer__navigation__page-btn span{display:inline-block;vertical-align:middle;font-size:1.1rem}.vgt-wrap__footer .footer__navigation__page-btn .chevron{width:24px;height:24px;border-radius:15%;position:relative;margin:0;display:inline-block;vertical-align:middle}.vgt-wrap__footer .footer__navigation__page-btn .chevron:after{content:"";position:absolute;display:block;left:50%;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent}.vgt-wrap__footer .footer__navigation__page-btn .chevron.left:after{border-right:6px solid #409eff;margin-left:-3px}.vgt-wrap__footer .footer__navigation__page-btn .chevron.right:after{border-left:6px solid #409eff;margin-left:-3px}.vgt-wrap__footer .footer__navigation__info,.vgt-wrap__footer .footer__navigation__page-info{display:inline-block;margin:0 16px}.vgt-wrap__footer .footer__navigation__page-info span{display:inline-block;vertical-align:middle}.vgt-wrap__footer .footer__navigation__page-info__current-entry{width:30px;text-align:center;vertical-align:middle;display:inline-block;margin:0 10px;font-weight:700}@media only screen and (max-width: 750px){.vgt-wrap__footer .footer__navigation__info{display:none}.vgt-wrap__footer .footer__navigation__page-btn{margin-left:16px}}.vgt-table.nocturnal{border:1px solid #435169;background-color:#324057}.vgt-table.nocturnal tr.clickable:hover{background-color:#445168}.vgt-table.nocturnal td{border-bottom:1px solid #435169;color:#c7ced8}.vgt-table.nocturnal th.line-numbers,.vgt-table.nocturnal th.vgt-checkbox-col{color:#c7ced8;border-right:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-table.nocturnal thead th{color:#c7ced8;border-bottom:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-table.nocturnal thead th.sortable:before{border-top-color:#3e5170}.vgt-table.nocturnal thead th.sortable:after{border-bottom-color:#3e5170}.vgt-table.nocturnal thead th.sortable.sorting-asc{color:#fff}.vgt-table.nocturnal thead th.sortable.sorting-asc:after{border-bottom-color:#409eff}.vgt-table.nocturnal thead th.sortable.sorting-desc{color:#fff}.vgt-table.nocturnal thead th.sortable.sorting-desc:before{border-top-color:#409eff}.vgt-table.nocturnal.bordered td,.vgt-table.nocturnal.bordered th{border:1px solid #435169}.vgt-table.nocturnal .vgt-input,.vgt-table.nocturnal .vgt-select{color:#c7ced8;background-color:#232d3f;border:1px solid #435169}.vgt-table.nocturnal .vgt-input::-moz-placeholder,.vgt-table.nocturnal .vgt-select::-moz-placeholder{color:#c7ced8;opacity:.3}.vgt-table.nocturnal .vgt-input::placeholder,.vgt-table.nocturnal .vgt-select::placeholder{color:#c7ced8;opacity:.3}.vgt-wrap.nocturnal .vgt-wrap__footer{color:#c7ced8;border:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count{position:relative}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count__label{color:#8290a7}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count__select{color:#c7ced8;background:#232d3f;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:15px;padding-left:10px;border-radius:3px;text-align:center}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count__select:focus{border-color:#409eff}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0px;width:0px;right:6px;top:50%;margin-top:-1px;border-top:6px solid #C7CED8;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:none;pointer-events:none}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn{color:#c7ced8}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#c7ced8}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#c7ced8}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__info,.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-info{color:#8290a7}.vgt-wrap.nocturnal .vgt-global-search{border:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-wrap.nocturnal .vgt-global-search__input .input__icon .magnifying-glass{border:2px solid #3f4c63}.vgt-wrap.nocturnal .vgt-global-search__input .input__icon .magnifying-glass:before{background:#3f4c63}.vgt-wrap.nocturnal .vgt-global-search__input .vgt-input,.vgt-wrap.nocturnal .vgt-global-search__input .vgt-select{color:#c7ced8;background-color:#232d3f;border:1px solid #435169}.vgt-wrap.nocturnal .vgt-global-search__input .vgt-input::-moz-placeholder,.vgt-wrap.nocturnal .vgt-global-search__input .vgt-select::-moz-placeholder{color:#c7ced8;opacity:.3}.vgt-wrap.nocturnal .vgt-global-search__input .vgt-input::placeholder,.vgt-wrap.nocturnal .vgt-global-search__input .vgt-select::placeholder{color:#c7ced8;opacity:.3}.vgt-table.black-rhino{border:1px solid #435169;background-color:#dfe5ee}.vgt-table.black-rhino tr.clickable:hover{background-color:#fff}.vgt-table.black-rhino td{border-bottom:1px solid #bbc5d6;color:#49515e}.vgt-table.black-rhino th.line-numbers,.vgt-table.black-rhino th.vgt-checkbox-col{color:#dae2f0;border-right:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-table.black-rhino thead th{color:#dae2f0;text-shadow:1px 1px #3e5170;border-bottom:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-table.black-rhino thead th.sortable:before{border-top-color:#607498}.vgt-table.black-rhino thead th.sortable:after{border-bottom-color:#607498}.vgt-table.black-rhino thead th.sortable.sorting-asc{color:#fff}.vgt-table.black-rhino thead th.sortable.sorting-asc:after{border-bottom-color:#409eff}.vgt-table.black-rhino thead th.sortable.sorting-desc:before{border-top-color:#409eff}.vgt-table.black-rhino.bordered td{border:1px solid #bbc5d6}.vgt-table.black-rhino.bordered th{border:1px solid #435169}.vgt-table.black-rhino .vgt-input,.vgt-table.black-rhino .vgt-select{color:#dae2f0;background-color:#34445f;border:1px solid transparent}.vgt-table.black-rhino .vgt-input::-moz-placeholder,.vgt-table.black-rhino .vgt-select::-moz-placeholder{color:#dae2f0;opacity:.3}.vgt-table.black-rhino .vgt-input::placeholder,.vgt-table.black-rhino .vgt-select::placeholder{color:#dae2f0;opacity:.3}.vgt-wrap.black-rhino .vgt-wrap__footer{color:#dae2f0;border:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count{position:relative;padding-right:3px}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__label{color:#98a5b9}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__select{color:#49515e;background:#34445f;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:15px;padding-left:5px;border-radius:3px}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__select::-ms-expand{display:none}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__select:focus{border-color:#409eff}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0px;width:0px;right:6px;top:50%;margin-top:-1px;border-top:6px solid rgb(73,81,94);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:none;pointer-events:none}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn{color:#dae2f0}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#dae2f0}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#dae2f0}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__info,.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-info{color:#dae2f0}.vgt-wrap.black-rhino .vgt-global-search{border:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-wrap.black-rhino .vgt-global-search__input .input__icon .magnifying-glass{border:2px solid #3f4c63}.vgt-wrap.black-rhino .vgt-global-search__input .input__icon .magnifying-glass:before{background:#3f4c63}.vgt-wrap.black-rhino .vgt-global-search__input .vgt-input,.vgt-wrap.black-rhino .vgt-global-search__input .vgt-select{color:#dae2f0;background-color:#44516c;border:1px solid transparent}.vgt-wrap.black-rhino .vgt-global-search__input .vgt-input::-moz-placeholder,.vgt-wrap.black-rhino .vgt-global-search__input .vgt-select::-moz-placeholder{color:#dae2f0;opacity:.3}.vgt-wrap.black-rhino .vgt-global-search__input .vgt-input::placeholder,.vgt-wrap.black-rhino .vgt-global-search__input .vgt-select::placeholder{color:#dae2f0;opacity:.3}.vgt-inner-wrap{border-radius:.25rem;box-shadow:0 1px 3px #32325d1a,0 1px 2px #32325d0f}.vgt-table.polar-bear{border-spacing:0;border-collapse:separate;font-size:1rem;background-color:#fff;border:1px solid #e3e8ee;border-bottom:none;border-radius:.25rem}.vgt-table.polar-bear td{padding:1em .75em;border-bottom:1px solid #E4EBF3;color:#525f7f}.vgt-table.polar-bear td.vgt-right-align{text-align:right}.vgt-table.polar-bear th.line-numbers,.vgt-table.polar-bear th.vgt-checkbox-col{color:#394567;border-right:1px solid #e3e8ee;background:#f7fafc}.vgt-table.polar-bear thead th{color:#667b94;font-weight:600;border-bottom:1px solid #e3e8ee;background:#f7fafc}.vgt-table.polar-bear thead th.sorting-asc,.vgt-table.polar-bear thead th.sorting-desc{color:#5e72e4}.vgt-table.polar-bear thead th.sorting-desc:before{border-top:5px solid #7485e8}.vgt-table.polar-bear thead th.sorting-asc:after{border-bottom:5px solid #7485e8}.vgt-table.polar-bear thead th .vgt-input,.vgt-table.polar-bear thead th .vgt-select{height:2.75em;box-shadow:0 1px 2px #0000000d;border:1px solid #E4EBF3}.vgt-table.polar-bear thead th .vgt-input:focus,.vgt-table.polar-bear thead th .vgt-select:focus{outline:0;border-color:#cae0fe}.vgt-table.polar-bear thead tr:first-child th:first-child{border-top-left-radius:.25rem}.vgt-table.polar-bear thead tr:first-child th:last-child{border-top-right-radius:.25rem}.vgt-table.polar-bear.bordered td{border:1px solid #e3e8ee;background:#fff}.vgt-table.polar-bear.bordered th{border:1px solid #e3e8ee}.vgt-wrap.polar-bear .vgt-wrap__footer{color:#394567;border:1px solid #e3e8ee;border-bottom:0px;border-top:0px;background:linear-gradient(#f7fafc,#f7fafc)}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count{position:relative;padding-right:3px}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__label{color:#98a5b9}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__select{text-align:center;color:#525f7f;background:#fff;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:5px 30px 5px 5px;border-radius:3px;box-shadow:0 1px 2px #0000000d;border:1px solid #E4EBF3}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__select::-ms-expand{display:none}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__select:focus{border-color:#5e72e4}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0px;width:0px;right:15px;top:50%;margin-top:-3px;border-top:6px solid #525f7f;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:none;pointer-events:none}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn{color:#394567}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#394567}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#394567}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__info,.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-info{color:#394567}.vgt-wrap.polar-bear .vgt-global-search{border:1px solid #e3e8ee;border-bottom:0px;border-top-left-radius:3px;border-top-right-radius:3px;background:#f7fafc}.vgt-wrap.polar-bear .vgt-global-search__input .input__icon .magnifying-glass{border:2px solid #dde3ea}.vgt-wrap.polar-bear .vgt-global-search__input .input__icon .magnifying-glass:before{background:#dde3ea}.vgt-wrap.polar-bear .vgt-global-search__input .vgt-input,.vgt-wrap.polar-bear .vgt-global-search__input .vgt-select{height:2.75em;box-shadow:0 1px 2px #0000000d;border:1px solid #E4EBF3}.vgt-wrap.polar-bear .vgt-global-search__input .vgt-input::-moz-placeholder,.vgt-wrap.polar-bear .vgt-global-search__input .vgt-select::-moz-placeholder{color:#394567;opacity:.3}.vgt-wrap.polar-bear .vgt-global-search__input .vgt-input::placeholder,.vgt-wrap.polar-bear .vgt-global-search__input .vgt-select::placeholder{color:#394567;opacity:.3}.hero img{box-shadow:0 0 30px #ccc;max-width:100%}.button{border-radius:2px;font-size:.75rem;background-color:#fff;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);text-align:center;white-space:nowrap;margin-right:.5rem}table{display:table}.my-fancy-class{color:red;text-transform:uppercase}.fancy-btn{background-color:#3273dc;border-color:transparent;color:#fff;border-width:1px;cursor:pointer;justify-content:center;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);text-align:center;white-space:nowrap}.features[data-v-9b5e87dc]{border-top:0px;margin-top:0;background-color:#f3f6f8;padding:0 16px}table{display:table;margin:0}tr{border-top:none}tr:nth-child(2n){background-color:transparent}th,td{border:none;padding:auto auto} diff --git a/assets/style-classes.html-Bo6ojF8_.js b/assets/style-classes.html-Bo6ojF8_.js new file mode 100644 index 00000000..e033905c --- /dev/null +++ b/assets/style-classes.html-Bo6ojF8_.js @@ -0,0 +1,21 @@ +import{_ as e,r as l,o as p,c as o,d as n,b as t}from"./app-CbJnpAZk.js";const i={};function c(u,s){const a=l("theme-example");return p(),o("div",null,[s[0]||(s[0]=n(`

Style Classes

Vue-good-table allows providing your own css classes for the table via styleClass option but it also has in-built classes that you can make use of.

NOTE

by default, tables have 'vgt-table striped bordered'

.vgt-table

Base class that initializes all the core styles for the table.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  styleClass="vgt-table">
+</vue-good-table>
+
`,6)),t(a,{styleClasses:"vgt-table"}),s[1]||(s[1]=n(`

.vgt-table .striped

Add row striping in your data table.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  styleClass="vgt-table striped">
+</vue-good-table>
+
`,3)),t(a,{styleClasses:"vgt-table striped"}),s[2]||(s[2]=n(`

.vgt-table .bordered

Add borders to columns/rows

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  styleClass="vgt-table bordered">
+</vue-good-table>
+
`,3)),t(a,{styleClasses:"vgt-table bordered"}),s[3]||(s[3]=n(`

.vgt-table .condensed

Have lots of rows? use condensed class to get more compact rows.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  styleClass="vgt-table condensed">
+</vue-good-table>
+
`,3)),t(a,{styleClasses:"vgt-table condensed"})])}const d=e(i,[["render",c],["__file","style-classes.html.vue"]]),v=JSON.parse('{"path":"/guide/style-configuration/style-classes.html","title":"Style Classes","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":".vgt-table","slug":"vgt-table","link":"#vgt-table","children":[]},{"level":2,"title":".vgt-table .striped","slug":"vgt-table-striped","link":"#vgt-table-striped","children":[]},{"level":2,"title":".vgt-table .bordered","slug":"vgt-table-bordered","link":"#vgt-table-bordered","children":[]},{"level":2,"title":".vgt-table .condensed","slug":"vgt-table-condensed","link":"#vgt-table-condensed","children":[]}],"git":{"updatedTime":1529290288000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":1}]},"filePathRelative":"guide/style-configuration/style-classes.md"}');export{d as comp,v as data}; diff --git a/assets/table-events.html-BrtV-OVl.js b/assets/table-events.html-BrtV-OVl.js new file mode 100644 index 00000000..08f0cbe4 --- /dev/null +++ b/assets/table-events.html-BrtV-OVl.js @@ -0,0 +1,134 @@ +import{_ as s,o as a,c as e,d as t}from"./app-CbJnpAZk.js";const l={};function p(c,n){return a(),e("div",null,n[0]||(n[0]=[t(`

Table Events

v-on:row-click

event emitted on table row click

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:row-click="onRowClick">
+
methods: {
+  onRowClick(params) {
+    // params.row - row object 
+    // params.pageIndex - index of this row on the current page.
+    // params.selected - if selection is enabled this argument 
+    // indicates selected or not
+    // params.event - click event
+  }
+}
+

v-on:row-dblclick

event emitted on table row click

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:row-dblclick="onRowDoubleClick">
+
methods: {
+  onRowDoubleClick(params) {
+    // params.row - row object 
+    // params.pageIndex - index of this row on the current page.
+    // params.selected - if selection is enabled this argument 
+    // indicates selected or not
+    // params.event - click event
+  }
+}
+

v-on:cell-click

event emitted on table cell click

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:cell-click="onCellClick">
+
methods: {
+  onCellClick(params) {
+    // params.row - row object 
+    // params.column - column object
+    // params.rowIndex - index of this row on the current page.
+    // params.event - click event
+  }
+}
+

v-on:row-mouseenter

event emitted on row mouseenter

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:row-mouseenter="onRowMouseover">
+
methods: {
+  onRowMouseover(params) {
+    // params.row - row object 
+    // params.pageIndex - index of this row on the current page.
+  }
+}
+

v-on:row-mouseleave

event emitted on table row mouseleave

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:row-mouseleave="onRowMouseleave">
+
methods: {
+  onRowMouseleave(row, pageIndex) {
+    // row - row object 
+    // pageIndex - index of this row on the current page.
+  }
+}
+

event emitted on global search (when global search is enabled)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:search="onSearch">
+
methods: {
+  onSearch(params) {
+    // params.searchTerm - term being searched for
+    // params.rowCount - number of rows that match search
+  }
+}
+

v-on:page-change

event emitted on pagination page change (when pagination is enabled)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:page-change="onPageChange">
+
methods: {
+  onPageChange(params) {
+    // params.currentPage - current page that pagination is at
+    // params.prevPage - previous page
+    // params.currentPerPage - number of items per page
+    // params.total - total number of items in the table
+  }
+}
+

v-on:per-page-change

event emitted on per page dropdown change (when pagination is enabled)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:per-page-change="onPageChange">
+
methods: {
+  onPageChange(params) {
+    // params.currentPage - current page that pagination is at
+    // params.currentPerPage - number of items per page
+    // params.total - total number of items in the table
+  }
+}
+

v-on:sort-change

event emitted on sort change.

Tips

vue-good-table now supports sorting by multiple columns, so the params is an array.

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:sort-change="onSortChange">
+
methods: {
+  onSortChange(params) {
+    // params is Vue-created proxy object:
+    // params[0].type - "asc" or "desc"
+    // params[0].field - field being sorted
+  }
+}
+

v-on:column-filter

event emitted when column is filtered (only emitted for remote mode)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  v-on:column-filter="onColumnFilter">
+
methods: {
+  onColumnFilter(params) {
+    // params.columnFilters - filter values for each column in the following format:
+    // {field1: 'filterTerm', field3: 'filterTerm2')
+  }
+}
+

v-on:select-all

event emitted when all is selected (only emitted for checkbox tables)

<vue-good-table
+  :columns="columns"
+  :rows="rows"
+  :select-options="{ enabled: true }"
+  v-on:select-all="onSelectAll">
+
methods: {
+  onSelectAll(params) {
+    // params.selected - whether the select-all checkbox is checked or unchecked
+    // params.selectedRows - all rows that are selected (this page)
+  }
+}
+

v-on:selected-rows-change

event emitted whenever selection is changed (on checkbox tables)

<vue-good-table
+ :columns="columns"
+ :rows="rows"
+ :select-options="{ enabled: true }"
+ v-on:selected-rows-change="selectionChanged">
+
methods: {
+  selectionChanged(params) {
+    // params.selectedRows - all rows that are selected (this page)
+  }
+}
+
`,50)]))}const o=s(l,[["render",p],["__file","table-events.html.vue"]]),u=JSON.parse('{"path":"/guide/configuration/table-events.html","title":"Table Events","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"v-on:row-click","slug":"v-on-row-click","link":"#v-on-row-click","children":[]},{"level":2,"title":"v-on:row-dblclick","slug":"v-on-row-dblclick","link":"#v-on-row-dblclick","children":[]},{"level":2,"title":"v-on:cell-click","slug":"v-on-cell-click","link":"#v-on-cell-click","children":[]},{"level":2,"title":"v-on:row-mouseenter","slug":"v-on-row-mouseenter","link":"#v-on-row-mouseenter","children":[]},{"level":2,"title":"v-on:row-mouseleave","slug":"v-on-row-mouseleave","link":"#v-on-row-mouseleave","children":[]},{"level":2,"title":"v-on:search","slug":"v-on-search","link":"#v-on-search","children":[]},{"level":2,"title":"v-on:page-change","slug":"v-on-page-change","link":"#v-on-page-change","children":[]},{"level":2,"title":"v-on:per-page-change","slug":"v-on-per-page-change","link":"#v-on-per-page-change","children":[]},{"level":2,"title":"v-on:sort-change","slug":"v-on-sort-change","link":"#v-on-sort-change","children":[]},{"level":2,"title":"v-on:column-filter","slug":"v-on-column-filter","link":"#v-on-column-filter","children":[]},{"level":2,"title":"v-on:select-all","slug":"v-on-select-all","link":"#v-on-select-all","children":[]},{"level":2,"title":"v-on:selected-rows-change","slug":"v-on-selected-rows-change","link":"#v-on-selected-rows-change","children":[]}],"git":{"updatedTime":1661852082000,"contributors":[{"name":"Akshay Anand","email":"aks9800@gmail.com","commits":5},{"name":"Sergei Predvoditelev","email":"sergei@predvoditelev.ru","commits":2},{"name":"Boris Flesch","email":"boris.flesch@gmail.com","commits":1}]},"filePathRelative":"guide/configuration/table-events.md"}');export{o as comp,u as data}; diff --git a/assets/theme-example-D-fFji9T.js b/assets/theme-example-D-fFji9T.js new file mode 100644 index 00000000..b0352993 --- /dev/null +++ b/assets/theme-example-D-fFji9T.js @@ -0,0 +1 @@ +import{_ as o,r as s,o as l,c as n,b as r}from"./app-CbJnpAZk.js";const c={name:"theme-table",props:["theme","styleClasses"],data(){return{columns:[{label:"Name",field:"name",filterOptions:{enabled:!0}},{label:"Age",field:"age",type:"number"},{label:"Created On",field:"createdAt",type:"date",dateInputFormat:"yyyy-MM-dd",dateOutputFormat:"MMM do yy"},{label:"Percent",field:"score",type:"percentage"}],rows:[{id:1,name:"John",age:20,createdAt:"2011-07-02",score:.03343},{id:2,name:"Jane",age:24,createdAt:"2011-10-31",score:.03343},{id:3,name:"Susan",age:16,createdAt:"2011-10-30",score:.03343}]}},computed:{},methods:{},mounted(){},components:{}};function m(d,u,e,p,t,i){const a=s("vue-good-table");return l(),n("div",null,[r(a,{columns:t.columns,rows:t.rows,styleClass:e.styleClasses,theme:e.theme},null,8,["columns","rows","styleClass","theme"])])}const y=o(c,[["render",m],["__file","theme-example.vue"]]);export{y as default}; diff --git a/favicon.png b/favicon.png new file mode 100644 index 00000000..db0dfce2 Binary files /dev/null and b/favicon.png differ diff --git a/guide/advanced/checkbox-table.html b/guide/advanced/checkbox-table.html new file mode 100644 index 00000000..8f430df7 --- /dev/null +++ b/guide/advanced/checkbox-table.html @@ -0,0 +1,78 @@ + + + + + + + + + Checkbox Table | vue-good-table-next + + + + + +
+ + + diff --git a/guide/advanced/grouped-table.html b/guide/advanced/grouped-table.html new file mode 100644 index 00000000..d3aedd00 --- /dev/null +++ b/guide/advanced/grouped-table.html @@ -0,0 +1,146 @@ + + + + + + + + + Grouped Table | vue-good-table-next + + + + + +
+ + + diff --git a/guide/advanced/index.html b/guide/advanced/index.html new file mode 100644 index 00000000..aeaabc76 --- /dev/null +++ b/guide/advanced/index.html @@ -0,0 +1,211 @@ + + + + + + + + + Customizations | vue-good-table-next + + + + + +
+ + + diff --git a/guide/advanced/remote-workflow.html b/guide/advanced/remote-workflow.html new file mode 100644 index 00000000..41ca04d8 --- /dev/null +++ b/guide/advanced/remote-workflow.html @@ -0,0 +1,136 @@ + + + + + + + + + Server Side Table | vue-good-table-next + + + + + +
+ + + diff --git a/guide/advanced/row-details-table.html b/guide/advanced/row-details-table.html new file mode 100644 index 00000000..cb400d30 --- /dev/null +++ b/guide/advanced/row-details-table.html @@ -0,0 +1,60 @@ + + + + + + + + + Row Details Table | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/column-filter-options.html b/guide/configuration/column-filter-options.html new file mode 100644 index 00000000..c09c1805 --- /dev/null +++ b/guide/configuration/column-filter-options.html @@ -0,0 +1,72 @@ + + + + + + + + + Column Filter Options | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/column-options.html b/guide/configuration/column-options.html new file mode 100644 index 00000000..80fefcc1 --- /dev/null +++ b/guide/configuration/column-options.html @@ -0,0 +1,202 @@ + + + + + + + + + Column Options | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/index.html b/guide/configuration/index.html new file mode 100644 index 00000000..7c4f0686 --- /dev/null +++ b/guide/configuration/index.html @@ -0,0 +1,120 @@ + + + + + + + + + Table Options | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/pagination-options.html b/guide/configuration/pagination-options.html new file mode 100644 index 00000000..8293dbea --- /dev/null +++ b/guide/configuration/pagination-options.html @@ -0,0 +1,163 @@ + + + + + + + + + Pagination Options | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/search-options.html b/guide/configuration/search-options.html new file mode 100644 index 00000000..915b2b75 --- /dev/null +++ b/guide/configuration/search-options.html @@ -0,0 +1,117 @@ + + + + + + + + + Search Options | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/sort-options.html b/guide/configuration/sort-options.html new file mode 100644 index 00000000..75eac5d9 --- /dev/null +++ b/guide/configuration/sort-options.html @@ -0,0 +1,78 @@ + + + + + + + + + Sort Options | vue-good-table-next + + + + + +
+ + + diff --git a/guide/configuration/table-events.html b/guide/configuration/table-events.html new file mode 100644 index 00000000..5800a582 --- /dev/null +++ b/guide/configuration/table-events.html @@ -0,0 +1,176 @@ + + + + + + + + + Table Events | vue-good-table-next + + + + + +
+ + + diff --git a/guide/index.html b/guide/index.html new file mode 100644 index 00000000..9d662543 --- /dev/null +++ b/guide/index.html @@ -0,0 +1,116 @@ + + + + + + + + + Getting Started | vue-good-table-next + + + + + +
+ + + diff --git a/guide/style-configuration/index.html b/guide/style-configuration/index.html new file mode 100644 index 00000000..db8ee364 --- /dev/null +++ b/guide/style-configuration/index.html @@ -0,0 +1,62 @@ + + + + + + + + + Themes | vue-good-table-next + + + + + +
+ + + diff --git a/guide/style-configuration/sass.html b/guide/style-configuration/sass.html new file mode 100644 index 00000000..9e3cb580 --- /dev/null +++ b/guide/style-configuration/sass.html @@ -0,0 +1,44 @@ + + + + + + + + + Sass | vue-good-table-next + + + + + +
+ + + diff --git a/guide/style-configuration/style-classes.html b/guide/style-configuration/style-classes.html new file mode 100644 index 00000000..35f9fc67 --- /dev/null +++ b/guide/style-configuration/style-classes.html @@ -0,0 +1,63 @@ + + + + + + + + + Style Classes | vue-good-table-next + + + + + +
+ + + diff --git a/hero-image.png b/hero-image.png new file mode 100644 index 00000000..15e9f661 Binary files /dev/null and b/hero-image.png differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..483931ec --- /dev/null +++ b/index.html @@ -0,0 +1,43 @@ + + + + + + + + + vue-good-table-next + + + + + +
+ + + diff --git a/vgt-logo-2x.png b/vgt-logo-2x.png new file mode 100644 index 00000000..03c98301 Binary files /dev/null and b/vgt-logo-2x.png differ diff --git a/vgt-logo.png b/vgt-logo.png new file mode 100644 index 00000000..3f52a41f Binary files /dev/null and b/vgt-logo.png differ