diff --git a/api-reference.html b/api-reference.html new file mode 100644 index 00000000..f930dd62 --- /dev/null +++ b/api-reference.html @@ -0,0 +1,21 @@ + + + + + + API Reference | Vue next select + + + + + + + + + +

API Reference

Props

model-value

  • Type:

    • (OptionType)[] if multiple is true
    • (OptionType | EmptyModelValueType) if multiple is false
  • Details:

    Required.

    The selected options.

empty-model-value

  • Type: EmptyModelValueType = any

  • Default: null

  • Details:

    Only works if multiple is false.

    If there is no selecting option, update:modelValue event will emit this value.

options

  • Type: OptionType[] = any[]

  • Details:

    Required.

visible-options

  • Type: OptionType[]

  • Details:

    This would be useful if you have options, but you only want to display partial of those option.

    You could use this feature to implement customize filtering, remote searching, etc.

    Options in options and visible-options must be the same raw object.

disabled

  • Type: boolean

  • Default: false

    Whether to disable the select.

loading

  • Type: boolean

  • Default: false

    Whether to show the loading spinner.

label-by

  • Type: string | (option => string)

  • Details:

    This will be used in dropdown and tags.

    It accepts path, or function to locate the label.

    For example, if you have options like this: [{ details: { name: 'bar' } }]

    You could pass details.name or option => option.detail.name to set label to 'bar'.

value-by

  • Type: string | (option => string)

  • Details:

    Same as label-by but for value

disabled-by

  • Type: string | (option => boolean)

  • Default: 'disabled'

  • Details:

    Same as label-by but for disabled

group-by

  • Type: string | (option => boolean)

  • Default: 'group'

  • Details:

    Same as label-by but for group

    If one option is group, its value must be type OptionType[].

    When a group option is selected, those values will be selected, and if all of those values are already selected, it will be deselected.

placeholder

  • Type: string

  • Default: 'Select option'

searchable

  • Type: boolean

  • Default: false

  • Details:

    When true, options (or visible-options if passed) will be filtered by the search text.

search-placeholder

  • Type: string

  • Default: 'Type to search'

clear-on-close

  • Type: boolean

  • Default: false

  • Details:

    Whether to clear search text after collapsing dropdown.

clear-on-select

  • Type: boolean

  • Default: false

  • Details:

    Whether to clear search text after selected/removed.

multiple

  • Type: boolean

  • Default: false

min

  • Type: number

  • Default: 0

  • Details:

    If multiple is false, 0 means clearable, 1 means non-clearable.

max

  • Type: boolean

  • Default: Infinity

  • Details:

    Only works if multiple is true.

taggable

  • Type: boolean

  • Default: false

  • Details:

    Only works if multiple is true.

collapse-tags

  • Type: boolean

  • Default: false

    Only works if taggable is true.

hide-selected

  • Type: boolean

  • Default: false

  • Details:

    Only works if multiple is true.

    Whether to Hide already selected options in the dropdown.

close-on-select

  • Type: boolean

  • Default: false

  • Details:

    Whether to collapse dropdown after selected/removed.

maxHeight

New in v2.5.0+

  • Type: number

  • Default: 300

  • Details:

    Max height of dropdown.

openDirection

New in v2.5.0+

  • Type: 'top' | 'bottom'

  • Details:

    Fixed opening direction.

    If it is not set, it will be automatically calculated based on maxHeight.

Events

update:modelValue

  • Arguments:

    • {(OptionType | EmptyModelValueType) | (OptionType | EmptyModelValueType)[]} modelValue

selected

  • Arguments:

    • {OptionType} option

removed

  • Arguments:

    • {OptionType} option

opened

Warning: deprecated, use focus instead.

closed

Warning: deprecated, use blur instead.

focus

New in v2.4.0+

blur

New in v2.4.0+

toggle

New in 2.6.0+

search:input

  • Arguments:

    • {Event} event

search:change

  • Arguments:

    • {Event} event

search:focus

  • Arguments:

    • {Event} event

search:blur

  • Arguments:

    • {Event} event

Slots

  • Attributes:

    • {OptionType} option

label

New in v2.9.0+

  • Attributes:

    • {(OptionType | EmptyModelValueType) | (OptionType | EmptyModelValueType)[]} selected

tag

  • Attributes:

    • {OptionType} option

    • {Function} remove

      New in v2.7.0+

toggle

  • Attributes:

    • {boolean} isFocusing
    • {Function} toggle

    When using this slot, you often need to bind the toggle function to click event or else to enable open/close functionality.

    In addition, you may also have to prevent mousedown event by adding @mousedown.prevent to prevent default behavior (fire focus event). See more details here.

loading

