P?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
+
+
+yarn add vue-next-select
+
CDN
+< link type = " text/css" rel = " stylesheet" href = " https://unpkg.com/vue-next-select/dist/index.min.css" />
+
+
+< 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 value s through an options
prop:
< vue-select :options = " ['Red', 'Green']" > </ vue-select>
+
The options
prop also accepts an array
of object s. 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
+
+
+yarn add vue-next-select
+
CDN
+< link type = " text/css" rel = " stylesheet" href = " https://unpkg.com/vue-next-select/dist/index.min.css" />
+
+
+< 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 value s through an options
prop:
< vue-select :options = " ['Red', 'Green']" > </ vue-select>
+
The options
prop also accepts an array
of object s. 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