+ + + + + \ No newline at end of file diff --git a/assets/api-reference.md.ab1281bd.js b/assets/api-reference.md.ab1281bd.js new file mode 100644 index 00000000..2019af93 --- /dev/null +++ b/assets/api-reference.md.ab1281bd.js @@ -0,0 +1 @@ +import{_ as e,c as l,o,a as t}from"./app.8eca4113.js";const b='{"title":"API Reference","description":"","frontmatter":{},"headers":[{"level":2,"title":"Props","slug":"props"},{"level":3,"title":"model-value","slug":"model-value"},{"level":3,"title":"empty-model-value","slug":"empty-model-value"},{"level":3,"title":"options","slug":"options"},{"level":3,"title":"visible-options","slug":"visible-options"},{"level":3,"title":"disabled","slug":"disabled"},{"level":3,"title":"loading","slug":"loading"},{"level":3,"title":"label-by","slug":"label-by"},{"level":3,"title":"value-by","slug":"value-by"},{"level":3,"title":"disabled-by","slug":"disabled-by"},{"level":3,"title":"group-by","slug":"group-by"},{"level":3,"title":"placeholder","slug":"placeholder"},{"level":3,"title":"searchable","slug":"searchable"},{"level":3,"title":"search-placeholder","slug":"search-placeholder"},{"level":3,"title":"clear-on-close","slug":"clear-on-close"},{"level":3,"title":"clear-on-select","slug":"clear-on-select"},{"level":3,"title":"multiple","slug":"multiple"},{"level":3,"title":"min","slug":"min"},{"level":3,"title":"max","slug":"max"},{"level":3,"title":"taggable","slug":"taggable"},{"level":3,"title":"collapse-tags","slug":"collapse-tags"},{"level":3,"title":"hide-selected","slug":"hide-selected"},{"level":3,"title":"close-on-select","slug":"close-on-select"},{"level":3,"title":"maxHeight","slug":"maxheight"},{"level":3,"title":"openDirection","slug":"opendirection"},{"level":2,"title":"Events","slug":"events"},{"level":3,"title":"update:modelValue","slug":"update-modelvalue"},{"level":3,"title":"selected","slug":"selected"},{"level":3,"title":"removed","slug":"removed"},{"level":3,"title":"~~opened~~","slug":"opened"},{"level":3,"title":"~~closed~~","slug":"closed"},{"level":3,"title":"focus","slug":"focus"},{"level":3,"title":"blur","slug":"blur"},{"level":3,"title":"toggle","slug":"toggle"},{"level":3,"title":"search:input","slug":"search-input"},{"level":3,"title":"search:change","slug":"search-change"},{"level":3,"title":"search:focus","slug":"search-focus"},{"level":3,"title":"search:blur","slug":"search-blur"},{"level":2,"title":"Slots","slug":"slots"},{"level":3,"title":"dropdown-item","slug":"dropdown-item"},{"level":3,"title":"label","slug":"label"},{"level":3,"title":"tag","slug":"tag"},{"level":3,"title":"toggle","slug":"toggle-1"},{"level":3,"title":"loading","slug":"loading-1"}],"relativePath":"api-reference.md"}',a={},i=t('

API Reference

Props

model-value

empty-model-value

options

visible-options

disabled

loading

label-by

value-by

disabled-by

group-by

placeholder

searchable

search-placeholder

clear-on-close

clear-on-select

multiple

min

max

taggable

collapse-tags

hide-selected

close-on-select

maxHeight

New in v2.5.0+

openDirection

New in v2.5.0+

Events

update:modelValue

selected

removed

opened

Warning: deprecated, use focus instead.

closed

Warning: deprecated, use blur instead.

focus

New in v2.4.0+

blur

New in v2.4.0+

toggle

New in 2.6.0+

search:input

search:change

search:focus

search:blur

Slots

label

New in v2.9.0+

tag

toggle

loading

',88),d=[i];function r(s,n,c,p,h,u){return o(),l("div",null,d)}var f=e(a,[["render",r]]);export{b as __pageData,f as default}; diff --git a/assets/api-reference.md.ab1281bd.lean.js b/assets/api-reference.md.ab1281bd.lean.js new file mode 100644 index 00000000..197cac56 --- /dev/null +++ b/assets/api-reference.md.ab1281bd.lean.js @@ -0,0 +1 @@ +import{_ as e,c as l,o,a as t}from"./app.8eca4113.js";const b='{"title":"API Reference","description":"","frontmatter":{},"headers":[{"level":2,"title":"Props","slug":"props"},{"level":3,"title":"model-value","slug":"model-value"},{"level":3,"title":"empty-model-value","slug":"empty-model-value"},{"level":3,"title":"options","slug":"options"},{"level":3,"title":"visible-options","slug":"visible-options"},{"level":3,"title":"disabled","slug":"disabled"},{"level":3,"title":"loading","slug":"loading"},{"level":3,"title":"label-by","slug":"label-by"},{"level":3,"title":"value-by","slug":"value-by"},{"level":3,"title":"disabled-by","slug":"disabled-by"},{"level":3,"title":"group-by","slug":"group-by"},{"level":3,"title":"placeholder","slug":"placeholder"},{"level":3,"title":"searchable","slug":"searchable"},{"level":3,"title":"search-placeholder","slug":"search-placeholder"},{"level":3,"title":"clear-on-close","slug":"clear-on-close"},{"level":3,"title":"clear-on-select","slug":"clear-on-select"},{"level":3,"title":"multiple","slug":"multiple"},{"level":3,"title":"min","slug":"min"},{"level":3,"title":"max","slug":"max"},{"level":3,"title":"taggable","slug":"taggable"},{"level":3,"title":"collapse-tags","slug":"collapse-tags"},{"level":3,"title":"hide-selected","slug":"hide-selected"},{"level":3,"title":"close-on-select","slug":"close-on-select"},{"level":3,"title":"maxHeight","slug":"maxheight"},{"level":3,"title":"openDirection","slug":"opendirection"},{"level":2,"title":"Events","slug":"events"},{"level":3,"title":"update:modelValue","slug":"update-modelvalue"},{"level":3,"title":"selected","slug":"selected"},{"level":3,"title":"removed","slug":"removed"},{"level":3,"title":"~~opened~~","slug":"opened"},{"level":3,"title":"~~closed~~","slug":"closed"},{"level":3,"title":"focus","slug":"focus"},{"level":3,"title":"blur","slug":"blur"},{"level":3,"title":"toggle","slug":"toggle"},{"level":3,"title":"search:input","slug":"search-input"},{"level":3,"title":"search:change","slug":"search-change"},{"level":3,"title":"search:focus","slug":"search-focus"},{"level":3,"title":"search:blur","slug":"search-blur"},{"level":2,"title":"Slots","slug":"slots"},{"level":3,"title":"dropdown-item","slug":"dropdown-item"},{"level":3,"title":"label","slug":"label"},{"level":3,"title":"tag","slug":"tag"},{"level":3,"title":"toggle","slug":"toggle-1"},{"level":3,"title":"loading","slug":"loading-1"}],"relativePath":"api-reference.md"}',a={},i=t("",88),d=[i];function r(s,n,c,p,h,u){return o(),l("div",null,d)}var f=e(a,[["render",r]]);export{b as __pageData,f as default}; diff --git a/assets/app.8eca4113.js b/assets/app.8eca4113.js new file mode 100644 index 00000000..10eab020 --- /dev/null +++ b/assets/app.8eca4113.js @@ -0,0 +1 @@ +const ko="modulepreload",Ts={},Co="/vue-next-select/",Lo=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${Co}${s}`,s in Ts)return;Ts[s]=!0;const r=s.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${o}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":ko,r||(i.as="script",i.crossOrigin=""),i.href=s,document.head.appendChild(i),r)return new Promise((l,c)=>{i.addEventListener("load",l),i.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())};function Qn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}function Gn(e){if(F(e)){const t={};for(let n=0;n{if(n){const s=n.split(Ao);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ft(e){let t="";if(de(e))t=e;else if(F(e))for(let n=0;nde(e)?e:e==null?"":F(e)||ne(e)&&(e.toString===_r||!B(e.toString))?JSON.stringify(e,dr,2):String(e),dr=(e,t)=>t&&t.__v_isRef?dr(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:hr(t)?{[`Set(${t.size})`]:[...t.values()]}:ne(t)&&!F(t)&&!gr(t)?String(t):t,te={},gt=[],Re=()=>{},Mo=()=>!1,Fo=/^on[^a-z]/,qt=e=>Fo.test(e),es=e=>e.startsWith("onUpdate:"),$e=Object.assign,ts=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},So=Object.prototype.hasOwnProperty,q=(e,t)=>So.call(e,t),F=Array.isArray,mt=e=>vn(e)==="[object Map]",hr=e=>vn(e)==="[object Set]",B=e=>typeof e=="function",de=e=>typeof e=="string",ns=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",pr=e=>ne(e)&&B(e.then)&&B(e.catch),_r=Object.prototype.toString,vn=e=>_r.call(e),Ho=e=>vn(e).slice(8,-1),gr=e=>vn(e)==="[object Object]",ss=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=Qn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},No=/-(\w)/g,De=bn(e=>e.replace(No,(t,n)=>n?n.toUpperCase():"")),Bo=/\B([A-Z])/g,Lt=bn(e=>e.replace(Bo,"-$1").toLowerCase()),xn=bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rn=bn(e=>e?`on${xn(e)}`:""),Bt=(e,t)=>!Object.is(e,t),Mn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},mr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let As;const Uo=()=>As||(As=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Be;class jo{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!t&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Be;try{return Be=this,t()}finally{Be=n}}}on(){Be=this}off(){Be=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},vr=e=>(e.w&et)>0,br=e=>(e.n&et)>0,Ko=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(h==="length"||h>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":F(e)?ss(n)&&l.push(i.get("length")):(l.push(i.get(ct)),mt(e)&&l.push(i.get(Kn)));break;case"delete":F(e)||(l.push(i.get(ct)),mt(e)&&l.push(i.get(Kn)));break;case"set":mt(e)&&l.push(i.get(ct));break}if(l.length===1)l[0]&&Wn(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);Wn(rs(c))}}function Wn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&Is(s);for(const s of n)s.computed||Is(s)}function Is(e,t){(e!==Pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const qo=Qn("__proto__,__v_isRef,__isVue"),wr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ns)),zo=is(),Vo=is(!1,!0),Jo=is(!0),Os=Yo();function Yo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=z(this);for(let o=0,i=this.length;o{e[t]=function(...n){Tt();const s=z(this)[t].apply(this,n);return At(),s}}),e}function is(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?fi:Lr:t?Cr:kr).get(s))return s;const i=F(s);if(!e&&i&&q(Os,r))return Reflect.get(Os,r,o);const l=Reflect.get(s,r,o);return(ns(r)?wr.has(r):qo(r))||(e||Ce(s,"get",r),t)?l:ge(l)?i&&ss(r)?l:l.value:ne(l)?e?Tr(l):wn(l):l}}const Xo=$r(),Zo=$r(!0);function $r(e=!1){return function(n,s,r,o){let i=n[s];if(wt(i)&&ge(i)&&!ge(r))return!1;if(!e&&(!cn(r)&&!wt(r)&&(i=z(i),r=z(r)),!F(n)&&ge(i)&&!ge(r)))return i.value=r,!0;const l=F(n)&&ss(s)?Number(s)e,yn=e=>Reflect.getPrototypeOf(e);function Xt(e,t,n=!1,s=!1){e=e.__v_raw;const r=z(e),o=z(t);n||(t!==o&&Ce(r,"get",t),Ce(r,"get",o));const{has:i}=yn(r),l=s?ls:n?us:Ut;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Zt(e,t=!1){const n=this.__v_raw,s=z(n),r=z(e);return t||(e!==r&&Ce(s,"has",e),Ce(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Qt(e,t=!1){return e=e.__v_raw,!t&&Ce(z(e),"iterate",ct),Reflect.get(e,"size",e)}function Rs(e){e=z(e);const t=z(this);return yn(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function Ms(e,t){t=z(t);const n=z(this),{has:s,get:r}=yn(n);let o=s.call(n,e);o||(e=z(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Bt(t,i)&&ze(n,"set",e,t):ze(n,"add",e,t),this}function Fs(e){const t=z(this),{has:n,get:s}=yn(t);let r=n.call(t,e);r||(e=z(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&ze(t,"delete",e,void 0),o}function Ss(){const e=z(this),t=e.size!==0,n=e.clear();return t&&ze(e,"clear",void 0,void 0),n}function Gt(e,t){return function(s,r){const o=this,i=o.__v_raw,l=z(i),c=t?ls:e?us:Ut;return!e&&Ce(l,"iterate",ct),i.forEach((f,h)=>s.call(r,c(f),c(h),o))}}function en(e,t,n){return function(...s){const r=this.__v_raw,o=z(r),i=mt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),h=n?ls:t?us:Ut;return!t&&Ce(o,"iterate",c?Kn:ct),{next(){const{value:g,done:y}=f.next();return y?{value:g,done:y}:{value:l?[h(g[0]),h(g[1])]:h(g),done:y}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:this}}function si(){const e={get(o){return Xt(this,o)},get size(){return Qt(this)},has:Zt,add:Rs,set:Ms,delete:Fs,clear:Ss,forEach:Gt(!1,!1)},t={get(o){return Xt(this,o,!1,!0)},get size(){return Qt(this)},has:Zt,add:Rs,set:Ms,delete:Fs,clear:Ss,forEach:Gt(!1,!0)},n={get(o){return Xt(this,o,!0)},get size(){return Qt(this,!0)},has(o){return Zt.call(this,o,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:Gt(!0,!1)},s={get(o){return Xt(this,o,!0,!0)},get size(){return Qt(this,!0)},has(o){return Zt.call(this,o,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),s[o]=en(o,!0,!0)}),[e,n,t,s]}const[ri,oi,ii,li]=si();function cs(e,t){const n=t?e?li:ii:e?oi:ri;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(q(n,r)&&r in s?n:s,r,o)}const ci={get:cs(!1,!1)},ai={get:cs(!1,!0)},ui={get:cs(!0,!1)},kr=new WeakMap,Cr=new WeakMap,Lr=new WeakMap,fi=new WeakMap;function di(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hi(e){return e.__v_skip||!Object.isExtensible(e)?0:di(Ho(e))}function wn(e){return wt(e)?e:as(e,!1,Er,ci,kr)}function pi(e){return as(e,!1,ni,ai,Cr)}function Tr(e){return as(e,!0,ti,ui,Lr)}function as(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=hi(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function vt(e){return wt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function cn(e){return!!(e&&e.__v_isShallow)}function Ar(e){return vt(e)||wt(e)}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function Ft(e){return ln(e,"__v_skip",!0),e}const Ut=e=>ne(e)?wn(e):e,us=e=>ne(e)?Tr(e):e;function Pr(e){Qe&&Pe&&(e=z(e),yr(e.dep||(e.dep=rs())))}function Ir(e,t){e=z(e),e.dep&&Wn(e.dep)}function ge(e){return!!(e&&e.__v_isRef===!0)}function $n(e){return Or(e,!1)}function _i(e){return Or(e,!0)}function Or(e,t){return ge(e)?e:new gi(e,t)}class gi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:z(t),this._value=n?t:Ut(t)}get value(){return Pr(this),this._value}set value(t){const n=this.__v_isShallow||cn(t)||wt(t);t=n?t:z(t),Bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ut(t),Ir(this))}}function $(e){return ge(e)?e.value:e}const mi={get:(e,t,n)=>$(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ge(r)&&!ge(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Rr(e){return vt(e)?e:new Proxy(e,mi)}function Mr(e){const t=F(e)?new Array(e.length):{};for(const n in e)t[n]=bi(e,n);return t}class vi{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function bi(e,t,n){const s=e[t];return ge(s)?s:new vi(e,t,n)}var Fr;class xi{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Fr]=!1,this._dirty=!0,this.effect=new os(t,()=>{this._dirty||(this._dirty=!0,Ir(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=z(this);return Pr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Fr="__v_isReadonly";function yi(e,t,n=!1){let s,r;const o=B(e);return o?(s=e,r=Re):(s=e.get,r=e.set),new xi(s,r,o||!r,n)}function Ge(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){En(o,t,n)}return r}function Me(e,t,n,s){if(B(e)){const o=Ge(e,t,n,s);return o&&pr(o)&&o.catch(i=>{En(i,t,n)}),o}const r=[];for(let o=0;o>>1;Dt(ve[s])je&&ve.splice(t,1)}function ki(e){F(e)?bt.push(...e):(!qe||!qe.includes(e,e.allowRecurse?it+1:it))&&bt.push(e),Nr()}function Hs(e,t=jt?je+1:0){for(;tDt(n)-Dt(s)),it=0;ite.id==null?1/0:e.id,Ci=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Br(e){qn=!1,jt=!0,ve.sort(Ci);const t=Re;try{for(je=0;jede(T)?T.trim():T)),g&&(r=n.map(mr))}let l,c=s[l=Rn(t)]||s[l=Rn(De(t))];!c&&o&&(c=s[l=Rn(Lt(t))]),c&&Me(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(f,e,6,r)}}function Ur(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!B(e)){const c=f=>{const h=Ur(f,t,!0);h&&(l=!0,$e(i,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ne(e)&&s.set(e,null),null):(F(o)?o.forEach(c=>i[c]=null):$e(i,o),ne(e)&&s.set(e,i),i)}function kn(e,t){return!e||!qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Lt(t))||q(e,t))}let ye=null,Cn=null;function un(e){const t=ye;return ye=e,Cn=e&&e.type.__scopeId||null,t}function jr(e){Cn=e}function Dr(){Cn=null}function We(e,t=ye,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&zs(-1);const o=un(t);let i;try{i=e(...r)}finally{un(o),s._d&&zs(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Fn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:h,renderCache:g,data:y,setupState:T,ctx:M,inheritAttrs:S}=e;let re,v;const C=un(e);try{if(n.shapeFlag&4){const j=r||s;re=Ae(h.call(j,j,g,o,T,y,M)),v=c}else{const j=t;re=Ae(j.length>1?j(o,{attrs:c,slots:l,emit:f}):j(o,null)),v=t.props?c:Ti(c)}}catch(j){Nt.length=0,En(j,e,1),re=U(Ve)}let w=re;if(v&&S!==!1){const j=Object.keys(v),{shapeFlag:V}=w;j.length&&V&7&&(i&&j.some(es)&&(v=Ai(v,i)),w=Et(w,v))}return n.dirs&&(w=Et(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),re=w,un(C),re}const Ti=e=>{let t;for(const n in e)(n==="class"||n==="style"||qt(n))&&((t||(t={}))[n]=e[n]);return t},Ai=(e,t)=>{const n={};for(const s in e)(!es(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Pi(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ns(s,i,f):!!i;if(c&8){const h=t.dynamicProps;for(let g=0;ge.__isSuspense;function Kr(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):ki(e)}function Ri(e,t){if(_e){let n=_e.provides;const s=_e.parent&&_e.parent.provides;s===n&&(n=_e.provides=Object.create(s)),n[e]=t}}function xt(e,t,n=!1){const s=_e||ye;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s.proxy):t}}function Wr(e,t){return hs(e,null,t)}const tn={};function at(e,t,n){return hs(e,t,n)}function hs(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=te){const l=_e;let c,f=!1,h=!1;if(ge(e)?(c=()=>e.value,f=cn(e)):vt(e)?(c=()=>e,s=!0):F(e)?(h=!0,f=e.some(w=>vt(w)||cn(w)),c=()=>e.map(w=>{if(ge(w))return w.value;if(vt(w))return _t(w);if(B(w))return Ge(w,l,2)})):B(e)?t?c=()=>Ge(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return g&&g(),Me(e,l,3,[y])}:c=Re,t&&s){const w=c;c=()=>_t(w())}let g,y=w=>{g=v.onStop=()=>{Ge(w,l,4)}},T;if(Wt)if(y=Re,t?n&&Me(t,l,3,[c(),h?[]:void 0,y]):c(),r==="sync"){const w=El();T=w.__watcherHandles||(w.__watcherHandles=[])}else return Re;let M=h?new Array(e.length).fill(tn):tn;const S=()=>{if(!!v.active)if(t){const w=v.run();(s||f||(h?w.some((j,V)=>Bt(j,M[V])):Bt(w,M)))&&(g&&g(),Me(t,l,3,[w,M===tn?void 0:h&&M[0]===tn?[]:M,y]),M=w)}else v.run()};S.allowRecurse=!!t;let re;r==="sync"?re=S:r==="post"?re=()=>Ee(S,l&&l.suspense):(S.pre=!0,l&&(S.id=l.uid),re=()=>ds(S));const v=new os(c,re);t?n?S():M=v.run():r==="post"?Ee(v.run.bind(v),l&&l.suspense):v.run();const C=()=>{v.stop(),l&&l.scope&&ts(l.scope.effects,v)};return T&&T.push(C),C}function Mi(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?qr(s,e):()=>s[e]:e.bind(s,s);let o;B(t)?o=t:(o=t.handler,n=t);const i=_e;kt(this);const l=hs(r,o.bind(s),n);return i?kt(i):ut(),l}function qr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{_t(n,t)});else if(gr(e))for(const n in e)_t(e[n],t);return e}function le(e){return B(e)?{setup:e,name:e.name}:e}const yt=e=>!!e.type.__asyncLoader,zr=e=>e.type.__isKeepAlive;function Fi(e,t){Vr(e,"a",t)}function Si(e,t){Vr(e,"da",t)}function Vr(e,t,n=_e){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ln(t,s,n),n){let r=n.parent;for(;r&&r.parent;)zr(r.parent.vnode)&&Hi(s,t,n,r),r=r.parent}}function Hi(e,t,n,s){const r=Ln(t,e,s,!0);Tn(()=>{ts(s[t],r)},n)}function Ln(e,t,n=_e,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Tt(),kt(n);const l=Me(t,n,e,i);return ut(),At(),l});return s?r.unshift(o):r.push(o),o}}const Je=e=>(t,n=_e)=>(!Wt||e==="sp")&&Ln(e,(...s)=>t(...s),n),Ni=Je("bm"),Pt=Je("m"),Bi=Je("bu"),Jr=Je("u"),Ui=Je("bum"),Tn=Je("um"),ji=Je("sp"),Di=Je("rtg"),Ki=Je("rtc");function Wi(e,t=_e){Ln("ec",e,t)}function Ue(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lpn(t)?!(t.type===Ve||t.type===pe&&!Xr(t.children)):!0)?e:null}const zn=e=>e?lo(e)?vs(e)||e.proxy:zn(e.parent):null,St=$e(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=>zn(e.parent),$root:e=>zn(e.root),$emit:e=>e.emit,$options:e=>ps(e),$forceUpdate:e=>e.f||(e.f=()=>ds(e.update)),$nextTick:e=>e.n||(e.n=Hr.bind(e.proxy)),$watch:e=>Mi.bind(e)}),Sn=(e,t)=>e!==te&&!e.__isScriptSetup&&q(e,t),Vi={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Sn(s,t))return i[t]=1,s[t];if(r!==te&&q(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&q(f,t))return i[t]=3,o[t];if(n!==te&&q(n,t))return i[t]=4,n[t];Vn&&(i[t]=0)}}const h=St[t];let g,y;if(h)return t==="$attrs"&&Ce(e,"get",t),h(e);if((g=l.__cssModules)&&(g=g[t]))return g;if(n!==te&&q(n,t))return i[t]=4,n[t];if(y=c.config.globalProperties,q(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Sn(r,t)?(r[t]=n,!0):s!==te&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==te&&q(e,i)||Sn(t,i)||(l=o[0])&&q(l,i)||q(s,i)||q(St,i)||q(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Vn=!0;function Ji(e){const t=ps(e),n=e.proxy,s=e.ctx;Vn=!1,t.beforeCreate&&Us(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:h,beforeMount:g,mounted:y,beforeUpdate:T,updated:M,activated:S,deactivated:re,beforeDestroy:v,beforeUnmount:C,destroyed:w,unmounted:j,render:V,renderTracked:ee,renderTriggered:J,errorCaptured:D,serverPrefetch:ue,expose:se,inheritAttrs:ie,components:Fe,directives:he,filters:O}=t;if(f&&Yi(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const oe in i){const Z=i[oe];B(Z)&&(s[oe]=Z.bind(n))}if(r){const oe=r.call(n,n);ne(oe)&&(e.data=wn(oe))}if(Vn=!0,o)for(const oe in o){const Z=o[oe],nt=B(Z)?Z.bind(n,n):B(Z.get)?Z.get.bind(n,n):Re,Jt=!B(Z)&&B(Z.set)?Z.set.bind(n):Re,st=W({get:nt,set:Jt});Object.defineProperty(s,oe,{enumerable:!0,configurable:!0,get:()=>st.value,set:He=>st.value=He})}if(l)for(const oe in l)Zr(l[oe],s,n,oe);if(c){const oe=B(c)?c.call(n):c;Reflect.ownKeys(oe).forEach(Z=>{Ri(Z,oe[Z])})}h&&Us(h,e,"c");function G(oe,Z){F(Z)?Z.forEach(nt=>oe(nt.bind(n))):Z&&oe(Z.bind(n))}if(G(Ni,g),G(Pt,y),G(Bi,T),G(Jr,M),G(Fi,S),G(Si,re),G(Wi,D),G(Ki,ee),G(Di,J),G(Ui,C),G(Tn,j),G(ji,ue),F(se))if(se.length){const oe=e.exposed||(e.exposed={});se.forEach(Z=>{Object.defineProperty(oe,Z,{get:()=>n[Z],set:nt=>n[Z]=nt})})}else e.exposed||(e.exposed={});V&&e.render===Re&&(e.render=V),ie!=null&&(e.inheritAttrs=ie),Fe&&(e.components=Fe),he&&(e.directives=he)}function Yi(e,t,n=Re,s=!1){F(e)&&(e=Jn(e));for(const r in e){const o=e[r];let i;ne(o)?"default"in o?i=xt(o.from||r,o.default,!0):i=xt(o.from||r):i=xt(o),ge(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Us(e,t,n){Me(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Zr(e,t,n,s){const r=s.includes(".")?qr(n,s):()=>n[s];if(de(e)){const o=t[e];B(o)&&at(r,o)}else if(B(e))at(r,e.bind(n));else if(ne(e))if(F(e))e.forEach(o=>Zr(o,t,n,s));else{const o=B(e.handler)?e.handler.bind(n):t[e.handler];B(o)&&at(r,o,e)}}function ps(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>dn(c,f,i,!0)),dn(c,t,i)),ne(t)&&o.set(t,c),c}function dn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&dn(e,o,n,!0),r&&r.forEach(i=>dn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Xi[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Xi={data:js,props:ot,emits:ot,methods:ot,computed:ot,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:ot,directives:ot,watch:Qi,provide:js,inject:Zi};function js(e,t){return t?e?function(){return $e(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Zi(e,t){return ot(Jn(e),Jn(t))}function Jn(e){if(F(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const h=e.vnode.dynamicProps;for(let g=0;g{c=!0;const[y,T]=Gr(g,t,!0);$e(i,y),T&&l.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!c)return ne(e)&&s.set(e,gt),gt;if(F(o))for(let h=0;h-1,T[1]=S<0||M-1||q(T,"default"))&&l.push(g)}}}const f=[i,l];return ne(e)&&s.set(e,f),f}function Ds(e){return e[0]!=="$"}function Ks(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Ws(e,t){return Ks(e)===Ks(t)}function qs(e,t){return F(t)?t.findIndex(n=>Ws(n,e)):B(t)&&Ws(t,e)?0:-1}const eo=e=>e[0]==="_"||e==="$stable",_s=e=>F(e)?e.map(Ae):[Ae(e)],tl=(e,t,n)=>{if(t._n)return t;const s=We((...r)=>_s(t(...r)),n);return s._c=!1,s},to=(e,t,n)=>{const s=e._ctx;for(const r in e){if(eo(r))continue;const o=e[r];if(B(o))t[r]=tl(r,o,s);else if(o!=null){const i=_s(o);t[r]=()=>i}}},no=(e,t)=>{const n=_s(t);e.slots.default=()=>n},nl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=z(t),ln(t,"_",n)):to(t,e.slots={})}else e.slots={},t&&no(e,t);ln(e.slots,Pn,1)},sl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:($e(r,t),!n&&l===1&&delete r._):(o=!t.$stable,to(t,r)),i=t}else t&&(no(e,t),i={default:1});if(o)for(const l in r)!eo(l)&&!(l in i)&&delete r[l]};function so(){return{app:null,config:{isNativeTag:Mo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let rl=0;function ol(e,t){return function(s,r=null){B(s)||(s=Object.assign({},s)),r!=null&&!ne(r)&&(r=null);const o=so(),i=new Set;let l=!1;const c=o.app={_uid:rl++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:kl,get config(){return o.config},set config(f){},use(f,...h){return i.has(f)||(f&&B(f.install)?(i.add(f),f.install(c,...h)):B(f)&&(i.add(f),f(c,...h))),c},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),c},component(f,h){return h?(o.components[f]=h,c):o.components[f]},directive(f,h){return h?(o.directives[f]=h,c):o.directives[f]},mount(f,h,g){if(!l){const y=U(s,r);return y.appContext=o,h&&t?t(y,f):e(y,f,g),l=!0,c._container=f,f.__vue_app__=c,vs(y.component)||y.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,h){return o.provides[f]=h,c}};return c}}function hn(e,t,n,s,r=!1){if(F(e)){e.forEach((y,T)=>hn(y,t&&(F(t)?t[T]:t),n,s,r));return}if(yt(s)&&!r)return;const o=s.shapeFlag&4?vs(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,h=l.refs===te?l.refs={}:l.refs,g=l.setupState;if(f!=null&&f!==c&&(de(f)?(h[f]=null,q(g,f)&&(g[f]=null)):ge(f)&&(f.value=null)),B(c))Ge(c,l,12,[i,h]);else{const y=de(c),T=ge(c);if(y||T){const M=()=>{if(e.f){const S=y?q(g,c)?g[c]:h[c]:c.value;r?F(S)&&ts(S,o):F(S)?S.includes(o)||S.push(o):y?(h[c]=[o],q(g,c)&&(g[c]=h[c])):(c.value=[o],e.k&&(h[e.k]=c.value))}else y?(h[c]=i,q(g,c)&&(g[c]=i)):T&&(c.value=i,e.k&&(h[e.k]=i))};i?(M.id=-1,Ee(M,n)):M()}}}let Xe=!1;const nn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",sn=e=>e.nodeType===8;function il(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:f}}=e,h=(v,C)=>{if(!C.hasChildNodes()){n(null,v,C),an(),C._vnode=v;return}Xe=!1,g(C.firstChild,v,null,null,null),an(),C._vnode=v,Xe&&console.error("Hydration completed but contains mismatches.")},g=(v,C,w,j,V,ee=!1)=>{const J=sn(v)&&v.data==="[",D=()=>S(v,C,w,j,V,J),{type:ue,ref:se,shapeFlag:ie,patchFlag:Fe}=C;let he=v.nodeType;C.el=v,Fe===-2&&(ee=!1,C.dynamicChildren=null);let O=null;switch(ue){case $t:he!==3?C.children===""?(c(C.el=r(""),i(v),v),O=v):O=D():(v.data!==C.children&&(Xe=!0,v.data=C.children),O=o(v));break;case Ve:he!==8||J?O=D():O=o(v);break;case Ht:if(J&&(v=o(v),he=v.nodeType),he===1||he===3){O=v;const Se=!C.children.length;for(let G=0;G{ee=ee||!!C.dynamicChildren;const{type:J,props:D,patchFlag:ue,shapeFlag:se,dirs:ie}=C,Fe=J==="input"&&ie||J==="option";if(Fe||ue!==-1){if(ie&&Ue(C,null,w,"created"),D)if(Fe||!ee||ue&48)for(const O in D)(Fe&&O.endsWith("value")||qt(O)&&!Mt(O))&&s(v,O,null,D[O],!1,void 0,w);else D.onClick&&s(v,"onClick",null,D.onClick,!1,void 0,w);let he;if((he=D&&D.onVnodeBeforeMount)&&Le(he,w,C),ie&&Ue(C,null,w,"beforeMount"),((he=D&&D.onVnodeMounted)||ie)&&Kr(()=>{he&&Le(he,w,C),ie&&Ue(C,null,w,"mounted")},j),se&16&&!(D&&(D.innerHTML||D.textContent))){let O=T(v.firstChild,C,v,w,j,V,ee);for(;O;){Xe=!0;const Se=O;O=O.nextSibling,l(Se)}}else se&8&&v.textContent!==C.children&&(Xe=!0,v.textContent=C.children)}return v.nextSibling},T=(v,C,w,j,V,ee,J)=>{J=J||!!C.dynamicChildren;const D=C.children,ue=D.length;for(let se=0;se{const{slotScopeIds:J}=C;J&&(V=V?V.concat(J):J);const D=i(v),ue=T(o(v),C,D,w,j,V,ee);return ue&&sn(ue)&&ue.data==="]"?o(C.anchor=ue):(Xe=!0,c(C.anchor=f("]"),D,ue),ue)},S=(v,C,w,j,V,ee)=>{if(Xe=!0,C.el=null,ee){const ue=re(v);for(;;){const se=o(v);if(se&&se!==ue)l(se);else break}}const J=o(v),D=i(v);return l(v),n(null,C,D,J,w,j,nn(D),V),J},re=v=>{let C=0;for(;v;)if(v=o(v),v&&sn(v)&&(v.data==="["&&C++,v.data==="]")){if(C===0)return o(v);C--}return v};return[h,g]}const Ee=Kr;function ll(e){return cl(e,il)}function cl(e,t){const n=Uo();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:h,parentNode:g,nextSibling:y,setScopeId:T=Re,insertStaticContent:M}=e,S=(a,u,d,_=null,p=null,x=null,k=!1,b=null,E=!!u.dynamicChildren)=>{if(a===u)return;a&&!Ot(a,u)&&(_=Yt(a),He(a,p,x,!0),a=null),u.patchFlag===-2&&(E=!1,u.dynamicChildren=null);const{type:m,ref:P,shapeFlag:L}=u;switch(m){case $t:re(a,u,d,_);break;case Ve:v(a,u,d,_);break;case Ht:a==null&&C(u,d,_,k);break;case pe:Fe(a,u,d,_,p,x,k,b,E);break;default:L&1?V(a,u,d,_,p,x,k,b,E):L&6?he(a,u,d,_,p,x,k,b,E):(L&64||L&128)&&m.process(a,u,d,_,p,x,k,b,E,ht)}P!=null&&p&&hn(P,a&&a.ref,x,u||a,!u)},re=(a,u,d,_)=>{if(a==null)s(u.el=l(u.children),d,_);else{const p=u.el=a.el;u.children!==a.children&&f(p,u.children)}},v=(a,u,d,_)=>{a==null?s(u.el=c(u.children||""),d,_):u.el=a.el},C=(a,u,d,_)=>{[a.el,a.anchor]=M(a.children,u,d,_,a.el,a.anchor)},w=({el:a,anchor:u},d,_)=>{let p;for(;a&&a!==u;)p=y(a),s(a,d,_),a=p;s(u,d,_)},j=({el:a,anchor:u})=>{let d;for(;a&&a!==u;)d=y(a),r(a),a=d;r(u)},V=(a,u,d,_,p,x,k,b,E)=>{k=k||u.type==="svg",a==null?ee(u,d,_,p,x,k,b,E):ue(a,u,p,x,k,b,E)},ee=(a,u,d,_,p,x,k,b)=>{let E,m;const{type:P,props:L,shapeFlag:I,transition:R,dirs:K}=a;if(E=a.el=i(a.type,x,L&&L.is,L),I&8?h(E,a.children):I&16&&D(a.children,E,null,_,p,x&&P!=="foreignObject",k,b),K&&Ue(a,null,_,"created"),L){for(const Y in L)Y!=="value"&&!Mt(Y)&&o(E,Y,null,L[Y],x,a.children,_,p,Ke);"value"in L&&o(E,"value",null,L.value),(m=L.onVnodeBeforeMount)&&Le(m,_,a)}J(E,a,a.scopeId,k,_),K&&Ue(a,null,_,"beforeMount");const Q=(!p||p&&!p.pendingBranch)&&R&&!R.persisted;Q&&R.beforeEnter(E),s(E,u,d),((m=L&&L.onVnodeMounted)||Q||K)&&Ee(()=>{m&&Le(m,_,a),Q&&R.enter(E),K&&Ue(a,null,_,"mounted")},p)},J=(a,u,d,_,p)=>{if(d&&T(a,d),_)for(let x=0;x<_.length;x++)T(a,_[x]);if(p){let x=p.subTree;if(u===x){const k=p.vnode;J(a,k,k.scopeId,k.slotScopeIds,p.parent)}}},D=(a,u,d,_,p,x,k,b,E=0)=>{for(let m=E;m{const b=u.el=a.el;let{patchFlag:E,dynamicChildren:m,dirs:P}=u;E|=a.patchFlag&16;const L=a.props||te,I=u.props||te;let R;d&&rt(d,!1),(R=I.onVnodeBeforeUpdate)&&Le(R,d,u,a),P&&Ue(u,a,d,"beforeUpdate"),d&&rt(d,!0);const K=p&&u.type!=="foreignObject";if(m?se(a.dynamicChildren,m,b,d,_,K,x):k||Z(a,u,b,null,d,_,K,x,!1),E>0){if(E&16)ie(b,u,L,I,d,_,p);else if(E&2&&L.class!==I.class&&o(b,"class",null,I.class,p),E&4&&o(b,"style",L.style,I.style,p),E&8){const Q=u.dynamicProps;for(let Y=0;Y{R&&Le(R,d,u,a),P&&Ue(u,a,d,"updated")},_)},se=(a,u,d,_,p,x,k)=>{for(let b=0;b{if(d!==_){if(d!==te)for(const b in d)!Mt(b)&&!(b in _)&&o(a,b,d[b],null,k,u.children,p,x,Ke);for(const b in _){if(Mt(b))continue;const E=_[b],m=d[b];E!==m&&b!=="value"&&o(a,b,m,E,k,u.children,p,x,Ke)}"value"in _&&o(a,"value",d.value,_.value)}},Fe=(a,u,d,_,p,x,k,b,E)=>{const m=u.el=a?a.el:l(""),P=u.anchor=a?a.anchor:l("");let{patchFlag:L,dynamicChildren:I,slotScopeIds:R}=u;R&&(b=b?b.concat(R):R),a==null?(s(m,d,_),s(P,d,_),D(u.children,d,P,p,x,k,b,E)):L>0&&L&64&&I&&a.dynamicChildren?(se(a.dynamicChildren,I,d,p,x,k,b),(u.key!=null||p&&u===p.subTree)&&ro(a,u,!0)):Z(a,u,d,P,p,x,k,b,E)},he=(a,u,d,_,p,x,k,b,E)=>{u.slotScopeIds=b,a==null?u.shapeFlag&512?p.ctx.activate(u,d,_,k,E):O(u,d,_,p,x,k,E):Se(a,u,E)},O=(a,u,d,_,p,x,k)=>{const b=a.component=gl(a,_,p);if(zr(a)&&(b.ctx.renderer=ht),ml(b),b.asyncDep){if(p&&p.registerDep(b,G),!a.el){const E=b.subTree=U(Ve);v(null,E,u,d)}return}G(b,a,u,d,p,x,k)},Se=(a,u,d)=>{const _=u.component=a.component;if(Pi(a,u,d))if(_.asyncDep&&!_.asyncResolved){oe(_,u,d);return}else _.next=u,Ei(_.update),_.update();else u.el=a.el,_.vnode=u},G=(a,u,d,_,p,x,k)=>{const b=()=>{if(a.isMounted){let{next:P,bu:L,u:I,parent:R,vnode:K}=a,Q=P,Y;rt(a,!1),P?(P.el=K.el,oe(a,P,k)):P=K,L&&Mn(L),(Y=P.props&&P.props.onVnodeBeforeUpdate)&&Le(Y,R,P,K),rt(a,!0);const ce=Fn(a),Te=a.subTree;a.subTree=ce,S(Te,ce,g(Te.el),Yt(Te),a,p,x),P.el=ce.el,Q===null&&Ii(a,ce.el),I&&Ee(I,p),(Y=P.props&&P.props.onVnodeUpdated)&&Ee(()=>Le(Y,R,P,K),p)}else{let P;const{el:L,props:I}=u,{bm:R,m:K,parent:Q}=a,Y=yt(u);if(rt(a,!1),R&&Mn(R),!Y&&(P=I&&I.onVnodeBeforeMount)&&Le(P,Q,u),rt(a,!0),L&&On){const ce=()=>{a.subTree=Fn(a),On(L,a.subTree,a,p,null)};Y?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Fn(a);S(null,ce,d,_,a,p,x),u.el=ce.el}if(K&&Ee(K,p),!Y&&(P=I&&I.onVnodeMounted)){const ce=u;Ee(()=>Le(P,Q,ce),p)}(u.shapeFlag&256||Q&&yt(Q.vnode)&&Q.vnode.shapeFlag&256)&&a.a&&Ee(a.a,p),a.isMounted=!0,u=d=_=null}},E=a.effect=new os(b,()=>ds(m),a.scope),m=a.update=()=>E.run();m.id=a.uid,rt(a,!0),m()},oe=(a,u,d)=>{u.component=a;const _=a.vnode.props;a.vnode=u,a.next=null,el(a,u.props,_,d),sl(a,u.children,d),Tt(),Hs(),At()},Z=(a,u,d,_,p,x,k,b,E=!1)=>{const m=a&&a.children,P=a?a.shapeFlag:0,L=u.children,{patchFlag:I,shapeFlag:R}=u;if(I>0){if(I&128){Jt(m,L,d,_,p,x,k,b,E);return}else if(I&256){nt(m,L,d,_,p,x,k,b,E);return}}R&8?(P&16&&Ke(m,p,x),L!==m&&h(d,L)):P&16?R&16?Jt(m,L,d,_,p,x,k,b,E):Ke(m,p,x,!0):(P&8&&h(d,""),R&16&&D(L,d,_,p,x,k,b,E))},nt=(a,u,d,_,p,x,k,b,E)=>{a=a||gt,u=u||gt;const m=a.length,P=u.length,L=Math.min(m,P);let I;for(I=0;IP?Ke(a,p,x,!0,!1,L):D(u,d,_,p,x,k,b,E,L)},Jt=(a,u,d,_,p,x,k,b,E)=>{let m=0;const P=u.length;let L=a.length-1,I=P-1;for(;m<=L&&m<=I;){const R=a[m],K=u[m]=E?Ze(u[m]):Ae(u[m]);if(Ot(R,K))S(R,K,d,null,p,x,k,b,E);else break;m++}for(;m<=L&&m<=I;){const R=a[L],K=u[I]=E?Ze(u[I]):Ae(u[I]);if(Ot(R,K))S(R,K,d,null,p,x,k,b,E);else break;L--,I--}if(m>L){if(m<=I){const R=I+1,K=RI)for(;m<=L;)He(a[m],p,x,!0),m++;else{const R=m,K=m,Q=new Map;for(m=K;m<=I;m++){const ke=u[m]=E?Ze(u[m]):Ae(u[m]);ke.key!=null&&Q.set(ke.key,m)}let Y,ce=0;const Te=I-K+1;let pt=!1,ks=0;const It=new Array(Te);for(m=0;m=Te){He(ke,p,x,!0);continue}let Ne;if(ke.key!=null)Ne=Q.get(ke.key);else for(Y=K;Y<=I;Y++)if(It[Y-K]===0&&Ot(ke,u[Y])){Ne=Y;break}Ne===void 0?He(ke,p,x,!0):(It[Ne-K]=m+1,Ne>=ks?ks=Ne:pt=!0,S(ke,u[Ne],d,null,p,x,k,b,E),ce++)}const Cs=pt?al(It):gt;for(Y=Cs.length-1,m=Te-1;m>=0;m--){const ke=K+m,Ne=u[ke],Ls=ke+1{const{el:x,type:k,transition:b,children:E,shapeFlag:m}=a;if(m&6){st(a.component.subTree,u,d,_);return}if(m&128){a.suspense.move(u,d,_);return}if(m&64){k.move(a,u,d,ht);return}if(k===pe){s(x,u,d);for(let L=0;Lb.enter(x),p);else{const{leave:L,delayLeave:I,afterLeave:R}=b,K=()=>s(x,u,d),Q=()=>{L(x,()=>{K(),R&&R()})};I?I(x,K,Q):Q()}else s(x,u,d)},He=(a,u,d,_=!1,p=!1)=>{const{type:x,props:k,ref:b,children:E,dynamicChildren:m,shapeFlag:P,patchFlag:L,dirs:I}=a;if(b!=null&&hn(b,null,d,a,!0),P&256){u.ctx.deactivate(a);return}const R=P&1&&I,K=!yt(a);let Q;if(K&&(Q=k&&k.onVnodeBeforeUnmount)&&Le(Q,u,a),P&6)Eo(a.component,d,_);else{if(P&128){a.suspense.unmount(d,_);return}R&&Ue(a,null,u,"beforeUnmount"),P&64?a.type.remove(a,u,d,p,ht,_):m&&(x!==pe||L>0&&L&64)?Ke(m,u,d,!1,!0):(x===pe&&L&384||!p&&P&16)&&Ke(E,u,d),_&&$s(a)}(K&&(Q=k&&k.onVnodeUnmounted)||R)&&Ee(()=>{Q&&Le(Q,u,a),R&&Ue(a,null,u,"unmounted")},d)},$s=a=>{const{type:u,el:d,anchor:_,transition:p}=a;if(u===pe){$o(d,_);return}if(u===Ht){j(a);return}const x=()=>{r(d),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(a.shapeFlag&1&&p&&!p.persisted){const{leave:k,delayLeave:b}=p,E=()=>k(d,x);b?b(a.el,x,E):E()}else x()},$o=(a,u)=>{let d;for(;a!==u;)d=y(a),r(a),a=d;r(u)},Eo=(a,u,d)=>{const{bum:_,scope:p,update:x,subTree:k,um:b}=a;_&&Mn(_),p.stop(),x&&(x.active=!1,He(k,a,u,d)),b&&Ee(b,u),Ee(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Ke=(a,u,d,_=!1,p=!1,x=0)=>{for(let k=x;ka.shapeFlag&6?Yt(a.component.subTree):a.shapeFlag&128?a.suspense.next():y(a.anchor||a.el),Es=(a,u,d)=>{a==null?u._vnode&&He(u._vnode,null,null,!0):S(u._vnode||null,a,u,null,null,null,d),Hs(),an(),u._vnode=a},ht={p:S,um:He,m:st,r:$s,mt:O,mc:D,pc:Z,pbc:se,n:Yt,o:e};let In,On;return t&&([In,On]=t(ht)),{render:Es,hydrate:In,createApp:ol(Es,In)}}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ro(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const ul=e=>e.__isTeleport,pe=Symbol(void 0),$t=Symbol(void 0),Ve=Symbol(void 0),Ht=Symbol(void 0),Nt=[];let Ie=null;function A(e=!1){Nt.push(Ie=e?null:[])}function fl(){Nt.pop(),Ie=Nt[Nt.length-1]||null}let Kt=1;function zs(e){Kt+=e}function oo(e){return e.dynamicChildren=Kt>0?Ie||gt:null,fl(),Kt>0&&Ie&&Ie.push(e),e}function H(e,t,n,s,r,o){return oo(N(e,t,n,s,r,o,!0))}function me(e,t,n,s,r){return oo(U(e,t,n,s,r,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const Pn="__vInternal",io=({key:e})=>e!=null?e:null,on=({ref:e,ref_key:t,ref_for:n})=>e!=null?de(e)||ge(e)||B(e)?{i:ye,r:e,k:t,f:!!n}:e:null;function N(e,t=null,n=null,s=0,r=null,o=e===pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&io(t),ref:t&&on(t),scopeId:Cn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(gs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=de(n)?8:16),Kt>0&&!i&&Ie&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ie.push(c),c}const U=dl;function dl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===qi)&&(e=Ve),pn(e)){const l=Et(e,t,!0);return n&&gs(l,n),Kt>0&&!o&&Ie&&(l.shapeFlag&6?Ie[Ie.indexOf(e)]=l:Ie.push(l)),l.patchFlag|=-2,l}if(wl(e)&&(e=e.__vccOpts),t){t=hl(t);let{class:l,style:c}=t;l&&!de(l)&&(t.class=ft(l)),ne(c)&&(Ar(c)&&!F(c)&&(c=$e({},c)),t.style=Gn(c))}const i=de(e)?1:Oi(e)?128:ul(e)?64:ne(e)?4:B(e)?2:0;return N(e,t,n,s,r,i,o,!0)}function hl(e){return e?Ar(e)||Pn in e?$e({},e):e:null}function Et(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?ms(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&io(l),ref:t&&t.ref?n&&r?F(r)?r.concat(on(t)):[r,on(t)]:on(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function zt(e=" ",t=0){return U($t,null,e,t)}function Zu(e,t){const n=U(Ht,null,e);return n.staticCount=t,n}function X(e="",t=!1){return t?(A(),me(Ve,null,e)):U(Ve,null,e)}function Ae(e){return e==null||typeof e=="boolean"?U(Ve):F(e)?U(pe,null,e.slice()):typeof e=="object"?Ze(e):U($t,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function gs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),gs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Pn in t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[zt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ms(...e){const t={};for(let n=0;n{_e=e,e.scope.on()},ut=()=>{_e&&_e.scope.off(),_e=null};function lo(e){return e.vnode.shapeFlag&4}let Wt=!1;function ml(e,t=!1){Wt=t;const{props:n,children:s}=e.vnode,r=lo(e);Gi(e,n,r,t),nl(e,s);const o=r?vl(e,t):void 0;return Wt=!1,o}function vl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ft(new Proxy(e.ctx,Vi));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?xl(e):null;kt(e),Tt();const o=Ge(s,e,0,[e.props,r]);if(At(),ut(),pr(o)){if(o.then(ut,ut),t)return o.then(i=>{Vs(e,i,t)}).catch(i=>{En(i,e,0)});e.asyncDep=o}else Vs(e,o,t)}else co(e,t)}function Vs(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Rr(t)),co(e,n)}let Js;function co(e,t,n){const s=e.type;if(!e.render){if(!t&&Js&&!s.render){const r=s.template||ps(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=$e($e({isCustomElement:o,delimiters:l},i),c);s.render=Js(r,f)}}e.render=s.render||Re}kt(e),Tt(),Ji(e),At(),ut()}function bl(e){return new Proxy(e.attrs,{get(t,n){return Ce(e,"get","$attrs"),t[n]}})}function xl(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=bl(e))},slots:e.slots,emit:e.emit,expose:t}}function vs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Rr(Ft(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in St)return St[n](e)},has(t,n){return n in t||n in St}}))}function yl(e,t=!0){return B(e)?e.displayName||e.name:e.name||t&&e.__name}function wl(e){return B(e)&&"__vccOpts"in e}const W=(e,t)=>yi(e,t,Wt);function dt(e,t,n){const s=arguments.length;return s===2?ne(t)&&!F(t)?pn(t)?U(e,null,[t]):U(e,t):U(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),U(e,t,n))}const $l=Symbol(""),El=()=>xt($l),kl="3.2.45",Cl="http://www.w3.org/2000/svg",lt=typeof document!="undefined"?document:null,Ys=lt&<.createElement("template"),Ll={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?lt.createElementNS(Cl,e):lt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>lt.createTextNode(e),createComment:e=>lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ys.innerHTML=s?`${e}`:e;const l=Ys.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Tl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Al(e,t,n){const s=e.style,r=de(n);if(n&&!r){for(const o in n)Xn(s,o,n[o]);if(t&&!de(t))for(const o in t)n[o]==null&&Xn(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const Xs=/\s*!important$/;function Xn(e,t,n){if(F(n))n.forEach(s=>Xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Pl(e,t);Xs.test(n)?e.setProperty(Lt(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],Hn={};function Pl(e,t){const n=Hn[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return Hn[t]=s;s=xn(s);for(let r=0;rNn||(Hl.then(()=>Nn=0),Nn=Date.now());function Bl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Me(Ul(s,n.value),t,5,[s])};return n.value=e,n.attached=Nl(),n}function Ul(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const er=/^on[a-z]/,jl=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?Tl(e,s,r):t==="style"?Al(e,n,s):qt(t)?es(t)||Fl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Dl(e,t,s,r))?Ol(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Il(e,t,s,r))};function Dl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&er.test(t)&&B(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||er.test(t)&&de(n)?!1:t in e}const Kl=$e({patchProp:jl},Ll);let Bn,tr=!1;function Wl(){return Bn=tr?Bn:ll(Kl),tr=!0,Bn}const ql=(...e)=>{const t=Wl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=zl(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function zl(e){return de(e)?document.querySelector(e):e}var Vl='{"lang":"en-US","title":"Vue next select","description":"The selecting solution for Vue 3","base":"/vue-next-select/","head":[],"themeConfig":{"repo":"iendeavor/vue-next-select","docsDir":"docs","lastUpdated":"Last Updated","nav":[{"text":"Examples","link":"/examples","activeMatch":"/#examples"},{"text":"API Reference","link":"/api-reference","activeMatch":"/api-reference"},{"text":"Change Logs","link":"https://github.com/iendeavor/vue-next-select/blob/main/CHANGELOG.md"}]},"locales":{},"langs":{},"scrollOffset":90}';const ao=/^https?:/i,Oe=typeof window!="undefined";function Jl(e,t){t.sort((n,s)=>{const r=s.split("/").length-n.split("/").length;return r!==0?r:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function nr(e,t){const n=Jl(t,Object.keys(e));return n?e[n]:void 0}function Yl(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,r)=>(s[r]={label:t[r].label,lang:n[r].lang},s),{}):{}}function Xl(e,t){t=Zl(e,t);const n=nr(e.locales||{},t),s=nr(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Yl(e)})}function Zl(e,t){if(!Oe)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}const uo=Symbol(),Vt=_i(Ql(Vl));function Ql(e){return JSON.parse(e)}function Gl(e){const t=W(()=>Xl(Vt.value,e.path));return{site:t,theme:W(()=>t.value.themeConfig),page:W(()=>e.data),frontmatter:W(()=>e.data.frontmatter),lang:W(()=>t.value.lang),localePath:W(()=>{const{langs:n,lang:s}=t.value,r=Object.keys(n).find(o=>n[o].lang===s);return Ct(r||"/")}),title:W(()=>e.data.title?e.data.title+" | "+t.value.title:t.value.title),description:W(()=>e.data.description||t.value.description)}}function be(){const e=xt(uo);if(!e)throw new Error("vitepress data not properly injected in app");return e}function ec(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ct(e){return ao.test(e)?e:ec(Vt.value.base,e)}function fo(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Oe){const n="/vue-next-select/";t=t.slice(n.length).replace(/\//g,"_")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${t.slice(1).replace(/\//g,"_")}.md.js`;return t}const ho=Symbol(),sr="http://a.com",po={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{},lastUpdated:0},tc=()=>({path:"/",component:null,data:po});function nc(e,t){const n=wn(tc());function s(i=Oe?location.href:"/"){const l=new URL(i,sr);return!l.pathname.endsWith("/")&&!l.pathname.endsWith(".html")&&(l.pathname+=".html",i=l.pathname+l.search+l.hash),Oe&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",i)),o(i)}let r=null;async function o(i,l=0,c=!1){const f=new URL(i,sr),h=r=f.pathname;try{let g=e(h);if("then"in g&&typeof g.then=="function"&&(g=await g),r===h){r=null;const{default:y,__pageData:T}=g;if(!y)throw new Error(`Invalid route component: ${y}`);n.path=h,n.component=Ft(y),n.data=Ft(JSON.parse(T)),Oe&&Hr(()=>{if(f.hash&&!l){let M=null;try{M=document.querySelector(decodeURIComponent(f.hash))}catch(S){console.warn(S)}if(M){rr(M,f.hash);return}}window.scrollTo(0,l)})}}catch(g){if(g.message.match(/fetch/)||console.error(g),!c)try{const y=await fetch(Vt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await y.json(),await o(i,l,!0);return}catch{}r===h&&(r=null,n.path=h,n.component=t?Ft(t):null,n.data=po)}}return Oe&&(window.addEventListener("click",i=>{const l=i.target.closest("a");if(l){const{href:c,protocol:f,hostname:h,pathname:g,hash:y,target:T}=l,M=window.location,S=g.match(/\.\w+$/);!i.ctrlKey&&!i.shiftKey&&!i.altKey&&!i.metaKey&&T!=="_blank"&&f===M.protocol&&h===M.hostname&&!(S&&S[0]!==".html")&&(i.preventDefault(),g===M.pathname?y&&y!==M.hash&&(history.pushState(null,"",y),window.dispatchEvent(new Event("hashchange")),rr(l,y,l.classList.contains("header-anchor"))):s(c))}},{capture:!0}),window.addEventListener("popstate",i=>{o(location.href,i.state&&i.state.scrollPosition||0)}),window.addEventListener("hashchange",i=>{i.preventDefault()})),{route:n,go:s}}function sc(){const e=xt(ho);if(!e)throw new Error("useRouter() is called without provider.");return e}function tt(){return sc().route}function rr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(r){console.warn(r)}if(s){let r=Vt.value.scrollOffset;typeof r=="string"&&(r=document.querySelector(r).getBoundingClientRect().bottom+24);const o=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-r+o;!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})}}function rc(e,t){let n=[],s=!0;const r=o=>{if(s){s=!1;return}const i=[],l=Math.min(n.length,o.length);for(let c=0;cdocument.head.removeChild(c)),o.slice(l).forEach(c=>{const f=or(c);document.head.appendChild(f),i.push(f)}),n=i};Wr(()=>{const o=e.data,i=t.value,l=o&&o.title,c=o&&o.description,f=o&&o.frontmatter.head;document.title=(l?l+" | ":"")+i.title,document.querySelector("meta[name=description]").setAttribute("content",c||i.description),r([...f?ic(f):[]])})}function or([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function oc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function ic(e){return e.filter(t=>!oc(t))}const lc=le({name:"VitePressContent",setup(){const e=tt();return()=>dt("div",{style:{position:"relative"}},[e.component?dt(e.component):null])}});var ae=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const cc=/#.*$/,ac=/(index)?\.(md|html)$/,_n=/\/$/,uc=/^[a-z]+:/i;function bs(e){return Array.isArray(e)}function xs(e){return uc.test(e)}function fc(e,t){if(t===void 0)return!1;const n=ir(`/${e.data.relativePath}`),s=ir(t);return n===s}function ir(e){return decodeURI(e).replace(cc,"").replace(ac,"")}function dc(e,t){const n=e.endsWith("/"),s=t.startsWith("/");return n&&s?e.slice(0,-1)+t:!n&&!s?`${e}/${t}`:e+t}function Zn(e){return/^\//.test(e)?e:`/${e}`}function _o(e){return e.replace(/(index)?(\.(md|html))?$/,"")||"/"}function hc(e){return e===!1||e==="auto"||bs(e)}function pc(e){return e.children!==void 0}function _c(e){return bs(e)?e.length===0:!e}function ys(e,t){if(hc(e))return e;t=Zn(t);for(const n in e)if(t.startsWith(Zn(n)))return e[n];return"auto"}function go(e){return e.reduce((t,n)=>(n.link&&t.push({text:n.text,link:_o(n.link)}),pc(n)&&(t=[...t,...go(n.children)]),t),[])}function mo(e){const t=tt(),n=xs(e.value.link);return{props:W(()=>{const r=lr(`/${t.data.relativePath}`);let o=!1;if(e.value.activeMatch)o=new RegExp(e.value.activeMatch).test(r);else{const i=lr(e.value.link);o=i==="/"?i===r:r.startsWith(i)}return{class:{active:o,isExternal:n},href:n?e.value.link:Ct(e.value.link),target:e.value.target||(n?"_blank":null),rel:e.value.rel||(n?"noopener noreferrer":null),"aria-label":e.value.ariaLabel}}),isExternal:n}}function lr(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}const gc={},mc={class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},vc=N("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"},null,-1),bc=N("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"},null,-1),xc=[vc,bc];function yc(e,t){return A(),H("svg",mc,xc)}var ws=ae(gc,[["render",yc]]);const wc={class:"nav-link"},$c=le({__name:"NavLink",props:{item:null},setup(e){const n=Mr(e),{props:s,isExternal:r}=mo(n.item);return(o,i)=>(A(),H("div",wc,[N("a",ms({class:"item"},$(s)),[zt(we(e.item.text)+" ",1),$(r)?(A(),me(ws,{key:0})):X("",!0)],16)]))}});var gn=ae($c,[["__scopeId","data-v-49fe041d"]]);const Ec={key:0,class:"home-hero"},kc={key:0,class:"figure"},Cc=["src","alt"],Lc={key:1,id:"main-title",class:"title"},Tc={key:2,class:"tagline"},Ac=le({__name:"HomeHero",setup(e){const{site:t,frontmatter:n}=be(),s=W(()=>{const{heroImage:i,heroText:l,tagline:c,actionLink:f,actionText:h}=n.value;return i||l||c||f&&h}),r=W(()=>n.value.heroText||t.value.title),o=W(()=>n.value.tagline||t.value.description);return(i,l)=>$(s)?(A(),H("header",Ec,[$(n).heroImage?(A(),H("figure",kc,[N("img",{class:"image",src:$(Ct)($(n).heroImage),alt:$(n).heroAlt},null,8,Cc)])):X("",!0),$(r)?(A(),H("h1",Lc,we($(r)),1)):X("",!0),$(o)?(A(),H("p",Tc,we($(o)),1)):X("",!0),$(n).actionLink&&$(n).actionText?(A(),me(gn,{key:3,item:{link:$(n).actionLink,text:$(n).actionText},class:"action"},null,8,["item"])):X("",!0),$(n).altActionLink&&$(n).altActionText?(A(),me(gn,{key:4,item:{link:$(n).altActionLink,text:$(n).altActionText},class:"action alt"},null,8,["item"])):X("",!0)])):X("",!0)}});var Pc=ae(Ac,[["__scopeId","data-v-5d8b683d"]]);const Ic={key:0,class:"home-features"},Oc={class:"wrapper"},Rc={class:"container"},Mc={class:"features"},Fc={key:0,class:"title"},Sc={key:1,class:"details"},Hc=le({__name:"HomeFeatures",setup(e){const{frontmatter:t}=be(),n=W(()=>t.value.features&&t.value.features.length>0),s=W(()=>t.value.features?t.value.features:[]);return(r,o)=>$(n)?(A(),H("div",Ic,[N("div",Oc,[N("div",Rc,[N("div",Mc,[(A(!0),H(pe,null,An($(s),(i,l)=>(A(),H("section",{key:l,class:"feature"},[i.title?(A(),H("h2",Fc,we(i.title),1)):X("",!0),i.details?(A(),H("p",Sc,we(i.details),1)):X("",!0)]))),128))])])])])):X("",!0)}});var Nc=ae(Hc,[["__scopeId","data-v-245bde66"]]);const Bc={key:0,class:"footer"},Uc={class:"container"},jc={class:"text"},Dc=le({__name:"HomeFooter",setup(e){const{frontmatter:t}=be();return(n,s)=>$(t).footer?(A(),H("footer",Bc,[N("div",Uc,[N("p",jc,we($(t).footer),1)])])):X("",!0)}});var Kc=ae(Dc,[["__scopeId","data-v-bff49316"]]);const Wc={class:"home","aria-labelledby":"main-title"},qc={class:"home-content"},zc=le({__name:"Home",setup(e){return(t,n)=>{const s=fn("Content");return A(),H("main",Wc,[U(Pc),fe(t.$slots,"hero",{},void 0,!0),U(Nc),N("div",qc,[U(s)]),fe(t.$slots,"features",{},void 0,!0),U(Kc),fe(t.$slots,"footer",{},void 0,!0)])}}});var Vc=ae(zc,[["__scopeId","data-v-8382b818"]]);const Jc=["href","aria-label"],Yc=["src"],Xc=le({__name:"NavBarTitle",setup(e){const{site:t,theme:n,localePath:s}=be();return(r,o)=>(A(),H("a",{class:"nav-bar-title",href:$(s),"aria-label":`${$(t).title}, back to home`},[$(n).logo?(A(),H("img",{key:0,class:"logo",src:$(Ct)($(n).logo),alt:"Logo"},null,8,Yc)):X("",!0),zt(" "+we($(t).title),1)],8,Jc))}});var Zc=ae(Xc,[["__scopeId","data-v-016a8bd8"]]);function Qc(){const{site:e,localePath:t,theme:n}=be();return W(()=>{const s=e.value.langs,r=Object.keys(s);if(r.length<2)return null;const i=tt().path.replace(t.value,""),l=r.map(f=>({text:s[f].label,link:`${f}${i}`}));return{text:n.value.selectText||"Languages",items:l}})}const Gc=["GitHub","GitLab","Bitbucket"].map(e=>[e,new RegExp(e,"i")]);function ea(){const{site:e}=be();return W(()=>{const t=e.value.themeConfig,n=t.docsRepo||t.repo;if(!n)return null;const s=ta(n);return{text:na(s,t.repoLabel),link:s}})}function ta(e){return ao.test(e)?e:`https://github.com/${e}`}function na(e,t){if(t)return t;const n=e.match(/^https?:\/\/[^/]+/);if(!n)return"Source";const s=Gc.find(([r,o])=>o.test(n[0]));return s&&s[0]?s[0]:"Source"}const sa=e=>(jr("data-v-07381bdb"),e=e(),Dr(),e),ra={class:"nav-dropdown-link-item"},oa=sa(()=>N("span",{class:"arrow"},null,-1)),ia={class:"text"},la={class:"icon"},ca=le({__name:"NavDropdownLinkItem",props:{item:null},setup(e){const n=Mr(e),{props:s,isExternal:r}=mo(n.item);return(o,i)=>(A(),H("div",ra,[N("a",ms({class:"item"},$(s)),[oa,N("span",ia,we(e.item.text),1),N("span",la,[$(r)?(A(),me(ws,{key:0})):X("",!0)])],16)]))}});var aa=ae(ca,[["__scopeId","data-v-07381bdb"]]);const ua=["aria-label"],fa={class:"button-text"},da={class:"dialog"},ha=le({__name:"NavDropdownLink",props:{item:null},setup(e){const t=tt(),n=$n(!1);at(()=>t.path,()=>{n.value=!1});function s(){n.value=!n.value}return(r,o)=>(A(),H("div",{class:ft(["nav-dropdown-link",{open:n.value}])},[N("button",{class:"button","aria-label":e.item.ariaLabel,onClick:s},[N("span",fa,we(e.item.text),1),N("span",{class:ft(["button-arrow",n.value?"down":"right"])},null,2)],8,ua),N("ul",da,[(A(!0),H(pe,null,An(e.item.items,i=>(A(),H("li",{key:i.text,class:"dialog-item"},[U(aa,{item:i},null,8,["item"])]))),128))])],2))}});var cr=ae(ha,[["__scopeId","data-v-18d75f62"]]);const pa={key:0,class:"nav-links"},_a={key:1,class:"item"},ga={key:2,class:"item"},ma=le({__name:"NavLinks",setup(e){const{theme:t}=be(),n=Qc(),s=ea(),r=W(()=>t.value.nav||s.value||n.value);return(o,i)=>$(r)?(A(),H("nav",pa,[$(t).nav?(A(!0),H(pe,{key:0},An($(t).nav,l=>(A(),H("div",{key:l.text,class:"item"},[l.items?(A(),me(cr,{key:0,item:l},null,8,["item"])):(A(),me(gn,{key:1,item:l},null,8,["item"]))]))),128)):X("",!0),$(n)?(A(),H("div",_a,[U(cr,{item:$(n)},null,8,["item"])])):X("",!0),$(s)?(A(),H("div",ga,[U(gn,{item:$(s)},null,8,["item"])])):X("",!0)])):X("",!0)}});var vo=ae(ma,[["__scopeId","data-v-35b91e7e"]]);const va={emits:["toggle"]},ba=N("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"},[N("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z",class:""})],-1),xa=[ba];function ya(e,t,n,s,r,o){return A(),H("div",{class:"sidebar-button",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},xa)}var wa=ae(va,[["render",ya]]);const $a=e=>(jr("data-v-40587210"),e=e(),Dr(),e),Ea={class:"nav-bar"},ka=$a(()=>N("div",{class:"flex-grow"},null,-1)),Ca={class:"nav"},La=le({__name:"NavBar",emits:["toggle"],setup(e){return(t,n)=>(A(),H("header",Ea,[U(wa,{onToggle:n[0]||(n[0]=s=>t.$emit("toggle"))}),U(Zc),ka,N("div",Ca,[U(vo)]),fe(t.$slots,"search",{},void 0,!0)]))}});var Ta=ae(La,[["__scopeId","data-v-40587210"]]);function Aa(){let e=null,t=null;const n=Ma(s,300);function s(){const i=Pa(),l=Ia(i);for(let c=0;c ul > li");l&&l!==t.parentElement?(e=l.querySelector("a"),e&&e.classList.add("active")):e=null}function o(i){i&&i.classList.remove("active")}Pt(()=>{s(),window.addEventListener("scroll",n)}),Jr(()=>{r(decodeURIComponent(location.hash))}),Tn(()=>{window.removeEventListener("scroll",n)})}function Pa(){return[].slice.call(document.querySelectorAll(".sidebar a.sidebar-link-item"))}function Ia(e){return[].slice.call(document.querySelectorAll(".header-anchor")).filter(t=>e.some(n=>n.hash===t.hash))}function Oa(){return document.querySelector(".nav-bar").offsetHeight}function ar(e){const t=Oa();return e.parentElement.offsetTop-t-15}function Ra(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Fa(){const e=tt(),{site:t}=be();return Aa(),W(()=>{const n=e.data.headers,s=e.data.frontmatter.sidebar,r=e.data.frontmatter.sidebarDepth;if(s===!1)return[];if(s==="auto")return ur(n,r);const o=ys(t.value.themeConfig.sidebar,e.data.relativePath);return o===!1?[]:o==="auto"?ur(n,r):o})}function ur(e,t){const n=[];if(e===void 0)return[];let s;return e.forEach(({level:r,title:o,slug:i})=>{if(r-1>t)return;const l={text:o,link:`#${i}`};r===2?(s=l,n.push(l)):s&&(s.children||(s.children=[])).push(l)}),n}const bo=e=>{const t=tt(),{site:n,frontmatter:s}=be(),r=e.depth||1,o=s.value.sidebarDepth||1/0,i=t.data.headers,l=e.item.text,c=Sa(n.value.base,e.item.link),f=e.item.children,h=fc(t,e.item.link),g=r0?dt("ul",{class:"sidebar-links"},t.map(r=>dt(bo,{item:r,depth:s}))):e&&n?xo(!1,Ha(n),void 0,s):null}function Ha(e){return yo(Na(e))}function Na(e){e=e.map(n=>Object.assign({},n));let t;return e.forEach(n=>{n.level===2?t=n:t&&(t.children||(t.children=[])).push(n)}),e.filter(n=>n.level===2)}function yo(e){return e.map(t=>({text:t.title,link:`#${t.slug}`,children:t.children?yo(t.children):void 0}))}const Ba={key:0,class:"sidebar-links"},Ua=le({__name:"SideBarLinks",setup(e){const t=Fa();return(n,s)=>$(t).length>0?(A(),H("ul",Ba,[(A(!0),H(pe,null,An($(t),r=>(A(),me($(bo),{item:r},null,8,["item"]))),256))])):X("",!0)}});const ja=le({__name:"SideBar",props:{open:{type:Boolean}},setup(e){return(t,n)=>(A(),H("aside",{class:ft(["sidebar",{open:e.open}])},[U(vo,{class:"nav"}),fe(t.$slots,"sidebar-top",{},void 0,!0),U(Ua),fe(t.$slots,"sidebar-bottom",{},void 0,!0)],2))}});var Da=ae(ja,[["__scopeId","data-v-17c48e2f"]]);const Ka=/bitbucket.org/;function Wa(){const{page:e,theme:t,frontmatter:n}=be(),s=W(()=>{const{repo:o,docsDir:i="",docsBranch:l="master",docsRepo:c=o,editLinks:f}=t.value,h=n.value.editLink!=null?n.value.editLink:f,{relativePath:g}=e.value;return!h||!g||!o?null:qa(o,c,i,l,g)}),r=W(()=>t.value.editLinkText||"Edit this page");return{url:s,text:r}}function qa(e,t,n,s,r){return Ka.test(e)?Va(e,t,n,s,r):za(e,t,n,s,r)}function za(e,t,n,s,r){return(xs(t)?t:`https://github.com/${t}`).replace(_n,"")+`/edit/${s}/`+(n?n.replace(_n,"")+"/":"")+r}function Va(e,t,n,s,r){return(xs(t)?t:e).replace(_n,"")+`/src/${s}/`+(n?n.replace(_n,"")+"/":"")+r+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}const Ja={class:"edit-link"},Ya=["href"],Xa=le({__name:"EditLink",setup(e){const{url:t,text:n}=Wa();return(s,r)=>(A(),H("div",Ja,[$(t)?(A(),H("a",{key:0,class:"link",href:$(t),target:"_blank",rel:"noopener noreferrer"},[zt(we($(n))+" ",1),U(ws,{class:"icon"})],8,Ya)):X("",!0)]))}});var Za=ae(Xa,[["__scopeId","data-v-55695e90"]]);const Qa={key:0,class:"last-updated"},Ga={class:"prefix"},eu={class:"datetime"},tu=le({__name:"LastUpdated",setup(e){const{theme:t,page:n}=be(),s=W(()=>{const i=t.value.lastUpdated;return i!==void 0&&i!==!1&&n.value.lastUpdated!==0}),r=W(()=>{const i=t.value.lastUpdated;return i===!0?"Last Updated":i}),o=$n("");return Pt(()=>{Wr(()=>{o.value=new Date(n.value.lastUpdated).toLocaleString("en-US")})}),(i,l)=>$(s)?(A(),H("p",Qa,[N("span",Ga,we($(r))+":",1),N("span",eu,we(o.value),1)])):X("",!0)}});var nu=ae(tu,[["__scopeId","data-v-7e06cdca"]]);const su={class:"page-footer"},ru={class:"edit"},ou={class:"updated"},iu=le({__name:"PageFooter",setup(e){const{page:t}=be();return(n,s)=>(A(),H("footer",su,[N("div",ru,[U(Za)]),N("div",ou,[$(t).lastUpdated?(A(),me(nu,{key:0})):X("",!0)])]))}});var lu=ae(iu,[["__scopeId","data-v-b65b4b36"]]);function cu(){const{page:e,theme:t}=be(),n=W(()=>_o(Zn(e.value.relativePath))),s=W(()=>{const c=ys(t.value.sidebar,n.value);return bs(c)?go(c):[]}),r=W(()=>s.value.findIndex(c=>c.link===n.value)),o=W(()=>{if(t.value.nextLinks!==!1&&r.value>-1&&r.value{if(t.value.prevLinks!==!1&&r.value>0)return s.value[r.value-1]}),l=W(()=>!!o.value||!!i.value);return{next:o,prev:i,hasLinks:l}}const au={},uu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},fu=N("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"},null,-1),du=[fu];function hu(e,t){return A(),H("svg",uu,du)}var pu=ae(au,[["render",hu]]);const _u={},gu={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},mu=N("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),vu=[mu];function bu(e,t){return A(),H("svg",gu,vu)}var xu=ae(_u,[["render",bu]]);const yu={key:0,class:"next-and-prev-link"},wu={class:"container"},$u={class:"prev"},Eu=["href"],ku={class:"text"},Cu={class:"next"},Lu=["href"],Tu={class:"text"},Au=le({__name:"NextAndPrevLinks",setup(e){const{hasLinks:t,prev:n,next:s}=cu();return(r,o)=>$(t)?(A(),H("div",yu,[N("div",wu,[N("div",$u,[$(n)?(A(),H("a",{key:0,class:"link",href:$(Ct)($(n).link)},[U(pu,{class:"icon icon-prev"}),N("span",ku,we($(n).text),1)],8,Eu)):X("",!0)]),N("div",Cu,[$(s)?(A(),H("a",{key:0,class:"link",href:$(Ct)($(s).link)},[N("span",Tu,we($(s).text),1),U(xu,{class:"icon icon-next"})],8,Lu)):X("",!0)])])])):X("",!0)}});var Pu=ae(Au,[["__scopeId","data-v-e65a9748"]]);const Iu={class:"page"},Ou={class:"container"},Ru=le({__name:"Page",setup(e){return(t,n)=>{const s=fn("Content");return A(),H("main",Iu,[N("div",Ou,[fe(t.$slots,"top",{},void 0,!0),U(s,{class:"content"}),U(lu),U(Pu),fe(t.$slots,"bottom",{},void 0,!0)])])}}});var Mu=ae(Ru,[["__scopeId","data-v-8fcebc32"]]);const Fu={key:0,id:"ads-container"},Su=le({__name:"Layout",setup(e){const t=()=>null,n=t,s=t,r=t,o=tt(),{site:i,page:l,theme:c,frontmatter:f}=be(),h=W(()=>!!f.value.customLayout),g=W(()=>!!f.value.home),y=W(()=>Object.keys(i.value.langs).length>1),T=W(()=>{const w=c.value;return f.value.navbar===!1||w.navbar===!1?!1:i.value.title||w.logo||w.repo||w.nav}),M=$n(!1),S=W(()=>f.value.home||f.value.sidebar===!1?!1:!_c(ys(c.value.sidebar,o.data.relativePath))),re=w=>{M.value=typeof w=="boolean"?w:!M.value},v=re.bind(null,!1);at(o,v);const C=W(()=>[{"no-navbar":!T.value,"sidebar-open":M.value,"no-sidebar":!S.value}]);return(w,j)=>{const V=fn("Content"),ee=fn("Debug");return A(),H(pe,null,[N("div",{class:ft(["theme",$(C)])},[$(T)?(A(),me(Ta,{key:0,onToggle:re},{search:We(()=>[fe(w.$slots,"navbar-search",{},()=>[$(c).algolia?(A(),me($(r),{key:0,options:$(c).algolia,multilang:$(y)},null,8,["options","multilang"])):X("",!0)])]),_:3})):X("",!0),U(Da,{open:M.value},{"sidebar-top":We(()=>[fe(w.$slots,"sidebar-top")]),"sidebar-bottom":We(()=>[fe(w.$slots,"sidebar-bottom")]),_:3},8,["open"]),N("div",{class:"sidebar-mask",onClick:j[0]||(j[0]=J=>re(!1))}),$(h)?(A(),me(V,{key:1})):$(g)?fe(w.$slots,"home",{key:2},()=>[U(Vc,null,{hero:We(()=>[fe(w.$slots,"home-hero")]),features:We(()=>[fe(w.$slots,"home-features")]),footer:We(()=>[fe(w.$slots,"home-footer")]),_:3})]):(A(),me(Mu,{key:3},{top:We(()=>[fe(w.$slots,"page-top-ads",{},()=>[$(c).carbonAds&&$(c).carbonAds.carbon?(A(),H("div",Fu,[(A(),me($(n),{key:"carbon"+$(l).relativePath,code:$(c).carbonAds.carbon,placement:$(c).carbonAds.placement},null,8,["code","placement"]))])):X("",!0)]),fe(w.$slots,"page-top")]),bottom:We(()=>[fe(w.$slots,"page-bottom"),fe(w.$slots,"page-bottom-ads",{},()=>[$(c).carbonAds&&$(c).carbonAds.custom?(A(),me($(s),{key:"custom"+$(l).relativePath,code:$(c).carbonAds.custom,placement:$(c).carbonAds.placement},null,8,["code","placement"])):X("",!0)])]),_:3}))],2),U(ee)],64)}}}),Hu={class:"theme"},Nu=N("h1",null,"404",-1),Bu=["href"],Uu=le({__name:"NotFound",setup(e){const{site:t}=be(),n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."];function s(){return n[Math.floor(Math.random()*n.length)]}return(r,o)=>(A(),H("div",Hu,[Nu,N("blockquote",null,we(s()),1),N("a",{href:$(t).base,"aria-label":"go to home"},"Take me home.",8,Bu)]))}}),mn={Layout:Su,NotFound:Uu},Un=new Set,wo=()=>document.createElement("link"),ju=e=>{const t=wo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Du=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let rn;const Ku=Oe&&(rn=wo())&&rn.relList&&rn.relList.supports&&rn.relList.supports("prefetch")?ju:Du;function Wu(){if(!Oe||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!Un.has(c)){Un.add(c);const f=fo(c);Ku(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{target:i,hostname:l,pathname:c}=o,f=c.match(/\.\w+$/);f&&f[0]!==".html"||i!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(o):Un.add(c))})})};Pt(s);const r=tt();at(()=>r.path,s),Tn(()=>{n&&n.disconnect()})}const qu=le({setup(e,{slots:t}){const n=$n(!1);return Pt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}}),zu=mn.NotFound||(()=>"404 Not Found"),Vu={name:"VitePressApp",setup(){const{site:e}=be();return Pt(()=>{at(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),Wu(),()=>dt(mn.Layout)}};function Ju(){const e=Xu(),t=Yu();t.provide(ho,e);const n=Gl(e.route);return t.provide(uo,n),t.component("Content",lc),t.component("ClientOnly",qu),t.component("Debug",()=>null),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),mn.enhanceApp&&mn.enhanceApp({app:t,router:e,siteData:Vt}),{app:t,router:e,data:n}}function Yu(){return ql(Vu)}function Xu(){let e=Oe,t;return nc(n=>{let s=fo(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Oe?(e=!1,Lo(()=>import(s),[])):require(s)},zu)}if(Oe){const{app:e,router:t,data:n}=Ju();t.go().then(()=>{rc(t.route,n.site),e.mount("#app")})}export{ae as _,Zu as a,N as b,H as c,Ju as createApp,zt as d,A as o}; diff --git a/assets/examples.md.cee7303d.js b/assets/examples.md.cee7303d.js new file mode 100644 index 00000000..a558db61 --- /dev/null +++ b/assets/examples.md.cee7303d.js @@ -0,0 +1 @@ +import{_ as a,c as t,o,b as e,d as s}from"./app.8eca4113.js";const f='{"title":"Examples","description":"","frontmatter":{},"headers":[],"relativePath":"examples.md"}',r={},i=e("h1",{id:"examples",tabindex:"-1"},[s("Examples "),e("a",{class:"header-anchor",href:"#examples","aria-hidden":"true"},"#")],-1),l=e("iframe",{src:"https://codesandbox.io/embed/github/iendeavor/vue-next-select/tree/main/examples?fontsize=14&hidenavigation=1&theme=dark",style:{width:"100%",height:"500px",border:"0","border-radius":"4px",overflow:"hidden"},title:"vue-next-select-example",allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"},null,-1),n=[i,l];function d(c,p,m,h,x,_){return o(),t("div",null,n)}var b=a(r,[["render",d]]);export{f as __pageData,b as default}; diff --git a/assets/examples.md.cee7303d.lean.js b/assets/examples.md.cee7303d.lean.js new file mode 100644 index 00000000..a558db61 --- /dev/null +++ b/assets/examples.md.cee7303d.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,o,b as e,d as s}from"./app.8eca4113.js";const f='{"title":"Examples","description":"","frontmatter":{},"headers":[],"relativePath":"examples.md"}',r={},i=e("h1",{id:"examples",tabindex:"-1"},[s("Examples "),e("a",{class:"header-anchor",href:"#examples","aria-hidden":"true"},"#")],-1),l=e("iframe",{src:"https://codesandbox.io/embed/github/iendeavor/vue-next-select/tree/main/examples?fontsize=14&hidenavigation=1&theme=dark",style:{width:"100%",height:"500px",border:"0","border-radius":"4px",overflow:"hidden"},title:"vue-next-select-example",allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"},null,-1),n=[i,l];function d(c,p,m,h,x,_){return o(),t("div",null,n)}var b=a(r,[["render",d]]);export{f as __pageData,b as default}; diff --git a/assets/index.md.0cd4f327.js b/assets/index.md.0cd4f327.js new file mode 100644 index 00000000..14f56082 --- /dev/null +++ b/assets/index.md.0cd4f327.js @@ -0,0 +1,30 @@ +import{_ as n,c as a,o as s,a as t}from"./app.8eca4113.js";const h='{"title":"Vue-next-select","description":"","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features"},{"level":2,"title":"Installation","slug":"installation"},{"level":3,"title":"NPM / Yarn","slug":"npm-yarn"},{"level":3,"title":"CDN","slug":"cdn"},{"level":3,"title":"Component Registration","slug":"component-registration"},{"level":2,"title":"Getting Started","slug":"getting-started"},{"level":3,"title":"Options","slug":"options"}],"relativePath":"index.md"}',e={},p=t(`

Vue-next-select

The selecting solution for Vue 3

\xA0 \xA0 \xA0 \xA0

Features

  • Single select
  • Multiple select
  • Tagging
  • Group
  • Filtering / Remote Searching
  • Asynchronous support
  • No dependencies
  • Aims to follow WAI-ARIA for the combobox and listbox widget

Installation

NPM / Yarn

npm install vue-next-select
+
+# or, using yarn
+yarn add vue-next-select
+

CDN

<!-- import style -->
+<link type="text/css" rel="stylesheet" href="https://unpkg.com/vue-next-select/dist/index.min.css" />
+
+<!-- import script -->
+<script src="https://unpkg.com/vue-next-select/dist/vue-next-select.iife.prod.js"></script>
+

You can access select component via the global variable VueNextSelect

Component Registration

Global Registration:

import { createApp } from 'vue'
+import VueNextSelect from 'vue-next-select'
+
+const app = createApp({})
+app.component('vue-select', VueNextSelect)
+

Local Registration:

import { createApp } from 'vue'
+import VueNextSelect from 'vue-next-select'
+
+const app = Vue.createApp({
+  components: {
+    'vue-select': VueNextSelect,
+  },
+})
+

Getting Started

Options

In HTML, each menu option is defined by an option element nested inside the select element:

<select>
+  <option>Red</option>
+  <option>Green</option>
+</select>
+

In vue-next-select, you need to pass an array of primitive values through an options prop:

<vue-select :options="['Red', 'Green']"> </vue-select>
+

The options prop also accepts an array of objects. In this case, you need to pass an additional prop: label-by to display the options:

<vue-select :options="[{ color: 'Red' }, { color: 'Green' }]" label-by="color"> </vue-select>
+

vue-next-select requires the options prop to be an array, if there are no options, you must pass an empty array:

<vue-select :options="[]"> </vue-select>
+

See more details about options and label-by in API reference.

`,27),o=[p];function c(l,i,u,r,k,d){return s(),a("div",null,o)}var m=n(e,[["render",c]]);export{h as __pageData,m as default}; diff --git a/assets/index.md.0cd4f327.lean.js b/assets/index.md.0cd4f327.lean.js new file mode 100644 index 00000000..62e61ef4 --- /dev/null +++ b/assets/index.md.0cd4f327.lean.js @@ -0,0 +1 @@ +import{_ as n,c as a,o as s,a as t}from"./app.8eca4113.js";const h='{"title":"Vue-next-select","description":"","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features"},{"level":2,"title":"Installation","slug":"installation"},{"level":3,"title":"NPM / Yarn","slug":"npm-yarn"},{"level":3,"title":"CDN","slug":"cdn"},{"level":3,"title":"Component Registration","slug":"component-registration"},{"level":2,"title":"Getting Started","slug":"getting-started"},{"level":3,"title":"Options","slug":"options"}],"relativePath":"index.md"}',e={},p=t("",27),o=[p];function c(l,i,u,r,k,d){return s(),a("div",null,o)}var m=n(e,[["render",c]]);export{h as __pageData,m as default}; diff --git a/assets/style.4eab0d57.css b/assets/style.4eab0d57.css new file mode 100644 index 00000000..cfb90fd1 --- /dev/null +++ b/assets/style.4eab0d57.css @@ -0,0 +1 @@ +:root{--c-white: #ffffff;--c-white-dark: #f8f8f8;--c-black: #000000;--c-divider-light: rgba(60, 60, 67, .12);--c-divider-dark: rgba(84, 84, 88, .48);--c-text-light-1: #2c3e50;--c-text-light-2: #476582;--c-text-light-3: #90a4b7;--c-brand: #3eaf7c;--c-brand-light: #4abf8a;--font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--font-family-mono: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;--z-index-navbar: 10;--z-index-sidebar: 6;--shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16);--header-height: 3.6rem}:root{--c-divider: var(--c-divider-light);--c-text: var(--c-text-light-1);--c-text-light: var(--c-text-light-2);--c-text-lighter: var(--c-text-light-3);--c-bg: var(--c-white);--c-bg-accent: var(--c-white-dark);--code-line-height: 24px;--code-font-family: var(--font-family-mono);--code-font-size: 14px;--code-inline-bg-color: rgba(27, 31, 35, .05);--code-bg-color: #282c34}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:1.4;font-family:var(--font-family-base);font-size:16px;font-weight:400;color:var(--c-text);background-color:var(--c-bg);direction:ltr;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:1.25}h1,h2,h3,h4,h5,h6,strong,b{font-weight:600}h1:hover .header-anchor,h1:focus .header-anchor,h2:hover .header-anchor,h2:focus .header-anchor,h3:hover .header-anchor,h3:focus .header-anchor,h4:hover .header-anchor,h4:focus .header-anchor,h5:hover .header-anchor,h5:focus .header-anchor,h6:hover .header-anchor,h6:focus .header-anchor{opacity:1}h1{margin-top:1.5rem;font-size:1.9rem}@media screen and (min-width: 420px){h1{font-size:2.2rem}}h2{margin-top:2.25rem;margin-bottom:1.25rem;border-bottom:1px solid var(--c-divider);padding-bottom:.3rem;line-height:1.25;font-size:1.65rem}h2+h3{margin-top:1.5rem}h3{margin-top:2rem;font-size:1.35rem}h4{font-size:1.15rem}p,ol,ul{margin:1rem 0;line-height:1.7}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{text-decoration:none;color:var(--c-brand)}a:hover{text-decoration:underline}a.header-anchor{float:left;margin-top:.125em;margin-left:-.87em;padding-right:.23em;font-size:.85em;opacity:0}a.header-anchor:hover,a.header-anchor:focus{text-decoration:none}figure{margin:0}img{max-width:100%}ul,ol{padding-left:1.25em}li>ul,li>ol{margin:0}table{display:block;border-collapse:collapse;margin:1rem 0;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}th,td{border:1px solid #dfe2e5;padding:.6em 1em}blockquote{margin:1rem 0;border-left:.2rem solid #dfe2e5;padding:.25rem 0 .25rem 1rem;font-size:1rem;color:#999}blockquote>p{margin:0}form{margin:0}.theme.sidebar-open .sidebar-mask{display:block}.theme.no-navbar>h1,.theme.no-navbar>h2,.theme.no-navbar>h3,.theme.no-navbar>h4,.theme.no-navbar>h5,.theme.no-navbar>h6{margin-top:1.5rem;padding-top:0}.theme.no-navbar aside{top:0}@media screen and (min-width: 720px){.theme.no-sidebar aside{display:none}.theme.no-sidebar main{margin-left:0}}.sidebar-mask{position:fixed;z-index:2;display:none;width:100vw;height:100vh}code{margin:0;border-radius:3px;padding:.25rem .5rem;font-family:var(--code-font-family);font-size:.85em;color:var(--c-text-light);background-color:var(--code-inline-bg-color)}code .token.deleted{color:#ec5975}code .token.inserted{color:var(--c-brand)}div[class*=language-]{position:relative;margin:1rem -1.5rem;background-color:var(--code-bg-color);overflow-x:auto}li>div[class*=language-]{border-radius:6px 0 0 6px;margin:1rem -1.5rem 1rem -1.25rem;line-height:initial}@media (min-width: 420px){div[class*=language-]{margin:1rem 0;border-radius:6px}li>div[class*=language-]{margin:1rem 0 1rem 0rem;border-radius:6px}}[class*=language-] pre,[class*=language-] code{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;background:transparent}[class*=language-] pre{position:relative;z-index:1;margin:0;padding:1.25rem 1.5rem;overflow-x:auto}[class*=language-] code{padding:0;line-height:var(--code-line-height);font-size:var(--code-font-size);color:#eee}.highlight-lines{position:absolute;top:0;bottom:0;left:0;padding:1.25rem 0;width:100%;line-height:var(--code-line-height);font-family:var(--code-font-family);font-size:var(--code-font-size);user-select:none;overflow:hidden}.highlight-lines .highlighted{background-color:#000000a8}div[class*=language-].line-numbers-mode{padding-left:3.5rem}.line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid rgba(0,0,0,.5);padding:1.25rem 0;width:3.5rem;text-align:center;line-height:var(--code-line-height);font-family:var(--code-font-family);font-size:var(--code-font-size);color:#888}div[class*=language-]:before{position:absolute;top:.6em;right:1em;z-index:2;font-size:.8rem;color:#888}div[class~=language-html]:before,div[class~=language-markup]:before{content:"html"}div[class~=language-md]:before,div[class~=language-markdown]:before{content:"md"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"styl"}div[class~=language-js]:before,div[class~=language-javascript]:before{content:"js"}div[class~=language-ts]:before,div[class~=language-typescript]:before{content:"ts"}div[class~=language-json]:before{content:"json"}div[class~=language-rb]:before,div[class~=language-ruby]:before{content:"rb"}div[class~=language-py]:before,div[class~=language-python]:before{content:"py"}div[class~=language-sh]:before,div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}div[class~=language-go]:before{content:"go"}div[class~=language-rust]:before{content:"rust"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-vue]:before{content:"vue"}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.custom-block.tip,.custom-block.info,.custom-block.warning,.custom-block.danger{margin:1rem 0;border-left:.5rem solid;padding:.1rem 1.5rem;overflow-x:auto}.custom-block.tip{background-color:#f3f5f7;border-color:var(--c-brand)}.custom-block.info{background-color:#f3f5f7;border-color:var(--c-text-light-2)}.custom-block.warning{border-color:#e7c000;color:#6b5900;background-color:#ffe5644d}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:var(--c-text)}.custom-block.danger{border-color:#c00;color:#4d0000;background-color:#ffe6e6}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:var(--c-text)}.custom-block.details{position:relative;display:block;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4{margin-top:0}.custom-block.details figure:last-child,.custom-block.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary{outline:none;cursor:pointer}.custom-block-title{margin-bottom:-.4rem;font-weight:600}.sidebar-links{margin:0;padding:0;list-style:none}.sidebar-link-item{display:block;margin:0;border-left:.25rem solid transparent;color:var(--c-text)}a.sidebar-link-item:hover{text-decoration:none;color:var(--c-brand)}a.sidebar-link-item.active{color:var(--c-brand)}.sidebar>.sidebar-links{padding:.75rem 0 5rem}@media (min-width: 720px){.sidebar>.sidebar-links{padding:1.5rem 0}}.sidebar>.sidebar-links>.sidebar-link+.sidebar-link{padding-top:.5rem}@media (min-width: 720px){.sidebar>.sidebar-links>.sidebar-link+.sidebar-link{padding-top:1.25rem}}.sidebar>.sidebar-links>.sidebar-link>.sidebar-link-item{padding:.35rem 1.5rem .35rem 1.25rem;font-size:1.1rem;font-weight:700}.sidebar>.sidebar-links>.sidebar-link>a.sidebar-link-item.active{border-left-color:var(--c-brand);font-weight:600}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-link-item{display:block;padding:.35rem 1.5rem .35rem 2rem;line-height:1.4;font-size:1rem;font-weight:400}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>a.sidebar-link-item.active{border-left-color:var(--c-brand);font-weight:600}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-link-item{display:block;padding:.3rem 1.5rem .3rem 3rem;line-height:1.4;font-size:.9rem;font-weight:400}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-link-item{display:block;padding:.3rem 1.5rem .3rem 4rem;line-height:1.4;font-size:.9rem;font-weight:400}.debug[data-v-765646fb]{box-sizing:border-box;position:fixed;right:8px;bottom:8px;z-index:9999;border-radius:4px;width:74px;height:32px;color:#eee;overflow:hidden;cursor:pointer;background-color:#000000d9;transition:all .15s ease}.debug[data-v-765646fb]:hover{background-color:#000000bf}.debug.open[data-v-765646fb]{right:0;bottom:0;width:100%;height:100%;margin-top:0;border-radius:0;padding:0;overflow:scroll}@media (min-width: 512px){.debug.open[data-v-765646fb]{width:512px}}.debug.open[data-v-765646fb]:hover{background-color:#000000d9}.title[data-v-765646fb]{margin:0;padding:6px 16px;line-height:20px;font-size:13px}.block[data-v-765646fb]{margin:2px 0 0;border-top:1px solid rgba(255,255,255,.16);padding:8px 16px;font-family:Hack,monospace;font-size:13px}.block+.block[data-v-765646fb]{margin-top:8px}.icon.outbound{position:relative;top:-1px;display:inline-block;vertical-align:middle;color:var(--c-text-lighter)}.item[data-v-49fe041d]{display:block;padding:0 1.5rem;line-height:36px;font-size:1rem;font-weight:600;color:var(--c-text);white-space:nowrap}.item[data-v-49fe041d]:hover,.item.active[data-v-49fe041d]{text-decoration:none;color:var(--c-brand)}.item.external[data-v-49fe041d]:hover{border-bottom-color:transparent;color:var(--c-text)}@media (min-width: 720px){.item[data-v-49fe041d]{border-bottom:2px solid transparent;padding:0;line-height:24px;font-size:.9rem;font-weight:500}.item[data-v-49fe041d]:hover,.item.active[data-v-49fe041d]{border-bottom-color:var(--c-brand);color:var(--c-text)}}.home-hero[data-v-5d8b683d]{margin:2.5rem 0 2.75rem;padding:0 1.5rem;text-align:center}@media (min-width: 420px){.home-hero[data-v-5d8b683d]{margin:3.5rem 0}}@media (min-width: 720px){.home-hero[data-v-5d8b683d]{margin:4rem 0 4.25rem}}.figure[data-v-5d8b683d]{padding:0 1.5rem}.image[data-v-5d8b683d]{display:block;margin:0 auto;width:auto;max-width:100%;max-height:280px}.title[data-v-5d8b683d]{margin-top:1.5rem;font-size:2rem}@media (min-width: 420px){.title[data-v-5d8b683d]{font-size:3rem}}@media (min-width: 720px){.title[data-v-5d8b683d]{margin-top:2rem}}.tagline[data-v-5d8b683d]{margin:0;margin-top:.25rem;line-height:1.3;font-size:1.2rem;color:var(--c-text-light)}@media (min-width: 420px){.tagline[data-v-5d8b683d]{line-height:1.2;font-size:1.6rem}}.action[data-v-5d8b683d]{margin-top:1.5rem;display:inline-block}.action.alt[data-v-5d8b683d]{margin-left:1.5rem}@media (min-width: 420px){.action[data-v-5d8b683d]{margin-top:2rem;display:inline-block}}.action[data-v-5d8b683d] .item{display:inline-block;border-radius:6px;padding:0 20px;line-height:44px;font-size:1rem;font-weight:500;color:var(--c-bg);background-color:var(--c-brand);border:2px solid var(--c-brand);transition:background-color .1s ease}.action.alt[data-v-5d8b683d] .item{background-color:var(--c-bg);color:var(--c-brand)}.action[data-v-5d8b683d] .item:hover{text-decoration:none;color:var(--c-bg);background-color:var(--c-brand-light)}@media (min-width: 420px){.action[data-v-5d8b683d] .item{padding:0 24px;line-height:52px;font-size:1.2rem;font-weight:500}}.home-features[data-v-245bde66]{margin:0 auto;padding:2.5rem 0 2.75rem;max-width:960px}.home-hero+.home-features[data-v-245bde66]{padding-top:0}@media (min-width: 420px){.home-features[data-v-245bde66]{padding:3.25rem 0 3.5rem}.home-hero+.home-features[data-v-245bde66]{padding-top:0}}@media (min-width: 720px){.home-features[data-v-245bde66]{padding-right:1.5rem;padding-left:1.5rem}}.wrapper[data-v-245bde66]{padding:0 1.5rem}.home-hero+.home-features .wrapper[data-v-245bde66]{border-top:1px solid var(--c-divider);padding-top:2.5rem}@media (min-width: 420px){.home-hero+.home-features .wrapper[data-v-245bde66]{padding-top:3.25rem}}@media (min-width: 720px){.wrapper[data-v-245bde66]{padding-right:0;padding-left:0}}.container[data-v-245bde66]{margin:0 auto;max-width:392px}@media (min-width: 720px){.container[data-v-245bde66]{max-width:960px}}.features[data-v-245bde66]{display:flex;flex-wrap:wrap;margin:-20px -24px}.feature[data-v-245bde66]{flex-shrink:0;padding:20px 24px;width:100%}@media (min-width: 720px){.feature[data-v-245bde66]{width:calc(100% / 3)}}.title[data-v-245bde66]{margin:0;border-bottom:0;line-height:1.4;font-size:1.25rem;font-weight:500}@media (min-width: 420px){.title[data-v-245bde66]{font-size:1.4rem}}.details[data-v-245bde66]{margin:0;line-height:1.6;font-size:1rem;color:var(--c-text-light)}.title+.details[data-v-245bde66]{padding-top:.25rem}.footer[data-v-bff49316]{margin:0 auto;max-width:960px}@media (min-width: 720px){.footer[data-v-bff49316]{padding:0 1.5rem}}.container[data-v-bff49316]{padding:2rem 1.5rem 2.25rem}.home-hero+.footer .container[data-v-bff49316],.home-features+.footer .container[data-v-bff49316],.home-content+.footer .container[data-v-bff49316]{border-top:1px solid var(--c-divider)}@media (min-width: 420px){.container[data-v-bff49316]{padding:3rem 1.5rem 3.25rem}}.text[data-v-bff49316]{margin:0;text-align:center;line-height:1.4;font-size:.9rem;color:var(--c-text-light)}.home[data-v-8382b818]{padding-top:var(--header-height)}.home-content[data-v-8382b818]{max-width:960px;margin:0 auto;padding:0 1.5rem}.nav-bar-title[data-v-016a8bd8]{font-size:1.3rem;font-weight:600;color:var(--c-text);display:flex;justify-content:center;align-items:center}.nav-bar-title[data-v-016a8bd8]:hover{text-decoration:none}.logo[data-v-016a8bd8]{margin-right:.75rem;height:1.3rem;vertical-align:bottom}.item[data-v-07381bdb]{display:block;padding:0 1.5rem 0 2.5rem;line-height:32px;font-size:.9rem;font-weight:500;color:var(--c-text);white-space:nowrap}@media (min-width: 720px){.item[data-v-07381bdb]{padding:0 24px 0 12px;line-height:32px;font-size:.85rem;font-weight:500;color:var(--c-text);white-space:nowrap}.item.active .arrow[data-v-07381bdb]{opacity:1}}.item[data-v-07381bdb]:hover,.item.active[data-v-07381bdb]{text-decoration:none;color:var(--c-brand)}.item.external[data-v-07381bdb]:hover{border-bottom-color:transparent;color:var(--c-text)}@media (min-width: 720px){.arrow[data-v-07381bdb]{display:inline-block;margin-right:8px;border-top:6px solid #ccc;border-right:4px solid transparent;border-bottom:0;border-left:4px solid transparent;vertical-align:middle;opacity:0;transform:translateY(-2px) rotate(-90deg)}}.nav-dropdown-link[data-v-18d75f62]{position:relative;height:36px;overflow:hidden;cursor:pointer}@media (min-width: 720px){.nav-dropdown-link[data-v-18d75f62]{height:auto;overflow:visible}.nav-dropdown-link:hover .dialog[data-v-18d75f62]{display:block}}.nav-dropdown-link.open[data-v-18d75f62]{height:auto}.button[data-v-18d75f62]{display:block;border:0;padding:0 1.5rem;width:100%;text-align:left;line-height:36px;font-family:var(--font-family-base);font-size:1rem;font-weight:600;color:var(--c-text);white-space:nowrap;background-color:transparent;cursor:pointer}.button[data-v-18d75f62]:focus{outline:0}@media (min-width: 720px){.button[data-v-18d75f62]{border-bottom:2px solid transparent;padding:0;line-height:24px;font-size:.9rem;font-weight:500}}.button-arrow[data-v-18d75f62]{display:inline-block;margin-top:-1px;margin-left:8px;border-top:6px solid #ccc;border-right:4px solid transparent;border-bottom:0;border-left:4px solid transparent;vertical-align:middle}.button-arrow.right[data-v-18d75f62]{transform:rotate(-90deg)}@media (min-width: 720px){.button-arrow.right[data-v-18d75f62]{transform:rotate(0)}}.dialog[data-v-18d75f62]{margin:0;padding:0;list-style:none}@media (min-width: 720px){.dialog[data-v-18d75f62]{display:none;position:absolute;top:26px;right:-8px;border-radius:6px;padding:12px 0;min-width:128px;background-color:var(--c-bg);box-shadow:var(--shadow-3)}}.nav-links[data-v-35b91e7e]{padding:.75rem 0;border-bottom:1px solid var(--c-divider)}@media (min-width: 720px){.nav-links[data-v-35b91e7e]{display:flex;padding:6px 0 0;align-items:center;border-bottom:0}.item+.item[data-v-35b91e7e]{padding-left:24px}}.sidebar-button{position:absolute;top:.6rem;left:1rem;display:none;padding:.6rem;cursor:pointer}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media screen and (max-width: 719px){.sidebar-button{display:block}}.nav-bar[data-v-40587210]{position:fixed;top:0;right:0;left:0;z-index:var(--z-index-navbar);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c-divider);padding:.7rem 1.5rem .7rem 4rem;height:var(--header-height);background-color:var(--c-bg)}@media (min-width: 720px){.nav-bar[data-v-40587210]{padding:.7rem 1.5rem}}.flex-grow[data-v-40587210]{flex-grow:1}.nav[data-v-40587210]{display:none}@media (min-width: 720px){.nav[data-v-40587210]{display:block}}.sidebar[data-v-17c48e2f]{position:fixed;top:var(--header-height);bottom:0;left:0;z-index:var(--z-index-sidebar);border-right:1px solid var(--c-divider);width:16.4rem;background-color:var(--c-bg);overflow-y:auto;transform:translate(-100%);transition:transform .25s ease}@media (min-width: 720px){.sidebar[data-v-17c48e2f]{transform:translate(0)}}@media (min-width: 960px){.sidebar[data-v-17c48e2f]{width:20rem}}.sidebar.open[data-v-17c48e2f]{transform:translate(0)}.nav[data-v-17c48e2f]{display:block}@media (min-width: 720px){.nav[data-v-17c48e2f]{display:none}}.link[data-v-55695e90]{display:inline-block;font-size:1rem;font-weight:500;color:var(--c-text-light)}.link[data-v-55695e90]:hover{text-decoration:none;color:var(--c-brand)}.icon[data-v-55695e90]{margin-left:4px}.last-updated[data-v-7e06cdca]{display:inline-block;margin:0;line-height:1.4;font-size:.9rem;color:var(--c-text-light)}@media (min-width: 960px){.last-updated[data-v-7e06cdca]{font-size:1rem}}.prefix[data-v-7e06cdca]{display:inline-block;font-weight:500}.datetime[data-v-7e06cdca]{display:inline-block;margin-left:6px;font-weight:400}.page-footer[data-v-b65b4b36]{padding-top:1rem;padding-bottom:1rem;overflow:auto}@media (min-width: 960px){.page-footer[data-v-b65b4b36]{display:flex;justify-content:space-between;align-items:center}}.updated[data-v-b65b4b36]{padding-top:4px}@media (min-width: 960px){.updated[data-v-b65b4b36]{padding-top:0}}.next-and-prev-link[data-v-e65a9748]{padding-top:1rem}.container[data-v-e65a9748]{display:flex;justify-content:space-between;border-top:1px solid var(--c-divider);padding-top:1rem}.prev[data-v-e65a9748],.next[data-v-e65a9748]{display:flex;flex-shrink:0;width:50%}.prev[data-v-e65a9748]{justify-content:flex-start;padding-right:12px}.next[data-v-e65a9748]{justify-content:flex-end;padding-left:12px}.link[data-v-e65a9748]{display:inline-flex;align-items:center;max-width:100%;font-size:1rem;font-weight:500}.text[data-v-e65a9748]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon[data-v-e65a9748]{display:block;flex-shrink:0;width:16px;height:16px;fill:var(--c-text);transform:translateY(1px)}.icon-prev[data-v-e65a9748]{margin-right:8px}.icon-next[data-v-e65a9748]{margin-left:8px}.page[data-v-8fcebc32]{padding-top:var(--header-height)}@media (min-width: 720px){.page[data-v-8fcebc32]{margin-left:16.4rem}}@media (min-width: 960px){.page[data-v-8fcebc32]{margin-left:20rem}}.container[data-v-8fcebc32]{margin:0 auto;padding:0 1.5rem 4rem;max-width:48rem}.content[data-v-8fcebc32]{padding-bottom:1.5rem}@media (max-width: 420px){.content[data-v-8fcebc32]{clear:both}}#ads-container{margin:0 auto}@media (min-width: 420px){#ads-container{position:relative;right:0;float:right;margin:-8px -8px 24px 24px;width:146px}}@media (max-width: 420px){#ads-container{height:105px;margin:1.75rem 0}}@media (min-width: 1400px){#ads-container{position:fixed;right:8px;bottom:8px}} diff --git a/examples.html b/examples.html new file mode 100644 index 00000000..eb9935ca --- /dev/null +++ b/examples.html @@ -0,0 +1,21 @@ + + + + + + Examples | Vue next select + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 00000000..01a800b7 --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"api-reference.md":"ab1281bd","examples.md":"cee7303d","index.md":"0cd4f327"} diff --git a/index.html b/index.html new file mode 100644 index 00000000..2e251667 --- /dev/null +++ b/index.html @@ -0,0 +1,50 @@ + + + + + + Vue-next-select | Vue next select + + + + + + + + + +

Vue-next-select

The selecting solution for Vue 3

       

Features

  • Single select
  • Multiple select
  • Tagging
  • Group
  • Filtering / Remote Searching
  • Asynchronous support
  • No dependencies
  • Aims to follow WAI-ARIA for the combobox and listbox widget

Installation

NPM / Yarn

npm install vue-next-select
+
+# or, using yarn
+yarn add vue-next-select
+

CDN

<!-- import style -->
+<link type="text/css" rel="stylesheet" href="https://unpkg.com/vue-next-select/dist/index.min.css" />
+
+<!-- import script -->
+<script src="https://unpkg.com/vue-next-select/dist/vue-next-select.iife.prod.js"></script>
+

You can access select component via the global variable VueNextSelect

Component Registration

Global Registration:

import { createApp } from 'vue'
+import VueNextSelect from 'vue-next-select'
+
+const app = createApp({})
+app.component('vue-select', VueNextSelect)
+

Local Registration:

import { createApp } from 'vue'
+import VueNextSelect from 'vue-next-select'
+
+const app = Vue.createApp({
+  components: {
+    'vue-select': VueNextSelect,
+  },
+})
+

Getting Started

Options

In HTML, each menu option is defined by an option element nested inside the select element:

<select>
+  <option>Red</option>
+  <option>Green</option>
+</select>
+

In vue-next-select, you need to pass an array of primitive values through an options prop:

<vue-select :options="['Red', 'Green']"> </vue-select>
+

The options prop also accepts an array of objects. In this case, you need to pass an additional prop: label-by to display the options:

<vue-select :options="[{ color: 'Red' }, { color: 'Green' }]" label-by="color"> </vue-select>
+

vue-next-select requires the options prop to be an array, if there are no options, you must pass an empty array:

<vue-select :options="[]"> </vue-select>
+

See more details about options and label-by in API reference.

+ + + + + \ No newline at end of file