diff --git a/assets/AppHeader-e7fd0bdd.js b/assets/AppHeader-bdf22c34.js similarity index 98% rename from assets/AppHeader-e7fd0bdd.js rename to assets/AppHeader-bdf22c34.js index 8ea81335898..d7c6b932753 100644 --- a/assets/AppHeader-e7fd0bdd.js +++ b/assets/AppHeader-bdf22c34.js @@ -1 +1 @@ -import{d as G,r as o,g as l,c as t,k as J,S as U,D as O,E as z,I as X,H as B,a as R,_ as Z,b as I,L as x,e as r,m as d,p as m,R as y,t as v,q as g,w as f,P as c,y as C,N,O as S,f as A,x as H,Q as D,Y as W,T as j}from"./index-af5fec45.js";const ee=G({name:"AppHeader",props:{language:{type:String}},setup(){const e=o(l(t,"title")),s=o(l(t,"logo")),k=o(l(t,"pc.header.i18n")),V=o(l(t,"pc.header.version.current")),w=o(l(t,"pc.header.version.items")),$=o(l(t,"pc.header.playground")),u=o(l(t,"pc.header.github")),_=l(t,"pc.redirect"),p=o(l(t,"pc.header.darkMode")),n=o(J()),i=o(!1),T=o(!1),E=U(),P=O(()=>z(k.value)),q=O(()=>z(w.value)),F=()=>{const{language:a}=R();E.replace(`/${a}${_}`)},K=a=>{const{menuName:h}=R();E.replace(`/${a}/${h}`),i.value=!1},b=a=>{n.value=a,B(t,n.value),window.localStorage.setItem(l(t,"themeKey"),n.value)},L=()=>({action:"theme-change",from:"pc",data:n.value}),Q=()=>{b(n.value==="darkTheme"?"lightTheme":"darkTheme"),window.postMessage(L(),"*"),M("mobile")},M=a=>{(a==="window"?window:document.getElementById(a).contentWindow).postMessage(L(),"*")},Y=a=>{setTimeout(()=>{window.location.href=a},350)};return X((a,h)=>{h==="mobile"&&b(a),h==="playground"&&(b(a),M("mobile"))}),B(t,n.value),M("window"),{logo:s,config:t,title:e,currentVersion:V,languages:k,versionItems:w,nonEmptyLanguages:P,nonEmptyVersions:q,playground:$,github:u,isOpenLanguageMenu:i,isOpenVersionsMenu:T,darkMode:p,currentTheme:n,open:Y,backRoot:F,handleLanguageChange:K,toggleTheme:Q}}});const ne={class:"varlet-site-header"},se={class:"varlet-site-header__lead"},ae=["src"],te={class:"varlet-site-header__tail"},oe={style:{"font-size":"14px"}},re=["href"],ie=["href"];function le(e,s,k,V,w,$){const u=I("var-icon"),_=I("var-cell"),p=x("ripple");return r(),d("div",ne,[m("div",se,[m("img",{class:"varlet-site-header__logo",src:e.config.logo,onClick:s[0]||(s[0]=(...n)=>e.backRoot&&e.backRoot(...n))},null,8,ae),e.title?(r(),d("div",{key:0,class:"varlet-site-header__title",onClick:s[1]||(s[1]=(...n)=>e.backRoot&&e.backRoot(...n))},y(e.title),1)):v("",!0)]),m("div",te,[e.nonEmptyVersions&&Object.keys(e.nonEmptyVersions).length?(r(),d("div",{key:0,class:"varlet-site-header__versions",onMouseenter:s[2]||(s[2]=n=>e.isOpenVersionsMenu=!0),onMouseleave:s[3]||(s[3]=n=>e.isOpenVersionsMenu=!1)},[m("span",oe,y(e.currentVersion),1),g(u,{name:"chevron-down"}),g(j,{name:"fade"},{default:f(()=>[c(m("div",{class:"varlet-site-header__animation-list varlet-site-header__animation-versions var-elevation--5",style:C({pointerEvents:e.isOpenVersionsMenu?"auto":"none"})},[(r(!0),d(N,null,S(e.nonEmptyVersions,(n,i)=>c((r(),A(_,{key:i,class:H({"varlet-site-header__animation-list--active":e.currentVersion===i}),onClick:T=>e.open(n)},{default:f(()=>[D(y(i),1)]),_:2},1032,["class","onClick"])),[[p]])),128))],4),[[W,e.isOpenVersionsMenu]])]),_:1})],32)):v("",!0),e.playground?c((r(),d("a",{key:1,class:"varlet-site-header__link",target:"_blank",href:e.playground},[g(u,{name:"code-json",size:24})],8,re)),[[p]]):v("",!0),e.github?c((r(),d("a",{key:2,class:"varlet-site-header__link",target:"_blank",href:e.github},[g(u,{name:"github",size:28})],8,ie)),[[p]]):v("",!0),e.darkMode?c((r(),d("div",{key:3,class:"varlet-site-header__theme",onClick:s[4]||(s[4]=(...n)=>e.toggleTheme&&e.toggleTheme(...n))},[g(u,{size:"26px",name:e.currentTheme==="lightTheme"?"white-balance-sunny":"weather-night",style:C({marginBottom:e.currentTheme==="darkTheme"&&"2px",marginTop:e.currentTheme==="lightTheme"&&"2px"})},null,8,["name","style"])])),[[p]]):v("",!0),e.languages?(r(),d("div",{key:4,class:"varlet-site-header__language",onMouseenter:s[5]||(s[5]=n=>e.isOpenLanguageMenu=!0),onMouseleave:s[6]||(s[6]=n=>e.isOpenLanguageMenu=!1)},[g(u,{name:"translate",size:26}),g(u,{name:"chevron-down"}),g(j,{name:"fade"},{default:f(()=>[c(m("div",{class:"varlet-site-header__animation-list var-elevation--5",style:C({pointerEvents:e.isOpenLanguageMenu?"auto":"none"})},[(r(!0),d(N,null,S(e.nonEmptyLanguages,(n,i)=>c((r(),A(_,{key:i,class:H({"varlet-site-header__animation-list--active":e.language===i}),onClick:T=>e.handleLanguageChange(i)},{default:f(()=>[D(y(n),1)]),_:2},1032,["class","onClick"])),[[p]])),128))],4),[[W,e.isOpenLanguageMenu]])]),_:1})],32)):v("",!0)])])}const ue=Z(ee,[["render",le],["__scopeId","data-v-4e1789bd"]]);export{ue as A}; +import{d as G,r as o,g as l,c as t,k as J,S as U,D as O,E as z,I as X,H as B,a as R,_ as Z,b as I,L as x,e as r,m as d,p as m,R as y,t as v,q as g,w as f,P as c,y as C,N,O as S,f as A,x as H,Q as D,Y as W,T as j}from"./index-0bd4ebfc.js";const ee=G({name:"AppHeader",props:{language:{type:String}},setup(){const e=o(l(t,"title")),s=o(l(t,"logo")),k=o(l(t,"pc.header.i18n")),V=o(l(t,"pc.header.version.current")),w=o(l(t,"pc.header.version.items")),$=o(l(t,"pc.header.playground")),u=o(l(t,"pc.header.github")),_=l(t,"pc.redirect"),p=o(l(t,"pc.header.darkMode")),n=o(J()),i=o(!1),T=o(!1),E=U(),P=O(()=>z(k.value)),q=O(()=>z(w.value)),F=()=>{const{language:a}=R();E.replace(`/${a}${_}`)},K=a=>{const{menuName:h}=R();E.replace(`/${a}/${h}`),i.value=!1},b=a=>{n.value=a,B(t,n.value),window.localStorage.setItem(l(t,"themeKey"),n.value)},L=()=>({action:"theme-change",from:"pc",data:n.value}),Q=()=>{b(n.value==="darkTheme"?"lightTheme":"darkTheme"),window.postMessage(L(),"*"),M("mobile")},M=a=>{(a==="window"?window:document.getElementById(a).contentWindow).postMessage(L(),"*")},Y=a=>{setTimeout(()=>{window.location.href=a},350)};return X((a,h)=>{h==="mobile"&&b(a),h==="playground"&&(b(a),M("mobile"))}),B(t,n.value),M("window"),{logo:s,config:t,title:e,currentVersion:V,languages:k,versionItems:w,nonEmptyLanguages:P,nonEmptyVersions:q,playground:$,github:u,isOpenLanguageMenu:i,isOpenVersionsMenu:T,darkMode:p,currentTheme:n,open:Y,backRoot:F,handleLanguageChange:K,toggleTheme:Q}}});const ne={class:"varlet-site-header"},se={class:"varlet-site-header__lead"},ae=["src"],te={class:"varlet-site-header__tail"},oe={style:{"font-size":"14px"}},re=["href"],ie=["href"];function le(e,s,k,V,w,$){const u=I("var-icon"),_=I("var-cell"),p=x("ripple");return r(),d("div",ne,[m("div",se,[m("img",{class:"varlet-site-header__logo",src:e.config.logo,onClick:s[0]||(s[0]=(...n)=>e.backRoot&&e.backRoot(...n))},null,8,ae),e.title?(r(),d("div",{key:0,class:"varlet-site-header__title",onClick:s[1]||(s[1]=(...n)=>e.backRoot&&e.backRoot(...n))},y(e.title),1)):v("",!0)]),m("div",te,[e.nonEmptyVersions&&Object.keys(e.nonEmptyVersions).length?(r(),d("div",{key:0,class:"varlet-site-header__versions",onMouseenter:s[2]||(s[2]=n=>e.isOpenVersionsMenu=!0),onMouseleave:s[3]||(s[3]=n=>e.isOpenVersionsMenu=!1)},[m("span",oe,y(e.currentVersion),1),g(u,{name:"chevron-down"}),g(j,{name:"fade"},{default:f(()=>[c(m("div",{class:"varlet-site-header__animation-list varlet-site-header__animation-versions var-elevation--5",style:C({pointerEvents:e.isOpenVersionsMenu?"auto":"none"})},[(r(!0),d(N,null,S(e.nonEmptyVersions,(n,i)=>c((r(),A(_,{key:i,class:H({"varlet-site-header__animation-list--active":e.currentVersion===i}),onClick:T=>e.open(n)},{default:f(()=>[D(y(i),1)]),_:2},1032,["class","onClick"])),[[p]])),128))],4),[[W,e.isOpenVersionsMenu]])]),_:1})],32)):v("",!0),e.playground?c((r(),d("a",{key:1,class:"varlet-site-header__link",target:"_blank",href:e.playground},[g(u,{name:"code-json",size:24})],8,re)),[[p]]):v("",!0),e.github?c((r(),d("a",{key:2,class:"varlet-site-header__link",target:"_blank",href:e.github},[g(u,{name:"github",size:28})],8,ie)),[[p]]):v("",!0),e.darkMode?c((r(),d("div",{key:3,class:"varlet-site-header__theme",onClick:s[4]||(s[4]=(...n)=>e.toggleTheme&&e.toggleTheme(...n))},[g(u,{size:"26px",name:e.currentTheme==="lightTheme"?"white-balance-sunny":"weather-night",style:C({marginBottom:e.currentTheme==="darkTheme"&&"2px",marginTop:e.currentTheme==="lightTheme"&&"2px"})},null,8,["name","style"])])),[[p]]):v("",!0),e.languages?(r(),d("div",{key:4,class:"varlet-site-header__language",onMouseenter:s[5]||(s[5]=n=>e.isOpenLanguageMenu=!0),onMouseleave:s[6]||(s[6]=n=>e.isOpenLanguageMenu=!1)},[g(u,{name:"translate",size:26}),g(u,{name:"chevron-down"}),g(j,{name:"fade"},{default:f(()=>[c(m("div",{class:"varlet-site-header__animation-list var-elevation--5",style:C({pointerEvents:e.isOpenLanguageMenu?"auto":"none"})},[(r(!0),d(N,null,S(e.nonEmptyLanguages,(n,i)=>c((r(),A(_,{key:i,class:H({"varlet-site-header__animation-list--active":e.language===i}),onClick:T=>e.handleLanguageChange(i)},{default:f(()=>[D(y(n),1)]),_:2},1032,["class","onClick"])),[[p]])),128))],4),[[W,e.isOpenLanguageMenu]])]),_:1})],32)):v("",!0)])])}const ue=Z(ee,[["render",le],["__scopeId","data-v-4e1789bd"]]);export{ue as A}; diff --git a/assets/AppHome-3fc853b3.js b/assets/AppHome-0fe82e26.js similarity index 95% rename from assets/AppHome-3fc853b3.js rename to assets/AppHome-0fe82e26.js index 38564c9df9a..a2b44ae2e5c 100644 --- a/assets/AppHome-3fc853b3.js +++ b/assets/AppHome-0fe82e26.js @@ -1 +1 @@ -import{r as t,c as l,W as N,S as b,F as A,ar as B,i as D,J as H,_ as L,b as P,L as q,e as r,m as i,p as s,R as _,N as k,O as z,P as F,q as R}from"./index-af5fec45.js";const S={name:"AppHome",setup(){var h,g,f,C,x,y;const p=t(((h=l)==null?void 0:h.title)??""),m=t(((g=l)==null?void 0:g.logo)??""),v=t(((C=(f=l)==null?void 0:f.mobile)==null?void 0:C.title)??{}),d=t(((y=(x=l)==null?void 0:x.pc)==null?void 0:y.menu)??[]).value.filter(e=>e.type===2),u=N(d),n=t("zh-CN"),c=t("mobile"),a=b();return A(e=>{n.value=e}),B(e=>{c.value=e}),{components:u,lang:n,toComponent:e=>{a.push({path:`/${e.doc}`,query:{language:n.value,platform:c.value,replace:e.doc}}),!D()&&H()&&window.top.scrollToMenu(e.doc)},logo:m,title:p,description:v}}};const V={class:"varlet-logo"},E={class:"varlet-home__title"},I=["src"],J={class:"varlet-home__desc"},M=["onClick"];function O(p,m,v,o,d,u){const n=P("var-icon"),c=q("ripple");return r(),i(k,null,[s("div",V,[s("h1",E,[s("img",{class:"varlet-home__image",src:o.logo},null,8,I),s("span",null,_(o.title),1)]),s("h2",J,_(o.description[o.lang]),1)]),(r(!0),i(k,null,z(o.components,a=>F((r(),i("div",{class:"varlet-home__cell",key:a.text,onClick:w=>o.toComponent(a)},[s("span",null,_(a.text[o.lang]),1),R(n,{name:"chevron-right",size:"14"})],8,M)),[[c]])),128))],64)}const W=L(S,[["render",O]]);export{W as default}; +import{r as t,c as l,W as N,S as b,F as A,ar as B,i as D,J as H,_ as L,b as P,L as q,e as r,m as i,p as s,R as _,N as k,O as z,P as F,q as R}from"./index-0bd4ebfc.js";const S={name:"AppHome",setup(){var h,g,f,C,x,y;const p=t(((h=l)==null?void 0:h.title)??""),m=t(((g=l)==null?void 0:g.logo)??""),v=t(((C=(f=l)==null?void 0:f.mobile)==null?void 0:C.title)??{}),d=t(((y=(x=l)==null?void 0:x.pc)==null?void 0:y.menu)??[]).value.filter(e=>e.type===2),u=N(d),n=t("zh-CN"),c=t("mobile"),a=b();return A(e=>{n.value=e}),B(e=>{c.value=e}),{components:u,lang:n,toComponent:e=>{a.push({path:`/${e.doc}`,query:{language:n.value,platform:c.value,replace:e.doc}}),!D()&&H()&&window.top.scrollToMenu(e.doc)},logo:m,title:p,description:v}}};const V={class:"varlet-logo"},E={class:"varlet-home__title"},I=["src"],J={class:"varlet-home__desc"},M=["onClick"];function O(p,m,v,o,d,u){const n=P("var-icon"),c=q("ripple");return r(),i(k,null,[s("div",V,[s("h1",E,[s("img",{class:"varlet-home__image",src:o.logo},null,8,I),s("span",null,_(o.title),1)]),s("h2",J,_(o.description[o.lang]),1)]),(r(!0),i(k,null,z(o.components,a=>F((r(),i("div",{class:"varlet-home__cell",key:a.text,onClick:w=>o.toComponent(a)},[s("span",null,_(a.text[o.lang]),1),R(n,{name:"chevron-right",size:"14"})],8,M)),[[c]])),128))],64)}const W=L(S,[["render",O]]);export{W as default}; diff --git a/assets/IconResourcesDownload-ed11000d.js b/assets/IconResourcesDownload-eba5b540.js similarity index 79% rename from assets/IconResourcesDownload-ed11000d.js rename to assets/IconResourcesDownload-eba5b540.js index 605e29be3ec..083b4818d07 100644 --- a/assets/IconResourcesDownload-ed11000d.js +++ b/assets/IconResourcesDownload-eba5b540.js @@ -1 +1 @@ -import{B as a}from"./index-84d96475.js";import{I as n}from"./index-057aa4ba.js";import{d as t}from"./index-d8fbf18c.js";import{F as r,al as c,e as d,f as p,w as u,Q as l,R as i,U as o,q as m}from"./index-af5fec45.js";import{u as x,a as R,b as w,_ as g,c as y}from"./index-2b61c8d0.js";const D={downloadResources:"下载资源"},N={downloadResources:"Download Resources"},{add:_,use:I,pack:h,packs:j,merge:L}=x(),f=e=>{R(e),I(e)};w("zh-CN",g);w("en-US",y);_("zh-CN",D);_("en-US",N);const U={__name:"ComponentResourcesDownload",setup(e){r(f,"pc"),c(t);function s(){window.location.href="https://raw.githubusercontent.com/varletjs/varlet-design-resources/main/components.sketch"}return(C,k)=>(d(),p(o(a),{type:"primary",onClick:s},{default:u(()=>[l(i(o(h).downloadResources)+" ",1),m(o(n),{name:"download",style:{margin:"2px 0 0 6px"}})]),_:1}))}},V=U,v={__name:"IconResourcesDownload",setup(e){r(f,"pc"),c(t);function s(){window.location.href="https://raw.githubusercontent.com/varletjs/varlet-design-resources/main/icons.sketch"}return(C,k)=>(d(),p(o(a),{type:"primary",onClick:s},{default:u(()=>[l(i(o(h).downloadResources)+" ",1),m(o(n),{name:"download",style:{margin:"2px 0 0 6px"}})]),_:1}))}},q=v;export{V as C,q as I}; +import{B as a}from"./index-1f1d0c91.js";import{I as n}from"./index-2c5b74fa.js";import{d as t}from"./index-d8fbf18c.js";import{F as r,al as c,e as d,f as p,w as u,Q as l,R as i,U as o,q as m}from"./index-0bd4ebfc.js";import{u as x,a as R,b as w,_ as g,c as y}from"./index-4a9c2ae2.js";const D={downloadResources:"下载资源"},N={downloadResources:"Download Resources"},{add:_,use:I,pack:h,packs:j,merge:L}=x(),f=e=>{R(e),I(e)};w("zh-CN",g);w("en-US",y);_("zh-CN",D);_("en-US",N);const U={__name:"ComponentResourcesDownload",setup(e){r(f,"pc"),c(t);function s(){window.location.href="https://raw.githubusercontent.com/varletjs/varlet-design-resources/main/components.sketch"}return(C,k)=>(d(),p(o(a),{type:"primary",onClick:s},{default:u(()=>[l(i(o(h).downloadResources)+" ",1),m(o(n),{name:"download",style:{margin:"2px 0 0 6px"}})]),_:1}))}},V=U,v={__name:"IconResourcesDownload",setup(e){r(f,"pc"),c(t);function s(){window.location.href="https://raw.githubusercontent.com/varletjs/varlet-design-resources/main/icons.sketch"}return(C,k)=>(d(),p(o(a),{type:"primary",onClick:s},{default:u(()=>[l(i(o(h).downloadResources)+" ",1),m(o(n),{name:"download",style:{margin:"2px 0 0 6px"}})]),_:1}))}},q=v;export{V as C,q as I}; diff --git a/assets/Layout-c32f23c7.js b/assets/Layout-38123783.js similarity index 96% rename from assets/Layout-c32f23c7.js rename to assets/Layout-38123783.js index e44c858645f..de240fc82fe 100644 --- a/assets/Layout-c32f23c7.js +++ b/assets/Layout-38123783.js @@ -1,2 +1,2 @@ -import{_ as O,e as l,m as i,p as _,d as E,W as D,X as T,b as k,L as V,N as x,O as U,M as q,P as M,f as G,w as A,R as $,x as I,r as u,g,c as h,C as H,o as Y,G as z,q as y,Y as F,U as C,t as W,l as X,a as S,n as j}from"./index-af5fec45.js";import{A as J}from"./AppHeader-e7fd0bdd.js";const K={name:"AppMobile",props:{componentName:{type:String},language:{type:String},replace:{type:String},hash:{type:String}}};const Q={class:"varlet-site-mobile varlet-site-mobile--375"},Z={class:"varlet-site-mobile-content"},ee=["src"];function ae(b,r,s,o,f,a){return l(),i("div",Q,[_("div",Z,[_("iframe",{id:"mobile",src:`./mobile.html#/${s.componentName}?language=${s.language}&platform=pc&replace=${s.replace}${s.hash?`#${s.hash}`:""}`},null,8,ee)])])}const te=O(K,[["render",ae]]),ne={class:"varlet-site-sidebar var-elevation--3"},se=["href"],oe=_("span",{class:"varlet-site-sidebar__indicator"},null,-1),le={key:0,class:"varlet-site-sidebar__item--title"},ce={key:1},ie=E({__name:"AppSidebar",props:{menu:{},menuName:{},language:{}},emits:["change"],setup(b,{emit:r}){const s=b,o=D(T),f=a=>{a.type===T.TITLE||s.menuName===a.doc||r("change",a)};return(a,d)=>{const p=k("var-cell"),m=V("ripple");return l(),i("div",ne,[(l(!0),i(x,null,U(a.menu,(t,w)=>(l(),i("a",{class:"varlet-site-sidebar__link",key:w,href:`#/${a.language}/${t.doc}`,onClick:d[0]||(d[0]=q(()=>{},["prevent"]))},[M((l(),G(p,{class:I(["varlet-site-sidebar__item",{"varlet-site-sidebar__item--active":t.doc===a.menuName,"varlet-site-sidebar__cell":t.type!==o.TITLE,"varlet-site-sidebar__title":t.type===o.TITLE}]),id:t.doc,onClick:N=>f(t)},{default:A(()=>[oe,t.type===o.TITLE?(l(),i("span",le,$(t.text[a.language]),1)):(l(),i("span",ce,$(t.text[a.language]),1))]),_:2},1032,["id","class","onClick"])),[[m,{disabled:t.type===o.TITLE}]])],8,se))),128))])}}});const re={class:"varlet-site"},ue={class:"varlet-site-content"},_e={class:"varlet-site-playground-container"},de=["src"],me=E({__name:"Layout",setup(b){const r=X,s=u(g(h,"pc.menu",[])),o=u(g(h,"useMobile")),f=g(h,"mobile.redirect"),a=u(""),d=u(),p=u(""),m=u(""),t=u(null),w=H(),N=e=>{const n=s.value.find(c=>c.doc===e);return(n==null?void 0:n.type)===T.COMPONENT?e:f.slice(1)},B=()=>{const{menuName:e}=S();j(()=>{const n=document.querySelector(".varlet-site-sidebar").getElementsByClassName("var-cell"),c=s.value.findIndex(v=>v.doc===e);c!==-1&&n[c].scrollIntoView({block:"center",inline:"start"})})},P=e=>{t.value.scrollTop=0,d.value=N(e.doc),p.value=e.doc,m.value=""},L=()=>{const e="VARLET_UI_PLAYGROUND_HAS_BEEN_CLOSED";!localStorage.getItem(e)&&!window.confirm("The code will no longer be saved after closing. Are you sure you want to close?")||(localStorage.setItem(e,"true"),r.showPlayground=!1)};return Y(()=>{B(),window.addEventListener("message",e=>{const{data:n}=e;n.action==="playground-close"&&L()})}),z(()=>w.path,()=>{var v;const{language:e,menuName:n,hash:c}=S();!e||!n||(d.value=N(n),p.value=n,m.value=c,a.value=e,o.value=((v=s.value.find(R=>R.doc===n))==null?void 0:v.useMobile)??g(h,"useMobile"),document.title=g(h,"pc.title")[e])},{immediate:!0}),(e,n)=>{const c=k("router-view"),v=k("var-popup");return l(),i(x,null,[_("div",re,[y(J,{language:a.value},null,8,["language"]),_("div",ue,[y(ie,{language:a.value,menu:s.value,"menu-name":p.value,onChange:P},null,8,["language","menu","menu-name"]),_("div",{class:I(["varlet-site-doc-container",[!o.value&&"varlet-site-doc-container--pc-only"]]),ref_key:"doc",ref:t},[y(c)],2),M(y(te,{"component-name":d.value,language:a.value,replace:p.value,hash:m.value},null,8,["component-name","language","replace","hash"]),[[F,o.value]])])]),y(v,{position:"right",show:C(r).showPlayground,onClickOverlay:L},{default:A(()=>[_("div",_e,[C(r).showPlayground?(l(),i("iframe",{key:0,id:"playground",class:"varlet-site-playground-iframe",src:C(r).playgroundURL,allow:"clipboard-write"},` +import{_ as O,e as l,m as i,p as _,d as E,W as D,X as T,b as k,L as V,N as x,O as U,M as q,P as M,f as G,w as A,R as $,x as I,r as u,g,c as h,C as H,o as Y,G as z,q as y,Y as F,U as C,t as W,l as X,a as S,n as j}from"./index-0bd4ebfc.js";import{A as J}from"./AppHeader-bdf22c34.js";const K={name:"AppMobile",props:{componentName:{type:String},language:{type:String},replace:{type:String},hash:{type:String}}};const Q={class:"varlet-site-mobile varlet-site-mobile--375"},Z={class:"varlet-site-mobile-content"},ee=["src"];function ae(b,r,s,o,f,a){return l(),i("div",Q,[_("div",Z,[_("iframe",{id:"mobile",src:`./mobile.html#/${s.componentName}?language=${s.language}&platform=pc&replace=${s.replace}${s.hash?`#${s.hash}`:""}`},null,8,ee)])])}const te=O(K,[["render",ae]]),ne={class:"varlet-site-sidebar var-elevation--3"},se=["href"],oe=_("span",{class:"varlet-site-sidebar__indicator"},null,-1),le={key:0,class:"varlet-site-sidebar__item--title"},ce={key:1},ie=E({__name:"AppSidebar",props:{menu:{},menuName:{},language:{}},emits:["change"],setup(b,{emit:r}){const s=b,o=D(T),f=a=>{a.type===T.TITLE||s.menuName===a.doc||r("change",a)};return(a,d)=>{const p=k("var-cell"),m=V("ripple");return l(),i("div",ne,[(l(!0),i(x,null,U(a.menu,(t,w)=>(l(),i("a",{class:"varlet-site-sidebar__link",key:w,href:`#/${a.language}/${t.doc}`,onClick:d[0]||(d[0]=q(()=>{},["prevent"]))},[M((l(),G(p,{class:I(["varlet-site-sidebar__item",{"varlet-site-sidebar__item--active":t.doc===a.menuName,"varlet-site-sidebar__cell":t.type!==o.TITLE,"varlet-site-sidebar__title":t.type===o.TITLE}]),id:t.doc,onClick:N=>f(t)},{default:A(()=>[oe,t.type===o.TITLE?(l(),i("span",le,$(t.text[a.language]),1)):(l(),i("span",ce,$(t.text[a.language]),1))]),_:2},1032,["id","class","onClick"])),[[m,{disabled:t.type===o.TITLE}]])],8,se))),128))])}}});const re={class:"varlet-site"},ue={class:"varlet-site-content"},_e={class:"varlet-site-playground-container"},de=["src"],me=E({__name:"Layout",setup(b){const r=X,s=u(g(h,"pc.menu",[])),o=u(g(h,"useMobile")),f=g(h,"mobile.redirect"),a=u(""),d=u(),p=u(""),m=u(""),t=u(null),w=H(),N=e=>{const n=s.value.find(c=>c.doc===e);return(n==null?void 0:n.type)===T.COMPONENT?e:f.slice(1)},B=()=>{const{menuName:e}=S();j(()=>{const n=document.querySelector(".varlet-site-sidebar").getElementsByClassName("var-cell"),c=s.value.findIndex(v=>v.doc===e);c!==-1&&n[c].scrollIntoView({block:"center",inline:"start"})})},P=e=>{t.value.scrollTop=0,d.value=N(e.doc),p.value=e.doc,m.value=""},L=()=>{const e="VARLET_UI_PLAYGROUND_HAS_BEEN_CLOSED";!localStorage.getItem(e)&&!window.confirm("The code will no longer be saved after closing. Are you sure you want to close?")||(localStorage.setItem(e,"true"),r.showPlayground=!1)};return Y(()=>{B(),window.addEventListener("message",e=>{const{data:n}=e;n.action==="playground-close"&&L()})}),z(()=>w.path,()=>{var v;const{language:e,menuName:n,hash:c}=S();!e||!n||(d.value=N(n),p.value=n,m.value=c,a.value=e,o.value=((v=s.value.find(R=>R.doc===n))==null?void 0:v.useMobile)??g(h,"useMobile"),document.title=g(h,"pc.title")[e])},{immediate:!0}),(e,n)=>{const c=k("router-view"),v=k("var-popup");return l(),i(x,null,[_("div",re,[y(J,{language:a.value},null,8,["language"]),_("div",ue,[y(ie,{language:a.value,menu:s.value,"menu-name":p.value,onChange:P},null,8,["language","menu","menu-name"]),_("div",{class:I(["varlet-site-doc-container",[!o.value&&"varlet-site-doc-container--pc-only"]]),ref_key:"doc",ref:t},[y(c)],2),M(y(te,{"component-name":d.value,language:a.value,replace:p.value,hash:m.value},null,8,["component-name","language","replace","hash"]),[[F,o.value]])])]),y(v,{position:"right",show:C(r).showPlayground,onClickOverlay:L},{default:A(()=>[_("div",_e,[C(r).showPlayground?(l(),i("iframe",{key:0,id:"playground",class:"varlet-site-playground-iframe",src:C(r).playgroundURL,allow:"clipboard-write"},` `,8,de)):W("",!0)])]),_:1},8,["show"])],64)}}});export{me as default}; diff --git a/assets/Paper-4d3d3dd5.js b/assets/Paper-e2cdc119.js similarity index 77% rename from assets/Paper-4d3d3dd5.js rename to assets/Paper-e2cdc119.js index d96ffebc025..0f2a0c0ec37 100644 --- a/assets/Paper-4d3d3dd5.js +++ b/assets/Paper-e2cdc119.js @@ -1 +1 @@ -import{v as a}from"./index-2b41cfe8.js";import{d as s,f as l,c as t,a as p}from"./components-3ae053cb.js";import{a as d}from"./elements-68ad626b.js";import{d as m,_ as u,L as f,P as v,e as h,m as c,v as S,x as k,y as C}from"./index-af5fec45.js";const g={elevation:{type:[Boolean,Number,String],default:!1},ripple:Boolean,radius:[Number,String],width:[Number,String],height:[Number,String],round:Boolean,inline:Boolean,onClick:s()},{name:b,n:$,classes:y}=t("paper"),z=m({name:b,directives:{Ripple:a},props:g,setup(e){function i(n){p(e.onClick,n)}return{n:$,classes:y,formatElevation:l,toSizeUnit:d,handleClick:i}}});function B(e,i,n,N,w,P){const o=f("ripple");return v((h(),c("div",{class:k(e.classes(e.n(),e.n("$--box"),e.formatElevation(e.elevation,2),[e.onClick,e.n("--cursor")],[e.round,e.n("--round")],[e.inline,e.n("$--inline-flex")])),style:C({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),"border-radius":e.toSizeUnit(e.radius)}),onClick:i[0]||(i[0]=(...r)=>e.handleClick&&e.handleClick(...r))},[S(e.$slots,"default")],6)),[[o,{disabled:!e.ripple}]])}const R=u(z,[["render",B]]);export{R as V}; +import{v as a}from"./index-28dcc9be.js";import{d as s,f as l,c as t,a as p}from"./components-a5332e66.js";import{a as d}from"./elements-23c82371.js";import{d as m,_ as u,L as f,P as v,e as h,m as c,v as S,x as k,y as C}from"./index-0bd4ebfc.js";const g={elevation:{type:[Boolean,Number,String],default:!1},ripple:Boolean,radius:[Number,String],width:[Number,String],height:[Number,String],round:Boolean,inline:Boolean,onClick:s()},{name:b,n:$,classes:y}=t("paper"),z=m({name:b,directives:{Ripple:a},props:g,setup(e){function i(n){p(e.onClick,n)}return{n:$,classes:y,formatElevation:l,toSizeUnit:d,handleClick:i}}});function B(e,i,n,N,w,P){const o=f("ripple");return v((h(),c("div",{class:k(e.classes(e.n(),e.n("$--box"),e.formatElevation(e.elevation,2),[e.onClick,e.n("--cursor")],[e.round,e.n("--round")],[e.inline,e.n("$--inline-flex")])),style:C({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),"border-radius":e.toSizeUnit(e.radius)}),onClick:i[0]||(i[0]=(...r)=>e.handleClick&&e.handleClick(...r))},[S(e.$slots,"default")],6)),[[o,{disabled:!e.ripple}]])}const R=u(z,[["render",B]]);export{R as V}; diff --git a/assets/ResponsiveObject-b269cecd.js b/assets/ResponsiveObject-f1121469.js similarity index 88% rename from assets/ResponsiveObject-b269cecd.js rename to assets/ResponsiveObject-f1121469.js index 6f20bc1af51..7bf01ae3e1c 100644 --- a/assets/ResponsiveObject-b269cecd.js +++ b/assets/ResponsiveObject-f1121469.js @@ -1 +1 @@ -import{R as c}from"./index-85b78525.js";import{C as a}from"./index-5689d3e2.js";import{_ as f,e as n,f as l,w as s,q as o,U as e,$ as i,a0 as m,p as _}from"./index-af5fec45.js";const d=t=>(i("data-v-dbe4409a"),t=t(),m(),t),u=d(()=>_("div",{class:"item"},"1",-1)),v=d(()=>_("div",{class:"item"},"2",-1)),h=d(()=>_("div",{class:"item"},"3",-1)),g=d(()=>_("div",{class:"item"},"4",-1)),$={__name:"Responsive",setup(t){return(x,r)=>(n(),l(e(c),{gutter:10},{default:s(()=>[o(e(a),{xs:8,sm:6,md:4,lg:3,xl:1},{default:s(()=>[u]),_:1}),o(e(a),{xs:4,sm:6,md:8,lg:9,xl:11},{default:s(()=>[v]),_:1}),o(e(a),{xs:4,sm:6,md:8,lg:9,xl:11},{default:s(()=>[h]),_:1}),o(e(a),{xs:8,sm:6,md:4,lg:3,xl:1},{default:s(()=>[g]),_:1})]),_:1}))}},j=f($,[["__scopeId","data-v-dbe4409a"]]);const p=t=>(i("data-v-9d431604"),t=t(),m(),t),b=p(()=>_("div",{class:"item"},"1",-1)),I=p(()=>_("div",{class:"item"},"2",-1)),R=p(()=>_("div",{class:"item"},"3",-1)),w=p(()=>_("div",{class:"item"},"4",-1)),B={__name:"ResponsiveObject",setup(t){return(x,r)=>(n(),l(e(c),{gutter:10},{default:s(()=>[o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[b]),_:1}),o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[I]),_:1}),o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[R]),_:1}),o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[w]),_:1})]),_:1}))}},C=f(B,[["__scopeId","data-v-9d431604"]]);export{j as B,C as O}; +import{R as c}from"./index-e6df479c.js";import{C as a}from"./index-79c63a4e.js";import{_ as f,e as n,f as l,w as s,q as o,U as e,$ as i,a0 as m,p as _}from"./index-0bd4ebfc.js";const d=t=>(i("data-v-dbe4409a"),t=t(),m(),t),u=d(()=>_("div",{class:"item"},"1",-1)),v=d(()=>_("div",{class:"item"},"2",-1)),h=d(()=>_("div",{class:"item"},"3",-1)),g=d(()=>_("div",{class:"item"},"4",-1)),$={__name:"Responsive",setup(t){return(x,r)=>(n(),l(e(c),{gutter:10},{default:s(()=>[o(e(a),{xs:8,sm:6,md:4,lg:3,xl:1},{default:s(()=>[u]),_:1}),o(e(a),{xs:4,sm:6,md:8,lg:9,xl:11},{default:s(()=>[v]),_:1}),o(e(a),{xs:4,sm:6,md:8,lg:9,xl:11},{default:s(()=>[h]),_:1}),o(e(a),{xs:8,sm:6,md:4,lg:3,xl:1},{default:s(()=>[g]),_:1})]),_:1}))}},j=f($,[["__scopeId","data-v-dbe4409a"]]);const p=t=>(i("data-v-9d431604"),t=t(),m(),t),b=p(()=>_("div",{class:"item"},"1",-1)),I=p(()=>_("div",{class:"item"},"2",-1)),R=p(()=>_("div",{class:"item"},"3",-1)),w=p(()=>_("div",{class:"item"},"4",-1)),B={__name:"ResponsiveObject",setup(t){return(x,r)=>(n(),l(e(c),{gutter:10},{default:s(()=>[o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[b]),_:1}),o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[I]),_:1}),o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[R]),_:1}),o(e(a),{xs:{span:12,offset:6},sm:{span:6},md:{span:4,offset:4},lg:{span:3,offset:3},xl:{span:2,offset:2}},{default:s(()=>[w]),_:1})]),_:1}))}},C=f(B,[["__scopeId","data-v-9d431604"]]);export{j as B,C as O}; diff --git a/assets/appType-53211ea9.js b/assets/appType-a8f87391.js similarity index 68% rename from assets/appType-53211ea9.js rename to assets/appType-a8f87391.js index bcb75b41a1f..6bd98307f5e 100644 --- a/assets/appType-53211ea9.js +++ b/assets/appType-a8f87391.js @@ -1 +1 @@ -import{d as a,aa as n}from"./index-af5fec45.js";const m=a({name:"AppType",setup(r,{slots:p}){return()=>{var e;return n("div",{class:"app-type"},[(e=p.default)==null?void 0:e.call(p)])}}});export{m as A}; +import{d as a,aa as n}from"./index-0bd4ebfc.js";const m=a({name:"AppType",setup(r,{slots:p}){return()=>{var e;return n("div",{class:"app-type"},[(e=p.default)==null?void 0:e.call(p)])}}});export{m as A}; diff --git a/assets/browserAdaptation.en-US-ebc05e45.js b/assets/browserAdaptation.en-US-b3612ffc.js similarity index 98% rename from assets/browserAdaptation.en-US-ebc05e45.js rename to assets/browserAdaptation.en-US-b3612ffc.js index 4ecfa565fff..d8b5758b094 100644 --- a/assets/browserAdaptation.en-US-ebc05e45.js +++ b/assets/browserAdaptation.en-US-b3612ffc.js @@ -1,4 +1,4 @@ -import{_ as c,b as l,e as p,m as d,p as s,q as e,w as o,Q as t,Z as r}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"Browser Adaptation",-1),m={class:"card"},_={id:"Intro"},v=s("p",null,[t("The component library provides mobile and desktop adaptations, scheme "),s("code",null,"varlet-touch-emulator"),t(" is used for mobile terminal adaptation, scheme "),s("code",null,"varlet-touch-emulator"),t(" is used for mobile terminal adaptation.")],-1),j={class:"card"},b={id:"Mobile-Adaptation"},g=r("

The component library design is based on the 375px width design draft. It is recommended to use PostCSS plugin to convert px units into vw units to achieve mobile terminal adaptation. Create postcss.config.js under the Webpack/Vite project root path And do the following configuration 375px -> 100vw.

",1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),t(` +import{_ as c,b as l,e as p,m as d,p as s,q as e,w as o,Q as t,Z as r}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"Browser Adaptation",-1),m={class:"card"},_={id:"Intro"},v=s("p",null,[t("The component library provides mobile and desktop adaptations, scheme "),s("code",null,"varlet-touch-emulator"),t(" is used for mobile terminal adaptation, scheme "),s("code",null,"varlet-touch-emulator"),t(" is used for mobile terminal adaptation.")],-1),j={class:"card"},b={id:"Mobile-Adaptation"},g=r("

The component library design is based on the 375px width design draft. It is recommended to use PostCSS plugin to convert px units into vw units to achieve mobile terminal adaptation. Create postcss.config.js under the Webpack/Vite project root path And do the following configuration 375px -> 100vw.

",1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),t(` npm i postcss-px-to-viewport -D `),s("span",{class:"hljs-meta"},` #`),s("span",{class:"bash"}," yarn"),t(` diff --git a/assets/browserAdaptation.zh-CN-21f1ccb3.js b/assets/browserAdaptation.zh-CN-c5c3c404.js similarity index 98% rename from assets/browserAdaptation.zh-CN-21f1ccb3.js rename to assets/browserAdaptation.zh-CN-c5c3c404.js index c3df585a18d..6259b49ac59 100644 --- a/assets/browserAdaptation.zh-CN-21f1ccb3.js +++ b/assets/browserAdaptation.zh-CN-c5c3c404.js @@ -1,4 +1,4 @@ -import{_ as l,b as c,e as p,m as d,p as s,q as a,w as n,Q as o,Z as r}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"浏览器适配",-1),_={class:"card"},m={id:"jie4-shao4"},j=s("p",null,[o("组件库提供移动端和桌面端适配方案, 移动端使用 "),s("code",null,"postcss-px-to-viewport"),o(" 方案进行适配, 桌面端使用 "),s("code",null,"@varlet/touch-emulator"),o(" 方案进行适配。")],-1),v={class:"card"},g={id:"yi2-dong4-duan1-shi4-pei4"},x=r("

组件库设计基于 375px 宽度设计稿,推荐使用 postcss 插件将 px 单位转换成 vw 单位从而实现移动端适配。 在 Webpack/Vite 项目根路径下创建 postcss.config.js 并做如下配置之后 375px -> 100vw

",1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),o(` +import{_ as l,b as c,e as p,m as d,p as s,q as a,w as n,Q as o,Z as r}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"浏览器适配",-1),_={class:"card"},m={id:"jie4-shao4"},j=s("p",null,[o("组件库提供移动端和桌面端适配方案, 移动端使用 "),s("code",null,"postcss-px-to-viewport"),o(" 方案进行适配, 桌面端使用 "),s("code",null,"@varlet/touch-emulator"),o(" 方案进行适配。")],-1),v={class:"card"},g={id:"yi2-dong4-duan1-shi4-pei4"},x=r("

组件库设计基于 375px 宽度设计稿,推荐使用 postcss 插件将 px 单位转换成 vw 单位从而实现移动端适配。 在 Webpack/Vite 项目根路径下创建 postcss.config.js 并做如下配置之后 375px -> 100vw

",1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),o(` npm i postcss-px-to-viewport -D `),s("span",{class:"hljs-meta"},` #`),s("span",{class:"bash"}," yarn"),o(` diff --git a/assets/cli.en-US-f158562e.js b/assets/cli.en-US-7df39d5e.js similarity index 99% rename from assets/cli.en-US-f158562e.js rename to assets/cli.en-US-7df39d5e.js index fcdfc2e3db1..3da9ce0b298 100644 --- a/assets/cli.en-US-f158562e.js +++ b/assets/cli.en-US-7df39d5e.js @@ -1,4 +1,4 @@ -import{_ as i,b as s,e as r,m as a,p as e,q as o,w as d,Q as t,Z as c}from"./index-af5fec45.js";const h={components:{}},u={class:"varlet-site-doc"},p=e("h1",null,"Components Library Tools",-1),m={class:"card"},_={id:"Intro"},g=e("p",null,[t("The out-of-the-box "),e("code",null,"Vue3 component library"),t(" rapid prototyping tool provides a series of commands and tools to solve the problem of component library development.")],-1),f={class:"card"},v={id:"Features"},b=c("",1),y={class:"card"},j={id:"Quickstart"},x=e("p",null,[e("code",null,"@varlet/cli"),t(" has built-in "),e("code",null,"sfc"),t(" and "),e("code",null,"tsx"),t(" style component library project templates, which can be generated directly by the "),e("code",null,"gen"),t(" command. It is convenient for you to directly enter the component library development.")],-1),C=e("pre",{class:"hljs"},[e("code",null,`pnpm add @varlet/cli -g +import{_ as i,b as s,e as r,m as a,p as e,q as o,w as d,Q as t,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},u={class:"varlet-site-doc"},p=e("h1",null,"Components Library Tools",-1),m={class:"card"},_={id:"Intro"},g=e("p",null,[t("The out-of-the-box "),e("code",null,"Vue3 component library"),t(" rapid prototyping tool provides a series of commands and tools to solve the problem of component library development.")],-1),f={class:"card"},v={id:"Features"},b=c("",1),y={class:"card"},j={id:"Quickstart"},x=e("p",null,[e("code",null,"@varlet/cli"),t(" has built-in "),e("code",null,"sfc"),t(" and "),e("code",null,"tsx"),t(" style component library project templates, which can be generated directly by the "),e("code",null,"gen"),t(" command. It is convenient for you to directly enter the component library development.")],-1),C=e("pre",{class:"hljs"},[e("code",null,`pnpm add @varlet/cli -g varlet-cli gen `)],-1),w=e("h2",null,"Advanced customization",-1),T={class:"card"},k={id:"Configuration-file"},S=c('

The varlet.config.mjs in the project root directory is used to manage the specific details of the entire component library project. The default configuration can be viewed varlet.default.config.ts. Also refer to @varlet/ui varlet.config.mjs.

ParameterDescriptionTypeDefault
nameThe full name of the component library, which will be used as the package namestringVarlet
namespaceComponent library namespace, which will be used as a component prefixstringvar
hostDevelopment server hostnumberlocalhost
portDevelopment server portnumber8080
titleThe title of the component library in the documentationstringVARLET
logoThe logo of the component library in the documentationstring-
defaultLanguageDocumentation default languagestringzh-CN
useMobileWhether to show the preview of the right mobile phonebooleanfalse
lightThemeLight Mode Documentation ThemeRecord<string, any>-
darkThemeDark Mode Documentation ThemeRecord<string, any>-
highlightDocumentation snippet style related{ style: string }-
analysisDocument statistics related{ baidu: string }-
pcPC-side document structure configurationRecord<string, any>-
mobileMobile side document structure configurationRecord<string, any>-
directivesDirective folder namesstring[][]
copyCopy file optionsCopyPath[]-
iconsFont icon packaging related configurationVarletConfigIcons-
esbuildEsbuild configurationVarletConfigEsbuild-

Menu

参数说明类型默认值
docThe document page corresponds to the matching file name, requiredstring-
typeThe type of menu, when the type is 1, it means the category menu, when the type is 2, the doc field matches the component file under src, when the type is 3, the doc field matches the md file under docs, requiredMenuTypes-
textThe text displayed in the menu, English display text can be configured when internationalization is set, requiredRecord<string, string>-
useMobileWhether to display the mobile phone preview on the right side on the current document page, if not filled, the default value is useMobile in configboolean-
',4),N={class:"card"},D={id:"Custom-pages"},V=e("p",null,[t("If you want to insert other pages into the component library, you can create a "),e("code",null,"pages"),t(" folder in the project root directory to write a vue component to generate other pages. The directory structure is as follows:")],-1),z=e("pre",{class:"hljs"},[e("code",null,`|-- varlet-ui |-- src diff --git a/assets/cli.zh-CN-53c9b590.js b/assets/cli.zh-CN-32407670.js similarity index 99% rename from assets/cli.zh-CN-53c9b590.js rename to assets/cli.zh-CN-32407670.js index af6493a20e5..ed3803c1690 100644 --- a/assets/cli.zh-CN-53c9b590.js +++ b/assets/cli.zh-CN-32407670.js @@ -1,4 +1,4 @@ -import{_ as i,b as n,e as a,m as r,p as t,q as d,w as o,Q as e,Z as s}from"./index-af5fec45.js";const h={components:{}},_={class:"varlet-site-doc"},u=t("h1",null,"组件库快速成型工具",-1),g={class:"card"},p={id:"jie4-shao4"},m=t("p",null,[e("开箱即用的 "),t("code",null,"Vue3组件库"),e(" 快速成型工具,提供了一系列命令和工具去解决组件库开发上的问题。")],-1),v={class:"card"},f={id:"te4-xing4"},b=s("",1),y={class:"card"},j={id:"kuai4-su4-kai1-shi3"},x=t("p",null,[t("code",null,"@varlet/cli"),e(" 内置了 "),t("code",null,"sfc"),e(" 和 "),t("code",null,"tsx"),e(" 两种风格的组件库项目模板,可以通过 "),t("code",null,"gen"),e(" 命令直接生成。 方便您直接进入组件库开发。")],-1),k=t("pre",{class:"hljs"},[t("code",null,`pnpm add @varlet/cli -g +import{_ as i,b as n,e as a,m as r,p as t,q as d,w as o,Q as e,Z as s}from"./index-0bd4ebfc.js";const h={components:{}},_={class:"varlet-site-doc"},u=t("h1",null,"组件库快速成型工具",-1),g={class:"card"},p={id:"jie4-shao4"},m=t("p",null,[e("开箱即用的 "),t("code",null,"Vue3组件库"),e(" 快速成型工具,提供了一系列命令和工具去解决组件库开发上的问题。")],-1),v={class:"card"},f={id:"te4-xing4"},b=s("",1),y={class:"card"},j={id:"kuai4-su4-kai1-shi3"},x=t("p",null,[t("code",null,"@varlet/cli"),e(" 内置了 "),t("code",null,"sfc"),e(" 和 "),t("code",null,"tsx"),e(" 两种风格的组件库项目模板,可以通过 "),t("code",null,"gen"),e(" 命令直接生成。 方便您直接进入组件库开发。")],-1),k=t("pre",{class:"hljs"},[t("code",null,`pnpm add @varlet/cli -g varlet-cli gen `)],-1),C=t("h2",null,"高级定制",-1),V={class:"card"},z={id:"pei4-zhi4-wen2-jian4"},N=s('

项目根目录下的 varlet.config.mjs 用来管理整个组件库项目的具体细节。 默认配置可查阅 varlet.default.config.ts。 也可以参考 @varlet/uivarlet.config.mjs

参数说明类型默认值
name组件库全名,会作为包名stringVarlet
namespace组件库命名空间, 会作为组件前缀stringvar
host开发服务器主机numberlocalhost
port开发服务器端口number8080
title文档中组件库的标题stringVARLET
logo文档中组件库的logostring-
defaultLanguage文档默认语言stringzh-CN
useMobile是否显示右侧手机预览booleanfalse
lightTheme亮色模式文档主题Record<string, any>-
darkTheme暗黑模式文档主题Record<string, any>-
highlight文档代码片段样式相关{ style: string }-
analysis文档统计相关{ baidu: string }-
pcpc 端文档结构配置Record<string, any>-
mobilemobile 端文档结构配置Record<string, any>-
directives组件库指令文件夹名称string[][]
copy复制文件配置CopyPath[]-
icons字体图标打包相关配置VarletConfigIcons-
esbuildEsbuild 配置VarletConfigEsbuild-

Menu

参数说明类型默认值
doc文档页面应匹配的文件名称, 必填string-
typemenu 类型, 当 type 为 1 时表示分类 menu, 类型为 2 时 doc 字段匹配 src 下的组件文件, 类型为3时 doc 字段匹配 docs 下的 md 文件MenuTypes-
textmenu 所展示的文字, 当设置国际化时可配置英文展示文字Record<string, string>-
useMobile是否在当前文档页显示右侧手机预览, 如不填写, 默认取 config 中的 useMobileboolean-
',4),S={class:"card"},w={id:"zi4-ding4-yi4-ye4-mian4"},R=t("p",null,[e("如果想在组件库中插入其他页面,可以在项目根目录下的创建 "),t("code",null,"pages"),e(" 文件夹编写 vue 组件, 用来生成其他的页面。 目录结构如下:")],-1),T=t("pre",{class:"hljs"},[t("code",null,`|-- varlet-ui |-- src diff --git a/assets/components-3ae053cb.js b/assets/components-a5332e66.js similarity index 96% rename from assets/components-3ae053cb.js rename to assets/components-a5332e66.js index 74ea17c5d24..22fd0c5a719 100644 --- a/assets/components-3ae053cb.js +++ b/assets/components-a5332e66.js @@ -1 +1 @@ -import{a6 as g,N as v,a2 as m,r as f,a7 as d,a8 as $,a9 as w,K as y,D as A,G as h,B as E,aa as b}from"./index-af5fec45.js";function I(t,n){return Array.isArray(n)?n.reduce((e,u)=>(e[u]=t[u],e),{}):t[n]}function W(t,n){const e=n??t;return e.install=function(u){const{name:a}=t;a&&u.component(a,t)},e}function V(t){const n=E(t),e=document.createElement("div");return document.body.appendChild(e),{instance:n.mount(e),unmount(){n.unmount(),document.body.removeChild(e)}}}function F(t,n={},e={}){const u={setup(){return()=>b(t,{...n,...e})}},{unmount:a}=V(u);return{unmountInstance:a}}function M(t){const n=[];return t.forEach(e=>{if(e.type!==g){if(e.type===v&&m(e.children)){e.children.forEach(u=>{n.push(u)});return}n.push(e)}}),n}function T(){const t=f(""),n=async(a,r,s)=>!m(a)||!a.length?!0:!(await Promise.all(a.map(o=>o(r,s)))).some(o=>o!==!0?(t.value=String(o),!0):!1);return{errorMessage:t,validate:n,resetValidation:()=>{t.value=""},validateWithTrigger:async(a,r,s,i,o)=>{a.includes(r)&&await n(s,i,o)&&(t.value="")}}}function B(t){d(()=>window,"hashchange",t),d(()=>window,"popstate",t)}function D(){const t=f(!1);return $(()=>{t.value=!1}),w(()=>{t.value=!0}),{disabled:t}}function L(t){const n="var",e=`${n}-${t}`,u=r=>r?r[0]==="$"?r.replace("$",n):r.startsWith("--")?`${e}${r}`:`${e}__${r}`:e,a=(...r)=>r.map(s=>{if(m(s)){const[i,o,c=null]=s;return i?o:c}return s});return{name:y(e),n:u,classes:a}}function p(t,...n){if(m(t))return t.map(e=>e(...n));if(t)return t(...n)}function P(t){return{type:[Function,Array],default:t}}function S(t,n){return t===!1?null:(t===!0&&n&&(t=n),`var-elevation--${t}`)}function _(t,n,e={}){const{passive:u=!0,eventName:a,defaultValue:r,emit:s}=e,i=a??`onUpdate:${n.toString()}`,o=()=>t[n]!=null?t[n]:r;if(!u)return A({get(){return o()},set(l){s?s(i,l):p(t[i],l)}});const c=f(o());return h(()=>t[n],()=>{c.value=o()}),h(()=>c.value,l=>{s?s(i,l):p(t[i],l)}),c}export{p as a,M as b,L as c,P as d,B as e,S as f,_ as g,T as h,F as m,I as p,D as u,W as w}; +import{a6 as g,N as v,a2 as m,r as f,a7 as d,a8 as $,a9 as w,K as y,D as A,G as h,B as E,aa as b}from"./index-0bd4ebfc.js";function I(t,n){return Array.isArray(n)?n.reduce((e,u)=>(e[u]=t[u],e),{}):t[n]}function W(t,n){const e=n??t;return e.install=function(u){const{name:a}=t;a&&u.component(a,t)},e}function V(t){const n=E(t),e=document.createElement("div");return document.body.appendChild(e),{instance:n.mount(e),unmount(){n.unmount(),document.body.removeChild(e)}}}function F(t,n={},e={}){const u={setup(){return()=>b(t,{...n,...e})}},{unmount:a}=V(u);return{unmountInstance:a}}function M(t){const n=[];return t.forEach(e=>{if(e.type!==g){if(e.type===v&&m(e.children)){e.children.forEach(u=>{n.push(u)});return}n.push(e)}}),n}function T(){const t=f(""),n=async(a,r,s)=>!m(a)||!a.length?!0:!(await Promise.all(a.map(o=>o(r,s)))).some(o=>o!==!0?(t.value=String(o),!0):!1);return{errorMessage:t,validate:n,resetValidation:()=>{t.value=""},validateWithTrigger:async(a,r,s,i,o)=>{a.includes(r)&&await n(s,i,o)&&(t.value="")}}}function B(t){d(()=>window,"hashchange",t),d(()=>window,"popstate",t)}function D(){const t=f(!1);return $(()=>{t.value=!1}),w(()=>{t.value=!0}),{disabled:t}}function L(t){const n="var",e=`${n}-${t}`,u=r=>r?r[0]==="$"?r.replace("$",n):r.startsWith("--")?`${e}${r}`:`${e}__${r}`:e,a=(...r)=>r.map(s=>{if(m(s)){const[i,o,c=null]=s;return i?o:c}return s});return{name:y(e),n:u,classes:a}}function p(t,...n){if(m(t))return t.map(e=>e(...n));if(t)return t(...n)}function P(t){return{type:[Function,Array],default:t}}function S(t,n){return t===!1?null:(t===!0&&n&&(t=n),`var-elevation--${t}`)}function _(t,n,e={}){const{passive:u=!0,eventName:a,defaultValue:r,emit:s}=e,i=a??`onUpdate:${n.toString()}`,o=()=>t[n]!=null?t[n]:r;if(!u)return A({get(){return o()},set(l){s?s(i,l):p(t[i],l)}});const c=f(o());return h(()=>t[n],()=>{c.value=o()}),h(()=>c.value,l=>{s?s(i,l):p(t[i],l)}),c}export{p as a,M as b,L as c,P as d,B as e,S as f,_ as g,T as h,F as m,I as p,D as u,W as w}; diff --git a/assets/designResources.en-US-226fc9db.js b/assets/designResources.en-US-d48797eb.js similarity index 77% rename from assets/designResources.en-US-226fc9db.js rename to assets/designResources.en-US-d48797eb.js index f59375aaa68..31e38fccb14 100644 --- a/assets/designResources.en-US-226fc9db.js +++ b/assets/designResources.en-US-d48797eb.js @@ -1 +1 @@ -import{C as d,I as l}from"./IconResourcesDownload-ed11000d.js";import{_ as a,b as n,e as p,m as _,p as o,q as s,w as r,Q as e}from"./index-af5fec45.js";import"./index-84d96475.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./index-d8fbf18c.js";import"./index-2b61c8d0.js";const u={components:{ComponentResourcesDownload:d,IconResourcesDownload:l}},m={class:"varlet-site-doc"},h=o("h1",null,"Design Resources",-1),v={class:"card"},g={id:"Intro"},w=o("p",null,"We provide design resources for designers, you can select the required resources on this page to download.",-1),f={class:"card"},x={id:"Components-Resources"},R=o("p",null,[e("Component resources include "),o("code",null,"color"),e(", "),o("code",null,"text"),e(", and "),o("code",null,"component resources"),e(". At present, only the design resources of the light color mode are provided, and the dark mode is not yet available. Community contributions are welcome.")],-1),b=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/components.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),y={class:"varlet-component-preview"},C={class:"card"},I={id:"Icons-Resources"},k=o("p",null,[e("The icon resource contains "),o("code",null,"100+"),e(" icons built into the component library.")],-1),$=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/icons.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),B={class:"varlet-component-preview"};function D(N,V,q,T,A,E){const t=n("router-link"),c=n("component-resources-download"),i=n("icon-resources-download");return p(),_("div",m,[h,o("div",v,[o("h3",g,[s(t,{to:"#Intro"},{default:r(()=>[e("#")]),_:1}),e("Intro")]),w]),o("div",f,[o("h3",x,[s(t,{to:"#Components-Resources"},{default:r(()=>[e("#")]),_:1}),e("Components Resources")]),R,b,o("div",y,[s(c)])]),o("div",C,[o("h3",I,[s(t,{to:"#Icons-Resources"},{default:r(()=>[e("#")]),_:1}),e("Icons Resources")]),k,$,o("div",B,[s(i)])])])}const X=a(u,[["render",D]]);export{X as default}; +import{C as d,I as l}from"./IconResourcesDownload-eba5b540.js";import{_ as a,b as n,e as p,m as _,p as o,q as s,w as r,Q as e}from"./index-0bd4ebfc.js";import"./index-1f1d0c91.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./index-d8fbf18c.js";import"./index-4a9c2ae2.js";const u={components:{ComponentResourcesDownload:d,IconResourcesDownload:l}},m={class:"varlet-site-doc"},h=o("h1",null,"Design Resources",-1),v={class:"card"},g={id:"Intro"},w=o("p",null,"We provide design resources for designers, you can select the required resources on this page to download.",-1),f={class:"card"},x={id:"Components-Resources"},R=o("p",null,[e("Component resources include "),o("code",null,"color"),e(", "),o("code",null,"text"),e(", and "),o("code",null,"component resources"),e(". At present, only the design resources of the light color mode are provided, and the dark mode is not yet available. Community contributions are welcome.")],-1),b=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/components.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),y={class:"varlet-component-preview"},C={class:"card"},I={id:"Icons-Resources"},k=o("p",null,[e("The icon resource contains "),o("code",null,"100+"),e(" icons built into the component library.")],-1),$=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/icons.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),B={class:"varlet-component-preview"};function D(N,V,q,T,A,E){const t=n("router-link"),c=n("component-resources-download"),i=n("icon-resources-download");return p(),_("div",m,[h,o("div",v,[o("h3",g,[s(t,{to:"#Intro"},{default:r(()=>[e("#")]),_:1}),e("Intro")]),w]),o("div",f,[o("h3",x,[s(t,{to:"#Components-Resources"},{default:r(()=>[e("#")]),_:1}),e("Components Resources")]),R,b,o("div",y,[s(c)])]),o("div",C,[o("h3",I,[s(t,{to:"#Icons-Resources"},{default:r(()=>[e("#")]),_:1}),e("Icons Resources")]),k,$,o("div",B,[s(i)])])])}const X=a(u,[["render",D]]);export{X as default}; diff --git a/assets/designResources.zh-CN-58d9807e.js b/assets/designResources.zh-CN-e6e086bb.js similarity index 76% rename from assets/designResources.zh-CN-58d9807e.js rename to assets/designResources.zh-CN-e6e086bb.js index 329d53e89ad..ca0081ae462 100644 --- a/assets/designResources.zh-CN-58d9807e.js +++ b/assets/designResources.zh-CN-e6e086bb.js @@ -1 +1 @@ -import{C as d,I as a}from"./IconResourcesDownload-ed11000d.js";import{_ as l,b as n,e as _,m as p,p as o,q as e,w as i,Q as t}from"./index-af5fec45.js";import"./index-84d96475.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./index-d8fbf18c.js";import"./index-2b61c8d0.js";const u={components:{ComponentResourcesDownload:d,IconResourcesDownload:a}},m={class:"varlet-site-doc"},h=o("h1",null,"设计资源",-1),v={class:"card"},w={id:"jie4-shao4"},g=o("p",null,"我们为设计师提供了设计资源,您可以在本页面选择所需的资源进行下载。",-1),f={class:"card"},x={id:"zu3-jian4-zi1-yuan2"},y=o("p",null,[t("组件资源包含了"),o("code",null,"色彩"),t("、"),o("code",null,"文字"),t("、"),o("code",null,"组件资源"),t("。目前只提供亮色模式的设计资源,暗黑模式暂未提供,欢迎社区贡献。")],-1),b=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/components.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),z={class:"varlet-component-preview"},k={class:"card"},C={id:"tu2-biao1-zi1-yuan2"},j=o("p",null,[t("图标资源包含了组件库内置的 "),o("code",null,"100+"),t(" 图标。")],-1),N=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/icons.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),$={class:"varlet-component-preview"};function B(R,V,D,I,q,E){const s=n("router-link"),c=n("component-resources-download"),r=n("icon-resources-download");return _(),p("div",m,[h,o("div",v,[o("h3",w,[e(s,{to:"#jie4-shao4"},{default:i(()=>[t("#")]),_:1}),t("介绍")]),g]),o("div",f,[o("h3",x,[e(s,{to:"#zu3-jian4-zi1-yuan2"},{default:i(()=>[t("#")]),_:1}),t("组件资源")]),y,b,o("div",z,[e(c)])]),o("div",k,[o("h3",C,[e(s,{to:"#tu2-biao1-zi1-yuan2"},{default:i(()=>[t("#")]),_:1}),t("图标资源")]),j,N,o("div",$,[e(r)])])])}const X=l(u,[["render",B]]);export{X as default}; +import{C as d,I as a}from"./IconResourcesDownload-eba5b540.js";import{_ as l,b as n,e as _,m as p,p as o,q as e,w as i,Q as t}from"./index-0bd4ebfc.js";import"./index-1f1d0c91.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./index-d8fbf18c.js";import"./index-4a9c2ae2.js";const u={components:{ComponentResourcesDownload:d,IconResourcesDownload:a}},m={class:"varlet-site-doc"},h=o("h1",null,"设计资源",-1),v={class:"card"},w={id:"jie4-shao4"},g=o("p",null,"我们为设计师提供了设计资源,您可以在本页面选择所需的资源进行下载。",-1),f={class:"card"},x={id:"zu3-jian4-zi1-yuan2"},y=o("p",null,[t("组件资源包含了"),o("code",null,"色彩"),t("、"),o("code",null,"文字"),t("、"),o("code",null,"组件资源"),t("。目前只提供亮色模式的设计资源,暗黑模式暂未提供,欢迎社区贡献。")],-1),b=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/components.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),z={class:"varlet-component-preview"},k={class:"card"},C={id:"tu2-biao1-zi1-yuan2"},j=o("p",null,[t("图标资源包含了组件库内置的 "),o("code",null,"100+"),t(" 图标。")],-1),N=o("img",{src:"https://varlet.gitee.io/varlet-ui/design/icons.png",style:{width:"100%",display:"block","border-radius":"4px","margin-top":"16px"}},null,-1),$={class:"varlet-component-preview"};function B(R,V,D,I,q,E){const s=n("router-link"),c=n("component-resources-download"),r=n("icon-resources-download");return _(),p("div",m,[h,o("div",v,[o("h3",w,[e(s,{to:"#jie4-shao4"},{default:i(()=>[t("#")]),_:1}),t("介绍")]),g]),o("div",f,[o("h3",x,[e(s,{to:"#zu3-jian4-zi1-yuan2"},{default:i(()=>[t("#")]),_:1}),t("组件资源")]),y,b,o("div",z,[e(c)])]),o("div",k,[o("h3",C,[e(s,{to:"#tu2-biao1-zi1-yuan2"},{default:i(()=>[t("#")]),_:1}),t("图标资源")]),j,N,o("div",$,[e(r)])])])}const X=l(u,[["render",B]]);export{X as default}; diff --git a/assets/elements-68ad626b.js b/assets/elements-23c82371.js similarity index 97% rename from assets/elements-68ad626b.js rename to assets/elements-23c82371.js index 72f976c8f50..254ae619746 100644 --- a/assets/elements-68ad626b.js +++ b/assets/elements-23c82371.js @@ -1 +1 @@ -import{ab as f,ac as e,ad as M,ae as p,af as V,a4 as P,ag as z,ah as m,ai as E,aj as F,ak as L}from"./index-af5fec45.js";import{e as h}from"./logger-525ef361.js";function U(t){const{left:n}=m(t);return n+(document.body.scrollLeft||document.documentElement.scrollLeft)}function Y(t){const{top:n}=m(t);return n+(document.body.scrollTop||document.documentElement.scrollTop)}function B(t){const{transform:n}=f(t);return+n.slice(n.lastIndexOf(",")+2,n.length-1)}function $(t){let n=t;for(;n&&!(!n.parentNode||(n=n.parentNode,n===document.body||n===document.documentElement));){const r=/(scroll|auto)/,{overflowY:o,overflow:s}=f(n);if(r.test(o)||r.test(s))return n}return window}function I(t){const n=[];let r=t;for(;!L(r);)r=$(r),n.push(r);return n}function G(t,n){if(e(t)){const r=document.querySelector(t);return r||h(n,"target element cannot found"),r}if(M(t))return t;h(n,'type of prop "target" should be a selector or an element object')}function j(){const{width:t,height:n}=m(window);return{vw:t,vh:n,vMin:Math.min(t,n),vMax:Math.max(t,n)}}const u=t=>e(t)&&t.endsWith("rem"),N=t=>e(t)&&t.endsWith("em")&&!t.endsWith("rem"),q=t=>e(t)&&t.endsWith("px")||p(t),A=t=>e(t)&&t.endsWith("%"),w=t=>e(t)&&t.endsWith("vw"),x=t=>e(t)&&t.endsWith("vh"),g=t=>e(t)&&t.endsWith("vmin"),S=t=>e(t)&&t.endsWith("vmax"),O=t=>e(t)&&t.startsWith("calc("),R=t=>e(t)&&t.startsWith("var("),k=t=>{if(p(t))return t;if(q(t))return+t.replace("px","");if(!V())return 0;const{vw:n,vh:r,vMin:o,vMax:s}=j();if(w(t))return+t.replace("vw","")*n/100;if(x(t))return+t.replace("vh","")*r/100;if(g(t))return+t.replace("vmin","")*o/100;if(S(t))return+t.replace("vmax","")*s/100;if(u(t)){const i=+t.replace("rem",""),c=f(document.documentElement).fontSize;return i*parseFloat(c)}return e(t)?P(t):0},y=t=>{if(t!=null)return A(t)||w(t)||x(t)||N(t)||u(t)||O(t)||R(t)||g(t)||S(t)?t:`${k(t)}px`},H=(t,n=1)=>{if(t==null)return;const r=y(t),o=r.match(/(vh|%|r?em|px|vw|vmin|vmax)$/)[0];return`${parseFloat(r)*n}${o}`};function J(t,{top:n=0,left:r=0,duration:o=300,animation:s}){const i=Date.now(),c=E(t),d=F(t);return new Promise(b=>{const l=()=>{const a=(Date.now()-i)/o;if(a<1){const W=c+(n-c)*s(a),T=d+(r-d)*s(a);t.scrollTo(T,W),requestAnimationFrame(l)}else t.scrollTo(r,n),b()};requestAnimationFrame(l)})}function K(t){return Object.entries(t??{}).reduce((n,[r,o])=>{const s=r.startsWith("--")?r:`--${z(r)}`;return n[s]=o,n},{})}function Q(t){return t==="start"||t==="end"?`flex-${t}`:t}export{y as a,I as b,G as c,U as d,Y as e,B as f,$ as g,K as h,H as m,Q as p,J as s,k as t}; +import{ab as f,ac as e,ad as M,ae as p,af as V,a4 as P,ag as z,ah as m,ai as E,aj as F,ak as L}from"./index-0bd4ebfc.js";import{e as h}from"./logger-525ef361.js";function U(t){const{left:n}=m(t);return n+(document.body.scrollLeft||document.documentElement.scrollLeft)}function Y(t){const{top:n}=m(t);return n+(document.body.scrollTop||document.documentElement.scrollTop)}function B(t){const{transform:n}=f(t);return+n.slice(n.lastIndexOf(",")+2,n.length-1)}function $(t){let n=t;for(;n&&!(!n.parentNode||(n=n.parentNode,n===document.body||n===document.documentElement));){const r=/(scroll|auto)/,{overflowY:o,overflow:s}=f(n);if(r.test(o)||r.test(s))return n}return window}function I(t){const n=[];let r=t;for(;!L(r);)r=$(r),n.push(r);return n}function G(t,n){if(e(t)){const r=document.querySelector(t);return r||h(n,"target element cannot found"),r}if(M(t))return t;h(n,'type of prop "target" should be a selector or an element object')}function j(){const{width:t,height:n}=m(window);return{vw:t,vh:n,vMin:Math.min(t,n),vMax:Math.max(t,n)}}const u=t=>e(t)&&t.endsWith("rem"),N=t=>e(t)&&t.endsWith("em")&&!t.endsWith("rem"),q=t=>e(t)&&t.endsWith("px")||p(t),A=t=>e(t)&&t.endsWith("%"),w=t=>e(t)&&t.endsWith("vw"),x=t=>e(t)&&t.endsWith("vh"),g=t=>e(t)&&t.endsWith("vmin"),S=t=>e(t)&&t.endsWith("vmax"),O=t=>e(t)&&t.startsWith("calc("),R=t=>e(t)&&t.startsWith("var("),k=t=>{if(p(t))return t;if(q(t))return+t.replace("px","");if(!V())return 0;const{vw:n,vh:r,vMin:o,vMax:s}=j();if(w(t))return+t.replace("vw","")*n/100;if(x(t))return+t.replace("vh","")*r/100;if(g(t))return+t.replace("vmin","")*o/100;if(S(t))return+t.replace("vmax","")*s/100;if(u(t)){const i=+t.replace("rem",""),c=f(document.documentElement).fontSize;return i*parseFloat(c)}return e(t)?P(t):0},y=t=>{if(t!=null)return A(t)||w(t)||x(t)||N(t)||u(t)||O(t)||R(t)||g(t)||S(t)?t:`${k(t)}px`},H=(t,n=1)=>{if(t==null)return;const r=y(t),o=r.match(/(vh|%|r?em|px|vw|vmin|vmax)$/)[0];return`${parseFloat(r)*n}${o}`};function J(t,{top:n=0,left:r=0,duration:o=300,animation:s}){const i=Date.now(),c=E(t),d=F(t);return new Promise(b=>{const l=()=>{const a=(Date.now()-i)/o;if(a<1){const W=c+(n-c)*s(a),T=d+(r-d)*s(a);t.scrollTo(T,W),requestAnimationFrame(l)}else t.scrollTo(r,n),b()};requestAnimationFrame(l)})}function K(t){return Object.entries(t??{}).reduce((n,[r,o])=>{const s=r.startsWith("--")?r:`--${z(r)}`;return n[s]=o,n},{})}function Q(t){return t==="start"||t==="end"?`flex-${t}`:t}export{y as a,I as b,G as c,U as d,Y as e,B as f,$ as g,K as h,H as m,Q as p,J as s,k as t}; diff --git a/assets/en-US-2ca79b6f.js b/assets/en-US-01877ad3.js similarity index 99% rename from assets/en-US-2ca79b6f.js rename to assets/en-US-01877ad3.js index 7bbcf0d0e24..8463c5ea529 100644 --- a/assets/en-US-2ca79b6f.js +++ b/assets/en-US-01877ad3.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"Link",-1),m={class:"card"},g={id:"Intro"},_=a("p",null,"Link component for hyperlink to web pages.",-1),u={class:"card"},v={id:"Theme-Color-Link"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as r,m as h,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"Link",-1),m={class:"card"},g={id:"Intro"},_=a("p",null,"Link component for hyperlink to web pages.",-1),u={class:"card"},v={id:"Theme-Color-Link"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},":size"),s("="),a("span",{class:"hljs-string"},'"[10, 10]"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-link"),s(">")]),s("Default Link"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-link"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Primary Link"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-55f7ff5b.js b/assets/en-US-03984a35.js similarity index 99% rename from assets/en-US-55f7ff5b.js rename to assets/en-US-03984a35.js index 69359aa3ca2..c990f8b0c86 100644 --- a/assets/en-US-55f7ff5b.js +++ b/assets/en-US-03984a35.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as p,m as r,p as t,q as a,w as l,Q as s,Z as o}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Tooltip",-1),g={class:"card"},m={id:"Intro"},_=t("p",null,"Displays a tooltip when the element is clicked or hovered, and changes the display position of the tooltip by controlling the placement and offset.",-1),u={class:"card"},v={id:"Basic-Usage"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as c,e as p,m as r,p as t,q as a,w as l,Q as s,Z as o}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Tooltip",-1),g={class:"card"},m={id:"Intro"},_=t("p",null,"Displays a tooltip when the element is clicked or hovered, and changes the display position of the tooltip by controlling the placement and offset.",-1),u={class:"card"},v={id:"Basic-Usage"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-tooltip"),s(),t("span",{class:"hljs-attr"},"content"),s("="),t("span",{class:"hljs-string"},'"Tooltip"'),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-button"),s(),t("span",{class:"hljs-attr"},"type"),s("="),t("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Basic Usage"),t("span",{class:"hljs-tag"},[s("")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-e0ee1690.js b/assets/en-US-0b626b7d.js similarity index 99% rename from assets/en-US-e0ee1690.js rename to assets/en-US-0b626b7d.js index 5b3cb43a2e0..5ed0393f0bb 100644 --- a/assets/en-US-e0ee1690.js +++ b/assets/en-US-0b626b7d.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as i,p as t,q as a,w as n,Q as s,Z as p}from"./index-af5fec45.js";const d={components:{}},h={class:"varlet-site-doc"},j=t("h1",null,"Lazy",-1),g={class:"card"},u={id:"Intro"},m=t("p",null,"Load when the image is visible.",-1),_={class:"card"},b={id:"Basic-Use"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as r,m as i,p as t,q as a,w as n,Q as s,Z as p}from"./index-0bd4ebfc.js";const d={components:{}},h={class:"varlet-site-doc"},j=t("h1",null,"Lazy",-1),g={class:"card"},u={id:"Intro"},m=t("p",null,"Load when the image is visible.",-1),_={class:"card"},b={id:"Basic-Use"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"img"),s(),t("span",{class:"hljs-attr"},"class"),s("="),t("span",{class:"hljs-string"},'"lazy-example-cat"'),s(),t("span",{class:"hljs-attr"},"v-lazy"),s("="),t("span",{class:"hljs-string"},`"'https://varlet.gitee.io/varlet-ui/cat.jpg'"`),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-f2b8361a.js b/assets/en-US-138ac735.js similarity index 99% rename from assets/en-US-f2b8361a.js rename to assets/en-US-138ac735.js index 1f7be0e05e5..c0e6d4e8a7a 100644 --- a/assets/en-US-f2b8361a.js +++ b/assets/en-US-138ac735.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Badge",-1),g={class:"card"},m={id:"Badge-Type"},u=a("p",null,[s("Set the badge type through the "),a("code",null,"type"),s(" attribute.")],-1),_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Badge",-1),g={class:"card"},m={id:"Badge-Type"},u=a("p",null,[s("Set the badge type through the "),a("code",null,"type"),s(" attribute.")],-1),_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-badge"),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-badge"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(" />")]),s(` diff --git a/assets/en-US-181b16b3.js b/assets/en-US-13da3420.js similarity index 95% rename from assets/en-US-181b16b3.js rename to assets/en-US-13da3420.js index b9065d197a0..31b2370ecbf 100644 --- a/assets/en-US-181b16b3.js +++ b/assets/en-US-13da3420.js @@ -1 +1 @@ -import{_ as r,b as a,e as n,m as i,p as t,q as o,w as c,Q as e,Z as s}from"./index-af5fec45.js";const h={components:{}},l={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},p={id:"Props"},b=s("
PropDescriptionTypeDefault
nameNamestring | numberindex
titleTitlestring | number-
iconIcon namestringchevron-down
disabledWhether to disable collapsebooleanfalse
",1),u={class:"card"},f={id:"Slots"},v=s("
NameDescriptionSlotProps
defaultContent-
titleTitle-
iconCustom right icon-
",1);function x(N,P,S,y,g,k){const d=a("router-link");return n(),i("div",l,[_,t("div",m,[t("h3",p,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),b]),t("div",u,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),v])])}const T=r(h,[["render",x]]);export{T as default}; +import{_ as r,b as a,e as n,m as i,p as t,q as o,w as c,Q as e,Z as s}from"./index-0bd4ebfc.js";const h={components:{}},l={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},p={id:"Props"},b=s("
PropDescriptionTypeDefault
nameNamestring | numberindex
titleTitlestring | number-
iconIcon namestringchevron-down
disabledWhether to disable collapsebooleanfalse
",1),u={class:"card"},f={id:"Slots"},v=s("
NameDescriptionSlotProps
defaultContent-
titleTitle-
iconCustom right icon-
",1);function x(N,P,S,y,g,k){const d=a("router-link");return n(),i("div",l,[_,t("div",m,[t("h3",p,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),b]),t("div",u,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),v])])}const T=r(h,[["render",x]]);export{T as default}; diff --git a/assets/en-US-a6e87167.js b/assets/en-US-16bb4b1d.js similarity index 96% rename from assets/en-US-a6e87167.js rename to assets/en-US-16bb4b1d.js index 317822baff6..5aa2ca3208d 100644 --- a/assets/en-US-a6e87167.js +++ b/assets/en-US-16bb4b1d.js @@ -1 +1 @@ -import{_ as n,b as s,e as r,m as a,p as t,q as o,w as c,Q as e,Z as i}from"./index-af5fec45.js";const l={components:{}},m={class:"varlet-site-doc"},_=t("h2",null,"API",-1),h={class:"card"},u={id:"Props"},p=i("
PropDescriptionTypeDefault
active-iconActive icon namestringcheck
current-iconCurrent icon namestring-
inactive-iconInactive icon namestring-
active-icon-namespaceActive icon namespacestringvar-icon
current-icon-namespaceCurrent icon namespacestringvar-icon
inactive-icon-namespaceInactive icon namespacestringvar-icon
",1),v={class:"card"},f={id:"Slots"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Content of step"),t("td",null,[t("code",null,"-")])])])],-1);function g(P,S,k,x,C,N){const d=s("router-link");return r(),a("div",m,[_,t("div",h,[t("h3",u,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",v,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),b])])}const V=n(l,[["render",g]]);export{V as default}; +import{_ as n,b as s,e as r,m as a,p as t,q as o,w as c,Q as e,Z as i}from"./index-0bd4ebfc.js";const l={components:{}},m={class:"varlet-site-doc"},_=t("h2",null,"API",-1),h={class:"card"},u={id:"Props"},p=i("
PropDescriptionTypeDefault
active-iconActive icon namestringcheck
current-iconCurrent icon namestring-
inactive-iconInactive icon namestring-
active-icon-namespaceActive icon namespacestringvar-icon
current-icon-namespaceCurrent icon namespacestringvar-icon
inactive-icon-namespaceInactive icon namespacestringvar-icon
",1),v={class:"card"},f={id:"Slots"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Content of step"),t("td",null,[t("code",null,"-")])])])],-1);function g(P,S,k,x,C,N){const d=s("router-link");return r(),a("div",m,[_,t("div",h,[t("h3",u,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",v,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),b])])}const V=n(l,[["render",g]]);export{V as default}; diff --git a/assets/en-US-075c3db8.js b/assets/en-US-1d6e0e09.js similarity index 99% rename from assets/en-US-075c3db8.js rename to assets/en-US-1d6e0e09.js index b30d337f05d..c23dde9565e 100644 --- a/assets/en-US-075c3db8.js +++ b/assets/en-US-1d6e0e09.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as d,m as p,p as a,q as t,w as l,Q as s,Z as r}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Progress",-1),g={class:"card"},m={id:"Intro"},u=a("p",null,"Display the current progress of an operation flow.",-1),v={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as d,m as p,p as a,q as t,w as l,Q as s,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Progress",-1),g={class:"card"},m={id:"Intro"},u=a("p",null,"Display the current progress of an operation flow.",-1),v={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref, onMounted, onUnmounted } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/en-US-77be88de.js b/assets/en-US-1db7e084.js similarity index 99% rename from assets/en-US-77be88de.js rename to assets/en-US-1db7e084.js index 489a8260254..bc296fccc74 100644 --- a/assets/en-US-77be88de.js +++ b/assets/en-US-1db7e084.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as h,m as p,p as a,q as t,w as e,Q as s,Z as c}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Menu",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Displays a menu when the element is clicked, and changes the display position of the menu by controlling the placement and offset.",-1),v={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as o,e as h,m as p,p as a,q as t,w as e,Q as s,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Menu",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Displays a menu when the element is clicked, and changes the display position of the menu by controlling the placement and offset.",-1),v={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-menu"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Basic Usage"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-37c2a86d.js b/assets/en-US-204ddd07.js similarity index 95% rename from assets/en-US-37c2a86d.js rename to assets/en-US-204ddd07.js index 94f46dd2937..9349685f908 100644 --- a/assets/en-US-37c2a86d.js +++ b/assets/en-US-204ddd07.js @@ -1 +1 @@ -import{_ as l,b as c,e as n,m as a,p as t,q as d,w as s,Q as e,Z as r}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
v-model:activeThe identity of the active tabstring | number-
can-swipeWhether to allow swipe switchbooleantrue
loopWhether to allow cycle switchingbooleanfalse
",1),b={class:"card"},f={id:"Slots"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"TabsItems content"),t("td",null,[t("code",null,"-")])])])],-1);function w(y,P,S,x,N,k){const o=c("router-link");return n(),a("div",h,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),v])])}const V=l(i,[["render",w]]);export{V as default}; +import{_ as l,b as c,e as n,m as a,p as t,q as d,w as s,Q as e,Z as r}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
v-model:activeThe identity of the active tabstring | number-
can-swipeWhether to allow swipe switchbooleantrue
loopWhether to allow cycle switchingbooleanfalse
",1),b={class:"card"},f={id:"Slots"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"TabsItems content"),t("td",null,[t("code",null,"-")])])])],-1);function w(y,P,S,x,N,k){const o=c("router-link");return n(),a("div",h,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),v])])}const V=l(i,[["render",w]]);export{V as default}; diff --git a/assets/en-US-5b1b345e.js b/assets/en-US-206e123f.js similarity index 99% rename from assets/en-US-5b1b345e.js rename to assets/en-US-206e123f.js index 5e2c14dd174..0cd4ca44e7e 100644 --- a/assets/en-US-5b1b345e.js +++ b/assets/en-US-206e123f.js @@ -1,4 +1,4 @@ -import{_ as c,b as o,e as r,m as h,p as t,q as a,w as e,Q as s,Z as d}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},u=t("h1",null,"FloatingPanel",-1),g={class:"card"},_={id:"Intro"},m=t("p",null,"A panel floating at the bottom of the page, is often used to provide additional functionality or information, allowing users to freely drag up and down through content.",-1),j={class:"card"},f={id:"Basic-Usage"},b=t("p",null,[s("The default height of the FloatingPanel is "),t("code",null,"100px"),s(", allowing dragging to expand or shrink the panel, and the default maximum height of the expansion is "),t("code",null,"60%"),s(" of the screen.")],-1),v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as c,b as o,e as r,m as h,p as t,q as a,w as e,Q as s,Z as d}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},u=t("h1",null,"FloatingPanel",-1),g={class:"card"},_={id:"Intro"},m=t("p",null,"A panel floating at the bottom of the page, is often used to provide additional functionality or information, allowing users to freely drag up and down through content.",-1),j={class:"card"},f={id:"Basic-Usage"},b=t("p",null,[s("The default height of the FloatingPanel is "),t("code",null,"100px"),s(", allowing dragging to expand or shrink the panel, and the default maximum height of the expansion is "),t("code",null,"60%"),s(" of the screen.")],-1),v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-floating-panel"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"div"),s(),t("span",{class:"hljs-attr"},"style"),s("="),t("span",{class:"hljs-string"},'"text-align: center; padding: 5px 15px"'),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"p"),s(">")]),s("Drag panel"),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-e62638a5.js b/assets/en-US-22a9b9ad.js similarity index 99% rename from assets/en-US-e62638a5.js rename to assets/en-US-22a9b9ad.js index f8d473a111d..5e6b41bb4f0 100644 --- a/assets/en-US-e62638a5.js +++ b/assets/en-US-22a9b9ad.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as p,m as h,p as a,q as t,w as n,Q as s,Z as o}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Space",-1),u={class:"card"},m={id:"Intro"},_=a("p",null,[s("The component library provides two auxiliary layout components, "),a("code",null,""),s(", so that you can do flex layout more efficiently.")],-1),g={class:"card"},v={id:"Basic-use"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as c,e as p,m as h,p as a,q as t,w as n,Q as s,Z as o}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Space",-1),u={class:"card"},m={id:"Intro"},_=a("p",null,[s("The component library provides two auxiliary layout components, "),a("code",null,""),s(", so that you can do flex layout more efficiently.")],-1),g={class:"card"},v={id:"Basic-use"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(">")]),s("Button1"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(">")]),s("Button2"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-dd2c741b.js b/assets/en-US-2344e143.js similarity index 99% rename from assets/en-US-dd2c741b.js rename to assets/en-US-2344e143.js index 73d8ef685f8..f3a397fdf3f 100644 --- a/assets/en-US-dd2c741b.js +++ b/assets/en-US-2344e143.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as p,p as t,q as a,w as l,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Skeleton",-1),m={class:"card"},u={id:"Intro"},g=t("p",null,"Display some space occupying elements with transition effect to optimize the loading process.",-1),_={class:"card"},f={id:"Basic-Use"},v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as p,p as t,q as a,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Skeleton",-1),m={class:"card"},u={id:"Intro"},g=t("p",null,"Display some space occupying elements with transition effect to optimize the loading process.",-1),_={class:"card"},f={id:"Basic-Use"},v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" loading = ref("),t("span",{class:"hljs-literal"},"true"),s(`) diff --git a/assets/en-US-077ab761.js b/assets/en-US-25941360.js similarity index 99% rename from assets/en-US-077ab761.js rename to assets/en-US-25941360.js index d6be69bafec..0cef1b2277d 100644 --- a/assets/en-US-077ab761.js +++ b/assets/en-US-25941360.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as t,q as e,w as a,Q as s,Z as l}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},u=t("h1",null,"Counter",-1),m={class:"card"},j={id:"Basic-Usage"},g=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as h,p as t,q as e,w as a,Q as s,Z as l}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},u=t("h1",null,"Counter",-1),m={class:"card"},j={id:"Basic-Usage"},g=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" value = ref("),t("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/en-US-eec75ad0.js b/assets/en-US-32b21d56.js similarity index 99% rename from assets/en-US-eec75ad0.js rename to assets/en-US-32b21d56.js index fadf087b996..e0fd8f75d91 100644 --- a/assets/en-US-eec75ad0.js +++ b/assets/en-US-32b21d56.js @@ -1,4 +1,4 @@ -import{_ as i,b as p,e as h,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const o={components:{}},d={class:"varlet-site-doc"},j=a("h1",null,"Swipe",-1),m={class:"card"},g={id:"Basic-Usage"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as i,b as p,e as h,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const o={components:{}},d={class:"varlet-site-doc"},j=a("h1",null,"Swipe",-1),m={class:"card"},g={id:"Basic-Usage"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-swipe"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"swipe-example"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-swipe-item"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"img"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"swipe-example-image"'),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(">")]),s(` diff --git a/assets/en-US-9a77638d.js b/assets/en-US-33e1ec1c.js similarity index 99% rename from assets/en-US-9a77638d.js rename to assets/en-US-33e1ec1c.js index f5e3ce70fdb..b1428ea0e6d 100644 --- a/assets/en-US-9a77638d.js +++ b/assets/en-US-33e1ec1c.js @@ -1,4 +1,4 @@ -import{_ as o,b as r,e as p,m as h,p as a,q as l,w as n,Q as s,Z as e}from"./index-af5fec45.js";const d={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Form",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Provides the ability to control all form components.",-1),v={class:"card"},b={id:"Form-Example"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as r,e as p,m as h,p as a,q as l,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const d={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Form",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Provides the ability to control all form components.",-1),v={class:"card"},b={id:"Form-Example"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { reactive, ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` formData = reactive({ diff --git a/assets/en-US-792e46e8.js b/assets/en-US-3b9cbeb8.js similarity index 53% rename from assets/en-US-792e46e8.js rename to assets/en-US-3b9cbeb8.js index 7382b4bc286..1602079b422 100644 --- a/assets/en-US-792e46e8.js +++ b/assets/en-US-3b9cbeb8.js @@ -1,4 +1,4 @@ -import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./index-af5fec45.js";const p={components:{}},h={class:"varlet-site-doc"},m=t("h1",null,"TimePicker",-1),j={class:"card"},u={id:"Intro"},_=t("p",null,"Used to select time.",-1),k={class:"card"},g={id:"Basic-Usage"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./index-0bd4ebfc.js";const p={components:{}},h={class:"varlet-site-doc"},m=t("h1",null,"TimePicker",-1),j={class:"card"},u={id:"Intro"},_=t("p",null,"Used to select a time.",-1),k={class:"card"},g={id:"Basic-Usage"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'11:20'"),s(`) @@ -25,7 +25,7 @@ import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./ind `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(),t("span",{class:"hljs-attr"},"format"),s("="),t("span",{class:"hljs-string"},'"24hr"'),s(),t("span",{class:"hljs-attr"},"use-seconds"),s(" />")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),E={class:"card"},I={id:"Readonly"},C=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +`)])],-1),I={class:"card"},U={id:"Readonly"},V=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'07:10'"),s(`) @@ -34,7 +34,7 @@ import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./ind `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(),t("span",{class:"hljs-attr"},"readonly"),s(),t("span",{class:"hljs-attr"},"elevation"),s(" />")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),U={class:"card"},V={id:"Time-Limit"},L=t("p",null,[s("Use "),t("code",null,"min"),s(", "),t("code",null,"max"),s(" and "),t("code",null,"allowed-time"),s(" prop to allow the maximum and minimum time.")],-1),B=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +`)])],-1),C={class:"card"},E={id:"Time-Limit"},B=t("p",null,[s("Use "),t("code",null,"min"),s(", "),t("code",null,"max"),s(" and "),t("code",null,"allowed-time"),s(" prop to allow the maximum and minimum time.")],-1),D=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'07:10:12'"),s(`) @@ -56,7 +56,7 @@ import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./ind `),t("span",{class:"hljs-attr"},":allowed-time"),s("="),t("span",{class:"hljs-string"},'"allowedTime"'),s(` />`)]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),D={class:"card"},F={id:"Custom"},z=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +`)])],-1),F={class:"card"},L={id:"Custom"},A=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'05:10'"),s(`) @@ -77,4 +77,4 @@ import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./ind @`),t("span",{class:"hljs-attr"},"change"),s("="),t("span",{class:"hljs-string"},'"change"'),s(` />`)]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),A=t("h2",null,"API",-1),H={class:"card"},R={id:"Props"},N=o("
PropDescriptionTypeDefault
v-modelSelected time(ISO 8601 format, HH:mm or HH:mm:ssstring-
formatPicker type, optional values ampm 24hrstringampm
colorPicker colorstring-
title-colorColor of picker title. If not specified it will use the color defined by color prop or the default picker color.string-
hintPicker hintstringSELECT TIME
elevationElevation level, options true false and level of 0-24string | number | booleanfalse
minMinimum allowed time (ISO 8601 format)string-
maxMaximum allowed time (ISO 8601 format)string-
allowed-timeRestricts which time can be selectedAllowedTime-
readonlyReadonlybooleanfalse
use-secondsWhether to display secondsbooleanfalse
",1),$={class:"card"},M={id:"TimePicker-AllowedTime"},O=o("
PropDescriptionTypeDefault
hoursLimit the optional hourFunction: hour => boolean-
minutesLimit the optional minuteFunction: minute => boolean-
secondsLimit the optional secondFunction: second => boolean-
",1),q={class:"card"},Q={id:"Events"},W=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"change")]),t("td",null,"Emitted after time changed"),t("td",null,[t("code",null,"value: string")])])])],-1),Z={class:"card"},G={id:"Style-Variables"},J=o('

Here are the CSS variables used by the component. Styles can be customized using StyleProvider.

VariableDefault
--time-picker-border-radius4px
--time-picker-font-sizevar(--font-size-md)
--time-picker-min-width290px
--time-picker-height385px
--time-picker-title-height105px
--time-picker-title-padding16px
--time-picker-title-color#fff
--time-picker-title-margin-bottom8px
--time-picker-title-hint-font-size16px
--time-picker-title-backgroundvar(--color-primary)
--time-picker-title-time-font-size50px
--time-picker-title-time-margin0 5px
--time-picker-title-ampm-margin-left5px
--time-picker-clock-left27px
--time-picker-clock-right27px
--time-picker-clock-top27px
--time-picker-clock-bottom27px
--time-picker-clock-container-width256px
--time-picker-clock-container-height256px
--time-picker-clock-container-background#e0e0e0
--time-picker-clock-hand-heightcalc(50% - 4px)
--time-picker-clock-hand-width2px
--time-picker-clock-hand-bottom50%
--time-picker-clock-hand-leftcalc(50% - 1px)
--time-picker-clock-hand-backgroundvar(--color-primary)
--time-picker-clock-hand-border-colorvar(--color-primary)
--time-picker-clock-hand-before-width10px
--time-picker-clock-hand-before-height10px
--time-picker-clock-hand-before-border-width2px
--time-picker-clock-hand-after-width4px
--time-picker-clock-hand-after-height4px
--time-picker-clock-item-height32px
--time-picker-clock-item-width32px
--time-picker-clock-item-active-backgroundvar(--color-primary)
--time-picker-clock-item-active-color#fff
--time-picker-clock-item-disable-colorrgba(0, 0, 0, 0.26)
--time-picker-clock-item-text-color#555
--time-picker-inner-left36px
--time-picker-inner-right36px
--time-picker-inner-top36px
--time-picker-inner-bottom36px
--time-picker-body-background#fff
',2);function K(X,Y,tt,st,et,dt){const c=l("router-link"),a=l("var-site-code-example");return r(),i("div",h,[m,t("div",j,[t("h3",u,[e(c,{to:"#Intro"},{default:d(()=>[s("#")]),_:1}),s("Intro")]),_]),t("div",k,[t("h3",g,[e(c,{to:"#Basic-Usage"},{default:d(()=>[s("#")]),_:1}),s("Basic Usage")]),e(a,null,{default:d(()=>[f]),_:1})]),t("div",v,[t("h3",b,[e(c,{to:"#24hr-Format"},{default:d(()=>[s("#")]),_:1}),s("24hr Format")]),y,e(a,null,{default:d(()=>[w]),_:1})]),t("div",x,[t("h3",S,[e(c,{to:"#Show-Seconds"},{default:d(()=>[s("#")]),_:1}),s("Show Seconds")]),T,e(a,null,{default:d(()=>[P]),_:1})]),t("div",E,[t("h3",I,[e(c,{to:"#Readonly"},{default:d(()=>[s("#")]),_:1}),s("Readonly")]),e(a,null,{default:d(()=>[C]),_:1})]),t("div",U,[t("h3",V,[e(c,{to:"#Time-Limit"},{default:d(()=>[s("#")]),_:1}),s("Time Limit")]),L,e(a,null,{default:d(()=>[B]),_:1})]),t("div",D,[t("h3",F,[e(c,{to:"#Custom"},{default:d(()=>[s("#")]),_:1}),s("Custom")]),e(a,null,{default:d(()=>[z]),_:1})]),A,t("div",H,[t("h3",R,[e(c,{to:"#Props"},{default:d(()=>[s("#")]),_:1}),s("Props")]),N]),t("div",$,[t("h3",M,[e(c,{to:"#TimePicker-AllowedTime"},{default:d(()=>[s("#")]),_:1}),s("TimePicker AllowedTime")]),O]),t("div",q,[t("h3",Q,[e(c,{to:"#Events"},{default:d(()=>[s("#")]),_:1}),s("Events")]),W]),t("div",Z,[t("h3",G,[e(c,{to:"#Style-Variables"},{default:d(()=>[s("#")]),_:1}),s("Style Variables")]),J])])}const at=n(p,[["render",K]]);export{at as default}; +`)])],-1),H=t("h2",null,"API",-1),R={class:"card"},z={id:"Props"},N=o("
PropDescriptionTypeDefault
v-modelSelected time(ISO 8601 format, HH:mm or HH:mm:ssstring-
formatPicker type, optional values ampm 24hrstringampm
colorPicker colorstring-
title-colorColor of picker title. If not specified it will use the color defined by color prop or the default picker color.string-
elevationElevation level, options true false and level of 0-24string | number | booleanfalse
minMinimum allowed time (ISO 8601 format)string-
maxMaximum allowed time (ISO 8601 format)string-
allowed-timeRestricts which time can be selectedAllowedTime-
readonlyReadonlybooleanfalse
use-secondsWhether to display secondsbooleanfalse
",1),$={class:"card"},O={id:"TimePicker-AllowedTime"},M=o("
PropDescriptionTypeDefault
hoursLimit the optional hourFunction: hour => boolean-
minutesLimit the optional minuteFunction: minute => boolean-
secondsLimit the optional secondFunction: second => boolean-
",1),q={class:"card"},Q={id:"Events"},W=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"change")]),t("td",null,"Emitted after time changed"),t("td",null,[t("code",null,"value: string")])])])],-1),Z={class:"card"},G={id:"Style-Variables"},J=o('

Here are the CSS variables used by the component. Styles can be customized using StyleProvider.

VariableDefault
--time-picker-border-radius4px
--time-picker-font-sizevar(--font-size-md)
--time-picker-min-width290px
--time-picker-height385px
--time-picker-title-height105px
--time-picker-title-padding16px
--time-picker-title-color#fff
--time-picker-title-backgroundvar(--color-primary)
--time-picker-title-time-font-size50px
--time-picker-title-time-margin0 5px
--time-picker-title-ampm-margin-left5px
--time-picker-clock-left27px
--time-picker-clock-right27px
--time-picker-clock-top27px
--time-picker-clock-bottom27px
--time-picker-clock-container-width256px
--time-picker-clock-container-height256px
--time-picker-clock-container-background#e0e0e0
--time-picker-clock-hand-heightcalc(50% - 4px)
--time-picker-clock-hand-width2px
--time-picker-clock-hand-bottom50%
--time-picker-clock-hand-leftcalc(50% - 1px)
--time-picker-clock-hand-backgroundvar(--color-primary)
--time-picker-clock-hand-border-colorvar(--color-primary)
--time-picker-clock-hand-before-width10px
--time-picker-clock-hand-before-height10px
--time-picker-clock-hand-before-border-width2px
--time-picker-clock-hand-after-width4px
--time-picker-clock-hand-after-height4px
--time-picker-clock-item-height32px
--time-picker-clock-item-width32px
--time-picker-clock-item-active-backgroundvar(--color-primary)
--time-picker-clock-item-active-color#fff
--time-picker-clock-item-disable-colorrgba(0, 0, 0, 0.26)
--time-picker-clock-item-text-color#555
--time-picker-inner-left36px
--time-picker-inner-right36px
--time-picker-inner-top36px
--time-picker-inner-bottom36px
--time-picker-body-background#fff
',2);function K(X,Y,tt,st,et,dt){const c=l("router-link"),a=l("var-site-code-example");return r(),i("div",h,[m,t("div",j,[t("h3",u,[e(c,{to:"#Intro"},{default:d(()=>[s("#")]),_:1}),s("Intro")]),_]),t("div",k,[t("h3",g,[e(c,{to:"#Basic-Usage"},{default:d(()=>[s("#")]),_:1}),s("Basic Usage")]),e(a,null,{default:d(()=>[f]),_:1})]),t("div",v,[t("h3",b,[e(c,{to:"#24hr-Format"},{default:d(()=>[s("#")]),_:1}),s("24hr Format")]),y,e(a,null,{default:d(()=>[w]),_:1})]),t("div",x,[t("h3",S,[e(c,{to:"#Show-Seconds"},{default:d(()=>[s("#")]),_:1}),s("Show Seconds")]),T,e(a,null,{default:d(()=>[P]),_:1})]),t("div",I,[t("h3",U,[e(c,{to:"#Readonly"},{default:d(()=>[s("#")]),_:1}),s("Readonly")]),e(a,null,{default:d(()=>[V]),_:1})]),t("div",C,[t("h3",E,[e(c,{to:"#Time-Limit"},{default:d(()=>[s("#")]),_:1}),s("Time Limit")]),B,e(a,null,{default:d(()=>[D]),_:1})]),t("div",F,[t("h3",L,[e(c,{to:"#Custom"},{default:d(()=>[s("#")]),_:1}),s("Custom")]),e(a,null,{default:d(()=>[A]),_:1})]),H,t("div",R,[t("h3",z,[e(c,{to:"#Props"},{default:d(()=>[s("#")]),_:1}),s("Props")]),N]),t("div",$,[t("h3",O,[e(c,{to:"#TimePicker-AllowedTime"},{default:d(()=>[s("#")]),_:1}),s("TimePicker AllowedTime")]),M]),t("div",q,[t("h3",Q,[e(c,{to:"#Events"},{default:d(()=>[s("#")]),_:1}),s("Events")]),W]),t("div",Z,[t("h3",G,[e(c,{to:"#Style-Variables"},{default:d(()=>[s("#")]),_:1}),s("Style Variables")]),J])])}const at=n(p,[["render",K]]);export{at as default}; diff --git a/assets/en-US-d66a47cd.js b/assets/en-US-3cbaca17.js similarity index 99% rename from assets/en-US-d66a47cd.js rename to assets/en-US-3cbaca17.js index 1b8c8c05ded..f30b90ece35 100644 --- a/assets/en-US-d66a47cd.js +++ b/assets/en-US-3cbaca17.js @@ -1,4 +1,4 @@ -import{_ as d,b as r,e as h,m as o,p as a,q as t,w as e,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},m={class:"varlet-site-doc"},i=a("h1",null,"Breadcrumbs",-1),j={class:"card"},b={id:"Intro"},u=a("p",null,"Used to display information hierarchically.",-1),_={class:"card"},g={id:"Basic-Usage"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as r,e as h,m as o,p as a,q as t,w as e,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},m={class:"varlet-site-doc"},i=a("h1",null,"Breadcrumbs",-1),j={class:"card"},b={id:"Intro"},u=a("p",null,"Used to display information hierarchically.",-1),_={class:"card"},g={id:"Basic-Usage"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-breadcrumbs"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-breadcrumb"),s(">")]),s("Home"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-breadcrumb"),s(">")]),s("Link 1"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-28f27883.js b/assets/en-US-41708928.js similarity index 99% rename from assets/en-US-28f27883.js rename to assets/en-US-41708928.js index eaefe15fab4..bf34206539a 100644 --- a/assets/en-US-28f27883.js +++ b/assets/en-US-41708928.js @@ -1,4 +1,4 @@ -import{_ as n,b as l,e as r,m as p,p as s,q as e,w as d,Q as t,Z as o}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},m=s("h1",null,"DatePicker",-1),j={class:"card"},u={id:"Intro"},g=s("p",null,"Used to select a date or date range.",-1),_={class:"card"},f={id:"Basic-Usage"},y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +import{_ as n,b as l,e as r,m as p,p as s,q as e,w as d,Q as t,Z as o}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},m=s("h1",null,"DatePicker",-1),j={class:"card"},u={id:"Intro"},g=s("p",null,"Used to select a date or date range.",-1),_={class:"card"},f={id:"Basic-Usage"},y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` `),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` `),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'2021-04-08'"),t(`) diff --git a/assets/en-US-59cf7397.js b/assets/en-US-467104ae.js similarity index 99% rename from assets/en-US-59cf7397.js rename to assets/en-US-467104ae.js index 56d1b66b081..c06d2833978 100644 --- a/assets/en-US-59cf7397.js +++ b/assets/en-US-467104ae.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Table",-1),m={class:"card"},g={id:"Intro"},b=a("p",null,"A minimal table, when you need to display some data in the form of a table, you may use it.",-1),u={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Table",-1),m={class:"card"},g={id:"Intro"},b=a("p",null,"A minimal table, when you need to display some data in the form of a table, you may use it.",-1),u={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-table"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"thead"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"tr"),s(">")]),s(` diff --git a/assets/en-US-c6c3e7f2.js b/assets/en-US-48205723.js similarity index 94% rename from assets/en-US-c6c3e7f2.js rename to assets/en-US-48205723.js index beff791e3f0..a2baa2e9976 100644 --- a/assets/en-US-c6c3e7f2.js +++ b/assets/en-US-48205723.js @@ -1 +1 @@ -import{_ as l,b as a,e as n,m as r,p as t,q as d,w as s,Q as e,Z as c}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},f=c("
PropDescriptionTypeDefault
offsetAvatar Offset within Avatar Groupnumber | string-
verticalWhether the group avatars are vertically alignedbooleanfalse
",1),m={class:"card"},v={id:"Slots"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Avatar group content"),t("td",null,[t("code",null,"-")])])])],-1);function P(S,x,y,N,g,k){const o=a("router-link");return n(),r("div",h,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),f]),t("div",m,[t("h3",v,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),b])])}const V=l(i,[["render",P]]);export{V as default}; +import{_ as l,b as a,e as n,m as r,p as t,q as d,w as s,Q as e,Z as c}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},f=c("
PropDescriptionTypeDefault
offsetAvatar Offset within Avatar Groupnumber | string-
verticalWhether the group avatars are vertically alignedbooleanfalse
",1),m={class:"card"},v={id:"Slots"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Avatar group content"),t("td",null,[t("code",null,"-")])])])],-1);function P(S,x,y,N,g,k){const o=a("router-link");return n(),r("div",h,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),f]),t("div",m,[t("h3",v,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),b])])}const V=l(i,[["render",P]]);export{V as default}; diff --git a/assets/en-US-5e5b0477.js b/assets/en-US-4b8a2020.js similarity index 99% rename from assets/en-US-5e5b0477.js rename to assets/en-US-4b8a2020.js index 58346bd8c38..ac499c4f14e 100644 --- a/assets/en-US-5e5b0477.js +++ b/assets/en-US-4b8a2020.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as p,p as t,q as a,w as e,Q as s,Z as n}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Steps",-1),m={class:"card"},v={id:"Intro"},g=t("p",null,"Steps is a navigation bar that guides users through the steps of a task.",-1),_={class:"card"},u={id:"Basic-Usage"},f=t("p",null,[s("Use "),t("code",null,"active"),s(" prop to control the progress of step, value is index of step and is counted from "),t("code",null,"0"),s(".")],-1),b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as p,p as t,q as a,w as e,Q as s,Z as n}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Steps",-1),m={class:"card"},v={id:"Intro"},g=t("p",null,"Steps is a navigation bar that guides users through the steps of a task.",-1),_={class:"card"},u={id:"Basic-Usage"},f=t("p",null,[s("Use "),t("code",null,"active"),s(" prop to control the progress of step, value is index of step and is counted from "),t("code",null,"0"),s(".")],-1),b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" active = ref("),t("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/en-US-e90ddad5.js b/assets/en-US-4ffd7b80.js similarity index 99% rename from assets/en-US-e90ddad5.js rename to assets/en-US-4ffd7b80.js index ebce51086d6..d5cd1e00d4a 100644 --- a/assets/en-US-e90ddad5.js +++ b/assets/en-US-4ffd7b80.js @@ -1,4 +1,4 @@ -import{_ as r,b as d,e as o,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Slider",-1),u={class:"card"},m={id:"Intro"},g=a("p",null,"Used to take values within a given range.",-1),_={class:"card"},v={id:"Basic-Usage"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as r,b as d,e as o,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Slider",-1),u={class:"card"},m={id:"Intro"},g=a("p",null,"Used to take values within a given range.",-1),_={class:"card"},v={id:"Basic-Usage"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-number"},"3"),s(`) diff --git a/assets/en-US-54b2cb21.js b/assets/en-US-50f7a798.js similarity index 99% rename from assets/en-US-54b2cb21.js rename to assets/en-US-50f7a798.js index 578cfabb00f..97f683ff8e0 100644 --- a/assets/en-US-54b2cb21.js +++ b/assets/en-US-50f7a798.js @@ -1,4 +1,4 @@ -import{_ as l,b as o,e as r,m as h,p as s,q as e,w as d,Q as t,Z as n}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},m=s("h1",null,"IndexBar",-1),b={class:"card"},_={id:"Intro"},u=s("p",null,"Hyperlinks to scroll on one page.",-1),j={class:"card"},g={id:"Basic-Usage"},x=s("p",null,[t("When you click the index bar, it will automatically jump to the corresponding "),s("code",null,"IndexAnchor"),t(" anchor position.")],-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +import{_ as l,b as o,e as r,m as h,p as s,q as e,w as d,Q as t,Z as n}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},m=s("h1",null,"IndexBar",-1),b={class:"card"},_={id:"Intro"},u=s("p",null,"Hyperlinks to scroll on one page.",-1),j={class:"card"},g={id:"Basic-Usage"},x=s("p",null,[t("When you click the index bar, it will automatically jump to the corresponding "),s("code",null,"IndexAnchor"),t(" anchor position.")],-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` `),s("span",{class:"hljs-keyword"},"import"),t(" { ref, onMounted } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` `),s("span",{class:"hljs-keyword"},"const"),t(` list = ref([]) diff --git a/assets/en-US-28e13891.js b/assets/en-US-55e4584b.js similarity index 99% rename from assets/en-US-28e13891.js rename to assets/en-US-55e4584b.js index 3648354713a..6474e0e37b5 100644 --- a/assets/en-US-28e13891.js +++ b/assets/en-US-55e4584b.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as p,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Collapse",-1),m={class:"card"},g={id:"Intro"},v=a("p",null,"A content area which can be collapsed and expanded.",-1),_={class:"card"},u={id:"Basic-Usage"},f=a("p",null,[s("Use "),a("code",null,"v-model"),s(" to control the name of active panels. "),a("code",null,"value"),s(" is an Array.")],-1),b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as p,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Collapse",-1),m={class:"card"},g={id:"Intro"},v=a("p",null,"A content area which can be collapsed and expanded.",-1),_={class:"card"},u={id:"Basic-Usage"},f=a("p",null,[s("Use "),a("code",null,"v-model"),s(" to control the name of active panels. "),a("code",null,"value"),s(" is an Array.")],-1),b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref(["),a("span",{class:"hljs-string"},"'1'"),s(`]) diff --git a/assets/en-US-48ab98bb.js b/assets/en-US-56069f71.js similarity index 93% rename from assets/en-US-48ab98bb.js rename to assets/en-US-56069f71.js index 67458b16d59..174934e534c 100644 --- a/assets/en-US-48ab98bb.js +++ b/assets/en-US-56069f71.js @@ -1 +1 @@ -import{_ as d,b as l,e as c,m as a,p as t,q as s,w as n,Q as e,Z as r}from"./index-af5fec45.js";const _={components:{}},i={class:"varlet-site-doc"},h=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
nameView's namestring | numberindex
",1),f={class:"card"},b={id:"Slots"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"TabItem's content"),t("td",null,[t("code",null,"-")])])])],-1);function P(S,v,N,V,k,y){const o=l("router-link");return c(),a("div",i,[h,t("div",u,[t("h3",p,[s(o,{to:"#Props"},{default:n(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",f,[t("h3",b,[s(o,{to:"#Slots"},{default:n(()=>[e("#")]),_:1}),e("Slots")]),x])])}const w=d(_,[["render",P]]);export{w as default}; +import{_ as d,b as l,e as c,m as a,p as t,q as s,w as n,Q as e,Z as r}from"./index-0bd4ebfc.js";const _={components:{}},i={class:"varlet-site-doc"},h=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
nameView's namestring | numberindex
",1),f={class:"card"},b={id:"Slots"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"TabItem's content"),t("td",null,[t("code",null,"-")])])])],-1);function P(S,v,N,V,k,y){const o=l("router-link");return c(),a("div",i,[h,t("div",u,[t("h3",p,[s(o,{to:"#Props"},{default:n(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",f,[t("h3",b,[s(o,{to:"#Slots"},{default:n(()=>[e("#")]),_:1}),e("Slots")]),x])])}const w=d(_,[["render",P]]);export{w as default}; diff --git a/assets/en-US-c4e304cd.js b/assets/en-US-5852f3f2.js similarity index 95% rename from assets/en-US-c4e304cd.js rename to assets/en-US-5852f3f2.js index bea5ad1ae0a..8f81bfb2e60 100644 --- a/assets/en-US-c4e304cd.js +++ b/assets/en-US-5852f3f2.js @@ -1 +1 @@ -import{_ as l,b as n,e as a,m as c,p as t,q as d,w as s,Q as e,Z as r}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
labelThe text that the option displaysany-
valueThe value of the option bindingany-
disabledWhether to disablebooleanfalse
",1),b={class:"card"},f={id:"Slots"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Options to display the content"),t("td",null,[t("code",null,"-")])])])],-1);function v(x,P,S,N,k,T){const o=n("router-link");return a(),c("div",i,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),y])])}const $=l(h,[["render",v]]);export{$ as default}; +import{_ as l,b as n,e as a,m as c,p as t,q as d,w as s,Q as e,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
labelThe text that the option displaysany-
valueThe value of the option bindingany-
disabledWhether to disablebooleanfalse
",1),b={class:"card"},f={id:"Slots"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Options to display the content"),t("td",null,[t("code",null,"-")])])])],-1);function v(x,P,S,N,k,T){const o=n("router-link");return a(),c("div",i,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),y])])}const $=l(h,[["render",v]]);export{$ as default}; diff --git a/assets/en-US-3b949234.js b/assets/en-US-5b42bec6.js similarity index 99% rename from assets/en-US-3b949234.js rename to assets/en-US-5b42bec6.js index 9088f5bd59a..b30f327f264 100644 --- a/assets/en-US-3b949234.js +++ b/assets/en-US-5b42bec6.js @@ -1,4 +1,4 @@ -import{B as j,O as o}from"./ResponsiveObject-b269cecd.js";import{_ as d,b as e,e as i,m,p as a,q as l,w as n,Q as s,Z as p}from"./index-af5fec45.js";import"./index-85b78525.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-5689d3e2.js";const g={components:{BasicExample:j,ObjectExample:o}},u={class:"varlet-site-doc"},v=a("h1",null,"Layout",-1),f={class:"card"},b={id:"Intro"},_=a("p",null,[s("The component library provides two auxiliary layout components, "),a("code",null,""),s(" and "),a("code",null,""),s(", so that you can layout more efficiently.")],-1),x={class:"card"},y={id:"Gird-System"},w=a("pre",{class:"hljs"},[a("code",null,[s("The `"),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-row"),s("/>")]),s("` component divides a row into 24 columns of grids (24 copies), `"),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-col"),s("/>")]),s("` provides the `span` attribute to set the number of copies of a column, and the `offset` attribute to set a column the number of copies offset,\nThe `gutter` property sets column spacing.\n")])],-1),S=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{B as j,O as o}from"./ResponsiveObject-f1121469.js";import{_ as d,b as e,e as i,m,p as a,q as l,w as n,Q as s,Z as p}from"./index-0bd4ebfc.js";import"./index-e6df479c.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-79c63a4e.js";const g={components:{BasicExample:j,ObjectExample:o}},u={class:"varlet-site-doc"},v=a("h1",null,"Layout",-1),f={class:"card"},b={id:"Intro"},_=a("p",null,[s("The component library provides two auxiliary layout components, "),a("code",null,""),s(" and "),a("code",null,""),s(", so that you can layout more efficiently.")],-1),x={class:"card"},y={id:"Gird-System"},w=a("pre",{class:"hljs"},[a("code",null,[s("The `"),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-row"),s("/>")]),s("` component divides a row into 24 columns of grids (24 copies), `"),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-col"),s("/>")]),s("` provides the `span` attribute to set the number of copies of a column, and the `offset` attribute to set a column the number of copies offset,\nThe `gutter` property sets column spacing.\n")])],-1),S=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-row"),s(),a("span",{class:"hljs-attr"},":gutter"),s("="),a("span",{class:"hljs-string"},'"[10, 10]"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-col"),s(),a("span",{class:"hljs-attr"},":span"),s("="),a("span",{class:"hljs-string"},'"8"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"item"'),s(">")]),s("span: 8"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-4f67d8c7.js b/assets/en-US-5cdd31e8.js similarity index 99% rename from assets/en-US-4f67d8c7.js rename to assets/en-US-5cdd31e8.js index f63f53273e8..287dbed8a7a 100644 --- a/assets/en-US-4f67d8c7.js +++ b/assets/en-US-5cdd31e8.js @@ -1,4 +1,4 @@ -import{_ as c,b as d,e as r,m as i,p as t,q as a,w as e,Q as s,Z as o}from"./index-af5fec45.js";const h={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Pagination",-1),g={class:"card"},m={id:"Intro"},_=t("p",null,"You may need it when you need to process large amounts of data.",-1),u=t("h2",null,"Simple Mode",-1),b={class:"card"},f={id:"Intro"},v=t("p",null,"The default display mode is recommended for small-screen devices. See the mobile phone emulator on the right for a preview of the components.",-1),w={class:"card"},y={id:"Basic-Usage"},S=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as c,b as d,e as r,m as i,p as t,q as a,w as e,Q as s,Z as o}from"./index-0bd4ebfc.js";const h={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Pagination",-1),g={class:"card"},m={id:"Intro"},_=t("p",null,"You may need it when you need to process large amounts of data.",-1),u=t("h2",null,"Simple Mode",-1),b={class:"card"},f={id:"Intro"},v=t("p",null,"The default display mode is recommended for small-screen devices. See the mobile phone emulator on the right for a preview of the components.",-1),w={class:"card"},y={id:"Basic-Usage"},S=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-pagination"),s(),t("span",{class:"hljs-attr"},":current"),s("="),t("span",{class:"hljs-string"},'"3"'),s(),t("span",{class:"hljs-attr"},":total"),s("="),t("span",{class:"hljs-string"},'"120"'),s(" />")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),z={class:"card"},x={id:"Hide-Size-Changer"},T=t("p",null,[s("Use "),t("code",null,"show-size-changer"),s(" prop to hide size changer.")],-1),k=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/en-US-ef0562eb.js b/assets/en-US-5ebd2180.js similarity index 99% rename from assets/en-US-ef0562eb.js rename to assets/en-US-5ebd2180.js index 1434cd0b96a..ca92880b264 100644 --- a/assets/en-US-ef0562eb.js +++ b/assets/en-US-5ebd2180.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as h,m as r,p as t,q as a,w as l,Q as s,Z as n}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Sticky",-1),m={class:"card"},u={id:"Intro"},_=t("p",null,[s("The sticky layout uses the "),t("code",null,"scroll"),s(" layout mode that listens to container scroll events by default. If necessary, you can switch to the "),t("code",null,"css sticky"),s(" layout mode to improve performance.")],-1),b={class:"card"},y={id:"Basic-Use"},g=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as o,e as h,m as r,p as t,q as a,w as l,Q as s,Z as n}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Sticky",-1),m={class:"card"},u={id:"Intro"},_=t("p",null,[s("The sticky layout uses the "),t("code",null,"scroll"),s(" layout mode that listens to container scroll events by default. If necessary, you can switch to the "),t("code",null,"css sticky"),s(" layout mode to improve performance.")],-1),b={class:"card"},y={id:"Basic-Use"},g=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"div"),s(),t("span",{class:"hljs-attr"},"class"),s("="),t("span",{class:"hljs-string"},'"sticky-example"'),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-sticky"),s(),t("span",{class:"hljs-attr"},":offset-top"),s("="),t("span",{class:"hljs-string"},'"54"'),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-button"),s(),t("span",{class:"hljs-attr"},"type"),s("="),t("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Basic Use"),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-1c7a0417.js b/assets/en-US-5f3eb38c.js similarity index 99% rename from assets/en-US-1c7a0417.js rename to assets/en-US-5f3eb38c.js index 9703eb3aeb3..94173a3a616 100644 --- a/assets/en-US-1c7a0417.js +++ b/assets/en-US-5f3eb38c.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as r,m as p,p as a,q as t,w as n,Q as s,Z as e}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Snackbar",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Used to display a quick message to a user.",-1),b=a("h2",null,"Component Call",-1),k={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as d,b as o,e as r,m as p,p as a,q as t,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Snackbar",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Used to display a quick message to a user.",-1),b=a("h2",null,"Component Call",-1),k={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" show = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/en-US-be0b3efc.js b/assets/en-US-6307c0db.js similarity index 99% rename from assets/en-US-be0b3efc.js rename to assets/en-US-6307c0db.js index 4b18ce35150..2e5f63a1158 100644 --- a/assets/en-US-be0b3efc.js +++ b/assets/en-US-6307c0db.js @@ -1,4 +1,4 @@ -import{_ as o,b as r,e as p,m as d,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Result",-1),g={class:"card"},u={id:"Intro"},m=a("p",null,"It is used to show the results to users.",-1),f={class:"card"},v={id:"Basic-Usage"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as r,e as p,m as d,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Result",-1),g={class:"card"},u={id:"Intro"},m=a("p",null,"It is used to show the results to users.",-1),f={class:"card"},v={id:"Basic-Usage"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-result"),s(` `),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"success"'),s(` `),a("span",{class:"hljs-attr"},"title"),s("="),a("span",{class:"hljs-string"},'"Success"'),s(` diff --git a/assets/en-US-946db47c.js b/assets/en-US-645c03fc.js similarity index 99% rename from assets/en-US-946db47c.js rename to assets/en-US-645c03fc.js index 1752361126e..d6f8ab122aa 100644 --- a/assets/en-US-946db47c.js +++ b/assets/en-US-645c03fc.js @@ -1,4 +1,4 @@ -import{_ as d,b as r,e as o,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"AppBar",-1),g={class:"card"},m={id:"Basic-Usage"},u=a("p",null,[s("Set the title of the app bar through the "),a("code",null,"title"),s(" prop.")],-1),_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as r,e as o,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"AppBar",-1),g={class:"card"},m={id:"Basic-Usage"},u=a("p",null,[s("Set the title of the app bar through the "),a("code",null,"title"),s(" prop.")],-1),_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-app-bar"),s(),a("span",{class:"hljs-attr"},"title"),s("="),a("span",{class:"hljs-string"},'"title"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),v={class:"card"},b={id:"Add-Slots-At-Title"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/en-US-6dcc3b33.js b/assets/en-US-64bf0a0f.js similarity index 99% rename from assets/en-US-6dcc3b33.js rename to assets/en-US-64bf0a0f.js index 72da594d0c8..2e4c0f60ba7 100644 --- a/assets/en-US-6dcc3b33.js +++ b/assets/en-US-64bf0a0f.js @@ -1,4 +1,4 @@ -import{_ as p,b as o,e as i,m as d,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},r={class:"varlet-site-doc"},m=a("h1",null,"Ellipsis",-1),j={class:"card"},_={id:"Intro"},u=a("p",null,"Mainly used to omit single-line text and multi-line text.",-1),g={class:"card"},y={id:"Single-Line-Ellipsis"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as p,b as o,e as i,m as d,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},r={class:"varlet-site-doc"},m=a("h1",null,"Ellipsis",-1),j={class:"card"},_={id:"Intro"},u=a("p",null,"Mainly used to omit single-line text and multi-line text.",-1),g={class:"card"},y={id:"Single-Line-Ellipsis"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-ellipsis"),s(),a("span",{class:"hljs-attr"},"style"),s("="),a("span",{class:"hljs-string"},'"max-width: 170px"'),s(">")]),s(` I want to say english to everyone like, even you still are normal people, you still can work a world champion and no one trust you! `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-98d36fd0.js b/assets/en-US-67be8b12.js similarity index 90% rename from assets/en-US-98d36fd0.js rename to assets/en-US-67be8b12.js index c371b683270..5f70067cf5a 100644 --- a/assets/en-US-98d36fd0.js +++ b/assets/en-US-67be8b12.js @@ -1 +1 @@ -import{_ as l,b as n,e as s,m as c,p as t,q as a,w as d,Q as e}from"./index-af5fec45.js";const r={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},p={id:"Slots"},h=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Swipe item content"),t("td",null,[t("code",null,"-")])])])],-1);function m(f,S,x,k,v,N){const o=n("router-link");return s(),c("div",_,[u,t("div",i,[t("h3",p,[a(o,{to:"#Slots"},{default:d(()=>[e("#")]),_:1}),e("Slots")]),h])])}const b=l(r,[["render",m]]);export{b as default}; +import{_ as l,b as n,e as s,m as c,p as t,q as a,w as d,Q as e}from"./index-0bd4ebfc.js";const r={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},p={id:"Slots"},h=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Swipe item content"),t("td",null,[t("code",null,"-")])])])],-1);function m(f,S,x,k,v,N){const o=n("router-link");return s(),c("div",_,[u,t("div",i,[t("h3",p,[a(o,{to:"#Slots"},{default:d(()=>[e("#")]),_:1}),e("Slots")]),h])])}const b=l(r,[["render",m]]);export{b as default}; diff --git a/assets/en-US-3a646437.js b/assets/en-US-6b3fa015.js similarity index 94% rename from assets/en-US-3a646437.js rename to assets/en-US-6b3fa015.js index f98b0a3606f..eb01949ffc8 100644 --- a/assets/en-US-3a646437.js +++ b/assets/en-US-6b3fa015.js @@ -1 +1 @@ -import{_ as r,b as l,e as a,m as n,p as t,q as s,w as d,Q as e,Z as c}from"./index-af5fec45.js";const _={components:{}},i={class:"varlet-site-doc"},h=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=c("
PropDescriptionTypeDefault
error-messageError messagestring-
extra-messageExtra messagestring-
",1),f={class:"card"},x={id:"Slots"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"extra-message")]),t("td",null,"Extra message"),t("td",null,[t("code",null,"-")])])])],-1);function b(P,S,v,N,k,y){const o=l("router-link");return a(),n("div",i,[h,t("div",u,[t("h3",p,[s(o,{to:"#Props"},{default:d(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",f,[t("h3",x,[s(o,{to:"#Slots"},{default:d(()=>[e("#")]),_:1}),e("Slots")]),g])])}const V=r(_,[["render",b]]);export{V as default}; +import{_ as r,b as l,e as a,m as n,p as t,q as s,w as d,Q as e,Z as c}from"./index-0bd4ebfc.js";const _={components:{}},i={class:"varlet-site-doc"},h=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=c("
PropDescriptionTypeDefault
error-messageError messagestring-
extra-messageExtra messagestring-
",1),f={class:"card"},x={id:"Slots"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"extra-message")]),t("td",null,"Extra message"),t("td",null,[t("code",null,"-")])])])],-1);function b(P,S,v,N,k,y){const o=l("router-link");return a(),n("div",i,[h,t("div",u,[t("h3",p,[s(o,{to:"#Props"},{default:d(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",f,[t("h3",x,[s(o,{to:"#Slots"},{default:d(()=>[e("#")]),_:1}),e("Slots")]),g])])}const V=r(_,[["render",b]]);export{V as default}; diff --git a/assets/en-US-b71addee.js b/assets/en-US-703e284b.js similarity index 99% rename from assets/en-US-b71addee.js rename to assets/en-US-703e284b.js index e8c3361e93f..d0800dfe77c 100644 --- a/assets/en-US-b71addee.js +++ b/assets/en-US-703e284b.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Switch",-1),m={class:"card"},u={id:"Intro"},_=a("p",null,"Switching Selector.",-1),v={class:"card"},g={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Switch",-1),m={class:"card"},u={id:"Intro"},_=a("p",null,"Switching Selector.",-1),v={class:"card"},g={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-literal"},"true"),s(`) diff --git a/assets/en-US-978bfd98.js b/assets/en-US-73a6b7ee.js similarity index 97% rename from assets/en-US-978bfd98.js rename to assets/en-US-73a6b7ee.js index 05ee03e80ae..b37c6bf13ec 100644 --- a/assets/en-US-978bfd98.js +++ b/assets/en-US-73a6b7ee.js @@ -1,4 +1,4 @@ -import{_ as c,b as o,e as r,m as h,p as s,q as e,w as l,Q as a}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},d=s("h1",null,"Dark Mode",-1),m={class:"card"},_={id:"Intro"},u=s("p",null,"The first party of the component library provides the theme of dark mode. The advantage of dark mode is that it has higher readability in low light environments.",-1),j={class:"card"},g={id:"Toggle-Theme"},b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` +import{_ as c,b as o,e as r,m as h,p as s,q as e,w as l,Q as a}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},d=s("h1",null,"Dark Mode",-1),m={class:"card"},_={id:"Intro"},u=s("p",null,"The first party of the component library provides the theme of dark mode. The advantage of dark mode is that it has higher readability in low light environments.",-1),j={class:"card"},g={id:"Toggle-Theme"},b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` `),s("span",{class:"hljs-keyword"},"import"),a(" { StyleProvider, Themes } "),s("span",{class:"hljs-keyword"},"from"),a(),s("span",{class:"hljs-string"},"'@varlet/ui'"),a(` `),s("span",{class:"hljs-keyword"},"let"),a(" currentTheme = "),s("span",{class:"hljs-literal"},"null"),a(` diff --git a/assets/en-US-b31ccd2f.js b/assets/en-US-73e45c21.js similarity index 99% rename from assets/en-US-b31ccd2f.js rename to assets/en-US-73e45c21.js index 434371f68b6..51171fb5349 100644 --- a/assets/en-US-b31ccd2f.js +++ b/assets/en-US-73e45c21.js @@ -1,4 +1,4 @@ -import{_ as d,b as r,e as o,m as h,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Avatar",-1),g={class:"card"},v={id:"Intro"},m=a("p",null,"Used as avatar display, supporting images, icons and characters.",-1),u={class:"card"},_={id:"Avatar-Size"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as r,e as o,m as h,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Avatar",-1),g={class:"card"},v={id:"Intro"},m=a("p",null,"Used as avatar display, supporting images, icons and characters.",-1),u={class:"card"},_={id:"Avatar-Size"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},"align"),s("="),a("span",{class:"hljs-string"},'"center"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-avatar"),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(),a("span",{class:"hljs-attr"},"size"),s("="),a("span",{class:"hljs-string"},'"mini"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-avatar"),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(),a("span",{class:"hljs-attr"},"size"),s("="),a("span",{class:"hljs-string"},'"small"'),s(" />")]),s(` diff --git a/assets/en-US-bbe0359d.js b/assets/en-US-743ace4c.js similarity index 99% rename from assets/en-US-bbe0359d.js rename to assets/en-US-743ace4c.js index 90d77f7a700..de0b023db35 100644 --- a/assets/en-US-bbe0359d.js +++ b/assets/en-US-743ace4c.js @@ -1,4 +1,4 @@ -import{_ as r,b as c,e as h,m as p,p as s,q as l,w as t,Q as a,Z as o}from"./index-af5fec45.js";const d={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"Overlay",-1),u={class:"card"},_={id:"Intro"},m=s("p",null,"Create a mask layer to emphasize specific page elements.",-1),v={class:"card"},g={id:"Basic-Usage"},y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` +import{_ as r,b as c,e as h,m as p,p as s,q as l,w as t,Q as a,Z as o}from"./index-0bd4ebfc.js";const d={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"Overlay",-1),u={class:"card"},_={id:"Intro"},m=s("p",null,"Create a mask layer to emphasize specific page elements.",-1),v={class:"card"},g={id:"Basic-Usage"},y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` `),s("span",{class:"hljs-keyword"},"import"),a(" { ref } "),s("span",{class:"hljs-keyword"},"from"),a(),s("span",{class:"hljs-string"},"'vue'"),a(` `),s("span",{class:"hljs-keyword"},"const"),a(" show = ref("),s("span",{class:"hljs-literal"},"false"),a(`) diff --git a/assets/en-US-0616fb71.js b/assets/en-US-7926d82d.js similarity index 99% rename from assets/en-US-0616fb71.js rename to assets/en-US-7926d82d.js index 070359bdfe0..6ee79b7d50c 100644 --- a/assets/en-US-0616fb71.js +++ b/assets/en-US-7926d82d.js @@ -1,4 +1,4 @@ -import{_ as r,b as o,e as h,m as i,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const d={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"BottomNavigation",-1),m={class:"card"},g={id:"Basic-Usage"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as r,b as o,e as h,m as i,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const d={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"BottomNavigation",-1),m={class:"card"},g={id:"Basic-Usage"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" active = ref("),a("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/en-US-4acc8860.js b/assets/en-US-7e0b9807.js similarity index 97% rename from assets/en-US-4acc8860.js rename to assets/en-US-7e0b9807.js index 8866ff1774d..9fb9fcfe2e3 100644 --- a/assets/en-US-4acc8860.js +++ b/assets/en-US-7e0b9807.js @@ -1 +1 @@ -import{_ as a,b as n,e as s,m as h,p as t,q as o,w as c,Q as e,Z as r}from"./index-af5fec45.js";const i={components:{}},l={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"Props"},p=r("
PropDescriptionTypeDefault
v-modelThe value of the bindinganyfalse
checked-valueChecked valueanytrue
unchecked-valueUnchecked valueanyfalse
checked-colorChecked colorany-
unchecked-colorUnchecked colorany-
icon-sizeIcon size_string\\ number_
disabledWhether the disabledbooleanfalse
readonlyWhether the readonlybooleanfalse
indeterminateWhether indeterminate status(style has the highest priority)booleanfalse
rippleWhether to open ripplebooleantrue
rulesThe validation rules, return true to indicate that the validation passed. The remaining values are converted to text as user promptsArray<(value: any) => any>-
",1),v={class:"card"},b={id:"Events"},y=r("
EventDescriptionArguments
clickTriggered on Clicke: Event
changeTriggered on changevalue: any
",1),k={class:"card"},f={id:"Slots"},g=r("
NameDescriptionSlotProps
checked-iconChecked icon-
unchecked-iconUnchecked icon-
indeterminate-iconIndeterminate icon-
defaultDisplayed text-
",1);function x(T,C,E,P,S,D){const d=n("router-link");return s(),h("div",l,[_,t("div",m,[t("h3",u,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",v,[t("h3",b,[o(d,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),y]),t("div",k,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),g])])}const U=a(i,[["render",x]]);export{U as default}; +import{_ as a,b as n,e as s,m as h,p as t,q as o,w as c,Q as e,Z as r}from"./index-0bd4ebfc.js";const i={components:{}},l={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"Props"},p=r("
PropDescriptionTypeDefault
v-modelThe value of the bindinganyfalse
checked-valueChecked valueanytrue
unchecked-valueUnchecked valueanyfalse
checked-colorChecked colorany-
unchecked-colorUnchecked colorany-
icon-sizeIcon size_string\\ number_
disabledWhether the disabledbooleanfalse
readonlyWhether the readonlybooleanfalse
indeterminateWhether indeterminate status(style has the highest priority)booleanfalse
rippleWhether to open ripplebooleantrue
rulesThe validation rules, return true to indicate that the validation passed. The remaining values are converted to text as user promptsArray<(value: any) => any>-
",1),v={class:"card"},b={id:"Events"},y=r("
EventDescriptionArguments
clickTriggered on Clicke: Event
changeTriggered on changevalue: any
",1),k={class:"card"},f={id:"Slots"},g=r("
NameDescriptionSlotProps
checked-iconChecked icon-
unchecked-iconUnchecked icon-
indeterminate-iconIndeterminate icon-
defaultDisplayed text-
",1);function x(T,C,E,P,S,D){const d=n("router-link");return s(),h("div",l,[_,t("div",m,[t("h3",u,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",v,[t("h3",b,[o(d,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),y]),t("div",k,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),g])])}const U=a(i,[["render",x]]);export{U as default}; diff --git a/assets/en-US-5f58f4d4.js b/assets/en-US-801b1dbc.js similarity index 98% rename from assets/en-US-5f58f4d4.js rename to assets/en-US-801b1dbc.js index 0e9f474d592..e6081449d8e 100644 --- a/assets/en-US-5f58f4d4.js +++ b/assets/en-US-801b1dbc.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as i,m as p,p as a,q as e,w as n,Q as s}from"./index-af5fec45.js";const r={components:{}},h={class:"varlet-site-doc"},d=a("h1",null,"Elevation",-1),j={class:"card"},_={id:"Intro"},m=a("p",null,[s("The component library provides a shadow elevation effect based on the "),a("code",null,"Material"),s(" specification to represent the dimensionality of an element.")],-1),u={class:"card"},v={id:"Import-Style"},g=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-keyword"},"import"),s(),a("span",{class:"hljs-string"},"'@varlet/ui/es/styles/elevation.css'"),s(` +import{_ as o,b as c,e as i,m as p,p as a,q as e,w as n,Q as s}from"./index-0bd4ebfc.js";const r={components:{}},h={class:"varlet-site-doc"},d=a("h1",null,"Elevation",-1),j={class:"card"},_={id:"Intro"},m=a("p",null,[s("The component library provides a shadow elevation effect based on the "),a("code",null,"Material"),s(" specification to represent the dimensionality of an element.")],-1),u={class:"card"},v={id:"Import-Style"},g=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-keyword"},"import"),s(),a("span",{class:"hljs-string"},"'@varlet/ui/es/styles/elevation.css'"),s(` `)])],-1),f={class:"card"},b={id:"Basic-Usage"},y=a("p",null,[s("Shadows are divided into "),a("code",null,"0-24"),s(" levels, and the higher the level, the higher the altitude.")],-1),x=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"elevation-example-list"'),s(),a("span",{class:"hljs-attr"},":size"),s("="),a("span",{class:"hljs-string"},'"[40, 0]"'),s(),a("span",{class:"hljs-attr"},"justify"),s("="),a("span",{class:"hljs-string"},'"space-between"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(` diff --git a/assets/en-US-bea58cd8.js b/assets/en-US-815d8981.js similarity index 95% rename from assets/en-US-bea58cd8.js rename to assets/en-US-815d8981.js index 937b8491ee1..1495d4b1209 100644 --- a/assets/en-US-bea58cd8.js +++ b/assets/en-US-815d8981.js @@ -1 +1 @@ -import{_ as n,b as r,e as a,m as l,p as t,q as d,w as s,Q as e,Z as c}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=c("
PropDescriptionTypeDefault
separatorSeparatorstring-
",1),b={class:"card"},f={id:"Events"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"Arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"Triggered when a breadcrumb is clicked"),t("td",null,[t("code",null,"event: Event")])])])],-1),S={class:"card"},k={id:"Slots"},y=c("
NameDescriptionSlotProps
defaultCustomize the default content-
separatorCustomize separator content-
",1);function E(P,x,N,g,C,D){const o=r("router-link");return a(),l("div",i,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Events"},{default:s(()=>[e("#")]),_:1}),e("Events")]),v]),t("div",S,[t("h3",k,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),y])])}const $=n(h,[["render",E]]);export{$ as default}; +import{_ as n,b as r,e as a,m as l,p as t,q as d,w as s,Q as e,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=c("
PropDescriptionTypeDefault
separatorSeparatorstring-
",1),b={class:"card"},f={id:"Events"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"Arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"Triggered when a breadcrumb is clicked"),t("td",null,[t("code",null,"event: Event")])])])],-1),S={class:"card"},k={id:"Slots"},y=c("
NameDescriptionSlotProps
defaultCustomize the default content-
separatorCustomize separator content-
",1);function E(P,x,N,g,C,D){const o=r("router-link");return a(),l("div",i,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Events"},{default:s(()=>[e("#")]),_:1}),e("Events")]),v]),t("div",S,[t("h3",k,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),y])])}const $=n(h,[["render",E]]);export{$ as default}; diff --git a/assets/en-US-7e9080b2.js b/assets/en-US-81ebbd7d.js similarity index 99% rename from assets/en-US-7e9080b2.js rename to assets/en-US-81ebbd7d.js index afab4d2b312..d18ef4703b0 100644 --- a/assets/en-US-7e9080b2.js +++ b/assets/en-US-81ebbd7d.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as i,m as r,p as a,q as t,w as e,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"Divider",-1),_={class:"card"},m={id:"Intro"},u=a("p",null,"Used to separate parts of a list or layout.",-1),v={class:"card"},g={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as i,m as r,p as a,q as t,w as e,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"Divider",-1),_={class:"card"},m={id:"Intro"},u=a("p",null,"Used to separate parts of a list or layout.",-1),v={class:"card"},g={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-divider"),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),b={class:"card"},x={id:"Dashed-Divider"},D=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/en-US-6ae24d76.js b/assets/en-US-81f7fd3e.js similarity index 98% rename from assets/en-US-6ae24d76.js rename to assets/en-US-81f7fd3e.js index 821082aae16..9d5bb873130 100644 --- a/assets/en-US-6ae24d76.js +++ b/assets/en-US-81f7fd3e.js @@ -1,4 +1,4 @@ -import{_ as c,b as d,e as r,m as i,p as t,q as s,w as l,Q as e,Z as a}from"./index-af5fec45.js";const h={components:{}},p={class:"varlet-site-doc"},u=t("h1",null,"BackTop",-1),_={class:"card"},m={id:"Intro"},b=t("p",null,"A button to back to top.",-1),g={class:"card"},v={id:"Basic-Usage"},j=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[e("<"),t("span",{class:"hljs-name"},"script"),e(),t("span",{class:"hljs-attr"},"setup"),e(">")]),t("span",{class:"javascript"},[e(` +import{_ as c,b as d,e as r,m as i,p as t,q as s,w as l,Q as e,Z as a}from"./index-0bd4ebfc.js";const h={components:{}},p={class:"varlet-site-doc"},u=t("h1",null,"BackTop",-1),_={class:"card"},m={id:"Intro"},b=t("p",null,"A button to back to top.",-1),g={class:"card"},v={id:"Basic-Usage"},j=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[e("<"),t("span",{class:"hljs-name"},"script"),e(),t("span",{class:"hljs-attr"},"setup"),e(">")]),t("span",{class:"javascript"},[e(` `),t("span",{class:"hljs-keyword"},"const"),e(" lists = [...Array("),t("span",{class:"hljs-number"},"100"),e(`).keys()] `)]),t("span",{class:"hljs-tag"},[e("")]),e(` diff --git a/assets/en-US-0be7928c.js b/assets/en-US-835e52ab.js similarity index 99% rename from assets/en-US-0be7928c.js rename to assets/en-US-835e52ab.js index b8ba8eefca0..eec97e18816 100644 --- a/assets/en-US-0be7928c.js +++ b/assets/en-US-835e52ab.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as r,m as h,p as t,q as a,w as n,Q as s,Z as e}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Countdown",-1),u={class:"card"},m={id:"Intro"},_=t("p",null,"For real-time display of countdown values, support millisecond precision.",-1),g={class:"card"},b={id:"Basic-Usage"},f=t("p",null,[s("Use "),t("code",null,"time"),s(" to set countdown time(ms).")],-1),w=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as d,b as o,e as r,m as h,p as t,q as a,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Countdown",-1),u={class:"card"},m={id:"Intro"},_=t("p",null,"For real-time display of countdown values, support millisecond precision.",-1),g={class:"card"},b={id:"Basic-Usage"},f=t("p",null,[s("Use "),t("code",null,"time"),s(" to set countdown time(ms).")],-1),w=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" time = ref("),t("span",{class:"hljs-number"},"30"),s(" * "),t("span",{class:"hljs-number"},"60"),s(" * "),t("span",{class:"hljs-number"},"60"),s(" * "),t("span",{class:"hljs-number"},"1000"),s(`) diff --git a/assets/en-US-330ea8ae.js b/assets/en-US-86813373.js similarity index 99% rename from assets/en-US-330ea8ae.js rename to assets/en-US-86813373.js index 6e9cee9fae4..2ec9eeb5c45 100644 --- a/assets/en-US-330ea8ae.js +++ b/assets/en-US-86813373.js @@ -1,4 +1,4 @@ -import{_ as p,b as r,e as o,m as d,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Fab",-1),g={class:"card"},m={id:"Intro"},u=a("p",null,"The floating action button component, press to display a group of action buttons.",-1),v={class:"card"},b={id:"Theme-Color-Button"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as p,b as r,e as o,m as d,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Fab",-1),g={class:"card"},m={id:"Intro"},u=a("p",null,"The floating action button component, press to display a group of action buttons.",-1),v={class:"card"},b={id:"Theme-Color-Button"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" type = ref("),a("span",{class:"hljs-string"},"'primary'"),s(`) diff --git a/assets/en-US-4e46f056.js b/assets/en-US-86f8855e.js similarity index 99% rename from assets/en-US-4e46f056.js rename to assets/en-US-86f8855e.js index 45482120643..3dfb5639679 100644 --- a/assets/en-US-4e46f056.js +++ b/assets/en-US-86f8855e.js @@ -1,4 +1,4 @@ -import{_ as c,b as d,e as r,m as i,p as t,q as a,w as e,Q as s,Z as l}from"./index-af5fec45.js";const h={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Dialog",-1),m={class:"card"},g={id:"Intro"},u=t("p",null,[s("A dialog pops up to display the content and handle the user interaction. "),t("code",null,"Dialog"),s(" have provided functional and component usage, and there is no essential difference between the two usage effects and parameters.")],-1),f=t("h2",null,"Functional",-1),b={class:"card"},_={id:"Basic-Use"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as c,b as d,e as r,m as i,p as t,q as a,w as e,Q as s,Z as l}from"./index-0bd4ebfc.js";const h={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Dialog",-1),m={class:"card"},g={id:"Intro"},u=t("p",null,[s("A dialog pops up to display the content and handle the user interaction. "),t("code",null,"Dialog"),s(" have provided functional and component usage, and there is no essential difference between the two usage effects and parameters.")],-1),f=t("h2",null,"Functional",-1),b={class:"card"},_={id:"Basic-Use"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { Dialog } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `)]),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-0d6e175d.js b/assets/en-US-89f15cd8.js similarity index 99% rename from assets/en-US-0d6e175d.js rename to assets/en-US-89f15cd8.js index b5b698fe6dd..5733736ec10 100644 --- a/assets/en-US-0d6e175d.js +++ b/assets/en-US-89f15cd8.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as i,p as t,q as a,w as e,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"ImagePreview",-1),g={class:"card"},m={id:"Intro"},u=t("p",null,"Image-Preview, Support double-click magnification, Support function call and component call two ways.",-1),v={class:"card"},w={id:"Function-Call"},_=t("h4",null,"Basic Usage",-1),f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as i,p as t,q as a,w as e,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"ImagePreview",-1),g={class:"card"},m={id:"Intro"},u=t("p",null,"Image-Preview, Support double-click magnification, Support function call and component call two ways.",-1),v={class:"card"},w={id:"Function-Call"},_=t("h4",null,"Basic Usage",-1),f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ImagePreview } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `),t("span",{class:"hljs-function"},[t("span",{class:"hljs-keyword"},"function"),s(),t("span",{class:"hljs-title"},"preview"),s("("),t("span",{class:"hljs-params"}),s(") ")]),s(`{ diff --git a/assets/en-US-12f97830.js b/assets/en-US-8b336f53.js similarity index 99% rename from assets/en-US-12f97830.js rename to assets/en-US-8b336f53.js index e34fefe053c..43506fbdb62 100644 --- a/assets/en-US-12f97830.js +++ b/assets/en-US-8b336f53.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as p,m as r,p as a,q as t,w as e,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"MenuSelect",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,[s("Menu with selector function, some functions are used in the same way as "),a("a",{href:"#/en-US/menu"},"Menu"),s(".")],-1),v={class:"card"},b={id:"Basic-Usage"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as d,b as o,e as p,m as r,p as a,q as t,w as e,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"MenuSelect",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,[s("Menu with selector function, some functions are used in the same way as "),a("a",{href:"#/en-US/menu"},"Menu"),s(".")],-1),v={class:"card"},b={id:"Basic-Usage"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` value = ref() diff --git a/assets/en-US-850c4b56.js b/assets/en-US-8be70f0a.js similarity index 95% rename from assets/en-US-850c4b56.js rename to assets/en-US-8be70f0a.js index bea5ad1ae0a..8f81bfb2e60 100644 --- a/assets/en-US-850c4b56.js +++ b/assets/en-US-8be70f0a.js @@ -1 +1 @@ -import{_ as l,b as n,e as a,m as c,p as t,q as d,w as s,Q as e,Z as r}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
labelThe text that the option displaysany-
valueThe value of the option bindingany-
disabledWhether to disablebooleanfalse
",1),b={class:"card"},f={id:"Slots"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Options to display the content"),t("td",null,[t("code",null,"-")])])])],-1);function v(x,P,S,N,k,T){const o=n("router-link");return a(),c("div",i,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),y])])}const $=l(h,[["render",v]]);export{$ as default}; +import{_ as l,b as n,e as a,m as c,p as t,q as d,w as s,Q as e,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
labelThe text that the option displaysany-
valueThe value of the option bindingany-
disabledWhether to disablebooleanfalse
",1),b={class:"card"},f={id:"Slots"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Options to display the content"),t("td",null,[t("code",null,"-")])])])],-1);function v(x,P,S,N,k,T){const o=n("router-link");return a(),c("div",i,[_,t("div",u,[t("h3",p,[d(o,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",b,[t("h3",f,[d(o,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),y])])}const $=l(h,[["render",v]]);export{$ as default}; diff --git a/assets/en-US-62602047.js b/assets/en-US-8ecbdffa.js similarity index 93% rename from assets/en-US-62602047.js rename to assets/en-US-8ecbdffa.js index cd37cf82255..77834d401b8 100644 --- a/assets/en-US-62602047.js +++ b/assets/en-US-8ecbdffa.js @@ -1 +1 @@ -import{_ as l,b as n,e as c,m as a,p as t,q as s,w as d,Q as e,Z as r}from"./index-af5fec45.js";const _={components:{}},i={class:"varlet-site-doc"},h=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
indexIndexstring | number-
",1),f={class:"card"},b={id:"Slots"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Custom index character"),t("td",null,[t("code",null,"-")])])])],-1);function P(S,v,N,k,y,V){const o=n("router-link");return c(),a("div",i,[h,t("div",u,[t("h3",p,[s(o,{to:"#Props"},{default:d(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",f,[t("h3",b,[s(o,{to:"#Slots"},{default:d(()=>[e("#")]),_:1}),e("Slots")]),x])])}const B=l(_,[["render",P]]);export{B as default}; +import{_ as l,b as n,e as c,m as a,p as t,q as s,w as d,Q as e,Z as r}from"./index-0bd4ebfc.js";const _={components:{}},i={class:"varlet-site-doc"},h=t("h2",null,"API",-1),u={class:"card"},p={id:"Props"},m=r("
PropDescriptionTypeDefault
indexIndexstring | number-
",1),f={class:"card"},b={id:"Slots"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Custom index character"),t("td",null,[t("code",null,"-")])])])],-1);function P(S,v,N,k,y,V){const o=n("router-link");return c(),a("div",i,[h,t("div",u,[t("h3",p,[s(o,{to:"#Props"},{default:d(()=>[e("#")]),_:1}),e("Props")]),m]),t("div",f,[t("h3",b,[s(o,{to:"#Slots"},{default:d(()=>[e("#")]),_:1}),e("Slots")]),x])])}const B=l(_,[["render",P]]);export{B as default}; diff --git a/assets/en-US-719efbbf.js b/assets/en-US-8ef43eb0.js similarity index 99% rename from assets/en-US-719efbbf.js rename to assets/en-US-8ef43eb0.js index 8f01b7ada3a..6551314dbfb 100644 --- a/assets/en-US-719efbbf.js +++ b/assets/en-US-8ef43eb0.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as r,m as h,p as t,q as a,w as n,Q as s,Z as c}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"ActionSheet",-1),m={class:"card"},g={id:"Intro"},u=t("p",null,[s("An action sheet pops up to give the user the ability to select options. "),t("code",null,"ActionSheet"),s(" Functional and component use methods are provided, and there is no essential difference between the two effects and parameters. The function returns a "),t("code",null,"Promise"),s(", on selection return "),t("code",null,"action"),s(". Click modal close to return "),t("code",null,"close"),s(".")],-1),_=t("h2",null,"Functional",-1),b={class:"card"},y={id:"Basic-Use"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as d,b as o,e as r,m as h,p as t,q as a,w as n,Q as s,Z as c}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"ActionSheet",-1),m={class:"card"},g={id:"Intro"},u=t("p",null,[s("An action sheet pops up to give the user the ability to select options. "),t("code",null,"ActionSheet"),s(" Functional and component use methods are provided, and there is no essential difference between the two effects and parameters. The function returns a "),t("code",null,"Promise"),s(", on selection return "),t("code",null,"action"),s(". Click modal close to return "),t("code",null,"close"),s(".")],-1),_=t("h2",null,"Functional",-1),b={class:"card"},y={id:"Basic-Use"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { Snackbar, ActionSheet } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `),t("span",{class:"hljs-keyword"},"async"),s(),t("span",{class:"hljs-function"},[t("span",{class:"hljs-keyword"},"function"),s(),t("span",{class:"hljs-title"},"createBasic"),s("("),t("span",{class:"hljs-params"}),s(") ")]),s(`{ diff --git a/assets/en-US-369dcfa2.js b/assets/en-US-93ebde80.js similarity index 97% rename from assets/en-US-369dcfa2.js rename to assets/en-US-93ebde80.js index d02194b699e..367dee080fd 100644 --- a/assets/en-US-369dcfa2.js +++ b/assets/en-US-93ebde80.js @@ -1 +1 @@ -import{_ as a,b as s,e as n,m as h,p as t,q as o,w as c,Q as e,Z as r}from"./index-af5fec45.js";const l={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"Props"},p=r("
PropDescriptionTypeDefault
v-modelThe value of the bindinganyfalse
checked-valueChecked valueanytrue
unchecked-valueUnchecked valueanyfalse
checked-colorChecked colorany-
unchecked-colorUnchecked colorany-
icon-sizeIcon sizestring | number-
readonlyWhether the readonlybooleanfalse
disabledWhether the disabledbooleanfalse
rippleWhether to open ripplebooleantrue
rulesThe validation rules, return true to indicate that the validation passed. The remaining values are converted to text as user promptsArray<(value: any) => any>-
",1),v={class:"card"},b={id:"Events"},y=r("
EventDescriptionArguments
clickTriggered on clicke: Event
changeTriggered on changevalue: any
",1),k={class:"card"},f={id:"Slots"},g=r("
NameDescriptionSlotProps
checked-iconChecked icon-
unchecked-iconUnchecked icon-
defaultDisplayed text-
",1);function x(T,E,P,S,C,D){const d=s("router-link");return n(),h("div",i,[_,t("div",m,[t("h3",u,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",v,[t("h3",b,[o(d,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),y]),t("div",k,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),g])])}const U=a(l,[["render",x]]);export{U as default}; +import{_ as a,b as s,e as n,m as h,p as t,q as o,w as c,Q as e,Z as r}from"./index-0bd4ebfc.js";const l={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"Props"},p=r("
PropDescriptionTypeDefault
v-modelThe value of the bindinganyfalse
checked-valueChecked valueanytrue
unchecked-valueUnchecked valueanyfalse
checked-colorChecked colorany-
unchecked-colorUnchecked colorany-
icon-sizeIcon sizestring | number-
readonlyWhether the readonlybooleanfalse
disabledWhether the disabledbooleanfalse
rippleWhether to open ripplebooleantrue
rulesThe validation rules, return true to indicate that the validation passed. The remaining values are converted to text as user promptsArray<(value: any) => any>-
",1),v={class:"card"},b={id:"Events"},y=r("
EventDescriptionArguments
clickTriggered on clicke: Event
changeTriggered on changevalue: any
",1),k={class:"card"},f={id:"Slots"},g=r("
NameDescriptionSlotProps
checked-iconChecked icon-
unchecked-iconUnchecked icon-
defaultDisplayed text-
",1);function x(T,E,P,S,C,D){const d=s("router-link");return n(),h("div",i,[_,t("div",m,[t("h3",u,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",v,[t("h3",b,[o(d,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),y]),t("div",k,[t("h3",f,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),g])])}const U=a(l,[["render",x]]);export{U as default}; diff --git a/assets/en-US-38df38b5.js b/assets/en-US-9bd2a20f.js similarity index 99% rename from assets/en-US-38df38b5.js rename to assets/en-US-9bd2a20f.js index a9ac4b66f93..1f43842fb7b 100644 --- a/assets/en-US-38df38b5.js +++ b/assets/en-US-9bd2a20f.js @@ -1,4 +1,4 @@ -import{_ as d,b as r,e as h,m as o,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Watermark",-1),m={class:"card"},g={id:"Intro"},_=a("p",null,"Adding text or image watermarks to a certain area of the page can be used to identify copyright and prevent information theft.",-1),u={class:"card"},f={id:"Text-Watermark"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as r,e as h,m as o,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Watermark",-1),m={class:"card"},g={id:"Intro"},_=a("p",null,"Adding text or image watermarks to a certain area of the page can be used to identify copyright and prevent information theft.",-1),u={class:"card"},f={id:"Text-Watermark"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-watermark"),s(),a("span",{class:"hljs-attr"},"content"),s("="),a("span",{class:"hljs-string"},'"Varlet"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"watermark-wrapper"'),s(">")]),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-f7ef786c.js b/assets/en-US-9d219371.js similarity index 97% rename from assets/en-US-f7ef786c.js rename to assets/en-US-9d219371.js index b9703575699..08bade82d6e 100644 --- a/assets/en-US-f7ef786c.js +++ b/assets/en-US-9d219371.js @@ -1 +1 @@ -import{_ as r,b as n,e as l,m as s,p as t,q as d,w as c,Q as e,Z as a}from"./index-af5fec45.js";const u={components:{}},i={class:"varlet-site-doc"},m=t("h2",null,"API",-1),p={class:"card"},_={id:"Props"},h=a("
PropDescriptionTypeDefault
typeButton Group type, can be set to default primary info success warning dangerstringdefault
sizeButton Group size, can be set to normal mini small largestringnormal
modeButton Group mode, can be set to normal text outlinestringnormal
verticalWhether to be vertical button groupbooleanfalse
elevationElevation of Button Group, options true false and level of 0-24string | number | booleantrue
colorButton Group background colorstring-
text-colorButton Group Text colorstring-
",1),f={class:"card"},b={id:"Slots"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Button Group content"),t("td",null,[t("code",null,"-")])])])],-1);function v(B,x,y,G,P,S){const o=n("router-link");return l(),s("div",i,[m,t("div",p,[t("h3",_,[d(o,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),h]),t("div",f,[t("h3",b,[d(o,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),g])])}const N=r(u,[["render",v]]);export{N as default}; +import{_ as r,b as n,e as l,m as s,p as t,q as d,w as c,Q as e,Z as a}from"./index-0bd4ebfc.js";const u={components:{}},i={class:"varlet-site-doc"},m=t("h2",null,"API",-1),p={class:"card"},_={id:"Props"},h=a("
PropDescriptionTypeDefault
typeButton Group type, can be set to default primary info success warning dangerstringdefault
sizeButton Group size, can be set to normal mini small largestringnormal
modeButton Group mode, can be set to normal text outlinestringnormal
verticalWhether to be vertical button groupbooleanfalse
elevationElevation of Button Group, options true false and level of 0-24string | number | booleantrue
colorButton Group background colorstring-
text-colorButton Group Text colorstring-
",1),f={class:"card"},b={id:"Slots"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Button Group content"),t("td",null,[t("code",null,"-")])])])],-1);function v(B,x,y,G,P,S){const o=n("router-link");return l(),s("div",i,[m,t("div",p,[t("h3",_,[d(o,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),h]),t("div",f,[t("h3",b,[d(o,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),g])])}const N=r(u,[["render",v]]);export{N as default}; diff --git a/assets/en-US-ffdcecb9.js b/assets/en-US-9f9584de.js similarity index 99% rename from assets/en-US-ffdcecb9.js rename to assets/en-US-9f9584de.js index 39b4a597ded..19d6cd2a2b0 100644 --- a/assets/en-US-ffdcecb9.js +++ b/assets/en-US-9f9584de.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as r,p as a,q as t,w as e,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Checkbox",-1),u={class:"card"},m={id:"Intro"},v=a("p",null,"A group of options for multiple choices.",-1),g={class:"card"},_={id:"Basic-Usage"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as h,m as r,p as a,q as t,w as e,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Checkbox",-1),u={class:"card"},m={id:"Intro"},v=a("p",null,"A group of options for multiple choices.",-1),g={class:"card"},_={id:"Basic-Usage"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/en-US-cb66d09c.js b/assets/en-US-a003d6d9.js similarity index 99% rename from assets/en-US-cb66d09c.js rename to assets/en-US-a003d6d9.js index f58054f13a5..74d08938430 100644 --- a/assets/en-US-cb66d09c.js +++ b/assets/en-US-a003d6d9.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as r,m as h,p as a,q as t,w as e,Q as s,Z as o}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Rate",-1),m={class:"card"},u={id:"Basic-Usage"},g=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as d,b as c,e as r,m as h,p as a,q as t,w as e,Q as s,Z as o}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Rate",-1),m={class:"card"},u={id:"Basic-Usage"},g=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" score = ref("),a("span",{class:"hljs-number"},"3"),s(`) diff --git a/assets/en-US-7098d1ca.js b/assets/en-US-a20971d8.js similarity index 99% rename from assets/en-US-7098d1ca.js rename to assets/en-US-a20971d8.js index 8617b6343b2..73967467294 100644 --- a/assets/en-US-7098d1ca.js +++ b/assets/en-US-a20971d8.js @@ -1,4 +1,4 @@ -import{_ as d,b as p,e as r,m as o,p as a,q as l,w as t,Q as s,Z as e}from"./index-af5fec45.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Select",-1),g={class:"card"},m={id:"Intro"},v=a("p",null,"Display and select the content through the drop-down menu.",-1),u={class:"card"},b={id:"Standard-Variant"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as d,b as p,e as r,m as o,p as a,q as l,w as t,Q as s,Z as e}from"./index-0bd4ebfc.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Select",-1),g={class:"card"},m={id:"Intro"},v=a("p",null,"Display and select the content through the drop-down menu.",-1),u={class:"card"},b={id:"Standard-Variant"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` value = ref() diff --git a/assets/en-US-9161167e.js b/assets/en-US-a7dd79be.js similarity index 99% rename from assets/en-US-9161167e.js rename to assets/en-US-a7dd79be.js index 0e15dd527c6..244b3999def 100644 --- a/assets/en-US-9161167e.js +++ b/assets/en-US-a7dd79be.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as h,p as s,q as a,w as e,Q as t,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},_=s("h1",null,"Paper",-1),u={class:"card"},j={id:"Intro"},m=s("p",null,"An easier container using elevation and water effects.",-1),g={class:"card"},v={id:"Basic-Usage"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` +import{_ as o,b as d,e as r,m as h,p as s,q as a,w as e,Q as t,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},_=s("h1",null,"Paper",-1),u={class:"card"},j={id:"Intro"},m=s("p",null,"An easier container using elevation and water effects.",-1),g={class:"card"},v={id:"Basic-Usage"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-paper"),t(),s("span",{class:"hljs-attr"},":elevation"),t("="),s("span",{class:"hljs-string"},'"2"'),t(),s("span",{class:"hljs-attr"},":width"),t("="),s("span",{class:"hljs-string"},'"100"'),t(),s("span",{class:"hljs-attr"},":height"),t("="),s("span",{class:"hljs-string"},'"100"'),t(" />")]),t(` `),s("span",{class:"hljs-tag"},[t("")]),t(` `)])],-1),b={class:"card"},P={id:"Ripple-Effect"},S=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` diff --git a/assets/en-US-284b4ea6.js b/assets/en-US-b18e1734.js similarity index 99% rename from assets/en-US-284b4ea6.js rename to assets/en-US-b18e1734.js index 929d66f79bb..f80d70524e7 100644 --- a/assets/en-US-284b4ea6.js +++ b/assets/en-US-b18e1734.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as p,m as i,p as a,q as t,w as l,Q as s,Z as r}from"./index-af5fec45.js";const h={components:{}},d={class:"varlet-site-doc"},j=a("h1",null,"Ripple Directive",-1),u={class:"card"},b={id:"Intro"},m=a("p",null,"Causes the element to generate a ripple spread effect when clicked.",-1),_={class:"card"},g={id:"Basic-Use"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as p,m as i,p as a,q as t,w as l,Q as s,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},d={class:"varlet-site-doc"},j=a("h1",null,"Ripple Directive",-1),u={class:"card"},b={id:"Intro"},m=a("p",null,"Causes the element to generate a ripple spread effect when clicked.",-1),_={class:"card"},g={id:"Basic-Use"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"ripple-example-block var-elevation--2"'),s(),a("span",{class:"hljs-attr"},"v-ripple"),s(">")]),s("click"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-c43b0f28.js b/assets/en-US-b6951db9.js similarity index 99% rename from assets/en-US-c43b0f28.js rename to assets/en-US-b6951db9.js index 73d3d990de5..2650ffc6f0d 100644 --- a/assets/en-US-c43b0f28.js +++ b/assets/en-US-b6951db9.js @@ -1,4 +1,4 @@ -import{_ as o,b as n,e as r,m as h,p as t,q as e,w as a,Q as s,Z as c}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Cell",-1),m={class:"card"},_={id:"Intro"},g=t("p",null,"The cell is a single display item in the list.",-1),u={class:"card"},f={id:"Basic-Usage"},v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as n,e as r,m as h,p as t,q as e,w as a,Q as s,Z as c}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"Cell",-1),m={class:"card"},_={id:"Intro"},g=t("p",null,"The cell is a single display item in the list.",-1),u={class:"card"},f={id:"Basic-Usage"},v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-cell"),s(">")]),s("This is Cell"),t("span",{class:"hljs-tag"},[s("")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),b={class:"card"},x={id:"Show-Icon"},S=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/en-US-64f7e5e3.js b/assets/en-US-b96518c6.js similarity index 99% rename from assets/en-US-64f7e5e3.js rename to assets/en-US-b96518c6.js index cb519501f32..6b77edaa6fa 100644 --- a/assets/en-US-64f7e5e3.js +++ b/assets/en-US-b96518c6.js @@ -1,4 +1,4 @@ -import{_ as h,b as c,e as o,m as r,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},g=a("h1",null,"Image",-1),j={class:"card"},m={id:"Intro"},u=a("p",null,[s("Components provide more convenient size, fill mode, rounded corner Settings, ripple effect enhanced picture click interactive experience. Supports "),a("code",null,"Lazy load"),s(", "),a("code",null,"loading images"),s(", "),a("code",null,"error images"),s(", and default Settings for applying Lazy instructions.")],-1),_={class:"card"},v={id:"Basic-Use"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as c,e as o,m as r,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},g=a("h1",null,"Image",-1),j={class:"card"},m={id:"Intro"},u=a("p",null,[s("Components provide more convenient size, fill mode, rounded corner Settings, ripple effect enhanced picture click interactive experience. Supports "),a("code",null,"Lazy load"),s(", "),a("code",null,"loading images"),s(", "),a("code",null,"error images"),s(", and default Settings for applying Lazy instructions.")],-1),_={class:"card"},v={id:"Basic-Use"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-image"),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),y={class:"card"},x={id:"Fit-Mode"},w=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/en-US-b1f43181.js b/assets/en-US-be61f065.js similarity index 97% rename from assets/en-US-b1f43181.js rename to assets/en-US-be61f065.js index 08a9ebba5ab..d96f9dc7d4a 100644 --- a/assets/en-US-b1f43181.js +++ b/assets/en-US-be61f065.js @@ -1 +1 @@ -import{_ as s,b as a,e as r,m as l,p as t,q as d,w as c,Q as e,Z as n}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},_={class:"card"},m={id:"Props"},u=n('
PropDescriptionTypeDefault
nameIdentifierstring-
iconIcon name, equivalent to the name of Icon componentstring-
labelLabel text contentstring-
namespaceIcon namespace, extensible custom icon library, equivalent to the namespace of Icon componentstringvar-icon
badgeLogo in the upper right corner of the iconboolean | BadgePropsfalse
',1),p={class:"card"},b={id:"Events"},f=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"Arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"Triggered when clicking"),t("td",null,[t("code",null,"active: number | string")])])])],-1),v={class:"card"},g={id:"Slots"},x=n("
NameDescriptionSlotProps
defaultCustom label text content that overwrites the content of label-
iconCustom Iconactive: boolean
",1);function S(y,k,I,P,E,N){const o=a("router-link");return r(),l("div",h,[t("div",_,[t("h3",m,[d(o,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),u]),t("div",p,[t("h3",b,[d(o,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),f]),t("div",v,[t("h3",g,[d(o,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),x])])}const B=s(i,[["render",S]]);export{B as default}; +import{_ as s,b as a,e as r,m as l,p as t,q as d,w as c,Q as e,Z as n}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},_={class:"card"},m={id:"Props"},u=n('
PropDescriptionTypeDefault
nameIdentifierstring-
iconIcon name, equivalent to the name of Icon componentstring-
labelLabel text contentstring-
namespaceIcon namespace, extensible custom icon library, equivalent to the namespace of Icon componentstringvar-icon
badgeLogo in the upper right corner of the iconboolean | BadgePropsfalse
',1),p={class:"card"},b={id:"Events"},f=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"Arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"Triggered when clicking"),t("td",null,[t("code",null,"active: number | string")])])])],-1),v={class:"card"},g={id:"Slots"},x=n("
NameDescriptionSlotProps
defaultCustom label text content that overwrites the content of label-
iconCustom Iconactive: boolean
",1);function S(y,k,I,P,E,N){const o=a("router-link");return r(),l("div",h,[t("div",_,[t("h3",m,[d(o,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),u]),t("div",p,[t("h3",b,[d(o,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),f]),t("div",v,[t("h3",g,[d(o,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),x])])}const B=s(i,[["render",S]]);export{B as default}; diff --git a/assets/en-US-a604e335.js b/assets/en-US-be7afe55.js similarity index 99% rename from assets/en-US-a604e335.js rename to assets/en-US-be7afe55.js index a7f9286d707..e8b56cddf10 100644 --- a/assets/en-US-a604e335.js +++ b/assets/en-US-be7afe55.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as n}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Chip",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Chip component, used to display some items, and supports closing items.",-1),_={class:"card"},v={id:"Chip-Type"},f=a("p",null,"Set the type of the chip with the 'type' attribute.",-1),b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as n}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Chip",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Chip component, used to display some items, and supports closing items.",-1),_={class:"card"},v={id:"Chip-Type"},f=a("p",null,"Set the type of the chip with the 'type' attribute.",-1),b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-chip"),s(">")]),s("Default Chip"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-chip"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Primary Chip"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-21ec1aa5.js b/assets/en-US-c044405e.js similarity index 98% rename from assets/en-US-21ec1aa5.js rename to assets/en-US-c044405e.js index 0c422d8754e..275c1ae59f9 100644 --- a/assets/en-US-21ec1aa5.js +++ b/assets/en-US-c044405e.js @@ -1 +1 @@ -import{_ as n,b as s,e as r,m as l,p as t,q as o,w as c,Q as e,Z as i}from"./index-af5fec45.js";const u={components:{}},a={class:"varlet-site-doc"},m=t("h2",null,"API",-1),p={class:"card"},b={id:"Props"},h=i("
PropDescriptionTypeDefault
spanNumber of grids occupied by columnsstring | number24
offsetNumber of grids for column offsetsstring | number0
directionThe optional value of layout direction is row columnstringrow
justifyMain axis arrangement, can be set to flex-start flex-end center space-around space-betweenstring-
alignCross axis arrangement, can be set to stretch center flex-start flex-end baselinestring-
xs<768px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
sm≥768px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
md≥992px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
lg≥1200px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
xl≥1920px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
",1),_={class:"card"},f={id:"Events"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"Arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"Triggered on click"),t("td",null,[t("code",null,"event: Event")])])])],-1),v={class:"card"},x={id:"Slots"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Col content"),t("td",null,[t("code",null,"-")])])])],-1);function N(j,k,E,P,S,w){const d=s("router-link");return r(),l("div",a,[m,t("div",p,[t("h3",b,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),h]),t("div",_,[t("h3",f,[o(d,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),g]),t("div",v,[t("h3",x,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),y])])}const C=n(u,[["render",N]]);export{C as default}; +import{_ as n,b as s,e as r,m as l,p as t,q as o,w as c,Q as e,Z as i}from"./index-0bd4ebfc.js";const u={components:{}},a={class:"varlet-site-doc"},m=t("h2",null,"API",-1),p={class:"card"},b={id:"Props"},h=i("
PropDescriptionTypeDefault
spanNumber of grids occupied by columnsstring | number24
offsetNumber of grids for column offsetsstring | number0
directionThe optional value of layout direction is row columnstringrow
justifyMain axis arrangement, can be set to flex-start flex-end center space-around space-betweenstring-
alignCross axis arrangement, can be set to stretch center flex-start flex-end baselinestring-
xs<768px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
sm≥768px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
md≥992px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
lg≥1200px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
xl≥1920px Responsive columns or column props objectstring | number | { span?: number | string, offset?: number | string }-
",1),_={class:"card"},f={id:"Events"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Event"),t("th",null,"Description"),t("th",null,"Arguments")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"Triggered on click"),t("td",null,[t("code",null,"event: Event")])])])],-1),v={class:"card"},x={id:"Slots"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Col content"),t("td",null,[t("code",null,"-")])])])],-1);function N(j,k,E,P,S,w){const d=s("router-link");return r(),l("div",a,[m,t("div",p,[t("h3",b,[o(d,{to:"#Props"},{default:c(()=>[e("#")]),_:1}),e("Props")]),h]),t("div",_,[t("h3",f,[o(d,{to:"#Events"},{default:c(()=>[e("#")]),_:1}),e("Events")]),g]),t("div",v,[t("h3",x,[o(d,{to:"#Slots"},{default:c(()=>[e("#")]),_:1}),e("Slots")]),y])])}const C=n(u,[["render",N]]);export{C as default}; diff --git a/assets/en-US-088e6784.js b/assets/en-US-c3b18ffd.js similarity index 96% rename from assets/en-US-088e6784.js rename to assets/en-US-c3b18ffd.js index 544c9456fe3..93f1ad2b5b9 100644 --- a/assets/en-US-088e6784.js +++ b/assets/en-US-c3b18ffd.js @@ -1 +1 @@ -import{_ as c,b as a,e as l,m as r,p as t,q as o,w as s,Q as e,Z as n}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},b={id:"Props"},p=n("
PropDescriptionTypeDefault
nameTab's namestring | numberindex
disabledWhether to disable tabbooleanfalse
",1),m={class:"card"},v={id:"Events"},f=n("

Tab Events

EventDescriptionArguments
clickTriggered when the tab is clicked, but not when the tab disabled status is trueactive: string | number
event: Event
",2),E={class:"card"},k={id:"Slots"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Tab's content"),t("td",null,[t("code",null,"-")])])])],-1);function y(P,S,T,g,N,w){const d=a("router-link");return l(),r("div",i,[_,t("div",u,[t("h3",b,[o(d,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",m,[t("h3",v,[o(d,{to:"#Events"},{default:s(()=>[e("#")]),_:1}),e("Events")]),f]),t("div",E,[t("h3",k,[o(d,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),x])])}const V=c(h,[["render",y]]);export{V as default}; +import{_ as c,b as a,e as l,m as r,p as t,q as o,w as s,Q as e,Z as n}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},b={id:"Props"},p=n("
PropDescriptionTypeDefault
nameTab's namestring | numberindex
disabledWhether to disable tabbooleanfalse
",1),m={class:"card"},v={id:"Events"},f=n("

Tab Events

EventDescriptionArguments
clickTriggered when the tab is clicked, but not when the tab disabled status is trueactive: string | number
event: Event
",2),E={class:"card"},k={id:"Slots"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"Name"),t("th",null,"Description"),t("th",null,"SlotProps")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Tab's content"),t("td",null,[t("code",null,"-")])])])],-1);function y(P,S,T,g,N,w){const d=a("router-link");return l(),r("div",i,[_,t("div",u,[t("h3",b,[o(d,{to:"#Props"},{default:s(()=>[e("#")]),_:1}),e("Props")]),p]),t("div",m,[t("h3",v,[o(d,{to:"#Events"},{default:s(()=>[e("#")]),_:1}),e("Events")]),f]),t("div",E,[t("h3",k,[o(d,{to:"#Slots"},{default:s(()=>[e("#")]),_:1}),e("Slots")]),x])])}const V=c(h,[["render",y]]);export{V as default}; diff --git a/assets/en-US-77859244.js b/assets/en-US-c599d50d.js similarity index 99% rename from assets/en-US-77859244.js rename to assets/en-US-c599d50d.js index 9c4ca22a12c..31e12f81ec7 100644 --- a/assets/en-US-77859244.js +++ b/assets/en-US-c599d50d.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as i,p as t,q as e,w as a,Q as s,Z as d}from"./index-af5fec45.js";const p={components:{}},h={class:"varlet-site-doc"},j=t("h1",null,"Uploader",-1),u={class:"card"},g={id:"Intro"},m=t("p",null,[s("It provides the ability to read files and preview pictures and videos. Get the file upload server by listening for "),t("code",null,"after-read"),s(" events.")],-1),f={class:"card"},v={id:"Basic-Usage"},_=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as i,p as t,q as e,w as a,Q as s,Z as d}from"./index-0bd4ebfc.js";const p={components:{}},h={class:"varlet-site-doc"},j=t("h1",null,"Uploader",-1),u={class:"card"},g={id:"Intro"},m=t("p",null,[s("It provides the ability to read files and preview pictures and videos. Get the file upload server by listening for "),t("code",null,"after-read"),s(" events.")],-1),f={class:"card"},v={id:"Basic-Usage"},_=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(` files = ref([]) diff --git a/assets/en-US-1a1f5d34.js b/assets/en-US-c827e56e.js similarity index 99% rename from assets/en-US-1a1f5d34.js rename to assets/en-US-c827e56e.js index befc585de6e..96753ec6d99 100644 --- a/assets/en-US-1a1f5d34.js +++ b/assets/en-US-c827e56e.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as a,q as t,w as e,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Radio",-1),u={class:"card"},m={id:"Intro"},v=a("p",null,"Single selection among multiple options.",-1),g={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as h,p as a,q as t,w as e,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Radio",-1),u={class:"card"},m={id:"Intro"},v=a("p",null,"Single selection among multiple options.",-1),g={class:"card"},_={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/en-US-a738b2ce.js b/assets/en-US-d1831c6a.js similarity index 99% rename from assets/en-US-a738b2ce.js rename to assets/en-US-d1831c6a.js index 20992e9df2f..e66f35e0025 100644 --- a/assets/en-US-a738b2ce.js +++ b/assets/en-US-d1831c6a.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as r,m as h,p as a,q as t,w as l,Q as s,Z as o}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Drag",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Make the element draggable freely.",-1),_={class:"card"},v={id:"Basic-Use"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as c,e as r,m as h,p as a,q as t,w as l,Q as s,Z as o}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Drag",-1),m={class:"card"},g={id:"Intro"},u=a("p",null,"Make the element draggable freely.",-1),_={class:"card"},v={id:"Basic-Use"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-drag"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Basic Use"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-2d3b28f5.js b/assets/en-US-d2f95613.js similarity index 99% rename from assets/en-US-2d3b28f5.js rename to assets/en-US-d2f95613.js index 491947d8289..1df52c2e466 100644 --- a/assets/en-US-2d3b28f5.js +++ b/assets/en-US-d2f95613.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as t,q as e,w as a,Q as s,Z as n}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},g=t("h1",null,"Card",-1),j={class:"card"},u={id:"Basic-Use"},m=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as r,m as h,p as t,q as e,w as a,Q as s,Z as n}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},g=t("h1",null,"Card",-1),j={class:"card"},u={id:"Basic-Use"},m=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-card"),s(` `),t("span",{class:"hljs-attr"},"title"),s("="),t("span",{class:"hljs-string"},'"Dangerous"'),s(` `),t("span",{class:"hljs-attr"},"description"),s("="),t("span",{class:"hljs-string"},'"The way she came into the place I knew right then and there.There was something different about this girl.The way she moved her hair her face her lines.Divinity in motion as she stalked the room.I could feel the aura of her presence.Every head turned feeling passion and lust.The girl was persuasive the girl I could not trust.The girl was bad.The girl was dangerous."'),s(` diff --git a/assets/en-US-7727d792.js b/assets/en-US-d3eaf86b.js similarity index 99% rename from assets/en-US-7727d792.js rename to assets/en-US-d3eaf86b.js index e88fc0e5be1..e7315577d17 100644 --- a/assets/en-US-7727d792.js +++ b/assets/en-US-d3eaf86b.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as p,m as r,p as a,q as t,w as n,Q as s,Z as e}from"./index-af5fec45.js";const h={components:{}},j={class:"varlet-site-doc"},u=a("h1",null,"Button",-1),i={class:"card"},g={id:"Intro"},m=a("p",null,"Button component for triggering actions.",-1),b={class:"card"},v={id:"Theme-Color-Button"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as o,e as p,m as r,p as a,q as t,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const h={components:{}},j={class:"varlet-site-doc"},u=a("h1",null,"Button",-1),i={class:"card"},g={id:"Intro"},m=a("p",null,"Button component for triggering actions.",-1),b={class:"card"},v={id:"Theme-Color-Button"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},":size"),s("="),a("span",{class:"hljs-string"},'"[10, 10]"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(">")]),s("Default Button"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("Primary Button"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/en-US-67fb5413.js b/assets/en-US-d7613dfc.js similarity index 99% rename from assets/en-US-67fb5413.js rename to assets/en-US-d7613dfc.js index 4c417d0413c..9fa73d6e3bd 100644 --- a/assets/en-US-67fb5413.js +++ b/assets/en-US-d7613dfc.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as p,p as t,q as a,w as e,Q as s,Z as d}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Input",-1),g={class:"card"},m={id:"Intro"},u=t("p",null,[s("The behavior of the input box is consistent with the basic content, and the user can always get a string that conforms to the "),t("code",null,"type"),s(" rule when inputting.")],-1),v={class:"card"},f={id:"Standard-Variant"},b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as p,p as t,q as a,w as e,Q as s,Z as d}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Input",-1),g={class:"card"},m={id:"Intro"},u=t("p",null,[s("The behavior of the input box is consistent with the basic content, and the user can always get a string that conforms to the "),t("code",null,"type"),s(" rule when inputting.")],-1),v={class:"card"},f={id:"Standard-Variant"},b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" value = ref("),t("span",{class:"hljs-string"},"''"),s(`) diff --git a/assets/en-US-9326ca0e.js b/assets/en-US-d9d2ba55.js similarity index 99% rename from assets/en-US-9326ca0e.js rename to assets/en-US-d9d2ba55.js index c061f346b49..882568c7f78 100644 --- a/assets/en-US-9326ca0e.js +++ b/assets/en-US-d9d2ba55.js @@ -1,4 +1,4 @@ -import{_ as i,b as c,e as r,m as h,p as s,q as n,w as t,Q as a,Z as o}from"./index-af5fec45.js";const d={components:{}},p={class:"varlet-site-doc"},m=s("h1",null,"Icon",-1),j={class:"card"},u={id:"Intro"},_=s("p",null,[a("Font based icon library, also support web images. Font icons are from "),s("a",{href:"https://materialdesignicons.com/"},"Material Design Icon"),a(".")],-1),g={class:"card"},y={id:"Icon-Size"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"template"),a(">")]),a(` +import{_ as i,b as c,e as r,m as h,p as s,q as n,w as t,Q as a,Z as o}from"./index-0bd4ebfc.js";const d={components:{}},p={class:"varlet-site-doc"},m=s("h1",null,"Icon",-1),j={class:"card"},u={id:"Intro"},_=s("p",null,[a("Font based icon library, also support web images. Font icons are from "),s("a",{href:"https://materialdesignicons.com/"},"Material Design Icon"),a(".")],-1),g={class:"card"},y={id:"Icon-Size"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"template"),a(">")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"var-icon"),a(),s("span",{class:"hljs-attr"},"name"),a("="),s("span",{class:"hljs-string"},'"checkbox-marked-circle"'),a(" />")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"var-icon"),a(),s("span",{class:"hljs-attr"},"name"),a("="),s("span",{class:"hljs-string"},'"checkbox-marked-circle"'),a(),s("span",{class:"hljs-attr"},":size"),a("="),s("span",{class:"hljs-string"},'"26"'),a("/>")]),a(` `),s("span",{class:"hljs-tag"},[a("")]),a(` diff --git a/assets/en-US-1af9c01d.js b/assets/en-US-d9f30a45.js similarity index 99% rename from assets/en-US-1af9c01d.js rename to assets/en-US-d9f30a45.js index 116c4e3ff91..275d2fdc132 100644 --- a/assets/en-US-1af9c01d.js +++ b/assets/en-US-d9f30a45.js @@ -1,4 +1,4 @@ -import{_ as p,b as o,e as r,m as h,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const d={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Popup",-1),m={class:"card"},u={id:"Intro"},g=a("p",null,[s("Create a container that can pop up from top, bottom, left, right and center. "),a("code",null,"teleport"),s(" inserts into the end of the "),a("code",null,"body"),s(" by default.")],-1),b={class:"card"},v={id:"Popup-Position"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as p,b as o,e as r,m as h,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const d={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Popup",-1),m={class:"card"},u={id:"Intro"},g=a("p",null,[s("Create a container that can pop up from top, bottom, left, right and center. "),a("code",null,"teleport"),s(" inserts into the end of the "),a("code",null,"body"),s(" by default.")],-1),b={class:"card"},v={id:"Popup-Position"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" center = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/en-US-2b0b6dc0.js b/assets/en-US-e2493af1.js similarity index 99% rename from assets/en-US-2b0b6dc0.js rename to assets/en-US-e2493af1.js index 3d0d4100c6e..3e1a3b30808 100644 --- a/assets/en-US-2b0b6dc0.js +++ b/assets/en-US-e2493af1.js @@ -1,4 +1,4 @@ -import{_ as d,b as o,e as h,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Tabs",-1),m={class:"card"},b={id:"Intro"},v=a("p",null,[s("Use "),a("code",null,"Tabs, Tab"),s(" to switch between tabbed groups and Use "),a("code",null,"TabsItems"),s(", "),a("code",null,"TabItem"),s(" to achieve view linkage with Tabs.")],-1),g={class:"card"},u={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as d,b as o,e as h,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Tabs",-1),m={class:"card"},b={id:"Intro"},v=a("p",null,[s("Use "),a("code",null,"Tabs, Tab"),s(" to switch between tabbed groups and Use "),a("code",null,"TabsItems"),s(", "),a("code",null,"TabItem"),s(" to achieve view linkage with Tabs.")],-1),g={class:"card"},u={id:"Basic-Usage"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" active = ref("),a("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/en-US-05f4fa26.js b/assets/en-US-e609ffe2.js similarity index 99% rename from assets/en-US-05f4fa26.js rename to assets/en-US-e609ffe2.js index 8563ba9b40f..0aeeaba96ec 100644 --- a/assets/en-US-05f4fa26.js +++ b/assets/en-US-e609ffe2.js @@ -1,4 +1,4 @@ -import{_ as r,b as d,e as o,m as p,p as t,q as a,w as n,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Picker",-1),u={class:"card"},m={id:"Intro"},g=t("p",null,"Two calling methods, function and component, are provided. It also supports cascade mode and can handle multi-level linkage.",-1),k={class:"card"},b={id:"Notice"},v=t("p",null,[s("In order to make the API more friendly, this component was refactored in "),t("code",null,"2.17.0"),s(", but break changes were introduced. For the old version documentation, please "),t("a",{href:"https://github.com/varletjs/varlet/blob/main/packages/varlet-ui/src/picker/docs/en-US.md"},"check here"),s(".")],-1),x=t("h2",null,"Function call",-1),_={class:"card"},y={id:"Single-Column-Picker"},f=t("p",null,[s("The function will return the information selected by the user and the user's last action "),t("code",null,"state"),s(". "),t("code",null,"state"),s(" may be "),t("code",null,"confirm"),s(", "),t("code",null,"cancel"),s(", "),t("code",null,"close"),s(".")],-1),C=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as r,b as d,e as o,m as p,p as t,q as a,w as n,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"Picker",-1),u={class:"card"},m={id:"Intro"},g=t("p",null,"Two calling methods, function and component, are provided. It also supports cascade mode and can handle multi-level linkage.",-1),k={class:"card"},b={id:"Notice"},v=t("p",null,[s("In order to make the API more friendly, this component was refactored in "),t("code",null,"2.17.0"),s(", but break changes were introduced. For the old version documentation, please "),t("a",{href:"https://github.com/varletjs/varlet/blob/main/packages/varlet-ui/src/picker/docs/en-US.md"},"check here"),s(".")],-1),x=t("h2",null,"Function call",-1),_={class:"card"},y={id:"Single-Column-Picker"},f=t("p",null,[s("The function will return the information selected by the user and the user's last action "),t("code",null,"state"),s(". "),t("code",null,"state"),s(" may be "),t("code",null,"confirm"),s(", "),t("code",null,"cancel"),s(", "),t("code",null,"close"),s(".")],-1),C=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { Picker, Snackbar } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `),t("span",{class:"hljs-keyword"},"async"),s(),t("span",{class:"hljs-function"},[t("span",{class:"hljs-keyword"},"function"),s(),t("span",{class:"hljs-title"},"picker"),s("("),t("span",{class:"hljs-params"}),s(") ")]),s(`{ diff --git a/assets/en-US-ee09886e.js b/assets/en-US-ec03b5bd.js similarity index 99% rename from assets/en-US-ee09886e.js rename to assets/en-US-ec03b5bd.js index a207e5268d7..20b23afa778 100644 --- a/assets/en-US-ee09886e.js +++ b/assets/en-US-ec03b5bd.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as r,m as h,p as s,q as t,w as a,Q as l,Z as o}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},u=s("h1",null,"PullRefresh",-1),j={class:"card"},f={id:"Intro"},m=s("p",null,"Provides a drop-down refresh interaction.",-1),g={class:"card"},_={id:"Basic-Usage"},v=s("p",null,[l("The refresh event will be Emitted when pull refresh, you should set "),s("code",null,"v-model"),l(" to "),s("code",null,"true"),l(" at the beginning of the event indicates that loading is under way, and setting "),s("code",null,"v-model"),l(" to "),s("code",null,"false"),l(" after completion indicates that loading is over.")],-1),b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[l("<"),s("span",{class:"hljs-name"},"script"),l(),s("span",{class:"hljs-attr"},"setup"),l(">")]),s("span",{class:"javascript"},[l(` +import{_ as d,b as c,e as r,m as h,p as s,q as t,w as a,Q as l,Z as o}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},u=s("h1",null,"PullRefresh",-1),j={class:"card"},f={id:"Intro"},m=s("p",null,"Provides a drop-down refresh interaction.",-1),g={class:"card"},_={id:"Basic-Usage"},v=s("p",null,[l("The refresh event will be Emitted when pull refresh, you should set "),s("code",null,"v-model"),l(" to "),s("code",null,"true"),l(" at the beginning of the event indicates that loading is under way, and setting "),s("code",null,"v-model"),l(" to "),s("code",null,"false"),l(" after completion indicates that loading is over.")],-1),b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[l("<"),s("span",{class:"hljs-name"},"script"),l(),s("span",{class:"hljs-attr"},"setup"),l(">")]),s("span",{class:"javascript"},[l(` `),s("span",{class:"hljs-keyword"},"import"),l(" { ref } "),s("span",{class:"hljs-keyword"},"from"),l(),s("span",{class:"hljs-string"},"'vue'"),l(` `),s("span",{class:"hljs-keyword"},"const"),l(" data1 = "),s("span",{class:"hljs-built_in"},"Array"),l("("),s("span",{class:"hljs-number"},"30"),l(").fill("),s("span",{class:"hljs-string"},"'List Item'"),l(`) diff --git a/assets/en-US-123017aa.js b/assets/en-US-ec88bb94.js similarity index 99% rename from assets/en-US-123017aa.js rename to assets/en-US-ec88bb94.js index 7a1ec21e6f5..3243c90e16f 100644 --- a/assets/en-US-123017aa.js +++ b/assets/en-US-ec88bb94.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Loading",-1),g={class:"card"},m={id:"Intro"},_=a("p",null,"Loading component for performing animations when data is loaded.",-1),v={class:"card"},u={id:"Type"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as r,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Loading",-1),g={class:"card"},m={id:"Intro"},_=a("p",null,"Loading component for performing animations when data is loaded.",-1),v={class:"card"},u={id:"Type"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},"align"),s("="),a("span",{class:"hljs-string"},'"center"'),s(),a("span",{class:"hljs-attr"},"justify"),s("="),a("span",{class:"hljs-string"},'"space-between"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-loading"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"circle"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-loading"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"cube"'),s(" />")]),s(` diff --git a/assets/en-US-139ddbe0.js b/assets/en-US-f3b73053.js similarity index 99% rename from assets/en-US-139ddbe0.js rename to assets/en-US-f3b73053.js index 5f4b6cf38a5..ea11d3cbbec 100644 --- a/assets/en-US-139ddbe0.js +++ b/assets/en-US-f3b73053.js @@ -1,4 +1,4 @@ -import{_ as r,b as c,e as p,m as h,p as a,q as n,w as l,Q as s}from"./index-af5fec45.js";const o={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Hover",-1),d={class:"card"},u={id:"Intro"},g=a("p",null,"Style binding is performed when the pointer hovers the binding element, and the current hovering state can also be obtained through a function, which supports selective enablement on desktop or mobile.",-1),m={class:"card"},_={id:"Style-Binding"},v=a("p",null,"The style binding is performed when the pointer hovers over the bound element, and the style binding is canceled when the pointer leaves the element.",-1),f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as r,b as c,e as p,m as h,p as a,q as n,w as l,Q as s}from"./index-0bd4ebfc.js";const o={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"Hover",-1),d={class:"card"},u={id:"Intro"},g=a("p",null,"Style binding is performed when the pointer hovers the binding element, and the current hovering state can also be obtained through a function, which supports selective enablement on desktop or mobile.",-1),m={class:"card"},_={id:"Style-Binding"},v=a("p",null,"The style binding is performed when the pointer hovers over the bound element, and the style binding is canceled when the pointer leaves the element.",-1),f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-paper"),s(` `),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"paper"'),s(` `),a("span",{class:"hljs-attr"},"ripple"),s(` diff --git a/assets/en-US-782789d6.js b/assets/en-US-f9c707c8.js similarity index 99% rename from assets/en-US-782789d6.js rename to assets/en-US-f9c707c8.js index 3a2edc3ca3f..af187b4b75b 100644 --- a/assets/en-US-782789d6.js +++ b/assets/en-US-f9c707c8.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as i,p as s,q as l,w as t,Q as a,Z as p}from"./index-af5fec45.js";const h={components:{}},d={class:"varlet-site-doc"},u=s("h1",null,"Style Provider",-1),j={class:"card"},m={id:"Intro"},_=s("p",null,[a("Component libraries organize styles through "),s("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties"},"CSS variables"),a(". Each component has a corresponding style variable, you can directly replace the style variable on the root node by overriding it with a CSS file. Or use StyleProvider components.")],-1),b={class:"card"},g={id:"Basic-Style-Variable"},y=s("p",null,"Here are some basic style variables for the component library",-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-selector-pseudo"},":root"),a(` { +import{_ as o,b as c,e as r,m as i,p as s,q as l,w as t,Q as a,Z as p}from"./index-0bd4ebfc.js";const h={components:{}},d={class:"varlet-site-doc"},u=s("h1",null,"Style Provider",-1),j={class:"card"},m={id:"Intro"},_=s("p",null,[a("Component libraries organize styles through "),s("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties"},"CSS variables"),a(". Each component has a corresponding style variable, you can directly replace the style variable on the root node by overriding it with a CSS file. Or use StyleProvider components.")],-1),b={class:"card"},g={id:"Basic-Style-Variable"},y=s("p",null,"Here are some basic style variables for the component library",-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-selector-pseudo"},":root"),a(` { --`),s("span",{class:"hljs-attribute"},"font-size"),a("-xs: "),s("span",{class:"hljs-number"},"10px"),a(`; --`),s("span",{class:"hljs-attribute"},"font-size"),a("-sm: "),s("span",{class:"hljs-number"},"12px"),a(`; --`),s("span",{class:"hljs-attribute"},"font-size"),a("-md: "),s("span",{class:"hljs-number"},"14px"),a(`; diff --git a/assets/en-US-25c8c2d2.js b/assets/en-US-fc1b5b7b.js similarity index 99% rename from assets/en-US-25c8c2d2.js rename to assets/en-US-fc1b5b7b.js index ea4de63bba0..f8ee33c9e28 100644 --- a/assets/en-US-25c8c2d2.js +++ b/assets/en-US-fc1b5b7b.js @@ -1,4 +1,4 @@ -import{_ as c,b as l,e as r,m as h,p as t,q as a,w as e,Q as s,Z as o}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"LoadingBar",-1),g={class:"card"},m={id:"Intro"},_=t("p",null,"Display loading progress at the top of the page.",-1),u={class:"card"},y={id:"Basic-Usage"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as c,b as l,e as r,m as h,p as t,q as a,w as e,Q as s,Z as o}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"LoadingBar",-1),g={class:"card"},m={id:"Intro"},_=t("p",null,"Display loading progress at the top of the page.",-1),u={class:"card"},y={id:"Basic-Usage"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { LoadingBar } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` diff --git a/assets/en-US-50e88f01.js b/assets/en-US-fcabee24.js similarity index 99% rename from assets/en-US-50e88f01.js rename to assets/en-US-fcabee24.js index a4c6241ce39..da3830bc64f 100644 --- a/assets/en-US-50e88f01.js +++ b/assets/en-US-fcabee24.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as r,m as i,p as l,q as a,w as t,Q as s,Z as n}from"./index-af5fec45.js";const h={components:{}},p={class:"varlet-site-doc"},j=l("h1",null,"List",-1),u={class:"card"},m={id:"Intro"},f=l("p",null,"Unlimited scroll load list, touch bottom load, support manual check position load. Support custom loading state, error state, data loading completed state.",-1),g={class:"card"},_={id:"Basic-Use"},v=l("p",null,[s("The "),l("code",null,"load"),s(" event is emitted when a scroll container is detected scrolling to the bottom, and will be set "),l("code",null,"loading"),s(" to "),l("code",null,"true"),s(", you need to manually set "),l("code",null,"loading"),s(" to "),l("code",null,"false"),s(" at the end of loading, that's the end of the load.")],-1),b=l("pre",{class:"hljs"},[l("code",null,[l("span",{class:"hljs-tag"},[s("<"),l("span",{class:"hljs-name"},"script"),s(),l("span",{class:"hljs-attr"},"setup"),s(">")]),l("span",{class:"javascript"},[s(` +import{_ as d,b as c,e as r,m as i,p as l,q as a,w as t,Q as s,Z as n}from"./index-0bd4ebfc.js";const h={components:{}},p={class:"varlet-site-doc"},j=l("h1",null,"List",-1),u={class:"card"},m={id:"Intro"},f=l("p",null,"Unlimited scroll load list, touch bottom load, support manual check position load. Support custom loading state, error state, data loading completed state.",-1),g={class:"card"},_={id:"Basic-Use"},v=l("p",null,[s("The "),l("code",null,"load"),s(" event is emitted when a scroll container is detected scrolling to the bottom, and will be set "),l("code",null,"loading"),s(" to "),l("code",null,"true"),s(", you need to manually set "),l("code",null,"loading"),s(" to "),l("code",null,"false"),s(" at the end of loading, that's the end of the load.")],-1),b=l("pre",{class:"hljs"},[l("code",null,[l("span",{class:"hljs-tag"},[s("<"),l("span",{class:"hljs-name"},"script"),s(),l("span",{class:"hljs-attr"},"setup"),s(">")]),l("span",{class:"javascript"},[s(` `),l("span",{class:"hljs-keyword"},"import"),s(" { ref } "),l("span",{class:"hljs-keyword"},"from"),s(),l("span",{class:"hljs-string"},"'vue'"),s(` `),l("span",{class:"hljs-keyword"},"const"),s(" loading = ref("),l("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/en-US-750cb24c.js b/assets/en-US-ffdc9f07.js similarity index 97% rename from assets/en-US-750cb24c.js rename to assets/en-US-ffdc9f07.js index dae204435a9..6729569b565 100644 --- a/assets/en-US-750cb24c.js +++ b/assets/en-US-ffdc9f07.js @@ -1,4 +1,4 @@ -import{_ as l,b as n,e as c,m as r,p as e,q as o,w as s,Q as t,Z as i}from"./index-af5fec45.js";const h={components:{}},u={class:"varlet-site-doc"},_=e("h1",null,"Locale",-1),g={class:"card"},p={id:"Intro"},m=e("p",null,"Component library uses Chinese as the default language, support multi-language switch.",-1),L={class:"card"},f={id:"Multi-language-Switch"},S=e("p",null,[t("The "),e("code",null,"Locale"),t(" component is introduced to realize multi-language switching, and "),e("code",null,"Locale.add"),t(" is used for language extension.")],-1),v=e("pre",{class:"hljs"},[e("code",null,[e("span",{class:"hljs-keyword"},"import"),t(" { Locale } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'@varlet/ui'"),t(` +import{_ as l,b as n,e as c,m as r,p as e,q as o,w as s,Q as t,Z as i}from"./index-0bd4ebfc.js";const h={components:{}},u={class:"varlet-site-doc"},_=e("h1",null,"Locale",-1),g={class:"card"},p={id:"Intro"},m=e("p",null,"Component library uses Chinese as the default language, support multi-language switch.",-1),L={class:"card"},f={id:"Multi-language-Switch"},S=e("p",null,[t("The "),e("code",null,"Locale"),t(" component is introduced to realize multi-language switching, and "),e("code",null,"Locale.add"),t(" is used for language extension.")],-1),v=e("pre",{class:"hljs"},[e("code",null,[e("span",{class:"hljs-keyword"},"import"),t(" { Locale } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'@varlet/ui'"),t(` Locale.add(`),e("span",{class:"hljs-string"},"'en-US'"),t(`, Locale.enUS) `)])],-1),C=e("p",null,[t("Use "),e("code",null,"Locale.use"),t(" to switch languages.")],-1),j=e("pre",{class:"hljs"},[e("code",null,[t("Locale.use("),e("span",{class:"hljs-string"},"'en-US'"),t(`) diff --git a/assets/extension.en-US-d29b332b.js b/assets/extension.en-US-7518e1b3.js similarity index 98% rename from assets/extension.en-US-d29b332b.js rename to assets/extension.en-US-7518e1b3.js index 55b3ab840cd..320e4c6511b 100644 --- a/assets/extension.en-US-d29b332b.js +++ b/assets/extension.en-US-7518e1b3.js @@ -1 +1 @@ -import{_ as n,b as a,e as r,m as l,p as e,q as i,w as s,Q as t,Z as p}from"./index-af5fec45.js";const c={components:{}},d={class:"varlet-site-doc"},u=e("h1",null,"Varlet VSCode Extension",-1),h={class:"card"},m={id:"Intro"},_=e("p",null,[t("For a better development experience, we built a "),e("code",null,"VSCode plugin"),t(".")],-1),v={class:"card"},g={id:"Features"},y=e("ul",null,[e("li",null,"🛠️  Support syntax hints and quick completion for all components."),e("li",null,"🛠️  Support document address preview and quick jump for all components."),e("li",null,[t("🛠️  Support frame selection of code snippets to quickly open "),e("code",null,"Playground"),t(".")]),e("li",null,"🛠️  Support full icon preview for icon components."),e("li",null,"🌍  Support switching between Chinese and English.")],-1),f={class:"card"},w={id:"Install"},b=e("p",null,[t("VsCode Extension Marketplace Search "),e("a",{href:"https://marketplace.visualstudio.com/items?itemName=haoziqaq.varlet-vscode-extension"},"varlet-vscode-extension"),t(".")],-1),x={class:"card"},k={id:"How-To-Use"},S=p('

Grammatical hints appear when you enter the keyword of the component name, and you can quickly complete it after selecting it.

Moving the mouse to the component name will display the document address of the component, which can be clicked to jump, and it also directly displays the properties, events and slots of the component in the form of a table.

Press space or attribute keywords in the attribute input range of the label to display attribute completion prompts and attribute information.

When the name property of the Icon component is input, an icon preview will appear, and syntax completion will be performed after selection.

Frame the code snippet, and you can quickly open Playground in the right-click menu to preview the framed code online.

Support switching between Chinese and English, more friendly to Chinese people.

',13);function q(C,V,I,E,F,N){const o=a("router-link");return r(),l("div",d,[u,e("div",h,[e("h3",m,[i(o,{to:"#Intro"},{default:s(()=>[t("#")]),_:1}),t("Intro")]),_]),e("div",v,[e("h3",g,[i(o,{to:"#Features"},{default:s(()=>[t("#")]),_:1}),t("Features")]),y]),e("div",f,[e("h3",w,[i(o,{to:"#Install"},{default:s(()=>[t("#")]),_:1}),t("Install")]),b]),e("div",x,[e("h3",k,[i(o,{to:"#How-To-Use"},{default:s(()=>[t("#")]),_:1}),t("How To Use")]),S])])}const U=n(c,[["render",q]]);export{U as default}; +import{_ as n,b as a,e as r,m as l,p as e,q as i,w as s,Q as t,Z as p}from"./index-0bd4ebfc.js";const c={components:{}},d={class:"varlet-site-doc"},u=e("h1",null,"Varlet VSCode Extension",-1),h={class:"card"},m={id:"Intro"},_=e("p",null,[t("For a better development experience, we built a "),e("code",null,"VSCode plugin"),t(".")],-1),v={class:"card"},g={id:"Features"},y=e("ul",null,[e("li",null,"🛠️  Support syntax hints and quick completion for all components."),e("li",null,"🛠️  Support document address preview and quick jump for all components."),e("li",null,[t("🛠️  Support frame selection of code snippets to quickly open "),e("code",null,"Playground"),t(".")]),e("li",null,"🛠️  Support full icon preview for icon components."),e("li",null,"🌍  Support switching between Chinese and English.")],-1),f={class:"card"},w={id:"Install"},b=e("p",null,[t("VsCode Extension Marketplace Search "),e("a",{href:"https://marketplace.visualstudio.com/items?itemName=haoziqaq.varlet-vscode-extension"},"varlet-vscode-extension"),t(".")],-1),x={class:"card"},k={id:"How-To-Use"},S=p('

Grammatical hints appear when you enter the keyword of the component name, and you can quickly complete it after selecting it.

Moving the mouse to the component name will display the document address of the component, which can be clicked to jump, and it also directly displays the properties, events and slots of the component in the form of a table.

Press space or attribute keywords in the attribute input range of the label to display attribute completion prompts and attribute information.

When the name property of the Icon component is input, an icon preview will appear, and syntax completion will be performed after selection.

Frame the code snippet, and you can quickly open Playground in the right-click menu to preview the framed code online.

Support switching between Chinese and English, more friendly to Chinese people.

',13);function q(C,V,I,E,F,N){const o=a("router-link");return r(),l("div",d,[u,e("div",h,[e("h3",m,[i(o,{to:"#Intro"},{default:s(()=>[t("#")]),_:1}),t("Intro")]),_]),e("div",v,[e("h3",g,[i(o,{to:"#Features"},{default:s(()=>[t("#")]),_:1}),t("Features")]),y]),e("div",f,[e("h3",w,[i(o,{to:"#Install"},{default:s(()=>[t("#")]),_:1}),t("Install")]),b]),e("div",x,[e("h3",k,[i(o,{to:"#How-To-Use"},{default:s(()=>[t("#")]),_:1}),t("How To Use")]),S])])}const U=n(c,[["render",q]]);export{U as default}; diff --git a/assets/extension.zh-CN-d50c11f0.js b/assets/extension.zh-CN-c8ac8730.js similarity index 97% rename from assets/extension.zh-CN-d50c11f0.js rename to assets/extension.zh-CN-c8ac8730.js index 85181f99137..59061e52bd2 100644 --- a/assets/extension.zh-CN-d50c11f0.js +++ b/assets/extension.zh-CN-c8ac8730.js @@ -1 +1 @@ -import{_ as d,b as a,e as l,m as r,p as e,q as s,w as i,Q as t,Z as n}from"./index-af5fec45.js";const c={components:{}},p={class:"varlet-site-doc"},h=e("h1",null,"Varlet VSCode Extension",-1),_={class:"card"},u={id:"jie4-shao4"},g=e("p",null,[t("为了更优秀的开发体验,我们构建了一个 "),e("code",null,"VSCode 插件"),t("。")],-1),v={class:"card"},m={id:"te4-xing4"},x=e("ul",null,[e("li",null,"🛠️  支持全组件的语法提示、快速补全。"),e("li",null,"🛠️  支持全组件的文档地址预览、快速跳转。"),e("li",null,[t("🛠️  支持框选代码片段,快速打开 "),e("code",null,"Playground"),t("。")]),e("li",null,"🛠️  支持图标组件的全图标预览。"),e("li",null,"🌍  支持中英文切换。")],-1),y={class:"card"},b={id:"an1-zhuang1"},k=e("p",null,[t("VsCode 插件市场搜索 "),e("a",{href:"https://marketplace.visualstudio.com/items?itemName=haoziqaq.varlet-vscode-extension"},"varlet-vscode-extension"),t("。")],-1),f={class:"card"},w={id:"ru2-he2-shi3-yong4"},V=n('

输入组件名称关键字时出现语法提示,选中后进行快速补全。

鼠标移动到组件名会显示组件的文档地址用来点击跳转,也直接以表格的形式展示组件的属性、事件和插槽。

在标签的属性输入范围按下空格或属性关键字,显示属性补全提示和属性信息。

输入 Icon 组件的 name 属性时出现图标预览,选中后进行语法补全。

框选代码片段,右键菜单中可以快速打开 Playground 对框选的代码进行线上预览。

支持中英文切换,对中国人更加友好。

',13);function C(N,z,$,q,B,S){const o=a("router-link");return l(),r("div",p,[h,e("div",_,[e("h3",u,[s(o,{to:"#jie4-shao4"},{default:i(()=>[t("#")]),_:1}),t("介绍")]),g]),e("div",v,[e("h3",m,[s(o,{to:"#te4-xing4"},{default:i(()=>[t("#")]),_:1}),t("特性")]),x]),e("div",y,[e("h3",b,[s(o,{to:"#an1-zhuang1"},{default:i(()=>[t("#")]),_:1}),t("安装")]),k]),e("div",f,[e("h3",w,[s(o,{to:"#ru2-he2-shi3-yong4"},{default:i(()=>[t("#")]),_:1}),t("如何使用")]),V])])}const E=d(c,[["render",C]]);export{E as default}; +import{_ as d,b as a,e as l,m as r,p as e,q as s,w as i,Q as t,Z as n}from"./index-0bd4ebfc.js";const c={components:{}},p={class:"varlet-site-doc"},h=e("h1",null,"Varlet VSCode Extension",-1),_={class:"card"},u={id:"jie4-shao4"},g=e("p",null,[t("为了更优秀的开发体验,我们构建了一个 "),e("code",null,"VSCode 插件"),t("。")],-1),v={class:"card"},m={id:"te4-xing4"},x=e("ul",null,[e("li",null,"🛠️  支持全组件的语法提示、快速补全。"),e("li",null,"🛠️  支持全组件的文档地址预览、快速跳转。"),e("li",null,[t("🛠️  支持框选代码片段,快速打开 "),e("code",null,"Playground"),t("。")]),e("li",null,"🛠️  支持图标组件的全图标预览。"),e("li",null,"🌍  支持中英文切换。")],-1),y={class:"card"},b={id:"an1-zhuang1"},k=e("p",null,[t("VsCode 插件市场搜索 "),e("a",{href:"https://marketplace.visualstudio.com/items?itemName=haoziqaq.varlet-vscode-extension"},"varlet-vscode-extension"),t("。")],-1),f={class:"card"},w={id:"ru2-he2-shi3-yong4"},V=n('

输入组件名称关键字时出现语法提示,选中后进行快速补全。

鼠标移动到组件名会显示组件的文档地址用来点击跳转,也直接以表格的形式展示组件的属性、事件和插槽。

在标签的属性输入范围按下空格或属性关键字,显示属性补全提示和属性信息。

输入 Icon 组件的 name 属性时出现图标预览,选中后进行语法补全。

框选代码片段,右键菜单中可以快速打开 Playground 对框选的代码进行线上预览。

支持中英文切换,对中国人更加友好。

',13);function C(N,z,$,q,B,S){const o=a("router-link");return l(),r("div",p,[h,e("div",_,[e("h3",u,[s(o,{to:"#jie4-shao4"},{default:i(()=>[t("#")]),_:1}),t("介绍")]),g]),e("div",v,[e("h3",m,[s(o,{to:"#te4-xing4"},{default:i(()=>[t("#")]),_:1}),t("特性")]),x]),e("div",y,[e("h3",b,[s(o,{to:"#an1-zhuang1"},{default:i(()=>[t("#")]),_:1}),t("安装")]),k]),e("div",f,[e("h3",w,[s(o,{to:"#ru2-he2-shi3-yong4"},{default:i(()=>[t("#")]),_:1}),t("如何使用")]),V])])}const E=d(c,[["render",C]]);export{E as default}; diff --git a/assets/home.en-US-27931061.js b/assets/home.en-US-96abd46f.js similarity index 98% rename from assets/home.en-US-27931061.js rename to assets/home.en-US-96abd46f.js index 00ca840da18..240df09ac3e 100644 --- a/assets/home.en-US-27931061.js +++ b/assets/home.en-US-96abd46f.js @@ -1 +1 @@ -import{_ as r,b as l,e as d,m as n,p as t,q as s,w as a,Q as e,Z as i}from"./index-af5fec45.js";const c={components:{}},h={class:"varlet-site-doc"},p={class:"card"},u={id:"Intro"},m=t("p",null,[e("Varlet is a Material design mobile component library developed based on "),t("code",null,"Vue3"),e(", developed and maintained by "),t("code",null,"varletjs"),e(" community team.")],-1),v={class:"card"},_={id:"Features"},b=i("
  • 🚀   Provide 60+ high quality general purpose components
  • 🚀   Components are very lightweight
  • 💪   Developed by Chinese, complete Chinese and English documentation and logistics support
  • 🛠️   Support on-demand introduction
  • 🛠️   Support theme customization
  • 🌍   Support internationalization
  • 💡   Support WebStorm syntax highlighting
  • 💪   Support the SSR
  • 💡   Support the Typescript
  • 💪   Make sure more than 90 percent unit test coverage, providing stability assurance
  • 🛠️   Support dark mode
  • 🛠️   Provide official VSCode extension
",1),g={class:"card"},f={id:"Official-Ecosystem"},y=i('

The following projects are maintained by the official team for a long time.

NameDescription
@varlet/cliVue3 component library rapid prototyping tool
@varlet/touch-emulatorDesktop adapter, so that the mobile component library can run on the desktop
@varlet/ui-playgroundVarlet component library online editing tool
varlet-vscode-extensionVarlet Component Library VSCode Plugin
vscode-theme-varletVarlet VSCode Theme
varlet-app-exampleVarlet component library app template
varlet-install-exampleCase collection of Varlet component library and various ecosystem integration
',2),k={class:"card"},j={id:"Community-Ecosystem"},S=i('

The following projects are maintained by community personnel, welcome to add.

NameDescription
vue-h5-templateVue-based mobile template scaffolding, providing mobile presets for Varlet component library
create-vite-appA desktop template scaffolding based on Vue3, providing desktop presets for Varlet component library
',2),V={class:"card"},C={id:"PR-&-Issue"},w=t("p",null,[e("If you have any problems during use, you can "),t("a",{href:"https://github.com/varletjs/varlet/issues"},"issue"),e(" them to us on "),t("a",{href:"https://github.com/varletjs/varlet"},"github"),e(", we will deal with it as soon as possible. You can also give us "),t("a",{href:"https://github.com/varletjs/varlet/pulls"},"PR"),e(".")],-1),x={class:"card"},T={id:"Open-source-licenses"},I=t("p",null,[e("Component library based on "),t("code",null,"MIT"),e(" licenses.")],-1),E={class:"card"},N={id:"Contribution-Guide"},O=t("p",null,[e("See "),t("a",{href:"https://github.com/varletjs/varlet/blob/dev/.github/CONTRIBUTING.md"},"Varlet Contribution"),e(".")],-1),P={class:"card"},R={id:"Thanks-to-contributors"},q=t("a",{href:"https://github.com/varletjs/varlet/graphs/contributors",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://contrib.rocks/image?repo=varletjs/varlet",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),B={class:"card"},D={id:"Thanks-to-the-following-sponsors"},G=t("a",{href:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),$={class:"card"},z={id:"Sponsor-this-project"},F=t("p",null,[e("Sponsor this project to support our better creation. It is recommended to use "),t("a",{href:"https://afdian.net/a/haoziqaq"},"afdian"),e(" to subscribe, and your avatar will appear in this project.")],-1);function M(L,U,A,K,Q,W){const o=l("router-link");return d(),n("div",h,[t("div",p,[t("h3",u,[s(o,{to:"#Intro"},{default:a(()=>[e("#")]),_:1}),e("Intro")]),m]),t("div",v,[t("h3",_,[s(o,{to:"#Features"},{default:a(()=>[e("#")]),_:1}),e("Features")]),b]),t("div",g,[t("h3",f,[s(o,{to:"#Official-Ecosystem"},{default:a(()=>[e("#")]),_:1}),e("Official Ecosystem")]),y]),t("div",k,[t("h3",j,[s(o,{to:"#Community-Ecosystem"},{default:a(()=>[e("#")]),_:1}),e("Community Ecosystem")]),S]),t("div",V,[t("h3",C,[s(o,{to:"#PR-&-Issue"},{default:a(()=>[e("#")]),_:1}),e("PR & Issue")]),w]),t("div",x,[t("h3",T,[s(o,{to:"#Open-source-licenses"},{default:a(()=>[e("#")]),_:1}),e("Open source licenses")]),I]),t("div",E,[t("h3",N,[s(o,{to:"#Contribution-Guide"},{default:a(()=>[e("#")]),_:1}),e("Contribution Guide")]),O]),t("div",P,[t("h3",R,[s(o,{to:"#Thanks-to-contributors"},{default:a(()=>[e("#")]),_:1}),e("Thanks to contributors")]),q]),t("div",B,[t("h3",D,[s(o,{to:"#Thanks-to-the-following-sponsors"},{default:a(()=>[e("#")]),_:1}),e("Thanks to the following sponsors")]),G]),t("div",$,[t("h3",z,[s(o,{to:"#Sponsor-this-project"},{default:a(()=>[e("#")]),_:1}),e("Sponsor this project")]),F])])}const Z=r(c,[["render",M]]);export{Z as default}; +import{_ as r,b as l,e as d,m as n,p as t,q as s,w as a,Q as e,Z as i}from"./index-0bd4ebfc.js";const c={components:{}},h={class:"varlet-site-doc"},p={class:"card"},u={id:"Intro"},m=t("p",null,[e("Varlet is a Material design mobile component library developed based on "),t("code",null,"Vue3"),e(", developed and maintained by "),t("code",null,"varletjs"),e(" community team.")],-1),v={class:"card"},_={id:"Features"},b=i("
  • 🚀   Provide 60+ high quality general purpose components
  • 🚀   Components are very lightweight
  • 💪   Developed by Chinese, complete Chinese and English documentation and logistics support
  • 🛠️   Support on-demand introduction
  • 🛠️   Support theme customization
  • 🌍   Support internationalization
  • 💡   Support WebStorm syntax highlighting
  • 💪   Support the SSR
  • 💡   Support the Typescript
  • 💪   Make sure more than 90 percent unit test coverage, providing stability assurance
  • 🛠️   Support dark mode
  • 🛠️   Provide official VSCode extension
",1),g={class:"card"},f={id:"Official-Ecosystem"},y=i('

The following projects are maintained by the official team for a long time.

NameDescription
@varlet/cliVue3 component library rapid prototyping tool
@varlet/touch-emulatorDesktop adapter, so that the mobile component library can run on the desktop
@varlet/ui-playgroundVarlet component library online editing tool
varlet-vscode-extensionVarlet Component Library VSCode Plugin
vscode-theme-varletVarlet VSCode Theme
varlet-app-exampleVarlet component library app template
varlet-install-exampleCase collection of Varlet component library and various ecosystem integration
',2),k={class:"card"},j={id:"Community-Ecosystem"},S=i('

The following projects are maintained by community personnel, welcome to add.

NameDescription
vue-h5-templateVue-based mobile template scaffolding, providing mobile presets for Varlet component library
create-vite-appA desktop template scaffolding based on Vue3, providing desktop presets for Varlet component library
',2),V={class:"card"},C={id:"PR-&-Issue"},w=t("p",null,[e("If you have any problems during use, you can "),t("a",{href:"https://github.com/varletjs/varlet/issues"},"issue"),e(" them to us on "),t("a",{href:"https://github.com/varletjs/varlet"},"github"),e(", we will deal with it as soon as possible. You can also give us "),t("a",{href:"https://github.com/varletjs/varlet/pulls"},"PR"),e(".")],-1),x={class:"card"},T={id:"Open-source-licenses"},I=t("p",null,[e("Component library based on "),t("code",null,"MIT"),e(" licenses.")],-1),E={class:"card"},N={id:"Contribution-Guide"},O=t("p",null,[e("See "),t("a",{href:"https://github.com/varletjs/varlet/blob/dev/.github/CONTRIBUTING.md"},"Varlet Contribution"),e(".")],-1),P={class:"card"},R={id:"Thanks-to-contributors"},q=t("a",{href:"https://github.com/varletjs/varlet/graphs/contributors",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://contrib.rocks/image?repo=varletjs/varlet",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),B={class:"card"},D={id:"Thanks-to-the-following-sponsors"},G=t("a",{href:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),$={class:"card"},z={id:"Sponsor-this-project"},F=t("p",null,[e("Sponsor this project to support our better creation. It is recommended to use "),t("a",{href:"https://afdian.net/a/haoziqaq"},"afdian"),e(" to subscribe, and your avatar will appear in this project.")],-1);function M(L,U,A,K,Q,W){const o=l("router-link");return d(),n("div",h,[t("div",p,[t("h3",u,[s(o,{to:"#Intro"},{default:a(()=>[e("#")]),_:1}),e("Intro")]),m]),t("div",v,[t("h3",_,[s(o,{to:"#Features"},{default:a(()=>[e("#")]),_:1}),e("Features")]),b]),t("div",g,[t("h3",f,[s(o,{to:"#Official-Ecosystem"},{default:a(()=>[e("#")]),_:1}),e("Official Ecosystem")]),y]),t("div",k,[t("h3",j,[s(o,{to:"#Community-Ecosystem"},{default:a(()=>[e("#")]),_:1}),e("Community Ecosystem")]),S]),t("div",V,[t("h3",C,[s(o,{to:"#PR-&-Issue"},{default:a(()=>[e("#")]),_:1}),e("PR & Issue")]),w]),t("div",x,[t("h3",T,[s(o,{to:"#Open-source-licenses"},{default:a(()=>[e("#")]),_:1}),e("Open source licenses")]),I]),t("div",E,[t("h3",N,[s(o,{to:"#Contribution-Guide"},{default:a(()=>[e("#")]),_:1}),e("Contribution Guide")]),O]),t("div",P,[t("h3",R,[s(o,{to:"#Thanks-to-contributors"},{default:a(()=>[e("#")]),_:1}),e("Thanks to contributors")]),q]),t("div",B,[t("h3",D,[s(o,{to:"#Thanks-to-the-following-sponsors"},{default:a(()=>[e("#")]),_:1}),e("Thanks to the following sponsors")]),G]),t("div",$,[t("h3",z,[s(o,{to:"#Sponsor-this-project"},{default:a(()=>[e("#")]),_:1}),e("Sponsor this project")]),F])])}const Z=r(c,[["render",M]]);export{Z as default}; diff --git a/assets/home.zh-CN-7df18227.js b/assets/home.zh-CN-af5dd794.js similarity index 98% rename from assets/home.zh-CN-7df18227.js rename to assets/home.zh-CN-af5dd794.js index 273ade1e34e..89ab3dd0e9c 100644 --- a/assets/home.zh-CN-7df18227.js +++ b/assets/home.zh-CN-af5dd794.js @@ -1 +1 @@ -import{_ as i,b as l,e as r,m as h,p as t,q as s,w as o,Q as e,Z as d}from"./index-af5fec45.js";const c={components:{}},n={class:"varlet-site-doc"},u={class:"card"},_={id:"jie4-shao4"},p=t("p",null,[e("Varlet 是一个基于 "),t("code",null,"Vue3"),e(" 开发的 Material 风格移动端组件库,全面拥抱 "),t("code",null,"Vue3"),e(" 生态,由 "),t("code",null,"varletjs"),e(" 社区团队开发和维护。")],-1),v={class:"card"},g={id:"te4-xing4"},m=d("
  • 🚀   提供 60+ 个高质量通用组件
  • 🚀   组件十分轻量
  • 💪   由国人开发,完善的中英文文档和后勤保障
  • 🛠️   支持按需引入
  • 🛠️   支持主题定制
  • 🌍   支持国际化
  • 💡   支持 webstorm 组件属性高亮
  • 💪   支持 SSR
  • 💡   支持 Typescript
  • 💪   确保 90% 以上单元测试覆盖率,提供稳定性保证
  • 🛠️   支持暗黑模式
  • 🛠️   提供官方的 VSCode 插件
",1),b={class:"card"},f={id:"guan1-fang1-sheng1-tai4"},x=d('

以下项目由官方团队长期维护。

名称描述
@varlet/cliVue3 组件库快速成型工具
@varlet/touch-emulator桌面端适配器,让移动端组件库可以在桌面端运行
@varlet/ui-playgroundVarlet 组件库在线编辑工具
varlet-vscode-extensionVarlet 组件库 VSCode 插件
vscode-theme-varletVarlet VSCode 主题
varlet-app-exampleVarlet 组件库移动端模板
varlet-install-exampleVarlet 组件库与各种生态集成的案例集合
',2),j={class:"card"},y={id:"she4-qu1-sheng1-tai4"},V=d('

以下项目由社区人员维护,欢迎补充。

名称描述
vue-h5-template基于 Vue 的移动端模板脚手架,提供了 Varlet 组件库的移动端预设
create-vite-app基于 Vue3 的桌面端模板脚手架,提供了 Varlet 组件库的桌面端预设
',2),z={class:"card"},k={id:"PR-&-Issue"},w=t("p",null,[e("使用过程中出现的问题可以到 "),t("a",{href:"https://github.com/varletjs/varlet"},"github"),e(" 来给我们提 "),t("a",{href:"https://github.com/varletjs/varlet/issues"},"issue"),e(", 我们会在第一时间处理问题。也可以给我们提 "),t("a",{href:"https://github.com/varletjs/varlet/pulls"},"PR"),e(",我们也十分欢迎小伙伴们来参与贡献。")],-1),C={class:"card"},N={id:"kai1-yuan2-xie2-yi4"},I=t("p",null,[e("组件库基于 "),t("code",null,"MIT"),e(" 协议。")],-1),R={class:"card"},S={id:"gong4-xian4-zhi3-nan2"},q=t("p",null,[e("详情见 "),t("a",{href:"https://github.com/varletjs/varlet/blob/dev/.github/CONTRIBUTING.md"},"Varlet 贡献指南"),e("。")],-1),T={class:"card"},B={id:"gan3-xie4-gong4-xian4-zhe3-men2-zuo4-chu1-de-nu3-li4"},P=t("a",{href:"https://github.com/varletjs/varlet/graphs/contributors",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://contrib.rocks/image?repo=varletjs/varlet",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),$={class:"card"},E={id:"gan3-xie4-yi3-xia4-zan4-zhu4-zhe3"},M=t("a",{href:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),G={class:"card"},K={id:"zan4-zhu4-ben3-xiang4-mu4"},L=t("p",null,[e("赞助本项目,支持我们更好的创作。推荐使用"),t("a",{href:"https://afdian.net/a/haoziqaq"},"爱发电"),e("进行订阅,您的头像将出现在本项目中。")],-1);function O(Q,U,Z,A,D,F){const a=l("router-link");return r(),h("div",n,[t("div",u,[t("h3",_,[s(a,{to:"#jie4-shao4"},{default:o(()=>[e("#")]),_:1}),e("介绍")]),p]),t("div",v,[t("h3",g,[s(a,{to:"#te4-xing4"},{default:o(()=>[e("#")]),_:1}),e("特性")]),m]),t("div",b,[t("h3",f,[s(a,{to:"#guan1-fang1-sheng1-tai4"},{default:o(()=>[e("#")]),_:1}),e("官方生态")]),x]),t("div",j,[t("h3",y,[s(a,{to:"#she4-qu1-sheng1-tai4"},{default:o(()=>[e("#")]),_:1}),e("社区生态")]),V]),t("div",z,[t("h3",k,[s(a,{to:"#PR-&-Issue"},{default:o(()=>[e("#")]),_:1}),e("PR & Issue")]),w]),t("div",C,[t("h3",N,[s(a,{to:"#kai1-yuan2-xie2-yi4"},{default:o(()=>[e("#")]),_:1}),e("开源协议")]),I]),t("div",R,[t("h3",S,[s(a,{to:"#gong4-xian4-zhi3-nan2"},{default:o(()=>[e("#")]),_:1}),e("贡献指南")]),q]),t("div",T,[t("h3",B,[s(a,{to:"#gan3-xie4-gong4-xian4-zhe3-men2-zuo4-chu1-de-nu3-li4"},{default:o(()=>[e("#")]),_:1}),e("感谢贡献者们做出的努力")]),P]),t("div",$,[t("h3",E,[s(a,{to:"#gan3-xie4-yi3-xia4-zan4-zhu4-zhe3"},{default:o(()=>[e("#")]),_:1}),e("感谢以下赞助者")]),M]),t("div",G,[t("h3",K,[s(a,{to:"#zan4-zhu4-ben3-xiang4-mu4"},{default:o(()=>[e("#")]),_:1}),e("赞助本项目")]),L])])}const J=i(c,[["render",O]]);export{J as default}; +import{_ as i,b as l,e as r,m as h,p as t,q as s,w as o,Q as e,Z as d}from"./index-0bd4ebfc.js";const c={components:{}},n={class:"varlet-site-doc"},u={class:"card"},_={id:"jie4-shao4"},p=t("p",null,[e("Varlet 是一个基于 "),t("code",null,"Vue3"),e(" 开发的 Material 风格移动端组件库,全面拥抱 "),t("code",null,"Vue3"),e(" 生态,由 "),t("code",null,"varletjs"),e(" 社区团队开发和维护。")],-1),v={class:"card"},g={id:"te4-xing4"},m=d("
  • 🚀   提供 60+ 个高质量通用组件
  • 🚀   组件十分轻量
  • 💪   由国人开发,完善的中英文文档和后勤保障
  • 🛠️   支持按需引入
  • 🛠️   支持主题定制
  • 🌍   支持国际化
  • 💡   支持 webstorm 组件属性高亮
  • 💪   支持 SSR
  • 💡   支持 Typescript
  • 💪   确保 90% 以上单元测试覆盖率,提供稳定性保证
  • 🛠️   支持暗黑模式
  • 🛠️   提供官方的 VSCode 插件
",1),b={class:"card"},f={id:"guan1-fang1-sheng1-tai4"},x=d('

以下项目由官方团队长期维护。

名称描述
@varlet/cliVue3 组件库快速成型工具
@varlet/touch-emulator桌面端适配器,让移动端组件库可以在桌面端运行
@varlet/ui-playgroundVarlet 组件库在线编辑工具
varlet-vscode-extensionVarlet 组件库 VSCode 插件
vscode-theme-varletVarlet VSCode 主题
varlet-app-exampleVarlet 组件库移动端模板
varlet-install-exampleVarlet 组件库与各种生态集成的案例集合
',2),j={class:"card"},y={id:"she4-qu1-sheng1-tai4"},V=d('

以下项目由社区人员维护,欢迎补充。

名称描述
vue-h5-template基于 Vue 的移动端模板脚手架,提供了 Varlet 组件库的移动端预设
create-vite-app基于 Vue3 的桌面端模板脚手架,提供了 Varlet 组件库的桌面端预设
',2),z={class:"card"},k={id:"PR-&-Issue"},w=t("p",null,[e("使用过程中出现的问题可以到 "),t("a",{href:"https://github.com/varletjs/varlet"},"github"),e(" 来给我们提 "),t("a",{href:"https://github.com/varletjs/varlet/issues"},"issue"),e(", 我们会在第一时间处理问题。也可以给我们提 "),t("a",{href:"https://github.com/varletjs/varlet/pulls"},"PR"),e(",我们也十分欢迎小伙伴们来参与贡献。")],-1),C={class:"card"},N={id:"kai1-yuan2-xie2-yi4"},I=t("p",null,[e("组件库基于 "),t("code",null,"MIT"),e(" 协议。")],-1),R={class:"card"},S={id:"gong4-xian4-zhi3-nan2"},q=t("p",null,[e("详情见 "),t("a",{href:"https://github.com/varletjs/varlet/blob/dev/.github/CONTRIBUTING.md"},"Varlet 贡献指南"),e("。")],-1),T={class:"card"},B={id:"gan3-xie4-gong4-xian4-zhe3-men2-zuo4-chu1-de-nu3-li4"},P=t("a",{href:"https://github.com/varletjs/varlet/graphs/contributors",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://contrib.rocks/image?repo=varletjs/varlet",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),$={class:"card"},E={id:"gan3-xie4-yi3-xia4-zan4-zhu4-zhe3"},M=t("a",{href:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","margin-top":"16px"}},[t("img",{src:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",style:{width:"100%",display:"block","border-radius":"4px"}})],-1),G={class:"card"},K={id:"zan4-zhu4-ben3-xiang4-mu4"},L=t("p",null,[e("赞助本项目,支持我们更好的创作。推荐使用"),t("a",{href:"https://afdian.net/a/haoziqaq"},"爱发电"),e("进行订阅,您的头像将出现在本项目中。")],-1);function O(Q,U,Z,A,D,F){const a=l("router-link");return r(),h("div",n,[t("div",u,[t("h3",_,[s(a,{to:"#jie4-shao4"},{default:o(()=>[e("#")]),_:1}),e("介绍")]),p]),t("div",v,[t("h3",g,[s(a,{to:"#te4-xing4"},{default:o(()=>[e("#")]),_:1}),e("特性")]),m]),t("div",b,[t("h3",f,[s(a,{to:"#guan1-fang1-sheng1-tai4"},{default:o(()=>[e("#")]),_:1}),e("官方生态")]),x]),t("div",j,[t("h3",y,[s(a,{to:"#she4-qu1-sheng1-tai4"},{default:o(()=>[e("#")]),_:1}),e("社区生态")]),V]),t("div",z,[t("h3",k,[s(a,{to:"#PR-&-Issue"},{default:o(()=>[e("#")]),_:1}),e("PR & Issue")]),w]),t("div",C,[t("h3",N,[s(a,{to:"#kai1-yuan2-xie2-yi4"},{default:o(()=>[e("#")]),_:1}),e("开源协议")]),I]),t("div",R,[t("h3",S,[s(a,{to:"#gong4-xian4-zhi3-nan2"},{default:o(()=>[e("#")]),_:1}),e("贡献指南")]),q]),t("div",T,[t("h3",B,[s(a,{to:"#gan3-xie4-gong4-xian4-zhe3-men2-zuo4-chu1-de-nu3-li4"},{default:o(()=>[e("#")]),_:1}),e("感谢贡献者们做出的努力")]),P]),t("div",$,[t("h3",E,[s(a,{to:"#gan3-xie4-yi3-xia4-zan4-zhu4-zhe3"},{default:o(()=>[e("#")]),_:1}),e("感谢以下赞助者")]),M]),t("div",G,[t("h3",K,[s(a,{to:"#zan4-zhu4-ben3-xiang4-mu4"},{default:o(()=>[e("#")]),_:1}),e("赞助本项目")]),L])])}const J=i(c,[["render",O]]);export{J as default}; diff --git a/assets/importOnDemand.en-US-8a862ce0.js b/assets/importOnDemand.en-US-89c98138.js similarity index 99% rename from assets/importOnDemand.en-US-8a862ce0.js rename to assets/importOnDemand.en-US-89c98138.js index cdb411fc83d..38e4ccb1c1f 100644 --- a/assets/importOnDemand.en-US-8a862ce0.js +++ b/assets/importOnDemand.en-US-89c98138.js @@ -1,4 +1,4 @@ -import{_ as c,b as o,e as p,m as r,p as s,q as a,w as l,Q as n}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"Import On Demand",-1),d={class:"card"},m={id:"Intro"},j=s("p",null,"On-demand import avoids the full import of components, which can effectively reduce the size of the release package.",-1),g={class:"card"},_={id:"Automatic-Import"},v=s("p",null,[n("via plugin "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" and "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" Implement components to automatically import on demand, This is our most recommended way.")],-1),f=s("h4",null,"Install Plugin",-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),n(` +import{_ as c,b as o,e as p,m as r,p as s,q as a,w as l,Q as n}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"Import On Demand",-1),d={class:"card"},m={id:"Intro"},j=s("p",null,"On-demand import avoids the full import of components, which can effectively reduce the size of the release package.",-1),g={class:"card"},_={id:"Automatic-Import"},v=s("p",null,[n("via plugin "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" and "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" Implement components to automatically import on demand, This is our most recommended way.")],-1),f=s("h4",null,"Install Plugin",-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),n(` npm i unplugin-vue-components unplugin-auto-import -D `),s("span",{class:"hljs-meta"},` #`),s("span",{class:"bash"}," yarn"),n(` diff --git a/assets/importOnDemand.zh-CN-44caf171.js b/assets/importOnDemand.zh-CN-39629250.js similarity index 99% rename from assets/importOnDemand.zh-CN-44caf171.js rename to assets/importOnDemand.zh-CN-39629250.js index 5f62a5b7dae..d18a02d5ef5 100644 --- a/assets/importOnDemand.zh-CN-44caf171.js +++ b/assets/importOnDemand.zh-CN-39629250.js @@ -1,4 +1,4 @@ -import{_ as c,b as o,e as p,m as r,p as s,q as a,w as l,Q as n}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"按需引入",-1),d={class:"card"},j={id:"jie4-shao4"},m=s("p",null,"按需引入避免了组件的全量导入,可以有效的减少发布包的大小。",-1),_={class:"card"},g={id:"zi4-dong4-yin3-ru4"},y=s("p",null,[n("通过插件 "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" 和 "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" 实现组件自动按需导入,这也是我们最推荐的方式。")],-1),v=s("h4",null,"安装插件",-1),k=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),n(` +import{_ as c,b as o,e as p,m as r,p as s,q as a,w as l,Q as n}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},u=s("h1",null,"按需引入",-1),d={class:"card"},j={id:"jie4-shao4"},m=s("p",null,"按需引入避免了组件的全量导入,可以有效的减少发布包的大小。",-1),_={class:"card"},g={id:"zi4-dong4-yin3-ru4"},y=s("p",null,[n("通过插件 "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" 和 "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" 实现组件自动按需导入,这也是我们最推荐的方式。")],-1),v=s("h4",null,"安装插件",-1),k=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," npm"),n(` npm i unplugin-vue-components unplugin-auto-import -D `),s("span",{class:"hljs-meta"},` #`),s("span",{class:"bash"}," yarn"),n(` diff --git a/assets/index-7a2f2c25.js b/assets/index-007fb83e.js similarity index 97% rename from assets/index-7a2f2c25.js rename to assets/index-007fb83e.js index a3a8ccca7a6..83520c5b562 100644 --- a/assets/index-7a2f2c25.js +++ b/assets/index-007fb83e.js @@ -1 +1 @@ -import{d as ye,r as b,D as T,a4 as g,G as fe,_ as ge,b as ne,e as P,m as O,q as k,w as E,p as Z,R as Y,T as he,x as L,W as Ve,b1 as s,b2 as We,b3 as je,N as pe,O as Ce,as as Ee,Q as U,at as ze,y as Fe,j as an,a2 as me,v as re,aQ as rn,f as Be,t as ln,F as sn,al as un,U as C}from"./index-af5fec45.js";import{d as Te,c as se,f as cn,a as G,w as dn}from"./components-3ae053cb.js";import{B as Ae}from"./index-84d96475.js";import{I as mn}from"./index-057aa4ba.js";import{p as J,u as vn,b as He,_ as fn,c as hn,a as pn}from"./index-2b61c8d0.js";import{p as Le}from"./shared-de177aa1.js";import{d as yn}from"./index-d8fbf18c.js";import{A as ie}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const Me=[{index:"01"},{index:"02"},{index:"03"},{index:"04"},{index:"05"},{index:"06"},{index:"07"},{index:"08"},{index:"09"},{index:"10"},{index:"11"},{index:"12"}],ve=[{index:"0"},{index:"1"},{index:"2"},{index:"3"},{index:"4"},{index:"5"},{index:"6"}],gn={modelValue:[String,Array],type:{type:String,default:"date"},allowedDates:Function,color:String,headerColor:String,elevation:{type:[Boolean,Number,String],default:!1},buttonElevation:{type:[Boolean,Number,String],default:!0},firstDayOfWeek:{type:[String,Number],default:0},min:String,max:String,showCurrent:{type:Boolean,default:!0},readonly:Boolean,multiple:Boolean,range:Boolean,touchable:{type:Boolean,default:!0},onPreview:Te(),onChange:Te(),"onUpdate:modelValue":Te()},{n:kn}=se("picker-header"),Dn=ye({name:"PanelHeader",components:{VarButton:Ae,VarIcon:mn},props:{date:{type:Object,required:!0},type:{type:String,default:"date"},disabled:{type:Object,required:!0}},emits:["check-panel","check-date"],setup(e,{emit:r}){const B=b(!1),S=b(0),p=T(()=>{var $;const{date:a,type:i}=e,{previewMonth:n,previewYear:l}=a;if(i==="month")return g(l)+S.value;const c=($=J.value.datePickerMonthDict)==null?void 0:$[n.index].name;return J.value.lang==="zh-CN"?`${l} ${c}`:`${c} ${l}`}),D=a=>{a==="prev"&&e.disabled.left||a==="next"&&e.disabled.right||(r("check-date",a),B.value=a==="prev",S.value+=a==="prev"?-1:1)};return fe(()=>e.date,()=>{S.value=0}),{n:kn,reverse:B,showDate:p,checkDate:D}}});function $n(e,r,B,S,p,D){const a=ne("var-icon"),i=ne("var-button");return P(),O("div",{class:L(e.n())},[k(i,{round:"",text:"",style:{filter:"opacity(0.54)"},disabled:e.disabled.left,onClick:r[0]||(r[0]=n=>e.checkDate("prev"))},{default:E(()=>[k(a,{name:"chevron-left"})]),_:1},8,["disabled"]),Z("div",{class:L(e.n("value")),onClick:r[1]||(r[1]=n=>e.$emit("check-panel"))},[k(he,{name:`var-date-picker${e.reverse?"-reverse":""}-translatex`},{default:E(()=>[(P(),O("div",{key:e.showDate},Y(e.showDate),1))]),_:1},8,["name"])],2),k(i,{round:"",text:"",style:{filter:"opacity(0.54)"},disabled:e.disabled.right,onClick:r[2]||(r[2]=n=>e.checkDate("next"))},{default:E(()=>[k(a,{name:"chevron-right"})]),_:1},8,["disabled"])],2)}const Ke=ge(Dn,[["render",$n]]);s.extend(We);s.extend(je);const{n:be,classes:wn}=se("month-picker"),{n:Ye}=se("date-picker"),bn=ye({name:"MonthPickerPanel",components:{VarButton:Ae,PanelHeader:Ke},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickYear:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-month"],setup(e,{emit:r}){const[B,S]=e.current.split("-"),p=b(!1),D=b(0),a=b(null),i=Ve({left:!1,right:!1}),n=T(()=>e.choose.chooseYear===e.preview.previewYear),l=T(()=>e.preview.previewYear===B),c=m=>{var h;return((h=J.value.datePickerMonthDict)==null?void 0:h[m].abbr)??""},$=m=>{const{preview:{previewYear:h},componentProps:{min:R,max:q}}=e;let F=!0,W=!0;const o=`${h}-${m}`;return q&&(F=s(o).isSameOrBefore(s(q),"month")),R&&(W=s(o).isSameOrAfter(s(R),"month")),F&&W},w=m=>{const{choose:{chooseMonths:h,chooseDays:R,chooseRangeMonth:q},componentProps:{type:F,range:W}}=e;if(W){if(!q.length)return!1;const o=s(m).isSameOrBefore(s(q[1]),"month"),v=s(m).isSameOrAfter(s(q[0]),"month");return o&&v}return F==="month"?h.includes(m):R.some(o=>o.includes(m))},oe=m=>{const{choose:{chooseMonth:h},preview:{previewYear:R},componentProps:{allowedDates:q,color:F,multiple:W,range:o}}=e,v=`${R}-${m}`,V=()=>o||W?w(v):(h==null?void 0:h.index)===m&&n.value,M=(()=>$(m)?q?!q(v):!1:!0)(),I=()=>M?!0:o||W?!w(v):!n.value||(h==null?void 0:h.index)!==m,H=()=>l.value&&S===m&&e.componentProps.showCurrent?(o||W||n.value)&&M?!0:o||W?!w(v):n.value?(h==null?void 0:h.index)!==S:!0:!1,K=()=>M?"":H()?F??"":V()?"":`${Ye()}-color-cover`,Q=K().startsWith(Ye());return{outline:H(),text:I(),color:I()?"":F,textColor:Q?"":K(),[`${Ye()}-color-cover`]:Q,class:wn(be("button"),[M,be("button--disabled")]),disabled:M}},te=(m,h)=>{h.currentTarget.classList.contains(be("button--disabled"))||r("choose-month",m)},x=m=>{p.value=m==="prev",D.value+=m==="prev"?-1:1,r("check-preview","year",m)},X=m=>{a.value.checkDate(m)};return fe(()=>e.preview.previewYear,m=>{const{componentProps:{min:h,max:R}}=e;R&&(i.right=!s(`${g(m)+1}`).isSameOrBefore(s(R),"year")),h&&(i.left=!s(`${g(m)-1}`).isSameOrAfter(s(h),"year"))},{immediate:!0}),{n:be,nDate:Ye,pack:J,MONTH_LIST:Me,headerEl:a,reverse:p,panelKey:D,panelBtnDisabled:i,forwardRef:X,buttonProps:oe,getMonthAbbr:c,chooseMonth:te,checkDate:x}}});function Yn(e,r,B,S,p,D){const a=ne("panel-header"),i=ne("var-button");return P(),O("div",{class:L(e.n())},[Z("div",{class:L(e.n("content"))},[k(a,{ref:"headerEl",type:"month",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickYear,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),k(he,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:E(()=>[(P(),O("ul",{key:e.panelKey},[(P(!0),O(pe,null,Ce(e.MONTH_LIST,n=>(P(),O("li",{key:n.index},[k(i,Ee({type:"primary","var-month-picker-cover":"",ripple:!1,elevation:e.componentProps.buttonElevation},{...e.buttonProps(n.index)},{onClick:l=>e.chooseMonth(n,l)}),{default:E(()=>[U(Y(e.getMonthAbbr(n.index)),1)]),_:2},1040,["elevation","onClick"])]))),128))]))]),_:1},8,["name"])],2)],2)}const Pn=ge(bn,[["render",Yn]]),{n:qe,classes:Mn}=se("year-picker"),Cn=ye({name:"YearPickerPanel",props:{preview:{type:String},componentProps:{type:Object,required:!0}},emits:["choose-year"],setup(e,{emit:r}){const B=T(()=>{const p=[],{preview:D,componentProps:{max:a,min:i}}=e;if(!D)return p;let n=[g(D)+100,g(D)-100];if(a){const l=s(a).format("YYYY-MM-D"),c=g(l.split("-")[0]);if(cn[1]&&(n=[c,n[1]]),c<=n[1])return[c]}if(i){const l=s(i).format("YYYY-MM-D"),c=g(l.split("-")[0]);if(cn[1]&&(n=[n[0],c]),c>=n[0])return[c]}for(let l=n[0];l>=n[1];l--)p.push(l);return p}),S=p=>{r("choose-year",p)};return ze(()=>{const p=document.querySelector(`.${qe("item--active")}`);p==null||p.scrollIntoView({block:"center"})}),{n:qe,classes:Mn,yearList:B,chooseYear:S,toNumber:g}}}),Vn=["onClick"];function Sn(e,r,B,S,p,D){return P(),O("ul",{class:L(e.n())},[(P(!0),O(pe,null,Ce(e.yearList,a=>(P(),O("li",{key:a,class:L(e.classes(e.n("item"),[a===e.toNumber(e.preview),e.n("item--active")])),style:Fe({color:a===e.toNumber(e.preview)?e.componentProps.color:""}),onClick:i=>e.chooseYear(a)},Y(a),15,Vn))),128))],2)}const On=ge(Cn,[["render",Sn]]);s.extend(We);s.extend(je);const{n:ue,classes:Bn}=se("day-picker"),{n:Pe}=se("date-picker"),Tn=ye({name:"DayPickerPanel",components:{VarButton:Ae,PanelHeader:Ke},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickMonth:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-day"],setup(e,{emit:r}){const[B,S,p]=e.current.split("-"),D=b([]),a=b(!1),i=b(0),n=b(null),l=Ve({left:!1,right:!1}),c=T(()=>e.preview.previewYear===B&&e.preview.previewMonth.index===S),$=T(()=>{var o;return e.choose.chooseYear===e.preview.previewYear&&((o=e.choose.chooseMonth)==null?void 0:o.index)===e.preview.previewMonth.index}),w=T(()=>{const o=ve.findIndex(v=>v.index===e.componentProps.firstDayOfWeek);return o===-1||o===0?ve:ve.slice(o).concat(ve.slice(0,o))}),oe=o=>{var v;return((v=J.value.datePickerWeekDict)==null?void 0:v[o].abbr)??""},te=o=>o>0?o:"",x=()=>{const{preview:{previewMonth:o,previewYear:v}}=e,V=s(`${v}-${o.index}`).daysInMonth(),A=s(`${v}-${o.index}-01`).day(),M=w.value.findIndex(I=>I.index===`${A}`);D.value=[...Array(M).fill(-1),...Array.from(Array(V+1).keys())].filter(I=>I)},X=()=>{const{preview:{previewYear:o,previewMonth:v},componentProps:{max:V,min:A}}=e;if(V){const M=`${o}-${g(v.index)+1}`;l.right=!s(M).isSameOrBefore(s(V),"month")}if(A){const M=`${o}-${g(v.index)-1}`;l.left=!s(M).isSameOrAfter(s(A),"month")}},m=o=>{const{preview:{previewYear:v,previewMonth:V},componentProps:{min:A,max:M}}=e;let I=!0,H=!0;const K=`${v}-${V.index}-${o}`;return M&&(I=s(K).isSameOrBefore(s(M),"day")),A&&(H=s(K).isSameOrAfter(s(A),"day")),I&&H},h=o=>{const{choose:{chooseDays:v,chooseRangeDay:V},componentProps:{range:A}}=e;if(A){if(!V.length)return!1;const M=s(o).isSameOrBefore(s(V[1]),"day"),I=s(o).isSameOrAfter(s(V[0]),"day");return M&&I}return v.includes(o)},R=o=>{if(o<0)return{text:!0,outline:!1,textColor:"",class:ue("button"),disabled:!0};const{choose:{chooseDay:v},preview:{previewYear:V,previewMonth:A},componentProps:{allowedDates:M,color:I,multiple:H,range:K}}=e,Q=`${V}-${A.index}-${o}`,ce=()=>K||H?h(Q):g(v)===o&&$.value,_=(()=>m(o)?M?!M(Q):!1:!0)(),Se=()=>_?!0:K||H?!h(Q):!$.value||g(v)!==o,De=()=>c.value&&g(p)===o&&e.componentProps.showCurrent?(K||H||$.value)&&_?!0:K||H?!h(Q):$.value?v!==p:!0:!1,$e=()=>_?"":De()?I??"":ce()?"":`${Pe()}-color-cover`,we=$e().startsWith(Pe());return{text:Se(),outline:De(),textColor:we?"":$e(),[`${Pe()}-color-cover`]:we,class:Bn(ue("button"),ue("button--usable"),[_,ue("button--disabled")]),disabled:_}},q=o=>{a.value=o==="prev",i.value+=o==="prev"?-1:1,r("check-preview","month",o)},F=(o,v)=>{v.currentTarget.classList.contains(ue("button--disabled"))||r("choose-day",o)},W=o=>{n.value.checkDate(o)};return ze(()=>{x(),X()}),fe(()=>e.preview,()=>{x(),X()}),{n:ue,nDate:Pe,days:D,reverse:a,headerEl:n,panelKey:i,sortWeekList:w,panelBtnDisabled:l,forwardRef:W,filterDay:te,getDayAbbr:oe,checkDate:q,chooseDay:F,buttonProps:R}}});function En(e,r,B,S,p,D){const a=ne("panel-header"),i=ne("var-button");return P(),O("div",{class:L(e.n())},[Z("div",{class:L(e.n("content"))},[k(a,{ref:"headerEl",type:"day",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickMonth,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),k(he,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:E(()=>[(P(),O("div",{key:e.panelKey},[Z("ul",{class:L(e.n("head"))},[(P(!0),O(pe,null,Ce(e.sortWeekList,n=>(P(),O("li",{key:n.index},Y(e.getDayAbbr(n.index)),1))),128))],2),Z("ul",{class:L(e.n("body"))},[(P(!0),O(pe,null,Ce(e.days,(n,l)=>(P(),O("li",{key:l},[k(i,Ee({type:"primary","var-day-picker-cover":"",round:"",ripple:!1,elevation:e.componentProps.buttonElevation},{...e.buttonProps(n)},{onClick:c=>e.chooseDay(n,c)}),{default:E(()=>[U(Y(e.filterDay(n)),1)]),_:2},1040,["elevation","onClick"])]))),128))],2)]))]),_:1},8,["name"])],2)],2)}const An=ge(Tn,[["render",En]]),{name:Nn,n:Rn,classes:In}=se("date-picker"),Un=ye({name:Nn,components:{MonthPickerPanel:Pn,YearPickerPanel:On,DayPickerPanel:An},props:gn,setup(e){const r=s().format("YYYY-MM-D"),[B,S]=r.split("-"),p=Me.find(t=>t.index===S),D=b(!1),a=b(!1),i=b(!0),n=b(),l=b(),c=b(),$=b(p),w=b(B),oe=b(!1),te=b([]),x=b([]),X=b([]),m=b([]),h=b(null),R=b(null),q=Ve({allowedDates:e.allowedDates,type:e.type,color:e.color,firstDayOfWeek:e.firstDayOfWeek,min:e.min,max:e.max,showCurrent:e.showCurrent,multiple:e.multiple,range:e.range,buttonElevation:e.buttonElevation}),F=T(()=>({chooseMonth:n.value,chooseYear:l.value,chooseDay:c.value,chooseMonths:te.value,chooseDays:x.value,chooseRangeMonth:X.value,chooseRangeDay:m.value})),W=T(()=>({previewMonth:$.value,previewYear:w.value})),o=T(()=>{var f;const{multiple:t,range:d}=e;if(d)return X.value.length?`${X.value[0]} ~ ${X.value[1]}`:"";let u="";return n.value&&(u=((f=J.value.datePickerMonthDict)==null?void 0:f[n.value.index].name)??""),t?`${te.value.length}${J.value.datePickerSelected}`:u}),v=T(()=>{var z,ae;const{multiple:t,range:d}=e;if(d){const de=m.value.map(on=>s(on).format("YYYY-MM-DD"));return de.length?`${de[0]} ~ ${de[1]}`:""}if(t)return`${x.value.length}${J.value.datePickerSelected}`;if(!l.value||!n.value||!c.value)return"";const u=s(`${l.value}-${n.value.index}-${c.value}`).day(),f=ve.find(de=>de.index===`${u}`),y=((z=J.value.datePickerWeekDict)==null?void 0:z[f.index].name)??"",N=((ae=J.value.datePickerMonthDict)==null?void 0:ae[n.value.index].name)??"",j=Le(c.value,2,"0");return J.value.lang==="zh-CN"?`${n.value.index}-${j} ${y.slice(0,3)}`:`${y.slice(0,3)}, ${N.slice(0,3)} ${c.value}`}),V=T(()=>D.value?"year":e.type==="month"||a.value?"month":e.type==="date"?"date":""),A=T(()=>!e.touchable||["","year"].includes(V.value)),M=T(()=>{var u,f;const t=s(`${l.value}-${(u=n.value)==null?void 0:u.index}-${c.value}`).day(),d=c.value?Le(c.value,2,"0"):"";return{week:`${t}`,year:l.value??"",month:((f=n.value)==null?void 0:f.index)??"",date:d}}),I=T(()=>F.value.chooseRangeDay.map(t=>s(t).format("YYYY-MM-DD"))),H=T(()=>l.value===w.value),K=T(()=>{var t;return((t=n.value)==null?void 0:t.index)===$.value.index});let Q=0,ce=0,ke="",_;fe(()=>e.modelValue,t=>{if(!(!_e()||Oe(t)||!t))if(e.range){if(!me(t))return;i.value=t.length!==1,en(t,e.type)}else if(e.multiple){if(!me(t))return;nn(t,e.type)}else tn(t)},{immediate:!0}),fe(V,Ue);function Se(t){t==="year"?D.value=!0:t==="month"?a.value=!0:(D.value=!1,a.value=!1)}function De(t){if(A.value)return;const{clientX:d,clientY:u}=t.touches[0];Q=d,ce=u}function $e(t,d){return t>=d&&t>20?"x":"y"}function we(t){if(A.value)return;const{clientX:d,clientY:u}=t.touches[0],f=d-Q,y=u-ce;_=$e(Math.abs(f),Math.abs(y)),ke=f>0?"prev":"next"}async function Qe(){if(A.value||_!=="x")return;const t=V.value==="month"?h:R;await an(),t.value.forwardRef(ke),Ue()}function Ne(t,d){const u=d==="month"?X:m;if(u.value=i.value?[t,t]:[u.value[0],t],i.value=!i.value,i.value){const y=s(u.value[0]).isAfter(u.value[1])?[u.value[1],u.value[0]]:[...u.value];G(e["onUpdate:modelValue"],y),G(e.onChange,y)}}function Re(t,d){const u=d==="month"?te:x,f=d==="month"?"YYYY-MM":"YYYY-MM-DD",y=u.value.map(j=>s(j).format(f)),N=y.findIndex(j=>j===t);N===-1?y.push(t):y.splice(N,1),G(e["onUpdate:modelValue"],y),G(e.onChange,y)}function Ie(t,d){return!l.value||!n.value?!1:H.value?t==="month"?d.index$.value.index:l.value>w.value}function Ge(t){const{readonly:d,range:u,multiple:f,onChange:y,"onUpdate:modelValue":N}=e;if(t<0||d)return;oe.value=Ie("day",t);const j=`${w.value}-${$.value.index}-${t}`,z=s(j).format("YYYY-MM-DD");u?Ne(z,"day"):f?Re(z,"day"):(G(N,z),G(y,z))}function Je(t){const{type:d,readonly:u,range:f,multiple:y,onChange:N,onPreview:j,"onUpdate:modelValue":z}=e;if(oe.value=Ie("month",t),d==="month"&&!u){const ae=`${w.value}-${t.index}`;f?Ne(ae,"month"):y?Re(ae,"month"):(G(z,ae),G(N,ae))}else $.value=t,G(j,g(w.value),g($.value.index));a.value=!1}function Ze(t){w.value=`${t}`,D.value=!1,a.value=!0,G(e.onPreview,g(w.value),g($.value.index))}function xe(t,d){const u=d==="prev"?-1:1;if(t==="year")w.value=`${g(w.value)+u}`;else{let f=g($.value.index)+u;f<1&&(w.value=`${g(w.value)-1}`,f=12),f>12&&(w.value=`${g(w.value)+1}`,f=1),$.value=Me.find(y=>g(y.index)===f)}G(e.onPreview,g(w.value),g($.value.index))}function _e(){return(e.multiple||e.range)&&!me(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be an Array'),!1):!e.multiple&&!e.range&&me(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be a String'),!1):!0}function Oe(t){return me(t)?!1:t==="Invalid Date"?(console.error('[Varlet] DatePicker: "modelValue" is an Invalid Date'),!0):!1}function en(t,d){const u=d==="month"?X:m,f=d==="month"?"YYYY-MM":"YYYY-MM-D",y=t.map(z=>s(z).format(f)).slice(0,2);if(u.value.some(z=>Oe(z)))return;u.value=y;const j=s(u.value[0]).isAfter(u.value[1]);u.value.length===2&&j&&(u.value=[u.value[1],u.value[0]])}function nn(t,d){const u=d==="month"?te:x,f=d==="month"?"YYYY-MM":"YYYY-MM-D",y=Array.from(new Set(t.map(N=>s(N).format(f))));u.value=y.filter(N=>N!=="Invalid Date")}function tn(t){const d=s(t).format("YYYY-MM-D");if(Oe(d))return;const[u,f,y]=d.split("-"),N=Me.find(j=>j.index===f);n.value=N,l.value=u,c.value=y,$.value=N,w.value=u}function Ue(){ce=0,Q=0,ke="",_=void 0}return{monthPanelEl:h,dayPanelEl:R,reverse:oe,currentDate:r,chooseMonth:n,chooseYear:l,chooseDay:c,previewYear:w,isYearPanel:D,isMonthPanel:a,getMonthTitle:o,getDateTitle:v,getPanelType:V,getChoose:F,getPreview:W,componentProps:q,slotProps:M,formatRange:I,n:Rn,classes:In,clickEl:Se,handleTouchstart:De,handleTouchmove:we,handleTouchend:Qe,getChooseDay:Ge,getChooseMonth:Je,getChooseYear:Ze,checkPreview:xe,formatElevation:cn}}});function Ln(e,r,B,S,p,D){const a=ne("year-picker-panel"),i=ne("month-picker-panel"),n=ne("day-picker-panel");return P(),O("div",{class:L(e.classes(e.n(),e.formatElevation(e.elevation,2)))},[Z("div",{class:L(e.n("title")),style:Fe({background:e.headerColor||e.color})},[Z("div",{class:L(e.classes(e.n("title-year"),[e.isYearPanel,e.n("title-year--active")])),onClick:r[0]||(r[0]=l=>e.clickEl("year"))},[re(e.$slots,"year",{year:e.chooseYear},()=>[U(Y(e.chooseYear),1)])],2),Z("div",{class:L(e.classes(e.n("title-date"),[!e.isYearPanel,e.n("title-date--active")],[e.range,e.n("title-date--range")])),onClick:r[1]||(r[1]=l=>e.clickEl("date"))},[k(he,{name:e.multiple?"":`${e.n()}${e.reverse?"-reverse":""}-translatey`},{default:E(()=>{var l,c,$;return[e.type==="month"?(P(),O("div",{key:`${e.chooseYear}${(l=e.chooseMonth)==null?void 0:l.index}`},[e.range?re(e.$slots,"range",{key:0,choose:e.getChoose.chooseRangeMonth},()=>[U(Y(e.getMonthTitle),1)]):e.multiple?re(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseMonths},()=>[U(Y(e.getMonthTitle),1)]):re(e.$slots,"month",{key:2,month:(c=e.chooseMonth)==null?void 0:c.index,year:e.chooseYear},()=>[U(Y(e.getMonthTitle),1)])])):(P(),O("div",{key:`${e.chooseYear}${($=e.chooseMonth)==null?void 0:$.index}${e.chooseDay}`},[e.range?re(e.$slots,"range",{key:0,choose:e.formatRange},()=>[U(Y(e.getDateTitle),1)]):e.multiple?re(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseDays},()=>[U(Y(e.getDateTitle),1)]):re(e.$slots,"date",rn(Ee({key:2},e.slotProps)),()=>[U(Y(e.getDateTitle),1)])]))]}),_:3},8,["name"])],2)],6),Z("div",{class:L(e.n("body")),onTouchstart:r[2]||(r[2]=(...l)=>e.handleTouchstart&&e.handleTouchstart(...l)),onTouchmove:r[3]||(r[3]=(...l)=>e.handleTouchmove&&e.handleTouchmove(...l)),onTouchend:r[4]||(r[4]=(...l)=>e.handleTouchend&&e.handleTouchend(...l))},[k(he,{name:`${e.n()}-panel-fade`},{default:E(()=>[e.getPanelType==="year"?(P(),Be(a,{key:0,"component-props":e.componentProps,preview:e.previewYear,onChooseYear:e.getChooseYear},null,8,["component-props","preview","onChooseYear"])):e.getPanelType==="month"?(P(),Be(i,{key:1,ref:"monthPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"click-year":()=>e.clickEl("year"),"component-props":e.componentProps,onChooseMonth:e.getChooseMonth,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","click-year","component-props","onChooseMonth","onCheckPreview"])):e.getPanelType==="date"?(P(),Be(n,{key:2,ref:"dayPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"component-props":e.componentProps,"click-month":()=>e.clickEl("month"),onChooseDay:e.getChooseDay,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","component-props","click-month","onChooseDay","onCheckPreview"])):ln("",!0)]),_:1},8,["name"])],34)],2)}const le=ge(Un,[["render",Ln]]);dn(le);const qn={basicUsage:"基本使用",monthPicker:"月份选择器",multiple:"多选",range:"选择范围",dateLimit:"日期限制",custom:"自定义",year:"年",month:"月",divider:"年"},Wn={basicUsage:"Basic Usage",monthPicker:"Month Picker",multiple:"Multiple",range:"Range",dateLimit:"Date Limit",custom:"Custom",year:"",month:"",divider:"-"},{add:Xe,use:jn,pack:ee,packs:lt,merge:st}=vn(),zn=e=>{pn(e),jn(e)};He("zh-CN",fn);He("en-US",hn);Xe("zh-CN",qn);Xe("en-US",Wn);const it={__name:"index",setup(e){const r=Ve({date:"2021-04",date1:"2021-04-08",date2:["",""],date3:["2021-02-01","2021-02-15"],date4:"2020-11-11",date5:"2021-05"}),B=a=>parseInt(a.split("-")[1],10)%2===1,S=a=>parseInt(a.split("-")[2],10)%2===1;function p(a){console.log(a)}function D(a,i){console.log(a,i)}return sn(zn),un(yn),(a,i)=>(P(),O(pe,null,[k(C(ie),null,{default:E(()=>[U(Y(C(ee).basicUsage),1)]),_:1}),k(C(le),{modelValue:r.date1,"onUpdate:modelValue":i[0]||(i[0]=n=>r.date1=n)},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).monthPicker),1)]),_:1}),k(C(le),{type:"month",modelValue:r.date,"onUpdate:modelValue":i[1]||(i[1]=n=>r.date=n),elevation:""},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).multiple),1)]),_:1}),k(C(le),{type:"date",modelValue:r.date2,"onUpdate:modelValue":i[2]||(i[2]=n=>r.date2=n),multiple:""},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).range),1)]),_:1}),k(C(le),{type:"date",modelValue:r.date3,"onUpdate:modelValue":i[3]||(i[3]=n=>r.date3=n),range:""},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).dateLimit),1)]),_:1}),k(C(le),{type:"date",modelValue:r.date4,"onUpdate:modelValue":i[4]||(i[4]=n=>r.date4=n),min:"2020-10-15",max:"2021-01-15","allowed-dates":S},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).custom),1)]),_:1}),k(C(le),{type:"month","allowed-dates":B,modelValue:r.date5,"onUpdate:modelValue":i[5]||(i[5]=n=>r.date5=n),max:"2022-01",min:"2016-07",elevation:"","header-color":"purple",color:"#7bb872","first-day-of-week":"1",onPreview:D,onChange:p},{year:E(({year:n})=>[Z("span",null,Y(n)+Y(C(ee).year),1)]),month:E(({year:n,month:l})=>[Z("span",null,Y(n)+Y(C(ee).divider)+Y(l)+Y(C(ee).month),1)]),_:1},8,["modelValue"])],64))}};export{it as default}; +import{d as ye,r as b,D as T,a4 as g,G as fe,_ as ge,b as ne,e as P,m as O,q as k,w as E,p as Z,R as Y,T as he,x as L,W as Ve,b1 as s,b2 as We,b3 as je,N as pe,O as Ce,as as Ee,Q as U,at as ze,y as Fe,j as an,a2 as me,v as re,aQ as rn,f as Be,t as ln,F as sn,al as un,U as C}from"./index-0bd4ebfc.js";import{d as Te,c as se,f as cn,a as G,w as dn}from"./components-a5332e66.js";import{B as Ae}from"./index-1f1d0c91.js";import{I as mn}from"./index-2c5b74fa.js";import{p as J,u as vn,b as He,_ as fn,c as hn,a as pn}from"./index-4a9c2ae2.js";import{p as Le}from"./shared-a3ff1edc.js";import{d as yn}from"./index-d8fbf18c.js";import{A as ie}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const Me=[{index:"01"},{index:"02"},{index:"03"},{index:"04"},{index:"05"},{index:"06"},{index:"07"},{index:"08"},{index:"09"},{index:"10"},{index:"11"},{index:"12"}],ve=[{index:"0"},{index:"1"},{index:"2"},{index:"3"},{index:"4"},{index:"5"},{index:"6"}],gn={modelValue:[String,Array],type:{type:String,default:"date"},allowedDates:Function,color:String,headerColor:String,elevation:{type:[Boolean,Number,String],default:!1},buttonElevation:{type:[Boolean,Number,String],default:!0},firstDayOfWeek:{type:[String,Number],default:0},min:String,max:String,showCurrent:{type:Boolean,default:!0},readonly:Boolean,multiple:Boolean,range:Boolean,touchable:{type:Boolean,default:!0},onPreview:Te(),onChange:Te(),"onUpdate:modelValue":Te()},{n:kn}=se("picker-header"),Dn=ye({name:"PanelHeader",components:{VarButton:Ae,VarIcon:mn},props:{date:{type:Object,required:!0},type:{type:String,default:"date"},disabled:{type:Object,required:!0}},emits:["check-panel","check-date"],setup(e,{emit:r}){const B=b(!1),S=b(0),p=T(()=>{var $;const{date:a,type:i}=e,{previewMonth:n,previewYear:l}=a;if(i==="month")return g(l)+S.value;const c=($=J.value.datePickerMonthDict)==null?void 0:$[n.index].name;return J.value.lang==="zh-CN"?`${l} ${c}`:`${c} ${l}`}),D=a=>{a==="prev"&&e.disabled.left||a==="next"&&e.disabled.right||(r("check-date",a),B.value=a==="prev",S.value+=a==="prev"?-1:1)};return fe(()=>e.date,()=>{S.value=0}),{n:kn,reverse:B,showDate:p,checkDate:D}}});function $n(e,r,B,S,p,D){const a=ne("var-icon"),i=ne("var-button");return P(),O("div",{class:L(e.n())},[k(i,{round:"",text:"",style:{filter:"opacity(0.54)"},disabled:e.disabled.left,onClick:r[0]||(r[0]=n=>e.checkDate("prev"))},{default:E(()=>[k(a,{name:"chevron-left"})]),_:1},8,["disabled"]),Z("div",{class:L(e.n("value")),onClick:r[1]||(r[1]=n=>e.$emit("check-panel"))},[k(he,{name:`var-date-picker${e.reverse?"-reverse":""}-translatex`},{default:E(()=>[(P(),O("div",{key:e.showDate},Y(e.showDate),1))]),_:1},8,["name"])],2),k(i,{round:"",text:"",style:{filter:"opacity(0.54)"},disabled:e.disabled.right,onClick:r[2]||(r[2]=n=>e.checkDate("next"))},{default:E(()=>[k(a,{name:"chevron-right"})]),_:1},8,["disabled"])],2)}const Ke=ge(Dn,[["render",$n]]);s.extend(We);s.extend(je);const{n:be,classes:wn}=se("month-picker"),{n:Ye}=se("date-picker"),bn=ye({name:"MonthPickerPanel",components:{VarButton:Ae,PanelHeader:Ke},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickYear:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-month"],setup(e,{emit:r}){const[B,S]=e.current.split("-"),p=b(!1),D=b(0),a=b(null),i=Ve({left:!1,right:!1}),n=T(()=>e.choose.chooseYear===e.preview.previewYear),l=T(()=>e.preview.previewYear===B),c=m=>{var h;return((h=J.value.datePickerMonthDict)==null?void 0:h[m].abbr)??""},$=m=>{const{preview:{previewYear:h},componentProps:{min:R,max:q}}=e;let F=!0,W=!0;const o=`${h}-${m}`;return q&&(F=s(o).isSameOrBefore(s(q),"month")),R&&(W=s(o).isSameOrAfter(s(R),"month")),F&&W},w=m=>{const{choose:{chooseMonths:h,chooseDays:R,chooseRangeMonth:q},componentProps:{type:F,range:W}}=e;if(W){if(!q.length)return!1;const o=s(m).isSameOrBefore(s(q[1]),"month"),v=s(m).isSameOrAfter(s(q[0]),"month");return o&&v}return F==="month"?h.includes(m):R.some(o=>o.includes(m))},oe=m=>{const{choose:{chooseMonth:h},preview:{previewYear:R},componentProps:{allowedDates:q,color:F,multiple:W,range:o}}=e,v=`${R}-${m}`,V=()=>o||W?w(v):(h==null?void 0:h.index)===m&&n.value,M=(()=>$(m)?q?!q(v):!1:!0)(),I=()=>M?!0:o||W?!w(v):!n.value||(h==null?void 0:h.index)!==m,H=()=>l.value&&S===m&&e.componentProps.showCurrent?(o||W||n.value)&&M?!0:o||W?!w(v):n.value?(h==null?void 0:h.index)!==S:!0:!1,K=()=>M?"":H()?F??"":V()?"":`${Ye()}-color-cover`,Q=K().startsWith(Ye());return{outline:H(),text:I(),color:I()?"":F,textColor:Q?"":K(),[`${Ye()}-color-cover`]:Q,class:wn(be("button"),[M,be("button--disabled")]),disabled:M}},te=(m,h)=>{h.currentTarget.classList.contains(be("button--disabled"))||r("choose-month",m)},x=m=>{p.value=m==="prev",D.value+=m==="prev"?-1:1,r("check-preview","year",m)},X=m=>{a.value.checkDate(m)};return fe(()=>e.preview.previewYear,m=>{const{componentProps:{min:h,max:R}}=e;R&&(i.right=!s(`${g(m)+1}`).isSameOrBefore(s(R),"year")),h&&(i.left=!s(`${g(m)-1}`).isSameOrAfter(s(h),"year"))},{immediate:!0}),{n:be,nDate:Ye,pack:J,MONTH_LIST:Me,headerEl:a,reverse:p,panelKey:D,panelBtnDisabled:i,forwardRef:X,buttonProps:oe,getMonthAbbr:c,chooseMonth:te,checkDate:x}}});function Yn(e,r,B,S,p,D){const a=ne("panel-header"),i=ne("var-button");return P(),O("div",{class:L(e.n())},[Z("div",{class:L(e.n("content"))},[k(a,{ref:"headerEl",type:"month",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickYear,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),k(he,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:E(()=>[(P(),O("ul",{key:e.panelKey},[(P(!0),O(pe,null,Ce(e.MONTH_LIST,n=>(P(),O("li",{key:n.index},[k(i,Ee({type:"primary","var-month-picker-cover":"",ripple:!1,elevation:e.componentProps.buttonElevation},{...e.buttonProps(n.index)},{onClick:l=>e.chooseMonth(n,l)}),{default:E(()=>[U(Y(e.getMonthAbbr(n.index)),1)]),_:2},1040,["elevation","onClick"])]))),128))]))]),_:1},8,["name"])],2)],2)}const Pn=ge(bn,[["render",Yn]]),{n:qe,classes:Mn}=se("year-picker"),Cn=ye({name:"YearPickerPanel",props:{preview:{type:String},componentProps:{type:Object,required:!0}},emits:["choose-year"],setup(e,{emit:r}){const B=T(()=>{const p=[],{preview:D,componentProps:{max:a,min:i}}=e;if(!D)return p;let n=[g(D)+100,g(D)-100];if(a){const l=s(a).format("YYYY-MM-D"),c=g(l.split("-")[0]);if(cn[1]&&(n=[c,n[1]]),c<=n[1])return[c]}if(i){const l=s(i).format("YYYY-MM-D"),c=g(l.split("-")[0]);if(cn[1]&&(n=[n[0],c]),c>=n[0])return[c]}for(let l=n[0];l>=n[1];l--)p.push(l);return p}),S=p=>{r("choose-year",p)};return ze(()=>{const p=document.querySelector(`.${qe("item--active")}`);p==null||p.scrollIntoView({block:"center"})}),{n:qe,classes:Mn,yearList:B,chooseYear:S,toNumber:g}}}),Vn=["onClick"];function Sn(e,r,B,S,p,D){return P(),O("ul",{class:L(e.n())},[(P(!0),O(pe,null,Ce(e.yearList,a=>(P(),O("li",{key:a,class:L(e.classes(e.n("item"),[a===e.toNumber(e.preview),e.n("item--active")])),style:Fe({color:a===e.toNumber(e.preview)?e.componentProps.color:""}),onClick:i=>e.chooseYear(a)},Y(a),15,Vn))),128))],2)}const On=ge(Cn,[["render",Sn]]);s.extend(We);s.extend(je);const{n:ue,classes:Bn}=se("day-picker"),{n:Pe}=se("date-picker"),Tn=ye({name:"DayPickerPanel",components:{VarButton:Ae,PanelHeader:Ke},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickMonth:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-day"],setup(e,{emit:r}){const[B,S,p]=e.current.split("-"),D=b([]),a=b(!1),i=b(0),n=b(null),l=Ve({left:!1,right:!1}),c=T(()=>e.preview.previewYear===B&&e.preview.previewMonth.index===S),$=T(()=>{var o;return e.choose.chooseYear===e.preview.previewYear&&((o=e.choose.chooseMonth)==null?void 0:o.index)===e.preview.previewMonth.index}),w=T(()=>{const o=ve.findIndex(v=>v.index===e.componentProps.firstDayOfWeek);return o===-1||o===0?ve:ve.slice(o).concat(ve.slice(0,o))}),oe=o=>{var v;return((v=J.value.datePickerWeekDict)==null?void 0:v[o].abbr)??""},te=o=>o>0?o:"",x=()=>{const{preview:{previewMonth:o,previewYear:v}}=e,V=s(`${v}-${o.index}`).daysInMonth(),A=s(`${v}-${o.index}-01`).day(),M=w.value.findIndex(I=>I.index===`${A}`);D.value=[...Array(M).fill(-1),...Array.from(Array(V+1).keys())].filter(I=>I)},X=()=>{const{preview:{previewYear:o,previewMonth:v},componentProps:{max:V,min:A}}=e;if(V){const M=`${o}-${g(v.index)+1}`;l.right=!s(M).isSameOrBefore(s(V),"month")}if(A){const M=`${o}-${g(v.index)-1}`;l.left=!s(M).isSameOrAfter(s(A),"month")}},m=o=>{const{preview:{previewYear:v,previewMonth:V},componentProps:{min:A,max:M}}=e;let I=!0,H=!0;const K=`${v}-${V.index}-${o}`;return M&&(I=s(K).isSameOrBefore(s(M),"day")),A&&(H=s(K).isSameOrAfter(s(A),"day")),I&&H},h=o=>{const{choose:{chooseDays:v,chooseRangeDay:V},componentProps:{range:A}}=e;if(A){if(!V.length)return!1;const M=s(o).isSameOrBefore(s(V[1]),"day"),I=s(o).isSameOrAfter(s(V[0]),"day");return M&&I}return v.includes(o)},R=o=>{if(o<0)return{text:!0,outline:!1,textColor:"",class:ue("button"),disabled:!0};const{choose:{chooseDay:v},preview:{previewYear:V,previewMonth:A},componentProps:{allowedDates:M,color:I,multiple:H,range:K}}=e,Q=`${V}-${A.index}-${o}`,ce=()=>K||H?h(Q):g(v)===o&&$.value,_=(()=>m(o)?M?!M(Q):!1:!0)(),Se=()=>_?!0:K||H?!h(Q):!$.value||g(v)!==o,De=()=>c.value&&g(p)===o&&e.componentProps.showCurrent?(K||H||$.value)&&_?!0:K||H?!h(Q):$.value?v!==p:!0:!1,$e=()=>_?"":De()?I??"":ce()?"":`${Pe()}-color-cover`,we=$e().startsWith(Pe());return{text:Se(),outline:De(),textColor:we?"":$e(),[`${Pe()}-color-cover`]:we,class:Bn(ue("button"),ue("button--usable"),[_,ue("button--disabled")]),disabled:_}},q=o=>{a.value=o==="prev",i.value+=o==="prev"?-1:1,r("check-preview","month",o)},F=(o,v)=>{v.currentTarget.classList.contains(ue("button--disabled"))||r("choose-day",o)},W=o=>{n.value.checkDate(o)};return ze(()=>{x(),X()}),fe(()=>e.preview,()=>{x(),X()}),{n:ue,nDate:Pe,days:D,reverse:a,headerEl:n,panelKey:i,sortWeekList:w,panelBtnDisabled:l,forwardRef:W,filterDay:te,getDayAbbr:oe,checkDate:q,chooseDay:F,buttonProps:R}}});function En(e,r,B,S,p,D){const a=ne("panel-header"),i=ne("var-button");return P(),O("div",{class:L(e.n())},[Z("div",{class:L(e.n("content"))},[k(a,{ref:"headerEl",type:"day",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickMonth,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),k(he,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:E(()=>[(P(),O("div",{key:e.panelKey},[Z("ul",{class:L(e.n("head"))},[(P(!0),O(pe,null,Ce(e.sortWeekList,n=>(P(),O("li",{key:n.index},Y(e.getDayAbbr(n.index)),1))),128))],2),Z("ul",{class:L(e.n("body"))},[(P(!0),O(pe,null,Ce(e.days,(n,l)=>(P(),O("li",{key:l},[k(i,Ee({type:"primary","var-day-picker-cover":"",round:"",ripple:!1,elevation:e.componentProps.buttonElevation},{...e.buttonProps(n)},{onClick:c=>e.chooseDay(n,c)}),{default:E(()=>[U(Y(e.filterDay(n)),1)]),_:2},1040,["elevation","onClick"])]))),128))],2)]))]),_:1},8,["name"])],2)],2)}const An=ge(Tn,[["render",En]]),{name:Nn,n:Rn,classes:In}=se("date-picker"),Un=ye({name:Nn,components:{MonthPickerPanel:Pn,YearPickerPanel:On,DayPickerPanel:An},props:gn,setup(e){const r=s().format("YYYY-MM-D"),[B,S]=r.split("-"),p=Me.find(t=>t.index===S),D=b(!1),a=b(!1),i=b(!0),n=b(),l=b(),c=b(),$=b(p),w=b(B),oe=b(!1),te=b([]),x=b([]),X=b([]),m=b([]),h=b(null),R=b(null),q=Ve({allowedDates:e.allowedDates,type:e.type,color:e.color,firstDayOfWeek:e.firstDayOfWeek,min:e.min,max:e.max,showCurrent:e.showCurrent,multiple:e.multiple,range:e.range,buttonElevation:e.buttonElevation}),F=T(()=>({chooseMonth:n.value,chooseYear:l.value,chooseDay:c.value,chooseMonths:te.value,chooseDays:x.value,chooseRangeMonth:X.value,chooseRangeDay:m.value})),W=T(()=>({previewMonth:$.value,previewYear:w.value})),o=T(()=>{var f;const{multiple:t,range:d}=e;if(d)return X.value.length?`${X.value[0]} ~ ${X.value[1]}`:"";let u="";return n.value&&(u=((f=J.value.datePickerMonthDict)==null?void 0:f[n.value.index].name)??""),t?`${te.value.length}${J.value.datePickerSelected}`:u}),v=T(()=>{var z,ae;const{multiple:t,range:d}=e;if(d){const de=m.value.map(on=>s(on).format("YYYY-MM-DD"));return de.length?`${de[0]} ~ ${de[1]}`:""}if(t)return`${x.value.length}${J.value.datePickerSelected}`;if(!l.value||!n.value||!c.value)return"";const u=s(`${l.value}-${n.value.index}-${c.value}`).day(),f=ve.find(de=>de.index===`${u}`),y=((z=J.value.datePickerWeekDict)==null?void 0:z[f.index].name)??"",N=((ae=J.value.datePickerMonthDict)==null?void 0:ae[n.value.index].name)??"",j=Le(c.value,2,"0");return J.value.lang==="zh-CN"?`${n.value.index}-${j} ${y.slice(0,3)}`:`${y.slice(0,3)}, ${N.slice(0,3)} ${c.value}`}),V=T(()=>D.value?"year":e.type==="month"||a.value?"month":e.type==="date"?"date":""),A=T(()=>!e.touchable||["","year"].includes(V.value)),M=T(()=>{var u,f;const t=s(`${l.value}-${(u=n.value)==null?void 0:u.index}-${c.value}`).day(),d=c.value?Le(c.value,2,"0"):"";return{week:`${t}`,year:l.value??"",month:((f=n.value)==null?void 0:f.index)??"",date:d}}),I=T(()=>F.value.chooseRangeDay.map(t=>s(t).format("YYYY-MM-DD"))),H=T(()=>l.value===w.value),K=T(()=>{var t;return((t=n.value)==null?void 0:t.index)===$.value.index});let Q=0,ce=0,ke="",_;fe(()=>e.modelValue,t=>{if(!(!_e()||Oe(t)||!t))if(e.range){if(!me(t))return;i.value=t.length!==1,en(t,e.type)}else if(e.multiple){if(!me(t))return;nn(t,e.type)}else tn(t)},{immediate:!0}),fe(V,Ue);function Se(t){t==="year"?D.value=!0:t==="month"?a.value=!0:(D.value=!1,a.value=!1)}function De(t){if(A.value)return;const{clientX:d,clientY:u}=t.touches[0];Q=d,ce=u}function $e(t,d){return t>=d&&t>20?"x":"y"}function we(t){if(A.value)return;const{clientX:d,clientY:u}=t.touches[0],f=d-Q,y=u-ce;_=$e(Math.abs(f),Math.abs(y)),ke=f>0?"prev":"next"}async function Qe(){if(A.value||_!=="x")return;const t=V.value==="month"?h:R;await an(),t.value.forwardRef(ke),Ue()}function Ne(t,d){const u=d==="month"?X:m;if(u.value=i.value?[t,t]:[u.value[0],t],i.value=!i.value,i.value){const y=s(u.value[0]).isAfter(u.value[1])?[u.value[1],u.value[0]]:[...u.value];G(e["onUpdate:modelValue"],y),G(e.onChange,y)}}function Re(t,d){const u=d==="month"?te:x,f=d==="month"?"YYYY-MM":"YYYY-MM-DD",y=u.value.map(j=>s(j).format(f)),N=y.findIndex(j=>j===t);N===-1?y.push(t):y.splice(N,1),G(e["onUpdate:modelValue"],y),G(e.onChange,y)}function Ie(t,d){return!l.value||!n.value?!1:H.value?t==="month"?d.index$.value.index:l.value>w.value}function Ge(t){const{readonly:d,range:u,multiple:f,onChange:y,"onUpdate:modelValue":N}=e;if(t<0||d)return;oe.value=Ie("day",t);const j=`${w.value}-${$.value.index}-${t}`,z=s(j).format("YYYY-MM-DD");u?Ne(z,"day"):f?Re(z,"day"):(G(N,z),G(y,z))}function Je(t){const{type:d,readonly:u,range:f,multiple:y,onChange:N,onPreview:j,"onUpdate:modelValue":z}=e;if(oe.value=Ie("month",t),d==="month"&&!u){const ae=`${w.value}-${t.index}`;f?Ne(ae,"month"):y?Re(ae,"month"):(G(z,ae),G(N,ae))}else $.value=t,G(j,g(w.value),g($.value.index));a.value=!1}function Ze(t){w.value=`${t}`,D.value=!1,a.value=!0,G(e.onPreview,g(w.value),g($.value.index))}function xe(t,d){const u=d==="prev"?-1:1;if(t==="year")w.value=`${g(w.value)+u}`;else{let f=g($.value.index)+u;f<1&&(w.value=`${g(w.value)-1}`,f=12),f>12&&(w.value=`${g(w.value)+1}`,f=1),$.value=Me.find(y=>g(y.index)===f)}G(e.onPreview,g(w.value),g($.value.index))}function _e(){return(e.multiple||e.range)&&!me(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be an Array'),!1):!e.multiple&&!e.range&&me(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be a String'),!1):!0}function Oe(t){return me(t)?!1:t==="Invalid Date"?(console.error('[Varlet] DatePicker: "modelValue" is an Invalid Date'),!0):!1}function en(t,d){const u=d==="month"?X:m,f=d==="month"?"YYYY-MM":"YYYY-MM-D",y=t.map(z=>s(z).format(f)).slice(0,2);if(u.value.some(z=>Oe(z)))return;u.value=y;const j=s(u.value[0]).isAfter(u.value[1]);u.value.length===2&&j&&(u.value=[u.value[1],u.value[0]])}function nn(t,d){const u=d==="month"?te:x,f=d==="month"?"YYYY-MM":"YYYY-MM-D",y=Array.from(new Set(t.map(N=>s(N).format(f))));u.value=y.filter(N=>N!=="Invalid Date")}function tn(t){const d=s(t).format("YYYY-MM-D");if(Oe(d))return;const[u,f,y]=d.split("-"),N=Me.find(j=>j.index===f);n.value=N,l.value=u,c.value=y,$.value=N,w.value=u}function Ue(){ce=0,Q=0,ke="",_=void 0}return{monthPanelEl:h,dayPanelEl:R,reverse:oe,currentDate:r,chooseMonth:n,chooseYear:l,chooseDay:c,previewYear:w,isYearPanel:D,isMonthPanel:a,getMonthTitle:o,getDateTitle:v,getPanelType:V,getChoose:F,getPreview:W,componentProps:q,slotProps:M,formatRange:I,n:Rn,classes:In,clickEl:Se,handleTouchstart:De,handleTouchmove:we,handleTouchend:Qe,getChooseDay:Ge,getChooseMonth:Je,getChooseYear:Ze,checkPreview:xe,formatElevation:cn}}});function Ln(e,r,B,S,p,D){const a=ne("year-picker-panel"),i=ne("month-picker-panel"),n=ne("day-picker-panel");return P(),O("div",{class:L(e.classes(e.n(),e.formatElevation(e.elevation,2)))},[Z("div",{class:L(e.n("title")),style:Fe({background:e.headerColor||e.color})},[Z("div",{class:L(e.classes(e.n("title-year"),[e.isYearPanel,e.n("title-year--active")])),onClick:r[0]||(r[0]=l=>e.clickEl("year"))},[re(e.$slots,"year",{year:e.chooseYear},()=>[U(Y(e.chooseYear),1)])],2),Z("div",{class:L(e.classes(e.n("title-date"),[!e.isYearPanel,e.n("title-date--active")],[e.range,e.n("title-date--range")])),onClick:r[1]||(r[1]=l=>e.clickEl("date"))},[k(he,{name:e.multiple?"":`${e.n()}${e.reverse?"-reverse":""}-translatey`},{default:E(()=>{var l,c,$;return[e.type==="month"?(P(),O("div",{key:`${e.chooseYear}${(l=e.chooseMonth)==null?void 0:l.index}`},[e.range?re(e.$slots,"range",{key:0,choose:e.getChoose.chooseRangeMonth},()=>[U(Y(e.getMonthTitle),1)]):e.multiple?re(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseMonths},()=>[U(Y(e.getMonthTitle),1)]):re(e.$slots,"month",{key:2,month:(c=e.chooseMonth)==null?void 0:c.index,year:e.chooseYear},()=>[U(Y(e.getMonthTitle),1)])])):(P(),O("div",{key:`${e.chooseYear}${($=e.chooseMonth)==null?void 0:$.index}${e.chooseDay}`},[e.range?re(e.$slots,"range",{key:0,choose:e.formatRange},()=>[U(Y(e.getDateTitle),1)]):e.multiple?re(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseDays},()=>[U(Y(e.getDateTitle),1)]):re(e.$slots,"date",rn(Ee({key:2},e.slotProps)),()=>[U(Y(e.getDateTitle),1)])]))]}),_:3},8,["name"])],2)],6),Z("div",{class:L(e.n("body")),onTouchstart:r[2]||(r[2]=(...l)=>e.handleTouchstart&&e.handleTouchstart(...l)),onTouchmove:r[3]||(r[3]=(...l)=>e.handleTouchmove&&e.handleTouchmove(...l)),onTouchend:r[4]||(r[4]=(...l)=>e.handleTouchend&&e.handleTouchend(...l))},[k(he,{name:`${e.n()}-panel-fade`},{default:E(()=>[e.getPanelType==="year"?(P(),Be(a,{key:0,"component-props":e.componentProps,preview:e.previewYear,onChooseYear:e.getChooseYear},null,8,["component-props","preview","onChooseYear"])):e.getPanelType==="month"?(P(),Be(i,{key:1,ref:"monthPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"click-year":()=>e.clickEl("year"),"component-props":e.componentProps,onChooseMonth:e.getChooseMonth,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","click-year","component-props","onChooseMonth","onCheckPreview"])):e.getPanelType==="date"?(P(),Be(n,{key:2,ref:"dayPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"component-props":e.componentProps,"click-month":()=>e.clickEl("month"),onChooseDay:e.getChooseDay,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","component-props","click-month","onChooseDay","onCheckPreview"])):ln("",!0)]),_:1},8,["name"])],34)],2)}const le=ge(Un,[["render",Ln]]);dn(le);const qn={basicUsage:"基本使用",monthPicker:"月份选择器",multiple:"多选",range:"选择范围",dateLimit:"日期限制",custom:"自定义",year:"年",month:"月",divider:"年"},Wn={basicUsage:"Basic Usage",monthPicker:"Month Picker",multiple:"Multiple",range:"Range",dateLimit:"Date Limit",custom:"Custom",year:"",month:"",divider:"-"},{add:Xe,use:jn,pack:ee,packs:lt,merge:st}=vn(),zn=e=>{pn(e),jn(e)};He("zh-CN",fn);He("en-US",hn);Xe("zh-CN",qn);Xe("en-US",Wn);const it={__name:"index",setup(e){const r=Ve({date:"2021-04",date1:"2021-04-08",date2:["",""],date3:["2021-02-01","2021-02-15"],date4:"2020-11-11",date5:"2021-05"}),B=a=>parseInt(a.split("-")[1],10)%2===1,S=a=>parseInt(a.split("-")[2],10)%2===1;function p(a){console.log(a)}function D(a,i){console.log(a,i)}return sn(zn),un(yn),(a,i)=>(P(),O(pe,null,[k(C(ie),null,{default:E(()=>[U(Y(C(ee).basicUsage),1)]),_:1}),k(C(le),{modelValue:r.date1,"onUpdate:modelValue":i[0]||(i[0]=n=>r.date1=n)},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).monthPicker),1)]),_:1}),k(C(le),{type:"month",modelValue:r.date,"onUpdate:modelValue":i[1]||(i[1]=n=>r.date=n),elevation:""},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).multiple),1)]),_:1}),k(C(le),{type:"date",modelValue:r.date2,"onUpdate:modelValue":i[2]||(i[2]=n=>r.date2=n),multiple:""},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).range),1)]),_:1}),k(C(le),{type:"date",modelValue:r.date3,"onUpdate:modelValue":i[3]||(i[3]=n=>r.date3=n),range:""},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).dateLimit),1)]),_:1}),k(C(le),{type:"date",modelValue:r.date4,"onUpdate:modelValue":i[4]||(i[4]=n=>r.date4=n),min:"2020-10-15",max:"2021-01-15","allowed-dates":S},null,8,["modelValue"]),k(C(ie),null,{default:E(()=>[U(Y(C(ee).custom),1)]),_:1}),k(C(le),{type:"month","allowed-dates":B,modelValue:r.date5,"onUpdate:modelValue":i[5]||(i[5]=n=>r.date5=n),max:"2022-01",min:"2016-07",elevation:"","header-color":"purple",color:"#7bb872","first-day-of-week":"1",onPreview:D,onChange:p},{year:E(({year:n})=>[Z("span",null,Y(n)+Y(C(ee).year),1)]),month:E(({year:n,month:l})=>[Z("span",null,Y(n)+Y(C(ee).divider)+Y(l)+Y(C(ee).month),1)]),_:1},8,["modelValue"])],64))}};export{it as default}; diff --git a/assets/index-cc76fe06.js b/assets/index-04bf1a39.js similarity index 92% rename from assets/index-cc76fe06.js rename to assets/index-04bf1a39.js index 578ab2bbb91..c6cf7817955 100644 --- a/assets/index-cc76fe06.js +++ b/assets/index-04bf1a39.js @@ -1 +1 @@ -import{a1 as x,d as W,D as $,G as k,n as K,a2 as L,_ as j,e as M,m as A,v as N,x as C,a3 as ee,r as I,aK as B,j as te,b as le,p as w,Q as d,R as r,q as o,P as ae,Y as ne,y as oe,W as ie,F as se,al as de,w as n,U as t,N as re}from"./index-af5fec45.js";import{d as Y,c as q,a as F,w as G,f as ue}from"./components-3ae053cb.js";import{I as fe}from"./index-057aa4ba.js";import{e as ce}from"./logger-525ef361.js";import{B as R}from"./index-84d96475.js";import{S as me}from"./index-90c41552.js";import{d as ve}from"./index-d8fbf18c.js";import{u as pe,b as Q,_ as he,c as Ce,a as ge}from"./index-2b61c8d0.js";import{A as S}from"./appType-53211ea9.js";import"./elements-68ad626b.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const J=Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");function Ve(){const{childProviders:e,length:s,bindChildren:m}=x(J);return{length:s,collapseItem:e,bindCollapseItem:m}}const be={modelValue:[Array,String,Number],accordion:Boolean,offset:{type:Boolean,default:!0},divider:{type:Boolean,default:!0},elevation:{type:[Boolean,String,Number],default:!0},onChange:Y(),"onUpdate:modelValue":Y()},{name:ye,n:we}=q("collapse"),Se=W({name:ye,props:be,setup(e){const s=$(()=>e.modelValue),m=$(()=>e.offset),a=$(()=>e.divider),g=$(()=>e.elevation),{length:p,collapseItem:i,bindCollapseItem:u}=Ve(),_={active:s,offset:m,divider:a,elevation:g,updateItem:U};k(()=>p.value,()=>K().then(y)),k(()=>e.modelValue,()=>K().then(y)),u(_);function D(){return!e.accordion&&!L(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be an Array'),!1):e.accordion&&L(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be a String or Number'),!1):!0}function T(c,f){return D()?f?e.accordion?c:[...e.modelValue,c]:e.accordion?null:e.modelValue.filter(V=>V!==c):null}function U(c,f){const V=T(c,f);F(e["onUpdate:modelValue"],V),F(e.onChange,V)}function E(){if(e.accordion)return i.find(({name:f})=>e.modelValue===f.value);const c=i.filter(({name:f})=>f.value===void 0?!1:e.modelValue.includes(f.value));return c.length?c:void 0}function P(){return e.accordion?i.find(({index:c,name:f})=>f.value===void 0&&e.modelValue===c.value):i.filter(({index:c,name:f})=>f.value===void 0&&e.modelValue.includes(c.value))}function y(){if(!D())return;const c=E()||P();if(e.accordion&&!c||!e.accordion&&!c.length){i.forEach(f=>{f.init(e.accordion,!1)});return}i.forEach(f=>{const V=e.accordion?c===f:c.includes(f);f.init(e.accordion,V)})}return{divider:a,n:we}}});function $e(e,s,m,a,g,p){return M(),A("div",{class:C(e.n())},[N(e.$slots,"default")],2)}const b=j(Se,[["render",$e]]);G(b);function Ie(){const{parentProvider:e,index:s,bindParent:m}=ee(J);return m||ce("Collapse"," must in "),{index:s,collapse:e,bindCollapse:m}}const _e={name:[String,Number],title:String,icon:{type:String,default:"chevron-down"},disabled:Boolean},{name:De,n:Ne,classes:Te}=q("collapse-item"),Ue=W({name:De,components:{VarIcon:fe},props:_e,setup(e){const s=I(!1),m=I(!1),a=I(null),g=$(()=>e.name),{index:p,collapse:i,bindCollapse:u}=Ie(),{active:_,offset:D,divider:T,elevation:U,updateItem:E}=i,P={index:p,name:g,init:V};let y=!0;k(s,h=>{h?c():f()}),u(P);async function c(){if(!a.value||(a.value.style.height="",m.value=!0,await B(),!a.value))return;const{offsetHeight:h}=a.value;a.value.style.height="0px",await B(),a.value&&(a.value.style.height=h+"px",y&&(await te(),y&&H()))}async function f(){if(!a.value)return;const{offsetHeight:h}=a.value;a.value.style.height=h+"px",await B(),a.value.style.height="0px"}function V(h,O){_.value===void 0||h&&L(_.value)||O===s.value||(s.value=O,z(!0))}function z(h){e.disabled||h||E(e.name||p.value,!s.value)}function Z(){y=!1}function H(){s.value||(m.value=!1),a.value.style.height=""}return{isShow:s,showContent:m,offset:D,divider:T,elevation:U,contentEl:a,n:Ne,start:Z,classes:Te,toggle:z,transitionend:H,formatElevation:ue}}});function Ee(e,s,m,a,g,p){const i=le("var-icon");return M(),A("div",{class:C(e.classes(e.n(),[e.offset&&e.isShow,e.n("--active")],[e.disabled,e.n("--disable")])),style:oe(`--collapse-divider-top: ${e.divider?"var(--collapse-border-top)":"none"}`)},[w("div",{class:C(e.classes(e.n("shadow"),e.formatElevation(e.elevation,2)))},null,2),w("div",{class:C(e.n("header")),onClick:s[0]||(s[0]=u=>e.toggle())},[w("div",{class:C(e.n("header-title"))},[N(e.$slots,"title",{},()=>[d(r(e.title),1)])],2),w("div",{class:C(e.n("header-icon"))},[N(e.$slots,"icon",{},()=>[o(i,{name:e.icon,transition:250,class:C(e.classes(e.n("header-icon"),[e.isShow&&e.icon==="chevron-down",e.n("header-open")],[e.disabled,e.n("header--disable")]))},null,8,["name","class"])])],2)],2),ae(w("div",{class:C(e.n("content")),ref:"contentEl",onTransitionend:s[1]||(s[1]=(...u)=>e.transitionend&&e.transitionend(...u)),onTransitionstart:s[2]||(s[2]=(...u)=>e.start&&e.start(...u))},[w("div",{class:C(e.n("content-wrap"))},[N(e.$slots,"default")],2)],34),[[ne,e.showContent]])],6)}const v=j(Ue,[["render",Ee]]);G(v);const Pe={basicUsage:"基本使用",hideMargin:"隐藏边距",accordionMode:"手风琴模式",disabled:"禁用",enable:"启用",customContent:"自定义内容",title:"标题",text:"文本",slotTitle:"这是标题",slotContent:"这是内容",hideDivider:"隐藏分割线",showDivider:"显示分割线",controlledDivider:"可控的分割线"},Be={basicUsage:"Basic Usage",hideMargin:"Hide Margin",accordionMode:"Accordion Mode",disabled:"Disabled",enable:"Enable",customContent:"Custom Content",title:"Title",text:"Hello World",slotTitle:"This is a Title",slotContent:"This is a content",hideDivider:"Hide Divider",showDivider:"Show Divider",controlledDivider:"Controlled Divider"},{add:X,use:ke,pack:l,packs:Ze,merge:xe}=pe(),Le=e=>{ge(e),ke(e)};Q("zh-CN",he);Q("en-US",Ce);X("zh-CN",Pe);X("en-US",Be);const et={__name:"index",setup(e){const s=I(!1),m=I(!1),a=ie({value:["1"],value1:"",value2:[1],value3:["1"],value4:["2"],value5:[]});function g(p){console.log(p)}return se(Le),de(ve),(p,i)=>(M(),A(re,null,[o(t(S),null,{default:n(()=>[d(r(t(l).basicUsage),1)]),_:1}),o(t(b),{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=u=>a.value=u),onChange:g},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue"]),o(t(S),null,{default:n(()=>[d(r(t(l).hideMargin),1)]),_:1}),o(t(b),{modelValue:a.value4,"onUpdate:modelValue":i[1]||(i[1]=u=>a.value4=u),offset:!1},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue"]),o(t(S),null,{default:n(()=>[d(r(t(l).controlledDivider),1)]),_:1}),o(t(R),{onClick:i[2]||(i[2]=u=>m.value=!m.value),style:{"margin-bottom":"8px"}},{default:n(()=>[d(r(m.value?t(l).hideDivider:t(l).showDivider),1)]),_:1}),o(t(b),{modelValue:a.value5,"onUpdate:modelValue":i[3]||(i[3]=u=>a.value5=u),divider:m.value,onChange:g},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"3"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue","divider"]),o(t(S),null,{default:n(()=>[d(r(t(l).accordionMode),1)]),_:1}),o(t(b),{modelValue:a.value1,"onUpdate:modelValue":i[4]||(i[4]=u=>a.value1=u),accordion:"",offset:!1},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue"]),o(t(S),null,{default:n(()=>[d(r(t(l).disabled),1)]),_:1}),o(t(me),{direction:"column",size:[8,8]},{default:n(()=>[o(t(R),{onClick:i[5]||(i[5]=u=>s.value=!s.value)},{default:n(()=>[d(r(s.value?t(l).enable:t(l).disabled),1)]),_:1}),o(t(b),{modelValue:a.value2,"onUpdate:modelValue":i[6]||(i[6]=u=>a.value2=u)},{default:n(()=>[o(t(v),{title:t(l).title,name:1,disabled:s.value},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title","disabled"]),o(t(v),{title:t(l).title,name:2,disabled:s.value},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title","disabled"])]),_:1},8,["modelValue"])]),_:1}),o(t(S),null,{default:n(()=>[d(r(t(l).customContent),1)]),_:1}),o(t(b),{modelValue:a.value3,"onUpdate:modelValue":i[7]||(i[7]=u=>a.value3=u)},{default:n(()=>[o(t(v),{title:t(l).slotTitle,name:"1",icon:"account-circle"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{name:"2"},{title:n(()=>[d(r(t(l).slotTitle),1)]),icon:n(()=>[d("^_^")]),default:n(()=>[d(" "+r(t(l).slotContent),1)]),_:1})]),_:1},8,["modelValue"])],64))}};export{et as default}; +import{a1 as x,d as W,D as $,G as k,n as K,a2 as L,_ as j,e as M,m as A,v as N,x as C,a3 as ee,r as I,aK as B,j as te,b as le,p as w,Q as d,R as r,q as o,P as ae,Y as ne,y as oe,W as ie,F as se,al as de,w as n,U as t,N as re}from"./index-0bd4ebfc.js";import{d as Y,c as q,a as F,w as G,f as ue}from"./components-a5332e66.js";import{I as fe}from"./index-2c5b74fa.js";import{e as ce}from"./logger-525ef361.js";import{B as R}from"./index-1f1d0c91.js";import{S as me}from"./index-65cffe90.js";import{d as ve}from"./index-d8fbf18c.js";import{u as pe,b as Q,_ as he,c as Ce,a as ge}from"./index-4a9c2ae2.js";import{A as S}from"./appType-a8f87391.js";import"./elements-23c82371.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const J=Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");function Ve(){const{childProviders:e,length:s,bindChildren:m}=x(J);return{length:s,collapseItem:e,bindCollapseItem:m}}const be={modelValue:[Array,String,Number],accordion:Boolean,offset:{type:Boolean,default:!0},divider:{type:Boolean,default:!0},elevation:{type:[Boolean,String,Number],default:!0},onChange:Y(),"onUpdate:modelValue":Y()},{name:ye,n:we}=q("collapse"),Se=W({name:ye,props:be,setup(e){const s=$(()=>e.modelValue),m=$(()=>e.offset),a=$(()=>e.divider),g=$(()=>e.elevation),{length:p,collapseItem:i,bindCollapseItem:u}=Ve(),_={active:s,offset:m,divider:a,elevation:g,updateItem:U};k(()=>p.value,()=>K().then(y)),k(()=>e.modelValue,()=>K().then(y)),u(_);function D(){return!e.accordion&&!L(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be an Array'),!1):e.accordion&&L(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be a String or Number'),!1):!0}function T(c,f){return D()?f?e.accordion?c:[...e.modelValue,c]:e.accordion?null:e.modelValue.filter(V=>V!==c):null}function U(c,f){const V=T(c,f);F(e["onUpdate:modelValue"],V),F(e.onChange,V)}function E(){if(e.accordion)return i.find(({name:f})=>e.modelValue===f.value);const c=i.filter(({name:f})=>f.value===void 0?!1:e.modelValue.includes(f.value));return c.length?c:void 0}function P(){return e.accordion?i.find(({index:c,name:f})=>f.value===void 0&&e.modelValue===c.value):i.filter(({index:c,name:f})=>f.value===void 0&&e.modelValue.includes(c.value))}function y(){if(!D())return;const c=E()||P();if(e.accordion&&!c||!e.accordion&&!c.length){i.forEach(f=>{f.init(e.accordion,!1)});return}i.forEach(f=>{const V=e.accordion?c===f:c.includes(f);f.init(e.accordion,V)})}return{divider:a,n:we}}});function $e(e,s,m,a,g,p){return M(),A("div",{class:C(e.n())},[N(e.$slots,"default")],2)}const b=j(Se,[["render",$e]]);G(b);function Ie(){const{parentProvider:e,index:s,bindParent:m}=ee(J);return m||ce("Collapse"," must in "),{index:s,collapse:e,bindCollapse:m}}const _e={name:[String,Number],title:String,icon:{type:String,default:"chevron-down"},disabled:Boolean},{name:De,n:Ne,classes:Te}=q("collapse-item"),Ue=W({name:De,components:{VarIcon:fe},props:_e,setup(e){const s=I(!1),m=I(!1),a=I(null),g=$(()=>e.name),{index:p,collapse:i,bindCollapse:u}=Ie(),{active:_,offset:D,divider:T,elevation:U,updateItem:E}=i,P={index:p,name:g,init:V};let y=!0;k(s,h=>{h?c():f()}),u(P);async function c(){if(!a.value||(a.value.style.height="",m.value=!0,await B(),!a.value))return;const{offsetHeight:h}=a.value;a.value.style.height="0px",await B(),a.value&&(a.value.style.height=h+"px",y&&(await te(),y&&H()))}async function f(){if(!a.value)return;const{offsetHeight:h}=a.value;a.value.style.height=h+"px",await B(),a.value.style.height="0px"}function V(h,O){_.value===void 0||h&&L(_.value)||O===s.value||(s.value=O,z(!0))}function z(h){e.disabled||h||E(e.name||p.value,!s.value)}function Z(){y=!1}function H(){s.value||(m.value=!1),a.value.style.height=""}return{isShow:s,showContent:m,offset:D,divider:T,elevation:U,contentEl:a,n:Ne,start:Z,classes:Te,toggle:z,transitionend:H,formatElevation:ue}}});function Ee(e,s,m,a,g,p){const i=le("var-icon");return M(),A("div",{class:C(e.classes(e.n(),[e.offset&&e.isShow,e.n("--active")],[e.disabled,e.n("--disable")])),style:oe(`--collapse-divider-top: ${e.divider?"var(--collapse-border-top)":"none"}`)},[w("div",{class:C(e.classes(e.n("shadow"),e.formatElevation(e.elevation,2)))},null,2),w("div",{class:C(e.n("header")),onClick:s[0]||(s[0]=u=>e.toggle())},[w("div",{class:C(e.n("header-title"))},[N(e.$slots,"title",{},()=>[d(r(e.title),1)])],2),w("div",{class:C(e.n("header-icon"))},[N(e.$slots,"icon",{},()=>[o(i,{name:e.icon,transition:250,class:C(e.classes(e.n("header-icon"),[e.isShow&&e.icon==="chevron-down",e.n("header-open")],[e.disabled,e.n("header--disable")]))},null,8,["name","class"])])],2)],2),ae(w("div",{class:C(e.n("content")),ref:"contentEl",onTransitionend:s[1]||(s[1]=(...u)=>e.transitionend&&e.transitionend(...u)),onTransitionstart:s[2]||(s[2]=(...u)=>e.start&&e.start(...u))},[w("div",{class:C(e.n("content-wrap"))},[N(e.$slots,"default")],2)],34),[[ne,e.showContent]])],6)}const v=j(Ue,[["render",Ee]]);G(v);const Pe={basicUsage:"基本使用",hideMargin:"隐藏边距",accordionMode:"手风琴模式",disabled:"禁用",enable:"启用",customContent:"自定义内容",title:"标题",text:"文本",slotTitle:"这是标题",slotContent:"这是内容",hideDivider:"隐藏分割线",showDivider:"显示分割线",controlledDivider:"可控的分割线"},Be={basicUsage:"Basic Usage",hideMargin:"Hide Margin",accordionMode:"Accordion Mode",disabled:"Disabled",enable:"Enable",customContent:"Custom Content",title:"Title",text:"Hello World",slotTitle:"This is a Title",slotContent:"This is a content",hideDivider:"Hide Divider",showDivider:"Show Divider",controlledDivider:"Controlled Divider"},{add:X,use:ke,pack:l,packs:Ze,merge:xe}=pe(),Le=e=>{ge(e),ke(e)};Q("zh-CN",he);Q("en-US",Ce);X("zh-CN",Pe);X("en-US",Be);const et={__name:"index",setup(e){const s=I(!1),m=I(!1),a=ie({value:["1"],value1:"",value2:[1],value3:["1"],value4:["2"],value5:[]});function g(p){console.log(p)}return se(Le),de(ve),(p,i)=>(M(),A(re,null,[o(t(S),null,{default:n(()=>[d(r(t(l).basicUsage),1)]),_:1}),o(t(b),{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=u=>a.value=u),onChange:g},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue"]),o(t(S),null,{default:n(()=>[d(r(t(l).hideMargin),1)]),_:1}),o(t(b),{modelValue:a.value4,"onUpdate:modelValue":i[1]||(i[1]=u=>a.value4=u),offset:!1},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue"]),o(t(S),null,{default:n(()=>[d(r(t(l).controlledDivider),1)]),_:1}),o(t(R),{onClick:i[2]||(i[2]=u=>m.value=!m.value),style:{"margin-bottom":"8px"}},{default:n(()=>[d(r(m.value?t(l).hideDivider:t(l).showDivider),1)]),_:1}),o(t(b),{modelValue:a.value5,"onUpdate:modelValue":i[3]||(i[3]=u=>a.value5=u),divider:m.value,onChange:g},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"3"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue","divider"]),o(t(S),null,{default:n(()=>[d(r(t(l).accordionMode),1)]),_:1}),o(t(b),{modelValue:a.value1,"onUpdate:modelValue":i[4]||(i[4]=u=>a.value1=u),accordion:"",offset:!1},{default:n(()=>[o(t(v),{title:t(l).title,name:"1"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{title:t(l).title,name:"2"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"])]),_:1},8,["modelValue"]),o(t(S),null,{default:n(()=>[d(r(t(l).disabled),1)]),_:1}),o(t(me),{direction:"column",size:[8,8]},{default:n(()=>[o(t(R),{onClick:i[5]||(i[5]=u=>s.value=!s.value)},{default:n(()=>[d(r(s.value?t(l).enable:t(l).disabled),1)]),_:1}),o(t(b),{modelValue:a.value2,"onUpdate:modelValue":i[6]||(i[6]=u=>a.value2=u)},{default:n(()=>[o(t(v),{title:t(l).title,name:1,disabled:s.value},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title","disabled"]),o(t(v),{title:t(l).title,name:2,disabled:s.value},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title","disabled"])]),_:1},8,["modelValue"])]),_:1}),o(t(S),null,{default:n(()=>[d(r(t(l).customContent),1)]),_:1}),o(t(b),{modelValue:a.value3,"onUpdate:modelValue":i[7]||(i[7]=u=>a.value3=u)},{default:n(()=>[o(t(v),{title:t(l).slotTitle,name:"1",icon:"account-circle"},{default:n(()=>[d(r(t(l).text),1)]),_:1},8,["title"]),o(t(v),{name:"2"},{title:n(()=>[d(r(t(l).slotTitle),1)]),icon:n(()=>[d("^_^")]),default:n(()=>[d(" "+r(t(l).slotContent),1)]),_:1})]),_:1},8,["modelValue"])],64))}};export{et as default}; diff --git a/assets/index-57d211a2.js b/assets/index-0770059a.js similarity index 92% rename from assets/index-57d211a2.js rename to assets/index-0770059a.js index 648f5c8cc7d..c17f1d74a8c 100644 --- a/assets/index-57d211a2.js +++ b/assets/index-0770059a.js @@ -1 +1 @@ -import{p as P,P as U}from"./index-d24e7e49.js";import{B as R}from"./index-84d96475.js";import{d as C,p as V,c as z,a as n,m as N,w as D}from"./components-3ae053cb.js";import{p as A}from"./index-2b61c8d0.js";import{a as I}from"./elements-68ad626b.js";import{d as j,r as S,G as w,_ as G,b as T,e as B,f as O,w as h,p as d,as as L,x as r,v as b,Q as m,R as v,y as Q,t as $,af as W,W as q,n as E,ac as F}from"./index-af5fec45.js";const H={show:Boolean,width:[Number,String],title:String,message:String,messageAlign:{type:String,default:"left"},confirmButton:{type:Boolean,default:!0},cancelButton:{type:Boolean,default:!0},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,confirmButtonColor:String,cancelButtonColor:String,dialogClass:String,dialogStyle:Object,onBeforeClose:C(),onConfirm:C(),onCancel:C(),"onUpdate:show":C(),...V(P,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])},{name:J,n:K,classes:M}=z("dialog"),X=j({name:J,components:{VarPopup:U,VarButton:R},inheritAttrs:!1,props:H,setup(o){const a=S(!1),s=S(!1);w(()=>o.show,l=>{a.value=l},{immediate:!0}),w(()=>o.closeOnClickOverlay,l=>{if(o.onBeforeClose!=null){s.value=!1;return}s.value=l},{immediate:!0});function e(){return n(o["onUpdate:show"],!1)}function c(){const{closeOnClickOverlay:l,onClickOverlay:u,onBeforeClose:k}=o;if(n(u),!!l){if(k!=null){n(k,"close",e);return}n(o["onUpdate:show"],!1)}}function f(){const{onBeforeClose:l,onConfirm:u}=o;if(n(u),l!=null){n(l,"confirm",e);return}n(o["onUpdate:show"],!1)}function p(){const{onBeforeClose:l,onCancel:u}=o;if(n(u),l!=null){n(l,"cancel",e);return}n(o["onUpdate:show"],!1)}return{pack:A,popupShow:a,popupCloseOnClickOverlay:s,n:K,classes:M,handleClickOverlay:c,confirm:f,cancel:p,toSizeUnit:I}}});function Y(o,a,s,e,c,f){const p=T("var-button"),l=T("var-popup");return B(),O(l,{class:r(o.n("popup")),"var-dialog-cover":"",show:o.popupShow,overlay:o.overlay,"overlay-class":o.overlayClass,"overlay-style":o.overlayStyle,"lock-scroll":o.lockScroll,"close-on-click-overlay":o.popupCloseOnClickOverlay,teleport:o.teleport,onOpen:o.onOpen,onClose:o.onClose,onClosed:o.onClosed,onOpened:o.onOpened,onRouteChange:o.onRouteChange,onClickOverlay:o.handleClickOverlay},{default:h(()=>[d("div",L({class:o.classes(o.n("$--box"),o.n(),o.dialogClass),style:{width:o.toSizeUnit(o.width),...o.dialogStyle}},o.$attrs),[d("div",{class:r(o.n("title"))},[b(o.$slots,"title",{},()=>[m(v(o.title??o.pack.dialogTitle),1)])],2),d("div",{class:r(o.n("message")),style:Q({textAlign:o.messageAlign})},[b(o.$slots,"default",{},()=>[m(v(o.message),1)])],6),d("div",{class:r(o.n("actions"))},[o.cancelButton?(B(),O(p,{key:0,class:r(o.classes(o.n("button"),o.n("cancel-button"))),"var-dialog-cover":"",text:"","text-color":o.cancelButtonTextColor,color:o.cancelButtonColor,onClick:o.cancel},{default:h(()=>[m(v(o.cancelButtonText??o.pack.dialogCancelButtonText),1)]),_:1},8,["class","text-color","color","onClick"])):$("",!0),o.confirmButton?(B(),O(p,{key:1,class:r(o.classes(o.n("button"),o.n("confirm-button"))),"var-dialog-cover":"",text:"","text-color":o.confirmButtonTextColor,color:o.confirmButtonColor,onClick:o.confirm},{default:h(()=>[m(v(o.confirmButtonText??o.pack.dialogConfirmButtonText),1)]),_:1},8,["class","text-color","color","onClick"])):$("",!0)],2)],16)]),_:3},8,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange","onClickOverlay"])}const y=G(X,[["render",Y]]);let t,g={};function Z(o={}){return F(o)?{...g,message:o}:{...g,...o}}function i(o){return W()?new Promise(a=>{i.close();const s=Z(o),e=q(s);e.teleport="body",t=e;const{unmountInstance:c}=N(y,e,{onConfirm:()=>{n(e.onConfirm),a("confirm")},onCancel:()=>{n(e.onCancel),a("cancel")},onClose:()=>{n(e.onClose),a("close")},onClosed:()=>{n(e.onClosed),c(),t===e&&(t=null)},onRouteChange:()=>{c(),t===e&&(t=null)},"onUpdate:show":f=>{e.show=f}});e.show=!0}):Promise.resolve()}i.setDefaultOptions=function(o){g=o};i.resetDefaultOptions=function(){g={}};i.close=function(){if(t!=null){const o=t;t=null,E().then(()=>{o.show=!1})}};i.Component=y;D(y);D(y,i);export{i as D}; +import{p as P,P as U}from"./index-0e439e92.js";import{B as R}from"./index-1f1d0c91.js";import{d as C,p as V,c as z,a as n,m as N,w as D}from"./components-a5332e66.js";import{p as A}from"./index-4a9c2ae2.js";import{a as I}from"./elements-23c82371.js";import{d as j,r as S,G as w,_ as G,b as T,e as B,f as O,w as h,p as d,as as L,x as r,v as b,Q as m,R as v,y as Q,t as $,af as W,W as q,n as E,ac as F}from"./index-0bd4ebfc.js";const H={show:Boolean,width:[Number,String],title:String,message:String,messageAlign:{type:String,default:"left"},confirmButton:{type:Boolean,default:!0},cancelButton:{type:Boolean,default:!0},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,confirmButtonColor:String,cancelButtonColor:String,dialogClass:String,dialogStyle:Object,onBeforeClose:C(),onConfirm:C(),onCancel:C(),"onUpdate:show":C(),...V(P,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])},{name:J,n:K,classes:M}=z("dialog"),X=j({name:J,components:{VarPopup:U,VarButton:R},inheritAttrs:!1,props:H,setup(o){const a=S(!1),s=S(!1);w(()=>o.show,l=>{a.value=l},{immediate:!0}),w(()=>o.closeOnClickOverlay,l=>{if(o.onBeforeClose!=null){s.value=!1;return}s.value=l},{immediate:!0});function e(){return n(o["onUpdate:show"],!1)}function c(){const{closeOnClickOverlay:l,onClickOverlay:u,onBeforeClose:k}=o;if(n(u),!!l){if(k!=null){n(k,"close",e);return}n(o["onUpdate:show"],!1)}}function f(){const{onBeforeClose:l,onConfirm:u}=o;if(n(u),l!=null){n(l,"confirm",e);return}n(o["onUpdate:show"],!1)}function p(){const{onBeforeClose:l,onCancel:u}=o;if(n(u),l!=null){n(l,"cancel",e);return}n(o["onUpdate:show"],!1)}return{pack:A,popupShow:a,popupCloseOnClickOverlay:s,n:K,classes:M,handleClickOverlay:c,confirm:f,cancel:p,toSizeUnit:I}}});function Y(o,a,s,e,c,f){const p=T("var-button"),l=T("var-popup");return B(),O(l,{class:r(o.n("popup")),"var-dialog-cover":"",show:o.popupShow,overlay:o.overlay,"overlay-class":o.overlayClass,"overlay-style":o.overlayStyle,"lock-scroll":o.lockScroll,"close-on-click-overlay":o.popupCloseOnClickOverlay,teleport:o.teleport,onOpen:o.onOpen,onClose:o.onClose,onClosed:o.onClosed,onOpened:o.onOpened,onRouteChange:o.onRouteChange,onClickOverlay:o.handleClickOverlay},{default:h(()=>[d("div",L({class:o.classes(o.n("$--box"),o.n(),o.dialogClass),style:{width:o.toSizeUnit(o.width),...o.dialogStyle}},o.$attrs),[d("div",{class:r(o.n("title"))},[b(o.$slots,"title",{},()=>[m(v(o.title??o.pack.dialogTitle),1)])],2),d("div",{class:r(o.n("message")),style:Q({textAlign:o.messageAlign})},[b(o.$slots,"default",{},()=>[m(v(o.message),1)])],6),d("div",{class:r(o.n("actions"))},[o.cancelButton?(B(),O(p,{key:0,class:r(o.classes(o.n("button"),o.n("cancel-button"))),"var-dialog-cover":"",text:"","text-color":o.cancelButtonTextColor,color:o.cancelButtonColor,onClick:o.cancel},{default:h(()=>[m(v(o.cancelButtonText??o.pack.dialogCancelButtonText),1)]),_:1},8,["class","text-color","color","onClick"])):$("",!0),o.confirmButton?(B(),O(p,{key:1,class:r(o.classes(o.n("button"),o.n("confirm-button"))),"var-dialog-cover":"",text:"","text-color":o.confirmButtonTextColor,color:o.confirmButtonColor,onClick:o.confirm},{default:h(()=>[m(v(o.confirmButtonText??o.pack.dialogConfirmButtonText),1)]),_:1},8,["class","text-color","color","onClick"])):$("",!0)],2)],16)]),_:3},8,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange","onClickOverlay"])}const y=G(X,[["render",Y]]);let t,g={};function Z(o={}){return F(o)?{...g,message:o}:{...g,...o}}function i(o){return W()?new Promise(a=>{i.close();const s=Z(o),e=q(s);e.teleport="body",t=e;const{unmountInstance:c}=N(y,e,{onConfirm:()=>{n(e.onConfirm),a("confirm")},onCancel:()=>{n(e.onCancel),a("cancel")},onClose:()=>{n(e.onClose),a("close")},onClosed:()=>{n(e.onClosed),c(),t===e&&(t=null)},onRouteChange:()=>{c(),t===e&&(t=null)},"onUpdate:show":f=>{e.show=f}});e.show=!0}):Promise.resolve()}i.setDefaultOptions=function(o){g=o};i.resetDefaultOptions=function(){g={}};i.close=function(){if(t!=null){const o=t;t=null,E().then(()=>{o.show=!1})}};i.Component=y;D(y);D(y,i);export{i as D}; diff --git a/assets/index-af5fec45.js b/assets/index-0bd4ebfc.js similarity index 73% rename from assets/index-af5fec45.js rename to assets/index-0bd4ebfc.js index fc670df8831..f6d58d7e3cc 100644 --- a/assets/index-af5fec45.js +++ b/assets/index-0bd4ebfc.js @@ -1,15 +1,15 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function t(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=t(r);fetch(r.href,i)}})();const l0="Varlet",u0="var",c0="localhost",d0=8080,f0="VARLET",v0="https://varlet.gitee.io/varlet-ui/varlet_icon.png",h0="zh-CN",m0={style:null},p0={baidu:"https://hm.baidu.com/hm.js?5c628ce58967c90ff4dd9c8803d930fa"},g0=!0,b0={title:{"zh-CN":"面向 Vue3 的 Material 风格移动端组件库","en-US":"Material design mobile components built for Vue3"},description:{"zh-CN":"Varlet 是一个基于 Vue3 开发的 Material 风格移动端组件库,全面拥抱 Vue3 生态,由社区团队维护。支持 Typescript、按需引入、暗黑模式、主题定制、国际化,并提供 VSCode 插件保障良好的开发体验。","en-US":"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community. Support Typescript, import on demand, dark mode, theme customization, internationalization, and provide VSCode plugin to ensure a good development experience."},keywords:{"zh-CN":"Varlet,Vue3 移动端组件库,Material Design","en-US":"Varlet,Vue3 Mobile Components Library,Material Design"},menu:[{text:{"zh-CN":"开发指南","en-US":"Developer guide"},type:1},{text:{"zh-CN":"基本介绍","en-US":"Basic Introduce"},doc:"home",type:3},{text:{"zh-CN":"快速开始","en-US":"Quickstart"},doc:"quickstart",type:3},{text:{"zh-CN":"按需引入","en-US":"Import on demand"},doc:"importOnDemand",type:3},{text:{"zh-CN":"浏览器适配","en-US":"Browser Adaptation"},doc:"browserAdaptation",type:3},{text:{"zh-CN":"VSCode 插件","en-US":"VSCode Extension"},doc:"extension",type:3},{text:{"zh-CN":"暗黑模式","en-US":"Dark Mode"},doc:"themes",type:2},{text:{"zh-CN":"国际化","en-US":"Locale"},doc:"locale",type:3},{text:{"zh-CN":"服务端渲染","en-US":"Server side rendering"},doc:"serverSideRendering",type:3},{text:{"zh-CN":"设计资源","en-US":"Design Resources"},doc:"designResources",type:3},{text:{"zh-CN":"组件库快速成型工具","en-US":"Components Library Tools"},doc:"cli",type:3},{text:{"zh-CN":"从 1.x 迁移","en-US":"Migrating from 1.x"},doc:"migrationGuide",type:3},{text:{"zh-CN":"基础组件","en-US":"Basic Components"},type:1},{text:{"zh-CN":"StyleProvider 样式定制","en-US":"StyleProvider"},doc:"style-provider",type:2},{text:{"zh-CN":"Button 按钮","en-US":"Button"},doc:"button",type:2},{text:{"zh-CN":"Fab 悬浮动作按钮","en-US":"Fab"},doc:"fab",type:2},{text:{"zh-CN":"Breadcrumbs 面包屑","en-US":"Breadcrumbs"},doc:"breadcrumbs",type:2},{text:{"zh-CN":"Link 链接","en-US":"Link"},doc:"link",type:2},{text:{"zh-CN":"Cell 单元格","en-US":"Cell"},doc:"cell",type:2},{text:{"zh-CN":"Icon 图标","en-US":"Icon"},doc:"icon",type:2},{text:{"zh-CN":"Image 图片","en-US":"Image"},doc:"image",type:2},{text:{"zh-CN":"Avatar 头像","en-US":"Avatar"},doc:"avatar",type:2},{text:{"zh-CN":"Loading 加载","en-US":"Loading"},doc:"loading",type:2},{text:{"zh-CN":"Chip 纸片","en-US":"Chip"},doc:"chip",type:2},{text:{"zh-CN":"Badge 徽标","en-US":"Badge"},doc:"badge",type:2},{text:{"zh-CN":"Ellipsis 文本省略","en-US":"Ellipsis"},doc:"ellipsis",type:2},{text:{"zh-CN":"Paper 纸张","en-US":"Paper"},doc:"paper",type:2},{text:{"zh-CN":"Elevation 海拔效果","en-US":"Elevation"},doc:"styles",type:2},{text:{"zh-CN":"展示组件","en-US":"Display Components"},type:1},{text:{"zh-CN":"Skeleton 骨架屏","en-US":"Skeleton"},doc:"skeleton",type:2},{text:{"zh-CN":"Collapse 折叠面板","en-US":"Collapse"},doc:"collapse",type:2},{text:{"zh-CN":"Space 间隔","en-US":"Space"},doc:"space",type:2},{text:{"zh-CN":"Layout 布局","en-US":"Layout"},doc:"row",type:2},{text:{"zh-CN":"Sticky 粘性布局","en-US":"Sticky"},doc:"sticky",type:2},{text:{"zh-CN":"Progress 进度条","en-US":"Progress"},doc:"progress",type:2},{text:{"zh-CN":"List 无限滚动列表","en-US":"List"},doc:"list",type:2},{text:{"zh-CN":"Swipe 轮播","en-US":"Swipe"},doc:"swipe",type:2},{text:{"zh-CN":"Steps 步骤条","en-US":"Steps"},doc:"steps",type:2},{text:{"zh-CN":"ImagePreview 图片预览","en-US":"ImagePreview"},doc:"image-preview",type:2},{text:{"zh-CN":"Card 卡片","en-US":"Card"},doc:"card",type:2},{text:{"zh-CN":"Result 结果","en-US":"Result"},doc:"result",type:2},{text:{"zh-CN":"Divider 分割线","en-US":"Divider"},doc:"divider",type:2},{text:{"zh-CN":"Table 表格","en-US":"Table"},doc:"table",type:2},{text:{"zh-CN":"Watermark 水印","en-US":"Watermark"},doc:"watermark",type:2},{text:{"zh-CN":"导航组件","en-US":"Navigation Components"},type:1},{text:{"zh-CN":"Tabs 选项卡","en-US":"Tabs"},doc:"tabs",type:2},{text:{"zh-CN":"IndexBar 索引栏","en-US":"IndexBar"},doc:"index-bar",type:2},{text:{"zh-CN":"AppBar 导航栏","en-US":"AppBar"},doc:"app-bar",type:2},{text:{"zh-CN":"BottomNavigation 底部导航栏","en-US":"BottomNavigation"},doc:"bottom-navigation",type:2},{text:{"zh-CN":"功能指令","en-US":"Functional Directives"},type:1},{text:{"zh-CN":"Ripple 水波指令","en-US":"Ripple"},doc:"ripple",type:2},{text:{"zh-CN":"Lazy 懒加载","en-US":"Lazy"},doc:"lazy",type:2},{text:{"zh-CN":"Hover 悬停指令","en-US":"Hover"},doc:"hover",type:2},{text:{"zh-CN":"反馈组件","en-US":"Action Components"},type:1},{text:{"zh-CN":"Drag 拖拽","en-US":"Drag"},doc:"drag",type:2},{text:{"zh-CN":"Snackbar 消息条","en-US":"Snackbar"},doc:"snackbar",type:2},{text:{"zh-CN":"ActionSheet 动作面板","en-US":"ActionSheet"},doc:"action-sheet",type:2},{text:{"zh-CN":"FloatingPanel 浮动面板","en-US":"FloatingPanel"},doc:"floating-panel",type:2},{text:{"zh-CN":"Dialog 对话框","en-US":"Dialog"},doc:"dialog",type:2},{text:{"zh-CN":"PullRefresh 下拉刷新","en-US":"PullRefresh"},doc:"pull-refresh",type:2},{text:{"zh-CN":"Overlay 遮罩层","en-US":"Overlay"},doc:"overlay",type:2},{text:{"zh-CN":"Popup 弹出层","en-US":"Popup"},doc:"popup",type:2},{text:{"zh-CN":"Pagination 分页","en-US":"Pagination"},doc:"pagination",type:2},{text:{"zh-CN":"Menu 菜单","en-US":"Menu"},doc:"menu",type:2},{text:{"zh-CN":"MenuSelect 菜单选择器","en-US":"MenuSelect"},doc:"menu-select",type:2},{text:{"zh-CN":"Tooltip 提示","en-US":"Tooltip"},doc:"tooltip",type:2},{text:{"zh-CN":"BackTop 回到顶部","en-US":"BackTop"},doc:"back-top",type:2},{text:{"zh-CN":"LoadingBar 加载条","en-US":"LoadingBar"},doc:"loading-bar",type:2},{text:{"zh-CN":"Countdown 倒计时","en-US":"Countdown"},doc:"countdown",type:2},{text:{"zh-CN":"Picker 多列选择器","en-US":"Picker"},doc:"picker",type:2},{text:{"zh-CN":"DatePicker 日期选择器","en-US":"DatePicker"},doc:"date-picker",type:2},{text:{"zh-CN":"TimePicker 时间选择器","en-US":"TimePicker"},doc:"time-picker",type:2},{text:{"zh-CN":"表单组件","en-US":"Form Components"},type:1},{text:{"zh-CN":"Form 表单","en-US":"Form"},doc:"form",type:2},{text:{"zh-CN":"Input 输入框","en-US":"Input"},doc:"input",type:2},{text:{"zh-CN":"Select 选择框","en-US":"Select"},doc:"select",type:2},{text:{"zh-CN":"Radio 单选框","en-US":"Radio"},doc:"radio-group",type:2},{text:{"zh-CN":"Checkbox 复选框","en-US":"Checkbox"},doc:"checkbox-group",type:2},{text:{"zh-CN":"Counter 计数器","en-US":"Counter"},doc:"counter",type:2},{text:{"zh-CN":"Switch 开关","en-US":"Switch"},doc:"switch",type:2},{text:{"zh-CN":"Slider 滑块","en-US":"Slider"},doc:"slider",type:2},{text:{"zh-CN":"Rate 评分","en-US":"Rate"},doc:"rate",type:2},{text:{"zh-CN":"Uploader 文件上传","en-US":"Uploader"},doc:"uploader",type:2}],redirect:"/index",indexPage:{description:{"zh-CN":"Varlet 是一个基于 Vue3 开发的 Material 风格移动端组件库,全面拥抱 Vue3 生态,由社区团队维护。支持 Typescript、按需引入、暗黑模式、主题定制、国际化,并提供 VSCode 插件保障良好的开发体验。","en-US":"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community. Support Typescript, import on demand, dark mode, theme customization, internationalization, and provide VSCode plugin to ensure a good development experience."},started:{"zh-CN":"快速开始","en-US":"Get Started"},viewOnGithub:{"zh-CN":"查看源码","en-US":"View On Github"},features:[{name:{"zh-CN":"组件丰富","en-US":"Rich components"},description:{"zh-CN":"提供 60+ 个高质量通用组件","en-US":"Provide 60+ high quality general purpose components"}},{name:{"zh-CN":"按需引入","en-US":"On-Demand"},description:{"zh-CN":"每一个组件都可单独引入,并有着良好的 tree-shaking 优化","en-US":"Each component can be imported separately and has good tree-shaking optimization"}},{name:{"zh-CN":"主题定制","en-US":"Theme customization"},description:{"zh-CN":"内置亮色和暗色两种主题,支持组件的样式自定义","en-US":"Built-in light and dark themes, support style customization of components"}},{name:{"zh-CN":"国际化","en-US":"Locale"},description:{"zh-CN":"内置国际化 API,内置中文和英文的语言包","en-US":"Built-in i18n API, which supports both Chinese and English languages by default"}},{name:{"zh-CN":"支持 Typescript","en-US":"Support typescript"},description:{"zh-CN":"使用 Typescript 构建,提供良好的组件类型系统","en-US":"Built with typescript, which provides a nice components type system"}},{name:{"zh-CN":"服务端渲染","en-US":"Server-side rendering"},description:{"zh-CN":"对服务端渲染支持良好,并对 Nuxt 进行了适配","en-US":"Good support for server-side rendering and adaptation to Nuxt"}},{name:{"zh-CN":"国人开发","en-US":"Developed by Chinese"},description:{"zh-CN":"由国人开发,完善的中英文文档和后勤保障","en-US":"Complete Chinese and English documentation and logistics support"}},{name:{"zh-CN":"IDE 支持","en-US":"IDE Code Support"},description:{"zh-CN":"支持在 webstorm,vscode 中的组件语法高亮, 并提供 vscode 插件为开发提升效率","en-US":"Supports to highlight the component syntax for webstorm and vscode, and provides a separate helper plugin for vscode"}},{name:{"zh-CN":"组件库快速成型工具","en-US":"Component library toolchain"},description:{"zh-CN":"开源了搭建本组件库的所有工具链,提供快速开发组件库的能力","en-US":"Open-sourced the toolchain for building this component library, providing the ability to rapidly develop the component library"}}],teamMembers:{label:{"zh-CN":"团队成员","en-US":"Team Members"},members:[{name:{"zh-CN":"haoziqaq","en-US":"haoziqaq"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/24223652",github:"https://github.com/haoziqaq",twitter:"https://twitter.com/haozijunqaq"},{name:{"zh-CN":"BeADre","en-US":"BeADre"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/34639100",github:"https://github.com/BeADre"},{name:{"zh-CN":"zhangmo8","en-US":"zhangmo8"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & ikun-ui 核心团队成员","en-US":"Core team member of varletjs & ikun-ui"},avatar:"https://avatars.githubusercontent.com/u/43628500",github:"https://github.com/zhangmo8",twitter:"https://twitter.com/wegi8666"},{name:{"zh-CN":"chouchouji","en-US":"chouchouji"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/70570907",github:"https://github.com/chouchouji"},{name:{"zh-CN":"tiny-dust","en-US":"tiny-dust"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/49502875",github:"https://github.com/tiny-dust"},{name:{"zh-CN":"songjianet","en-US":"songjianet"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & apache & w3c & naiveui & ikun-ui 团队成员","en-US":"Core team member of varletjs & apache & w3c & naiveui & ikun-ui"},avatar:"https://avatars.githubusercontent.com/u/19239641",github:"https://github.com/songjianet",twitter:"https://twitter.com/songjianet"},{name:{"zh-CN":"running snail","en-US":"running snail"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & dcloud 团队成员","en-US":"Core team member of varletjs & dcloud"},avatar:"https://avatars.githubusercontent.com/u/37523000",github:"https://github.com/zhenyuWang"},{name:{"zh-CN":"qytayh","en-US":"qytayh"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/39668309",github:"https://github.com/qytayh"},{name:{"zh-CN":"Erkelost","en-US":"Erkelost"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & unplugin & farm & devui & wujie 团队成员","en-US":"Core team member of varletjs & unplugin & farm & devui & wujie"},avatar:"https://avatars.githubusercontent.com/u/66500121",github:"https://github.com/ErKeLost"},{name:{"zh-CN":"EmberSpirit","en-US":"EmberSpirit"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/85718018",github:"https://github.com/wangKBweb"},{name:{"zh-CN":"ayangweb","en-US":"ayangweb"},title:{"zh-CN":"开源开发者 & B 站 UP 主","en-US":"Open Source Developer & Bilibili UP"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/75017711",github:"https://github.com/ayangweb"},{name:{"zh-CN":"jiechen66","en-US":"jiechen66"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/42862411",github:"https://github.com/jiechen66"},{name:{"zh-CN":"dyggod","en-US":"dyggod"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/49914353",github:"https://github.com/dyggod"},{name:{"zh-CN":"clen cat","en-US":"clen cat"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/37403253",github:"https://github.com/a145789"},{name:{"zh-CN":"gaoting","en-US":"gaoting"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/7401170",github:"https://github.com/gaoting"}]},contributors:{label:{"zh-CN":"贡献者","en-US":"Contributors"},link:"https://github.com/varletjs/varlet/graphs/contributors",image:"https://contrib.rocks/image?repo=varletjs/varlet"},sponsors:{label:{"zh-CN":"赞助者","en-US":"Sponsors"},link:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",image:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg"},license:{"zh-CN":"组件库基于 MIT 协议,您可以自由的使用和分享","en-US":"Released under the MIT License, You can use and share freely."},copyright:{"zh-CN":"Copyright © 2022 varletjs 组织成员以及 varlet 的贡献者们","en-US":"Copyright © 2022 varletjs member and varlet contributors."}},header:{i18n:{"zh-CN":"中文","en-US":"English"},versions:null,github:"https://github.com/varletjs/varlet",playground:"https://varlet.gitee.io/varlet-ui-playground",darkMode:!0,version:{current:"Vue 3"}},clipboard:{"zh-CN":"代码已复制到剪切板","en-US":"The code has been copied to the clipboard"},fold:{defaultFold:!1,foldHeight:50}},y0={title:{"zh-CN":"面向 Vue3 的 Material 风格移动端组件库","en-US":"Material design mobile components built for Vue3"},description:{"zh-CN":"Varlet 是一个基于 Vue3 开发的 Material 风格移动端组件库,全面拥抱 Vue3 生态,由社区团队维护。支持 Typescript、按需引入、暗黑模式、主题定制、国际化,并提供 VSCode 插件保障良好的开发体验。","en-US":"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community. Support Typescript, import on demand, dark mode, theme customization, internationalization, and provide VSCode plugin to ensure a good development experience."},keywords:{"zh-CN":"Varlet,Vue3 移动端组件库,Material Design","en-US":"Varlet,Vue3 Mobile Components Library,Material Design"},redirect:"/home",header:{i18n:{"zh-CN":"中文","en-US":"English"},github:"https://github.com/varletjs/varlet",darkMode:!0}},$0="VARLET_THEME",w0={"color-body":"#fff","color-index-page-background":"#fff","color-index-page-get-started-button":"#3a7afe","color-index-page-github-button":"#212121","color-index-page-feature-background":"#fff","color-index-page-logo-mask-background":"linear-gradient(-45deg, #8baff8 50%, #84e0ff 50%)","color-index-page-second-text-color":"rgba(60, 60, 60, .7)","color-index-page-divider-color":"#ddd","color-bar":"#fff","color-sub-bar":"#f5f5f5","color-text":"#555","color-sub-text":"#888","color-border":"rgba(0, 0, 0, 0.12)","color-shadow":"#eee","color-introduce-border":"#2196f3","color-primary":"#2196f3","color-link":"#00c48f","color-type":"#00c48f","color-loading-bar":"#1d92e9","color-side-bar":"#3a7afe","color-side-bar-active-background":"#3a7afe1a","color-app-bar":"#3a7afe","color-nav-button-hover-background":"rgba(0, 0, 0, 0.08)","color-mobile-cell-hover":"#3a7afe","color-pc-language-active":"#3a7afe","color-pc-language-active-background":"#edf5ff","color-mobile-language-active":"#3a7afe","color-mobile-language-active-background":"#edf5ff","color-hl-background":"#fafafa","color-hl-code":"#58727e","color-hl-border":"#f3f3f3","color-hl-group-a":"#7c7c7c","color-hl-group-b":"#2196f3","color-hl-group-c":"#ff9422","color-hl-group-d":"#58c193","color-hl-group-e":"#ff9422","color-hl-group-f":"#ff9422","color-hl-group-g":"#ff9422","color-hl-group-h":"#06a6e9","color-hl-group-i":"#2196f3"},C0={"color-body":"#121212","color-index-page-background":"#1e1e1e","color-index-page-get-started-button":"#4a7afe","color-index-page-github-button":"#303030","color-index-page-feature-background":"#303030","color-index-page-logo-mask-background":"linear-gradient(-45deg, #729dfc 50%, #6859f4 50%)","color-index-page-second-text-color":"rgba(255, 255, 255, .75)","color-index-page-divider-color":"rgba(84, 84, 84, .8)","color-bar":"#1e1e1e","color-sub-bar":"#272727","color-text":"#fff","color-sub-text":"#aaa","color-border":"#333","color-shadow":"#121212","color-introduce-border":"#555","color-primary":"#96cbfe","color-link":"#A8FFC4","color-type":"#A8FFC4","color-loading-bar":"#5580f8","color-side-bar":"#4a7afe","color-side-bar-active-background":"#4a7afe1a","color-app-bar":"#272727","color-nav-button-hover-background":"rgba(255, 255, 255, 0.08)","color-mobile-cell-hover":"#4a7afe","color-pc-language-active":"#4a7afe","color-pc-language-active-background":"#4a7afe20","color-mobile-language-active":"#4a7afe","color-mobile-language-active-background":"#4a7afe20","color-hl-background":"#272727","color-hl-code":"#fff","color-hl-border":"#272727","color-hl-group-a":"#7c7c7c","color-hl-group-b":"#96cbfe","color-hl-group-c":"#ff7b1e","color-hl-group-d":"#A8FFC4","color-hl-group-e":"#ff7b1e","color-hl-group-f":"#ff7b1e","color-hl-group-g":"#ff7b1e","color-hl-group-h":"#14a6e9","color-hl-group-i":"#96cbfe"},S0={name:"varlet-icons",namespace:"var-icon",fontStyle:"normal",fontWeight:"normal",fontFamilyClassName:"var-icon--set",base64:!0},k0={target:"es2016"},P0=["ripple","lazy","hover"],O0=[{from:"../varlet-icons/dist/png",to:"./public/icons/png",type:"folder"}],Fs={name:l0,namespace:u0,host:c0,port:d0,title:f0,logo:v0,defaultLanguage:h0,highlight:m0,analysis:p0,useMobile:g0,pc:b0,mobile:y0,themeKey:$0,lightTheme:w0,darkTheme:C0,icons:S0,esbuild:k0,directives:P0,copy:O0};function Ou(e,n){const t=Object.create(null),o=e.split(",");for(let r=0;r!!t[r.toLowerCase()]:r=>!!t[r]}const on={},sr=[],vt=()=>{},T0=()=>!1,E0=/^on[^a-z]/,za=e=>E0.test(e),Tu=e=>e.startsWith("onUpdate:"),fn=Object.assign,Eu=(e,n)=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)},N0=Object.prototype.hasOwnProperty,qe=(e,n)=>N0.call(e,n),De=Array.isArray,lr=e=>Va(e)==="[object Map]",eh=e=>Va(e)==="[object Set]",Le=e=>typeof e=="function",sn=e=>typeof e=="string",Nu=e=>typeof e=="symbol",an=e=>e!==null&&typeof e=="object",nh=e=>an(e)&&Le(e.then)&&Le(e.catch),th=Object.prototype.toString,Va=e=>th.call(e),I0=e=>Va(e).slice(8,-1),oh=e=>Va(e)==="[object Object]",Iu=e=>sn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ea=Ou(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ra=e=>{const n=Object.create(null);return t=>n[t]||(n[t]=e(t))},M0=/-(\w)/g,St=Ra(e=>e.replace(M0,(n,t)=>t?t.toUpperCase():"")),D0=/\B([A-Z])/g,Ho=Ra(e=>e.replace(D0,"-$1").toLowerCase()),La=Ra(e=>e.charAt(0).toUpperCase()+e.slice(1)),ms=Ra(e=>e?`on${La(e)}`:""),ti=(e,n)=>!Object.is(e,n),na=(e,n)=>{for(let t=0;t{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:t})},Hs=e=>{const n=parseFloat(e);return isNaN(n)?e:n},A0=e=>{const n=sn(e)?Number(e):NaN;return isNaN(n)?e:n};let Mc;const js=()=>Mc||(Mc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function te(e){if(De(e)){const n={};for(let t=0;t{if(t){const o=t.split(z0);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n}function m(e){let n="";if(sn(e))n=e;else if(De(e))for(let t=0;tsn(e)?e:e==null?"":De(e)||an(e)&&(e.toString===th||!Le(e.toString))?JSON.stringify(e,ih,2):String(e),ih=(e,n)=>n&&n.__v_isRef?ih(e,n.value):lr(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((t,[o,r])=>(t[`${o} =>`]=r,t),{})}:eh(n)?{[`Set(${n.size})`]:[...n.values()]}:an(n)&&!De(n)&&!oh(n)?String(n):n;let lt;class F0{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=lt,!n&<&&(this.index=(lt.scopes||(lt.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const t=lt;try{return lt=this,n()}finally{lt=t}}}on(){lt=this}off(){lt=this.parent}stop(n){if(this._active){let t,o;for(t=0,o=this.effects.length;t{const n=new Set(e);return n.w=0,n.n=0,n},ah=e=>(e.w&fo)>0,sh=e=>(e.n&fo)>0,Y0=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let t=0;for(let o=0;o{(c==="length"||c>=l)&&s.push(u)})}else switch(t!==void 0&&s.push(a.get(t)),n){case"add":De(e)?Iu(t)&&s.push(a.get("length")):(s.push(a.get(Ao)),lr(e)&&s.push(a.get(Ws)));break;case"delete":De(e)||(s.push(a.get(Ao)),lr(e)&&s.push(a.get(Ws)));break;case"set":lr(e)&&s.push(a.get(Ao));break}if(s.length===1)s[0]&&qs(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);qs(Mu(l))}}function qs(e,n){const t=De(e)?e:[...e];for(const o of t)o.computed&&Ac(o);for(const o of t)o.computed||Ac(o)}function Ac(e,n){(e!==ct||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function q0(e,n){var t;return(t=fa.get(e))==null?void 0:t.get(n)}const K0=Ou("__proto__,__v_isRef,__isVue"),ch=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nu)),X0=Au(),G0=Au(!1,!0),Z0=Au(!0),Bc=J0();function J0(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...t){const o=We(this);for(let i=0,a=this.length;i{e[n]=function(...t){Pr();const o=We(this)[n].apply(this,t);return Or(),o}}),e}function Q0(e){const n=We(this);return Ln(n,"has",e),n.hasOwnProperty(e)}function Au(e=!1,n=!1){return function(o,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return n;if(r==="__v_raw"&&i===(e?n?v1:mh:n?hh:vh).get(o))return o;const a=De(o);if(!e){if(a&&qe(Bc,r))return Reflect.get(Bc,r,i);if(r==="hasOwnProperty")return Q0}const s=Reflect.get(o,r,i);return(Nu(r)?ch.has(r):K0(r))||(e||Ln(o,"get",r),n)?s:wn(s)?a&&Iu(r)?s:s.value:an(s)?e?ph(s):Xe(s):s}}const _0=dh(),x0=dh(!0);function dh(e=!1){return function(t,o,r,i){let a=t[o];if(fr(a)&&wn(a)&&!wn(r))return!1;if(!e&&(!va(r)&&!fr(r)&&(a=We(a),r=We(r)),!De(t)&&wn(a)&&!wn(r)))return a.value=r,!0;const s=De(t)&&Iu(o)?Number(o)e,Ua=e=>Reflect.getPrototypeOf(e);function Vi(e,n,t=!1,o=!1){e=e.__v_raw;const r=We(e),i=We(n);t||(n!==i&&Ln(r,"get",n),Ln(r,"get",i));const{has:a}=Ua(r),s=o?Bu:t?Ru:oi;if(a.call(r,n))return s(e.get(n));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(n)}function Ri(e,n=!1){const t=this.__v_raw,o=We(t),r=We(e);return n||(e!==r&&Ln(o,"has",e),Ln(o,"has",r)),e===r?t.has(e):t.has(e)||t.has(r)}function Li(e,n=!1){return e=e.__v_raw,!n&&Ln(We(e),"iterate",Ao),Reflect.get(e,"size",e)}function zc(e){e=We(e);const n=We(this);return Ua(n).has.call(n,e)||(n.add(e),zt(n,"add",e,e)),this}function Vc(e,n){n=We(n);const t=We(this),{has:o,get:r}=Ua(t);let i=o.call(t,e);i||(e=We(e),i=o.call(t,e));const a=r.call(t,e);return t.set(e,n),i?ti(n,a)&&zt(t,"set",e,n):zt(t,"add",e,n),this}function Rc(e){const n=We(this),{has:t,get:o}=Ua(n);let r=t.call(n,e);r||(e=We(e),r=t.call(n,e)),o&&o.call(n,e);const i=n.delete(e);return r&&zt(n,"delete",e,void 0),i}function Lc(){const e=We(this),n=e.size!==0,t=e.clear();return n&&zt(e,"clear",void 0,void 0),t}function Ui(e,n){return function(o,r){const i=this,a=i.__v_raw,s=We(a),l=n?Bu:e?Ru:oi;return!e&&Ln(s,"iterate",Ao),a.forEach((u,c)=>o.call(r,l(u),l(c),i))}}function Fi(e,n,t){return function(...o){const r=this.__v_raw,i=We(r),a=lr(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=r[e](...o),c=t?Bu:n?Ru:oi;return!n&&Ln(i,"iterate",l?Ws:Ao),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function Yt(e){return function(...n){return e==="delete"?!1:this}}function i1(){const e={get(i){return Vi(this,i)},get size(){return Li(this)},has:Ri,add:zc,set:Vc,delete:Rc,clear:Lc,forEach:Ui(!1,!1)},n={get(i){return Vi(this,i,!1,!0)},get size(){return Li(this)},has:Ri,add:zc,set:Vc,delete:Rc,clear:Lc,forEach:Ui(!1,!0)},t={get(i){return Vi(this,i,!0)},get size(){return Li(this,!0)},has(i){return Ri.call(this,i,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Ui(!0,!1)},o={get(i){return Vi(this,i,!0,!0)},get size(){return Li(this,!0)},has(i){return Ri.call(this,i,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Ui(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Fi(i,!1,!1),t[i]=Fi(i,!0,!1),n[i]=Fi(i,!1,!0),o[i]=Fi(i,!0,!0)}),[e,t,n,o]}const[a1,s1,l1,u1]=i1();function zu(e,n){const t=n?e?u1:l1:e?s1:a1;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(qe(t,r)&&r in o?t:o,r,i)}const c1={get:zu(!1,!1)},d1={get:zu(!1,!0)},f1={get:zu(!0,!1)},vh=new WeakMap,hh=new WeakMap,mh=new WeakMap,v1=new WeakMap;function h1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function m1(e){return e.__v_skip||!Object.isExtensible(e)?0:h1(I0(e))}function Xe(e){return fr(e)?e:Vu(e,!1,fh,c1,vh)}function p1(e){return Vu(e,!1,r1,d1,hh)}function ph(e){return Vu(e,!0,o1,f1,mh)}function Vu(e,n,t,o,r){if(!an(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=m1(e);if(a===0)return e;const s=new Proxy(e,a===2?o:t);return r.set(e,s),s}function ur(e){return fr(e)?ur(e.__v_raw):!!(e&&e.__v_isReactive)}function fr(e){return!!(e&&e.__v_isReadonly)}function va(e){return!!(e&&e.__v_isShallow)}function gh(e){return ur(e)||fr(e)}function We(e){const n=e&&e.__v_raw;return n?We(n):e}function bh(e){return da(e,"__v_skip",!0),e}const oi=e=>an(e)?Xe(e):e,Ru=e=>an(e)?ph(e):e;function yh(e){so&&ct&&(e=We(e),uh(e.dep||(e.dep=Mu())))}function $h(e,n){e=We(e);const t=e.dep;t&&qs(t)}function wn(e){return!!(e&&e.__v_isRef===!0)}function I(e){return wh(e,!1)}function g1(e){return wh(e,!0)}function wh(e,n){return wn(e)?e:new b1(e,n)}class b1{constructor(n,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?n:We(n),this._value=t?n:oi(n)}get value(){return yh(this),this._value}set value(n){const t=this.__v_isShallow||va(n)||fr(n);n=t?n:We(n),ti(n,this._rawValue)&&(this._rawValue=n,this._value=t?n:oi(n),$h(this))}}function ht(e){return wn(e)?e.value:e}const y1={get:(e,n,t)=>ht(Reflect.get(e,n,t)),set:(e,n,t,o)=>{const r=e[n];return wn(r)&&!wn(t)?(r.value=t,!0):Reflect.set(e,n,t,o)}};function Ch(e){return ur(e)?e:new Proxy(e,y1)}function p8(e){const n=De(e)?new Array(e.length):{};for(const t in e)n[t]=w1(e,t);return n}class $1{constructor(n,t,o){this._object=n,this._key=t,this._defaultValue=o,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}get dep(){return q0(We(this._object),this._key)}}function w1(e,n,t){const o=e[n];return wn(o)?o:new $1(e,n,t)}class C1{constructor(n,t,o,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Du(n,()=>{this._dirty||(this._dirty=!0,$h(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const n=We(this);return yh(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}function S1(e,n,t=!1){let o,r;const i=Le(e);return i?(o=e,r=vt):(o=e.get,r=e.set),new C1(o,r,i||!r,t)}function lo(e,n,t,o){let r;try{r=o?e(...o):e()}catch(i){Fa(i,n,t)}return r}function _n(e,n,t,o){if(Le(e)){const i=lo(e,n,t,o);return i&&nh(i)&&i.catch(a=>{Fa(a,n,t)}),i}const r=[];for(let i=0;i>>1;ii(En[o])wt&&En.splice(n,1)}function T1(e){De(e)?cr.push(...e):(!Dt||!Dt.includes(e,e.allowRecurse?No+1:No))&&cr.push(e),kh()}function Uc(e,n=ri?wt+1:0){for(;nii(t)-ii(o)),No=0;Noe.id==null?1/0:e.id,E1=(e,n)=>{const t=ii(e)-ii(n);if(t===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return t};function Oh(e){Ks=!1,ri=!0,En.sort(E1);const n=vt;try{for(wt=0;wtsn(v)?v.trim():v)),d&&(r=t.map(Hs))}let s,l=o[s=ms(n)]||o[s=ms(St(n))];!l&&i&&(l=o[s=ms(Ho(n))]),l&&_n(l,e,6,r);const u=o[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,_n(u,e,6,r)}}function Th(e,n,t=!1){const o=n.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!Le(e)){const l=u=>{const c=Th(u,n,!0);c&&(s=!0,fn(a,c))};!t&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(an(e)&&o.set(e,null),null):(De(i)?i.forEach(l=>a[l]=null):fn(a,i),an(e)&&o.set(e,a),a)}function Ha(e,n){return!e||!za(n)?!1:(n=n.slice(2).replace(/Once$/,""),qe(e,n[0].toLowerCase()+n.slice(1))||qe(e,Ho(n))||qe(e,n))}let Sn=null,ja=null;function ha(e){const n=Sn;return Sn=e,ja=e&&e.type.__scopeId||null,n}function $o(e){ja=e}function wo(){ja=null}function Te(e,n=Sn,t){if(!n||e._n)return e;const o=(...r)=>{o._d&&_c(-1);const i=ha(n);let a;try{a=e(...r)}finally{ha(i),o._d&&_c(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ps(e){const{type:n,vnode:t,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:v,ctx:p,inheritAttrs:h}=e;let g,$;const S=ha(e);try{if(t.shapeFlag&4){const y=r||o;g=$t(c.call(y,y,d,i,v,f,p)),$=l}else{const y=n;g=$t(y.length>1?y(i,{attrs:l,slots:s,emit:u}):y(i,null)),$=n.props?l:I1(l)}}catch(y){Zr.length=0,Fa(y,e,1),g=ie(qn)}let O=g;if($&&h!==!1){const y=Object.keys($),{shapeFlag:P}=O;y.length&&P&7&&(a&&y.some(Tu)&&($=M1($,a)),O=vo(O,$))}return t.dirs&&(O=vo(O),O.dirs=O.dirs?O.dirs.concat(t.dirs):t.dirs),t.transition&&(O.transition=t.transition),g=O,ha(S),g}const I1=e=>{let n;for(const t in e)(t==="class"||t==="style"||za(t))&&((n||(n={}))[t]=e[t]);return n},M1=(e,n)=>{const t={};for(const o in e)(!Tu(o)||!(o.slice(9)in n))&&(t[o]=e[o]);return t};function D1(e,n,t){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=n,u=i.emitsOptions;if(n.dirs||n.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return o?Fc(o,a,u):!!a;if(l&8){const c=n.dynamicProps;for(let d=0;de.__isSuspense;function z1(e,n){n&&n.pendingBranch?De(e)?n.effects.push(...e):n.effects.push(e):T1(e)}const Hi={};function Ce(e,n,t){return Eh(e,n,t)}function Eh(e,n,{immediate:t,deep:o,flush:r,onTrack:i,onTrigger:a}=on){var s;const l=j0()===((s=yn)==null?void 0:s.scope)?yn:null;let u,c=!1,d=!1;if(wn(e)?(u=()=>e.value,c=va(e)):ur(e)?(u=()=>e,o=!0):De(e)?(d=!0,c=e.some(y=>ur(y)||va(y)),u=()=>e.map(y=>{if(wn(y))return y.value;if(ur(y))return Do(y);if(Le(y))return lo(y,l,2)})):Le(e)?n?u=()=>lo(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),_n(e,l,3,[v])}:u=vt,n&&o){const y=u;u=()=>Do(y())}let f,v=y=>{f=S.onStop=()=>{lo(y,l,4)}},p;if(ci)if(v=vt,n?t&&_n(n,l,3,[u(),d?[]:void 0,v]):u(),r==="sync"){const y=S$();p=y.__watcherHandles||(y.__watcherHandles=[])}else return vt;let h=d?new Array(e.length).fill(Hi):Hi;const g=()=>{if(S.active)if(n){const y=S.run();(o||c||(d?y.some((P,A)=>ti(P,h[A])):ti(y,h)))&&(f&&f(),_n(n,l,3,[y,h===Hi?void 0:d&&h[0]===Hi?[]:h,v]),h=y)}else S.run()};g.allowRecurse=!!n;let $;r==="sync"?$=g:r==="post"?$=()=>zn(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),$=()=>Uu(g));const S=new Du(u,$);n?t?g():h=S.run():r==="post"?zn(S.run.bind(S),l&&l.suspense):S.run();const O=()=>{S.stop(),l&&l.scope&&Eu(l.scope.effects,S)};return p&&p.push(O),O}function V1(e,n,t){const o=this.proxy,r=sn(e)?e.includes(".")?Nh(o,e):()=>o[e]:e.bind(o,o);let i;Le(n)?i=n:(i=n.handler,t=n);const a=yn;vr(this);const s=Eh(r,i.bind(o),t);return a?vr(a):Bo(),s}function Nh(e,n){const t=n.split(".");return()=>{let o=e;for(let r=0;r{Do(t,n)});else if(oh(e))for(const t in e)Do(e[t],n);return e}function He(e,n){const t=Sn;if(t===null)return e;const o=Xa(t)||t.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Tr(()=>{e.isUnmounting=!0}),e}const Jn=[Function,Array],Mh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jn,onEnter:Jn,onAfterEnter:Jn,onEnterCancelled:Jn,onBeforeLeave:Jn,onLeave:Jn,onAfterLeave:Jn,onLeaveCancelled:Jn,onBeforeAppear:Jn,onAppear:Jn,onAfterAppear:Jn,onAppearCancelled:Jn},R1={name:"BaseTransition",props:Mh,setup(e,{slots:n}){const t=So(),o=Ih();let r;return()=>{const i=n.default&&Fu(n.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const h of i)if(h.type!==qn){a=h;break}}const s=We(e),{mode:l}=s;if(o.isLeaving)return gs(a);const u=Hc(a);if(!u)return gs(a);const c=ai(u,s,o,t);si(u,c);const d=t.subTree,f=d&&Hc(d);let v=!1;const{getTransitionKey:p}=u.type;if(p){const h=p();r===void 0?r=h:h!==r&&(r=h,v=!0)}if(f&&f.type!==qn&&(!Io(u,f)||v)){const h=ai(f,s,o,t);if(si(f,h),l==="out-in")return o.isLeaving=!0,h.afterLeave=()=>{o.isLeaving=!1,t.update.active!==!1&&t.update()},gs(a);l==="in-out"&&u.type!==qn&&(h.delayLeave=(g,$,S)=>{const O=Dh(o,f);O[String(f.key)]=f,g._leaveCb=()=>{$(),g._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=S})}return a}}},L1=R1;function Dh(e,n){const{leavingVNodes:t}=e;let o=t.get(n.type);return o||(o=Object.create(null),t.set(n.type,o)),o}function ai(e,n,t,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:h,onAppear:g,onAfterAppear:$,onAppearCancelled:S}=n,O=String(e.key),y=Dh(t,e),P=(D,T)=>{D&&_n(D,o,9,T)},A=(D,T)=>{const B=T[1];P(D,T),De(D)?D.every(U=>U.length<=1)&&B():D.length<=1&&B()},k={mode:i,persisted:a,beforeEnter(D){let T=s;if(!t.isMounted)if(r)T=h||s;else return;D._leaveCb&&D._leaveCb(!0);const B=y[O];B&&Io(e,B)&&B.el._leaveCb&&B.el._leaveCb(),P(T,[D])},enter(D){let T=l,B=u,U=c;if(!t.isMounted)if(r)T=g||l,B=$||u,U=S||c;else return;let z=!1;const ae=D._enterCb=re=>{z||(z=!0,re?P(U,[D]):P(B,[D]),k.delayedLeave&&k.delayedLeave(),D._enterCb=void 0)};T?A(T,[D,ae]):ae()},leave(D,T){const B=String(e.key);if(D._enterCb&&D._enterCb(!0),t.isUnmounting)return T();P(d,[D]);let U=!1;const z=D._leaveCb=ae=>{U||(U=!0,T(),ae?P(p,[D]):P(v,[D]),D._leaveCb=void 0,y[B]===e&&delete y[B])};y[B]=e,f?A(f,[D,z]):z()},clone(D){return ai(D,n,t,o)}};return k}function gs(e){if(Ya(e))return e=vo(e),e.children=null,e}function Hc(e){return Ya(e)?e.children?e.children[0]:void 0:e}function si(e,n){e.shapeFlag&6&&e.component?si(e.component.subTree,n):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Fu(e,n=!1,t){let o=[],r=0;for(let i=0;i1)for(let i=0;ifn({name:e.name},n,{setup:e}))():e}const qr=e=>!!e.type.__asyncLoader,Ya=e=>e.type.__isKeepAlive;function Ut(e,n){Ah(e,"a",n)}function jo(e,n){Ah(e,"da",n)}function Ah(e,n,t=yn){const o=e.__wdc||(e.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Wa(n,o,t),t){let r=t.parent;for(;r&&r.parent;)Ya(r.parent.vnode)&&U1(o,n,t,r),r=r.parent}}function U1(e,n,t,o){const r=Wa(n,e,o,!0);Ht(()=>{Eu(o[n],r)},t)}function Wa(e,n,t=yn,o=!1){if(t){const r=t[e]||(t[e]=[]),i=n.__weh||(n.__weh=(...a)=>{if(t.isUnmounted)return;Pr(),vr(t);const s=_n(n,t,e,a);return Bo(),Or(),s});return o?r.unshift(i):r.push(i),i}}const Ft=e=>(n,t=yn)=>(!ci||e==="sp")&&Wa(e,(...o)=>n(...o),t),Bh=Ft("bm"),Co=Ft("m"),F1=Ft("bu"),Yo=Ft("u"),Tr=Ft("bum"),Ht=Ft("um"),H1=Ft("sp"),j1=Ft("rtg"),Y1=Ft("rtc");function W1(e,n=yn){Wa("ec",e,n)}const Hu="components",q1="directives";function we(e,n){return ju(Hu,e,!0,n)||e}const zh=Symbol.for("v-ndc");function Er(e){return sn(e)?ju(Hu,e,!1)||e:e||zh}function Ge(e){return ju(q1,e)}function ju(e,n,t=!0,o=!1){const r=Sn||yn;if(r){const i=r.type;if(e===Hu){const s=$$(i,!1);if(s&&(s===n||s===St(n)||s===La(St(n))))return i}const a=jc(r[e]||i[e],n)||jc(r.appContext[e],n);return!a&&o?i:a}}function jc(e,n){return e&&(e[n]||e[St(n)]||e[La(St(n))])}function un(e,n,t,o){let r;const i=t&&t[o];if(De(e)||sn(e)){r=new Array(e.length);for(let a=0,s=e.length;an(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;s{const i=o.fn(...r);return i&&(i.key=o.key),i}:o.fn)}return e}function X(e,n,t={},o,r){if(Sn.isCE||Sn.parent&&qr(Sn.parent)&&Sn.parent.isCE)return n!=="default"&&(t.name=n),ie("slot",t,o&&o());let i=e[n];i&&i._c&&(i._d=!1),C();const a=i&&Vh(i(t)),s=Ae(Re,{key:t.key||a&&a.key||`_${n}`},a||(o?o():[]),a&&e._===1?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Vh(e){return e.some(n=>ui(n)?!(n.type===qn||n.type===Re&&!Vh(n.children)):!0)?e:null}const Xs=e=>e?Xh(e)?Xa(e)||e.proxy:Xs(e.parent):null,Kr=fn(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=>Xs(e.parent),$root:e=>Xs(e.root),$emit:e=>e.emit,$options:e=>Yu(e),$forceUpdate:e=>e.f||(e.f=()=>Uu(e.update)),$nextTick:e=>e.n||(e.n=en.bind(e.proxy)),$watch:e=>V1.bind(e)}),bs=(e,n)=>e!==on&&!e.__isScriptSetup&&qe(e,n),K1={get({_:e},n){const{ctx:t,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let u;if(n[0]!=="$"){const v=a[n];if(v!==void 0)switch(v){case 1:return o[n];case 2:return r[n];case 4:return t[n];case 3:return i[n]}else{if(bs(o,n))return a[n]=1,o[n];if(r!==on&&qe(r,n))return a[n]=2,r[n];if((u=e.propsOptions[0])&&qe(u,n))return a[n]=3,i[n];if(t!==on&&qe(t,n))return a[n]=4,t[n];Gs&&(a[n]=0)}}const c=Kr[n];let d,f;if(c)return n==="$attrs"&&Ln(e,"get",n),c(e);if((d=s.__cssModules)&&(d=d[n]))return d;if(t!==on&&qe(t,n))return a[n]=4,t[n];if(f=l.config.globalProperties,qe(f,n))return f[n]},set({_:e},n,t){const{data:o,setupState:r,ctx:i}=e;return bs(r,n)?(r[n]=t,!0):o!==on&&qe(o,n)?(o[n]=t,!0):qe(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(i[n]=t,!0)},has({_:{data:e,setupState:n,accessCache:t,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!t[a]||e!==on&&qe(e,a)||bs(n,a)||(s=i[0])&&qe(s,a)||qe(o,a)||qe(Kr,a)||qe(r.config.globalProperties,a)},defineProperty(e,n,t){return t.get!=null?e._.accessCache[n]=0:qe(t,"value")&&this.set(e,n,t.value,null),Reflect.defineProperty(e,n,t)}};function Yc(e){return De(e)?e.reduce((n,t)=>(n[t]=null,n),{}):e}let Gs=!0;function X1(e){const n=Yu(e),t=e.proxy,o=e.ctx;Gs=!1,n.beforeCreate&&Wc(n.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:v,updated:p,activated:h,deactivated:g,beforeDestroy:$,beforeUnmount:S,destroyed:O,unmounted:y,render:P,renderTracked:A,renderTriggered:k,errorCaptured:D,serverPrefetch:T,expose:B,inheritAttrs:U,components:z,directives:ae,filters:re}=n;if(u&&G1(u,o,null),a)for(const x in a){const q=a[x];Le(q)&&(o[x]=q.bind(t))}if(r){const x=r.call(t,t);an(x)&&(e.data=Xe(x))}if(Gs=!0,i)for(const x in i){const q=i[x],ge=Le(q)?q.bind(t,t):Le(q.get)?q.get.bind(t,t):vt,se=!Le(q)&&Le(q.set)?q.set.bind(t):vt,ve=L({get:ge,set:se});Object.defineProperty(o,x,{enumerable:!0,configurable:!0,get:()=>ve.value,set:G=>ve.value=G})}if(s)for(const x in s)Rh(s[x],o,t,x);if(l){const x=Le(l)?l.call(t):l;Reflect.ownKeys(x).forEach(q=>{Xr(q,x[q])})}c&&Wc(c,e,"c");function _(x,q){De(q)?q.forEach(ge=>x(ge.bind(t))):q&&x(q.bind(t))}if(_(Bh,d),_(Co,f),_(F1,v),_(Yo,p),_(Ut,h),_(jo,g),_(W1,D),_(Y1,A),_(j1,k),_(Tr,S),_(Ht,y),_(H1,T),De(B))if(B.length){const x=e.exposed||(e.exposed={});B.forEach(q=>{Object.defineProperty(x,q,{get:()=>t[q],set:ge=>t[q]=ge})})}else e.exposed||(e.exposed={});P&&e.render===vt&&(e.render=P),U!=null&&(e.inheritAttrs=U),z&&(e.components=z),ae&&(e.directives=ae)}function G1(e,n,t=vt){De(e)&&(e=Zs(e));for(const o in e){const r=e[o];let i;an(r)?"default"in r?i=xn(r.from||o,r.default,!0):i=xn(r.from||o):i=xn(r),wn(i)?Object.defineProperty(n,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):n[o]=i}}function Wc(e,n,t){_n(De(e)?e.map(o=>o.bind(n.proxy)):e.bind(n.proxy),n,t)}function Rh(e,n,t,o){const r=o.includes(".")?Nh(t,o):()=>t[o];if(sn(e)){const i=n[e];Le(i)&&Ce(r,i)}else if(Le(e))Ce(r,e.bind(t));else if(an(e))if(De(e))e.forEach(i=>Rh(i,n,t,o));else{const i=Le(e.handler)?e.handler.bind(t):n[e.handler];Le(i)&&Ce(r,i,e)}}function Yu(e){const n=e.type,{mixins:t,extends:o}=n,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(n);let l;return s?l=s:!r.length&&!t&&!o?l=n:(l={},r.length&&r.forEach(u=>pa(l,u,a,!0)),pa(l,n,a)),an(n)&&i.set(n,l),l}function pa(e,n,t,o=!1){const{mixins:r,extends:i}=n;i&&pa(e,i,t,!0),r&&r.forEach(a=>pa(e,a,t,!0));for(const a in n)if(!(o&&a==="expose")){const s=Z1[a]||t&&t[a];e[a]=s?s(e[a],n[a]):n[a]}return e}const Z1={data:qc,props:Kc,emits:Kc,methods:Yr,computed:Yr,beforeCreate:Mn,created:Mn,beforeMount:Mn,mounted:Mn,beforeUpdate:Mn,updated:Mn,beforeDestroy:Mn,beforeUnmount:Mn,destroyed:Mn,unmounted:Mn,activated:Mn,deactivated:Mn,errorCaptured:Mn,serverPrefetch:Mn,components:Yr,directives:Yr,watch:Q1,provide:qc,inject:J1};function qc(e,n){return n?e?function(){return fn(Le(e)?e.call(this,this):e,Le(n)?n.call(this,this):n)}:n:e}function J1(e,n){return Yr(Zs(e),Zs(n))}function Zs(e){if(De(e)){const n={};for(let t=0;t1)return t&&Le(n)?n.call(o&&o.proxy):n}}function e$(e,n,t,o=!1){const r={},i={};da(i,Ka,1),e.propsDefaults=Object.create(null),Uh(e,n,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);t?e.props=o?r:p1(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function n$(e,n,t,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=We(r),[l]=e.propsOptions;let u=!1;if((o||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,v]=Fh(d,n,!0);fn(a,f),v&&s.push(...v)};!t&&n.mixins.length&&n.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return an(e)&&o.set(e,sr),sr;if(De(i))for(let c=0;c-1,v[1]=h<0||p-1||qe(v,"default"))&&s.push(d)}}}const u=[a,s];return an(e)&&o.set(e,u),u}function Xc(e){return e[0]!=="$"}function Gc(e){const n=e&&e.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:e===null?"null":""}function Zc(e,n){return Gc(e)===Gc(n)}function Jc(e,n){return De(n)?n.findIndex(t=>Zc(t,e)):Le(n)&&Zc(n,e)?0:-1}const Hh=e=>e[0]==="_"||e==="$stable",Wu=e=>De(e)?e.map($t):[$t(e)],t$=(e,n,t)=>{if(n._n)return n;const o=Te((...r)=>Wu(n(...r)),t);return o._c=!1,o},jh=(e,n,t)=>{const o=e._ctx;for(const r in e){if(Hh(r))continue;const i=e[r];if(Le(i))n[r]=t$(r,i,o);else if(i!=null){const a=Wu(i);n[r]=()=>a}}},Yh=(e,n)=>{const t=Wu(n);e.slots.default=()=>t},o$=(e,n)=>{if(e.vnode.shapeFlag&32){const t=n._;t?(e.slots=We(n),da(n,"_",t)):jh(n,e.slots={})}else e.slots={},n&&Yh(e,n);da(e.slots,Ka,1)},r$=(e,n,t)=>{const{vnode:o,slots:r}=e;let i=!0,a=on;if(o.shapeFlag&32){const s=n._;s?t&&s===1?i=!1:(fn(r,n),!t&&s===1&&delete r._):(i=!n.$stable,jh(n,r)),a=n}else n&&(Yh(e,n),a={default:1});if(i)for(const s in r)!Hh(s)&&!(s in a)&&delete r[s]};function Qs(e,n,t,o,r=!1){if(De(e)){e.forEach((f,v)=>Qs(f,n&&(De(n)?n[v]:n),t,o,r));return}if(qr(o)&&!r)return;const i=o.shapeFlag&4?Xa(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,u=n&&n.r,c=s.refs===on?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(sn(u)?(c[u]=null,qe(d,u)&&(d[u]=null)):wn(u)&&(u.value=null)),Le(l))lo(l,s,12,[a,c]);else{const f=sn(l),v=wn(l);if(f||v){const p=()=>{if(e.f){const h=f?qe(d,l)?d[l]:c[l]:l.value;r?De(h)&&Eu(h,i):De(h)?h.includes(i)||h.push(i):f?(c[l]=[i],qe(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else f?(c[l]=a,qe(d,l)&&(d[l]=a)):v&&(l.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,zn(p,t)):p()}}}const zn=z1;function i$(e){return a$(e)}function a$(e,n){const t=js();t.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:v=vt,insertStaticContent:p}=e,h=(w,b,E,Y=null,Q=null,F=null,le=!1,Z=null,ue=!!b.dynamicChildren)=>{if(w===b)return;w&&!Io(w,b)&&(Y=V(w),G(w,Q,F,!0),w=null),b.patchFlag===-2&&(ue=!1,b.dynamicChildren=null);const{type:ne,ref:Se,shapeFlag:ke}=b;switch(ne){case qa:g(w,b,E,Y);break;case qn:$(w,b,E,Y);break;case ta:w==null&&S(b,E,Y,le);break;case Re:z(w,b,E,Y,Q,F,le,Z,ue);break;default:ke&1?P(w,b,E,Y,Q,F,le,Z,ue):ke&6?ae(w,b,E,Y,Q,F,le,Z,ue):(ke&64||ke&128)&&ne.process(w,b,E,Y,Q,F,le,Z,ue,H)}Se!=null&&Q&&Qs(Se,w&&w.ref,F,b||w,!b)},g=(w,b,E,Y)=>{if(w==null)o(b.el=s(b.children),E,Y);else{const Q=b.el=w.el;b.children!==w.children&&u(Q,b.children)}},$=(w,b,E,Y)=>{w==null?o(b.el=l(b.children||""),E,Y):b.el=w.el},S=(w,b,E,Y)=>{[w.el,w.anchor]=p(w.children,b,E,Y,w.el,w.anchor)},O=({el:w,anchor:b},E,Y)=>{let Q;for(;w&&w!==b;)Q=f(w),o(w,E,Y),w=Q;o(b,E,Y)},y=({el:w,anchor:b})=>{let E;for(;w&&w!==b;)E=f(w),r(w),w=E;r(b)},P=(w,b,E,Y,Q,F,le,Z,ue)=>{le=le||b.type==="svg",w==null?A(b,E,Y,Q,F,le,Z,ue):T(w,b,Q,F,le,Z,ue)},A=(w,b,E,Y,Q,F,le,Z)=>{let ue,ne;const{type:Se,props:ke,shapeFlag:Oe,transition:Ie,dirs:Ue}=w;if(ue=w.el=a(w.type,F,ke&&ke.is,ke),Oe&8?c(ue,w.children):Oe&16&&D(w.children,ue,null,Y,Q,F&&Se!=="foreignObject",le,Z),Ue&&Oo(w,null,Y,"created"),k(ue,w,w.scopeId,le,Y),ke){for(const Ye in ke)Ye!=="value"&&!ea(Ye)&&i(ue,Ye,null,ke[Ye],F,w.children,Y,Q,ee);"value"in ke&&i(ue,"value",null,ke.value),(ne=ke.onVnodeBeforeMount)&&yt(ne,Y,w)}Ue&&Oo(w,null,Y,"beforeMount");const Je=(!Q||Q&&!Q.pendingBranch)&&Ie&&!Ie.persisted;Je&&Ie.beforeEnter(ue),o(ue,b,E),((ne=ke&&ke.onVnodeMounted)||Je||Ue)&&zn(()=>{ne&&yt(ne,Y,w),Je&&Ie.enter(ue),Ue&&Oo(w,null,Y,"mounted")},Q)},k=(w,b,E,Y,Q)=>{if(E&&v(w,E),Y)for(let F=0;F{for(let ne=ue;ne{const Z=b.el=w.el;let{patchFlag:ue,dynamicChildren:ne,dirs:Se}=b;ue|=w.patchFlag&16;const ke=w.props||on,Oe=b.props||on;let Ie;E&&To(E,!1),(Ie=Oe.onVnodeBeforeUpdate)&&yt(Ie,E,b,w),Se&&Oo(b,w,E,"beforeUpdate"),E&&To(E,!0);const Ue=Q&&b.type!=="foreignObject";if(ne?B(w.dynamicChildren,ne,Z,E,Y,Ue,F):le||q(w,b,Z,null,E,Y,Ue,F,!1),ue>0){if(ue&16)U(Z,b,ke,Oe,E,Y,Q);else if(ue&2&&ke.class!==Oe.class&&i(Z,"class",null,Oe.class,Q),ue&4&&i(Z,"style",ke.style,Oe.style,Q),ue&8){const Je=b.dynamicProps;for(let Ye=0;Ye{Ie&&yt(Ie,E,b,w),Se&&Oo(b,w,E,"updated")},Y)},B=(w,b,E,Y,Q,F,le)=>{for(let Z=0;Z{if(E!==Y){if(E!==on)for(const Z in E)!ea(Z)&&!(Z in Y)&&i(w,Z,E[Z],null,le,b.children,Q,F,ee);for(const Z in Y){if(ea(Z))continue;const ue=Y[Z],ne=E[Z];ue!==ne&&Z!=="value"&&i(w,Z,ne,ue,le,b.children,Q,F,ee)}"value"in Y&&i(w,"value",E.value,Y.value)}},z=(w,b,E,Y,Q,F,le,Z,ue)=>{const ne=b.el=w?w.el:s(""),Se=b.anchor=w?w.anchor:s("");let{patchFlag:ke,dynamicChildren:Oe,slotScopeIds:Ie}=b;Ie&&(Z=Z?Z.concat(Ie):Ie),w==null?(o(ne,E,Y),o(Se,E,Y),D(b.children,E,Se,Q,F,le,Z,ue)):ke>0&&ke&64&&Oe&&w.dynamicChildren?(B(w.dynamicChildren,Oe,E,Q,F,le,Z),(b.key!=null||Q&&b===Q.subTree)&&qu(w,b,!0)):q(w,b,E,Se,Q,F,le,Z,ue)},ae=(w,b,E,Y,Q,F,le,Z,ue)=>{b.slotScopeIds=Z,w==null?b.shapeFlag&512?Q.ctx.activate(b,E,Y,le,ue):re(b,E,Y,Q,F,le,ue):oe(w,b,ue)},re=(w,b,E,Y,Q,F,le)=>{const Z=w.component=m$(w,Y,Q);if(Ya(w)&&(Z.ctx.renderer=H),p$(Z),Z.asyncDep){if(Q&&Q.registerDep(Z,_),!w.el){const ue=Z.subTree=ie(qn);$(null,ue,b,E)}return}_(Z,w,b,E,Q,F,le)},oe=(w,b,E)=>{const Y=b.component=w.component;if(D1(w,b,E))if(Y.asyncDep&&!Y.asyncResolved){x(Y,b,E);return}else Y.next=b,O1(Y.update),Y.update();else b.el=w.el,Y.vnode=b},_=(w,b,E,Y,Q,F,le)=>{const Z=()=>{if(w.isMounted){let{next:Se,bu:ke,u:Oe,parent:Ie,vnode:Ue}=w,Je=Se,Ye;To(w,!1),Se?(Se.el=Ue.el,x(w,Se,le)):Se=Ue,ke&&na(ke),(Ye=Se.props&&Se.props.onVnodeBeforeUpdate)&&yt(Ye,Ie,Se,Ue),To(w,!0);const ln=ps(w),at=w.subTree;w.subTree=ln,h(at,ln,d(at.el),V(at),w,Q,F),Se.el=ln.el,Je===null&&A1(w,ln.el),Oe&&zn(Oe,Q),(Ye=Se.props&&Se.props.onVnodeUpdated)&&zn(()=>yt(Ye,Ie,Se,Ue),Q)}else{let Se;const{el:ke,props:Oe}=b,{bm:Ie,m:Ue,parent:Je}=w,Ye=qr(b);if(To(w,!1),Ie&&na(Ie),!Ye&&(Se=Oe&&Oe.onVnodeBeforeMount)&&yt(Se,Je,b),To(w,!0),ke&&Pe){const ln=()=>{w.subTree=ps(w),Pe(ke,w.subTree,w,Q,null)};Ye?b.type.__asyncLoader().then(()=>!w.isUnmounted&&ln()):ln()}else{const ln=w.subTree=ps(w);h(null,ln,E,Y,w,Q,F),b.el=ln.el}if(Ue&&zn(Ue,Q),!Ye&&(Se=Oe&&Oe.onVnodeMounted)){const ln=b;zn(()=>yt(Se,Je,ln),Q)}(b.shapeFlag&256||Je&&qr(Je.vnode)&&Je.vnode.shapeFlag&256)&&w.a&&zn(w.a,Q),w.isMounted=!0,b=E=Y=null}},ue=w.effect=new Du(Z,()=>Uu(ne),w.scope),ne=w.update=()=>ue.run();ne.id=w.uid,To(w,!0),ne()},x=(w,b,E)=>{b.component=w;const Y=w.vnode.props;w.vnode=b,w.next=null,n$(w,b.props,Y,E),r$(w,b.children,E),Pr(),Uc(),Or()},q=(w,b,E,Y,Q,F,le,Z,ue=!1)=>{const ne=w&&w.children,Se=w?w.shapeFlag:0,ke=b.children,{patchFlag:Oe,shapeFlag:Ie}=b;if(Oe>0){if(Oe&128){se(ne,ke,E,Y,Q,F,le,Z,ue);return}else if(Oe&256){ge(ne,ke,E,Y,Q,F,le,Z,ue);return}}Ie&8?(Se&16&&ee(ne,Q,F),ke!==ne&&c(E,ke)):Se&16?Ie&16?se(ne,ke,E,Y,Q,F,le,Z,ue):ee(ne,Q,F,!0):(Se&8&&c(E,""),Ie&16&&D(ke,E,Y,Q,F,le,Z,ue))},ge=(w,b,E,Y,Q,F,le,Z,ue)=>{w=w||sr,b=b||sr;const ne=w.length,Se=b.length,ke=Math.min(ne,Se);let Oe;for(Oe=0;OeSe?ee(w,Q,F,!0,!1,ke):D(b,E,Y,Q,F,le,Z,ue,ke)},se=(w,b,E,Y,Q,F,le,Z,ue)=>{let ne=0;const Se=b.length;let ke=w.length-1,Oe=Se-1;for(;ne<=ke&&ne<=Oe;){const Ie=w[ne],Ue=b[ne]=ue?Zt(b[ne]):$t(b[ne]);if(Io(Ie,Ue))h(Ie,Ue,E,null,Q,F,le,Z,ue);else break;ne++}for(;ne<=ke&&ne<=Oe;){const Ie=w[ke],Ue=b[Oe]=ue?Zt(b[Oe]):$t(b[Oe]);if(Io(Ie,Ue))h(Ie,Ue,E,null,Q,F,le,Z,ue);else break;ke--,Oe--}if(ne>ke){if(ne<=Oe){const Ie=Oe+1,Ue=IeOe)for(;ne<=ke;)G(w[ne],Q,F,!0),ne++;else{const Ie=ne,Ue=ne,Je=new Map;for(ne=Ue;ne<=Oe;ne++){const jn=b[ne]=ue?Zt(b[ne]):$t(b[ne]);jn.key!=null&&Je.set(jn.key,ne)}let Ye,ln=0;const at=Oe-Ue+1;let Jo=!1,Ec=0;const zr=new Array(at);for(ne=0;ne=at){G(jn,Q,F,!0);continue}let bt;if(jn.key!=null)bt=Je.get(jn.key);else for(Ye=Ue;Ye<=Oe;Ye++)if(zr[Ye-Ue]===0&&Io(jn,b[Ye])){bt=Ye;break}bt===void 0?G(jn,Q,F,!0):(zr[bt-Ue]=ne+1,bt>=Ec?Ec=bt:Jo=!0,h(jn,b[bt],E,null,Q,F,le,Z,ue),ln++)}const Nc=Jo?s$(zr):sr;for(Ye=Nc.length-1,ne=at-1;ne>=0;ne--){const jn=Ue+ne,bt=b[jn],Ic=jn+1{const{el:F,type:le,transition:Z,children:ue,shapeFlag:ne}=w;if(ne&6){ve(w.component.subTree,b,E,Y);return}if(ne&128){w.suspense.move(b,E,Y);return}if(ne&64){le.move(w,b,E,H);return}if(le===Re){o(F,b,E);for(let ke=0;keZ.enter(F),Q);else{const{leave:ke,delayLeave:Oe,afterLeave:Ie}=Z,Ue=()=>o(F,b,E),Je=()=>{ke(F,()=>{Ue(),Ie&&Ie()})};Oe?Oe(F,Ue,Je):Je()}else o(F,b,E)},G=(w,b,E,Y=!1,Q=!1)=>{const{type:F,props:le,ref:Z,children:ue,dynamicChildren:ne,shapeFlag:Se,patchFlag:ke,dirs:Oe}=w;if(Z!=null&&Qs(Z,null,E,w,!0),Se&256){b.ctx.deactivate(w);return}const Ie=Se&1&&Oe,Ue=!qr(w);let Je;if(Ue&&(Je=le&&le.onVnodeBeforeUnmount)&&yt(Je,b,w),Se&6)j(w.component,E,Y);else{if(Se&128){w.suspense.unmount(E,Y);return}Ie&&Oo(w,null,b,"beforeUnmount"),Se&64?w.type.remove(w,b,E,Q,H,Y):ne&&(F!==Re||ke>0&&ke&64)?ee(ne,b,E,!1,!0):(F===Re&&ke&384||!Q&&Se&16)&&ee(ue,b,E),Y&&de(w)}(Ue&&(Je=le&&le.onVnodeUnmounted)||Ie)&&zn(()=>{Je&&yt(Je,b,w),Ie&&Oo(w,null,b,"unmounted")},E)},de=w=>{const{type:b,el:E,anchor:Y,transition:Q}=w;if(b===Re){ye(E,Y);return}if(b===ta){y(w);return}const F=()=>{r(E),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(w.shapeFlag&1&&Q&&!Q.persisted){const{leave:le,delayLeave:Z}=Q,ue=()=>le(E,F);Z?Z(w.el,F,ue):ue()}else F()},ye=(w,b)=>{let E;for(;w!==b;)E=f(w),r(w),w=E;r(b)},j=(w,b,E)=>{const{bum:Y,scope:Q,update:F,subTree:le,um:Z}=w;Y&&na(Y),Q.stop(),F&&(F.active=!1,G(le,w,b,E)),Z&&zn(Z,b),zn(()=>{w.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ee=(w,b,E,Y=!1,Q=!1,F=0)=>{for(let le=F;lew.shapeFlag&6?V(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),fe=(w,b,E)=>{w==null?b._vnode&&G(b._vnode,null,null,!0):h(b._vnode||null,w,b,null,null,null,E),Uc(),Ph(),b._vnode=w},H={p:h,um:G,m:ve,r:de,mt:re,mc:D,pc:q,pbc:B,n:V,o:e};let J,Pe;return n&&([J,Pe]=n(H)),{render:fe,hydrate:J,createApp:x1(fe,J)}}function To({effect:e,update:n},t){e.allowRecurse=n.allowRecurse=t}function qu(e,n,t=!1){const o=e.children,r=n.children;if(De(o)&&De(r))for(let i=0;i>1,e[t[s]]0&&(n[o]=t[i-1]),t[i]=o)}}for(i=t.length,a=t[i-1];i-- >0;)t[i]=a,a=n[a];return t}const l$=e=>e.__isTeleport,Gr=e=>e&&(e.disabled||e.disabled===""),Qc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_s=(e,n)=>{const t=e&&e.to;return sn(t)?n?n(t):null:t},u$={__isTeleport:!0,process(e,n,t,o,r,i,a,s,l,u){const{mc:c,pc:d,pbc:f,o:{insert:v,querySelector:p,createText:h,createComment:g}}=u,$=Gr(n.props);let{shapeFlag:S,children:O,dynamicChildren:y}=n;if(e==null){const P=n.el=h(""),A=n.anchor=h("");v(P,t,o),v(A,t,o);const k=n.target=_s(n.props,p),D=n.targetAnchor=h("");k&&(v(D,k),a=a||Qc(k));const T=(B,U)=>{S&16&&c(O,B,U,r,i,a,s,l)};$?T(t,A):k&&T(k,D)}else{n.el=e.el;const P=n.anchor=e.anchor,A=n.target=e.target,k=n.targetAnchor=e.targetAnchor,D=Gr(e.props),T=D?t:A,B=D?P:k;if(a=a||Qc(A),y?(f(e.dynamicChildren,y,T,r,i,a,s),qu(e,n,!0)):l||d(e,n,T,B,r,i,a,s,!1),$)D||ji(n,t,P,u,1);else if((n.props&&n.props.to)!==(e.props&&e.props.to)){const U=n.target=_s(n.props,p);U&&ji(n,U,null,u,0)}else D&&ji(n,A,k,u,1)}Wh(n)},remove(e,n,t,o,{um:r,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&i(c),(a||!Gr(f))&&(i(u),s&16))for(let v=0;v0?dt||sr:null,d$(),li>0&&dt&&dt.push(e),e}function M(e,n,t,o,r,i){return qh(R(e,n,t,o,r,i,!0))}function Ae(e,n,t,o,r){return qh(ie(e,n,t,o,r,!0))}function ui(e){return e?e.__v_isVNode===!0:!1}function Io(e,n){return e.type===n.type&&e.key===n.key}const Ka="__vInternal",Kh=({key:e})=>e??null,oa=({ref:e,ref_key:n,ref_for:t})=>(typeof e=="number"&&(e=""+e),e!=null?sn(e)||wn(e)||Le(e)?{i:Sn,r:e,k:n,f:!!t}:e:null);function R(e,n=null,t=null,o=0,r=null,i=e===Re?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&Kh(n),ref:n&&oa(n),scopeId:ja,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Sn};return s?(Ku(l,t),i&128&&e.normalize(l)):t&&(l.shapeFlag|=sn(t)?8:16),li>0&&!a&&dt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&dt.push(l),l}const ie=f$;function f$(e,n=null,t=null,o=0,r=null,i=!1){if((!e||e===zh)&&(e=qn),ui(e)){const s=vo(e,n,!0);return t&&Ku(s,t),li>0&&!i&&dt&&(s.shapeFlag&6?dt[dt.indexOf(e)]=s:dt.push(s)),s.patchFlag|=-2,s}if(w$(e)&&(e=e.__vccOpts),n){n=Nr(n);let{class:s,style:l}=n;s&&!sn(s)&&(n.class=m(s)),an(l)&&(gh(l)&&!De(l)&&(l=fn({},l)),n.style=te(l))}const a=sn(e)?1:B1(e)?128:l$(e)?64:an(e)?4:Le(e)?2:0;return R(e,n,t,o,r,a,i,!0)}function Nr(e){return e?gh(e)||Ka in e?fn({},e):e:null}function vo(e,n,t=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=n?Ze(o||{},n):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Kh(s),ref:n&&n.ref?t&&r?De(r)?r.concat(oa(n)):[r,oa(n)]:oa(n):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Re?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vo(e.ssContent),ssFallback:e.ssFallback&&vo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function je(e=" ",n=0){return ie(qa,null,e,n)}function g8(e,n){const t=ie(ta,null,e);return t.staticCount=n,t}function he(e="",n=!1){return n?(C(),Ae(qn,null,e)):ie(qn,null,e)}function $t(e){return e==null||typeof e=="boolean"?ie(qn):De(e)?ie(Re,null,e.slice()):typeof e=="object"?Zt(e):ie(qa,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vo(e)}function Ku(e,n){let t=0;const{shapeFlag:o}=e;if(n==null)n=null;else if(De(n))t=16;else if(typeof n=="object")if(o&65){const r=n.default;r&&(r._c&&(r._d=!1),Ku(e,r()),r._c&&(r._d=!0));return}else{t=32;const r=n._;!r&&!(Ka in n)?n._ctx=Sn:r===3&&Sn&&(Sn.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else Le(n)?(n={default:n,_ctx:Sn},t=32):(n=String(n),o&64?(t=16,n=[je(n)]):t=8);e.children=n,e.shapeFlag|=t}function Ze(...e){const n={};for(let t=0;tyn||Sn;let Xu,Qo,xc="__VUE_INSTANCE_SETTERS__";(Qo=js()[xc])||(Qo=js()[xc]=[]),Qo.push(e=>yn=e),Xu=e=>{Qo.length>1?Qo.forEach(n=>n(e)):Qo[0](e)};const vr=e=>{Xu(e),e.scope.on()},Bo=()=>{yn&&yn.scope.off(),Xu(null)};function Xh(e){return e.vnode.shapeFlag&4}let ci=!1;function p$(e,n=!1){ci=n;const{props:t,children:o}=e.vnode,r=Xh(e);e$(e,t,r,n),o$(e,o);const i=r?g$(e,n):void 0;return ci=!1,i}function g$(e,n){const t=e.type;e.accessCache=Object.create(null),e.proxy=bh(new Proxy(e.ctx,K1));const{setup:o}=t;if(o){const r=e.setupContext=o.length>1?y$(e):null;vr(e),Pr();const i=lo(o,e,0,[e.props,r]);if(Or(),Bo(),nh(i)){if(i.then(Bo,Bo),n)return i.then(a=>{ed(e,a,n)}).catch(a=>{Fa(a,e,0)});e.asyncDep=i}else ed(e,i,n)}else Gh(e,n)}function ed(e,n,t){Le(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:an(n)&&(e.setupState=Ch(n)),Gh(e,t)}let nd;function Gh(e,n,t){const o=e.type;if(!e.render){if(!n&&nd&&!o.render){const r=o.template||Yu(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,u=fn(fn({isCustomElement:i,delimiters:s},a),l);o.render=nd(r,u)}}e.render=o.render||vt}vr(e),Pr(),X1(e),Or(),Bo()}function b$(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(n,t){return Ln(e,"get","$attrs"),n[t]}}))}function y$(e){const n=t=>{e.exposed=t||{}};return{get attrs(){return b$(e)},slots:e.slots,emit:e.emit,expose:n}}function Xa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ch(bh(e.exposed)),{get(n,t){if(t in n)return n[t];if(t in Kr)return Kr[t](e)},has(n,t){return t in n||t in Kr}}))}function $$(e,n=!0){return Le(e)?e.displayName||e.name:e.name||n&&e.__name}function w$(e){return Le(e)&&"__vccOpts"in e}const L=(e,n)=>S1(e,n,ci);function Ii(e,n,t){const o=arguments.length;return o===2?an(n)&&!De(n)?ui(n)?ie(e,null,[n]):ie(e,n):ie(e,null,n):(o>3?t=Array.prototype.slice.call(arguments,2):o===3&&ui(t)&&(t=[t]),ie(e,n,t))}const C$=Symbol.for("v-scx"),S$=()=>xn(C$),k$="3.3.4",P$="http://www.w3.org/2000/svg",Mo=typeof document<"u"?document:null,td=Mo&&Mo.createElement("template"),O$={insert:(e,n,t)=>{n.insertBefore(e,t||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,t,o)=>{const r=n?Mo.createElementNS(P$,e):Mo.createElement(e,t?{is:t}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Mo.createTextNode(e),createComment:e=>Mo.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mo.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,t,o,r,i){const a=t?t.previousSibling:n.lastChild;if(r&&(r===i||r.nextSibling))for(;n.insertBefore(r.cloneNode(!0),t),!(r===i||!(r=r.nextSibling)););else{td.innerHTML=o?`${e}`:e;const s=td.content;if(o){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}n.insertBefore(s,t)}return[a?a.nextSibling:n.firstChild,t?t.previousSibling:n.lastChild]}};function T$(e,n,t){const o=e._vtc;o&&(n=(n?[n,...o]:[...o]).join(" ")),n==null?e.removeAttribute("class"):t?e.setAttribute("class",n):e.className=n}function E$(e,n,t){const o=e.style,r=sn(t);if(t&&!r){if(n&&!sn(n))for(const i in n)t[i]==null&&xs(o,i,"");for(const i in t)xs(o,i,t[i])}else{const i=o.display;r?n!==t&&(o.cssText=t):n&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}}const od=/\s*!important$/;function xs(e,n,t){if(De(t))t.forEach(o=>xs(e,n,o));else if(t==null&&(t=""),n.startsWith("--"))e.setProperty(n,t);else{const o=N$(e,n);od.test(t)?e.setProperty(Ho(o),t.replace(od,""),"important"):e[o]=t}}const rd=["Webkit","Moz","ms"],ys={};function N$(e,n){const t=ys[n];if(t)return t;let o=St(n);if(o!=="filter"&&o in e)return ys[n]=o;o=La(o);for(let r=0;r$s||(z$.then(()=>$s=0),$s=Date.now());function R$(e,n){const t=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=t.attached)return;_n(L$(o,t.value),n,5,[o])};return t.value=e,t.attached=V$(),t}function L$(e,n){if(De(n)){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{t.call(e),e._stopped=!0},n.map(o=>r=>!r._stopped&&o&&o(r))}else return n}const sd=/^on[a-z]/,U$=(e,n,t,o,r=!1,i,a,s,l)=>{n==="class"?T$(e,o,r):n==="style"?E$(e,t,o):za(n)?Tu(n)||A$(e,n,t,o,a):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):F$(e,n,o,r))?M$(e,n,o,i,a,s,l):(n==="true-value"?e._trueValue=o:n==="false-value"&&(e._falseValue=o),I$(e,n,o,r))};function F$(e,n,t,o){return o?!!(n==="innerHTML"||n==="textContent"||n in e&&sd.test(n)&&Le(t)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||sd.test(n)&&sn(t)?!1:n in e}const Wt="transition",Vr="animation",nn=(e,{slots:n})=>Ii(L1,Jh(e),n);nn.displayName="Transition";const Zh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},H$=nn.props=fn({},Mh,Zh),Eo=(e,n=[])=>{De(e)?e.forEach(t=>t(...n)):e&&e(...n)},ld=e=>e?De(e)?e.some(n=>n.length>1):e.length>1:!1;function Jh(e){const n={};for(const z in e)z in Zh||(n[z]=e[z]);if(e.css===!1)return n;const{name:t="v",type:o,duration:r,enterFromClass:i=`${t}-enter-from`,enterActiveClass:a=`${t}-enter-active`,enterToClass:s=`${t}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:v=`${t}-leave-to`}=e,p=j$(r),h=p&&p[0],g=p&&p[1],{onBeforeEnter:$,onEnter:S,onEnterCancelled:O,onLeave:y,onLeaveCancelled:P,onBeforeAppear:A=$,onAppear:k=S,onAppearCancelled:D=O}=n,T=(z,ae,re)=>{Gt(z,ae?c:s),Gt(z,ae?u:a),re&&re()},B=(z,ae)=>{z._isLeaving=!1,Gt(z,d),Gt(z,v),Gt(z,f),ae&&ae()},U=z=>(ae,re)=>{const oe=z?k:S,_=()=>T(ae,z,re);Eo(oe,[ae,_]),ud(()=>{Gt(ae,z?l:i),It(ae,z?c:s),ld(oe)||cd(ae,o,h,_)})};return fn(n,{onBeforeEnter(z){Eo($,[z]),It(z,i),It(z,a)},onBeforeAppear(z){Eo(A,[z]),It(z,l),It(z,u)},onEnter:U(!1),onAppear:U(!0),onLeave(z,ae){z._isLeaving=!0;const re=()=>B(z,ae);It(z,d),_h(),It(z,f),ud(()=>{z._isLeaving&&(Gt(z,d),It(z,v),ld(y)||cd(z,o,g,re))}),Eo(y,[z,re])},onEnterCancelled(z){T(z,!1),Eo(O,[z])},onAppearCancelled(z){T(z,!0),Eo(D,[z])},onLeaveCancelled(z){B(z),Eo(P,[z])}})}function j$(e){if(e==null)return null;if(an(e))return[ws(e.enter),ws(e.leave)];{const n=ws(e);return[n,n]}}function ws(e){return A0(e)}function It(e,n){n.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(n)}function Gt(e,n){n.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:t}=e;t&&(t.delete(n),t.size||(e._vtc=void 0))}function ud(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y$=0;function cd(e,n,t,o){const r=e._endId=++Y$,i=()=>{r===e._endId&&o()};if(t)return setTimeout(i,t);const{type:a,timeout:s,propCount:l}=Qh(e,n);if(!a)return o();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=v=>{v.target===e&&++c>=l&&d()};setTimeout(()=>{c(t[p]||"").split(", "),r=o(`${Wt}Delay`),i=o(`${Wt}Duration`),a=dd(r,i),s=o(`${Vr}Delay`),l=o(`${Vr}Duration`),u=dd(s,l);let c=null,d=0,f=0;n===Wt?a>0&&(c=Wt,d=a,f=i.length):n===Vr?u>0&&(c=Vr,d=u,f=l.length):(d=Math.max(a,u),c=d>0?a>u?Wt:Vr:null,f=c?c===Wt?i.length:l.length:0);const v=c===Wt&&/\b(transform|all)(,|$)/.test(o(`${Wt}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:v}}function dd(e,n){for(;e.lengthfd(t)+fd(e[o])))}function fd(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function _h(){return document.body.offsetHeight}const xh=new WeakMap,em=new WeakMap,nm={name:"TransitionGroup",props:fn({},H$,{tag:String,moveClass:String}),setup(e,{slots:n}){const t=So(),o=Ih();let r,i;return Yo(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Z$(r[0].el,t.vnode.el,a))return;r.forEach(K$),r.forEach(X$);const s=r.filter(G$);_h(),s.forEach(l=>{const u=l.el,c=u.style;It(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=u._moveCb=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u._moveCb=null,Gt(u,a))};u.addEventListener("transitionend",d)})}),()=>{const a=We(e),s=Jh(a);let l=a.tag||Re;r=i,i=n.default?Fu(n.default()):[];for(let u=0;udelete e.mode;nm.props;const q$=nm;function K$(e){const n=e.el;n._moveCb&&n._moveCb(),n._enterCb&&n._enterCb()}function X$(e){em.set(e,e.el.getBoundingClientRect())}function G$(e){const n=xh.get(e),t=em.get(e),o=n.left-t.left,r=n.top-t.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function Z$(e,n,t){const o=e.cloneNode();e._vtc&&e._vtc.forEach(a=>{a.split(/\s+/).forEach(s=>s&&o.classList.remove(s))}),t.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";const r=n.nodeType===1?n:n.parentNode;r.appendChild(o);const{hasTransform:i}=Qh(o);return r.removeChild(o),i}const vd=e=>{const n=e.props["onUpdate:modelValue"]||!1;return De(n)?t=>na(n,t):n};function J$(e){e.target.composing=!0}function hd(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Q$={created(e,{modifiers:{lazy:n,trim:t,number:o}},r){e._assign=vd(r);const i=o||r.props&&r.props.type==="number";er(e,n?"change":"input",a=>{if(a.target.composing)return;let s=e.value;t&&(s=s.trim()),i&&(s=Hs(s)),e._assign(s)}),t&&er(e,"change",()=>{e.value=e.value.trim()}),n||(er(e,"compositionstart",J$),er(e,"compositionend",hd),er(e,"change",hd))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,modifiers:{lazy:t,trim:o,number:r}},i){if(e._assign=vd(i),e.composing||document.activeElement===e&&e.type!=="range"&&(t||o&&e.value.trim()===n||(r||e.type==="number")&&Hs(e.value)===n))return;const a=n??"";e.value!==a&&(e.value=a)}},_$=["ctrl","shift","alt","meta"],x$={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,n)=>_$.some(t=>e[`${t}Key`]&&!n.includes(t))},Xn=(e,n)=>(t,...o)=>{for(let r=0;rt=>{if(!("key"in t))return;const o=Ho(t.key);if(n.some(r=>r===o||ew[r]===o))return e(t)},kt={beforeMount(e,{value:n},{transition:t}){e._vod=e.style.display==="none"?"":e.style.display,t&&n?t.beforeEnter(e):Rr(e,n)},mounted(e,{value:n},{transition:t}){t&&n&&t.enter(e)},updated(e,{value:n,oldValue:t},{transition:o}){!n!=!t&&(o?n?(o.beforeEnter(e),Rr(e,!0),o.enter(e)):o.leave(e,()=>{Rr(e,!1)}):Rr(e,n))},beforeUnmount(e,{value:n}){Rr(e,n)}};function Rr(e,n){e.style.display=n?e._vod:"none"}const nw=fn({patchProp:U$},O$);let pd;function tw(){return pd||(pd=i$(nw))}const ow=(...e)=>{const n=tw().createApp(...e),{mount:t}=n;return n.mount=o=>{const r=rw(o);if(!r)return;const i=n._component;!Le(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},n};function rw(e){return sn(e)?document.querySelector(e):e}const tm={locks:{},zIndex:2e3,enableRipple:!0};Xe(tm);var Kn=Xe(tm),iw=Object.defineProperty,aw=Object.defineProperties,sw=Object.getOwnPropertyDescriptors,gd=Object.getOwnPropertySymbols,lw=Object.prototype.hasOwnProperty,uw=Object.prototype.propertyIsEnumerable,bd=(e,n,t)=>n in e?iw(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,cw=(e,n)=>{for(var t in n||(n={}))lw.call(n,t)&&bd(e,t,n[t]);if(gd)for(var t of gd(n))uw.call(n,t)&&bd(e,t,n[t]);return e},dw=(e,n)=>aw(e,sw(n)),gn=e=>typeof e=="string",Gu=e=>typeof e=="boolean",Rn=e=>typeof e=="number",di=e=>Object.prototype.toString.call(e)==="[object Object]",fw=e=>typeof e=="object"&&e!==null,Ir=e=>typeof e=="function",Qe=e=>Array.isArray(e),vw=e=>e?/^(http)|(\.*\/)/.test(e):!1,Ct=e=>e==null||e===""||Array.isArray(e)&&!e.length,Zu=e=>e===window,hw=()=>jt()&&"ontouchstart"in window,jt=()=>typeof window<"u",yd=e=>[...new Set(e)],ra=e=>Qe(e)?e:[e],ba=(e,n)=>{if(e.length){const t=e.indexOf(n);if(t>-1)return e.splice(t,1)}},mw=(e,n,t="start")=>{let o=t==="start"?0:e.length-1;for(;e.length>0&&o>=0&&o<=e.length-1;){if(n(e[o],o,e))return[e[o],o];t==="start"?o++:o--}return[null,-1]},om=()=>typeof globalThis<"u"?globalThis:jt()?window:typeof global<"u"?global:self,fi=e=>{const n=om();return n.requestAnimationFrame?n.requestAnimationFrame(e):n.setTimeout(e)},$d=e=>{const n=om();n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e)},ia=()=>new Promise(e=>{fi(e)}),Bn=()=>new Promise(e=>{fi(()=>{fi(e)})}),Wo=e=>window.getComputedStyle(e),pn=e=>{if(Zu(e)){const n=e.innerWidth,t=e.innerHeight,o={x:0,y:0,top:0,left:0,right:n,bottom:t,width:n,height:t};return dw(cw({},o),{toJSON:()=>o})}return e.getBoundingClientRect()},pw=e=>{const{top:n,bottom:t,left:o,right:r}=pn(e),{width:i,height:a}=pn(window),s=o<=i&&r>=0,l=n<=a&&t>=0;return s&&l},gw=e=>new Promise(n=>{const t=new FileReader;t.onload=()=>{n(t.result)},t.readAsDataURL(e)}),pt=e=>{e.cancelable!==!1&&e.preventDefault()},hr=e=>{const n="scrollTop"in e?e.scrollTop:e.scrollY;return Math.max(n,0)},Ju=e=>{const n="scrollLeft"in e?e.scrollLeft:e.scrollX;return Math.max(n,0)},Qu=(e,n=200)=>{let t,o=0;return function r(...i){const a=Date.now(),s=a-o;o||(o=a),t&&window.clearTimeout(t),s>=n?(e.apply(this,i),o=a):t=window.setTimeout(()=>{r.apply(this,i)},n-s)}},K=e=>e==null?0:gn(e)?(e=parseFloat(e),e=Number.isNaN(e)?0:e,e):Gu(e)?Number(e):e,ho=(e,n,t)=>Math.min(t,Math.max(n,e)),bw=(e,n)=>ho(e,0,n.length-1),yw=e=>_u(e).replace(e.charAt(0),e.charAt(0).toUpperCase()),_u=e=>e.replace(/-(\w)/g,(n,t)=>t.toUpperCase()),rm=e=>e.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase(),$w=Object.defineProperty,ya=Object.getOwnPropertySymbols,im=Object.prototype.hasOwnProperty,am=Object.prototype.propertyIsEnumerable,wd=(e,n,t)=>n in e?$w(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ww=(e,n)=>{for(var t in n||(n={}))im.call(n,t)&&wd(e,t,n[t]);if(ya)for(var t of ya(n))am.call(n,t)&&wd(e,t,n[t]);return e},Cw=(e,n)=>{var t={};for(var o in e)im.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&ya)for(var o of ya(e))n.indexOf(o)<0&&am.call(e,o)&&(t[o]=e[o]);return t};function Pn(e){let n=!1;Co(()=>{e(),en(()=>{n=!0})}),Ut(()=>{n&&e()})}function mo(e,n,t,o={}){if(!jt())return;const{passive:r=!1,capture:i=!1}=o;let a=!1,s=!1;const l=v=>Ir(v)?v():ht(v),u=v=>{if(a||s)return;const p=l(v);p&&(p.addEventListener(n,t,{passive:r,capture:i}),a=!0)},c=v=>{if(!a||s)return;const p=l(v);p&&(p.removeEventListener(n,t,{capture:i}),a=!1)};let d;wn(e)&&(d=Ce(()=>e.value,(v,p)=>{c(p),u(v)}));const f=()=>{d==null||d(),c(e),s=!0};return Pn(()=>{u(e)}),Tr(()=>{c(e)}),jo(()=>{c(e)}),f}function sm(e,n,t){if(!jt())return;mo(document,n,r=>{const i=Ir(e)?e():ht(e);i&&!i.contains(r.target)&&t(r)})}function Ga(e){Ht(()=>{e()}),jo(()=>{e()})}function Sw(e){const n=So();return e in n.provides}function On(e){if(!Sw(e))return{index:null,parentProvider:null,bindParent:null};const t=xn(e),{childInstances:o,collect:r,clear:i}=t,a=Cw(t,["childInstances","collect","clear"]),s=So();return{index:L(()=>o.indexOf(s)),parentProvider:a,bindParent:c=>{Co(()=>{en().then(()=>{r(s,c)})}),Tr(()=>{en().then(()=>{i(s,c)})})}}}function kw(e){const n=[],t=o=>{if(o!=null&&o.component){t(o==null?void 0:o.component.subTree);return}Array.isArray(o==null?void 0:o.children)&&o.children.forEach(r=>{ui(r)&&(n.push(r),t(r))})};return t(e),n}function Tn(e){const n=So(),t=Xe([]),o=[],r=L(()=>t.length),i=()=>{const u=kw(n.subTree);t.sort((c,d)=>u.indexOf(c.vnode)-u.indexOf(d.vnode))},a=(u,c)=>{t.push(u),o.push(c),i()},s=(u,c)=>{ba(t,u),ba(o,c)};return{length:r,childProviders:o,bindChildren:u=>{Xr(e,ww({childInstances:t,collect:a,clear:s},u))}}}function Mr(e){mo(()=>window,"resize",e,{passive:!0}),mo(()=>window,"orientationchange",e,{passive:!0})}function Pw(e,n){const t=I(!1);return Ce(e,o=>{n===o&&(t.value=!0)},{immediate:!0}),t}function Ow(e,n){if(e>n)return"horizontal";if(n>e)return"vertical"}function Dr(){const e=I(0),n=I(0),t=I(0),o=I(0),r=I(0),i=I(0),a=I(0),s=I(0),l=I(0),u=I(0),c=I(),d=I(!1),f=I(!1),v=I(0),p=I(0);let h=null;const g=()=>{e.value=0,n.value=0,t.value=0,o.value=0,r.value=0,i.value=0,a.value=0,s.value=0,l.value=0,u.value=0,c.value=void 0,d.value=!1,f.value=!1,v.value=0,p.value=0};return{startX:e,startY:n,deltaX:t,deltaY:o,offsetX:r,offsetY:i,prevX:a,prevY:s,moveX:l,moveY:u,direction:c,touching:d,dragging:f,startTime:v,distance:p,resetTouch:g,startTouch:A=>{g();const{clientX:k,clientY:D}=A.touches[0];e.value=k,n.value=D,a.value=k,s.value=D,d.value=!0,v.value=performance.now(),f.value=!1,h&&window.cancelAnimationFrame(h)},moveTouch:A=>{const{clientX:k,clientY:D}=A.touches[0];f.value=!0,t.value=k-e.value,o.value=D-n.value,r.value=Math.abs(t.value),i.value=Math.abs(o.value),p.value=Math.sqrt(r.value**2+i.value**2),l.value=k-a.value,u.value=D-s.value,c.value||(c.value=Ow(r.value,i.value)),a.value=k,s.value=D},endTouch:()=>{d.value=!1,h=window.requestAnimationFrame(()=>{f.value=!1})},isReachTop:A=>hr(A)===0&&o.value>0,isReachBottom:(A,k=1)=>{const{scrollHeight:D,clientHeight:T,scrollTop:B}=A,U=Math.abs(D-B-T);return o.value<0&&U<=k}}}function lm(){const e=I(),n=So(),t=rm(n.type.name);return e.value=`${t}-${n.uid}`,e}function Tw(e={}){const{initialWidth:n=0,initialHeight:t=0}=e,o=I(n),r=I(t),i=()=>{jt()&&(o.value=window.innerWidth,r.value=window.innerHeight)};return Pn(i),Mr(i),{width:o,height:r}}var Ew=Object.defineProperty,Cd=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,Iw=Object.prototype.propertyIsEnumerable,Sd=(e,n,t)=>n in e?Ew(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,kd=(e,n)=>{for(var t in n||(n={}))Nw.call(n,t)&&Sd(e,t,n[t]);if(Cd)for(var t of Cd(n))Iw.call(n,t)&&Sd(e,t,n[t]);return e},Pd=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});function Fe(e,n){return Array.isArray(n)?n.reduce((t,o)=>(t[o]=e[o],t),{}):e[n]}function be(e,n){const t=n??e;return t.install=function(o){const{name:r}=e;r&&o.component(r,e)},t}function Mw(e){const n=ow(e),t=document.createElement("div");return document.body.appendChild(t),{instance:n.mount(t),unmount(){n.unmount(),document.body.removeChild(t)}}}function Ar(e,n={},t={}){const o={setup(){return()=>Ii(e,kd(kd({},n),t))}},{unmount:r}=Mw(o);return{unmountInstance:r}}function um(e){const n=[];return e.forEach(t=>{if(t.type!==qn){if(t.type===Re&&Qe(t.children)){t.children.forEach(o=>{n.push(o)});return}n.push(t)}}),n}function ot(){const e=I(""),n=(r,i,a)=>Pd(this,null,function*(){return!Qe(r)||!r.length?!0:!(yield Promise.all(r.map(l=>l(i,a)))).some(l=>l!==!0?(e.value=String(l),!0):!1)});return{errorMessage:e,validate:n,resetValidation:()=>{e.value=""},validateWithTrigger:(r,i,a,s,l)=>Pd(this,null,function*(){r.includes(i)&&(yield n(a,s,l))&&(e.value="")})}}function Dw(e){mo(()=>window,"hashchange",e),mo(()=>window,"popstate",e)}function qo(){const e=I(!1);return Ut(()=>{e.value=!1}),jo(()=>{e.value=!0}),{disabled:e}}function pe(e){const n="var",t=`${n}-${e}`,o=i=>i?i[0]==="$"?i.replace("$",n):i.startsWith("--")?`${t}${i}`:`${t}__${i}`:t,r=(...i)=>i.map(a=>{if(Qe(a)){const[s,l,u=null]=a;return s?l:u}return a});return{name:yw(t),n:o,classes:r}}function N(e,...n){if(Qe(e))return e.map(t=>t(...n));if(e)return e(...n)}function W(e){return{type:[Function,Array],default:e}}function In(e,n){return e===!1?null:(e===!0&&n&&(e=n),`var-elevation--${e}`)}function Vt(e,n,t={}){const{passive:o=!0,eventName:r,defaultValue:i,emit:a}=t,s=r??`onUpdate:${n.toString()}`,l=()=>e[n]!=null?e[n]:i;if(!o)return L({get(){return l()},set(c){a?a(s,c):N(e[s],c)}});const u=I(l());return Ce(()=>e[n],()=>{u.value=l()}),Ce(()=>u.value,c=>{a?a(s,c):N(e[s],c)}),u}var Aw=Object.defineProperty,Bw=Object.defineProperties,zw=Object.getOwnPropertyDescriptors,Od=Object.getOwnPropertySymbols,Vw=Object.prototype.hasOwnProperty,Rw=Object.prototype.propertyIsEnumerable,Td=(e,n,t)=>n in e?Aw(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,cm=(e,n)=>{for(var t in n||(n={}))Vw.call(n,t)&&Td(e,t,n[t]);if(Od)for(var t of Od(n))Rw.call(n,t)&&Td(e,t,n[t]);return e},Lw=(e,n)=>Bw(e,zw(n));const{n:dm}=pe("ripple"),Ed=250;function Uw(e){const{zIndex:n,position:t}=Wo(e);e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden",t==="static"&&(e.style.position="relative"),n==="auto"&&(e.style.zIndex="1")}function Fw(e,n){const{top:t,left:o}=pn(e),{clientWidth:r,clientHeight:i}=e,a=Math.sqrt(r**2+i**2)/2,s=a*2,l=n.touches[0].clientX-o,u=n.touches[0].clientY-t,c=(r-a*2)/2,d=(i-a*2)/2,f=l-a,v=u-a;return{x:f,y:v,centerX:c,centerY:d,size:s}}function fm(e){const n=this._ripple;if(n.removeRipple(),n.disabled||n.tasker||!Kn.enableRipple)return;const t=()=>{n.tasker=null;const{x:o,y:r,centerX:i,centerY:a,size:s}=Fw(this,e),l=document.createElement("div");l.classList.add(dm()),l.style.opacity="0",l.style.transform=`translate(${o}px, ${r}px) scale3d(.3, .3, .3)`,l.style.width=`${s}px`,l.style.height=`${s}px`,n.color&&(l.style.backgroundColor=n.color),l.dataset.createdAt=String(performance.now()),Uw(this),this.appendChild(l),window.setTimeout(()=>{l.style.transform=`translate(${i}px, ${a}px) scale3d(1, 1, 1)`,l.style.opacity=".25"},20)};n.tasker=window.setTimeout(t,30)}function el(){const e=this._ripple,n=()=>{const t=this.querySelectorAll(`.${dm()}`);if(!t.length)return;const o=t[t.length-1],r=Ed-performance.now()+Number(o.dataset.createdAt);window.setTimeout(()=>{o.style.opacity="0",window.setTimeout(()=>{var i;return(i=o.parentNode)==null?void 0:i.removeChild(o)},Ed)},r)};e.tasker?window.setTimeout(n,30):n()}function vm(){if(!hw()||!Kn.enableRipple)return;const e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function Hw(e,n){var t;e._ripple=Lw(cm({tasker:null},(t=n.value)!=null?t:{}),{removeRipple:el.bind(e)}),e.addEventListener("touchstart",fm,{passive:!0}),e.addEventListener("touchmove",vm,{passive:!0}),e.addEventListener("dragstart",el,{passive:!0}),document.addEventListener("touchend",e._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",e._ripple.removeRipple,{passive:!0}),document.addEventListener("dragend",e._ripple.removeRipple,{passive:!0})}function jw(e){e.removeEventListener("touchstart",fm),e.removeEventListener("touchmove",vm),e.removeEventListener("dragstart",el),document.removeEventListener("touchend",e._ripple.removeRipple),document.removeEventListener("touchcancel",e._ripple.removeRipple),document.removeEventListener("dragend",e._ripple.removeRipple)}function Yw(e,n){var t,o,r,i,a,s;const l={color:(t=n.value)==null?void 0:t.color,disabled:(o=n.value)==null?void 0:o.disabled};(l.color!==((r=e._ripple)==null?void 0:r.color)||l.disabled!==((i=e._ripple)==null?void 0:i.disabled))&&(e._ripple=cm({tasker:l.disabled?null:(a=e._ripple)==null?void 0:a.tasker,removeRipple:(s=e._ripple)==null?void 0:s.removeRipple},l))}const Ww={mounted:Hw,unmounted:jw,updated:Yw,install(e){e.directive("ripple",this)}};var vn=Ww;const Mi={show:Boolean,position:{type:String,default:"center"},transition:String,overlay:{type:Boolean,default:!0},overlayClass:String,overlayStyle:Object,lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},defaultStyle:{type:Boolean,default:!0},safeArea:Boolean,safeAreaTop:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),onClickOverlay:W(),"onUpdate:show":W(),onRouteChange:W()};function hm(){Object.keys(Kn.locks).length<=0?document.body.classList.remove("var--lock"):document.body.classList.add("var--lock")}function Yi(e){Kn.locks[e]=1,hm()}function Wi(e){delete Kn.locks[e],hm()}function Di(e,n){const{uid:t}=So();n&&Ce(n,o=>{o===!1?Wi(t):o===!0&&e()===!0&&Yi(t)}),Ce(e,o=>{n&&n()===!1||(o===!0?Yi(t):Wi(t))}),Bh(()=>{n&&n()===!1||e()===!0&&Yi(t)}),Ht(()=>{n&&n()===!1||e()===!0&&Wi(t)}),Ut(()=>{n&&n()===!1||e()===!0&&Yi(t)}),jo(()=>{n&&n()===!1||e()===!0&&Wi(t)})}function Ai(e,n){const t=I(Kn.zIndex);return Ce(e,o=>{o&&(Kn.zIndex+=n,t.value=Kn.zIndex)},{immediate:!0}),{zIndex:t}}const mm=Symbol("POPUP_BIND_POPUP_ITEM_KEY");function qw(){const{bindParent:e,parentProvider:n,index:t}=On(mm);return{index:t,popup:n,bindPopup:e}}function Kw(){const{bindChildren:e,childProviders:n,length:t}=Tn(mm);return{length:t,popupItems:n,bindPopupItems:e}}var Xw=Object.defineProperty,Nd=Object.getOwnPropertySymbols,Gw=Object.prototype.hasOwnProperty,Zw=Object.prototype.propertyIsEnumerable,Id=(e,n,t)=>n in e?Xw(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Jw=(e,n)=>{for(var t in n||(n={}))Gw.call(n,t)&&Id(e,t,n[t]);if(Nd)for(var t of Nd(n))Zw.call(n,t)&&Id(e,t,n[t]);return e};const{name:Qw,n:st,classes:Cs}=pe("popup");var pm=me({name:Qw,inheritAttrs:!1,props:Mi,setup(e,{slots:n,attrs:t}){const o=Pw(()=>e.show,!0),{zIndex:r}=Ai(()=>e.show,3),{disabled:i}=qo(),{bindPopupItems:a}=Kw();Di(()=>e.show,()=>e.lockScroll),Ce(()=>e.show,d=>{N(d?e.onOpen:e.onClose)}),a({show:L(()=>e.show)}),Dw(()=>N(e.onRouteChange));function s(){const{closeOnClickOverlay:d,onClickOverlay:f}=e;N(f),d&&N(e["onUpdate:show"],!1)}function l(){const{overlayClass:d="",overlayStyle:f}=e;return ie("div",{class:Cs(st("overlay"),d),style:Jw({zIndex:r.value-1},f),onClick:s},null)}function u(){return He(ie("div",Ze({class:Cs(st("content"),st(`--${e.position}`),[e.defaultStyle,st("--content-background-color")],[e.defaultStyle,st("$-elevation--3")],[e.safeArea,st("--safe-area")],[e.safeAreaTop,st("--safe-area-top")]),style:{zIndex:r.value}},t),[o.value&&N(n.default)]),[[kt,e.show]])}function c(){return ie(nn,{name:st("$-fade"),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[He(ie("div",{class:Cs(st("$--box"),st()),style:{zIndex:r.value-2}},[e.overlay&&l(),ie(nn,{name:e.transition||st(`$-pop-${e.position}`)},{default:()=>[u()]})]),[[kt,e.show]])]})}return()=>{const{teleport:d}=e;return d?ie(Et,{to:d,disabled:i.value},{default:()=>[c()]}):c()}}});be(pm);var po=pm;const dn={name:String,size:[Number,String],color:String,namespace:{type:String,default:"var-icon"},transition:{type:[Number,String],default:0},animationClass:String,onClick:W()};function Gn(e,n){throw Error(`Varlet [${e}]: ${n}`)}function Md(e,n){console.warn(`Varlet [${e}]: ${n}`)}function _w(e){const{left:n}=pn(e);return n+(document.body.scrollLeft||document.documentElement.scrollLeft)}function Dd(e){const{top:n}=pn(e);return n+(document.body.scrollTop||document.documentElement.scrollTop)}function Ss(e){const{transform:n}=Wo(e);return+n.slice(n.lastIndexOf(",")+2,n.length-1)}function go(e){let n=e;for(;n&&!(!n.parentNode||(n=n.parentNode,n===document.body||n===document.documentElement));){const t=/(scroll|auto)/,{overflowY:o,overflow:r}=Wo(n);if(t.test(o)||t.test(r))return n}return window}function xw(e){const n=[];let t=e;for(;!Zu(t);)t=go(t),n.push(t);return n}function gm(e,n){if(gn(e)){const t=document.querySelector(e);return t||Gn(n,"target element cannot found"),t}if(fw(e))return e;Gn(n,'type of prop "target" should be a selector or an element object')}function eC(){const{width:e,height:n}=pn(window);return{vw:e,vh:n,vMin:Math.min(e,n),vMax:Math.max(e,n)}}const bm=e=>gn(e)&&e.endsWith("rem"),nC=e=>gn(e)&&e.endsWith("em")&&!e.endsWith("rem"),tC=e=>gn(e)&&e.endsWith("px")||Rn(e),oC=e=>gn(e)&&e.endsWith("%"),ym=e=>gn(e)&&e.endsWith("vw"),$m=e=>gn(e)&&e.endsWith("vh"),wm=e=>gn(e)&&e.endsWith("vmin"),Cm=e=>gn(e)&&e.endsWith("vmax"),rC=e=>gn(e)&&e.startsWith("calc("),iC=e=>gn(e)&&e.startsWith("var("),rn=e=>{if(Rn(e))return e;if(tC(e))return+e.replace("px","");if(!jt())return 0;const{vw:n,vh:t,vMin:o,vMax:r}=eC();if(ym(e))return+e.replace("vw","")*n/100;if($m(e))return+e.replace("vh","")*t/100;if(wm(e))return+e.replace("vmin","")*o/100;if(Cm(e))return+e.replace("vmax","")*r/100;if(bm(e)){const i=+e.replace("rem",""),a=Wo(document.documentElement).fontSize;return i*parseFloat(a)}return gn(e)?K(e):0},ze=e=>{if(e!=null)return oC(e)||ym(e)||$m(e)||nC(e)||bm(e)||rC(e)||iC(e)||wm(e)||Cm(e)?e:`${rn(e)}px`},Dn=(e,n=1)=>{if(e==null)return;const t=ze(e),o=t.match(/(vh|%|r?em|px|vw|vmin|vmax)$/)[0];return`${parseFloat(t)*n}${o}`};function vi(e,{top:n=0,left:t=0,duration:o=300,animation:r}){const i=Date.now(),a=hr(e),s=Ju(e);return new Promise(l=>{const u=()=>{const c=(Date.now()-i)/o;if(c<1){const d=a+(n-a)*r(c),f=s+(t-s)*r(c);e.scrollTo(f,d),requestAnimationFrame(u)}else e.scrollTo(t,n),l()};requestAnimationFrame(u)})}function Sm(e){return Object.entries(e??{}).reduce((n,[t,o])=>{const r=t.startsWith("--")?t:`--${rm(t)}`;return n[r]=o,n},{})}function $a(e){return e==="start"||e==="end"?`flex-${e}`:e}var aC=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:sC,n:lC,classes:uC}=pe("icon");function cC(e,n){return C(),Ae(Er(e.isURL(e.name)?"img":"i"),{class:m(e.classes(e.n(),[e.namespace!==e.n(),e.namespace],`${e.namespace}--set`,[e.isURL(e.name),e.n("image"),`${e.namespace}-${e.nextName}`],[e.animateInProgress,e.animationClass==null?e.n("--shrinking"):e.animationClass])),style:te({color:e.color,"transition-duration":`${e.toNumber(e.transition)}ms`,width:e.isURL(e.name)?e.toSizeUnit(e.size):null,height:e.isURL(e.name)?e.toSizeUnit(e.size):null,fontSize:e.toSizeUnit(e.size)}),src:e.isURL(e.name)?e.nextName:null,onClick:e.onClick},null,8,["class","style","src","onClick"])}const km=me({name:sC,props:dn,setup(e){const n=I(""),t=I(!1);Ce(()=>e.name,o,{immediate:!0});function o(r,i){return aC(this,null,function*(){const{transition:a}=e;if(i==null||K(a)===0){n.value=r;return}t.value=!0,yield en(),setTimeout(()=>{i!=null&&(n.value=r),t.value=!1},K(a))})}return{nextName:n,animateInProgress:t,n:lC,classes:uC,isURL:vw,toNumber:K,toSizeUnit:ze}}});km.render=cC;var Pm=km;be(Pm);var tn=Pm,dC=Object.defineProperty,Ad=Object.getOwnPropertySymbols,fC=Object.prototype.hasOwnProperty,vC=Object.prototype.propertyIsEnumerable,Bd=(e,n,t)=>n in e?dC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,hC=(e,n)=>{for(var t in n||(n={}))fC.call(n,t)&&Bd(e,t,n[t]);if(Ad)for(var t of Ad(n))vC.call(n,t)&&Bd(e,t,n[t]);return e};const mC=hC({show:Boolean,title:String,actions:{type:Array,default:()=>[]},closeOnClickAction:{type:Boolean,default:!0},onSelect:W(),"onUpdate:show":W()},Fe(Mi,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","safeArea","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"]));var Om={dialogTitle:"提示",dialogConfirmButtonText:"确认",dialogCancelButtonText:"取消",actionSheetTitle:"请选择",listLoadingText:"加载中",listFinishedText:"没有更多了",listErrorText:"加载失败",pickerTitle:"请选择",pickerConfirmButtonText:"确认",pickerCancelButtonText:"取消",datePickerMonthDict:{"01":{name:"一月",abbr:"一月"},"02":{name:"二月",abbr:"二月"},"03":{name:"三月",abbr:"三月"},"04":{name:"四月",abbr:"四月"},"05":{name:"五月",abbr:"五月"},"06":{name:"六月",abbr:"六月"},"07":{name:"七月",abbr:"七月"},"08":{name:"八月",abbr:"八月"},"09":{name:"九月",abbr:"九月"},10:{name:"十月",abbr:"十月"},11:{name:"十一月",abbr:"十一月"},12:{name:"十二月",abbr:"十二月"}},datePickerWeekDict:{0:{name:"星期日",abbr:"日"},1:{name:"星期一",abbr:"一"},2:{name:"星期二",abbr:"二"},3:{name:"星期三",abbr:"三"},4:{name:"星期四",abbr:"四"},5:{name:"星期五",abbr:"五"},6:{name:"星期六",abbr:"六"}},datePickerSelected:"个被选择",paginationItem:"条",paginationPage:"页",paginationJump:"前往",timePickerHint:"选择时间"},pC={dialogTitle:"Hint",dialogConfirmButtonText:"Confirm",dialogCancelButtonText:"Cancel",actionSheetTitle:"Select One",listLoadingText:"Loading",listFinishedText:"No more",listErrorText:"Load fail",pickerTitle:"Pick it",pickerConfirmButtonText:"Confirm",pickerCancelButtonText:"Cancel",datePickerMonthDict:{"01":{name:"January",abbr:"JAN"},"02":{name:"February",abbr:"FEB"},"03":{name:"March",abbr:"MAR"},"04":{name:"April",abbr:"APR"},"05":{name:"May",abbr:"MAY"},"06":{name:"June",abbr:"JUN"},"07":{name:"July",abbr:"JUL"},"08":{name:"August",abbr:"AUG"},"09":{name:"September",abbr:"SEP"},10:{name:"October",abbr:"OCT"},11:{name:"November",abbr:"NOV"},12:{name:"December",abbr:"DEC"}},datePickerWeekDict:{0:{name:"Sunday",abbr:"S"},1:{name:"Monday",abbr:"M"},2:{name:"Tuesday",abbr:"T"},3:{name:"Wednesday",abbr:"W"},4:{name:"Thursday",abbr:"T"},5:{name:"Friday",abbr:"F"},6:{name:"Saturday",abbr:"S"}},datePickerSelected:" selected",paginationItem:"",paginationPage:"page",paginationJump:"Go to",timePickerHint:"SELECT TIME"},Tm={dialogTitle:"提示",dialogConfirmButtonText:"確認",dialogCancelButtonText:"取消",actionSheetTitle:"請選擇",listLoadingText:"載入中",listFinishedText:"沒有更多了",listErrorText:"載入失敗",pickerTitle:"請選擇",pickerConfirmButtonText:"確認",pickerCancelButtonText:"取消",datePickerMonthDict:{"01":{name:"一月",abbr:"一月"},"02":{name:"二月",abbr:"二月"},"03":{name:"三月",abbr:"三月"},"04":{name:"四月",abbr:"四月"},"05":{name:"五月",abbr:"五月"},"06":{name:"六月",abbr:"六月"},"07":{name:"七月",abbr:"七月"},"08":{name:"八月",abbr:"八月"},"09":{name:"九月",abbr:"九月"},10:{name:"十月",abbr:"十月"},11:{name:"十一月",abbr:"十一月"},12:{name:"十二月",abbr:"十二月"}},datePickerWeekDict:{0:{name:"星期日",abbr:"日"},1:{name:"星期一",abbr:"一"},2:{name:"星期二",abbr:"二"},3:{name:"星期三",abbr:"三"},4:{name:"星期四",abbr:"四"},5:{name:"星期五",abbr:"五"},6:{name:"星期六",abbr:"六"}},datePickerSelected:"個被選擇",paginationItem:"條",paginationPage:"頁",paginationJump:"前往"},gC=Tm,bC=Object.defineProperty,zd=Object.getOwnPropertySymbols,yC=Object.prototype.hasOwnProperty,$C=Object.prototype.propertyIsEnumerable,Vd=(e,n,t)=>n in e?bC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Rd=(e,n)=>{for(var t in n||(n={}))yC.call(n,t)&&Vd(e,t,n[t]);if(zd)for(var t of zd(n))$C.call(n,t)&&Vd(e,t,n[t]);return e};function Em(){const e={},n=I({}),t=(i,a)=>{a.lang=i,e[i]=a},o=i=>{if(!e[i])return console.warn(`The ${i} does not exist. You can mount a language package using the add method`),{};n.value=e[i]};return{packs:e,pack:n,add:t,use:o,merge:(i,a)=>{if(!e[i]){console.warn(`The ${i} does not exist. You can mount a language package using the add method`);return}e[i]=Rd(Rd({},e[i]),a),o(i)}}}const{packs:wC,pack:bn,add:Nm,use:Im,merge:CC}=Em();Nm("zh-CN",Om);Im("zh-CN");var nl={zhCN:Om,enUS:pC,zhTW:Tm,zhHK:gC,packs:wC,pack:bn,add:Nm,use:Im,merge:CC,useLocale:Em};const{name:SC,n:kC,classes:PC}=pe("action-sheet"),OC=["onClick"];function TC(e,n){const t=we("var-icon"),o=we("var-popup"),r=Ge("ripple");return C(),Ae(o,Ze({class:e.n("popup-radius"),position:"bottom",show:e.popupShow,overlay:e.overlay,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,teleport:e.teleport,"safe-area":e.safeArea},{"onUpdate:show":e.handlePopupUpdateShow},{onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange}),{default:Te(()=>[R("div",Ze({class:e.classes(e.n(),e.n("$--box"))},e.$attrs),[X(e.$slots,"title",{},()=>{var i;return[R("div",{class:m(e.n("title"))},$e((i=e.title)!=null?i:e.pack.actionSheetTitle),3)]}),X(e.$slots,"actions",{},()=>[(C(!0),M(Re,null,un(e.actions,i=>He((C(),M("div",{class:m(e.classes(e.n("action-item"),i.className,[i.disabled,e.n("--disabled")])),key:i.name,style:te({color:i.color}),onClick:a=>e.handleSelect(i)},[i.icon?(C(),Ae(t,{key:0,class:m(e.n("action-icon")),"var-action-sheet-cover":"",namespace:i.namespace,name:i.icon,size:i.iconSize},null,8,["class","namespace","name","size"])):he("v-if",!0),R("div",{class:m(e.n("action-name"))},$e(i.name),3)],14,OC)),[[r,{disabled:i.disabled}]])),128))])],16)]),_:3},16,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","safe-area","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const Mm=me({name:SC,directives:{Ripple:vn},components:{VarPopup:po,VarIcon:tn},inheritAttrs:!1,props:mC,setup(e){const n=I(!1);Ce(()=>e.show,r=>{n.value=r},{immediate:!0});function t(r){if(r.disabled)return;const{closeOnClickAction:i,onSelect:a}=e;N(a,r),i&&N(e["onUpdate:show"],!1)}function o(r){N(e["onUpdate:show"],r)}return{popupShow:n,pack:bn,n:kC,classes:PC,handlePopupUpdateShow:o,handleSelect:t}}});Mm.render=TC;var Za=Mm,EC=Object.defineProperty,Ld=Object.getOwnPropertySymbols,NC=Object.prototype.hasOwnProperty,IC=Object.prototype.propertyIsEnumerable,Ud=(e,n,t)=>n in e?EC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Fd=(e,n)=>{for(var t in n||(n={}))NC.call(n,t)&&Ud(e,t,n[t]);if(Ld)for(var t of Ld(n))IC.call(n,t)&&Ud(e,t,n[t]);return e};let eo,xu={};function MC(e={}){return Fd(Fd({},xu),e)}function Ko(e){return jt()?new Promise(n=>{Ko.close();const t=Xe(MC(e));t.teleport="body",eo=t;const{unmountInstance:o}=Ar(Za,t,{onSelect:r=>{N(t.onSelect,r),n(r)},onClose:()=>{N(t.onClose),n("close")},onClosed:()=>{N(t.onClosed),o(),eo===t&&(eo=null)},onRouteChange:()=>{o(),eo===t&&(eo=null)},"onUpdate:show":r=>{t.show=r}});t.show=!0}):Promise.resolve()}Ko.setDefaultOptions=function(e){xu=e};Ko.resetDefaultOptions=function(){xu={}};Ko.close=function(){if(eo!=null){const e=eo;eo=null,en().then(()=>{e.show=!1})}};Ko.Component=Za;be(Za);be(Za,Ko);var tl=Ko;const DC={color:String,textColor:String,title:String,titlePosition:{type:String,default:"left"},elevation:{type:[Boolean,String,Number],default:!0},round:Boolean,image:String,imageLinearGradient:String,safeAreaTop:Boolean},{name:AC,n:BC,classes:zC}=pe("app-bar");function VC(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.safeAreaTop,e.n("--safe-area-top")],[e.round,e.n("--round")],e.formatElevation(e.elevation,3))),style:te(e.rootStyles)},[R("div",{class:m(e.n("toolbar"))},[R("div",{class:m(e.n("left"))},[X(e.$slots,"left"),e.titlePosition==="left"?(C(),M("div",{key:0,class:m(e.n("title")),style:te({paddingLeft:e.paddingLeft})},[X(e.$slots,"default",{},()=>[je($e(e.title),1)])],6)):he("v-if",!0)],2),e.titlePosition==="center"?(C(),M("div",{key:0,class:m(e.n("title"))},[X(e.$slots,"default",{},()=>[je($e(e.title),1)])],2)):he("v-if",!0),R("div",{class:m(e.n("right"))},[e.titlePosition==="right"?(C(),M("div",{key:0,class:m(e.n("title")),style:te({paddingRight:e.paddingRight})},[X(e.$slots,"default",{},()=>[je($e(e.title),1)])],6)):he("v-if",!0),X(e.$slots,"right")],2)],2),X(e.$slots,"content")],6)}const Dm=me({name:AC,props:DC,setup(e,{slots:n}){const t=I(),o=I(),r=L(()=>{const{image:a,color:s,textColor:l,imageLinearGradient:u}=e;return a!=null?{"background-image":`${u?`linear-gradient(${u}), `:""}url(${a})`,"background-position":"center center","background-size":"cover"}:{background:s,color:l}});Pn(i),Yo(i);function i(){t.value=n.left?0:void 0,o.value=n.right?0:void 0}return{rootStyles:r,paddingLeft:t,paddingRight:o,n:BC,classes:zC,formatElevation:In}}});Dm.render=VC;var Am=Dm;be(Am);var ol=Am;const Hd=e=>gn(e)?e.startsWith("data:image")||/\.(png|jpg|gif|jpeg|svg|webp|ico)$/i.test(e):!1,jd=e=>gn(e)?e.startsWith("data:video")||/\.(mp4|webm|ogg)$/.test(e):!1,RC=e=>{const n=[];return{cache:n,has(t){return this.cache.includes(t)},add(t){this.has(t)||(this.cache.length===e&&n.shift(),this.cache.push(t))},remove(t){this.has(t)&&ba(this.cache,t)},clear(){this.cache.length=0}}},rl=e=>e,Yd=e=>e**3,Bm=e=>e<.5?Yd(e*2)/2:1-Yd((1-e)*2)/2,Ro=(e="",n,t="")=>{if(e.length>=n)return e;const o=n-e.length,r=Math.floor(o/t.length);return t.repeat(r)+t.slice(0,o%t.length)+e};var LC=Object.defineProperty,Wd=Object.getOwnPropertySymbols,UC=Object.prototype.hasOwnProperty,FC=Object.prototype.propertyIsEnumerable,qd=(e,n,t)=>n in e?LC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,HC=(e,n)=>{for(var t in n||(n={}))UC.call(n,t)&&qd(e,t,n[t]);if(Wd)for(var t of Wd(n))FC.call(n,t)&&qd(e,t,n[t]);return e},Ja=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const jC="background-image",YC="lazy-loading",WC="lazy-error",Kd="lazy-attempt",qC=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],il="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",mr=[],wa=[],zm=RC(100),hn={loading:il,error:il,attempt:3,throttleWait:300,events:qC};let ec=Qu(Bi,hn.throttleWait);function Qa(e,n){e._lazy.arg===jC?e.style.backgroundImage=`url(${n})`:e.setAttribute("src",n)}function KC(e){e._lazy.loading&&Qa(e,e._lazy.loading),Bi()}function XC(e){e._lazy.error&&Qa(e,e._lazy.error),e._lazy.state="error",tc(e),Bi()}function Vm(e,n){Qa(e,n),e._lazy.state="success",tc(e),Bi()}function GC(e){var n;wa.includes(e)||(wa.push(e),(n=hn.events)==null||n.forEach(t=>{e.addEventListener(t,ec,{passive:!0})}))}function ZC(){wa.forEach(e=>{var n;(n=hn.events)==null||n.forEach(t=>{e.removeEventListener(t,ec)})}),wa.length=0}function JC(e,n){var t,o;const r={loading:(t=e.getAttribute(YC))!=null?t:hn.loading,error:(o=e.getAttribute(WC))!=null?o:hn.error,attempt:e.getAttribute(Kd)?Number(e.getAttribute(Kd)):hn.attempt};e._lazy=HC({src:n.value,arg:n.arg,currentAttempt:0,state:"pending",attemptLock:!1},r),Qa(e,il),N(hn.filter,e._lazy)}function QC(e,n){const t=new Image;t.src=n,e._lazy.preloadImage=t,t.addEventListener("load",()=>{e._lazy.attemptLock=!1,zm.add(n),Vm(e,n)}),t.addEventListener("error",()=>{e._lazy.attemptLock=!1,e._lazy.currentAttempt>=e._lazy.attempt?XC(e):Rm(e)})}function Rm(e){if(e._lazy.attemptLock)return;e._lazy.attemptLock=!0,e._lazy.currentAttempt++;const{src:n}=e._lazy;if(zm.has(n)){Vm(e,n),e._lazy.attemptLock=!1;return}KC(e),QC(e,n)}function nc(e){return Ja(this,null,function*(){yield Bn(),pw(e)&&Rm(e)})}function Bi(){mr.forEach(e=>nc(e))}function _C(e){return Ja(this,null,function*(){!mr.includes(e)&&mr.push(e),xw(e).forEach(GC),yield nc(e)})}function tc(e){ba(mr,e),mr.length===0&&ZC()}function xC(e,n){const{src:t,arg:o}=e._lazy;return t!==n.value||o!==n.arg}function Lm(e,n){return Ja(this,null,function*(){JC(e,n),yield _C(e)})}function eS(e,n){return Ja(this,null,function*(){if(!xC(e,n)){mr.includes(e)&&(yield nc(e));return}yield Lm(e,n)})}function nS(e={}){const{events:n,loading:t,error:o,attempt:r,throttleWait:i,filter:a}=e;hn.events=n??hn.events,hn.loading=t??hn.loading,hn.error=o??hn.error,hn.attempt=r??hn.attempt,hn.throttleWait=i??hn.throttleWait,hn.filter=a}const tS={mounted:Lm,unmounted:tc,updated:eS,install(e,n){nS(n),ec=Qu(Bi,hn.throttleWait),e.directive("lazy",this)}};var hi=tS;const oS={round:{type:Boolean,default:!0},size:{type:[String,Number],default:"normal"},alt:String,color:String,src:String,fit:{type:String,default:"cover"},bordered:Boolean,borderColor:String,loading:String,error:String,lazy:Boolean,hoverable:Boolean,onClick:W(),onLoad:W(),onError:W()},rS=e=>["mini","small","normal","large"].includes(e),{name:iS,n:aS,classes:sS}=pe("avatar"),lS=["src","alt","lazy-loading","lazy-error"],uS=["src","alt"];function cS(e,n){const t=Ge("lazy");return C(),M("div",{ref:"avatarElement",class:m(e.classes(e.n(),e.n("$--box"),[e.isInternalSize(e.size),e.n(`--${e.size}`)],[e.round,e.n("--round")],[e.bordered,e.n("--bordered")],[e.hoverable,e.n("--hoverable")])),style:te({width:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),height:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),borderColor:e.borderColor,backgroundColor:e.color}),onClick:n[3]||(n[3]=(...o)=>e.handleClick&&e.handleClick(...o))},[e.src?(C(),M(Re,{key:0},[e.lazy?He((C(),M("img",{key:0,class:m(e.n("image")),src:e.src,alt:e.alt,style:te({objectFit:e.fit}),"lazy-loading":e.loading,"lazy-error":e.error,onLoad:n[0]||(n[0]=(...o)=>e.handleLoad&&e.handleLoad(...o))},null,46,lS)),[[t,e.src]]):(C(),M("img",{key:1,class:m(e.n("image")),src:e.src,alt:e.alt,style:te({objectFit:e.fit}),onLoad:n[1]||(n[1]=(...o)=>e.handleLoad&&e.handleLoad(...o)),onError:n[2]||(n[2]=(...o)=>e.handleError&&e.handleError(...o))},null,46,uS))],64)):(C(),M("div",{key:1,ref:"textElement",class:m(e.n("text")),style:te({transform:`scale(${e.scale})`})},[X(e.$slots,"default")],6))],6)}const Um=me({name:iS,directives:{Lazy:hi},props:oS,setup(e){const n=I(null),t=I(null),o=I(1);Pn(r),Yo(r);function r(){if(!n.value||!t.value){o.value=1;return}const l=n.value.offsetWidth,u=t.value.offsetWidth;l>u?o.value=1:o.value=l/u}function i(l){const u=l.currentTarget,{lazy:c,onLoad:d,onError:f}=e;c?(u._lazy.state==="success"&&N(d,l),u._lazy.state==="error"&&N(f,l)):N(d,l)}function a(l){N(e.onError,l)}function s(l){N(e.onClick,l)}return{avatarElement:n,textElement:t,scale:o,n:aS,classes:sS,isInternalSize:rS,toSizeUnit:ze,handleLoad:i,handleError:a,handleClick:s}}});Um.render=cS;var Fm=Um;be(Fm);var al=Fm;const dS={offset:[Number,String],vertical:Boolean},{name:fS,n:vS,classes:hS}=pe("avatar-group");function mS(e,n){return C(),M("div",{class:m(e.classes(e.n(),[e.vertical,e.n("--column"),e.n("--row")])),style:te(e.rootStyles)},[X(e.$slots,"default")],6)}const Hm=me({name:fS,props:dS,setup(e){return{rootStyles:L(()=>e.offset==null?{}:{"--avatar-group-offset":ze(e.offset)}),n:vS,classes:hS,toSizeUnit:ze}}});Hm.render=mS;var jm=Hm;be(jm);var sl=jm;const oo={type:{type:String,default:"circle"},radius:[String,Number],size:{type:String,default:"normal"},color:String,description:String,loading:Boolean},{name:pS,n:gS,classes:bS}=pe("loading"),yS=e=>($o(""),e=e(),wo(),e),$S=yS(()=>R("svg",{viewBox:"25 25 50 50"},[R("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1)),wS=[$S];function CS(e,n){return C(),M("div",{class:m(e.n())},[e.$slots.default?(C(),M("div",{key:0,class:m(e.classes(e.n("content"),[e.loading,e.n("content--active")]))},[X(e.$slots,"default"),e.loading?(C(),M("div",{key:0,class:m(e.n("content-mask"))},null,2)):he("v-if",!0)],2)):he("v-if",!0),e.isShow?(C(),M("div",{key:1,class:m(e.classes(e.n("$--box"),e.n("body"),[e.$slots.default,e.n("inside")]))},[e.type==="circle"?(C(),M("div",{key:0,class:m(e.n("circle"))},[R("span",{class:m(e.classes(e.n("circle-block"),e.n(`circle-block--${e.size}`))),style:te({width:e.multiplySizeUnit(e.radius,2),height:e.multiplySizeUnit(e.radius,2),color:e.color})},wS,6)],2)):he("v-if",!0),(C(!0),M(Re,null,un(e.loadingTypeDict,(t,o)=>(C(),M(Re,{key:o},[e.type===o?(C(),M("div",{key:0,class:m(e.classes(e.n(o),e.n(`${o}--${e.size}`)))},[(C(!0),M(Re,null,un(t,r=>(C(),M("div",{key:r+o,style:te({backgroundColor:e.color}),class:m(e.classes(e.n(`${o}-item`),e.n(`${o}-item--${e.size}`)))},null,6))),128))],2)):he("v-if",!0)],64))),128)),e.$slots.description||e.description?(C(),M("div",{key:1,class:m(e.classes(e.n("description"),e.n(`description--${e.size}`))),style:te({color:e.color})},[X(e.$slots,"description",{},()=>[je($e(e.description),1)])],6)):he("v-if",!0)],2)):he("v-if",!0)],2)}const Ym=me({name:pS,props:oo,setup(e,{slots:n}){const t=L(()=>N(n.default)?e.loading:!0);return{loadingTypeDict:{wave:5,cube:4,rect:8,disappear:3},isShow:t,n:gS,classes:bS,multiplySizeUnit:Dn}}});Ym.render=CS;var Wm=Ym;be(Wm);var pr=Wm;const SS={hovering:{type:Boolean,default:!0}},{name:kS,n:PS,classes:OS}=pe("hover-overlay");function TS(e,n){return C(),M("div",{class:m(e.classes(e.n(),[e.hovering,e.n("--hovering")]))},null,2)}const qm=me({name:kS,props:SS,setup:()=>({n:PS,classes:OS})});qm.render=TS;var Km=qm;be(Km);function Pt(){const e=I(!1);return{hovering:e,handleHovering:t=>{e.value=t}}}var tt=Km;function Xm(e){if(!e)return!1;const n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return!!(e==="desktop"&&n||e==="mobile"&&!n)}function ES(e){const n=e.getAttribute("style");return n?n.split(";").filter(Boolean).reduce((t,o)=>{const[r,i]=o.split(":").map(a=>a.trim());return t[_u(r)]=i,t},{}):{}}function NS(e){const{value:n}=e._hover,t=ES(e);Object.keys(n).forEach(o=>{const r=_u(o);n[r]!=null&&t[r]&&(e._hover.rawStyle[r]=t[r])})}function oc(e,n){Object.keys(n).forEach(t=>{const o=n[t];o!=null&&(e.style[t]=o)})}function IS(e){Object.keys(e._hover.value).forEach(n=>{e._hover.value[n]!=null&&(e.style[n]="")})}function Gm(e){IS(e),oc(e,e._hover.rawStyle)}function Zm(){const{value:e}=this._hover;if(this._hover.hovering=!0,Ir(e)){e(this._hover.hovering);return}oc(this,e)}function Jm(){if(this._hover.hovering=!1,Ir(this._hover.value)){this._hover.value(this._hover.hovering);return}Gm(this)}function Qm(e,n){var t,o;const{arg:r,value:i}=n;Xm(r)||(e._hover={value:i,hovering:(o=(t=e._hover)==null?void 0:t.hovering)!=null?o:!1,rawStyle:{}},NS(e),e.addEventListener("mouseenter",Zm),e.addEventListener("mouseleave",Jm))}function _m(e,n){Xm(n.arg)||(Gm(e),e.removeEventListener("mouseenter",Zm),e.removeEventListener("mouseleave",Jm))}function MS(e,n){e._hover&&_m(e,n)}function DS(e,n){return!Ir(n.value)&&e._hover.hovering}function AS(e,n){Qm(e,n),DS(e,n)&&oc(e,n.value)}const BS={mounted:Qm,unmounted:_m,beforeUpdate:MS,updated:AS,install(e){e.directive("hover",this)}};var Zn=BS,zS=Object.defineProperty,VS=Object.defineProperties,RS=Object.getOwnPropertyDescriptors,Xd=Object.getOwnPropertySymbols,LS=Object.prototype.hasOwnProperty,US=Object.prototype.propertyIsEnumerable,Gd=(e,n,t)=>n in e?zS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,FS=(e,n)=>{for(var t in n||(n={}))LS.call(n,t)&&Gd(e,t,n[t]);if(Xd)for(var t of Xd(n))US.call(n,t)&&Gd(e,t,n[t]);return e},HS=(e,n)=>VS(e,RS(n));const jS={type:String,nativeType:{type:String,default:"button"},size:String,loading:Boolean,round:Boolean,block:Boolean,text:Boolean,outline:Boolean,disabled:Boolean,autoLoading:Boolean,ripple:{type:Boolean,default:!0},color:String,textColor:String,elevation:{type:[Boolean,Number,String],default:!0},loadingRadius:[Number,String],loadingType:Fe(oo,"type"),loadingSize:Fe(oo,"size"),loadingColor:HS(FS({},Fe(oo,"color")),{default:"currentColor"}),onClick:W(),onTouchstart:W()},xm=Symbol("BUTTON_GROUP_BIND_BUTTON_KEY");function YS(){const{bindChildren:e,childProviders:n,length:t}=Tn(xm);return{length:t,buttons:n,bindButtons:e}}function WS(){const{bindParent:e,parentProvider:n,index:t}=On(xm);return{index:t,buttonGroup:n,bindButtonGroup:e}}const{name:qS,n:KS,classes:XS}=pe("button"),GS=["type","disabled"];function ZS(e,n){const t=we("var-loading"),o=we("var-hover-overlay"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("button",{class:m(e.classes(e.n(),e.n("$--box"),e.n(`--${e.states.size}`),[e.block,`${e.n("$--flex")} ${e.n("--block")}`,e.n("$--inline-flex")],[e.disabled,e.n("--disabled")],[e.states.text,`${e.n(`--text-${e.states.type}`)} ${e.n("--text")}`,`${e.n(`--${e.states.type}`)} ${e.states.elevation}`],[e.states.text&&e.disabled,e.n("--text-disabled")],[e.round,e.n("--round")],[e.states.outline,e.n("--outline")])),style:te({color:e.states.textColor,background:e.states.color}),type:e.nativeType,disabled:e.disabled,onClick:n[0]||(n[0]=(...a)=>e.handleClick&&e.handleClick(...a)),onTouchstart:n[1]||(n[1]=(...a)=>e.handleTouchstart&&e.handleTouchstart(...a))},[e.loading||e.pending?(C(),Ae(t,{key:0,class:m(e.n("loading")),"var-button-cover":"",color:e.loadingColor,type:e.loadingType,size:e.loadingSize,radius:e.loadingRadius},null,8,["class","color","type","size","radius"])):he("v-if",!0),R("div",{class:m(e.classes(e.n("content"),[e.loading||e.pending,e.n("--hidden")]))},[X(e.$slots,"default")],2),ie(o,{hovering:e.disabled?!1:e.hovering},null,8,["hovering"])],46,GS)),[[r,{disabled:e.disabled||!e.ripple}],[i,e.handleHovering,"desktop"]])}const ep=me({name:qS,components:{VarLoading:pr,VarHoverOverlay:tt},directives:{Ripple:vn,Hover:Zn},props:jS,setup(e){const n=I(!1),{buttonGroup:t}=WS(),{hovering:o,handleHovering:r}=Pt(),i=L(()=>{if(!t)return{elevation:In(e.elevation,2),type:e.type!=null?e.type:"default",size:e.size!=null?e.size:"normal",color:e.color,text:e.text,textColor:e.textColor,outline:e.outline};const{type:u,size:c,color:d,textColor:f,mode:v}=t;return{elevation:"",type:e.type!=null?e.type:u.value,size:e.size!=null?e.size:c.value,color:e.color!=null?e.color:d.value,textColor:e.textColor!=null?e.textColor:f.value,text:v.value!=="normal",outline:v.value==="outline"}});function a(u){e.autoLoading&&(n.value=!0,u=Qe(u)?u:[u],Promise.all(u).then(()=>{n.value=!1}).catch(()=>{n.value=!1}))}function s(u){const{loading:c,disabled:d,onClick:f}=e;!f||c||d||n.value||a(N(f,u))}function l(u){const{loading:c,disabled:d,onTouchstart:f}=e;!f||c||d||n.value||a(N(f,u))}return{pending:n,states:i,hovering:o,n:KS,classes:XS,handleHovering:r,handleClick:s,handleTouchstart:l}}});ep.render=ZS;var np=ep;be(np);var Un=np;const JS={visibilityHeight:{type:[Number,String],default:200},duration:{type:Number,default:300},right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},bottom:[Number,String],target:[String,Object],onClick:W()},{name:QS,n:_S,classes:xS}=pe("back-top");function ek(e,n){const t=we("var-icon"),o=we("var-button");return C(),Ae(Et,{to:"body",disabled:e.disabled},[R("div",Ze({class:e.classes(e.n(),[e.show,e.n("--active")]),ref:"backTopEl",style:{right:e.toSizeUnit(e.right),bottom:e.toSizeUnit(e.bottom)}},e.$attrs,{onClick:n[0]||(n[0]=Xn((...r)=>e.handleClick&&e.handleClick(...r),["stop"]))}),[X(e.$slots,"default",{},()=>[ie(o,{elevation:e.elevation,type:"primary",round:"","var-back-top-cover":""},{default:Te(()=>[ie(t,{name:"chevron-up"})]),_:1},8,["elevation"])])],16)],8,["disabled"])}const tp=me({name:QS,components:{VarButton:Un,VarIcon:tn},inheritAttrs:!1,props:JS,setup(e){const n=I(!1),t=I(null),o=I(!0);let r;const i=Qu(()=>{n.value=hr(r)>=rn(e.visibilityHeight)},200);Co(()=>{s(),l(),o.value=!1}),Ut(l),Ga(u);function a(c){N(e.onClick,c);const d=Ju(r);vi(r,{left:d,duration:e.duration,animation:Bm})}function s(){r=e.target?gm(e.target,"BackTop"):go(t.value)}function l(){r.addEventListener("scroll",i)}function u(){r.removeEventListener("scroll",i)}return{disabled:o,show:n,backTopEl:t,toSizeUnit:ze,n:_S,classes:xS,handleClick:a}}});tp.render=ek;var op=tp;be(op);var ll=op;const nk={type:{type:String,default:"default"},position:{type:String,default:"right-top"},hidden:Boolean,value:{type:[String,Number],default:0},maxValue:[String,Number],dot:Boolean,icon:Fe(dn,"name"),namespace:Fe(dn,"namespace"),color:String},{name:tk,n:ok,classes:rk}=pe("badge");function ik(e,n){const t=we("var-icon");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[X(e.$slots,"default"),ie(nn,{name:e.n("$-badge-fade"),persisted:""},{default:Te(()=>[He(R("span",Ze({class:e.classes(e.n("content"),e.n(`--${e.type}`),[e.$slots.default,e.n(`--${e.position}`)],[e.dot,e.n("--dot")],[e.icon,e.n("--icon")]),style:{background:e.color}},e.$attrs),[e.icon?(C(),Ae(t,{key:0,class:m(e.n("icon")),"var-badge-cover":"",name:e.icon,namespace:e.namespace},null,8,["class","name","namespace"])):he("v-if",!0),X(e.$slots,"value",{},()=>[!e.icon&&!e.dot?(C(),M("span",{key:0,class:m(e.n("value"))},$e(e.value),3)):he("v-if",!0)])],16),[[kt,!e.hidden]])]),_:3},8,["name"])],2)}const rp=me({name:tk,components:{VarIcon:tn},inheritAttrs:!1,props:nk,setup(e){return{value:L(()=>{const{value:t,maxValue:o}=e;return t!=null&&o!=null&&K(t)>K(o)?`${o}+`:t}),n:ok,classes:rk}}});rp.render=ik;var ip=rp;be(ip);var Ca=ip;const ak={active:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:1},fixed:Boolean,border:Boolean,safeArea:Boolean,activeColor:String,inactiveColor:String,fabProps:Object,onChange:W(),onBeforeChange:W(),onFabClick:W(),"onUpdate:active":W()},ap=Symbol("BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY");function sk(){const{childProviders:e,length:n,bindChildren:t}=Tn(ap);return{length:n,bottomNavigationItems:e,bindBottomNavigationItem:t}}var lk=Object.defineProperty,Zd=Object.getOwnPropertySymbols,uk=Object.prototype.hasOwnProperty,ck=Object.prototype.propertyIsEnumerable,Jd=(e,n,t)=>n in e?lk(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Qd=(e,n)=>{for(var t in n||(n={}))uk.call(n,t)&&Jd(e,t,n[t]);if(Zd)for(var t of Zd(n))ck.call(n,t)&&Jd(e,t,n[t]);return e};const{name:dk,n:fk,classes:vk}=pe("bottom-navigation"),{n:_a}=pe("bottom-navigation-item"),_d=_a("--right-half-space"),xd=_a("--left-half-space"),ef=_a("--right-space"),hk={type:"primary"};function mk(e,n){const t=we("var-button");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.fixed,e.n("--fixed")],[e.border,e.n("--border")],[e.safeArea,e.n("--safe-area")])),ref:"bottomNavigationDom",style:te(`z-index:${e.zIndex}`)},[X(e.$slots,"default"),e.$slots.fab?(C(),Ae(t,Ze({key:0,class:e.classes(e.n("fab"),[e.length%2,e.n("--fab-right"),e.n("--fab-center")]),"var-bottom-navigation__fab":"",onClick:e.handleFabClick},e.fabProps,{round:""}),{default:Te(()=>[X(e.$slots,"fab")]),_:3},16,["class","onClick"])):he("v-if",!0)],6)}const sp=me({name:dk,components:{VarButton:Un},props:ak,setup(e,{slots:n}){const t=I(null),o=L(()=>e.active),r=L(()=>e.activeColor),i=L(()=>e.inactiveColor),a=I({}),{length:s,bottomNavigationItems:l,bindBottomNavigationItem:u}=sk();u({active:o,activeColor:r,inactiveColor:i,onToggle:h}),Ce(()=>s.value,d),Ce(()=>e.fabProps,k=>{a.value=Qd(Qd({},hk),k)},{immediate:!0,deep:!0}),Pn(()=>{n.fab&&O(s.value)}),Yo(()=>{S(),n.fab&&O(s.value)});function d(){s.value===0||f()||v()||p()}function f(){return l.find(({name:k})=>o.value===k.value)}function v(){return l.find(({index:k})=>o.value===k.value)}function p(){Rn(o.value)&&(o.value<0?N(e["onUpdate:active"],0):o.value>s.value-1&&N(e["onUpdate:active"],s.value-1))}function h(k){o.value!==k&&(e.onBeforeChange?g(k):$(k))}function g(k){const D=ra(N(e.onBeforeChange,k));Promise.all(D).then(T=>{T.every(Boolean)&&$(k)})}function $(k){N(e["onUpdate:active"],k),N(e.onChange,k)}function S(){P().forEach(D=>{D.classList.remove(_d,xd,ef)})}function O(k){const D=P(),T=D.length,B=k%2===0;D.forEach((U,z)=>{y(B,U,z,T)})}function y(k,D,T,B){const U=T===B-1;if(!k&&U){D.classList.add(ef);return}const z=T===B/2-1,ae=T===B/2;z?D.classList.add(_d):ae&&D.classList.add(xd)}function P(){return Array.from(t.value.querySelectorAll(`.${_a()}`))}function A(){N(e.onFabClick)}return{length:s,bottomNavigationDom:t,fabProps:a,n:fk,classes:vk,handleFabClick:A}}});sp.render=mk;var lp=sp;be(lp);var ul=lp;const pk={name:String,label:String,icon:Fe(dn,"name"),namespace:Fe(dn,"namespace"),badge:{type:[Boolean,Object],default:!1},onClick:W()};function gk(){const{parentProvider:e,index:n,bindParent:t}=On(ap);return t||Gn("BottomNavigationItem"," must in "),{index:n,bottomNavigation:e,bindBottomNavigation:t}}const{name:bk,n:yk,classes:$k}=pe("bottom-navigation-item"),wk={type:"danger",dot:!0};function Ck(e,n){const t=we("var-icon"),o=we("var-badge"),r=Ge("ripple");return He((C(),M("button",{class:m(e.classes(e.n(),e.n("$--box"),[e.active===e.index||e.active===e.name,e.n("--active")])),style:te({color:e.computeColorStyle()}),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[e.icon&&!e.$slots.icon?(C(),Ae(t,{key:0,name:e.icon,namespace:e.namespace,class:m(e.n("icon")),"var-bottom-navigation-item-cover":""},null,8,["name","namespace","class"])):he("v-if",!0),X(e.$slots,"icon",{active:e.active===e.index||e.active===e.name}),e.badge?(C(),Ae(o,Ze({key:1},e.badgeProps,{class:e.n("badge"),"var-bottom-navigation-item-cover":""}),null,16,["class"])):he("v-if",!0),R("span",{class:m(e.n("label"))},[e.$slots.default?he("v-if",!0):(C(),M(Re,{key:0},[je($e(e.label),1)],64)),X(e.$slots,"default")],2)],6)),[[r]])}const up=me({name:bk,components:{VarBadge:Ca,VarIcon:tn},directives:{Ripple:vn},props:pk,setup(e){const n=L(()=>e.name),t=L(()=>e.badge),o=I({}),{index:r,bottomNavigation:i,bindBottomNavigation:a}=gk(),{active:s,activeColor:l,inactiveColor:u}=i;a({name:n,index:r}),Ce(()=>t.value,v=>{o.value=v===!0?wk:t.value},{immediate:!0});function d(){return s.value===n.value||s.value===r.value?l.value:u.value}function f(){var v;const p=(v=n.value)!=null?v:r.value;N(e.onClick,p),N(i.onToggle,p)}return{index:r,active:s,badge:t,badgeProps:o,n:yk,classes:$k,computeColorStyle:d,handleClick:f}}});up.render=Ck;var cp=up;be(cp);var cl=cp;const Sk={separator:String,onClick:W()},dp=Symbol("BREADCRUMBS_BIND_BREADCRUMB_KEY");function kk(){const{childProviders:e,bindChildren:n,length:t}=Tn(dp);return{length:t,breadcrumbList:e,bindBreadcrumbList:n}}function Pk(){const{parentProvider:e,bindParent:n,index:t}=On(dp);return n||Gn("Breadcrumb"," must in "),{index:t,breadcrumb:e,bindBreadcrumb:n}}const{name:Ok,n:Tk,classes:Ek}=pe("breadcrumb");function Nk(e,n){return C(),M("div",{class:m(e.n())},[R("div",{class:m(e.classes(e.n("content"),[!e.isLast,e.n("--active")])),onClick:n[0]||(n[0]=(...t)=>e.handleClick&&e.handleClick(...t))},[X(e.$slots,"default")],2),e.isLast?he("v-if",!0):X(e.$slots,"separator",{key:0},()=>{var t;return[R("div",{class:m(e.n("separator"))},$e((t=e.separator)!=null?t:e.parentSeparator),3)]})],2)}const fp=me({name:Ok,props:Sk,setup(e){const{index:n,breadcrumb:t,bindBreadcrumb:o}=Pk(),r=L(()=>n.value===t.length.value-1),i=L(()=>t.separator.value);o(null);function a(s){r.value||N(e.onClick,s)}return{n:Tk,classes:Ek,isLast:r,parentSeparator:i,handleClick:a}}});fp.render=Nk;var vp=fp;be(vp);var dl=vp;const Ik={separator:{type:String,default:"/"}},{name:Mk,n:Dk}=pe("breadcrumbs");function Ak(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default")],2)}const hp=me({name:Mk,props:Ik,setup(e){const n=L(()=>e.separator),{bindBreadcrumbList:t,length:o}=kk();return t({length:o,separator:n}),{n:Dk}}});hp.render=Ak;var mp=hp;be(mp);var fl=mp;const Bk={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,mode:{type:String,default:"normal"},elevation:{type:[Boolean,Number,String],default:!0},vertical:Boolean},{name:zk,n:Vk,classes:Rk}=pe("button-group");function Lk(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.mode,`${e.n(`--mode-${e.mode}`)}`],[e.vertical,e.n("--vertical"),e.n("--horizontal")],[e.mode==="normal",e.formatElevation(e.elevation,2)]))},[X(e.$slots,"default")],2)}const pp=me({name:zk,props:Bk,setup(e){const{bindButtons:n}=YS(),t={elevation:L(()=>e.elevation),type:L(()=>e.type),size:L(()=>e.size),color:L(()=>e.color),textColor:L(()=>e.textColor),mode:L(()=>e.mode)};return n(t),{n:Vk,classes:Rk,formatElevation:In}}});pp.render=Lk;var gp=pp;be(gp);var vl=gp;const Uk={src:String,fit:{type:String,default:"cover"},imageHeight:[String,Number],imageWidth:[String,Number],outline:Boolean,layout:{type:String,default:"column"},floating:Boolean,floatingDuration:{type:Number,default:250},alt:String,title:String,subtitle:String,description:String,elevation:{type:[Boolean,Number,String],default:!0},ripple:Boolean,onClick:W(),"onUpdate:floating":W()};var nf=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:Fk,n:Hk,classes:jk}=pe("card"),Yk=500,Wk=["src","alt"];function qk(e,n){const t=we("var-icon"),o=we("var-button"),r=Ge("ripple");return He((C(),M("div",{ref:"card",class:m(e.classes(e.n(),[e.isRow,e.n("--layout-row")],[e.outline,e.n("--outline")],e.formatElevation(e.elevation,1))),style:te({zIndex:e.floated?e.zIndex:void 0}),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[R("div",{ref:"cardFloater",class:m(e.n("floater")),style:te({width:e.floaterWidth,height:e.floaterHeight,top:e.floaterTop,left:e.floaterLeft,overflow:e.floaterOverflow,position:e.floaterPosition,transition:e.floated?`background-color ${e.floatingDuration}ms, color ${e.floatingDuration}ms, width ${e.floatingDuration}ms, height ${e.floatingDuration}ms, top ${e.floatingDuration}ms, left ${e.floatingDuration}ms`:void 0})},[X(e.$slots,"image",{},()=>[e.src?(C(),M("img",{key:0,class:m(e.n("image")),style:te({objectFit:e.fit,height:e.toSizeUnit(e.imageHeight),width:e.toSizeUnit(e.imageWidth)}),src:e.src,alt:e.alt},null,14,Wk)):he("v-if",!0)]),R("div",{class:m(e.n("container"))},[X(e.$slots,"title",{},()=>[e.title?(C(),M("div",{key:0,class:m(e.n("title"))},$e(e.title),3)):he("v-if",!0)]),X(e.$slots,"subtitle",{},()=>[e.subtitle?(C(),M("div",{key:0,class:m(e.n("subtitle"))},$e(e.subtitle),3)):he("v-if",!0)]),X(e.$slots,"description",{},()=>[e.description?(C(),M("div",{key:0,class:m(e.n("description"))},$e(e.description),3)):he("v-if",!0)]),e.$slots.extra?(C(),M("div",{key:0,class:m(e.n("footer"))},[X(e.$slots,"extra")],2)):he("v-if",!0),e.$slots["floating-content"]&&!e.isRow?(C(),M("div",{key:1,class:m(e.n("floating-content")),style:te({height:e.contentHeight,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[X(e.$slots,"floating-content")],6)):he("v-if",!0)],2),e.showFloatingButtons?(C(),M("div",{key:0,class:m(e.classes(e.n("floating-buttons"),e.n("$--box"))),style:te({zIndex:e.zIndex,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[X(e.$slots,"close-button",{},()=>[ie(o,{"var-card-cover":"",round:"",class:m(e.classes(e.n("close-button"),e.n("$-elevation--6"))),onClick:Xn(e.close,["stop"])},{default:Te(()=>[ie(t,{"var-card-cover":"",name:"window-close",class:m(e.n("close-button-icon"))},null,8,["class"])]),_:1},8,["class","onClick"])])],6)):he("v-if",!0)],6),R("div",{class:m(e.n("holder")),style:te({width:e.holderWidth,height:e.holderHeight})},null,6)],6)),[[r,{disabled:!e.ripple||e.floater}]])}const bp=me({name:Fk,directives:{Ripple:vn},components:{VarIcon:tn,VarButton:Un},props:Uk,setup(e){const n=I(null),t=I(null),o=I("auto"),r=I("auto"),i=I("100%"),a=I("100%"),s=I("auto"),l=I("auto"),u=I(void 0),c=I("hidden"),d=I("0px"),f=I("0"),v=L(()=>e.layout==="row"),p=I(!1),h=I(!1),{zIndex:g}=Ai(()=>e.floating,1);let $="auto",S="auto",O=null;const y=I(null);Di(()=>e.floating,()=>!v.value),Ce(()=>e.floating,T=>{v.value||en(()=>{T?P():A()})},{immediate:!0});function P(){return nf(this,null,function*(){clearTimeout(y.value),clearTimeout(O),y.value=null,y.value=setTimeout(()=>nf(this,null,function*(){const{width:T,height:B,left:U,top:z}=pn(n.value);o.value=ze(T),r.value=ze(B),i.value=o.value,a.value=r.value,s.value=ze(z),l.value=ze(U),u.value="fixed",$=s.value,S=l.value,p.value=!0,yield Bn(),s.value="0",l.value="0",i.value="100vw",a.value="100vh",d.value="auto",f.value="1",c.value="auto",h.value=!0}),e.ripple?Yk:0)})}function A(){clearTimeout(O),clearTimeout(y.value),y.value=null,i.value=o.value,a.value=r.value,s.value=$,l.value=S,d.value="0px",f.value="0",p.value=!1,O=setTimeout(()=>{o.value="auto",r.value="auto",i.value="100%",a.value="100%",s.value="auto",l.value="auto",$="auto",S="auto",c.value="hidden",u.value=void 0,h.value=!1},e.floatingDuration)}function k(){N(e["onUpdate:floating"],!1)}function D(T){N(e.onClick,T)}return{card:n,cardFloater:t,holderWidth:o,holderHeight:r,floater:y,floaterWidth:i,floaterHeight:a,floaterTop:s,floaterLeft:l,floaterPosition:u,floaterOverflow:c,contentHeight:d,opacity:f,zIndex:g,isRow:v,showFloatingButtons:p,floated:h,n:Hk,classes:jk,toSizeUnit:ze,close:k,formatElevation:In,handleClick:D}}});bp.render=qk;var yp=bp;be(yp);var hl=yp;const Kk={title:[Number,String],icon:Fe(dn,"name"),namespace:Fe(dn,"namespace"),description:String,border:Boolean,borderOffset:[Number,String],iconClass:String,titleClass:String,descriptionClass:String,extraClass:String,ripple:Boolean,onClick:W()},{name:Xk,n:Gk,classes:Zk}=pe("cell");function Jk(e,n){const t=we("var-icon"),o=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),[e.border,e.n("--border")],[e.onClick,e.n("--cursor")])),style:te(e.borderOffsetStyles),onClick:n[0]||(n[0]=(...r)=>e.handleClick&&e.handleClick(...r))},[X(e.$slots,"icon",{},()=>[e.icon?(C(),M("div",{key:0,class:m(e.classes(e.n("icon"),e.iconClass))},[ie(t,{name:e.icon,namespace:e.namespace},null,8,["name","namespace"])],2)):he("v-if",!0)]),R("div",{class:m(e.n("content"))},[X(e.$slots,"default",{},()=>[e.title?(C(),M("div",{key:0,class:m(e.classes(e.n("title"),e.titleClass))},$e(e.title),3)):he("v-if",!0)]),X(e.$slots,"description",{},()=>[e.description?(C(),M("div",{key:0,class:m(e.classes(e.n("description"),e.descriptionClass))},$e(e.description),3)):he("v-if",!0)])],2),e.$slots.extra?(C(),M("div",{key:0,class:m(e.classes(e.n("extra"),e.extraClass))},[X(e.$slots,"extra")],2)):he("v-if",!0)],6)),[[o,{disabled:!e.ripple}]])}const $p=me({name:Xk,components:{VarIcon:tn},directives:{Ripple:vn},props:Kk,setup(e){const n=L(()=>e.borderOffset==null?{}:{"--cell-border-left":ze(e.borderOffset),"--cell-border-right":ze(e.borderOffset)});function t(o){N(e.onClick,o)}return{borderOffsetStyles:n,n:Gk,classes:Zk,toSizeUnit:ze,handleClick:t}}});$p.render=Jk;var wp=$p;be(wp);var Sa=wp;const Qk={errorMessage:{type:String,default:""},extraMessage:{type:String,default:""}},{name:_k,n:xk}=pe("form-details"),eP={key:0},nP={key:0};function tP(e,n){return C(),Ae(nn,{name:e.n()},{default:Te(()=>[e.errorMessage||e.extraMessage||e.$slots["extra-message"]?(C(),M("div",{key:0,class:m(e.n())},[R("div",{class:m(e.n("error-message"))},[ie(nn,{name:e.n("message")},{default:Te(()=>[e.errorMessage?(C(),M("div",eP,$e(e.errorMessage),1)):he("v-if",!0)]),_:1},8,["name"])],2),R("div",{class:m(e.n("extra-message"))},[ie(nn,{name:e.n("message")},{default:Te(()=>[X(e.$slots,"extra-message",{},()=>[e.extraMessage?(C(),M("div",nP,$e(e.extraMessage),1)):he("v-if",!0)])]),_:3},8,["name"])],2)],2)):he("v-if",!0)]),_:3},8,["name"])}const Cp=me({name:_k,props:Qk,setup:()=>({n:xk})});Cp.render=tP;var Sp=Cp;be(Sp);var Fn=Sp;const oP={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedColor:String,uncheckedColor:String,disabled:Boolean,readonly:Boolean,indeterminate:Boolean,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:W(),onChange:W(),"onUpdate:modelValue":W(),"onUpdate:indeterminate":W()},kp=Symbol("CHECKBOX_GROUP_BIND_CHECKBOX_KEY");function rP(){const{bindChildren:e,childProviders:n,length:t}=Tn(kp);return{length:t,checkboxes:n,bindCheckboxes:e}}function iP(){const{bindParent:e,parentProvider:n,index:t}=On(kp);return{index:t,checkboxGroup:n,bindCheckboxGroup:e}}var aP=Object.defineProperty,sP=Object.defineProperties,lP=Object.getOwnPropertyDescriptors,tf=Object.getOwnPropertySymbols,uP=Object.prototype.hasOwnProperty,cP=Object.prototype.propertyIsEnumerable,of=(e,n,t)=>n in e?aP(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,dP=(e,n)=>{for(var t in n||(n={}))uP.call(n,t)&&of(e,t,n[t]);if(tf)for(var t of tf(n))cP.call(n,t)&&of(e,t,n[t]);return e},fP=(e,n)=>sP(e,lP(n));const Pp=Symbol("FORM_BIND_FORM_ITEM_KEY");function rt(){const{parentProvider:e,index:n,bindParent:t}=On(Pp),o=So();return{index:n,form:e,bindForm:t?i=>{t(fP(dP({},i),{instance:o}))}:null}}function vP(){const{childProviders:e,length:n,bindChildren:t}=Tn(Pp);return{length:n,formItems:e,bindFormItems:t}}const{name:hP,n:mP,classes:pP}=pe("checkbox");function gP(e,n){const t=we("var-icon"),o=we("var-hover-overlay"),r=we("var-form-details"),i=Ge("hover"),a=Ge("ripple");return C(),M("div",{class:m(e.n("wrap")),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[R("div",{class:m(e.n())},[He((C(),M("div",{class:m(e.classes(e.n("action"),[e.checked||e.isIndeterminate,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({color:e.checked||e.isIndeterminate?e.checkedColor:e.uncheckedColor})},[e.isIndeterminate?X(e.$slots,"indeterminate-icon",{key:0},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"minus-box",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):he("v-if",!0),e.checked&&!e.isIndeterminate?X(e.$slots,"checked-icon",{key:1},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-marked",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):he("v-if",!0),!e.checked&&!e.isIndeterminate?X(e.$slots,"unchecked-icon",{key:2},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-blank-outline",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):he("v-if",!0),ie(o,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[i,e.handleHovering,"desktop"],[a,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}]]),R("div",{class:m(e.classes(e.n("text"),[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[X(e.$slots,"default")],2)],2),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Op=me({name:hP,directives:{Ripple:vn,Hover:Zn},components:{VarIcon:tn,VarFormDetails:Fn,VarHoverOverlay:tt},props:oP,setup(e){const n=Vt(e,"modelValue"),t=Vt(e,"indeterminate"),o=L(()=>n.value===e.checkedValue),r=L(()=>e.checkedValue),i=I(!1),{checkboxGroup:a,bindCheckboxGroup:s}=iP(),{hovering:l,handleHovering:u}=Pt(),{form:c,bindForm:d}=rt(),{errorMessage:f,validateWithTrigger:v,validate:p,resetValidation:h}=ot(),g={checkedValue:r,checked:o,sync:y,validate:D,resetValidation:h,reset:A,resetWithAnimation:P};N(s,g),N(d,g);function $(T){en(()=>{const{validateTrigger:B,rules:U,modelValue:z}=e;v(B,T,U,z)})}function S(T){const{checkedValue:B,onChange:U}=e;n.value=T,t.value=!1,N(U,n.value),$("onChange"),T===B?a==null||a.onChecked(B):a==null||a.onUnchecked(B)}function O(T){const{disabled:B,readonly:U,checkedValue:z,uncheckedValue:ae,onClick:re}=e;if(c!=null&&c.disabled.value||B||(N(re,T),c!=null&&c.readonly.value||U))return;i.value=!0;const oe=a?a.checkedCount.value>=Number(a.max.value):!1;!o.value&&oe||S(o.value?ae:z)}function y(T){const{checkedValue:B,uncheckedValue:U}=e;n.value=T.includes(B)?B:U}function P(){i.value=!1}function A(){n.value=e.uncheckedValue,h()}function k(T){const{checkedValue:B,uncheckedValue:U}=e;![B,U].includes(T)&&(T=o.value?U:B),S(T)}function D(){return p(e.rules,e.modelValue)}return{isIndeterminate:t,withAnimation:i,checked:o,errorMessage:f,checkboxGroupErrorMessage:a==null?void 0:a.errorMessage,formDisabled:c==null?void 0:c.disabled,formReadonly:c==null?void 0:c.readonly,hovering:l,n:mP,classes:pP,handleHovering:u,handleClick:O,toggle:k,reset:A,validate:D,resetValidation:h}}});Op.render=gP;var Tp=Op;be(Tp);var mi=Tp;const bP={modelValue:{type:Array,default:()=>[]},max:[String,Number],direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:W(),"onUpdate:modelValue":W()},{name:yP,n:$P,classes:wP}=pe("checkbox-group");function CP(e,n){const t=we("var-form-details");return C(),M("div",{class:m(e.n("wrap"))},[R("div",{class:m(e.classes(e.n(),e.n(`--${e.direction}`)))},[X(e.$slots,"default")],2),ie(t,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Ep=me({name:yP,components:{VarFormDetails:Fn},props:bP,setup(e){const n=L(()=>e.max),t=L(()=>e.modelValue.length),{length:o,checkboxes:r,bindCheckboxes:i}=rP(),{bindForm:a}=rt(),{errorMessage:s,validateWithTrigger:l,validate:u,resetValidation:c}=ot(),d=L(()=>s.value),f={max:n,checkedCount:t,onChecked:h,onUnchecked:g,validate:A,resetValidation:c,reset:P,errorMessage:d};Ce(()=>e.modelValue,$,{deep:!0}),Ce(()=>o.value,$),i(f),N(a,f);function v(k){en(()=>{const{validateTrigger:D,rules:T,modelValue:B}=e;l(D,k,T,B)})}function p(k){N(e["onUpdate:modelValue"],k),N(e.onChange,k),v("onChange")}function h(k){const{modelValue:D}=e;D.includes(k)||p([...D,k])}function g(k){const{modelValue:D}=e;D.includes(k)&&p(D.filter(T=>T!==k))}function $(){return r.forEach(({sync:k})=>k(e.modelValue))}function S(){r.forEach(k=>k.resetWithAnimation())}function O(){const k=r.map(({checkedValue:T})=>T.value),D=yd(k);return S(),N(e["onUpdate:modelValue"],D),D}function y(){const k=r.filter(({checked:T})=>!T.value).map(({checkedValue:T})=>T.value),D=yd(k);return S(),N(e["onUpdate:modelValue"],D),D}function P(){N(e["onUpdate:modelValue"],[]),c()}function A(){return u(e.rules,e.modelValue)}return{errorMessage:s,n:$P,classes:wP,checkAll:O,inverseAll:y,reset:P,validate:A,resetValidation:c}}});Ep.render=CP;var Np=Ep;be(Np);var ml=Np;const SP={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,iconName:Fe(dn,"name"),namespace:Fe(dn,"namespace"),plain:Boolean,round:{type:Boolean,default:!0},block:Boolean,closable:Boolean,onClose:W()},{name:kP,n:qt,classes:PP}=pe("chip");function OP(e,n){const t=we("var-icon");return C(),Ae(nn,{name:e.n("$-fade")},{default:Te(()=>[R("span",Ze({class:e.classes(e.n(),e.n("$--box"),...e.contentClass),style:e.chipStyles},e.$attrs),[X(e.$slots,"left"),R("span",{class:m(e.n(`text-${e.size}`))},[X(e.$slots,"default")],2),X(e.$slots,"right"),e.closable?(C(),M("span",{key:0,class:m(e.n("--close")),onClick:n[0]||(n[0]=(...o)=>e.handleClose&&e.handleClose(...o))},[ie(t,{name:`${e.iconName?e.iconName:"close-circle"}`,namespace:e.namespace},null,8,["name","namespace"])],2)):he("v-if",!0)],16)]),_:3},8,["name"])}const Ip=me({name:kP,components:{VarIcon:tn},inheritAttrs:!1,props:SP,setup(e){const n=L(()=>{const{plain:r,textColor:i,color:a}=e;return r?{color:i||a,borderColor:a}:{color:i,background:a}}),t=L(()=>{const{size:r,block:i,type:a,plain:s,round:l}=e,u=qt(i?"$--flex":"$--inline-flex"),c=s?`${qt("plain")} ${qt(`plain-${a}`)}`:qt(`--${a}`),d=l?qt("--round"):null;return[qt(`--${r}`),u,c,d]});function o(r){N(e.onClose,r)}return{chipStyles:n,contentClass:t,n:qt,classes:PP,handleClose:o}}});Ip.render=OP;var Mp=Ip;be(Mp);var ka=Mp;const TP={span:{type:[String,Number],default:24},offset:{type:[String,Number],default:0},direction:{type:String,default:"row"},justify:String,align:String,xs:[Object,Number,String],sm:[Object,Number,String],md:[Object,Number,String],lg:[Object,Number,String],xl:[Object,Number,String],onClick:W()},Dp=Symbol("ROW_BIND_COL_KEY");function EP(){const{bindChildren:e,childProviders:n,length:t}=Tn(Dp);return{length:t,cols:n,bindCols:e}}function NP(){const{parentProvider:e,index:n,bindParent:t}=On(Dp);return{index:n,row:e,bindRow:t}}const{name:IP,n:qi,classes:MP}=pe("col");function DP(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.span>=0,e.n(`--span-${e.span}`)],[e.offset,e.n(`--offset-${e.offset}`)],...e.getSize("xs",e.xs),...e.getSize("sm",e.sm),...e.getSize("md",e.md),...e.getSize("lg",e.lg),...e.getSize("xl",e.xl))),style:te({flexDirection:e.direction,justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),paddingLeft:e.toSizeUnit(e.padding.left),paddingRight:e.toSizeUnit(e.padding.right),paddingTop:e.toSizeUnit(e.padding.top),paddingBottom:e.toSizeUnit(e.padding.bottom)}),onClick:n[0]||(n[0]=(...t)=>e.handleClick&&e.handleClick(...t))},[X(e.$slots,"default")],6)}const Ap=me({name:IP,props:TP,setup(e){const n=L(()=>K(e.span)),t=L(()=>K(e.offset)),o=I({left:0,right:0,top:0,bottom:0}),{row:r,bindRow:i}=NP(),a={setPadding(u){o.value=u}};Ce([()=>e.span,()=>e.offset],()=>{r==null||r.computePadding()}),N(i,a);function s(u,c){const d=[];if(c==null)return d;if(di(c)){const{offset:f,span:v}=c;Number(v)>=0&&d.push(qi(`--span-${u}-${v}`)),f&&d.push(qi(`--offset-${u}-${f}`))}else Number(c)>=0&&d.push(qi(`--span-${u}-${c}`));return d}function l(u){N(e.onClick,u)}return{span:n,offset:t,padding:o,n:qi,classes:MP,toNumber:K,toSizeUnit:ze,getSize:s,handleClick:l,padStartFlex:$a}}});Ap.render=DP;var Bp=Ap;be(Bp);var pl=Bp;const zp=Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");function AP(){const{childProviders:e,length:n,bindChildren:t}=Tn(zp);return{length:n,collapseItem:e,bindCollapseItem:t}}const BP={modelValue:[Array,String,Number],accordion:Boolean,offset:{type:Boolean,default:!0},divider:{type:Boolean,default:!0},elevation:{type:[Boolean,String,Number],default:!0},onChange:W(),"onUpdate:modelValue":W()},{name:zP,n:VP}=pe("collapse");function RP(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default")],2)}const Vp=me({name:zP,props:BP,setup(e){const n=L(()=>e.modelValue),t=L(()=>e.offset),o=L(()=>e.divider),r=L(()=>e.elevation),{length:i,collapseItem:a,bindCollapseItem:s}=AP(),l={active:n,offset:t,divider:o,elevation:r,updateItem:d};Ce(()=>i.value,()=>en().then(p)),Ce(()=>e.modelValue,()=>en().then(p)),s(l);function u(){return!e.accordion&&!Qe(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be an Array'),!1):e.accordion&&Qe(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be a String or Number'),!1):!0}function c(h,g){return u()?g?e.accordion?h:[...e.modelValue,h]:e.accordion?null:e.modelValue.filter($=>$!==h):null}function d(h,g){const $=c(h,g);N(e["onUpdate:modelValue"],$),N(e.onChange,$)}function f(){if(e.accordion)return a.find(({name:g})=>e.modelValue===g.value);const h=a.filter(({name:g})=>g.value===void 0?!1:e.modelValue.includes(g.value));return h.length?h:void 0}function v(){return e.accordion?a.find(({index:h,name:g})=>g.value===void 0&&e.modelValue===h.value):a.filter(({index:h,name:g})=>g.value===void 0&&e.modelValue.includes(h.value))}function p(){if(!u())return;const h=f()||v();if(e.accordion&&!h||!e.accordion&&!h.length){a.forEach(g=>{g.init(e.accordion,!1)});return}a.forEach(g=>{const $=e.accordion?h===g:h.includes(g);g.init(e.accordion,$)})}return{divider:o,n:VP}}});Vp.render=RP;var Rp=Vp;be(Rp);var gl=Rp;function LP(){const{parentProvider:e,index:n,bindParent:t}=On(zp);return t||Gn("Collapse"," must in "),{index:n,collapse:e,bindCollapse:t}}const UP={name:[String,Number],title:String,icon:{type:String,default:"chevron-down"},disabled:Boolean};var rf=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:FP,n:HP,classes:jP}=pe("collapse-item");function YP(e,n){const t=we("var-icon");return C(),M("div",{class:m(e.classes(e.n(),[e.offset&&e.isShow,e.n("--active")],[e.disabled,e.n("--disable")])),style:te(`--collapse-divider-top: ${e.divider?"var(--collapse-border-top)":"none"}`)},[R("div",{class:m(e.classes(e.n("shadow"),e.formatElevation(e.elevation,2)))},null,2),R("div",{class:m(e.n("header")),onClick:n[0]||(n[0]=o=>e.toggle())},[R("div",{class:m(e.n("header-title"))},[X(e.$slots,"title",{},()=>[je($e(e.title),1)])],2),R("div",{class:m(e.n("header-icon"))},[X(e.$slots,"icon",{},()=>[ie(t,{name:e.icon,transition:250,class:m(e.classes(e.n("header-icon"),[e.isShow&&e.icon==="chevron-down",e.n("header-open")],[e.disabled,e.n("header--disable")]))},null,8,["name","class"])])],2)],2),He(R("div",{class:m(e.n("content")),ref:"contentEl",onTransitionend:n[1]||(n[1]=(...o)=>e.transitionend&&e.transitionend(...o)),onTransitionstart:n[2]||(n[2]=(...o)=>e.start&&e.start(...o))},[R("div",{class:m(e.n("content-wrap"))},[X(e.$slots,"default")],2)],34),[[kt,e.showContent]])],6)}const Lp=me({name:FP,components:{VarIcon:tn},props:UP,setup(e){const n=I(!1),t=I(!1),o=I(null),r=L(()=>e.name),{index:i,collapse:a,bindCollapse:s}=LP(),{active:l,offset:u,divider:c,elevation:d,updateItem:f}=a,v={index:i,name:r,init:$};let p=!0;Ce(n,P=>{P?h():g()}),s(v);function h(){return rf(this,null,function*(){if(!o.value||(o.value.style.height="",t.value=!0,yield ia(),!o.value))return;const{offsetHeight:P}=o.value;o.value.style.height="0px",yield ia(),o.value&&(o.value.style.height=P+"px",p&&(yield Bn(),p&&y()))})}function g(){return rf(this,null,function*(){if(!o.value)return;const{offsetHeight:P}=o.value;o.value.style.height=P+"px",yield ia(),o.value.style.height="0px"})}function $(P,A){l.value===void 0||P&&Qe(l.value)||A===n.value||(n.value=A,S(!0))}function S(P){e.disabled||P||f(e.name||i.value,!n.value)}function O(){p=!1}function y(){n.value||(t.value=!1),o.value.style.height=""}return{isShow:n,showContent:t,offset:u,divider:c,elevation:d,contentEl:o,n:HP,start:O,classes:jP,toggle:S,transitionend:y,formatElevation:In}}});Lp.render=YP;var Up=Lp;be(Up);var bl=Up;const WP={time:{type:[String,Number],default:0},format:{type:String,default:"HH : mm : ss"},autoStart:{type:Boolean,default:!0},onEnd:W(),onChange:W()},{name:qP,n:KP}=pe("countdown"),yl=1e3,$l=60*yl,wl=60*$l,af=24*wl;function XP(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default",ao(Nr(e.timeData)),()=>[je($e(e.showTime),1)])],2)}const Fp=me({name:qP,props:WP,setup(e){const n=I(""),t=I({days:0,hours:0,minutes:0,seconds:0,milliseconds:0});let o=0,r=!1,i=0,a=0,s;Ce(()=>e.time,()=>{v(),e.autoStart&&d()},{immediate:!0}),Ut(()=>{s!=null&&(r=s,r===!0&&d(!0))}),jo(()=>{s=r,f()}),Ht(f);function l(p,h){const g=Object.values(h),$=["DD","HH","mm","ss"],S=[24,60,60,1e3];if($.forEach((O,y)=>{p.includes(O)?p=p.replace(O,Ro(`${g[y]}`,2,"0")):g[y+1]+=g[y]*S[y]}),p.includes("S")){const O=Ro(`${g[g.length-1]}`,3,"0");p.includes("SSS")?p=p.replace("SSS",O):p.includes("SS")?p=p.replace("SS",O.slice(0,2)):p=p.replace("S",O.slice(0,1))}return p}function u(p){const h=Math.floor(p/af),g=Math.floor(p%af/wl),$=Math.floor(p%wl/$l),S=Math.floor(p%$l/yl),O=Math.floor(p%yl),y={days:h,hours:g,minutes:$,seconds:S,milliseconds:O};t.value=y,N(e.onChange,t.value),n.value=l(e.format,y)}function c(){const{time:p,onEnd:h}=e,g=performance.now();if(o||(o=g+K(p)),a=o-g,a<0&&(a=0),u(a),a===0){N(h);return}r&&(i=fi(c))}function d(p=!1){r&&!p||(r=!0,o=performance.now()+(a||K(e.time)),c())}function f(){r=!1,$d(i)}function v(){o=0,r=!1,$d(i),c()}return{showTime:n,timeData:t,n:KP,start:d,pause:f,reset:v}}});Fp.render=XP;var Hp=Fp;be(Hp);var Cl=Hp;/*! +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function t(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=t(r);fetch(r.href,i)}})();const l0="Varlet",u0="var",c0="localhost",d0=8080,f0="VARLET",v0="https://varlet.gitee.io/varlet-ui/varlet_icon.png",h0="zh-CN",m0={style:null},p0={baidu:"https://hm.baidu.com/hm.js?5c628ce58967c90ff4dd9c8803d930fa"},g0=!0,b0={title:{"zh-CN":"面向 Vue3 的 Material 风格移动端组件库","en-US":"Material design mobile components built for Vue3"},description:{"zh-CN":"Varlet 是一个基于 Vue3 开发的 Material 风格移动端组件库,全面拥抱 Vue3 生态,由社区团队维护。支持 Typescript、按需引入、暗黑模式、主题定制、国际化,并提供 VSCode 插件保障良好的开发体验。","en-US":"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community. Support Typescript, import on demand, dark mode, theme customization, internationalization, and provide VSCode plugin to ensure a good development experience."},keywords:{"zh-CN":"Varlet,Vue3 移动端组件库,Material Design","en-US":"Varlet,Vue3 Mobile Components Library,Material Design"},menu:[{text:{"zh-CN":"开发指南","en-US":"Developer guide"},type:1},{text:{"zh-CN":"基本介绍","en-US":"Basic Introduce"},doc:"home",type:3},{text:{"zh-CN":"快速开始","en-US":"Quickstart"},doc:"quickstart",type:3},{text:{"zh-CN":"按需引入","en-US":"Import on demand"},doc:"importOnDemand",type:3},{text:{"zh-CN":"浏览器适配","en-US":"Browser Adaptation"},doc:"browserAdaptation",type:3},{text:{"zh-CN":"VSCode 插件","en-US":"VSCode Extension"},doc:"extension",type:3},{text:{"zh-CN":"暗黑模式","en-US":"Dark Mode"},doc:"themes",type:2},{text:{"zh-CN":"国际化","en-US":"Locale"},doc:"locale",type:3},{text:{"zh-CN":"服务端渲染","en-US":"Server side rendering"},doc:"serverSideRendering",type:3},{text:{"zh-CN":"设计资源","en-US":"Design Resources"},doc:"designResources",type:3},{text:{"zh-CN":"组件库快速成型工具","en-US":"Components Library Tools"},doc:"cli",type:3},{text:{"zh-CN":"从 1.x 迁移","en-US":"Migrating from 1.x"},doc:"migrationGuide",type:3},{text:{"zh-CN":"基础组件","en-US":"Basic Components"},type:1},{text:{"zh-CN":"StyleProvider 样式定制","en-US":"StyleProvider"},doc:"style-provider",type:2},{text:{"zh-CN":"Button 按钮","en-US":"Button"},doc:"button",type:2},{text:{"zh-CN":"Fab 悬浮动作按钮","en-US":"Fab"},doc:"fab",type:2},{text:{"zh-CN":"Breadcrumbs 面包屑","en-US":"Breadcrumbs"},doc:"breadcrumbs",type:2},{text:{"zh-CN":"Link 链接","en-US":"Link"},doc:"link",type:2},{text:{"zh-CN":"Cell 单元格","en-US":"Cell"},doc:"cell",type:2},{text:{"zh-CN":"Icon 图标","en-US":"Icon"},doc:"icon",type:2},{text:{"zh-CN":"Image 图片","en-US":"Image"},doc:"image",type:2},{text:{"zh-CN":"Avatar 头像","en-US":"Avatar"},doc:"avatar",type:2},{text:{"zh-CN":"Loading 加载","en-US":"Loading"},doc:"loading",type:2},{text:{"zh-CN":"Chip 纸片","en-US":"Chip"},doc:"chip",type:2},{text:{"zh-CN":"Badge 徽标","en-US":"Badge"},doc:"badge",type:2},{text:{"zh-CN":"Ellipsis 文本省略","en-US":"Ellipsis"},doc:"ellipsis",type:2},{text:{"zh-CN":"Paper 纸张","en-US":"Paper"},doc:"paper",type:2},{text:{"zh-CN":"Elevation 海拔效果","en-US":"Elevation"},doc:"styles",type:2},{text:{"zh-CN":"展示组件","en-US":"Display Components"},type:1},{text:{"zh-CN":"Skeleton 骨架屏","en-US":"Skeleton"},doc:"skeleton",type:2},{text:{"zh-CN":"Collapse 折叠面板","en-US":"Collapse"},doc:"collapse",type:2},{text:{"zh-CN":"Space 间隔","en-US":"Space"},doc:"space",type:2},{text:{"zh-CN":"Layout 布局","en-US":"Layout"},doc:"row",type:2},{text:{"zh-CN":"Sticky 粘性布局","en-US":"Sticky"},doc:"sticky",type:2},{text:{"zh-CN":"Progress 进度条","en-US":"Progress"},doc:"progress",type:2},{text:{"zh-CN":"List 无限滚动列表","en-US":"List"},doc:"list",type:2},{text:{"zh-CN":"Swipe 轮播","en-US":"Swipe"},doc:"swipe",type:2},{text:{"zh-CN":"Steps 步骤条","en-US":"Steps"},doc:"steps",type:2},{text:{"zh-CN":"ImagePreview 图片预览","en-US":"ImagePreview"},doc:"image-preview",type:2},{text:{"zh-CN":"Card 卡片","en-US":"Card"},doc:"card",type:2},{text:{"zh-CN":"Result 结果","en-US":"Result"},doc:"result",type:2},{text:{"zh-CN":"Divider 分割线","en-US":"Divider"},doc:"divider",type:2},{text:{"zh-CN":"Table 表格","en-US":"Table"},doc:"table",type:2},{text:{"zh-CN":"Watermark 水印","en-US":"Watermark"},doc:"watermark",type:2},{text:{"zh-CN":"导航组件","en-US":"Navigation Components"},type:1},{text:{"zh-CN":"Tabs 选项卡","en-US":"Tabs"},doc:"tabs",type:2},{text:{"zh-CN":"IndexBar 索引栏","en-US":"IndexBar"},doc:"index-bar",type:2},{text:{"zh-CN":"AppBar 导航栏","en-US":"AppBar"},doc:"app-bar",type:2},{text:{"zh-CN":"BottomNavigation 底部导航栏","en-US":"BottomNavigation"},doc:"bottom-navigation",type:2},{text:{"zh-CN":"功能指令","en-US":"Functional Directives"},type:1},{text:{"zh-CN":"Ripple 水波指令","en-US":"Ripple"},doc:"ripple",type:2},{text:{"zh-CN":"Lazy 懒加载","en-US":"Lazy"},doc:"lazy",type:2},{text:{"zh-CN":"Hover 悬停指令","en-US":"Hover"},doc:"hover",type:2},{text:{"zh-CN":"反馈组件","en-US":"Action Components"},type:1},{text:{"zh-CN":"Drag 拖拽","en-US":"Drag"},doc:"drag",type:2},{text:{"zh-CN":"Snackbar 消息条","en-US":"Snackbar"},doc:"snackbar",type:2},{text:{"zh-CN":"ActionSheet 动作面板","en-US":"ActionSheet"},doc:"action-sheet",type:2},{text:{"zh-CN":"FloatingPanel 浮动面板","en-US":"FloatingPanel"},doc:"floating-panel",type:2},{text:{"zh-CN":"Dialog 对话框","en-US":"Dialog"},doc:"dialog",type:2},{text:{"zh-CN":"PullRefresh 下拉刷新","en-US":"PullRefresh"},doc:"pull-refresh",type:2},{text:{"zh-CN":"Overlay 遮罩层","en-US":"Overlay"},doc:"overlay",type:2},{text:{"zh-CN":"Popup 弹出层","en-US":"Popup"},doc:"popup",type:2},{text:{"zh-CN":"Pagination 分页","en-US":"Pagination"},doc:"pagination",type:2},{text:{"zh-CN":"Menu 菜单","en-US":"Menu"},doc:"menu",type:2},{text:{"zh-CN":"MenuSelect 菜单选择器","en-US":"MenuSelect"},doc:"menu-select",type:2},{text:{"zh-CN":"Tooltip 提示","en-US":"Tooltip"},doc:"tooltip",type:2},{text:{"zh-CN":"BackTop 回到顶部","en-US":"BackTop"},doc:"back-top",type:2},{text:{"zh-CN":"LoadingBar 加载条","en-US":"LoadingBar"},doc:"loading-bar",type:2},{text:{"zh-CN":"Countdown 倒计时","en-US":"Countdown"},doc:"countdown",type:2},{text:{"zh-CN":"Picker 多列选择器","en-US":"Picker"},doc:"picker",type:2},{text:{"zh-CN":"DatePicker 日期选择器","en-US":"DatePicker"},doc:"date-picker",type:2},{text:{"zh-CN":"TimePicker 时间选择器","en-US":"TimePicker"},doc:"time-picker",type:2},{text:{"zh-CN":"表单组件","en-US":"Form Components"},type:1},{text:{"zh-CN":"Form 表单","en-US":"Form"},doc:"form",type:2},{text:{"zh-CN":"Input 输入框","en-US":"Input"},doc:"input",type:2},{text:{"zh-CN":"Select 选择框","en-US":"Select"},doc:"select",type:2},{text:{"zh-CN":"Radio 单选框","en-US":"Radio"},doc:"radio-group",type:2},{text:{"zh-CN":"Checkbox 复选框","en-US":"Checkbox"},doc:"checkbox-group",type:2},{text:{"zh-CN":"Counter 计数器","en-US":"Counter"},doc:"counter",type:2},{text:{"zh-CN":"Switch 开关","en-US":"Switch"},doc:"switch",type:2},{text:{"zh-CN":"Slider 滑块","en-US":"Slider"},doc:"slider",type:2},{text:{"zh-CN":"Rate 评分","en-US":"Rate"},doc:"rate",type:2},{text:{"zh-CN":"Uploader 文件上传","en-US":"Uploader"},doc:"uploader",type:2}],redirect:"/index",indexPage:{description:{"zh-CN":"Varlet 是一个基于 Vue3 开发的 Material 风格移动端组件库,全面拥抱 Vue3 生态,由社区团队维护。支持 Typescript、按需引入、暗黑模式、主题定制、国际化,并提供 VSCode 插件保障良好的开发体验。","en-US":"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community. Support Typescript, import on demand, dark mode, theme customization, internationalization, and provide VSCode plugin to ensure a good development experience."},started:{"zh-CN":"快速开始","en-US":"Get Started"},viewOnGithub:{"zh-CN":"查看源码","en-US":"View On Github"},features:[{name:{"zh-CN":"组件丰富","en-US":"Rich components"},description:{"zh-CN":"提供 60+ 个高质量通用组件","en-US":"Provide 60+ high quality general purpose components"}},{name:{"zh-CN":"按需引入","en-US":"On-Demand"},description:{"zh-CN":"每一个组件都可单独引入,并有着良好的 tree-shaking 优化","en-US":"Each component can be imported separately and has good tree-shaking optimization"}},{name:{"zh-CN":"主题定制","en-US":"Theme customization"},description:{"zh-CN":"内置亮色和暗色两种主题,支持组件的样式自定义","en-US":"Built-in light and dark themes, support style customization of components"}},{name:{"zh-CN":"国际化","en-US":"Locale"},description:{"zh-CN":"内置国际化 API,内置中文和英文的语言包","en-US":"Built-in i18n API, which supports both Chinese and English languages by default"}},{name:{"zh-CN":"支持 Typescript","en-US":"Support typescript"},description:{"zh-CN":"使用 Typescript 构建,提供良好的组件类型系统","en-US":"Built with typescript, which provides a nice components type system"}},{name:{"zh-CN":"服务端渲染","en-US":"Server-side rendering"},description:{"zh-CN":"对服务端渲染支持良好,并对 Nuxt 进行了适配","en-US":"Good support for server-side rendering and adaptation to Nuxt"}},{name:{"zh-CN":"国人开发","en-US":"Developed by Chinese"},description:{"zh-CN":"由国人开发,完善的中英文文档和后勤保障","en-US":"Complete Chinese and English documentation and logistics support"}},{name:{"zh-CN":"IDE 支持","en-US":"IDE Code Support"},description:{"zh-CN":"支持在 webstorm,vscode 中的组件语法高亮, 并提供 vscode 插件为开发提升效率","en-US":"Supports to highlight the component syntax for webstorm and vscode, and provides a separate helper plugin for vscode"}},{name:{"zh-CN":"组件库快速成型工具","en-US":"Component library toolchain"},description:{"zh-CN":"开源了搭建本组件库的所有工具链,提供快速开发组件库的能力","en-US":"Open-sourced the toolchain for building this component library, providing the ability to rapidly develop the component library"}}],teamMembers:{label:{"zh-CN":"团队成员","en-US":"Team Members"},members:[{name:{"zh-CN":"haoziqaq","en-US":"haoziqaq"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/24223652",github:"https://github.com/haoziqaq",twitter:"https://twitter.com/haozijunqaq"},{name:{"zh-CN":"BeADre","en-US":"BeADre"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/34639100",github:"https://github.com/BeADre"},{name:{"zh-CN":"zhangmo8","en-US":"zhangmo8"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & ikun-ui 核心团队成员","en-US":"Core team member of varletjs & ikun-ui"},avatar:"https://avatars.githubusercontent.com/u/43628500",github:"https://github.com/zhangmo8",twitter:"https://twitter.com/wegi8666"},{name:{"zh-CN":"chouchouji","en-US":"chouchouji"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/70570907",github:"https://github.com/chouchouji"},{name:{"zh-CN":"tiny-dust","en-US":"tiny-dust"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 核心团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/49502875",github:"https://github.com/tiny-dust"},{name:{"zh-CN":"songjianet","en-US":"songjianet"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & apache & w3c & naiveui & ikun-ui 团队成员","en-US":"Core team member of varletjs & apache & w3c & naiveui & ikun-ui"},avatar:"https://avatars.githubusercontent.com/u/19239641",github:"https://github.com/songjianet",twitter:"https://twitter.com/songjianet"},{name:{"zh-CN":"running snail","en-US":"running snail"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & dcloud 团队成员","en-US":"Core team member of varletjs & dcloud"},avatar:"https://avatars.githubusercontent.com/u/37523000",github:"https://github.com/zhenyuWang"},{name:{"zh-CN":"qytayh","en-US":"qytayh"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/39668309",github:"https://github.com/qytayh"},{name:{"zh-CN":"Erkelost","en-US":"Erkelost"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs & unplugin & farm & devui & wujie 团队成员","en-US":"Core team member of varletjs & unplugin & farm & devui & wujie"},avatar:"https://avatars.githubusercontent.com/u/66500121",github:"https://github.com/ErKeLost"},{name:{"zh-CN":"EmberSpirit","en-US":"EmberSpirit"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/85718018",github:"https://github.com/wangKBweb"},{name:{"zh-CN":"ayangweb","en-US":"ayangweb"},title:{"zh-CN":"开源开发者 & B 站 UP 主","en-US":"Open Source Developer & Bilibili UP"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/75017711",github:"https://github.com/ayangweb"},{name:{"zh-CN":"jiechen66","en-US":"jiechen66"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/42862411",github:"https://github.com/jiechen66"},{name:{"zh-CN":"dyggod","en-US":"dyggod"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/49914353",github:"https://github.com/dyggod"},{name:{"zh-CN":"clen cat","en-US":"clen cat"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/37403253",github:"https://github.com/a145789"},{name:{"zh-CN":"gaoting","en-US":"gaoting"},title:{"zh-CN":"开源开发者","en-US":"Open Source Developer"},description:{"zh-CN":"varletjs 团队成员","en-US":"Core team member of varletjs"},avatar:"https://avatars.githubusercontent.com/u/7401170",github:"https://github.com/gaoting"}]},contributors:{label:{"zh-CN":"贡献者","en-US":"Contributors"},link:"https://github.com/varletjs/varlet/graphs/contributors",image:"https://contrib.rocks/image?repo=varletjs/varlet"},sponsors:{label:{"zh-CN":"赞助者","en-US":"Sponsors"},link:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg",image:"https://cdn.jsdelivr.net/gh/varletjs/varlet-static/sponsorkit/sponsors.svg"},license:{"zh-CN":"组件库基于 MIT 协议,您可以自由的使用和分享","en-US":"Released under the MIT License, You can use and share freely."},copyright:{"zh-CN":"Copyright © 2022 varletjs 组织成员以及 varlet 的贡献者们","en-US":"Copyright © 2022 varletjs member and varlet contributors."}},header:{i18n:{"zh-CN":"中文","en-US":"English"},versions:null,github:"https://github.com/varletjs/varlet",playground:"https://varlet.gitee.io/varlet-ui-playground",darkMode:!0,version:{current:"Vue 3"}},clipboard:{"zh-CN":"代码已复制到剪切板","en-US":"The code has been copied to the clipboard"},fold:{defaultFold:!1,foldHeight:50}},y0={title:{"zh-CN":"面向 Vue3 的 Material 风格移动端组件库","en-US":"Material design mobile components built for Vue3"},description:{"zh-CN":"Varlet 是一个基于 Vue3 开发的 Material 风格移动端组件库,全面拥抱 Vue3 生态,由社区团队维护。支持 Typescript、按需引入、暗黑模式、主题定制、国际化,并提供 VSCode 插件保障良好的开发体验。","en-US":"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community. Support Typescript, import on demand, dark mode, theme customization, internationalization, and provide VSCode plugin to ensure a good development experience."},keywords:{"zh-CN":"Varlet,Vue3 移动端组件库,Material Design","en-US":"Varlet,Vue3 Mobile Components Library,Material Design"},redirect:"/home",header:{i18n:{"zh-CN":"中文","en-US":"English"},github:"https://github.com/varletjs/varlet",darkMode:!0}},$0="VARLET_THEME",w0={"color-body":"#fff","color-index-page-background":"#fff","color-index-page-get-started-button":"#3a7afe","color-index-page-github-button":"#212121","color-index-page-feature-background":"#fff","color-index-page-logo-mask-background":"linear-gradient(-45deg, #8baff8 50%, #84e0ff 50%)","color-index-page-second-text-color":"rgba(60, 60, 60, .7)","color-index-page-divider-color":"#ddd","color-bar":"#fff","color-sub-bar":"#f5f5f5","color-text":"#555","color-sub-text":"#888","color-border":"rgba(0, 0, 0, 0.12)","color-shadow":"#eee","color-introduce-border":"#2196f3","color-primary":"#2196f3","color-link":"#00c48f","color-type":"#00c48f","color-loading-bar":"#1d92e9","color-side-bar":"#3a7afe","color-side-bar-active-background":"#3a7afe1a","color-app-bar":"#3a7afe","color-nav-button-hover-background":"rgba(0, 0, 0, 0.08)","color-mobile-cell-hover":"#3a7afe","color-pc-language-active":"#3a7afe","color-pc-language-active-background":"#edf5ff","color-mobile-language-active":"#3a7afe","color-mobile-language-active-background":"#edf5ff","color-hl-background":"#fafafa","color-hl-code":"#58727e","color-hl-border":"#f3f3f3","color-hl-group-a":"#7c7c7c","color-hl-group-b":"#2196f3","color-hl-group-c":"#ff9422","color-hl-group-d":"#58c193","color-hl-group-e":"#ff9422","color-hl-group-f":"#ff9422","color-hl-group-g":"#ff9422","color-hl-group-h":"#06a6e9","color-hl-group-i":"#2196f3"},C0={"color-body":"#121212","color-index-page-background":"#1e1e1e","color-index-page-get-started-button":"#4a7afe","color-index-page-github-button":"#303030","color-index-page-feature-background":"#303030","color-index-page-logo-mask-background":"linear-gradient(-45deg, #729dfc 50%, #6859f4 50%)","color-index-page-second-text-color":"rgba(255, 255, 255, .75)","color-index-page-divider-color":"rgba(84, 84, 84, .8)","color-bar":"#1e1e1e","color-sub-bar":"#272727","color-text":"#fff","color-sub-text":"#aaa","color-border":"#333","color-shadow":"#121212","color-introduce-border":"#555","color-primary":"#96cbfe","color-link":"#A8FFC4","color-type":"#A8FFC4","color-loading-bar":"#5580f8","color-side-bar":"#4a7afe","color-side-bar-active-background":"#4a7afe1a","color-app-bar":"#272727","color-nav-button-hover-background":"rgba(255, 255, 255, 0.08)","color-mobile-cell-hover":"#4a7afe","color-pc-language-active":"#4a7afe","color-pc-language-active-background":"#4a7afe20","color-mobile-language-active":"#4a7afe","color-mobile-language-active-background":"#4a7afe20","color-hl-background":"#272727","color-hl-code":"#fff","color-hl-border":"#272727","color-hl-group-a":"#7c7c7c","color-hl-group-b":"#96cbfe","color-hl-group-c":"#ff7b1e","color-hl-group-d":"#A8FFC4","color-hl-group-e":"#ff7b1e","color-hl-group-f":"#ff7b1e","color-hl-group-g":"#ff7b1e","color-hl-group-h":"#14a6e9","color-hl-group-i":"#96cbfe"},S0={name:"varlet-icons",namespace:"var-icon",fontStyle:"normal",fontWeight:"normal",fontFamilyClassName:"var-icon--set",base64:!0},k0={target:"es2016"},P0=["ripple","lazy","hover"],O0=[{from:"../varlet-icons/dist/png",to:"./public/icons/png",type:"folder"}],Fs={name:l0,namespace:u0,host:c0,port:d0,title:f0,logo:v0,defaultLanguage:h0,highlight:m0,analysis:p0,useMobile:g0,pc:b0,mobile:y0,themeKey:$0,lightTheme:w0,darkTheme:C0,icons:S0,esbuild:k0,directives:P0,copy:O0};function Ou(e,n){const t=Object.create(null),o=e.split(",");for(let r=0;r!!t[r.toLowerCase()]:r=>!!t[r]}const on={},sr=[],vt=()=>{},T0=()=>!1,E0=/^on[^a-z]/,za=e=>E0.test(e),Tu=e=>e.startsWith("onUpdate:"),fn=Object.assign,Eu=(e,n)=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)},N0=Object.prototype.hasOwnProperty,qe=(e,n)=>N0.call(e,n),De=Array.isArray,lr=e=>Va(e)==="[object Map]",eh=e=>Va(e)==="[object Set]",Le=e=>typeof e=="function",sn=e=>typeof e=="string",Nu=e=>typeof e=="symbol",an=e=>e!==null&&typeof e=="object",nh=e=>an(e)&&Le(e.then)&&Le(e.catch),th=Object.prototype.toString,Va=e=>th.call(e),I0=e=>Va(e).slice(8,-1),oh=e=>Va(e)==="[object Object]",Iu=e=>sn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ea=Ou(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ra=e=>{const n=Object.create(null);return t=>n[t]||(n[t]=e(t))},M0=/-(\w)/g,St=Ra(e=>e.replace(M0,(n,t)=>t?t.toUpperCase():"")),D0=/\B([A-Z])/g,Ho=Ra(e=>e.replace(D0,"-$1").toLowerCase()),La=Ra(e=>e.charAt(0).toUpperCase()+e.slice(1)),ms=Ra(e=>e?`on${La(e)}`:""),ti=(e,n)=>!Object.is(e,n),na=(e,n)=>{for(let t=0;t{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:t})},Hs=e=>{const n=parseFloat(e);return isNaN(n)?e:n},A0=e=>{const n=sn(e)?Number(e):NaN;return isNaN(n)?e:n};let Mc;const js=()=>Mc||(Mc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function te(e){if(De(e)){const n={};for(let t=0;t{if(t){const o=t.split(z0);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n}function m(e){let n="";if(sn(e))n=e;else if(De(e))for(let t=0;tsn(e)?e:e==null?"":De(e)||an(e)&&(e.toString===th||!Le(e.toString))?JSON.stringify(e,ih,2):String(e),ih=(e,n)=>n&&n.__v_isRef?ih(e,n.value):lr(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((t,[o,r])=>(t[`${o} =>`]=r,t),{})}:eh(n)?{[`Set(${n.size})`]:[...n.values()]}:an(n)&&!De(n)&&!oh(n)?String(n):n;let lt;class F0{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=lt,!n&<&&(this.index=(lt.scopes||(lt.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const t=lt;try{return lt=this,n()}finally{lt=t}}}on(){lt=this}off(){lt=this.parent}stop(n){if(this._active){let t,o;for(t=0,o=this.effects.length;t{const n=new Set(e);return n.w=0,n.n=0,n},ah=e=>(e.w&fo)>0,sh=e=>(e.n&fo)>0,Y0=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let t=0;for(let o=0;o{(c==="length"||c>=l)&&s.push(u)})}else switch(t!==void 0&&s.push(a.get(t)),n){case"add":De(e)?Iu(t)&&s.push(a.get("length")):(s.push(a.get(Ao)),lr(e)&&s.push(a.get(Ws)));break;case"delete":De(e)||(s.push(a.get(Ao)),lr(e)&&s.push(a.get(Ws)));break;case"set":lr(e)&&s.push(a.get(Ao));break}if(s.length===1)s[0]&&qs(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);qs(Mu(l))}}function qs(e,n){const t=De(e)?e:[...e];for(const o of t)o.computed&&Ac(o);for(const o of t)o.computed||Ac(o)}function Ac(e,n){(e!==ct||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function q0(e,n){var t;return(t=fa.get(e))==null?void 0:t.get(n)}const K0=Ou("__proto__,__v_isRef,__isVue"),ch=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nu)),X0=Au(),G0=Au(!1,!0),Z0=Au(!0),Bc=J0();function J0(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...t){const o=We(this);for(let i=0,a=this.length;i{e[n]=function(...t){Pr();const o=We(this)[n].apply(this,t);return Or(),o}}),e}function Q0(e){const n=We(this);return Ln(n,"has",e),n.hasOwnProperty(e)}function Au(e=!1,n=!1){return function(o,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return n;if(r==="__v_raw"&&i===(e?n?v1:mh:n?hh:vh).get(o))return o;const a=De(o);if(!e){if(a&&qe(Bc,r))return Reflect.get(Bc,r,i);if(r==="hasOwnProperty")return Q0}const s=Reflect.get(o,r,i);return(Nu(r)?ch.has(r):K0(r))||(e||Ln(o,"get",r),n)?s:$n(s)?a&&Iu(r)?s:s.value:an(s)?e?ph(s):Xe(s):s}}const _0=dh(),x0=dh(!0);function dh(e=!1){return function(t,o,r,i){let a=t[o];if(fr(a)&&$n(a)&&!$n(r))return!1;if(!e&&(!va(r)&&!fr(r)&&(a=We(a),r=We(r)),!De(t)&&$n(a)&&!$n(r)))return a.value=r,!0;const s=De(t)&&Iu(o)?Number(o)e,Ua=e=>Reflect.getPrototypeOf(e);function Vi(e,n,t=!1,o=!1){e=e.__v_raw;const r=We(e),i=We(n);t||(n!==i&&Ln(r,"get",n),Ln(r,"get",i));const{has:a}=Ua(r),s=o?Bu:t?Ru:oi;if(a.call(r,n))return s(e.get(n));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(n)}function Ri(e,n=!1){const t=this.__v_raw,o=We(t),r=We(e);return n||(e!==r&&Ln(o,"has",e),Ln(o,"has",r)),e===r?t.has(e):t.has(e)||t.has(r)}function Li(e,n=!1){return e=e.__v_raw,!n&&Ln(We(e),"iterate",Ao),Reflect.get(e,"size",e)}function zc(e){e=We(e);const n=We(this);return Ua(n).has.call(n,e)||(n.add(e),zt(n,"add",e,e)),this}function Vc(e,n){n=We(n);const t=We(this),{has:o,get:r}=Ua(t);let i=o.call(t,e);i||(e=We(e),i=o.call(t,e));const a=r.call(t,e);return t.set(e,n),i?ti(n,a)&&zt(t,"set",e,n):zt(t,"add",e,n),this}function Rc(e){const n=We(this),{has:t,get:o}=Ua(n);let r=t.call(n,e);r||(e=We(e),r=t.call(n,e)),o&&o.call(n,e);const i=n.delete(e);return r&&zt(n,"delete",e,void 0),i}function Lc(){const e=We(this),n=e.size!==0,t=e.clear();return n&&zt(e,"clear",void 0,void 0),t}function Ui(e,n){return function(o,r){const i=this,a=i.__v_raw,s=We(a),l=n?Bu:e?Ru:oi;return!e&&Ln(s,"iterate",Ao),a.forEach((u,c)=>o.call(r,l(u),l(c),i))}}function Fi(e,n,t){return function(...o){const r=this.__v_raw,i=We(r),a=lr(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=r[e](...o),c=t?Bu:n?Ru:oi;return!n&&Ln(i,"iterate",l?Ws:Ao),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function Yt(e){return function(...n){return e==="delete"?!1:this}}function i1(){const e={get(i){return Vi(this,i)},get size(){return Li(this)},has:Ri,add:zc,set:Vc,delete:Rc,clear:Lc,forEach:Ui(!1,!1)},n={get(i){return Vi(this,i,!1,!0)},get size(){return Li(this)},has:Ri,add:zc,set:Vc,delete:Rc,clear:Lc,forEach:Ui(!1,!0)},t={get(i){return Vi(this,i,!0)},get size(){return Li(this,!0)},has(i){return Ri.call(this,i,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Ui(!0,!1)},o={get(i){return Vi(this,i,!0,!0)},get size(){return Li(this,!0)},has(i){return Ri.call(this,i,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Ui(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Fi(i,!1,!1),t[i]=Fi(i,!0,!1),n[i]=Fi(i,!1,!0),o[i]=Fi(i,!0,!0)}),[e,t,n,o]}const[a1,s1,l1,u1]=i1();function zu(e,n){const t=n?e?u1:l1:e?s1:a1;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(qe(t,r)&&r in o?t:o,r,i)}const c1={get:zu(!1,!1)},d1={get:zu(!1,!0)},f1={get:zu(!0,!1)},vh=new WeakMap,hh=new WeakMap,mh=new WeakMap,v1=new WeakMap;function h1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function m1(e){return e.__v_skip||!Object.isExtensible(e)?0:h1(I0(e))}function Xe(e){return fr(e)?e:Vu(e,!1,fh,c1,vh)}function p1(e){return Vu(e,!1,r1,d1,hh)}function ph(e){return Vu(e,!0,o1,f1,mh)}function Vu(e,n,t,o,r){if(!an(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=m1(e);if(a===0)return e;const s=new Proxy(e,a===2?o:t);return r.set(e,s),s}function ur(e){return fr(e)?ur(e.__v_raw):!!(e&&e.__v_isReactive)}function fr(e){return!!(e&&e.__v_isReadonly)}function va(e){return!!(e&&e.__v_isShallow)}function gh(e){return ur(e)||fr(e)}function We(e){const n=e&&e.__v_raw;return n?We(n):e}function bh(e){return da(e,"__v_skip",!0),e}const oi=e=>an(e)?Xe(e):e,Ru=e=>an(e)?ph(e):e;function yh(e){so&&ct&&(e=We(e),uh(e.dep||(e.dep=Mu())))}function $h(e,n){e=We(e);const t=e.dep;t&&qs(t)}function $n(e){return!!(e&&e.__v_isRef===!0)}function I(e){return wh(e,!1)}function g1(e){return wh(e,!0)}function wh(e,n){return $n(e)?e:new b1(e,n)}class b1{constructor(n,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?n:We(n),this._value=t?n:oi(n)}get value(){return yh(this),this._value}set value(n){const t=this.__v_isShallow||va(n)||fr(n);n=t?n:We(n),ti(n,this._rawValue)&&(this._rawValue=n,this._value=t?n:oi(n),$h(this))}}function ht(e){return $n(e)?e.value:e}const y1={get:(e,n,t)=>ht(Reflect.get(e,n,t)),set:(e,n,t,o)=>{const r=e[n];return $n(r)&&!$n(t)?(r.value=t,!0):Reflect.set(e,n,t,o)}};function Ch(e){return ur(e)?e:new Proxy(e,y1)}function p8(e){const n=De(e)?new Array(e.length):{};for(const t in e)n[t]=w1(e,t);return n}class $1{constructor(n,t,o){this._object=n,this._key=t,this._defaultValue=o,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}get dep(){return q0(We(this._object),this._key)}}function w1(e,n,t){const o=e[n];return $n(o)?o:new $1(e,n,t)}class C1{constructor(n,t,o,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Du(n,()=>{this._dirty||(this._dirty=!0,$h(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const n=We(this);return yh(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}function S1(e,n,t=!1){let o,r;const i=Le(e);return i?(o=e,r=vt):(o=e.get,r=e.set),new C1(o,r,i||!r,t)}function lo(e,n,t,o){let r;try{r=o?e(...o):e()}catch(i){Fa(i,n,t)}return r}function _n(e,n,t,o){if(Le(e)){const i=lo(e,n,t,o);return i&&nh(i)&&i.catch(a=>{Fa(a,n,t)}),i}const r=[];for(let i=0;i>>1;ii(En[o])wt&&En.splice(n,1)}function T1(e){De(e)?cr.push(...e):(!Dt||!Dt.includes(e,e.allowRecurse?No+1:No))&&cr.push(e),kh()}function Uc(e,n=ri?wt+1:0){for(;nii(t)-ii(o)),No=0;Noe.id==null?1/0:e.id,E1=(e,n)=>{const t=ii(e)-ii(n);if(t===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return t};function Oh(e){Ks=!1,ri=!0,En.sort(E1);const n=vt;try{for(wt=0;wtsn(v)?v.trim():v)),d&&(r=t.map(Hs))}let s,l=o[s=ms(n)]||o[s=ms(St(n))];!l&&i&&(l=o[s=ms(Ho(n))]),l&&_n(l,e,6,r);const u=o[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,_n(u,e,6,r)}}function Th(e,n,t=!1){const o=n.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!Le(e)){const l=u=>{const c=Th(u,n,!0);c&&(s=!0,fn(a,c))};!t&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(an(e)&&o.set(e,null),null):(De(i)?i.forEach(l=>a[l]=null):fn(a,i),an(e)&&o.set(e,a),a)}function Ha(e,n){return!e||!za(n)?!1:(n=n.slice(2).replace(/Once$/,""),qe(e,n[0].toLowerCase()+n.slice(1))||qe(e,Ho(n))||qe(e,n))}let Sn=null,ja=null;function ha(e){const n=Sn;return Sn=e,ja=e&&e.type.__scopeId||null,n}function $o(e){ja=e}function wo(){ja=null}function Te(e,n=Sn,t){if(!n||e._n)return e;const o=(...r)=>{o._d&&_c(-1);const i=ha(n);let a;try{a=e(...r)}finally{ha(i),o._d&&_c(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ps(e){const{type:n,vnode:t,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:v,ctx:p,inheritAttrs:h}=e;let g,$;const S=ha(e);try{if(t.shapeFlag&4){const y=r||o;g=$t(c.call(y,y,d,i,v,f,p)),$=l}else{const y=n;g=$t(y.length>1?y(i,{attrs:l,slots:s,emit:u}):y(i,null)),$=n.props?l:I1(l)}}catch(y){Zr.length=0,Fa(y,e,1),g=ie(qn)}let O=g;if($&&h!==!1){const y=Object.keys($),{shapeFlag:P}=O;y.length&&P&7&&(a&&y.some(Tu)&&($=M1($,a)),O=vo(O,$))}return t.dirs&&(O=vo(O),O.dirs=O.dirs?O.dirs.concat(t.dirs):t.dirs),t.transition&&(O.transition=t.transition),g=O,ha(S),g}const I1=e=>{let n;for(const t in e)(t==="class"||t==="style"||za(t))&&((n||(n={}))[t]=e[t]);return n},M1=(e,n)=>{const t={};for(const o in e)(!Tu(o)||!(o.slice(9)in n))&&(t[o]=e[o]);return t};function D1(e,n,t){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=n,u=i.emitsOptions;if(n.dirs||n.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return o?Fc(o,a,u):!!a;if(l&8){const c=n.dynamicProps;for(let d=0;de.__isSuspense;function z1(e,n){n&&n.pendingBranch?De(e)?n.effects.push(...e):n.effects.push(e):T1(e)}const Hi={};function Ce(e,n,t){return Eh(e,n,t)}function Eh(e,n,{immediate:t,deep:o,flush:r,onTrack:i,onTrigger:a}=on){var s;const l=j0()===((s=bn)==null?void 0:s.scope)?bn:null;let u,c=!1,d=!1;if($n(e)?(u=()=>e.value,c=va(e)):ur(e)?(u=()=>e,o=!0):De(e)?(d=!0,c=e.some(y=>ur(y)||va(y)),u=()=>e.map(y=>{if($n(y))return y.value;if(ur(y))return Do(y);if(Le(y))return lo(y,l,2)})):Le(e)?n?u=()=>lo(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),_n(e,l,3,[v])}:u=vt,n&&o){const y=u;u=()=>Do(y())}let f,v=y=>{f=S.onStop=()=>{lo(y,l,4)}},p;if(ci)if(v=vt,n?t&&_n(n,l,3,[u(),d?[]:void 0,v]):u(),r==="sync"){const y=S$();p=y.__watcherHandles||(y.__watcherHandles=[])}else return vt;let h=d?new Array(e.length).fill(Hi):Hi;const g=()=>{if(S.active)if(n){const y=S.run();(o||c||(d?y.some((P,A)=>ti(P,h[A])):ti(y,h)))&&(f&&f(),_n(n,l,3,[y,h===Hi?void 0:d&&h[0]===Hi?[]:h,v]),h=y)}else S.run()};g.allowRecurse=!!n;let $;r==="sync"?$=g:r==="post"?$=()=>zn(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),$=()=>Uu(g));const S=new Du(u,$);n?t?g():h=S.run():r==="post"?zn(S.run.bind(S),l&&l.suspense):S.run();const O=()=>{S.stop(),l&&l.scope&&Eu(l.scope.effects,S)};return p&&p.push(O),O}function V1(e,n,t){const o=this.proxy,r=sn(e)?e.includes(".")?Nh(o,e):()=>o[e]:e.bind(o,o);let i;Le(n)?i=n:(i=n.handler,t=n);const a=bn;vr(this);const s=Eh(r,i.bind(o),t);return a?vr(a):Bo(),s}function Nh(e,n){const t=n.split(".");return()=>{let o=e;for(let r=0;r{Do(t,n)});else if(oh(e))for(const t in e)Do(e[t],n);return e}function He(e,n){const t=Sn;if(t===null)return e;const o=Xa(t)||t.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Tr(()=>{e.isUnmounting=!0}),e}const Jn=[Function,Array],Mh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jn,onEnter:Jn,onAfterEnter:Jn,onEnterCancelled:Jn,onBeforeLeave:Jn,onLeave:Jn,onAfterLeave:Jn,onLeaveCancelled:Jn,onBeforeAppear:Jn,onAppear:Jn,onAfterAppear:Jn,onAppearCancelled:Jn},R1={name:"BaseTransition",props:Mh,setup(e,{slots:n}){const t=So(),o=Ih();let r;return()=>{const i=n.default&&Fu(n.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const h of i)if(h.type!==qn){a=h;break}}const s=We(e),{mode:l}=s;if(o.isLeaving)return gs(a);const u=Hc(a);if(!u)return gs(a);const c=ai(u,s,o,t);si(u,c);const d=t.subTree,f=d&&Hc(d);let v=!1;const{getTransitionKey:p}=u.type;if(p){const h=p();r===void 0?r=h:h!==r&&(r=h,v=!0)}if(f&&f.type!==qn&&(!Io(u,f)||v)){const h=ai(f,s,o,t);if(si(f,h),l==="out-in")return o.isLeaving=!0,h.afterLeave=()=>{o.isLeaving=!1,t.update.active!==!1&&t.update()},gs(a);l==="in-out"&&u.type!==qn&&(h.delayLeave=(g,$,S)=>{const O=Dh(o,f);O[String(f.key)]=f,g._leaveCb=()=>{$(),g._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=S})}return a}}},L1=R1;function Dh(e,n){const{leavingVNodes:t}=e;let o=t.get(n.type);return o||(o=Object.create(null),t.set(n.type,o)),o}function ai(e,n,t,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:h,onAppear:g,onAfterAppear:$,onAppearCancelled:S}=n,O=String(e.key),y=Dh(t,e),P=(D,T)=>{D&&_n(D,o,9,T)},A=(D,T)=>{const B=T[1];P(D,T),De(D)?D.every(L=>L.length<=1)&&B():D.length<=1&&B()},k={mode:i,persisted:a,beforeEnter(D){let T=s;if(!t.isMounted)if(r)T=h||s;else return;D._leaveCb&&D._leaveCb(!0);const B=y[O];B&&Io(e,B)&&B.el._leaveCb&&B.el._leaveCb(),P(T,[D])},enter(D){let T=l,B=u,L=c;if(!t.isMounted)if(r)T=g||l,B=$||u,L=S||c;else return;let z=!1;const ae=D._enterCb=re=>{z||(z=!0,re?P(L,[D]):P(B,[D]),k.delayedLeave&&k.delayedLeave(),D._enterCb=void 0)};T?A(T,[D,ae]):ae()},leave(D,T){const B=String(e.key);if(D._enterCb&&D._enterCb(!0),t.isUnmounting)return T();P(d,[D]);let L=!1;const z=D._leaveCb=ae=>{L||(L=!0,T(),ae?P(p,[D]):P(v,[D]),D._leaveCb=void 0,y[B]===e&&delete y[B])};y[B]=e,f?A(f,[D,z]):z()},clone(D){return ai(D,n,t,o)}};return k}function gs(e){if(Ya(e))return e=vo(e),e.children=null,e}function Hc(e){return Ya(e)?e.children?e.children[0]:void 0:e}function si(e,n){e.shapeFlag&6&&e.component?si(e.component.subTree,n):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Fu(e,n=!1,t){let o=[],r=0;for(let i=0;i1)for(let i=0;ifn({name:e.name},n,{setup:e}))():e}const qr=e=>!!e.type.__asyncLoader,Ya=e=>e.type.__isKeepAlive;function Ut(e,n){Ah(e,"a",n)}function jo(e,n){Ah(e,"da",n)}function Ah(e,n,t=bn){const o=e.__wdc||(e.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Wa(n,o,t),t){let r=t.parent;for(;r&&r.parent;)Ya(r.parent.vnode)&&U1(o,n,t,r),r=r.parent}}function U1(e,n,t,o){const r=Wa(n,e,o,!0);Ht(()=>{Eu(o[n],r)},t)}function Wa(e,n,t=bn,o=!1){if(t){const r=t[e]||(t[e]=[]),i=n.__weh||(n.__weh=(...a)=>{if(t.isUnmounted)return;Pr(),vr(t);const s=_n(n,t,e,a);return Bo(),Or(),s});return o?r.unshift(i):r.push(i),i}}const Ft=e=>(n,t=bn)=>(!ci||e==="sp")&&Wa(e,(...o)=>n(...o),t),Bh=Ft("bm"),Co=Ft("m"),F1=Ft("bu"),Yo=Ft("u"),Tr=Ft("bum"),Ht=Ft("um"),H1=Ft("sp"),j1=Ft("rtg"),Y1=Ft("rtc");function W1(e,n=bn){Wa("ec",e,n)}const Hu="components",q1="directives";function $e(e,n){return ju(Hu,e,!0,n)||e}const zh=Symbol.for("v-ndc");function Er(e){return sn(e)?ju(Hu,e,!1)||e:e||zh}function Ge(e){return ju(q1,e)}function ju(e,n,t=!0,o=!1){const r=Sn||bn;if(r){const i=r.type;if(e===Hu){const s=$$(i,!1);if(s&&(s===n||s===St(n)||s===La(St(n))))return i}const a=jc(r[e]||i[e],n)||jc(r.appContext[e],n);return!a&&o?i:a}}function jc(e,n){return e&&(e[n]||e[St(n)]||e[La(St(n))])}function un(e,n,t,o){let r;const i=t&&t[o];if(De(e)||sn(e)){r=new Array(e.length);for(let a=0,s=e.length;an(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;s{const i=o.fn(...r);return i&&(i.key=o.key),i}:o.fn)}return e}function X(e,n,t={},o,r){if(Sn.isCE||Sn.parent&&qr(Sn.parent)&&Sn.parent.isCE)return n!=="default"&&(t.name=n),ie("slot",t,o&&o());let i=e[n];i&&i._c&&(i._d=!1),C();const a=i&&Vh(i(t)),s=Ae(Re,{key:t.key||a&&a.key||`_${n}`},a||(o?o():[]),a&&e._===1?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Vh(e){return e.some(n=>ui(n)?!(n.type===qn||n.type===Re&&!Vh(n.children)):!0)?e:null}const Xs=e=>e?Xh(e)?Xa(e)||e.proxy:Xs(e.parent):null,Kr=fn(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=>Xs(e.parent),$root:e=>Xs(e.root),$emit:e=>e.emit,$options:e=>Yu(e),$forceUpdate:e=>e.f||(e.f=()=>Uu(e.update)),$nextTick:e=>e.n||(e.n=en.bind(e.proxy)),$watch:e=>V1.bind(e)}),bs=(e,n)=>e!==on&&!e.__isScriptSetup&&qe(e,n),K1={get({_:e},n){const{ctx:t,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let u;if(n[0]!=="$"){const v=a[n];if(v!==void 0)switch(v){case 1:return o[n];case 2:return r[n];case 4:return t[n];case 3:return i[n]}else{if(bs(o,n))return a[n]=1,o[n];if(r!==on&&qe(r,n))return a[n]=2,r[n];if((u=e.propsOptions[0])&&qe(u,n))return a[n]=3,i[n];if(t!==on&&qe(t,n))return a[n]=4,t[n];Gs&&(a[n]=0)}}const c=Kr[n];let d,f;if(c)return n==="$attrs"&&Ln(e,"get",n),c(e);if((d=s.__cssModules)&&(d=d[n]))return d;if(t!==on&&qe(t,n))return a[n]=4,t[n];if(f=l.config.globalProperties,qe(f,n))return f[n]},set({_:e},n,t){const{data:o,setupState:r,ctx:i}=e;return bs(r,n)?(r[n]=t,!0):o!==on&&qe(o,n)?(o[n]=t,!0):qe(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(i[n]=t,!0)},has({_:{data:e,setupState:n,accessCache:t,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!t[a]||e!==on&&qe(e,a)||bs(n,a)||(s=i[0])&&qe(s,a)||qe(o,a)||qe(Kr,a)||qe(r.config.globalProperties,a)},defineProperty(e,n,t){return t.get!=null?e._.accessCache[n]=0:qe(t,"value")&&this.set(e,n,t.value,null),Reflect.defineProperty(e,n,t)}};function Yc(e){return De(e)?e.reduce((n,t)=>(n[t]=null,n),{}):e}let Gs=!0;function X1(e){const n=Yu(e),t=e.proxy,o=e.ctx;Gs=!1,n.beforeCreate&&Wc(n.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:v,updated:p,activated:h,deactivated:g,beforeDestroy:$,beforeUnmount:S,destroyed:O,unmounted:y,render:P,renderTracked:A,renderTriggered:k,errorCaptured:D,serverPrefetch:T,expose:B,inheritAttrs:L,components:z,directives:ae,filters:re}=n;if(u&&G1(u,o,null),a)for(const x in a){const q=a[x];Le(q)&&(o[x]=q.bind(t))}if(r){const x=r.call(t,t);an(x)&&(e.data=Xe(x))}if(Gs=!0,i)for(const x in i){const q=i[x],ge=Le(q)?q.bind(t,t):Le(q.get)?q.get.bind(t,t):vt,se=!Le(q)&&Le(q.set)?q.set.bind(t):vt,ve=R({get:ge,set:se});Object.defineProperty(o,x,{enumerable:!0,configurable:!0,get:()=>ve.value,set:G=>ve.value=G})}if(s)for(const x in s)Rh(s[x],o,t,x);if(l){const x=Le(l)?l.call(t):l;Reflect.ownKeys(x).forEach(q=>{Xr(q,x[q])})}c&&Wc(c,e,"c");function _(x,q){De(q)?q.forEach(ge=>x(ge.bind(t))):q&&x(q.bind(t))}if(_(Bh,d),_(Co,f),_(F1,v),_(Yo,p),_(Ut,h),_(jo,g),_(W1,D),_(Y1,A),_(j1,k),_(Tr,S),_(Ht,y),_(H1,T),De(B))if(B.length){const x=e.exposed||(e.exposed={});B.forEach(q=>{Object.defineProperty(x,q,{get:()=>t[q],set:ge=>t[q]=ge})})}else e.exposed||(e.exposed={});P&&e.render===vt&&(e.render=P),L!=null&&(e.inheritAttrs=L),z&&(e.components=z),ae&&(e.directives=ae)}function G1(e,n,t=vt){De(e)&&(e=Zs(e));for(const o in e){const r=e[o];let i;an(r)?"default"in r?i=xn(r.from||o,r.default,!0):i=xn(r.from||o):i=xn(r),$n(i)?Object.defineProperty(n,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):n[o]=i}}function Wc(e,n,t){_n(De(e)?e.map(o=>o.bind(n.proxy)):e.bind(n.proxy),n,t)}function Rh(e,n,t,o){const r=o.includes(".")?Nh(t,o):()=>t[o];if(sn(e)){const i=n[e];Le(i)&&Ce(r,i)}else if(Le(e))Ce(r,e.bind(t));else if(an(e))if(De(e))e.forEach(i=>Rh(i,n,t,o));else{const i=Le(e.handler)?e.handler.bind(t):n[e.handler];Le(i)&&Ce(r,i,e)}}function Yu(e){const n=e.type,{mixins:t,extends:o}=n,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(n);let l;return s?l=s:!r.length&&!t&&!o?l=n:(l={},r.length&&r.forEach(u=>pa(l,u,a,!0)),pa(l,n,a)),an(n)&&i.set(n,l),l}function pa(e,n,t,o=!1){const{mixins:r,extends:i}=n;i&&pa(e,i,t,!0),r&&r.forEach(a=>pa(e,a,t,!0));for(const a in n)if(!(o&&a==="expose")){const s=Z1[a]||t&&t[a];e[a]=s?s(e[a],n[a]):n[a]}return e}const Z1={data:qc,props:Kc,emits:Kc,methods:Yr,computed:Yr,beforeCreate:Mn,created:Mn,beforeMount:Mn,mounted:Mn,beforeUpdate:Mn,updated:Mn,beforeDestroy:Mn,beforeUnmount:Mn,destroyed:Mn,unmounted:Mn,activated:Mn,deactivated:Mn,errorCaptured:Mn,serverPrefetch:Mn,components:Yr,directives:Yr,watch:Q1,provide:qc,inject:J1};function qc(e,n){return n?e?function(){return fn(Le(e)?e.call(this,this):e,Le(n)?n.call(this,this):n)}:n:e}function J1(e,n){return Yr(Zs(e),Zs(n))}function Zs(e){if(De(e)){const n={};for(let t=0;t1)return t&&Le(n)?n.call(o&&o.proxy):n}}function e$(e,n,t,o=!1){const r={},i={};da(i,Ka,1),e.propsDefaults=Object.create(null),Uh(e,n,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);t?e.props=o?r:p1(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function n$(e,n,t,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=We(r),[l]=e.propsOptions;let u=!1;if((o||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,v]=Fh(d,n,!0);fn(a,f),v&&s.push(...v)};!t&&n.mixins.length&&n.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return an(e)&&o.set(e,sr),sr;if(De(i))for(let c=0;c-1,v[1]=h<0||p-1||qe(v,"default"))&&s.push(d)}}}const u=[a,s];return an(e)&&o.set(e,u),u}function Xc(e){return e[0]!=="$"}function Gc(e){const n=e&&e.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:e===null?"null":""}function Zc(e,n){return Gc(e)===Gc(n)}function Jc(e,n){return De(n)?n.findIndex(t=>Zc(t,e)):Le(n)&&Zc(n,e)?0:-1}const Hh=e=>e[0]==="_"||e==="$stable",Wu=e=>De(e)?e.map($t):[$t(e)],t$=(e,n,t)=>{if(n._n)return n;const o=Te((...r)=>Wu(n(...r)),t);return o._c=!1,o},jh=(e,n,t)=>{const o=e._ctx;for(const r in e){if(Hh(r))continue;const i=e[r];if(Le(i))n[r]=t$(r,i,o);else if(i!=null){const a=Wu(i);n[r]=()=>a}}},Yh=(e,n)=>{const t=Wu(n);e.slots.default=()=>t},o$=(e,n)=>{if(e.vnode.shapeFlag&32){const t=n._;t?(e.slots=We(n),da(n,"_",t)):jh(n,e.slots={})}else e.slots={},n&&Yh(e,n);da(e.slots,Ka,1)},r$=(e,n,t)=>{const{vnode:o,slots:r}=e;let i=!0,a=on;if(o.shapeFlag&32){const s=n._;s?t&&s===1?i=!1:(fn(r,n),!t&&s===1&&delete r._):(i=!n.$stable,jh(n,r)),a=n}else n&&(Yh(e,n),a={default:1});if(i)for(const s in r)!Hh(s)&&!(s in a)&&delete r[s]};function Qs(e,n,t,o,r=!1){if(De(e)){e.forEach((f,v)=>Qs(f,n&&(De(n)?n[v]:n),t,o,r));return}if(qr(o)&&!r)return;const i=o.shapeFlag&4?Xa(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,u=n&&n.r,c=s.refs===on?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(sn(u)?(c[u]=null,qe(d,u)&&(d[u]=null)):$n(u)&&(u.value=null)),Le(l))lo(l,s,12,[a,c]);else{const f=sn(l),v=$n(l);if(f||v){const p=()=>{if(e.f){const h=f?qe(d,l)?d[l]:c[l]:l.value;r?De(h)&&Eu(h,i):De(h)?h.includes(i)||h.push(i):f?(c[l]=[i],qe(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else f?(c[l]=a,qe(d,l)&&(d[l]=a)):v&&(l.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,zn(p,t)):p()}}}const zn=z1;function i$(e){return a$(e)}function a$(e,n){const t=js();t.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:v=vt,insertStaticContent:p}=e,h=(w,b,E,Y=null,Q=null,U=null,le=!1,Z=null,ue=!!b.dynamicChildren)=>{if(w===b)return;w&&!Io(w,b)&&(Y=V(w),G(w,Q,U,!0),w=null),b.patchFlag===-2&&(ue=!1,b.dynamicChildren=null);const{type:ne,ref:Se,shapeFlag:ke}=b;switch(ne){case qa:g(w,b,E,Y);break;case qn:$(w,b,E,Y);break;case ta:w==null&&S(b,E,Y,le);break;case Re:z(w,b,E,Y,Q,U,le,Z,ue);break;default:ke&1?P(w,b,E,Y,Q,U,le,Z,ue):ke&6?ae(w,b,E,Y,Q,U,le,Z,ue):(ke&64||ke&128)&&ne.process(w,b,E,Y,Q,U,le,Z,ue,H)}Se!=null&&Q&&Qs(Se,w&&w.ref,U,b||w,!b)},g=(w,b,E,Y)=>{if(w==null)o(b.el=s(b.children),E,Y);else{const Q=b.el=w.el;b.children!==w.children&&u(Q,b.children)}},$=(w,b,E,Y)=>{w==null?o(b.el=l(b.children||""),E,Y):b.el=w.el},S=(w,b,E,Y)=>{[w.el,w.anchor]=p(w.children,b,E,Y,w.el,w.anchor)},O=({el:w,anchor:b},E,Y)=>{let Q;for(;w&&w!==b;)Q=f(w),o(w,E,Y),w=Q;o(b,E,Y)},y=({el:w,anchor:b})=>{let E;for(;w&&w!==b;)E=f(w),r(w),w=E;r(b)},P=(w,b,E,Y,Q,U,le,Z,ue)=>{le=le||b.type==="svg",w==null?A(b,E,Y,Q,U,le,Z,ue):T(w,b,Q,U,le,Z,ue)},A=(w,b,E,Y,Q,U,le,Z)=>{let ue,ne;const{type:Se,props:ke,shapeFlag:Oe,transition:Ie,dirs:Ue}=w;if(ue=w.el=a(w.type,U,ke&&ke.is,ke),Oe&8?c(ue,w.children):Oe&16&&D(w.children,ue,null,Y,Q,U&&Se!=="foreignObject",le,Z),Ue&&Oo(w,null,Y,"created"),k(ue,w,w.scopeId,le,Y),ke){for(const Ye in ke)Ye!=="value"&&!ea(Ye)&&i(ue,Ye,null,ke[Ye],U,w.children,Y,Q,ee);"value"in ke&&i(ue,"value",null,ke.value),(ne=ke.onVnodeBeforeMount)&&yt(ne,Y,w)}Ue&&Oo(w,null,Y,"beforeMount");const Je=(!Q||Q&&!Q.pendingBranch)&&Ie&&!Ie.persisted;Je&&Ie.beforeEnter(ue),o(ue,b,E),((ne=ke&&ke.onVnodeMounted)||Je||Ue)&&zn(()=>{ne&&yt(ne,Y,w),Je&&Ie.enter(ue),Ue&&Oo(w,null,Y,"mounted")},Q)},k=(w,b,E,Y,Q)=>{if(E&&v(w,E),Y)for(let U=0;U{for(let ne=ue;ne{const Z=b.el=w.el;let{patchFlag:ue,dynamicChildren:ne,dirs:Se}=b;ue|=w.patchFlag&16;const ke=w.props||on,Oe=b.props||on;let Ie;E&&To(E,!1),(Ie=Oe.onVnodeBeforeUpdate)&&yt(Ie,E,b,w),Se&&Oo(b,w,E,"beforeUpdate"),E&&To(E,!0);const Ue=Q&&b.type!=="foreignObject";if(ne?B(w.dynamicChildren,ne,Z,E,Y,Ue,U):le||q(w,b,Z,null,E,Y,Ue,U,!1),ue>0){if(ue&16)L(Z,b,ke,Oe,E,Y,Q);else if(ue&2&&ke.class!==Oe.class&&i(Z,"class",null,Oe.class,Q),ue&4&&i(Z,"style",ke.style,Oe.style,Q),ue&8){const Je=b.dynamicProps;for(let Ye=0;Ye{Ie&&yt(Ie,E,b,w),Se&&Oo(b,w,E,"updated")},Y)},B=(w,b,E,Y,Q,U,le)=>{for(let Z=0;Z{if(E!==Y){if(E!==on)for(const Z in E)!ea(Z)&&!(Z in Y)&&i(w,Z,E[Z],null,le,b.children,Q,U,ee);for(const Z in Y){if(ea(Z))continue;const ue=Y[Z],ne=E[Z];ue!==ne&&Z!=="value"&&i(w,Z,ne,ue,le,b.children,Q,U,ee)}"value"in Y&&i(w,"value",E.value,Y.value)}},z=(w,b,E,Y,Q,U,le,Z,ue)=>{const ne=b.el=w?w.el:s(""),Se=b.anchor=w?w.anchor:s("");let{patchFlag:ke,dynamicChildren:Oe,slotScopeIds:Ie}=b;Ie&&(Z=Z?Z.concat(Ie):Ie),w==null?(o(ne,E,Y),o(Se,E,Y),D(b.children,E,Se,Q,U,le,Z,ue)):ke>0&&ke&64&&Oe&&w.dynamicChildren?(B(w.dynamicChildren,Oe,E,Q,U,le,Z),(b.key!=null||Q&&b===Q.subTree)&&qu(w,b,!0)):q(w,b,E,Se,Q,U,le,Z,ue)},ae=(w,b,E,Y,Q,U,le,Z,ue)=>{b.slotScopeIds=Z,w==null?b.shapeFlag&512?Q.ctx.activate(b,E,Y,le,ue):re(b,E,Y,Q,U,le,ue):oe(w,b,ue)},re=(w,b,E,Y,Q,U,le)=>{const Z=w.component=m$(w,Y,Q);if(Ya(w)&&(Z.ctx.renderer=H),p$(Z),Z.asyncDep){if(Q&&Q.registerDep(Z,_),!w.el){const ue=Z.subTree=ie(qn);$(null,ue,b,E)}return}_(Z,w,b,E,Q,U,le)},oe=(w,b,E)=>{const Y=b.component=w.component;if(D1(w,b,E))if(Y.asyncDep&&!Y.asyncResolved){x(Y,b,E);return}else Y.next=b,O1(Y.update),Y.update();else b.el=w.el,Y.vnode=b},_=(w,b,E,Y,Q,U,le)=>{const Z=()=>{if(w.isMounted){let{next:Se,bu:ke,u:Oe,parent:Ie,vnode:Ue}=w,Je=Se,Ye;To(w,!1),Se?(Se.el=Ue.el,x(w,Se,le)):Se=Ue,ke&&na(ke),(Ye=Se.props&&Se.props.onVnodeBeforeUpdate)&&yt(Ye,Ie,Se,Ue),To(w,!0);const ln=ps(w),at=w.subTree;w.subTree=ln,h(at,ln,d(at.el),V(at),w,Q,U),Se.el=ln.el,Je===null&&A1(w,ln.el),Oe&&zn(Oe,Q),(Ye=Se.props&&Se.props.onVnodeUpdated)&&zn(()=>yt(Ye,Ie,Se,Ue),Q)}else{let Se;const{el:ke,props:Oe}=b,{bm:Ie,m:Ue,parent:Je}=w,Ye=qr(b);if(To(w,!1),Ie&&na(Ie),!Ye&&(Se=Oe&&Oe.onVnodeBeforeMount)&&yt(Se,Je,b),To(w,!0),ke&&Pe){const ln=()=>{w.subTree=ps(w),Pe(ke,w.subTree,w,Q,null)};Ye?b.type.__asyncLoader().then(()=>!w.isUnmounted&&ln()):ln()}else{const ln=w.subTree=ps(w);h(null,ln,E,Y,w,Q,U),b.el=ln.el}if(Ue&&zn(Ue,Q),!Ye&&(Se=Oe&&Oe.onVnodeMounted)){const ln=b;zn(()=>yt(Se,Je,ln),Q)}(b.shapeFlag&256||Je&&qr(Je.vnode)&&Je.vnode.shapeFlag&256)&&w.a&&zn(w.a,Q),w.isMounted=!0,b=E=Y=null}},ue=w.effect=new Du(Z,()=>Uu(ne),w.scope),ne=w.update=()=>ue.run();ne.id=w.uid,To(w,!0),ne()},x=(w,b,E)=>{b.component=w;const Y=w.vnode.props;w.vnode=b,w.next=null,n$(w,b.props,Y,E),r$(w,b.children,E),Pr(),Uc(),Or()},q=(w,b,E,Y,Q,U,le,Z,ue=!1)=>{const ne=w&&w.children,Se=w?w.shapeFlag:0,ke=b.children,{patchFlag:Oe,shapeFlag:Ie}=b;if(Oe>0){if(Oe&128){se(ne,ke,E,Y,Q,U,le,Z,ue);return}else if(Oe&256){ge(ne,ke,E,Y,Q,U,le,Z,ue);return}}Ie&8?(Se&16&&ee(ne,Q,U),ke!==ne&&c(E,ke)):Se&16?Ie&16?se(ne,ke,E,Y,Q,U,le,Z,ue):ee(ne,Q,U,!0):(Se&8&&c(E,""),Ie&16&&D(ke,E,Y,Q,U,le,Z,ue))},ge=(w,b,E,Y,Q,U,le,Z,ue)=>{w=w||sr,b=b||sr;const ne=w.length,Se=b.length,ke=Math.min(ne,Se);let Oe;for(Oe=0;OeSe?ee(w,Q,U,!0,!1,ke):D(b,E,Y,Q,U,le,Z,ue,ke)},se=(w,b,E,Y,Q,U,le,Z,ue)=>{let ne=0;const Se=b.length;let ke=w.length-1,Oe=Se-1;for(;ne<=ke&&ne<=Oe;){const Ie=w[ne],Ue=b[ne]=ue?Zt(b[ne]):$t(b[ne]);if(Io(Ie,Ue))h(Ie,Ue,E,null,Q,U,le,Z,ue);else break;ne++}for(;ne<=ke&&ne<=Oe;){const Ie=w[ke],Ue=b[Oe]=ue?Zt(b[Oe]):$t(b[Oe]);if(Io(Ie,Ue))h(Ie,Ue,E,null,Q,U,le,Z,ue);else break;ke--,Oe--}if(ne>ke){if(ne<=Oe){const Ie=Oe+1,Ue=IeOe)for(;ne<=ke;)G(w[ne],Q,U,!0),ne++;else{const Ie=ne,Ue=ne,Je=new Map;for(ne=Ue;ne<=Oe;ne++){const jn=b[ne]=ue?Zt(b[ne]):$t(b[ne]);jn.key!=null&&Je.set(jn.key,ne)}let Ye,ln=0;const at=Oe-Ue+1;let Jo=!1,Ec=0;const zr=new Array(at);for(ne=0;ne=at){G(jn,Q,U,!0);continue}let bt;if(jn.key!=null)bt=Je.get(jn.key);else for(Ye=Ue;Ye<=Oe;Ye++)if(zr[Ye-Ue]===0&&Io(jn,b[Ye])){bt=Ye;break}bt===void 0?G(jn,Q,U,!0):(zr[bt-Ue]=ne+1,bt>=Ec?Ec=bt:Jo=!0,h(jn,b[bt],E,null,Q,U,le,Z,ue),ln++)}const Nc=Jo?s$(zr):sr;for(Ye=Nc.length-1,ne=at-1;ne>=0;ne--){const jn=Ue+ne,bt=b[jn],Ic=jn+1{const{el:U,type:le,transition:Z,children:ue,shapeFlag:ne}=w;if(ne&6){ve(w.component.subTree,b,E,Y);return}if(ne&128){w.suspense.move(b,E,Y);return}if(ne&64){le.move(w,b,E,H);return}if(le===Re){o(U,b,E);for(let ke=0;keZ.enter(U),Q);else{const{leave:ke,delayLeave:Oe,afterLeave:Ie}=Z,Ue=()=>o(U,b,E),Je=()=>{ke(U,()=>{Ue(),Ie&&Ie()})};Oe?Oe(U,Ue,Je):Je()}else o(U,b,E)},G=(w,b,E,Y=!1,Q=!1)=>{const{type:U,props:le,ref:Z,children:ue,dynamicChildren:ne,shapeFlag:Se,patchFlag:ke,dirs:Oe}=w;if(Z!=null&&Qs(Z,null,E,w,!0),Se&256){b.ctx.deactivate(w);return}const Ie=Se&1&&Oe,Ue=!qr(w);let Je;if(Ue&&(Je=le&&le.onVnodeBeforeUnmount)&&yt(Je,b,w),Se&6)j(w.component,E,Y);else{if(Se&128){w.suspense.unmount(E,Y);return}Ie&&Oo(w,null,b,"beforeUnmount"),Se&64?w.type.remove(w,b,E,Q,H,Y):ne&&(U!==Re||ke>0&&ke&64)?ee(ne,b,E,!1,!0):(U===Re&&ke&384||!Q&&Se&16)&&ee(ue,b,E),Y&&de(w)}(Ue&&(Je=le&&le.onVnodeUnmounted)||Ie)&&zn(()=>{Je&&yt(Je,b,w),Ie&&Oo(w,null,b,"unmounted")},E)},de=w=>{const{type:b,el:E,anchor:Y,transition:Q}=w;if(b===Re){ye(E,Y);return}if(b===ta){y(w);return}const U=()=>{r(E),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(w.shapeFlag&1&&Q&&!Q.persisted){const{leave:le,delayLeave:Z}=Q,ue=()=>le(E,U);Z?Z(w.el,U,ue):ue()}else U()},ye=(w,b)=>{let E;for(;w!==b;)E=f(w),r(w),w=E;r(b)},j=(w,b,E)=>{const{bum:Y,scope:Q,update:U,subTree:le,um:Z}=w;Y&&na(Y),Q.stop(),U&&(U.active=!1,G(le,w,b,E)),Z&&zn(Z,b),zn(()=>{w.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ee=(w,b,E,Y=!1,Q=!1,U=0)=>{for(let le=U;lew.shapeFlag&6?V(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),fe=(w,b,E)=>{w==null?b._vnode&&G(b._vnode,null,null,!0):h(b._vnode||null,w,b,null,null,null,E),Uc(),Ph(),b._vnode=w},H={p:h,um:G,m:ve,r:de,mt:re,mc:D,pc:q,pbc:B,n:V,o:e};let J,Pe;return n&&([J,Pe]=n(H)),{render:fe,hydrate:J,createApp:x1(fe,J)}}function To({effect:e,update:n},t){e.allowRecurse=n.allowRecurse=t}function qu(e,n,t=!1){const o=e.children,r=n.children;if(De(o)&&De(r))for(let i=0;i>1,e[t[s]]0&&(n[o]=t[i-1]),t[i]=o)}}for(i=t.length,a=t[i-1];i-- >0;)t[i]=a,a=n[a];return t}const l$=e=>e.__isTeleport,Gr=e=>e&&(e.disabled||e.disabled===""),Qc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_s=(e,n)=>{const t=e&&e.to;return sn(t)?n?n(t):null:t},u$={__isTeleport:!0,process(e,n,t,o,r,i,a,s,l,u){const{mc:c,pc:d,pbc:f,o:{insert:v,querySelector:p,createText:h,createComment:g}}=u,$=Gr(n.props);let{shapeFlag:S,children:O,dynamicChildren:y}=n;if(e==null){const P=n.el=h(""),A=n.anchor=h("");v(P,t,o),v(A,t,o);const k=n.target=_s(n.props,p),D=n.targetAnchor=h("");k&&(v(D,k),a=a||Qc(k));const T=(B,L)=>{S&16&&c(O,B,L,r,i,a,s,l)};$?T(t,A):k&&T(k,D)}else{n.el=e.el;const P=n.anchor=e.anchor,A=n.target=e.target,k=n.targetAnchor=e.targetAnchor,D=Gr(e.props),T=D?t:A,B=D?P:k;if(a=a||Qc(A),y?(f(e.dynamicChildren,y,T,r,i,a,s),qu(e,n,!0)):l||d(e,n,T,B,r,i,a,s,!1),$)D||ji(n,t,P,u,1);else if((n.props&&n.props.to)!==(e.props&&e.props.to)){const L=n.target=_s(n.props,p);L&&ji(n,L,null,u,0)}else D&&ji(n,A,k,u,1)}Wh(n)},remove(e,n,t,o,{um:r,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&i(c),(a||!Gr(f))&&(i(u),s&16))for(let v=0;v0?dt||sr:null,d$(),li>0&&dt&&dt.push(e),e}function M(e,n,t,o,r,i){return qh(F(e,n,t,o,r,i,!0))}function Ae(e,n,t,o,r){return qh(ie(e,n,t,o,r,!0))}function ui(e){return e?e.__v_isVNode===!0:!1}function Io(e,n){return e.type===n.type&&e.key===n.key}const Ka="__vInternal",Kh=({key:e})=>e??null,oa=({ref:e,ref_key:n,ref_for:t})=>(typeof e=="number"&&(e=""+e),e!=null?sn(e)||$n(e)||Le(e)?{i:Sn,r:e,k:n,f:!!t}:e:null);function F(e,n=null,t=null,o=0,r=null,i=e===Re?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&Kh(n),ref:n&&oa(n),scopeId:ja,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Sn};return s?(Ku(l,t),i&128&&e.normalize(l)):t&&(l.shapeFlag|=sn(t)?8:16),li>0&&!a&&dt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&dt.push(l),l}const ie=f$;function f$(e,n=null,t=null,o=0,r=null,i=!1){if((!e||e===zh)&&(e=qn),ui(e)){const s=vo(e,n,!0);return t&&Ku(s,t),li>0&&!i&&dt&&(s.shapeFlag&6?dt[dt.indexOf(e)]=s:dt.push(s)),s.patchFlag|=-2,s}if(w$(e)&&(e=e.__vccOpts),n){n=Nr(n);let{class:s,style:l}=n;s&&!sn(s)&&(n.class=m(s)),an(l)&&(gh(l)&&!De(l)&&(l=fn({},l)),n.style=te(l))}const a=sn(e)?1:B1(e)?128:l$(e)?64:an(e)?4:Le(e)?2:0;return F(e,n,t,o,r,a,i,!0)}function Nr(e){return e?gh(e)||Ka in e?fn({},e):e:null}function vo(e,n,t=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=n?Ze(o||{},n):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Kh(s),ref:n&&n.ref?t&&r?De(r)?r.concat(oa(n)):[r,oa(n)]:oa(n):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Re?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vo(e.ssContent),ssFallback:e.ssFallback&&vo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function je(e=" ",n=0){return ie(qa,null,e,n)}function g8(e,n){const t=ie(ta,null,e);return t.staticCount=n,t}function he(e="",n=!1){return n?(C(),Ae(qn,null,e)):ie(qn,null,e)}function $t(e){return e==null||typeof e=="boolean"?ie(qn):De(e)?ie(Re,null,e.slice()):typeof e=="object"?Zt(e):ie(qa,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vo(e)}function Ku(e,n){let t=0;const{shapeFlag:o}=e;if(n==null)n=null;else if(De(n))t=16;else if(typeof n=="object")if(o&65){const r=n.default;r&&(r._c&&(r._d=!1),Ku(e,r()),r._c&&(r._d=!0));return}else{t=32;const r=n._;!r&&!(Ka in n)?n._ctx=Sn:r===3&&Sn&&(Sn.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else Le(n)?(n={default:n,_ctx:Sn},t=32):(n=String(n),o&64?(t=16,n=[je(n)]):t=8);e.children=n,e.shapeFlag|=t}function Ze(...e){const n={};for(let t=0;tbn||Sn;let Xu,Qo,xc="__VUE_INSTANCE_SETTERS__";(Qo=js()[xc])||(Qo=js()[xc]=[]),Qo.push(e=>bn=e),Xu=e=>{Qo.length>1?Qo.forEach(n=>n(e)):Qo[0](e)};const vr=e=>{Xu(e),e.scope.on()},Bo=()=>{bn&&bn.scope.off(),Xu(null)};function Xh(e){return e.vnode.shapeFlag&4}let ci=!1;function p$(e,n=!1){ci=n;const{props:t,children:o}=e.vnode,r=Xh(e);e$(e,t,r,n),o$(e,o);const i=r?g$(e,n):void 0;return ci=!1,i}function g$(e,n){const t=e.type;e.accessCache=Object.create(null),e.proxy=bh(new Proxy(e.ctx,K1));const{setup:o}=t;if(o){const r=e.setupContext=o.length>1?y$(e):null;vr(e),Pr();const i=lo(o,e,0,[e.props,r]);if(Or(),Bo(),nh(i)){if(i.then(Bo,Bo),n)return i.then(a=>{ed(e,a,n)}).catch(a=>{Fa(a,e,0)});e.asyncDep=i}else ed(e,i,n)}else Gh(e,n)}function ed(e,n,t){Le(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:an(n)&&(e.setupState=Ch(n)),Gh(e,t)}let nd;function Gh(e,n,t){const o=e.type;if(!e.render){if(!n&&nd&&!o.render){const r=o.template||Yu(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,u=fn(fn({isCustomElement:i,delimiters:s},a),l);o.render=nd(r,u)}}e.render=o.render||vt}vr(e),Pr(),X1(e),Or(),Bo()}function b$(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(n,t){return Ln(e,"get","$attrs"),n[t]}}))}function y$(e){const n=t=>{e.exposed=t||{}};return{get attrs(){return b$(e)},slots:e.slots,emit:e.emit,expose:n}}function Xa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ch(bh(e.exposed)),{get(n,t){if(t in n)return n[t];if(t in Kr)return Kr[t](e)},has(n,t){return t in n||t in Kr}}))}function $$(e,n=!0){return Le(e)?e.displayName||e.name:e.name||n&&e.__name}function w$(e){return Le(e)&&"__vccOpts"in e}const R=(e,n)=>S1(e,n,ci);function Ii(e,n,t){const o=arguments.length;return o===2?an(n)&&!De(n)?ui(n)?ie(e,null,[n]):ie(e,n):ie(e,null,n):(o>3?t=Array.prototype.slice.call(arguments,2):o===3&&ui(t)&&(t=[t]),ie(e,n,t))}const C$=Symbol.for("v-scx"),S$=()=>xn(C$),k$="3.3.4",P$="http://www.w3.org/2000/svg",Mo=typeof document<"u"?document:null,td=Mo&&Mo.createElement("template"),O$={insert:(e,n,t)=>{n.insertBefore(e,t||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,t,o)=>{const r=n?Mo.createElementNS(P$,e):Mo.createElement(e,t?{is:t}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Mo.createTextNode(e),createComment:e=>Mo.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mo.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,t,o,r,i){const a=t?t.previousSibling:n.lastChild;if(r&&(r===i||r.nextSibling))for(;n.insertBefore(r.cloneNode(!0),t),!(r===i||!(r=r.nextSibling)););else{td.innerHTML=o?`${e}`:e;const s=td.content;if(o){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}n.insertBefore(s,t)}return[a?a.nextSibling:n.firstChild,t?t.previousSibling:n.lastChild]}};function T$(e,n,t){const o=e._vtc;o&&(n=(n?[n,...o]:[...o]).join(" ")),n==null?e.removeAttribute("class"):t?e.setAttribute("class",n):e.className=n}function E$(e,n,t){const o=e.style,r=sn(t);if(t&&!r){if(n&&!sn(n))for(const i in n)t[i]==null&&xs(o,i,"");for(const i in t)xs(o,i,t[i])}else{const i=o.display;r?n!==t&&(o.cssText=t):n&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}}const od=/\s*!important$/;function xs(e,n,t){if(De(t))t.forEach(o=>xs(e,n,o));else if(t==null&&(t=""),n.startsWith("--"))e.setProperty(n,t);else{const o=N$(e,n);od.test(t)?e.setProperty(Ho(o),t.replace(od,""),"important"):e[o]=t}}const rd=["Webkit","Moz","ms"],ys={};function N$(e,n){const t=ys[n];if(t)return t;let o=St(n);if(o!=="filter"&&o in e)return ys[n]=o;o=La(o);for(let r=0;r$s||(z$.then(()=>$s=0),$s=Date.now());function R$(e,n){const t=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=t.attached)return;_n(L$(o,t.value),n,5,[o])};return t.value=e,t.attached=V$(),t}function L$(e,n){if(De(n)){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{t.call(e),e._stopped=!0},n.map(o=>r=>!r._stopped&&o&&o(r))}else return n}const sd=/^on[a-z]/,U$=(e,n,t,o,r=!1,i,a,s,l)=>{n==="class"?T$(e,o,r):n==="style"?E$(e,t,o):za(n)?Tu(n)||A$(e,n,t,o,a):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):F$(e,n,o,r))?M$(e,n,o,i,a,s,l):(n==="true-value"?e._trueValue=o:n==="false-value"&&(e._falseValue=o),I$(e,n,o,r))};function F$(e,n,t,o){return o?!!(n==="innerHTML"||n==="textContent"||n in e&&sd.test(n)&&Le(t)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||sd.test(n)&&sn(t)?!1:n in e}const Wt="transition",Vr="animation",nn=(e,{slots:n})=>Ii(L1,Jh(e),n);nn.displayName="Transition";const Zh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},H$=nn.props=fn({},Mh,Zh),Eo=(e,n=[])=>{De(e)?e.forEach(t=>t(...n)):e&&e(...n)},ld=e=>e?De(e)?e.some(n=>n.length>1):e.length>1:!1;function Jh(e){const n={};for(const z in e)z in Zh||(n[z]=e[z]);if(e.css===!1)return n;const{name:t="v",type:o,duration:r,enterFromClass:i=`${t}-enter-from`,enterActiveClass:a=`${t}-enter-active`,enterToClass:s=`${t}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:v=`${t}-leave-to`}=e,p=j$(r),h=p&&p[0],g=p&&p[1],{onBeforeEnter:$,onEnter:S,onEnterCancelled:O,onLeave:y,onLeaveCancelled:P,onBeforeAppear:A=$,onAppear:k=S,onAppearCancelled:D=O}=n,T=(z,ae,re)=>{Gt(z,ae?c:s),Gt(z,ae?u:a),re&&re()},B=(z,ae)=>{z._isLeaving=!1,Gt(z,d),Gt(z,v),Gt(z,f),ae&&ae()},L=z=>(ae,re)=>{const oe=z?k:S,_=()=>T(ae,z,re);Eo(oe,[ae,_]),ud(()=>{Gt(ae,z?l:i),It(ae,z?c:s),ld(oe)||cd(ae,o,h,_)})};return fn(n,{onBeforeEnter(z){Eo($,[z]),It(z,i),It(z,a)},onBeforeAppear(z){Eo(A,[z]),It(z,l),It(z,u)},onEnter:L(!1),onAppear:L(!0),onLeave(z,ae){z._isLeaving=!0;const re=()=>B(z,ae);It(z,d),_h(),It(z,f),ud(()=>{z._isLeaving&&(Gt(z,d),It(z,v),ld(y)||cd(z,o,g,re))}),Eo(y,[z,re])},onEnterCancelled(z){T(z,!1),Eo(O,[z])},onAppearCancelled(z){T(z,!0),Eo(D,[z])},onLeaveCancelled(z){B(z),Eo(P,[z])}})}function j$(e){if(e==null)return null;if(an(e))return[ws(e.enter),ws(e.leave)];{const n=ws(e);return[n,n]}}function ws(e){return A0(e)}function It(e,n){n.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(n)}function Gt(e,n){n.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:t}=e;t&&(t.delete(n),t.size||(e._vtc=void 0))}function ud(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y$=0;function cd(e,n,t,o){const r=e._endId=++Y$,i=()=>{r===e._endId&&o()};if(t)return setTimeout(i,t);const{type:a,timeout:s,propCount:l}=Qh(e,n);if(!a)return o();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=v=>{v.target===e&&++c>=l&&d()};setTimeout(()=>{c(t[p]||"").split(", "),r=o(`${Wt}Delay`),i=o(`${Wt}Duration`),a=dd(r,i),s=o(`${Vr}Delay`),l=o(`${Vr}Duration`),u=dd(s,l);let c=null,d=0,f=0;n===Wt?a>0&&(c=Wt,d=a,f=i.length):n===Vr?u>0&&(c=Vr,d=u,f=l.length):(d=Math.max(a,u),c=d>0?a>u?Wt:Vr:null,f=c?c===Wt?i.length:l.length:0);const v=c===Wt&&/\b(transform|all)(,|$)/.test(o(`${Wt}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:v}}function dd(e,n){for(;e.lengthfd(t)+fd(e[o])))}function fd(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function _h(){return document.body.offsetHeight}const xh=new WeakMap,em=new WeakMap,nm={name:"TransitionGroup",props:fn({},H$,{tag:String,moveClass:String}),setup(e,{slots:n}){const t=So(),o=Ih();let r,i;return Yo(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Z$(r[0].el,t.vnode.el,a))return;r.forEach(K$),r.forEach(X$);const s=r.filter(G$);_h(),s.forEach(l=>{const u=l.el,c=u.style;It(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=u._moveCb=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u._moveCb=null,Gt(u,a))};u.addEventListener("transitionend",d)})}),()=>{const a=We(e),s=Jh(a);let l=a.tag||Re;r=i,i=n.default?Fu(n.default()):[];for(let u=0;udelete e.mode;nm.props;const q$=nm;function K$(e){const n=e.el;n._moveCb&&n._moveCb(),n._enterCb&&n._enterCb()}function X$(e){em.set(e,e.el.getBoundingClientRect())}function G$(e){const n=xh.get(e),t=em.get(e),o=n.left-t.left,r=n.top-t.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function Z$(e,n,t){const o=e.cloneNode();e._vtc&&e._vtc.forEach(a=>{a.split(/\s+/).forEach(s=>s&&o.classList.remove(s))}),t.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";const r=n.nodeType===1?n:n.parentNode;r.appendChild(o);const{hasTransform:i}=Qh(o);return r.removeChild(o),i}const vd=e=>{const n=e.props["onUpdate:modelValue"]||!1;return De(n)?t=>na(n,t):n};function J$(e){e.target.composing=!0}function hd(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Q$={created(e,{modifiers:{lazy:n,trim:t,number:o}},r){e._assign=vd(r);const i=o||r.props&&r.props.type==="number";er(e,n?"change":"input",a=>{if(a.target.composing)return;let s=e.value;t&&(s=s.trim()),i&&(s=Hs(s)),e._assign(s)}),t&&er(e,"change",()=>{e.value=e.value.trim()}),n||(er(e,"compositionstart",J$),er(e,"compositionend",hd),er(e,"change",hd))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,modifiers:{lazy:t,trim:o,number:r}},i){if(e._assign=vd(i),e.composing||document.activeElement===e&&e.type!=="range"&&(t||o&&e.value.trim()===n||(r||e.type==="number")&&Hs(e.value)===n))return;const a=n??"";e.value!==a&&(e.value=a)}},_$=["ctrl","shift","alt","meta"],x$={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,n)=>_$.some(t=>e[`${t}Key`]&&!n.includes(t))},Xn=(e,n)=>(t,...o)=>{for(let r=0;rt=>{if(!("key"in t))return;const o=Ho(t.key);if(n.some(r=>r===o||ew[r]===o))return e(t)},kt={beforeMount(e,{value:n},{transition:t}){e._vod=e.style.display==="none"?"":e.style.display,t&&n?t.beforeEnter(e):Rr(e,n)},mounted(e,{value:n},{transition:t}){t&&n&&t.enter(e)},updated(e,{value:n,oldValue:t},{transition:o}){!n!=!t&&(o?n?(o.beforeEnter(e),Rr(e,!0),o.enter(e)):o.leave(e,()=>{Rr(e,!1)}):Rr(e,n))},beforeUnmount(e,{value:n}){Rr(e,n)}};function Rr(e,n){e.style.display=n?e._vod:"none"}const nw=fn({patchProp:U$},O$);let pd;function tw(){return pd||(pd=i$(nw))}const ow=(...e)=>{const n=tw().createApp(...e),{mount:t}=n;return n.mount=o=>{const r=rw(o);if(!r)return;const i=n._component;!Le(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},n};function rw(e){return sn(e)?document.querySelector(e):e}const tm={locks:{},zIndex:2e3,enableRipple:!0};Xe(tm);var Kn=Xe(tm),iw=Object.defineProperty,aw=Object.defineProperties,sw=Object.getOwnPropertyDescriptors,gd=Object.getOwnPropertySymbols,lw=Object.prototype.hasOwnProperty,uw=Object.prototype.propertyIsEnumerable,bd=(e,n,t)=>n in e?iw(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,cw=(e,n)=>{for(var t in n||(n={}))lw.call(n,t)&&bd(e,t,n[t]);if(gd)for(var t of gd(n))uw.call(n,t)&&bd(e,t,n[t]);return e},dw=(e,n)=>aw(e,sw(n)),gn=e=>typeof e=="string",Gu=e=>typeof e=="boolean",Rn=e=>typeof e=="number",di=e=>Object.prototype.toString.call(e)==="[object Object]",fw=e=>typeof e=="object"&&e!==null,Ir=e=>typeof e=="function",Qe=e=>Array.isArray(e),vw=e=>e?/^(http)|(\.*\/)/.test(e):!1,Ct=e=>e==null||e===""||Array.isArray(e)&&!e.length,Zu=e=>e===window,hw=()=>jt()&&"ontouchstart"in window,jt=()=>typeof window<"u",yd=e=>[...new Set(e)],ra=e=>Qe(e)?e:[e],ba=(e,n)=>{if(e.length){const t=e.indexOf(n);if(t>-1)return e.splice(t,1)}},mw=(e,n,t="start")=>{let o=t==="start"?0:e.length-1;for(;e.length>0&&o>=0&&o<=e.length-1;){if(n(e[o],o,e))return[e[o],o];t==="start"?o++:o--}return[null,-1]},om=()=>typeof globalThis<"u"?globalThis:jt()?window:typeof global<"u"?global:self,fi=e=>{const n=om();return n.requestAnimationFrame?n.requestAnimationFrame(e):n.setTimeout(e)},$d=e=>{const n=om();n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e)},ia=()=>new Promise(e=>{fi(e)}),Bn=()=>new Promise(e=>{fi(()=>{fi(e)})}),Wo=e=>window.getComputedStyle(e),pn=e=>{if(Zu(e)){const n=e.innerWidth,t=e.innerHeight,o={x:0,y:0,top:0,left:0,right:n,bottom:t,width:n,height:t};return dw(cw({},o),{toJSON:()=>o})}return e.getBoundingClientRect()},pw=e=>{const{top:n,bottom:t,left:o,right:r}=pn(e),{width:i,height:a}=pn(window),s=o<=i&&r>=0,l=n<=a&&t>=0;return s&&l},gw=e=>new Promise(n=>{const t=new FileReader;t.onload=()=>{n(t.result)},t.readAsDataURL(e)}),pt=e=>{e.cancelable!==!1&&e.preventDefault()},hr=e=>{const n="scrollTop"in e?e.scrollTop:e.scrollY;return Math.max(n,0)},Ju=e=>{const n="scrollLeft"in e?e.scrollLeft:e.scrollX;return Math.max(n,0)},Qu=(e,n=200)=>{let t,o=0;return function r(...i){const a=Date.now(),s=a-o;o||(o=a),t&&window.clearTimeout(t),s>=n?(e.apply(this,i),o=a):t=window.setTimeout(()=>{r.apply(this,i)},n-s)}},K=e=>e==null?0:gn(e)?(e=parseFloat(e),e=Number.isNaN(e)?0:e,e):Gu(e)?Number(e):e,ho=(e,n,t)=>Math.min(t,Math.max(n,e)),bw=(e,n)=>ho(e,0,n.length-1),yw=e=>_u(e).replace(e.charAt(0),e.charAt(0).toUpperCase()),_u=e=>e.replace(/-(\w)/g,(n,t)=>t.toUpperCase()),rm=e=>e.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase(),$w=Object.defineProperty,ya=Object.getOwnPropertySymbols,im=Object.prototype.hasOwnProperty,am=Object.prototype.propertyIsEnumerable,wd=(e,n,t)=>n in e?$w(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ww=(e,n)=>{for(var t in n||(n={}))im.call(n,t)&&wd(e,t,n[t]);if(ya)for(var t of ya(n))am.call(n,t)&&wd(e,t,n[t]);return e},Cw=(e,n)=>{var t={};for(var o in e)im.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&ya)for(var o of ya(e))n.indexOf(o)<0&&am.call(e,o)&&(t[o]=e[o]);return t};function Pn(e){let n=!1;Co(()=>{e(),en(()=>{n=!0})}),Ut(()=>{n&&e()})}function mo(e,n,t,o={}){if(!jt())return;const{passive:r=!1,capture:i=!1}=o;let a=!1,s=!1;const l=v=>Ir(v)?v():ht(v),u=v=>{if(a||s)return;const p=l(v);p&&(p.addEventListener(n,t,{passive:r,capture:i}),a=!0)},c=v=>{if(!a||s)return;const p=l(v);p&&(p.removeEventListener(n,t,{capture:i}),a=!1)};let d;$n(e)&&(d=Ce(()=>e.value,(v,p)=>{c(p),u(v)}));const f=()=>{d==null||d(),c(e),s=!0};return Pn(()=>{u(e)}),Tr(()=>{c(e)}),jo(()=>{c(e)}),f}function sm(e,n,t){if(!jt())return;mo(document,n,r=>{const i=Ir(e)?e():ht(e);i&&!i.contains(r.target)&&t(r)})}function Ga(e){Ht(()=>{e()}),jo(()=>{e()})}function Sw(e){const n=So();return e in n.provides}function On(e){if(!Sw(e))return{index:null,parentProvider:null,bindParent:null};const t=xn(e),{childInstances:o,collect:r,clear:i}=t,a=Cw(t,["childInstances","collect","clear"]),s=So();return{index:R(()=>o.indexOf(s)),parentProvider:a,bindParent:c=>{Co(()=>{en().then(()=>{r(s,c)})}),Tr(()=>{en().then(()=>{i(s,c)})})}}}function kw(e){const n=[],t=o=>{if(o!=null&&o.component){t(o==null?void 0:o.component.subTree);return}Array.isArray(o==null?void 0:o.children)&&o.children.forEach(r=>{ui(r)&&(n.push(r),t(r))})};return t(e),n}function Tn(e){const n=So(),t=Xe([]),o=[],r=R(()=>t.length),i=()=>{const u=kw(n.subTree);t.sort((c,d)=>u.indexOf(c.vnode)-u.indexOf(d.vnode))},a=(u,c)=>{t.push(u),o.push(c),i()},s=(u,c)=>{ba(t,u),ba(o,c)};return{length:r,childProviders:o,bindChildren:u=>{Xr(e,ww({childInstances:t,collect:a,clear:s},u))}}}function Mr(e){mo(()=>window,"resize",e,{passive:!0}),mo(()=>window,"orientationchange",e,{passive:!0})}function Pw(e,n){const t=I(!1);return Ce(e,o=>{n===o&&(t.value=!0)},{immediate:!0}),t}function Ow(e,n){if(e>n)return"horizontal";if(n>e)return"vertical"}function Dr(){const e=I(0),n=I(0),t=I(0),o=I(0),r=I(0),i=I(0),a=I(0),s=I(0),l=I(0),u=I(0),c=I(),d=I(!1),f=I(!1),v=I(0),p=I(0);let h=null;const g=()=>{e.value=0,n.value=0,t.value=0,o.value=0,r.value=0,i.value=0,a.value=0,s.value=0,l.value=0,u.value=0,c.value=void 0,d.value=!1,f.value=!1,v.value=0,p.value=0};return{startX:e,startY:n,deltaX:t,deltaY:o,offsetX:r,offsetY:i,prevX:a,prevY:s,moveX:l,moveY:u,direction:c,touching:d,dragging:f,startTime:v,distance:p,resetTouch:g,startTouch:A=>{g();const{clientX:k,clientY:D}=A.touches[0];e.value=k,n.value=D,a.value=k,s.value=D,d.value=!0,v.value=performance.now(),f.value=!1,h&&window.cancelAnimationFrame(h)},moveTouch:A=>{const{clientX:k,clientY:D}=A.touches[0];f.value=!0,t.value=k-e.value,o.value=D-n.value,r.value=Math.abs(t.value),i.value=Math.abs(o.value),p.value=Math.sqrt(r.value**2+i.value**2),l.value=k-a.value,u.value=D-s.value,c.value||(c.value=Ow(r.value,i.value)),a.value=k,s.value=D},endTouch:()=>{d.value=!1,h=window.requestAnimationFrame(()=>{f.value=!1})},isReachTop:A=>hr(A)===0&&o.value>0,isReachBottom:(A,k=1)=>{const{scrollHeight:D,clientHeight:T,scrollTop:B}=A,L=Math.abs(D-B-T);return o.value<0&&L<=k}}}function lm(){const e=I(),n=So(),t=rm(n.type.name);return e.value=`${t}-${n.uid}`,e}function Tw(e={}){const{initialWidth:n=0,initialHeight:t=0}=e,o=I(n),r=I(t),i=()=>{jt()&&(o.value=window.innerWidth,r.value=window.innerHeight)};return Pn(i),Mr(i),{width:o,height:r}}var Ew=Object.defineProperty,Cd=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,Iw=Object.prototype.propertyIsEnumerable,Sd=(e,n,t)=>n in e?Ew(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,kd=(e,n)=>{for(var t in n||(n={}))Nw.call(n,t)&&Sd(e,t,n[t]);if(Cd)for(var t of Cd(n))Iw.call(n,t)&&Sd(e,t,n[t]);return e},Pd=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});function Fe(e,n){return Array.isArray(n)?n.reduce((t,o)=>(t[o]=e[o],t),{}):e[n]}function be(e,n){const t=n??e;return t.install=function(o){const{name:r}=e;r&&o.component(r,e)},t}function Mw(e){const n=ow(e),t=document.createElement("div");return document.body.appendChild(t),{instance:n.mount(t),unmount(){n.unmount(),document.body.removeChild(t)}}}function Ar(e,n={},t={}){const o={setup(){return()=>Ii(e,kd(kd({},n),t))}},{unmount:r}=Mw(o);return{unmountInstance:r}}function um(e){const n=[];return e.forEach(t=>{if(t.type!==qn){if(t.type===Re&&Qe(t.children)){t.children.forEach(o=>{n.push(o)});return}n.push(t)}}),n}function ot(){const e=I(""),n=(r,i,a)=>Pd(this,null,function*(){return!Qe(r)||!r.length?!0:!(yield Promise.all(r.map(l=>l(i,a)))).some(l=>l!==!0?(e.value=String(l),!0):!1)});return{errorMessage:e,validate:n,resetValidation:()=>{e.value=""},validateWithTrigger:(r,i,a,s,l)=>Pd(this,null,function*(){r.includes(i)&&(yield n(a,s,l))&&(e.value="")})}}function Dw(e){mo(()=>window,"hashchange",e),mo(()=>window,"popstate",e)}function qo(){const e=I(!1);return Ut(()=>{e.value=!1}),jo(()=>{e.value=!0}),{disabled:e}}function pe(e){const n="var",t=`${n}-${e}`,o=i=>i?i[0]==="$"?i.replace("$",n):i.startsWith("--")?`${t}${i}`:`${t}__${i}`:t,r=(...i)=>i.map(a=>{if(Qe(a)){const[s,l,u=null]=a;return s?l:u}return a});return{name:yw(t),n:o,classes:r}}function N(e,...n){if(Qe(e))return e.map(t=>t(...n));if(e)return e(...n)}function W(e){return{type:[Function,Array],default:e}}function In(e,n){return e===!1?null:(e===!0&&n&&(e=n),`var-elevation--${e}`)}function Vt(e,n,t={}){const{passive:o=!0,eventName:r,defaultValue:i,emit:a}=t,s=r??`onUpdate:${n.toString()}`,l=()=>e[n]!=null?e[n]:i;if(!o)return R({get(){return l()},set(c){a?a(s,c):N(e[s],c)}});const u=I(l());return Ce(()=>e[n],()=>{u.value=l()}),Ce(()=>u.value,c=>{a?a(s,c):N(e[s],c)}),u}var Aw=Object.defineProperty,Bw=Object.defineProperties,zw=Object.getOwnPropertyDescriptors,Od=Object.getOwnPropertySymbols,Vw=Object.prototype.hasOwnProperty,Rw=Object.prototype.propertyIsEnumerable,Td=(e,n,t)=>n in e?Aw(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,cm=(e,n)=>{for(var t in n||(n={}))Vw.call(n,t)&&Td(e,t,n[t]);if(Od)for(var t of Od(n))Rw.call(n,t)&&Td(e,t,n[t]);return e},Lw=(e,n)=>Bw(e,zw(n));const{n:dm}=pe("ripple"),Ed=250;function Uw(e){const{zIndex:n,position:t}=Wo(e);e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden",t==="static"&&(e.style.position="relative"),n==="auto"&&(e.style.zIndex="1")}function Fw(e,n){const{top:t,left:o}=pn(e),{clientWidth:r,clientHeight:i}=e,a=Math.sqrt(r**2+i**2)/2,s=a*2,l=n.touches[0].clientX-o,u=n.touches[0].clientY-t,c=(r-a*2)/2,d=(i-a*2)/2,f=l-a,v=u-a;return{x:f,y:v,centerX:c,centerY:d,size:s}}function fm(e){const n=this._ripple;if(n.removeRipple(),n.disabled||n.tasker||!Kn.enableRipple)return;const t=()=>{n.tasker=null;const{x:o,y:r,centerX:i,centerY:a,size:s}=Fw(this,e),l=document.createElement("div");l.classList.add(dm()),l.style.opacity="0",l.style.transform=`translate(${o}px, ${r}px) scale3d(.3, .3, .3)`,l.style.width=`${s}px`,l.style.height=`${s}px`,n.color&&(l.style.backgroundColor=n.color),l.dataset.createdAt=String(performance.now()),Uw(this),this.appendChild(l),window.setTimeout(()=>{l.style.transform=`translate(${i}px, ${a}px) scale3d(1, 1, 1)`,l.style.opacity=".25"},20)};n.tasker=window.setTimeout(t,30)}function el(){const e=this._ripple,n=()=>{const t=this.querySelectorAll(`.${dm()}`);if(!t.length)return;const o=t[t.length-1],r=Ed-performance.now()+Number(o.dataset.createdAt);window.setTimeout(()=>{o.style.opacity="0",window.setTimeout(()=>{var i;return(i=o.parentNode)==null?void 0:i.removeChild(o)},Ed)},r)};e.tasker?window.setTimeout(n,30):n()}function vm(){if(!hw()||!Kn.enableRipple)return;const e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function Hw(e,n){var t;e._ripple=Lw(cm({tasker:null},(t=n.value)!=null?t:{}),{removeRipple:el.bind(e)}),e.addEventListener("touchstart",fm,{passive:!0}),e.addEventListener("touchmove",vm,{passive:!0}),e.addEventListener("dragstart",el,{passive:!0}),document.addEventListener("touchend",e._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",e._ripple.removeRipple,{passive:!0}),document.addEventListener("dragend",e._ripple.removeRipple,{passive:!0})}function jw(e){e.removeEventListener("touchstart",fm),e.removeEventListener("touchmove",vm),e.removeEventListener("dragstart",el),document.removeEventListener("touchend",e._ripple.removeRipple),document.removeEventListener("touchcancel",e._ripple.removeRipple),document.removeEventListener("dragend",e._ripple.removeRipple)}function Yw(e,n){var t,o,r,i,a,s;const l={color:(t=n.value)==null?void 0:t.color,disabled:(o=n.value)==null?void 0:o.disabled};(l.color!==((r=e._ripple)==null?void 0:r.color)||l.disabled!==((i=e._ripple)==null?void 0:i.disabled))&&(e._ripple=cm({tasker:l.disabled?null:(a=e._ripple)==null?void 0:a.tasker,removeRipple:(s=e._ripple)==null?void 0:s.removeRipple},l))}const Ww={mounted:Hw,unmounted:jw,updated:Yw,install(e){e.directive("ripple",this)}};var vn=Ww;const Mi={show:Boolean,position:{type:String,default:"center"},transition:String,overlay:{type:Boolean,default:!0},overlayClass:String,overlayStyle:Object,lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},defaultStyle:{type:Boolean,default:!0},safeArea:Boolean,safeAreaTop:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),onClickOverlay:W(),"onUpdate:show":W(),onRouteChange:W()};function hm(){Object.keys(Kn.locks).length<=0?document.body.classList.remove("var--lock"):document.body.classList.add("var--lock")}function Yi(e){Kn.locks[e]=1,hm()}function Wi(e){delete Kn.locks[e],hm()}function Di(e,n){const{uid:t}=So();n&&Ce(n,o=>{o===!1?Wi(t):o===!0&&e()===!0&&Yi(t)}),Ce(e,o=>{n&&n()===!1||(o===!0?Yi(t):Wi(t))}),Bh(()=>{n&&n()===!1||e()===!0&&Yi(t)}),Ht(()=>{n&&n()===!1||e()===!0&&Wi(t)}),Ut(()=>{n&&n()===!1||e()===!0&&Yi(t)}),jo(()=>{n&&n()===!1||e()===!0&&Wi(t)})}function Ai(e,n){const t=I(Kn.zIndex);return Ce(e,o=>{o&&(Kn.zIndex+=n,t.value=Kn.zIndex)},{immediate:!0}),{zIndex:t}}const mm=Symbol("POPUP_BIND_POPUP_ITEM_KEY");function qw(){const{bindParent:e,parentProvider:n,index:t}=On(mm);return{index:t,popup:n,bindPopup:e}}function Kw(){const{bindChildren:e,childProviders:n,length:t}=Tn(mm);return{length:t,popupItems:n,bindPopupItems:e}}var Xw=Object.defineProperty,Nd=Object.getOwnPropertySymbols,Gw=Object.prototype.hasOwnProperty,Zw=Object.prototype.propertyIsEnumerable,Id=(e,n,t)=>n in e?Xw(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Jw=(e,n)=>{for(var t in n||(n={}))Gw.call(n,t)&&Id(e,t,n[t]);if(Nd)for(var t of Nd(n))Zw.call(n,t)&&Id(e,t,n[t]);return e};const{name:Qw,n:st,classes:Cs}=pe("popup");var pm=me({name:Qw,inheritAttrs:!1,props:Mi,setup(e,{slots:n,attrs:t}){const o=Pw(()=>e.show,!0),{zIndex:r}=Ai(()=>e.show,3),{disabled:i}=qo(),{bindPopupItems:a}=Kw();Di(()=>e.show,()=>e.lockScroll),Ce(()=>e.show,d=>{N(d?e.onOpen:e.onClose)}),a({show:R(()=>e.show)}),Dw(()=>N(e.onRouteChange));function s(){const{closeOnClickOverlay:d,onClickOverlay:f}=e;N(f),d&&N(e["onUpdate:show"],!1)}function l(){const{overlayClass:d="",overlayStyle:f}=e;return ie("div",{class:Cs(st("overlay"),d),style:Jw({zIndex:r.value-1},f),onClick:s},null)}function u(){return He(ie("div",Ze({class:Cs(st("content"),st(`--${e.position}`),[e.defaultStyle,st("--content-background-color")],[e.defaultStyle,st("$-elevation--3")],[e.safeArea,st("--safe-area")],[e.safeAreaTop,st("--safe-area-top")]),style:{zIndex:r.value}},t),[o.value&&N(n.default)]),[[kt,e.show]])}function c(){return ie(nn,{name:st("$-fade"),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[He(ie("div",{class:Cs(st("$--box"),st()),style:{zIndex:r.value-2}},[e.overlay&&l(),ie(nn,{name:e.transition||st(`$-pop-${e.position}`)},{default:()=>[u()]})]),[[kt,e.show]])]})}return()=>{const{teleport:d}=e;return d?ie(Et,{to:d,disabled:i.value},{default:()=>[c()]}):c()}}});be(pm);var po=pm;const dn={name:String,size:[Number,String],color:String,namespace:{type:String,default:"var-icon"},transition:{type:[Number,String],default:0},animationClass:String,onClick:W()};function Gn(e,n){throw Error(`Varlet [${e}]: ${n}`)}function Md(e,n){console.warn(`Varlet [${e}]: ${n}`)}function _w(e){const{left:n}=pn(e);return n+(document.body.scrollLeft||document.documentElement.scrollLeft)}function Dd(e){const{top:n}=pn(e);return n+(document.body.scrollTop||document.documentElement.scrollTop)}function Ss(e){const{transform:n}=Wo(e);return+n.slice(n.lastIndexOf(",")+2,n.length-1)}function go(e){let n=e;for(;n&&!(!n.parentNode||(n=n.parentNode,n===document.body||n===document.documentElement));){const t=/(scroll|auto)/,{overflowY:o,overflow:r}=Wo(n);if(t.test(o)||t.test(r))return n}return window}function xw(e){const n=[];let t=e;for(;!Zu(t);)t=go(t),n.push(t);return n}function gm(e,n){if(gn(e)){const t=document.querySelector(e);return t||Gn(n,"target element cannot found"),t}if(fw(e))return e;Gn(n,'type of prop "target" should be a selector or an element object')}function eC(){const{width:e,height:n}=pn(window);return{vw:e,vh:n,vMin:Math.min(e,n),vMax:Math.max(e,n)}}const bm=e=>gn(e)&&e.endsWith("rem"),nC=e=>gn(e)&&e.endsWith("em")&&!e.endsWith("rem"),tC=e=>gn(e)&&e.endsWith("px")||Rn(e),oC=e=>gn(e)&&e.endsWith("%"),ym=e=>gn(e)&&e.endsWith("vw"),$m=e=>gn(e)&&e.endsWith("vh"),wm=e=>gn(e)&&e.endsWith("vmin"),Cm=e=>gn(e)&&e.endsWith("vmax"),rC=e=>gn(e)&&e.startsWith("calc("),iC=e=>gn(e)&&e.startsWith("var("),rn=e=>{if(Rn(e))return e;if(tC(e))return+e.replace("px","");if(!jt())return 0;const{vw:n,vh:t,vMin:o,vMax:r}=eC();if(ym(e))return+e.replace("vw","")*n/100;if($m(e))return+e.replace("vh","")*t/100;if(wm(e))return+e.replace("vmin","")*o/100;if(Cm(e))return+e.replace("vmax","")*r/100;if(bm(e)){const i=+e.replace("rem",""),a=Wo(document.documentElement).fontSize;return i*parseFloat(a)}return gn(e)?K(e):0},ze=e=>{if(e!=null)return oC(e)||ym(e)||$m(e)||nC(e)||bm(e)||rC(e)||iC(e)||wm(e)||Cm(e)?e:`${rn(e)}px`},Dn=(e,n=1)=>{if(e==null)return;const t=ze(e),o=t.match(/(vh|%|r?em|px|vw|vmin|vmax)$/)[0];return`${parseFloat(t)*n}${o}`};function vi(e,{top:n=0,left:t=0,duration:o=300,animation:r}){const i=Date.now(),a=hr(e),s=Ju(e);return new Promise(l=>{const u=()=>{const c=(Date.now()-i)/o;if(c<1){const d=a+(n-a)*r(c),f=s+(t-s)*r(c);e.scrollTo(f,d),requestAnimationFrame(u)}else e.scrollTo(t,n),l()};requestAnimationFrame(u)})}function Sm(e){return Object.entries(e??{}).reduce((n,[t,o])=>{const r=t.startsWith("--")?t:`--${rm(t)}`;return n[r]=o,n},{})}function $a(e){return e==="start"||e==="end"?`flex-${e}`:e}var aC=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:sC,n:lC,classes:uC}=pe("icon");function cC(e,n){return C(),Ae(Er(e.isURL(e.name)?"img":"i"),{class:m(e.classes(e.n(),[e.namespace!==e.n(),e.namespace],`${e.namespace}--set`,[e.isURL(e.name),e.n("image"),`${e.namespace}-${e.nextName}`],[e.animateInProgress,e.animationClass==null?e.n("--shrinking"):e.animationClass])),style:te({color:e.color,"transition-duration":`${e.toNumber(e.transition)}ms`,width:e.isURL(e.name)?e.toSizeUnit(e.size):null,height:e.isURL(e.name)?e.toSizeUnit(e.size):null,fontSize:e.toSizeUnit(e.size)}),src:e.isURL(e.name)?e.nextName:null,onClick:e.onClick},null,8,["class","style","src","onClick"])}const km=me({name:sC,props:dn,setup(e){const n=I(""),t=I(!1);Ce(()=>e.name,o,{immediate:!0});function o(r,i){return aC(this,null,function*(){const{transition:a}=e;if(i==null||K(a)===0){n.value=r;return}t.value=!0,yield en(),setTimeout(()=>{i!=null&&(n.value=r),t.value=!1},K(a))})}return{nextName:n,animateInProgress:t,n:lC,classes:uC,isURL:vw,toNumber:K,toSizeUnit:ze}}});km.render=cC;var Pm=km;be(Pm);var tn=Pm,dC=Object.defineProperty,Ad=Object.getOwnPropertySymbols,fC=Object.prototype.hasOwnProperty,vC=Object.prototype.propertyIsEnumerable,Bd=(e,n,t)=>n in e?dC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,hC=(e,n)=>{for(var t in n||(n={}))fC.call(n,t)&&Bd(e,t,n[t]);if(Ad)for(var t of Ad(n))vC.call(n,t)&&Bd(e,t,n[t]);return e};const mC=hC({show:Boolean,title:String,actions:{type:Array,default:()=>[]},closeOnClickAction:{type:Boolean,default:!0},onSelect:W(),"onUpdate:show":W()},Fe(Mi,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","safeArea","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"]));var Om={dialogTitle:"提示",dialogConfirmButtonText:"确认",dialogCancelButtonText:"取消",actionSheetTitle:"请选择",listLoadingText:"加载中",listFinishedText:"没有更多了",listErrorText:"加载失败",pickerTitle:"请选择",pickerConfirmButtonText:"确认",pickerCancelButtonText:"取消",datePickerMonthDict:{"01":{name:"一月",abbr:"一月"},"02":{name:"二月",abbr:"二月"},"03":{name:"三月",abbr:"三月"},"04":{name:"四月",abbr:"四月"},"05":{name:"五月",abbr:"五月"},"06":{name:"六月",abbr:"六月"},"07":{name:"七月",abbr:"七月"},"08":{name:"八月",abbr:"八月"},"09":{name:"九月",abbr:"九月"},10:{name:"十月",abbr:"十月"},11:{name:"十一月",abbr:"十一月"},12:{name:"十二月",abbr:"十二月"}},datePickerWeekDict:{0:{name:"星期日",abbr:"日"},1:{name:"星期一",abbr:"一"},2:{name:"星期二",abbr:"二"},3:{name:"星期三",abbr:"三"},4:{name:"星期四",abbr:"四"},5:{name:"星期五",abbr:"五"},6:{name:"星期六",abbr:"六"}},datePickerSelected:"个被选择",paginationItem:"条",paginationPage:"页",paginationJump:"前往"},pC={dialogTitle:"Hint",dialogConfirmButtonText:"Confirm",dialogCancelButtonText:"Cancel",actionSheetTitle:"Select One",listLoadingText:"Loading",listFinishedText:"No more",listErrorText:"Load fail",pickerTitle:"Pick it",pickerConfirmButtonText:"Confirm",pickerCancelButtonText:"Cancel",datePickerMonthDict:{"01":{name:"January",abbr:"JAN"},"02":{name:"February",abbr:"FEB"},"03":{name:"March",abbr:"MAR"},"04":{name:"April",abbr:"APR"},"05":{name:"May",abbr:"MAY"},"06":{name:"June",abbr:"JUN"},"07":{name:"July",abbr:"JUL"},"08":{name:"August",abbr:"AUG"},"09":{name:"September",abbr:"SEP"},10:{name:"October",abbr:"OCT"},11:{name:"November",abbr:"NOV"},12:{name:"December",abbr:"DEC"}},datePickerWeekDict:{0:{name:"Sunday",abbr:"S"},1:{name:"Monday",abbr:"M"},2:{name:"Tuesday",abbr:"T"},3:{name:"Wednesday",abbr:"W"},4:{name:"Thursday",abbr:"T"},5:{name:"Friday",abbr:"F"},6:{name:"Saturday",abbr:"S"}},datePickerSelected:" selected",paginationItem:"",paginationPage:"page",paginationJump:"Go to"},Tm={dialogTitle:"提示",dialogConfirmButtonText:"確認",dialogCancelButtonText:"取消",actionSheetTitle:"請選擇",listLoadingText:"載入中",listFinishedText:"沒有更多了",listErrorText:"載入失敗",pickerTitle:"請選擇",pickerConfirmButtonText:"確認",pickerCancelButtonText:"取消",datePickerMonthDict:{"01":{name:"一月",abbr:"一月"},"02":{name:"二月",abbr:"二月"},"03":{name:"三月",abbr:"三月"},"04":{name:"四月",abbr:"四月"},"05":{name:"五月",abbr:"五月"},"06":{name:"六月",abbr:"六月"},"07":{name:"七月",abbr:"七月"},"08":{name:"八月",abbr:"八月"},"09":{name:"九月",abbr:"九月"},10:{name:"十月",abbr:"十月"},11:{name:"十一月",abbr:"十一月"},12:{name:"十二月",abbr:"十二月"}},datePickerWeekDict:{0:{name:"星期日",abbr:"日"},1:{name:"星期一",abbr:"一"},2:{name:"星期二",abbr:"二"},3:{name:"星期三",abbr:"三"},4:{name:"星期四",abbr:"四"},5:{name:"星期五",abbr:"五"},6:{name:"星期六",abbr:"六"}},datePickerSelected:"個被選擇",paginationItem:"條",paginationPage:"頁",paginationJump:"前往"},gC=Tm,bC=Object.defineProperty,zd=Object.getOwnPropertySymbols,yC=Object.prototype.hasOwnProperty,$C=Object.prototype.propertyIsEnumerable,Vd=(e,n,t)=>n in e?bC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Rd=(e,n)=>{for(var t in n||(n={}))yC.call(n,t)&&Vd(e,t,n[t]);if(zd)for(var t of zd(n))$C.call(n,t)&&Vd(e,t,n[t]);return e};function Em(){const e={},n=I({}),t=(i,a)=>{a.lang=i,e[i]=a},o=i=>{if(!e[i])return console.warn(`The ${i} does not exist. You can mount a language package using the add method`),{};n.value=e[i]};return{packs:e,pack:n,add:t,use:o,merge:(i,a)=>{if(!e[i]){console.warn(`The ${i} does not exist. You can mount a language package using the add method`);return}e[i]=Rd(Rd({},e[i]),a),o(i)}}}const{packs:wC,pack:Cn,add:Nm,use:Im,merge:CC}=Em();Nm("zh-CN",Om);Im("zh-CN");var nl={zhCN:Om,enUS:pC,zhTW:Tm,zhHK:gC,packs:wC,pack:Cn,add:Nm,use:Im,merge:CC,useLocale:Em};const{name:SC,n:kC,classes:PC}=pe("action-sheet"),OC=["onClick"];function TC(e,n){const t=$e("var-icon"),o=$e("var-popup"),r=Ge("ripple");return C(),Ae(o,Ze({class:e.n("popup-radius"),position:"bottom",show:e.popupShow,overlay:e.overlay,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,teleport:e.teleport,"safe-area":e.safeArea},{"onUpdate:show":e.handlePopupUpdateShow},{onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange}),{default:Te(()=>[F("div",Ze({class:e.classes(e.n(),e.n("$--box"))},e.$attrs),[X(e.$slots,"title",{},()=>{var i;return[F("div",{class:m(e.n("title"))},we((i=e.title)!=null?i:e.pack.actionSheetTitle),3)]}),X(e.$slots,"actions",{},()=>[(C(!0),M(Re,null,un(e.actions,i=>He((C(),M("div",{class:m(e.classes(e.n("action-item"),i.className,[i.disabled,e.n("--disabled")])),key:i.name,style:te({color:i.color}),onClick:a=>e.handleSelect(i)},[i.icon?(C(),Ae(t,{key:0,class:m(e.n("action-icon")),"var-action-sheet-cover":"",namespace:i.namespace,name:i.icon,size:i.iconSize},null,8,["class","namespace","name","size"])):he("v-if",!0),F("div",{class:m(e.n("action-name"))},we(i.name),3)],14,OC)),[[r,{disabled:i.disabled}]])),128))])],16)]),_:3},16,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","safe-area","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const Mm=me({name:SC,directives:{Ripple:vn},components:{VarPopup:po,VarIcon:tn},inheritAttrs:!1,props:mC,setup(e){const n=I(!1);Ce(()=>e.show,r=>{n.value=r},{immediate:!0});function t(r){if(r.disabled)return;const{closeOnClickAction:i,onSelect:a}=e;N(a,r),i&&N(e["onUpdate:show"],!1)}function o(r){N(e["onUpdate:show"],r)}return{popupShow:n,pack:Cn,n:kC,classes:PC,handlePopupUpdateShow:o,handleSelect:t}}});Mm.render=TC;var Za=Mm,EC=Object.defineProperty,Ld=Object.getOwnPropertySymbols,NC=Object.prototype.hasOwnProperty,IC=Object.prototype.propertyIsEnumerable,Ud=(e,n,t)=>n in e?EC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Fd=(e,n)=>{for(var t in n||(n={}))NC.call(n,t)&&Ud(e,t,n[t]);if(Ld)for(var t of Ld(n))IC.call(n,t)&&Ud(e,t,n[t]);return e};let eo,xu={};function MC(e={}){return Fd(Fd({},xu),e)}function Ko(e){return jt()?new Promise(n=>{Ko.close();const t=Xe(MC(e));t.teleport="body",eo=t;const{unmountInstance:o}=Ar(Za,t,{onSelect:r=>{N(t.onSelect,r),n(r)},onClose:()=>{N(t.onClose),n("close")},onClosed:()=>{N(t.onClosed),o(),eo===t&&(eo=null)},onRouteChange:()=>{o(),eo===t&&(eo=null)},"onUpdate:show":r=>{t.show=r}});t.show=!0}):Promise.resolve()}Ko.setDefaultOptions=function(e){xu=e};Ko.resetDefaultOptions=function(){xu={}};Ko.close=function(){if(eo!=null){const e=eo;eo=null,en().then(()=>{e.show=!1})}};Ko.Component=Za;be(Za);be(Za,Ko);var tl=Ko;const DC={color:String,textColor:String,title:String,titlePosition:{type:String,default:"left"},elevation:{type:[Boolean,String,Number],default:!0},round:Boolean,image:String,imageLinearGradient:String,safeAreaTop:Boolean},{name:AC,n:BC,classes:zC}=pe("app-bar");function VC(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.safeAreaTop,e.n("--safe-area-top")],[e.round,e.n("--round")],e.formatElevation(e.elevation,3))),style:te(e.rootStyles)},[F("div",{class:m(e.n("toolbar"))},[F("div",{class:m(e.n("left"))},[X(e.$slots,"left"),e.titlePosition==="left"?(C(),M("div",{key:0,class:m(e.n("title")),style:te({paddingLeft:e.paddingLeft})},[X(e.$slots,"default",{},()=>[je(we(e.title),1)])],6)):he("v-if",!0)],2),e.titlePosition==="center"?(C(),M("div",{key:0,class:m(e.n("title"))},[X(e.$slots,"default",{},()=>[je(we(e.title),1)])],2)):he("v-if",!0),F("div",{class:m(e.n("right"))},[e.titlePosition==="right"?(C(),M("div",{key:0,class:m(e.n("title")),style:te({paddingRight:e.paddingRight})},[X(e.$slots,"default",{},()=>[je(we(e.title),1)])],6)):he("v-if",!0),X(e.$slots,"right")],2)],2),X(e.$slots,"content")],6)}const Dm=me({name:AC,props:DC,setup(e,{slots:n}){const t=I(),o=I(),r=R(()=>{const{image:a,color:s,textColor:l,imageLinearGradient:u}=e;return a!=null?{"background-image":`${u?`linear-gradient(${u}), `:""}url(${a})`,"background-position":"center center","background-size":"cover"}:{background:s,color:l}});Pn(i),Yo(i);function i(){t.value=n.left?0:void 0,o.value=n.right?0:void 0}return{rootStyles:r,paddingLeft:t,paddingRight:o,n:BC,classes:zC,formatElevation:In}}});Dm.render=VC;var Am=Dm;be(Am);var ol=Am;const Hd=e=>gn(e)?e.startsWith("data:image")||/\.(png|jpg|gif|jpeg|svg|webp|ico)$/i.test(e):!1,jd=e=>gn(e)?e.startsWith("data:video")||/\.(mp4|webm|ogg)$/.test(e):!1,RC=e=>{const n=[];return{cache:n,has(t){return this.cache.includes(t)},add(t){this.has(t)||(this.cache.length===e&&n.shift(),this.cache.push(t))},remove(t){this.has(t)&&ba(this.cache,t)},clear(){this.cache.length=0}}},rl=e=>e,Yd=e=>e**3,Bm=e=>e<.5?Yd(e*2)/2:1-Yd((1-e)*2)/2,Ro=(e="",n,t="")=>{if(e.length>=n)return e;const o=n-e.length,r=Math.floor(o/t.length);return t.repeat(r)+t.slice(0,o%t.length)+e};var LC=Object.defineProperty,Wd=Object.getOwnPropertySymbols,UC=Object.prototype.hasOwnProperty,FC=Object.prototype.propertyIsEnumerable,qd=(e,n,t)=>n in e?LC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,HC=(e,n)=>{for(var t in n||(n={}))UC.call(n,t)&&qd(e,t,n[t]);if(Wd)for(var t of Wd(n))FC.call(n,t)&&qd(e,t,n[t]);return e},Ja=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const jC="background-image",YC="lazy-loading",WC="lazy-error",Kd="lazy-attempt",qC=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],il="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",mr=[],wa=[],zm=RC(100),hn={loading:il,error:il,attempt:3,throttleWait:300,events:qC};let ec=Qu(Bi,hn.throttleWait);function Qa(e,n){e._lazy.arg===jC?e.style.backgroundImage=`url(${n})`:e.setAttribute("src",n)}function KC(e){e._lazy.loading&&Qa(e,e._lazy.loading),Bi()}function XC(e){e._lazy.error&&Qa(e,e._lazy.error),e._lazy.state="error",tc(e),Bi()}function Vm(e,n){Qa(e,n),e._lazy.state="success",tc(e),Bi()}function GC(e){var n;wa.includes(e)||(wa.push(e),(n=hn.events)==null||n.forEach(t=>{e.addEventListener(t,ec,{passive:!0})}))}function ZC(){wa.forEach(e=>{var n;(n=hn.events)==null||n.forEach(t=>{e.removeEventListener(t,ec)})}),wa.length=0}function JC(e,n){var t,o;const r={loading:(t=e.getAttribute(YC))!=null?t:hn.loading,error:(o=e.getAttribute(WC))!=null?o:hn.error,attempt:e.getAttribute(Kd)?Number(e.getAttribute(Kd)):hn.attempt};e._lazy=HC({src:n.value,arg:n.arg,currentAttempt:0,state:"pending",attemptLock:!1},r),Qa(e,il),N(hn.filter,e._lazy)}function QC(e,n){const t=new Image;t.src=n,e._lazy.preloadImage=t,t.addEventListener("load",()=>{e._lazy.attemptLock=!1,zm.add(n),Vm(e,n)}),t.addEventListener("error",()=>{e._lazy.attemptLock=!1,e._lazy.currentAttempt>=e._lazy.attempt?XC(e):Rm(e)})}function Rm(e){if(e._lazy.attemptLock)return;e._lazy.attemptLock=!0,e._lazy.currentAttempt++;const{src:n}=e._lazy;if(zm.has(n)){Vm(e,n),e._lazy.attemptLock=!1;return}KC(e),QC(e,n)}function nc(e){return Ja(this,null,function*(){yield Bn(),pw(e)&&Rm(e)})}function Bi(){mr.forEach(e=>nc(e))}function _C(e){return Ja(this,null,function*(){!mr.includes(e)&&mr.push(e),xw(e).forEach(GC),yield nc(e)})}function tc(e){ba(mr,e),mr.length===0&&ZC()}function xC(e,n){const{src:t,arg:o}=e._lazy;return t!==n.value||o!==n.arg}function Lm(e,n){return Ja(this,null,function*(){JC(e,n),yield _C(e)})}function eS(e,n){return Ja(this,null,function*(){if(!xC(e,n)){mr.includes(e)&&(yield nc(e));return}yield Lm(e,n)})}function nS(e={}){const{events:n,loading:t,error:o,attempt:r,throttleWait:i,filter:a}=e;hn.events=n??hn.events,hn.loading=t??hn.loading,hn.error=o??hn.error,hn.attempt=r??hn.attempt,hn.throttleWait=i??hn.throttleWait,hn.filter=a}const tS={mounted:Lm,unmounted:tc,updated:eS,install(e,n){nS(n),ec=Qu(Bi,hn.throttleWait),e.directive("lazy",this)}};var hi=tS;const oS={round:{type:Boolean,default:!0},size:{type:[String,Number],default:"normal"},alt:String,color:String,src:String,fit:{type:String,default:"cover"},bordered:Boolean,borderColor:String,loading:String,error:String,lazy:Boolean,hoverable:Boolean,onClick:W(),onLoad:W(),onError:W()},rS=e=>["mini","small","normal","large"].includes(e),{name:iS,n:aS,classes:sS}=pe("avatar"),lS=["src","alt","lazy-loading","lazy-error"],uS=["src","alt"];function cS(e,n){const t=Ge("lazy");return C(),M("div",{ref:"avatarElement",class:m(e.classes(e.n(),e.n("$--box"),[e.isInternalSize(e.size),e.n(`--${e.size}`)],[e.round,e.n("--round")],[e.bordered,e.n("--bordered")],[e.hoverable,e.n("--hoverable")])),style:te({width:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),height:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),borderColor:e.borderColor,backgroundColor:e.color}),onClick:n[3]||(n[3]=(...o)=>e.handleClick&&e.handleClick(...o))},[e.src?(C(),M(Re,{key:0},[e.lazy?He((C(),M("img",{key:0,class:m(e.n("image")),src:e.src,alt:e.alt,style:te({objectFit:e.fit}),"lazy-loading":e.loading,"lazy-error":e.error,onLoad:n[0]||(n[0]=(...o)=>e.handleLoad&&e.handleLoad(...o))},null,46,lS)),[[t,e.src]]):(C(),M("img",{key:1,class:m(e.n("image")),src:e.src,alt:e.alt,style:te({objectFit:e.fit}),onLoad:n[1]||(n[1]=(...o)=>e.handleLoad&&e.handleLoad(...o)),onError:n[2]||(n[2]=(...o)=>e.handleError&&e.handleError(...o))},null,46,uS))],64)):(C(),M("div",{key:1,ref:"textElement",class:m(e.n("text")),style:te({transform:`scale(${e.scale})`})},[X(e.$slots,"default")],6))],6)}const Um=me({name:iS,directives:{Lazy:hi},props:oS,setup(e){const n=I(null),t=I(null),o=I(1);Pn(r),Yo(r);function r(){if(!n.value||!t.value){o.value=1;return}const l=n.value.offsetWidth,u=t.value.offsetWidth;l>u?o.value=1:o.value=l/u}function i(l){const u=l.currentTarget,{lazy:c,onLoad:d,onError:f}=e;c?(u._lazy.state==="success"&&N(d,l),u._lazy.state==="error"&&N(f,l)):N(d,l)}function a(l){N(e.onError,l)}function s(l){N(e.onClick,l)}return{avatarElement:n,textElement:t,scale:o,n:aS,classes:sS,isInternalSize:rS,toSizeUnit:ze,handleLoad:i,handleError:a,handleClick:s}}});Um.render=cS;var Fm=Um;be(Fm);var al=Fm;const dS={offset:[Number,String],vertical:Boolean},{name:fS,n:vS,classes:hS}=pe("avatar-group");function mS(e,n){return C(),M("div",{class:m(e.classes(e.n(),[e.vertical,e.n("--column"),e.n("--row")])),style:te(e.rootStyles)},[X(e.$slots,"default")],6)}const Hm=me({name:fS,props:dS,setup(e){return{rootStyles:R(()=>e.offset==null?{}:{"--avatar-group-offset":ze(e.offset)}),n:vS,classes:hS,toSizeUnit:ze}}});Hm.render=mS;var jm=Hm;be(jm);var sl=jm;const oo={type:{type:String,default:"circle"},radius:[String,Number],size:{type:String,default:"normal"},color:String,description:String,loading:Boolean},{name:pS,n:gS,classes:bS}=pe("loading"),yS=e=>($o(""),e=e(),wo(),e),$S=yS(()=>F("svg",{viewBox:"25 25 50 50"},[F("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1)),wS=[$S];function CS(e,n){return C(),M("div",{class:m(e.n())},[e.$slots.default?(C(),M("div",{key:0,class:m(e.classes(e.n("content"),[e.loading,e.n("content--active")]))},[X(e.$slots,"default"),e.loading?(C(),M("div",{key:0,class:m(e.n("content-mask"))},null,2)):he("v-if",!0)],2)):he("v-if",!0),e.isShow?(C(),M("div",{key:1,class:m(e.classes(e.n("$--box"),e.n("body"),[e.$slots.default,e.n("inside")]))},[e.type==="circle"?(C(),M("div",{key:0,class:m(e.n("circle"))},[F("span",{class:m(e.classes(e.n("circle-block"),e.n(`circle-block--${e.size}`))),style:te({width:e.multiplySizeUnit(e.radius,2),height:e.multiplySizeUnit(e.radius,2),color:e.color})},wS,6)],2)):he("v-if",!0),(C(!0),M(Re,null,un(e.loadingTypeDict,(t,o)=>(C(),M(Re,{key:o},[e.type===o?(C(),M("div",{key:0,class:m(e.classes(e.n(o),e.n(`${o}--${e.size}`)))},[(C(!0),M(Re,null,un(t,r=>(C(),M("div",{key:r+o,style:te({backgroundColor:e.color}),class:m(e.classes(e.n(`${o}-item`),e.n(`${o}-item--${e.size}`)))},null,6))),128))],2)):he("v-if",!0)],64))),128)),e.$slots.description||e.description?(C(),M("div",{key:1,class:m(e.classes(e.n("description"),e.n(`description--${e.size}`))),style:te({color:e.color})},[X(e.$slots,"description",{},()=>[je(we(e.description),1)])],6)):he("v-if",!0)],2)):he("v-if",!0)],2)}const Ym=me({name:pS,props:oo,setup(e,{slots:n}){const t=R(()=>N(n.default)?e.loading:!0);return{loadingTypeDict:{wave:5,cube:4,rect:8,disappear:3},isShow:t,n:gS,classes:bS,multiplySizeUnit:Dn}}});Ym.render=CS;var Wm=Ym;be(Wm);var pr=Wm;const SS={hovering:{type:Boolean,default:!0}},{name:kS,n:PS,classes:OS}=pe("hover-overlay");function TS(e,n){return C(),M("div",{class:m(e.classes(e.n(),[e.hovering,e.n("--hovering")]))},null,2)}const qm=me({name:kS,props:SS,setup:()=>({n:PS,classes:OS})});qm.render=TS;var Km=qm;be(Km);function Pt(){const e=I(!1);return{hovering:e,handleHovering:t=>{e.value=t}}}var tt=Km;function Xm(e){if(!e)return!1;const n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return!!(e==="desktop"&&n||e==="mobile"&&!n)}function ES(e){const n=e.getAttribute("style");return n?n.split(";").filter(Boolean).reduce((t,o)=>{const[r,i]=o.split(":").map(a=>a.trim());return t[_u(r)]=i,t},{}):{}}function NS(e){const{value:n}=e._hover,t=ES(e);Object.keys(n).forEach(o=>{const r=_u(o);n[r]!=null&&t[r]&&(e._hover.rawStyle[r]=t[r])})}function oc(e,n){Object.keys(n).forEach(t=>{const o=n[t];o!=null&&(e.style[t]=o)})}function IS(e){Object.keys(e._hover.value).forEach(n=>{e._hover.value[n]!=null&&(e.style[n]="")})}function Gm(e){IS(e),oc(e,e._hover.rawStyle)}function Zm(){const{value:e}=this._hover;if(this._hover.hovering=!0,Ir(e)){e(this._hover.hovering);return}oc(this,e)}function Jm(){if(this._hover.hovering=!1,Ir(this._hover.value)){this._hover.value(this._hover.hovering);return}Gm(this)}function Qm(e,n){var t,o;const{arg:r,value:i}=n;Xm(r)||(e._hover={value:i,hovering:(o=(t=e._hover)==null?void 0:t.hovering)!=null?o:!1,rawStyle:{}},NS(e),e.addEventListener("mouseenter",Zm),e.addEventListener("mouseleave",Jm))}function _m(e,n){Xm(n.arg)||(Gm(e),e.removeEventListener("mouseenter",Zm),e.removeEventListener("mouseleave",Jm))}function MS(e,n){e._hover&&_m(e,n)}function DS(e,n){return!Ir(n.value)&&e._hover.hovering}function AS(e,n){Qm(e,n),DS(e,n)&&oc(e,n.value)}const BS={mounted:Qm,unmounted:_m,beforeUpdate:MS,updated:AS,install(e){e.directive("hover",this)}};var Zn=BS,zS=Object.defineProperty,VS=Object.defineProperties,RS=Object.getOwnPropertyDescriptors,Xd=Object.getOwnPropertySymbols,LS=Object.prototype.hasOwnProperty,US=Object.prototype.propertyIsEnumerable,Gd=(e,n,t)=>n in e?zS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,FS=(e,n)=>{for(var t in n||(n={}))LS.call(n,t)&&Gd(e,t,n[t]);if(Xd)for(var t of Xd(n))US.call(n,t)&&Gd(e,t,n[t]);return e},HS=(e,n)=>VS(e,RS(n));const jS={type:String,nativeType:{type:String,default:"button"},size:String,loading:Boolean,round:Boolean,block:Boolean,text:Boolean,outline:Boolean,disabled:Boolean,autoLoading:Boolean,ripple:{type:Boolean,default:!0},color:String,textColor:String,elevation:{type:[Boolean,Number,String],default:!0},loadingRadius:[Number,String],loadingType:Fe(oo,"type"),loadingSize:Fe(oo,"size"),loadingColor:HS(FS({},Fe(oo,"color")),{default:"currentColor"}),onClick:W(),onTouchstart:W()},xm=Symbol("BUTTON_GROUP_BIND_BUTTON_KEY");function YS(){const{bindChildren:e,childProviders:n,length:t}=Tn(xm);return{length:t,buttons:n,bindButtons:e}}function WS(){const{bindParent:e,parentProvider:n,index:t}=On(xm);return{index:t,buttonGroup:n,bindButtonGroup:e}}const{name:qS,n:KS,classes:XS}=pe("button"),GS=["type","disabled"];function ZS(e,n){const t=$e("var-loading"),o=$e("var-hover-overlay"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("button",{class:m(e.classes(e.n(),e.n("$--box"),e.n(`--${e.states.size}`),[e.block,`${e.n("$--flex")} ${e.n("--block")}`,e.n("$--inline-flex")],[e.disabled,e.n("--disabled")],[e.states.text,`${e.n(`--text-${e.states.type}`)} ${e.n("--text")}`,`${e.n(`--${e.states.type}`)} ${e.states.elevation}`],[e.states.text&&e.disabled,e.n("--text-disabled")],[e.round,e.n("--round")],[e.states.outline,e.n("--outline")])),style:te({color:e.states.textColor,background:e.states.color}),type:e.nativeType,disabled:e.disabled,onClick:n[0]||(n[0]=(...a)=>e.handleClick&&e.handleClick(...a)),onTouchstart:n[1]||(n[1]=(...a)=>e.handleTouchstart&&e.handleTouchstart(...a))},[e.loading||e.pending?(C(),Ae(t,{key:0,class:m(e.n("loading")),"var-button-cover":"",color:e.loadingColor,type:e.loadingType,size:e.loadingSize,radius:e.loadingRadius},null,8,["class","color","type","size","radius"])):he("v-if",!0),F("div",{class:m(e.classes(e.n("content"),[e.loading||e.pending,e.n("--hidden")]))},[X(e.$slots,"default")],2),ie(o,{hovering:e.disabled?!1:e.hovering},null,8,["hovering"])],46,GS)),[[r,{disabled:e.disabled||!e.ripple}],[i,e.handleHovering,"desktop"]])}const ep=me({name:qS,components:{VarLoading:pr,VarHoverOverlay:tt},directives:{Ripple:vn,Hover:Zn},props:jS,setup(e){const n=I(!1),{buttonGroup:t}=WS(),{hovering:o,handleHovering:r}=Pt(),i=R(()=>{if(!t)return{elevation:In(e.elevation,2),type:e.type!=null?e.type:"default",size:e.size!=null?e.size:"normal",color:e.color,text:e.text,textColor:e.textColor,outline:e.outline};const{type:u,size:c,color:d,textColor:f,mode:v}=t;return{elevation:"",type:e.type!=null?e.type:u.value,size:e.size!=null?e.size:c.value,color:e.color!=null?e.color:d.value,textColor:e.textColor!=null?e.textColor:f.value,text:v.value!=="normal",outline:v.value==="outline"}});function a(u){e.autoLoading&&(n.value=!0,u=Qe(u)?u:[u],Promise.all(u).then(()=>{n.value=!1}).catch(()=>{n.value=!1}))}function s(u){const{loading:c,disabled:d,onClick:f}=e;!f||c||d||n.value||a(N(f,u))}function l(u){const{loading:c,disabled:d,onTouchstart:f}=e;!f||c||d||n.value||a(N(f,u))}return{pending:n,states:i,hovering:o,n:KS,classes:XS,handleHovering:r,handleClick:s,handleTouchstart:l}}});ep.render=ZS;var np=ep;be(np);var Un=np;const JS={visibilityHeight:{type:[Number,String],default:200},duration:{type:Number,default:300},right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},bottom:[Number,String],target:[String,Object],onClick:W()},{name:QS,n:_S,classes:xS}=pe("back-top");function ek(e,n){const t=$e("var-icon"),o=$e("var-button");return C(),Ae(Et,{to:"body",disabled:e.disabled},[F("div",Ze({class:e.classes(e.n(),[e.show,e.n("--active")]),ref:"backTopEl",style:{right:e.toSizeUnit(e.right),bottom:e.toSizeUnit(e.bottom)}},e.$attrs,{onClick:n[0]||(n[0]=Xn((...r)=>e.handleClick&&e.handleClick(...r),["stop"]))}),[X(e.$slots,"default",{},()=>[ie(o,{elevation:e.elevation,type:"primary",round:"","var-back-top-cover":""},{default:Te(()=>[ie(t,{name:"chevron-up"})]),_:1},8,["elevation"])])],16)],8,["disabled"])}const tp=me({name:QS,components:{VarButton:Un,VarIcon:tn},inheritAttrs:!1,props:JS,setup(e){const n=I(!1),t=I(null),o=I(!0);let r;const i=Qu(()=>{n.value=hr(r)>=rn(e.visibilityHeight)},200);Co(()=>{s(),l(),o.value=!1}),Ut(l),Ga(u);function a(c){N(e.onClick,c);const d=Ju(r);vi(r,{left:d,duration:e.duration,animation:Bm})}function s(){r=e.target?gm(e.target,"BackTop"):go(t.value)}function l(){r.addEventListener("scroll",i)}function u(){r.removeEventListener("scroll",i)}return{disabled:o,show:n,backTopEl:t,toSizeUnit:ze,n:_S,classes:xS,handleClick:a}}});tp.render=ek;var op=tp;be(op);var ll=op;const nk={type:{type:String,default:"default"},position:{type:String,default:"right-top"},hidden:Boolean,value:{type:[String,Number],default:0},maxValue:[String,Number],dot:Boolean,icon:Fe(dn,"name"),namespace:Fe(dn,"namespace"),color:String},{name:tk,n:ok,classes:rk}=pe("badge");function ik(e,n){const t=$e("var-icon");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[X(e.$slots,"default"),ie(nn,{name:e.n("$-badge-fade"),persisted:""},{default:Te(()=>[He(F("span",Ze({class:e.classes(e.n("content"),e.n(`--${e.type}`),[e.$slots.default,e.n(`--${e.position}`)],[e.dot,e.n("--dot")],[e.icon,e.n("--icon")]),style:{background:e.color}},e.$attrs),[e.icon?(C(),Ae(t,{key:0,class:m(e.n("icon")),"var-badge-cover":"",name:e.icon,namespace:e.namespace},null,8,["class","name","namespace"])):he("v-if",!0),X(e.$slots,"value",{},()=>[!e.icon&&!e.dot?(C(),M("span",{key:0,class:m(e.n("value"))},we(e.value),3)):he("v-if",!0)])],16),[[kt,!e.hidden]])]),_:3},8,["name"])],2)}const rp=me({name:tk,components:{VarIcon:tn},inheritAttrs:!1,props:nk,setup(e){return{value:R(()=>{const{value:t,maxValue:o}=e;return t!=null&&o!=null&&K(t)>K(o)?`${o}+`:t}),n:ok,classes:rk}}});rp.render=ik;var ip=rp;be(ip);var Ca=ip;const ak={active:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:1},fixed:Boolean,border:Boolean,safeArea:Boolean,activeColor:String,inactiveColor:String,fabProps:Object,onChange:W(),onBeforeChange:W(),onFabClick:W(),"onUpdate:active":W()},ap=Symbol("BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY");function sk(){const{childProviders:e,length:n,bindChildren:t}=Tn(ap);return{length:n,bottomNavigationItems:e,bindBottomNavigationItem:t}}var lk=Object.defineProperty,Zd=Object.getOwnPropertySymbols,uk=Object.prototype.hasOwnProperty,ck=Object.prototype.propertyIsEnumerable,Jd=(e,n,t)=>n in e?lk(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Qd=(e,n)=>{for(var t in n||(n={}))uk.call(n,t)&&Jd(e,t,n[t]);if(Zd)for(var t of Zd(n))ck.call(n,t)&&Jd(e,t,n[t]);return e};const{name:dk,n:fk,classes:vk}=pe("bottom-navigation"),{n:_a}=pe("bottom-navigation-item"),_d=_a("--right-half-space"),xd=_a("--left-half-space"),ef=_a("--right-space"),hk={type:"primary"};function mk(e,n){const t=$e("var-button");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.fixed,e.n("--fixed")],[e.border,e.n("--border")],[e.safeArea,e.n("--safe-area")])),ref:"bottomNavigationDom",style:te(`z-index:${e.zIndex}`)},[X(e.$slots,"default"),e.$slots.fab?(C(),Ae(t,Ze({key:0,class:e.classes(e.n("fab"),[e.length%2,e.n("--fab-right"),e.n("--fab-center")]),"var-bottom-navigation__fab":"",onClick:e.handleFabClick},e.fabProps,{round:""}),{default:Te(()=>[X(e.$slots,"fab")]),_:3},16,["class","onClick"])):he("v-if",!0)],6)}const sp=me({name:dk,components:{VarButton:Un},props:ak,setup(e,{slots:n}){const t=I(null),o=R(()=>e.active),r=R(()=>e.activeColor),i=R(()=>e.inactiveColor),a=I({}),{length:s,bottomNavigationItems:l,bindBottomNavigationItem:u}=sk();u({active:o,activeColor:r,inactiveColor:i,onToggle:h}),Ce(()=>s.value,d),Ce(()=>e.fabProps,k=>{a.value=Qd(Qd({},hk),k)},{immediate:!0,deep:!0}),Pn(()=>{n.fab&&O(s.value)}),Yo(()=>{S(),n.fab&&O(s.value)});function d(){s.value===0||f()||v()||p()}function f(){return l.find(({name:k})=>o.value===k.value)}function v(){return l.find(({index:k})=>o.value===k.value)}function p(){Rn(o.value)&&(o.value<0?N(e["onUpdate:active"],0):o.value>s.value-1&&N(e["onUpdate:active"],s.value-1))}function h(k){o.value!==k&&(e.onBeforeChange?g(k):$(k))}function g(k){const D=ra(N(e.onBeforeChange,k));Promise.all(D).then(T=>{T.every(Boolean)&&$(k)})}function $(k){N(e["onUpdate:active"],k),N(e.onChange,k)}function S(){P().forEach(D=>{D.classList.remove(_d,xd,ef)})}function O(k){const D=P(),T=D.length,B=k%2===0;D.forEach((L,z)=>{y(B,L,z,T)})}function y(k,D,T,B){const L=T===B-1;if(!k&&L){D.classList.add(ef);return}const z=T===B/2-1,ae=T===B/2;z?D.classList.add(_d):ae&&D.classList.add(xd)}function P(){return Array.from(t.value.querySelectorAll(`.${_a()}`))}function A(){N(e.onFabClick)}return{length:s,bottomNavigationDom:t,fabProps:a,n:fk,classes:vk,handleFabClick:A}}});sp.render=mk;var lp=sp;be(lp);var ul=lp;const pk={name:String,label:String,icon:Fe(dn,"name"),namespace:Fe(dn,"namespace"),badge:{type:[Boolean,Object],default:!1},onClick:W()};function gk(){const{parentProvider:e,index:n,bindParent:t}=On(ap);return t||Gn("BottomNavigationItem"," must in "),{index:n,bottomNavigation:e,bindBottomNavigation:t}}const{name:bk,n:yk,classes:$k}=pe("bottom-navigation-item"),wk={type:"danger",dot:!0};function Ck(e,n){const t=$e("var-icon"),o=$e("var-badge"),r=Ge("ripple");return He((C(),M("button",{class:m(e.classes(e.n(),e.n("$--box"),[e.active===e.index||e.active===e.name,e.n("--active")])),style:te({color:e.computeColorStyle()}),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[e.icon&&!e.$slots.icon?(C(),Ae(t,{key:0,name:e.icon,namespace:e.namespace,class:m(e.n("icon")),"var-bottom-navigation-item-cover":""},null,8,["name","namespace","class"])):he("v-if",!0),X(e.$slots,"icon",{active:e.active===e.index||e.active===e.name}),e.badge?(C(),Ae(o,Ze({key:1},e.badgeProps,{class:e.n("badge"),"var-bottom-navigation-item-cover":""}),null,16,["class"])):he("v-if",!0),F("span",{class:m(e.n("label"))},[e.$slots.default?he("v-if",!0):(C(),M(Re,{key:0},[je(we(e.label),1)],64)),X(e.$slots,"default")],2)],6)),[[r]])}const up=me({name:bk,components:{VarBadge:Ca,VarIcon:tn},directives:{Ripple:vn},props:pk,setup(e){const n=R(()=>e.name),t=R(()=>e.badge),o=I({}),{index:r,bottomNavigation:i,bindBottomNavigation:a}=gk(),{active:s,activeColor:l,inactiveColor:u}=i;a({name:n,index:r}),Ce(()=>t.value,v=>{o.value=v===!0?wk:t.value},{immediate:!0});function d(){return s.value===n.value||s.value===r.value?l.value:u.value}function f(){var v;const p=(v=n.value)!=null?v:r.value;N(e.onClick,p),N(i.onToggle,p)}return{index:r,active:s,badge:t,badgeProps:o,n:yk,classes:$k,computeColorStyle:d,handleClick:f}}});up.render=Ck;var cp=up;be(cp);var cl=cp;const Sk={separator:String,onClick:W()},dp=Symbol("BREADCRUMBS_BIND_BREADCRUMB_KEY");function kk(){const{childProviders:e,bindChildren:n,length:t}=Tn(dp);return{length:t,breadcrumbList:e,bindBreadcrumbList:n}}function Pk(){const{parentProvider:e,bindParent:n,index:t}=On(dp);return n||Gn("Breadcrumb"," must in "),{index:t,breadcrumb:e,bindBreadcrumb:n}}const{name:Ok,n:Tk,classes:Ek}=pe("breadcrumb");function Nk(e,n){return C(),M("div",{class:m(e.n())},[F("div",{class:m(e.classes(e.n("content"),[!e.isLast,e.n("--active")])),onClick:n[0]||(n[0]=(...t)=>e.handleClick&&e.handleClick(...t))},[X(e.$slots,"default")],2),e.isLast?he("v-if",!0):X(e.$slots,"separator",{key:0},()=>{var t;return[F("div",{class:m(e.n("separator"))},we((t=e.separator)!=null?t:e.parentSeparator),3)]})],2)}const fp=me({name:Ok,props:Sk,setup(e){const{index:n,breadcrumb:t,bindBreadcrumb:o}=Pk(),r=R(()=>n.value===t.length.value-1),i=R(()=>t.separator.value);o(null);function a(s){r.value||N(e.onClick,s)}return{n:Tk,classes:Ek,isLast:r,parentSeparator:i,handleClick:a}}});fp.render=Nk;var vp=fp;be(vp);var dl=vp;const Ik={separator:{type:String,default:"/"}},{name:Mk,n:Dk}=pe("breadcrumbs");function Ak(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default")],2)}const hp=me({name:Mk,props:Ik,setup(e){const n=R(()=>e.separator),{bindBreadcrumbList:t,length:o}=kk();return t({length:o,separator:n}),{n:Dk}}});hp.render=Ak;var mp=hp;be(mp);var fl=mp;const Bk={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,mode:{type:String,default:"normal"},elevation:{type:[Boolean,Number,String],default:!0},vertical:Boolean},{name:zk,n:Vk,classes:Rk}=pe("button-group");function Lk(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.mode,`${e.n(`--mode-${e.mode}`)}`],[e.vertical,e.n("--vertical"),e.n("--horizontal")],[e.mode==="normal",e.formatElevation(e.elevation,2)]))},[X(e.$slots,"default")],2)}const pp=me({name:zk,props:Bk,setup(e){const{bindButtons:n}=YS(),t={elevation:R(()=>e.elevation),type:R(()=>e.type),size:R(()=>e.size),color:R(()=>e.color),textColor:R(()=>e.textColor),mode:R(()=>e.mode)};return n(t),{n:Vk,classes:Rk,formatElevation:In}}});pp.render=Lk;var gp=pp;be(gp);var vl=gp;const Uk={src:String,fit:{type:String,default:"cover"},imageHeight:[String,Number],imageWidth:[String,Number],outline:Boolean,layout:{type:String,default:"column"},floating:Boolean,floatingDuration:{type:Number,default:250},alt:String,title:String,subtitle:String,description:String,elevation:{type:[Boolean,Number,String],default:!0},ripple:Boolean,onClick:W(),"onUpdate:floating":W()};var nf=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:Fk,n:Hk,classes:jk}=pe("card"),Yk=500,Wk=["src","alt"];function qk(e,n){const t=$e("var-icon"),o=$e("var-button"),r=Ge("ripple");return He((C(),M("div",{ref:"card",class:m(e.classes(e.n(),[e.isRow,e.n("--layout-row")],[e.outline,e.n("--outline")],e.formatElevation(e.elevation,1))),style:te({zIndex:e.floated?e.zIndex:void 0}),onClick:n[0]||(n[0]=(...i)=>e.handleClick&&e.handleClick(...i))},[F("div",{ref:"cardFloater",class:m(e.n("floater")),style:te({width:e.floaterWidth,height:e.floaterHeight,top:e.floaterTop,left:e.floaterLeft,overflow:e.floaterOverflow,position:e.floaterPosition,transition:e.floated?`background-color ${e.floatingDuration}ms, color ${e.floatingDuration}ms, width ${e.floatingDuration}ms, height ${e.floatingDuration}ms, top ${e.floatingDuration}ms, left ${e.floatingDuration}ms`:void 0})},[X(e.$slots,"image",{},()=>[e.src?(C(),M("img",{key:0,class:m(e.n("image")),style:te({objectFit:e.fit,height:e.toSizeUnit(e.imageHeight),width:e.toSizeUnit(e.imageWidth)}),src:e.src,alt:e.alt},null,14,Wk)):he("v-if",!0)]),F("div",{class:m(e.n("container"))},[X(e.$slots,"title",{},()=>[e.title?(C(),M("div",{key:0,class:m(e.n("title"))},we(e.title),3)):he("v-if",!0)]),X(e.$slots,"subtitle",{},()=>[e.subtitle?(C(),M("div",{key:0,class:m(e.n("subtitle"))},we(e.subtitle),3)):he("v-if",!0)]),X(e.$slots,"description",{},()=>[e.description?(C(),M("div",{key:0,class:m(e.n("description"))},we(e.description),3)):he("v-if",!0)]),e.$slots.extra?(C(),M("div",{key:0,class:m(e.n("footer"))},[X(e.$slots,"extra")],2)):he("v-if",!0),e.$slots["floating-content"]&&!e.isRow?(C(),M("div",{key:1,class:m(e.n("floating-content")),style:te({height:e.contentHeight,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[X(e.$slots,"floating-content")],6)):he("v-if",!0)],2),e.showFloatingButtons?(C(),M("div",{key:0,class:m(e.classes(e.n("floating-buttons"),e.n("$--box"))),style:te({zIndex:e.zIndex,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[X(e.$slots,"close-button",{},()=>[ie(o,{"var-card-cover":"",round:"",class:m(e.classes(e.n("close-button"),e.n("$-elevation--6"))),onClick:Xn(e.close,["stop"])},{default:Te(()=>[ie(t,{"var-card-cover":"",name:"window-close",class:m(e.n("close-button-icon"))},null,8,["class"])]),_:1},8,["class","onClick"])])],6)):he("v-if",!0)],6),F("div",{class:m(e.n("holder")),style:te({width:e.holderWidth,height:e.holderHeight})},null,6)],6)),[[r,{disabled:!e.ripple||e.floater}]])}const bp=me({name:Fk,directives:{Ripple:vn},components:{VarIcon:tn,VarButton:Un},props:Uk,setup(e){const n=I(null),t=I(null),o=I("auto"),r=I("auto"),i=I("100%"),a=I("100%"),s=I("auto"),l=I("auto"),u=I(void 0),c=I("hidden"),d=I("0px"),f=I("0"),v=R(()=>e.layout==="row"),p=I(!1),h=I(!1),{zIndex:g}=Ai(()=>e.floating,1);let $="auto",S="auto",O=null;const y=I(null);Di(()=>e.floating,()=>!v.value),Ce(()=>e.floating,T=>{v.value||en(()=>{T?P():A()})},{immediate:!0});function P(){return nf(this,null,function*(){clearTimeout(y.value),clearTimeout(O),y.value=null,y.value=setTimeout(()=>nf(this,null,function*(){const{width:T,height:B,left:L,top:z}=pn(n.value);o.value=ze(T),r.value=ze(B),i.value=o.value,a.value=r.value,s.value=ze(z),l.value=ze(L),u.value="fixed",$=s.value,S=l.value,p.value=!0,yield Bn(),s.value="0",l.value="0",i.value="100vw",a.value="100vh",d.value="auto",f.value="1",c.value="auto",h.value=!0}),e.ripple?Yk:0)})}function A(){clearTimeout(O),clearTimeout(y.value),y.value=null,i.value=o.value,a.value=r.value,s.value=$,l.value=S,d.value="0px",f.value="0",p.value=!1,O=setTimeout(()=>{o.value="auto",r.value="auto",i.value="100%",a.value="100%",s.value="auto",l.value="auto",$="auto",S="auto",c.value="hidden",u.value=void 0,h.value=!1},e.floatingDuration)}function k(){N(e["onUpdate:floating"],!1)}function D(T){N(e.onClick,T)}return{card:n,cardFloater:t,holderWidth:o,holderHeight:r,floater:y,floaterWidth:i,floaterHeight:a,floaterTop:s,floaterLeft:l,floaterPosition:u,floaterOverflow:c,contentHeight:d,opacity:f,zIndex:g,isRow:v,showFloatingButtons:p,floated:h,n:Hk,classes:jk,toSizeUnit:ze,close:k,formatElevation:In,handleClick:D}}});bp.render=qk;var yp=bp;be(yp);var hl=yp;const Kk={title:[Number,String],icon:Fe(dn,"name"),namespace:Fe(dn,"namespace"),description:String,border:Boolean,borderOffset:[Number,String],iconClass:String,titleClass:String,descriptionClass:String,extraClass:String,ripple:Boolean,onClick:W()},{name:Xk,n:Gk,classes:Zk}=pe("cell");function Jk(e,n){const t=$e("var-icon"),o=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),[e.border,e.n("--border")],[e.onClick,e.n("--cursor")])),style:te(e.borderOffsetStyles),onClick:n[0]||(n[0]=(...r)=>e.handleClick&&e.handleClick(...r))},[X(e.$slots,"icon",{},()=>[e.icon?(C(),M("div",{key:0,class:m(e.classes(e.n("icon"),e.iconClass))},[ie(t,{name:e.icon,namespace:e.namespace},null,8,["name","namespace"])],2)):he("v-if",!0)]),F("div",{class:m(e.n("content"))},[X(e.$slots,"default",{},()=>[e.title?(C(),M("div",{key:0,class:m(e.classes(e.n("title"),e.titleClass))},we(e.title),3)):he("v-if",!0)]),X(e.$slots,"description",{},()=>[e.description?(C(),M("div",{key:0,class:m(e.classes(e.n("description"),e.descriptionClass))},we(e.description),3)):he("v-if",!0)])],2),e.$slots.extra?(C(),M("div",{key:0,class:m(e.classes(e.n("extra"),e.extraClass))},[X(e.$slots,"extra")],2)):he("v-if",!0)],6)),[[o,{disabled:!e.ripple}]])}const $p=me({name:Xk,components:{VarIcon:tn},directives:{Ripple:vn},props:Kk,setup(e){const n=R(()=>e.borderOffset==null?{}:{"--cell-border-left":ze(e.borderOffset),"--cell-border-right":ze(e.borderOffset)});function t(o){N(e.onClick,o)}return{borderOffsetStyles:n,n:Gk,classes:Zk,toSizeUnit:ze,handleClick:t}}});$p.render=Jk;var wp=$p;be(wp);var Sa=wp;const Qk={errorMessage:{type:String,default:""},extraMessage:{type:String,default:""}},{name:_k,n:xk}=pe("form-details"),eP={key:0},nP={key:0};function tP(e,n){return C(),Ae(nn,{name:e.n()},{default:Te(()=>[e.errorMessage||e.extraMessage||e.$slots["extra-message"]?(C(),M("div",{key:0,class:m(e.n())},[F("div",{class:m(e.n("error-message"))},[ie(nn,{name:e.n("message")},{default:Te(()=>[e.errorMessage?(C(),M("div",eP,we(e.errorMessage),1)):he("v-if",!0)]),_:1},8,["name"])],2),F("div",{class:m(e.n("extra-message"))},[ie(nn,{name:e.n("message")},{default:Te(()=>[X(e.$slots,"extra-message",{},()=>[e.extraMessage?(C(),M("div",nP,we(e.extraMessage),1)):he("v-if",!0)])]),_:3},8,["name"])],2)],2)):he("v-if",!0)]),_:3},8,["name"])}const Cp=me({name:_k,props:Qk,setup:()=>({n:xk})});Cp.render=tP;var Sp=Cp;be(Sp);var Fn=Sp;const oP={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedColor:String,uncheckedColor:String,disabled:Boolean,readonly:Boolean,indeterminate:Boolean,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:W(),onChange:W(),"onUpdate:modelValue":W(),"onUpdate:indeterminate":W()},kp=Symbol("CHECKBOX_GROUP_BIND_CHECKBOX_KEY");function rP(){const{bindChildren:e,childProviders:n,length:t}=Tn(kp);return{length:t,checkboxes:n,bindCheckboxes:e}}function iP(){const{bindParent:e,parentProvider:n,index:t}=On(kp);return{index:t,checkboxGroup:n,bindCheckboxGroup:e}}var aP=Object.defineProperty,sP=Object.defineProperties,lP=Object.getOwnPropertyDescriptors,tf=Object.getOwnPropertySymbols,uP=Object.prototype.hasOwnProperty,cP=Object.prototype.propertyIsEnumerable,of=(e,n,t)=>n in e?aP(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,dP=(e,n)=>{for(var t in n||(n={}))uP.call(n,t)&&of(e,t,n[t]);if(tf)for(var t of tf(n))cP.call(n,t)&&of(e,t,n[t]);return e},fP=(e,n)=>sP(e,lP(n));const Pp=Symbol("FORM_BIND_FORM_ITEM_KEY");function rt(){const{parentProvider:e,index:n,bindParent:t}=On(Pp),o=So();return{index:n,form:e,bindForm:t?i=>{t(fP(dP({},i),{instance:o}))}:null}}function vP(){const{childProviders:e,length:n,bindChildren:t}=Tn(Pp);return{length:n,formItems:e,bindFormItems:t}}const{name:hP,n:mP,classes:pP}=pe("checkbox");function gP(e,n){const t=$e("var-icon"),o=$e("var-hover-overlay"),r=$e("var-form-details"),i=Ge("hover"),a=Ge("ripple");return C(),M("div",{class:m(e.n("wrap")),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[F("div",{class:m(e.n())},[He((C(),M("div",{class:m(e.classes(e.n("action"),[e.checked||e.isIndeterminate,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({color:e.checked||e.isIndeterminate?e.checkedColor:e.uncheckedColor})},[e.isIndeterminate?X(e.$slots,"indeterminate-icon",{key:0},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"minus-box",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):he("v-if",!0),e.checked&&!e.isIndeterminate?X(e.$slots,"checked-icon",{key:1},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-marked",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):he("v-if",!0),!e.checked&&!e.isIndeterminate?X(e.$slots,"unchecked-icon",{key:2},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-blank-outline",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):he("v-if",!0),ie(o,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[i,e.handleHovering,"desktop"],[a,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}]]),F("div",{class:m(e.classes(e.n("text"),[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[X(e.$slots,"default")],2)],2),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Op=me({name:hP,directives:{Ripple:vn,Hover:Zn},components:{VarIcon:tn,VarFormDetails:Fn,VarHoverOverlay:tt},props:oP,setup(e){const n=Vt(e,"modelValue"),t=Vt(e,"indeterminate"),o=R(()=>n.value===e.checkedValue),r=R(()=>e.checkedValue),i=I(!1),{checkboxGroup:a,bindCheckboxGroup:s}=iP(),{hovering:l,handleHovering:u}=Pt(),{form:c,bindForm:d}=rt(),{errorMessage:f,validateWithTrigger:v,validate:p,resetValidation:h}=ot(),g={checkedValue:r,checked:o,sync:y,validate:D,resetValidation:h,reset:A,resetWithAnimation:P};N(s,g),N(d,g);function $(T){en(()=>{const{validateTrigger:B,rules:L,modelValue:z}=e;v(B,T,L,z)})}function S(T){const{checkedValue:B,onChange:L}=e;n.value=T,t.value=!1,N(L,n.value),$("onChange"),T===B?a==null||a.onChecked(B):a==null||a.onUnchecked(B)}function O(T){const{disabled:B,readonly:L,checkedValue:z,uncheckedValue:ae,onClick:re}=e;if(c!=null&&c.disabled.value||B||(N(re,T),c!=null&&c.readonly.value||L))return;i.value=!0;const oe=a?a.checkedCount.value>=Number(a.max.value):!1;!o.value&&oe||S(o.value?ae:z)}function y(T){const{checkedValue:B,uncheckedValue:L}=e;n.value=T.includes(B)?B:L}function P(){i.value=!1}function A(){n.value=e.uncheckedValue,h()}function k(T){const{checkedValue:B,uncheckedValue:L}=e;![B,L].includes(T)&&(T=o.value?L:B),S(T)}function D(){return p(e.rules,e.modelValue)}return{isIndeterminate:t,withAnimation:i,checked:o,errorMessage:f,checkboxGroupErrorMessage:a==null?void 0:a.errorMessage,formDisabled:c==null?void 0:c.disabled,formReadonly:c==null?void 0:c.readonly,hovering:l,n:mP,classes:pP,handleHovering:u,handleClick:O,toggle:k,reset:A,validate:D,resetValidation:h}}});Op.render=gP;var Tp=Op;be(Tp);var mi=Tp;const bP={modelValue:{type:Array,default:()=>[]},max:[String,Number],direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:W(),"onUpdate:modelValue":W()},{name:yP,n:$P,classes:wP}=pe("checkbox-group");function CP(e,n){const t=$e("var-form-details");return C(),M("div",{class:m(e.n("wrap"))},[F("div",{class:m(e.classes(e.n(),e.n(`--${e.direction}`)))},[X(e.$slots,"default")],2),ie(t,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Ep=me({name:yP,components:{VarFormDetails:Fn},props:bP,setup(e){const n=R(()=>e.max),t=R(()=>e.modelValue.length),{length:o,checkboxes:r,bindCheckboxes:i}=rP(),{bindForm:a}=rt(),{errorMessage:s,validateWithTrigger:l,validate:u,resetValidation:c}=ot(),d=R(()=>s.value),f={max:n,checkedCount:t,onChecked:h,onUnchecked:g,validate:A,resetValidation:c,reset:P,errorMessage:d};Ce(()=>e.modelValue,$,{deep:!0}),Ce(()=>o.value,$),i(f),N(a,f);function v(k){en(()=>{const{validateTrigger:D,rules:T,modelValue:B}=e;l(D,k,T,B)})}function p(k){N(e["onUpdate:modelValue"],k),N(e.onChange,k),v("onChange")}function h(k){const{modelValue:D}=e;D.includes(k)||p([...D,k])}function g(k){const{modelValue:D}=e;D.includes(k)&&p(D.filter(T=>T!==k))}function $(){return r.forEach(({sync:k})=>k(e.modelValue))}function S(){r.forEach(k=>k.resetWithAnimation())}function O(){const k=r.map(({checkedValue:T})=>T.value),D=yd(k);return S(),N(e["onUpdate:modelValue"],D),D}function y(){const k=r.filter(({checked:T})=>!T.value).map(({checkedValue:T})=>T.value),D=yd(k);return S(),N(e["onUpdate:modelValue"],D),D}function P(){N(e["onUpdate:modelValue"],[]),c()}function A(){return u(e.rules,e.modelValue)}return{errorMessage:s,n:$P,classes:wP,checkAll:O,inverseAll:y,reset:P,validate:A,resetValidation:c}}});Ep.render=CP;var Np=Ep;be(Np);var ml=Np;const SP={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,iconName:Fe(dn,"name"),namespace:Fe(dn,"namespace"),plain:Boolean,round:{type:Boolean,default:!0},block:Boolean,closable:Boolean,onClose:W()},{name:kP,n:qt,classes:PP}=pe("chip");function OP(e,n){const t=$e("var-icon");return C(),Ae(nn,{name:e.n("$-fade")},{default:Te(()=>[F("span",Ze({class:e.classes(e.n(),e.n("$--box"),...e.contentClass),style:e.chipStyles},e.$attrs),[X(e.$slots,"left"),F("span",{class:m(e.n(`text-${e.size}`))},[X(e.$slots,"default")],2),X(e.$slots,"right"),e.closable?(C(),M("span",{key:0,class:m(e.n("--close")),onClick:n[0]||(n[0]=(...o)=>e.handleClose&&e.handleClose(...o))},[ie(t,{name:`${e.iconName?e.iconName:"close-circle"}`,namespace:e.namespace},null,8,["name","namespace"])],2)):he("v-if",!0)],16)]),_:3},8,["name"])}const Ip=me({name:kP,components:{VarIcon:tn},inheritAttrs:!1,props:SP,setup(e){const n=R(()=>{const{plain:r,textColor:i,color:a}=e;return r?{color:i||a,borderColor:a}:{color:i,background:a}}),t=R(()=>{const{size:r,block:i,type:a,plain:s,round:l}=e,u=qt(i?"$--flex":"$--inline-flex"),c=s?`${qt("plain")} ${qt(`plain-${a}`)}`:qt(`--${a}`),d=l?qt("--round"):null;return[qt(`--${r}`),u,c,d]});function o(r){N(e.onClose,r)}return{chipStyles:n,contentClass:t,n:qt,classes:PP,handleClose:o}}});Ip.render=OP;var Mp=Ip;be(Mp);var ka=Mp;const TP={span:{type:[String,Number],default:24},offset:{type:[String,Number],default:0},direction:{type:String,default:"row"},justify:String,align:String,xs:[Object,Number,String],sm:[Object,Number,String],md:[Object,Number,String],lg:[Object,Number,String],xl:[Object,Number,String],onClick:W()},Dp=Symbol("ROW_BIND_COL_KEY");function EP(){const{bindChildren:e,childProviders:n,length:t}=Tn(Dp);return{length:t,cols:n,bindCols:e}}function NP(){const{parentProvider:e,index:n,bindParent:t}=On(Dp);return{index:n,row:e,bindRow:t}}const{name:IP,n:qi,classes:MP}=pe("col");function DP(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.span>=0,e.n(`--span-${e.span}`)],[e.offset,e.n(`--offset-${e.offset}`)],...e.getSize("xs",e.xs),...e.getSize("sm",e.sm),...e.getSize("md",e.md),...e.getSize("lg",e.lg),...e.getSize("xl",e.xl))),style:te({flexDirection:e.direction,justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),paddingLeft:e.toSizeUnit(e.padding.left),paddingRight:e.toSizeUnit(e.padding.right),paddingTop:e.toSizeUnit(e.padding.top),paddingBottom:e.toSizeUnit(e.padding.bottom)}),onClick:n[0]||(n[0]=(...t)=>e.handleClick&&e.handleClick(...t))},[X(e.$slots,"default")],6)}const Ap=me({name:IP,props:TP,setup(e){const n=R(()=>K(e.span)),t=R(()=>K(e.offset)),o=I({left:0,right:0,top:0,bottom:0}),{row:r,bindRow:i}=NP(),a={setPadding(u){o.value=u}};Ce([()=>e.span,()=>e.offset],()=>{r==null||r.computePadding()}),N(i,a);function s(u,c){const d=[];if(c==null)return d;if(di(c)){const{offset:f,span:v}=c;Number(v)>=0&&d.push(qi(`--span-${u}-${v}`)),f&&d.push(qi(`--offset-${u}-${f}`))}else Number(c)>=0&&d.push(qi(`--span-${u}-${c}`));return d}function l(u){N(e.onClick,u)}return{span:n,offset:t,padding:o,n:qi,classes:MP,toNumber:K,toSizeUnit:ze,getSize:s,handleClick:l,padStartFlex:$a}}});Ap.render=DP;var Bp=Ap;be(Bp);var pl=Bp;const zp=Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");function AP(){const{childProviders:e,length:n,bindChildren:t}=Tn(zp);return{length:n,collapseItem:e,bindCollapseItem:t}}const BP={modelValue:[Array,String,Number],accordion:Boolean,offset:{type:Boolean,default:!0},divider:{type:Boolean,default:!0},elevation:{type:[Boolean,String,Number],default:!0},onChange:W(),"onUpdate:modelValue":W()},{name:zP,n:VP}=pe("collapse");function RP(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default")],2)}const Vp=me({name:zP,props:BP,setup(e){const n=R(()=>e.modelValue),t=R(()=>e.offset),o=R(()=>e.divider),r=R(()=>e.elevation),{length:i,collapseItem:a,bindCollapseItem:s}=AP(),l={active:n,offset:t,divider:o,elevation:r,updateItem:d};Ce(()=>i.value,()=>en().then(p)),Ce(()=>e.modelValue,()=>en().then(p)),s(l);function u(){return!e.accordion&&!Qe(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be an Array'),!1):e.accordion&&Qe(e.modelValue)?(console.error('[Varlet] Collapse: type of prop "modelValue" should be a String or Number'),!1):!0}function c(h,g){return u()?g?e.accordion?h:[...e.modelValue,h]:e.accordion?null:e.modelValue.filter($=>$!==h):null}function d(h,g){const $=c(h,g);N(e["onUpdate:modelValue"],$),N(e.onChange,$)}function f(){if(e.accordion)return a.find(({name:g})=>e.modelValue===g.value);const h=a.filter(({name:g})=>g.value===void 0?!1:e.modelValue.includes(g.value));return h.length?h:void 0}function v(){return e.accordion?a.find(({index:h,name:g})=>g.value===void 0&&e.modelValue===h.value):a.filter(({index:h,name:g})=>g.value===void 0&&e.modelValue.includes(h.value))}function p(){if(!u())return;const h=f()||v();if(e.accordion&&!h||!e.accordion&&!h.length){a.forEach(g=>{g.init(e.accordion,!1)});return}a.forEach(g=>{const $=e.accordion?h===g:h.includes(g);g.init(e.accordion,$)})}return{divider:o,n:VP}}});Vp.render=RP;var Rp=Vp;be(Rp);var gl=Rp;function LP(){const{parentProvider:e,index:n,bindParent:t}=On(zp);return t||Gn("Collapse"," must in "),{index:n,collapse:e,bindCollapse:t}}const UP={name:[String,Number],title:String,icon:{type:String,default:"chevron-down"},disabled:Boolean};var rf=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:FP,n:HP,classes:jP}=pe("collapse-item");function YP(e,n){const t=$e("var-icon");return C(),M("div",{class:m(e.classes(e.n(),[e.offset&&e.isShow,e.n("--active")],[e.disabled,e.n("--disable")])),style:te(`--collapse-divider-top: ${e.divider?"var(--collapse-border-top)":"none"}`)},[F("div",{class:m(e.classes(e.n("shadow"),e.formatElevation(e.elevation,2)))},null,2),F("div",{class:m(e.n("header")),onClick:n[0]||(n[0]=o=>e.toggle())},[F("div",{class:m(e.n("header-title"))},[X(e.$slots,"title",{},()=>[je(we(e.title),1)])],2),F("div",{class:m(e.n("header-icon"))},[X(e.$slots,"icon",{},()=>[ie(t,{name:e.icon,transition:250,class:m(e.classes(e.n("header-icon"),[e.isShow&&e.icon==="chevron-down",e.n("header-open")],[e.disabled,e.n("header--disable")]))},null,8,["name","class"])])],2)],2),He(F("div",{class:m(e.n("content")),ref:"contentEl",onTransitionend:n[1]||(n[1]=(...o)=>e.transitionend&&e.transitionend(...o)),onTransitionstart:n[2]||(n[2]=(...o)=>e.start&&e.start(...o))},[F("div",{class:m(e.n("content-wrap"))},[X(e.$slots,"default")],2)],34),[[kt,e.showContent]])],6)}const Lp=me({name:FP,components:{VarIcon:tn},props:UP,setup(e){const n=I(!1),t=I(!1),o=I(null),r=R(()=>e.name),{index:i,collapse:a,bindCollapse:s}=LP(),{active:l,offset:u,divider:c,elevation:d,updateItem:f}=a,v={index:i,name:r,init:$};let p=!0;Ce(n,P=>{P?h():g()}),s(v);function h(){return rf(this,null,function*(){if(!o.value||(o.value.style.height="",t.value=!0,yield ia(),!o.value))return;const{offsetHeight:P}=o.value;o.value.style.height="0px",yield ia(),o.value&&(o.value.style.height=P+"px",p&&(yield Bn(),p&&y()))})}function g(){return rf(this,null,function*(){if(!o.value)return;const{offsetHeight:P}=o.value;o.value.style.height=P+"px",yield ia(),o.value.style.height="0px"})}function $(P,A){l.value===void 0||P&&Qe(l.value)||A===n.value||(n.value=A,S(!0))}function S(P){e.disabled||P||f(e.name||i.value,!n.value)}function O(){p=!1}function y(){n.value||(t.value=!1),o.value.style.height=""}return{isShow:n,showContent:t,offset:u,divider:c,elevation:d,contentEl:o,n:HP,start:O,classes:jP,toggle:S,transitionend:y,formatElevation:In}}});Lp.render=YP;var Up=Lp;be(Up);var bl=Up;const WP={time:{type:[String,Number],default:0},format:{type:String,default:"HH : mm : ss"},autoStart:{type:Boolean,default:!0},onEnd:W(),onChange:W()},{name:qP,n:KP}=pe("countdown"),yl=1e3,$l=60*yl,wl=60*$l,af=24*wl;function XP(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default",ao(Nr(e.timeData)),()=>[je(we(e.showTime),1)])],2)}const Fp=me({name:qP,props:WP,setup(e){const n=I(""),t=I({days:0,hours:0,minutes:0,seconds:0,milliseconds:0});let o=0,r=!1,i=0,a=0,s;Ce(()=>e.time,()=>{v(),e.autoStart&&d()},{immediate:!0}),Ut(()=>{s!=null&&(r=s,r===!0&&d(!0))}),jo(()=>{s=r,f()}),Ht(f);function l(p,h){const g=Object.values(h),$=["DD","HH","mm","ss"],S=[24,60,60,1e3];if($.forEach((O,y)=>{p.includes(O)?p=p.replace(O,Ro(`${g[y]}`,2,"0")):g[y+1]+=g[y]*S[y]}),p.includes("S")){const O=Ro(`${g[g.length-1]}`,3,"0");p.includes("SSS")?p=p.replace("SSS",O):p.includes("SS")?p=p.replace("SS",O.slice(0,2)):p=p.replace("S",O.slice(0,1))}return p}function u(p){const h=Math.floor(p/af),g=Math.floor(p%af/wl),$=Math.floor(p%wl/$l),S=Math.floor(p%$l/yl),O=Math.floor(p%yl),y={days:h,hours:g,minutes:$,seconds:S,milliseconds:O};t.value=y,N(e.onChange,t.value),n.value=l(e.format,y)}function c(){const{time:p,onEnd:h}=e,g=performance.now();if(o||(o=g+K(p)),a=o-g,a<0&&(a=0),u(a),a===0){N(h);return}r&&(i=fi(c))}function d(p=!1){r&&!p||(r=!0,o=performance.now()+(a||K(e.time)),c())}function f(){r=!1,$d(i)}function v(){o=0,r=!1,$d(i),c()}return{showTime:n,timeData:t,n:KP,start:d,pause:f,reset:v}}});Fp.render=XP;var Hp=Fp;be(Hp);var Cl=Hp;/*! * decimal.js v10.4.0 * An arbitrary-precision Decimal type for JavaScript. * https://github.com/MikeMcl/decimal.js * Copyright (c) 2022 Michael Mclaughlin * MIT Licence - */var tr=9e15,ko=1e9,Sl="0123456789abcdef",Pa="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Oa="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",kl={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-tr,maxE:tr,crypto:!1},jp,At,Be=!0,xa="[DecimalError] ",bo=xa+"Invalid argument: ",Yp=xa+"Precision limit exceeded",Wp=xa+"crypto unavailable",qp="[object Decimal]",Nn=Math.floor,mn=Math.pow,GP=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ZP=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,JP=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Kp=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,mt=1e7,Me=7,QP=9007199254740991,_P=Pa.length-1,Pl=Oa.length-1,ce={toStringTag:qp};ce.absoluteValue=ce.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),Ee(e)};ce.ceil=function(){return Ee(new this.constructor(this),this.e+1,2)};ce.clampedTo=ce.clamp=function(e,n){var t,o=this,r=o.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(bo+n);return t=o.cmp(e),t<0?e:o.cmp(n)>0?n:new r(o)};ce.comparedTo=ce.cmp=function(e){var n,t,o,r,i=this,a=i.d,s=(e=new i.constructor(e)).d,l=i.s,u=e.s;if(!a||!s)return!l||!u?NaN:l!==u?l:a===s?0:!a^l<0?1:-1;if(!a[0]||!s[0])return a[0]?l:s[0]?-u:0;if(l!==u)return l;if(i.e!==e.e)return i.e>e.e^l<0?1:-1;for(o=a.length,r=s.length,n=0,t=os[n]^l<0?1:-1;return o===r?0:o>r^l<0?1:-1};ce.cosine=ce.cos=function(){var e,n,t=this,o=t.constructor;return t.d?t.d[0]?(e=o.precision,n=o.rounding,o.precision=e+Math.max(t.e,t.sd())+Me,o.rounding=1,t=xP(o,Qp(o,t)),o.precision=e,o.rounding=n,Ee(At==2||At==3?t.neg():t,e,n,!0)):new o(1):new o(NaN)};ce.cubeRoot=ce.cbrt=function(){var e,n,t,o,r,i,a,s,l,u,c=this,d=c.constructor;if(!c.isFinite()||c.isZero())return new d(c);for(Be=!1,i=c.s*mn(c.s*c,1/3),!i||Math.abs(i)==1/0?(t=kn(c.d),e=c.e,(i=(e-t.length+1)%3)&&(t+=i==1||i==-2?"0":"00"),i=mn(t,1/3),e=Nn((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),o=new d(t),o.s=c.s):o=new d(i.toString()),a=(e=d.precision)+3;;)if(s=o,l=s.times(s).times(s),u=l.plus(c),o=xe(u.plus(c).times(s),u.plus(l),a+2,1),kn(s.d).slice(0,a)===(t=kn(o.d)).slice(0,a))if(t=t.slice(a-3,a+1),t=="9999"||!r&&t=="4999"){if(!r&&(Ee(s,e+1,0),s.times(s).times(s).eq(c))){o=s;break}a+=4,r=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(Ee(o,e+1,1),n=!o.times(o).times(o).eq(c));break}return Be=!0,Ee(o,e,d.rounding,n)};ce.decimalPlaces=ce.dp=function(){var e,n=this.d,t=NaN;if(n){if(e=n.length-1,t=(e-Nn(this.e/Me))*Me,e=n[e],e)for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t};ce.dividedBy=ce.div=function(e){return xe(this,new this.constructor(e))};ce.dividedToIntegerBy=ce.divToInt=function(e){var n=this,t=n.constructor;return Ee(xe(n,new t(e),0,1,1),t.precision,t.rounding)};ce.equals=ce.eq=function(e){return this.cmp(e)===0};ce.floor=function(){return Ee(new this.constructor(this),this.e+1,3)};ce.greaterThan=ce.gt=function(e){return this.cmp(e)>0};ce.greaterThanOrEqualTo=ce.gte=function(e){var n=this.cmp(e);return n==1||n===0};ce.hyperbolicCosine=ce.cosh=function(){var e,n,t,o,r,i=this,a=i.constructor,s=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return s;t=a.precision,o=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,r=i.d.length,r<32?(e=Math.ceil(r/3),n=(1/ns(4,e)).toString()):(e=16,n="2.3283064365386962890625e-10"),i=gr(a,1,i.times(n),new a(1),!0);for(var l,u=e,c=new a(8);u--;)l=i.times(i),i=s.minus(l.times(c.minus(l.times(c))));return Ee(i,a.precision=t,a.rounding=o,!0)};ce.hyperbolicSine=ce.sinh=function(){var e,n,t,o,r=this,i=r.constructor;if(!r.isFinite()||r.isZero())return new i(r);if(n=i.precision,t=i.rounding,i.precision=n+Math.max(r.e,r.sd())+4,i.rounding=1,o=r.d.length,o<3)r=gr(i,2,r,r,!0);else{e=1.4*Math.sqrt(o),e=e>16?16:e|0,r=r.times(1/ns(5,e)),r=gr(i,2,r,r,!0);for(var a,s=new i(5),l=new i(16),u=new i(20);e--;)a=r.times(r),r=r.times(s.plus(a.times(l.times(a).plus(u))))}return i.precision=n,i.rounding=t,Ee(r,n,t,!0)};ce.hyperbolicTangent=ce.tanh=function(){var e,n,t=this,o=t.constructor;return t.isFinite()?t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+7,o.rounding=1,xe(t.sinh(),t.cosh(),o.precision=e,o.rounding=n)):new o(t.s)};ce.inverseCosine=ce.acos=function(){var e,n=this,t=n.constructor,o=n.abs().cmp(1),r=t.precision,i=t.rounding;return o!==-1?o===0?n.isNeg()?ft(t,r,i):new t(0):new t(NaN):n.isZero()?ft(t,r+4,i).times(.5):(t.precision=r+6,t.rounding=1,n=n.asin(),e=ft(t,r+4,i).times(.5),t.precision=r,t.rounding=i,e.minus(n))};ce.inverseHyperbolicCosine=ce.acosh=function(){var e,n,t=this,o=t.constructor;return t.lte(1)?new o(t.eq(1)?0:NaN):t.isFinite()?(e=o.precision,n=o.rounding,o.precision=e+Math.max(Math.abs(t.e),t.sd())+4,o.rounding=1,Be=!1,t=t.times(t).minus(1).sqrt().plus(t),Be=!0,o.precision=e,o.rounding=n,t.ln()):new o(t)};ce.inverseHyperbolicSine=ce.asinh=function(){var e,n,t=this,o=t.constructor;return!t.isFinite()||t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,o.rounding=1,Be=!1,t=t.times(t).plus(1).sqrt().plus(t),Be=!0,o.precision=e,o.rounding=n,t.ln())};ce.inverseHyperbolicTangent=ce.atanh=function(){var e,n,t,o,r=this,i=r.constructor;return r.isFinite()?r.e>=0?new i(r.abs().eq(1)?r.s/0:r.isZero()?r:NaN):(e=i.precision,n=i.rounding,o=r.sd(),Math.max(o,e)<2*-r.e-1?Ee(new i(r),e,n,!0):(i.precision=t=o-r.e,r=xe(r.plus(1),new i(1).minus(r),t+e,1),i.precision=e+4,i.rounding=1,r=r.ln(),i.precision=e,i.rounding=n,r.times(.5))):new i(NaN)};ce.inverseSine=ce.asin=function(){var e,n,t,o,r=this,i=r.constructor;return r.isZero()?new i(r):(n=r.abs().cmp(1),t=i.precision,o=i.rounding,n!==-1?n===0?(e=ft(i,t+4,o).times(.5),e.s=r.s,e):new i(NaN):(i.precision=t+6,i.rounding=1,r=r.div(new i(1).minus(r.times(r)).sqrt().plus(1)).atan(),i.precision=t,i.rounding=o,r.times(2)))};ce.inverseTangent=ce.atan=function(){var e,n,t,o,r,i,a,s,l,u=this,c=u.constructor,d=c.precision,f=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);if(u.abs().eq(1)&&d+4<=Pl)return a=ft(c,d+4,f).times(.25),a.s=u.s,a}else{if(!u.s)return new c(NaN);if(d+4<=Pl)return a=ft(c,d+4,f).times(.5),a.s=u.s,a}for(c.precision=s=d+10,c.rounding=1,t=Math.min(28,s/Me+2|0),e=t;e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(Be=!1,n=Math.ceil(s/Me),o=1,l=u.times(u),a=new c(u),r=u;e!==-1;)if(r=r.times(l),i=a.minus(r.div(o+=2)),r=r.times(l),a=i.plus(r.div(o+=2)),a.d[n]!==void 0)for(e=n;a.d[e]===i.d[e]&&e--;);return t&&(a=a.times(2<this.d.length-2};ce.isNaN=function(){return!this.s};ce.isNegative=ce.isNeg=function(){return this.s<0};ce.isPositive=ce.isPos=function(){return this.s>0};ce.isZero=function(){return!!this.d&&this.d[0]===0};ce.lessThan=ce.lt=function(e){return this.cmp(e)<0};ce.lessThanOrEqualTo=ce.lte=function(e){return this.cmp(e)<1};ce.logarithm=ce.log=function(e){var n,t,o,r,i,a,s,l,u=this,c=u.constructor,d=c.precision,f=c.rounding,v=5;if(e==null)e=new c(10),n=!0;else{if(e=new c(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new c(NaN);n=e.eq(10)}if(t=u.d,u.s<0||!t||!t[0]||u.eq(1))return new c(t&&!t[0]?-1/0:u.s!=1?NaN:t?0:1/0);if(n)if(t.length>1)i=!0;else{for(r=t[0];r%10===0;)r/=10;i=r!==1}if(Be=!1,s=d+v,a=ro(u,s),o=n?Ta(c,s+10):ro(e,s),l=xe(a,o,s,1),pi(l.d,r=d,f))do if(s+=10,a=ro(u,s),o=n?Ta(c,s+10):ro(e,s),l=xe(a,o,s,1),!i){+kn(l.d).slice(r+1,r+15)+1==1e14&&(l=Ee(l,d+1,0));break}while(pi(l.d,r+=10,f));return Be=!0,Ee(l,d,f)};ce.minus=ce.sub=function(e){var n,t,o,r,i,a,s,l,u,c,d,f,v=this,p=v.constructor;if(e=new p(e),!v.d||!e.d)return!v.s||!e.s?e=new p(NaN):v.d?e.s=-e.s:e=new p(e.d||v.s!==e.s?v:NaN),e;if(v.s!=e.s)return e.s=-e.s,v.plus(e);if(u=v.d,f=e.d,s=p.precision,l=p.rounding,!u[0]||!f[0]){if(f[0])e.s=-e.s;else if(u[0])e=new p(v);else return new p(l===3?-0:0);return Be?Ee(e,s,l):e}if(t=Nn(e.e/Me),c=Nn(v.e/Me),u=u.slice(),i=c-t,i){for(d=i<0,d?(n=u,i=-i,a=f.length):(n=f,t=c,a=u.length),o=Math.max(Math.ceil(s/Me),a)+2,i>o&&(i=o,n.length=1),n.reverse(),o=i;o--;)n.push(0);n.reverse()}else{for(o=u.length,a=f.length,d=o0;--o)u[a++]=0;for(o=f.length;o>i;){if(u[--o]a?i+1:a+1,r>a&&(r=a,t.length=1),t.reverse();r--;)t.push(0);t.reverse()}for(a=u.length,r=c.length,a-r<0&&(r=a,t=c,c=u,u=t),n=0;r;)n=(u[--r]=u[r]+c[r]+n)/mt|0,u[r]%=mt;for(n&&(u.unshift(n),++o),a=u.length;u[--a]==0;)u.pop();return e.d=u,e.e=es(u,o),Be?Ee(e,s,l):e};ce.precision=ce.sd=function(e){var n,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(bo+e);return t.d?(n=Xp(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n};ce.round=function(){var e=this,n=e.constructor;return Ee(new n(e),e.e+1,n.rounding)};ce.sine=ce.sin=function(){var e,n,t=this,o=t.constructor;return t.isFinite()?t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+Math.max(t.e,t.sd())+Me,o.rounding=1,t=nO(o,Qp(o,t)),o.precision=e,o.rounding=n,Ee(At>2?t.neg():t,e,n,!0)):new o(NaN)};ce.squareRoot=ce.sqrt=function(){var e,n,t,o,r,i,a=this,s=a.d,l=a.e,u=a.s,c=a.constructor;if(u!==1||!s||!s[0])return new c(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);for(Be=!1,u=Math.sqrt(+a),u==0||u==1/0?(n=kn(s),(n.length+l)%2==0&&(n+="0"),u=Math.sqrt(n),l=Nn((l+1)/2)-(l<0||l%2),u==1/0?n="5e"+l:(n=u.toExponential(),n=n.slice(0,n.indexOf("e")+1)+l),o=new c(n)):o=new c(u.toString()),t=(l=c.precision)+3;;)if(i=o,o=i.plus(xe(a,i,t+2,1)).times(.5),kn(i.d).slice(0,t)===(n=kn(o.d)).slice(0,t))if(n=n.slice(t-3,t+1),n=="9999"||!r&&n=="4999"){if(!r&&(Ee(i,l+1,0),i.times(i).eq(a))){o=i;break}t+=4,r=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(Ee(o,l+1,1),e=!o.times(o).eq(a));break}return Be=!0,Ee(o,l,c.rounding,e)};ce.tangent=ce.tan=function(){var e,n,t=this,o=t.constructor;return t.isFinite()?t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+10,o.rounding=1,t=t.sin(),t.s=1,t=xe(t,new o(1).minus(t.times(t)).sqrt(),e+10,0),o.precision=e,o.rounding=n,Ee(At==2||At==4?t.neg():t,e,n,!0)):new o(NaN)};ce.times=ce.mul=function(e){var n,t,o,r,i,a,s,l,u,c=this,d=c.constructor,f=c.d,v=(e=new d(e)).d;if(e.s*=c.s,!f||!f[0]||!v||!v[0])return new d(!e.s||f&&!f[0]&&!v||v&&!v[0]&&!f?NaN:!f||!v?e.s/0:e.s*0);for(t=Nn(c.e/Me)+Nn(e.e/Me),l=f.length,u=v.length,l=0;){for(n=0,r=l+o;r>o;)s=i[r]+v[o]*f[r-o-1]+n,i[r--]=s%mt|0,n=s/mt|0;i[r]=(i[r]+n)%mt|0}for(;!i[--a];)i.pop();return n?++t:i.shift(),e.d=i,e.e=es(i,t),Be?Ee(e,d.precision,d.rounding):e};ce.toBinary=function(e,n){return rc(this,2,e,n)};ce.toDecimalPlaces=ce.toDP=function(e,n){var t=this,o=t.constructor;return t=new o(t),e===void 0?t:(Hn(e,0,ko),n===void 0?n=o.rounding:Hn(n,0,8),Ee(t,e+t.e+1,n))};ce.toExponential=function(e,n){var t,o=this,r=o.constructor;return e===void 0?t=Ot(o,!0):(Hn(e,0,ko),n===void 0?n=r.rounding:Hn(n,0,8),o=Ee(new r(o),e+1,n),t=Ot(o,!0,e+1)),o.isNeg()&&!o.isZero()?"-"+t:t};ce.toFixed=function(e,n){var t,o,r=this,i=r.constructor;return e===void 0?t=Ot(r):(Hn(e,0,ko),n===void 0?n=i.rounding:Hn(n,0,8),o=Ee(new i(r),e+r.e+1,n),t=Ot(o,!1,e+o.e+1)),r.isNeg()&&!r.isZero()?"-"+t:t};ce.toFraction=function(e){var n,t,o,r,i,a,s,l,u,c,d,f,v=this,p=v.d,h=v.constructor;if(!p)return new h(v);if(u=t=new h(1),o=l=new h(0),n=new h(o),i=n.e=Xp(p)-v.e-1,a=i%Me,n.d[0]=mn(10,a<0?Me+a:a),e==null)e=i>0?n:u;else{if(s=new h(e),!s.isInt()||s.lt(u))throw Error(bo+s);e=s.gt(n)?i>0?n:u:s}for(Be=!1,s=new h(kn(p)),c=h.precision,h.precision=i=p.length*Me*2;d=xe(s,n,0,1,1),r=t.plus(d.times(o)),r.cmp(e)!=1;)t=o,o=r,r=u,u=l.plus(d.times(r)),l=r,r=n,n=s.minus(d.times(r)),s=r;return r=xe(e.minus(t),o,0,1,1),l=l.plus(r.times(u)),t=t.plus(r.times(o)),l.s=u.s=v.s,f=xe(u,o,i,1).minus(v).abs().cmp(xe(l,t,i,1).minus(v).abs())<1?[u,o]:[l,t],h.precision=c,Be=!0,f};ce.toHexadecimal=ce.toHex=function(e,n){return rc(this,16,e,n)};ce.toNearest=function(e,n){var t=this,o=t.constructor;if(t=new o(t),e==null){if(!t.d)return t;e=new o(1),n=o.rounding}else{if(e=new o(e),n===void 0?n=o.rounding:Hn(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(Be=!1,t=xe(t,e,0,n,1).times(e),Be=!0,Ee(t)):(e.s=t.s,t=e),t};ce.toNumber=function(){return+this};ce.toOctal=function(e,n){return rc(this,8,e,n)};ce.toPower=ce.pow=function(e){var n,t,o,r,i,a,s=this,l=s.constructor,u=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(mn(+s,u));if(s=new l(s),s.eq(1))return s;if(o=l.precision,i=l.rounding,e.eq(1))return Ee(s,o,i);if(n=Nn(e.e/Me),n>=e.d.length-1&&(t=u<0?-u:u)<=QP)return r=Gp(l,s,t,o),e.s<0?new l(1).div(r):Ee(r,o,i);if(a=s.s,a<0){if(nl.maxE+1||n0?a/0:0):(Be=!1,l.rounding=s.s=1,t=Math.min(12,(n+"").length),r=Ol(e.times(ro(s,o+t)),o),r.d&&(r=Ee(r,o+5,1),pi(r.d,o,i)&&(n=o+10,r=Ee(Ol(e.times(ro(s,n+t)),n),n+5,1),+kn(r.d).slice(o+1,o+15)+1==1e14&&(r=Ee(r,o+1,0)))),r.s=a,Be=!0,l.rounding=i,Ee(r,o,i))};ce.toPrecision=function(e,n){var t,o=this,r=o.constructor;return e===void 0?t=Ot(o,o.e<=r.toExpNeg||o.e>=r.toExpPos):(Hn(e,1,ko),n===void 0?n=r.rounding:Hn(n,0,8),o=Ee(new r(o),e,n),t=Ot(o,e<=o.e||o.e<=r.toExpNeg,e)),o.isNeg()&&!o.isZero()?"-"+t:t};ce.toSignificantDigits=ce.toSD=function(e,n){var t=this,o=t.constructor;return e===void 0?(e=o.precision,n=o.rounding):(Hn(e,1,ko),n===void 0?n=o.rounding:Hn(n,0,8)),Ee(new o(t),e,n)};ce.toString=function(){var e=this,n=e.constructor,t=Ot(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t};ce.truncated=ce.trunc=function(){return Ee(new this.constructor(this),this.e+1,1)};ce.valueOf=ce.toJSON=function(){var e=this,n=e.constructor,t=Ot(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};function kn(e){var n,t,o,r=e.length-1,i="",a=e[0];if(r>0){for(i+=a,n=1;nt)throw Error(bo+e)}function pi(e,n,t,o){var r,i,a,s;for(i=e[0];i>=10;i/=10)--n;return--n<0?(n+=Me,r=0):(r=Math.ceil((n+1)/Me),n%=Me),i=mn(10,Me-n),s=e[r]%i|0,o==null?n<3?(n==0?s=s/100|0:n==1&&(s=s/10|0),a=t<4&&s==99999||t>3&&s==49999||s==5e4||s==0):a=(t<4&&s+1==i||t>3&&s+1==i/2)&&(e[r+1]/i/100|0)==mn(10,n-2)-1||(s==i/2||s==0)&&(e[r+1]/i/100|0)==0:n<4?(n==0?s=s/1e3|0:n==1?s=s/100|0:n==2&&(s=s/10|0),a=(o||t<4)&&s==9999||!o&&t>3&&s==4999):a=((o||t<4)&&s+1==i||!o&&t>3&&s+1==i/2)&&(e[r+1]/i/1e3|0)==mn(10,n-3)-1,a}function aa(e,n,t){for(var o,r=[0],i,a=0,s=e.length;at-1&&(r[o+1]===void 0&&(r[o+1]=0),r[o+1]+=r[o]/t|0,r[o]%=t)}return r.reverse()}function xP(e,n){var t,o,r;if(n.isZero())return n;o=n.d.length,o<32?(t=Math.ceil(o/3),r=(1/ns(4,t)).toString()):(t=16,r="2.3283064365386962890625e-10"),e.precision+=t,n=gr(e,1,n.times(r),new e(1));for(var i=t;i--;){var a=n.times(n);n=a.times(a).minus(a).times(8).plus(1)}return e.precision-=t,n}var xe=function(){function e(o,r,i){var a,s=0,l=o.length;for(o=o.slice();l--;)a=o[l]*r+s,o[l]=a%i|0,s=a/i|0;return s&&o.unshift(s),o}function n(o,r,i,a){var s,l;if(i!=a)l=i>a?1:-1;else for(s=l=0;sr[s]?1:-1;break}return l}function t(o,r,i,a){for(var s=0;i--;)o[i]-=s,s=o[i]1;)o.shift()}return function(o,r,i,a,s,l){var u,c,d,f,v,p,h,g,$,S,O,y,P,A,k,D,T,B,U,z,ae=o.constructor,re=o.s==r.s?1:-1,oe=o.d,_=r.d;if(!oe||!oe[0]||!_||!_[0])return new ae(!o.s||!r.s||(oe?_&&oe[0]==_[0]:!_)?NaN:oe&&oe[0]==0||!_?re*0:re/0);for(l?(v=1,c=o.e-r.e):(l=mt,v=Me,c=Nn(o.e/v)-Nn(r.e/v)),U=_.length,T=oe.length,$=new ae(re),S=$.d=[],d=0;_[d]==(oe[d]||0);d++);if(_[d]>(oe[d]||0)&&c--,i==null?(A=i=ae.precision,a=ae.rounding):s?A=i+(o.e-r.e)+1:A=i,A<0)S.push(1),p=!0;else{if(A=A/v+2|0,d=0,U==1){for(f=0,_=_[0],A++;(d1&&(_=e(_,f,l),oe=e(oe,f,l),U=_.length,T=oe.length),D=U,O=oe.slice(0,U),y=O.length;y=l/2&&++B;do f=0,u=n(_,O,U,y),u<0?(P=O[0],U!=y&&(P=P*l+(O[1]||0)),f=P/B|0,f>1?(f>=l&&(f=l-1),h=e(_,f,l),g=h.length,y=O.length,u=n(h,O,g,y),u==1&&(f--,t(h,U=10;f/=10)d++;$.e=d+c*v-1,Ee($,s?i+$.e+1:i,a,p)}return $}}();function Ee(e,n,t,o){var r,i,a,s,l,u,c,d,f,v=e.constructor;e:if(n!=null){if(d=e.d,!d)return e;for(r=1,s=d[0];s>=10;s/=10)r++;if(i=n-r,i<0)i+=Me,a=n,c=d[f=0],l=c/mn(10,r-a-1)%10|0;else if(f=Math.ceil((i+1)/Me),s=d.length,f>=s)if(o){for(;s++<=f;)d.push(0);c=l=0,r=1,i%=Me,a=i-Me+1}else break e;else{for(c=s=d[f],r=1;s>=10;s/=10)r++;i%=Me,a=i-Me+r,l=a<0?0:c/mn(10,r-a-1)%10|0}if(o=o||n<0||d[f+1]!==void 0||(a<0?c:c%mn(10,r-a-1)),u=t<4?(l||o)&&(t==0||t==(e.s<0?3:2)):l>5||l==5&&(t==4||o||t==6&&(i>0?a>0?c/mn(10,r-a):0:d[f-1])%10&1||t==(e.s<0?8:7)),n<1||!d[0])return d.length=0,u?(n-=e.e+1,d[0]=mn(10,(Me-n%Me)%Me),e.e=-n||0):d[0]=e.e=0,e;if(i==0?(d.length=f,s=1,f--):(d.length=f+1,s=mn(10,Me-i),d[f]=a>0?(c/mn(10,r-a)%mn(10,a)|0)*s:0),u)for(;;)if(f==0){for(i=1,a=d[0];a>=10;a/=10)i++;for(a=d[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,d[0]==mt&&(d[0]=1));break}else{if(d[f]+=s,d[f]!=mt)break;d[f--]=0,s=1}for(i=d.length;d[--i]===0;)d.pop()}return Be&&(e.e>v.maxE?(e.d=null,e.e=NaN):e.e0?i=i.charAt(0)+"."+i.slice(1)+Jt(o):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):r<0?(i="0."+Jt(-r-1)+i,t&&(o=t-a)>0&&(i+=Jt(o))):r>=a?(i+=Jt(r+1-a),t&&(o=t-r-1)>0&&(i=i+"."+Jt(o))):((o=r+1)0&&(r+1===a&&(i+="."),i+=Jt(o))),i}function es(e,n){var t=e[0];for(n*=Me;t>=10;t/=10)n++;return n}function Ta(e,n,t){if(n>_P)throw Be=!0,t&&(e.precision=t),Error(Yp);return Ee(new e(Pa),n,1,!0)}function ft(e,n,t){if(n>Pl)throw Error(Yp);return Ee(new e(Oa),n,t,!0)}function Xp(e){var n=e.length-1,t=n*Me+1;if(n=e[n],n){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function Jt(e){for(var n="";e--;)n+="0";return n}function Gp(e,n,t,o){var r,i=new e(1),a=Math.ceil(o/Me+4);for(Be=!1;;){if(t%2&&(i=i.times(n),lf(i.d,a)&&(r=!0)),t=Nn(t/2),t===0){t=i.d.length-1,r&&i.d[t]===0&&++i.d[t];break}n=n.times(n),lf(n.d,a)}return Be=!0,i}function sf(e){return e.d[e.d.length-1]&1}function Zp(e,n,t){for(var o,r=new e(n[0]),i=0;++i17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(n==null?(Be=!1,l=p):l=n,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(o=Math.log(mn(2,d))/Math.LN10*2+5|0,l+=o,t=i=a=new f(1),f.precision=l;;){if(i=Ee(i.times(e),l,1),t=t.times(++c),s=a.plus(xe(i,t,l,1)),kn(s.d).slice(0,l)===kn(a.d).slice(0,l)){for(r=d;r--;)a=Ee(a.times(a),l,1);if(n==null)if(u<3&&pi(a.d,l-o,v,u))f.precision=l+=10,t=i=s=new f(1),c=0,u++;else return Ee(a,f.precision=p,v,Be=!0);else return f.precision=p,a}a=s}}function ro(e,n){var t,o,r,i,a,s,l,u,c,d,f,v=1,p=10,h=e,g=h.d,$=h.constructor,S=$.rounding,O=$.precision;if(h.s<0||!g||!g[0]||!h.e&&g[0]==1&&g.length==1)return new $(g&&!g[0]?-1/0:h.s!=1?NaN:g?0:h);if(n==null?(Be=!1,c=O):c=n,$.precision=c+=p,t=kn(g),o=t.charAt(0),Math.abs(i=h.e)<15e14){for(;o<7&&o!=1||o==1&&t.charAt(1)>3;)h=h.times(e),t=kn(h.d),o=t.charAt(0),v++;i=h.e,o>1?(h=new $("0."+t),i++):h=new $(o+"."+t.slice(1))}else return u=Ta($,c+2,O).times(i+""),h=ro(new $(o+"."+t.slice(1)),c-p).plus(u),$.precision=O,n==null?Ee(h,O,S,Be=!0):h;for(d=h,l=a=h=xe(h.minus(1),h.plus(1),c,1),f=Ee(h.times(h),c,1),r=3;;){if(a=Ee(a.times(f),c,1),u=l.plus(xe(a,new $(r),c,1)),kn(u.d).slice(0,c)===kn(l.d).slice(0,c))if(l=l.times(2),i!==0&&(l=l.plus(Ta($,c+2,O).times(i+""))),l=xe(l,new $(v),c,1),n==null)if(pi(l.d,c-p,S,s))$.precision=c+=p,u=a=h=xe(d.minus(1),d.plus(1),c,1),f=Ee(h.times(h),c,1),r=s=1;else return Ee(l,$.precision=O,S,Be=!0);else return $.precision=O,l;l=u,r+=2}}function Jp(e){return String(e.s*e.s/0)}function Tl(e,n){var t,o,r;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(o=n.search(/e/i))>0?(t<0&&(t=o),t+=+n.slice(o+1),n=n.substring(0,o)):t<0&&(t=n.length),o=0;n.charCodeAt(o)===48;o++);for(r=n.length;n.charCodeAt(r-1)===48;--r);if(n=n.slice(o,r),n){if(r-=o,e.e=t=t-o-1,e.d=[],o=(t+1)%Me,t<0&&(o+=Me),oe.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),Kp.test(n))return Tl(e,n)}else if(n==="Infinity"||n==="NaN")return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(ZP.test(n))t=16,n=n.toLowerCase();else if(GP.test(n))t=2;else if(JP.test(n))t=8;else throw Error(bo+n);for(i=n.search(/p/i),i>0?(l=+n.slice(i+1),n=n.substring(2,i)):n=n.slice(2),i=n.indexOf("."),a=i>=0,o=e.constructor,a&&(n=n.replace(".",""),s=n.length,i=s-i,r=Gp(o,new o(t),i,i*2)),u=aa(n,t,mt),c=u.length-1,i=c;u[i]===0;--i)u.pop();return i<0?new o(e.s*0):(e.e=es(u,c),e.d=u,Be=!1,a&&(e=xe(e,r,s*4)),l&&(e=e.times(Math.abs(l)<54?mn(2,l):io.pow(2,l))),Be=!0,e)}function nO(e,n){var t,o=n.d.length;if(o<3)return n.isZero()?n:gr(e,2,n,n);t=1.4*Math.sqrt(o),t=t>16?16:t|0,n=n.times(1/ns(5,t)),n=gr(e,2,n,n);for(var r,i=new e(5),a=new e(16),s=new e(20);t--;)r=n.times(n),n=n.times(i.plus(r.times(a.times(r).minus(s))));return n}function gr(e,n,t,o,r){var i,a,s,l,u=e.precision,c=Math.ceil(u/Me);for(Be=!1,l=t.times(t),s=new e(o);;){if(a=xe(s.times(l),new e(n++*n++),u,1),s=r?o.plus(a):o.minus(a),o=xe(a.times(l),new e(n++*n++),u,1),a=s.plus(o),a.d[c]!==void 0){for(i=c;a.d[i]===s.d[i]&&i--;);if(i==-1)break}i=s,s=o,o=a,a=i}return Be=!0,a.d.length=c+1,a}function ns(e,n){for(var t=e;--n;)t*=e;return t}function Qp(e,n){var t,o=n.s<0,r=ft(e,e.precision,1),i=r.times(.5);if(n=n.abs(),n.lte(i))return At=o?4:1,n;if(t=n.divToInt(r),t.isZero())At=o?3:2;else{if(n=n.minus(t.times(r)),n.lte(i))return At=sf(t)?o?2:3:o?4:1,n;At=sf(t)?o?1:4:o?3:2}return n.minus(r).abs()}function rc(e,n,t,o){var r,i,a,s,l,u,c,d,f,v=e.constructor,p=t!==void 0;if(p?(Hn(t,1,ko),o===void 0?o=v.rounding:Hn(o,0,8)):(t=v.precision,o=v.rounding),!e.isFinite())c=Jp(e);else{for(c=Ot(e),a=c.indexOf("."),p?(r=2,n==16?t=t*4-3:n==8&&(t=t*3-2)):r=n,a>=0&&(c=c.replace(".",""),f=new v(1),f.e=c.length-a,f.d=aa(Ot(f),10,r),f.e=f.d.length),d=aa(c,10,r),i=l=d.length;d[--l]==0;)d.pop();if(!d[0])c=p?"0p+0":"0";else{if(a<0?i--:(e=new v(e),e.d=d,e.e=i,e=xe(e,f,t,o,0,r),d=e.d,i=e.e,u=jp),a=d[t],s=r/2,u=u||d[t+1]!==void 0,u=o<4?(a!==void 0||u)&&(o===0||o===(e.s<0?3:2)):a>s||a===s&&(o===4||u||o===6&&d[t-1]&1||o===(e.s<0?8:7)),d.length=t,u)for(;++d[--t]>r-1;)d[t]=0,t||(++i,d.unshift(1));for(l=d.length;!d[l-1];--l);for(a=0,c="";a1)if(n==16||n==8){for(a=n==16?4:3,--l;l%a;l++)c+="0";for(d=aa(c,r,n),l=d.length;!d[l-1];--l);for(a=1,c="1.";al)for(i-=l;i--;)c+="0";else in)return e.length=n,!0}function tO(e){return new this(e).abs()}function oO(e){return new this(e).acos()}function rO(e){return new this(e).acosh()}function iO(e,n){return new this(e).plus(n)}function aO(e){return new this(e).asin()}function sO(e){return new this(e).asinh()}function lO(e){return new this(e).atan()}function uO(e){return new this(e).atanh()}function cO(e,n){e=new this(e),n=new this(n);var t,o=this.precision,r=this.rounding,i=o+4;return!e.s||!n.s?t=new this(NaN):!e.d&&!n.d?(t=ft(this,i,1).times(n.s>0?.25:.75),t.s=e.s):!n.d||e.isZero()?(t=n.s<0?ft(this,o,r):new this(0),t.s=e.s):!e.d||n.isZero()?(t=ft(this,i,1).times(.5),t.s=e.s):n.s<0?(this.precision=i,this.rounding=1,t=this.atan(xe(e,n,i,1)),n=ft(this,i,1),this.precision=o,this.rounding=r,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(xe(e,n,i,1)),t}function dO(e){return new this(e).cbrt()}function fO(e){return Ee(e=new this(e),e.e+1,2)}function vO(e,n,t){return new this(e).clamp(n,t)}function hO(e){if(!e||typeof e!="object")throw Error(xa+"Object expected");var n,t,o,r=e.defaults===!0,i=["precision",1,ko,"rounding",0,8,"toExpNeg",-tr,0,"toExpPos",0,tr,"maxE",0,tr,"minE",-tr,0,"modulo",0,9];for(n=0;n=i[n+1]&&o<=i[n+2])this[t]=o;else throw Error(bo+t+": "+o);if(t="crypto",r&&(this[t]=kl[t]),(o=e[t])!==void 0)if(o===!0||o===!1||o===0||o===1)if(o)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(Wp);else this[t]=!1;else throw Error(bo+t+": "+o);return this}function mO(e){return new this(e).cos()}function pO(e){return new this(e).cosh()}function _p(e){var n,t,o;function r(i){var a,s,l,u=this;if(!(u instanceof r))return new r(i);if(u.constructor=r,uf(i)){u.s=i.s,Be?!i.d||i.e>r.maxE?(u.e=NaN,u.d=null):i.e=10;s/=10)a++;Be?a>r.maxE?(u.e=NaN,u.d=null):a=429e7?n[i]=crypto.getRandomValues(new Uint32Array(1))[0]:s[i++]=r%1e7;else if(crypto.randomBytes){for(n=crypto.randomBytes(o*=4);i=214e7?crypto.randomBytes(4).copy(n,i):(s.push(r%1e7),i+=4);i=o/4}else throw Error(Wp);else for(;i=10;r/=10)o++;o["onInputChange","onLazyChange","onIncrement","onDecrement"]},rules:Array,onBeforeChange:W(),onChange:W(),onIncrement:W(),onDecrement:W(),"onUpdate:modelValue":W()},cf=100,df=600,{name:jO,n:YO,classes:WO}=pe("counter"),qO=["inputmode","readonly","disabled"];function KO(e,n){const t=we("var-icon"),o=we("var-button"),r=we("var-form-details");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[R("div",Ze({class:e.classes(e.n("controller"),e.formatElevation(e.elevation,2),[e.disabled||e.formDisabled,e.n("--disabled")],[e.errorMessage,e.n("--error")]),style:{background:e.color?e.color:void 0}},e.$attrs),[ie(o,{class:m(e.classes(e.n("decrement-button"),[!e.decrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:te({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.decrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableDecrement&&!e.isMin,onClick:e.decrement,onTouchstart:e.pressDecrement,onTouchend:e.releaseDecrement,onTouchcancel:e.releaseDecrement},{default:Te(()=>[ie(t,{name:"minus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"]),He(R("input",{class:m(e.classes(e.n("input"),[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:te({width:e.toSizeUnit(e.inputWidth),fontSize:e.toSizeUnit(e.inputTextSize)}),inputmode:e.toNumber(e.decimalLength)===0?"numeric":"decimal",readonly:e.readonly||e.formReadonly,disabled:e.disabled||e.formDisabled||e.disableInput,"onUpdate:modelValue":n[0]||(n[0]=i=>e.inputValue=i),onChange:n[1]||(n[1]=(...i)=>e.handleChange&&e.handleChange(...i))},null,46,qO),[[Q$,e.inputValue]]),ie(o,{class:m(e.classes(e.n("increment-button"),[!e.incrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:te({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.incrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableIncrement&&!e.isMax,onClick:e.increment,onTouchstart:e.pressIncrement,onTouchend:e.releaseIncrement,onTouchcancel:e.releaseIncrement},{default:Te(()=>[ie(t,{name:"plus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"])],16),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const xp=me({name:jO,components:{VarButton:Un,VarIcon:tn,VarFormDetails:Fn},directives:{Ripple:vn},inheritAttrs:!1,props:HO,setup(e){const n=I(""),{bindForm:t,form:o}=rt(),{errorMessage:r,validateWithTrigger:i,validate:a,resetValidation:s}=ot(),{readonly:l,disabled:u}=o??{},c=L(()=>{const{max:_,modelValue:x}=e;return _!=null&&K(x)>=K(_)}),d=L(()=>{const{min:_,modelValue:x}=e;return _!=null&&K(x)<=K(_)});let f,v,p,h;N(t,{reset:O,validate:$,resetValidation:s}),Ce(()=>e.modelValue,_=>{re(y(String(_))),N(e.onChange,K(_))}),re(y(String(e.modelValue)));function $(){return a(e.rules,e.modelValue)}function S(_){en(()=>{const{validateTrigger:x,rules:q,modelValue:ge}=e;i(x,_,q,ge)})}function O(){const{min:_}=e;N(e["onUpdate:modelValue"],_!=null?K(_):0),s()}function y(_){const{decimalLength:x,max:q,min:ge}=e;let se=K(_);return q!=null&&se>K(q)&&(se=K(q)),ge!=null&&se{ae()},df))}function T(){const{press:_,lazyChange:x}=e;!_||x||(p=window.setTimeout(()=>{z()},df))}function B(){v&&clearTimeout(v),h&&clearTimeout(h)}function U(){f&&clearTimeout(f),p&&clearTimeout(p)}function z(){f=window.setTimeout(()=>{k(),z()},cf)}function ae(){v=window.setTimeout(()=>{A(),ae()},cf)}function re(_){n.value=_;const x=K(_);N(e["onUpdate:modelValue"],x)}function oe(_){re(y(String(_))),S("onLazyChange")}return{inputValue:n,errorMessage:r,formDisabled:u,formReadonly:l,isMax:c,isMin:d,n:YO,classes:WO,formatElevation:In,validate:$,reset:O,resetValidation:s,handleChange:P,decrement:A,increment:k,pressDecrement:D,pressIncrement:T,releaseDecrement:B,releaseIncrement:U,toSizeUnit:ze,toNumber:K}}});xp.render=KO;var eg=xp;be(eg);var El=eg,ng=60,tg=ng*60,og=tg*24,XO=og*7,br=1e3,ks=ng*br,ff=tg*br,GO=og*br,ZO=XO*br,ic="millisecond",or="second",rr="minute",ir="hour",Qt="day",sa="week",ut="month",rg="quarter",_t="year",ar="date",JO="YYYY-MM-DDTHH:mm:ssZ",vf="Invalid Date",QO=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const xO={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")};var Nl=function(n,t,o){var r=String(n);return!r||r.length>=t?n:""+Array(t+1-r.length).join(o)+n},eT=function(n){var t=-n.utcOffset(),o=Math.abs(t),r=Math.floor(o/60),i=o%60;return(t<=0?"+":"-")+Nl(r,2,"0")+":"+Nl(i,2,"0")},nT=function e(n,t){if(n.date()1)return e(a[0])}else{var s=n.name;zo[s]=n,r=s}return!o&&r&&(Jr=r),r||!o&&Jr},$n=function(n,t){if(ac(n))return n.clone();var o=typeof t=="object"?t:{};return o.date=n,o.args=arguments,new ts(o)},aT=function(n,t){return $n(n,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},_e=iT;_e.l=Ea;_e.i=ac;_e.w=aT;var sT=function(n){var t=n.date,o=n.utc;if(t===null)return new Date(NaN);if(_e.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var r=t.match(QO);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return o?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)},ts=function(){function e(t){this.$L=Ea(t.locale,null,!0),this.parse(t)}var n=e.prototype;return n.parse=function(o){this.$d=sT(o),this.$x=o.x||{},this.init()},n.init=function(){var o=this.$d;this.$y=o.getFullYear(),this.$M=o.getMonth(),this.$D=o.getDate(),this.$W=o.getDay(),this.$H=o.getHours(),this.$m=o.getMinutes(),this.$s=o.getSeconds(),this.$ms=o.getMilliseconds()},n.$utils=function(){return _e},n.isValid=function(){return this.$d.toString()!==vf},n.isSame=function(o,r){var i=$n(o);return this.startOf(r)<=i&&i<=this.endOf(r)},n.isAfter=function(o,r){return $n(o)e.checkDate("prev"))},{default:Te(()=>[ie(t,{name:"chevron-left"})]),_:1},8,["disabled"]),R("div",{class:m(e.n("value")),onClick:n[1]||(n[1]=r=>e.$emit("check-panel"))},[ie(nn,{name:`var-date-picker${e.reverse?"-reverse":""}-translatex`},{default:Te(()=>[(C(),M("div",{key:e.showDate},$e(e.showDate),1))]),_:1},8,["name"])],2),ie(o,{round:"",text:"",style:{filter:"opacity(0.54)"},disabled:e.disabled.right,onClick:n[2]||(n[2]=r=>e.checkDate("next"))},{default:Te(()=>[ie(t,{name:"chevron-right"})]),_:1},8,["disabled"])],2)}const lg=me({name:"PanelHeader",components:{VarButton:Un,VarIcon:tn},props:{date:{type:Object,required:!0},type:{type:String,default:"date"},disabled:{type:Object,required:!0}},emits:["check-panel","check-date"],setup(e,{emit:n}){const t=I(!1),o=I(0),r=L(()=>{var a;const{date:s,type:l}=e,{previewMonth:u,previewYear:c}=s;if(l==="month")return K(c)+o.value;const d=(a=bn.value.datePickerMonthDict)==null?void 0:a[u.index].name;return bn.value.lang==="zh-CN"?`${c} ${d}`:`${d} ${c}`}),i=a=>{a==="prev"&&e.disabled.left||a==="next"&&e.disabled.right||(n("check-date",a),t.value=a==="prev",o.value+=a==="prev"?-1:1)};return Ce(()=>e.date,()=>{o.value=0}),{n:uT,reverse:t,showDate:r,checkDate:i}}});lg.render=cT;var ug=lg,dT=Object.defineProperty,hf=Object.getOwnPropertySymbols,fT=Object.prototype.hasOwnProperty,vT=Object.prototype.propertyIsEnumerable,mf=(e,n,t)=>n in e?dT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,hT=(e,n)=>{for(var t in n||(n={}))fT.call(n,t)&&mf(e,t,n[t]);if(hf)for(var t of hf(n))vT.call(n,t)&&mf(e,t,n[t]);return e};Ne.extend(ag);Ne.extend(sg);const{n:Ki,classes:mT}=pe("month-picker"),{n:Xi}=pe("date-picker");function pT(e,n){const t=we("panel-header"),o=we("var-button");return C(),M("div",{class:m(e.n())},[R("div",{class:m(e.n("content"))},[ie(t,{ref:"headerEl",type:"month",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickYear,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),ie(nn,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:Te(()=>[(C(),M("ul",{key:e.panelKey},[(C(!0),M(Re,null,un(e.MONTH_LIST,r=>(C(),M("li",{key:r.index},[ie(o,Ze({type:"primary","var-month-picker-cover":"",ripple:!1,elevation:e.componentProps.buttonElevation},hT({},e.buttonProps(r.index)),{onClick:i=>e.chooseMonth(r,i)}),{default:Te(()=>[je($e(e.getMonthAbbr(r.index)),1)]),_:2},1040,["elevation","onClick"])]))),128))]))]),_:1},8,["name"])],2)],2)}const cg=me({name:"MonthPickerPanel",components:{VarButton:Un,PanelHeader:ug},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickYear:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-month"],setup(e,{emit:n}){const[t,o]=e.current.split("-"),r=I(!1),i=I(0),a=I(null),s=Xe({left:!1,right:!1}),l=L(()=>e.choose.chooseYear===e.preview.previewYear),u=L(()=>e.preview.previewYear===t),c=$=>{var S,O;return(O=(S=bn.value.datePickerMonthDict)==null?void 0:S[$].abbr)!=null?O:""},d=$=>{const{preview:{previewYear:S},componentProps:{min:O,max:y}}=e;let P=!0,A=!0;const k=`${S}-${$}`;return y&&(P=Ne(k).isSameOrBefore(Ne(y),"month")),O&&(A=Ne(k).isSameOrAfter(Ne(O),"month")),P&&A},f=$=>{const{choose:{chooseMonths:S,chooseDays:O,chooseRangeMonth:y},componentProps:{type:P,range:A}}=e;if(A){if(!y.length)return!1;const k=Ne($).isSameOrBefore(Ne(y[1]),"month"),D=Ne($).isSameOrAfter(Ne(y[0]),"month");return k&&D}return P==="month"?S.includes($):O.some(k=>k.includes($))},v=$=>{const{choose:{chooseMonth:S},preview:{previewYear:O},componentProps:{allowedDates:y,color:P,multiple:A,range:k}}=e,D=`${O}-${$}`,T=()=>k||A?f(D):(S==null?void 0:S.index)===$&&l.value,U=(()=>d($)?y?!y(D):!1:!0)(),z=()=>U?!0:k||A?!f(D):!l.value||(S==null?void 0:S.index)!==$,ae=()=>u.value&&o===$&&e.componentProps.showCurrent?(k||A||l.value)&&U?!0:k||A?!f(D):l.value?(S==null?void 0:S.index)!==o:!0:!1,re=()=>U?"":ae()?P??"":T()?"":`${Xi()}-color-cover`,oe=re().startsWith(Xi());return{outline:ae(),text:z(),color:z()?"":P,textColor:oe?"":re(),[`${Xi()}-color-cover`]:oe,class:mT(Ki("button"),[U,Ki("button--disabled")]),disabled:U}},p=($,S)=>{S.currentTarget.classList.contains(Ki("button--disabled"))||n("choose-month",$)},h=$=>{r.value=$==="prev",i.value+=$==="prev"?-1:1,n("check-preview","year",$)},g=$=>{a.value.checkDate($)};return Ce(()=>e.preview.previewYear,$=>{const{componentProps:{min:S,max:O}}=e;O&&(s.right=!Ne(`${K($)+1}`).isSameOrBefore(Ne(O),"year")),S&&(s.left=!Ne(`${K($)-1}`).isSameOrAfter(Ne(S),"year"))},{immediate:!0}),{n:Ki,nDate:Xi,pack:bn,MONTH_LIST:la,headerEl:a,reverse:r,panelKey:i,panelBtnDisabled:s,forwardRef:g,buttonProps:v,getMonthAbbr:c,chooseMonth:p,checkDate:h}}});cg.render=pT;var gT=cg;const{n:pf,classes:bT}=pe("year-picker"),yT=["onClick"];function $T(e,n){return C(),M("ul",{class:m(e.n())},[(C(!0),M(Re,null,un(e.yearList,t=>(C(),M("li",{key:t,class:m(e.classes(e.n("item"),[t===e.toNumber(e.preview),e.n("item--active")])),style:te({color:t===e.toNumber(e.preview)?e.componentProps.color:""}),onClick:o=>e.chooseYear(t)},$e(t),15,yT))),128))],2)}const dg=me({name:"YearPickerPanel",props:{preview:{type:String},componentProps:{type:Object,required:!0}},emits:["choose-year"],setup(e,{emit:n}){const t=L(()=>{const r=[],{preview:i,componentProps:{max:a,min:s}}=e;if(!i)return r;let l=[K(i)+100,K(i)-100];if(a){const u=Ne(a).format("YYYY-MM-D"),c=K(u.split("-")[0]);if(cl[1]&&(l=[c,l[1]]),c<=l[1])return[c]}if(s){const u=Ne(s).format("YYYY-MM-D"),c=K(u.split("-")[0]);if(cl[1]&&(l=[l[0],c]),c>=l[0])return[c]}for(let u=l[0];u>=l[1];u--)r.push(u);return r}),o=r=>{n("choose-year",r)};return Pn(()=>{const r=document.querySelector(`.${pf("item--active")}`);r==null||r.scrollIntoView({block:"center"})}),{n:pf,classes:bT,yearList:t,chooseYear:o,toNumber:K}}});dg.render=$T;var wT=dg,CT=Object.defineProperty,gf=Object.getOwnPropertySymbols,ST=Object.prototype.hasOwnProperty,kT=Object.prototype.propertyIsEnumerable,bf=(e,n,t)=>n in e?CT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,PT=(e,n)=>{for(var t in n||(n={}))ST.call(n,t)&&bf(e,t,n[t]);if(gf)for(var t of gf(n))kT.call(n,t)&&bf(e,t,n[t]);return e};Ne.extend(ag);Ne.extend(sg);const{n:_o,classes:OT}=pe("day-picker"),{n:Gi}=pe("date-picker");function TT(e,n){const t=we("panel-header"),o=we("var-button");return C(),M("div",{class:m(e.n())},[R("div",{class:m(e.n("content"))},[ie(t,{ref:"headerEl",type:"day",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickMonth,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),ie(nn,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:Te(()=>[(C(),M("div",{key:e.panelKey},[R("ul",{class:m(e.n("head"))},[(C(!0),M(Re,null,un(e.sortWeekList,r=>(C(),M("li",{key:r.index},$e(e.getDayAbbr(r.index)),1))),128))],2),R("ul",{class:m(e.n("body"))},[(C(!0),M(Re,null,un(e.days,(r,i)=>(C(),M("li",{key:i},[ie(o,Ze({type:"primary","var-day-picker-cover":"",round:"",ripple:!1,elevation:e.componentProps.buttonElevation},PT({},e.buttonProps(r)),{onClick:a=>e.chooseDay(r,a)}),{default:Te(()=>[je($e(e.filterDay(r)),1)]),_:2},1040,["elevation","onClick"])]))),128))],2)]))]),_:1},8,["name"])],2)],2)}const fg=me({name:"DayPickerPanel",components:{VarButton:Un,PanelHeader:ug},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickMonth:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-day"],setup(e,{emit:n}){const[t,o,r]=e.current.split("-"),i=I([]),a=I(!1),s=I(0),l=I(null),u=Xe({left:!1,right:!1}),c=L(()=>e.preview.previewYear===t&&e.preview.previewMonth.index===o),d=L(()=>{var k;return e.choose.chooseYear===e.preview.previewYear&&((k=e.choose.chooseMonth)==null?void 0:k.index)===e.preview.previewMonth.index}),f=L(()=>{const k=Wr.findIndex(D=>D.index===e.componentProps.firstDayOfWeek);return k===-1||k===0?Wr:Wr.slice(k).concat(Wr.slice(0,k))}),v=k=>{var D,T;return(T=(D=bn.value.datePickerWeekDict)==null?void 0:D[k].abbr)!=null?T:""},p=k=>k>0?k:"",h=()=>{const{preview:{previewMonth:k,previewYear:D}}=e,T=Ne(`${D}-${k.index}`).daysInMonth(),B=Ne(`${D}-${k.index}-01`).day(),U=f.value.findIndex(z=>z.index===`${B}`);i.value=[...Array(U).fill(-1),...Array.from(Array(T+1).keys())].filter(z=>z)},g=()=>{const{preview:{previewYear:k,previewMonth:D},componentProps:{max:T,min:B}}=e;if(T){const U=`${k}-${K(D.index)+1}`;u.right=!Ne(U).isSameOrBefore(Ne(T),"month")}if(B){const U=`${k}-${K(D.index)-1}`;u.left=!Ne(U).isSameOrAfter(Ne(B),"month")}},$=k=>{const{preview:{previewYear:D,previewMonth:T},componentProps:{min:B,max:U}}=e;let z=!0,ae=!0;const re=`${D}-${T.index}-${k}`;return U&&(z=Ne(re).isSameOrBefore(Ne(U),"day")),B&&(ae=Ne(re).isSameOrAfter(Ne(B),"day")),z&&ae},S=k=>{const{choose:{chooseDays:D,chooseRangeDay:T},componentProps:{range:B}}=e;if(B){if(!T.length)return!1;const U=Ne(k).isSameOrBefore(Ne(T[1]),"day"),z=Ne(k).isSameOrAfter(Ne(T[0]),"day");return U&&z}return D.includes(k)},O=k=>{if(k<0)return{text:!0,outline:!1,textColor:"",class:_o("button"),disabled:!0};const{choose:{chooseDay:D},preview:{previewYear:T,previewMonth:B},componentProps:{allowedDates:U,color:z,multiple:ae,range:re}}=e,oe=`${T}-${B.index}-${k}`,_=()=>re||ae?S(oe):K(D)===k&&d.value,q=(()=>$(k)?U?!U(oe):!1:!0)(),ge=()=>q?!0:re||ae?!S(oe):!d.value||K(D)!==k,se=()=>c.value&&K(r)===k&&e.componentProps.showCurrent?(re||ae||d.value)&&q?!0:re||ae?!S(oe):d.value?D!==r:!0:!1,ve=()=>q?"":se()?z??"":_()?"":`${Gi()}-color-cover`,G=ve().startsWith(Gi());return{text:ge(),outline:se(),textColor:G?"":ve(),[`${Gi()}-color-cover`]:G,class:OT(_o("button"),_o("button--usable"),[q,_o("button--disabled")]),disabled:q}},y=k=>{a.value=k==="prev",s.value+=k==="prev"?-1:1,n("check-preview","month",k)},P=(k,D)=>{D.currentTarget.classList.contains(_o("button--disabled"))||n("choose-day",k)},A=k=>{l.value.checkDate(k)};return Pn(()=>{h(),g()}),Ce(()=>e.preview,()=>{h(),g()}),{n:_o,nDate:Gi,days:i,reverse:a,headerEl:l,panelKey:s,sortWeekList:f,panelBtnDisabled:u,forwardRef:A,filterDay:p,getDayAbbr:v,checkDate:y,chooseDay:P,buttonProps:O}}});fg.render=TT;var ET=fg,NT=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:IT,n:MT,classes:DT}=pe("date-picker");function AT(e,n){const t=we("year-picker-panel"),o=we("month-picker-panel"),r=we("day-picker-panel");return C(),M("div",{class:m(e.classes(e.n(),e.formatElevation(e.elevation,2)))},[R("div",{class:m(e.n("title")),style:te({background:e.headerColor||e.color})},[R("div",{class:m(e.classes(e.n("title-year"),[e.isYearPanel,e.n("title-year--active")])),onClick:n[0]||(n[0]=i=>e.clickEl("year"))},[X(e.$slots,"year",{year:e.chooseYear},()=>[je($e(e.chooseYear),1)])],2),R("div",{class:m(e.classes(e.n("title-date"),[!e.isYearPanel,e.n("title-date--active")],[e.range,e.n("title-date--range")])),onClick:n[1]||(n[1]=i=>e.clickEl("date"))},[ie(nn,{name:e.multiple?"":`${e.n()}${e.reverse?"-reverse":""}-translatey`},{default:Te(()=>{var i,a,s;return[e.type==="month"?(C(),M("div",{key:`${e.chooseYear}${(i=e.chooseMonth)==null?void 0:i.index}`},[e.range?X(e.$slots,"range",{key:0,choose:e.getChoose.chooseRangeMonth},()=>[je($e(e.getMonthTitle),1)]):e.multiple?X(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseMonths},()=>[je($e(e.getMonthTitle),1)]):X(e.$slots,"month",{key:2,month:(a=e.chooseMonth)==null?void 0:a.index,year:e.chooseYear},()=>[je($e(e.getMonthTitle),1)])])):(C(),M("div",{key:`${e.chooseYear}${(s=e.chooseMonth)==null?void 0:s.index}${e.chooseDay}`},[e.range?X(e.$slots,"range",{key:0,choose:e.formatRange},()=>[je($e(e.getDateTitle),1)]):e.multiple?X(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseDays},()=>[je($e(e.getDateTitle),1)]):X(e.$slots,"date",ao(Ze({key:2},e.slotProps)),()=>[je($e(e.getDateTitle),1)])]))]}),_:3},8,["name"])],2)],6),R("div",{class:m(e.n("body")),onTouchstart:n[2]||(n[2]=(...i)=>e.handleTouchstart&&e.handleTouchstart(...i)),onTouchmove:n[3]||(n[3]=(...i)=>e.handleTouchmove&&e.handleTouchmove(...i)),onTouchend:n[4]||(n[4]=(...i)=>e.handleTouchend&&e.handleTouchend(...i))},[ie(nn,{name:`${e.n()}-panel-fade`},{default:Te(()=>[e.getPanelType==="year"?(C(),Ae(t,{key:0,"component-props":e.componentProps,preview:e.previewYear,onChooseYear:e.getChooseYear},null,8,["component-props","preview","onChooseYear"])):e.getPanelType==="month"?(C(),Ae(o,{key:1,ref:"monthPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"click-year":()=>e.clickEl("year"),"component-props":e.componentProps,onChooseMonth:e.getChooseMonth,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","click-year","component-props","onChooseMonth","onCheckPreview"])):e.getPanelType==="date"?(C(),Ae(r,{key:2,ref:"dayPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"component-props":e.componentProps,"click-month":()=>e.clickEl("month"),onChooseDay:e.getChooseDay,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","component-props","click-month","onChooseDay","onCheckPreview"])):he("v-if",!0)]),_:1},8,["name"])],34)],2)}const vg=me({name:IT,components:{MonthPickerPanel:gT,YearPickerPanel:wT,DayPickerPanel:ET},props:lT,setup(e){const n=Ne().format("YYYY-MM-D"),[t,o]=n.split("-"),r=la.find(F=>F.index===o),i=I(!1),a=I(!1),s=I(!0),l=I(),u=I(),c=I(),d=I(r),f=I(t),v=I(!1),p=I([]),h=I([]),g=I([]),$=I([]),S=I(null),O=I(null),y=Xe({allowedDates:e.allowedDates,type:e.type,color:e.color,firstDayOfWeek:e.firstDayOfWeek,min:e.min,max:e.max,showCurrent:e.showCurrent,multiple:e.multiple,range:e.range,buttonElevation:e.buttonElevation}),P=L(()=>({chooseMonth:l.value,chooseYear:u.value,chooseDay:c.value,chooseMonths:p.value,chooseDays:h.value,chooseRangeMonth:g.value,chooseRangeDay:$.value})),A=L(()=>({previewMonth:d.value,previewYear:f.value})),k=L(()=>{var F,le;const{multiple:Z,range:ue}=e;if(ue)return g.value.length?`${g.value[0]} ~ ${g.value[1]}`:"";let ne="";return l.value&&(ne=(le=(F=bn.value.datePickerMonthDict)==null?void 0:F[l.value.index].name)!=null?le:""),Z?`${p.value.length}${bn.value.datePickerSelected}`:ne}),D=L(()=>{var F,le,Z,ue;const{multiple:ne,range:Se}=e;if(Se){const Ye=$.value.map(ln=>Ne(ln).format("YYYY-MM-DD"));return Ye.length?`${Ye[0]} ~ ${Ye[1]}`:""}if(ne)return`${h.value.length}${bn.value.datePickerSelected}`;if(!u.value||!l.value||!c.value)return"";const ke=Ne(`${u.value}-${l.value.index}-${c.value}`).day(),Oe=Wr.find(Ye=>Ye.index===`${ke}`),Ie=(le=(F=bn.value.datePickerWeekDict)==null?void 0:F[Oe.index].name)!=null?le:"",Ue=(ue=(Z=bn.value.datePickerMonthDict)==null?void 0:Z[l.value.index].name)!=null?ue:"",Je=Ro(c.value,2,"0");return bn.value.lang==="zh-CN"?`${l.value.index}-${Je} ${Ie.slice(0,3)}`:`${Ie.slice(0,3)}, ${Ue.slice(0,3)} ${c.value}`}),T=L(()=>i.value?"year":e.type==="month"||a.value?"month":e.type==="date"?"date":""),B=L(()=>!e.touchable||["","year"].includes(T.value)),U=L(()=>{var F,le,Z,ue;const ne=Ne(`${u.value}-${(F=l.value)==null?void 0:F.index}-${c.value}`).day(),Se=c.value?Ro(c.value,2,"0"):"";return{week:`${ne}`,year:(le=u.value)!=null?le:"",month:(ue=(Z=l.value)==null?void 0:Z.index)!=null?ue:"",date:Se}}),z=L(()=>P.value.chooseRangeDay.map(F=>Ne(F).format("YYYY-MM-DD"))),ae=L(()=>u.value===f.value),re=L(()=>{var F;return((F=l.value)==null?void 0:F.index)===d.value.index});let oe=0,_=0,x="",q;Ce(()=>e.modelValue,F=>{if(!(!Pe()||w(F)||!F))if(e.range){if(!Qe(F))return;s.value=F.length!==1,b(F,e.type)}else if(e.multiple){if(!Qe(F))return;E(F,e.type)}else Y(F)},{immediate:!0}),Ce(T,Q);function ge(F){F==="year"?i.value=!0:F==="month"?a.value=!0:(i.value=!1,a.value=!1)}function se(F){if(B.value)return;const{clientX:le,clientY:Z}=F.touches[0];oe=le,_=Z}function ve(F,le){return F>=le&&F>20?"x":"y"}function G(F){if(B.value)return;const{clientX:le,clientY:Z}=F.touches[0],ue=le-oe,ne=Z-_;q=ve(Math.abs(ue),Math.abs(ne)),x=ue>0?"prev":"next"}function de(){return NT(this,null,function*(){if(B.value||q!=="x")return;const F=T.value==="month"?S:O;yield Bn(),F.value.forwardRef(x),Q()})}function ye(F,le){const Z=le==="month"?g:$;if(Z.value=s.value?[F,F]:[Z.value[0],F],s.value=!s.value,s.value){const ne=Ne(Z.value[0]).isAfter(Z.value[1])?[Z.value[1],Z.value[0]]:[...Z.value];N(e["onUpdate:modelValue"],ne),N(e.onChange,ne)}}function j(F,le){const Z=le==="month"?p:h,ue=le==="month"?"YYYY-MM":"YYYY-MM-DD",ne=Z.value.map(ke=>Ne(ke).format(ue)),Se=ne.findIndex(ke=>ke===F);Se===-1?ne.push(F):ne.splice(Se,1),N(e["onUpdate:modelValue"],ne),N(e.onChange,ne)}function ee(F,le){return!u.value||!l.value?!1:ae.value?F==="month"?le.indexd.value.index:u.value>f.value}function V(F){const{readonly:le,range:Z,multiple:ue,onChange:ne,"onUpdate:modelValue":Se}=e;if(F<0||le)return;v.value=ee("day",F);const ke=`${f.value}-${d.value.index}-${F}`,Oe=Ne(ke).format("YYYY-MM-DD");Z?ye(Oe,"day"):ue?j(Oe,"day"):(N(Se,Oe),N(ne,Oe))}function fe(F){const{type:le,readonly:Z,range:ue,multiple:ne,onChange:Se,onPreview:ke,"onUpdate:modelValue":Oe}=e;if(v.value=ee("month",F),le==="month"&&!Z){const Ie=`${f.value}-${F.index}`;ue?ye(Ie,"month"):ne?j(Ie,"month"):(N(Oe,Ie),N(Se,Ie))}else d.value=F,N(ke,K(f.value),K(d.value.index));a.value=!1}function H(F){f.value=`${F}`,i.value=!1,a.value=!0,N(e.onPreview,K(f.value),K(d.value.index))}function J(F,le){const Z=le==="prev"?-1:1;if(F==="year")f.value=`${K(f.value)+Z}`;else{let ue=K(d.value.index)+Z;ue<1&&(f.value=`${K(f.value)-1}`,ue=12),ue>12&&(f.value=`${K(f.value)+1}`,ue=1),d.value=la.find(ne=>K(ne.index)===ue)}N(e.onPreview,K(f.value),K(d.value.index))}function Pe(){return(e.multiple||e.range)&&!Qe(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be an Array'),!1):!e.multiple&&!e.range&&Qe(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be a String'),!1):!0}function w(F){return Qe(F)?!1:F==="Invalid Date"?(console.error('[Varlet] DatePicker: "modelValue" is an Invalid Date'),!0):!1}function b(F,le){const Z=le==="month"?g:$,ue=le==="month"?"YYYY-MM":"YYYY-MM-D",ne=F.map(Oe=>Ne(Oe).format(ue)).slice(0,2);if(Z.value.some(Oe=>w(Oe)))return;Z.value=ne;const ke=Ne(Z.value[0]).isAfter(Z.value[1]);Z.value.length===2&&ke&&(Z.value=[Z.value[1],Z.value[0]])}function E(F,le){const Z=le==="month"?p:h,ue=le==="month"?"YYYY-MM":"YYYY-MM-D",ne=Array.from(new Set(F.map(Se=>Ne(Se).format(ue))));Z.value=ne.filter(Se=>Se!=="Invalid Date")}function Y(F){const le=Ne(F).format("YYYY-MM-D");if(w(le))return;const[Z,ue,ne]=le.split("-"),Se=la.find(ke=>ke.index===ue);l.value=Se,u.value=Z,c.value=ne,d.value=Se,f.value=Z}function Q(){_=0,oe=0,x="",q=void 0}return{monthPanelEl:S,dayPanelEl:O,reverse:v,currentDate:n,chooseMonth:l,chooseYear:u,chooseDay:c,previewYear:f,isYearPanel:i,isMonthPanel:a,getMonthTitle:k,getDateTitle:D,getPanelType:T,getChoose:P,getPreview:A,componentProps:y,slotProps:U,formatRange:z,n:MT,classes:DT,clickEl:ge,handleTouchstart:se,handleTouchmove:G,handleTouchend:de,getChooseDay:V,getChooseMonth:fe,getChooseYear:H,checkPreview:J,formatElevation:In}}});vg.render=AT;var hg=vg;be(hg);var Il=hg,BT=Object.defineProperty,yf=Object.getOwnPropertySymbols,zT=Object.prototype.hasOwnProperty,VT=Object.prototype.propertyIsEnumerable,$f=(e,n,t)=>n in e?BT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,RT=(e,n)=>{for(var t in n||(n={}))zT.call(n,t)&&$f(e,t,n[t]);if(yf)for(var t of yf(n))VT.call(n,t)&&$f(e,t,n[t]);return e};const LT=RT({show:Boolean,width:[Number,String],title:String,message:String,messageAlign:{type:String,default:"left"},confirmButton:{type:Boolean,default:!0},cancelButton:{type:Boolean,default:!0},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,confirmButtonColor:String,cancelButtonColor:String,dialogClass:String,dialogStyle:Object,onBeforeClose:W(),onConfirm:W(),onCancel:W(),"onUpdate:show":W()},Fe(Mi,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"]));var UT=Object.defineProperty,wf=Object.getOwnPropertySymbols,FT=Object.prototype.hasOwnProperty,HT=Object.prototype.propertyIsEnumerable,Cf=(e,n,t)=>n in e?UT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,jT=(e,n)=>{for(var t in n||(n={}))FT.call(n,t)&&Cf(e,t,n[t]);if(wf)for(var t of wf(n))HT.call(n,t)&&Cf(e,t,n[t]);return e};const{name:YT,n:WT,classes:qT}=pe("dialog");function KT(e,n){const t=we("var-button"),o=we("var-popup");return C(),Ae(o,{class:m(e.n("popup")),"var-dialog-cover":"",show:e.popupShow,overlay:e.overlay,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.popupCloseOnClickOverlay,teleport:e.teleport,onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange,onClickOverlay:e.handleClickOverlay},{default:Te(()=>[R("div",Ze({class:e.classes(e.n("$--box"),e.n(),e.dialogClass),style:jT({width:e.toSizeUnit(e.width)},e.dialogStyle)},e.$attrs),[R("div",{class:m(e.n("title"))},[X(e.$slots,"title",{},()=>{var r;return[je($e((r=e.title)!=null?r:e.pack.dialogTitle),1)]})],2),R("div",{class:m(e.n("message")),style:te({textAlign:e.messageAlign})},[X(e.$slots,"default",{},()=>[je($e(e.message),1)])],6),R("div",{class:m(e.n("actions"))},[e.cancelButton?(C(),Ae(t,{key:0,class:m(e.classes(e.n("button"),e.n("cancel-button"))),"var-dialog-cover":"",text:"","text-color":e.cancelButtonTextColor,color:e.cancelButtonColor,onClick:e.cancel},{default:Te(()=>{var r;return[je($e((r=e.cancelButtonText)!=null?r:e.pack.dialogCancelButtonText),1)]}),_:1},8,["class","text-color","color","onClick"])):he("v-if",!0),e.confirmButton?(C(),Ae(t,{key:1,class:m(e.classes(e.n("button"),e.n("confirm-button"))),"var-dialog-cover":"",text:"","text-color":e.confirmButtonTextColor,color:e.confirmButtonColor,onClick:e.confirm},{default:Te(()=>{var r;return[je($e((r=e.confirmButtonText)!=null?r:e.pack.dialogConfirmButtonText),1)]}),_:1},8,["class","text-color","color","onClick"])):he("v-if",!0)],2)],16)]),_:3},8,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange","onClickOverlay"])}const mg=me({name:YT,components:{VarPopup:po,VarButton:Un},inheritAttrs:!1,props:LT,setup(e){const n=I(!1),t=I(!1);Ce(()=>e.show,s=>{n.value=s},{immediate:!0}),Ce(()=>e.closeOnClickOverlay,s=>{if(e.onBeforeClose!=null){t.value=!1;return}t.value=s},{immediate:!0});function o(){return N(e["onUpdate:show"],!1)}function r(){const{closeOnClickOverlay:s,onClickOverlay:l,onBeforeClose:u}=e;if(N(l),!!s){if(u!=null){N(u,"close",o);return}N(e["onUpdate:show"],!1)}}function i(){const{onBeforeClose:s,onConfirm:l}=e;if(N(l),s!=null){N(s,"confirm",o);return}N(e["onUpdate:show"],!1)}function a(){const{onBeforeClose:s,onCancel:l}=e;if(N(l),s!=null){N(s,"cancel",o);return}N(e["onUpdate:show"],!1)}return{pack:bn,popupShow:n,popupCloseOnClickOverlay:t,n:WT,classes:qT,handleClickOverlay:r,confirm:i,cancel:a,toSizeUnit:ze}}});mg.render=KT;var os=mg,XT=Object.defineProperty,GT=Object.defineProperties,ZT=Object.getOwnPropertyDescriptors,Sf=Object.getOwnPropertySymbols,JT=Object.prototype.hasOwnProperty,QT=Object.prototype.propertyIsEnumerable,kf=(e,n,t)=>n in e?XT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ps=(e,n)=>{for(var t in n||(n={}))JT.call(n,t)&&kf(e,t,n[t]);if(Sf)for(var t of Sf(n))QT.call(n,t)&&kf(e,t,n[t]);return e},_T=(e,n)=>GT(e,ZT(n));let no,Na={};function xT(e={}){return gn(e)?_T(Ps({},Na),{message:e}):Ps(Ps({},Na),e)}function Xo(e){return jt()?new Promise(n=>{Xo.close();const t=xT(e),o=Xe(t);o.teleport="body",no=o;const{unmountInstance:r}=Ar(os,o,{onConfirm:()=>{N(o.onConfirm),n("confirm")},onCancel:()=>{N(o.onCancel),n("cancel")},onClose:()=>{N(o.onClose),n("close")},onClosed:()=>{N(o.onClosed),r(),no===o&&(no=null)},onRouteChange:()=>{r(),no===o&&(no=null)},"onUpdate:show":i=>{o.show=i}});o.show=!0}):Promise.resolve()}Xo.setDefaultOptions=function(e){Na=e};Xo.resetDefaultOptions=function(){Na={}};Xo.close=function(){if(no!=null){const e=no;no=null,en().then(()=>{e.show=!1})}};Xo.Component=os;be(os);be(os,Xo);var Ml=Xo;const eE={inset:{type:[Boolean,Number,String],default:!1},vertical:Boolean,description:String,margin:String,dashed:Boolean,hairline:Boolean},{name:nE,n:tE,classes:oE}=pe("divider");function rE(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.vertical,e.n("--vertical")],[e.withText,e.n("--with-text")],[e.withPresetInset,e.n("--inset")],[e.dashed,e.n("--dashed")],[e.hairline,e.n("--hairline")])),style:te(e.style)},[e.vertical?he("v-if",!0):X(e.$slots,"default",{key:0},()=>[e.description?(C(),M("span",{key:0,class:m(e.n("text"))},$e(e.description),3)):he("v-if",!0)])],6)}const pg=me({name:nE,props:eE,setup(e,{slots:n}){const t=I(!1),o=L(()=>{const{vertical:a,inset:s}=e;return!a&&s===!0}),r=L(()=>{const{inset:a,vertical:s,margin:l}=e;if(Gu(a)||s)return{margin:l};const u=K(a),c=Math.abs(u)+(a+"").replace(u+"","");return{margin:l,width:`calc(100% - ${ze(c)})`,left:u>0?ze(c):ze(0)}});Pn(i),Yo(i);function i(){const{description:a,vertical:s}=e;t.value=(n.default||a!=null)&&!s}return{n:tE,classes:oE,withText:t,style:r,withPresetInset:o}}});pg.render=rE;var gg=pg;be(gg);var Dl=gg;const iE={direction:{type:String,default:"xy"},attraction:String,disabled:Boolean,boundary:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},zIndex:{type:[Number,String],default:90},teleport:{type:[String,Object,Boolean],default:"body"},onClick:W()};var aE=Object.defineProperty,sE=Object.defineProperties,lE=Object.getOwnPropertyDescriptors,Pf=Object.getOwnPropertySymbols,uE=Object.prototype.hasOwnProperty,cE=Object.prototype.propertyIsEnumerable,Of=(e,n,t)=>n in e?aE(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Tf=(e,n)=>{for(var t in n||(n={}))uE.call(n,t)&&Of(e,t,n[t]);if(Pf)for(var t of Pf(n))cE.call(n,t)&&Of(e,t,n[t]);return e},Ef=(e,n)=>sE(e,lE(n)),dE=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:fE,n:vE,classes:hE}=pe("drag");function mE(e,n){return C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[R("div",Ze({ref:"drag",class:e.classes(e.n(),e.n("$--box"),[e.enableTransition,e.n("--transition")]),style:{"z-index":e.zIndex},onTouchstart:n[0]||(n[0]=(...t)=>e.handleTouchstart&&e.handleTouchstart(...t)),onTouchmove:n[1]||(n[1]=(...t)=>e.handleTouchmove&&e.handleTouchmove(...t)),onTouchend:n[2]||(n[2]=(...t)=>e.handleTouchend&&e.handleTouchend(...t)),onTouchcancel:n[3]||(n[3]=(...t)=>e.handleTouchend&&e.handleTouchend(...t)),onClick:n[4]||(n[4]=(...t)=>e.handleClick&&e.handleClick(...t))},e.getAttrs()),[X(e.$slots,"default")],16)],8,["to","disabled"])}const bg=me({name:fE,inheritAttrs:!1,props:iE,setup(e,{attrs:n}){const t=I(null),o=I(0),r=I(0),i=I(!1),a=I(!1),{touching:s,dragging:l,moveX:u,moveY:c,startTouch:d,moveTouch:f,endTouch:v,resetTouch:p}=Dr(),{disabled:h}=qo(),g=Xe({top:0,bottom:0,left:0,right:0});Ce(()=>e.boundary,B),Mr(z),Pn(()=>{B(),z()});function $(re){e.disabled||(d(re),P())}function S(re){return dE(this,null,function*(){!s.value||e.disabled||(f(re),pt(re),a.value=!1,i.value=!0,e.direction.includes("x")&&(o.value+=u.value),e.direction.includes("y")&&(r.value+=c.value),T())})}function O(){e.disabled||(v(),a.value=!0,D())}function y(re){l.value||N(e.onClick,re)}function P(){const{left:re,top:oe}=A();o.value=re,r.value=oe}function A(){const re=pn(t.value),oe=pn(window),_=re.top-oe.top,x=oe.bottom-re.bottom,q=re.left-oe.left,ge=oe.right-re.right,{width:se,height:ve}=re,{width:G,height:de}=oe;return{top:_,bottom:x,left:q,right:ge,width:se,height:ve,halfWidth:se/2,halfHeight:ve/2,windowWidth:G,windowHeight:de}}function k(){const re=A(),oe=g.left,_=re.windowWidth-g.right-re.width,x=g.top,q=re.windowHeight-g.bottom-re.height;return{minX:oe,minY:x,maxX:oe<_?_:oe,maxY:x"u")return!1;var n=it(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function Po(e){return((Uo(e)?e.ownerDocument:e.document)||window.document).documentElement}var Qr=Math.max,Mf=Math.min,yr=Math.round;function Al(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function Cg(){return!/^((?!chrome|android).)*safari/i.test(Al())}function $r(e,n,t){n===void 0&&(n=!1),t===void 0&&(t=!1);var o=e.getBoundingClientRect(),r=1,i=1;n&&et(e)&&(r=e.offsetWidth>0&&yr(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&yr(o.height)/e.offsetHeight||1);var a=Uo(e)?it(e):window,s=a.visualViewport,l=!Cg()&&t,u=(o.left+(l&&s?s.offsetLeft:0))/r,c=(o.top+(l&&s?s.offsetTop:0))/i,d=o.width/r,f=o.height/i;return{width:d,height:f,top:c,right:u+d,bottom:c+f,left:u,x:u,y:c}}function uc(e){var n=it(e),t=n.pageXOffset,o=n.pageYOffset;return{scrollLeft:t,scrollTop:o}}function cc(e){return $r(Po(e)).left+uc(e).scrollLeft}function IE(e,n){var t=it(e),o=Po(e),r=t.visualViewport,i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;var u=Cg();(u||!u&&n==="fixed")&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s+cc(e),y:l}}function Rt(e){return it(e).getComputedStyle(e)}function ME(e){var n,t=Po(e),o=uc(e),r=(n=e.ownerDocument)==null?void 0:n.body,i=Qr(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Qr(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+cc(e),l=-o.scrollTop;return Rt(r||t).direction==="rtl"&&(s+=Qr(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Tt(e){return e?(e.nodeName||"").toLowerCase():null}function as(e){return Tt(e)==="html"?e:e.assignedSlot||e.parentNode||(lc(e)?e.host:null)||Po(e)}function dc(e){var n=Rt(e),t=n.overflow,o=n.overflowX,r=n.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+o)}function Sg(e){return["html","body","#document"].indexOf(Tt(e))>=0?e.ownerDocument.body:et(e)&&dc(e)?e:Sg(as(e))}function _r(e,n){var t;n===void 0&&(n=[]);var o=Sg(e),r=o===((t=e.ownerDocument)==null?void 0:t.body),i=it(o),a=r?[i].concat(i.visualViewport||[],dc(o)?o:[]):o,s=n.concat(a);return r?s:s.concat(_r(as(a)))}function DE(e){return["table","td","th"].indexOf(Tt(e))>=0}function Df(e){return!et(e)||Rt(e).position==="fixed"?null:e.offsetParent}function AE(e){var n=/firefox/i.test(Al()),t=/Trident/i.test(Al());if(t&&et(e)){var o=Rt(e);if(o.position==="fixed")return null}var r=as(e);for(lc(r)&&(r=r.host);et(r)&&["html","body"].indexOf(Tt(r))<0;){var i=Rt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||n&&i.willChange==="filter"||n&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function fc(e){for(var n=it(e),t=Df(e);t&&DE(t)&&Rt(t).position==="static";)t=Df(t);return t&&(Tt(t)==="html"||Tt(t)==="body"&&Rt(t).position==="static")?n:t||AE(e)||n}function BE(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&lc(t)){var o=n;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Bl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function zE(e,n){var t=$r(e,!1,n==="fixed");return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Af(e,n,t){return n===$g?Bl(IE(e,t)):Uo(n)?zE(n,t):Bl(ME(Po(e)))}function VE(e){var n=_r(as(e)),t=["absolute","fixed"].indexOf(Rt(e).position)>=0,o=t&&et(e)?fc(e):e;return Uo(o)?n.filter(function(r){return Uo(r)&&BE(r,o)&&Tt(r)!=="body"}):[]}function RE(e,n,t,o){var r=n==="clippingParents"?VE(e):[].concat(n),i=[].concat(r,[t]),a=i[0],s=i.reduce(function(l,u){var c=Af(e,u,o);return l.top=Qr(c.top,l.top),l.right=Mf(c.right,l.right),l.bottom=Mf(c.bottom,l.bottom),l.left=Qr(c.left,l.left),l},Af(e,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function bi(e){return e.split("-")[1]}function LE(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kg(e){var n=e.reference,t=e.element,o=e.placement,r=o?co(o):null,i=o?bi(o):null,a=n.x+n.width/2-t.width/2,s=n.y+n.height/2-t.height/2,l;switch(r){case Bt:l={x:a,y:n.y-t.height};break;case yo:l={x:a,y:n.y+n.height};break;case Lo:l={x:n.x+n.width,y:s};break;case uo:l={x:n.x-t.width,y:s};break;default:l={x:n.x,y:n.y}}var u=r?LE(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case is:l[u]=l[u]-(n[c]/2-t[c]/2);break;case gi:l[u]=l[u]+(n[c]/2-t[c]/2);break}}return l}function UE(){return{top:0,right:0,bottom:0,left:0}}function FE(e){return Object.assign({},UE(),e)}function HE(e,n){return n.reduce(function(t,o){return t[o]=e,t},{})}function Pg(e,n){n===void 0&&(n={});var t=n,o=t.placement,r=o===void 0?e.placement:o,i=t.strategy,a=i===void 0?e.strategy:i,s=t.boundary,l=s===void 0?gE:s,u=t.rootBoundary,c=u===void 0?$g:u,d=t.elementContext,f=d===void 0?Lr:d,v=t.altBoundary,p=v===void 0?!1:v,h=t.padding,g=h===void 0?0:h,$=FE(typeof g!="number"?g:HE(g,rs)),S=f===Lr?bE:Lr,O=e.rects.popper,y=e.elements[p?S:f],P=RE(Uo(y)?y:y.contextElement||Po(e.elements.popper),l,c,a),A=$r(e.elements.reference),k=kg({reference:A,element:O,strategy:"absolute",placement:r}),D=Bl(Object.assign({},O,k)),T=f===Lr?D:A,B={top:P.top-T.top+$.top,bottom:T.bottom-P.bottom+$.bottom,left:P.left-T.left+$.left,right:T.right-P.right+$.right},U=e.modifiersData.offset;if(f===Lr&&U){var z=U[r];Object.keys(B).forEach(function(ae){var re=[Lo,yo].indexOf(ae)>=0?1:-1,oe=[Bt,yo].indexOf(ae)>=0?"y":"x";B[ae]+=z[oe]*re})}return B}function jE(e,n){n===void 0&&(n={});var t=n,o=t.placement,r=t.boundary,i=t.rootBoundary,a=t.padding,s=t.flipVariations,l=t.allowedAutoPlacements,u=l===void 0?wg:l,c=bi(o),d=c?s?Nf:Nf.filter(function(p){return bi(p)===c}):rs,f=d.filter(function(p){return u.indexOf(p)>=0});f.length===0&&(f=d);var v=f.reduce(function(p,h){return p[h]=Pg(e,{placement:h,boundary:r,rootBoundary:i,padding:a})[co(h)],p},{});return Object.keys(v).sort(function(p,h){return v[p]-v[h]})}function YE(e){if(co(e)===sc)return[];var n=ua(e);return[If(e),n,If(n)]}function WE(e){var n=e.state,t=e.options,o=e.name;if(!n.modifiersData[o]._skip){for(var r=t.mainAxis,i=r===void 0?!0:r,a=t.altAxis,s=a===void 0?!0:a,l=t.fallbackPlacements,u=t.padding,c=t.boundary,d=t.rootBoundary,f=t.altBoundary,v=t.flipVariations,p=v===void 0?!0:v,h=t.allowedAutoPlacements,g=n.options.placement,$=co(g),S=$===g,O=l||(S||!p?[ua(g)]:YE(g)),y=[g].concat(O).reduce(function(ye,j){return ye.concat(co(j)===sc?jE(n,{placement:j,boundary:c,rootBoundary:d,padding:u,flipVariations:p,allowedAutoPlacements:h}):j)},[]),P=n.rects.reference,A=n.rects.popper,k=new Map,D=!0,T=y[0],B=0;B=0,oe=re?"width":"height",_=Pg(n,{placement:U,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),x=re?ae?Lo:uo:ae?yo:Bt;P[oe]>A[oe]&&(x=ua(x));var q=ua(x),ge=[];if(i&&ge.push(_[z]<=0),s&&ge.push(_[x]<=0,_[q]<=0),ge.every(function(ye){return ye})){T=U,D=!1;break}k.set(U,ge)}if(D)for(var se=p?3:1,ve=function(j){var ee=y.find(function(V){var fe=k.get(V);if(fe)return fe.slice(0,j).every(function(H){return H})});if(ee)return T=ee,"break"},G=se;G>0;G--){var de=ve(G);if(de==="break")break}n.placement!==T&&(n.modifiersData[o]._skip=!0,n.placement=T,n.reset=!0)}}const qE={name:"flip",enabled:!0,phase:"main",fn:WE,requiresIfExists:["offset"],data:{_skip:!1}};function KE(e,n,t){var o=co(e),r=[uo,Bt].indexOf(o)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},n,{placement:e})):t,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[uo,Lo].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}function XE(e){var n=e.state,t=e.options,o=e.name,r=t.offset,i=r===void 0?[0,0]:r,a=wg.reduce(function(c,d){return c[d]=KE(d,n.rects,i),c},{}),s=a[n.placement],l=s.x,u=s.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=l,n.modifiersData.popperOffsets.y+=u),n.modifiersData[o]=a}const GE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:XE};var ZE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function JE(e){var n=e.x,t=e.y,o=window,r=o.devicePixelRatio||1;return{x:yr(n*r)/r||0,y:yr(t*r)/r||0}}function Bf(e){var n,t=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,v=f===void 0?0:f,p=a.y,h=p===void 0?0:p,g=typeof c=="function"?c({x:v,y:h}):{x:v,y:h};v=g.x,h=g.y;var $=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),O=uo,y=Bt,P=window;if(u){var A=fc(t),k="clientHeight",D="clientWidth";if(A===it(t)&&(A=Po(t),Rt(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",D="scrollWidth")),A=A,r===Bt||(r===uo||r===Lo)&&i===gi){y=yo;var T=d&&A===P&&P.visualViewport?P.visualViewport.height:A[k];h-=T-o.height,h*=l?1:-1}if(r===uo||(r===Bt||r===yo)&&i===gi){O=Lo;var B=d&&A===P&&P.visualViewport?P.visualViewport.width:A[D];v-=B-o.width,v*=l?1:-1}}var U=Object.assign({position:s},u&&ZE),z=c===!0?JE({x:v,y:h}):{x:v,y:h};if(v=z.x,h=z.y,l){var ae;return Object.assign({},U,(ae={},ae[y]=S?"0":"",ae[O]=$?"0":"",ae.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+h+"px)":"translate3d("+v+"px, "+h+"px, 0)",ae))}return Object.assign({},U,(n={},n[y]=S?h+"px":"",n[O]=$?v+"px":"",n.transform="",n))}function QE(e){var n=e.state,t=e.options,o=t.gpuAcceleration,r=o===void 0?!0:o,i=t.adaptive,a=i===void 0?!0:i,s=t.roundOffsets,l=s===void 0?!0:s,u={placement:co(n.placement),variation:bi(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:r,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,Bf(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:l})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,Bf(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const Og={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QE,data:{}};function _E(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xE(e){return e===it(e)||!et(e)?uc(e):_E(e)}function eN(e){var n=e.getBoundingClientRect(),t=yr(n.width)/e.offsetWidth||1,o=yr(n.height)/e.offsetHeight||1;return t!==1||o!==1}function nN(e,n,t){t===void 0&&(t=!1);var o=et(n),r=et(n)&&eN(n),i=Po(n),a=$r(e,r,t),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!t)&&((Tt(n)!=="body"||dc(i))&&(s=xE(n)),et(n)?(l=$r(n,!0),l.x+=n.clientLeft,l.y+=n.clientTop):i&&(l.x=cc(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function tN(e){var n=$r(e),t=e.offsetWidth,o=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-o)<=1&&(o=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:o}}function oN(e){var n=new Map,t=new Set,o=[];e.forEach(function(i){n.set(i.name,i)});function r(i){t.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!t.has(s)){var l=n.get(s);l&&r(l)}}),o.push(i)}return e.forEach(function(i){t.has(i.name)||r(i)}),o}function rN(e){var n=oN(e);return EE.reduce(function(t,o){return t.concat(n.filter(function(r){return r.phase===o}))},[])}function iN(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}function aN(e){var n=e.reduce(function(t,o){var r=t[o.name];return t[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,t},{});return Object.keys(n).map(function(t){return n[t]})}var zf={placement:"bottom",modifiers:[],strategy:"absolute"};function Vf(){for(var e=arguments.length,n=new Array(e),t=0;tn in e?gN(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Os=(e,n)=>{for(var t in n||(n={}))$N.call(n,t)&&Lf(e,t,n[t]);if(Rf)for(var t of Rf(n))wN.call(n,t)&&Lf(e,t,n[t]);return e},Ts=(e,n)=>bN(e,yN(n)),Uf=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});function Tg(e){const n=I(null),t=I(null),o=I({width:0,height:0}),r=Vt(e,"show",{passive:!0,defaultValue:!1,emit(T,B){B?(A(),N(e.onOpen)):N(e.onClose)}}),{zIndex:i}=Ai(()=>r.value,1);let a=null,s=!1,l=!1;const u=()=>{const{width:T,height:B}=Wo(n.value);o.value={width:rn(T),height:rn(B)}},c=()=>{switch(e.placement){case"top":case"cover-bottom":return"bottom";case"top-start":case"right-end":case"cover-bottom-start":return"bottom left";case"top-end":case"left-end":case"cover-bottom-end":return"bottom right";case"bottom":case"cover-top":return"top";case"bottom-start":case"right-start":case"cover-top-start":return"top left";case"bottom-end":case"left-start":case"cover-top-end":return"top right";case"left":case"cover-right":return"right";case"right":case"cover-left":return"left"}},d=()=>{e.trigger==="hover"&&(l=!0,k())},f=()=>Uf(this,null,function*(){e.trigger==="hover"&&(l=!1,yield Bn(),!s&&D())}),v=()=>{e.trigger==="hover"&&(s=!0)},p=()=>Uf(this,null,function*(){e.trigger==="hover"&&(s=!1,yield Bn(),!l&&D())}),h=()=>{e.closeOnClickReference&&r.value?D():k()},g=()=>{D()},$=T=>{e.trigger==="click"&&(g(),N(e.onClickOutside,T))},S=()=>{A(),N(e.onClosed)},O=()=>{const{offsetX:T,offsetY:B,placement:U}=e;u();const z={x:rn(T),y:rn(B)};switch(U){case"cover-top":return{placement:"bottom",skidding:z.x,distance:z.y-o.value.height};case"cover-top-start":return{placement:"bottom-start",skidding:z.x,distance:z.y-o.value.height};case"cover-top-end":return{placement:"bottom-end",skidding:z.x,distance:z.y-o.value.height};case"cover-bottom":return{placement:"top",skidding:z.x,distance:-z.y-o.value.height};case"cover-bottom-start":return{placement:"top-start",skidding:z.x,distance:-z.y-o.value.height};case"cover-bottom-end":return{placement:"top-end",skidding:z.x,distance:-z.y-o.value.height};case"cover-left":return{placement:"right",skidding:z.y,distance:z.x-o.value.width};case"cover-right":return{placement:"left",skidding:z.y,distance:-z.x-o.value.width};case"left":case"left-start":case"left-end":return{placement:U,skidding:z.y,distance:-z.x};case"top":case"top-start":case"top-end":return{placement:U,skidding:z.x,distance:-z.y};case"bottom":case"bottom-start":case"bottom-end":return{placement:U,skidding:z.x,distance:z.y};case"right":case"right-start":case"right-end":return{placement:U,skidding:z.y,distance:z.x}}},y=()=>{const{placement:T,skidding:B,distance:U}=O(),z=[Ts(Os({},qE),{enabled:r.value}),Ts(Os({},GE),{options:{offset:[B,U]}}),Ts(Os({},Og),{options:{adaptive:!1,gpuAcceleration:!1},enabled:r.value}),{name:"applyTransformOrigin",enabled:r.value,phase:"beforeWrite",fn({state:ae}){ae.styles.popper.transformOrigin=c()}}];return{placement:T,modifiers:z,strategy:e.strategy}},P=()=>e.reference?n.value.querySelector(e.reference):n.value,A=()=>{a.setOptions(y())},k=()=>{const{disabled:T}=e;T||(r.value=!0,N(e["onUpdate:show"],!0))},D=()=>{r.value=!1,N(e["onUpdate:show"],!1)};return sm(P,"click",$),Ce(()=>[e.offsetX,e.offsetY,e.placement,e.strategy],A),Ce(()=>e.disabled,D),Co(()=>{var T;a=pN((T=P())!=null?T:n.value,t.value,y())}),Ht(()=>{a.destroy()}),{show:r,popover:t,zIndex:i,host:n,hostSize:o,handleHostClick:h,handleHostMouseenter:d,handleHostMouseleave:f,handlePopoverClose:g,handlePopoverMouseenter:v,handlePopoverMouseleave:p,handleClosed:S,resize:A,open:k,close:D}}const CN={type:{type:String,default:"default"},color:String,content:String,show:Boolean,disabled:Boolean,trigger:{type:String,default:"hover"},reference:String,placement:{type:String,default:"bottom"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,closeOnClickReference:Boolean,onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),onClickOutside:W(),"onUpdate:show":W()},{name:SN,n:kN,classes:PN}=pe("tooltip");function ON(e,n){return C(),M("div",{ref:"host",class:m(e.classes(e.n(),e.n("$--box"))),onClick:n[3]||(n[3]=(...t)=>e.handleHostClick&&e.handleHostClick(...t)),onMouseenter:n[4]||(n[4]=(...t)=>e.handleHostMouseenter&&e.handleHostMouseenter(...t)),onMouseleave:n[5]||(n[5]=(...t)=>e.handleHostMouseleave&&e.handleHostMouseleave(...t))},[X(e.$slots,"default"),(C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[ie(nn,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed,persisted:""},{default:Te(()=>[He(R("div",{ref:"popover",class:m(e.classes(e.n("tooltip"),e.n("$--box"))),style:te({zIndex:e.zIndex}),onClick:n[0]||(n[0]=Xn(()=>{},["stop"])),onMouseenter:n[1]||(n[1]=(...t)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...t)),onMouseleave:n[2]||(n[2]=(...t)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...t))},[R("div",{style:te({background:e.color,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:m(e.classes(e.n("content-container"),e.n(`--${e.type}`)))},[X(e.$slots,"content",{},()=>[je($e(e.content),1)])],6)],38),[[kt,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const Eg=me({name:SN,props:CN,setup(e){const{disabled:n}=qo(),{popover:t,host:o,hostSize:r,show:i,zIndex:a,handleHostClick:s,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handlePopoverClose:f,handleClosed:v,open:p,close:h,resize:g}=Tg(e);return{popover:t,host:o,hostSize:r,show:i,zIndex:a,teleportDisabled:n,toSizeUnit:ze,n:kN,classes:PN,handleHostClick:s,handlePopoverClose:f,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handleClosed:v,resize:g,open:p,close:h}}});Eg.render=ON;var Ng=Eg;be(Ng);var Ma=Ng;const TN={expand:Boolean,expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Object,Boolean],default:!0},"onUpdate:expand":W()};var EN=Object.defineProperty,Ff=Object.getOwnPropertySymbols,NN=Object.prototype.hasOwnProperty,IN=Object.prototype.propertyIsEnumerable,Hf=(e,n,t)=>n in e?EN(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,MN=(e,n)=>{for(var t in n||(n={}))NN.call(n,t)&&Hf(e,t,n[t]);if(Ff)for(var t of Ff(n))IN.call(n,t)&&Hf(e,t,n[t]);return e};const{name:DN,n:AN,classes:BN}=pe("ellipsis"),zN={key:0};function VN(e,n){const t=we("var-tooltip");return C(),Ae(t,ao(Nr(e.tooltip)),{content:Te(()=>[X(e.$slots,"tooltip-content",{},()=>{var o;return[(o=e.tooltip)!=null&&o.content?(C(),M("span",zN,$e(e.tooltip.content),1)):X(e.$slots,"default",{key:1})]})]),default:Te(()=>[R("span",{class:m(e.classes(e.n(),[e.lineClamp,e.n("--clamp"),e.n("--line")],[e.expandTrigger,e.n("--cursor")],[e.expanding,e.n("--expand")])),style:te(e.rootStyles),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[X(e.$slots,"default")],6)]),_:3},16)}const Ig=me({name:DN,components:{VarTooltip:Ma},props:TN,setup(e){const n=Vt(e,"expand"),t=L(()=>e.lineClamp?{"-webkit-line-clamp":e.lineClamp}:{}),o=L(()=>e.tooltip===!1?{disabled:!0}:e.tooltip===!0?{sameWidth:!0}:MN({sameWidth:!0},e.tooltip));function r(){e.expandTrigger&&(n.value=!n.value)}return{tooltip:o,expanding:n,rootStyles:t,n:AN,classes:BN,handleClick:r}}});Ig.render=VN;var Mg=Ig;be(Mg);var zl=Mg;const RN={active:Boolean,show:{type:Boolean,default:!0},drag:{type:[Object,Boolean],default:!1},type:{type:String,default:"primary"},position:{type:String,default:"right-bottom"},direction:{type:String,default:"top"},trigger:{type:String,default:"click"},disabled:Boolean,color:String,inactiveIcon:{type:String,default:"plus"},activeIcon:{type:String,default:"window-close"},inactiveIconSize:Fe(dn,"size"),activeIconSize:Fe(dn,"size"),inactiveIconNamespace:Fe(dn,"namespace"),activeIconNamespace:Fe(dn,"namespace"),fixed:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:90},top:[Number,String],bottom:[Number,String],left:[Number,String],right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},safeArea:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onClick:W(),onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),"onUpdate:active":W()},{name:LN,classes:Es,n:Yn}=pe("fab");var Dg=me({name:LN,inheritAttrs:!1,props:RN,setup(e,{slots:n,attrs:t}){const o=Vt(e,"active"),r=I(null),i=I(null);Ce(()=>e.trigger,()=>{o.value=!1}),Ce(()=>e.disabled,()=>{o.value=!1}),Ce(()=>[e.position,e.fixed,e.top,e.bottom,e.left,e.right],()=>{var c;(c=i.value)==null||c.reset()}),sm(r,"click",l);function a(c,d,f){if(c.stopPropagation(),!(e.trigger!=="click"||e.disabled)){if(f===0){N(e.onClick,o.value,c);return}o.value=d,N(e.onClick,o.value,c),N(o.value?e.onOpen:e.onClose)}}function s(c,d){e.trigger!=="hover"||e.disabled||d===0||(o.value=c,N(o.value?e.onOpen:e.onClose))}function l(){e.trigger!=="click"||e.disabled||o.value!==!1&&(o.value=!1,N(e.onClose))}function u(){return n.trigger?e.show?n.trigger({active:o.value}):null:He(ie(Un,{"var-fab-cover":!0,class:Yn("trigger"),type:e.type,color:e.color,disabled:e.disabled,elevation:e.elevation,round:!0},{default:()=>[ie(tn,{"var-fab-cover":!0,class:Es([o.value,Yn("trigger-active-icon"),Yn("trigger-inactive-icon")]),name:o.value?e.activeIcon:e.inactiveIcon,size:o.value?e.activeIconSize:e.inactiveIconSize,namespace:o.value?e.activeIconNamespace:e.inactiveIconNamespace,transition:200,animationClass:Yn("--trigger-icon-animation")},null)]}),[[kt,e.show]])}return()=>{var c;const d=um((c=N(n.default))!=null?c:[]),f=Gu(e.drag)?{}:e.drag;return ie(Ia,Ze({ref:i,class:Es(Yn(`--position-${e.position}`),[!e.fixed,Yn("--absolute")]),style:{top:ze(e.top),bottom:ze(e.bottom),left:ze(e.left),right:ze(e.right)},zIndex:e.zIndex,teleport:e.teleport,disabled:e.disabled||!e.drag||!e.fixed,direction:f.direction,attraction:f.attraction,boundary:f.boundary,onClick:v=>a(v,!o.value,d.length)},t),{default:()=>[ie("div",{class:Es(Yn(),Yn(`--direction-${e.direction}`),[e.safeArea,Yn("--safe-area")]),ref:r,onMouseleave:()=>s(!1,d.length),onMouseenter:()=>s(!0,d.length)},[ie(nn,{name:Yn("--active-transition")},{default:()=>[u()]}),ie(nn,{name:Yn(`--actions-transition-${e.direction}`),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[He(ie("div",{class:Yn("actions"),onClick:v=>v.stopPropagation()},[d.map(v=>ie("div",{class:Yn("action")},[v]))]),[[kt,e.show&&o.value&&d.length]])]})])]})}}});be(Dg);var Vl=Dg;const vc={value:{type:null,required:!0},id:{type:String,default:""},isFocus:Boolean,size:{type:String,default:"normal"},variant:{type:String,default:"standard"},placeholder:String,line:{type:Boolean,default:!0},hint:{type:Boolean,default:!0},textColor:String,focusColor:String,blurColor:String,errorMessage:String,formDisabled:Boolean,disabled:Boolean,clearable:Boolean,cursor:String,composing:Boolean,onClick:W(),onClear:W()},{name:UN,n:Ns,classes:FN}=pe("field-decorator"),HN=["for"];function jN(e,n){const t=we("var-icon");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.n(`--${e.variant}`),[e.size==="small",e.n("--small")],[e.disabled,e.n("--disabled")])),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[R("div",{class:m(e.classes(e.n("controller"),[e.isFocus,e.n("--focus")],[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({color:e.color,cursor:e.cursor,overflow:e.isFloating?"visible":"hidden"})},[R("div",{class:m(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[X(e.$slots,"prepend-icon")],2),R("div",{class:m(e.classes(e.n("middle"),[!e.hint,e.n("--middle-non-hint")]))},[X(e.$slots,"default")],2),e.placeholder&&e.hint?(C(),M("label",{key:0,class:m(e.classes(e.n("placeholder"),e.n("$--ellipsis"),[e.isFocus,e.n("--focus")],[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],e.computePlaceholderState())),style:te({color:e.color}),for:e.id},[R("span",null,$e(e.placeholder),1)],14,HN)):he("v-if",!0),R("div",{class:m(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[e.clearable&&!e.isEmpty(e.value)?(C(),Ae(t,{key:0,class:m(e.n("clear-icon")),"var-field-decorator-cover":"",name:"close-circle",onClick:e.handleClear},null,8,["class","onClick"])):he("v-if",!0),X(e.$slots,"append-icon")],2)],6),e.line?(C(),M(Re,{key:0},[e.variant==="outlined"?(C(),M("fieldset",{key:0,class:m(e.classes(e.n("line"),[e.isFocus,e.n("--line-focus")],[e.errorMessage,e.n("--line-error")],[e.formDisabled||e.disabled,e.n("--line-disabled")])),style:te({borderColor:e.color})},[R("legend",{class:m(e.classes(e.n("line-legend"),[e.isFloating,e.n("line-legend--hint")])),style:te({width:e.legendWidth})},[e.placeholder&&e.hint?(C(),Ae(Et,{key:0,to:"body"},[R("span",{ref:"placeholderTextEl",class:m(e.classes(e.n("placeholder-text"),e.n("$--ellipsis"),[e.size==="small",e.n("placeholder-text--small")]))},$e(e.placeholder),3)])):he("v-if",!0)],6)],6)):(C(),M("div",{key:1,class:m(e.classes(e.n("line"),[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:te({background:e.errorMessage?void 0:e.blurColor})},[R("div",{class:m(e.classes(e.n("dot"),[e.isFocus,e.n("--line-focus")],[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:te({background:e.errorMessage?void 0:e.focusColor})},null,6)],6))],64)):he("v-if",!0)],2)}const Ag=me({name:UN,components:{VarIcon:tn},props:vc,setup(e,{slots:n}){const t=I(null),o=I(""),r=L(()=>e.hint&&(!Ct(e.value)||e.isFocus||n["prepend-icon"])),i=L(()=>e.errorMessage?void 0:e.isFocus?e.focusColor:e.blurColor);Mr(s),Pn(s),Yo(s);function a(){const{hint:c,value:d,composing:f}=e;if(!c&&(!Ct(d)||f))return Ns("--placeholder-hidden");if(r.value)return Ns("--placeholder-hint")}function s(){const{size:c,hint:d,variant:f,placeholder:v}=e;if(!v||!d||f!=="outlined"){o.value="";return}const p=Wo(t.value),h=`var(--field-decorator-outlined-${c}-placeholder-space)`;o.value=`calc(${p.width} * 0.75 + ${h} * 2)`}function l(c){N(e.onClear,c)}function u(c){N(e.onClick,c)}return{placeholderTextEl:t,color:i,legendWidth:o,isFloating:r,computePlaceholderState:a,n:Ns,classes:FN,isEmpty:Ct,handleClear:l,handleClick:u}}});Ag.render=jN;var Bg=Ag;be(Bg);var yi=Bg;const YN={anchor:Number,anchors:Array,contentDraggable:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},elevation:{type:[Boolean,Number,String],default:!0},teleport:{type:[String,Object,Boolean],default:"body"},safeArea:Boolean,"onUpdate:anchor":W(),onAnchorChange:W()},{name:WN,n:qN,classes:KN}=pe("floating-panel"),XN=100,jf=.2;function GN(e,n){return C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[R("div",{class:m(e.classes(e.n(),[e.safeArea,e.n("--safe-area")],e.formatElevation(e.elevation,3))),style:te({height:`${e.toSizeUnit(e.maxAnchor)}`,transform:`translateY(calc(100% - ${e.toSizeUnit(e.visibleHeight)}))`,transition:e.touching?"none":`transform ${e.toNumber(e.duration)}ms var(--floating-panel-transition-timing-function), background-color 0.25s`}),onTouchstart:n[0]||(n[0]=(...t)=>e.handleTouchstart&&e.handleTouchstart(...t)),onTouchmove:n[1]||(n[1]=(...t)=>e.handleTouchmove&&e.handleTouchmove(...t)),onTouchend:n[2]||(n[2]=(...t)=>e.handleTouchend&&e.handleTouchend(...t)),onTouchcancel:n[3]||(n[3]=(...t)=>e.handleTouchend&&e.handleTouchend(...t))},[R("div",{class:m(e.n("header"))},[R("div",{class:m(e.n("header-toolbar"))},null,2)],2),R("div",{class:m(e.n("content")),ref:"contentRef"},[X(e.$slots,"default")],2)],38)],8,["to","disabled"])}const zg=me({name:WN,props:YN,setup(e){const n=I(0),t=I(null),{height:o}=Tw(),r=L(()=>o.value*.6),i=Vt(e,"anchor"),a=L(()=>{const T=[XN,r.value],{anchors:B}=e;return Ct(B)?T:B}),s=L(()=>Math.min(...a.value)),l=L(()=>Math.max(...a.value)),{disabled:u}=qo(),{deltaY:c,touching:d,startTouch:f,moveTouch:v,endTouch:p,isReachTop:h,isReachBottom:g}=Dr();let $;Di(()=>d.value),Ce(()=>i.value,S,{immediate:!0}),Ce(()=>a.value,()=>{S(i.value)},{immediate:!0});function S(T){A(T??s.value)}function O(T){f(T),$=n.value}function y(T){var B;v(T);const U=T.target;if((t.value===U||((B=t.value)==null?void 0:B.contains(U)))&&!e.contentDraggable){(h(t.value)||g(t.value))&&pt(T);return}const ae=$-c.value;A(k(ae)),pt(T)}function P(){p();const T=i.value;A(n.value),i.value=n.value,i.value!==T&&N(e.onAnchorChange,n.value)}function A(T){n.value=d.value?T:D(T)}function k(T){if(T>l.value){const B=T-l.value;return l.value+B*jf}if(T{const ae=Math.abs(z-T);aenew Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:JN,n:QN}=pe("form");function _N(e,n){return C(),M("form",{class:m(e.n()),onSubmit:n[0]||(n[0]=(...t)=>e.handleSubmit&&e.handleSubmit(...t)),onReset:n[1]||(n[1]=(...t)=>e.handleReset&&e.handleReset(...t))},[X(e.$slots,"default")],34)}const Rg=me({name:JN,props:ZN,setup(e){const n=L(()=>e.disabled),t=L(()=>e.readonly),{formItems:o,bindFormItems:r}=vP();r({disabled:n,readonly:t});function a(f){setTimeout(()=>{const v=go(f),p=v===window?0:Dd(v),h=Dd(f)-p-rn(e.scrollToErrorOffsetY);vi(v,{top:h,animation:rl})},300)}function s(f){return Yf(this,null,function*(){pt(f);const v=yield u();N(e.onSubmit,v)})}function l(f){pt(f),c(),N(e.onReset)}function u(){return Yf(this,null,function*(){var f;const v=yield Promise.all(o.map(({validate:p})=>p()));if(e.scrollToError){const[,p]=mw(v,g=>g===!1,e.scrollToError),h=p>-1;if(h){const g=(f=o[p].instance.proxy)==null?void 0:f.$el;a(g)}return!h}return v.every(p=>p===!0)})}function c(){return o.forEach(({reset:f})=>f())}function d(){return o.forEach(({resetValidation:f})=>f())}return{n:QN,handleSubmit:s,handleReset:l,validate:u,reset:c,resetValidation:d}}});Rg.render=_N;var ss=Rg;ss.useValidation=ot;ss.useForm=rt;be(ss);var Ll=ss;const xN={src:String,fit:{type:String,default:"fill"},alt:String,title:String,width:[String,Number],height:[String,Number],radius:{type:[String,Number],default:0},loading:String,error:String,lazy:Boolean,ripple:Boolean,block:{type:Boolean,default:!0},onClick:W(),onLoad:W(),onError:W()},{name:eI,n:nI,classes:tI}=pe("image"),oI=["alt","title","lazy-loading","lazy-error"],rI=["alt","title","src"];function iI(e,n){var t;const o=Ge("lazy"),r=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[!e.block,e.n("$--inline-block")])),style:te({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),borderRadius:e.toSizeUnit(e.radius)})},[e.lazy&&!e.showErrorSlot?He((C(),M("img",{key:0,class:m(e.n("image")),alt:e.alt,title:e.title,"lazy-loading":e.loading,"lazy-error":e.error,style:te({objectFit:e.fit}),onLoad:n[0]||(n[0]=(...i)=>e.handleLoad&&e.handleLoad(...i)),onClick:n[1]||(n[1]=(...i)=>e.handleClick&&e.handleClick(...i))},null,46,oI)),[[o,(t=e.src)!=null?t:""]]):he("v-if",!0),!e.lazy&&!e.showErrorSlot?(C(),M("img",{key:1,class:m(e.n("image")),alt:e.alt,title:e.title,style:te({objectFit:e.fit}),src:e.src,onLoad:n[2]||(n[2]=(...i)=>e.handleLoad&&e.handleLoad(...i)),onError:n[3]||(n[3]=(...i)=>e.handleError&&e.handleError(...i)),onClick:n[4]||(n[4]=(...i)=>e.handleClick&&e.handleClick(...i))},null,46,rI)):he("v-if",!0),e.showErrorSlot?X(e.$slots,"error",{key:2}):he("v-if",!0)],6)),[[r,{disabled:!e.ripple}]])}const Lg=me({name:eI,directives:{Lazy:hi,Ripple:vn},props:xN,setup(e,{slots:n}){const t=I(!1);Ce(()=>e.src,()=>{t.value=!1});function o(a){t.value=!!n.error,N(e.onError,a)}function r(a){const s=a.currentTarget;if(e.lazy){if(s._lazy.state==="success"){N(e.onLoad,a);return}s._lazy.state==="error"&&o(a)}else N(e.onLoad,a)}function i(a){N(e.onClick,a)}return{showErrorSlot:t,n:nI,classes:tI,toSizeUnit:ze,handleLoad:r,handleError:o,handleClick:i}}});Lg.render=iI;var Ug=Lg;be(Ug);var Ul=Ug;const Fg=Symbol("SWIPE_BIND_SWIPE_ITEM_KEY");function aI(){const{childProviders:e,length:n,bindChildren:t}=Tn(Fg);return{length:n,swipeItems:e,bindSwipeItems:t}}const Hg={loop:{type:Boolean,default:!0},autoplay:[String,Number],duration:{type:[String,Number],default:300},initialIndex:{type:[String,Number],default:0},navigation:{type:[Boolean,String],default:!1},indicator:{type:Boolean,default:!0},indicatorColor:String,vertical:Boolean,touchable:{type:Boolean,default:!0},onChange:W()};var xo=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const sI=250,lI=20,{name:uI,n:Wf,classes:cI}=pe("swipe"),dI=["onClick"];function fI(e,n){const t=we("var-icon"),o=we("var-button"),r=Ge("hover");return He((C(),M("div",{class:m(e.n()),ref:"swipeEl"},[R("div",{class:m(e.classes(e.n("track"),[e.vertical,e.n("--vertical")])),style:te({width:e.vertical?void 0:`${e.trackSize}px`,height:e.vertical?`${e.trackSize}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.trackTranslate}px)`,transitionDuration:e.lockDuration?"0ms":`${e.toNumber(e.duration)}ms`}),onTouchstart:n[0]||(n[0]=(...i)=>e.handleTouchstart&&e.handleTouchstart(...i)),onTouchmove:n[1]||(n[1]=(...i)=>e.handleTouchmove&&e.handleTouchmove(...i)),onTouchend:n[2]||(n[2]=(...i)=>e.handleTouchend&&e.handleTouchend(...i))},[X(e.$slots,"default")],38),e.navigation?X(e.$slots,"prev",ao(Ze({key:0},{index:e.index,length:e.length,prev:e.prev,next:e.next,to:e.to,hovering:e.hovering})),()=>[ie(nn,{name:e.getNavigationAnimation("prev")},{default:Te(()=>[e.navigation===!0||e.hovering?(C(),M("div",{key:0,class:m(e.classes(e.n("navigation"),e.n("navigation-prev"),[e.vertical,e.n("--navigation-vertical-prev")]))},[ie(o,{"var-swipe-cover":"",disabled:!e.loop&&e.index===0,class:m(e.n("navigation-prev-button")),onClick:n[3]||(n[3]=i=>e.prev())},{default:Te(()=>[ie(t,{"var-swipe-cover":"",class:m(e.n("navigation-prev-button-icon")),name:e.vertical?"chevron-up":"chevron-left"},null,8,["class","name"])]),_:1},8,["disabled","class"])],2)):he("v-if",!0)]),_:1},8,["name"])]):he("v-if",!0),e.navigation?X(e.$slots,"next",ao(Ze({key:1},{index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[ie(nn,{name:e.getNavigationAnimation("next")},{default:Te(()=>[e.navigation===!0||e.hovering?(C(),M("div",{key:0,class:m(e.classes(e.n("navigation"),e.n("navigation-next"),[e.vertical,e.n("--navigation-vertical-next")]))},[ie(o,{"var-swipe-cover":"",class:m(e.n("navigation-next-button")),disabled:!e.loop&&e.index===e.length-1,onClick:n[4]||(n[4]=i=>e.next())},{default:Te(()=>[ie(t,{"var-swipe-cover":"",class:m(e.n("navigation-next-button-icon")),name:e.vertical?"chevron-down":"chevron-right"},null,8,["class","name"])]),_:1},8,["class","disabled"])],2)):he("v-if",!0)]),_:1},8,["name"])]):he("v-if",!0),X(e.$slots,"indicator",ao(Nr({index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[e.indicator&&e.length?(C(),M("div",{key:0,class:m(e.classes(e.n("indicators"),[e.vertical,e.n("--indicators-vertical")]))},[(C(!0),M(Re,null,un(e.length,(i,a)=>(C(),M("div",{class:m(e.classes(e.n("indicator"),[e.index===a,e.n("--indicator-active")],[e.vertical,e.n("--indicator-vertical")])),style:te({background:e.indicatorColor}),key:i,onClick:s=>e.to(a)},null,14,dI))),128))],2)):he("v-if",!0)])],2)),[[r,e.handleHovering]])}const jg=me({name:uI,directives:{Hover:Zn},components:{VarButton:Un,VarIcon:tn},props:Hg,setup(e){const n=I(null),t=I(0),o=L(()=>e.vertical),r=I(0),i=I(0),a=I(!1),s=I(0),l=I(!1),{swipeItems:u,bindSwipeItems:c,length:d}=aI(),{popup:f,bindPopup:v}=qw(),{deltaX:p,deltaY:h,moveX:g,moveY:$,offsetX:S,offsetY:O,touching:y,direction:P,startTime:A,startTouch:k,moveTouch:D,endTouch:T}=Dr(),B=L(()=>P.value===(e.vertical?"vertical":"horizontal"));let U=!1,z=-1;c({size:t,vertical:o}),N(v,null),Ce(()=>d.value,()=>xo(this,null,function*(){yield Bn(),se(),H()})),f&&Ce(()=>f.show.value,b=>xo(this,null,function*(){b?(yield Bn(),H()):G()})),Ut(H),Ga(G),Mr(H);function re(b){return u.find(({index:E})=>E.value===b)}function oe(){e.loop&&(i.value>=0&&re(d.value-1).setTranslate(-r.value),i.value<=-(r.value-t.value)&&re(0).setTranslate(r.value),i.value>-(r.value-t.value)&&i.value<0&&(re(d.value-1).setTranslate(0),re(0).setTranslate(0)))}function _(b){const E=Rn(b)?b:Math.floor((i.value-t.value/2)/-t.value),{loop:Y}=e;return E<=-1?Y?-1:0:E>=d.value?Y?d.value:d.value-1:E}function x(b){const{loop:E}=e;return b===-1?E?d.value-1:0:b===d.value?E?0:d.value-1:b}function q(b){return e.loop?b<0?d.value+b:b>=d.value?b-d.value:b:ho(b,0,d.value-1)}function ge(){return xo(this,null,function*(){const b=i.value>=t.value,E=i.value<=-r.value,Y=0,Q=-(r.value-t.value);a.value=!0,(b||E)&&(a.value=!0,i.value=E?Y:Q,re(0).setTranslate(0),re(d.value-1).setTranslate(0)),yield Bn(),a.value=!1})}function se(){U||(s.value=q(K(e.initialIndex)),U=!0)}function ve(){const{autoplay:b}=e;!b||d.value<=1||(G(),z=window.setTimeout(()=>{J(),ve()},K(b)))}function G(){z&&clearTimeout(z)}function de(b){i.value=b,oe()}function ye(b){return xo(this,null,function*(){d.value<=1||!e.touchable||(k(b),G(),yield ge(),a.value=!0)})}function j(b){const{touchable:E,vertical:Y}=e;!y.value||!E||(D(b),B.value&&(pt(b),de(i.value+(Y?$.value:g.value))))}function ee(){if(!y.value||(T(),!B.value))return;const{vertical:b,onChange:E}=e,Y=b?h.value<0:p.value<0,Q=b?O.value:S.value,le=performance.now()-A.value<=sI&&Q>=lI?_(Y?s.value+1:s.value-1):_();a.value=!1,de(le*-t.value);const Z=s.value;s.value=x(le),ve(),Z!==s.value&&N(E,s.value)}function V(b){e.navigation==="hover"&&(l.value=b)}function fe(b){return e.navigation!=="hover"?"":Wf(`--navigation${e.vertical?"-vertical":""}-${b}-animation`)}function H(){n.value&&(a.value=!0,t.value=e.vertical?n.value.offsetHeight:n.value.offsetWidth,r.value=t.value*d.value,i.value=s.value*-t.value,u.forEach(b=>{b.setTranslate(0)}),ve(),setTimeout(()=>{a.value=!1}))}function J(b){return xo(this,null,function*(){if(d.value<=1)return;se();const{loop:E,onChange:Y}=e,Q=s.value;if(s.value=q(Q+1),(b==null?void 0:b.event)!==!1&&N(Y,s.value),yield ge(),Q===d.value-1&&E){re(0).setTranslate(r.value),i.value=d.value*-t.value;return}Q!==d.value-1&&(i.value=s.value*-t.value)})}function Pe(b){return xo(this,null,function*(){if(d.value<=1)return;se();const{loop:E,onChange:Y}=e,Q=s.value;if(s.value=q(Q-1),(b==null?void 0:b.event)!==!1&&N(Y,s.value),yield ge(),Q===0&&E){re(d.value-1).setTranslate(-r.value),i.value=t.value;return}Q!==0&&(i.value=s.value*-t.value)})}function w(b,E){if(d.value<=1||b===s.value)return;b=b<0?0:b,b=b>=d.value?d.value:b;const Y=b>s.value?J:Pe,Q=Math.abs(b-s.value);Array.from({length:Q}).forEach((F,le)=>{Y({event:le===Q-1?E==null?void 0:E.event:!1})})}return{length:d,index:s,swipeEl:n,trackSize:r,trackTranslate:i,lockDuration:a,hovering:l,n:Wf,classes:cI,handleTouchstart:ye,handleTouchmove:j,handleTouchend:ee,next:J,prev:Pe,to:w,resize:H,toNumber:K,handleHovering:V,getNavigationAnimation:fe}}});jg.render=fI;var Yg=jg;be(Yg);var $i=Yg;function vI(){const{bindParent:e,index:n,parentProvider:t}=On(Fg);return e||Gn("SwipeItem"," must in "),{index:n,swipe:t,bindSwipe:e}}const{name:hI,n:mI}=pe("swipe-item");function pI(e,n){return C(),M("div",{class:m(e.n()),style:te({width:e.vertical?void 0:`${e.size}px`,height:e.vertical?`${e.size}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.translate}px)`})},[X(e.$slots,"default")],6)}const Wg=me({name:hI,setup(){const e=I(0),{swipe:n,bindSwipe:t,index:o}=vI(),{size:r,vertical:i}=n;t({index:o,setTranslate:s});function s(l){e.value=l}return{n:mI,size:r,vertical:i,translate:e}}});Wg.render=pI;var qg=Wg;be(qg);var wi=qg,gI=Object.defineProperty,qf=Object.getOwnPropertySymbols,bI=Object.prototype.hasOwnProperty,yI=Object.prototype.propertyIsEnumerable,Kf=(e,n,t)=>n in e?gI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Xf=(e,n)=>{for(var t in n||(n={}))bI.call(n,t)&&Kf(e,t,n[t]);if(qf)for(var t of qf(n))yI.call(n,t)&&Kf(e,t,n[t]);return e};const $I=Xf(Xf({show:Boolean,imagePreventDefault:Boolean,images:{type:Array,default:()=>[]},current:String,initialIndex:{type:[String,Number],default:0},zoom:{type:[String,Number],default:2},closeable:Boolean,"onUpdate:show":W(),onLongPress:W()},Fe(Hg,["loop","indicator","onChange"])),Fe(Mi,["lockScroll","teleport","onOpen","onClose","onOpened","onClosed","onRouteChange"])),{name:wI,n:Gf,classes:CI}=pe("image-preview"),Is=12,Zf=200,SI=350,Jf=200,kI=500,PI=["onTouchstart"],OI=["src","alt"];function TI(e,n){const t=we("var-swipe-item"),o=we("var-swipe"),r=we("var-icon"),i=we("var-popup");return C(),Ae(i,{class:m(e.n("popup")),"var-image-preview-cover":"",transition:e.n("$-fade"),show:e.popupShow,overlay:!1,"close-on-click-overlay":!1,"lock-scroll":e.lockScroll,teleport:e.teleport,onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange},{default:Te(()=>[ie(o,Ze({ref:"swipeRef",class:e.n("swipe"),"var-image-preview-cover":"",touchable:e.canSwipe,indicator:e.indicator&&e.images.length>1,"initial-index":e.initialIndex,loop:e.loop,onChange:e.onChange},e.$attrs),{default:Te(()=>[(C(!0),M(Re,null,un(e.images,(a,s)=>(C(),Ae(t,{class:m(e.n("swipe-item")),"var-image-preview-cover":"",key:a},{default:Te(()=>[R("div",{class:m(e.n("zoom-container")),style:te({transform:`scale(${e.scale}) translate(${e.translateX}px, ${e.translateY}px)`,transitionTimingFunction:e.transitionTimingFunction,transitionDuration:e.transitionDuration}),onTouchstart:l=>e.handleTouchstart(l,s),onTouchmove:n[0]||(n[0]=(...l)=>e.handleTouchmove&&e.handleTouchmove(...l)),onTouchend:n[1]||(n[1]=(...l)=>e.handleTouchend&&e.handleTouchend(...l)),onTouchcancel:n[2]||(n[2]=(...l)=>e.handleTouchcancel&&e.handleTouchcancel(...l))},[R("img",{class:m(e.classes(e.n("image"),[e.isPreventDefault,e.n("--prevent")])),src:a,alt:a},null,10,OI)],46,PI)]),_:2},1032,["class"]))),128))]),indicator:Te(({index:a,length:s})=>[X(e.$slots,"indicator",{index:a,length:s},()=>[e.indicator&&e.images.length>1?(C(),M("div",{key:0,class:m(e.n("indicators"))},$e(a+1)+" / "+$e(s),3)):he("v-if",!0)])]),_:3},16,["class","touchable","indicator","initial-index","loop","onChange"]),X(e.$slots,"close-icon",{},()=>[e.closeable?(C(),Ae(r,{key:0,class:m(e.n("close-icon")),name:"close-circle","var-image-preview-cover":"",onClick:e.close},null,8,["class","onClick"])):he("v-if",!0)]),R("div",{class:m(e.n("extra"))},[X(e.$slots,"extra")],2)]),_:3},8,["class","transition","show","lock-scroll","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const Kg=me({name:wI,components:{VarSwipe:$i,VarSwipeItem:wi,VarPopup:po,VarIcon:tn},inheritAttrs:!1,props:$I,setup(e){const n=I(!1),t=I(1),o=I(0),r=I(0),i=I(),a=I(),s=I(!0),l=I(null),{moveX:u,moveY:c,distance:d,startTime:f,startTouch:v,moveTouch:p,endTouch:h}=Dr(),g=L(()=>{const{images:G,current:de,initialIndex:ye}=e;if(ye!=null)return K(ye);const j=G.findIndex(ee=>ee===de);return Math.max(j,0)}),$=L(()=>{const{imagePreventDefault:G,show:de}=e;return de&&G});let S=null,O=null,y=!1;const P={start:null,prev:null};mo(()=>document,"contextmenu",ve),Ce(()=>e.show,G=>{n.value=G},{immediate:!0});function A(){t.value=K(e.zoom),s.value=!1,P.prev=null,window.setTimeout(()=>{i.value="linear",a.value="0s"},Jf)}function k(){t.value=1,o.value=0,r.value=0,s.value=!0,P.prev=null,i.value=void 0,a.value=void 0}function D(G){return P.prev?d.value<=Is&&performance.now()-f.value<=Zf&&P.prev===G:!1}function T(G){return!G||!P.start||!P.prev?!1:d.value<=Is&&performance.now()-f.value{de&&x(),P.start=null},Zf)}function z(G,de){window.clearTimeout(S),window.clearTimeout(O);const ye=G.currentTarget;if(P.start=ye,O=window.setTimeout(()=>{y=!0,N(e.onLongPress,de)},kI),D(ye)){t.value>1?k():A();return}v(G),P.prev=ye}function ae(G){const{offsetWidth:de,offsetHeight:ye}=G,{naturalWidth:j,naturalHeight:ee}=G.querySelector(`.${Gf("image")}`);return{width:de,height:ye,imageRadio:ee/j,rootRadio:ye/de,zoom:K(e.zoom)}}function re(G){const{zoom:de,imageRadio:ye,rootRadio:j,width:ee,height:V}=ae(G);if(!ye)return 0;const fe=ye>j?V/ye:ee;return Math.max(0,(de*fe-ee)/2)/de}function oe(G){const{zoom:de,imageRadio:ye,rootRadio:j,width:ee,height:V}=ae(G);if(!ye)return 0;const fe=ye>j?V:ee*ye;return Math.max(0,(de*fe-V)/2)/de}function _(G){if(!P.prev)return;p(G);const de=G.currentTarget;if(d.value>Is&&window.clearTimeout(O),t.value>1){const ye=re(de),j=oe(de);o.value=ho(o.value+u.value,-ye,ye),r.value=ho(r.value+c.value,-j,j)}P.prev=de}function x(){if(t.value>1){k(),setTimeout(()=>N(e["onUpdate:show"],!1),Jf);return}N(e["onUpdate:show"],!1)}function q(G){var de;(de=l.value)==null||de.prev(G)}function ge(G){var de;(de=l.value)==null||de.next(G)}function se(G,de){var ye;(ye=l.value)==null||ye.to(G,de)}function ve(G){e.imagePreventDefault&&e.show&&pt(G)}return{swipeRef:l,isPreventDefault:$,initialIndex:g,popupShow:n,scale:t,translateX:o,translateY:r,canSwipe:s,transitionTimingFunction:i,transitionDuration:a,n:Gf,classes:CI,handleTouchstart:z,handleTouchmove:_,handleTouchend:U,handleTouchcancel:B,close:x,prev:q,next:ge,to:se}}});Kg.render=TI;var ls=Kg,EI=Object.defineProperty,NI=Object.defineProperties,II=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,MI=Object.prototype.hasOwnProperty,DI=Object.prototype.propertyIsEnumerable,_f=(e,n,t)=>n in e?EI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ji=(e,n)=>{for(var t in n||(n={}))MI.call(n,t)&&_f(e,t,n[t]);if(Qf)for(var t of Qf(n))DI.call(n,t)&&_f(e,t,n[t]);return e},xf=(e,n)=>NI(e,II(n));let to,xr={};function AI(e={}){return gn(e)?xf(Ji({},xr),{images:[e]}):Qe(e)?xf(Ji({},xr),{images:e}):Ji(Ji({},xr),e)}function Go(e){if(!jt())return;Go.close();const n=AI(e),t=Xe(n);t.teleport="body",to=t;const{unmountInstance:o}=Ar(ls,t,{onClose:()=>N(t.onClose),onClosed:()=>{N(t.onClosed),o(),to===t&&(to=null)},onRouteChange:()=>{o(),to===t&&(to=null)},"onUpdate:show":r=>{t.show=r}});t.show=!0}Go.close=()=>{if(to!=null){const e=to;to=null,en().then(()=>{e.show=!1})}};Go.setDefaultOptions=e=>{xr=e};Go.resetDefaultOptions=()=>{xr={}};Go.Component=ls;be(ls);be(ls,Go);var Ci=Go;const ca={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:W()};var ev=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:BI,n:zI,classes:VI}=pe("sticky");function RI(e,n){return C(),M("div",{class:m(e.classes(e.n(),[e.enableCSSMode,e.n("--css-mode")])),ref:"stickyEl",style:te({zIndex:e.toNumber(e.zIndex),top:e.enableCSSMode?`${e.offsetTop}px`:void 0,width:e.enableFixedMode?e.fixedWidth:void 0,height:e.enableFixedMode?e.fixedHeight:void 0})},[R("div",{class:m(e.n("wrapper")),ref:"wrapperEl",style:te({zIndex:e.toNumber(e.zIndex),position:e.enableFixedMode?"fixed":void 0,width:e.enableFixedMode?e.fixedWrapperWidth:void 0,height:e.enableFixedMode?e.fixedWrapperHeight:void 0,left:e.enableFixedMode?e.fixedLeft:void 0,top:e.enableFixedMode?e.fixedTop:void 0})},[X(e.$slots,"default")],6)],6)}const Xg=me({name:BI,props:ca,setup(e){const n=I(null),t=I(null),o=I(!1),r=I("0px"),i=I("0px"),a=I("auto"),s=I("auto"),l=I("auto"),u=I("auto"),c=L(()=>!e.disabled&&e.cssMode),d=L(()=>!e.disabled&&!e.cssMode&&o.value),f=L(()=>rn(e.offsetTop));let v;Ce(()=>e.disabled,g),Pn($),Ga(S),Mr(g),mo(()=>window,"scroll",h);function p(){const{cssMode:O,disabled:y}=e;if(y)return;let P=0;if(v!==window){const{top:U}=pn(v);P=U}const A=t.value,k=n.value,{top:D,left:T}=pn(k),B=D-P;return B<=f.value?(O||(a.value=`${k.offsetWidth}px`,s.value=`${k.offsetHeight}px`,r.value=`${P+f.value}px`,i.value=`${T}px`,l.value=`${A.offsetWidth}px`,u.value=`${A.offsetHeight}px`,o.value=!0),{offsetTop:f.value,isFixed:!0}):(o.value=!1,{offsetTop:B,isFixed:!1})}function h(){if(!v)return;const O=p();O&&N(e.onScroll,O.offsetTop,O.isFixed)}function g(){return ev(this,null,function*(){o.value=!1,yield ia(),p()})}function $(){return ev(this,null,function*(){yield Bn(),v=go(n.value),v!==window&&v.addEventListener("scroll",h),h()})}function S(){v!==window&&v.removeEventListener("scroll",h)}return{stickyEl:n,wrapperEl:t,isFixed:o,offsetTop:f,fixedTop:r,fixedLeft:i,fixedWidth:a,fixedHeight:s,fixedWrapperWidth:l,fixedWrapperHeight:u,enableCSSMode:c,enableFixedMode:d,n:zI,classes:VI,resize:g,toNumber:K}}});Xg.render=RI;var Gg=Xg;be(Gg);var Si=Gg;const Zg=Symbol("INDEX_BAR_BIND_INDEX_ANCHOR_KEY");function LI(){const{bindChildren:e,length:n,childProviders:t}=Tn(Zg);return{length:n,indexAnchors:t,bindIndexAnchors:e}}function UI(){const{parentProvider:e,index:n,bindParent:t}=On(Zg);return t||Gn("IndexAnchor",'You should use this component in "IndexBar"'),{index:n,indexBar:e,bindIndexBar:t}}const FI={index:[Number,String]},{name:HI,n:jI,classes:YI}=pe("index-anchor");function WI(e,n){return C(),Ae(Er(e.sticky?e.n("$-sticky"):e.Transition),{"offset-top":e.sticky?e.stickyOffsetTop:null,"z-index":e.sticky?e.zIndex:null,disabled:e.disabled&&!e.cssMode,"css-mode":e.cssMode,ref:"anchorEl"},{default:Te(()=>[R("div",Ze({class:e.n()},e.$attrs),[X(e.$slots,"default",{},()=>[je($e(e.name),1)])],16)]),_:3},8,["offset-top","z-index","disabled","css-mode"])}const Jg=me({name:HI,components:{VarSticky:Si},inheritAttrs:!1,props:FI,setup(e){const n=I(0),t=I(!1),o=L(()=>e.index),r=I(null),{index:i,indexBar:a,bindIndexBar:s}=UI(),{active:l,sticky:u,cssMode:c,stickyOffsetTop:d,zIndex:f}=a;s({index:i,name:o,ownTop:n,setOwnTop:p,setDisabled:h});function p(){r.value&&(n.value=r.value.$el?r.value.$el.offsetTop:r.value.offsetTop)}function h(g){t.value=g}return{n:jI,classes:YI,name:o,anchorEl:r,active:l,sticky:u,zIndex:f,disabled:t,cssMode:c,stickyOffsetTop:d,Transition:nn}}});Jg.render=WI;var Qg=Jg;be(Qg);var Fl=Qg;const qI={sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:[String,Number],default:0},cssMode:Boolean,stickyCssMode:Boolean,hideList:Boolean,zIndex:{type:[Number,String],default:1},highlightColor:String,duration:{type:[Number,String],default:0},onClick:W(),onChange:W()};var Qi=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:KI,n:XI,classes:GI}=pe("index-bar"),ZI=["onClick"];function JI(e,n){return C(),M("div",{class:m(e.n()),ref:"barEl"},[X(e.$slots,"default"),R("ul",{class:m(e.n("anchor-list")),style:te({zIndex:e.toNumber(e.zIndex)+2,display:e.hideList?"none":"block"})},[(C(!0),M(Re,null,un(e.anchorNameList,t=>(C(),M("li",{key:t,class:m(e.classes(e.n("anchor-item"),[e.active===t,e.n("anchor-item--active")])),style:te({color:e.active===t&&e.highlightColor?e.highlightColor:""}),onClick:o=>e.anchorClick({anchorName:t,manualCall:!0})},$e(t),15,ZI))),128))],6)],2)}const _g=me({name:KI,props:qI,setup(e){const n=I(""),t=I(null),o=I([]),r=I(),i=L(()=>e.sticky),a=L(()=>e.stickyCssMode||e.cssMode),s=L(()=>rn(e.stickyOffsetTop)),l=L(()=>e.zIndex),{length:u,indexAnchors:c,bindIndexAnchors:d}=LI();let f=null,v=!1;const p={active:r,sticky:i,cssMode:a,stickyOffsetTop:s,zIndex:l};Ce(()=>u.value,()=>Qi(this,null,function*(){yield Bn(),c.forEach(({name:k,setOwnTop:D})=>{k.value&&o.value.push(k.value),D()})})),Pn(()=>Qi(this,null,function*(){yield O(),y()})),Tr(P),jo(()=>{v=!0,P()}),Ut(()=>{!v||r.value===void 0||(S({anchorName:r.value,options:{event:!1}}),v=!1)}),d(p);function h(k,D){const T=di(k)?k.name.value:k;T===r.value||T===void 0||(r.value=T,(D==null?void 0:D.event)!==!1&&N(e.onChange,T))}function g(){if(Zu(f))return 0;const{top:k}=pn(f),{scrollTop:D}=f,{top:T}=pn(t.value);return D-k+T}function $(){const k=hr(f),D=f===window?document.body.scrollHeight:f.scrollHeight,T=g();c.forEach((B,U)=>{const z=B.ownTop.value,ae=k-z+s.value-T,re=U===c.length-1?D:c[U+1].ownTop.value-B.ownTop.value;B.setDisabled(!0),ae>=0&&aeD===oe.value);if(!U)return;const z=g(),ae=U.ownTop.value-s.value+z,re=Ju(f);n.value=D,h(D,B),yield vi(f,{left:re,top:ae,animation:Bm,duration:K(e.duration)}),yield Bn(),n.value=""})}function O(){return Qi(this,null,function*(){yield Bn(),f=go(t.value)})}function y(){f.addEventListener("scroll",$)}function P(){f.removeEventListener("scroll",$)}function A(k,D){fi(()=>S({anchorName:k,options:D}))}return{barEl:t,active:r,zIndex:l,anchorNameList:o,n:XI,classes:GI,toNumber:K,scrollTo:A,anchorClick:S}}});_g.render=JI;var xg=_g;be(xg);var Hl=xg,QI=Object.defineProperty,nv=Object.getOwnPropertySymbols,_I=Object.prototype.hasOwnProperty,xI=Object.prototype.propertyIsEnumerable,tv=(e,n,t)=>n in e?QI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,eM=(e,n)=>{for(var t in n||(n={}))_I.call(n,t)&&tv(e,t,n[t]);if(nv)for(var t of nv(n))xI.call(n,t)&&tv(e,t,n[t]);return e};const nM=eM({modelValue:String,modelModifiers:{type:Object,default:()=>({})},type:{type:String,default:"text"},textarea:Boolean,rows:{type:[String,Number],default:8},maxlength:[String,Number],readonly:Boolean,resize:Boolean,autofocus:Boolean,validateTrigger:{type:Array,default:()=>["onInput","onClear"]},rules:Array,enterkeyhint:String,onFocus:W(),onBlur:W(),onInput:W(),onChange:W(),onClear:W(),"onUpdate:modelValue":W()},Fe(vc,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])),{name:tM,n:oM,classes:rM}=pe("input"),iM=["placeholder","enterkeyhint"],aM=["id","disabled","readonly","type","value","placeholder","maxlength","rows","enterkeyhint","inputmode"],sM=["id","disabled","readonly","type","value","placeholder","maxlength","enterkeyhint","inputmode"];function lM(e,n){const t=we("var-field-decorator"),o=we("var-form-details");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"))),onMousedown:n[13]||(n[13]=(...r)=>e.handleMousedown&&e.handleMousedown(...r))},[ie(t,ao(Nr({value:e.modelValue,id:e.id,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,composing:e.isComposing,onClick:e.handleClick,onClear:e.handleClear})),ma({"append-icon":Te(()=>[X(e.$slots,"append-icon")]),default:Te(()=>[e.normalizedType==="password"?(C(),M("input",{key:0,tabindex:"-1",class:m(e.n("autocomplete")),placeholder:e.hint?void 0:e.placeholder,style:te({"--input-placeholder-color":e.placeholderColor}),enterkeyhint:e.enterkeyhint},null,14,iM)):he("v-if",!0),e.textarea?(C(),M("textarea",{key:1,class:m(e.classes(e.n("input"),e.n("--textarea"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,rows:e.rows,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:te({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,resize:e.resize?"vertical":"none","--input-placeholder-color":e.placeholderColor}),onFocus:n[0]||(n[0]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[1]||(n[1]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[2]||(n[2]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[3]||(n[3]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[4]||(n[4]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[5]||(n[5]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},` - `,46,aM)):(C(),M("input",{key:2,class:m(e.classes(e.n("input"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:te({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,"--input-placeholder-color":e.placeholderColor}),onFocus:n[6]||(n[6]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[7]||(n[7]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[8]||(n[8]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[9]||(n[9]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[10]||(n[10]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[11]||(n[11]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},null,46,sM))]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:Te(()=>[X(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040),ie(o,{"error-message":e.errorMessage,"extra-message":e.maxlengthText,onMousedown:n[12]||(n[12]=Xn(()=>{},["stop"]))},ma({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:Te(()=>[X(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"])],34)}const eb=me({name:tM,components:{VarFormDetails:Fn,VarFieldDecorator:yi},props:nM,setup(e){const n=lm(),t=I(null),o=I(!1),r=I(!1),{bindForm:i,form:a}=rt(),{errorMessage:s,validateWithTrigger:l,validate:u,resetValidation:c}=ot(),d=L(()=>e.disabled||e.readonly?"":"text"),f=L(()=>e.type==="number"?"text":e.type),v=L(()=>{const{maxlength:q,modelValue:ge}=e;return q?Ct(ge)?`0 / ${q}`:`${String(ge).length}/${q}`:""}),p=L(()=>{const{hint:q,blurColor:ge,focusColor:se}=e;if(!q)return s.value?"var(--field-decorator-error-color)":o.value?se||"var(--field-decorator-focus-color)":ge||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"});N(i,{reset:re,validate:oe,resetValidation:c}),Pn(()=>{e.autofocus&&_()});function g(q){en(()=>{const{validateTrigger:ge,rules:se,modelValue:ve}=e;l(ge,q,se,ve)})}function $(q){o.value=!0,N(e.onFocus,q),g("onFocus")}function S(q){o.value=!1,N(e.onBlur,q),g("onBlur")}function O(q){const ge=q.target;let{value:se}=ge;return e.type==="number"&&(se=B(se)),z(U(se))}function y(){r.value=!0}function P(q){r.value&&(r.value=!1,q.target.dispatchEvent(new Event("input")))}function A(q){if(r.value)return;const ge=O(q);N(e["onUpdate:modelValue"],ge),N(e.onInput,ge,q),g("onInput")}function k(q){const ge=O(q);N(e.onChange,ge,q),g("onChange")}function D(){const{disabled:q,readonly:ge,clearable:se,onClear:ve}=e;a!=null&&a.disabled.value||a!=null&&a.readonly.value||q||ge||!se||(N(e["onUpdate:modelValue"],""),N(ve,""),g("onClear"))}function T(q){const{disabled:ge,onClick:se}=e;a!=null&&a.disabled.value||ge||(N(se,q),g("onClick"))}function B(q){const ge=q.indexOf("-"),se=q.indexOf(".");return ge>-1&&(q=ge===0?"-"+q.replace(/-/g,""):q.replace(/-/g,"")),se>-1&&(q=q.slice(0,se+1)+q.slice(se).replace(/\./g,"")),q.replace(/[^-0-9.]/g,"")}function U(q){return e.modelModifiers.trim?q.trim():q}function z(q){return e.maxlength?q.slice(0,K(e.maxlength)):q}function ae(q){const{disabled:ge}=e;a!=null&&a.disabled.value||ge||q.target===t.value||(_(),pt(q))}function re(){N(e["onUpdate:modelValue"],""),c()}function oe(){return u(e.rules,e.modelValue)}function _(){var q;(q=t.value)==null||q.focus()}function x(){t.value.blur()}return{el:t,id:n,isFocus:o,isComposing:r,errorMessage:s,placeholderColor:p,normalizedType:f,cursor:d,maxlengthText:v,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,n:oM,classes:rM,isEmpty:Ct,handleFocus:$,handleBlur:S,handleInput:A,handleChange:k,handleClear:D,handleClick:T,handleCompositionStart:y,handleCompositionEnd:P,handleMousedown:ae,validate:oe,resetValidation:c,reset:re,focus:_,blur:x}}});eb.render=lM;var nb=eb;be(nb);var Da=nb;const uM={type:{type:String,default:"default"},href:String,target:String,rel:String,to:[String,Object],replace:Boolean,underline:{type:String,default:"always"},disabled:Boolean,textSize:[String,Number],textColor:String,onClick:W()},{name:cM,n:dM,classes:fM}=pe("link");function vM(e,n){return C(),Ae(Er(e.tag),Ze(e.linkProps,{class:e.classes(e.n(),e.n("$--box"),e.n("$--inline-flex"),e.n(`--${e.type}`),[e.underline!=="none",e.n(`--underline-${e.underline}`)],[e.disabled,e.n("--disabled")]),style:{color:e.textColor,fontSize:e.toSizeUnit(e.textSize)},onClick:e.handleClick}),{default:Te(()=>[X(e.$slots,"default")]),_:3},16,["class","style","onClick"])}const tb=me({name:cM,props:uM,setup(e){const n=L(()=>e.disabled?"span":e.href?"a":e.to?"router-link":"a"),t=L(()=>{const{disabled:r,href:i,target:a,to:s,replace:l,rel:u}=e;return r?{}:i?{href:i,target:a,rel:u}:s?{to:s,target:a,replace:l}:{}});function o(r){e.disabled||N(e.onClick,r)}return{tag:n,linkProps:t,n:dM,classes:fM,handleClick:o,toSizeUnit:ze}}});tb.render=vM;var ob=tb;be(ob);var jl=ob;const hM={loading:Boolean,immediateCheck:{type:Boolean,default:!0},finished:Boolean,error:Boolean,offset:{type:[String,Number],default:0},loadingText:String,finishedText:String,errorText:String,onLoad:W(),"onUpdate:loading":W(),"onUpdate:error":W()},rb=Symbol("TABS_ITEMS_BIND_TAB_ITEM_KEY");function mM(){const{bindChildren:e,childProviders:n,length:t}=Tn(rb);return{length:t,tabItemList:n,bindTabItem:e}}const ib=Symbol("TAB_ITEM_BIND_LIST_KEY");function pM(){const{parentProvider:e,bindParent:n,index:t}=On(rb);return n||Gn("TabItem"," must in "),{index:t,tabsItems:e,bindTabsItems:n}}function gM(){const{childProviders:e,bindChildren:n,length:t}=Tn(ib);return{length:t,lists:e,bindLists:n}}function bM(){const{parentProvider:e,bindParent:n,index:t}=On(ib);return{index:t,tabItem:e,bindTabItem:n}}var yM=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:$M,n:wM,classes:CM}=pe("list");function SM(e,n){const t=we("var-loading"),o=Ge("ripple");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"))),ref:"listEl"},[X(e.$slots,"default"),e.loading?X(e.$slots,"loading",{key:0},()=>{var r;return[R("div",{class:m(e.n("loading"))},[R("div",{class:m(e.n("loading-text"))},$e((r=e.loadingText)!=null?r:e.pack.listLoadingText),3),ie(t,{size:"mini",radius:10})],2)]}):he("v-if",!0),e.finished?X(e.$slots,"finished",{key:1},()=>{var r;return[R("div",{class:m(e.n("finished"))},$e((r=e.finishedText)!=null?r:e.pack.listFinishedText),3)]}):he("v-if",!0),e.error?X(e.$slots,"error",{key:2},()=>{var r;return[He((C(),M("div",{class:m(e.n("error")),onClick:n[0]||(n[0]=(...i)=>e.load&&e.load(...i))},[je($e((r=e.errorText)!=null?r:e.pack.listErrorText),1)],2)),[[o]])]}):he("v-if",!0),R("div",{class:m(e.n("detector")),ref:"detectorEl"},null,2)],2)}const ab=me({name:$M,directives:{Ripple:vn},components:{VarLoading:pr},props:hM,setup(e){const n=I(null),t=I(null),{tabItem:o,bindTabItem:r}=bM();let i;N(r,{}),o&&Ce(()=>o.current.value,u),Ce(()=>[e.loading,e.error,e.finished],u),Pn(()=>{i=go(n.value),i.addEventListener("scroll",u),e.immediateCheck&&u()}),Ga(l);function a(){N(e["onUpdate:error"],!1),N(e["onUpdate:loading"],!0),N(e.onLoad)}function s(){const{bottom:c}=pn(i),{bottom:d}=pn(t.value);return Math.floor(d)-rn(e.offset)<=c}function l(){i.removeEventListener("scroll",u)}function u(){return yM(this,null,function*(){yield en(),!(e.loading||e.finished||e.error||(o==null?void 0:o.current.value)===!1||!s())&&a()})}return{pack:bn,listEl:n,detectorEl:t,isNumber:Rn,load:a,check:u,n:wM,classes:CM}}});ab.render=SM;var sb=ab;be(sb);var Yl=sb;const kM={value:{type:Number,default:0},opacity:{type:Number,default:0},error:Boolean,color:String,errorColor:String,height:[Number,String],top:[Number,String]},{name:PM,classes:OM,n:ov}=pe("loading-bar");var TM=me({name:PM,props:kM,setup(e){return()=>ie("div",{class:OM(ov(),[e.error,ov("--error")]),style:{zIndex:Kn.zIndex+10,width:`${e.value}%`,opacity:e.opacity,height:ze(e.height),backgroundColor:e.error?e.errorColor:e.color,top:ze(e.top)}},null)}});let lb,ub,us,cb,rv,db={};const EM={value:0,opacity:0,error:!1},Cn=Xe(EM),NM=e=>{Object.assign(Cn,e)},IM=e=>{Object.assign(Cn,e),db=e},MM=()=>{Object.keys(db).forEach(e=>{Cn[e]!==void 0&&(Cn[e]=void 0)})},fb=()=>{rv||(rv=!0,Ar(TM,Cn))},hc=()=>{lb=window.setTimeout(()=>{if(Cn.value>=95)return;let e=Math.random();Cn.value<70&&(e=Math.round(5*Math.random())),Cn.value+=e,hc()},200)},mc=()=>{window.clearTimeout(ub),window.clearTimeout(lb),window.clearTimeout(us),window.clearTimeout(cb)},DM=()=>{mc(),Cn.error=!1,Cn.value=0,fb(),us=window.setTimeout(()=>{Cn.opacity=1},200),hc()},vb=()=>{mc(),Cn.value=100,us=window.setTimeout(()=>{Cn.opacity=0,ub=window.setTimeout(()=>{Cn.error=!1},250)},300)},AM=()=>{mc(),Cn.error=!0,Cn.value===100&&(Cn.value=0),fb(),us=window.setTimeout(()=>{Cn.opacity=1},200),hc(),cb=window.setTimeout(vb,300)},BM={start:DM,finish:vb,error:AM,mergeConfig:NM,setDefaultOptions:IM,resetDefaultOptions:MM};var Wl=BM;const hb={show:Boolean,disabled:Boolean,trigger:{type:String,default:"click"},reference:String,placement:{type:String,default:"cover-top-start"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,elevation:{type:[Boolean,String,Number],default:!0},defaultStyle:{type:Boolean,default:!0},popoverClass:String,closeOnClickReference:Boolean,onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),onClickOutside:W(),"onUpdate:show":W()},{name:zM,n:VM,classes:RM}=pe("menu");function LM(e,n){return C(),M("div",{ref:"host",class:m(e.classes(e.n(),e.n("$--box"))),onClick:n[3]||(n[3]=(...t)=>e.handleHostClick&&e.handleHostClick(...t)),onMouseenter:n[4]||(n[4]=(...t)=>e.handleHostMouseenter&&e.handleHostMouseenter(...t)),onMouseleave:n[5]||(n[5]=(...t)=>e.handleHostMouseleave&&e.handleHostMouseleave(...t))},[X(e.$slots,"default"),(C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[ie(nn,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed,persisted:""},{default:Te(()=>[He(R("div",{ref:"popover",style:te({zIndex:e.zIndex,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:m(e.classes(e.n("menu"),e.n("$--box"),e.popoverClass,[e.defaultStyle,e.n("--menu-background-color")],[e.defaultStyle,e.formatElevation(e.elevation,3)])),onClick:n[0]||(n[0]=Xn(()=>{},["stop"])),onMouseenter:n[1]||(n[1]=(...t)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...t)),onMouseleave:n[2]||(n[2]=(...t)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...t))},[X(e.$slots,"menu")],38),[[kt,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const mb=me({name:zM,props:hb,setup(e){const{disabled:n}=qo(),{popover:t,host:o,hostSize:r,show:i,zIndex:a,handleHostClick:s,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handlePopoverClose:f,handleClosed:v,open:p,close:h,resize:g}=Tg(e);return{popover:t,host:o,hostSize:r,show:i,zIndex:a,teleportDisabled:n,formatElevation:In,toSizeUnit:ze,n:VM,classes:RM,handleHostClick:s,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handlePopoverClose:f,handleClosed:v,resize:g,open:p,close:h}}});mb.render=LM;var pb=mb;be(pb);var wr=pb;const gb=Symbol("MENU_SELECT_BIND_MENU_OPTION_KEY");function UM(){const{length:e,childProviders:n,bindChildren:t}=Tn(gb);return{length:e,menuOptions:n,bindMenuOptions:t}}function FM(){const{index:e,parentProvider:n,bindParent:t}=On(gb);return t||Gn("MenuOption"," must in "),{index:e,menuSelect:n,bindMenuSelect:t}}const HM={label:{},value:{},disabled:Boolean},{name:jM,n:YM,classes:WM}=pe("menu-option");function qM(e,n){const t=we("var-checkbox"),o=we("var-hover-overlay"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.n(`--${e.size}`),[e.optionSelected,e.n("--selected-color")],[e.disabled,e.n("--disabled")])),onClick:n[2]||(n[2]=(...a)=>e.handleClick&&e.handleClick(...a))},[R("div",{class:m(e.classes(e.n("cover"),[e.optionSelected,e.n("--selected-background")]))},null,2),e.multiple?(C(),Ae(t,{key:0,ref:"checkbox",modelValue:e.optionSelected,"onUpdate:modelValue":n[0]||(n[0]=a=>e.optionSelected=a),disabled:e.disabled,onClick:n[1]||(n[1]=Xn(()=>{},["stop"])),onChange:e.handleSelect},null,8,["modelValue","disabled","onChange"])):he("v-if",!0),X(e.$slots,"default",{},()=>[R("div",{class:m(e.classes(e.n("text"),e.n("$--ellipsis")))},$e(e.label),3)]),ie(o,{hovering:e.hovering&&!e.disabled},null,8,["hovering"])],2)),[[r,{disabled:e.disabled}],[i,e.handleHovering,"desktop"]])}const bb=me({name:jM,directives:{Ripple:vn,Hover:Zn},components:{VarCheckbox:mi,VarHoverOverlay:tt},props:HM,setup(e){const n=I(!1),t=L(()=>n.value),o=L(()=>e.label),r=L(()=>e.value),{menuSelect:i,bindMenuSelect:a}=FM(),{size:s,multiple:l,onSelect:u,computeLabel:c}=i,{hovering:d,handleHovering:f}=Pt(),v={label:o,value:r,selected:t,sync:g};Ce([()=>e.label,()=>e.value],c),a(v);function p(){e.disabled||h()}function h(){l.value&&(n.value=!n.value),u(v)}function g($){n.value=$}return{optionSelected:n,size:s,multiple:l,hovering:d,n:YM,classes:WM,handleHovering:f,handleClick:p,handleSelect:h}}});bb.render=qM;var yb=bb;be(yb);var ql=yb,KM=Object.defineProperty,iv=Object.getOwnPropertySymbols,XM=Object.prototype.hasOwnProperty,GM=Object.prototype.propertyIsEnumerable,av=(e,n,t)=>n in e?KM(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ZM=(e,n)=>{for(var t in n||(n={}))XM.call(n,t)&&av(e,t,n[t]);if(iv)for(var t of iv(n))GM.call(n,t)&&av(e,t,n[t]);return e};const JM=ZM({modelValue:{default:void 0},size:{type:String,default:"normal"},multiple:Boolean,scrollable:Boolean,closeOnSelect:{type:Boolean,default:!0},"onUpdate:modelValue":W()},Fe(hb,["show","disabled","trigger","reference","placement","strategy","offsetX","offsetY","teleport","sameWidth","elevation","popoverClass","closeOnClickReference","onOpen","onOpened","onClose","onClosed","onClickOutside","onUpdate:show"]));function $b(e){const{multiple:n,modelValue:t,optionProviders:o,optionProvidersLength:r}=e,i=I(""),a=I([]);Ce(t,d,{deep:!0}),Ce(r,d);function s(){const f=n(),v=t();f&&(a.value=v.map(l)),!f&&!Ct(v)&&(i.value=l(v)),!f&&Ct(v)&&(i.value="")}function l(f){var v;const p=o();let h=p.find(({value:g})=>g.value===f);return h||(h=p.find(({label:g})=>g.value===f)),(v=h==null?void 0:h.label.value)!=null?v:""}function u({value:f,label:v}){return f.value!=null?f.value:v.value}function c(f){const v=n(),p=o();return v?p.filter(({selected:h})=>h.value).map(u):u(f)}function d(){const f=n(),v=t(),p=o();f?p.forEach(h=>h.sync(v.includes(u(h)))):p.forEach(h=>h.sync(v===u(h))),s()}return{label:i,labels:a,computeLabel:s,getSelectedValue:c}}const{name:QM,n:_M,classes:xM}=pe("menu-select");function e3(e,n){const t=we("var-menu");return C(),Ae(t,{ref:"menu",class:m(e.n()),disabled:e.disabled,trigger:e.trigger,reference:e.reference,placement:e.placement,strategy:e.strategy,"offset-x":e.offsetX,"offset-y":e.offsetY,teleport:e.teleport,"same-width":e.sameWidth,elevation:e.elevation,"default-style":!1,"popover-class":e.popoverClass,"close-on-click-reference":e.closeOnClickReference,show:e.show,"onUpdate:show":n[0]||(n[0]=o=>e.show=o),onOpen:e.onOpen,onOpened:e.onOpened,onClose:e.onClose,onClosed:e.onClosed,onClickOutside:e.onClickOutside},{menu:Te(()=>[R("div",{class:m(e.classes(e.n("menu"),e.formatElevation(e.elevation,3),[e.scrollable,e.n("--scrollable")]))},[X(e.$slots,"options")],2)]),default:Te(()=>[X(e.$slots,"default")]),_:3},8,["class","disabled","trigger","reference","placement","strategy","offset-x","offset-y","teleport","same-width","elevation","popover-class","close-on-click-reference","show","onOpen","onOpened","onClose","onClosed","onClickOutside"])}const wb=me({name:QM,components:{VarMenu:wr},props:JM,setup(e){const n=I(null),t=Vt(e,"show"),{menuOptions:o,length:r,bindMenuOptions:i}=UM(),{computeLabel:a,getSelectedValue:s}=$b({modelValue:()=>e.modelValue,multiple:()=>e.multiple,optionProviders:()=>o,optionProvidersLength:()=>r.value}),l={size:L(()=>e.size),multiple:L(()=>e.multiple),computeLabel:a,onSelect:u};i(l);function u(v){const{multiple:p,closeOnSelect:h}=e;N(e["onUpdate:modelValue"],s(v)),!p&&h&&(t.value=!1)}function c(){var v;(v=n.value)==null||v.open()}function d(){var v;(v=n.value)==null||v.close()}function f(){var v;(v=n.value)==null||v.resize()}return{show:t,menu:n,n:_M,classes:xM,formatElevation:In,open:c,close:d,resize:f}}});wb.render=e3;var Cb=wb;be(Cb);var Kl=Cb;const Sb=Symbol("SELECT_BIND_OPTION_KEY");function n3(){const{length:e,childProviders:n,bindChildren:t}=Tn(Sb);return{length:e,options:n,bindOptions:t}}function t3(){const{index:e,parentProvider:n,bindParent:t}=On(Sb);return t||Gn("Option"," must in "),{index:e,select:n,bindSelect:t}}const o3={label:{},value:{},disabled:Boolean},{name:r3,n:i3,classes:a3}=pe("option");function s3(e,n){const t=we("var-checkbox"),o=we("var-hover-overlay"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.optionSelected,e.n("--selected-color")],[e.disabled,e.n("--disabled")])),style:te({color:e.optionSelected?e.focusColor:void 0}),onClick:n[2]||(n[2]=(...a)=>e.handleClick&&e.handleClick(...a))},[R("div",{class:m(e.classes(e.n("cover"),[e.optionSelected,e.n("--selected-background")])),style:te({background:e.optionSelected?e.focusColor:void 0})},null,6),e.multiple?(C(),Ae(t,{key:0,ref:"checkbox",modelValue:e.optionSelected,"onUpdate:modelValue":n[0]||(n[0]=a=>e.optionSelected=a),"checked-color":e.focusColor,disabled:e.disabled,onClick:n[1]||(n[1]=Xn(()=>{},["stop"])),onChange:e.handleSelect},null,8,["modelValue","checked-color","disabled","onChange"])):he("v-if",!0),X(e.$slots,"default",{},()=>[R("div",{class:m(e.classes(e.n("text"),e.n("$--ellipsis")))},$e(e.label),3)]),ie(o,{hovering:e.hovering&&!e.disabled},null,8,["hovering"])],6)),[[r,{disabled:e.disabled}],[i,e.handleHovering,"desktop"]])}const kb=me({name:r3,directives:{Ripple:vn,Hover:Zn},components:{VarCheckbox:mi,VarHoverOverlay:tt},props:o3,setup(e){const n=I(!1),t=L(()=>n.value),o=L(()=>e.label),r=L(()=>e.value),{select:i,bindSelect:a}=t3(),{multiple:s,focusColor:l,onSelect:u,computeLabel:c}=i,{hovering:d,handleHovering:f}=Pt(),v={label:o,value:r,selected:t,sync:g};Ce([()=>e.label,()=>e.value],c),a(v);function p(){e.disabled||h()}function h(){s.value&&(n.value=!n.value),u(v)}function g($){n.value=$}return{optionSelected:n,multiple:s,focusColor:l,hovering:d,n:i3,classes:a3,handleHovering:f,handleClick:p,handleSelect:h}}});kb.render=s3;var Pb=kb;be(Pb);var Xl=Pb;const l3={show:Boolean,lockScroll:{type:Boolean,default:!0},teleport:[String,Object,Boolean],onClick:W(),"onUpdate:show":W()},{name:u3,n:sv}=pe("overlay");var Ob=me({name:u3,inheritAttrs:!1,props:l3,setup(e,{slots:n,attrs:t}){const{zIndex:o}=Ai(()=>e.show,1),{disabled:r}=qo();Di(()=>e.show,()=>e.lockScroll);function i(){N(e.onClick),N(e["onUpdate:show"],!1)}function a(){return ie("div",Ze({class:sv(),style:{zIndex:o.value-1}},t,{onClick:i}),[N(n.default)])}function s(){return ie(nn,{name:sv("--fade")},{default:()=>[e.show&&a()]})}return()=>{const{teleport:l}=e;return l?ie(Et,{to:l,disabled:r.value},{default:()=>[s()]}):s()}}});be(Ob);var Gl=Ob;const c3={current:[Number,String],size:{type:[Number,String],default:10},total:{type:[Number,String],default:0},elevation:{type:[Boolean,Number,String],default:!0},maxPagerCount:{type:Number,default:3},disabled:Boolean,simple:{type:Boolean,default:!0},showSizeChanger:{type:Boolean,default:!0},showQuickJumper:Boolean,sizeOption:{type:Array,default:()=>[10,20,50,100]},showTotal:Function,onChange:W(),"onUpdate:current":W(),"onUpdate:size":W()},{name:d3,n:f3,classes:v3}=pe("pagination"),h3=["item-mode","onClick"];function m3(e,n){const t=we("var-icon"),o=we("var-input"),r=we("var-cell"),i=we("var-menu"),a=Ge("ripple");return C(),M("ul",{class:m(e.n())},[He((C(),M("li",{class:m(e.classes(e.n("item"),e.n("prev"),[e.current<=1||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:n[0]||(n[0]=s=>e.clickItem("prev"))},[X(e.$slots,"prev",{},()=>[ie(t,{name:"chevron-left"})])],2)),[[a,{disabled:e.current<=1||e.disabled}]]),e.simple?(C(),M("li",{key:0,class:m(e.classes(e.n("simple"),[e.disabled,e.n("item--disabled")]))},[ie(o,{"var-pagination-cover":"",hint:!1,disabled:e.disabled,modelValue:e.simpleCurrentValue,"onUpdate:modelValue":n[1]||(n[1]=s=>e.simpleCurrentValue=s),onBlur:n[2]||(n[2]=s=>e.setPage("simple",e.simpleCurrentValue,s)),onKeydown:n[3]||(n[3]=md(s=>e.setPage("simple",e.simpleCurrentValue,s),["enter"]))},null,8,["disabled","modelValue"]),R("span",null,[je(" / "+$e(e.pageCount)+" ",1),R("div",{class:m(e.n("simple-line"))},null,2)])],2)):(C(!0),M(Re,{key:1},un(e.pageList,(s,l)=>He((C(),M("li",{key:l,"item-mode":e.getMode(s,l),class:m(e.classes(e.n("item"),e.formatElevation(e.elevation,2),[s===e.current&&!e.disabled,e.n("item--active")],[e.isHideEllipsis(s,l),e.n("item--hide")],[e.disabled,e.n("item--disabled")],[s===e.current&&e.disabled,e.n("item--disabled--active")])),onClick:u=>e.clickItem(s,l)},[je($e(s),1)],10,h3)),[[a,{disabled:e.disabled}]])),128)),He((C(),M("li",{class:m(e.classes(e.n("item"),e.n("next"),[e.current>=e.pageCount||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:n[4]||(n[4]=s=>e.clickItem("next"))},[X(e.$slots,"next",{},()=>[ie(t,{name:"chevron-right"})])],2)),[[a,{disabled:e.current>=e.pageCount||e.disabled}]]),e.showSizeChanger?(C(),M("li",{key:2,class:m(e.classes(e.n("size"),[e.disabled,e.n("item--disabled")]))},[ie(i,{placement:"cover-top",disabled:e.disabled,show:e.menuVisible,"onUpdate:show":n[6]||(n[6]=s=>e.menuVisible=s)},{menu:Te(()=>[(C(!0),M(Re,null,un(e.sizeOption,(s,l)=>He((C(),Ae(r,{class:m(e.classes(e.n("list"),[e.size===s,e.n("list--active")])),key:l,onClick:u=>e.clickSize(s)},{default:Te(()=>[je($e(s)+$e(e.pack.paginationItem)+" / "+$e(e.pack.paginationPage),1)]),_:2},1032,["class","onClick"])),[[a]])),128))]),default:Te(()=>[R("div",{class:m(e.classes(e.n("size--open"),[e.current<=1||e.disabled,e.n("size--open--disabled")])),onClick:n[5]||(n[5]=Xn((...s)=>e.showMenu&&e.showMenu(...s),["stop"]))},[R("span",null,$e(e.size)+$e(e.pack.paginationItem)+" / "+$e(e.pack.paginationPage),1),ie(t,{class:m(e.n("size--open-icon")),"var-pagination-cover":"",name:"menu-down"},null,8,["class"])],2)]),_:1},8,["disabled","show"])],2)):he("v-if",!0),e.showQuickJumper&&!e.simple?(C(),M("li",{key:3,class:m(e.classes(e.n("quickly"),[e.disabled,e.n("item--disabled")]))},[je($e(e.pack.paginationJump)+" ",1),ie(o,{modelValue:e.quickJumperValue,"onUpdate:modelValue":n[7]||(n[7]=s=>e.quickJumperValue=s),disabled:e.disabled,"var-pagination-cover":"",onBlur:n[8]||(n[8]=s=>e.setPage("quick",e.quickJumperValue,s)),onKeydown:n[9]||(n[9]=md(s=>e.setPage("quick",e.quickJumperValue,s),["enter"]))},null,8,["modelValue","disabled"])],2)):he("v-if",!0),e.totalText?(C(),M("li",{key:4,class:m(e.classes(e.n("total"),[e.disabled,e.n("item--disabled")]))},$e(e.totalText),3)):he("v-if",!0)],2)}const Tb=me({name:d3,components:{VarMenu:wr,VarIcon:tn,VarCell:Sa,VarInput:Da},directives:{Ripple:vn},props:c3,setup(e){const n=I(!1),t=I(""),o=I("1"),r=I(!1),i=I(!1),a=I(K(e.current)||1),s=I(K(e.size)||10),l=I([]),u=L(()=>Math.ceil(e.maxPagerCount/2)),c=L(()=>Math.ceil(K(e.total)/K(s.value))),d=L(()=>{const y=s.value*(a.value-1)+1,P=Math.min(s.value*a.value,K(e.total));return[y,P]}),f=L(()=>e.showTotal?e.showTotal(K(e.total),d.value):"");Ce([()=>e.current,()=>e.size],([y,P])=>{a.value=K(y)||1,s.value=K(P||10)}),Ce([a,s,c],([y,P,A],[k,D])=>{let T=[];const{maxPagerCount:B,total:U,onChange:z}=e,ae=Math.ceil(K(U)/K(D)),re=A-(B-u.value)-1;if(o.value=`${y}`,A-2>B){if(k===void 0||A!==ae)for(let oe=2;oeB&&y=re){T=[];for(let oe=1;oe0&&N(z,y,P),N(e["onUpdate:current"],y),N(e["onUpdate:size"],P)},{immediate:!0});function v(y,P){return Rn(y)?!1:P===1?r.value:i.value}function p(y,P){return Rn(y)?"basic":P===1?"head":"tail"}function h(y,P){if(!(y===a.value||e.disabled)){if(y==="..."){a.value=P===1?Math.max(a.value-e.maxPagerCount,1):Math.min(a.value+e.maxPagerCount,c.value);return}if(y==="prev"){a.value=S(a.value-1);return}if(y==="next"){a.value=S(a.value+1);return}Rn(y)&&(a.value=y)}}function g(){e.disabled||(n.value=!0)}function $(y){s.value=y,n.value=!1;const P=S(a.value);o.value=String(P),a.value=P}function S(y){return y>c.value?c.value:y<1?1:y}function O(y,P,A){A.target.blur();const k=S(K(P));o.value=String(k),a.value=k,y==="quick"&&(t.value="")}return{pack:bn,current:a,menuVisible:n,size:s,pageCount:c,pageList:l,quickJumperValue:t,simpleCurrentValue:o,totalText:f,n:f3,classes:v3,getMode:p,isHideEllipsis:v,clickItem:h,showMenu:g,clickSize:$,setPage:O,toNumber:K,formatElevation:In}}});Tb.render=m3;var Eb=Tb;be(Eb);var Zl=Eb;const p3={elevation:{type:[Boolean,Number,String],default:!1},ripple:Boolean,radius:[Number,String],width:[Number,String],height:[Number,String],round:Boolean,inline:Boolean,onClick:W()},{name:g3,n:b3,classes:y3}=pe("paper");function $3(e,n){const t=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.formatElevation(e.elevation,2),[e.onClick,e.n("--cursor")],[e.round,e.n("--round")],[e.inline,e.n("$--inline-flex")])),style:te({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),"border-radius":e.toSizeUnit(e.radius)}),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[X(e.$slots,"default")],6)),[[t,{disabled:!e.ripple}]])}const Nb=me({name:g3,directives:{Ripple:vn},props:p3,setup(e){function n(t){N(e.onClick,t)}return{n:b3,classes:y3,formatElevation:In,toSizeUnit:ze,handleClick:n}}});Nb.render=$3;var Ib=Nb;be(Ib);var Jl=Ib,w3=Object.defineProperty,lv=Object.getOwnPropertySymbols,C3=Object.prototype.hasOwnProperty,S3=Object.prototype.propertyIsEnumerable,uv=(e,n,t)=>n in e?w3(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,k3=(e,n)=>{for(var t in n||(n={}))C3.call(n,t)&&uv(e,t,n[t]);if(lv)for(var t of lv(n))S3.call(n,t)&&uv(e,t,n[t]);return e};const P3=k3({modelValue:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]},title:String,textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},childrenKey:{type:String,default:"children"},toolbar:{type:Boolean,default:!0},cascade:Boolean,optionHeight:{type:[Number,String],default:44},optionCount:{type:[Number,String],default:6},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,dynamic:Boolean,onChange:W(),onConfirm:W(),onCancel:W(),"onUpdate:modelValue":W()},Fe(Mi,["show","onUpdate:show","closeOnClickOverlay","teleport","safeArea","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])),{name:O3,n:T3,classes:E3}=pe("picker"),cv=300,N3=15,dv=200,I3=1e3;let fv=0;const M3=["onTouchstartPassive","onTouchmove","onTouchend"],D3=["onTransitionend"],A3=["onClick"];function B3(e,n){const t=we("var-button");return C(),Ae(Er(e.dynamic?e.n("$-popup"):e.Transition),Ze(e.dynamic?{onOpen:e.onOpen,onOpened:e.onOpened,onClose:e.onClose,onClosed:e.onClosed,onClickOverlay:e.onClickOverlay,onRouteChange:e.onRouteChange,closeOnClickOverlay:e.closeOnClickOverlay,teleport:e.teleport,show:e.show,safeArea:e.safeArea,"onUpdate:show":e.handlePopupUpdateShow,position:"bottom",class:e.n("popup")}:null,{"var-picker-cover":""}),{default:Te(()=>[R("div",Ze({class:e.n()},e.$attrs),[e.toolbar?(C(),M("div",{key:0,class:m(e.n("toolbar"))},[X(e.$slots,"cancel",{},()=>[ie(t,{class:m(e.n("cancel-button")),"var-picker-cover":"",text:"","text-color":e.cancelButtonTextColor,onClick:e.cancel},{default:Te(()=>{var o;return[je($e((o=e.cancelButtonText)!=null?o:e.pack.pickerCancelButtonText),1)]}),_:1},8,["class","text-color","onClick"])]),X(e.$slots,"title",{},()=>{var o;return[R("div",{class:m(e.n("title"))},$e((o=e.title)!=null?o:e.pack.pickerTitle),3)]}),X(e.$slots,"confirm",{},()=>[ie(t,{class:m(e.n("confirm-button")),text:"","var-picker-cover":"","text-color":e.confirmButtonTextColor,onClick:e.confirm},{default:Te(()=>{var o;return[je($e((o=e.confirmButtonText)!=null?o:e.pack.pickerConfirmButtonText),1)]}),_:1},8,["class","text-color","onClick"])])],2)):he("v-if",!0),R("div",{class:m(e.n("columns")),style:te({height:`${e.columnHeight}px`})},[(C(!0),M(Re,null,un(e.scrollColumns,o=>(C(),M("div",{class:m(e.n("column")),key:o.id,onTouchstartPassive:r=>e.handleTouchstart(r,o),onTouchmove:Xn(r=>e.handleTouchmove(r,o),["prevent"]),onTouchend:r=>e.handleTouchend(o)},[R("div",{class:m(e.n("scroller")),ref_for:!0,ref:r=>e.setScrollEl(r,o),style:te({transform:`translateY(${o.translate}px)`,transitionDuration:`${o.duration}ms`,transitionProperty:o.duration?"transform":"none"}),onTransitionend:r=>e.handleTransitionend(o)},[(C(!0),M(Re,null,un(o.column,(r,i)=>(C(),M("div",{key:e.getValue(r),class:m(e.classes(e.n("option"),r.className)),style:te({height:`${e.optionHeight}px`}),onClick:a=>e.handleClick(o,i)},[R("div",{class:m(e.classes(e.n("text"),r.textClassName))},$e(r[e.getOptionKey("text")]),3)],14,A3))),128))],46,D3)],42,M3))),128)),R("div",{class:m(e.n("picked")),style:te({top:`${e.center}px`,height:`${e.optionHeight}px`})},null,6),R("div",{class:m(e.n("mask")),style:te({backgroundSize:`100% ${(e.columnHeight-e.optionHeight)/2}px`})},null,6)],6)],16)]),_:3},16)}const Mb=me({name:O3,components:{VarButton:Un,VarPopup:po},inheritAttrs:!1,props:P3,setup(e){const n=Vt(e,"modelValue"),t=I([]),o=L(()=>rn(e.optionHeight)),r=L(()=>rn(e.optionCount)),i=L(()=>r.value*o.value/2-o.value/2),a=L(()=>r.value*o.value),{prevY:s,moveY:l,dragging:u,startTouch:c,moveTouch:d,endTouch:f}=Dr();let v=[];P(),Ce(()=>e.columns,P,{deep:!0}),Ce(()=>n.value,A);function p(j){return{text:e.textKey,value:e.valueKey,children:e.childrenKey}[j]}function h(j){var ee;return(ee=j[p("value")])!=null?ee:j[p("text")]}function g(j){v=[...j]}function $(j){return j.map(ee=>{const V={id:fv++,prevY:0,momentumPrevY:0,touching:!1,translate:i.value,index:0,duration:0,momentumTime:0,column:ee,scrollEl:null,scrolling:!1};return ae(V),V})}function S(j){const ee=[];return O(ee,j),ee}function O(j,ee){var V;if(ee.length){const fe={id:fv++,prevY:0,momentumPrevY:0,touching:!1,translate:i.value,index:0,duration:0,momentumTime:0,column:ee,scrollEl:null,scrolling:!1};j.push(fe),ae(fe),O(j,(V=fe.column[fe.index][p("children")])!=null?V:[])}}function y(j){var ee;t.value.splice(t.value.indexOf(j)+1),O(t.value,(ee=j.column[j.index][p("children")])!=null?ee:[])}function P(){t.value=e.cascade?S(e.columns):$(e.columns),A()}function A(){t.value.forEach((ee,V)=>{const fe=ee.column.findIndex(H=>n.value[V]===h(H));ee.index=fe===-1?0:fe,ae(ee)});const{indexes:j}=z();g(j)}function k(j,ee){ee.scrollEl=j}function D(j){N(e["onUpdate:show"],j)}function T(j){const ee=i.value-j.column.length*o.value,V=o.value+i.value;j.translate=ho(j.translate,ee,V)}function B(j,ee){const V=Math.round((i.value-ee)/o.value);return bw(V,j.column)}function U(j){return j.translate=i.value-j.index*o.value,j.translate}function z(){const j=[],ee=[],V=[];return t.value.forEach(({column:fe,index:H})=>{const J=fe[H];j.push(h(J)),ee.push(H),V.push(J)}),{values:j,indexes:ee,options:V}}function ae(j,ee=0){U(j),j.duration=ee}function re(j,ee,V){j.translate+=Math.abs(ee/V)/.003*(ee<0?-1:1)}function oe(j,ee){u.value||(j.index=ee,ae(j,dv))}function _(j,ee){ee.touching=!0,ee.translate=Ss(ee.scrollEl),c(j)}function x(j,ee){if(!ee.touching)return;d(j),ee.scrolling=!1,ee.duration=0,ee.prevY=s.value,ee.translate+=l.value,T(ee);const V=performance.now();V-ee.momentumTime>cv&&(ee.momentumTime=V,ee.momentumPrevY=ee.translate)}function q(j){f(),j.touching=!1,j.prevY=0;const ee=j.translate-j.momentumPrevY,V=performance.now()-j.momentumTime,fe=Math.abs(ee)>=N3&&V<=cv,H=j.translate;fe&&re(j,ee,V),j.index=B(j,j.translate),ae(j,fe?I3:dv),j.scrolling=j.translate!==H,j.scrolling||ve(j)}function ge(j){j.scrolling=!1,ve(j)}function se(){const{indexes:j}=z();return j.every((ee,V)=>ee===v[V])}function ve(j){const{cascade:ee,onChange:V}=e;if(se())return;ee&&y(j);const fe=t.value.some(b=>b.scrolling),H=t.value.some(b=>b.touching);if(fe||H)return;const{values:J,indexes:Pe,options:w}=z();g(Pe),N(V,J,Pe,w),n.value=J}function G(){if(e.cascade){const j=t.value.find(ee=>ee.scrolling);j&&(j.index=B(j,Ss(j.scrollEl)),j.scrolling=!1,ae(j),y(j))}else t.value.forEach(j=>{j.index=B(j,Ss(j.scrollEl)),ae(j)})}function de(){G();const{values:j,indexes:ee,options:V}=z();g(ee),N(e.onConfirm,j,ee,V)}function ye(){G();const{values:j,indexes:ee,options:V}=z();g(ee),N(e.onCancel,j,ee,V)}return{pack:bn,optionHeight:o,optionCount:r,scrollColumns:t,columnHeight:a,center:i,Transition:nn,n:T3,classes:E3,setScrollEl:k,getOptionKey:p,getValue:h,handlePopupUpdateShow:D,handleTouchstart:_,handleTouchmove:x,handleTouchend:q,handleTransitionend:ge,confirm:de,cancel:ye,handleClick:oe}}});Mb.render=B3;var cs=Mb;let dr;function zi(e){return new Promise(n=>{zi.close();const t=Qe(e)?{columns:e}:e,o=Xe(t);o.dynamic=!0,o.teleport="body",dr=o;function r(){dr===o&&(dr=null)}const{unmountInstance:i}=Ar(cs,o,{onConfirm:(a,s,l)=>{N(o.onConfirm,a,s,l),n({state:"confirm",values:a,indexes:s,options:l}),o.show=!1,r()},onCancel:(a,s,l)=>{N(o.onCancel,a,s,l),n({state:"cancel",values:a,indexes:s,options:l}),o.show=!1,r()},onClose:()=>{N(o.onClose),n({state:"close"}),r()},onClosed:()=>{N(o.onClosed),i(),r()},onRouteChange:()=>{i(),r()},"onUpdate:show":a=>{o.show=a}});o.show=!0})}zi.close=function(){if(dr==null)return;const e=dr;dr=null,en().then(()=>{e.show=!1})};zi.Component=cs;be(cs);be(cs,zi);var Ql=zi;const z3={mode:{type:String,default:"linear"},lineWidth:{type:[Number,String],default:4},color:[String,Object],trackColor:String,ripple:Boolean,value:{type:[Number,String],default:0},label:Boolean,labelClass:String,size:{type:[Number,String],default:40},rotate:{type:Number,default:0},track:{type:Boolean,default:!0},indeterminate:Boolean,type:{type:String,default:"primary"}},Kt=100,Mt=20,vv=2*Math.PI*Mt,{name:V3,n:R3,classes:L3}=pe("progress"),U3=["viewBox"],F3={key:0},H3=["id"],j3=["offset","stop-color"],Y3=["d","stroke-width","stroke-dasharray"],W3=["d","stroke-width","stroke-dasharray","stroke-dashoffset"];function q3(e,n){return C(),M("div",{class:m(e.n())},[e.mode==="linear"?(C(),M("div",{key:0,class:m(e.n("linear"))},[R("div",{class:m(e.classes(e.n("linear-block"),[e.track,e.n("linear-background")])),style:te({height:e.toSizeUnit(e.lineWidth),background:e.trackColor})},[e.indeterminate?(C(),M("div",{key:0,class:m(e.classes([e.indeterminate,e.n("linear-indeterminate")]))},[R("div",{class:m(e.classes(e.n(`linear--${e.type}`))),style:te({background:e.progressColor})},null,6),R("div",{class:m(e.classes(e.n(`linear--${e.type}`))),style:te({background:e.progressColor})},null,6)],2)):(C(),M("div",{key:1,class:m(e.classes(e.n("linear-certain"),e.n(`linear--${e.type}`),[e.ripple,e.n("linear-ripple")])),style:te({background:e.progressColor,width:e.linearProps.width})},null,6))],6),e.label?(C(),M("div",{key:0,class:m(e.classes(e.n("linear-label"),[e.labelClass,e.labelClass]))},[X(e.$slots,"default",{},()=>[je($e(e.linearProps.roundValue),1)])],2)):he("v-if",!0)],2)):he("v-if",!0),e.mode==="circle"?(C(),M("div",{key:1,class:m(e.classes(e.n("circle"),[e.indeterminate,e.n("circle-indeterminate")])),style:te({width:e.toSizeUnit(e.size),height:e.toSizeUnit(e.size)})},[(C(),M("svg",{class:m(e.n("circle-svg")),viewBox:e.circleProps.viewBox},[e.isPlainObject(e.color)?(C(),M("defs",F3,[R("linearGradient",{id:e.id,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[(C(!0),M(Re,null,un(e.linearGradientProgress,(t,o)=>(C(),M("stop",{key:o,offset:t,"stop-color":e.color[t]},null,8,j3))),128))],8,H3)])):he("v-if",!0),e.track?(C(),M("path",{key:1,class:m(e.n("circle-background")),d:e.circleProps.path,fill:"transparent","stroke-width":e.circleProps.strokeWidth,"stroke-dasharray":e.CIRCUMFERENCE,style:te({stroke:e.trackColor})},null,14,Y3)):he("v-if",!0),R("path",{class:m(e.classes(e.n("circle-certain"),e.n(`circle--${e.type}`),[e.indeterminate,e.n("circle-overlay")])),d:e.circleProps.path,fill:"transparent","stroke-width":e.circleProps.strokeWidth,"stroke-dasharray":e.CIRCUMFERENCE,"stroke-dashoffset":e.circleProps.strokeOffset,style:te({stroke:e.progressColor,transform:`rotateZ(${e.rotate}deg)`,transformOrigin:"50% 50%"})},null,14,W3)],10,U3)),e.label?(C(),M("div",{key:0,class:m(e.classes(e.n("circle-label"),[e.labelClass,e.labelClass]))},[X(e.$slots,"default",{},()=>[je($e(e.circleProps.roundValue),1)])],2)):he("v-if",!0)],6)):he("v-if",!0)],2)}const Db=me({name:V3,props:z3,setup(e){const n=lm(),t=L(()=>{const a=K(e.value),s=a>Kt?Kt:a,l=a>Kt?Kt:Math.round(a);return{width:`${s}%`,roundValue:`${l}%`}}),o=L(()=>{const{size:a,lineWidth:s,value:l}=e,u=Mt/(1-rn(s)/rn(a))*2,c=`0 0 ${u} ${u}`,d=K(l)>Kt?Kt:Math.round(K(l)),f=`${(Kt-d)/Kt*vv}`,v=rn(s)/rn(a)*u,p=0,h=-Mt,g=0,$=-2*Mt,S=`M ${u/2} ${u/2} m ${p} ${h} a ${Mt} ${Mt} - 0 1 1 ${g} ${-$} a ${Mt} ${Mt} 0 1 1 ${-g} ${$}`;return{strokeWidth:v,viewBox:c,strokeOffset:f,roundValue:`${d}%`,path:S}}),r=L(()=>di(e.color)?`url(#${n.value})`:e.color),i=L(()=>Object.keys(e.color).sort((a,s)=>parseFloat(a)-parseFloat(s)));return{id:n,linearProps:t,CIRCUMFERENCE:vv,RADIUS:Mt,circleProps:o,progressColor:r,linearGradientProgress:i,n:R3,classes:L3,toSizeUnit:ze,isPlainObject:di}}});Db.render=q3;var Ab=Db;be(Ab);var _l=Ab;const K3={modelValue:Boolean,disabled:Boolean,animationDuration:{type:[Number,String],default:300},successDuration:{type:[Number,String],default:2e3},bgColor:String,successBgColor:String,color:String,successColor:String,target:[String,Object],onRefresh:W(),"onUpdate:modelValue":W()};var hv=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:X3,n:mv,classes:G3}=pe("pull-refresh"),pv=150;function Z3(e,n){const t=we("var-icon");return C(),M("div",{ref:"freshNode",class:m(e.n()),onTouchstart:n[0]||(n[0]=(...o)=>e.handleTouchstart&&e.handleTouchstart(...o)),onTouchend:n[1]||(n[1]=(...o)=>e.handleTouchend&&e.handleTouchend(...o)),onTouchcancel:n[2]||(n[2]=(...o)=>e.handleTouchend&&e.handleTouchend(...o))},[R("div",{ref:"controlNode",class:m(e.classes(e.n("control"),e.n("$-elevation--2"),[e.isSuccess,e.n("control-success")])),style:te(e.controlStyle)},[ie(t,{name:e.iconName,transition:e.ICON_TRANSITION,class:m(e.classes(e.n("icon"),[e.refreshStatus==="loading",e.n("animation")])),"var-pull-refresh-cover":""},null,8,["name","transition","class"])],6),X(e.$slots,"default")],34)}const Bb=me({name:X3,components:{VarIcon:tn},props:K3,setup(e){const n=I(0),t=I(null),o=I(null),r=I(0),i=I("-125%"),a=I("arrow-down"),s=I("default"),l=I(!1),u=L(()=>Math.abs(2*n.value)),c=L(()=>s.value==="success"),d=L(()=>s.value!=="loading"&&s.value!=="success"&&!e.disabled),f=L(()=>({transform:`translate3d(0px, ${gn(i.value)?i.value:`${i.value}px`}, 0px) translate(-50%, 0)`,transition:l.value?`transform ${e.animationDuration}ms`:void 0,background:c.value?e.successBgColor:e.bgColor,color:c.value?e.successColor:e.color})),{startTouch:v,moveTouch:p,endTouch:h,isReachTop:g}=Dr();let $,S;Ce(()=>e.modelValue,B=>{B===!1&&(l.value=!0,s.value="success",a.value="checkbox-marked-circle",setTimeout(()=>{i.value=n.value,T()},K(e.successDuration)))}),Pn(D),mo(t,"touchmove",A);function O(B){return hv(this,null,function*(){if(a.value!==B)return a.value=B,new Promise(U=>{window.setTimeout(U,pv)})})}function y(B){("classList"in $?$:document.body).classList[B](`${mv()}--lock`)}function P(B){if(v(B),n.value===0){const{width:U}=pn(o.value);n.value=-(U+U*.25)}S=go(B.target)}function A(B){if(p(B),!d.value||!S||S!==$&&hr(S)>0||hr($)>0)return;g($)&&pt(B),s.value!=="pulling"&&(s.value="pulling",r.value=B.touches[0].clientY),g($)&&Rn(i.value)&&i.value>n.value&&y("add");const z=(B.touches[0].clientY-r.value)/2+n.value;i.value=z>=u.value?u.value:z,O(i.value>=u.value*.2?"refresh":"arrow-down")}function k(){return hv(this,null,function*(){h(),d.value&&(l.value=!0,K(i.value)>=u.value*.2?(yield O("refresh"),s.value="loading",i.value=u.value*.3,N(e["onUpdate:modelValue"],!0),en(()=>{N(e.onRefresh)}),y("remove")):(s.value="loosing",a.value="arrow-down",i.value=n.value,setTimeout(()=>{l.value=!1,y("remove")},K(e.animationDuration))),S=null)})}function D(){$=e.target?gm(e.target,"PullRefresh"):go(t.value)}function T(){setTimeout(()=>{s.value="default",a.value="arrow-down",l.value=!1},K(e.animationDuration))}return{ICON_TRANSITION:pv,refreshStatus:s,freshNode:t,controlNode:o,iconName:a,controlStyle:f,isSuccess:c,n:mv,classes:G3,handleTouchstart:P,handleTouchmove:A,handleTouchend:k}}});Bb.render=Z3;var zb=Bb;be(zb);var xl=zb;const J3={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},disabled:Boolean,readonly:Boolean,checkedColor:String,uncheckedColor:String,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:W(),onChange:W(),"onUpdate:modelValue":W()},Vb=Symbol("RADIO_GROUP_BIND_RADIO_KEY");function Q3(){const{bindChildren:e,childProviders:n,length:t}=Tn(Vb);return{length:t,radios:n,bindRadios:e}}function _3(){const{bindParent:e,parentProvider:n,index:t}=On(Vb);return{index:t,radioGroup:n,bindRadioGroup:e}}const{name:x3,n:e6,classes:n6}=pe("radio");function t6(e,n){const t=we("var-icon"),o=we("var-hover-overlay"),r=we("var-form-details"),i=Ge("ripple"),a=Ge("hover");return C(),M("div",{class:m(e.n("wrap"))},[R("div",Ze({class:e.n(),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},e.$attrs),[He((C(),M("div",{class:m(e.classes(e.n("action"),[e.checked,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({color:e.checked?e.checkedColor:e.uncheckedColor})},[e.checked?X(e.$slots,"checked-icon",{key:0},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-marked",size:e.iconSize},null,8,["class","size"])]):X(e.$slots,"unchecked-icon",{key:1},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-blank",size:e.iconSize},null,8,["class","size"])]),ie(o,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[i,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[a,e.handleHovering,"desktop"]]),R("div",{class:m(e.classes(e.n("text"),[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[X(e.$slots,"default")],2)],16),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Rb=me({name:x3,directives:{Ripple:vn,Hover:Zn},components:{VarIcon:tn,VarFormDetails:Fn,VarHoverOverlay:tt},inheritAttrs:!1,props:J3,setup(e){const n=Vt(e,"modelValue"),t=L(()=>n.value===e.checkedValue),o=I(!1),{radioGroup:r,bindRadioGroup:i}=_3(),{hovering:a,handleHovering:s}=Pt(),{form:l,bindForm:u}=rt(),{errorMessage:c,validateWithTrigger:d,validate:f,resetValidation:v}=ot(),p={sync:S,validate:y,resetValidation:v,reset:O};N(i,p),N(u,p);function h(A){en(()=>{const{validateTrigger:k,rules:D,modelValue:T}=e;d(k,A,D,T)})}function g(A){const{checkedValue:k,onChange:D}=e;r&&n.value===k||(n.value=A,N(D,n.value),r==null||r.onToggle(k),h("onChange"))}function $(A){const{disabled:k,readonly:D,uncheckedValue:T,checkedValue:B,onClick:U}=e;l!=null&&l.disabled.value||k||(N(U,A),!(l!=null&&l.readonly.value||D)&&(o.value=!0,g(t.value?T:B)))}function S(A){const{checkedValue:k,uncheckedValue:D}=e;n.value=A===k?k:D}function O(){n.value=e.uncheckedValue,v()}function y(){return f(e.rules,e.modelValue)}function P(A){const{uncheckedValue:k,checkedValue:D}=e;![k,D].includes(A)&&(A=t.value?k:D),g(A)}return{withAnimation:o,checked:t,errorMessage:c,radioGroupErrorMessage:r==null?void 0:r.errorMessage,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,hovering:a,handleHovering:s,n:e6,classes:n6,handleClick:$,toggle:P,reset:O,validate:y,resetValidation:v}}});Rb.render=t6;var Lb=Rb;be(Lb);var eu=Lb;const o6={modelValue:{type:[String,Number,Boolean,Object,Array],default:void 0},direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:W(),"onUpdate:modelValue":W()},{name:r6,n:i6,classes:a6}=pe("radio-group");function s6(e,n){const t=we("var-form-details");return C(),M("div",{class:m(e.n("wrap"))},[R("div",{class:m(e.classes(e.n(),e.n(`--${e.direction}`)))},[X(e.$slots,"default")],2),ie(t,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Ub=me({name:r6,components:{VarFormDetails:Fn},props:o6,setup(e){const{length:n,radios:t,bindRadios:o}=Q3(),{bindForm:r}=rt(),{errorMessage:i,validateWithTrigger:a,validate:s,resetValidation:l}=ot(),u=L(()=>i.value),c={onToggle:v,validate:p,reset:h,resetValidation:l,errorMessage:u};Ce(()=>e.modelValue,f),Ce(()=>n.value,f),N(r,c),o(c);function d(g){en(()=>{const{validateTrigger:$,rules:S,modelValue:O}=e;a($,g,S,O)})}function f(){return t.forEach(({sync:g})=>g(e.modelValue))}function v(g){N(e["onUpdate:modelValue"],g),N(e.onChange,g),d("onChange")}function p(){return s(e.rules,e.modelValue)}function h(){N(e["onUpdate:modelValue"],void 0),l()}return{errorMessage:i,n:i6,classes:a6,reset:h,validate:p,resetValidation:l}}});Ub.render=s6;var Fb=Ub;be(Fb);var nu=Fb;const l6={modelValue:{type:[String,Number],default:0},count:{type:[String,Number],default:5},color:String,icon:{type:String,default:"star"},emptyIcon:{type:String,default:"star-outline"},halfIcon:{type:String,default:"star-half-full"},namespace:Fe(dn,"namespace"),emptyIconNamespace:Fe(dn,"namespace"),halfIconNamespace:Fe(dn,"namespace"),emptyColor:String,size:[String,Number],gap:[String,Number],half:Boolean,disabled:Boolean,disabledColor:String,readonly:Boolean,ripple:{type:Boolean,default:!0},clearable:Boolean,rules:Array,onChange:W(),"onUpdate:modelValue":W()},{name:u6,n:Ur}=pe("rate"),c6=["onClick"];function d6(e,n){const t=we("var-icon"),o=we("var-hover-overlay"),r=we("var-form-details"),i=Ge("ripple"),a=Ge("hover");return C(),M("div",{class:m(e.n("wrap"))},[R("div",{class:m(e.n())},[(C(!0),M(Re,null,un(e.toNumber(e.count),s=>He((C(),M("div",{key:s,style:te(e.getStyle(s)),class:m(e.getClass(s)),onClick:l=>e.handleClick(s,l)},[ie(t,{class:m(e.n("content-icon")),"var-rate-cover":"",transition:0,namespace:e.getCurrentState(s).namespace,name:e.getCurrentState(s).name,style:te({fontSize:e.toSizeUnit(e.size)})},null,8,["class","namespace","name","style"]),ie(o,{hovering:e.hovering&&s===e.currentHoveringValue&&!e.disabled&&!e.formDisabled},null,8,["hovering"])],14,c6)),[[i,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[a,e.createHoverHandler(s),"desktop"]])),128))],2),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Hb=me({name:u6,components:{VarIcon:tn,VarFormDetails:Fn,VarHoverOverlay:tt},directives:{Ripple:vn,Hover:Zn},props:l6,setup(e){const n=I(-1),{form:t,bindForm:o}=rt(),{errorMessage:r,validateWithTrigger:i,validate:a,resetValidation:s}=ot(),{hovering:l}=Pt();let u=Number(e.modelValue);N(o,{reset:O,validate:h,resetValidation:s});function d(y){const{count:P,gap:A}=e;return{color:v(y).color,marginRight:y!==K(P)?ze(A):0}}function f(y){const{name:P,color:A}=v(y);return{[Ur("content")]:!0,[Ur("--disabled")]:(t==null?void 0:t.disabled.value)||e.disabled,[Ur("--error")]:r.value,[Ur("--primary")]:P!==e.emptyIcon&&!A}}function v(y){const{modelValue:P,disabled:A,disabledColor:k,color:D,half:T,emptyColor:B,icon:U,halfIcon:z,emptyIcon:ae,namespace:re,halfIconNamespace:oe,emptyIconNamespace:_}=e;let x=D;return(A||t!=null&&t.disabled.value)&&(x=k),y<=K(P)?{color:x,name:U,namespace:re}:T&&y<=K(P)+.5?{color:x,name:z,namespace:oe}:{color:A||t!=null&&t.disabled.value?k:B,name:ae,namespace:_}}function p(y,P){const{half:A,clearable:k}=e,{offsetWidth:D}=P.target;A&&P.offsetX<=Math.floor(D/2)&&(y-=.5),u===y&&k&&(y=0),u=y,N(e["onUpdate:modelValue"],y)}function h(){return a(e.rules,K(e.modelValue))}function g(){return en(()=>i(["onChange"],"onChange",e.rules,e.modelValue))}function $(y,P){const{readonly:A,disabled:k,onChange:D}=e;A||k||t!=null&&t.disabled.value||t!=null&&t.readonly.value||(p(y,P),N(D,y),g())}function S(y){return P=>{n.value=y,l.value=P}}function O(){N(e["onUpdate:modelValue"],0),s()}return{errorMessage:r,formDisabled:t==null?void 0:t.disabled,formReadonly:t==null?void 0:t.readonly,hovering:l,currentHoveringValue:n,getStyle:d,getClass:f,getCurrentState:v,handleClick:$,createHoverHandler:S,reset:O,validate:h,resetValidation:s,toSizeUnit:ze,toNumber:K,n:Ur}}});Hb.render=d6;var jb=Hb;be(jb);var tu=jb;const f6=e=>($o(""),e=e(),wo(),e),v6={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 3.6 20 20"},h6=f6(()=>R("path",{d:"M11,9H13V7H11M11,20H13V11H11V20Z"},null,-1)),m6=[h6];function p6(e,n){return C(),M("svg",v6,m6)}const Yb=me({});Yb.render=p6;var g6=Yb;const b6=e=>($o(""),e=e(),wo(),e),y6={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 20 20"},$6=b6(()=>R("path",{d:"M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"},null,-1)),w6=[$6];function C6(e,n){return C(),M("svg",y6,w6)}const Wb=me({});Wb.render=C6;var S6=Wb;const k6=e=>($o(""),e=e(),wo(),e),P6={xmlns:"http://www.w3.org/2000/svg",viewBox:"-6 -4 35 35"},O6=k6(()=>R("path",{d:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11"},null,-1)),T6=[O6];function E6(e,n){return C(),M("svg",P6,T6)}const qb=me({});qb.render=E6;var N6=qb;const{n:I6,classes:M6}=pe("result");function D6(e,n){return C(),M(Re,null,[R("span",{class:m(e.n("success-cover-left"))},null,2),R("span",{class:m(e.classes(e.n("success-line"),e.n("success-line-tip"))),style:te({animationDuration:e.animation?"760ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),R("span",{class:m(e.classes(e.n("success-line"),e.n("success-line-long"))),style:te({animationDuration:e.animation?"770ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),R("span",{ref:"circle",class:m(e.n("success-circle")),style:te({left:`-${e.borderSize}`,top:`-${e.borderSize}`,borderWidth:e.borderSize})},null,6),R("span",{class:m(e.n("success-line-fix"))},null,2),R("span",{class:m(e.n("success-cover-right")),style:te({animationDuration:e.animation?"4250ms":"0ms"})},null,6)],64)}const Kb=me({props:{animation:{type:Boolean},borderSize:{type:String}},setup(){return{n:I6,classes:M6,toNumber:K}}});Kb.render=D6;var A6=Kb;const B6=e=>($o(""),e=e(),wo(),e),z6={xmlns:"http://www.w3.org/2000/svg",viewBox:"-3 -3 30 30"},V6=B6(()=>R("path",{d:"M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"},null,-1)),R6=[V6];function L6(e,n){return C(),M("svg",z6,R6)}const Xb=me({});Xb.render=L6;var U6=Xb;const F6=e=>($o(""),e=e(),wo(),e),H6={viewBox:"-4 -4 32 32"},j6=F6(()=>R("path",{fill:"currentColor",d:"M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"},null,-1)),Y6=[j6];function W6(e,n){return C(),M("svg",H6,Y6)}const Gb=me({});Gb.render=W6;var q6=Gb;const K6={imageSize:[String,Number],type:{type:String,default:"success"},title:String,description:String,animation:{type:Boolean,default:!0}},{name:X6,n:G6,classes:Z6}=pe("result");function J6(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[X(e.$slots,"image",{},()=>[e.type?(C(),M("div",{key:0,class:m(e.n("image-container"))},[R("div",{class:m(e.classes(e.n("image"),e.n(e.type))),style:te({width:e.circleSize,height:e.circleSize,borderWidth:e.borderSize})},[(C(),Ae(Er(e.type),{"border-size":e.borderSize,animation:e.animation},null,8,["border-size","animation"]))],6)],2)):he("v-if",!0)]),X(e.$slots,"title",{},()=>[e.title?(C(),M("div",{key:0,class:m(e.n("title"))},$e(e.title),3)):he("v-if",!0)]),X(e.$slots,"description",{},()=>[e.description?(C(),M("div",{key:0,class:m(e.n("description"))},$e(e.description),3)):he("v-if",!0)]),e.$slots.footer?(C(),M("div",{key:0,class:m(e.n("footer"))},[X(e.$slots,"footer")],2)):he("v-if",!0)],2)}const Zb=me({name:X6,components:{Info:g6,Success:A6,Warning:N6,Error:S6,Question:U6,Empty:q6},props:K6,setup(e){const n=L(()=>{const{imageSize:o}=e;return`calc(${o?ze(o):"var(--result-image-size)"} * 0.9)`}),t=L(()=>{const{imageSize:o}=e;return`calc(${o?ze(e.imageSize):"var(--result-image-size)"} * 0.05)`});return{circleSize:n,borderSize:t,toSizeUnit:ze,n:G6,classes:Z6,toNumber:K,toPxNum:rn}}});Zb.render=J6;var Jb=Zb;be(Jb);var ou=Jb;const Q6={gutter:{type:[String,Number,Array],default:0},justify:{type:String,default:"flex-start"},align:{type:String,default:"flex-start"},onClick:W()},{name:_6,n:x6,classes:eD}=pe("row");function nD(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"))),style:te({justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),margin:`${-e.average[0]}px ${-e.average[1]}px`}),onClick:n[0]||(n[0]=(...t)=>e.handleClick&&e.handleClick(...t))},[X(e.$slots,"default")],6)}const Qb=me({name:_6,props:Q6,setup(e){const n=L(()=>Qe(e.gutter)?e.gutter.map(l=>rn(l)/2):[0,rn(e.gutter)/2]),{cols:t,bindCols:o,length:r}=EP(),i={computePadding:a};Ce(()=>r.value,a),Ce(()=>e.gutter,a),o(i);function a(){t.forEach(l=>{const[u,c]=n.value;l.setPadding({left:c,right:c,top:u,bottom:u})})}function s(l){N(e.onClick,l)}return{average:n,n:x6,classes:eD,handleClick:s,padStartFlex:$a}}});Qb.render=nD;var _b=Qb;be(_b);var ru=_b,tD=Object.defineProperty,gv=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,rD=Object.prototype.propertyIsEnumerable,bv=(e,n,t)=>n in e?tD(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,iD=(e,n)=>{for(var t in n||(n={}))oD.call(n,t)&&bv(e,t,n[t]);if(gv)for(var t of gv(n))rD.call(n,t)&&bv(e,t,n[t]);return e};const aD=iD({modelValue:{default:void 0},multiple:Boolean,offsetY:{type:[String,Number],default:0},chip:Boolean,readonly:Boolean,separator:{type:String,default:","},textAlign:{type:String,default:"left"},validateTrigger:{type:Array,default:()=>["onChange","onClear","onClose"]},rules:Array,onFocus:W(),onBlur:W(),onClose:W(),onChange:W(),onClear:W(),"onUpdate:modelValue":W()},Fe(vc,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])),{name:sD,n:lD,classes:uD}=pe("select"),cD={key:1};function dD(e,n){const t=we("var-chip"),o=we("var-icon"),r=we("var-field-decorator"),i=we("var-menu"),a=we("var-form-details");return C(),M("div",{class:m(e.n()),onClick:n[3]||(n[3]=(...s)=>e.handleFocus&&e.handleFocus(...s))},[ie(i,{"var-select-cover":"","same-width":"","close-on-click-reference":"",show:e.showMenu,"onUpdate:show":n[1]||(n[1]=s=>e.showMenu=s),class:m(e.n("menu")),"popover-class":e.variant==="standard"&&e.hint?e.n("--standard-menu-margin"):void 0,"offset-y":e.offsetY,disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled,placement:e.placement,"default-style":!1,onClickOutside:e.handleBlur},{menu:Te(()=>[R("div",{ref:"menuEl",class:m(e.classes(e.n("scroller"),e.n("$-elevation--3")))},[X(e.$slots,"default")],2)]),default:Te(()=>[ie(r,ao(Nr({value:e.modelValue,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,onClick:e.handleClick,onClear:e.handleClear})),ma({"append-icon":Te(()=>[X(e.$slots,"append-icon")]),default:Te(()=>[R("div",{class:m(e.classes(e.n("select"),[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({textAlign:e.textAlign,color:e.textColor})},[R("div",{class:m(e.n("label"))},[e.isEmptyModelValue?he("v-if",!0):X(e.$slots,"selected",{key:0},()=>[e.multiple?(C(),M(Re,{key:0},[e.chip?(C(),M("div",{key:0,class:m(e.n("chips"))},[(C(!0),M(Re,null,un(e.labels,s=>(C(),Ae(t,{class:m(e.n("chip")),"var-select-cover":"",closable:"",size:"small",type:e.errorMessage?"danger":void 0,key:s,onClick:n[0]||(n[0]=Xn(()=>{},["stop"])),onClose:()=>e.handleClose(s)},{default:Te(()=>[je($e(s),1)]),_:2},1032,["class","type","onClose"]))),128))],2)):(C(),M("div",{key:1,class:m(e.n("values"))},$e(e.labels.join(e.separator)),3))],64)):(C(),M("span",cD,$e(e.label),1))])],2),e.enableCustomPlaceholder?(C(),M("span",{key:0,class:m(e.classes(e.n("placeholder"),e.n("$--ellipsis"))),style:te({color:e.placeholderColor})},$e(e.placeholder),7)):he("v-if",!0),X(e.$slots,"arrow-icon",{focus:e.showMenu},()=>[ie(o,{class:m(e.classes(e.n("arrow"),[e.showMenu,e.n("--arrow-rotate")])),"var-select-cover":"",name:"menu-down",transition:300},null,8,["class"])])],6)]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:Te(()=>[X(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040)]),_:3},8,["show","class","popover-class","offset-y","disabled","placement","onClickOutside"]),ie(a,{"error-message":e.errorMessage,onClick:n[2]||(n[2]=Xn(()=>{},["stop"]))},null,8,["error-message"])],2)}const xb=me({name:sD,components:{VarIcon:tn,VarMenu:wr,VarChip:ka,VarFieldDecorator:yi,VarFormDetails:Fn},props:aD,setup(e){const n=I(!1),t=I(!1),o=L(()=>e.multiple),r=L(()=>e.focusColor),i=L(()=>Ct(e.modelValue)),a=L(()=>e.disabled||e.readonly?"":"pointer"),s=I(0),{bindForm:l,form:u}=rt(),{length:c,options:d,bindOptions:f}=n3(),{label:v,labels:p,computeLabel:h,getSelectedValue:g}=$b({modelValue:()=>e.modelValue,multiple:()=>e.multiple,optionProviders:()=>d,optionProvidersLength:()=>c.value}),{errorMessage:$,validateWithTrigger:S,validate:O,resetValidation:y}=ot(),P=I(null),A=L(()=>e.variant==="outlined"?"bottom":"cover-top"),k=L(()=>{const{hint:ve,blurColor:G,focusColor:de}=e;if(!ve)return $.value?"var(--field-decorator-error-color)":n.value?de||"var(--field-decorator-focus-color)":G||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"}),D=L(()=>!e.hint&&Ct(e.modelValue)),T={multiple:o,focusColor:r,computeLabel:h,onSelect:ae,reset:se,validate:ge,resetValidation:y};Ce(()=>e.multiple,()=>{const{multiple:ve,modelValue:G}=e;ve&&!Qe(G)&&Gn("Select","The modelValue must be an array when multiple is true")}),f(T),N(l,T);function B(ve){en(()=>{const{validateTrigger:G,rules:de,modelValue:ye}=e;S(G,ve,de,ye)})}function U(){const{disabled:ve,readonly:G,onFocus:de}=e;u!=null&&u.disabled.value||u!=null&&u.readonly.value||ve||G||(s.value=rn(e.offsetY),n.value=!0,N(de),B("onFocus"))}function z(){const{disabled:ve,readonly:G,onBlur:de}=e;u!=null&&u.disabled.value||u!=null&&u.readonly.value||ve||G||(q(),N(de),B("onBlur"))}function ae(ve){const{disabled:G,readonly:de,multiple:ye,onChange:j}=e;if(u!=null&&u.disabled.value||u!=null&&u.readonly.value||G||de)return;const ee=g(ve);N(e["onUpdate:modelValue"],ee),N(j,ee),B("onChange"),ye||q()}function re(){const{disabled:ve,readonly:G,multiple:de,clearable:ye,onClear:j}=e;if(u!=null&&u.disabled.value||u!=null&&u.readonly.value||ve||G||!ye)return;const ee=de?[]:void 0;N(e["onUpdate:modelValue"],ee),N(j,ee),B("onClear")}function oe(ve){const{disabled:G,onClick:de}=e;u!=null&&u.disabled.value||G||(N(de,ve),B("onClick"))}function _(ve){const{disabled:G,readonly:de,modelValue:ye,onClose:j}=e;if(u!=null&&u.disabled.value||u!=null&&u.readonly.value||G||de)return;const ee=d.find(({label:fe})=>fe.value===ve),V=ye.filter(fe=>{var H;return fe!==((H=ee.value.value)!=null?H:ee.label.value)});N(e["onUpdate:modelValue"],V),N(j,V),B("onClose")}function x(){s.value=rn(e.offsetY),n.value=!0,t.value=!0}function q(){n.value=!1,t.value=!1}function ge(){return O(e.rules,e.modelValue)}function se(){N(e["onUpdate:modelValue"],e.multiple?[]:void 0),y()}return{offsetY:s,isFocus:n,showMenu:t,errorMessage:$,formDisabled:u==null?void 0:u.disabled,formReadonly:u==null?void 0:u.readonly,label:v,labels:p,isEmptyModelValue:i,menuEl:P,placement:A,cursor:a,placeholderColor:k,enableCustomPlaceholder:D,n:lD,classes:uD,handleFocus:U,handleBlur:z,handleClear:re,handleClick:oe,handleClose:_,reset:se,validate:ge,resetValidation:y,focus:x,blur:q}}});xb.render=dD;var ey=xb;be(ey);var iu=ey;const fD={loading:{type:Boolean,default:!0},title:Boolean,card:Boolean,avatar:Boolean,fullscreen:Boolean,fullscreenZIndex:{type:[Number,String],default:100},titleWidth:[Number,String],cardHeight:[Number,String],avatarSize:[Number,String],rows:{type:[Number,String],default:3},rowsWidth:{type:Array,default:()=>[]}},{name:vD,n:hD,classes:mD}=pe("skeleton");function pD(e,n){return C(),M("div",{class:m(e.classes(e.n("$--box"),e.n()))},[e.loading?he("v-if",!0):(C(),M("div",{key:0,class:m(e.n("data"))},[X(e.$slots,"default")],2)),e.loading&&!e.fullscreen?(C(),M("div",{key:1,class:m(e.n("content"))},[e.card?(C(),M("div",{key:0,class:m(e.n("card")),style:te({height:e.toSizeUnit(e.cardHeight)})},[R("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0),e.avatar||e.title||e.toNumber(e.rows)>0?(C(),M("div",{key:1,class:m(e.n("article"))},[e.avatar?(C(),M("div",{key:0,class:m(e.n("avatar")),style:te({width:e.toSizeUnit(e.avatarSize),height:e.toSizeUnit(e.avatarSize)})},[R("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0),e.title||e.toNumber(e.rows)>0?(C(),M("div",{key:1,class:m(e.n("section"))},[e.title?(C(),M("div",{key:0,class:m(e.n("title")),style:te({width:e.toSizeUnit(e.titleWidth)})},[R("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0),(C(!0),M(Re,null,un(e.toNumber(e.rows),(t,o)=>(C(),M("div",{class:m(e.n("row")),key:t,style:te({width:e.toSizeUnit(e.rowsWidth[o])})},[R("div",{class:m(e.n("--animation"))},null,2)],6))),128))],2)):he("v-if",!0)],2)):he("v-if",!0)],2)):he("v-if",!0),e.loading&&e.fullscreen?(C(),M("div",{key:2,class:m(e.n("fullscreen")),style:te({zIndex:e.toNumber(e.fullscreenZIndex)})},[R("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0)],2)}const ny=me({name:vD,props:fD,setup:()=>({n:hD,classes:mD,toSizeUnit:ze,toNumber:K})});ny.render=pD;var ty=ny;be(ty);var au=ty,cn=(e=>(e.First="1",e.Second="2",e))(cn||{});const gD={modelValue:{type:[Number,Array],default:0},step:{type:[Number,String],default:1},range:Boolean,labelVisible:{type:String,default:"normal"},activeColor:String,trackColor:String,thumbColor:String,labelColor:String,labelTextColor:String,trackHeight:[String,Number],max:{type:[String,Number],default:100},min:{type:[String,Number],default:0},thumbSize:[String,Number],disabled:Boolean,readonly:Boolean,direction:{type:String,default:"horizontal"},rules:Array,onChange:W(),onStart:W(),onEnd:W(),"onUpdate:modelValue":W()},{name:bD,n:yv,classes:yD}=pe("slider"),$D=["onTouchstart"];function wD(e,n){const t=we("var-hover-overlay"),o=we("var-form-details"),r=Ge("hover");return C(),M("div",{class:m(e.classes(e.n(e.direction),e.n("$--box")))},[R("div",{class:m(e.classes(e.n(`${e.direction}-block`),[e.isDisabled,e.n("--disabled")],[e.errorMessage,e.n(`${e.direction}--error`)])),ref:"sliderEl",onClick:n[0]||(n[0]=(...i)=>e.click&&e.click(...i))},[R("div",{class:m(e.n(`${e.direction}-track`))},[R("div",{class:m(e.n(`${e.direction}-track-background`)),style:te({background:e.trackColor,height:e.isVertical?"100%":e.multiplySizeUnit(e.trackHeight),width:e.isVertical?e.multiplySizeUnit(e.trackHeight):"100%"})},null,6),R("div",{class:m(e.n(`${e.direction}-track-fill`)),style:te(e.getFillStyle)},null,6)],2),(C(!0),M(Re,null,un(e.thumbList,i=>(C(),M("div",{class:m(e.n(`${e.direction}-thumb`)),key:i.enumValue,style:te(e.thumbStyle(i)),onTouchstart:Xn(a=>e.start(a,i.enumValue),["stop"])},[X(e.$slots,"button",{currentValue:i.text},()=>[He(R("div",{class:m(e.n(`${e.direction}-thumb-block`)),style:te({background:e.thumbColor})},null,6),[[r,a=>e.hover(a,i),"desktop"]]),R("div",{class:m(e.classes(e.n(`${e.direction}-thumb-ripple`),[e.thumbsProps[i.enumValue].active,e.n(`${e.direction}-thumb-ripple--active`)])),style:te({background:e.thumbsProps[i.enumValue].active?e.thumbColor:void 0})},[ie(t,{hovering:i.hovering},null,8,["hovering"])],6),R("div",{class:m(e.classes(e.n(`${e.direction}-thumb-label`),[e.showLabel(i.enumValue),e.n(`${e.direction}-thumb-label--active`)])),style:te({background:e.labelColor,color:e.labelTextColor,height:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2),width:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2)})},[R("span",null,$e(i.text),1)],6)])],46,$D))),128))],2),ie(o,{"error-message":e.errorMessage,class:m(e.n("form")),"var-slider-cover":""},null,8,["error-message","class"])],2)}const oy=me({name:bD,components:{VarFormDetails:Fn,VarHoverOverlay:tt},directives:{Hover:Zn},props:gD,setup(e){const n=I(0),t=I(null),o=I(!1),r=L(()=>K(e.max)-K(e.min)),i=L(()=>n.value/r.value*K(e.step)),a=L(()=>e.disabled||(c==null?void 0:c.disabled.value)),s=L(()=>e.readonly||(c==null?void 0:c.readonly.value)),l=L(()=>e.direction==="vertical"),{bindForm:u,form:c}=rt(),{errorMessage:d,validateWithTrigger:f,validate:v,resetValidation:p}=ot(),{hovering:h,handleHovering:g}=Pt(),{hovering:$,handleHovering:S}=Pt(),O=L(()=>{const{modelValue:H,range:J}=e;let Pe=[];return J&&Qe(H)?Pe=[{value:re(H[0]),enumValue:cn.First,text:oe(H[0]),hovering:ht(h),handleHovering:g},{value:re(H[1]),enumValue:cn.Second,text:oe(H[1]),hovering:ht($),handleHovering:S}]:Rn(H)&&(Pe=[{value:re(H),enumValue:cn.First,text:oe(H),hovering:ht(h),handleHovering:g}]),Pe}),y=L(()=>{const{activeColor:H,range:J,modelValue:Pe}=e,w=J&&Qe(Pe)?re(Math.min(Pe[0],Pe[1])):0,b=J&&Qe(Pe)?re(Math.max(Pe[0],Pe[1]))-w:re(Pe);return l.value?{left:"0px",height:`${b}%`,bottom:`${w}%`,background:H}:{top:"0px",width:`${b}%`,left:`${w}%`,background:H}}),P=Xe({[cn.First]:T(),[cn.Second]:T()});let A;N(u,{reset:fe,validate:D,resetValidation:p}),Ce([()=>e.modelValue,()=>e.step],([H,J])=>{!j()||!ee()||o.value||V(H,K(J))}),Ce(n,()=>V()),Pn(()=>{!j()||!ee()||(n.value=t.value[l.value?"offsetHeight":"offsetWidth"])}),Tr(()=>{se()});function D(){return v(e.rules,e.modelValue)}function T(){return{startPosition:0,currentOffset:0,active:!1,percentValue:0}}function B(){return en(()=>f(["onChange"],"onChange",e.rules,e.modelValue))}function U(H){const J=H.currentTarget;return J?l.value?n.value-(H.clientY-pn(J).top):H.clientX-_w(J):0}function z(H){return{[l.value?"bottom":"left"]:`${H.value}%`,zIndex:P[H.enumValue].active?1:void 0}}function ae(H){return e.labelVisible==="always"?!0:e.labelVisible==="never"?!1:P[H].active}function re(H){const{min:J,max:Pe}=e;return HK(Pe)?100:(H-K(J))/r.value*100}function oe(H){if(!Rn(H))return 0;let J=H;return JNumber(e.max)&&(J=Number(e.max)),parseInt(`${J}`,10)===J?J:K(J.toPrecision(5))}function _(H,J){a.value||J.handleHovering(H)}function x(H,J){let Pe=[];const{step:w,range:b,modelValue:E,onChange:Y,min:Q}=e,F=K(w),le=Math.round(H/i.value),Z=le*F+K(Q),ue=P[J].percentValue*F+K(Q);if(P[J].percentValue=le,b&&Qe(E)&&(Pe=J===cn.First?[Z,E[1]]:[E[0],Z]),ue!==Z){const ne=b?Pe.map(Se=>oe(Se)):oe(Z);N(Y,ne),N(e["onUpdate:modelValue"],ne),B()}}function q(H){if(!e.range)return cn.First;const J=P[cn.First].percentValue*i.value,Pe=P[cn.Second].percentValue*i.value,w=Math.abs(H-J),b=Math.abs(H-Pe);return w<=b?cn.First:cn.Second}function ge(){document.addEventListener("touchmove",G,{passive:!1}),document.addEventListener("touchend",de),document.addEventListener("touchcancel",de)}function se(){document.removeEventListener("touchmove",G),document.removeEventListener("touchend",de),document.removeEventListener("touchcancel",de)}function ve(H,J){if(n.value||(n.value=t.value.offsetWidth),a.value||(P[J].active=!0),A=J,ge(),a.value||s.value)return;N(e.onStart),o.value=!0;const{clientX:Pe,clientY:w}=H.touches[0];P[J].startPosition=l.value?w:Pe}function G(H){if(pt(H),a.value||s.value||!o.value)return;const{startPosition:J,currentOffset:Pe}=P[A],{clientX:w,clientY:b}=H.touches[0];let E=(l.value?J-b:w-J)+Pe;E<=0?E=0:E>=n.value&&(E=n.value),x(E,A)}function de(){se();const{range:H,modelValue:J,onEnd:Pe,step:w,min:b}=e;if(a.value||(P[A].active=!1),a.value||s.value)return;let E=[];P[A].currentOffset=P[A].percentValue*i.value;const Y=P[A].percentValue*K(w)+K(b);H&&Qe(J)&&(E=A===cn.First?[Y,J[1]]:[J[0],Y]),N(Pe,H?E:Y),o.value=!1}function ye(H){if(a.value||s.value||H.target.closest(`.${yv("thumb")}`))return;const J=U(H),Pe=q(J);A=Pe,x(J,Pe),de()}function j(){const H=K(e.step);return isNaN(H)?(Md("Slider",'type of prop "step" should be Number'),!1):H<0?(Md("Slider",'"step" should be > 0'),!1):!0}function ee(){const{range:H,modelValue:J}=e;return H&&!Qe(J)?(console.error('[Varlet] Slider: "modelValue" should be an Array'),!1):!H&&Qe(J)?(console.error('[Varlet] Slider: "modelValue" should be a Number'),!1):H&&Qe(J)&&J.length<2?(console.error('[Varlet] Slider: "modelValue" should have two value'),!1):!0}function V(H=e.modelValue,J=K(e.step)){const Pe=w=>{const{min:b,max:E}=e;return wK(E)?r.value/J:(w-K(b))/J};e.range&&Qe(H)?(P[cn.First].percentValue=Pe(H[0]),P[cn.First].currentOffset=P[cn.First].percentValue*i.value,P[cn.Second].percentValue=Pe(H[1]),P[cn.Second].currentOffset=P[cn.Second].percentValue*i.value):Rn(H)&&(P[cn.First].currentOffset=Pe(H)*i.value)}function fe(){const H=e.range?[0,0]:0;N(e["onUpdate:modelValue"],H),p()}return{Thumbs:cn,sliderEl:t,getFillStyle:y,isDisabled:a,isVertical:l,errorMessage:d,thumbsProps:P,thumbList:O,n:yv,classes:yD,thumbStyle:z,hover:_,multiplySizeUnit:Dn,toNumber:K,showLabel:ae,start:ve,move:G,end:de,click:ye}}});oy.render=wD;var ry=oy;be(ry);var su=ry,CD=Object.defineProperty,SD=Object.defineProperties,kD=Object.getOwnPropertyDescriptors,$v=Object.getOwnPropertySymbols,PD=Object.prototype.hasOwnProperty,OD=Object.prototype.propertyIsEnumerable,wv=(e,n,t)=>n in e?CD(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,TD=(e,n)=>{for(var t in n||(n={}))PD.call(n,t)&&wv(e,t,n[t]);if($v)for(var t of $v(n))OD.call(n,t)&&wv(e,t,n[t]);return e},ED=(e,n)=>SD(e,kD(n));const iy={type:String,position:{type:String,default:"top"},content:{type:[String,Function,Object]},contentClass:String,duration:{type:Number,default:3e3},vertical:Boolean,loadingType:Fe(oo,"type"),loadingSize:Fe(oo,"size"),loadingRadius:Fe(oo,"radius"),loadingColor:ED(TD({},Fe(oo,"color")),{default:"currentColor"}),lockScroll:Boolean,show:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},forbidClick:Boolean,onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),"onUpdate:show":W(),_update:String},{n:ND,classes:ID}=pe("snackbar"),MD={success:"checkbox-marked-circle",warning:"warning",info:"information",error:"error",loading:""};function DD(e,n){const t=we("var-icon"),o=we("var-loading");return He((C(),M("div",{class:m(e.n()),style:te({pointerEvents:e.isForbidClick?"auto":"none",zIndex:e.zIndex})},[R("div",{class:m(e.classes(e.n("wrapper"),e.n(`wrapper-${e.position}`),e.n("$-elevation--4"),[e.vertical,e.n("vertical")],[e.type&&e.SNACKBAR_TYPE.includes(e.type),e.n(`wrapper-${e.type}`)])),style:te({zIndex:e.zIndex})},[R("div",{class:m([e.n("content"),e.contentClass])},[X(e.$slots,"default",{},()=>[je($e(e.content),1)])],2),R("div",{class:m([e.n("icon")])},[e.iconName?(C(),Ae(t,{key:0,name:e.iconName},null,8,["name"])):he("v-if",!0),e.type==="loading"?(C(),Ae(o,{key:1,type:e.loadingType,size:e.loadingSize,color:e.loadingColor,radius:e.loadingRadius},null,8,["type","size","color","radius"])):he("v-if",!0),X(e.$slots,"icon")],2),R("div",{class:m(e.n("action"))},[X(e.$slots,"action")],2)],6)],6)),[[kt,e.show]])}const ay=me({name:"VarSnackbarCore",components:{VarLoading:pr,VarIcon:tn},props:iy,setup(e){const n=I(null),{zIndex:t}=Ai(()=>e.show,1);Di(()=>e.show,()=>e.lockScroll);const o=L(()=>e.type==="loading"||e.forbidClick),r=L(()=>e.type?MD[e.type]:""),i=()=>{n.value=setTimeout(()=>{e.type!=="loading"&&N(e["onUpdate:show"],!1)},e.duration)};return Ce(()=>e.show,a=>{a?(N(e.onOpen),i()):a===!1&&(clearTimeout(n.value),N(e.onClose))}),Ce(()=>e._update,()=>{clearTimeout(n.value),i()}),Pn(()=>{e.show&&(N(e.onOpen),i())}),{SNACKBAR_TYPE:uy,n:ND,classes:ID,zIndex:t,iconName:r,isForbidClick:o}}});ay.render=DD;var sy=ay;const{name:AD,n:BD}=pe("snackbar");function zD(e,n){const t=we("var-snackbar-core");return C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.disabled||e.teleport===!1},[ie(nn,{name:`${e.n()}-fade`,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:Te(()=>[ie(t,Ze(e.$props,{class:e.n("transition")}),{icon:Te(()=>[X(e.$slots,"icon")]),action:Te(()=>[X(e.$slots,"action")]),default:Te(()=>[X(e.$slots,"default",{},()=>[je($e(e.content),1)])]),_:3},16,["class"])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const ly=me({name:AD,components:{VarSnackbarCore:sy},props:iy,setup(){const{disabled:e}=qo();return{disabled:e,n:BD}}});ly.render=zD;var pc=ly,VD=Object.defineProperty,Cv=Object.getOwnPropertySymbols,RD=Object.prototype.hasOwnProperty,LD=Object.prototype.propertyIsEnumerable,Sv=(e,n,t)=>n in e?VD(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ki=(e,n)=>{for(var t in n||(n={}))RD.call(n,t)&&Sv(e,t,n[t]);if(Cv)for(var t of Cv(n))LD.call(n,t)&&Sv(e,t,n[t]);return e};const uy=["loading","success","warning","info","error"];let kv=0,lu=!1,cy,Pi=!1;const dy={type:void 0,content:"",icon:"",action:"",position:"top",duration:3e3,vertical:!1,contentClass:void 0,loadingType:"circle",loadingSize:"normal",lockScroll:!1,teleport:"body",forbidClick:!1,onOpen:()=>{},onOpened:()=>{},onClose:()=>{},onClosed:()=>{}};let nt=Xe([]),gc=dy;const UD={name:"var-snackbar-fade",tag:"div",class:"var-transition-group"},Ms=e=>()=>Ir(e)?e():e,FD={setup(){return()=>{const e=nt.map(({id:n,reactiveSnackOptions:t,_update:o})=>{const r=document.querySelector(".var-transition-group");t.forbidClick||t.type==="loading"?r.classList.add("var-pointer-auto"):r.classList.remove("var-pointer-auto");const i=ki({position:Pi?"relative":"absolute"},KD(t.position)),{content:a,icon:s,action:l}=t,u={default:Ms(a),icon:Ms(s),action:Ms(l)};return ie(sy,Ze(t,{key:n,style:i,"data-id":n,_update:o,show:t.show,"onUpdate:show":c=>t.show=c}),u)});return ie(q$,Ze(UD,{style:{zIndex:Kn.zIndex},onAfterEnter:HD,onAfterLeave:jD}),{default:()=>[e]})}}},Lt=function(e){const n=WD(e),t=Xe(ki(ki({},gc),n));t.show=!0,lu||(lu=!0,cy=Ar(FD).unmountInstance);const{length:o}=nt,r={id:kv++,reactiveSnackOptions:t};if(o===0||Pi)YD(r);else{const i=`update-${kv}`;qD(t,i)}return{clear(){!Pi&&nt.length?nt[0].reactiveSnackOptions.show=!1:t.show=!1}}};uy.forEach(e=>{Lt[e]=n=>(di(n)?n.type=e:n={content:n,type:e},Lt(n))});Lt.allowMultiple=function(e=!1){e!==Pi&&(nt.forEach(n=>{n.reactiveSnackOptions.show=!1}),Pi=e)};Lt.clear=function(){nt.forEach(e=>{e.reactiveSnackOptions.show=!1})};Lt.setDefaultOptions=function(e){gc=e};Lt.resetDefaultOptions=function(){gc=dy};function HD(e){const n=e.getAttribute("data-id"),t=nt.find(o=>o.id===K(n));t&&N(t.reactiveSnackOptions.onOpened)}function jD(e){e.parentElement&&e.parentElement.classList.remove("var-pointer-auto");const n=e.getAttribute("data-id"),t=nt.find(r=>r.id===K(n));t&&(t.animationEnd=!0,N(t.reactiveSnackOptions.onClosed)),nt.every(r=>r.animationEnd)&&(N(cy),nt=Xe([]),lu=!1)}function YD(e){nt.push(e)}function WD(e={}){return gn(e)?{content:e}:e}function qD(e,n){const[t]=nt;t.reactiveSnackOptions=ki(ki({},t.reactiveSnackOptions),e),t._update=n}function KD(e="top"){return e==="bottom"?{top:"85%"}:{top:e==="top"?"5%":"45%"}}Lt.Component=pc;be(pc);be(pc,Lt);var uu=Lt;const XD={size:{type:[String,Number,Array],default:"normal"},wrap:{type:Boolean,default:!0},direction:{type:String,default:"row"},justify:{type:String,default:"flex-start"},align:String,inline:Boolean};function Wn(e){return`calc(${e} / 2)`}function GD(e,n,t){const{direction:o,justify:r,index:i,lastIndex:a}=t;let s="0";return o==="row"&&(["flex-start","center","flex-end","start","end"].includes(r)?i!==a?s=`${Wn(e)} ${n} ${Wn(e)} 0`:s=`${Wn(e)} 0`:r==="space-around"?s=`${Wn(e)} ${Wn(n)}`:r==="space-between"&&(i===0?s=`${Wn(e)} ${Wn(n)} ${Wn(e)} 0`:i===a?s=`${Wn(e)} 0 ${Wn(e)} ${Wn(n)}`:s=`${Wn(e)} ${Wn(n)}`)),o==="column"&&i!==a&&(s=`0 0 ${e} 0`),s}const ZD=e=>["mini","small","normal","large"].includes(e),{name:JD,n:Ds,classes:QD}=pe("space");function _D(e,n){return n?[`var(--space-size-${e}-y)`,`var(--space-size-${e}-x)`]:Qe(e)?e.map(ze):[ze(e),ze(e)]}var fy=me({name:JD,props:XD,setup(e,{slots:n}){return()=>{var t;const{inline:o,justify:r,align:i,wrap:a,direction:s,size:l}=e;let u=(t=N(n.default))!=null?t:[];const[c,d]=_D(l,ZD(l));u=um(u);const f=u.length-1,v=u.map((p,h)=>{const g=GD(c,d,{direction:s,justify:r,index:h,lastIndex:f});return ie("div",{style:{margin:g}},[p])});return ie("div",{class:QD(Ds(),Ds("$--box"),[o,Ds("--inline")]),style:{flexDirection:s,justifyContent:$a(r),alignItems:$a(i),flexWrap:a?"wrap":"nowrap",margin:s==="row"?`calc(-1 * ${c} / 2) 0`:void 0}},[v])}}});be(fy);var cu=fy;const xD={activeIcon:{type:String,default:"check"},currentIcon:Fe(dn,"name"),inactiveIcon:Fe(dn,"name"),activeIconNamespace:Fe(dn,"namespace"),currentIconNamespace:Fe(dn,"namespace"),inactiveIconNamespace:Fe(dn,"namespace")},vy=Symbol("STEPS_BIND_STEP_KEY");function eA(){const{bindChildren:e,childProviders:n}=Tn(vy);return{step:n,bindStep:e}}function nA(){const{parentProvider:e,index:n,bindParent:t}=On(vy);return t||Gn("Steps"," must in "),{index:n,steps:e,bindSteps:t}}const{name:tA,n:oA,classes:rA}=pe("step"),iA={key:3};function aA(e,n){const t=we("var-icon");return C(),M("div",{class:m(e.n())},[R("div",{class:m(e.n(e.direction))},[R("div",{class:m(e.classes(e.n(`${e.direction}-tag`),[e.isActive||e.isCurrent,e.n(`${e.direction}-tag--active`)])),style:te({backgroundColor:e.isActive||e.isCurrent?e.activeColor:e.inactiveColor}),onClick:n[0]||(n[0]=(...o)=>e.click&&e.click(...o))},[e.isActive?(C(),Ae(t,{key:0,class:m(e.n("icon")),"var-step-cover":"",name:e.activeIcon,namespace:e.activeIconNamespace},null,8,["class","name","namespace"])):e.isCurrent&&e.currentIcon?(C(),Ae(t,{key:1,class:m(e.n("icon")),"var-step-cover":"",name:e.currentIcon,namespace:e.currentIconNamespace},null,8,["class","name","namespace"])):e.inactiveIcon?(C(),Ae(t,{key:2,class:m(e.n("icon")),"var-step-cover":"",name:e.inactiveIcon,namespace:e.inactiveIconNamespace},null,8,["class","name","namespace"])):(C(),M("span",iA,$e(e.index+1),1))],6),R("div",{class:m(e.classes(e.n(`${e.direction}-content`),[e.isActive||e.isCurrent,e.n(`${e.direction}-content--active`)])),onClick:n[1]||(n[1]=(...o)=>e.click&&e.click(...o))},[X(e.$slots,"default")],2),R("div",{class:m(e.n(`${e.direction}-line`))},null,2)],2)],2)}const hy=me({name:tA,components:{VarIcon:tn},props:xD,setup(){const{index:e,steps:n,bindSteps:t}=nA(),{active:o,activeColor:r,inactiveColor:i,direction:a,clickStep:s}=n,l=L(()=>o.value===e.value),u=L(()=>e.value!==-1&&K(o.value)>e.value);t({index:e});function d(){return s(e.value)}return{index:e,isActive:u,isCurrent:l,direction:a,activeColor:r,inactiveColor:i,n:oA,classes:rA,click:d}}});hy.render=aA;var my=hy;be(my);var du=my;const sA={active:{type:[String,Number],default:0},direction:{type:String,default:"horizontal"},activeColor:String,inactiveColor:String,onClickStep:W()},{name:lA,n:uA}=pe("steps");function cA(e,n){return C(),M("div",{class:m(e.n()),style:te({flexDirection:e.direction==="horizontal"?"row":"column"})},[X(e.$slots,"default")],6)}const py=me({name:lA,props:sA,setup(e){const n=L(()=>e.active),t=L(()=>e.activeColor),o=L(()=>e.inactiveColor),r=L(()=>e.direction),{bindStep:i}=eA();i({active:n,direction:r,activeColor:t,inactiveColor:o,clickStep:s});function s(l){N(e.onClickStep,l)}return{n:uA}}});py.render=cA;var gy=py;be(gy);var fu=gy;const dA={styleVars:{type:Object,default:()=>({})},tag:{type:String,default:"div"}},{name:fA,n:vA}=pe("style-provider"),hA=me({name:fA,props:dA,setup(e,{slots:n}){return()=>Ii(e.tag,{class:vA(),style:Sm(e.styleVars)},N(n.default))}});var bc=hA;const As=[];function yc(e){As.forEach(t=>document.documentElement.style.removeProperty(t)),As.length=0;const n=Sm(e??{});Object.entries(n).forEach(([t,o])=>{document.documentElement.style.setProperty(t,o),As.push(t)})}yc.Component=bc;be(bc);be(bc,yc);var Oi=yc;const mA={modelValue:{default:!1},activeValue:{default:!0},inactiveValue:{default:!1},disabled:Boolean,readonly:Boolean,loading:Boolean,color:String,loadingColor:String,closeColor:String,size:[String,Number],rules:Array,ripple:{type:Boolean,default:!0},onClick:W(),onChange:W(),"onUpdate:modelValue":W()},{name:pA,n:gA,classes:bA}=pe("switch"),yA=e=>($o(""),e=e(),wo(),e),$A=yA(()=>R("svg",{viewBox:"25 25 50 50"},[R("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1)),wA=[$A];function CA(e,n){const t=we("var-hover-overlay"),o=we("var-form-details"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("div",{class:m(e.n())},[R("div",{class:m(e.classes(e.n("block"),[e.disabled||e.formDisabled,e.n("--disabled")])),onClick:n[0]||(n[0]=(...a)=>e.switchActive&&e.switchActive(...a)),style:te(e.styleComputed.switch)},[R("div",{style:te(e.styleComputed.track),class:m(e.classes(e.n("track"),[e.modelValue===e.activeValue,e.n("track--active")],[e.errorMessage,e.n("track--error")]))},null,6),He((C(),M("div",{class:m(e.classes(e.n("ripple"),[e.modelValue===e.activeValue,e.n("ripple--active")])),style:te(e.styleComputed.ripple)},[R("div",{style:te(e.styleComputed.handle),class:m(e.classes(e.n("handle"),e.n("$-elevation--2"),[e.modelValue===e.activeValue,e.n("handle--active")],[e.errorMessage,e.n("handle--error")]))},[e.loading?(C(),M("span",{key:0,class:m(e.n("loading")),style:te({width:e.radius,height:e.radius})},wA,6)):he("v-if",!0)],6),ie(t,{hovering:e.hovering},null,8,["hovering"])],6)),[[r,{disabled:!e.ripple||e.disabled||e.loading||e.formDisabled}]])],6),ie(o,{"error-message":e.errorMessage},null,8,["error-message"])],2)),[[i,e.hover,"desktop"]])}const by=me({name:pA,components:{VarFormDetails:Fn,VarHoverOverlay:tt},directives:{Ripple:vn,Hover:Zn},props:mA,setup(e){const{bindForm:n,form:t}=rt(),{errorMessage:o,validateWithTrigger:r,validate:i,resetValidation:a}=ot(),{hovering:s,handleHovering:l}=Pt(),u=L(()=>{const{size:$,modelValue:S,color:O,closeColor:y,loadingColor:P,activeValue:A}=e;return{handle:{width:Dn($),height:Dn($),backgroundColor:S===A?O:y,color:P},ripple:{left:S===A?Dn($,.5):`-${Dn($,.5)}`,color:S===A?O:y||"#999",width:Dn($,2),height:Dn($,2)},track:{height:Dn($,.72),width:Dn($,1.9),borderRadius:Dn($,2/3),filter:S===A||o!=null&&o.value?void 0:"brightness(.6)",backgroundColor:S===A?O:y},switch:{height:Dn($,1.2),width:Dn($,2)}}}),c=L(()=>Dn(e.size,.8));N(n,{reset:g,validate:f,resetValidation:a});function f(){return i(e.rules,e.modelValue)}function v(){return en(()=>r(["onChange"],"onChange",e.rules,e.modelValue))}function p($){const{onClick:S,onChange:O,disabled:y,loading:P,readonly:A,modelValue:k,activeValue:D,inactiveValue:T,"onUpdate:modelValue":B}=e;if(N(S,$),y||P||A||t!=null&&t.disabled.value||t!=null&&t.readonly.value)return;const U=k===D?T:D;N(O,U),N(B,U),v()}function h($){e.disabled||t!=null&&t.disabled.value||l($)}function g(){N(e["onUpdate:modelValue"],e.inactiveValue),a()}return{hovering:s,radius:c,styleComputed:u,errorMessage:o,formDisabled:t==null?void 0:t.disabled,formReadonly:t==null?void 0:t.readonly,n:gA,classes:bA,multiplySizeUnit:Dn,switchActive:p,hover:h}}});by.render=CA;var yy=by;be(yy);var vu=yy;const SA={name:[String,Number],disabled:Boolean,onClick:W()},$y=Symbol("TABS_BIND_TAB_KEY");function kA(){const{childProviders:e,bindChildren:n,length:t}=Tn($y);return{length:t,tabList:e,bindTabList:n}}function PA(){const{parentProvider:e,bindParent:n,index:t}=On($y);return n||Gn("Tab"," must in "),{index:t,tabs:e,bindTabs:n}}const{name:OA,n:_i,classes:TA}=pe("tab");function EA(e,n){const t=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.computeColorClass(),e.n(`--${e.itemDirection}`))),ref:"tabEl",style:te({color:e.computeColorStyle()}),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[X(e.$slots,"default")],6)),[[t,{disabled:e.disabled}]])}const wy=me({name:OA,directives:{Ripple:vn},props:SA,setup(e){const n=I(null),t=L(()=>n.value),o=L(()=>e.name),r=L(()=>e.disabled),{index:i,tabs:a,bindTabs:s}=PA(),{onTabClick:l,active:u,activeColor:c,inactiveColor:d,disabledColor:f,itemDirection:v,resize:p}=a,h={name:o,index:i,disabled:r,element:t};s(h),Ce(()=>[e.name,e.disabled],p);function g(){return e.name!=null?u.value===e.name:u.value===(i==null?void 0:i.value)}function $(){return e.disabled?f.value:g()?c.value:d.value}function S(){return e.disabled?_i("$-tab--disabled"):g()?_i("$-tab--active"):_i("$-tab--inactive")}function O(y){const{disabled:P,name:A,onClick:k}=e;P||(N(k,A??i.value,y),l(h))}return{tabEl:n,active:u,activeColor:c,inactiveColor:d,itemDirection:v,n:_i,classes:TA,computeColorStyle:$,computeColorClass:S,handleClick:O}}});wy.render=EA;var Cy=wy;be(Cy);var hu=Cy;const NA={name:[String,Number]},{name:IA,n:MA,classes:DA}=pe("tab-item");function AA(e,n){const t=we("var-swipe-item");return C(),Ae(t,{class:m(e.classes(e.n(),[!e.current,e.n("--inactive")])),"var-tab-item-cover":""},{default:Te(()=>[X(e.$slots,"default")]),_:3},8,["class"])}const Sy=me({name:IA,components:{VarSwipeItem:wi},props:NA,setup(e){const n=I(!1),t=L(()=>e.name),{index:o,bindTabsItems:r}=pM(),{bindLists:i}=gM(),a={index:o,name:t,current:L(()=>n.value),setCurrent:s};r(a),i(a);function s(l){n.value=l}return{current:n,n:MA,classes:DA}}});Sy.render=AA;var ky=Sy;be(ky);var mu=ky;const BA={fullWidth:{type:[Number,String],default:"100%"},elevation:{type:[Boolean,Number,String],default:!0}},{name:zA,n:VA,classes:RA}=pe("table");function LA(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.formatElevation(e.elevation,1),e.n("$--box")))},[R("div",{class:m(e.n("main"))},[R("table",{class:m(e.n("table")),style:te({width:e.toSizeUnit(e.fullWidth)})},[X(e.$slots,"default")],6)],2),e.$slots.footer?(C(),M("div",{key:0,class:m(e.n("footer"))},[X(e.$slots,"footer")],2)):he("v-if",!0)],2)}const Py=me({name:zA,props:BA,setup:()=>({toSizeUnit:ze,n:VA,classes:RA,formatElevation:In})});Py.render=LA;var Oy=Py;be(Oy);var pu=Oy;const UA={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:"horizontal"},itemDirection:{type:String,default:"horizontal"},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:"auto"},indicatorPosition:{type:String,default:"normal"},safeArea:Boolean,sticky:Boolean,stickyCssMode:Fe(ca,"cssMode"),stickyZIndex:Fe(ca,"zIndex"),offsetTop:Fe(ca,"offsetTop"),onClick:W(),onChange:W(),"onUpdate:active":W()};var Pv=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:FA,n:HA,classes:jA}=pe("tabs");function YA(e,n){return C(),Ae(Er(e.sticky?e.n("$-sticky"):e.Transition),{ref:e.sticky?"stickyComponent":void 0,"css-mode":e.sticky?e.stickyCssMode:void 0,"offset-top":e.sticky?e.offsetTop:void 0,"z-index":e.sticky?e.stickyZIndex:void 0},{default:Te(()=>[R("div",Ze({class:e.classes(e.n(),e.n("$--box"),e.n(`--item-${e.itemDirection}`),e.n(`--layout-${e.layoutDirection}-padding`),e.formatElevation(e.elevation,4),[e.fixedBottom,e.n("--fixed-bottom")],[e.safeArea,e.n("--safe-area")]),style:{background:e.color}},e.$attrs),[R("div",{ref:"scrollerEl",class:m(e.classes(e.n("tab-wrap"),[e.localScrollable,e.n(`--layout-${e.layoutDirection}-scrollable`)],e.n(`--layout-${e.layoutDirection}`)))},[X(e.$slots,"default"),R("div",{class:m(e.classes(e.n("indicator"),e.n(`--layout-${e.layoutDirection}${e.indicatorPosition}-indicator`))),style:te({width:e.layoutDirection==="horizontal"?e.indicatorWidth:e.toSizeUnit(e.indicatorSize),height:e.layoutDirection==="horizontal"?e.toSizeUnit(e.indicatorSize):e.indicatorHeight,transform:e.layoutDirection==="horizontal"?`translateX(${e.indicatorX})`:`translateY(${e.indicatorY})`})},[R("div",{class:m(e.classes(e.n("indicator-inner"),e.n(`--layout-${e.layoutDirection}-indicator-inner`))),style:te({background:e.indicatorColor||e.activeColor})},null,6)],6)],2)],16)]),_:3},8,["css-mode","offset-top","z-index"])}const Ty=me({name:FA,components:{VarSticky:Si},inheritAttrs:!1,props:UA,setup(e){const n=I("0px"),t=I("0px"),o=I("0px"),r=I("0px"),i=I(!1),a=I(null),s=L(()=>e.active),l=L(()=>e.activeColor),u=L(()=>e.inactiveColor),c=L(()=>e.disabledColor),d=L(()=>e.itemDirection),f=I(null),v=L(()=>e.indicatorPosition==="reverse"?"-reverse":""),{tabList:p,bindTabList:h,length:g}=kA();h({active:s,activeColor:l,inactiveColor:u,disabledColor:c,itemDirection:d,resize:T,onTabClick:S}),Ce(()=>g.value,()=>Pv(this,null,function*(){yield Bn(),T()})),Ce(()=>[e.active,e.scrollable],T),Ut(T),Mr(T);function S(U){var z;const ae=(z=U.name.value)!=null?z:U.index.value,{active:re,onChange:oe,onClick:_}=e;N(e["onUpdate:active"],ae),N(_,ae),ae!==re&&N(oe,ae)}function O(){return p.find(({name:U})=>e.active===U.value)}function y(U){return p.find(({index:z})=>(U??e.active)===z.value)}function P(){if(g.value===0)return;const{active:U}=e;if(Rn(U)){const z=ho(U,0,g.value-1);return N(e["onUpdate:active"],z),y(z)}}function A(){i.value=e.scrollable==="always"||p.length>=5}function k({element:U}){const z=U.value;z&&(e.layoutDirection==="horizontal"?(n.value=`${z.offsetWidth}px`,o.value=`${z.offsetLeft}px`):(t.value=`${z.offsetHeight}px`,r.value=`${z.offsetTop}px`))}function D({element:U}){if(!i.value)return;const z=a.value,ae=U.value;if(e.layoutDirection==="horizontal"){const re=ae.offsetLeft+ae.offsetWidth/2-z.offsetWidth/2;vi(z,{left:re,animation:rl})}else{const re=ae.offsetTop+ae.offsetHeight/2-z.offsetHeight/2;vi(z,{top:re,animation:rl})}}function T(){const U=O()||y()||P();!U||U.disabled.value||(A(),k(U),D(U))}function B(){return Pv(this,null,function*(){e.sticky&&f.value&&(yield f.value.resize())})}return{stickyComponent:f,indicatorWidth:n,indicatorHeight:t,indicatorX:o,indicatorY:r,indicatorPosition:v,localScrollable:i,scrollerEl:a,Transition:nn,toSizeUnit:ze,n:HA,classes:jA,resize:T,resizeSticky:B,formatElevation:In}}});Ty.render=YA;var Ey=Ty;be(Ey);var gu=Ey;const WA={active:{type:[String,Number],default:0},canSwipe:{type:Boolean,default:!0},loop:Boolean,"onUpdate:active":W()};var qA=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:KA,n:XA}=pe("tabs-items");function GA(e,n){const t=we("var-swipe");return C(),Ae(t,{class:m(e.n()),ref:"swipe",loop:e.loop,touchable:e.canSwipe,indicator:!1,onChange:e.handleSwipeChange},{default:Te(()=>[X(e.$slots,"default")]),_:3},8,["class","loop","touchable","onChange"])}const Ny=me({name:KA,components:{VarSwipe:$i},props:WA,setup(e){const n=I(null),{tabItemList:t,bindTabItem:o,length:r}=mM();o({}),Ce(()=>e.active,l),Ce(()=>r.value,()=>qA(this,null,function*(){yield Bn(),l(e.active)}));function i(d){return t.find(({name:f})=>d===f.value)}function a(d){return t.find(({index:f})=>d===f.value)}function s(d){return i(d)||a(d)}function l(d){var f;const v=s(d);v&&(t.forEach(({setCurrent:p})=>p(!1)),v.setCurrent(!0),(f=n.value)==null||f.to(v.index.value))}function u(d){var f;const v=t.find(({index:h})=>h.value===d),p=(f=v.name.value)!=null?f:v.index.value;N(e["onUpdate:active"],p)}function c(){return n.value}return{swipe:n,n:XA,handleSwipeChange:u,getSwipe:c}}});Ny.render=GA;var Iy=Ny;be(Iy);var bu=Iy,ZA={"--action-sheet-background":"#1e1e1e","--action-sheet-title-color":"#aaa","--action-sheet-action-item-color":"#fff"},JA={"--badge-default-color":"#555"},QA={"--button-default-color":"#303030","--button-default-text-color":"#fff"},_A={"--card-background":"#303030","--card-title-color":"#ffffff","--card-outline-color":"rgba(255, 255, 255, 0.2)","--card-subtitle-color":"#aaaaaa","--card-description-color":"#aaaaaa"},xA={"--cell-description-color":"#aaa","--cell-border-color":"#545454"},eB={"--checkbox-unchecked-color":"#fff","--checkbox-text-color":"#fff"},nB={"--chip-default-color":"#555","--chip-default-text-color":"#fff"},tB={"--collapse-background":"#303030","--collapse-text-color":"#fff","--collapse-border-top":"thin solid rgba(255, 255, 255, 0.12)"},oB={"--date-picker-main-color":"#fff","--date-picker-body-background-color":"#303030","--day-picker-head-item-color":"#aaaaaa","--year-picker-item-color":"#fff","--picker-header-color":"#fff"},rB={"--dialog-background":"#1e1e1e","--dialog-title-color":"#fff","--dialog-message-color":"#bbb"},iB={"--divider-color":"rgba(255, 255, 255, 0.2)","--divider-text-color":"#aaa"},aB={"--floating-panel-background":"#272727"},sB={"--field-decorator-text-color":"#fff","--field-decorator-blur-color":"rgb(255, 255, 255, .7)"},lB={"--pagination-text-color":"#fff","--pagination-list-bg-color":"#303030","--pagination-hover-bg-color":"rgba(255, 255, 255, .15)","--pagination-list-active-bg-color":"#25293a","--pagination-list-active-color":"#4a7afe","--pagination-item-background":"#303030"},uB={"--picker-background":"#1e1e1e","--picker-cancel-button-text-color":"#aaa","--picker-title-text-color":"#fff","--picker-option-text-color":"#fff","--picker-picked-border":"1px solid rgba(255, 255, 255, 0.12)","--picker-mask-background-image":"linear-gradient(180deg, hsla(0, 0%, 12%, 0.9), hsla(0, 0%, 12%, 0.4)), linear-gradient(0deg, hsla(0, 0%, 12%, 0.9), hsla(0, 0%, 12%, 0.4))"},cB={"--popup-content-background-color":"#1e1e1e"},dB={"--pull-refresh-background":"#303030"},fB={"--radio-unchecked-color":"#fff","--radio-text-color":"#fff"},vB={"--result-background":"#303030","--result-title-color":"#ffffff","--result-description-color":"#aaaaaa","--result-question-color":"#7f8e96","--result-question-border-color":"rgba(151,194,216,0.3)","--result-empty-color":"#adadad","--result-empty-border-color":"rgba(232,229,229,0.3)"},hB={"--select-scroller-background":"#303030"},mB={"--skeleton-card-background-color":"hsla(0,0%,100%,.12)","--skeleton-animation-background":`linear-gradient( + */var tr=9e15,ko=1e9,Sl="0123456789abcdef",Pa="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Oa="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",kl={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-tr,maxE:tr,crypto:!1},jp,At,Be=!0,xa="[DecimalError] ",bo=xa+"Invalid argument: ",Yp=xa+"Precision limit exceeded",Wp=xa+"crypto unavailable",qp="[object Decimal]",Nn=Math.floor,mn=Math.pow,GP=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ZP=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,JP=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Kp=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,mt=1e7,Me=7,QP=9007199254740991,_P=Pa.length-1,Pl=Oa.length-1,ce={toStringTag:qp};ce.absoluteValue=ce.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),Ee(e)};ce.ceil=function(){return Ee(new this.constructor(this),this.e+1,2)};ce.clampedTo=ce.clamp=function(e,n){var t,o=this,r=o.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(bo+n);return t=o.cmp(e),t<0?e:o.cmp(n)>0?n:new r(o)};ce.comparedTo=ce.cmp=function(e){var n,t,o,r,i=this,a=i.d,s=(e=new i.constructor(e)).d,l=i.s,u=e.s;if(!a||!s)return!l||!u?NaN:l!==u?l:a===s?0:!a^l<0?1:-1;if(!a[0]||!s[0])return a[0]?l:s[0]?-u:0;if(l!==u)return l;if(i.e!==e.e)return i.e>e.e^l<0?1:-1;for(o=a.length,r=s.length,n=0,t=os[n]^l<0?1:-1;return o===r?0:o>r^l<0?1:-1};ce.cosine=ce.cos=function(){var e,n,t=this,o=t.constructor;return t.d?t.d[0]?(e=o.precision,n=o.rounding,o.precision=e+Math.max(t.e,t.sd())+Me,o.rounding=1,t=xP(o,Qp(o,t)),o.precision=e,o.rounding=n,Ee(At==2||At==3?t.neg():t,e,n,!0)):new o(1):new o(NaN)};ce.cubeRoot=ce.cbrt=function(){var e,n,t,o,r,i,a,s,l,u,c=this,d=c.constructor;if(!c.isFinite()||c.isZero())return new d(c);for(Be=!1,i=c.s*mn(c.s*c,1/3),!i||Math.abs(i)==1/0?(t=kn(c.d),e=c.e,(i=(e-t.length+1)%3)&&(t+=i==1||i==-2?"0":"00"),i=mn(t,1/3),e=Nn((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),o=new d(t),o.s=c.s):o=new d(i.toString()),a=(e=d.precision)+3;;)if(s=o,l=s.times(s).times(s),u=l.plus(c),o=xe(u.plus(c).times(s),u.plus(l),a+2,1),kn(s.d).slice(0,a)===(t=kn(o.d)).slice(0,a))if(t=t.slice(a-3,a+1),t=="9999"||!r&&t=="4999"){if(!r&&(Ee(s,e+1,0),s.times(s).times(s).eq(c))){o=s;break}a+=4,r=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(Ee(o,e+1,1),n=!o.times(o).times(o).eq(c));break}return Be=!0,Ee(o,e,d.rounding,n)};ce.decimalPlaces=ce.dp=function(){var e,n=this.d,t=NaN;if(n){if(e=n.length-1,t=(e-Nn(this.e/Me))*Me,e=n[e],e)for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t};ce.dividedBy=ce.div=function(e){return xe(this,new this.constructor(e))};ce.dividedToIntegerBy=ce.divToInt=function(e){var n=this,t=n.constructor;return Ee(xe(n,new t(e),0,1,1),t.precision,t.rounding)};ce.equals=ce.eq=function(e){return this.cmp(e)===0};ce.floor=function(){return Ee(new this.constructor(this),this.e+1,3)};ce.greaterThan=ce.gt=function(e){return this.cmp(e)>0};ce.greaterThanOrEqualTo=ce.gte=function(e){var n=this.cmp(e);return n==1||n===0};ce.hyperbolicCosine=ce.cosh=function(){var e,n,t,o,r,i=this,a=i.constructor,s=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return s;t=a.precision,o=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,r=i.d.length,r<32?(e=Math.ceil(r/3),n=(1/ns(4,e)).toString()):(e=16,n="2.3283064365386962890625e-10"),i=gr(a,1,i.times(n),new a(1),!0);for(var l,u=e,c=new a(8);u--;)l=i.times(i),i=s.minus(l.times(c.minus(l.times(c))));return Ee(i,a.precision=t,a.rounding=o,!0)};ce.hyperbolicSine=ce.sinh=function(){var e,n,t,o,r=this,i=r.constructor;if(!r.isFinite()||r.isZero())return new i(r);if(n=i.precision,t=i.rounding,i.precision=n+Math.max(r.e,r.sd())+4,i.rounding=1,o=r.d.length,o<3)r=gr(i,2,r,r,!0);else{e=1.4*Math.sqrt(o),e=e>16?16:e|0,r=r.times(1/ns(5,e)),r=gr(i,2,r,r,!0);for(var a,s=new i(5),l=new i(16),u=new i(20);e--;)a=r.times(r),r=r.times(s.plus(a.times(l.times(a).plus(u))))}return i.precision=n,i.rounding=t,Ee(r,n,t,!0)};ce.hyperbolicTangent=ce.tanh=function(){var e,n,t=this,o=t.constructor;return t.isFinite()?t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+7,o.rounding=1,xe(t.sinh(),t.cosh(),o.precision=e,o.rounding=n)):new o(t.s)};ce.inverseCosine=ce.acos=function(){var e,n=this,t=n.constructor,o=n.abs().cmp(1),r=t.precision,i=t.rounding;return o!==-1?o===0?n.isNeg()?ft(t,r,i):new t(0):new t(NaN):n.isZero()?ft(t,r+4,i).times(.5):(t.precision=r+6,t.rounding=1,n=n.asin(),e=ft(t,r+4,i).times(.5),t.precision=r,t.rounding=i,e.minus(n))};ce.inverseHyperbolicCosine=ce.acosh=function(){var e,n,t=this,o=t.constructor;return t.lte(1)?new o(t.eq(1)?0:NaN):t.isFinite()?(e=o.precision,n=o.rounding,o.precision=e+Math.max(Math.abs(t.e),t.sd())+4,o.rounding=1,Be=!1,t=t.times(t).minus(1).sqrt().plus(t),Be=!0,o.precision=e,o.rounding=n,t.ln()):new o(t)};ce.inverseHyperbolicSine=ce.asinh=function(){var e,n,t=this,o=t.constructor;return!t.isFinite()||t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,o.rounding=1,Be=!1,t=t.times(t).plus(1).sqrt().plus(t),Be=!0,o.precision=e,o.rounding=n,t.ln())};ce.inverseHyperbolicTangent=ce.atanh=function(){var e,n,t,o,r=this,i=r.constructor;return r.isFinite()?r.e>=0?new i(r.abs().eq(1)?r.s/0:r.isZero()?r:NaN):(e=i.precision,n=i.rounding,o=r.sd(),Math.max(o,e)<2*-r.e-1?Ee(new i(r),e,n,!0):(i.precision=t=o-r.e,r=xe(r.plus(1),new i(1).minus(r),t+e,1),i.precision=e+4,i.rounding=1,r=r.ln(),i.precision=e,i.rounding=n,r.times(.5))):new i(NaN)};ce.inverseSine=ce.asin=function(){var e,n,t,o,r=this,i=r.constructor;return r.isZero()?new i(r):(n=r.abs().cmp(1),t=i.precision,o=i.rounding,n!==-1?n===0?(e=ft(i,t+4,o).times(.5),e.s=r.s,e):new i(NaN):(i.precision=t+6,i.rounding=1,r=r.div(new i(1).minus(r.times(r)).sqrt().plus(1)).atan(),i.precision=t,i.rounding=o,r.times(2)))};ce.inverseTangent=ce.atan=function(){var e,n,t,o,r,i,a,s,l,u=this,c=u.constructor,d=c.precision,f=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);if(u.abs().eq(1)&&d+4<=Pl)return a=ft(c,d+4,f).times(.25),a.s=u.s,a}else{if(!u.s)return new c(NaN);if(d+4<=Pl)return a=ft(c,d+4,f).times(.5),a.s=u.s,a}for(c.precision=s=d+10,c.rounding=1,t=Math.min(28,s/Me+2|0),e=t;e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(Be=!1,n=Math.ceil(s/Me),o=1,l=u.times(u),a=new c(u),r=u;e!==-1;)if(r=r.times(l),i=a.minus(r.div(o+=2)),r=r.times(l),a=i.plus(r.div(o+=2)),a.d[n]!==void 0)for(e=n;a.d[e]===i.d[e]&&e--;);return t&&(a=a.times(2<this.d.length-2};ce.isNaN=function(){return!this.s};ce.isNegative=ce.isNeg=function(){return this.s<0};ce.isPositive=ce.isPos=function(){return this.s>0};ce.isZero=function(){return!!this.d&&this.d[0]===0};ce.lessThan=ce.lt=function(e){return this.cmp(e)<0};ce.lessThanOrEqualTo=ce.lte=function(e){return this.cmp(e)<1};ce.logarithm=ce.log=function(e){var n,t,o,r,i,a,s,l,u=this,c=u.constructor,d=c.precision,f=c.rounding,v=5;if(e==null)e=new c(10),n=!0;else{if(e=new c(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new c(NaN);n=e.eq(10)}if(t=u.d,u.s<0||!t||!t[0]||u.eq(1))return new c(t&&!t[0]?-1/0:u.s!=1?NaN:t?0:1/0);if(n)if(t.length>1)i=!0;else{for(r=t[0];r%10===0;)r/=10;i=r!==1}if(Be=!1,s=d+v,a=ro(u,s),o=n?Ta(c,s+10):ro(e,s),l=xe(a,o,s,1),pi(l.d,r=d,f))do if(s+=10,a=ro(u,s),o=n?Ta(c,s+10):ro(e,s),l=xe(a,o,s,1),!i){+kn(l.d).slice(r+1,r+15)+1==1e14&&(l=Ee(l,d+1,0));break}while(pi(l.d,r+=10,f));return Be=!0,Ee(l,d,f)};ce.minus=ce.sub=function(e){var n,t,o,r,i,a,s,l,u,c,d,f,v=this,p=v.constructor;if(e=new p(e),!v.d||!e.d)return!v.s||!e.s?e=new p(NaN):v.d?e.s=-e.s:e=new p(e.d||v.s!==e.s?v:NaN),e;if(v.s!=e.s)return e.s=-e.s,v.plus(e);if(u=v.d,f=e.d,s=p.precision,l=p.rounding,!u[0]||!f[0]){if(f[0])e.s=-e.s;else if(u[0])e=new p(v);else return new p(l===3?-0:0);return Be?Ee(e,s,l):e}if(t=Nn(e.e/Me),c=Nn(v.e/Me),u=u.slice(),i=c-t,i){for(d=i<0,d?(n=u,i=-i,a=f.length):(n=f,t=c,a=u.length),o=Math.max(Math.ceil(s/Me),a)+2,i>o&&(i=o,n.length=1),n.reverse(),o=i;o--;)n.push(0);n.reverse()}else{for(o=u.length,a=f.length,d=o0;--o)u[a++]=0;for(o=f.length;o>i;){if(u[--o]a?i+1:a+1,r>a&&(r=a,t.length=1),t.reverse();r--;)t.push(0);t.reverse()}for(a=u.length,r=c.length,a-r<0&&(r=a,t=c,c=u,u=t),n=0;r;)n=(u[--r]=u[r]+c[r]+n)/mt|0,u[r]%=mt;for(n&&(u.unshift(n),++o),a=u.length;u[--a]==0;)u.pop();return e.d=u,e.e=es(u,o),Be?Ee(e,s,l):e};ce.precision=ce.sd=function(e){var n,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(bo+e);return t.d?(n=Xp(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n};ce.round=function(){var e=this,n=e.constructor;return Ee(new n(e),e.e+1,n.rounding)};ce.sine=ce.sin=function(){var e,n,t=this,o=t.constructor;return t.isFinite()?t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+Math.max(t.e,t.sd())+Me,o.rounding=1,t=nO(o,Qp(o,t)),o.precision=e,o.rounding=n,Ee(At>2?t.neg():t,e,n,!0)):new o(NaN)};ce.squareRoot=ce.sqrt=function(){var e,n,t,o,r,i,a=this,s=a.d,l=a.e,u=a.s,c=a.constructor;if(u!==1||!s||!s[0])return new c(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);for(Be=!1,u=Math.sqrt(+a),u==0||u==1/0?(n=kn(s),(n.length+l)%2==0&&(n+="0"),u=Math.sqrt(n),l=Nn((l+1)/2)-(l<0||l%2),u==1/0?n="5e"+l:(n=u.toExponential(),n=n.slice(0,n.indexOf("e")+1)+l),o=new c(n)):o=new c(u.toString()),t=(l=c.precision)+3;;)if(i=o,o=i.plus(xe(a,i,t+2,1)).times(.5),kn(i.d).slice(0,t)===(n=kn(o.d)).slice(0,t))if(n=n.slice(t-3,t+1),n=="9999"||!r&&n=="4999"){if(!r&&(Ee(i,l+1,0),i.times(i).eq(a))){o=i;break}t+=4,r=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(Ee(o,l+1,1),e=!o.times(o).eq(a));break}return Be=!0,Ee(o,l,c.rounding,e)};ce.tangent=ce.tan=function(){var e,n,t=this,o=t.constructor;return t.isFinite()?t.isZero()?new o(t):(e=o.precision,n=o.rounding,o.precision=e+10,o.rounding=1,t=t.sin(),t.s=1,t=xe(t,new o(1).minus(t.times(t)).sqrt(),e+10,0),o.precision=e,o.rounding=n,Ee(At==2||At==4?t.neg():t,e,n,!0)):new o(NaN)};ce.times=ce.mul=function(e){var n,t,o,r,i,a,s,l,u,c=this,d=c.constructor,f=c.d,v=(e=new d(e)).d;if(e.s*=c.s,!f||!f[0]||!v||!v[0])return new d(!e.s||f&&!f[0]&&!v||v&&!v[0]&&!f?NaN:!f||!v?e.s/0:e.s*0);for(t=Nn(c.e/Me)+Nn(e.e/Me),l=f.length,u=v.length,l=0;){for(n=0,r=l+o;r>o;)s=i[r]+v[o]*f[r-o-1]+n,i[r--]=s%mt|0,n=s/mt|0;i[r]=(i[r]+n)%mt|0}for(;!i[--a];)i.pop();return n?++t:i.shift(),e.d=i,e.e=es(i,t),Be?Ee(e,d.precision,d.rounding):e};ce.toBinary=function(e,n){return rc(this,2,e,n)};ce.toDecimalPlaces=ce.toDP=function(e,n){var t=this,o=t.constructor;return t=new o(t),e===void 0?t:(Hn(e,0,ko),n===void 0?n=o.rounding:Hn(n,0,8),Ee(t,e+t.e+1,n))};ce.toExponential=function(e,n){var t,o=this,r=o.constructor;return e===void 0?t=Ot(o,!0):(Hn(e,0,ko),n===void 0?n=r.rounding:Hn(n,0,8),o=Ee(new r(o),e+1,n),t=Ot(o,!0,e+1)),o.isNeg()&&!o.isZero()?"-"+t:t};ce.toFixed=function(e,n){var t,o,r=this,i=r.constructor;return e===void 0?t=Ot(r):(Hn(e,0,ko),n===void 0?n=i.rounding:Hn(n,0,8),o=Ee(new i(r),e+r.e+1,n),t=Ot(o,!1,e+o.e+1)),r.isNeg()&&!r.isZero()?"-"+t:t};ce.toFraction=function(e){var n,t,o,r,i,a,s,l,u,c,d,f,v=this,p=v.d,h=v.constructor;if(!p)return new h(v);if(u=t=new h(1),o=l=new h(0),n=new h(o),i=n.e=Xp(p)-v.e-1,a=i%Me,n.d[0]=mn(10,a<0?Me+a:a),e==null)e=i>0?n:u;else{if(s=new h(e),!s.isInt()||s.lt(u))throw Error(bo+s);e=s.gt(n)?i>0?n:u:s}for(Be=!1,s=new h(kn(p)),c=h.precision,h.precision=i=p.length*Me*2;d=xe(s,n,0,1,1),r=t.plus(d.times(o)),r.cmp(e)!=1;)t=o,o=r,r=u,u=l.plus(d.times(r)),l=r,r=n,n=s.minus(d.times(r)),s=r;return r=xe(e.minus(t),o,0,1,1),l=l.plus(r.times(u)),t=t.plus(r.times(o)),l.s=u.s=v.s,f=xe(u,o,i,1).minus(v).abs().cmp(xe(l,t,i,1).minus(v).abs())<1?[u,o]:[l,t],h.precision=c,Be=!0,f};ce.toHexadecimal=ce.toHex=function(e,n){return rc(this,16,e,n)};ce.toNearest=function(e,n){var t=this,o=t.constructor;if(t=new o(t),e==null){if(!t.d)return t;e=new o(1),n=o.rounding}else{if(e=new o(e),n===void 0?n=o.rounding:Hn(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(Be=!1,t=xe(t,e,0,n,1).times(e),Be=!0,Ee(t)):(e.s=t.s,t=e),t};ce.toNumber=function(){return+this};ce.toOctal=function(e,n){return rc(this,8,e,n)};ce.toPower=ce.pow=function(e){var n,t,o,r,i,a,s=this,l=s.constructor,u=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(mn(+s,u));if(s=new l(s),s.eq(1))return s;if(o=l.precision,i=l.rounding,e.eq(1))return Ee(s,o,i);if(n=Nn(e.e/Me),n>=e.d.length-1&&(t=u<0?-u:u)<=QP)return r=Gp(l,s,t,o),e.s<0?new l(1).div(r):Ee(r,o,i);if(a=s.s,a<0){if(nl.maxE+1||n0?a/0:0):(Be=!1,l.rounding=s.s=1,t=Math.min(12,(n+"").length),r=Ol(e.times(ro(s,o+t)),o),r.d&&(r=Ee(r,o+5,1),pi(r.d,o,i)&&(n=o+10,r=Ee(Ol(e.times(ro(s,n+t)),n),n+5,1),+kn(r.d).slice(o+1,o+15)+1==1e14&&(r=Ee(r,o+1,0)))),r.s=a,Be=!0,l.rounding=i,Ee(r,o,i))};ce.toPrecision=function(e,n){var t,o=this,r=o.constructor;return e===void 0?t=Ot(o,o.e<=r.toExpNeg||o.e>=r.toExpPos):(Hn(e,1,ko),n===void 0?n=r.rounding:Hn(n,0,8),o=Ee(new r(o),e,n),t=Ot(o,e<=o.e||o.e<=r.toExpNeg,e)),o.isNeg()&&!o.isZero()?"-"+t:t};ce.toSignificantDigits=ce.toSD=function(e,n){var t=this,o=t.constructor;return e===void 0?(e=o.precision,n=o.rounding):(Hn(e,1,ko),n===void 0?n=o.rounding:Hn(n,0,8)),Ee(new o(t),e,n)};ce.toString=function(){var e=this,n=e.constructor,t=Ot(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t};ce.truncated=ce.trunc=function(){return Ee(new this.constructor(this),this.e+1,1)};ce.valueOf=ce.toJSON=function(){var e=this,n=e.constructor,t=Ot(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};function kn(e){var n,t,o,r=e.length-1,i="",a=e[0];if(r>0){for(i+=a,n=1;nt)throw Error(bo+e)}function pi(e,n,t,o){var r,i,a,s;for(i=e[0];i>=10;i/=10)--n;return--n<0?(n+=Me,r=0):(r=Math.ceil((n+1)/Me),n%=Me),i=mn(10,Me-n),s=e[r]%i|0,o==null?n<3?(n==0?s=s/100|0:n==1&&(s=s/10|0),a=t<4&&s==99999||t>3&&s==49999||s==5e4||s==0):a=(t<4&&s+1==i||t>3&&s+1==i/2)&&(e[r+1]/i/100|0)==mn(10,n-2)-1||(s==i/2||s==0)&&(e[r+1]/i/100|0)==0:n<4?(n==0?s=s/1e3|0:n==1?s=s/100|0:n==2&&(s=s/10|0),a=(o||t<4)&&s==9999||!o&&t>3&&s==4999):a=((o||t<4)&&s+1==i||!o&&t>3&&s+1==i/2)&&(e[r+1]/i/1e3|0)==mn(10,n-3)-1,a}function aa(e,n,t){for(var o,r=[0],i,a=0,s=e.length;at-1&&(r[o+1]===void 0&&(r[o+1]=0),r[o+1]+=r[o]/t|0,r[o]%=t)}return r.reverse()}function xP(e,n){var t,o,r;if(n.isZero())return n;o=n.d.length,o<32?(t=Math.ceil(o/3),r=(1/ns(4,t)).toString()):(t=16,r="2.3283064365386962890625e-10"),e.precision+=t,n=gr(e,1,n.times(r),new e(1));for(var i=t;i--;){var a=n.times(n);n=a.times(a).minus(a).times(8).plus(1)}return e.precision-=t,n}var xe=function(){function e(o,r,i){var a,s=0,l=o.length;for(o=o.slice();l--;)a=o[l]*r+s,o[l]=a%i|0,s=a/i|0;return s&&o.unshift(s),o}function n(o,r,i,a){var s,l;if(i!=a)l=i>a?1:-1;else for(s=l=0;sr[s]?1:-1;break}return l}function t(o,r,i,a){for(var s=0;i--;)o[i]-=s,s=o[i]1;)o.shift()}return function(o,r,i,a,s,l){var u,c,d,f,v,p,h,g,$,S,O,y,P,A,k,D,T,B,L,z,ae=o.constructor,re=o.s==r.s?1:-1,oe=o.d,_=r.d;if(!oe||!oe[0]||!_||!_[0])return new ae(!o.s||!r.s||(oe?_&&oe[0]==_[0]:!_)?NaN:oe&&oe[0]==0||!_?re*0:re/0);for(l?(v=1,c=o.e-r.e):(l=mt,v=Me,c=Nn(o.e/v)-Nn(r.e/v)),L=_.length,T=oe.length,$=new ae(re),S=$.d=[],d=0;_[d]==(oe[d]||0);d++);if(_[d]>(oe[d]||0)&&c--,i==null?(A=i=ae.precision,a=ae.rounding):s?A=i+(o.e-r.e)+1:A=i,A<0)S.push(1),p=!0;else{if(A=A/v+2|0,d=0,L==1){for(f=0,_=_[0],A++;(d1&&(_=e(_,f,l),oe=e(oe,f,l),L=_.length,T=oe.length),D=L,O=oe.slice(0,L),y=O.length;y=l/2&&++B;do f=0,u=n(_,O,L,y),u<0?(P=O[0],L!=y&&(P=P*l+(O[1]||0)),f=P/B|0,f>1?(f>=l&&(f=l-1),h=e(_,f,l),g=h.length,y=O.length,u=n(h,O,g,y),u==1&&(f--,t(h,L=10;f/=10)d++;$.e=d+c*v-1,Ee($,s?i+$.e+1:i,a,p)}return $}}();function Ee(e,n,t,o){var r,i,a,s,l,u,c,d,f,v=e.constructor;e:if(n!=null){if(d=e.d,!d)return e;for(r=1,s=d[0];s>=10;s/=10)r++;if(i=n-r,i<0)i+=Me,a=n,c=d[f=0],l=c/mn(10,r-a-1)%10|0;else if(f=Math.ceil((i+1)/Me),s=d.length,f>=s)if(o){for(;s++<=f;)d.push(0);c=l=0,r=1,i%=Me,a=i-Me+1}else break e;else{for(c=s=d[f],r=1;s>=10;s/=10)r++;i%=Me,a=i-Me+r,l=a<0?0:c/mn(10,r-a-1)%10|0}if(o=o||n<0||d[f+1]!==void 0||(a<0?c:c%mn(10,r-a-1)),u=t<4?(l||o)&&(t==0||t==(e.s<0?3:2)):l>5||l==5&&(t==4||o||t==6&&(i>0?a>0?c/mn(10,r-a):0:d[f-1])%10&1||t==(e.s<0?8:7)),n<1||!d[0])return d.length=0,u?(n-=e.e+1,d[0]=mn(10,(Me-n%Me)%Me),e.e=-n||0):d[0]=e.e=0,e;if(i==0?(d.length=f,s=1,f--):(d.length=f+1,s=mn(10,Me-i),d[f]=a>0?(c/mn(10,r-a)%mn(10,a)|0)*s:0),u)for(;;)if(f==0){for(i=1,a=d[0];a>=10;a/=10)i++;for(a=d[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,d[0]==mt&&(d[0]=1));break}else{if(d[f]+=s,d[f]!=mt)break;d[f--]=0,s=1}for(i=d.length;d[--i]===0;)d.pop()}return Be&&(e.e>v.maxE?(e.d=null,e.e=NaN):e.e0?i=i.charAt(0)+"."+i.slice(1)+Jt(o):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):r<0?(i="0."+Jt(-r-1)+i,t&&(o=t-a)>0&&(i+=Jt(o))):r>=a?(i+=Jt(r+1-a),t&&(o=t-r-1)>0&&(i=i+"."+Jt(o))):((o=r+1)0&&(r+1===a&&(i+="."),i+=Jt(o))),i}function es(e,n){var t=e[0];for(n*=Me;t>=10;t/=10)n++;return n}function Ta(e,n,t){if(n>_P)throw Be=!0,t&&(e.precision=t),Error(Yp);return Ee(new e(Pa),n,1,!0)}function ft(e,n,t){if(n>Pl)throw Error(Yp);return Ee(new e(Oa),n,t,!0)}function Xp(e){var n=e.length-1,t=n*Me+1;if(n=e[n],n){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function Jt(e){for(var n="";e--;)n+="0";return n}function Gp(e,n,t,o){var r,i=new e(1),a=Math.ceil(o/Me+4);for(Be=!1;;){if(t%2&&(i=i.times(n),lf(i.d,a)&&(r=!0)),t=Nn(t/2),t===0){t=i.d.length-1,r&&i.d[t]===0&&++i.d[t];break}n=n.times(n),lf(n.d,a)}return Be=!0,i}function sf(e){return e.d[e.d.length-1]&1}function Zp(e,n,t){for(var o,r=new e(n[0]),i=0;++i17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(n==null?(Be=!1,l=p):l=n,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(o=Math.log(mn(2,d))/Math.LN10*2+5|0,l+=o,t=i=a=new f(1),f.precision=l;;){if(i=Ee(i.times(e),l,1),t=t.times(++c),s=a.plus(xe(i,t,l,1)),kn(s.d).slice(0,l)===kn(a.d).slice(0,l)){for(r=d;r--;)a=Ee(a.times(a),l,1);if(n==null)if(u<3&&pi(a.d,l-o,v,u))f.precision=l+=10,t=i=s=new f(1),c=0,u++;else return Ee(a,f.precision=p,v,Be=!0);else return f.precision=p,a}a=s}}function ro(e,n){var t,o,r,i,a,s,l,u,c,d,f,v=1,p=10,h=e,g=h.d,$=h.constructor,S=$.rounding,O=$.precision;if(h.s<0||!g||!g[0]||!h.e&&g[0]==1&&g.length==1)return new $(g&&!g[0]?-1/0:h.s!=1?NaN:g?0:h);if(n==null?(Be=!1,c=O):c=n,$.precision=c+=p,t=kn(g),o=t.charAt(0),Math.abs(i=h.e)<15e14){for(;o<7&&o!=1||o==1&&t.charAt(1)>3;)h=h.times(e),t=kn(h.d),o=t.charAt(0),v++;i=h.e,o>1?(h=new $("0."+t),i++):h=new $(o+"."+t.slice(1))}else return u=Ta($,c+2,O).times(i+""),h=ro(new $(o+"."+t.slice(1)),c-p).plus(u),$.precision=O,n==null?Ee(h,O,S,Be=!0):h;for(d=h,l=a=h=xe(h.minus(1),h.plus(1),c,1),f=Ee(h.times(h),c,1),r=3;;){if(a=Ee(a.times(f),c,1),u=l.plus(xe(a,new $(r),c,1)),kn(u.d).slice(0,c)===kn(l.d).slice(0,c))if(l=l.times(2),i!==0&&(l=l.plus(Ta($,c+2,O).times(i+""))),l=xe(l,new $(v),c,1),n==null)if(pi(l.d,c-p,S,s))$.precision=c+=p,u=a=h=xe(d.minus(1),d.plus(1),c,1),f=Ee(h.times(h),c,1),r=s=1;else return Ee(l,$.precision=O,S,Be=!0);else return $.precision=O,l;l=u,r+=2}}function Jp(e){return String(e.s*e.s/0)}function Tl(e,n){var t,o,r;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(o=n.search(/e/i))>0?(t<0&&(t=o),t+=+n.slice(o+1),n=n.substring(0,o)):t<0&&(t=n.length),o=0;n.charCodeAt(o)===48;o++);for(r=n.length;n.charCodeAt(r-1)===48;--r);if(n=n.slice(o,r),n){if(r-=o,e.e=t=t-o-1,e.d=[],o=(t+1)%Me,t<0&&(o+=Me),oe.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),Kp.test(n))return Tl(e,n)}else if(n==="Infinity"||n==="NaN")return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(ZP.test(n))t=16,n=n.toLowerCase();else if(GP.test(n))t=2;else if(JP.test(n))t=8;else throw Error(bo+n);for(i=n.search(/p/i),i>0?(l=+n.slice(i+1),n=n.substring(2,i)):n=n.slice(2),i=n.indexOf("."),a=i>=0,o=e.constructor,a&&(n=n.replace(".",""),s=n.length,i=s-i,r=Gp(o,new o(t),i,i*2)),u=aa(n,t,mt),c=u.length-1,i=c;u[i]===0;--i)u.pop();return i<0?new o(e.s*0):(e.e=es(u,c),e.d=u,Be=!1,a&&(e=xe(e,r,s*4)),l&&(e=e.times(Math.abs(l)<54?mn(2,l):io.pow(2,l))),Be=!0,e)}function nO(e,n){var t,o=n.d.length;if(o<3)return n.isZero()?n:gr(e,2,n,n);t=1.4*Math.sqrt(o),t=t>16?16:t|0,n=n.times(1/ns(5,t)),n=gr(e,2,n,n);for(var r,i=new e(5),a=new e(16),s=new e(20);t--;)r=n.times(n),n=n.times(i.plus(r.times(a.times(r).minus(s))));return n}function gr(e,n,t,o,r){var i,a,s,l,u=e.precision,c=Math.ceil(u/Me);for(Be=!1,l=t.times(t),s=new e(o);;){if(a=xe(s.times(l),new e(n++*n++),u,1),s=r?o.plus(a):o.minus(a),o=xe(a.times(l),new e(n++*n++),u,1),a=s.plus(o),a.d[c]!==void 0){for(i=c;a.d[i]===s.d[i]&&i--;);if(i==-1)break}i=s,s=o,o=a,a=i}return Be=!0,a.d.length=c+1,a}function ns(e,n){for(var t=e;--n;)t*=e;return t}function Qp(e,n){var t,o=n.s<0,r=ft(e,e.precision,1),i=r.times(.5);if(n=n.abs(),n.lte(i))return At=o?4:1,n;if(t=n.divToInt(r),t.isZero())At=o?3:2;else{if(n=n.minus(t.times(r)),n.lte(i))return At=sf(t)?o?2:3:o?4:1,n;At=sf(t)?o?1:4:o?3:2}return n.minus(r).abs()}function rc(e,n,t,o){var r,i,a,s,l,u,c,d,f,v=e.constructor,p=t!==void 0;if(p?(Hn(t,1,ko),o===void 0?o=v.rounding:Hn(o,0,8)):(t=v.precision,o=v.rounding),!e.isFinite())c=Jp(e);else{for(c=Ot(e),a=c.indexOf("."),p?(r=2,n==16?t=t*4-3:n==8&&(t=t*3-2)):r=n,a>=0&&(c=c.replace(".",""),f=new v(1),f.e=c.length-a,f.d=aa(Ot(f),10,r),f.e=f.d.length),d=aa(c,10,r),i=l=d.length;d[--l]==0;)d.pop();if(!d[0])c=p?"0p+0":"0";else{if(a<0?i--:(e=new v(e),e.d=d,e.e=i,e=xe(e,f,t,o,0,r),d=e.d,i=e.e,u=jp),a=d[t],s=r/2,u=u||d[t+1]!==void 0,u=o<4?(a!==void 0||u)&&(o===0||o===(e.s<0?3:2)):a>s||a===s&&(o===4||u||o===6&&d[t-1]&1||o===(e.s<0?8:7)),d.length=t,u)for(;++d[--t]>r-1;)d[t]=0,t||(++i,d.unshift(1));for(l=d.length;!d[l-1];--l);for(a=0,c="";a1)if(n==16||n==8){for(a=n==16?4:3,--l;l%a;l++)c+="0";for(d=aa(c,r,n),l=d.length;!d[l-1];--l);for(a=1,c="1.";al)for(i-=l;i--;)c+="0";else in)return e.length=n,!0}function tO(e){return new this(e).abs()}function oO(e){return new this(e).acos()}function rO(e){return new this(e).acosh()}function iO(e,n){return new this(e).plus(n)}function aO(e){return new this(e).asin()}function sO(e){return new this(e).asinh()}function lO(e){return new this(e).atan()}function uO(e){return new this(e).atanh()}function cO(e,n){e=new this(e),n=new this(n);var t,o=this.precision,r=this.rounding,i=o+4;return!e.s||!n.s?t=new this(NaN):!e.d&&!n.d?(t=ft(this,i,1).times(n.s>0?.25:.75),t.s=e.s):!n.d||e.isZero()?(t=n.s<0?ft(this,o,r):new this(0),t.s=e.s):!e.d||n.isZero()?(t=ft(this,i,1).times(.5),t.s=e.s):n.s<0?(this.precision=i,this.rounding=1,t=this.atan(xe(e,n,i,1)),n=ft(this,i,1),this.precision=o,this.rounding=r,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(xe(e,n,i,1)),t}function dO(e){return new this(e).cbrt()}function fO(e){return Ee(e=new this(e),e.e+1,2)}function vO(e,n,t){return new this(e).clamp(n,t)}function hO(e){if(!e||typeof e!="object")throw Error(xa+"Object expected");var n,t,o,r=e.defaults===!0,i=["precision",1,ko,"rounding",0,8,"toExpNeg",-tr,0,"toExpPos",0,tr,"maxE",0,tr,"minE",-tr,0,"modulo",0,9];for(n=0;n=i[n+1]&&o<=i[n+2])this[t]=o;else throw Error(bo+t+": "+o);if(t="crypto",r&&(this[t]=kl[t]),(o=e[t])!==void 0)if(o===!0||o===!1||o===0||o===1)if(o)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(Wp);else this[t]=!1;else throw Error(bo+t+": "+o);return this}function mO(e){return new this(e).cos()}function pO(e){return new this(e).cosh()}function _p(e){var n,t,o;function r(i){var a,s,l,u=this;if(!(u instanceof r))return new r(i);if(u.constructor=r,uf(i)){u.s=i.s,Be?!i.d||i.e>r.maxE?(u.e=NaN,u.d=null):i.e=10;s/=10)a++;Be?a>r.maxE?(u.e=NaN,u.d=null):a=429e7?n[i]=crypto.getRandomValues(new Uint32Array(1))[0]:s[i++]=r%1e7;else if(crypto.randomBytes){for(n=crypto.randomBytes(o*=4);i=214e7?crypto.randomBytes(4).copy(n,i):(s.push(r%1e7),i+=4);i=o/4}else throw Error(Wp);else for(;i=10;r/=10)o++;o["onInputChange","onLazyChange","onIncrement","onDecrement"]},rules:Array,onBeforeChange:W(),onChange:W(),onIncrement:W(),onDecrement:W(),"onUpdate:modelValue":W()},cf=100,df=600,{name:jO,n:YO,classes:WO}=pe("counter"),qO=["inputmode","readonly","disabled"];function KO(e,n){const t=$e("var-icon"),o=$e("var-button"),r=$e("var-form-details");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[F("div",Ze({class:e.classes(e.n("controller"),e.formatElevation(e.elevation,2),[e.disabled||e.formDisabled,e.n("--disabled")],[e.errorMessage,e.n("--error")]),style:{background:e.color?e.color:void 0}},e.$attrs),[ie(o,{class:m(e.classes(e.n("decrement-button"),[!e.decrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:te({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.decrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableDecrement&&!e.isMin,onClick:e.decrement,onTouchstart:e.pressDecrement,onTouchend:e.releaseDecrement,onTouchcancel:e.releaseDecrement},{default:Te(()=>[ie(t,{name:"minus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"]),He(F("input",{class:m(e.classes(e.n("input"),[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:te({width:e.toSizeUnit(e.inputWidth),fontSize:e.toSizeUnit(e.inputTextSize)}),inputmode:e.toNumber(e.decimalLength)===0?"numeric":"decimal",readonly:e.readonly||e.formReadonly,disabled:e.disabled||e.formDisabled||e.disableInput,"onUpdate:modelValue":n[0]||(n[0]=i=>e.inputValue=i),onChange:n[1]||(n[1]=(...i)=>e.handleChange&&e.handleChange(...i))},null,46,qO),[[Q$,e.inputValue]]),ie(o,{class:m(e.classes(e.n("increment-button"),[!e.incrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:te({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.incrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableIncrement&&!e.isMax,onClick:e.increment,onTouchstart:e.pressIncrement,onTouchend:e.releaseIncrement,onTouchcancel:e.releaseIncrement},{default:Te(()=>[ie(t,{name:"plus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"])],16),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const xp=me({name:jO,components:{VarButton:Un,VarIcon:tn,VarFormDetails:Fn},directives:{Ripple:vn},inheritAttrs:!1,props:HO,setup(e){const n=I(""),{bindForm:t,form:o}=rt(),{errorMessage:r,validateWithTrigger:i,validate:a,resetValidation:s}=ot(),{readonly:l,disabled:u}=o??{},c=R(()=>{const{max:_,modelValue:x}=e;return _!=null&&K(x)>=K(_)}),d=R(()=>{const{min:_,modelValue:x}=e;return _!=null&&K(x)<=K(_)});let f,v,p,h;N(t,{reset:O,validate:$,resetValidation:s}),Ce(()=>e.modelValue,_=>{re(y(String(_))),N(e.onChange,K(_))}),re(y(String(e.modelValue)));function $(){return a(e.rules,e.modelValue)}function S(_){en(()=>{const{validateTrigger:x,rules:q,modelValue:ge}=e;i(x,_,q,ge)})}function O(){const{min:_}=e;N(e["onUpdate:modelValue"],_!=null?K(_):0),s()}function y(_){const{decimalLength:x,max:q,min:ge}=e;let se=K(_);return q!=null&&se>K(q)&&(se=K(q)),ge!=null&&se{ae()},df))}function T(){const{press:_,lazyChange:x}=e;!_||x||(p=window.setTimeout(()=>{z()},df))}function B(){v&&clearTimeout(v),h&&clearTimeout(h)}function L(){f&&clearTimeout(f),p&&clearTimeout(p)}function z(){f=window.setTimeout(()=>{k(),z()},cf)}function ae(){v=window.setTimeout(()=>{A(),ae()},cf)}function re(_){n.value=_;const x=K(_);N(e["onUpdate:modelValue"],x)}function oe(_){re(y(String(_))),S("onLazyChange")}return{inputValue:n,errorMessage:r,formDisabled:u,formReadonly:l,isMax:c,isMin:d,n:YO,classes:WO,formatElevation:In,validate:$,reset:O,resetValidation:s,handleChange:P,decrement:A,increment:k,pressDecrement:D,pressIncrement:T,releaseDecrement:B,releaseIncrement:L,toSizeUnit:ze,toNumber:K}}});xp.render=KO;var eg=xp;be(eg);var El=eg,ng=60,tg=ng*60,og=tg*24,XO=og*7,br=1e3,ks=ng*br,ff=tg*br,GO=og*br,ZO=XO*br,ic="millisecond",or="second",rr="minute",ir="hour",Qt="day",sa="week",ut="month",rg="quarter",_t="year",ar="date",JO="YYYY-MM-DDTHH:mm:ssZ",vf="Invalid Date",QO=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const xO={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")};var Nl=function(n,t,o){var r=String(n);return!r||r.length>=t?n:""+Array(t+1-r.length).join(o)+n},eT=function(n){var t=-n.utcOffset(),o=Math.abs(t),r=Math.floor(o/60),i=o%60;return(t<=0?"+":"-")+Nl(r,2,"0")+":"+Nl(i,2,"0")},nT=function e(n,t){if(n.date()1)return e(a[0])}else{var s=n.name;zo[s]=n,r=s}return!o&&r&&(Jr=r),r||!o&&Jr},yn=function(n,t){if(ac(n))return n.clone();var o=typeof t=="object"?t:{};return o.date=n,o.args=arguments,new ts(o)},aT=function(n,t){return yn(n,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},_e=iT;_e.l=Ea;_e.i=ac;_e.w=aT;var sT=function(n){var t=n.date,o=n.utc;if(t===null)return new Date(NaN);if(_e.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var r=t.match(QO);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return o?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)},ts=function(){function e(t){this.$L=Ea(t.locale,null,!0),this.parse(t)}var n=e.prototype;return n.parse=function(o){this.$d=sT(o),this.$x=o.x||{},this.init()},n.init=function(){var o=this.$d;this.$y=o.getFullYear(),this.$M=o.getMonth(),this.$D=o.getDate(),this.$W=o.getDay(),this.$H=o.getHours(),this.$m=o.getMinutes(),this.$s=o.getSeconds(),this.$ms=o.getMilliseconds()},n.$utils=function(){return _e},n.isValid=function(){return this.$d.toString()!==vf},n.isSame=function(o,r){var i=yn(o);return this.startOf(r)<=i&&i<=this.endOf(r)},n.isAfter=function(o,r){return yn(o)e.checkDate("prev"))},{default:Te(()=>[ie(t,{name:"chevron-left"})]),_:1},8,["disabled"]),F("div",{class:m(e.n("value")),onClick:n[1]||(n[1]=r=>e.$emit("check-panel"))},[ie(nn,{name:`var-date-picker${e.reverse?"-reverse":""}-translatex`},{default:Te(()=>[(C(),M("div",{key:e.showDate},we(e.showDate),1))]),_:1},8,["name"])],2),ie(o,{round:"",text:"",style:{filter:"opacity(0.54)"},disabled:e.disabled.right,onClick:n[2]||(n[2]=r=>e.checkDate("next"))},{default:Te(()=>[ie(t,{name:"chevron-right"})]),_:1},8,["disabled"])],2)}const lg=me({name:"PanelHeader",components:{VarButton:Un,VarIcon:tn},props:{date:{type:Object,required:!0},type:{type:String,default:"date"},disabled:{type:Object,required:!0}},emits:["check-panel","check-date"],setup(e,{emit:n}){const t=I(!1),o=I(0),r=R(()=>{var a;const{date:s,type:l}=e,{previewMonth:u,previewYear:c}=s;if(l==="month")return K(c)+o.value;const d=(a=Cn.value.datePickerMonthDict)==null?void 0:a[u.index].name;return Cn.value.lang==="zh-CN"?`${c} ${d}`:`${d} ${c}`}),i=a=>{a==="prev"&&e.disabled.left||a==="next"&&e.disabled.right||(n("check-date",a),t.value=a==="prev",o.value+=a==="prev"?-1:1)};return Ce(()=>e.date,()=>{o.value=0}),{n:uT,reverse:t,showDate:r,checkDate:i}}});lg.render=cT;var ug=lg,dT=Object.defineProperty,hf=Object.getOwnPropertySymbols,fT=Object.prototype.hasOwnProperty,vT=Object.prototype.propertyIsEnumerable,mf=(e,n,t)=>n in e?dT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,hT=(e,n)=>{for(var t in n||(n={}))fT.call(n,t)&&mf(e,t,n[t]);if(hf)for(var t of hf(n))vT.call(n,t)&&mf(e,t,n[t]);return e};Ne.extend(ag);Ne.extend(sg);const{n:Ki,classes:mT}=pe("month-picker"),{n:Xi}=pe("date-picker");function pT(e,n){const t=$e("panel-header"),o=$e("var-button");return C(),M("div",{class:m(e.n())},[F("div",{class:m(e.n("content"))},[ie(t,{ref:"headerEl",type:"month",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickYear,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),ie(nn,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:Te(()=>[(C(),M("ul",{key:e.panelKey},[(C(!0),M(Re,null,un(e.MONTH_LIST,r=>(C(),M("li",{key:r.index},[ie(o,Ze({type:"primary","var-month-picker-cover":"",ripple:!1,elevation:e.componentProps.buttonElevation},hT({},e.buttonProps(r.index)),{onClick:i=>e.chooseMonth(r,i)}),{default:Te(()=>[je(we(e.getMonthAbbr(r.index)),1)]),_:2},1040,["elevation","onClick"])]))),128))]))]),_:1},8,["name"])],2)],2)}const cg=me({name:"MonthPickerPanel",components:{VarButton:Un,PanelHeader:ug},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickYear:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-month"],setup(e,{emit:n}){const[t,o]=e.current.split("-"),r=I(!1),i=I(0),a=I(null),s=Xe({left:!1,right:!1}),l=R(()=>e.choose.chooseYear===e.preview.previewYear),u=R(()=>e.preview.previewYear===t),c=$=>{var S,O;return(O=(S=Cn.value.datePickerMonthDict)==null?void 0:S[$].abbr)!=null?O:""},d=$=>{const{preview:{previewYear:S},componentProps:{min:O,max:y}}=e;let P=!0,A=!0;const k=`${S}-${$}`;return y&&(P=Ne(k).isSameOrBefore(Ne(y),"month")),O&&(A=Ne(k).isSameOrAfter(Ne(O),"month")),P&&A},f=$=>{const{choose:{chooseMonths:S,chooseDays:O,chooseRangeMonth:y},componentProps:{type:P,range:A}}=e;if(A){if(!y.length)return!1;const k=Ne($).isSameOrBefore(Ne(y[1]),"month"),D=Ne($).isSameOrAfter(Ne(y[0]),"month");return k&&D}return P==="month"?S.includes($):O.some(k=>k.includes($))},v=$=>{const{choose:{chooseMonth:S},preview:{previewYear:O},componentProps:{allowedDates:y,color:P,multiple:A,range:k}}=e,D=`${O}-${$}`,T=()=>k||A?f(D):(S==null?void 0:S.index)===$&&l.value,L=(()=>d($)?y?!y(D):!1:!0)(),z=()=>L?!0:k||A?!f(D):!l.value||(S==null?void 0:S.index)!==$,ae=()=>u.value&&o===$&&e.componentProps.showCurrent?(k||A||l.value)&&L?!0:k||A?!f(D):l.value?(S==null?void 0:S.index)!==o:!0:!1,re=()=>L?"":ae()?P??"":T()?"":`${Xi()}-color-cover`,oe=re().startsWith(Xi());return{outline:ae(),text:z(),color:z()?"":P,textColor:oe?"":re(),[`${Xi()}-color-cover`]:oe,class:mT(Ki("button"),[L,Ki("button--disabled")]),disabled:L}},p=($,S)=>{S.currentTarget.classList.contains(Ki("button--disabled"))||n("choose-month",$)},h=$=>{r.value=$==="prev",i.value+=$==="prev"?-1:1,n("check-preview","year",$)},g=$=>{a.value.checkDate($)};return Ce(()=>e.preview.previewYear,$=>{const{componentProps:{min:S,max:O}}=e;O&&(s.right=!Ne(`${K($)+1}`).isSameOrBefore(Ne(O),"year")),S&&(s.left=!Ne(`${K($)-1}`).isSameOrAfter(Ne(S),"year"))},{immediate:!0}),{n:Ki,nDate:Xi,pack:Cn,MONTH_LIST:la,headerEl:a,reverse:r,panelKey:i,panelBtnDisabled:s,forwardRef:g,buttonProps:v,getMonthAbbr:c,chooseMonth:p,checkDate:h}}});cg.render=pT;var gT=cg;const{n:pf,classes:bT}=pe("year-picker"),yT=["onClick"];function $T(e,n){return C(),M("ul",{class:m(e.n())},[(C(!0),M(Re,null,un(e.yearList,t=>(C(),M("li",{key:t,class:m(e.classes(e.n("item"),[t===e.toNumber(e.preview),e.n("item--active")])),style:te({color:t===e.toNumber(e.preview)?e.componentProps.color:""}),onClick:o=>e.chooseYear(t)},we(t),15,yT))),128))],2)}const dg=me({name:"YearPickerPanel",props:{preview:{type:String},componentProps:{type:Object,required:!0}},emits:["choose-year"],setup(e,{emit:n}){const t=R(()=>{const r=[],{preview:i,componentProps:{max:a,min:s}}=e;if(!i)return r;let l=[K(i)+100,K(i)-100];if(a){const u=Ne(a).format("YYYY-MM-D"),c=K(u.split("-")[0]);if(cl[1]&&(l=[c,l[1]]),c<=l[1])return[c]}if(s){const u=Ne(s).format("YYYY-MM-D"),c=K(u.split("-")[0]);if(cl[1]&&(l=[l[0],c]),c>=l[0])return[c]}for(let u=l[0];u>=l[1];u--)r.push(u);return r}),o=r=>{n("choose-year",r)};return Pn(()=>{const r=document.querySelector(`.${pf("item--active")}`);r==null||r.scrollIntoView({block:"center"})}),{n:pf,classes:bT,yearList:t,chooseYear:o,toNumber:K}}});dg.render=$T;var wT=dg,CT=Object.defineProperty,gf=Object.getOwnPropertySymbols,ST=Object.prototype.hasOwnProperty,kT=Object.prototype.propertyIsEnumerable,bf=(e,n,t)=>n in e?CT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,PT=(e,n)=>{for(var t in n||(n={}))ST.call(n,t)&&bf(e,t,n[t]);if(gf)for(var t of gf(n))kT.call(n,t)&&bf(e,t,n[t]);return e};Ne.extend(ag);Ne.extend(sg);const{n:_o,classes:OT}=pe("day-picker"),{n:Gi}=pe("date-picker");function TT(e,n){const t=$e("panel-header"),o=$e("var-button");return C(),M("div",{class:m(e.n())},[F("div",{class:m(e.n("content"))},[ie(t,{ref:"headerEl",type:"day",date:e.preview,disabled:e.panelBtnDisabled,onCheckPanel:e.clickMonth,onCheckDate:e.checkDate},null,8,["date","disabled","onCheckPanel","onCheckDate"]),ie(nn,{name:`${e.nDate()}${e.reverse?"-reverse":""}-translatex`},{default:Te(()=>[(C(),M("div",{key:e.panelKey},[F("ul",{class:m(e.n("head"))},[(C(!0),M(Re,null,un(e.sortWeekList,r=>(C(),M("li",{key:r.index},we(e.getDayAbbr(r.index)),1))),128))],2),F("ul",{class:m(e.n("body"))},[(C(!0),M(Re,null,un(e.days,(r,i)=>(C(),M("li",{key:i},[ie(o,Ze({type:"primary","var-day-picker-cover":"",round:"",ripple:!1,elevation:e.componentProps.buttonElevation},PT({},e.buttonProps(r)),{onClick:a=>e.chooseDay(r,a)}),{default:Te(()=>[je(we(e.filterDay(r)),1)]),_:2},1040,["elevation","onClick"])]))),128))],2)]))]),_:1},8,["name"])],2)],2)}const fg=me({name:"DayPickerPanel",components:{VarButton:Un,PanelHeader:ug},props:{choose:{type:Object,required:!0},preview:{type:Object,required:!0},current:{type:String,required:!0},clickMonth:{type:Function,required:!0},componentProps:{type:Object,required:!0}},emits:["check-preview","choose-day"],setup(e,{emit:n}){const[t,o,r]=e.current.split("-"),i=I([]),a=I(!1),s=I(0),l=I(null),u=Xe({left:!1,right:!1}),c=R(()=>e.preview.previewYear===t&&e.preview.previewMonth.index===o),d=R(()=>{var k;return e.choose.chooseYear===e.preview.previewYear&&((k=e.choose.chooseMonth)==null?void 0:k.index)===e.preview.previewMonth.index}),f=R(()=>{const k=Wr.findIndex(D=>D.index===e.componentProps.firstDayOfWeek);return k===-1||k===0?Wr:Wr.slice(k).concat(Wr.slice(0,k))}),v=k=>{var D,T;return(T=(D=Cn.value.datePickerWeekDict)==null?void 0:D[k].abbr)!=null?T:""},p=k=>k>0?k:"",h=()=>{const{preview:{previewMonth:k,previewYear:D}}=e,T=Ne(`${D}-${k.index}`).daysInMonth(),B=Ne(`${D}-${k.index}-01`).day(),L=f.value.findIndex(z=>z.index===`${B}`);i.value=[...Array(L).fill(-1),...Array.from(Array(T+1).keys())].filter(z=>z)},g=()=>{const{preview:{previewYear:k,previewMonth:D},componentProps:{max:T,min:B}}=e;if(T){const L=`${k}-${K(D.index)+1}`;u.right=!Ne(L).isSameOrBefore(Ne(T),"month")}if(B){const L=`${k}-${K(D.index)-1}`;u.left=!Ne(L).isSameOrAfter(Ne(B),"month")}},$=k=>{const{preview:{previewYear:D,previewMonth:T},componentProps:{min:B,max:L}}=e;let z=!0,ae=!0;const re=`${D}-${T.index}-${k}`;return L&&(z=Ne(re).isSameOrBefore(Ne(L),"day")),B&&(ae=Ne(re).isSameOrAfter(Ne(B),"day")),z&&ae},S=k=>{const{choose:{chooseDays:D,chooseRangeDay:T},componentProps:{range:B}}=e;if(B){if(!T.length)return!1;const L=Ne(k).isSameOrBefore(Ne(T[1]),"day"),z=Ne(k).isSameOrAfter(Ne(T[0]),"day");return L&&z}return D.includes(k)},O=k=>{if(k<0)return{text:!0,outline:!1,textColor:"",class:_o("button"),disabled:!0};const{choose:{chooseDay:D},preview:{previewYear:T,previewMonth:B},componentProps:{allowedDates:L,color:z,multiple:ae,range:re}}=e,oe=`${T}-${B.index}-${k}`,_=()=>re||ae?S(oe):K(D)===k&&d.value,q=(()=>$(k)?L?!L(oe):!1:!0)(),ge=()=>q?!0:re||ae?!S(oe):!d.value||K(D)!==k,se=()=>c.value&&K(r)===k&&e.componentProps.showCurrent?(re||ae||d.value)&&q?!0:re||ae?!S(oe):d.value?D!==r:!0:!1,ve=()=>q?"":se()?z??"":_()?"":`${Gi()}-color-cover`,G=ve().startsWith(Gi());return{text:ge(),outline:se(),textColor:G?"":ve(),[`${Gi()}-color-cover`]:G,class:OT(_o("button"),_o("button--usable"),[q,_o("button--disabled")]),disabled:q}},y=k=>{a.value=k==="prev",s.value+=k==="prev"?-1:1,n("check-preview","month",k)},P=(k,D)=>{D.currentTarget.classList.contains(_o("button--disabled"))||n("choose-day",k)},A=k=>{l.value.checkDate(k)};return Pn(()=>{h(),g()}),Ce(()=>e.preview,()=>{h(),g()}),{n:_o,nDate:Gi,days:i,reverse:a,headerEl:l,panelKey:s,sortWeekList:f,panelBtnDisabled:u,forwardRef:A,filterDay:p,getDayAbbr:v,checkDate:y,chooseDay:P,buttonProps:O}}});fg.render=TT;var ET=fg,NT=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:IT,n:MT,classes:DT}=pe("date-picker");function AT(e,n){const t=$e("year-picker-panel"),o=$e("month-picker-panel"),r=$e("day-picker-panel");return C(),M("div",{class:m(e.classes(e.n(),e.formatElevation(e.elevation,2)))},[F("div",{class:m(e.n("title")),style:te({background:e.headerColor||e.color})},[F("div",{class:m(e.classes(e.n("title-year"),[e.isYearPanel,e.n("title-year--active")])),onClick:n[0]||(n[0]=i=>e.clickEl("year"))},[X(e.$slots,"year",{year:e.chooseYear},()=>[je(we(e.chooseYear),1)])],2),F("div",{class:m(e.classes(e.n("title-date"),[!e.isYearPanel,e.n("title-date--active")],[e.range,e.n("title-date--range")])),onClick:n[1]||(n[1]=i=>e.clickEl("date"))},[ie(nn,{name:e.multiple?"":`${e.n()}${e.reverse?"-reverse":""}-translatey`},{default:Te(()=>{var i,a,s;return[e.type==="month"?(C(),M("div",{key:`${e.chooseYear}${(i=e.chooseMonth)==null?void 0:i.index}`},[e.range?X(e.$slots,"range",{key:0,choose:e.getChoose.chooseRangeMonth},()=>[je(we(e.getMonthTitle),1)]):e.multiple?X(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseMonths},()=>[je(we(e.getMonthTitle),1)]):X(e.$slots,"month",{key:2,month:(a=e.chooseMonth)==null?void 0:a.index,year:e.chooseYear},()=>[je(we(e.getMonthTitle),1)])])):(C(),M("div",{key:`${e.chooseYear}${(s=e.chooseMonth)==null?void 0:s.index}${e.chooseDay}`},[e.range?X(e.$slots,"range",{key:0,choose:e.formatRange},()=>[je(we(e.getDateTitle),1)]):e.multiple?X(e.$slots,"multiple",{key:1,choose:e.getChoose.chooseDays},()=>[je(we(e.getDateTitle),1)]):X(e.$slots,"date",ao(Ze({key:2},e.slotProps)),()=>[je(we(e.getDateTitle),1)])]))]}),_:3},8,["name"])],2)],6),F("div",{class:m(e.n("body")),onTouchstart:n[2]||(n[2]=(...i)=>e.handleTouchstart&&e.handleTouchstart(...i)),onTouchmove:n[3]||(n[3]=(...i)=>e.handleTouchmove&&e.handleTouchmove(...i)),onTouchend:n[4]||(n[4]=(...i)=>e.handleTouchend&&e.handleTouchend(...i))},[ie(nn,{name:`${e.n()}-panel-fade`},{default:Te(()=>[e.getPanelType==="year"?(C(),Ae(t,{key:0,"component-props":e.componentProps,preview:e.previewYear,onChooseYear:e.getChooseYear},null,8,["component-props","preview","onChooseYear"])):e.getPanelType==="month"?(C(),Ae(o,{key:1,ref:"monthPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"click-year":()=>e.clickEl("year"),"component-props":e.componentProps,onChooseMonth:e.getChooseMonth,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","click-year","component-props","onChooseMonth","onCheckPreview"])):e.getPanelType==="date"?(C(),Ae(r,{key:2,ref:"dayPanelEl",current:e.currentDate,choose:e.getChoose,preview:e.getPreview,"component-props":e.componentProps,"click-month":()=>e.clickEl("month"),onChooseDay:e.getChooseDay,onCheckPreview:e.checkPreview},null,8,["current","choose","preview","component-props","click-month","onChooseDay","onCheckPreview"])):he("v-if",!0)]),_:1},8,["name"])],34)],2)}const vg=me({name:IT,components:{MonthPickerPanel:gT,YearPickerPanel:wT,DayPickerPanel:ET},props:lT,setup(e){const n=Ne().format("YYYY-MM-D"),[t,o]=n.split("-"),r=la.find(U=>U.index===o),i=I(!1),a=I(!1),s=I(!0),l=I(),u=I(),c=I(),d=I(r),f=I(t),v=I(!1),p=I([]),h=I([]),g=I([]),$=I([]),S=I(null),O=I(null),y=Xe({allowedDates:e.allowedDates,type:e.type,color:e.color,firstDayOfWeek:e.firstDayOfWeek,min:e.min,max:e.max,showCurrent:e.showCurrent,multiple:e.multiple,range:e.range,buttonElevation:e.buttonElevation}),P=R(()=>({chooseMonth:l.value,chooseYear:u.value,chooseDay:c.value,chooseMonths:p.value,chooseDays:h.value,chooseRangeMonth:g.value,chooseRangeDay:$.value})),A=R(()=>({previewMonth:d.value,previewYear:f.value})),k=R(()=>{var U,le;const{multiple:Z,range:ue}=e;if(ue)return g.value.length?`${g.value[0]} ~ ${g.value[1]}`:"";let ne="";return l.value&&(ne=(le=(U=Cn.value.datePickerMonthDict)==null?void 0:U[l.value.index].name)!=null?le:""),Z?`${p.value.length}${Cn.value.datePickerSelected}`:ne}),D=R(()=>{var U,le,Z,ue;const{multiple:ne,range:Se}=e;if(Se){const Ye=$.value.map(ln=>Ne(ln).format("YYYY-MM-DD"));return Ye.length?`${Ye[0]} ~ ${Ye[1]}`:""}if(ne)return`${h.value.length}${Cn.value.datePickerSelected}`;if(!u.value||!l.value||!c.value)return"";const ke=Ne(`${u.value}-${l.value.index}-${c.value}`).day(),Oe=Wr.find(Ye=>Ye.index===`${ke}`),Ie=(le=(U=Cn.value.datePickerWeekDict)==null?void 0:U[Oe.index].name)!=null?le:"",Ue=(ue=(Z=Cn.value.datePickerMonthDict)==null?void 0:Z[l.value.index].name)!=null?ue:"",Je=Ro(c.value,2,"0");return Cn.value.lang==="zh-CN"?`${l.value.index}-${Je} ${Ie.slice(0,3)}`:`${Ie.slice(0,3)}, ${Ue.slice(0,3)} ${c.value}`}),T=R(()=>i.value?"year":e.type==="month"||a.value?"month":e.type==="date"?"date":""),B=R(()=>!e.touchable||["","year"].includes(T.value)),L=R(()=>{var U,le,Z,ue;const ne=Ne(`${u.value}-${(U=l.value)==null?void 0:U.index}-${c.value}`).day(),Se=c.value?Ro(c.value,2,"0"):"";return{week:`${ne}`,year:(le=u.value)!=null?le:"",month:(ue=(Z=l.value)==null?void 0:Z.index)!=null?ue:"",date:Se}}),z=R(()=>P.value.chooseRangeDay.map(U=>Ne(U).format("YYYY-MM-DD"))),ae=R(()=>u.value===f.value),re=R(()=>{var U;return((U=l.value)==null?void 0:U.index)===d.value.index});let oe=0,_=0,x="",q;Ce(()=>e.modelValue,U=>{if(!(!Pe()||w(U)||!U))if(e.range){if(!Qe(U))return;s.value=U.length!==1,b(U,e.type)}else if(e.multiple){if(!Qe(U))return;E(U,e.type)}else Y(U)},{immediate:!0}),Ce(T,Q);function ge(U){U==="year"?i.value=!0:U==="month"?a.value=!0:(i.value=!1,a.value=!1)}function se(U){if(B.value)return;const{clientX:le,clientY:Z}=U.touches[0];oe=le,_=Z}function ve(U,le){return U>=le&&U>20?"x":"y"}function G(U){if(B.value)return;const{clientX:le,clientY:Z}=U.touches[0],ue=le-oe,ne=Z-_;q=ve(Math.abs(ue),Math.abs(ne)),x=ue>0?"prev":"next"}function de(){return NT(this,null,function*(){if(B.value||q!=="x")return;const U=T.value==="month"?S:O;yield Bn(),U.value.forwardRef(x),Q()})}function ye(U,le){const Z=le==="month"?g:$;if(Z.value=s.value?[U,U]:[Z.value[0],U],s.value=!s.value,s.value){const ne=Ne(Z.value[0]).isAfter(Z.value[1])?[Z.value[1],Z.value[0]]:[...Z.value];N(e["onUpdate:modelValue"],ne),N(e.onChange,ne)}}function j(U,le){const Z=le==="month"?p:h,ue=le==="month"?"YYYY-MM":"YYYY-MM-DD",ne=Z.value.map(ke=>Ne(ke).format(ue)),Se=ne.findIndex(ke=>ke===U);Se===-1?ne.push(U):ne.splice(Se,1),N(e["onUpdate:modelValue"],ne),N(e.onChange,ne)}function ee(U,le){return!u.value||!l.value?!1:ae.value?U==="month"?le.indexd.value.index:u.value>f.value}function V(U){const{readonly:le,range:Z,multiple:ue,onChange:ne,"onUpdate:modelValue":Se}=e;if(U<0||le)return;v.value=ee("day",U);const ke=`${f.value}-${d.value.index}-${U}`,Oe=Ne(ke).format("YYYY-MM-DD");Z?ye(Oe,"day"):ue?j(Oe,"day"):(N(Se,Oe),N(ne,Oe))}function fe(U){const{type:le,readonly:Z,range:ue,multiple:ne,onChange:Se,onPreview:ke,"onUpdate:modelValue":Oe}=e;if(v.value=ee("month",U),le==="month"&&!Z){const Ie=`${f.value}-${U.index}`;ue?ye(Ie,"month"):ne?j(Ie,"month"):(N(Oe,Ie),N(Se,Ie))}else d.value=U,N(ke,K(f.value),K(d.value.index));a.value=!1}function H(U){f.value=`${U}`,i.value=!1,a.value=!0,N(e.onPreview,K(f.value),K(d.value.index))}function J(U,le){const Z=le==="prev"?-1:1;if(U==="year")f.value=`${K(f.value)+Z}`;else{let ue=K(d.value.index)+Z;ue<1&&(f.value=`${K(f.value)-1}`,ue=12),ue>12&&(f.value=`${K(f.value)+1}`,ue=1),d.value=la.find(ne=>K(ne.index)===ue)}N(e.onPreview,K(f.value),K(d.value.index))}function Pe(){return(e.multiple||e.range)&&!Qe(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be an Array'),!1):!e.multiple&&!e.range&&Qe(e.modelValue)?(console.error('[Varlet] DatePicker: type of prop "modelValue" should be a String'),!1):!0}function w(U){return Qe(U)?!1:U==="Invalid Date"?(console.error('[Varlet] DatePicker: "modelValue" is an Invalid Date'),!0):!1}function b(U,le){const Z=le==="month"?g:$,ue=le==="month"?"YYYY-MM":"YYYY-MM-D",ne=U.map(Oe=>Ne(Oe).format(ue)).slice(0,2);if(Z.value.some(Oe=>w(Oe)))return;Z.value=ne;const ke=Ne(Z.value[0]).isAfter(Z.value[1]);Z.value.length===2&&ke&&(Z.value=[Z.value[1],Z.value[0]])}function E(U,le){const Z=le==="month"?p:h,ue=le==="month"?"YYYY-MM":"YYYY-MM-D",ne=Array.from(new Set(U.map(Se=>Ne(Se).format(ue))));Z.value=ne.filter(Se=>Se!=="Invalid Date")}function Y(U){const le=Ne(U).format("YYYY-MM-D");if(w(le))return;const[Z,ue,ne]=le.split("-"),Se=la.find(ke=>ke.index===ue);l.value=Se,u.value=Z,c.value=ne,d.value=Se,f.value=Z}function Q(){_=0,oe=0,x="",q=void 0}return{monthPanelEl:S,dayPanelEl:O,reverse:v,currentDate:n,chooseMonth:l,chooseYear:u,chooseDay:c,previewYear:f,isYearPanel:i,isMonthPanel:a,getMonthTitle:k,getDateTitle:D,getPanelType:T,getChoose:P,getPreview:A,componentProps:y,slotProps:L,formatRange:z,n:MT,classes:DT,clickEl:ge,handleTouchstart:se,handleTouchmove:G,handleTouchend:de,getChooseDay:V,getChooseMonth:fe,getChooseYear:H,checkPreview:J,formatElevation:In}}});vg.render=AT;var hg=vg;be(hg);var Il=hg,BT=Object.defineProperty,yf=Object.getOwnPropertySymbols,zT=Object.prototype.hasOwnProperty,VT=Object.prototype.propertyIsEnumerable,$f=(e,n,t)=>n in e?BT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,RT=(e,n)=>{for(var t in n||(n={}))zT.call(n,t)&&$f(e,t,n[t]);if(yf)for(var t of yf(n))VT.call(n,t)&&$f(e,t,n[t]);return e};const LT=RT({show:Boolean,width:[Number,String],title:String,message:String,messageAlign:{type:String,default:"left"},confirmButton:{type:Boolean,default:!0},cancelButton:{type:Boolean,default:!0},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,confirmButtonColor:String,cancelButtonColor:String,dialogClass:String,dialogStyle:Object,onBeforeClose:W(),onConfirm:W(),onCancel:W(),"onUpdate:show":W()},Fe(Mi,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"]));var UT=Object.defineProperty,wf=Object.getOwnPropertySymbols,FT=Object.prototype.hasOwnProperty,HT=Object.prototype.propertyIsEnumerable,Cf=(e,n,t)=>n in e?UT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,jT=(e,n)=>{for(var t in n||(n={}))FT.call(n,t)&&Cf(e,t,n[t]);if(wf)for(var t of wf(n))HT.call(n,t)&&Cf(e,t,n[t]);return e};const{name:YT,n:WT,classes:qT}=pe("dialog");function KT(e,n){const t=$e("var-button"),o=$e("var-popup");return C(),Ae(o,{class:m(e.n("popup")),"var-dialog-cover":"",show:e.popupShow,overlay:e.overlay,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.popupCloseOnClickOverlay,teleport:e.teleport,onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange,onClickOverlay:e.handleClickOverlay},{default:Te(()=>[F("div",Ze({class:e.classes(e.n("$--box"),e.n(),e.dialogClass),style:jT({width:e.toSizeUnit(e.width)},e.dialogStyle)},e.$attrs),[F("div",{class:m(e.n("title"))},[X(e.$slots,"title",{},()=>{var r;return[je(we((r=e.title)!=null?r:e.pack.dialogTitle),1)]})],2),F("div",{class:m(e.n("message")),style:te({textAlign:e.messageAlign})},[X(e.$slots,"default",{},()=>[je(we(e.message),1)])],6),F("div",{class:m(e.n("actions"))},[e.cancelButton?(C(),Ae(t,{key:0,class:m(e.classes(e.n("button"),e.n("cancel-button"))),"var-dialog-cover":"",text:"","text-color":e.cancelButtonTextColor,color:e.cancelButtonColor,onClick:e.cancel},{default:Te(()=>{var r;return[je(we((r=e.cancelButtonText)!=null?r:e.pack.dialogCancelButtonText),1)]}),_:1},8,["class","text-color","color","onClick"])):he("v-if",!0),e.confirmButton?(C(),Ae(t,{key:1,class:m(e.classes(e.n("button"),e.n("confirm-button"))),"var-dialog-cover":"",text:"","text-color":e.confirmButtonTextColor,color:e.confirmButtonColor,onClick:e.confirm},{default:Te(()=>{var r;return[je(we((r=e.confirmButtonText)!=null?r:e.pack.dialogConfirmButtonText),1)]}),_:1},8,["class","text-color","color","onClick"])):he("v-if",!0)],2)],16)]),_:3},8,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange","onClickOverlay"])}const mg=me({name:YT,components:{VarPopup:po,VarButton:Un},inheritAttrs:!1,props:LT,setup(e){const n=I(!1),t=I(!1);Ce(()=>e.show,s=>{n.value=s},{immediate:!0}),Ce(()=>e.closeOnClickOverlay,s=>{if(e.onBeforeClose!=null){t.value=!1;return}t.value=s},{immediate:!0});function o(){return N(e["onUpdate:show"],!1)}function r(){const{closeOnClickOverlay:s,onClickOverlay:l,onBeforeClose:u}=e;if(N(l),!!s){if(u!=null){N(u,"close",o);return}N(e["onUpdate:show"],!1)}}function i(){const{onBeforeClose:s,onConfirm:l}=e;if(N(l),s!=null){N(s,"confirm",o);return}N(e["onUpdate:show"],!1)}function a(){const{onBeforeClose:s,onCancel:l}=e;if(N(l),s!=null){N(s,"cancel",o);return}N(e["onUpdate:show"],!1)}return{pack:Cn,popupShow:n,popupCloseOnClickOverlay:t,n:WT,classes:qT,handleClickOverlay:r,confirm:i,cancel:a,toSizeUnit:ze}}});mg.render=KT;var os=mg,XT=Object.defineProperty,GT=Object.defineProperties,ZT=Object.getOwnPropertyDescriptors,Sf=Object.getOwnPropertySymbols,JT=Object.prototype.hasOwnProperty,QT=Object.prototype.propertyIsEnumerable,kf=(e,n,t)=>n in e?XT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ps=(e,n)=>{for(var t in n||(n={}))JT.call(n,t)&&kf(e,t,n[t]);if(Sf)for(var t of Sf(n))QT.call(n,t)&&kf(e,t,n[t]);return e},_T=(e,n)=>GT(e,ZT(n));let no,Na={};function xT(e={}){return gn(e)?_T(Ps({},Na),{message:e}):Ps(Ps({},Na),e)}function Xo(e){return jt()?new Promise(n=>{Xo.close();const t=xT(e),o=Xe(t);o.teleport="body",no=o;const{unmountInstance:r}=Ar(os,o,{onConfirm:()=>{N(o.onConfirm),n("confirm")},onCancel:()=>{N(o.onCancel),n("cancel")},onClose:()=>{N(o.onClose),n("close")},onClosed:()=>{N(o.onClosed),r(),no===o&&(no=null)},onRouteChange:()=>{r(),no===o&&(no=null)},"onUpdate:show":i=>{o.show=i}});o.show=!0}):Promise.resolve()}Xo.setDefaultOptions=function(e){Na=e};Xo.resetDefaultOptions=function(){Na={}};Xo.close=function(){if(no!=null){const e=no;no=null,en().then(()=>{e.show=!1})}};Xo.Component=os;be(os);be(os,Xo);var Ml=Xo;const eE={inset:{type:[Boolean,Number,String],default:!1},vertical:Boolean,description:String,margin:String,dashed:Boolean,hairline:Boolean},{name:nE,n:tE,classes:oE}=pe("divider");function rE(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.vertical,e.n("--vertical")],[e.withText,e.n("--with-text")],[e.withPresetInset,e.n("--inset")],[e.dashed,e.n("--dashed")],[e.hairline,e.n("--hairline")])),style:te(e.style)},[e.vertical?he("v-if",!0):X(e.$slots,"default",{key:0},()=>[e.description?(C(),M("span",{key:0,class:m(e.n("text"))},we(e.description),3)):he("v-if",!0)])],6)}const pg=me({name:nE,props:eE,setup(e,{slots:n}){const t=I(!1),o=R(()=>{const{vertical:a,inset:s}=e;return!a&&s===!0}),r=R(()=>{const{inset:a,vertical:s,margin:l}=e;if(Gu(a)||s)return{margin:l};const u=K(a),c=Math.abs(u)+(a+"").replace(u+"","");return{margin:l,width:`calc(100% - ${ze(c)})`,left:u>0?ze(c):ze(0)}});Pn(i),Yo(i);function i(){const{description:a,vertical:s}=e;t.value=(n.default||a!=null)&&!s}return{n:tE,classes:oE,withText:t,style:r,withPresetInset:o}}});pg.render=rE;var gg=pg;be(gg);var Dl=gg;const iE={direction:{type:String,default:"xy"},attraction:String,disabled:Boolean,boundary:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},zIndex:{type:[Number,String],default:90},teleport:{type:[String,Object,Boolean],default:"body"},onClick:W()};var aE=Object.defineProperty,sE=Object.defineProperties,lE=Object.getOwnPropertyDescriptors,Pf=Object.getOwnPropertySymbols,uE=Object.prototype.hasOwnProperty,cE=Object.prototype.propertyIsEnumerable,Of=(e,n,t)=>n in e?aE(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Tf=(e,n)=>{for(var t in n||(n={}))uE.call(n,t)&&Of(e,t,n[t]);if(Pf)for(var t of Pf(n))cE.call(n,t)&&Of(e,t,n[t]);return e},Ef=(e,n)=>sE(e,lE(n)),dE=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:fE,n:vE,classes:hE}=pe("drag");function mE(e,n){return C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[F("div",Ze({ref:"drag",class:e.classes(e.n(),e.n("$--box"),[e.enableTransition,e.n("--transition")]),style:{"z-index":e.zIndex},onTouchstart:n[0]||(n[0]=(...t)=>e.handleTouchstart&&e.handleTouchstart(...t)),onTouchmove:n[1]||(n[1]=(...t)=>e.handleTouchmove&&e.handleTouchmove(...t)),onTouchend:n[2]||(n[2]=(...t)=>e.handleTouchend&&e.handleTouchend(...t)),onTouchcancel:n[3]||(n[3]=(...t)=>e.handleTouchend&&e.handleTouchend(...t)),onClick:n[4]||(n[4]=(...t)=>e.handleClick&&e.handleClick(...t))},e.getAttrs()),[X(e.$slots,"default")],16)],8,["to","disabled"])}const bg=me({name:fE,inheritAttrs:!1,props:iE,setup(e,{attrs:n}){const t=I(null),o=I(0),r=I(0),i=I(!1),a=I(!1),{touching:s,dragging:l,moveX:u,moveY:c,startTouch:d,moveTouch:f,endTouch:v,resetTouch:p}=Dr(),{disabled:h}=qo(),g=Xe({top:0,bottom:0,left:0,right:0});Ce(()=>e.boundary,B),Mr(z),Pn(()=>{B(),z()});function $(re){e.disabled||(d(re),P())}function S(re){return dE(this,null,function*(){!s.value||e.disabled||(f(re),pt(re),a.value=!1,i.value=!0,e.direction.includes("x")&&(o.value+=u.value),e.direction.includes("y")&&(r.value+=c.value),T())})}function O(){e.disabled||(v(),a.value=!0,D())}function y(re){l.value||N(e.onClick,re)}function P(){const{left:re,top:oe}=A();o.value=re,r.value=oe}function A(){const re=pn(t.value),oe=pn(window),_=re.top-oe.top,x=oe.bottom-re.bottom,q=re.left-oe.left,ge=oe.right-re.right,{width:se,height:ve}=re,{width:G,height:de}=oe;return{top:_,bottom:x,left:q,right:ge,width:se,height:ve,halfWidth:se/2,halfHeight:ve/2,windowWidth:G,windowHeight:de}}function k(){const re=A(),oe=g.left,_=re.windowWidth-g.right-re.width,x=g.top,q=re.windowHeight-g.bottom-re.height;return{minX:oe,minY:x,maxX:oe<_?_:oe,maxY:x"u")return!1;var n=it(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function Po(e){return((Uo(e)?e.ownerDocument:e.document)||window.document).documentElement}var Qr=Math.max,Mf=Math.min,yr=Math.round;function Al(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function Cg(){return!/^((?!chrome|android).)*safari/i.test(Al())}function $r(e,n,t){n===void 0&&(n=!1),t===void 0&&(t=!1);var o=e.getBoundingClientRect(),r=1,i=1;n&&et(e)&&(r=e.offsetWidth>0&&yr(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&yr(o.height)/e.offsetHeight||1);var a=Uo(e)?it(e):window,s=a.visualViewport,l=!Cg()&&t,u=(o.left+(l&&s?s.offsetLeft:0))/r,c=(o.top+(l&&s?s.offsetTop:0))/i,d=o.width/r,f=o.height/i;return{width:d,height:f,top:c,right:u+d,bottom:c+f,left:u,x:u,y:c}}function uc(e){var n=it(e),t=n.pageXOffset,o=n.pageYOffset;return{scrollLeft:t,scrollTop:o}}function cc(e){return $r(Po(e)).left+uc(e).scrollLeft}function IE(e,n){var t=it(e),o=Po(e),r=t.visualViewport,i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;var u=Cg();(u||!u&&n==="fixed")&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s+cc(e),y:l}}function Rt(e){return it(e).getComputedStyle(e)}function ME(e){var n,t=Po(e),o=uc(e),r=(n=e.ownerDocument)==null?void 0:n.body,i=Qr(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Qr(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+cc(e),l=-o.scrollTop;return Rt(r||t).direction==="rtl"&&(s+=Qr(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Tt(e){return e?(e.nodeName||"").toLowerCase():null}function as(e){return Tt(e)==="html"?e:e.assignedSlot||e.parentNode||(lc(e)?e.host:null)||Po(e)}function dc(e){var n=Rt(e),t=n.overflow,o=n.overflowX,r=n.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+o)}function Sg(e){return["html","body","#document"].indexOf(Tt(e))>=0?e.ownerDocument.body:et(e)&&dc(e)?e:Sg(as(e))}function _r(e,n){var t;n===void 0&&(n=[]);var o=Sg(e),r=o===((t=e.ownerDocument)==null?void 0:t.body),i=it(o),a=r?[i].concat(i.visualViewport||[],dc(o)?o:[]):o,s=n.concat(a);return r?s:s.concat(_r(as(a)))}function DE(e){return["table","td","th"].indexOf(Tt(e))>=0}function Df(e){return!et(e)||Rt(e).position==="fixed"?null:e.offsetParent}function AE(e){var n=/firefox/i.test(Al()),t=/Trident/i.test(Al());if(t&&et(e)){var o=Rt(e);if(o.position==="fixed")return null}var r=as(e);for(lc(r)&&(r=r.host);et(r)&&["html","body"].indexOf(Tt(r))<0;){var i=Rt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||n&&i.willChange==="filter"||n&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function fc(e){for(var n=it(e),t=Df(e);t&&DE(t)&&Rt(t).position==="static";)t=Df(t);return t&&(Tt(t)==="html"||Tt(t)==="body"&&Rt(t).position==="static")?n:t||AE(e)||n}function BE(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&lc(t)){var o=n;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Bl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function zE(e,n){var t=$r(e,!1,n==="fixed");return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Af(e,n,t){return n===$g?Bl(IE(e,t)):Uo(n)?zE(n,t):Bl(ME(Po(e)))}function VE(e){var n=_r(as(e)),t=["absolute","fixed"].indexOf(Rt(e).position)>=0,o=t&&et(e)?fc(e):e;return Uo(o)?n.filter(function(r){return Uo(r)&&BE(r,o)&&Tt(r)!=="body"}):[]}function RE(e,n,t,o){var r=n==="clippingParents"?VE(e):[].concat(n),i=[].concat(r,[t]),a=i[0],s=i.reduce(function(l,u){var c=Af(e,u,o);return l.top=Qr(c.top,l.top),l.right=Mf(c.right,l.right),l.bottom=Mf(c.bottom,l.bottom),l.left=Qr(c.left,l.left),l},Af(e,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function bi(e){return e.split("-")[1]}function LE(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kg(e){var n=e.reference,t=e.element,o=e.placement,r=o?co(o):null,i=o?bi(o):null,a=n.x+n.width/2-t.width/2,s=n.y+n.height/2-t.height/2,l;switch(r){case Bt:l={x:a,y:n.y-t.height};break;case yo:l={x:a,y:n.y+n.height};break;case Lo:l={x:n.x+n.width,y:s};break;case uo:l={x:n.x-t.width,y:s};break;default:l={x:n.x,y:n.y}}var u=r?LE(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case is:l[u]=l[u]-(n[c]/2-t[c]/2);break;case gi:l[u]=l[u]+(n[c]/2-t[c]/2);break}}return l}function UE(){return{top:0,right:0,bottom:0,left:0}}function FE(e){return Object.assign({},UE(),e)}function HE(e,n){return n.reduce(function(t,o){return t[o]=e,t},{})}function Pg(e,n){n===void 0&&(n={});var t=n,o=t.placement,r=o===void 0?e.placement:o,i=t.strategy,a=i===void 0?e.strategy:i,s=t.boundary,l=s===void 0?gE:s,u=t.rootBoundary,c=u===void 0?$g:u,d=t.elementContext,f=d===void 0?Lr:d,v=t.altBoundary,p=v===void 0?!1:v,h=t.padding,g=h===void 0?0:h,$=FE(typeof g!="number"?g:HE(g,rs)),S=f===Lr?bE:Lr,O=e.rects.popper,y=e.elements[p?S:f],P=RE(Uo(y)?y:y.contextElement||Po(e.elements.popper),l,c,a),A=$r(e.elements.reference),k=kg({reference:A,element:O,strategy:"absolute",placement:r}),D=Bl(Object.assign({},O,k)),T=f===Lr?D:A,B={top:P.top-T.top+$.top,bottom:T.bottom-P.bottom+$.bottom,left:P.left-T.left+$.left,right:T.right-P.right+$.right},L=e.modifiersData.offset;if(f===Lr&&L){var z=L[r];Object.keys(B).forEach(function(ae){var re=[Lo,yo].indexOf(ae)>=0?1:-1,oe=[Bt,yo].indexOf(ae)>=0?"y":"x";B[ae]+=z[oe]*re})}return B}function jE(e,n){n===void 0&&(n={});var t=n,o=t.placement,r=t.boundary,i=t.rootBoundary,a=t.padding,s=t.flipVariations,l=t.allowedAutoPlacements,u=l===void 0?wg:l,c=bi(o),d=c?s?Nf:Nf.filter(function(p){return bi(p)===c}):rs,f=d.filter(function(p){return u.indexOf(p)>=0});f.length===0&&(f=d);var v=f.reduce(function(p,h){return p[h]=Pg(e,{placement:h,boundary:r,rootBoundary:i,padding:a})[co(h)],p},{});return Object.keys(v).sort(function(p,h){return v[p]-v[h]})}function YE(e){if(co(e)===sc)return[];var n=ua(e);return[If(e),n,If(n)]}function WE(e){var n=e.state,t=e.options,o=e.name;if(!n.modifiersData[o]._skip){for(var r=t.mainAxis,i=r===void 0?!0:r,a=t.altAxis,s=a===void 0?!0:a,l=t.fallbackPlacements,u=t.padding,c=t.boundary,d=t.rootBoundary,f=t.altBoundary,v=t.flipVariations,p=v===void 0?!0:v,h=t.allowedAutoPlacements,g=n.options.placement,$=co(g),S=$===g,O=l||(S||!p?[ua(g)]:YE(g)),y=[g].concat(O).reduce(function(ye,j){return ye.concat(co(j)===sc?jE(n,{placement:j,boundary:c,rootBoundary:d,padding:u,flipVariations:p,allowedAutoPlacements:h}):j)},[]),P=n.rects.reference,A=n.rects.popper,k=new Map,D=!0,T=y[0],B=0;B=0,oe=re?"width":"height",_=Pg(n,{placement:L,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),x=re?ae?Lo:uo:ae?yo:Bt;P[oe]>A[oe]&&(x=ua(x));var q=ua(x),ge=[];if(i&&ge.push(_[z]<=0),s&&ge.push(_[x]<=0,_[q]<=0),ge.every(function(ye){return ye})){T=L,D=!1;break}k.set(L,ge)}if(D)for(var se=p?3:1,ve=function(j){var ee=y.find(function(V){var fe=k.get(V);if(fe)return fe.slice(0,j).every(function(H){return H})});if(ee)return T=ee,"break"},G=se;G>0;G--){var de=ve(G);if(de==="break")break}n.placement!==T&&(n.modifiersData[o]._skip=!0,n.placement=T,n.reset=!0)}}const qE={name:"flip",enabled:!0,phase:"main",fn:WE,requiresIfExists:["offset"],data:{_skip:!1}};function KE(e,n,t){var o=co(e),r=[uo,Bt].indexOf(o)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},n,{placement:e})):t,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[uo,Lo].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}function XE(e){var n=e.state,t=e.options,o=e.name,r=t.offset,i=r===void 0?[0,0]:r,a=wg.reduce(function(c,d){return c[d]=KE(d,n.rects,i),c},{}),s=a[n.placement],l=s.x,u=s.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=l,n.modifiersData.popperOffsets.y+=u),n.modifiersData[o]=a}const GE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:XE};var ZE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function JE(e){var n=e.x,t=e.y,o=window,r=o.devicePixelRatio||1;return{x:yr(n*r)/r||0,y:yr(t*r)/r||0}}function Bf(e){var n,t=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,v=f===void 0?0:f,p=a.y,h=p===void 0?0:p,g=typeof c=="function"?c({x:v,y:h}):{x:v,y:h};v=g.x,h=g.y;var $=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),O=uo,y=Bt,P=window;if(u){var A=fc(t),k="clientHeight",D="clientWidth";if(A===it(t)&&(A=Po(t),Rt(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",D="scrollWidth")),A=A,r===Bt||(r===uo||r===Lo)&&i===gi){y=yo;var T=d&&A===P&&P.visualViewport?P.visualViewport.height:A[k];h-=T-o.height,h*=l?1:-1}if(r===uo||(r===Bt||r===yo)&&i===gi){O=Lo;var B=d&&A===P&&P.visualViewport?P.visualViewport.width:A[D];v-=B-o.width,v*=l?1:-1}}var L=Object.assign({position:s},u&&ZE),z=c===!0?JE({x:v,y:h}):{x:v,y:h};if(v=z.x,h=z.y,l){var ae;return Object.assign({},L,(ae={},ae[y]=S?"0":"",ae[O]=$?"0":"",ae.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+h+"px)":"translate3d("+v+"px, "+h+"px, 0)",ae))}return Object.assign({},L,(n={},n[y]=S?h+"px":"",n[O]=$?v+"px":"",n.transform="",n))}function QE(e){var n=e.state,t=e.options,o=t.gpuAcceleration,r=o===void 0?!0:o,i=t.adaptive,a=i===void 0?!0:i,s=t.roundOffsets,l=s===void 0?!0:s,u={placement:co(n.placement),variation:bi(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:r,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,Bf(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:l})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,Bf(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const Og={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QE,data:{}};function _E(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xE(e){return e===it(e)||!et(e)?uc(e):_E(e)}function eN(e){var n=e.getBoundingClientRect(),t=yr(n.width)/e.offsetWidth||1,o=yr(n.height)/e.offsetHeight||1;return t!==1||o!==1}function nN(e,n,t){t===void 0&&(t=!1);var o=et(n),r=et(n)&&eN(n),i=Po(n),a=$r(e,r,t),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!t)&&((Tt(n)!=="body"||dc(i))&&(s=xE(n)),et(n)?(l=$r(n,!0),l.x+=n.clientLeft,l.y+=n.clientTop):i&&(l.x=cc(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function tN(e){var n=$r(e),t=e.offsetWidth,o=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-o)<=1&&(o=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:o}}function oN(e){var n=new Map,t=new Set,o=[];e.forEach(function(i){n.set(i.name,i)});function r(i){t.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!t.has(s)){var l=n.get(s);l&&r(l)}}),o.push(i)}return e.forEach(function(i){t.has(i.name)||r(i)}),o}function rN(e){var n=oN(e);return EE.reduce(function(t,o){return t.concat(n.filter(function(r){return r.phase===o}))},[])}function iN(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}function aN(e){var n=e.reduce(function(t,o){var r=t[o.name];return t[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,t},{});return Object.keys(n).map(function(t){return n[t]})}var zf={placement:"bottom",modifiers:[],strategy:"absolute"};function Vf(){for(var e=arguments.length,n=new Array(e),t=0;tn in e?gN(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Os=(e,n)=>{for(var t in n||(n={}))$N.call(n,t)&&Lf(e,t,n[t]);if(Rf)for(var t of Rf(n))wN.call(n,t)&&Lf(e,t,n[t]);return e},Ts=(e,n)=>bN(e,yN(n)),Uf=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});function Tg(e){const n=I(null),t=I(null),o=I({width:0,height:0}),r=Vt(e,"show",{passive:!0,defaultValue:!1,emit(T,B){B?(A(),N(e.onOpen)):N(e.onClose)}}),{zIndex:i}=Ai(()=>r.value,1);let a=null,s=!1,l=!1;const u=()=>{const{width:T,height:B}=Wo(n.value);o.value={width:rn(T),height:rn(B)}},c=()=>{switch(e.placement){case"top":case"cover-bottom":return"bottom";case"top-start":case"right-end":case"cover-bottom-start":return"bottom left";case"top-end":case"left-end":case"cover-bottom-end":return"bottom right";case"bottom":case"cover-top":return"top";case"bottom-start":case"right-start":case"cover-top-start":return"top left";case"bottom-end":case"left-start":case"cover-top-end":return"top right";case"left":case"cover-right":return"right";case"right":case"cover-left":return"left"}},d=()=>{e.trigger==="hover"&&(l=!0,k())},f=()=>Uf(this,null,function*(){e.trigger==="hover"&&(l=!1,yield Bn(),!s&&D())}),v=()=>{e.trigger==="hover"&&(s=!0)},p=()=>Uf(this,null,function*(){e.trigger==="hover"&&(s=!1,yield Bn(),!l&&D())}),h=()=>{e.closeOnClickReference&&r.value?D():k()},g=()=>{D()},$=T=>{e.trigger==="click"&&(g(),N(e.onClickOutside,T))},S=()=>{A(),N(e.onClosed)},O=()=>{const{offsetX:T,offsetY:B,placement:L}=e;u();const z={x:rn(T),y:rn(B)};switch(L){case"cover-top":return{placement:"bottom",skidding:z.x,distance:z.y-o.value.height};case"cover-top-start":return{placement:"bottom-start",skidding:z.x,distance:z.y-o.value.height};case"cover-top-end":return{placement:"bottom-end",skidding:z.x,distance:z.y-o.value.height};case"cover-bottom":return{placement:"top",skidding:z.x,distance:-z.y-o.value.height};case"cover-bottom-start":return{placement:"top-start",skidding:z.x,distance:-z.y-o.value.height};case"cover-bottom-end":return{placement:"top-end",skidding:z.x,distance:-z.y-o.value.height};case"cover-left":return{placement:"right",skidding:z.y,distance:z.x-o.value.width};case"cover-right":return{placement:"left",skidding:z.y,distance:-z.x-o.value.width};case"left":case"left-start":case"left-end":return{placement:L,skidding:z.y,distance:-z.x};case"top":case"top-start":case"top-end":return{placement:L,skidding:z.x,distance:-z.y};case"bottom":case"bottom-start":case"bottom-end":return{placement:L,skidding:z.x,distance:z.y};case"right":case"right-start":case"right-end":return{placement:L,skidding:z.y,distance:z.x}}},y=()=>{const{placement:T,skidding:B,distance:L}=O(),z=[Ts(Os({},qE),{enabled:r.value}),Ts(Os({},GE),{options:{offset:[B,L]}}),Ts(Os({},Og),{options:{adaptive:!1,gpuAcceleration:!1},enabled:r.value}),{name:"applyTransformOrigin",enabled:r.value,phase:"beforeWrite",fn({state:ae}){ae.styles.popper.transformOrigin=c()}}];return{placement:T,modifiers:z,strategy:e.strategy}},P=()=>e.reference?n.value.querySelector(e.reference):n.value,A=()=>{a.setOptions(y())},k=()=>{const{disabled:T}=e;T||(r.value=!0,N(e["onUpdate:show"],!0))},D=()=>{r.value=!1,N(e["onUpdate:show"],!1)};return sm(P,"click",$),Ce(()=>[e.offsetX,e.offsetY,e.placement,e.strategy],A),Ce(()=>e.disabled,D),Co(()=>{var T;a=pN((T=P())!=null?T:n.value,t.value,y())}),Ht(()=>{a.destroy()}),{show:r,popover:t,zIndex:i,host:n,hostSize:o,handleHostClick:h,handleHostMouseenter:d,handleHostMouseleave:f,handlePopoverClose:g,handlePopoverMouseenter:v,handlePopoverMouseleave:p,handleClosed:S,resize:A,open:k,close:D}}const CN={type:{type:String,default:"default"},color:String,content:String,show:Boolean,disabled:Boolean,trigger:{type:String,default:"hover"},reference:String,placement:{type:String,default:"bottom"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,closeOnClickReference:Boolean,onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),onClickOutside:W(),"onUpdate:show":W()},{name:SN,n:kN,classes:PN}=pe("tooltip");function ON(e,n){return C(),M("div",{ref:"host",class:m(e.classes(e.n(),e.n("$--box"))),onClick:n[3]||(n[3]=(...t)=>e.handleHostClick&&e.handleHostClick(...t)),onMouseenter:n[4]||(n[4]=(...t)=>e.handleHostMouseenter&&e.handleHostMouseenter(...t)),onMouseleave:n[5]||(n[5]=(...t)=>e.handleHostMouseleave&&e.handleHostMouseleave(...t))},[X(e.$slots,"default"),(C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[ie(nn,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed,persisted:""},{default:Te(()=>[He(F("div",{ref:"popover",class:m(e.classes(e.n("tooltip"),e.n("$--box"))),style:te({zIndex:e.zIndex}),onClick:n[0]||(n[0]=Xn(()=>{},["stop"])),onMouseenter:n[1]||(n[1]=(...t)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...t)),onMouseleave:n[2]||(n[2]=(...t)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...t))},[F("div",{style:te({background:e.color,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:m(e.classes(e.n("content-container"),e.n(`--${e.type}`)))},[X(e.$slots,"content",{},()=>[je(we(e.content),1)])],6)],38),[[kt,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const Eg=me({name:SN,props:CN,setup(e){const{disabled:n}=qo(),{popover:t,host:o,hostSize:r,show:i,zIndex:a,handleHostClick:s,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handlePopoverClose:f,handleClosed:v,open:p,close:h,resize:g}=Tg(e);return{popover:t,host:o,hostSize:r,show:i,zIndex:a,teleportDisabled:n,toSizeUnit:ze,n:kN,classes:PN,handleHostClick:s,handlePopoverClose:f,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handleClosed:v,resize:g,open:p,close:h}}});Eg.render=ON;var Ng=Eg;be(Ng);var Ma=Ng;const TN={expand:Boolean,expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Object,Boolean],default:!0},"onUpdate:expand":W()};var EN=Object.defineProperty,Ff=Object.getOwnPropertySymbols,NN=Object.prototype.hasOwnProperty,IN=Object.prototype.propertyIsEnumerable,Hf=(e,n,t)=>n in e?EN(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,MN=(e,n)=>{for(var t in n||(n={}))NN.call(n,t)&&Hf(e,t,n[t]);if(Ff)for(var t of Ff(n))IN.call(n,t)&&Hf(e,t,n[t]);return e};const{name:DN,n:AN,classes:BN}=pe("ellipsis"),zN={key:0};function VN(e,n){const t=$e("var-tooltip");return C(),Ae(t,ao(Nr(e.tooltip)),{content:Te(()=>[X(e.$slots,"tooltip-content",{},()=>{var o;return[(o=e.tooltip)!=null&&o.content?(C(),M("span",zN,we(e.tooltip.content),1)):X(e.$slots,"default",{key:1})]})]),default:Te(()=>[F("span",{class:m(e.classes(e.n(),[e.lineClamp,e.n("--clamp"),e.n("--line")],[e.expandTrigger,e.n("--cursor")],[e.expanding,e.n("--expand")])),style:te(e.rootStyles),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[X(e.$slots,"default")],6)]),_:3},16)}const Ig=me({name:DN,components:{VarTooltip:Ma},props:TN,setup(e){const n=Vt(e,"expand"),t=R(()=>e.lineClamp?{"-webkit-line-clamp":e.lineClamp}:{}),o=R(()=>e.tooltip===!1?{disabled:!0}:e.tooltip===!0?{sameWidth:!0}:MN({sameWidth:!0},e.tooltip));function r(){e.expandTrigger&&(n.value=!n.value)}return{tooltip:o,expanding:n,rootStyles:t,n:AN,classes:BN,handleClick:r}}});Ig.render=VN;var Mg=Ig;be(Mg);var zl=Mg;const RN={active:Boolean,show:{type:Boolean,default:!0},drag:{type:[Object,Boolean],default:!1},type:{type:String,default:"primary"},position:{type:String,default:"right-bottom"},direction:{type:String,default:"top"},trigger:{type:String,default:"click"},disabled:Boolean,color:String,inactiveIcon:{type:String,default:"plus"},activeIcon:{type:String,default:"window-close"},inactiveIconSize:Fe(dn,"size"),activeIconSize:Fe(dn,"size"),inactiveIconNamespace:Fe(dn,"namespace"),activeIconNamespace:Fe(dn,"namespace"),fixed:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:90},top:[Number,String],bottom:[Number,String],left:[Number,String],right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},safeArea:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onClick:W(),onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),"onUpdate:active":W()},{name:LN,classes:Es,n:Yn}=pe("fab");var Dg=me({name:LN,inheritAttrs:!1,props:RN,setup(e,{slots:n,attrs:t}){const o=Vt(e,"active"),r=I(null),i=I(null);Ce(()=>e.trigger,()=>{o.value=!1}),Ce(()=>e.disabled,()=>{o.value=!1}),Ce(()=>[e.position,e.fixed,e.top,e.bottom,e.left,e.right],()=>{var c;(c=i.value)==null||c.reset()}),sm(r,"click",l);function a(c,d,f){if(c.stopPropagation(),!(e.trigger!=="click"||e.disabled)){if(f===0){N(e.onClick,o.value,c);return}o.value=d,N(e.onClick,o.value,c),N(o.value?e.onOpen:e.onClose)}}function s(c,d){e.trigger!=="hover"||e.disabled||d===0||(o.value=c,N(o.value?e.onOpen:e.onClose))}function l(){e.trigger!=="click"||e.disabled||o.value!==!1&&(o.value=!1,N(e.onClose))}function u(){return n.trigger?e.show?n.trigger({active:o.value}):null:He(ie(Un,{"var-fab-cover":!0,class:Yn("trigger"),type:e.type,color:e.color,disabled:e.disabled,elevation:e.elevation,round:!0},{default:()=>[ie(tn,{"var-fab-cover":!0,class:Es([o.value,Yn("trigger-active-icon"),Yn("trigger-inactive-icon")]),name:o.value?e.activeIcon:e.inactiveIcon,size:o.value?e.activeIconSize:e.inactiveIconSize,namespace:o.value?e.activeIconNamespace:e.inactiveIconNamespace,transition:200,animationClass:Yn("--trigger-icon-animation")},null)]}),[[kt,e.show]])}return()=>{var c;const d=um((c=N(n.default))!=null?c:[]),f=Gu(e.drag)?{}:e.drag;return ie(Ia,Ze({ref:i,class:Es(Yn(`--position-${e.position}`),[!e.fixed,Yn("--absolute")]),style:{top:ze(e.top),bottom:ze(e.bottom),left:ze(e.left),right:ze(e.right)},zIndex:e.zIndex,teleport:e.teleport,disabled:e.disabled||!e.drag||!e.fixed,direction:f.direction,attraction:f.attraction,boundary:f.boundary,onClick:v=>a(v,!o.value,d.length)},t),{default:()=>[ie("div",{class:Es(Yn(),Yn(`--direction-${e.direction}`),[e.safeArea,Yn("--safe-area")]),ref:r,onMouseleave:()=>s(!1,d.length),onMouseenter:()=>s(!0,d.length)},[ie(nn,{name:Yn("--active-transition")},{default:()=>[u()]}),ie(nn,{name:Yn(`--actions-transition-${e.direction}`),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[He(ie("div",{class:Yn("actions"),onClick:v=>v.stopPropagation()},[d.map(v=>ie("div",{class:Yn("action")},[v]))]),[[kt,e.show&&o.value&&d.length]])]})])]})}}});be(Dg);var Vl=Dg;const vc={value:{type:null,required:!0},id:{type:String,default:""},isFocus:Boolean,size:{type:String,default:"normal"},variant:{type:String,default:"standard"},placeholder:String,line:{type:Boolean,default:!0},hint:{type:Boolean,default:!0},textColor:String,focusColor:String,blurColor:String,errorMessage:String,formDisabled:Boolean,disabled:Boolean,clearable:Boolean,cursor:String,composing:Boolean,onClick:W(),onClear:W()},{name:UN,n:Ns,classes:FN}=pe("field-decorator"),HN=["for"];function jN(e,n){const t=$e("var-icon");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.n(`--${e.variant}`),[e.size==="small",e.n("--small")],[e.disabled,e.n("--disabled")])),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[F("div",{class:m(e.classes(e.n("controller"),[e.isFocus,e.n("--focus")],[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({color:e.color,cursor:e.cursor,overflow:e.isFloating?"visible":"hidden"})},[F("div",{class:m(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[X(e.$slots,"prepend-icon")],2),F("div",{class:m(e.classes(e.n("middle"),[!e.hint,e.n("--middle-non-hint")]))},[X(e.$slots,"default")],2),e.placeholder&&e.hint?(C(),M("label",{key:0,class:m(e.classes(e.n("placeholder"),e.n("$--ellipsis"),[e.isFocus,e.n("--focus")],[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],e.computePlaceholderState())),style:te({color:e.color}),for:e.id},[F("span",null,we(e.placeholder),1)],14,HN)):he("v-if",!0),F("div",{class:m(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[e.clearable&&!e.isEmpty(e.value)?(C(),Ae(t,{key:0,class:m(e.n("clear-icon")),"var-field-decorator-cover":"",name:"close-circle",onClick:e.handleClear},null,8,["class","onClick"])):he("v-if",!0),X(e.$slots,"append-icon")],2)],6),e.line?(C(),M(Re,{key:0},[e.variant==="outlined"?(C(),M("fieldset",{key:0,class:m(e.classes(e.n("line"),[e.isFocus,e.n("--line-focus")],[e.errorMessage,e.n("--line-error")],[e.formDisabled||e.disabled,e.n("--line-disabled")])),style:te({borderColor:e.color})},[F("legend",{class:m(e.classes(e.n("line-legend"),[e.isFloating,e.n("line-legend--hint")])),style:te({width:e.legendWidth})},[e.placeholder&&e.hint?(C(),Ae(Et,{key:0,to:"body"},[F("span",{ref:"placeholderTextEl",class:m(e.classes(e.n("placeholder-text"),e.n("$--ellipsis"),[e.size==="small",e.n("placeholder-text--small")]))},we(e.placeholder),3)])):he("v-if",!0)],6)],6)):(C(),M("div",{key:1,class:m(e.classes(e.n("line"),[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:te({background:e.errorMessage?void 0:e.blurColor})},[F("div",{class:m(e.classes(e.n("dot"),[e.isFocus,e.n("--line-focus")],[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:te({background:e.errorMessage?void 0:e.focusColor})},null,6)],6))],64)):he("v-if",!0)],2)}const Ag=me({name:UN,components:{VarIcon:tn},props:vc,setup(e,{slots:n}){const t=I(null),o=I(""),r=R(()=>e.hint&&(!Ct(e.value)||e.isFocus||n["prepend-icon"])),i=R(()=>e.errorMessage?void 0:e.isFocus?e.focusColor:e.blurColor);Mr(s),Pn(s),Yo(s);function a(){const{hint:c,value:d,composing:f}=e;if(!c&&(!Ct(d)||f))return Ns("--placeholder-hidden");if(r.value)return Ns("--placeholder-hint")}function s(){const{size:c,hint:d,variant:f,placeholder:v}=e;if(!v||!d||f!=="outlined"){o.value="";return}const p=Wo(t.value),h=`var(--field-decorator-outlined-${c}-placeholder-space)`;o.value=`calc(${p.width} * 0.75 + ${h} * 2)`}function l(c){N(e.onClear,c)}function u(c){N(e.onClick,c)}return{placeholderTextEl:t,color:i,legendWidth:o,isFloating:r,computePlaceholderState:a,n:Ns,classes:FN,isEmpty:Ct,handleClear:l,handleClick:u}}});Ag.render=jN;var Bg=Ag;be(Bg);var yi=Bg;const YN={anchor:Number,anchors:Array,contentDraggable:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},elevation:{type:[Boolean,Number,String],default:!0},teleport:{type:[String,Object,Boolean],default:"body"},safeArea:Boolean,"onUpdate:anchor":W(),onAnchorChange:W()},{name:WN,n:qN,classes:KN}=pe("floating-panel"),XN=100,jf=.2;function GN(e,n){return C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[F("div",{class:m(e.classes(e.n(),[e.safeArea,e.n("--safe-area")],e.formatElevation(e.elevation,3))),style:te({height:`${e.toSizeUnit(e.maxAnchor)}`,transform:`translateY(calc(100% - ${e.toSizeUnit(e.visibleHeight)}))`,transition:e.touching?"none":`transform ${e.toNumber(e.duration)}ms var(--floating-panel-transition-timing-function), background-color 0.25s`}),onTouchstart:n[0]||(n[0]=(...t)=>e.handleTouchstart&&e.handleTouchstart(...t)),onTouchmove:n[1]||(n[1]=(...t)=>e.handleTouchmove&&e.handleTouchmove(...t)),onTouchend:n[2]||(n[2]=(...t)=>e.handleTouchend&&e.handleTouchend(...t)),onTouchcancel:n[3]||(n[3]=(...t)=>e.handleTouchend&&e.handleTouchend(...t))},[F("div",{class:m(e.n("header"))},[F("div",{class:m(e.n("header-toolbar"))},null,2)],2),F("div",{class:m(e.n("content")),ref:"contentRef"},[X(e.$slots,"default")],2)],38)],8,["to","disabled"])}const zg=me({name:WN,props:YN,setup(e){const n=I(0),t=I(null),{height:o}=Tw(),r=R(()=>o.value*.6),i=Vt(e,"anchor"),a=R(()=>{const T=[XN,r.value],{anchors:B}=e;return Ct(B)?T:B}),s=R(()=>Math.min(...a.value)),l=R(()=>Math.max(...a.value)),{disabled:u}=qo(),{deltaY:c,touching:d,startTouch:f,moveTouch:v,endTouch:p,isReachTop:h,isReachBottom:g}=Dr();let $;Di(()=>d.value),Ce(()=>i.value,S,{immediate:!0}),Ce(()=>a.value,()=>{S(i.value)},{immediate:!0});function S(T){A(T??s.value)}function O(T){f(T),$=n.value}function y(T){var B;v(T);const L=T.target;if((t.value===L||((B=t.value)==null?void 0:B.contains(L)))&&!e.contentDraggable){(h(t.value)||g(t.value))&&pt(T);return}const ae=$-c.value;A(k(ae)),pt(T)}function P(){p();const T=i.value;A(n.value),i.value=n.value,i.value!==T&&N(e.onAnchorChange,n.value)}function A(T){n.value=d.value?T:D(T)}function k(T){if(T>l.value){const B=T-l.value;return l.value+B*jf}if(T{const ae=Math.abs(z-T);aenew Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:JN,n:QN}=pe("form");function _N(e,n){return C(),M("form",{class:m(e.n()),onSubmit:n[0]||(n[0]=(...t)=>e.handleSubmit&&e.handleSubmit(...t)),onReset:n[1]||(n[1]=(...t)=>e.handleReset&&e.handleReset(...t))},[X(e.$slots,"default")],34)}const Rg=me({name:JN,props:ZN,setup(e){const n=R(()=>e.disabled),t=R(()=>e.readonly),{formItems:o,bindFormItems:r}=vP();r({disabled:n,readonly:t});function a(f){setTimeout(()=>{const v=go(f),p=v===window?0:Dd(v),h=Dd(f)-p-rn(e.scrollToErrorOffsetY);vi(v,{top:h,animation:rl})},300)}function s(f){return Yf(this,null,function*(){pt(f);const v=yield u();N(e.onSubmit,v)})}function l(f){pt(f),c(),N(e.onReset)}function u(){return Yf(this,null,function*(){var f;const v=yield Promise.all(o.map(({validate:p})=>p()));if(e.scrollToError){const[,p]=mw(v,g=>g===!1,e.scrollToError),h=p>-1;if(h){const g=(f=o[p].instance.proxy)==null?void 0:f.$el;a(g)}return!h}return v.every(p=>p===!0)})}function c(){return o.forEach(({reset:f})=>f())}function d(){return o.forEach(({resetValidation:f})=>f())}return{n:QN,handleSubmit:s,handleReset:l,validate:u,reset:c,resetValidation:d}}});Rg.render=_N;var ss=Rg;ss.useValidation=ot;ss.useForm=rt;be(ss);var Ll=ss;const xN={src:String,fit:{type:String,default:"fill"},alt:String,title:String,width:[String,Number],height:[String,Number],radius:{type:[String,Number],default:0},loading:String,error:String,lazy:Boolean,ripple:Boolean,block:{type:Boolean,default:!0},onClick:W(),onLoad:W(),onError:W()},{name:eI,n:nI,classes:tI}=pe("image"),oI=["alt","title","lazy-loading","lazy-error"],rI=["alt","title","src"];function iI(e,n){var t;const o=Ge("lazy"),r=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[!e.block,e.n("$--inline-block")])),style:te({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),borderRadius:e.toSizeUnit(e.radius)})},[e.lazy&&!e.showErrorSlot?He((C(),M("img",{key:0,class:m(e.n("image")),alt:e.alt,title:e.title,"lazy-loading":e.loading,"lazy-error":e.error,style:te({objectFit:e.fit}),onLoad:n[0]||(n[0]=(...i)=>e.handleLoad&&e.handleLoad(...i)),onClick:n[1]||(n[1]=(...i)=>e.handleClick&&e.handleClick(...i))},null,46,oI)),[[o,(t=e.src)!=null?t:""]]):he("v-if",!0),!e.lazy&&!e.showErrorSlot?(C(),M("img",{key:1,class:m(e.n("image")),alt:e.alt,title:e.title,style:te({objectFit:e.fit}),src:e.src,onLoad:n[2]||(n[2]=(...i)=>e.handleLoad&&e.handleLoad(...i)),onError:n[3]||(n[3]=(...i)=>e.handleError&&e.handleError(...i)),onClick:n[4]||(n[4]=(...i)=>e.handleClick&&e.handleClick(...i))},null,46,rI)):he("v-if",!0),e.showErrorSlot?X(e.$slots,"error",{key:2}):he("v-if",!0)],6)),[[r,{disabled:!e.ripple}]])}const Lg=me({name:eI,directives:{Lazy:hi,Ripple:vn},props:xN,setup(e,{slots:n}){const t=I(!1);Ce(()=>e.src,()=>{t.value=!1});function o(a){t.value=!!n.error,N(e.onError,a)}function r(a){const s=a.currentTarget;if(e.lazy){if(s._lazy.state==="success"){N(e.onLoad,a);return}s._lazy.state==="error"&&o(a)}else N(e.onLoad,a)}function i(a){N(e.onClick,a)}return{showErrorSlot:t,n:nI,classes:tI,toSizeUnit:ze,handleLoad:r,handleError:o,handleClick:i}}});Lg.render=iI;var Ug=Lg;be(Ug);var Ul=Ug;const Fg=Symbol("SWIPE_BIND_SWIPE_ITEM_KEY");function aI(){const{childProviders:e,length:n,bindChildren:t}=Tn(Fg);return{length:n,swipeItems:e,bindSwipeItems:t}}const Hg={loop:{type:Boolean,default:!0},autoplay:[String,Number],duration:{type:[String,Number],default:300},initialIndex:{type:[String,Number],default:0},navigation:{type:[Boolean,String],default:!1},indicator:{type:Boolean,default:!0},indicatorColor:String,vertical:Boolean,touchable:{type:Boolean,default:!0},onChange:W()};var xo=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const sI=250,lI=20,{name:uI,n:Wf,classes:cI}=pe("swipe"),dI=["onClick"];function fI(e,n){const t=$e("var-icon"),o=$e("var-button"),r=Ge("hover");return He((C(),M("div",{class:m(e.n()),ref:"swipeEl"},[F("div",{class:m(e.classes(e.n("track"),[e.vertical,e.n("--vertical")])),style:te({width:e.vertical?void 0:`${e.trackSize}px`,height:e.vertical?`${e.trackSize}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.trackTranslate}px)`,transitionDuration:e.lockDuration?"0ms":`${e.toNumber(e.duration)}ms`}),onTouchstart:n[0]||(n[0]=(...i)=>e.handleTouchstart&&e.handleTouchstart(...i)),onTouchmove:n[1]||(n[1]=(...i)=>e.handleTouchmove&&e.handleTouchmove(...i)),onTouchend:n[2]||(n[2]=(...i)=>e.handleTouchend&&e.handleTouchend(...i))},[X(e.$slots,"default")],38),e.navigation?X(e.$slots,"prev",ao(Ze({key:0},{index:e.index,length:e.length,prev:e.prev,next:e.next,to:e.to,hovering:e.hovering})),()=>[ie(nn,{name:e.getNavigationAnimation("prev")},{default:Te(()=>[e.navigation===!0||e.hovering?(C(),M("div",{key:0,class:m(e.classes(e.n("navigation"),e.n("navigation-prev"),[e.vertical,e.n("--navigation-vertical-prev")]))},[ie(o,{"var-swipe-cover":"",disabled:!e.loop&&e.index===0,class:m(e.n("navigation-prev-button")),onClick:n[3]||(n[3]=i=>e.prev())},{default:Te(()=>[ie(t,{"var-swipe-cover":"",class:m(e.n("navigation-prev-button-icon")),name:e.vertical?"chevron-up":"chevron-left"},null,8,["class","name"])]),_:1},8,["disabled","class"])],2)):he("v-if",!0)]),_:1},8,["name"])]):he("v-if",!0),e.navigation?X(e.$slots,"next",ao(Ze({key:1},{index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[ie(nn,{name:e.getNavigationAnimation("next")},{default:Te(()=>[e.navigation===!0||e.hovering?(C(),M("div",{key:0,class:m(e.classes(e.n("navigation"),e.n("navigation-next"),[e.vertical,e.n("--navigation-vertical-next")]))},[ie(o,{"var-swipe-cover":"",class:m(e.n("navigation-next-button")),disabled:!e.loop&&e.index===e.length-1,onClick:n[4]||(n[4]=i=>e.next())},{default:Te(()=>[ie(t,{"var-swipe-cover":"",class:m(e.n("navigation-next-button-icon")),name:e.vertical?"chevron-down":"chevron-right"},null,8,["class","name"])]),_:1},8,["class","disabled"])],2)):he("v-if",!0)]),_:1},8,["name"])]):he("v-if",!0),X(e.$slots,"indicator",ao(Nr({index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[e.indicator&&e.length?(C(),M("div",{key:0,class:m(e.classes(e.n("indicators"),[e.vertical,e.n("--indicators-vertical")]))},[(C(!0),M(Re,null,un(e.length,(i,a)=>(C(),M("div",{class:m(e.classes(e.n("indicator"),[e.index===a,e.n("--indicator-active")],[e.vertical,e.n("--indicator-vertical")])),style:te({background:e.indicatorColor}),key:i,onClick:s=>e.to(a)},null,14,dI))),128))],2)):he("v-if",!0)])],2)),[[r,e.handleHovering]])}const jg=me({name:uI,directives:{Hover:Zn},components:{VarButton:Un,VarIcon:tn},props:Hg,setup(e){const n=I(null),t=I(0),o=R(()=>e.vertical),r=I(0),i=I(0),a=I(!1),s=I(0),l=I(!1),{swipeItems:u,bindSwipeItems:c,length:d}=aI(),{popup:f,bindPopup:v}=qw(),{deltaX:p,deltaY:h,moveX:g,moveY:$,offsetX:S,offsetY:O,touching:y,direction:P,startTime:A,startTouch:k,moveTouch:D,endTouch:T}=Dr(),B=R(()=>P.value===(e.vertical?"vertical":"horizontal"));let L=!1,z=-1;c({size:t,vertical:o}),N(v,null),Ce(()=>d.value,()=>xo(this,null,function*(){yield Bn(),se(),H()})),f&&Ce(()=>f.show.value,b=>xo(this,null,function*(){b?(yield Bn(),H()):G()})),Ut(H),Ga(G),Mr(H);function re(b){return u.find(({index:E})=>E.value===b)}function oe(){e.loop&&(i.value>=0&&re(d.value-1).setTranslate(-r.value),i.value<=-(r.value-t.value)&&re(0).setTranslate(r.value),i.value>-(r.value-t.value)&&i.value<0&&(re(d.value-1).setTranslate(0),re(0).setTranslate(0)))}function _(b){const E=Rn(b)?b:Math.floor((i.value-t.value/2)/-t.value),{loop:Y}=e;return E<=-1?Y?-1:0:E>=d.value?Y?d.value:d.value-1:E}function x(b){const{loop:E}=e;return b===-1?E?d.value-1:0:b===d.value?E?0:d.value-1:b}function q(b){return e.loop?b<0?d.value+b:b>=d.value?b-d.value:b:ho(b,0,d.value-1)}function ge(){return xo(this,null,function*(){const b=i.value>=t.value,E=i.value<=-r.value,Y=0,Q=-(r.value-t.value);a.value=!0,(b||E)&&(a.value=!0,i.value=E?Y:Q,re(0).setTranslate(0),re(d.value-1).setTranslate(0)),yield Bn(),a.value=!1})}function se(){L||(s.value=q(K(e.initialIndex)),L=!0)}function ve(){const{autoplay:b}=e;!b||d.value<=1||(G(),z=window.setTimeout(()=>{J(),ve()},K(b)))}function G(){z&&clearTimeout(z)}function de(b){i.value=b,oe()}function ye(b){return xo(this,null,function*(){d.value<=1||!e.touchable||(k(b),G(),yield ge(),a.value=!0)})}function j(b){const{touchable:E,vertical:Y}=e;!y.value||!E||(D(b),B.value&&(pt(b),de(i.value+(Y?$.value:g.value))))}function ee(){if(!y.value||(T(),!B.value))return;const{vertical:b,onChange:E}=e,Y=b?h.value<0:p.value<0,Q=b?O.value:S.value,le=performance.now()-A.value<=sI&&Q>=lI?_(Y?s.value+1:s.value-1):_();a.value=!1,de(le*-t.value);const Z=s.value;s.value=x(le),ve(),Z!==s.value&&N(E,s.value)}function V(b){e.navigation==="hover"&&(l.value=b)}function fe(b){return e.navigation!=="hover"?"":Wf(`--navigation${e.vertical?"-vertical":""}-${b}-animation`)}function H(){n.value&&(a.value=!0,t.value=e.vertical?n.value.offsetHeight:n.value.offsetWidth,r.value=t.value*d.value,i.value=s.value*-t.value,u.forEach(b=>{b.setTranslate(0)}),ve(),setTimeout(()=>{a.value=!1}))}function J(b){return xo(this,null,function*(){if(d.value<=1)return;se();const{loop:E,onChange:Y}=e,Q=s.value;if(s.value=q(Q+1),(b==null?void 0:b.event)!==!1&&N(Y,s.value),yield ge(),Q===d.value-1&&E){re(0).setTranslate(r.value),i.value=d.value*-t.value;return}Q!==d.value-1&&(i.value=s.value*-t.value)})}function Pe(b){return xo(this,null,function*(){if(d.value<=1)return;se();const{loop:E,onChange:Y}=e,Q=s.value;if(s.value=q(Q-1),(b==null?void 0:b.event)!==!1&&N(Y,s.value),yield ge(),Q===0&&E){re(d.value-1).setTranslate(-r.value),i.value=t.value;return}Q!==0&&(i.value=s.value*-t.value)})}function w(b,E){if(d.value<=1||b===s.value)return;b=b<0?0:b,b=b>=d.value?d.value:b;const Y=b>s.value?J:Pe,Q=Math.abs(b-s.value);Array.from({length:Q}).forEach((U,le)=>{Y({event:le===Q-1?E==null?void 0:E.event:!1})})}return{length:d,index:s,swipeEl:n,trackSize:r,trackTranslate:i,lockDuration:a,hovering:l,n:Wf,classes:cI,handleTouchstart:ye,handleTouchmove:j,handleTouchend:ee,next:J,prev:Pe,to:w,resize:H,toNumber:K,handleHovering:V,getNavigationAnimation:fe}}});jg.render=fI;var Yg=jg;be(Yg);var $i=Yg;function vI(){const{bindParent:e,index:n,parentProvider:t}=On(Fg);return e||Gn("SwipeItem"," must in "),{index:n,swipe:t,bindSwipe:e}}const{name:hI,n:mI}=pe("swipe-item");function pI(e,n){return C(),M("div",{class:m(e.n()),style:te({width:e.vertical?void 0:`${e.size}px`,height:e.vertical?`${e.size}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.translate}px)`})},[X(e.$slots,"default")],6)}const Wg=me({name:hI,setup(){const e=I(0),{swipe:n,bindSwipe:t,index:o}=vI(),{size:r,vertical:i}=n;t({index:o,setTranslate:s});function s(l){e.value=l}return{n:mI,size:r,vertical:i,translate:e}}});Wg.render=pI;var qg=Wg;be(qg);var wi=qg,gI=Object.defineProperty,qf=Object.getOwnPropertySymbols,bI=Object.prototype.hasOwnProperty,yI=Object.prototype.propertyIsEnumerable,Kf=(e,n,t)=>n in e?gI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Xf=(e,n)=>{for(var t in n||(n={}))bI.call(n,t)&&Kf(e,t,n[t]);if(qf)for(var t of qf(n))yI.call(n,t)&&Kf(e,t,n[t]);return e};const $I=Xf(Xf({show:Boolean,imagePreventDefault:Boolean,images:{type:Array,default:()=>[]},current:String,initialIndex:{type:[String,Number],default:0},zoom:{type:[String,Number],default:2},closeable:Boolean,"onUpdate:show":W(),onLongPress:W()},Fe(Hg,["loop","indicator","onChange"])),Fe(Mi,["lockScroll","teleport","onOpen","onClose","onOpened","onClosed","onRouteChange"])),{name:wI,n:Gf,classes:CI}=pe("image-preview"),Is=12,Zf=200,SI=350,Jf=200,kI=500,PI=["onTouchstart"],OI=["src","alt"];function TI(e,n){const t=$e("var-swipe-item"),o=$e("var-swipe"),r=$e("var-icon"),i=$e("var-popup");return C(),Ae(i,{class:m(e.n("popup")),"var-image-preview-cover":"",transition:e.n("$-fade"),show:e.popupShow,overlay:!1,"close-on-click-overlay":!1,"lock-scroll":e.lockScroll,teleport:e.teleport,onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange},{default:Te(()=>[ie(o,Ze({ref:"swipeRef",class:e.n("swipe"),"var-image-preview-cover":"",touchable:e.canSwipe,indicator:e.indicator&&e.images.length>1,"initial-index":e.initialIndex,loop:e.loop,onChange:e.onChange},e.$attrs),{default:Te(()=>[(C(!0),M(Re,null,un(e.images,(a,s)=>(C(),Ae(t,{class:m(e.n("swipe-item")),"var-image-preview-cover":"",key:a},{default:Te(()=>[F("div",{class:m(e.n("zoom-container")),style:te({transform:`scale(${e.scale}) translate(${e.translateX}px, ${e.translateY}px)`,transitionTimingFunction:e.transitionTimingFunction,transitionDuration:e.transitionDuration}),onTouchstart:l=>e.handleTouchstart(l,s),onTouchmove:n[0]||(n[0]=(...l)=>e.handleTouchmove&&e.handleTouchmove(...l)),onTouchend:n[1]||(n[1]=(...l)=>e.handleTouchend&&e.handleTouchend(...l)),onTouchcancel:n[2]||(n[2]=(...l)=>e.handleTouchcancel&&e.handleTouchcancel(...l))},[F("img",{class:m(e.classes(e.n("image"),[e.isPreventDefault,e.n("--prevent")])),src:a,alt:a},null,10,OI)],46,PI)]),_:2},1032,["class"]))),128))]),indicator:Te(({index:a,length:s})=>[X(e.$slots,"indicator",{index:a,length:s},()=>[e.indicator&&e.images.length>1?(C(),M("div",{key:0,class:m(e.n("indicators"))},we(a+1)+" / "+we(s),3)):he("v-if",!0)])]),_:3},16,["class","touchable","indicator","initial-index","loop","onChange"]),X(e.$slots,"close-icon",{},()=>[e.closeable?(C(),Ae(r,{key:0,class:m(e.n("close-icon")),name:"close-circle","var-image-preview-cover":"",onClick:e.close},null,8,["class","onClick"])):he("v-if",!0)]),F("div",{class:m(e.n("extra"))},[X(e.$slots,"extra")],2)]),_:3},8,["class","transition","show","lock-scroll","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const Kg=me({name:wI,components:{VarSwipe:$i,VarSwipeItem:wi,VarPopup:po,VarIcon:tn},inheritAttrs:!1,props:$I,setup(e){const n=I(!1),t=I(1),o=I(0),r=I(0),i=I(),a=I(),s=I(!0),l=I(null),{moveX:u,moveY:c,distance:d,startTime:f,startTouch:v,moveTouch:p,endTouch:h}=Dr(),g=R(()=>{const{images:G,current:de,initialIndex:ye}=e;if(ye!=null)return K(ye);const j=G.findIndex(ee=>ee===de);return Math.max(j,0)}),$=R(()=>{const{imagePreventDefault:G,show:de}=e;return de&&G});let S=null,O=null,y=!1;const P={start:null,prev:null};mo(()=>document,"contextmenu",ve),Ce(()=>e.show,G=>{n.value=G},{immediate:!0});function A(){t.value=K(e.zoom),s.value=!1,P.prev=null,window.setTimeout(()=>{i.value="linear",a.value="0s"},Jf)}function k(){t.value=1,o.value=0,r.value=0,s.value=!0,P.prev=null,i.value=void 0,a.value=void 0}function D(G){return P.prev?d.value<=Is&&performance.now()-f.value<=Zf&&P.prev===G:!1}function T(G){return!G||!P.start||!P.prev?!1:d.value<=Is&&performance.now()-f.value{de&&x(),P.start=null},Zf)}function z(G,de){window.clearTimeout(S),window.clearTimeout(O);const ye=G.currentTarget;if(P.start=ye,O=window.setTimeout(()=>{y=!0,N(e.onLongPress,de)},kI),D(ye)){t.value>1?k():A();return}v(G),P.prev=ye}function ae(G){const{offsetWidth:de,offsetHeight:ye}=G,{naturalWidth:j,naturalHeight:ee}=G.querySelector(`.${Gf("image")}`);return{width:de,height:ye,imageRadio:ee/j,rootRadio:ye/de,zoom:K(e.zoom)}}function re(G){const{zoom:de,imageRadio:ye,rootRadio:j,width:ee,height:V}=ae(G);if(!ye)return 0;const fe=ye>j?V/ye:ee;return Math.max(0,(de*fe-ee)/2)/de}function oe(G){const{zoom:de,imageRadio:ye,rootRadio:j,width:ee,height:V}=ae(G);if(!ye)return 0;const fe=ye>j?V:ee*ye;return Math.max(0,(de*fe-V)/2)/de}function _(G){if(!P.prev)return;p(G);const de=G.currentTarget;if(d.value>Is&&window.clearTimeout(O),t.value>1){const ye=re(de),j=oe(de);o.value=ho(o.value+u.value,-ye,ye),r.value=ho(r.value+c.value,-j,j)}P.prev=de}function x(){if(t.value>1){k(),setTimeout(()=>N(e["onUpdate:show"],!1),Jf);return}N(e["onUpdate:show"],!1)}function q(G){var de;(de=l.value)==null||de.prev(G)}function ge(G){var de;(de=l.value)==null||de.next(G)}function se(G,de){var ye;(ye=l.value)==null||ye.to(G,de)}function ve(G){e.imagePreventDefault&&e.show&&pt(G)}return{swipeRef:l,isPreventDefault:$,initialIndex:g,popupShow:n,scale:t,translateX:o,translateY:r,canSwipe:s,transitionTimingFunction:i,transitionDuration:a,n:Gf,classes:CI,handleTouchstart:z,handleTouchmove:_,handleTouchend:L,handleTouchcancel:B,close:x,prev:q,next:ge,to:se}}});Kg.render=TI;var ls=Kg,EI=Object.defineProperty,NI=Object.defineProperties,II=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,MI=Object.prototype.hasOwnProperty,DI=Object.prototype.propertyIsEnumerable,_f=(e,n,t)=>n in e?EI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ji=(e,n)=>{for(var t in n||(n={}))MI.call(n,t)&&_f(e,t,n[t]);if(Qf)for(var t of Qf(n))DI.call(n,t)&&_f(e,t,n[t]);return e},xf=(e,n)=>NI(e,II(n));let to,xr={};function AI(e={}){return gn(e)?xf(Ji({},xr),{images:[e]}):Qe(e)?xf(Ji({},xr),{images:e}):Ji(Ji({},xr),e)}function Go(e){if(!jt())return;Go.close();const n=AI(e),t=Xe(n);t.teleport="body",to=t;const{unmountInstance:o}=Ar(ls,t,{onClose:()=>N(t.onClose),onClosed:()=>{N(t.onClosed),o(),to===t&&(to=null)},onRouteChange:()=>{o(),to===t&&(to=null)},"onUpdate:show":r=>{t.show=r}});t.show=!0}Go.close=()=>{if(to!=null){const e=to;to=null,en().then(()=>{e.show=!1})}};Go.setDefaultOptions=e=>{xr=e};Go.resetDefaultOptions=()=>{xr={}};Go.Component=ls;be(ls);be(ls,Go);var Ci=Go;const ca={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:W()};var ev=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:BI,n:zI,classes:VI}=pe("sticky");function RI(e,n){return C(),M("div",{class:m(e.classes(e.n(),[e.enableCSSMode,e.n("--css-mode")])),ref:"stickyEl",style:te({zIndex:e.toNumber(e.zIndex),top:e.enableCSSMode?`${e.offsetTop}px`:void 0,width:e.enableFixedMode?e.fixedWidth:void 0,height:e.enableFixedMode?e.fixedHeight:void 0})},[F("div",{class:m(e.n("wrapper")),ref:"wrapperEl",style:te({zIndex:e.toNumber(e.zIndex),position:e.enableFixedMode?"fixed":void 0,width:e.enableFixedMode?e.fixedWrapperWidth:void 0,height:e.enableFixedMode?e.fixedWrapperHeight:void 0,left:e.enableFixedMode?e.fixedLeft:void 0,top:e.enableFixedMode?e.fixedTop:void 0})},[X(e.$slots,"default")],6)],6)}const Xg=me({name:BI,props:ca,setup(e){const n=I(null),t=I(null),o=I(!1),r=I("0px"),i=I("0px"),a=I("auto"),s=I("auto"),l=I("auto"),u=I("auto"),c=R(()=>!e.disabled&&e.cssMode),d=R(()=>!e.disabled&&!e.cssMode&&o.value),f=R(()=>rn(e.offsetTop));let v;Ce(()=>e.disabled,g),Pn($),Ga(S),Mr(g),mo(()=>window,"scroll",h);function p(){const{cssMode:O,disabled:y}=e;if(y)return;let P=0;if(v!==window){const{top:L}=pn(v);P=L}const A=t.value,k=n.value,{top:D,left:T}=pn(k),B=D-P;return B<=f.value?(O||(a.value=`${k.offsetWidth}px`,s.value=`${k.offsetHeight}px`,r.value=`${P+f.value}px`,i.value=`${T}px`,l.value=`${A.offsetWidth}px`,u.value=`${A.offsetHeight}px`,o.value=!0),{offsetTop:f.value,isFixed:!0}):(o.value=!1,{offsetTop:B,isFixed:!1})}function h(){if(!v)return;const O=p();O&&N(e.onScroll,O.offsetTop,O.isFixed)}function g(){return ev(this,null,function*(){o.value=!1,yield ia(),p()})}function $(){return ev(this,null,function*(){yield Bn(),v=go(n.value),v!==window&&v.addEventListener("scroll",h),h()})}function S(){v!==window&&v.removeEventListener("scroll",h)}return{stickyEl:n,wrapperEl:t,isFixed:o,offsetTop:f,fixedTop:r,fixedLeft:i,fixedWidth:a,fixedHeight:s,fixedWrapperWidth:l,fixedWrapperHeight:u,enableCSSMode:c,enableFixedMode:d,n:zI,classes:VI,resize:g,toNumber:K}}});Xg.render=RI;var Gg=Xg;be(Gg);var Si=Gg;const Zg=Symbol("INDEX_BAR_BIND_INDEX_ANCHOR_KEY");function LI(){const{bindChildren:e,length:n,childProviders:t}=Tn(Zg);return{length:n,indexAnchors:t,bindIndexAnchors:e}}function UI(){const{parentProvider:e,index:n,bindParent:t}=On(Zg);return t||Gn("IndexAnchor",'You should use this component in "IndexBar"'),{index:n,indexBar:e,bindIndexBar:t}}const FI={index:[Number,String]},{name:HI,n:jI,classes:YI}=pe("index-anchor");function WI(e,n){return C(),Ae(Er(e.sticky?e.n("$-sticky"):e.Transition),{"offset-top":e.sticky?e.stickyOffsetTop:null,"z-index":e.sticky?e.zIndex:null,disabled:e.disabled&&!e.cssMode,"css-mode":e.cssMode,ref:"anchorEl"},{default:Te(()=>[F("div",Ze({class:e.n()},e.$attrs),[X(e.$slots,"default",{},()=>[je(we(e.name),1)])],16)]),_:3},8,["offset-top","z-index","disabled","css-mode"])}const Jg=me({name:HI,components:{VarSticky:Si},inheritAttrs:!1,props:FI,setup(e){const n=I(0),t=I(!1),o=R(()=>e.index),r=I(null),{index:i,indexBar:a,bindIndexBar:s}=UI(),{active:l,sticky:u,cssMode:c,stickyOffsetTop:d,zIndex:f}=a;s({index:i,name:o,ownTop:n,setOwnTop:p,setDisabled:h});function p(){r.value&&(n.value=r.value.$el?r.value.$el.offsetTop:r.value.offsetTop)}function h(g){t.value=g}return{n:jI,classes:YI,name:o,anchorEl:r,active:l,sticky:u,zIndex:f,disabled:t,cssMode:c,stickyOffsetTop:d,Transition:nn}}});Jg.render=WI;var Qg=Jg;be(Qg);var Fl=Qg;const qI={sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:[String,Number],default:0},cssMode:Boolean,stickyCssMode:Boolean,hideList:Boolean,zIndex:{type:[Number,String],default:1},highlightColor:String,duration:{type:[Number,String],default:0},onClick:W(),onChange:W()};var Qi=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:KI,n:XI,classes:GI}=pe("index-bar"),ZI=["onClick"];function JI(e,n){return C(),M("div",{class:m(e.n()),ref:"barEl"},[X(e.$slots,"default"),F("ul",{class:m(e.n("anchor-list")),style:te({zIndex:e.toNumber(e.zIndex)+2,display:e.hideList?"none":"block"})},[(C(!0),M(Re,null,un(e.anchorNameList,t=>(C(),M("li",{key:t,class:m(e.classes(e.n("anchor-item"),[e.active===t,e.n("anchor-item--active")])),style:te({color:e.active===t&&e.highlightColor?e.highlightColor:""}),onClick:o=>e.anchorClick({anchorName:t,manualCall:!0})},we(t),15,ZI))),128))],6)],2)}const _g=me({name:KI,props:qI,setup(e){const n=I(""),t=I(null),o=I([]),r=I(),i=R(()=>e.sticky),a=R(()=>e.stickyCssMode||e.cssMode),s=R(()=>rn(e.stickyOffsetTop)),l=R(()=>e.zIndex),{length:u,indexAnchors:c,bindIndexAnchors:d}=LI();let f=null,v=!1;const p={active:r,sticky:i,cssMode:a,stickyOffsetTop:s,zIndex:l};Ce(()=>u.value,()=>Qi(this,null,function*(){yield Bn(),c.forEach(({name:k,setOwnTop:D})=>{k.value&&o.value.push(k.value),D()})})),Pn(()=>Qi(this,null,function*(){yield O(),y()})),Tr(P),jo(()=>{v=!0,P()}),Ut(()=>{!v||r.value===void 0||(S({anchorName:r.value,options:{event:!1}}),v=!1)}),d(p);function h(k,D){const T=di(k)?k.name.value:k;T===r.value||T===void 0||(r.value=T,(D==null?void 0:D.event)!==!1&&N(e.onChange,T))}function g(){if(Zu(f))return 0;const{top:k}=pn(f),{scrollTop:D}=f,{top:T}=pn(t.value);return D-k+T}function $(){const k=hr(f),D=f===window?document.body.scrollHeight:f.scrollHeight,T=g();c.forEach((B,L)=>{const z=B.ownTop.value,ae=k-z+s.value-T,re=L===c.length-1?D:c[L+1].ownTop.value-B.ownTop.value;B.setDisabled(!0),ae>=0&&aeD===oe.value);if(!L)return;const z=g(),ae=L.ownTop.value-s.value+z,re=Ju(f);n.value=D,h(D,B),yield vi(f,{left:re,top:ae,animation:Bm,duration:K(e.duration)}),yield Bn(),n.value=""})}function O(){return Qi(this,null,function*(){yield Bn(),f=go(t.value)})}function y(){f.addEventListener("scroll",$)}function P(){f.removeEventListener("scroll",$)}function A(k,D){fi(()=>S({anchorName:k,options:D}))}return{barEl:t,active:r,zIndex:l,anchorNameList:o,n:XI,classes:GI,toNumber:K,scrollTo:A,anchorClick:S}}});_g.render=JI;var xg=_g;be(xg);var Hl=xg,QI=Object.defineProperty,nv=Object.getOwnPropertySymbols,_I=Object.prototype.hasOwnProperty,xI=Object.prototype.propertyIsEnumerable,tv=(e,n,t)=>n in e?QI(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,eM=(e,n)=>{for(var t in n||(n={}))_I.call(n,t)&&tv(e,t,n[t]);if(nv)for(var t of nv(n))xI.call(n,t)&&tv(e,t,n[t]);return e};const nM=eM({modelValue:String,modelModifiers:{type:Object,default:()=>({})},type:{type:String,default:"text"},textarea:Boolean,rows:{type:[String,Number],default:8},maxlength:[String,Number],readonly:Boolean,resize:Boolean,autofocus:Boolean,validateTrigger:{type:Array,default:()=>["onInput","onClear"]},rules:Array,enterkeyhint:String,onFocus:W(),onBlur:W(),onInput:W(),onChange:W(),onClear:W(),"onUpdate:modelValue":W()},Fe(vc,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])),{name:tM,n:oM,classes:rM}=pe("input"),iM=["placeholder","enterkeyhint"],aM=["id","disabled","readonly","type","value","placeholder","maxlength","rows","enterkeyhint","inputmode"],sM=["id","disabled","readonly","type","value","placeholder","maxlength","enterkeyhint","inputmode"];function lM(e,n){const t=$e("var-field-decorator"),o=$e("var-form-details");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"))),onMousedown:n[13]||(n[13]=(...r)=>e.handleMousedown&&e.handleMousedown(...r))},[ie(t,ao(Nr({value:e.modelValue,id:e.id,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,composing:e.isComposing,onClick:e.handleClick,onClear:e.handleClear})),ma({"append-icon":Te(()=>[X(e.$slots,"append-icon")]),default:Te(()=>[e.normalizedType==="password"?(C(),M("input",{key:0,tabindex:"-1",class:m(e.n("autocomplete")),placeholder:e.hint?void 0:e.placeholder,style:te({"--input-placeholder-color":e.placeholderColor}),enterkeyhint:e.enterkeyhint},null,14,iM)):he("v-if",!0),e.textarea?(C(),M("textarea",{key:1,class:m(e.classes(e.n("input"),e.n("--textarea"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,rows:e.rows,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:te({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,resize:e.resize?"vertical":"none","--input-placeholder-color":e.placeholderColor}),onFocus:n[0]||(n[0]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[1]||(n[1]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[2]||(n[2]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[3]||(n[3]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[4]||(n[4]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[5]||(n[5]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},` + `,46,aM)):(C(),M("input",{key:2,class:m(e.classes(e.n("input"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:te({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,"--input-placeholder-color":e.placeholderColor}),onFocus:n[6]||(n[6]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[7]||(n[7]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[8]||(n[8]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[9]||(n[9]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[10]||(n[10]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[11]||(n[11]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},null,46,sM))]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:Te(()=>[X(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040),ie(o,{"error-message":e.errorMessage,"extra-message":e.maxlengthText,onMousedown:n[12]||(n[12]=Xn(()=>{},["stop"]))},ma({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:Te(()=>[X(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"])],34)}const eb=me({name:tM,components:{VarFormDetails:Fn,VarFieldDecorator:yi},props:nM,setup(e){const n=lm(),t=I(null),o=I(!1),r=I(!1),{bindForm:i,form:a}=rt(),{errorMessage:s,validateWithTrigger:l,validate:u,resetValidation:c}=ot(),d=R(()=>e.disabled||e.readonly?"":"text"),f=R(()=>e.type==="number"?"text":e.type),v=R(()=>{const{maxlength:q,modelValue:ge}=e;return q?Ct(ge)?`0 / ${q}`:`${String(ge).length}/${q}`:""}),p=R(()=>{const{hint:q,blurColor:ge,focusColor:se}=e;if(!q)return s.value?"var(--field-decorator-error-color)":o.value?se||"var(--field-decorator-focus-color)":ge||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"});N(i,{reset:re,validate:oe,resetValidation:c}),Pn(()=>{e.autofocus&&_()});function g(q){en(()=>{const{validateTrigger:ge,rules:se,modelValue:ve}=e;l(ge,q,se,ve)})}function $(q){o.value=!0,N(e.onFocus,q),g("onFocus")}function S(q){o.value=!1,N(e.onBlur,q),g("onBlur")}function O(q){const ge=q.target;let{value:se}=ge;return e.type==="number"&&(se=B(se)),z(L(se))}function y(){r.value=!0}function P(q){r.value&&(r.value=!1,q.target.dispatchEvent(new Event("input")))}function A(q){if(r.value)return;const ge=O(q);N(e["onUpdate:modelValue"],ge),N(e.onInput,ge,q),g("onInput")}function k(q){const ge=O(q);N(e.onChange,ge,q),g("onChange")}function D(){const{disabled:q,readonly:ge,clearable:se,onClear:ve}=e;a!=null&&a.disabled.value||a!=null&&a.readonly.value||q||ge||!se||(N(e["onUpdate:modelValue"],""),N(ve,""),g("onClear"))}function T(q){const{disabled:ge,onClick:se}=e;a!=null&&a.disabled.value||ge||(N(se,q),g("onClick"))}function B(q){const ge=q.indexOf("-"),se=q.indexOf(".");return ge>-1&&(q=ge===0?"-"+q.replace(/-/g,""):q.replace(/-/g,"")),se>-1&&(q=q.slice(0,se+1)+q.slice(se).replace(/\./g,"")),q.replace(/[^-0-9.]/g,"")}function L(q){return e.modelModifiers.trim?q.trim():q}function z(q){return e.maxlength?q.slice(0,K(e.maxlength)):q}function ae(q){const{disabled:ge}=e;a!=null&&a.disabled.value||ge||q.target===t.value||(_(),pt(q))}function re(){N(e["onUpdate:modelValue"],""),c()}function oe(){return u(e.rules,e.modelValue)}function _(){var q;(q=t.value)==null||q.focus()}function x(){t.value.blur()}return{el:t,id:n,isFocus:o,isComposing:r,errorMessage:s,placeholderColor:p,normalizedType:f,cursor:d,maxlengthText:v,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,n:oM,classes:rM,isEmpty:Ct,handleFocus:$,handleBlur:S,handleInput:A,handleChange:k,handleClear:D,handleClick:T,handleCompositionStart:y,handleCompositionEnd:P,handleMousedown:ae,validate:oe,resetValidation:c,reset:re,focus:_,blur:x}}});eb.render=lM;var nb=eb;be(nb);var Da=nb;const uM={type:{type:String,default:"default"},href:String,target:String,rel:String,to:[String,Object],replace:Boolean,underline:{type:String,default:"always"},disabled:Boolean,textSize:[String,Number],textColor:String,onClick:W()},{name:cM,n:dM,classes:fM}=pe("link");function vM(e,n){return C(),Ae(Er(e.tag),Ze(e.linkProps,{class:e.classes(e.n(),e.n("$--box"),e.n("$--inline-flex"),e.n(`--${e.type}`),[e.underline!=="none",e.n(`--underline-${e.underline}`)],[e.disabled,e.n("--disabled")]),style:{color:e.textColor,fontSize:e.toSizeUnit(e.textSize)},onClick:e.handleClick}),{default:Te(()=>[X(e.$slots,"default")]),_:3},16,["class","style","onClick"])}const tb=me({name:cM,props:uM,setup(e){const n=R(()=>e.disabled?"span":e.href?"a":e.to?"router-link":"a"),t=R(()=>{const{disabled:r,href:i,target:a,to:s,replace:l,rel:u}=e;return r?{}:i?{href:i,target:a,rel:u}:s?{to:s,target:a,replace:l}:{}});function o(r){e.disabled||N(e.onClick,r)}return{tag:n,linkProps:t,n:dM,classes:fM,handleClick:o,toSizeUnit:ze}}});tb.render=vM;var ob=tb;be(ob);var jl=ob;const hM={loading:Boolean,immediateCheck:{type:Boolean,default:!0},finished:Boolean,error:Boolean,offset:{type:[String,Number],default:0},loadingText:String,finishedText:String,errorText:String,onLoad:W(),"onUpdate:loading":W(),"onUpdate:error":W()},rb=Symbol("TABS_ITEMS_BIND_TAB_ITEM_KEY");function mM(){const{bindChildren:e,childProviders:n,length:t}=Tn(rb);return{length:t,tabItemList:n,bindTabItem:e}}const ib=Symbol("TAB_ITEM_BIND_LIST_KEY");function pM(){const{parentProvider:e,bindParent:n,index:t}=On(rb);return n||Gn("TabItem"," must in "),{index:t,tabsItems:e,bindTabsItems:n}}function gM(){const{childProviders:e,bindChildren:n,length:t}=Tn(ib);return{length:t,lists:e,bindLists:n}}function bM(){const{parentProvider:e,bindParent:n,index:t}=On(ib);return{index:t,tabItem:e,bindTabItem:n}}var yM=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:$M,n:wM,classes:CM}=pe("list");function SM(e,n){const t=$e("var-loading"),o=Ge("ripple");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"))),ref:"listEl"},[X(e.$slots,"default"),e.loading?X(e.$slots,"loading",{key:0},()=>{var r;return[F("div",{class:m(e.n("loading"))},[F("div",{class:m(e.n("loading-text"))},we((r=e.loadingText)!=null?r:e.pack.listLoadingText),3),ie(t,{size:"mini",radius:10})],2)]}):he("v-if",!0),e.finished?X(e.$slots,"finished",{key:1},()=>{var r;return[F("div",{class:m(e.n("finished"))},we((r=e.finishedText)!=null?r:e.pack.listFinishedText),3)]}):he("v-if",!0),e.error?X(e.$slots,"error",{key:2},()=>{var r;return[He((C(),M("div",{class:m(e.n("error")),onClick:n[0]||(n[0]=(...i)=>e.load&&e.load(...i))},[je(we((r=e.errorText)!=null?r:e.pack.listErrorText),1)],2)),[[o]])]}):he("v-if",!0),F("div",{class:m(e.n("detector")),ref:"detectorEl"},null,2)],2)}const ab=me({name:$M,directives:{Ripple:vn},components:{VarLoading:pr},props:hM,setup(e){const n=I(null),t=I(null),{tabItem:o,bindTabItem:r}=bM();let i;N(r,{}),o&&Ce(()=>o.current.value,u),Ce(()=>[e.loading,e.error,e.finished],u),Pn(()=>{i=go(n.value),i.addEventListener("scroll",u),e.immediateCheck&&u()}),Ga(l);function a(){N(e["onUpdate:error"],!1),N(e["onUpdate:loading"],!0),N(e.onLoad)}function s(){const{bottom:c}=pn(i),{bottom:d}=pn(t.value);return Math.floor(d)-rn(e.offset)<=c}function l(){i.removeEventListener("scroll",u)}function u(){return yM(this,null,function*(){yield en(),!(e.loading||e.finished||e.error||(o==null?void 0:o.current.value)===!1||!s())&&a()})}return{pack:Cn,listEl:n,detectorEl:t,isNumber:Rn,load:a,check:u,n:wM,classes:CM}}});ab.render=SM;var sb=ab;be(sb);var Yl=sb;const kM={value:{type:Number,default:0},opacity:{type:Number,default:0},error:Boolean,color:String,errorColor:String,height:[Number,String],top:[Number,String]},{name:PM,classes:OM,n:ov}=pe("loading-bar");var TM=me({name:PM,props:kM,setup(e){return()=>ie("div",{class:OM(ov(),[e.error,ov("--error")]),style:{zIndex:Kn.zIndex+10,width:`${e.value}%`,opacity:e.opacity,height:ze(e.height),backgroundColor:e.error?e.errorColor:e.color,top:ze(e.top)}},null)}});let lb,ub,us,cb,rv,db={};const EM={value:0,opacity:0,error:!1},wn=Xe(EM),NM=e=>{Object.assign(wn,e)},IM=e=>{Object.assign(wn,e),db=e},MM=()=>{Object.keys(db).forEach(e=>{wn[e]!==void 0&&(wn[e]=void 0)})},fb=()=>{rv||(rv=!0,Ar(TM,wn))},hc=()=>{lb=window.setTimeout(()=>{if(wn.value>=95)return;let e=Math.random();wn.value<70&&(e=Math.round(5*Math.random())),wn.value+=e,hc()},200)},mc=()=>{window.clearTimeout(ub),window.clearTimeout(lb),window.clearTimeout(us),window.clearTimeout(cb)},DM=()=>{mc(),wn.error=!1,wn.value=0,fb(),us=window.setTimeout(()=>{wn.opacity=1},200),hc()},vb=()=>{mc(),wn.value=100,us=window.setTimeout(()=>{wn.opacity=0,ub=window.setTimeout(()=>{wn.error=!1},250)},300)},AM=()=>{mc(),wn.error=!0,wn.value===100&&(wn.value=0),fb(),us=window.setTimeout(()=>{wn.opacity=1},200),hc(),cb=window.setTimeout(vb,300)},BM={start:DM,finish:vb,error:AM,mergeConfig:NM,setDefaultOptions:IM,resetDefaultOptions:MM};var Wl=BM;const hb={show:Boolean,disabled:Boolean,trigger:{type:String,default:"click"},reference:String,placement:{type:String,default:"cover-top-start"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,elevation:{type:[Boolean,String,Number],default:!0},defaultStyle:{type:Boolean,default:!0},popoverClass:String,closeOnClickReference:Boolean,onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),onClickOutside:W(),"onUpdate:show":W()},{name:zM,n:VM,classes:RM}=pe("menu");function LM(e,n){return C(),M("div",{ref:"host",class:m(e.classes(e.n(),e.n("$--box"))),onClick:n[3]||(n[3]=(...t)=>e.handleHostClick&&e.handleHostClick(...t)),onMouseenter:n[4]||(n[4]=(...t)=>e.handleHostMouseenter&&e.handleHostMouseenter(...t)),onMouseleave:n[5]||(n[5]=(...t)=>e.handleHostMouseleave&&e.handleHostMouseleave(...t))},[X(e.$slots,"default"),(C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[ie(nn,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed,persisted:""},{default:Te(()=>[He(F("div",{ref:"popover",style:te({zIndex:e.zIndex,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:m(e.classes(e.n("menu"),e.n("$--box"),e.popoverClass,[e.defaultStyle,e.n("--menu-background-color")],[e.defaultStyle,e.formatElevation(e.elevation,3)])),onClick:n[0]||(n[0]=Xn(()=>{},["stop"])),onMouseenter:n[1]||(n[1]=(...t)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...t)),onMouseleave:n[2]||(n[2]=(...t)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...t))},[X(e.$slots,"menu")],38),[[kt,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const mb=me({name:zM,props:hb,setup(e){const{disabled:n}=qo(),{popover:t,host:o,hostSize:r,show:i,zIndex:a,handleHostClick:s,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handlePopoverClose:f,handleClosed:v,open:p,close:h,resize:g}=Tg(e);return{popover:t,host:o,hostSize:r,show:i,zIndex:a,teleportDisabled:n,formatElevation:In,toSizeUnit:ze,n:VM,classes:RM,handleHostClick:s,handleHostMouseenter:l,handleHostMouseleave:u,handlePopoverMouseenter:c,handlePopoverMouseleave:d,handlePopoverClose:f,handleClosed:v,resize:g,open:p,close:h}}});mb.render=LM;var pb=mb;be(pb);var wr=pb;const gb=Symbol("MENU_SELECT_BIND_MENU_OPTION_KEY");function UM(){const{length:e,childProviders:n,bindChildren:t}=Tn(gb);return{length:e,menuOptions:n,bindMenuOptions:t}}function FM(){const{index:e,parentProvider:n,bindParent:t}=On(gb);return t||Gn("MenuOption"," must in "),{index:e,menuSelect:n,bindMenuSelect:t}}const HM={label:{},value:{},disabled:Boolean},{name:jM,n:YM,classes:WM}=pe("menu-option");function qM(e,n){const t=$e("var-checkbox"),o=$e("var-hover-overlay"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.n(`--${e.size}`),[e.optionSelected,e.n("--selected-color")],[e.disabled,e.n("--disabled")])),onClick:n[2]||(n[2]=(...a)=>e.handleClick&&e.handleClick(...a))},[F("div",{class:m(e.classes(e.n("cover"),[e.optionSelected,e.n("--selected-background")]))},null,2),e.multiple?(C(),Ae(t,{key:0,ref:"checkbox",modelValue:e.optionSelected,"onUpdate:modelValue":n[0]||(n[0]=a=>e.optionSelected=a),disabled:e.disabled,onClick:n[1]||(n[1]=Xn(()=>{},["stop"])),onChange:e.handleSelect},null,8,["modelValue","disabled","onChange"])):he("v-if",!0),X(e.$slots,"default",{},()=>[F("div",{class:m(e.classes(e.n("text"),e.n("$--ellipsis")))},we(e.label),3)]),ie(o,{hovering:e.hovering&&!e.disabled},null,8,["hovering"])],2)),[[r,{disabled:e.disabled}],[i,e.handleHovering,"desktop"]])}const bb=me({name:jM,directives:{Ripple:vn,Hover:Zn},components:{VarCheckbox:mi,VarHoverOverlay:tt},props:HM,setup(e){const n=I(!1),t=R(()=>n.value),o=R(()=>e.label),r=R(()=>e.value),{menuSelect:i,bindMenuSelect:a}=FM(),{size:s,multiple:l,onSelect:u,computeLabel:c}=i,{hovering:d,handleHovering:f}=Pt(),v={label:o,value:r,selected:t,sync:g};Ce([()=>e.label,()=>e.value],c),a(v);function p(){e.disabled||h()}function h(){l.value&&(n.value=!n.value),u(v)}function g($){n.value=$}return{optionSelected:n,size:s,multiple:l,hovering:d,n:YM,classes:WM,handleHovering:f,handleClick:p,handleSelect:h}}});bb.render=qM;var yb=bb;be(yb);var ql=yb,KM=Object.defineProperty,iv=Object.getOwnPropertySymbols,XM=Object.prototype.hasOwnProperty,GM=Object.prototype.propertyIsEnumerable,av=(e,n,t)=>n in e?KM(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ZM=(e,n)=>{for(var t in n||(n={}))XM.call(n,t)&&av(e,t,n[t]);if(iv)for(var t of iv(n))GM.call(n,t)&&av(e,t,n[t]);return e};const JM=ZM({modelValue:{default:void 0},size:{type:String,default:"normal"},multiple:Boolean,scrollable:Boolean,closeOnSelect:{type:Boolean,default:!0},"onUpdate:modelValue":W()},Fe(hb,["show","disabled","trigger","reference","placement","strategy","offsetX","offsetY","teleport","sameWidth","elevation","popoverClass","closeOnClickReference","onOpen","onOpened","onClose","onClosed","onClickOutside","onUpdate:show"]));function $b(e){const{multiple:n,modelValue:t,optionProviders:o,optionProvidersLength:r}=e,i=I(""),a=I([]);Ce(t,d,{deep:!0}),Ce(r,d);function s(){const f=n(),v=t();f&&(a.value=v.map(l)),!f&&!Ct(v)&&(i.value=l(v)),!f&&Ct(v)&&(i.value="")}function l(f){var v;const p=o();let h=p.find(({value:g})=>g.value===f);return h||(h=p.find(({label:g})=>g.value===f)),(v=h==null?void 0:h.label.value)!=null?v:""}function u({value:f,label:v}){return f.value!=null?f.value:v.value}function c(f){const v=n(),p=o();return v?p.filter(({selected:h})=>h.value).map(u):u(f)}function d(){const f=n(),v=t(),p=o();f?p.forEach(h=>h.sync(v.includes(u(h)))):p.forEach(h=>h.sync(v===u(h))),s()}return{label:i,labels:a,computeLabel:s,getSelectedValue:c}}const{name:QM,n:_M,classes:xM}=pe("menu-select");function e3(e,n){const t=$e("var-menu");return C(),Ae(t,{ref:"menu",class:m(e.n()),disabled:e.disabled,trigger:e.trigger,reference:e.reference,placement:e.placement,strategy:e.strategy,"offset-x":e.offsetX,"offset-y":e.offsetY,teleport:e.teleport,"same-width":e.sameWidth,elevation:e.elevation,"default-style":!1,"popover-class":e.popoverClass,"close-on-click-reference":e.closeOnClickReference,show:e.show,"onUpdate:show":n[0]||(n[0]=o=>e.show=o),onOpen:e.onOpen,onOpened:e.onOpened,onClose:e.onClose,onClosed:e.onClosed,onClickOutside:e.onClickOutside},{menu:Te(()=>[F("div",{class:m(e.classes(e.n("menu"),e.formatElevation(e.elevation,3),[e.scrollable,e.n("--scrollable")]))},[X(e.$slots,"options")],2)]),default:Te(()=>[X(e.$slots,"default")]),_:3},8,["class","disabled","trigger","reference","placement","strategy","offset-x","offset-y","teleport","same-width","elevation","popover-class","close-on-click-reference","show","onOpen","onOpened","onClose","onClosed","onClickOutside"])}const wb=me({name:QM,components:{VarMenu:wr},props:JM,setup(e){const n=I(null),t=Vt(e,"show"),{menuOptions:o,length:r,bindMenuOptions:i}=UM(),{computeLabel:a,getSelectedValue:s}=$b({modelValue:()=>e.modelValue,multiple:()=>e.multiple,optionProviders:()=>o,optionProvidersLength:()=>r.value}),l={size:R(()=>e.size),multiple:R(()=>e.multiple),computeLabel:a,onSelect:u};i(l);function u(v){const{multiple:p,closeOnSelect:h}=e;N(e["onUpdate:modelValue"],s(v)),!p&&h&&(t.value=!1)}function c(){var v;(v=n.value)==null||v.open()}function d(){var v;(v=n.value)==null||v.close()}function f(){var v;(v=n.value)==null||v.resize()}return{show:t,menu:n,n:_M,classes:xM,formatElevation:In,open:c,close:d,resize:f}}});wb.render=e3;var Cb=wb;be(Cb);var Kl=Cb;const Sb=Symbol("SELECT_BIND_OPTION_KEY");function n3(){const{length:e,childProviders:n,bindChildren:t}=Tn(Sb);return{length:e,options:n,bindOptions:t}}function t3(){const{index:e,parentProvider:n,bindParent:t}=On(Sb);return t||Gn("Option"," must in "),{index:e,select:n,bindSelect:t}}const o3={label:{},value:{},disabled:Boolean},{name:r3,n:i3,classes:a3}=pe("option");function s3(e,n){const t=$e("var-checkbox"),o=$e("var-hover-overlay"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),[e.optionSelected,e.n("--selected-color")],[e.disabled,e.n("--disabled")])),style:te({color:e.optionSelected?e.focusColor:void 0}),onClick:n[2]||(n[2]=(...a)=>e.handleClick&&e.handleClick(...a))},[F("div",{class:m(e.classes(e.n("cover"),[e.optionSelected,e.n("--selected-background")])),style:te({background:e.optionSelected?e.focusColor:void 0})},null,6),e.multiple?(C(),Ae(t,{key:0,ref:"checkbox",modelValue:e.optionSelected,"onUpdate:modelValue":n[0]||(n[0]=a=>e.optionSelected=a),"checked-color":e.focusColor,disabled:e.disabled,onClick:n[1]||(n[1]=Xn(()=>{},["stop"])),onChange:e.handleSelect},null,8,["modelValue","checked-color","disabled","onChange"])):he("v-if",!0),X(e.$slots,"default",{},()=>[F("div",{class:m(e.classes(e.n("text"),e.n("$--ellipsis")))},we(e.label),3)]),ie(o,{hovering:e.hovering&&!e.disabled},null,8,["hovering"])],6)),[[r,{disabled:e.disabled}],[i,e.handleHovering,"desktop"]])}const kb=me({name:r3,directives:{Ripple:vn,Hover:Zn},components:{VarCheckbox:mi,VarHoverOverlay:tt},props:o3,setup(e){const n=I(!1),t=R(()=>n.value),o=R(()=>e.label),r=R(()=>e.value),{select:i,bindSelect:a}=t3(),{multiple:s,focusColor:l,onSelect:u,computeLabel:c}=i,{hovering:d,handleHovering:f}=Pt(),v={label:o,value:r,selected:t,sync:g};Ce([()=>e.label,()=>e.value],c),a(v);function p(){e.disabled||h()}function h(){s.value&&(n.value=!n.value),u(v)}function g($){n.value=$}return{optionSelected:n,multiple:s,focusColor:l,hovering:d,n:i3,classes:a3,handleHovering:f,handleClick:p,handleSelect:h}}});kb.render=s3;var Pb=kb;be(Pb);var Xl=Pb;const l3={show:Boolean,lockScroll:{type:Boolean,default:!0},teleport:[String,Object,Boolean],onClick:W(),"onUpdate:show":W()},{name:u3,n:sv}=pe("overlay");var Ob=me({name:u3,inheritAttrs:!1,props:l3,setup(e,{slots:n,attrs:t}){const{zIndex:o}=Ai(()=>e.show,1),{disabled:r}=qo();Di(()=>e.show,()=>e.lockScroll);function i(){N(e.onClick),N(e["onUpdate:show"],!1)}function a(){return ie("div",Ze({class:sv(),style:{zIndex:o.value-1}},t,{onClick:i}),[N(n.default)])}function s(){return ie(nn,{name:sv("--fade")},{default:()=>[e.show&&a()]})}return()=>{const{teleport:l}=e;return l?ie(Et,{to:l,disabled:r.value},{default:()=>[s()]}):s()}}});be(Ob);var Gl=Ob;const c3={current:[Number,String],size:{type:[Number,String],default:10},total:{type:[Number,String],default:0},elevation:{type:[Boolean,Number,String],default:!0},maxPagerCount:{type:Number,default:3},disabled:Boolean,simple:{type:Boolean,default:!0},showSizeChanger:{type:Boolean,default:!0},showQuickJumper:Boolean,sizeOption:{type:Array,default:()=>[10,20,50,100]},showTotal:Function,onChange:W(),"onUpdate:current":W(),"onUpdate:size":W()},{name:d3,n:f3,classes:v3}=pe("pagination"),h3=["item-mode","onClick"];function m3(e,n){const t=$e("var-icon"),o=$e("var-input"),r=$e("var-cell"),i=$e("var-menu"),a=Ge("ripple");return C(),M("ul",{class:m(e.n())},[He((C(),M("li",{class:m(e.classes(e.n("item"),e.n("prev"),[e.current<=1||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:n[0]||(n[0]=s=>e.clickItem("prev"))},[X(e.$slots,"prev",{},()=>[ie(t,{name:"chevron-left"})])],2)),[[a,{disabled:e.current<=1||e.disabled}]]),e.simple?(C(),M("li",{key:0,class:m(e.classes(e.n("simple"),[e.disabled,e.n("item--disabled")]))},[ie(o,{"var-pagination-cover":"",hint:!1,disabled:e.disabled,modelValue:e.simpleCurrentValue,"onUpdate:modelValue":n[1]||(n[1]=s=>e.simpleCurrentValue=s),onBlur:n[2]||(n[2]=s=>e.setPage("simple",e.simpleCurrentValue,s)),onKeydown:n[3]||(n[3]=md(s=>e.setPage("simple",e.simpleCurrentValue,s),["enter"]))},null,8,["disabled","modelValue"]),F("span",null,[je(" / "+we(e.pageCount)+" ",1),F("div",{class:m(e.n("simple-line"))},null,2)])],2)):(C(!0),M(Re,{key:1},un(e.pageList,(s,l)=>He((C(),M("li",{key:l,"item-mode":e.getMode(s,l),class:m(e.classes(e.n("item"),e.formatElevation(e.elevation,2),[s===e.current&&!e.disabled,e.n("item--active")],[e.isHideEllipsis(s,l),e.n("item--hide")],[e.disabled,e.n("item--disabled")],[s===e.current&&e.disabled,e.n("item--disabled--active")])),onClick:u=>e.clickItem(s,l)},[je(we(s),1)],10,h3)),[[a,{disabled:e.disabled}]])),128)),He((C(),M("li",{class:m(e.classes(e.n("item"),e.n("next"),[e.current>=e.pageCount||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:n[4]||(n[4]=s=>e.clickItem("next"))},[X(e.$slots,"next",{},()=>[ie(t,{name:"chevron-right"})])],2)),[[a,{disabled:e.current>=e.pageCount||e.disabled}]]),e.showSizeChanger?(C(),M("li",{key:2,class:m(e.classes(e.n("size"),[e.disabled,e.n("item--disabled")]))},[ie(i,{placement:"cover-top",disabled:e.disabled,show:e.menuVisible,"onUpdate:show":n[6]||(n[6]=s=>e.menuVisible=s)},{menu:Te(()=>[(C(!0),M(Re,null,un(e.sizeOption,(s,l)=>He((C(),Ae(r,{class:m(e.classes(e.n("list"),[e.size===s,e.n("list--active")])),key:l,onClick:u=>e.clickSize(s)},{default:Te(()=>[je(we(s)+we(e.pack.paginationItem)+" / "+we(e.pack.paginationPage),1)]),_:2},1032,["class","onClick"])),[[a]])),128))]),default:Te(()=>[F("div",{class:m(e.classes(e.n("size--open"),[e.current<=1||e.disabled,e.n("size--open--disabled")])),onClick:n[5]||(n[5]=Xn((...s)=>e.showMenu&&e.showMenu(...s),["stop"]))},[F("span",null,we(e.size)+we(e.pack.paginationItem)+" / "+we(e.pack.paginationPage),1),ie(t,{class:m(e.n("size--open-icon")),"var-pagination-cover":"",name:"menu-down"},null,8,["class"])],2)]),_:1},8,["disabled","show"])],2)):he("v-if",!0),e.showQuickJumper&&!e.simple?(C(),M("li",{key:3,class:m(e.classes(e.n("quickly"),[e.disabled,e.n("item--disabled")]))},[je(we(e.pack.paginationJump)+" ",1),ie(o,{modelValue:e.quickJumperValue,"onUpdate:modelValue":n[7]||(n[7]=s=>e.quickJumperValue=s),disabled:e.disabled,"var-pagination-cover":"",onBlur:n[8]||(n[8]=s=>e.setPage("quick",e.quickJumperValue,s)),onKeydown:n[9]||(n[9]=md(s=>e.setPage("quick",e.quickJumperValue,s),["enter"]))},null,8,["modelValue","disabled"])],2)):he("v-if",!0),e.totalText?(C(),M("li",{key:4,class:m(e.classes(e.n("total"),[e.disabled,e.n("item--disabled")]))},we(e.totalText),3)):he("v-if",!0)],2)}const Tb=me({name:d3,components:{VarMenu:wr,VarIcon:tn,VarCell:Sa,VarInput:Da},directives:{Ripple:vn},props:c3,setup(e){const n=I(!1),t=I(""),o=I("1"),r=I(!1),i=I(!1),a=I(K(e.current)||1),s=I(K(e.size)||10),l=I([]),u=R(()=>Math.ceil(e.maxPagerCount/2)),c=R(()=>Math.ceil(K(e.total)/K(s.value))),d=R(()=>{const y=s.value*(a.value-1)+1,P=Math.min(s.value*a.value,K(e.total));return[y,P]}),f=R(()=>e.showTotal?e.showTotal(K(e.total),d.value):"");Ce([()=>e.current,()=>e.size],([y,P])=>{a.value=K(y)||1,s.value=K(P||10)}),Ce([a,s,c],([y,P,A],[k,D])=>{let T=[];const{maxPagerCount:B,total:L,onChange:z}=e,ae=Math.ceil(K(L)/K(D)),re=A-(B-u.value)-1;if(o.value=`${y}`,A-2>B){if(k===void 0||A!==ae)for(let oe=2;oeB&&y=re){T=[];for(let oe=1;oe0&&N(z,y,P),N(e["onUpdate:current"],y),N(e["onUpdate:size"],P)},{immediate:!0});function v(y,P){return Rn(y)?!1:P===1?r.value:i.value}function p(y,P){return Rn(y)?"basic":P===1?"head":"tail"}function h(y,P){if(!(y===a.value||e.disabled)){if(y==="..."){a.value=P===1?Math.max(a.value-e.maxPagerCount,1):Math.min(a.value+e.maxPagerCount,c.value);return}if(y==="prev"){a.value=S(a.value-1);return}if(y==="next"){a.value=S(a.value+1);return}Rn(y)&&(a.value=y)}}function g(){e.disabled||(n.value=!0)}function $(y){s.value=y,n.value=!1;const P=S(a.value);o.value=String(P),a.value=P}function S(y){return y>c.value?c.value:y<1?1:y}function O(y,P,A){A.target.blur();const k=S(K(P));o.value=String(k),a.value=k,y==="quick"&&(t.value="")}return{pack:Cn,current:a,menuVisible:n,size:s,pageCount:c,pageList:l,quickJumperValue:t,simpleCurrentValue:o,totalText:f,n:f3,classes:v3,getMode:p,isHideEllipsis:v,clickItem:h,showMenu:g,clickSize:$,setPage:O,toNumber:K,formatElevation:In}}});Tb.render=m3;var Eb=Tb;be(Eb);var Zl=Eb;const p3={elevation:{type:[Boolean,Number,String],default:!1},ripple:Boolean,radius:[Number,String],width:[Number,String],height:[Number,String],round:Boolean,inline:Boolean,onClick:W()},{name:g3,n:b3,classes:y3}=pe("paper");function $3(e,n){const t=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.formatElevation(e.elevation,2),[e.onClick,e.n("--cursor")],[e.round,e.n("--round")],[e.inline,e.n("$--inline-flex")])),style:te({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),"border-radius":e.toSizeUnit(e.radius)}),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[X(e.$slots,"default")],6)),[[t,{disabled:!e.ripple}]])}const Nb=me({name:g3,directives:{Ripple:vn},props:p3,setup(e){function n(t){N(e.onClick,t)}return{n:b3,classes:y3,formatElevation:In,toSizeUnit:ze,handleClick:n}}});Nb.render=$3;var Ib=Nb;be(Ib);var Jl=Ib,w3=Object.defineProperty,lv=Object.getOwnPropertySymbols,C3=Object.prototype.hasOwnProperty,S3=Object.prototype.propertyIsEnumerable,uv=(e,n,t)=>n in e?w3(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,k3=(e,n)=>{for(var t in n||(n={}))C3.call(n,t)&&uv(e,t,n[t]);if(lv)for(var t of lv(n))S3.call(n,t)&&uv(e,t,n[t]);return e};const P3=k3({modelValue:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]},title:String,textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},childrenKey:{type:String,default:"children"},toolbar:{type:Boolean,default:!0},cascade:Boolean,optionHeight:{type:[Number,String],default:44},optionCount:{type:[Number,String],default:6},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,dynamic:Boolean,onChange:W(),onConfirm:W(),onCancel:W(),"onUpdate:modelValue":W()},Fe(Mi,["show","onUpdate:show","closeOnClickOverlay","teleport","safeArea","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])),{name:O3,n:T3,classes:E3}=pe("picker"),cv=300,N3=15,dv=200,I3=1e3;let fv=0;const M3=["onTouchstartPassive","onTouchmove","onTouchend"],D3=["onTransitionend"],A3=["onClick"];function B3(e,n){const t=$e("var-button");return C(),Ae(Er(e.dynamic?e.n("$-popup"):e.Transition),Ze(e.dynamic?{onOpen:e.onOpen,onOpened:e.onOpened,onClose:e.onClose,onClosed:e.onClosed,onClickOverlay:e.onClickOverlay,onRouteChange:e.onRouteChange,closeOnClickOverlay:e.closeOnClickOverlay,teleport:e.teleport,show:e.show,safeArea:e.safeArea,"onUpdate:show":e.handlePopupUpdateShow,position:"bottom",class:e.n("popup")}:null,{"var-picker-cover":""}),{default:Te(()=>[F("div",Ze({class:e.n()},e.$attrs),[e.toolbar?(C(),M("div",{key:0,class:m(e.n("toolbar"))},[X(e.$slots,"cancel",{},()=>[ie(t,{class:m(e.n("cancel-button")),"var-picker-cover":"",text:"","text-color":e.cancelButtonTextColor,onClick:e.cancel},{default:Te(()=>{var o;return[je(we((o=e.cancelButtonText)!=null?o:e.pack.pickerCancelButtonText),1)]}),_:1},8,["class","text-color","onClick"])]),X(e.$slots,"title",{},()=>{var o;return[F("div",{class:m(e.n("title"))},we((o=e.title)!=null?o:e.pack.pickerTitle),3)]}),X(e.$slots,"confirm",{},()=>[ie(t,{class:m(e.n("confirm-button")),text:"","var-picker-cover":"","text-color":e.confirmButtonTextColor,onClick:e.confirm},{default:Te(()=>{var o;return[je(we((o=e.confirmButtonText)!=null?o:e.pack.pickerConfirmButtonText),1)]}),_:1},8,["class","text-color","onClick"])])],2)):he("v-if",!0),F("div",{class:m(e.n("columns")),style:te({height:`${e.columnHeight}px`})},[(C(!0),M(Re,null,un(e.scrollColumns,o=>(C(),M("div",{class:m(e.n("column")),key:o.id,onTouchstartPassive:r=>e.handleTouchstart(r,o),onTouchmove:Xn(r=>e.handleTouchmove(r,o),["prevent"]),onTouchend:r=>e.handleTouchend(o)},[F("div",{class:m(e.n("scroller")),ref_for:!0,ref:r=>e.setScrollEl(r,o),style:te({transform:`translateY(${o.translate}px)`,transitionDuration:`${o.duration}ms`,transitionProperty:o.duration?"transform":"none"}),onTransitionend:r=>e.handleTransitionend(o)},[(C(!0),M(Re,null,un(o.column,(r,i)=>(C(),M("div",{key:e.getValue(r),class:m(e.classes(e.n("option"),r.className)),style:te({height:`${e.optionHeight}px`}),onClick:a=>e.handleClick(o,i)},[F("div",{class:m(e.classes(e.n("text"),r.textClassName))},we(r[e.getOptionKey("text")]),3)],14,A3))),128))],46,D3)],42,M3))),128)),F("div",{class:m(e.n("picked")),style:te({top:`${e.center}px`,height:`${e.optionHeight}px`})},null,6),F("div",{class:m(e.n("mask")),style:te({backgroundSize:`100% ${(e.columnHeight-e.optionHeight)/2}px`})},null,6)],6)],16)]),_:3},16)}const Mb=me({name:O3,components:{VarButton:Un,VarPopup:po},inheritAttrs:!1,props:P3,setup(e){const n=Vt(e,"modelValue"),t=I([]),o=R(()=>rn(e.optionHeight)),r=R(()=>rn(e.optionCount)),i=R(()=>r.value*o.value/2-o.value/2),a=R(()=>r.value*o.value),{prevY:s,moveY:l,dragging:u,startTouch:c,moveTouch:d,endTouch:f}=Dr();let v=[];P(),Ce(()=>e.columns,P,{deep:!0}),Ce(()=>n.value,A);function p(j){return{text:e.textKey,value:e.valueKey,children:e.childrenKey}[j]}function h(j){var ee;return(ee=j[p("value")])!=null?ee:j[p("text")]}function g(j){v=[...j]}function $(j){return j.map(ee=>{const V={id:fv++,prevY:0,momentumPrevY:0,touching:!1,translate:i.value,index:0,duration:0,momentumTime:0,column:ee,scrollEl:null,scrolling:!1};return ae(V),V})}function S(j){const ee=[];return O(ee,j),ee}function O(j,ee){var V;if(ee.length){const fe={id:fv++,prevY:0,momentumPrevY:0,touching:!1,translate:i.value,index:0,duration:0,momentumTime:0,column:ee,scrollEl:null,scrolling:!1};j.push(fe),ae(fe),O(j,(V=fe.column[fe.index][p("children")])!=null?V:[])}}function y(j){var ee;t.value.splice(t.value.indexOf(j)+1),O(t.value,(ee=j.column[j.index][p("children")])!=null?ee:[])}function P(){t.value=e.cascade?S(e.columns):$(e.columns),A()}function A(){t.value.forEach((ee,V)=>{const fe=ee.column.findIndex(H=>n.value[V]===h(H));ee.index=fe===-1?0:fe,ae(ee)});const{indexes:j}=z();g(j)}function k(j,ee){ee.scrollEl=j}function D(j){N(e["onUpdate:show"],j)}function T(j){const ee=i.value-j.column.length*o.value,V=o.value+i.value;j.translate=ho(j.translate,ee,V)}function B(j,ee){const V=Math.round((i.value-ee)/o.value);return bw(V,j.column)}function L(j){return j.translate=i.value-j.index*o.value,j.translate}function z(){const j=[],ee=[],V=[];return t.value.forEach(({column:fe,index:H})=>{const J=fe[H];j.push(h(J)),ee.push(H),V.push(J)}),{values:j,indexes:ee,options:V}}function ae(j,ee=0){L(j),j.duration=ee}function re(j,ee,V){j.translate+=Math.abs(ee/V)/.003*(ee<0?-1:1)}function oe(j,ee){u.value||(j.index=ee,ae(j,dv))}function _(j,ee){ee.touching=!0,ee.translate=Ss(ee.scrollEl),c(j)}function x(j,ee){if(!ee.touching)return;d(j),ee.scrolling=!1,ee.duration=0,ee.prevY=s.value,ee.translate+=l.value,T(ee);const V=performance.now();V-ee.momentumTime>cv&&(ee.momentumTime=V,ee.momentumPrevY=ee.translate)}function q(j){f(),j.touching=!1,j.prevY=0;const ee=j.translate-j.momentumPrevY,V=performance.now()-j.momentumTime,fe=Math.abs(ee)>=N3&&V<=cv,H=j.translate;fe&&re(j,ee,V),j.index=B(j,j.translate),ae(j,fe?I3:dv),j.scrolling=j.translate!==H,j.scrolling||ve(j)}function ge(j){j.scrolling=!1,ve(j)}function se(){const{indexes:j}=z();return j.every((ee,V)=>ee===v[V])}function ve(j){const{cascade:ee,onChange:V}=e;if(se())return;ee&&y(j);const fe=t.value.some(b=>b.scrolling),H=t.value.some(b=>b.touching);if(fe||H)return;const{values:J,indexes:Pe,options:w}=z();g(Pe),N(V,J,Pe,w),n.value=J}function G(){if(e.cascade){const j=t.value.find(ee=>ee.scrolling);j&&(j.index=B(j,Ss(j.scrollEl)),j.scrolling=!1,ae(j),y(j))}else t.value.forEach(j=>{j.index=B(j,Ss(j.scrollEl)),ae(j)})}function de(){G();const{values:j,indexes:ee,options:V}=z();g(ee),N(e.onConfirm,j,ee,V)}function ye(){G();const{values:j,indexes:ee,options:V}=z();g(ee),N(e.onCancel,j,ee,V)}return{pack:Cn,optionHeight:o,optionCount:r,scrollColumns:t,columnHeight:a,center:i,Transition:nn,n:T3,classes:E3,setScrollEl:k,getOptionKey:p,getValue:h,handlePopupUpdateShow:D,handleTouchstart:_,handleTouchmove:x,handleTouchend:q,handleTransitionend:ge,confirm:de,cancel:ye,handleClick:oe}}});Mb.render=B3;var cs=Mb;let dr;function zi(e){return new Promise(n=>{zi.close();const t=Qe(e)?{columns:e}:e,o=Xe(t);o.dynamic=!0,o.teleport="body",dr=o;function r(){dr===o&&(dr=null)}const{unmountInstance:i}=Ar(cs,o,{onConfirm:(a,s,l)=>{N(o.onConfirm,a,s,l),n({state:"confirm",values:a,indexes:s,options:l}),o.show=!1,r()},onCancel:(a,s,l)=>{N(o.onCancel,a,s,l),n({state:"cancel",values:a,indexes:s,options:l}),o.show=!1,r()},onClose:()=>{N(o.onClose),n({state:"close"}),r()},onClosed:()=>{N(o.onClosed),i(),r()},onRouteChange:()=>{i(),r()},"onUpdate:show":a=>{o.show=a}});o.show=!0})}zi.close=function(){if(dr==null)return;const e=dr;dr=null,en().then(()=>{e.show=!1})};zi.Component=cs;be(cs);be(cs,zi);var Ql=zi;const z3={mode:{type:String,default:"linear"},lineWidth:{type:[Number,String],default:4},color:[String,Object],trackColor:String,ripple:Boolean,value:{type:[Number,String],default:0},label:Boolean,labelClass:String,size:{type:[Number,String],default:40},rotate:{type:Number,default:0},track:{type:Boolean,default:!0},indeterminate:Boolean,type:{type:String,default:"primary"}},Kt=100,Mt=20,vv=2*Math.PI*Mt,{name:V3,n:R3,classes:L3}=pe("progress"),U3=["viewBox"],F3={key:0},H3=["id"],j3=["offset","stop-color"],Y3=["d","stroke-width","stroke-dasharray"],W3=["d","stroke-width","stroke-dasharray","stroke-dashoffset"];function q3(e,n){return C(),M("div",{class:m(e.n())},[e.mode==="linear"?(C(),M("div",{key:0,class:m(e.n("linear"))},[F("div",{class:m(e.classes(e.n("linear-block"),[e.track,e.n("linear-background")])),style:te({height:e.toSizeUnit(e.lineWidth),background:e.trackColor})},[e.indeterminate?(C(),M("div",{key:0,class:m(e.classes([e.indeterminate,e.n("linear-indeterminate")]))},[F("div",{class:m(e.classes(e.n(`linear--${e.type}`))),style:te({background:e.progressColor})},null,6),F("div",{class:m(e.classes(e.n(`linear--${e.type}`))),style:te({background:e.progressColor})},null,6)],2)):(C(),M("div",{key:1,class:m(e.classes(e.n("linear-certain"),e.n(`linear--${e.type}`),[e.ripple,e.n("linear-ripple")])),style:te({background:e.progressColor,width:e.linearProps.width})},null,6))],6),e.label?(C(),M("div",{key:0,class:m(e.classes(e.n("linear-label"),[e.labelClass,e.labelClass]))},[X(e.$slots,"default",{},()=>[je(we(e.linearProps.roundValue),1)])],2)):he("v-if",!0)],2)):he("v-if",!0),e.mode==="circle"?(C(),M("div",{key:1,class:m(e.classes(e.n("circle"),[e.indeterminate,e.n("circle-indeterminate")])),style:te({width:e.toSizeUnit(e.size),height:e.toSizeUnit(e.size)})},[(C(),M("svg",{class:m(e.n("circle-svg")),viewBox:e.circleProps.viewBox},[e.isPlainObject(e.color)?(C(),M("defs",F3,[F("linearGradient",{id:e.id,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[(C(!0),M(Re,null,un(e.linearGradientProgress,(t,o)=>(C(),M("stop",{key:o,offset:t,"stop-color":e.color[t]},null,8,j3))),128))],8,H3)])):he("v-if",!0),e.track?(C(),M("path",{key:1,class:m(e.n("circle-background")),d:e.circleProps.path,fill:"transparent","stroke-width":e.circleProps.strokeWidth,"stroke-dasharray":e.CIRCUMFERENCE,style:te({stroke:e.trackColor})},null,14,Y3)):he("v-if",!0),F("path",{class:m(e.classes(e.n("circle-certain"),e.n(`circle--${e.type}`),[e.indeterminate,e.n("circle-overlay")])),d:e.circleProps.path,fill:"transparent","stroke-width":e.circleProps.strokeWidth,"stroke-dasharray":e.CIRCUMFERENCE,"stroke-dashoffset":e.circleProps.strokeOffset,style:te({stroke:e.progressColor,transform:`rotateZ(${e.rotate}deg)`,transformOrigin:"50% 50%"})},null,14,W3)],10,U3)),e.label?(C(),M("div",{key:0,class:m(e.classes(e.n("circle-label"),[e.labelClass,e.labelClass]))},[X(e.$slots,"default",{},()=>[je(we(e.circleProps.roundValue),1)])],2)):he("v-if",!0)],6)):he("v-if",!0)],2)}const Db=me({name:V3,props:z3,setup(e){const n=lm(),t=R(()=>{const a=K(e.value),s=a>Kt?Kt:a,l=a>Kt?Kt:Math.round(a);return{width:`${s}%`,roundValue:`${l}%`}}),o=R(()=>{const{size:a,lineWidth:s,value:l}=e,u=Mt/(1-rn(s)/rn(a))*2,c=`0 0 ${u} ${u}`,d=K(l)>Kt?Kt:Math.round(K(l)),f=`${(Kt-d)/Kt*vv}`,v=rn(s)/rn(a)*u,p=0,h=-Mt,g=0,$=-2*Mt,S=`M ${u/2} ${u/2} m ${p} ${h} a ${Mt} ${Mt} + 0 1 1 ${g} ${-$} a ${Mt} ${Mt} 0 1 1 ${-g} ${$}`;return{strokeWidth:v,viewBox:c,strokeOffset:f,roundValue:`${d}%`,path:S}}),r=R(()=>di(e.color)?`url(#${n.value})`:e.color),i=R(()=>Object.keys(e.color).sort((a,s)=>parseFloat(a)-parseFloat(s)));return{id:n,linearProps:t,CIRCUMFERENCE:vv,RADIUS:Mt,circleProps:o,progressColor:r,linearGradientProgress:i,n:R3,classes:L3,toSizeUnit:ze,isPlainObject:di}}});Db.render=q3;var Ab=Db;be(Ab);var _l=Ab;const K3={modelValue:Boolean,disabled:Boolean,animationDuration:{type:[Number,String],default:300},successDuration:{type:[Number,String],default:2e3},bgColor:String,successBgColor:String,color:String,successColor:String,target:[String,Object],onRefresh:W(),"onUpdate:modelValue":W()};var hv=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:X3,n:mv,classes:G3}=pe("pull-refresh"),pv=150;function Z3(e,n){const t=$e("var-icon");return C(),M("div",{ref:"freshNode",class:m(e.n()),onTouchstart:n[0]||(n[0]=(...o)=>e.handleTouchstart&&e.handleTouchstart(...o)),onTouchend:n[1]||(n[1]=(...o)=>e.handleTouchend&&e.handleTouchend(...o)),onTouchcancel:n[2]||(n[2]=(...o)=>e.handleTouchend&&e.handleTouchend(...o))},[F("div",{ref:"controlNode",class:m(e.classes(e.n("control"),e.n("$-elevation--2"),[e.isSuccess,e.n("control-success")])),style:te(e.controlStyle)},[ie(t,{name:e.iconName,transition:e.ICON_TRANSITION,class:m(e.classes(e.n("icon"),[e.refreshStatus==="loading",e.n("animation")])),"var-pull-refresh-cover":""},null,8,["name","transition","class"])],6),X(e.$slots,"default")],34)}const Bb=me({name:X3,components:{VarIcon:tn},props:K3,setup(e){const n=I(0),t=I(null),o=I(null),r=I(0),i=I("-125%"),a=I("arrow-down"),s=I("default"),l=I(!1),u=R(()=>Math.abs(2*n.value)),c=R(()=>s.value==="success"),d=R(()=>s.value!=="loading"&&s.value!=="success"&&!e.disabled),f=R(()=>({transform:`translate3d(0px, ${gn(i.value)?i.value:`${i.value}px`}, 0px) translate(-50%, 0)`,transition:l.value?`transform ${e.animationDuration}ms`:void 0,background:c.value?e.successBgColor:e.bgColor,color:c.value?e.successColor:e.color})),{startTouch:v,moveTouch:p,endTouch:h,isReachTop:g}=Dr();let $,S;Ce(()=>e.modelValue,B=>{B===!1&&(l.value=!0,s.value="success",a.value="checkbox-marked-circle",setTimeout(()=>{i.value=n.value,T()},K(e.successDuration)))}),Pn(D),mo(t,"touchmove",A);function O(B){return hv(this,null,function*(){if(a.value!==B)return a.value=B,new Promise(L=>{window.setTimeout(L,pv)})})}function y(B){("classList"in $?$:document.body).classList[B](`${mv()}--lock`)}function P(B){if(v(B),n.value===0){const{width:L}=pn(o.value);n.value=-(L+L*.25)}S=go(B.target)}function A(B){if(p(B),!d.value||!S||S!==$&&hr(S)>0||hr($)>0)return;g($)&&pt(B),s.value!=="pulling"&&(s.value="pulling",r.value=B.touches[0].clientY),g($)&&Rn(i.value)&&i.value>n.value&&y("add");const z=(B.touches[0].clientY-r.value)/2+n.value;i.value=z>=u.value?u.value:z,O(i.value>=u.value*.2?"refresh":"arrow-down")}function k(){return hv(this,null,function*(){h(),d.value&&(l.value=!0,K(i.value)>=u.value*.2?(yield O("refresh"),s.value="loading",i.value=u.value*.3,N(e["onUpdate:modelValue"],!0),en(()=>{N(e.onRefresh)}),y("remove")):(s.value="loosing",a.value="arrow-down",i.value=n.value,setTimeout(()=>{l.value=!1,y("remove")},K(e.animationDuration))),S=null)})}function D(){$=e.target?gm(e.target,"PullRefresh"):go(t.value)}function T(){setTimeout(()=>{s.value="default",a.value="arrow-down",l.value=!1},K(e.animationDuration))}return{ICON_TRANSITION:pv,refreshStatus:s,freshNode:t,controlNode:o,iconName:a,controlStyle:f,isSuccess:c,n:mv,classes:G3,handleTouchstart:P,handleTouchmove:A,handleTouchend:k}}});Bb.render=Z3;var zb=Bb;be(zb);var xl=zb;const J3={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},disabled:Boolean,readonly:Boolean,checkedColor:String,uncheckedColor:String,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:W(),onChange:W(),"onUpdate:modelValue":W()},Vb=Symbol("RADIO_GROUP_BIND_RADIO_KEY");function Q3(){const{bindChildren:e,childProviders:n,length:t}=Tn(Vb);return{length:t,radios:n,bindRadios:e}}function _3(){const{bindParent:e,parentProvider:n,index:t}=On(Vb);return{index:t,radioGroup:n,bindRadioGroup:e}}const{name:x3,n:e6,classes:n6}=pe("radio");function t6(e,n){const t=$e("var-icon"),o=$e("var-hover-overlay"),r=$e("var-form-details"),i=Ge("ripple"),a=Ge("hover");return C(),M("div",{class:m(e.n("wrap"))},[F("div",Ze({class:e.n(),onClick:n[0]||(n[0]=(...s)=>e.handleClick&&e.handleClick(...s))},e.$attrs),[He((C(),M("div",{class:m(e.classes(e.n("action"),[e.checked,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({color:e.checked?e.checkedColor:e.uncheckedColor})},[e.checked?X(e.$slots,"checked-icon",{key:0},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-marked",size:e.iconSize},null,8,["class","size"])]):X(e.$slots,"unchecked-icon",{key:1},()=>[ie(t,{class:m(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-blank",size:e.iconSize},null,8,["class","size"])]),ie(o,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[i,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[a,e.handleHovering,"desktop"]]),F("div",{class:m(e.classes(e.n("text"),[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[X(e.$slots,"default")],2)],16),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Rb=me({name:x3,directives:{Ripple:vn,Hover:Zn},components:{VarIcon:tn,VarFormDetails:Fn,VarHoverOverlay:tt},inheritAttrs:!1,props:J3,setup(e){const n=Vt(e,"modelValue"),t=R(()=>n.value===e.checkedValue),o=I(!1),{radioGroup:r,bindRadioGroup:i}=_3(),{hovering:a,handleHovering:s}=Pt(),{form:l,bindForm:u}=rt(),{errorMessage:c,validateWithTrigger:d,validate:f,resetValidation:v}=ot(),p={sync:S,validate:y,resetValidation:v,reset:O};N(i,p),N(u,p);function h(A){en(()=>{const{validateTrigger:k,rules:D,modelValue:T}=e;d(k,A,D,T)})}function g(A){const{checkedValue:k,onChange:D}=e;r&&n.value===k||(n.value=A,N(D,n.value),r==null||r.onToggle(k),h("onChange"))}function $(A){const{disabled:k,readonly:D,uncheckedValue:T,checkedValue:B,onClick:L}=e;l!=null&&l.disabled.value||k||(N(L,A),!(l!=null&&l.readonly.value||D)&&(o.value=!0,g(t.value?T:B)))}function S(A){const{checkedValue:k,uncheckedValue:D}=e;n.value=A===k?k:D}function O(){n.value=e.uncheckedValue,v()}function y(){return f(e.rules,e.modelValue)}function P(A){const{uncheckedValue:k,checkedValue:D}=e;![k,D].includes(A)&&(A=t.value?k:D),g(A)}return{withAnimation:o,checked:t,errorMessage:c,radioGroupErrorMessage:r==null?void 0:r.errorMessage,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,hovering:a,handleHovering:s,n:e6,classes:n6,handleClick:$,toggle:P,reset:O,validate:y,resetValidation:v}}});Rb.render=t6;var Lb=Rb;be(Lb);var eu=Lb;const o6={modelValue:{type:[String,Number,Boolean,Object,Array],default:void 0},direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:W(),"onUpdate:modelValue":W()},{name:r6,n:i6,classes:a6}=pe("radio-group");function s6(e,n){const t=$e("var-form-details");return C(),M("div",{class:m(e.n("wrap"))},[F("div",{class:m(e.classes(e.n(),e.n(`--${e.direction}`)))},[X(e.$slots,"default")],2),ie(t,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Ub=me({name:r6,components:{VarFormDetails:Fn},props:o6,setup(e){const{length:n,radios:t,bindRadios:o}=Q3(),{bindForm:r}=rt(),{errorMessage:i,validateWithTrigger:a,validate:s,resetValidation:l}=ot(),u=R(()=>i.value),c={onToggle:v,validate:p,reset:h,resetValidation:l,errorMessage:u};Ce(()=>e.modelValue,f),Ce(()=>n.value,f),N(r,c),o(c);function d(g){en(()=>{const{validateTrigger:$,rules:S,modelValue:O}=e;a($,g,S,O)})}function f(){return t.forEach(({sync:g})=>g(e.modelValue))}function v(g){N(e["onUpdate:modelValue"],g),N(e.onChange,g),d("onChange")}function p(){return s(e.rules,e.modelValue)}function h(){N(e["onUpdate:modelValue"],void 0),l()}return{errorMessage:i,n:i6,classes:a6,reset:h,validate:p,resetValidation:l}}});Ub.render=s6;var Fb=Ub;be(Fb);var nu=Fb;const l6={modelValue:{type:[String,Number],default:0},count:{type:[String,Number],default:5},color:String,icon:{type:String,default:"star"},emptyIcon:{type:String,default:"star-outline"},halfIcon:{type:String,default:"star-half-full"},namespace:Fe(dn,"namespace"),emptyIconNamespace:Fe(dn,"namespace"),halfIconNamespace:Fe(dn,"namespace"),emptyColor:String,size:[String,Number],gap:[String,Number],half:Boolean,disabled:Boolean,disabledColor:String,readonly:Boolean,ripple:{type:Boolean,default:!0},clearable:Boolean,rules:Array,onChange:W(),"onUpdate:modelValue":W()},{name:u6,n:Ur}=pe("rate"),c6=["onClick"];function d6(e,n){const t=$e("var-icon"),o=$e("var-hover-overlay"),r=$e("var-form-details"),i=Ge("ripple"),a=Ge("hover");return C(),M("div",{class:m(e.n("wrap"))},[F("div",{class:m(e.n())},[(C(!0),M(Re,null,un(e.toNumber(e.count),s=>He((C(),M("div",{key:s,style:te(e.getStyle(s)),class:m(e.getClass(s)),onClick:l=>e.handleClick(s,l)},[ie(t,{class:m(e.n("content-icon")),"var-rate-cover":"",transition:0,namespace:e.getCurrentState(s).namespace,name:e.getCurrentState(s).name,style:te({fontSize:e.toSizeUnit(e.size)})},null,8,["class","namespace","name","style"]),ie(o,{hovering:e.hovering&&s===e.currentHoveringValue&&!e.disabled&&!e.formDisabled},null,8,["hovering"])],14,c6)),[[i,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[a,e.createHoverHandler(s),"desktop"]])),128))],2),ie(r,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Hb=me({name:u6,components:{VarIcon:tn,VarFormDetails:Fn,VarHoverOverlay:tt},directives:{Ripple:vn,Hover:Zn},props:l6,setup(e){const n=I(-1),{form:t,bindForm:o}=rt(),{errorMessage:r,validateWithTrigger:i,validate:a,resetValidation:s}=ot(),{hovering:l}=Pt();let u=Number(e.modelValue);N(o,{reset:O,validate:h,resetValidation:s});function d(y){const{count:P,gap:A}=e;return{color:v(y).color,marginRight:y!==K(P)?ze(A):0}}function f(y){const{name:P,color:A}=v(y);return{[Ur("content")]:!0,[Ur("--disabled")]:(t==null?void 0:t.disabled.value)||e.disabled,[Ur("--error")]:r.value,[Ur("--primary")]:P!==e.emptyIcon&&!A}}function v(y){const{modelValue:P,disabled:A,disabledColor:k,color:D,half:T,emptyColor:B,icon:L,halfIcon:z,emptyIcon:ae,namespace:re,halfIconNamespace:oe,emptyIconNamespace:_}=e;let x=D;return(A||t!=null&&t.disabled.value)&&(x=k),y<=K(P)?{color:x,name:L,namespace:re}:T&&y<=K(P)+.5?{color:x,name:z,namespace:oe}:{color:A||t!=null&&t.disabled.value?k:B,name:ae,namespace:_}}function p(y,P){const{half:A,clearable:k}=e,{offsetWidth:D}=P.target;A&&P.offsetX<=Math.floor(D/2)&&(y-=.5),u===y&&k&&(y=0),u=y,N(e["onUpdate:modelValue"],y)}function h(){return a(e.rules,K(e.modelValue))}function g(){return en(()=>i(["onChange"],"onChange",e.rules,e.modelValue))}function $(y,P){const{readonly:A,disabled:k,onChange:D}=e;A||k||t!=null&&t.disabled.value||t!=null&&t.readonly.value||(p(y,P),N(D,y),g())}function S(y){return P=>{n.value=y,l.value=P}}function O(){N(e["onUpdate:modelValue"],0),s()}return{errorMessage:r,formDisabled:t==null?void 0:t.disabled,formReadonly:t==null?void 0:t.readonly,hovering:l,currentHoveringValue:n,getStyle:d,getClass:f,getCurrentState:v,handleClick:$,createHoverHandler:S,reset:O,validate:h,resetValidation:s,toSizeUnit:ze,toNumber:K,n:Ur}}});Hb.render=d6;var jb=Hb;be(jb);var tu=jb;const f6=e=>($o(""),e=e(),wo(),e),v6={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 3.6 20 20"},h6=f6(()=>F("path",{d:"M11,9H13V7H11M11,20H13V11H11V20Z"},null,-1)),m6=[h6];function p6(e,n){return C(),M("svg",v6,m6)}const Yb=me({});Yb.render=p6;var g6=Yb;const b6=e=>($o(""),e=e(),wo(),e),y6={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 20 20"},$6=b6(()=>F("path",{d:"M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"},null,-1)),w6=[$6];function C6(e,n){return C(),M("svg",y6,w6)}const Wb=me({});Wb.render=C6;var S6=Wb;const k6=e=>($o(""),e=e(),wo(),e),P6={xmlns:"http://www.w3.org/2000/svg",viewBox:"-6 -4 35 35"},O6=k6(()=>F("path",{d:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11"},null,-1)),T6=[O6];function E6(e,n){return C(),M("svg",P6,T6)}const qb=me({});qb.render=E6;var N6=qb;const{n:I6,classes:M6}=pe("result");function D6(e,n){return C(),M(Re,null,[F("span",{class:m(e.n("success-cover-left"))},null,2),F("span",{class:m(e.classes(e.n("success-line"),e.n("success-line-tip"))),style:te({animationDuration:e.animation?"760ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),F("span",{class:m(e.classes(e.n("success-line"),e.n("success-line-long"))),style:te({animationDuration:e.animation?"770ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),F("span",{ref:"circle",class:m(e.n("success-circle")),style:te({left:`-${e.borderSize}`,top:`-${e.borderSize}`,borderWidth:e.borderSize})},null,6),F("span",{class:m(e.n("success-line-fix"))},null,2),F("span",{class:m(e.n("success-cover-right")),style:te({animationDuration:e.animation?"4250ms":"0ms"})},null,6)],64)}const Kb=me({props:{animation:{type:Boolean},borderSize:{type:String}},setup(){return{n:I6,classes:M6,toNumber:K}}});Kb.render=D6;var A6=Kb;const B6=e=>($o(""),e=e(),wo(),e),z6={xmlns:"http://www.w3.org/2000/svg",viewBox:"-3 -3 30 30"},V6=B6(()=>F("path",{d:"M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"},null,-1)),R6=[V6];function L6(e,n){return C(),M("svg",z6,R6)}const Xb=me({});Xb.render=L6;var U6=Xb;const F6=e=>($o(""),e=e(),wo(),e),H6={viewBox:"-4 -4 32 32"},j6=F6(()=>F("path",{fill:"currentColor",d:"M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"},null,-1)),Y6=[j6];function W6(e,n){return C(),M("svg",H6,Y6)}const Gb=me({});Gb.render=W6;var q6=Gb;const K6={imageSize:[String,Number],type:{type:String,default:"success"},title:String,description:String,animation:{type:Boolean,default:!0}},{name:X6,n:G6,classes:Z6}=pe("result");function J6(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[X(e.$slots,"image",{},()=>[e.type?(C(),M("div",{key:0,class:m(e.n("image-container"))},[F("div",{class:m(e.classes(e.n("image"),e.n(e.type))),style:te({width:e.circleSize,height:e.circleSize,borderWidth:e.borderSize})},[(C(),Ae(Er(e.type),{"border-size":e.borderSize,animation:e.animation},null,8,["border-size","animation"]))],6)],2)):he("v-if",!0)]),X(e.$slots,"title",{},()=>[e.title?(C(),M("div",{key:0,class:m(e.n("title"))},we(e.title),3)):he("v-if",!0)]),X(e.$slots,"description",{},()=>[e.description?(C(),M("div",{key:0,class:m(e.n("description"))},we(e.description),3)):he("v-if",!0)]),e.$slots.footer?(C(),M("div",{key:0,class:m(e.n("footer"))},[X(e.$slots,"footer")],2)):he("v-if",!0)],2)}const Zb=me({name:X6,components:{Info:g6,Success:A6,Warning:N6,Error:S6,Question:U6,Empty:q6},props:K6,setup(e){const n=R(()=>{const{imageSize:o}=e;return`calc(${o?ze(o):"var(--result-image-size)"} * 0.9)`}),t=R(()=>{const{imageSize:o}=e;return`calc(${o?ze(e.imageSize):"var(--result-image-size)"} * 0.05)`});return{circleSize:n,borderSize:t,toSizeUnit:ze,n:G6,classes:Z6,toNumber:K,toPxNum:rn}}});Zb.render=J6;var Jb=Zb;be(Jb);var ou=Jb;const Q6={gutter:{type:[String,Number,Array],default:0},justify:{type:String,default:"flex-start"},align:{type:String,default:"flex-start"},onClick:W()},{name:_6,n:x6,classes:eD}=pe("row");function nD(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"))),style:te({justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),margin:`${-e.average[0]}px ${-e.average[1]}px`}),onClick:n[0]||(n[0]=(...t)=>e.handleClick&&e.handleClick(...t))},[X(e.$slots,"default")],6)}const Qb=me({name:_6,props:Q6,setup(e){const n=R(()=>Qe(e.gutter)?e.gutter.map(l=>rn(l)/2):[0,rn(e.gutter)/2]),{cols:t,bindCols:o,length:r}=EP(),i={computePadding:a};Ce(()=>r.value,a),Ce(()=>e.gutter,a),o(i);function a(){t.forEach(l=>{const[u,c]=n.value;l.setPadding({left:c,right:c,top:u,bottom:u})})}function s(l){N(e.onClick,l)}return{average:n,n:x6,classes:eD,handleClick:s,padStartFlex:$a}}});Qb.render=nD;var _b=Qb;be(_b);var ru=_b,tD=Object.defineProperty,gv=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,rD=Object.prototype.propertyIsEnumerable,bv=(e,n,t)=>n in e?tD(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,iD=(e,n)=>{for(var t in n||(n={}))oD.call(n,t)&&bv(e,t,n[t]);if(gv)for(var t of gv(n))rD.call(n,t)&&bv(e,t,n[t]);return e};const aD=iD({modelValue:{default:void 0},multiple:Boolean,offsetY:{type:[String,Number],default:0},chip:Boolean,readonly:Boolean,separator:{type:String,default:","},textAlign:{type:String,default:"left"},validateTrigger:{type:Array,default:()=>["onChange","onClear","onClose"]},rules:Array,onFocus:W(),onBlur:W(),onClose:W(),onChange:W(),onClear:W(),"onUpdate:modelValue":W()},Fe(vc,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])),{name:sD,n:lD,classes:uD}=pe("select"),cD={key:1};function dD(e,n){const t=$e("var-chip"),o=$e("var-icon"),r=$e("var-field-decorator"),i=$e("var-menu"),a=$e("var-form-details");return C(),M("div",{class:m(e.n()),onClick:n[3]||(n[3]=(...s)=>e.handleFocus&&e.handleFocus(...s))},[ie(i,{"var-select-cover":"","same-width":"","close-on-click-reference":"",show:e.showMenu,"onUpdate:show":n[1]||(n[1]=s=>e.showMenu=s),class:m(e.n("menu")),"popover-class":e.variant==="standard"&&e.hint?e.n("--standard-menu-margin"):void 0,"offset-y":e.offsetY,disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled,placement:e.placement,"default-style":!1,onClickOutside:e.handleBlur},{menu:Te(()=>[F("div",{ref:"menuEl",class:m(e.classes(e.n("scroller"),e.n("$-elevation--3")))},[X(e.$slots,"default")],2)]),default:Te(()=>[ie(r,ao(Nr({value:e.modelValue,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,onClick:e.handleClick,onClear:e.handleClear})),ma({"append-icon":Te(()=>[X(e.$slots,"append-icon")]),default:Te(()=>[F("div",{class:m(e.classes(e.n("select"),[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:te({textAlign:e.textAlign,color:e.textColor})},[F("div",{class:m(e.n("label"))},[e.isEmptyModelValue?he("v-if",!0):X(e.$slots,"selected",{key:0},()=>[e.multiple?(C(),M(Re,{key:0},[e.chip?(C(),M("div",{key:0,class:m(e.n("chips"))},[(C(!0),M(Re,null,un(e.labels,s=>(C(),Ae(t,{class:m(e.n("chip")),"var-select-cover":"",closable:"",size:"small",type:e.errorMessage?"danger":void 0,key:s,onClick:n[0]||(n[0]=Xn(()=>{},["stop"])),onClose:()=>e.handleClose(s)},{default:Te(()=>[je(we(s),1)]),_:2},1032,["class","type","onClose"]))),128))],2)):(C(),M("div",{key:1,class:m(e.n("values"))},we(e.labels.join(e.separator)),3))],64)):(C(),M("span",cD,we(e.label),1))])],2),e.enableCustomPlaceholder?(C(),M("span",{key:0,class:m(e.classes(e.n("placeholder"),e.n("$--ellipsis"))),style:te({color:e.placeholderColor})},we(e.placeholder),7)):he("v-if",!0),X(e.$slots,"arrow-icon",{focus:e.showMenu},()=>[ie(o,{class:m(e.classes(e.n("arrow"),[e.showMenu,e.n("--arrow-rotate")])),"var-select-cover":"",name:"menu-down",transition:300},null,8,["class"])])],6)]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:Te(()=>[X(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040)]),_:3},8,["show","class","popover-class","offset-y","disabled","placement","onClickOutside"]),ie(a,{"error-message":e.errorMessage,onClick:n[2]||(n[2]=Xn(()=>{},["stop"]))},null,8,["error-message"])],2)}const xb=me({name:sD,components:{VarIcon:tn,VarMenu:wr,VarChip:ka,VarFieldDecorator:yi,VarFormDetails:Fn},props:aD,setup(e){const n=I(!1),t=I(!1),o=R(()=>e.multiple),r=R(()=>e.focusColor),i=R(()=>Ct(e.modelValue)),a=R(()=>e.disabled||e.readonly?"":"pointer"),s=I(0),{bindForm:l,form:u}=rt(),{length:c,options:d,bindOptions:f}=n3(),{label:v,labels:p,computeLabel:h,getSelectedValue:g}=$b({modelValue:()=>e.modelValue,multiple:()=>e.multiple,optionProviders:()=>d,optionProvidersLength:()=>c.value}),{errorMessage:$,validateWithTrigger:S,validate:O,resetValidation:y}=ot(),P=I(null),A=R(()=>e.variant==="outlined"?"bottom":"cover-top"),k=R(()=>{const{hint:ve,blurColor:G,focusColor:de}=e;if(!ve)return $.value?"var(--field-decorator-error-color)":n.value?de||"var(--field-decorator-focus-color)":G||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"}),D=R(()=>!e.hint&&Ct(e.modelValue)),T={multiple:o,focusColor:r,computeLabel:h,onSelect:ae,reset:se,validate:ge,resetValidation:y};Ce(()=>e.multiple,()=>{const{multiple:ve,modelValue:G}=e;ve&&!Qe(G)&&Gn("Select","The modelValue must be an array when multiple is true")}),f(T),N(l,T);function B(ve){en(()=>{const{validateTrigger:G,rules:de,modelValue:ye}=e;S(G,ve,de,ye)})}function L(){const{disabled:ve,readonly:G,onFocus:de}=e;u!=null&&u.disabled.value||u!=null&&u.readonly.value||ve||G||(s.value=rn(e.offsetY),n.value=!0,N(de),B("onFocus"))}function z(){const{disabled:ve,readonly:G,onBlur:de}=e;u!=null&&u.disabled.value||u!=null&&u.readonly.value||ve||G||(q(),N(de),B("onBlur"))}function ae(ve){const{disabled:G,readonly:de,multiple:ye,onChange:j}=e;if(u!=null&&u.disabled.value||u!=null&&u.readonly.value||G||de)return;const ee=g(ve);N(e["onUpdate:modelValue"],ee),N(j,ee),B("onChange"),ye||q()}function re(){const{disabled:ve,readonly:G,multiple:de,clearable:ye,onClear:j}=e;if(u!=null&&u.disabled.value||u!=null&&u.readonly.value||ve||G||!ye)return;const ee=de?[]:void 0;N(e["onUpdate:modelValue"],ee),N(j,ee),B("onClear")}function oe(ve){const{disabled:G,onClick:de}=e;u!=null&&u.disabled.value||G||(N(de,ve),B("onClick"))}function _(ve){const{disabled:G,readonly:de,modelValue:ye,onClose:j}=e;if(u!=null&&u.disabled.value||u!=null&&u.readonly.value||G||de)return;const ee=d.find(({label:fe})=>fe.value===ve),V=ye.filter(fe=>{var H;return fe!==((H=ee.value.value)!=null?H:ee.label.value)});N(e["onUpdate:modelValue"],V),N(j,V),B("onClose")}function x(){s.value=rn(e.offsetY),n.value=!0,t.value=!0}function q(){n.value=!1,t.value=!1}function ge(){return O(e.rules,e.modelValue)}function se(){N(e["onUpdate:modelValue"],e.multiple?[]:void 0),y()}return{offsetY:s,isFocus:n,showMenu:t,errorMessage:$,formDisabled:u==null?void 0:u.disabled,formReadonly:u==null?void 0:u.readonly,label:v,labels:p,isEmptyModelValue:i,menuEl:P,placement:A,cursor:a,placeholderColor:k,enableCustomPlaceholder:D,n:lD,classes:uD,handleFocus:L,handleBlur:z,handleClear:re,handleClick:oe,handleClose:_,reset:se,validate:ge,resetValidation:y,focus:x,blur:q}}});xb.render=dD;var ey=xb;be(ey);var iu=ey;const fD={loading:{type:Boolean,default:!0},title:Boolean,card:Boolean,avatar:Boolean,fullscreen:Boolean,fullscreenZIndex:{type:[Number,String],default:100},titleWidth:[Number,String],cardHeight:[Number,String],avatarSize:[Number,String],rows:{type:[Number,String],default:3},rowsWidth:{type:Array,default:()=>[]}},{name:vD,n:hD,classes:mD}=pe("skeleton");function pD(e,n){return C(),M("div",{class:m(e.classes(e.n("$--box"),e.n()))},[e.loading?he("v-if",!0):(C(),M("div",{key:0,class:m(e.n("data"))},[X(e.$slots,"default")],2)),e.loading&&!e.fullscreen?(C(),M("div",{key:1,class:m(e.n("content"))},[e.card?(C(),M("div",{key:0,class:m(e.n("card")),style:te({height:e.toSizeUnit(e.cardHeight)})},[F("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0),e.avatar||e.title||e.toNumber(e.rows)>0?(C(),M("div",{key:1,class:m(e.n("article"))},[e.avatar?(C(),M("div",{key:0,class:m(e.n("avatar")),style:te({width:e.toSizeUnit(e.avatarSize),height:e.toSizeUnit(e.avatarSize)})},[F("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0),e.title||e.toNumber(e.rows)>0?(C(),M("div",{key:1,class:m(e.n("section"))},[e.title?(C(),M("div",{key:0,class:m(e.n("title")),style:te({width:e.toSizeUnit(e.titleWidth)})},[F("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0),(C(!0),M(Re,null,un(e.toNumber(e.rows),(t,o)=>(C(),M("div",{class:m(e.n("row")),key:t,style:te({width:e.toSizeUnit(e.rowsWidth[o])})},[F("div",{class:m(e.n("--animation"))},null,2)],6))),128))],2)):he("v-if",!0)],2)):he("v-if",!0)],2)):he("v-if",!0),e.loading&&e.fullscreen?(C(),M("div",{key:2,class:m(e.n("fullscreen")),style:te({zIndex:e.toNumber(e.fullscreenZIndex)})},[F("div",{class:m(e.n("--animation"))},null,2)],6)):he("v-if",!0)],2)}const ny=me({name:vD,props:fD,setup:()=>({n:hD,classes:mD,toSizeUnit:ze,toNumber:K})});ny.render=pD;var ty=ny;be(ty);var au=ty,cn=(e=>(e.First="1",e.Second="2",e))(cn||{});const gD={modelValue:{type:[Number,Array],default:0},step:{type:[Number,String],default:1},range:Boolean,labelVisible:{type:String,default:"normal"},activeColor:String,trackColor:String,thumbColor:String,labelColor:String,labelTextColor:String,trackHeight:[String,Number],max:{type:[String,Number],default:100},min:{type:[String,Number],default:0},thumbSize:[String,Number],disabled:Boolean,readonly:Boolean,direction:{type:String,default:"horizontal"},rules:Array,onChange:W(),onStart:W(),onEnd:W(),"onUpdate:modelValue":W()},{name:bD,n:yv,classes:yD}=pe("slider"),$D=["onTouchstart"];function wD(e,n){const t=$e("var-hover-overlay"),o=$e("var-form-details"),r=Ge("hover");return C(),M("div",{class:m(e.classes(e.n(e.direction),e.n("$--box")))},[F("div",{class:m(e.classes(e.n(`${e.direction}-block`),[e.isDisabled,e.n("--disabled")],[e.errorMessage,e.n(`${e.direction}--error`)])),ref:"sliderEl",onClick:n[0]||(n[0]=(...i)=>e.click&&e.click(...i))},[F("div",{class:m(e.n(`${e.direction}-track`))},[F("div",{class:m(e.n(`${e.direction}-track-background`)),style:te({background:e.trackColor,height:e.isVertical?"100%":e.multiplySizeUnit(e.trackHeight),width:e.isVertical?e.multiplySizeUnit(e.trackHeight):"100%"})},null,6),F("div",{class:m(e.n(`${e.direction}-track-fill`)),style:te(e.getFillStyle)},null,6)],2),(C(!0),M(Re,null,un(e.thumbList,i=>(C(),M("div",{class:m(e.n(`${e.direction}-thumb`)),key:i.enumValue,style:te(e.thumbStyle(i)),onTouchstart:Xn(a=>e.start(a,i.enumValue),["stop"])},[X(e.$slots,"button",{currentValue:i.text},()=>[He(F("div",{class:m(e.n(`${e.direction}-thumb-block`)),style:te({background:e.thumbColor})},null,6),[[r,a=>e.hover(a,i),"desktop"]]),F("div",{class:m(e.classes(e.n(`${e.direction}-thumb-ripple`),[e.thumbsProps[i.enumValue].active,e.n(`${e.direction}-thumb-ripple--active`)])),style:te({background:e.thumbsProps[i.enumValue].active?e.thumbColor:void 0})},[ie(t,{hovering:i.hovering},null,8,["hovering"])],6),F("div",{class:m(e.classes(e.n(`${e.direction}-thumb-label`),[e.showLabel(i.enumValue),e.n(`${e.direction}-thumb-label--active`)])),style:te({background:e.labelColor,color:e.labelTextColor,height:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2),width:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2)})},[F("span",null,we(i.text),1)],6)])],46,$D))),128))],2),ie(o,{"error-message":e.errorMessage,class:m(e.n("form")),"var-slider-cover":""},null,8,["error-message","class"])],2)}const oy=me({name:bD,components:{VarFormDetails:Fn,VarHoverOverlay:tt},directives:{Hover:Zn},props:gD,setup(e){const n=I(0),t=I(null),o=I(!1),r=R(()=>K(e.max)-K(e.min)),i=R(()=>n.value/r.value*K(e.step)),a=R(()=>e.disabled||(c==null?void 0:c.disabled.value)),s=R(()=>e.readonly||(c==null?void 0:c.readonly.value)),l=R(()=>e.direction==="vertical"),{bindForm:u,form:c}=rt(),{errorMessage:d,validateWithTrigger:f,validate:v,resetValidation:p}=ot(),{hovering:h,handleHovering:g}=Pt(),{hovering:$,handleHovering:S}=Pt(),O=R(()=>{const{modelValue:H,range:J}=e;let Pe=[];return J&&Qe(H)?Pe=[{value:re(H[0]),enumValue:cn.First,text:oe(H[0]),hovering:ht(h),handleHovering:g},{value:re(H[1]),enumValue:cn.Second,text:oe(H[1]),hovering:ht($),handleHovering:S}]:Rn(H)&&(Pe=[{value:re(H),enumValue:cn.First,text:oe(H),hovering:ht(h),handleHovering:g}]),Pe}),y=R(()=>{const{activeColor:H,range:J,modelValue:Pe}=e,w=J&&Qe(Pe)?re(Math.min(Pe[0],Pe[1])):0,b=J&&Qe(Pe)?re(Math.max(Pe[0],Pe[1]))-w:re(Pe);return l.value?{left:"0px",height:`${b}%`,bottom:`${w}%`,background:H}:{top:"0px",width:`${b}%`,left:`${w}%`,background:H}}),P=Xe({[cn.First]:T(),[cn.Second]:T()});let A;N(u,{reset:fe,validate:D,resetValidation:p}),Ce([()=>e.modelValue,()=>e.step],([H,J])=>{!j()||!ee()||o.value||V(H,K(J))}),Ce(n,()=>V()),Pn(()=>{!j()||!ee()||(n.value=t.value[l.value?"offsetHeight":"offsetWidth"])}),Tr(()=>{se()});function D(){return v(e.rules,e.modelValue)}function T(){return{startPosition:0,currentOffset:0,active:!1,percentValue:0}}function B(){return en(()=>f(["onChange"],"onChange",e.rules,e.modelValue))}function L(H){const J=H.currentTarget;return J?l.value?n.value-(H.clientY-pn(J).top):H.clientX-_w(J):0}function z(H){return{[l.value?"bottom":"left"]:`${H.value}%`,zIndex:P[H.enumValue].active?1:void 0}}function ae(H){return e.labelVisible==="always"?!0:e.labelVisible==="never"?!1:P[H].active}function re(H){const{min:J,max:Pe}=e;return HK(Pe)?100:(H-K(J))/r.value*100}function oe(H){if(!Rn(H))return 0;let J=H;return JNumber(e.max)&&(J=Number(e.max)),parseInt(`${J}`,10)===J?J:K(J.toPrecision(5))}function _(H,J){a.value||J.handleHovering(H)}function x(H,J){let Pe=[];const{step:w,range:b,modelValue:E,onChange:Y,min:Q}=e,U=K(w),le=Math.round(H/i.value),Z=le*U+K(Q),ue=P[J].percentValue*U+K(Q);if(P[J].percentValue=le,b&&Qe(E)&&(Pe=J===cn.First?[Z,E[1]]:[E[0],Z]),ue!==Z){const ne=b?Pe.map(Se=>oe(Se)):oe(Z);N(Y,ne),N(e["onUpdate:modelValue"],ne),B()}}function q(H){if(!e.range)return cn.First;const J=P[cn.First].percentValue*i.value,Pe=P[cn.Second].percentValue*i.value,w=Math.abs(H-J),b=Math.abs(H-Pe);return w<=b?cn.First:cn.Second}function ge(){document.addEventListener("touchmove",G,{passive:!1}),document.addEventListener("touchend",de),document.addEventListener("touchcancel",de)}function se(){document.removeEventListener("touchmove",G),document.removeEventListener("touchend",de),document.removeEventListener("touchcancel",de)}function ve(H,J){if(n.value||(n.value=t.value.offsetWidth),a.value||(P[J].active=!0),A=J,ge(),a.value||s.value)return;N(e.onStart),o.value=!0;const{clientX:Pe,clientY:w}=H.touches[0];P[J].startPosition=l.value?w:Pe}function G(H){if(pt(H),a.value||s.value||!o.value)return;const{startPosition:J,currentOffset:Pe}=P[A],{clientX:w,clientY:b}=H.touches[0];let E=(l.value?J-b:w-J)+Pe;E<=0?E=0:E>=n.value&&(E=n.value),x(E,A)}function de(){se();const{range:H,modelValue:J,onEnd:Pe,step:w,min:b}=e;if(a.value||(P[A].active=!1),a.value||s.value)return;let E=[];P[A].currentOffset=P[A].percentValue*i.value;const Y=P[A].percentValue*K(w)+K(b);H&&Qe(J)&&(E=A===cn.First?[Y,J[1]]:[J[0],Y]),N(Pe,H?E:Y),o.value=!1}function ye(H){if(a.value||s.value||H.target.closest(`.${yv("thumb")}`))return;const J=L(H),Pe=q(J);A=Pe,x(J,Pe),de()}function j(){const H=K(e.step);return isNaN(H)?(Md("Slider",'type of prop "step" should be Number'),!1):H<0?(Md("Slider",'"step" should be > 0'),!1):!0}function ee(){const{range:H,modelValue:J}=e;return H&&!Qe(J)?(console.error('[Varlet] Slider: "modelValue" should be an Array'),!1):!H&&Qe(J)?(console.error('[Varlet] Slider: "modelValue" should be a Number'),!1):H&&Qe(J)&&J.length<2?(console.error('[Varlet] Slider: "modelValue" should have two value'),!1):!0}function V(H=e.modelValue,J=K(e.step)){const Pe=w=>{const{min:b,max:E}=e;return wK(E)?r.value/J:(w-K(b))/J};e.range&&Qe(H)?(P[cn.First].percentValue=Pe(H[0]),P[cn.First].currentOffset=P[cn.First].percentValue*i.value,P[cn.Second].percentValue=Pe(H[1]),P[cn.Second].currentOffset=P[cn.Second].percentValue*i.value):Rn(H)&&(P[cn.First].currentOffset=Pe(H)*i.value)}function fe(){const H=e.range?[0,0]:0;N(e["onUpdate:modelValue"],H),p()}return{Thumbs:cn,sliderEl:t,getFillStyle:y,isDisabled:a,isVertical:l,errorMessage:d,thumbsProps:P,thumbList:O,n:yv,classes:yD,thumbStyle:z,hover:_,multiplySizeUnit:Dn,toNumber:K,showLabel:ae,start:ve,move:G,end:de,click:ye}}});oy.render=wD;var ry=oy;be(ry);var su=ry,CD=Object.defineProperty,SD=Object.defineProperties,kD=Object.getOwnPropertyDescriptors,$v=Object.getOwnPropertySymbols,PD=Object.prototype.hasOwnProperty,OD=Object.prototype.propertyIsEnumerable,wv=(e,n,t)=>n in e?CD(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,TD=(e,n)=>{for(var t in n||(n={}))PD.call(n,t)&&wv(e,t,n[t]);if($v)for(var t of $v(n))OD.call(n,t)&&wv(e,t,n[t]);return e},ED=(e,n)=>SD(e,kD(n));const iy={type:String,position:{type:String,default:"top"},content:{type:[String,Function,Object]},contentClass:String,duration:{type:Number,default:3e3},vertical:Boolean,loadingType:Fe(oo,"type"),loadingSize:Fe(oo,"size"),loadingRadius:Fe(oo,"radius"),loadingColor:ED(TD({},Fe(oo,"color")),{default:"currentColor"}),lockScroll:Boolean,show:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},forbidClick:Boolean,onOpen:W(),onOpened:W(),onClose:W(),onClosed:W(),"onUpdate:show":W(),_update:String},{n:ND,classes:ID}=pe("snackbar"),MD={success:"checkbox-marked-circle",warning:"warning",info:"information",error:"error",loading:""};function DD(e,n){const t=$e("var-icon"),o=$e("var-loading");return He((C(),M("div",{class:m(e.n()),style:te({pointerEvents:e.isForbidClick?"auto":"none",zIndex:e.zIndex})},[F("div",{class:m(e.classes(e.n("wrapper"),e.n(`wrapper-${e.position}`),e.n("$-elevation--4"),[e.vertical,e.n("vertical")],[e.type&&e.SNACKBAR_TYPE.includes(e.type),e.n(`wrapper-${e.type}`)])),style:te({zIndex:e.zIndex})},[F("div",{class:m([e.n("content"),e.contentClass])},[X(e.$slots,"default",{},()=>[je(we(e.content),1)])],2),F("div",{class:m([e.n("icon")])},[e.iconName?(C(),Ae(t,{key:0,name:e.iconName},null,8,["name"])):he("v-if",!0),e.type==="loading"?(C(),Ae(o,{key:1,type:e.loadingType,size:e.loadingSize,color:e.loadingColor,radius:e.loadingRadius},null,8,["type","size","color","radius"])):he("v-if",!0),X(e.$slots,"icon")],2),F("div",{class:m(e.n("action"))},[X(e.$slots,"action")],2)],6)],6)),[[kt,e.show]])}const ay=me({name:"VarSnackbarCore",components:{VarLoading:pr,VarIcon:tn},props:iy,setup(e){const n=I(null),{zIndex:t}=Ai(()=>e.show,1);Di(()=>e.show,()=>e.lockScroll);const o=R(()=>e.type==="loading"||e.forbidClick),r=R(()=>e.type?MD[e.type]:""),i=()=>{n.value=setTimeout(()=>{e.type!=="loading"&&N(e["onUpdate:show"],!1)},e.duration)};return Ce(()=>e.show,a=>{a?(N(e.onOpen),i()):a===!1&&(clearTimeout(n.value),N(e.onClose))}),Ce(()=>e._update,()=>{clearTimeout(n.value),i()}),Pn(()=>{e.show&&(N(e.onOpen),i())}),{SNACKBAR_TYPE:uy,n:ND,classes:ID,zIndex:t,iconName:r,isForbidClick:o}}});ay.render=DD;var sy=ay;const{name:AD,n:BD}=pe("snackbar");function zD(e,n){const t=$e("var-snackbar-core");return C(),Ae(Et,{to:e.teleport===!1?void 0:e.teleport,disabled:e.disabled||e.teleport===!1},[ie(nn,{name:`${e.n()}-fade`,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:Te(()=>[ie(t,Ze(e.$props,{class:e.n("transition")}),{icon:Te(()=>[X(e.$slots,"icon")]),action:Te(()=>[X(e.$slots,"action")]),default:Te(()=>[X(e.$slots,"default",{},()=>[je(we(e.content),1)])]),_:3},16,["class"])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const ly=me({name:AD,components:{VarSnackbarCore:sy},props:iy,setup(){const{disabled:e}=qo();return{disabled:e,n:BD}}});ly.render=zD;var pc=ly,VD=Object.defineProperty,Cv=Object.getOwnPropertySymbols,RD=Object.prototype.hasOwnProperty,LD=Object.prototype.propertyIsEnumerable,Sv=(e,n,t)=>n in e?VD(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ki=(e,n)=>{for(var t in n||(n={}))RD.call(n,t)&&Sv(e,t,n[t]);if(Cv)for(var t of Cv(n))LD.call(n,t)&&Sv(e,t,n[t]);return e};const uy=["loading","success","warning","info","error"];let kv=0,lu=!1,cy,Pi=!1;const dy={type:void 0,content:"",icon:"",action:"",position:"top",duration:3e3,vertical:!1,contentClass:void 0,loadingType:"circle",loadingSize:"normal",lockScroll:!1,teleport:"body",forbidClick:!1,onOpen:()=>{},onOpened:()=>{},onClose:()=>{},onClosed:()=>{}};let nt=Xe([]),gc=dy;const UD={name:"var-snackbar-fade",tag:"div",class:"var-transition-group"},Ms=e=>()=>Ir(e)?e():e,FD={setup(){return()=>{const e=nt.map(({id:n,reactiveSnackOptions:t,_update:o})=>{const r=document.querySelector(".var-transition-group");t.forbidClick||t.type==="loading"?r.classList.add("var-pointer-auto"):r.classList.remove("var-pointer-auto");const i=ki({position:Pi?"relative":"absolute"},KD(t.position)),{content:a,icon:s,action:l}=t,u={default:Ms(a),icon:Ms(s),action:Ms(l)};return ie(sy,Ze(t,{key:n,style:i,"data-id":n,_update:o,show:t.show,"onUpdate:show":c=>t.show=c}),u)});return ie(q$,Ze(UD,{style:{zIndex:Kn.zIndex},onAfterEnter:HD,onAfterLeave:jD}),{default:()=>[e]})}}},Lt=function(e){const n=WD(e),t=Xe(ki(ki({},gc),n));t.show=!0,lu||(lu=!0,cy=Ar(FD).unmountInstance);const{length:o}=nt,r={id:kv++,reactiveSnackOptions:t};if(o===0||Pi)YD(r);else{const i=`update-${kv}`;qD(t,i)}return{clear(){!Pi&&nt.length?nt[0].reactiveSnackOptions.show=!1:t.show=!1}}};uy.forEach(e=>{Lt[e]=n=>(di(n)?n.type=e:n={content:n,type:e},Lt(n))});Lt.allowMultiple=function(e=!1){e!==Pi&&(nt.forEach(n=>{n.reactiveSnackOptions.show=!1}),Pi=e)};Lt.clear=function(){nt.forEach(e=>{e.reactiveSnackOptions.show=!1})};Lt.setDefaultOptions=function(e){gc=e};Lt.resetDefaultOptions=function(){gc=dy};function HD(e){const n=e.getAttribute("data-id"),t=nt.find(o=>o.id===K(n));t&&N(t.reactiveSnackOptions.onOpened)}function jD(e){e.parentElement&&e.parentElement.classList.remove("var-pointer-auto");const n=e.getAttribute("data-id"),t=nt.find(r=>r.id===K(n));t&&(t.animationEnd=!0,N(t.reactiveSnackOptions.onClosed)),nt.every(r=>r.animationEnd)&&(N(cy),nt=Xe([]),lu=!1)}function YD(e){nt.push(e)}function WD(e={}){return gn(e)?{content:e}:e}function qD(e,n){const[t]=nt;t.reactiveSnackOptions=ki(ki({},t.reactiveSnackOptions),e),t._update=n}function KD(e="top"){return e==="bottom"?{top:"85%"}:{top:e==="top"?"5%":"45%"}}Lt.Component=pc;be(pc);be(pc,Lt);var uu=Lt;const XD={size:{type:[String,Number,Array],default:"normal"},wrap:{type:Boolean,default:!0},direction:{type:String,default:"row"},justify:{type:String,default:"flex-start"},align:String,inline:Boolean};function Wn(e){return`calc(${e} / 2)`}function GD(e,n,t){const{direction:o,justify:r,index:i,lastIndex:a}=t;let s="0";return o==="row"&&(["flex-start","center","flex-end","start","end"].includes(r)?i!==a?s=`${Wn(e)} ${n} ${Wn(e)} 0`:s=`${Wn(e)} 0`:r==="space-around"?s=`${Wn(e)} ${Wn(n)}`:r==="space-between"&&(i===0?s=`${Wn(e)} ${Wn(n)} ${Wn(e)} 0`:i===a?s=`${Wn(e)} 0 ${Wn(e)} ${Wn(n)}`:s=`${Wn(e)} ${Wn(n)}`)),o==="column"&&i!==a&&(s=`0 0 ${e} 0`),s}const ZD=e=>["mini","small","normal","large"].includes(e),{name:JD,n:Ds,classes:QD}=pe("space");function _D(e,n){return n?[`var(--space-size-${e}-y)`,`var(--space-size-${e}-x)`]:Qe(e)?e.map(ze):[ze(e),ze(e)]}var fy=me({name:JD,props:XD,setup(e,{slots:n}){return()=>{var t;const{inline:o,justify:r,align:i,wrap:a,direction:s,size:l}=e;let u=(t=N(n.default))!=null?t:[];const[c,d]=_D(l,ZD(l));u=um(u);const f=u.length-1,v=u.map((p,h)=>{const g=GD(c,d,{direction:s,justify:r,index:h,lastIndex:f});return ie("div",{style:{margin:g}},[p])});return ie("div",{class:QD(Ds(),Ds("$--box"),[o,Ds("--inline")]),style:{flexDirection:s,justifyContent:$a(r),alignItems:$a(i),flexWrap:a?"wrap":"nowrap",margin:s==="row"?`calc(-1 * ${c} / 2) 0`:void 0}},[v])}}});be(fy);var cu=fy;const xD={activeIcon:{type:String,default:"check"},currentIcon:Fe(dn,"name"),inactiveIcon:Fe(dn,"name"),activeIconNamespace:Fe(dn,"namespace"),currentIconNamespace:Fe(dn,"namespace"),inactiveIconNamespace:Fe(dn,"namespace")},vy=Symbol("STEPS_BIND_STEP_KEY");function eA(){const{bindChildren:e,childProviders:n}=Tn(vy);return{step:n,bindStep:e}}function nA(){const{parentProvider:e,index:n,bindParent:t}=On(vy);return t||Gn("Steps"," must in "),{index:n,steps:e,bindSteps:t}}const{name:tA,n:oA,classes:rA}=pe("step"),iA={key:3};function aA(e,n){const t=$e("var-icon");return C(),M("div",{class:m(e.n())},[F("div",{class:m(e.n(e.direction))},[F("div",{class:m(e.classes(e.n(`${e.direction}-tag`),[e.isActive||e.isCurrent,e.n(`${e.direction}-tag--active`)])),style:te({backgroundColor:e.isActive||e.isCurrent?e.activeColor:e.inactiveColor}),onClick:n[0]||(n[0]=(...o)=>e.click&&e.click(...o))},[e.isActive?(C(),Ae(t,{key:0,class:m(e.n("icon")),"var-step-cover":"",name:e.activeIcon,namespace:e.activeIconNamespace},null,8,["class","name","namespace"])):e.isCurrent&&e.currentIcon?(C(),Ae(t,{key:1,class:m(e.n("icon")),"var-step-cover":"",name:e.currentIcon,namespace:e.currentIconNamespace},null,8,["class","name","namespace"])):e.inactiveIcon?(C(),Ae(t,{key:2,class:m(e.n("icon")),"var-step-cover":"",name:e.inactiveIcon,namespace:e.inactiveIconNamespace},null,8,["class","name","namespace"])):(C(),M("span",iA,we(e.index+1),1))],6),F("div",{class:m(e.classes(e.n(`${e.direction}-content`),[e.isActive||e.isCurrent,e.n(`${e.direction}-content--active`)])),onClick:n[1]||(n[1]=(...o)=>e.click&&e.click(...o))},[X(e.$slots,"default")],2),F("div",{class:m(e.n(`${e.direction}-line`))},null,2)],2)],2)}const hy=me({name:tA,components:{VarIcon:tn},props:xD,setup(){const{index:e,steps:n,bindSteps:t}=nA(),{active:o,activeColor:r,inactiveColor:i,direction:a,clickStep:s}=n,l=R(()=>o.value===e.value),u=R(()=>e.value!==-1&&K(o.value)>e.value);t({index:e});function d(){return s(e.value)}return{index:e,isActive:u,isCurrent:l,direction:a,activeColor:r,inactiveColor:i,n:oA,classes:rA,click:d}}});hy.render=aA;var my=hy;be(my);var du=my;const sA={active:{type:[String,Number],default:0},direction:{type:String,default:"horizontal"},activeColor:String,inactiveColor:String,onClickStep:W()},{name:lA,n:uA}=pe("steps");function cA(e,n){return C(),M("div",{class:m(e.n()),style:te({flexDirection:e.direction==="horizontal"?"row":"column"})},[X(e.$slots,"default")],6)}const py=me({name:lA,props:sA,setup(e){const n=R(()=>e.active),t=R(()=>e.activeColor),o=R(()=>e.inactiveColor),r=R(()=>e.direction),{bindStep:i}=eA();i({active:n,direction:r,activeColor:t,inactiveColor:o,clickStep:s});function s(l){N(e.onClickStep,l)}return{n:uA}}});py.render=cA;var gy=py;be(gy);var fu=gy;const dA={styleVars:{type:Object,default:()=>({})},tag:{type:String,default:"div"}},{name:fA,n:vA}=pe("style-provider"),hA=me({name:fA,props:dA,setup(e,{slots:n}){return()=>Ii(e.tag,{class:vA(),style:Sm(e.styleVars)},N(n.default))}});var bc=hA;const As=[];function yc(e){As.forEach(t=>document.documentElement.style.removeProperty(t)),As.length=0;const n=Sm(e??{});Object.entries(n).forEach(([t,o])=>{document.documentElement.style.setProperty(t,o),As.push(t)})}yc.Component=bc;be(bc);be(bc,yc);var Oi=yc;const mA={modelValue:{default:!1},activeValue:{default:!0},inactiveValue:{default:!1},disabled:Boolean,readonly:Boolean,loading:Boolean,color:String,loadingColor:String,closeColor:String,size:[String,Number],rules:Array,ripple:{type:Boolean,default:!0},onClick:W(),onChange:W(),"onUpdate:modelValue":W()},{name:pA,n:gA,classes:bA}=pe("switch"),yA=e=>($o(""),e=e(),wo(),e),$A=yA(()=>F("svg",{viewBox:"25 25 50 50"},[F("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1)),wA=[$A];function CA(e,n){const t=$e("var-hover-overlay"),o=$e("var-form-details"),r=Ge("ripple"),i=Ge("hover");return He((C(),M("div",{class:m(e.n())},[F("div",{class:m(e.classes(e.n("block"),[e.disabled||e.formDisabled,e.n("--disabled")])),onClick:n[0]||(n[0]=(...a)=>e.switchActive&&e.switchActive(...a)),style:te(e.styleComputed.switch)},[F("div",{style:te(e.styleComputed.track),class:m(e.classes(e.n("track"),[e.modelValue===e.activeValue,e.n("track--active")],[e.errorMessage,e.n("track--error")]))},null,6),He((C(),M("div",{class:m(e.classes(e.n("ripple"),[e.modelValue===e.activeValue,e.n("ripple--active")])),style:te(e.styleComputed.ripple)},[F("div",{style:te(e.styleComputed.handle),class:m(e.classes(e.n("handle"),e.n("$-elevation--2"),[e.modelValue===e.activeValue,e.n("handle--active")],[e.errorMessage,e.n("handle--error")]))},[e.loading?(C(),M("span",{key:0,class:m(e.n("loading")),style:te({width:e.radius,height:e.radius})},wA,6)):he("v-if",!0)],6),ie(t,{hovering:e.hovering},null,8,["hovering"])],6)),[[r,{disabled:!e.ripple||e.disabled||e.loading||e.formDisabled}]])],6),ie(o,{"error-message":e.errorMessage},null,8,["error-message"])],2)),[[i,e.hover,"desktop"]])}const by=me({name:pA,components:{VarFormDetails:Fn,VarHoverOverlay:tt},directives:{Ripple:vn,Hover:Zn},props:mA,setup(e){const{bindForm:n,form:t}=rt(),{errorMessage:o,validateWithTrigger:r,validate:i,resetValidation:a}=ot(),{hovering:s,handleHovering:l}=Pt(),u=R(()=>{const{size:$,modelValue:S,color:O,closeColor:y,loadingColor:P,activeValue:A}=e;return{handle:{width:Dn($),height:Dn($),backgroundColor:S===A?O:y,color:P},ripple:{left:S===A?Dn($,.5):`-${Dn($,.5)}`,color:S===A?O:y||"#999",width:Dn($,2),height:Dn($,2)},track:{height:Dn($,.72),width:Dn($,1.9),borderRadius:Dn($,2/3),filter:S===A||o!=null&&o.value?void 0:"brightness(.6)",backgroundColor:S===A?O:y},switch:{height:Dn($,1.2),width:Dn($,2)}}}),c=R(()=>Dn(e.size,.8));N(n,{reset:g,validate:f,resetValidation:a});function f(){return i(e.rules,e.modelValue)}function v(){return en(()=>r(["onChange"],"onChange",e.rules,e.modelValue))}function p($){const{onClick:S,onChange:O,disabled:y,loading:P,readonly:A,modelValue:k,activeValue:D,inactiveValue:T,"onUpdate:modelValue":B}=e;if(N(S,$),y||P||A||t!=null&&t.disabled.value||t!=null&&t.readonly.value)return;const L=k===D?T:D;N(O,L),N(B,L),v()}function h($){e.disabled||t!=null&&t.disabled.value||l($)}function g(){N(e["onUpdate:modelValue"],e.inactiveValue),a()}return{hovering:s,radius:c,styleComputed:u,errorMessage:o,formDisabled:t==null?void 0:t.disabled,formReadonly:t==null?void 0:t.readonly,n:gA,classes:bA,multiplySizeUnit:Dn,switchActive:p,hover:h}}});by.render=CA;var yy=by;be(yy);var vu=yy;const SA={name:[String,Number],disabled:Boolean,onClick:W()},$y=Symbol("TABS_BIND_TAB_KEY");function kA(){const{childProviders:e,bindChildren:n,length:t}=Tn($y);return{length:t,tabList:e,bindTabList:n}}function PA(){const{parentProvider:e,bindParent:n,index:t}=On($y);return n||Gn("Tab"," must in "),{index:t,tabs:e,bindTabs:n}}const{name:OA,n:_i,classes:TA}=pe("tab");function EA(e,n){const t=Ge("ripple");return He((C(),M("div",{class:m(e.classes(e.n(),e.n("$--box"),e.computeColorClass(),e.n(`--${e.itemDirection}`))),ref:"tabEl",style:te({color:e.computeColorStyle()}),onClick:n[0]||(n[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[X(e.$slots,"default")],6)),[[t,{disabled:e.disabled}]])}const wy=me({name:OA,directives:{Ripple:vn},props:SA,setup(e){const n=I(null),t=R(()=>n.value),o=R(()=>e.name),r=R(()=>e.disabled),{index:i,tabs:a,bindTabs:s}=PA(),{onTabClick:l,active:u,activeColor:c,inactiveColor:d,disabledColor:f,itemDirection:v,resize:p}=a,h={name:o,index:i,disabled:r,element:t};s(h),Ce(()=>[e.name,e.disabled],p);function g(){return e.name!=null?u.value===e.name:u.value===(i==null?void 0:i.value)}function $(){return e.disabled?f.value:g()?c.value:d.value}function S(){return e.disabled?_i("$-tab--disabled"):g()?_i("$-tab--active"):_i("$-tab--inactive")}function O(y){const{disabled:P,name:A,onClick:k}=e;P||(N(k,A??i.value,y),l(h))}return{tabEl:n,active:u,activeColor:c,inactiveColor:d,itemDirection:v,n:_i,classes:TA,computeColorStyle:$,computeColorClass:S,handleClick:O}}});wy.render=EA;var Cy=wy;be(Cy);var hu=Cy;const NA={name:[String,Number]},{name:IA,n:MA,classes:DA}=pe("tab-item");function AA(e,n){const t=$e("var-swipe-item");return C(),Ae(t,{class:m(e.classes(e.n(),[!e.current,e.n("--inactive")])),"var-tab-item-cover":""},{default:Te(()=>[X(e.$slots,"default")]),_:3},8,["class"])}const Sy=me({name:IA,components:{VarSwipeItem:wi},props:NA,setup(e){const n=I(!1),t=R(()=>e.name),{index:o,bindTabsItems:r}=pM(),{bindLists:i}=gM(),a={index:o,name:t,current:R(()=>n.value),setCurrent:s};r(a),i(a);function s(l){n.value=l}return{current:n,n:MA,classes:DA}}});Sy.render=AA;var ky=Sy;be(ky);var mu=ky;const BA={fullWidth:{type:[Number,String],default:"100%"},elevation:{type:[Boolean,Number,String],default:!0}},{name:zA,n:VA,classes:RA}=pe("table");function LA(e,n){return C(),M("div",{class:m(e.classes(e.n(),e.formatElevation(e.elevation,1),e.n("$--box")))},[F("div",{class:m(e.n("main"))},[F("table",{class:m(e.n("table")),style:te({width:e.toSizeUnit(e.fullWidth)})},[X(e.$slots,"default")],6)],2),e.$slots.footer?(C(),M("div",{key:0,class:m(e.n("footer"))},[X(e.$slots,"footer")],2)):he("v-if",!0)],2)}const Py=me({name:zA,props:BA,setup:()=>({toSizeUnit:ze,n:VA,classes:RA,formatElevation:In})});Py.render=LA;var Oy=Py;be(Oy);var pu=Oy;const UA={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:"horizontal"},itemDirection:{type:String,default:"horizontal"},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:"auto"},indicatorPosition:{type:String,default:"normal"},safeArea:Boolean,sticky:Boolean,stickyCssMode:Fe(ca,"cssMode"),stickyZIndex:Fe(ca,"zIndex"),offsetTop:Fe(ca,"offsetTop"),onClick:W(),onChange:W(),"onUpdate:active":W()};var Pv=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:FA,n:HA,classes:jA}=pe("tabs");function YA(e,n){return C(),Ae(Er(e.sticky?e.n("$-sticky"):e.Transition),{ref:e.sticky?"stickyComponent":void 0,"css-mode":e.sticky?e.stickyCssMode:void 0,"offset-top":e.sticky?e.offsetTop:void 0,"z-index":e.sticky?e.stickyZIndex:void 0},{default:Te(()=>[F("div",Ze({class:e.classes(e.n(),e.n("$--box"),e.n(`--item-${e.itemDirection}`),e.n(`--layout-${e.layoutDirection}-padding`),e.formatElevation(e.elevation,4),[e.fixedBottom,e.n("--fixed-bottom")],[e.safeArea,e.n("--safe-area")]),style:{background:e.color}},e.$attrs),[F("div",{ref:"scrollerEl",class:m(e.classes(e.n("tab-wrap"),[e.localScrollable,e.n(`--layout-${e.layoutDirection}-scrollable`)],e.n(`--layout-${e.layoutDirection}`)))},[X(e.$slots,"default"),F("div",{class:m(e.classes(e.n("indicator"),e.n(`--layout-${e.layoutDirection}${e.indicatorPosition}-indicator`))),style:te({width:e.layoutDirection==="horizontal"?e.indicatorWidth:e.toSizeUnit(e.indicatorSize),height:e.layoutDirection==="horizontal"?e.toSizeUnit(e.indicatorSize):e.indicatorHeight,transform:e.layoutDirection==="horizontal"?`translateX(${e.indicatorX})`:`translateY(${e.indicatorY})`})},[F("div",{class:m(e.classes(e.n("indicator-inner"),e.n(`--layout-${e.layoutDirection}-indicator-inner`))),style:te({background:e.indicatorColor||e.activeColor})},null,6)],6)],2)],16)]),_:3},8,["css-mode","offset-top","z-index"])}const Ty=me({name:FA,components:{VarSticky:Si},inheritAttrs:!1,props:UA,setup(e){const n=I("0px"),t=I("0px"),o=I("0px"),r=I("0px"),i=I(!1),a=I(null),s=R(()=>e.active),l=R(()=>e.activeColor),u=R(()=>e.inactiveColor),c=R(()=>e.disabledColor),d=R(()=>e.itemDirection),f=I(null),v=R(()=>e.indicatorPosition==="reverse"?"-reverse":""),{tabList:p,bindTabList:h,length:g}=kA();h({active:s,activeColor:l,inactiveColor:u,disabledColor:c,itemDirection:d,resize:T,onTabClick:S}),Ce(()=>g.value,()=>Pv(this,null,function*(){yield Bn(),T()})),Ce(()=>[e.active,e.scrollable],T),Ut(T),Mr(T);function S(L){var z;const ae=(z=L.name.value)!=null?z:L.index.value,{active:re,onChange:oe,onClick:_}=e;N(e["onUpdate:active"],ae),N(_,ae),ae!==re&&N(oe,ae)}function O(){return p.find(({name:L})=>e.active===L.value)}function y(L){return p.find(({index:z})=>(L??e.active)===z.value)}function P(){if(g.value===0)return;const{active:L}=e;if(Rn(L)){const z=ho(L,0,g.value-1);return N(e["onUpdate:active"],z),y(z)}}function A(){i.value=e.scrollable==="always"||p.length>=5}function k({element:L}){const z=L.value;z&&(e.layoutDirection==="horizontal"?(n.value=`${z.offsetWidth}px`,o.value=`${z.offsetLeft}px`):(t.value=`${z.offsetHeight}px`,r.value=`${z.offsetTop}px`))}function D({element:L}){if(!i.value)return;const z=a.value,ae=L.value;if(e.layoutDirection==="horizontal"){const re=ae.offsetLeft+ae.offsetWidth/2-z.offsetWidth/2;vi(z,{left:re,animation:rl})}else{const re=ae.offsetTop+ae.offsetHeight/2-z.offsetHeight/2;vi(z,{top:re,animation:rl})}}function T(){const L=O()||y()||P();!L||L.disabled.value||(A(),k(L),D(L))}function B(){return Pv(this,null,function*(){e.sticky&&f.value&&(yield f.value.resize())})}return{stickyComponent:f,indicatorWidth:n,indicatorHeight:t,indicatorX:o,indicatorY:r,indicatorPosition:v,localScrollable:i,scrollerEl:a,Transition:nn,toSizeUnit:ze,n:HA,classes:jA,resize:T,resizeSticky:B,formatElevation:In}}});Ty.render=YA;var Ey=Ty;be(Ey);var gu=Ey;const WA={active:{type:[String,Number],default:0},canSwipe:{type:Boolean,default:!0},loop:Boolean,"onUpdate:active":W()};var qA=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:KA,n:XA}=pe("tabs-items");function GA(e,n){const t=$e("var-swipe");return C(),Ae(t,{class:m(e.n()),ref:"swipe",loop:e.loop,touchable:e.canSwipe,indicator:!1,onChange:e.handleSwipeChange},{default:Te(()=>[X(e.$slots,"default")]),_:3},8,["class","loop","touchable","onChange"])}const Ny=me({name:KA,components:{VarSwipe:$i},props:WA,setup(e){const n=I(null),{tabItemList:t,bindTabItem:o,length:r}=mM();o({}),Ce(()=>e.active,l),Ce(()=>r.value,()=>qA(this,null,function*(){yield Bn(),l(e.active)}));function i(d){return t.find(({name:f})=>d===f.value)}function a(d){return t.find(({index:f})=>d===f.value)}function s(d){return i(d)||a(d)}function l(d){var f;const v=s(d);v&&(t.forEach(({setCurrent:p})=>p(!1)),v.setCurrent(!0),(f=n.value)==null||f.to(v.index.value))}function u(d){var f;const v=t.find(({index:h})=>h.value===d),p=(f=v.name.value)!=null?f:v.index.value;N(e["onUpdate:active"],p)}function c(){return n.value}return{swipe:n,n:XA,handleSwipeChange:u,getSwipe:c}}});Ny.render=GA;var Iy=Ny;be(Iy);var bu=Iy,ZA={"--action-sheet-background":"#1e1e1e","--action-sheet-title-color":"#aaa","--action-sheet-action-item-color":"#fff"},JA={"--badge-default-color":"#555"},QA={"--button-default-color":"#303030","--button-default-text-color":"#fff"},_A={"--card-background":"#303030","--card-title-color":"#ffffff","--card-outline-color":"rgba(255, 255, 255, 0.2)","--card-subtitle-color":"#aaaaaa","--card-description-color":"#aaaaaa"},xA={"--cell-description-color":"#aaa","--cell-border-color":"#545454"},eB={"--checkbox-unchecked-color":"#fff","--checkbox-text-color":"#fff"},nB={"--chip-default-color":"#555","--chip-default-text-color":"#fff"},tB={"--collapse-background":"#303030","--collapse-text-color":"#fff","--collapse-border-top":"thin solid rgba(255, 255, 255, 0.12)"},oB={"--date-picker-main-color":"#fff","--date-picker-body-background-color":"#303030","--day-picker-head-item-color":"#aaaaaa","--year-picker-item-color":"#fff","--picker-header-color":"#fff"},rB={"--dialog-background":"#1e1e1e","--dialog-title-color":"#fff","--dialog-message-color":"#bbb"},iB={"--divider-color":"rgba(255, 255, 255, 0.2)","--divider-text-color":"#aaa"},aB={"--floating-panel-background":"#272727"},sB={"--field-decorator-text-color":"#fff","--field-decorator-blur-color":"rgb(255, 255, 255, .7)"},lB={"--pagination-text-color":"#fff","--pagination-list-bg-color":"#303030","--pagination-hover-bg-color":"rgba(255, 255, 255, .15)","--pagination-list-active-bg-color":"#25293a","--pagination-list-active-color":"#4a7afe","--pagination-item-background":"#303030"},uB={"--picker-background":"#1e1e1e","--picker-cancel-button-text-color":"#aaa","--picker-title-text-color":"#fff","--picker-option-text-color":"#fff","--picker-picked-border":"1px solid rgba(255, 255, 255, 0.12)","--picker-mask-background-image":"linear-gradient(180deg, hsla(0, 0%, 12%, 0.9), hsla(0, 0%, 12%, 0.4)), linear-gradient(0deg, hsla(0, 0%, 12%, 0.9), hsla(0, 0%, 12%, 0.4))"},cB={"--popup-content-background-color":"#1e1e1e"},dB={"--pull-refresh-background":"#303030"},fB={"--radio-unchecked-color":"#fff","--radio-text-color":"#fff"},vB={"--result-background":"#303030","--result-title-color":"#ffffff","--result-description-color":"#aaaaaa","--result-question-color":"#7f8e96","--result-question-border-color":"rgba(151,194,216,0.3)","--result-empty-color":"#adadad","--result-empty-border-color":"rgba(232,229,229,0.3)"},hB={"--select-scroller-background":"#303030"},mB={"--skeleton-card-background-color":"hsla(0,0%,100%,.12)","--skeleton-animation-background":`linear-gradient( 90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.05),hsla(0,0%,100%,0)) - `,"--skeleton-avatar-background-color":"hsla(0,0%,100%,.12)","--skeleton-title-background-color":"hsla(0,0%,100%,.12)"},pB={"--step-content-color":"rgba(255, 255, 255, .38)","--step-content-active-color":"#fff","--step-line-background":"#fff"},gB={"--switch-track-background":"#727272","--switch-handle-background":"#727272"},bB={"--tab-inactive-color":"rgba(255, 255, 255, .65)"},yB={"--table-background":"#303030","--table-thead-th-text-color":"rgba(255, 255, 255, 0.6)","--table-tbody-td-text-color":"#fff","--table-tbody-tr-hover-background":"#4c4b4b","--table-thead-border-bottom":"thin solid rgba(255, 255, 255, 0.12)","--table-tbody-tr-border-bottom":"thin solid rgba(255, 255, 255, 0.12)","--table-footer-border-top":"thin solid rgba(255, 255, 255, 0.12)"},$B={"--time-picker-clock-container-background":"#545454","--time-picker-body-background":"#303030","--time-picker-clock-item-disable-color":"#aaaaaa","--time-picker-clock-item-text-color":"#fff"},wB={"--uploader-action-background":"#303030","--uploader-action-icon-color":"#fff","--uploader-file-name-background":"#303030","--uploader-file-name-color":"#aaa","--uploader-file-cover-background":"#303030"},CB={"--tabs-background":"#1e1e1e"},SB={"--app-bar-color":"#272727"},kB={"--bottom-navigation-background-color":"#272727","--bottom-navigation-border-color":"#444"},PB={"--bottom-navigation-item-active-background-color":"#272727"},OB={"--menu-background-color":"#272727"},TB={"--breadcrumb-inactive-color":"#aaa"},EB={"--paper-background":"#303030"},NB={"--avatar-background-color":"#303030","--avatar-border":"2px solid #1e1e1e"},IB={"--link-default-color":"#fff"},MB={"--progress-label-color":"#fff"},DB={"--option-text-color":"#fff"},AB={"--countdown-text-color":"#fff"},BB={"--watermark-content-color":"#ffffff"},zB={"--menu-select-menu-background-color":"#272727"},VB={"--menu-option-text-color":"#fff"},RB=Object.defineProperty,Ov=Object.getOwnPropertySymbols,LB=Object.prototype.hasOwnProperty,UB=Object.prototype.propertyIsEnumerable,Tv=(e,n,t)=>n in e?RB(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ve=(e,n)=>{for(var t in n||(n={}))LB.call(n,t)&&Tv(e,t,n[t]);if(Ov)for(var t of Ov(n))UB.call(n,t)&&Tv(e,t,n[t]);return e},FB=Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve({"--color-body":"#1e1e1e","--color-text":"#fff","--color-primary":"#4a7afe","--color-info":"#10afef","--color-success":"#10c48f","--color-warning":"#ff8800","--color-danger":"#ef5350","--color-disabled":"#404040","--color-text-disabled":"#757575"},QA),xA),_A),$B),oB),mB),CB),bB),cB),rB),ZA),nB),JA),wB),tB),dB),gB),pB),lB),yB),sB),hB),fB),eB),iB),uB),SB),kB),PB),OB),vB),TB),EB),NB),IB),MB),DB),AB),BB),zB),VB),aB);const HB={dark:FB};var Ti=HB;const Qn=["12","1","2","3","4","5","6","7","8","9","10","11"],An=["00","13","14","15","16","17","18","19","20","21","22","23"],Ev=["00","05","10","15","20","25","30","35","40","45","50","55"],jB={modelValue:String,elevation:{type:[Boolean,Number,String],default:!1},hint:String,color:String,headerColor:String,titleColor:String,format:{type:String,default:"ampm"},allowedTime:Object,min:String,max:String,useSeconds:Boolean,readonly:Boolean,"onUpdate:modelValue":W(),onChange:W()},My=(e,n)=>e==="24hr"||n==="am",$c=(e,n,t)=>{const o=Qn.findIndex(i=>K(i)===K(t)),r=My(e,n)?t:An[o];return{hourStr:r,hourNum:K(r)}},Vn=e=>{const[n,t,o]=e.split(":");return{hour:K(n),minute:K(t),second:K(o)}},Dy=e=>{var n,t;const{time:o,format:r,ampm:i,hour:a,max:s,min:l,disableHour:u}=e,{hourStr:c,hourNum:d}=$c(r,i,a);let f=!1,v=!1;if(u.includes(c))return!0;if(s&&!l){const{hour:p,minute:h}=Vn(s);f=p===d&&o>h}if(!s&&l){const{hour:p,minute:h}=Vn(l);f=p===d&&oh}return(n=e.allowedTime)!=null&&n.minutes&&(v=(t=e.allowedTime)==null?void 0:t.minutes(o)),f||v},Ay=e=>{var n,t;const{time:o,format:r,ampm:i,hour:a,minute:s,max:l,min:u,disableHour:c}=e,{hourStr:d,hourNum:f}=$c(r,i,a);let v=!1,p=!1;if(c.includes(d))return!0;if(l&&!u){const{hour:h,minute:g,second:$}=Vn(l);v=h===f&&g$}if(!l&&u){const{hour:h,minute:g,second:$}=Vn(u);v=h===f&&g>s||g===s&&o>$}if(l&&u){const{hour:h,minute:g,second:$}=Vn(l),{hour:S,minute:O,second:y}=Vn(u);v=h===f&&gs||h===f&&g===s&&o>$||S===f&&O===s&&o(C(),M("div",{class:m(e.classes(e.n("clock-item"),[e.isActive(o,!1),e.n("clock-item--active")],[e.isDisable(t),e.n("clock-item--disable")])),key:t,style:te(e.getStyle(o,t,!1))},$e(t),7))),128)),e.format==="24hr"&&e.type==="hour"?(C(),M("div",{key:0,class:m(e.n("clock-inner")),ref:"inner"},[(C(!0),M(Re,null,un(e.hours24,(t,o)=>(C(),M("div",{class:m(e.classes(e.n("clock-item"),[e.isActive(o,!0),e.n("clock-item--active")],[e.isDisable(t),e.n("clock-item--disable")])),key:t,style:te(e.getStyle(o,t,!0))},$e(t),7))),128))],2)):he("v-if",!0)],2)}const By=me({name:"Clock",props:{isInner:{type:Boolean,required:!0},rad:{type:Number},format:{type:String,default:"ampm"},allowedTime:{type:Object},time:{type:Object,required:!0},useSeconds:{type:Boolean,default:!1},preventNextUpdate:{type:Boolean,default:!1},type:{type:String,default:"hour"},ampm:{type:String,default:"am"},color:{type:String},min:{type:String},max:{type:String}},emits:["update","change-prevent-update"],setup(e,{emit:n}){const t=I(null),o=I([]),r=I([]),i=L(()=>({transform:`rotate(${K(e.rad)}deg)`,height:e.isInner&&e.type==="hour"?"calc(50% - 40px)":"calc(50% - 4px)",backgroundColor:u(),borderColor:u()})),a=L(()=>{if(e.rad===void 0)return;const h=e.rad/30;return h>=0?h:h+12}),s=L(()=>e.type==="hour"?Qn:Ev),l=(h,g)=>{h=h??(e.type==="minute"?e.time.minute:e.time.second);const $=e.type==="minute"?Dy:Ay,S={time:K(h),format:e.format,ampm:e.ampm,hour:e.time.hour,minute:K(e.time.minute),max:e.max,min:e.min,allowedTime:e.allowedTime,disableHour:o.value};return g&&e.type==="minute"&&Reflect.deleteProperty(S,"minute"),$(S)},u=()=>{if(a.value===void 0)return e.color;const h=e.isInner?An[a.value]:s.value[a.value];return s.value===Ev?l()?"#bdbdbd":e.color:d(h)?"#bdbdbd":e.color},c=(h,g)=>g?a.value===h&&e.isInner:a.value===h&&(!e.isInner||e.type!=="hour"),d=h=>{if(e.type==="hour"){if(My(e.format,e.ampm))return o.value.includes(h);const g=Qn.findIndex($=>$===h);return r.value.includes(g)}return l(h,!0)},f=(h,g,$)=>{const S=2*Math.PI/12*h-Math.PI/2,O=50*(1+Math.cos(S)),y=50*(1+Math.sin(S)),P=()=>c(h,$)?d(g)?{backgroundColor:"#bdbdbd",color:"#fff"}:{backgroundColor:e.color,color:void 0}:{backgroundColor:void 0,color:void 0},{backgroundColor:A,color:k}=P();return{left:`${O}%`,top:`${y}%`,backgroundColor:A,color:k}},v=()=>{const{width:h,height:g}=pn(t.value);return{width:h,height:g}},p=()=>{if(a.value===void 0)return;const h=e.ampm==="am"?Qn:An;return Ro(h[a.value],2,"0")};return Ce([a,()=>e.isInner],([h,g],[$,S])=>{if(h===$&&g===S||e.type!=="hour"||a.value===void 0)return;const y=g?An[a.value]:p(),P=e.useSeconds?`:${e.time.second}`:"",A=`${y}:${e.time.minute}${P}`;e.preventNextUpdate||n("update",A),n("change-prevent-update")}),Ce(()=>e.rad,(h,g)=>{if(e.type==="hour"||h===void 0||g===void 0)return;const $=h/6>=0?h/6:h/6+60,S=g/6>=0?g/6:g/6+60;if($===S)return;let O;const{hourStr:y}=$c(e.format,e.ampm,e.time.hour);if(e.type==="minute"){const P=Ne().minute($).format("mm"),A=e.useSeconds?`:${e.time.second}`:"";O=`${y}:${P}${A}`}if(e.type==="second"){const P=Ne().second($).format("ss"),A=e.useSeconds?`:${P}`:"";O=`${y}:${e.time.minute}${A}`}n("update",O)}),Ce([()=>e.max,()=>e.min,()=>e.allowedTime],([h,g,$])=>{if(o.value=[],h&&!g){const{hour:S}=Vn(h),O=Qn.filter(P=>K(P)>S),y=An.filter(P=>K(P)>S);o.value=[...O,...y]}if(!h&&g){const{hour:S}=Vn(g),O=Qn.filter(P=>K(P)K(P)K(A)S),P=An.filter(A=>K(A)S);o.value=[...y,...P]}if($!=null&&$.hours){const{hours:S}=$,O=Qn.filter(P=>!S(K(P))),y=An.filter(P=>!S(K(P)));o.value=[...new Set([...o.value,...O,...y])]}r.value=o.value.map(S=>An.findIndex(O=>S===O)).filter(S=>S>=0)},{immediate:!0}),{n:YB,classes:WB,hours24:An,timeScales:s,inner:t,handStyle:i,disableHour:o,isActive:c,isDisable:d,getSize:v,getStyle:f,activeItemIndex:a}}});By.render=qB;var KB=By;const{name:XB,n:GB,classes:ZB}=pe("time-picker"),JB=e=>($o(""),e=e(),wo(),e),QB=JB(()=>R("span",null,":",-1)),_B={key:0};function xB(e,n){var t;const o=we("clock");return C(),M("div",{class:m(e.classes(e.n(),e.formatElevation(e.elevation,2))),ref:"picker"},[R("div",{class:m(e.n("title")),style:te({background:e.titleColor||e.headerColor||e.color})},[R("div",{class:m(e.n("title-hint"))},$e((t=e.hint)!=null?t:e.pack.timePickerHint),3),R("div",{class:m(e.n("title-time-container"))},[R("div",{class:m(e.n("title-time"))},[R("div",{class:m(e.classes(e.n("title-btn"),[e.type==="hour",e.n("title-btn--active")])),onClick:n[0]||(n[0]=r=>e.checkPanel("hour"))},$e(e.time.hour),3),QB,R("div",{class:m(e.classes(e.n("title-btn"),[e.type==="minute",e.n("title-btn--active")])),onClick:n[1]||(n[1]=r=>e.checkPanel("minute"))},$e(e.time.minute),3),e.useSeconds?(C(),M("span",_B,":")):he("v-if",!0),e.useSeconds?(C(),M("div",{key:1,class:m(e.classes(e.n("title-btn"),[e.type==="second",e.n("title-btn--active")])),onClick:n[2]||(n[2]=r=>e.checkPanel("second"))},$e(e.time.second),3)):he("v-if",!0)],2),e.format==="ampm"?(C(),M("div",{key:0,class:m(e.n("title-ampm"))},[R("div",{class:m(e.classes(e.n("title-btn"),[e.ampm==="am",e.n("title-btn--active")])),onClick:n[3]||(n[3]=r=>e.checkAmpm("am"))}," AM ",2),R("div",{class:m(e.classes(e.n("title-btn"),[e.ampm==="pm",e.n("title-btn--active")])),onClick:n[4]||(n[4]=r=>e.checkAmpm("pm"))}," PM ",2)],2)):he("v-if",!0)],2)],6),R("div",{class:m(e.n("body"))},[R("div",{class:m(e.n("clock-container")),onTouchstart:n[5]||(n[5]=(...r)=>e.moveHand&&e.moveHand(...r)),onTouchmove:n[6]||(n[6]=(...r)=>e.moveHand&&e.moveHand(...r)),onTouchend:n[7]||(n[7]=(...r)=>e.end&&e.end(...r)),ref:"container"},[ie(nn,{name:`${e.n()}-panel-fade`},{default:Te(()=>[(C(),Ae(o,{key:e.type,ref:"inner",type:e.type,ampm:e.ampm,color:e.color,"is-inner":e.isInner,format:e.format,"allowed-time":e.allowedTime,rad:e.getRad,time:e.time,"prevent-next-update":e.isPreventNextUpdate,"use-seconds":e.useSeconds,max:e.max,min:e.min,onUpdate:e.update,onChangePreventUpdate:e.changePreventUpdate},null,8,["type","ampm","color","is-inner","format","allowed-time","rad","time","prevent-next-update","use-seconds","max","min","onUpdate","onChangePreventUpdate"]))]),_:1},8,["name"])],34)],2)],2)}const zy=me({name:XB,components:{Clock:KB},props:jB,setup(e){const n=I(null),t=I(null),o=I(null),r=I(!1),i=I(!1),a=I(!1),s=I(!1),l=I(!1),u=I(!1),c=I(!1),d=I(0),f=I(0),v=I(),p=I("hour"),h=I("am"),g=I({hour:"00",minute:"00",second:"00"}),$=Xe({x:0,y:0}),S=Xe({x:[],y:[]}),O=L(()=>p.value==="hour"?v.value:p.value==="minute"?d.value:f.value);Ce(()=>e.modelValue,se=>{if(se){const{hour:ve,minute:G,second:de}=Vn(se),ye=Ne().hour(ve).format("hh"),j=Ne().hour(ve).format("HH"),ee=Ne().minute(G).format("mm"),V=Ne().second(de).format("ss");v.value=(ye==="12"?0:K(ye))*30,d.value=K(ee)*6,f.value=K(V)*6,g.value=B(se),e.format!=="24hr"&&(h.value=Ro(`${ve}`,2,"0")===j&&An.includes(j)?"pm":"am"),r.value=e.format==="24hr"&&An.includes(j)}},{immediate:!0});function y(se){N(e["onUpdate:modelValue"],se),N(e.onChange,se)}function P(se){return se*57.29577951308232}function A(se){s.value=!1,c.value=!1,p.value=se}function k(se){const{disableHour:ve}=o.value,G=Qn.findIndex(j=>K(j)===K(g.value.hour)),de=se==="am"?Qn:An;return[...de.slice(G),...de.slice(0,G)].find((j,ee)=>(i.value=ee!==0,!ve.includes(j)))}function D(se){if(e.readonly)return;h.value=se;const ve=k(se);if(!ve)return;const G=e.useSeconds?`:${g.value.second}`:"",de=`${Ro(ve,2,"0")}:${g.value.minute}${G}`;y(de)}function T(se,ve){const G=se>=S.x[0]&&se<=S.x[1],de=ve>=S.y[0]&&ve<=S.y[1];return G&&de}function B(se){const ve=e.format==="24hr"?"HH":"hh",{hour:G,minute:de,second:ye}=Vn(se);return{hour:Ne().hour(G).format(ve),minute:Ne().minute(de).format("mm"),second:Ne().second(ye).format("ss")}}function U(se){const ve=se/30;return ve>=0?ve:ve+12}function z(){const{width:se,height:ve}=o.value.getSize(),G=$.x-se/2-8,de=$.x+se/2+8,ye=$.y-ve/2-8,j=$.y+ve/2+8;return{rangeXMin:G,rangeXMax:de,rangeYMin:ye,rangeYMax:j}}function ae(se,ve,G){const{disableHour:de}=o.value;a.value=T(se,ve);const ye=Math.round(G/30)*30+90,j=U(ye),ee=r.value?Qn[j]:An[j];if(de.includes(ee)||(r.value=e.format==="24hr"?T(se,ve):!1),r.value!==a.value)return;const V=r.value||h.value==="pm"?An[j]:Qn[j];u.value=de.includes(V),!u.value&&(v.value=ye,s.value=!0)}function re(se){const{disableHour:ve}=o.value,G=Math.round(se/6)*6+90,ye={time:G/6>=0?G/6:G/6+60,format:e.format,ampm:h.value,hour:g.value.hour,max:e.max,min:e.min,disableHour:ve,allowedTime:e.allowedTime};c.value=Dy(ye),!c.value&&(d.value=G,l.value=!0)}function oe(se){const{disableHour:ve}=o.value,G=Math.round(se/6)*6+90,ye={time:G/6>=0?G/6:G/6+60,format:e.format,ampm:h.value,hour:g.value.hour,minute:K(g.value.minute),max:e.max,min:e.min,disableHour:ve,allowedTime:e.allowedTime};Ay(ye)||(f.value=G)}function _(){const{left:se,top:ve,width:G,height:de}=pn(n.value);if($.x=se+G/2,$.y=ve+de/2,p.value==="hour"&&e.format==="24hr"){const{rangeXMin:ye,rangeXMax:j,rangeYMin:ee,rangeYMax:V}=z();S.x=[ye,j],S.y=[ee,V]}}function x(se){if(pt(se),e.readonly)return;_();const{clientX:ve,clientY:G}=se.touches[0],de=ve-$.x,ye=G-$.y,j=Math.round(P(Math.atan2(ye,de)));p.value==="hour"?ae(ve,G,j):p.value==="minute"?re(j):oe(j)}function q(){if(!e.readonly){if(p.value==="hour"&&s.value){p.value="minute";return}p.value==="minute"&&e.useSeconds&&l.value&&(p.value="second")}}function ge(){i.value=!1}return{getRad:O,time:g,container:n,inner:o,picker:t,isInner:r,type:p,ampm:h,isPreventNextUpdate:i,n:GB,classes:ZB,pack:bn,moveHand:x,checkPanel:A,checkAmpm:D,end:q,update:y,changePreventUpdate:ge,formatElevation:In}}});zy.render=xB;var Vy=zy;be(Vy);var yu=Vy;const ez={modelValue:{type:Array,default:()=>[]},accept:{type:String,default:"image/*"},capture:{type:[String,Boolean],default:void 0},multiple:Boolean,readonly:Boolean,disabled:Boolean,elevation:{type:[Boolean,Number,String],default:!0},resolveType:{type:String,default:"default"},removable:{type:Boolean,default:!0},maxlength:[Number,String],maxsize:[Number,String],previewed:{type:Boolean,default:!0},ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange","onRemove"]},rules:Array,hideList:Boolean,preventDefaultPreview:Boolean,onBeforeFilter:W(),onBeforeRead:W(),onAfterRead:W(),onBeforeRemove:W(),onRemove:W(),onOversize:W(),onPreview:W(),"onUpdate:modelValue":W()};var xi=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:nz,n:tz,classes:oz}=pe("uploader");let rz=0;const iz=["onClick"],az=["onClick"],sz=["src","alt"],lz=["multiple","accept","capture","disabled"],uz=["src"];function cz(e,n){const t=we("var-icon"),o=we("var-hover-overlay"),r=we("var-form-details"),i=we("var-popup"),a=Ge("ripple"),s=Ge("hover");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[R("div",{class:m(e.n("file-list"))},[(C(!0),M(Re,null,un(e.files,l=>He((C(),M("div",{class:m(e.classes(e.n("file"),e.formatElevation(e.elevation,2),[l.state==="loading",e.n("--loading")])),key:l.id,onClick:u=>e.preview(l)},[R("div",{class:m(e.n("file-name"))},$e(l.name||l.url),3),e.removable?(C(),M("div",{key:0,class:m(e.n("file-close")),onClick:Xn(u=>e.handleRemove(l),["stop"])},[ie(t,{class:m(e.n("file-close-icon")),"var-uploader-cover":"",name:"delete"},null,8,["class"])],10,az)):he("v-if",!0),l.cover?(C(),M("img",{key:1,class:m(e.n("file-cover")),style:te({objectFit:l.fit}),src:l.cover,alt:l.name},null,14,sz)):he("v-if",!0),R("div",{class:m(e.n("file-indicator"))},[R("div",{class:m(e.classes(e.n("progress"),[l.state==="success",e.n("--success")],[l.state==="error",e.n("--error")])),style:te({width:l.state==="success"||l.state==="error"?"100%":`${l.progress}%`})},null,6)],2)],10,iz)),[[a,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple}]])),128)),!e.maxlength||e.modelValue.lengthe.chooseFile&&e.chooseFile(...l))},[R("input",{ref:"input",type:"file",class:m(e.n("action-input")),multiple:e.multiple,accept:e.accept,capture:e.capture,disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly,onChange:n[0]||(n[0]=(...l)=>e.handleChange&&e.handleChange(...l))},null,42,lz),X(e.$slots,"default",{},()=>[ie(t,{class:m(e.n("action-icon")),"var-uploader-cover":"",name:"plus"},null,8,["class"]),ie(o,{hovering:e.hovering&&!e.disabled&&!e.formDisabled},null,8,["hovering"])])],2)),[[a,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple||!!e.$slots.default}],[s,e.handleHovering,"desktop"]]):he("v-if",!0)],2),ie(r,{"error-message":e.errorMessage,"extra-message":e.maxlengthText},ma({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:Te(()=>[X(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"]),ie(i,{class:m(e.n("preview")),"var-uploader-cover":"",position:"center",show:e.showPreview,"onUpdate:show":n[2]||(n[2]=l=>e.showPreview=l),onClosed:n[3]||(n[3]=l=>e.currentPreview=null)},{default:Te(()=>{var l,u;return[e.currentPreview&&e.isHTMLSupportVideo((l=e.currentPreview)==null?void 0:l.url)?(C(),M("video",{key:0,class:m(e.n("preview-video")),playsinline:"true","webkit-playsinline":"true","x5-playsinline":"true","x5-video-player-type":"h5","x5-video-player-fullscreen":"false",controls:"",src:(u=e.currentPreview)==null?void 0:u.url},null,10,uz)):he("v-if",!0)]}),_:1},8,["class","show"])],2)}const Ry=me({name:nz,directives:{Ripple:vn,Hover:Zn},components:{VarIcon:tn,VarPopup:po,VarFormDetails:Fn,VarHoverOverlay:tt},props:ez,setup(e){const n=I(null),t=I(!1),o=I(null),r=L(()=>{const{maxlength:x,modelValue:{length:q}}=e;return Rn(x)?`${q} / ${x}`:""}),{form:i,bindForm:a}=rt(),{errorMessage:s,validateWithTrigger:l,validate:u,resetValidation:c}=ot(),{hovering:d,handleHovering:f}=Pt(),v=L(()=>{const{modelValue:x,hideList:q}=e;return q?[]:x});let p=!1;const h={getSuccess:T,getError:B,getLoading:U};N(a,{validate:oe,resetValidation:c,reset:_}),Ce(()=>e.modelValue,()=>{!p&&re("onChange"),p=!1},{deep:!0});function $(x){const{disabled:q,previewed:ge,preventDefaultPreview:se,onPreview:ve}=e;if(i!=null&&i.disabled.value||q||!ge||(N(ve,Xe(x)),se))return;const{url:G}=x;if(Hd(G)){Ci(G);return}jd(G)&&(o.value=x,t.value=!0)}function S(x){return{id:rz++,url:"",cover:"",name:x.name,file:x,progress:0}}function O(x){const q=x.target,{files:ge}=q;return Array.from(ge)}function y(x){return xi(this,null,function*(){const q=x.file;if(e.resolveType==="default"&&q.type.startsWith("image")||e.resolveType==="data-url"){const se=yield gw(q);x.cover=se,x.url=se}return x})}function P(x){return x.map(y)}function A(x){const{onBeforeRead:q}=e;return x.map(ge=>new Promise(se=>{q||se({valid:!0,varFile:ge});const ve=ra(N(q,Xe(ge)));Promise.all(ve).then(G=>{se({valid:G.every(Boolean),varFile:ge})})}))}function k(x){return xi(this,null,function*(){const{maxsize:q,maxlength:ge,modelValue:se,onOversize:ve,onAfterRead:G,onBeforeFilter:de,readonly:ye,disabled:j}=e;if(i!=null&&i.disabled.value||i!=null&&i.readonly.value||j||ye)return;const ee=E=>E.filter(Y=>Y.file.size>K(q)?(N(ve,Xe(Y)),!1):!0),V=E=>{const Y=Math.min(E.length,K(ge)-se.length);return E.slice(0,Y)},fe=E=>xi(this,null,function*(){if(!de)return E;const Y=ra(de);for(const Q of Y)E=yield Q(E);return E});let J=O(x).map(S);J=yield fe(J),J=q!=null?ee(J):J,J=ge!=null?V(J):J;const Pe=yield Promise.all(P(J)),b=(yield Promise.all(A(Pe))).filter(({valid:E})=>E).map(({varFile:E})=>E);N(e["onUpdate:modelValue"],[...se,...b]),x.target.value="",b.forEach(E=>N(G,Xe(E)))})}function D(x){return xi(this,null,function*(){const{disabled:q,readonly:ge,modelValue:se,onBeforeRemove:ve,onRemove:G}=e;if(i!=null&&i.disabled.value||i!=null&&i.readonly.value||q||ge)return;if(ve){const ye=ra(N(ve,Xe(x)));if((yield Promise.all(ye)).some(j=>!j))return}const de=se.filter(ye=>ye!==x);N(G,Xe(x)),re("onRemove"),N(e["onUpdate:modelValue"],de)})}function T(){return e.modelValue.filter(x=>x.state==="success")}function B(){return e.modelValue.filter(x=>x.state==="error")}function U(){return e.modelValue.filter(x=>x.state==="loading")}function z(){n.value.click()}function ae(){o.value=null,t.value=!1,Ci.close()}function re(x){en(()=>{const{validateTrigger:q,rules:ge,modelValue:se}=e;l(q,x,ge,se,h)})}function oe(){return u(e.rules,e.modelValue,h)}function _(){p=!0,N(e["onUpdate:modelValue"],[]),c()}return{input:n,files:v,showPreview:t,currentPreview:o,errorMessage:s,maxlengthText:r,hovering:d,formDisabled:i==null?void 0:i.disabled,formReadonly:i==null?void 0:i.readonly,n:tz,classes:oz,formatElevation:In,toNumber:K,handleHovering:f,isHTMLSupportVideo:jd,isHTMLSupportImage:Hd,preview:$,handleChange:k,handleRemove:D,getSuccess:T,getError:B,getLoading:U,validate:oe,resetValidation:c,reset:_,chooseFile:z,closePreview:ae,toSizeUnit:ze}}});Ry.render=cz;var Ly=Ry;be(Ly);var $u=Ly;const dz={width:{type:Number,default:100},height:{type:Number,default:100},content:String,image:String,rotate:{type:Number,default:-22},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},gapX:{type:Number,default:0},gapY:{type:Number,default:0},zIndex:{type:[Number,String],default:10},opacity:{type:[Number,String],default:.5},fullscreen:Boolean,font:{type:Object,default:()=>({fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",fontSize:14})}};var fz=Object.defineProperty,vz=Object.defineProperties,hz=Object.getOwnPropertyDescriptors,Nv=Object.getOwnPropertySymbols,mz=Object.prototype.hasOwnProperty,pz=Object.prototype.propertyIsEnumerable,Iv=(e,n,t)=>n in e?fz(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,gz=(e,n)=>{for(var t in n||(n={}))mz.call(n,t)&&Iv(e,t,n[t]);if(Nv)for(var t of Nv(n))pz.call(n,t)&&Iv(e,t,n[t]);return e},bz=(e,n)=>vz(e,hz(n)),Mv=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:yz,n:$z,classes:wz}=pe("watermark"),Cz={ref:"svgRef"},Sz=["viewBox","width","height"],kz=["width","height"],Pz=["href","xlink:href","x","y","width","height"];function Oz(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default"),(C(),Ae(Et,{to:"body",disabled:!e.fullscreen},[R("div",{ref:"containerRef",class:m(e.classes(e.n("container"),[e.fullscreen,e.n("--fullscreen")])),style:te({backgroundImage:`url(${e.watermarkUrl})`,zIndex:e.zIndex})},[He(R("div",Cz,[(C(),M("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:`0 0 ${e.width+e.gapX} ${e.height+e.gapY}`,width:`${e.width+e.gapX}`,height:`${e.height+e.gapY}`,style:te({padding:`0 ${e.gapX}px ${e.gapY}px 0`,opacity:e.opacity})},[e.showContent()?(C(),M("foreignObject",{key:0,x:"0",y:"0",width:e.width,height:e.height},[R("div",{xmlns:"http://www.w3.org/1999/xhtml",style:te({transform:`translate(${e.offsetX}px, ${e.offsetY}px) rotate(${e.rotate}deg)`,transformOrigin:"center"})},[X(e.$slots,"content",{},()=>[R("span",{style:te(bz(gz({},e.font),{fontSize:`${e.font.fontSize}px`,color:e.textColor}))},$e(e.content),5)])],4)],8,kz)):he("v-if",!0),!e.$slots.content&&e.image?(C(),M("image",{key:1,href:e.imageUrl,"xlink:href":e.imageUrl,x:e.offsetX,y:e.offsetY,width:e.width,height:e.height,style:te({transform:`rotate(${e.rotate}deg)`,transformOrigin:"center"})},null,12,Pz)):he("v-if",!0)],12,Sz))],512),[[kt,!1]])],6)],8,["disabled"]))],2)}const Uy=me({name:yz,props:dz,setup(e,{slots:n}){const t=I(""),o=I(""),r=I(""),i=I(null),a=I(null);Ce(()=>[e.image,e.font,e.content,e.height,e.width,e.rotate,e.gapX,e.gapY,e.offsetX,e.offsetY,e.opacity],d,{deep:!0}),Co(d),Ht(c);function s(){return!!(n.content||e.content&&!e.image)}function l(){return Mv(this,null,function*(){return new Promise(f=>{const v=document.createElement("canvas"),p=v.getContext("2d"),h=new Image;h.crossOrigin="anonymous",h.referrerPolicy="no-referrer",h.src=e.image,h.onload=()=>{v.width=h.width,v.height=h.height,p.drawImage(h,0,0),f(v.toDataURL())}})})}function u(f){const v=new Blob([f],{type:"image/svg+xml"});return URL.createObjectURL(v)}function c(){t.value&&URL.revokeObjectURL(t.value)}function d(){return Mv(this,null,function*(){r.value=Wo(a.value).color,e.image&&(o.value=yield l()),yield en(),c(),t.value=u(i.value.innerHTML)})}return{svgRef:i,containerRef:a,watermarkUrl:t,imageUrl:o,textColor:r,n:$z,classes:wz,showContent:s,resize:d}}});Uy.render=Oz;var Fy=Uy;be(Fy);var wu=Fy;const Tz="2.18.0";function Ez(e){tl.install&&e.use(tl),ol.install&&e.use(ol),al.install&&e.use(al),sl.install&&e.use(sl),ll.install&&e.use(ll),Ca.install&&e.use(Ca),ul.install&&e.use(ul),cl.install&&e.use(cl),dl.install&&e.use(dl),fl.install&&e.use(fl),Un.install&&e.use(Un),vl.install&&e.use(vl),hl.install&&e.use(hl),Sa.install&&e.use(Sa),mi.install&&e.use(mi),ml.install&&e.use(ml),ka.install&&e.use(ka),pl.install&&e.use(pl),gl.install&&e.use(gl),bl.install&&e.use(bl),Kn.install&&e.use(Kn),Cl.install&&e.use(Cl),El.install&&e.use(El),Il.install&&e.use(Il),Ml.install&&e.use(Ml),Dl.install&&e.use(Dl),Ia.install&&e.use(Ia),zl.install&&e.use(zl),Vl.install&&e.use(Vl),yi.install&&e.use(yi),Rl.install&&e.use(Rl),Ll.install&&e.use(Ll),Fn.install&&e.use(Fn),Zn.install&&e.use(Zn),tt.install&&e.use(tt),tn.install&&e.use(tn),Ul.install&&e.use(Ul),Ci.install&&e.use(Ci),Fl.install&&e.use(Fl),Hl.install&&e.use(Hl),Da.install&&e.use(Da),hi.install&&e.use(hi),jl.install&&e.use(jl),Yl.install&&e.use(Yl),pr.install&&e.use(pr),Wl.install&&e.use(Wl),nl.install&&e.use(nl),wr.install&&e.use(wr),ql.install&&e.use(ql),Kl.install&&e.use(Kl),Xl.install&&e.use(Xl),Gl.install&&e.use(Gl),Zl.install&&e.use(Zl),Jl.install&&e.use(Jl),Ql.install&&e.use(Ql),po.install&&e.use(po),_l.install&&e.use(_l),xl.install&&e.use(xl),eu.install&&e.use(eu),nu.install&&e.use(nu),tu.install&&e.use(tu),ou.install&&e.use(ou),vn.install&&e.use(vn),ru.install&&e.use(ru),iu.install&&e.use(iu),au.install&&e.use(au),su.install&&e.use(su),uu.install&&e.use(uu),cu.install&&e.use(cu),du.install&&e.use(du),fu.install&&e.use(fu),Si.install&&e.use(Si),Oi.install&&e.use(Oi),$i.install&&e.use($i),wi.install&&e.use(wi),vu.install&&e.use(vu),hu.install&&e.use(hu),mu.install&&e.use(mu),pu.install&&e.use(pu),gu.install&&e.use(gu),bu.install&&e.use(bu),Ti.install&&e.use(Ti),yu.install&&e.use(yu),Ma.install&&e.use(Ma),$u.install&&e.use($u),wu.install&&e.use(wu)}const b8={version:Tz,install:Ez,ActionSheet:tl,AppBar:ol,Avatar:al,AvatarGroup:sl,BackTop:ll,Badge:Ca,BottomNavigation:ul,BottomNavigationItem:cl,Breadcrumb:dl,Breadcrumbs:fl,Button:Un,ButtonGroup:vl,Card:hl,Cell:Sa,Checkbox:mi,CheckboxGroup:ml,Chip:ka,Col:pl,Collapse:gl,CollapseItem:bl,Context:Kn,Countdown:Cl,Counter:El,DatePicker:Il,Dialog:Ml,Divider:Dl,Drag:Ia,Ellipsis:zl,Fab:Vl,FieldDecorator:yi,FloatingPanel:Rl,Form:Ll,FormDetails:Fn,Hover:Zn,HoverOverlay:tt,Icon:tn,Image:Ul,ImagePreview:Ci,IndexAnchor:Fl,IndexBar:Hl,Input:Da,Lazy:hi,Link:jl,List:Yl,Loading:pr,LoadingBar:Wl,Locale:nl,Menu:wr,MenuOption:ql,MenuSelect:Kl,Option:Xl,Overlay:Gl,Pagination:Zl,Paper:Jl,Picker:Ql,Popup:po,Progress:_l,PullRefresh:xl,Radio:eu,RadioGroup:nu,Rate:tu,Result:ou,Ripple:vn,Row:ru,Select:iu,Skeleton:au,Slider:su,Snackbar:uu,Space:cu,Step:du,Steps:fu,Sticky:Si,StyleProvider:Oi,Swipe:$i,SwipeItem:wi,Switch:vu,Tab:hu,TabItem:mu,Table:pu,Tabs:gu,TabsItems:bu,Themes:Ti,TimePicker:yu,Tooltip:Ma,Uploader:$u,Watermark:wu};var Nz=typeof global=="object"&&global&&global.Object===Object&&global;const Iz=Nz;var Mz=typeof self=="object"&&self&&self.Object===Object&&self,Dz=Iz||Mz||Function("return this")();const wc=Dz;var Az=wc.Symbol;const Cr=Az;var Hy=Object.prototype,Bz=Hy.hasOwnProperty,zz=Hy.toString,Fr=Cr?Cr.toStringTag:void 0;function Vz(e){var n=Bz.call(e,Fr),t=e[Fr];try{e[Fr]=void 0;var o=!0}catch{}var r=zz.call(e);return o&&(n?e[Fr]=t:delete e[Fr]),r}var Rz=Object.prototype,Lz=Rz.toString;function Uz(e){return Lz.call(e)}var Fz="[object Null]",Hz="[object Undefined]",Dv=Cr?Cr.toStringTag:void 0;function jy(e){return e==null?e===void 0?Hz:Fz:Dv&&Dv in Object(e)?Vz(e):Uz(e)}function jz(e){return e!=null&&typeof e=="object"}var Yz="[object Symbol]";function Cc(e){return typeof e=="symbol"||jz(e)&&jy(e)==Yz}function Wz(e,n){for(var t=-1,o=e==null?0:e.length,r=Array(o);++t-1}function B5(e,n){var t=this.__data__,o=ds(t,e);return o<0?(++this.size,t.push([e,n])):t[o][1]=n,this}function Br(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{const o=n==="mobile"?Ky().get("language")??"zh-CN":n4().language;e(o)};Gy(t),t()}function Xy(e){return Object.entries(e).reduce((n,[t,o])=>(n[`--site-config-${t}`]=o,n),{})}function $8(e){const n=()=>{const t=Ky().get("platform")??"mobile";e(t)};Gy(n),n()}function Gy(e){Co(()=>{window.addEventListener("hashchange",e),window.addEventListener("popstate",e)}),Ht(()=>{window.removeEventListener("hashchange",e),window.removeEventListener("popstate",e)})}function w8(e,n){o4(t=>{const o=Xy(Aa(Fs,t,{})),r={...o,...Ti.dark,...e};Oi(t==="darkTheme"?r:o),Zy(t),n==null||n(t)})}function Zy(e){document.documentElement.style.setProperty("color-scheme",e==="darkTheme"?"dark":"light")}function o4(e,n=!0){const t=o=>{const{data:r}=o;r.action==="theme-change"&&e(r.data,r.from)};window.addEventListener("message",t),n&&Ht(()=>{window.removeEventListener("message",t)}),e(t4(),"default")}var r4=(e=>(e[e.TITLE=1]="TITLE",e[e.COMPONENT=2]="COMPONENT",e[e.DOCUMENTATION=3]="DOCUMENTATION",e))(r4||{});function C8(e={}){return Object.keys(e).reduce((n,t)=>{const o=e[t];return o&&(n[t]=o),n},{})}function S8(){return/Android|webOS|iPhone|iPod|BlackBerry|Pad/i.test(navigator.userAgent)}function k8(){return window.self!==window.top}function P8(e,n){const t=Xy(Aa(e,n,{}));Oi({...t,...n==="darkTheme"?Ti.dark:{}}),Zy(n)}function O8(e){return btoa(unescape(encodeURIComponent(e)))}const T8=(e,n)=>{const t=e.__vccOpts||e;for(const[o,r]of n)t[o]=r;return t},i4="modulepreload",a4=function(e,n){return new URL(e,n).href},Vv={},E8=function(n,t,o){if(!t||t.length===0)return n();const r=document.getElementsByTagName("link");return Promise.all(t.map(i=>{if(i=a4(i,o),i in Vv)return;Vv[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let c=r.length-1;c>=0;c--){const d=r[c];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":i4,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>n())};/*! + `,"--skeleton-avatar-background-color":"hsla(0,0%,100%,.12)","--skeleton-title-background-color":"hsla(0,0%,100%,.12)"},pB={"--step-content-color":"rgba(255, 255, 255, .38)","--step-content-active-color":"#fff","--step-line-background":"#fff"},gB={"--switch-track-background":"#727272","--switch-handle-background":"#727272"},bB={"--tab-inactive-color":"rgba(255, 255, 255, .65)"},yB={"--table-background":"#303030","--table-thead-th-text-color":"rgba(255, 255, 255, 0.6)","--table-tbody-td-text-color":"#fff","--table-tbody-tr-hover-background":"#4c4b4b","--table-thead-border-bottom":"thin solid rgba(255, 255, 255, 0.12)","--table-tbody-tr-border-bottom":"thin solid rgba(255, 255, 255, 0.12)","--table-footer-border-top":"thin solid rgba(255, 255, 255, 0.12)"},$B={"--time-picker-clock-container-background":"#545454","--time-picker-body-background":"#303030","--time-picker-clock-item-disable-color":"#aaaaaa","--time-picker-clock-item-text-color":"#fff"},wB={"--uploader-action-background":"#303030","--uploader-action-icon-color":"#fff","--uploader-file-name-background":"#303030","--uploader-file-name-color":"#aaa","--uploader-file-cover-background":"#303030"},CB={"--tabs-background":"#1e1e1e"},SB={"--app-bar-color":"#272727"},kB={"--bottom-navigation-background-color":"#272727","--bottom-navigation-border-color":"#444"},PB={"--bottom-navigation-item-active-background-color":"#272727"},OB={"--menu-background-color":"#272727"},TB={"--breadcrumb-inactive-color":"#aaa"},EB={"--paper-background":"#303030"},NB={"--avatar-background-color":"#303030","--avatar-border":"2px solid #1e1e1e"},IB={"--link-default-color":"#fff"},MB={"--progress-label-color":"#fff"},DB={"--option-text-color":"#fff"},AB={"--countdown-text-color":"#fff"},BB={"--watermark-content-color":"#ffffff"},zB={"--menu-select-menu-background-color":"#272727"},VB={"--menu-option-text-color":"#fff"},RB=Object.defineProperty,Ov=Object.getOwnPropertySymbols,LB=Object.prototype.hasOwnProperty,UB=Object.prototype.propertyIsEnumerable,Tv=(e,n,t)=>n in e?RB(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ve=(e,n)=>{for(var t in n||(n={}))LB.call(n,t)&&Tv(e,t,n[t]);if(Ov)for(var t of Ov(n))UB.call(n,t)&&Tv(e,t,n[t]);return e},FB=Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve({"--color-body":"#1e1e1e","--color-text":"#fff","--color-primary":"#4a7afe","--color-info":"#10afef","--color-success":"#10c48f","--color-warning":"#ff8800","--color-danger":"#ef5350","--color-disabled":"#404040","--color-text-disabled":"#757575"},QA),xA),_A),$B),oB),mB),CB),bB),cB),rB),ZA),nB),JA),wB),tB),dB),gB),pB),lB),yB),sB),hB),fB),eB),iB),uB),SB),kB),PB),OB),vB),TB),EB),NB),IB),MB),DB),AB),BB),zB),VB),aB);const HB={dark:FB};var Ti=HB;const Qn=["12","1","2","3","4","5","6","7","8","9","10","11"],An=["00","13","14","15","16","17","18","19","20","21","22","23"],Ev=["00","05","10","15","20","25","30","35","40","45","50","55"],jB={modelValue:String,elevation:{type:[Boolean,Number,String],default:!1},color:String,headerColor:String,titleColor:String,format:{type:String,default:"ampm"},allowedTime:Object,min:String,max:String,useSeconds:Boolean,readonly:Boolean,"onUpdate:modelValue":W(),onChange:W()},My=(e,n)=>e==="24hr"||n==="am",$c=(e,n,t)=>{const o=Qn.findIndex(i=>K(i)===K(t)),r=My(e,n)?t:An[o];return{hourStr:r,hourNum:K(r)}},Vn=e=>{const[n,t,o]=e.split(":");return{hour:K(n),minute:K(t),second:K(o)}},Dy=e=>{var n,t;const{time:o,format:r,ampm:i,hour:a,max:s,min:l,disableHour:u}=e,{hourStr:c,hourNum:d}=$c(r,i,a);let f=!1,v=!1;if(u.includes(c))return!0;if(s&&!l){const{hour:p,minute:h}=Vn(s);f=p===d&&o>h}if(!s&&l){const{hour:p,minute:h}=Vn(l);f=p===d&&oh}return(n=e.allowedTime)!=null&&n.minutes&&(v=(t=e.allowedTime)==null?void 0:t.minutes(o)),f||v},Ay=e=>{var n,t;const{time:o,format:r,ampm:i,hour:a,minute:s,max:l,min:u,disableHour:c}=e,{hourStr:d,hourNum:f}=$c(r,i,a);let v=!1,p=!1;if(c.includes(d))return!0;if(l&&!u){const{hour:h,minute:g,second:$}=Vn(l);v=h===f&&g$}if(!l&&u){const{hour:h,minute:g,second:$}=Vn(u);v=h===f&&g>s||g===s&&o>$}if(l&&u){const{hour:h,minute:g,second:$}=Vn(l),{hour:S,minute:O,second:y}=Vn(u);v=h===f&&gs||h===f&&g===s&&o>$||S===f&&O===s&&o(C(),M("div",{class:m(e.classes(e.n("clock-item"),[e.isActive(o,!1),e.n("clock-item--active")],[e.isDisable(t),e.n("clock-item--disable")])),key:t,style:te(e.getStyle(o,t,!1))},we(t),7))),128)),e.format==="24hr"&&e.type==="hour"?(C(),M("div",{key:0,class:m(e.n("clock-inner")),ref:"inner"},[(C(!0),M(Re,null,un(e.hours24,(t,o)=>(C(),M("div",{class:m(e.classes(e.n("clock-item"),[e.isActive(o,!0),e.n("clock-item--active")],[e.isDisable(t),e.n("clock-item--disable")])),key:t,style:te(e.getStyle(o,t,!0))},we(t),7))),128))],2)):he("v-if",!0)],2)}const By=me({name:"Clock",props:{isInner:{type:Boolean,required:!0},rad:{type:Number},format:{type:String,default:"ampm"},allowedTime:{type:Object},time:{type:Object,required:!0},useSeconds:{type:Boolean,default:!1},preventNextUpdate:{type:Boolean,default:!1},type:{type:String,default:"hour"},ampm:{type:String,default:"am"},color:{type:String},min:{type:String},max:{type:String}},emits:["update","change-prevent-update"],setup(e,{emit:n}){const t=I(null),o=I([]),r=I([]),i=R(()=>({transform:`rotate(${K(e.rad)}deg)`,height:e.isInner&&e.type==="hour"?"calc(50% - 40px)":"calc(50% - 4px)",backgroundColor:u(),borderColor:u()})),a=R(()=>{if(e.rad===void 0)return;const h=e.rad/30;return h>=0?h:h+12}),s=R(()=>e.type==="hour"?Qn:Ev),l=(h,g)=>{h=h??(e.type==="minute"?e.time.minute:e.time.second);const $=e.type==="minute"?Dy:Ay,S={time:K(h),format:e.format,ampm:e.ampm,hour:e.time.hour,minute:K(e.time.minute),max:e.max,min:e.min,allowedTime:e.allowedTime,disableHour:o.value};return g&&e.type==="minute"&&Reflect.deleteProperty(S,"minute"),$(S)},u=()=>{if(a.value===void 0)return e.color;const h=e.isInner?An[a.value]:s.value[a.value];return s.value===Ev?l()?"#bdbdbd":e.color:d(h)?"#bdbdbd":e.color},c=(h,g)=>g?a.value===h&&e.isInner:a.value===h&&(!e.isInner||e.type!=="hour"),d=h=>{if(e.type==="hour"){if(My(e.format,e.ampm))return o.value.includes(h);const g=Qn.findIndex($=>$===h);return r.value.includes(g)}return l(h,!0)},f=(h,g,$)=>{const S=2*Math.PI/12*h-Math.PI/2,O=50*(1+Math.cos(S)),y=50*(1+Math.sin(S)),P=()=>c(h,$)?d(g)?{backgroundColor:"#bdbdbd",color:"#fff"}:{backgroundColor:e.color,color:void 0}:{backgroundColor:void 0,color:void 0},{backgroundColor:A,color:k}=P();return{left:`${O}%`,top:`${y}%`,backgroundColor:A,color:k}},v=()=>{const{width:h,height:g}=pn(t.value);return{width:h,height:g}},p=()=>{if(a.value===void 0)return;const h=e.ampm==="am"?Qn:An;return Ro(h[a.value],2,"0")};return Ce([a,()=>e.isInner],([h,g],[$,S])=>{if(h===$&&g===S||e.type!=="hour"||a.value===void 0)return;const y=g?An[a.value]:p(),P=e.useSeconds?`:${e.time.second}`:"",A=`${y}:${e.time.minute}${P}`;e.preventNextUpdate||n("update",A),n("change-prevent-update")}),Ce(()=>e.rad,(h,g)=>{if(e.type==="hour"||h===void 0||g===void 0)return;const $=h/6>=0?h/6:h/6+60,S=g/6>=0?g/6:g/6+60;if($===S)return;let O;const{hourStr:y}=$c(e.format,e.ampm,e.time.hour);if(e.type==="minute"){const P=Ne().minute($).format("mm"),A=e.useSeconds?`:${e.time.second}`:"";O=`${y}:${P}${A}`}if(e.type==="second"){const P=Ne().second($).format("ss"),A=e.useSeconds?`:${P}`:"";O=`${y}:${e.time.minute}${A}`}n("update",O)}),Ce([()=>e.max,()=>e.min,()=>e.allowedTime],([h,g,$])=>{if(o.value=[],h&&!g){const{hour:S}=Vn(h),O=Qn.filter(P=>K(P)>S),y=An.filter(P=>K(P)>S);o.value=[...O,...y]}if(!h&&g){const{hour:S}=Vn(g),O=Qn.filter(P=>K(P)K(P)K(A)S),P=An.filter(A=>K(A)S);o.value=[...y,...P]}if($!=null&&$.hours){const{hours:S}=$,O=Qn.filter(P=>!S(K(P))),y=An.filter(P=>!S(K(P)));o.value=[...new Set([...o.value,...O,...y])]}r.value=o.value.map(S=>An.findIndex(O=>S===O)).filter(S=>S>=0)},{immediate:!0}),{n:YB,classes:WB,hours24:An,timeScales:s,inner:t,handStyle:i,disableHour:o,isActive:c,isDisable:d,getSize:v,getStyle:f,activeItemIndex:a}}});By.render=qB;var KB=By;const{name:XB,n:GB,classes:ZB}=pe("time-picker"),JB=e=>($o(""),e=e(),wo(),e),QB=JB(()=>F("span",null,":",-1)),_B={key:0};function xB(e,n){const t=$e("clock");return C(),M("div",{class:m(e.classes(e.n(),e.formatElevation(e.elevation,2))),ref:"picker"},[F("div",{class:m(e.n("title")),style:te({background:e.titleColor||e.headerColor||e.color})},[F("div",{class:m(e.n("title-time"))},[F("div",{class:m(e.classes(e.n("title-btn"),[e.type==="hour",e.n("title-btn--active")])),onClick:n[0]||(n[0]=o=>e.checkPanel("hour"))},we(e.time.hour),3),QB,F("div",{class:m(e.classes(e.n("title-btn"),[e.type==="minute",e.n("title-btn--active")])),onClick:n[1]||(n[1]=o=>e.checkPanel("minute"))},we(e.time.minute),3),e.useSeconds?(C(),M("span",_B,":")):he("v-if",!0),e.useSeconds?(C(),M("div",{key:1,class:m(e.classes(e.n("title-btn"),[e.type==="second",e.n("title-btn--active")])),onClick:n[2]||(n[2]=o=>e.checkPanel("second"))},we(e.time.second),3)):he("v-if",!0)],2),e.format==="ampm"?(C(),M("div",{key:0,class:m(e.n("title-ampm"))},[F("div",{class:m(e.classes(e.n("title-btn"),[e.ampm==="am",e.n("title-btn--active")])),onClick:n[3]||(n[3]=o=>e.checkAmpm("am"))},"AM",2),F("div",{class:m(e.classes(e.n("title-btn"),[e.ampm==="pm",e.n("title-btn--active")])),onClick:n[4]||(n[4]=o=>e.checkAmpm("pm"))},"PM",2)],2)):he("v-if",!0)],6),F("div",{class:m(e.n("body"))},[F("div",{class:m(e.n("clock-container")),onTouchstart:n[5]||(n[5]=(...o)=>e.moveHand&&e.moveHand(...o)),onTouchmove:n[6]||(n[6]=(...o)=>e.moveHand&&e.moveHand(...o)),onTouchend:n[7]||(n[7]=(...o)=>e.end&&e.end(...o)),ref:"container"},[ie(nn,{name:`${e.n()}-panel-fade`},{default:Te(()=>[(C(),Ae(t,{key:e.type,ref:"inner",type:e.type,ampm:e.ampm,color:e.color,"is-inner":e.isInner,format:e.format,"allowed-time":e.allowedTime,rad:e.getRad,time:e.time,"prevent-next-update":e.isPreventNextUpdate,"use-seconds":e.useSeconds,max:e.max,min:e.min,onUpdate:e.update,onChangePreventUpdate:e.changePreventUpdate},null,8,["type","ampm","color","is-inner","format","allowed-time","rad","time","prevent-next-update","use-seconds","max","min","onUpdate","onChangePreventUpdate"]))]),_:1},8,["name"])],34)],2)],2)}const zy=me({name:XB,components:{Clock:KB},props:jB,setup(e){const n=I(null),t=I(null),o=I(null),r=I(!1),i=I(!1),a=I(!1),s=I(!1),l=I(!1),u=I(!1),c=I(!1),d=I(0),f=I(0),v=I(),p=I("hour"),h=I("am"),g=I({hour:"00",minute:"00",second:"00"}),$=Xe({x:0,y:0}),S=Xe({x:[],y:[]}),O=R(()=>p.value==="hour"?v.value:p.value==="minute"?d.value:f.value);Ce(()=>e.modelValue,se=>{if(se){const{hour:ve,minute:G,second:de}=Vn(se),ye=Ne().hour(ve).format("hh"),j=Ne().hour(ve).format("HH"),ee=Ne().minute(G).format("mm"),V=Ne().second(de).format("ss");v.value=(ye==="12"?0:K(ye))*30,d.value=K(ee)*6,f.value=K(V)*6,g.value=B(se),e.format!=="24hr"&&(h.value=Ro(`${ve}`,2,"0")===j&&An.includes(j)?"pm":"am"),r.value=e.format==="24hr"&&An.includes(j)}},{immediate:!0});function y(se){N(e["onUpdate:modelValue"],se),N(e.onChange,se)}function P(se){return se*57.29577951308232}function A(se){s.value=!1,c.value=!1,p.value=se}function k(se){const{disableHour:ve}=o.value,G=Qn.findIndex(j=>K(j)===K(g.value.hour)),de=se==="am"?Qn:An;return[...de.slice(G),...de.slice(0,G)].find((j,ee)=>(i.value=ee!==0,!ve.includes(j)))}function D(se){if(e.readonly)return;h.value=se;const ve=k(se);if(!ve)return;const G=e.useSeconds?`:${g.value.second}`:"",de=`${Ro(ve,2,"0")}:${g.value.minute}${G}`;y(de)}function T(se,ve){const G=se>=S.x[0]&&se<=S.x[1],de=ve>=S.y[0]&&ve<=S.y[1];return G&&de}function B(se){const ve=e.format==="24hr"?"HH":"hh",{hour:G,minute:de,second:ye}=Vn(se);return{hour:Ne().hour(G).format(ve),minute:Ne().minute(de).format("mm"),second:Ne().second(ye).format("ss")}}function L(se){const ve=se/30;return ve>=0?ve:ve+12}function z(){const{width:se,height:ve}=o.value.getSize(),G=$.x-se/2-8,de=$.x+se/2+8,ye=$.y-ve/2-8,j=$.y+ve/2+8;return{rangeXMin:G,rangeXMax:de,rangeYMin:ye,rangeYMax:j}}function ae(se,ve,G){const{disableHour:de}=o.value;a.value=T(se,ve);const ye=Math.round(G/30)*30+90,j=L(ye),ee=r.value?Qn[j]:An[j];if(de.includes(ee)||(r.value=e.format==="24hr"?T(se,ve):!1),r.value!==a.value)return;const V=r.value||h.value==="pm"?An[j]:Qn[j];u.value=de.includes(V),!u.value&&(v.value=ye,s.value=!0)}function re(se){const{disableHour:ve}=o.value,G=Math.round(se/6)*6+90,ye={time:G/6>=0?G/6:G/6+60,format:e.format,ampm:h.value,hour:g.value.hour,max:e.max,min:e.min,disableHour:ve,allowedTime:e.allowedTime};c.value=Dy(ye),!c.value&&(d.value=G,l.value=!0)}function oe(se){const{disableHour:ve}=o.value,G=Math.round(se/6)*6+90,ye={time:G/6>=0?G/6:G/6+60,format:e.format,ampm:h.value,hour:g.value.hour,minute:K(g.value.minute),max:e.max,min:e.min,disableHour:ve,allowedTime:e.allowedTime};Ay(ye)||(f.value=G)}function _(){const{left:se,top:ve,width:G,height:de}=pn(n.value);if($.x=se+G/2,$.y=ve+de/2,p.value==="hour"&&e.format==="24hr"){const{rangeXMin:ye,rangeXMax:j,rangeYMin:ee,rangeYMax:V}=z();S.x=[ye,j],S.y=[ee,V]}}function x(se){if(pt(se),e.readonly)return;_();const{clientX:ve,clientY:G}=se.touches[0],de=ve-$.x,ye=G-$.y,j=Math.round(P(Math.atan2(ye,de)));p.value==="hour"?ae(ve,G,j):p.value==="minute"?re(j):oe(j)}function q(){if(!e.readonly){if(p.value==="hour"&&s.value){p.value="minute";return}p.value==="minute"&&e.useSeconds&&l.value&&(p.value="second")}}function ge(){i.value=!1}return{getRad:O,time:g,container:n,inner:o,picker:t,isInner:r,type:p,ampm:h,isPreventNextUpdate:i,n:GB,classes:ZB,moveHand:x,checkPanel:A,checkAmpm:D,end:q,update:y,changePreventUpdate:ge,formatElevation:In}}});zy.render=xB;var Vy=zy;be(Vy);var yu=Vy;const ez={modelValue:{type:Array,default:()=>[]},accept:{type:String,default:"image/*"},capture:{type:[String,Boolean],default:void 0},multiple:Boolean,readonly:Boolean,disabled:Boolean,elevation:{type:[Boolean,Number,String],default:!0},resolveType:{type:String,default:"default"},removable:{type:Boolean,default:!0},maxlength:[Number,String],maxsize:[Number,String],previewed:{type:Boolean,default:!0},ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange","onRemove"]},rules:Array,hideList:Boolean,preventDefaultPreview:Boolean,onBeforeFilter:W(),onBeforeRead:W(),onAfterRead:W(),onBeforeRemove:W(),onRemove:W(),onOversize:W(),onPreview:W(),"onUpdate:modelValue":W()};var xi=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:nz,n:tz,classes:oz}=pe("uploader");let rz=0;const iz=["onClick"],az=["onClick"],sz=["src","alt"],lz=["multiple","accept","capture","disabled"],uz=["src"];function cz(e,n){const t=$e("var-icon"),o=$e("var-hover-overlay"),r=$e("var-form-details"),i=$e("var-popup"),a=Ge("ripple"),s=Ge("hover");return C(),M("div",{class:m(e.classes(e.n(),e.n("$--box")))},[F("div",{class:m(e.n("file-list"))},[(C(!0),M(Re,null,un(e.files,l=>He((C(),M("div",{class:m(e.classes(e.n("file"),e.formatElevation(e.elevation,2),[l.state==="loading",e.n("--loading")])),key:l.id,onClick:u=>e.preview(l)},[F("div",{class:m(e.n("file-name"))},we(l.name||l.url),3),e.removable?(C(),M("div",{key:0,class:m(e.n("file-close")),onClick:Xn(u=>e.handleRemove(l),["stop"])},[ie(t,{class:m(e.n("file-close-icon")),"var-uploader-cover":"",name:"delete"},null,8,["class"])],10,az)):he("v-if",!0),l.cover?(C(),M("img",{key:1,class:m(e.n("file-cover")),style:te({objectFit:l.fit}),src:l.cover,alt:l.name},null,14,sz)):he("v-if",!0),F("div",{class:m(e.n("file-indicator"))},[F("div",{class:m(e.classes(e.n("progress"),[l.state==="success",e.n("--success")],[l.state==="error",e.n("--error")])),style:te({width:l.state==="success"||l.state==="error"?"100%":`${l.progress}%`})},null,6)],2)],10,iz)),[[a,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple}]])),128)),!e.maxlength||e.modelValue.lengthe.chooseFile&&e.chooseFile(...l))},[F("input",{ref:"input",type:"file",class:m(e.n("action-input")),multiple:e.multiple,accept:e.accept,capture:e.capture,disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly,onChange:n[0]||(n[0]=(...l)=>e.handleChange&&e.handleChange(...l))},null,42,lz),X(e.$slots,"default",{},()=>[ie(t,{class:m(e.n("action-icon")),"var-uploader-cover":"",name:"plus"},null,8,["class"]),ie(o,{hovering:e.hovering&&!e.disabled&&!e.formDisabled},null,8,["hovering"])])],2)),[[a,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple||!!e.$slots.default}],[s,e.handleHovering,"desktop"]]):he("v-if",!0)],2),ie(r,{"error-message":e.errorMessage,"extra-message":e.maxlengthText},ma({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:Te(()=>[X(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"]),ie(i,{class:m(e.n("preview")),"var-uploader-cover":"",position:"center",show:e.showPreview,"onUpdate:show":n[2]||(n[2]=l=>e.showPreview=l),onClosed:n[3]||(n[3]=l=>e.currentPreview=null)},{default:Te(()=>{var l,u;return[e.currentPreview&&e.isHTMLSupportVideo((l=e.currentPreview)==null?void 0:l.url)?(C(),M("video",{key:0,class:m(e.n("preview-video")),playsinline:"true","webkit-playsinline":"true","x5-playsinline":"true","x5-video-player-type":"h5","x5-video-player-fullscreen":"false",controls:"",src:(u=e.currentPreview)==null?void 0:u.url},null,10,uz)):he("v-if",!0)]}),_:1},8,["class","show"])],2)}const Ry=me({name:nz,directives:{Ripple:vn,Hover:Zn},components:{VarIcon:tn,VarPopup:po,VarFormDetails:Fn,VarHoverOverlay:tt},props:ez,setup(e){const n=I(null),t=I(!1),o=I(null),r=R(()=>{const{maxlength:x,modelValue:{length:q}}=e;return Rn(x)?`${q} / ${x}`:""}),{form:i,bindForm:a}=rt(),{errorMessage:s,validateWithTrigger:l,validate:u,resetValidation:c}=ot(),{hovering:d,handleHovering:f}=Pt(),v=R(()=>{const{modelValue:x,hideList:q}=e;return q?[]:x});let p=!1;const h={getSuccess:T,getError:B,getLoading:L};N(a,{validate:oe,resetValidation:c,reset:_}),Ce(()=>e.modelValue,()=>{!p&&re("onChange"),p=!1},{deep:!0});function $(x){const{disabled:q,previewed:ge,preventDefaultPreview:se,onPreview:ve}=e;if(i!=null&&i.disabled.value||q||!ge||(N(ve,Xe(x)),se))return;const{url:G}=x;if(Hd(G)){Ci(G);return}jd(G)&&(o.value=x,t.value=!0)}function S(x){return{id:rz++,url:"",cover:"",name:x.name,file:x,progress:0}}function O(x){const q=x.target,{files:ge}=q;return Array.from(ge)}function y(x){return xi(this,null,function*(){const q=x.file;if(e.resolveType==="default"&&q.type.startsWith("image")||e.resolveType==="data-url"){const se=yield gw(q);x.cover=se,x.url=se}return x})}function P(x){return x.map(y)}function A(x){const{onBeforeRead:q}=e;return x.map(ge=>new Promise(se=>{q||se({valid:!0,varFile:ge});const ve=ra(N(q,Xe(ge)));Promise.all(ve).then(G=>{se({valid:G.every(Boolean),varFile:ge})})}))}function k(x){return xi(this,null,function*(){const{maxsize:q,maxlength:ge,modelValue:se,onOversize:ve,onAfterRead:G,onBeforeFilter:de,readonly:ye,disabled:j}=e;if(i!=null&&i.disabled.value||i!=null&&i.readonly.value||j||ye)return;const ee=E=>E.filter(Y=>Y.file.size>K(q)?(N(ve,Xe(Y)),!1):!0),V=E=>{const Y=Math.min(E.length,K(ge)-se.length);return E.slice(0,Y)},fe=E=>xi(this,null,function*(){if(!de)return E;const Y=ra(de);for(const Q of Y)E=yield Q(E);return E});let J=O(x).map(S);J=yield fe(J),J=q!=null?ee(J):J,J=ge!=null?V(J):J;const Pe=yield Promise.all(P(J)),b=(yield Promise.all(A(Pe))).filter(({valid:E})=>E).map(({varFile:E})=>E);N(e["onUpdate:modelValue"],[...se,...b]),x.target.value="",b.forEach(E=>N(G,Xe(E)))})}function D(x){return xi(this,null,function*(){const{disabled:q,readonly:ge,modelValue:se,onBeforeRemove:ve,onRemove:G}=e;if(i!=null&&i.disabled.value||i!=null&&i.readonly.value||q||ge)return;if(ve){const ye=ra(N(ve,Xe(x)));if((yield Promise.all(ye)).some(j=>!j))return}const de=se.filter(ye=>ye!==x);N(G,Xe(x)),re("onRemove"),N(e["onUpdate:modelValue"],de)})}function T(){return e.modelValue.filter(x=>x.state==="success")}function B(){return e.modelValue.filter(x=>x.state==="error")}function L(){return e.modelValue.filter(x=>x.state==="loading")}function z(){n.value.click()}function ae(){o.value=null,t.value=!1,Ci.close()}function re(x){en(()=>{const{validateTrigger:q,rules:ge,modelValue:se}=e;l(q,x,ge,se,h)})}function oe(){return u(e.rules,e.modelValue,h)}function _(){p=!0,N(e["onUpdate:modelValue"],[]),c()}return{input:n,files:v,showPreview:t,currentPreview:o,errorMessage:s,maxlengthText:r,hovering:d,formDisabled:i==null?void 0:i.disabled,formReadonly:i==null?void 0:i.readonly,n:tz,classes:oz,formatElevation:In,toNumber:K,handleHovering:f,isHTMLSupportVideo:jd,isHTMLSupportImage:Hd,preview:$,handleChange:k,handleRemove:D,getSuccess:T,getError:B,getLoading:L,validate:oe,resetValidation:c,reset:_,chooseFile:z,closePreview:ae,toSizeUnit:ze}}});Ry.render=cz;var Ly=Ry;be(Ly);var $u=Ly;const dz={width:{type:Number,default:100},height:{type:Number,default:100},content:String,image:String,rotate:{type:Number,default:-22},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},gapX:{type:Number,default:0},gapY:{type:Number,default:0},zIndex:{type:[Number,String],default:10},opacity:{type:[Number,String],default:.5},fullscreen:Boolean,font:{type:Object,default:()=>({fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",fontSize:14})}};var fz=Object.defineProperty,vz=Object.defineProperties,hz=Object.getOwnPropertyDescriptors,Nv=Object.getOwnPropertySymbols,mz=Object.prototype.hasOwnProperty,pz=Object.prototype.propertyIsEnumerable,Iv=(e,n,t)=>n in e?fz(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,gz=(e,n)=>{for(var t in n||(n={}))mz.call(n,t)&&Iv(e,t,n[t]);if(Nv)for(var t of Nv(n))pz.call(n,t)&&Iv(e,t,n[t]);return e},bz=(e,n)=>vz(e,hz(n)),Mv=(e,n,t)=>new Promise((o,r)=>{var i=l=>{try{s(t.next(l))}catch(u){r(u)}},a=l=>{try{s(t.throw(l))}catch(u){r(u)}},s=l=>l.done?o(l.value):Promise.resolve(l.value).then(i,a);s((t=t.apply(e,n)).next())});const{name:yz,n:$z,classes:wz}=pe("watermark"),Cz={ref:"svgRef"},Sz=["viewBox","width","height"],kz=["width","height"],Pz=["href","xlink:href","x","y","width","height"];function Oz(e,n){return C(),M("div",{class:m(e.n())},[X(e.$slots,"default"),(C(),Ae(Et,{to:"body",disabled:!e.fullscreen},[F("div",{ref:"containerRef",class:m(e.classes(e.n("container"),[e.fullscreen,e.n("--fullscreen")])),style:te({backgroundImage:`url(${e.watermarkUrl})`,zIndex:e.zIndex})},[He(F("div",Cz,[(C(),M("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:`0 0 ${e.width+e.gapX} ${e.height+e.gapY}`,width:`${e.width+e.gapX}`,height:`${e.height+e.gapY}`,style:te({padding:`0 ${e.gapX}px ${e.gapY}px 0`,opacity:e.opacity})},[e.showContent()?(C(),M("foreignObject",{key:0,x:"0",y:"0",width:e.width,height:e.height},[F("div",{xmlns:"http://www.w3.org/1999/xhtml",style:te({transform:`translate(${e.offsetX}px, ${e.offsetY}px) rotate(${e.rotate}deg)`,transformOrigin:"center"})},[X(e.$slots,"content",{},()=>[F("span",{style:te(bz(gz({},e.font),{fontSize:`${e.font.fontSize}px`,color:e.textColor}))},we(e.content),5)])],4)],8,kz)):he("v-if",!0),!e.$slots.content&&e.image?(C(),M("image",{key:1,href:e.imageUrl,"xlink:href":e.imageUrl,x:e.offsetX,y:e.offsetY,width:e.width,height:e.height,style:te({transform:`rotate(${e.rotate}deg)`,transformOrigin:"center"})},null,12,Pz)):he("v-if",!0)],12,Sz))],512),[[kt,!1]])],6)],8,["disabled"]))],2)}const Uy=me({name:yz,props:dz,setup(e,{slots:n}){const t=I(""),o=I(""),r=I(""),i=I(null),a=I(null);Ce(()=>[e.image,e.font,e.content,e.height,e.width,e.rotate,e.gapX,e.gapY,e.offsetX,e.offsetY,e.opacity],d,{deep:!0}),Co(d),Ht(c);function s(){return!!(n.content||e.content&&!e.image)}function l(){return Mv(this,null,function*(){return new Promise(f=>{const v=document.createElement("canvas"),p=v.getContext("2d"),h=new Image;h.crossOrigin="anonymous",h.referrerPolicy="no-referrer",h.src=e.image,h.onload=()=>{v.width=h.width,v.height=h.height,p.drawImage(h,0,0),f(v.toDataURL())}})})}function u(f){const v=new Blob([f],{type:"image/svg+xml"});return URL.createObjectURL(v)}function c(){t.value&&URL.revokeObjectURL(t.value)}function d(){return Mv(this,null,function*(){r.value=Wo(a.value).color,e.image&&(o.value=yield l()),yield en(),c(),t.value=u(i.value.innerHTML)})}return{svgRef:i,containerRef:a,watermarkUrl:t,imageUrl:o,textColor:r,n:$z,classes:wz,showContent:s,resize:d}}});Uy.render=Oz;var Fy=Uy;be(Fy);var wu=Fy;const Tz="2.18.0";function Ez(e){tl.install&&e.use(tl),ol.install&&e.use(ol),al.install&&e.use(al),sl.install&&e.use(sl),ll.install&&e.use(ll),Ca.install&&e.use(Ca),ul.install&&e.use(ul),cl.install&&e.use(cl),dl.install&&e.use(dl),fl.install&&e.use(fl),Un.install&&e.use(Un),vl.install&&e.use(vl),hl.install&&e.use(hl),Sa.install&&e.use(Sa),mi.install&&e.use(mi),ml.install&&e.use(ml),ka.install&&e.use(ka),pl.install&&e.use(pl),gl.install&&e.use(gl),bl.install&&e.use(bl),Kn.install&&e.use(Kn),Cl.install&&e.use(Cl),El.install&&e.use(El),Il.install&&e.use(Il),Ml.install&&e.use(Ml),Dl.install&&e.use(Dl),Ia.install&&e.use(Ia),zl.install&&e.use(zl),Vl.install&&e.use(Vl),yi.install&&e.use(yi),Rl.install&&e.use(Rl),Ll.install&&e.use(Ll),Fn.install&&e.use(Fn),Zn.install&&e.use(Zn),tt.install&&e.use(tt),tn.install&&e.use(tn),Ul.install&&e.use(Ul),Ci.install&&e.use(Ci),Fl.install&&e.use(Fl),Hl.install&&e.use(Hl),Da.install&&e.use(Da),hi.install&&e.use(hi),jl.install&&e.use(jl),Yl.install&&e.use(Yl),pr.install&&e.use(pr),Wl.install&&e.use(Wl),nl.install&&e.use(nl),wr.install&&e.use(wr),ql.install&&e.use(ql),Kl.install&&e.use(Kl),Xl.install&&e.use(Xl),Gl.install&&e.use(Gl),Zl.install&&e.use(Zl),Jl.install&&e.use(Jl),Ql.install&&e.use(Ql),po.install&&e.use(po),_l.install&&e.use(_l),xl.install&&e.use(xl),eu.install&&e.use(eu),nu.install&&e.use(nu),tu.install&&e.use(tu),ou.install&&e.use(ou),vn.install&&e.use(vn),ru.install&&e.use(ru),iu.install&&e.use(iu),au.install&&e.use(au),su.install&&e.use(su),uu.install&&e.use(uu),cu.install&&e.use(cu),du.install&&e.use(du),fu.install&&e.use(fu),Si.install&&e.use(Si),Oi.install&&e.use(Oi),$i.install&&e.use($i),wi.install&&e.use(wi),vu.install&&e.use(vu),hu.install&&e.use(hu),mu.install&&e.use(mu),pu.install&&e.use(pu),gu.install&&e.use(gu),bu.install&&e.use(bu),Ti.install&&e.use(Ti),yu.install&&e.use(yu),Ma.install&&e.use(Ma),$u.install&&e.use($u),wu.install&&e.use(wu)}const b8={version:Tz,install:Ez,ActionSheet:tl,AppBar:ol,Avatar:al,AvatarGroup:sl,BackTop:ll,Badge:Ca,BottomNavigation:ul,BottomNavigationItem:cl,Breadcrumb:dl,Breadcrumbs:fl,Button:Un,ButtonGroup:vl,Card:hl,Cell:Sa,Checkbox:mi,CheckboxGroup:ml,Chip:ka,Col:pl,Collapse:gl,CollapseItem:bl,Context:Kn,Countdown:Cl,Counter:El,DatePicker:Il,Dialog:Ml,Divider:Dl,Drag:Ia,Ellipsis:zl,Fab:Vl,FieldDecorator:yi,FloatingPanel:Rl,Form:Ll,FormDetails:Fn,Hover:Zn,HoverOverlay:tt,Icon:tn,Image:Ul,ImagePreview:Ci,IndexAnchor:Fl,IndexBar:Hl,Input:Da,Lazy:hi,Link:jl,List:Yl,Loading:pr,LoadingBar:Wl,Locale:nl,Menu:wr,MenuOption:ql,MenuSelect:Kl,Option:Xl,Overlay:Gl,Pagination:Zl,Paper:Jl,Picker:Ql,Popup:po,Progress:_l,PullRefresh:xl,Radio:eu,RadioGroup:nu,Rate:tu,Result:ou,Ripple:vn,Row:ru,Select:iu,Skeleton:au,Slider:su,Snackbar:uu,Space:cu,Step:du,Steps:fu,Sticky:Si,StyleProvider:Oi,Swipe:$i,SwipeItem:wi,Switch:vu,Tab:hu,TabItem:mu,Table:pu,Tabs:gu,TabsItems:bu,Themes:Ti,TimePicker:yu,Tooltip:Ma,Uploader:$u,Watermark:wu};var Nz=typeof global=="object"&&global&&global.Object===Object&&global;const Iz=Nz;var Mz=typeof self=="object"&&self&&self.Object===Object&&self,Dz=Iz||Mz||Function("return this")();const wc=Dz;var Az=wc.Symbol;const Cr=Az;var Hy=Object.prototype,Bz=Hy.hasOwnProperty,zz=Hy.toString,Fr=Cr?Cr.toStringTag:void 0;function Vz(e){var n=Bz.call(e,Fr),t=e[Fr];try{e[Fr]=void 0;var o=!0}catch{}var r=zz.call(e);return o&&(n?e[Fr]=t:delete e[Fr]),r}var Rz=Object.prototype,Lz=Rz.toString;function Uz(e){return Lz.call(e)}var Fz="[object Null]",Hz="[object Undefined]",Dv=Cr?Cr.toStringTag:void 0;function jy(e){return e==null?e===void 0?Hz:Fz:Dv&&Dv in Object(e)?Vz(e):Uz(e)}function jz(e){return e!=null&&typeof e=="object"}var Yz="[object Symbol]";function Cc(e){return typeof e=="symbol"||jz(e)&&jy(e)==Yz}function Wz(e,n){for(var t=-1,o=e==null?0:e.length,r=Array(o);++t-1}function B5(e,n){var t=this.__data__,o=ds(t,e);return o<0?(++this.size,t.push([e,n])):t[o][1]=n,this}function Br(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{const o=n==="mobile"?Ky().get("language")??"zh-CN":n4().language;e(o)};Gy(t),t()}function Xy(e){return Object.entries(e).reduce((n,[t,o])=>(n[`--site-config-${t}`]=o,n),{})}function $8(e){const n=()=>{const t=Ky().get("platform")??"mobile";e(t)};Gy(n),n()}function Gy(e){Co(()=>{window.addEventListener("hashchange",e),window.addEventListener("popstate",e)}),Ht(()=>{window.removeEventListener("hashchange",e),window.removeEventListener("popstate",e)})}function w8(e,n){o4(t=>{const o=Xy(Aa(Fs,t,{})),r={...o,...Ti.dark,...e};Oi(t==="darkTheme"?r:o),Zy(t),n==null||n(t)})}function Zy(e){document.documentElement.style.setProperty("color-scheme",e==="darkTheme"?"dark":"light")}function o4(e,n=!0){const t=o=>{const{data:r}=o;r.action==="theme-change"&&e(r.data,r.from)};window.addEventListener("message",t),n&&Ht(()=>{window.removeEventListener("message",t)}),e(t4(),"default")}var r4=(e=>(e[e.TITLE=1]="TITLE",e[e.COMPONENT=2]="COMPONENT",e[e.DOCUMENTATION=3]="DOCUMENTATION",e))(r4||{});function C8(e={}){return Object.keys(e).reduce((n,t)=>{const o=e[t];return o&&(n[t]=o),n},{})}function S8(){return/Android|webOS|iPhone|iPod|BlackBerry|Pad/i.test(navigator.userAgent)}function k8(){return window.self!==window.top}function P8(e,n){const t=Xy(Aa(e,n,{}));Oi({...t,...n==="darkTheme"?Ti.dark:{}}),Zy(n)}function O8(e){return btoa(unescape(encodeURIComponent(e)))}const T8=(e,n)=>{const t=e.__vccOpts||e;for(const[o,r]of n)t[o]=r;return t},i4="modulepreload",a4=function(e,n){return new URL(e,n).href},Vv={},E8=function(n,t,o){if(!t||t.length===0)return n();const r=document.getElementsByTagName("link");return Promise.all(t.map(i=>{if(i=a4(i,o),i in Vv)return;Vv[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let c=r.length-1;c>=0;c--){const d=r[c];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":i4,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>n())};/*! * vue-router v4.2.0 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const nr=typeof window<"u";function s4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ke=Object.assign;function zs(e,n){const t={};for(const o in n){const r=n[o];t[o]=gt(r)?r.map(e):e(r)}return t}const ei=()=>{},gt=Array.isArray,l4=/\/$/,u4=e=>e.replace(l4,"");function Vs(e,n,t="/"){let o,r={},i="",a="";const s=n.indexOf("#");let l=n.indexOf("?");return s=0&&(l=-1),l>-1&&(o=n.slice(0,l),i=n.slice(l+1,s>-1?s:n.length),r=e(i)),s>-1&&(o=o||n.slice(0,s),a=n.slice(s,n.length)),o=v4(o??n,t),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function c4(e,n){const t=n.query?e(n.query):"";return n.path+(t&&"?")+t+(n.hash||"")}function Rv(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function d4(e,n,t){const o=n.matched.length-1,r=t.matched.length-1;return o>-1&&o===r&&Sr(n.matched[o],t.matched[r])&&Jy(n.params,t.params)&&e(n.query)===e(t.query)&&n.hash===t.hash}function Sr(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Jy(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const t in e)if(!f4(e[t],n[t]))return!1;return!0}function f4(e,n){return gt(e)?Lv(e,n):gt(n)?Lv(n,e):e===n}function Lv(e,n){return gt(n)?e.length===n.length&&e.every((t,o)=>t===n[o]):e.length===1&&e[0]===n}function v4(e,n){if(e.startsWith("/"))return e;if(!e)return n;const t=n.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=t.length-1,a,s;for(a=0;a1&&i--;else break;return t.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Ni;(function(e){e.pop="pop",e.push="push"})(Ni||(Ni={}));var ni;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ni||(ni={}));function h4(e){if(!e)if(nr){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),u4(e)}const m4=/^[^#]+#/;function p4(e,n){return e.replace(m4,"#")+n}function g4(e,n){const t=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:n.behavior,left:o.left-t.left-(n.left||0),top:o.top-t.top-(n.top||0)}}const vs=()=>({left:window.pageXOffset,top:window.pageYOffset});function b4(e){let n;if("el"in e){const t=e.el,o=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?o?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;n=g4(r,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.pageXOffset,n.top!=null?n.top:window.pageYOffset)}function Uv(e,n){return(history.state?history.state.position-n:-1)+e}const Cu=new Map;function y4(e,n){Cu.set(e,n)}function $4(e){const n=Cu.get(e);return Cu.delete(e),n}let w4=()=>location.protocol+"//"+location.host;function Qy(e,n){const{pathname:t,search:o,hash:r}=n,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Rv(l,"")}return Rv(t,e)+o+r}function C4(e,n,t,o){let r=[],i=[],a=null;const s=({state:f})=>{const v=Qy(e,location),p=t.value,h=n.value;let g=0;if(f){if(t.value=v,n.value=f,a&&a===p){a=null;return}g=h?f.position-h.position:0}else o(v);r.forEach($=>{$(t.value,p,{delta:g,type:Ni.pop,direction:g?g>0?ni.forward:ni.back:ni.unknown})})};function l(){a=t.value}function u(f){r.push(f);const v=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return i.push(v),v}function c(){const{history:f}=window;f.state&&f.replaceState(Ke({},f.state,{scroll:vs()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Fv(e,n,t,o=!1,r=!1){return{back:e,current:n,forward:t,replaced:o,position:window.history.length,scroll:r?vs():null}}function S4(e){const{history:n,location:t}=window,o={value:Qy(e,t)},r={value:n.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const d=e.indexOf("#"),f=d>-1?(t.host&&document.querySelector("base")?e:e.slice(d))+l:w4()+e+l;try{n[c?"replaceState":"pushState"](u,"",f),r.value=u}catch(v){console.error(v),t[c?"replace":"assign"](f)}}function a(l,u){const c=Ke({},n.state,Fv(r.value.back,l,r.value.forward,!0),u,{position:r.value.position});i(l,c,!0),o.value=l}function s(l,u){const c=Ke({},r.value,n.state,{forward:l,scroll:vs()});i(c.current,c,!0);const d=Ke({},Fv(o.value,l,null),{position:c.position+1},u);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function k4(e){e=h4(e);const n=S4(e),t=C4(e,n.state,n.location,n.replace);function o(i,a=!0){a||t.pauseListeners(),history.go(i)}const r=Ke({location:"",base:e,go:o,createHref:p4.bind(null,e)},n,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>n.state.value}),r}function N8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),k4(e)}function P4(e){return typeof e=="string"||e&&typeof e=="object"}function _y(e){return typeof e=="string"||typeof e=="symbol"}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xy=Symbol("");var Hv;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Hv||(Hv={}));function kr(e,n){return Ke(new Error,{type:e,[xy]:!0},n)}function Nt(e,n){return e instanceof Error&&xy in e&&(n==null||!!(e.type&n))}const jv="[^/]+?",O4={sensitive:!1,strict:!1,start:!0,end:!0},T4=/[.+*?^${}()[\]/\\]/g;function E4(e,n){const t=Ke({},O4,n),o=[];let r=t.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];t.strict&&!u.length&&(r+="/");for(let d=0;dn.length?n.length===1&&n[0]===40+40?1:-1:0}function I4(e,n){let t=0;const o=e.score,r=n.score;for(;t0&&n[n.length-1]<0}const M4={type:0,value:""},D4=/[a-zA-Z0-9_]/;function A4(e){if(!e)return[[]];if(e==="/")return[[M4]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(v){throw new Error(`ERR (${t})/"${u}": ${v}`)}let t=0,o=t;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,u="",c="";function d(){u&&(t===0?i.push({type:0,value:u}):t===1||t===2||t===3?(i.length>1&&(l==="*"||l==="+")&&n(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):n("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;s{a(S)}:ei}function a(c){if(_y(c)){const d=o.get(c);d&&(o.delete(c),t.splice(t.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=t.indexOf(c);d>-1&&(t.splice(d,1),c.record.name&&o.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function s(){return t}function l(c){let d=0;for(;d=0&&(c.record.path!==t[d].record.path||!e0(c,t[d]));)d++;t.splice(d,0,c),c.record.name&&!qv(c)&&o.set(c.record.name,c)}function u(c,d){let f,v={},p,h;if("name"in c&&c.name){if(f=o.get(c.name),!f)throw kr(1,{location:c});h=f.record.name,v=Ke(Wv(d.params,f.keys.filter(S=>!S.optional).map(S=>S.name)),c.params&&Wv(c.params,f.keys.map(S=>S.name))),p=f.stringify(v)}else if("path"in c)p=c.path,f=t.find(S=>S.re.test(p)),f&&(v=f.parse(p),h=f.record.name);else{if(f=d.name?o.get(d.name):t.find(S=>S.re.test(d.path)),!f)throw kr(1,{location:c,currentLocation:d});h=f.record.name,v=Ke({},d.params,c.params),p=f.stringify(v)}const g=[];let $=f;for(;$;)g.unshift($.record),$=$.parent;return{name:h,path:p,params:v,matched:g,meta:L4(g)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Wv(e,n){const t={};for(const o of n)o in e&&(t[o]=e[o]);return t}function V4(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:R4(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function R4(e){const n={},t=e.props||!1;if("component"in e)n.default=t;else for(const o in e.components)n[o]=typeof t=="boolean"?t:t[o];return n}function qv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function L4(e){return e.reduce((n,t)=>Ke(n,t.meta),{})}function Kv(e,n){const t={};for(const o in e)t[o]=o in n?n[o]:e[o];return t}function e0(e,n){return n.children.some(t=>t===e||e0(e,t))}const n0=/#/g,U4=/&/g,F4=/\//g,H4=/=/g,j4=/\?/g,t0=/\+/g,Y4=/%5B/g,W4=/%5D/g,o0=/%5E/g,q4=/%60/g,r0=/%7B/g,K4=/%7C/g,i0=/%7D/g,X4=/%20/g;function Pc(e){return encodeURI(""+e).replace(K4,"|").replace(Y4,"[").replace(W4,"]")}function G4(e){return Pc(e).replace(r0,"{").replace(i0,"}").replace(o0,"^")}function Su(e){return Pc(e).replace(t0,"%2B").replace(X4,"+").replace(n0,"%23").replace(U4,"%26").replace(q4,"`").replace(r0,"{").replace(i0,"}").replace(o0,"^")}function Z4(e){return Su(e).replace(H4,"%3D")}function J4(e){return Pc(e).replace(n0,"%23").replace(j4,"%3F")}function Q4(e){return e==null?"":J4(e).replace(F4,"%2F")}function Ba(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _4(e){const n={};if(e===""||e==="?")return n;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Su(i)):[o&&Su(o)]).forEach(i=>{i!==void 0&&(n+=(n.length?"&":"")+t,i!=null&&(n+="="+i))})}return n}function x4(e){const n={};for(const t in e){const o=e[t];o!==void 0&&(n[t]=gt(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return n}const e8=Symbol(""),Gv=Symbol(""),hs=Symbol(""),Oc=Symbol(""),ku=Symbol("");function Hr(){let e=[];function n(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function t(){e=[]}return{add:n,list:()=>e,reset:t}}function xt(e,n,t,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(kr(4,{from:t,to:n})):d instanceof Error?s(d):P4(d)?s(kr(2,{from:n,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},u=e.call(o&&o.instances[r],n,t,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>s(d))})}function Rs(e,n,t,o){const r=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(n!=="beforeRouteEnter"&&!i.instances[a]))if(n8(s)){const u=(s.__vccOpts||s)[n];u&&r.push(xt(u,t,o,i,a))}else{let l=s();r.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const c=s4(u)?u.default:u;i.components[a]=c;const f=(c.__vccOpts||c)[n];return f&&xt(f,t,o,i,a)()}))}}return r}function n8(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zv(e){const n=xn(hs),t=xn(Oc),o=L(()=>n.resolve(ht(e.to))),r=L(()=>{const{matched:l}=o.value,{length:u}=l,c=l[u-1],d=t.matched;if(!c||!d.length)return-1;const f=d.findIndex(Sr.bind(null,c));if(f>-1)return f;const v=Jv(l[u-2]);return u>1&&Jv(c)===v&&d[d.length-1].path!==v?d.findIndex(Sr.bind(null,l[u-2])):f}),i=L(()=>r.value>-1&&i8(t.params,o.value.params)),a=L(()=>r.value>-1&&r.value===t.matched.length-1&&Jy(t.params,o.value.params));function s(l={}){return r8(l)?n[ht(e.replace)?"replace":"push"](ht(e.to)).catch(ei):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const t8=me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zv,setup(e,{slots:n}){const t=Xe(Zv(e)),{options:o}=xn(hs),r=L(()=>({[Qv(e.activeClass,o.linkActiveClass,"router-link-active")]:t.isActive,[Qv(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const i=n.default&&n.default(t);return e.custom?i:Ii("a",{"aria-current":t.isExactActive?e.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},i)}}}),o8=t8;function r8(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function i8(e,n){for(const t in n){const o=n[t],r=e[t];if(typeof o=="string"){if(o!==r)return!1}else if(!gt(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Jv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qv=(e,n,t)=>e??n??t,a8=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:t}){const o=xn(ku),r=L(()=>e.route||o.value),i=xn(Gv,0),a=L(()=>{let u=ht(i);const{matched:c}=r.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),s=L(()=>r.value.matched[a.value]);Xr(Gv,L(()=>a.value+1)),Xr(e8,s),Xr(ku,r);const l=I();return Ce(()=>[l.value,s.value,e.name],([u,c,d],[f,v,p])=>{c&&(c.instances[d]=u,v&&v!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=v.leaveGuards),c.updateGuards.size||(c.updateGuards=v.updateGuards))),u&&c&&(!v||!Sr(c,v)||!f)&&(c.enterCallbacks[d]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,d=s.value,f=d&&d.components[c];if(!f)return _v(t.default,{Component:f,route:u});const v=d.props[c],p=v?v===!0?u.params:typeof v=="function"?v(u):v:null,g=Ii(f,Ke({},p,n,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return _v(t.default,{Component:g,route:u})||g}}});function _v(e,n){if(!e)return null;const t=e(n);return t.length===1?t[0]:t}const s8=a8;function I8(e){const n=z4(e.routes,e),t=e.parseQuery||_4,o=e.stringifyQuery||Xv,r=e.history,i=Hr(),a=Hr(),s=Hr(),l=g1(Xt);let u=Xt;nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=zs.bind(null,V=>""+V),d=zs.bind(null,Q4),f=zs.bind(null,Ba);function v(V,fe){let H,J;return _y(V)?(H=n.getRecordMatcher(V),J=fe):J=V,n.addRoute(J,H)}function p(V){const fe=n.getRecordMatcher(V);fe&&n.removeRoute(fe)}function h(){return n.getRoutes().map(V=>V.record)}function g(V){return!!n.getRecordMatcher(V)}function $(V,fe){if(fe=Ke({},fe||l.value),typeof V=="string"){const E=Vs(t,V,fe.path),Y=n.resolve({path:E.path},fe),Q=r.createHref(E.fullPath);return Ke(E,Y,{params:f(Y.params),hash:Ba(E.hash),redirectedFrom:void 0,href:Q})}let H;if("path"in V)H=Ke({},V,{path:Vs(t,V.path,fe.path).path});else{const E=Ke({},V.params);for(const Y in E)E[Y]==null&&delete E[Y];H=Ke({},V,{params:d(E)}),fe.params=d(fe.params)}const J=n.resolve(H,fe),Pe=V.hash||"";J.params=c(f(J.params));const w=c4(o,Ke({},V,{hash:G4(Pe),path:J.path})),b=r.createHref(w);return Ke({fullPath:w,hash:Pe,query:o===Xv?x4(V.query):V.query||{}},J,{redirectedFrom:void 0,href:b})}function S(V){return typeof V=="string"?Vs(t,V,l.value.path):Ke({},V)}function O(V,fe){if(u!==V)return kr(8,{from:fe,to:V})}function y(V){return k(V)}function P(V){return y(Ke(S(V),{replace:!0}))}function A(V){const fe=V.matched[V.matched.length-1];if(fe&&fe.redirect){const{redirect:H}=fe;let J=typeof H=="function"?H(V):H;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=S(J):{path:J},J.params={}),Ke({query:V.query,hash:V.hash,params:"path"in J?{}:V.params},J)}}function k(V,fe){const H=u=$(V),J=l.value,Pe=V.state,w=V.force,b=V.replace===!0,E=A(H);if(E)return k(Ke(S(E),{state:typeof E=="object"?Ke({},Pe,E.state):Pe,force:w,replace:b}),fe||H);const Y=H;Y.redirectedFrom=fe;let Q;return!w&&d4(o,J,H)&&(Q=kr(16,{to:Y,from:J}),ve(J,J,!0,!1)),(Q?Promise.resolve(Q):B(Y,J)).catch(F=>Nt(F)?Nt(F,2)?F:se(F):q(F,Y,J)).then(F=>{if(F){if(Nt(F,2))return k(Ke({replace:b},S(F.to),{state:typeof F.to=="object"?Ke({},Pe,F.to.state):Pe,force:w}),fe||Y)}else F=z(Y,J,!0,b,Pe);return U(Y,J,F),F})}function D(V,fe){const H=O(V,fe);return H?Promise.reject(H):Promise.resolve()}function T(V){const fe=ye.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(V):V()}function B(V,fe){let H;const[J,Pe,w]=l8(V,fe);H=Rs(J.reverse(),"beforeRouteLeave",V,fe);for(const E of J)E.leaveGuards.forEach(Y=>{H.push(xt(Y,V,fe))});const b=D.bind(null,V,fe);return H.push(b),ee(H).then(()=>{H=[];for(const E of i.list())H.push(xt(E,V,fe));return H.push(b),ee(H)}).then(()=>{H=Rs(Pe,"beforeRouteUpdate",V,fe);for(const E of Pe)E.updateGuards.forEach(Y=>{H.push(xt(Y,V,fe))});return H.push(b),ee(H)}).then(()=>{H=[];for(const E of V.matched)if(E.beforeEnter&&!fe.matched.includes(E))if(gt(E.beforeEnter))for(const Y of E.beforeEnter)H.push(xt(Y,V,fe));else H.push(xt(E.beforeEnter,V,fe));return H.push(b),ee(H)}).then(()=>(V.matched.forEach(E=>E.enterCallbacks={}),H=Rs(w,"beforeRouteEnter",V,fe),H.push(b),ee(H))).then(()=>{H=[];for(const E of a.list())H.push(xt(E,V,fe));return H.push(b),ee(H)}).catch(E=>Nt(E,8)?E:Promise.reject(E))}function U(V,fe,H){for(const J of s.list())T(()=>J(V,fe,H))}function z(V,fe,H,J,Pe){const w=O(V,fe);if(w)return w;const b=fe===Xt,E=nr?history.state:{};H&&(J||b?r.replace(V.fullPath,Ke({scroll:b&&E&&E.scroll},Pe)):r.push(V.fullPath,Pe)),l.value=V,ve(V,fe,H,b),se()}let ae;function re(){ae||(ae=r.listen((V,fe,H)=>{if(!j.listening)return;const J=$(V),Pe=A(J);if(Pe){k(Ke(Pe,{replace:!0}),J).catch(ei);return}u=J;const w=l.value;nr&&y4(Uv(w.fullPath,H.delta),vs()),B(J,w).catch(b=>Nt(b,12)?b:Nt(b,2)?(k(b.to,J).then(E=>{Nt(E,20)&&!H.delta&&H.type===Ni.pop&&r.go(-1,!1)}).catch(ei),Promise.reject()):(H.delta&&r.go(-H.delta,!1),q(b,J,w))).then(b=>{b=b||z(J,w,!1),b&&(H.delta&&!Nt(b,8)?r.go(-H.delta,!1):H.type===Ni.pop&&Nt(b,20)&&r.go(-1,!1)),U(J,w,b)}).catch(ei)}))}let oe=Hr(),_=Hr(),x;function q(V,fe,H){se(V);const J=_.list();return J.length?J.forEach(Pe=>Pe(V,fe,H)):console.error(V),Promise.reject(V)}function ge(){return x&&l.value!==Xt?Promise.resolve():new Promise((V,fe)=>{oe.add([V,fe])})}function se(V){return x||(x=!V,re(),oe.list().forEach(([fe,H])=>V?H(V):fe()),oe.reset()),V}function ve(V,fe,H,J){const{scrollBehavior:Pe}=e;if(!nr||!Pe)return Promise.resolve();const w=!H&&$4(Uv(V.fullPath,0))||(J||!H)&&history.state&&history.state.scroll||null;return en().then(()=>Pe(V,fe,w)).then(b=>b&&b4(b)).catch(b=>q(b,V,fe))}const G=V=>r.go(V);let de;const ye=new Set,j={currentRoute:l,listening:!0,addRoute:v,removeRoute:p,hasRoute:g,getRoutes:h,resolve:$,options:e,push:y,replace:P,go:G,back:()=>G(-1),forward:()=>G(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:_.add,isReady:ge,install(V){const fe=this;V.component("RouterLink",o8),V.component("RouterView",s8),V.config.globalProperties.$router=fe,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),nr&&!de&&l.value===Xt&&(de=!0,y(r.location).catch(Pe=>{}));const H={};for(const Pe in Xt)H[Pe]=L(()=>l.value[Pe]);V.provide(hs,fe),V.provide(Oc,Xe(H)),V.provide(ku,l);const J=V.unmount;ye.add(V),V.unmount=function(){ye.delete(V),ye.size<1&&(u=Xt,ae&&ae(),ae=null,l.value=Xt,de=!1,x=!1),J()}}};function ee(V){return V.reduce((fe,H)=>fe.then(()=>T(H)),Promise.resolve())}return j}function l8(e,n){const t=[],o=[],r=[],i=Math.max(n.matched.length,e.matched.length);for(let a=0;aSr(u,s))?o.push(s):t.push(s));const l=e.matched[a];l&&(n.matched.find(u=>Sr(u,l))||r.push(l))}return[t,o,r]}function M8(){return xn(hs)}function D8(){return xn(Oc)}const a0=typeof window<"u",u8=a0&&"ontouchstart"in window;let Ls=!1,Vo;const s0=e=>e==="mousedown",c8=e=>e==="mousemove",Pu=e=>e==="mouseup",d8=e=>s0(e)||!Vo||Vo&&!Vo.dispatchEvent;function f8(e,n,t){const{clientX:o,clientY:r,screenX:i,screenY:a,pageX:s,pageY:l}=t;this.identifier=n,this.target=e,this.clientX=o,this.clientY=r,this.screenX=i,this.screenY=a,this.pageX=s,this.pageY=l}function v8(e){const n=Tc();return n.push(new f8(Vo,1,e)),n}function Tc(){const e=[];return e.item=function(n){return this[n]||null},e}function xv(e){const{type:n}=e;return Pu(n)?Tc():v8(e)}function h8(e,n){const{altKey:t,ctrlKey:o,metaKey:r,shiftKey:i}=n,a=new Event(e,{bubbles:!0,cancelable:!0});a.altKey=t,a.ctrlKey=o,a.metaKey=r,a.shiftKey=i,a.touches=xv(n),a.targetTouches=xv(n),a.changedTouches=Tc(),Vo.dispatchEvent(a)}function Us(e,n){const{type:t,target:o}=e;Ls=s0(t)?!0:Pu(t)?!1:Ls,!(c8(t)&&!Ls)&&(d8(t)&&(Vo=o),h8(n,e),Pu(t)&&(Vo=null))}function m8(){window.addEventListener("mousedown",e=>Us(e,"touchstart"),!0),window.addEventListener("mousemove",e=>Us(e,"touchmove"),!0),window.addEventListener("mouseup",e=>Us(e,"touchend"),!0)}a0&&!u8&&m8();export{$o as $,N8 as A,ow as B,D8 as C,L as D,C8 as E,y8 as F,Ce as G,P8 as H,o4 as I,k8 as J,yw as K,Ge as L,Xn as M,Re as N,un as O,He as P,je as Q,$e as R,M8 as S,nn as T,ht as U,b8 as V,Xe as W,r4 as X,kt as Y,g8 as Z,T8 as _,n4 as a,io as a$,wo as a0,Tn as a1,Qe as a2,On as a3,K as a4,di as a5,qn as a6,mo as a7,Ut as a8,jo as a9,So as aA,Yo as aB,Mr as aC,ho as aD,sm as aE,pN as aF,qE as aG,GE as aH,Og as aI,Ga as aJ,ia as aK,ba as aL,lm as aM,Ct as aN,pt as aO,ma as aP,ao as aQ,Nr as aR,pw as aS,Qu as aT,ra as aU,Gu as aV,p8 as aW,wn as aX,yd as aY,$d as aZ,fi as a_,Ii as aa,Wo as ab,gn as ac,fw as ad,Rn as ae,jt as af,rm as ag,pn as ah,hr as ai,Ju as aj,Zu as ak,w8 as al,vw as am,Er as an,hw as ao,_u as ap,Ir as aq,$8 as ar,Ze as as,Pn as at,Et as au,q$ as av,ui as aw,Pw as ax,Bh as ay,Ht as az,we as b,Q$ as b0,Ne as b1,ag as b2,sg as b3,Dr as b4,Tr as b5,Tw as b6,mw as b7,gw as b8,md as b9,bw as ba,Fs as c,me as d,C as e,Ae as f,Aa as g,E8 as h,S8 as i,Bn as j,t4 as k,Kn as l,M as m,en as n,Co as o,R as p,ie as q,I as r,uu as s,he as t,O8 as u,X as v,Te as w,m as x,te as y,I8 as z}; + */const nr=typeof window<"u";function s4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ke=Object.assign;function zs(e,n){const t={};for(const o in n){const r=n[o];t[o]=gt(r)?r.map(e):e(r)}return t}const ei=()=>{},gt=Array.isArray,l4=/\/$/,u4=e=>e.replace(l4,"");function Vs(e,n,t="/"){let o,r={},i="",a="";const s=n.indexOf("#");let l=n.indexOf("?");return s=0&&(l=-1),l>-1&&(o=n.slice(0,l),i=n.slice(l+1,s>-1?s:n.length),r=e(i)),s>-1&&(o=o||n.slice(0,s),a=n.slice(s,n.length)),o=v4(o??n,t),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function c4(e,n){const t=n.query?e(n.query):"";return n.path+(t&&"?")+t+(n.hash||"")}function Rv(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function d4(e,n,t){const o=n.matched.length-1,r=t.matched.length-1;return o>-1&&o===r&&Sr(n.matched[o],t.matched[r])&&Jy(n.params,t.params)&&e(n.query)===e(t.query)&&n.hash===t.hash}function Sr(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function Jy(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const t in e)if(!f4(e[t],n[t]))return!1;return!0}function f4(e,n){return gt(e)?Lv(e,n):gt(n)?Lv(n,e):e===n}function Lv(e,n){return gt(n)?e.length===n.length&&e.every((t,o)=>t===n[o]):e.length===1&&e[0]===n}function v4(e,n){if(e.startsWith("/"))return e;if(!e)return n;const t=n.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=t.length-1,a,s;for(a=0;a1&&i--;else break;return t.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Ni;(function(e){e.pop="pop",e.push="push"})(Ni||(Ni={}));var ni;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ni||(ni={}));function h4(e){if(!e)if(nr){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),u4(e)}const m4=/^[^#]+#/;function p4(e,n){return e.replace(m4,"#")+n}function g4(e,n){const t=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:n.behavior,left:o.left-t.left-(n.left||0),top:o.top-t.top-(n.top||0)}}const vs=()=>({left:window.pageXOffset,top:window.pageYOffset});function b4(e){let n;if("el"in e){const t=e.el,o=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?o?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;n=g4(r,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.pageXOffset,n.top!=null?n.top:window.pageYOffset)}function Uv(e,n){return(history.state?history.state.position-n:-1)+e}const Cu=new Map;function y4(e,n){Cu.set(e,n)}function $4(e){const n=Cu.get(e);return Cu.delete(e),n}let w4=()=>location.protocol+"//"+location.host;function Qy(e,n){const{pathname:t,search:o,hash:r}=n,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Rv(l,"")}return Rv(t,e)+o+r}function C4(e,n,t,o){let r=[],i=[],a=null;const s=({state:f})=>{const v=Qy(e,location),p=t.value,h=n.value;let g=0;if(f){if(t.value=v,n.value=f,a&&a===p){a=null;return}g=h?f.position-h.position:0}else o(v);r.forEach($=>{$(t.value,p,{delta:g,type:Ni.pop,direction:g?g>0?ni.forward:ni.back:ni.unknown})})};function l(){a=t.value}function u(f){r.push(f);const v=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return i.push(v),v}function c(){const{history:f}=window;f.state&&f.replaceState(Ke({},f.state,{scroll:vs()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Fv(e,n,t,o=!1,r=!1){return{back:e,current:n,forward:t,replaced:o,position:window.history.length,scroll:r?vs():null}}function S4(e){const{history:n,location:t}=window,o={value:Qy(e,t)},r={value:n.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const d=e.indexOf("#"),f=d>-1?(t.host&&document.querySelector("base")?e:e.slice(d))+l:w4()+e+l;try{n[c?"replaceState":"pushState"](u,"",f),r.value=u}catch(v){console.error(v),t[c?"replace":"assign"](f)}}function a(l,u){const c=Ke({},n.state,Fv(r.value.back,l,r.value.forward,!0),u,{position:r.value.position});i(l,c,!0),o.value=l}function s(l,u){const c=Ke({},r.value,n.state,{forward:l,scroll:vs()});i(c.current,c,!0);const d=Ke({},Fv(o.value,l,null),{position:c.position+1},u);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function k4(e){e=h4(e);const n=S4(e),t=C4(e,n.state,n.location,n.replace);function o(i,a=!0){a||t.pauseListeners(),history.go(i)}const r=Ke({location:"",base:e,go:o,createHref:p4.bind(null,e)},n,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>n.state.value}),r}function N8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),k4(e)}function P4(e){return typeof e=="string"||e&&typeof e=="object"}function _y(e){return typeof e=="string"||typeof e=="symbol"}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xy=Symbol("");var Hv;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Hv||(Hv={}));function kr(e,n){return Ke(new Error,{type:e,[xy]:!0},n)}function Nt(e,n){return e instanceof Error&&xy in e&&(n==null||!!(e.type&n))}const jv="[^/]+?",O4={sensitive:!1,strict:!1,start:!0,end:!0},T4=/[.+*?^${}()[\]/\\]/g;function E4(e,n){const t=Ke({},O4,n),o=[];let r=t.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];t.strict&&!u.length&&(r+="/");for(let d=0;dn.length?n.length===1&&n[0]===40+40?1:-1:0}function I4(e,n){let t=0;const o=e.score,r=n.score;for(;t0&&n[n.length-1]<0}const M4={type:0,value:""},D4=/[a-zA-Z0-9_]/;function A4(e){if(!e)return[[]];if(e==="/")return[[M4]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(v){throw new Error(`ERR (${t})/"${u}": ${v}`)}let t=0,o=t;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,u="",c="";function d(){u&&(t===0?i.push({type:0,value:u}):t===1||t===2||t===3?(i.length>1&&(l==="*"||l==="+")&&n(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):n("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;s{a(S)}:ei}function a(c){if(_y(c)){const d=o.get(c);d&&(o.delete(c),t.splice(t.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=t.indexOf(c);d>-1&&(t.splice(d,1),c.record.name&&o.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function s(){return t}function l(c){let d=0;for(;d=0&&(c.record.path!==t[d].record.path||!e0(c,t[d]));)d++;t.splice(d,0,c),c.record.name&&!qv(c)&&o.set(c.record.name,c)}function u(c,d){let f,v={},p,h;if("name"in c&&c.name){if(f=o.get(c.name),!f)throw kr(1,{location:c});h=f.record.name,v=Ke(Wv(d.params,f.keys.filter(S=>!S.optional).map(S=>S.name)),c.params&&Wv(c.params,f.keys.map(S=>S.name))),p=f.stringify(v)}else if("path"in c)p=c.path,f=t.find(S=>S.re.test(p)),f&&(v=f.parse(p),h=f.record.name);else{if(f=d.name?o.get(d.name):t.find(S=>S.re.test(d.path)),!f)throw kr(1,{location:c,currentLocation:d});h=f.record.name,v=Ke({},d.params,c.params),p=f.stringify(v)}const g=[];let $=f;for(;$;)g.unshift($.record),$=$.parent;return{name:h,path:p,params:v,matched:g,meta:L4(g)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Wv(e,n){const t={};for(const o of n)o in e&&(t[o]=e[o]);return t}function V4(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:R4(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function R4(e){const n={},t=e.props||!1;if("component"in e)n.default=t;else for(const o in e.components)n[o]=typeof t=="boolean"?t:t[o];return n}function qv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function L4(e){return e.reduce((n,t)=>Ke(n,t.meta),{})}function Kv(e,n){const t={};for(const o in e)t[o]=o in n?n[o]:e[o];return t}function e0(e,n){return n.children.some(t=>t===e||e0(e,t))}const n0=/#/g,U4=/&/g,F4=/\//g,H4=/=/g,j4=/\?/g,t0=/\+/g,Y4=/%5B/g,W4=/%5D/g,o0=/%5E/g,q4=/%60/g,r0=/%7B/g,K4=/%7C/g,i0=/%7D/g,X4=/%20/g;function Pc(e){return encodeURI(""+e).replace(K4,"|").replace(Y4,"[").replace(W4,"]")}function G4(e){return Pc(e).replace(r0,"{").replace(i0,"}").replace(o0,"^")}function Su(e){return Pc(e).replace(t0,"%2B").replace(X4,"+").replace(n0,"%23").replace(U4,"%26").replace(q4,"`").replace(r0,"{").replace(i0,"}").replace(o0,"^")}function Z4(e){return Su(e).replace(H4,"%3D")}function J4(e){return Pc(e).replace(n0,"%23").replace(j4,"%3F")}function Q4(e){return e==null?"":J4(e).replace(F4,"%2F")}function Ba(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _4(e){const n={};if(e===""||e==="?")return n;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Su(i)):[o&&Su(o)]).forEach(i=>{i!==void 0&&(n+=(n.length?"&":"")+t,i!=null&&(n+="="+i))})}return n}function x4(e){const n={};for(const t in e){const o=e[t];o!==void 0&&(n[t]=gt(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return n}const e8=Symbol(""),Gv=Symbol(""),hs=Symbol(""),Oc=Symbol(""),ku=Symbol("");function Hr(){let e=[];function n(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function t(){e=[]}return{add:n,list:()=>e,reset:t}}function xt(e,n,t,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(kr(4,{from:t,to:n})):d instanceof Error?s(d):P4(d)?s(kr(2,{from:n,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},u=e.call(o&&o.instances[r],n,t,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>s(d))})}function Rs(e,n,t,o){const r=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(n!=="beforeRouteEnter"&&!i.instances[a]))if(n8(s)){const u=(s.__vccOpts||s)[n];u&&r.push(xt(u,t,o,i,a))}else{let l=s();r.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const c=s4(u)?u.default:u;i.components[a]=c;const f=(c.__vccOpts||c)[n];return f&&xt(f,t,o,i,a)()}))}}return r}function n8(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zv(e){const n=xn(hs),t=xn(Oc),o=R(()=>n.resolve(ht(e.to))),r=R(()=>{const{matched:l}=o.value,{length:u}=l,c=l[u-1],d=t.matched;if(!c||!d.length)return-1;const f=d.findIndex(Sr.bind(null,c));if(f>-1)return f;const v=Jv(l[u-2]);return u>1&&Jv(c)===v&&d[d.length-1].path!==v?d.findIndex(Sr.bind(null,l[u-2])):f}),i=R(()=>r.value>-1&&i8(t.params,o.value.params)),a=R(()=>r.value>-1&&r.value===t.matched.length-1&&Jy(t.params,o.value.params));function s(l={}){return r8(l)?n[ht(e.replace)?"replace":"push"](ht(e.to)).catch(ei):Promise.resolve()}return{route:o,href:R(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const t8=me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zv,setup(e,{slots:n}){const t=Xe(Zv(e)),{options:o}=xn(hs),r=R(()=>({[Qv(e.activeClass,o.linkActiveClass,"router-link-active")]:t.isActive,[Qv(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const i=n.default&&n.default(t);return e.custom?i:Ii("a",{"aria-current":t.isExactActive?e.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},i)}}}),o8=t8;function r8(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function i8(e,n){for(const t in n){const o=n[t],r=e[t];if(typeof o=="string"){if(o!==r)return!1}else if(!gt(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Jv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qv=(e,n,t)=>e??n??t,a8=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:t}){const o=xn(ku),r=R(()=>e.route||o.value),i=xn(Gv,0),a=R(()=>{let u=ht(i);const{matched:c}=r.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),s=R(()=>r.value.matched[a.value]);Xr(Gv,R(()=>a.value+1)),Xr(e8,s),Xr(ku,r);const l=I();return Ce(()=>[l.value,s.value,e.name],([u,c,d],[f,v,p])=>{c&&(c.instances[d]=u,v&&v!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=v.leaveGuards),c.updateGuards.size||(c.updateGuards=v.updateGuards))),u&&c&&(!v||!Sr(c,v)||!f)&&(c.enterCallbacks[d]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,d=s.value,f=d&&d.components[c];if(!f)return _v(t.default,{Component:f,route:u});const v=d.props[c],p=v?v===!0?u.params:typeof v=="function"?v(u):v:null,g=Ii(f,Ke({},p,n,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return _v(t.default,{Component:g,route:u})||g}}});function _v(e,n){if(!e)return null;const t=e(n);return t.length===1?t[0]:t}const s8=a8;function I8(e){const n=z4(e.routes,e),t=e.parseQuery||_4,o=e.stringifyQuery||Xv,r=e.history,i=Hr(),a=Hr(),s=Hr(),l=g1(Xt);let u=Xt;nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=zs.bind(null,V=>""+V),d=zs.bind(null,Q4),f=zs.bind(null,Ba);function v(V,fe){let H,J;return _y(V)?(H=n.getRecordMatcher(V),J=fe):J=V,n.addRoute(J,H)}function p(V){const fe=n.getRecordMatcher(V);fe&&n.removeRoute(fe)}function h(){return n.getRoutes().map(V=>V.record)}function g(V){return!!n.getRecordMatcher(V)}function $(V,fe){if(fe=Ke({},fe||l.value),typeof V=="string"){const E=Vs(t,V,fe.path),Y=n.resolve({path:E.path},fe),Q=r.createHref(E.fullPath);return Ke(E,Y,{params:f(Y.params),hash:Ba(E.hash),redirectedFrom:void 0,href:Q})}let H;if("path"in V)H=Ke({},V,{path:Vs(t,V.path,fe.path).path});else{const E=Ke({},V.params);for(const Y in E)E[Y]==null&&delete E[Y];H=Ke({},V,{params:d(E)}),fe.params=d(fe.params)}const J=n.resolve(H,fe),Pe=V.hash||"";J.params=c(f(J.params));const w=c4(o,Ke({},V,{hash:G4(Pe),path:J.path})),b=r.createHref(w);return Ke({fullPath:w,hash:Pe,query:o===Xv?x4(V.query):V.query||{}},J,{redirectedFrom:void 0,href:b})}function S(V){return typeof V=="string"?Vs(t,V,l.value.path):Ke({},V)}function O(V,fe){if(u!==V)return kr(8,{from:fe,to:V})}function y(V){return k(V)}function P(V){return y(Ke(S(V),{replace:!0}))}function A(V){const fe=V.matched[V.matched.length-1];if(fe&&fe.redirect){const{redirect:H}=fe;let J=typeof H=="function"?H(V):H;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=S(J):{path:J},J.params={}),Ke({query:V.query,hash:V.hash,params:"path"in J?{}:V.params},J)}}function k(V,fe){const H=u=$(V),J=l.value,Pe=V.state,w=V.force,b=V.replace===!0,E=A(H);if(E)return k(Ke(S(E),{state:typeof E=="object"?Ke({},Pe,E.state):Pe,force:w,replace:b}),fe||H);const Y=H;Y.redirectedFrom=fe;let Q;return!w&&d4(o,J,H)&&(Q=kr(16,{to:Y,from:J}),ve(J,J,!0,!1)),(Q?Promise.resolve(Q):B(Y,J)).catch(U=>Nt(U)?Nt(U,2)?U:se(U):q(U,Y,J)).then(U=>{if(U){if(Nt(U,2))return k(Ke({replace:b},S(U.to),{state:typeof U.to=="object"?Ke({},Pe,U.to.state):Pe,force:w}),fe||Y)}else U=z(Y,J,!0,b,Pe);return L(Y,J,U),U})}function D(V,fe){const H=O(V,fe);return H?Promise.reject(H):Promise.resolve()}function T(V){const fe=ye.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(V):V()}function B(V,fe){let H;const[J,Pe,w]=l8(V,fe);H=Rs(J.reverse(),"beforeRouteLeave",V,fe);for(const E of J)E.leaveGuards.forEach(Y=>{H.push(xt(Y,V,fe))});const b=D.bind(null,V,fe);return H.push(b),ee(H).then(()=>{H=[];for(const E of i.list())H.push(xt(E,V,fe));return H.push(b),ee(H)}).then(()=>{H=Rs(Pe,"beforeRouteUpdate",V,fe);for(const E of Pe)E.updateGuards.forEach(Y=>{H.push(xt(Y,V,fe))});return H.push(b),ee(H)}).then(()=>{H=[];for(const E of V.matched)if(E.beforeEnter&&!fe.matched.includes(E))if(gt(E.beforeEnter))for(const Y of E.beforeEnter)H.push(xt(Y,V,fe));else H.push(xt(E.beforeEnter,V,fe));return H.push(b),ee(H)}).then(()=>(V.matched.forEach(E=>E.enterCallbacks={}),H=Rs(w,"beforeRouteEnter",V,fe),H.push(b),ee(H))).then(()=>{H=[];for(const E of a.list())H.push(xt(E,V,fe));return H.push(b),ee(H)}).catch(E=>Nt(E,8)?E:Promise.reject(E))}function L(V,fe,H){for(const J of s.list())T(()=>J(V,fe,H))}function z(V,fe,H,J,Pe){const w=O(V,fe);if(w)return w;const b=fe===Xt,E=nr?history.state:{};H&&(J||b?r.replace(V.fullPath,Ke({scroll:b&&E&&E.scroll},Pe)):r.push(V.fullPath,Pe)),l.value=V,ve(V,fe,H,b),se()}let ae;function re(){ae||(ae=r.listen((V,fe,H)=>{if(!j.listening)return;const J=$(V),Pe=A(J);if(Pe){k(Ke(Pe,{replace:!0}),J).catch(ei);return}u=J;const w=l.value;nr&&y4(Uv(w.fullPath,H.delta),vs()),B(J,w).catch(b=>Nt(b,12)?b:Nt(b,2)?(k(b.to,J).then(E=>{Nt(E,20)&&!H.delta&&H.type===Ni.pop&&r.go(-1,!1)}).catch(ei),Promise.reject()):(H.delta&&r.go(-H.delta,!1),q(b,J,w))).then(b=>{b=b||z(J,w,!1),b&&(H.delta&&!Nt(b,8)?r.go(-H.delta,!1):H.type===Ni.pop&&Nt(b,20)&&r.go(-1,!1)),L(J,w,b)}).catch(ei)}))}let oe=Hr(),_=Hr(),x;function q(V,fe,H){se(V);const J=_.list();return J.length?J.forEach(Pe=>Pe(V,fe,H)):console.error(V),Promise.reject(V)}function ge(){return x&&l.value!==Xt?Promise.resolve():new Promise((V,fe)=>{oe.add([V,fe])})}function se(V){return x||(x=!V,re(),oe.list().forEach(([fe,H])=>V?H(V):fe()),oe.reset()),V}function ve(V,fe,H,J){const{scrollBehavior:Pe}=e;if(!nr||!Pe)return Promise.resolve();const w=!H&&$4(Uv(V.fullPath,0))||(J||!H)&&history.state&&history.state.scroll||null;return en().then(()=>Pe(V,fe,w)).then(b=>b&&b4(b)).catch(b=>q(b,V,fe))}const G=V=>r.go(V);let de;const ye=new Set,j={currentRoute:l,listening:!0,addRoute:v,removeRoute:p,hasRoute:g,getRoutes:h,resolve:$,options:e,push:y,replace:P,go:G,back:()=>G(-1),forward:()=>G(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:_.add,isReady:ge,install(V){const fe=this;V.component("RouterLink",o8),V.component("RouterView",s8),V.config.globalProperties.$router=fe,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),nr&&!de&&l.value===Xt&&(de=!0,y(r.location).catch(Pe=>{}));const H={};for(const Pe in Xt)H[Pe]=R(()=>l.value[Pe]);V.provide(hs,fe),V.provide(Oc,Xe(H)),V.provide(ku,l);const J=V.unmount;ye.add(V),V.unmount=function(){ye.delete(V),ye.size<1&&(u=Xt,ae&&ae(),ae=null,l.value=Xt,de=!1,x=!1),J()}}};function ee(V){return V.reduce((fe,H)=>fe.then(()=>T(H)),Promise.resolve())}return j}function l8(e,n){const t=[],o=[],r=[],i=Math.max(n.matched.length,e.matched.length);for(let a=0;aSr(u,s))?o.push(s):t.push(s));const l=e.matched[a];l&&(n.matched.find(u=>Sr(u,l))||r.push(l))}return[t,o,r]}function M8(){return xn(hs)}function D8(){return xn(Oc)}const a0=typeof window<"u",u8=a0&&"ontouchstart"in window;let Ls=!1,Vo;const s0=e=>e==="mousedown",c8=e=>e==="mousemove",Pu=e=>e==="mouseup",d8=e=>s0(e)||!Vo||Vo&&!Vo.dispatchEvent;function f8(e,n,t){const{clientX:o,clientY:r,screenX:i,screenY:a,pageX:s,pageY:l}=t;this.identifier=n,this.target=e,this.clientX=o,this.clientY=r,this.screenX=i,this.screenY=a,this.pageX=s,this.pageY=l}function v8(e){const n=Tc();return n.push(new f8(Vo,1,e)),n}function Tc(){const e=[];return e.item=function(n){return this[n]||null},e}function xv(e){const{type:n}=e;return Pu(n)?Tc():v8(e)}function h8(e,n){const{altKey:t,ctrlKey:o,metaKey:r,shiftKey:i}=n,a=new Event(e,{bubbles:!0,cancelable:!0});a.altKey=t,a.ctrlKey=o,a.metaKey=r,a.shiftKey=i,a.touches=xv(n),a.targetTouches=xv(n),a.changedTouches=Tc(),Vo.dispatchEvent(a)}function Us(e,n){const{type:t,target:o}=e;Ls=s0(t)?!0:Pu(t)?!1:Ls,!(c8(t)&&!Ls)&&(d8(t)&&(Vo=o),h8(n,e),Pu(t)&&(Vo=null))}function m8(){window.addEventListener("mousedown",e=>Us(e,"touchstart"),!0),window.addEventListener("mousemove",e=>Us(e,"touchmove"),!0),window.addEventListener("mouseup",e=>Us(e,"touchend"),!0)}a0&&!u8&&m8();export{$o as $,N8 as A,ow as B,D8 as C,R as D,C8 as E,y8 as F,Ce as G,P8 as H,o4 as I,k8 as J,yw as K,Ge as L,Xn as M,Re as N,un as O,He as P,je as Q,we as R,M8 as S,nn as T,ht as U,b8 as V,Xe as W,r4 as X,kt as Y,g8 as Z,T8 as _,n4 as a,io as a$,wo as a0,Tn as a1,Qe as a2,On as a3,K as a4,di as a5,qn as a6,mo as a7,Ut as a8,jo as a9,So as aA,Yo as aB,Mr as aC,ho as aD,sm as aE,pN as aF,qE as aG,GE as aH,Og as aI,Ga as aJ,ia as aK,ba as aL,lm as aM,Ct as aN,pt as aO,ma as aP,ao as aQ,Nr as aR,pw as aS,Qu as aT,ra as aU,Gu as aV,p8 as aW,$n as aX,yd as aY,$d as aZ,fi as a_,Ii as aa,Wo as ab,gn as ac,fw as ad,Rn as ae,jt as af,rm as ag,pn as ah,hr as ai,Ju as aj,Zu as ak,w8 as al,vw as am,Er as an,hw as ao,_u as ap,Ir as aq,$8 as ar,Ze as as,Pn as at,Et as au,q$ as av,ui as aw,Pw as ax,Bh as ay,Ht as az,$e as b,Q$ as b0,Ne as b1,ag as b2,sg as b3,Dr as b4,Tr as b5,Tw as b6,mw as b7,gw as b8,md as b9,bw as ba,Fs as c,me as d,C as e,Ae as f,Aa as g,E8 as h,S8 as i,Bn as j,t4 as k,Kn as l,M as m,en as n,Co as o,F as p,ie as q,I as r,uu as s,he as t,O8 as u,X as v,Te as w,m as x,te as y,I8 as z}; diff --git a/assets/index-b08b685e.js b/assets/index-0c036f3e.js similarity index 93% rename from assets/index-b08b685e.js rename to assets/index-0c036f3e.js index 05db766d06e..943c4954d0e 100644 --- a/assets/index-b08b685e.js +++ b/assets/index-0c036f3e.js @@ -1 +1 @@ -import{I as ye}from"./index-057aa4ba.js";import{M as ge}from"./index-3f206173.js";import{C as ke}from"./index-83ee7fa7.js";import{p as Ve,F as Se}from"./index-939959a8.js";import{F as $e,u as we}from"./provide-c979a783.js";import{a1 as Me,d as _,r as F,D as v,aN as G,G as x,a2 as Pe,n as Fe,_ as ee,b as y,e as c,m as f,q as O,w as k,p as D,x as r,v as S,aQ as Oe,aR as Be,aP as De,y as H,N as J,O as Ne,f as le,M as A,Q as Ee,R as B,t as K,a3 as Te,L as X,P as He}from"./index-af5fec45.js";import{d as V,p as Ie,h as Le,a as d,c as oe,w as ae}from"./components-3ae053cb.js";import{t as Z}from"./elements-68ad626b.js";import{e as ne}from"./logger-525ef361.js";import{u as ze}from"./useSelectController-4054913f.js";import{C as Re}from"./index-64160362.js";import{v as Ue}from"./index-2b41cfe8.js";import{H as Ye}from"./index-8bbf4ef8.js";import{H as Ae,u as Ke}from"./index-2c1498a1.js";const Qe={modelValue:{default:void 0},multiple:Boolean,offsetY:{type:[String,Number],default:0},chip:Boolean,readonly:Boolean,separator:{type:String,default:","},textAlign:{type:String,default:"left"},validateTrigger:{type:Array,default:()=>["onChange","onClear","onClose"]},rules:Array,onFocus:V(),onBlur:V(),onClose:V(),onChange:V(),onClear:V(),"onUpdate:modelValue":V(),...Ie(Ve,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])},se=Symbol("SELECT_BIND_OPTION_KEY");function We(){const{length:e,childProviders:o,bindChildren:i}=Me(se);return{length:e,options:o,bindOptions:i}}const{name:je,n:qe,classes:Ge}=oe("select"),Je=_({name:je,components:{VarIcon:ye,VarMenu:ge,VarChip:ke,VarFieldDecorator:Se,VarFormDetails:$e},props:Qe,setup(e){const o=F(!1),i=F(!1),$=v(()=>e.multiple),w=v(()=>e.focusColor),M=v(()=>G(e.modelValue)),b=v(()=>e.disabled||e.readonly?"":"pointer"),u=F(0),{bindForm:h,form:l}=we(),{length:m,options:t,bindOptions:I}=We(),{label:N,labels:L,computeLabel:E,getSelectedValue:z}=ze({modelValue:()=>e.modelValue,multiple:()=>e.multiple,optionProviders:()=>t,optionProvidersLength:()=>m.value}),{errorMessage:T,validateWithTrigger:re,validate:ie,resetValidation:R}=Le(),te=F(null),de=v(()=>e.variant==="outlined"?"bottom":"cover-top"),ue=v(()=>{const{hint:a,blurColor:n,focusColor:s}=e;if(!a)return T.value?"var(--field-decorator-error-color)":o.value?s||"var(--field-decorator-focus-color)":n||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"}),ce=v(()=>!e.hint&&G(e.modelValue)),Q={multiple:$,focusColor:w,computeLabel:E,onSelect:pe,reset:j,validate:W,resetValidation:R};x(()=>e.multiple,()=>{const{multiple:a,modelValue:n}=e;a&&!Pe(n)&&ne("Select","The modelValue must be an array when multiple is true")}),I(Q),d(h,Q);function g(a){Fe(()=>{const{validateTrigger:n,rules:s,modelValue:C}=e;re(n,a,s,C)})}function ve(){const{disabled:a,readonly:n,onFocus:s}=e;l!=null&&l.disabled.value||l!=null&&l.readonly.value||a||n||(u.value=Z(e.offsetY),o.value=!0,d(s),g("onFocus"))}function me(){const{disabled:a,readonly:n,onBlur:s}=e;l!=null&&l.disabled.value||l!=null&&l.readonly.value||a||n||(U(),d(s),g("onBlur"))}function pe(a){const{disabled:n,readonly:s,multiple:C,onChange:P}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||n||s)return;const p=z(a);d(e["onUpdate:modelValue"],p),d(P,p),g("onChange"),C||U()}function fe(){const{disabled:a,readonly:n,multiple:s,clearable:C,onClear:P}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||a||n||!C)return;const p=s?[]:void 0;d(e["onUpdate:modelValue"],p),d(P,p),g("onClear")}function be(a){const{disabled:n,onClick:s}=e;l!=null&&l.disabled.value||n||(d(s,a),g("onClick"))}function he(a){const{disabled:n,readonly:s,modelValue:C,onClose:P}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||n||s)return;const p=t.find(({label:Y})=>Y.value===a),q=C.filter(Y=>Y!==(p.value.value??p.label.value));d(e["onUpdate:modelValue"],q),d(P,q),g("onClose")}function Ce(){u.value=Z(e.offsetY),o.value=!0,i.value=!0}function U(){o.value=!1,i.value=!1}function W(){return ie(e.rules,e.modelValue)}function j(){d(e["onUpdate:modelValue"],e.multiple?[]:void 0),R()}return{offsetY:u,isFocus:o,showMenu:i,errorMessage:T,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,label:N,labels:L,isEmptyModelValue:M,menuEl:te,placement:de,cursor:b,placeholderColor:ue,enableCustomPlaceholder:ce,n:qe,classes:Ge,handleFocus:ve,handleBlur:me,handleClear:fe,handleClick:be,handleClose:he,reset:j,validate:W,resetValidation:R,focus:Ce,blur:U}}});const Xe={key:1};function Ze(e,o,i,$,w,M){const b=y("var-chip"),u=y("var-icon"),h=y("var-field-decorator"),l=y("var-menu"),m=y("var-form-details");return c(),f("div",{class:r(e.n()),onClick:o[3]||(o[3]=(...t)=>e.handleFocus&&e.handleFocus(...t))},[O(l,{"var-select-cover":"","same-width":"","close-on-click-reference":"",show:e.showMenu,"onUpdate:show":o[1]||(o[1]=t=>e.showMenu=t),class:r(e.n("menu")),"popover-class":e.variant==="standard"&&e.hint?e.n("--standard-menu-margin"):void 0,"offset-y":e.offsetY,disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled,placement:e.placement,"default-style":!1,onClickOutside:e.handleBlur},{menu:k(()=>[D("div",{ref:"menuEl",class:r(e.classes(e.n("scroller"),e.n("$-elevation--3")))},[S(e.$slots,"default")],2)]),default:k(()=>[O(h,Oe(Be({value:e.modelValue,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,onClick:e.handleClick,onClear:e.handleClear})),De({"append-icon":k(()=>[S(e.$slots,"append-icon")]),default:k(()=>[D("div",{class:r(e.classes(e.n("select"),[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:H({textAlign:e.textAlign,color:e.textColor})},[D("div",{class:r(e.n("label"))},[e.isEmptyModelValue?K("",!0):S(e.$slots,"selected",{key:0},()=>[e.multiple?(c(),f(J,{key:0},[e.chip?(c(),f("div",{key:0,class:r(e.n("chips"))},[(c(!0),f(J,null,Ne(e.labels,t=>(c(),le(b,{class:r(e.n("chip")),"var-select-cover":"",closable:"",size:"small",type:e.errorMessage?"danger":void 0,key:t,onClick:o[0]||(o[0]=A(()=>{},["stop"])),onClose:()=>e.handleClose(t)},{default:k(()=>[Ee(B(t),1)]),_:2},1032,["class","type","onClose"]))),128))],2)):(c(),f("div",{key:1,class:r(e.n("values"))},B(e.labels.join(e.separator)),3))],64)):(c(),f("span",Xe,B(e.label),1))])],2),e.enableCustomPlaceholder?(c(),f("span",{key:0,class:r(e.classes(e.n("placeholder"),e.n("$--ellipsis"))),style:H({color:e.placeholderColor})},B(e.placeholder),7)):K("",!0),S(e.$slots,"arrow-icon",{focus:e.showMenu},()=>[O(u,{class:r(e.classes(e.n("arrow"),[e.showMenu,e.n("--arrow-rotate")])),"var-select-cover":"",name:"menu-down",transition:300},null,8,["class"])])],6)]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:k(()=>[S(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040)]),_:3},8,["show","class","popover-class","offset-y","disabled","placement","onClickOutside"]),O(m,{"error-message":e.errorMessage,onClick:o[2]||(o[2]=A(()=>{},["stop"]))},null,8,["error-message"])],2)}const _e=ee(Je,[["render",Ze]]);ae(_e);function xe(){const{index:e,parentProvider:o,bindParent:i}=Te(se);return i||ne("Option"," must in "),{index:e,select:o,bindSelect:i}}const el={label:{},value:{},disabled:Boolean},{name:ll,n:ol,classes:al}=oe("option"),nl=_({name:ll,directives:{Ripple:Ue,Hover:Ye},components:{VarCheckbox:Re,VarHoverOverlay:Ae},props:el,setup(e){const o=F(!1),i=v(()=>o.value),$=v(()=>e.label),w=v(()=>e.value),{select:M,bindSelect:b}=xe(),{multiple:u,focusColor:h,onSelect:l,computeLabel:m}=M,{hovering:t,handleHovering:I}=Ke(),N={label:$,value:w,selected:i,sync:z};x([()=>e.label,()=>e.value],m),b(N);function L(){e.disabled||E()}function E(){u.value&&(o.value=!o.value),l(N)}function z(T){o.value=T}return{optionSelected:o,multiple:u,focusColor:h,hovering:t,n:ol,classes:al,handleHovering:I,handleClick:L,handleSelect:E}}});function sl(e,o,i,$,w,M){const b=y("var-checkbox"),u=y("var-hover-overlay"),h=X("ripple"),l=X("hover");return He((c(),f("div",{class:r(e.classes(e.n(),e.n("$--box"),[e.optionSelected,e.n("--selected-color")],[e.disabled,e.n("--disabled")])),style:H({color:e.optionSelected?e.focusColor:void 0}),onClick:o[2]||(o[2]=(...m)=>e.handleClick&&e.handleClick(...m))},[D("div",{class:r(e.classes(e.n("cover"),[e.optionSelected,e.n("--selected-background")])),style:H({background:e.optionSelected?e.focusColor:void 0})},null,6),e.multiple?(c(),le(b,{key:0,ref:"checkbox",modelValue:e.optionSelected,"onUpdate:modelValue":o[0]||(o[0]=m=>e.optionSelected=m),"checked-color":e.focusColor,disabled:e.disabled,onClick:o[1]||(o[1]=A(()=>{},["stop"])),onChange:e.handleSelect},null,8,["modelValue","checked-color","disabled","onChange"])):K("",!0),S(e.$slots,"default",{},()=>[D("div",{class:r(e.classes(e.n("text"),e.n("$--ellipsis")))},B(e.label),3)]),O(u,{hovering:e.hovering&&!e.disabled},null,8,["hovering"])],6)),[[h,{disabled:e.disabled}],[l,e.handleHovering,"desktop"]])}const rl=ee(nl,[["render",sl]]);ae(rl);export{rl as O,_e as S}; +import{I as ye}from"./index-2c5b74fa.js";import{M as ge}from"./index-5540406a.js";import{C as ke}from"./index-123e4258.js";import{p as Ve,F as Se}from"./index-d5ac26b6.js";import{F as $e,u as we}from"./provide-4fc67263.js";import{a1 as Me,d as _,r as F,D as v,aN as G,G as x,a2 as Pe,n as Fe,_ as ee,b as y,e as c,m as f,q as O,w as k,p as D,x as r,v as S,aQ as Oe,aR as Be,aP as De,y as H,N as J,O as Ne,f as le,M as A,Q as Ee,R as B,t as K,a3 as Te,L as X,P as He}from"./index-0bd4ebfc.js";import{d as V,p as Ie,h as Le,a as d,c as oe,w as ae}from"./components-a5332e66.js";import{t as Z}from"./elements-23c82371.js";import{e as ne}from"./logger-525ef361.js";import{u as ze}from"./useSelectController-4200caca.js";import{C as Re}from"./index-9fe788b6.js";import{v as Ue}from"./index-28dcc9be.js";import{H as Ye}from"./index-27fcaf7d.js";import{H as Ae,u as Ke}from"./index-d956da3f.js";const Qe={modelValue:{default:void 0},multiple:Boolean,offsetY:{type:[String,Number],default:0},chip:Boolean,readonly:Boolean,separator:{type:String,default:","},textAlign:{type:String,default:"left"},validateTrigger:{type:Array,default:()=>["onChange","onClear","onClose"]},rules:Array,onFocus:V(),onBlur:V(),onClose:V(),onChange:V(),onClear:V(),"onUpdate:modelValue":V(),...Ie(Ve,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])},se=Symbol("SELECT_BIND_OPTION_KEY");function We(){const{length:e,childProviders:o,bindChildren:i}=Me(se);return{length:e,options:o,bindOptions:i}}const{name:je,n:qe,classes:Ge}=oe("select"),Je=_({name:je,components:{VarIcon:ye,VarMenu:ge,VarChip:ke,VarFieldDecorator:Se,VarFormDetails:$e},props:Qe,setup(e){const o=F(!1),i=F(!1),$=v(()=>e.multiple),w=v(()=>e.focusColor),M=v(()=>G(e.modelValue)),b=v(()=>e.disabled||e.readonly?"":"pointer"),u=F(0),{bindForm:h,form:l}=we(),{length:m,options:t,bindOptions:I}=We(),{label:N,labels:L,computeLabel:E,getSelectedValue:z}=ze({modelValue:()=>e.modelValue,multiple:()=>e.multiple,optionProviders:()=>t,optionProvidersLength:()=>m.value}),{errorMessage:T,validateWithTrigger:re,validate:ie,resetValidation:R}=Le(),te=F(null),de=v(()=>e.variant==="outlined"?"bottom":"cover-top"),ue=v(()=>{const{hint:a,blurColor:n,focusColor:s}=e;if(!a)return T.value?"var(--field-decorator-error-color)":o.value?s||"var(--field-decorator-focus-color)":n||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"}),ce=v(()=>!e.hint&&G(e.modelValue)),Q={multiple:$,focusColor:w,computeLabel:E,onSelect:pe,reset:j,validate:W,resetValidation:R};x(()=>e.multiple,()=>{const{multiple:a,modelValue:n}=e;a&&!Pe(n)&&ne("Select","The modelValue must be an array when multiple is true")}),I(Q),d(h,Q);function g(a){Fe(()=>{const{validateTrigger:n,rules:s,modelValue:C}=e;re(n,a,s,C)})}function ve(){const{disabled:a,readonly:n,onFocus:s}=e;l!=null&&l.disabled.value||l!=null&&l.readonly.value||a||n||(u.value=Z(e.offsetY),o.value=!0,d(s),g("onFocus"))}function me(){const{disabled:a,readonly:n,onBlur:s}=e;l!=null&&l.disabled.value||l!=null&&l.readonly.value||a||n||(U(),d(s),g("onBlur"))}function pe(a){const{disabled:n,readonly:s,multiple:C,onChange:P}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||n||s)return;const p=z(a);d(e["onUpdate:modelValue"],p),d(P,p),g("onChange"),C||U()}function fe(){const{disabled:a,readonly:n,multiple:s,clearable:C,onClear:P}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||a||n||!C)return;const p=s?[]:void 0;d(e["onUpdate:modelValue"],p),d(P,p),g("onClear")}function be(a){const{disabled:n,onClick:s}=e;l!=null&&l.disabled.value||n||(d(s,a),g("onClick"))}function he(a){const{disabled:n,readonly:s,modelValue:C,onClose:P}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||n||s)return;const p=t.find(({label:Y})=>Y.value===a),q=C.filter(Y=>Y!==(p.value.value??p.label.value));d(e["onUpdate:modelValue"],q),d(P,q),g("onClose")}function Ce(){u.value=Z(e.offsetY),o.value=!0,i.value=!0}function U(){o.value=!1,i.value=!1}function W(){return ie(e.rules,e.modelValue)}function j(){d(e["onUpdate:modelValue"],e.multiple?[]:void 0),R()}return{offsetY:u,isFocus:o,showMenu:i,errorMessage:T,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,label:N,labels:L,isEmptyModelValue:M,menuEl:te,placement:de,cursor:b,placeholderColor:ue,enableCustomPlaceholder:ce,n:qe,classes:Ge,handleFocus:ve,handleBlur:me,handleClear:fe,handleClick:be,handleClose:he,reset:j,validate:W,resetValidation:R,focus:Ce,blur:U}}});const Xe={key:1};function Ze(e,o,i,$,w,M){const b=y("var-chip"),u=y("var-icon"),h=y("var-field-decorator"),l=y("var-menu"),m=y("var-form-details");return c(),f("div",{class:r(e.n()),onClick:o[3]||(o[3]=(...t)=>e.handleFocus&&e.handleFocus(...t))},[O(l,{"var-select-cover":"","same-width":"","close-on-click-reference":"",show:e.showMenu,"onUpdate:show":o[1]||(o[1]=t=>e.showMenu=t),class:r(e.n("menu")),"popover-class":e.variant==="standard"&&e.hint?e.n("--standard-menu-margin"):void 0,"offset-y":e.offsetY,disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled,placement:e.placement,"default-style":!1,onClickOutside:e.handleBlur},{menu:k(()=>[D("div",{ref:"menuEl",class:r(e.classes(e.n("scroller"),e.n("$-elevation--3")))},[S(e.$slots,"default")],2)]),default:k(()=>[O(h,Oe(Be({value:e.modelValue,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,onClick:e.handleClick,onClear:e.handleClear})),De({"append-icon":k(()=>[S(e.$slots,"append-icon")]),default:k(()=>[D("div",{class:r(e.classes(e.n("select"),[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:H({textAlign:e.textAlign,color:e.textColor})},[D("div",{class:r(e.n("label"))},[e.isEmptyModelValue?K("",!0):S(e.$slots,"selected",{key:0},()=>[e.multiple?(c(),f(J,{key:0},[e.chip?(c(),f("div",{key:0,class:r(e.n("chips"))},[(c(!0),f(J,null,Ne(e.labels,t=>(c(),le(b,{class:r(e.n("chip")),"var-select-cover":"",closable:"",size:"small",type:e.errorMessage?"danger":void 0,key:t,onClick:o[0]||(o[0]=A(()=>{},["stop"])),onClose:()=>e.handleClose(t)},{default:k(()=>[Ee(B(t),1)]),_:2},1032,["class","type","onClose"]))),128))],2)):(c(),f("div",{key:1,class:r(e.n("values"))},B(e.labels.join(e.separator)),3))],64)):(c(),f("span",Xe,B(e.label),1))])],2),e.enableCustomPlaceholder?(c(),f("span",{key:0,class:r(e.classes(e.n("placeholder"),e.n("$--ellipsis"))),style:H({color:e.placeholderColor})},B(e.placeholder),7)):K("",!0),S(e.$slots,"arrow-icon",{focus:e.showMenu},()=>[O(u,{class:r(e.classes(e.n("arrow"),[e.showMenu,e.n("--arrow-rotate")])),"var-select-cover":"",name:"menu-down",transition:300},null,8,["class"])])],6)]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:k(()=>[S(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040)]),_:3},8,["show","class","popover-class","offset-y","disabled","placement","onClickOutside"]),O(m,{"error-message":e.errorMessage,onClick:o[2]||(o[2]=A(()=>{},["stop"]))},null,8,["error-message"])],2)}const _e=ee(Je,[["render",Ze]]);ae(_e);function xe(){const{index:e,parentProvider:o,bindParent:i}=Te(se);return i||ne("Option"," must in "),{index:e,select:o,bindSelect:i}}const el={label:{},value:{},disabled:Boolean},{name:ll,n:ol,classes:al}=oe("option"),nl=_({name:ll,directives:{Ripple:Ue,Hover:Ye},components:{VarCheckbox:Re,VarHoverOverlay:Ae},props:el,setup(e){const o=F(!1),i=v(()=>o.value),$=v(()=>e.label),w=v(()=>e.value),{select:M,bindSelect:b}=xe(),{multiple:u,focusColor:h,onSelect:l,computeLabel:m}=M,{hovering:t,handleHovering:I}=Ke(),N={label:$,value:w,selected:i,sync:z};x([()=>e.label,()=>e.value],m),b(N);function L(){e.disabled||E()}function E(){u.value&&(o.value=!o.value),l(N)}function z(T){o.value=T}return{optionSelected:o,multiple:u,focusColor:h,hovering:t,n:ol,classes:al,handleHovering:I,handleClick:L,handleSelect:E}}});function sl(e,o,i,$,w,M){const b=y("var-checkbox"),u=y("var-hover-overlay"),h=X("ripple"),l=X("hover");return He((c(),f("div",{class:r(e.classes(e.n(),e.n("$--box"),[e.optionSelected,e.n("--selected-color")],[e.disabled,e.n("--disabled")])),style:H({color:e.optionSelected?e.focusColor:void 0}),onClick:o[2]||(o[2]=(...m)=>e.handleClick&&e.handleClick(...m))},[D("div",{class:r(e.classes(e.n("cover"),[e.optionSelected,e.n("--selected-background")])),style:H({background:e.optionSelected?e.focusColor:void 0})},null,6),e.multiple?(c(),le(b,{key:0,ref:"checkbox",modelValue:e.optionSelected,"onUpdate:modelValue":o[0]||(o[0]=m=>e.optionSelected=m),"checked-color":e.focusColor,disabled:e.disabled,onClick:o[1]||(o[1]=A(()=>{},["stop"])),onChange:e.handleSelect},null,8,["modelValue","checked-color","disabled","onChange"])):K("",!0),S(e.$slots,"default",{},()=>[D("div",{class:r(e.classes(e.n("text"),e.n("$--ellipsis")))},B(e.label),3)]),O(u,{hovering:e.hovering&&!e.disabled},null,8,["hovering"])],6)),[[h,{disabled:e.disabled}],[l,e.handleHovering,"desktop"]])}const rl=ee(nl,[["render",sl]]);ae(rl);export{rl as O,_e as S}; diff --git a/assets/index-845ea230.js b/assets/index-0c35e674.js similarity index 83% rename from assets/index-845ea230.js rename to assets/index-0c35e674.js index 3e5d6e7fcf8..246608c6cef 100644 --- a/assets/index-845ea230.js +++ b/assets/index-0c35e674.js @@ -1 +1 @@ -import{L as G}from"./index-a6f8e46a.js";import{v as J}from"./index-2b41cfe8.js";import{g as K,t as X}from"./elements-68ad626b.js";import{d as $,a as C,c as Y,w as Z}from"./components-3ae053cb.js";import{a3 as j,d as H,r as D,G as V,at as ee,aJ as te,ae,n as ie,ah as M,_ as ne,b as oe,L as se,e as u,m as b,v as I,p as y,x as k,R as l,q as s,t as E,P as le,Q as T,W as re,aW as de,F as fe,al as ue,w as n,U as t,aX as L,N as B,O as w,f as R}from"./index-af5fec45.js";import{p as me,u as pe,b as Q,_ as ge,c as ce,a as ve}from"./index-2b61c8d0.js";import{a as Te,T as F}from"./index-10aaf98b.js";import{C as P}from"./index-4237591d.js";import{a as z,T as he}from"./index-50f6abd4.js";import{T as ke}from"./index-d250de60.js";import{d as Le}from"./index-d8fbf18c.js";import"./index-e95cf05b.js";/* empty css */import"./logger-525ef361.js";import"./index-8c96e01f.js";import"./provide-521cd214.js";import"./provide-0e472439.js";import"./index-057aa4ba.js";import"./index-2684e5c7.js";import"./shared-de177aa1.js";import"./index-d408e6ab.js";import"./index-84d96475.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./provide-c3581da5.js";const be={loading:Boolean,immediateCheck:{type:Boolean,default:!0},finished:Boolean,error:Boolean,offset:{type:[String,Number],default:0},loadingText:String,finishedText:String,errorText:String,onLoad:$(),"onUpdate:loading":$(),"onUpdate:error":$()};function xe(){const{parentProvider:e,bindParent:a,index:c}=j(Te);return{index:c,tabItem:e,bindTabItem:a}}const{name:Ue,n:Ne,classes:Ce}=Y("list"),Ie=H({name:Ue,directives:{Ripple:J},components:{VarLoading:G},props:be,setup(e){const a=D(null),c=D(null),{tabItem:m,bindTabItem:N}=xe();let r;C(N,{}),m&&V(()=>m.current.value,g),V(()=>[e.loading,e.error,e.finished],g),ee(()=>{r=K(a.value),r.addEventListener("scroll",g),e.immediateCheck&&g()}),te(x);function p(){C(e["onUpdate:error"],!1),C(e["onUpdate:loading"],!0),C(e.onLoad)}function v(){const{bottom:_}=M(r),{bottom:U}=M(c.value);return Math.floor(U)-X(e.offset)<=_}function x(){r.removeEventListener("scroll",g)}async function g(){await ie(),!(e.loading||e.finished||e.error||(m==null?void 0:m.current.value)===!1||!v())&&p()}return{pack:me,listEl:a,detectorEl:c,isNumber:ae,load:p,check:g,n:Ne,classes:Ce}}});function ye(e,a,c,m,N,r){const p=oe("var-loading"),v=se("ripple");return u(),b("div",{class:k(e.classes(e.n(),e.n("$--box"))),ref:"listEl"},[I(e.$slots,"default"),e.loading?I(e.$slots,"loading",{key:0},()=>[y("div",{class:k(e.n("loading"))},[y("div",{class:k(e.n("loading-text"))},l(e.loadingText??e.pack.listLoadingText),3),s(p,{size:"mini",radius:10})],2)]):E("",!0),e.finished?I(e.$slots,"finished",{key:1},()=>[y("div",{class:k(e.n("finished"))},l(e.finishedText??e.pack.listFinishedText),3)]):E("",!0),e.error?I(e.$slots,"error",{key:2},()=>[le((u(),b("div",{class:k(e.n("error")),onClick:a[0]||(a[0]=(...x)=>e.load&&e.load(...x))},[T(l(e.errorText??e.pack.listErrorText),1)],2)),[[v]])]):E("",!0),y("div",{class:k(e.n("detector")),ref:"detectorEl"},null,2)],2)}const S=ne(Ie,[["render",ye]]);Z(S);const Be={basicUsage:"基本使用",loadFail:"加载失败",tipText:"提示文字",loadingText:"正在努力输出",errorText:"出错了出错了",finishedText:"一滴都没有了",listItem:"列表项"},Se={basicUsage:"Basic Usage",loadFail:"Load Fail",tipText:"Tip Text",loadingText:"loading QAQ",errorText:"error TNT",finishedText:"finished ORZ",listItem:"List Item"},{add:A,use:_e,pack:f,packs:it,merge:nt}=pe(),$e=e=>{ve(e),_e(e)};Q("zh-CN",ge);Q("en-US",ce);A("zh-CN",Be);A("en-US",Se);const ot={__name:"index",setup(e){const a=re({loading:!1,loading2:!1,loading3:!1,finished:!1,finished2:!1,finished3:!1,error:!1,list:[],list2:[],list3:[],current:0}),{list:c,list2:m,list3:N,loading:r,loading2:p,loading3:v,finished:x,finished2:g,finished3:_,error:U,current:h}=de(a);function O(){setTimeout(()=>{for(let d=0;d<20;d++)a.list.push(a.list.length+1);a.loading=!1,a.list.length>=60&&(a.finished=!0)},1e3)}function W(){setTimeout(()=>{if(a.list2.length===40){a.error=!0,a.loading2=!1;return}for(let d=0;d<20;d++)a.list2.push(a.list2.length+1);a.loading2=!1},1e3)}function q(){setTimeout(()=>{for(let d=0;d<20;d++)a.list3.push(a.list3.length+1);a.loading3=!1,a.list3.length>=60&&(a.finished3=!0)},1e3)}return fe($e),ue(Le),(d,o)=>(u(),b(B,null,[s(t(he),{active:t(h),"onUpdate:active":o[0]||(o[0]=i=>L(h)?h.value=i:null),sticky:"","offset-top":"14.4vmin",style:{"margin-bottom":"10px"}},{default:n(()=>[s(t(z),null,{default:n(()=>[T(l(t(f).basicUsage),1)]),_:1}),s(t(z),null,{default:n(()=>[T(l(t(f).loadFail),1)]),_:1}),s(t(z),null,{default:n(()=>[T(l(t(f).tipText),1)]),_:1})]),_:1},8,["active"]),s(t(ke),{active:t(h),"onUpdate:active":o[5]||(o[5]=i=>L(h)?h.value=i:null)},{default:n(()=>[s(t(F),null,{default:n(()=>[s(t(S),{finished:t(x),loading:t(r),"onUpdate:loading":o[1]||(o[1]=i=>L(r)?r.value=i:null),onLoad:O},{default:n(()=>[(u(!0),b(B,null,w(t(c),i=>(u(),R(t(P),{key:i},{default:n(()=>[T(l(t(f).listItem)+": "+l(i),1)]),_:2},1024))),128))]),_:1},8,["finished","loading"])]),_:1}),s(t(F),null,{default:n(()=>[s(t(S),{finished:t(g),error:t(U),"onUpdate:error":o[2]||(o[2]=i=>L(U)?U.value=i:null),loading:t(p),"onUpdate:loading":o[3]||(o[3]=i=>L(p)?p.value=i:null),onLoad:W},{default:n(()=>[(u(!0),b(B,null,w(t(m),i=>(u(),R(t(P),{key:i},{default:n(()=>[T(l(t(f).listItem)+": "+l(i),1)]),_:2},1024))),128))]),_:1},8,["finished","error","loading"])]),_:1}),s(t(F),null,{default:n(()=>[s(t(S),{"loading-text":t(f).loadingText,"finished-text":t(f).finishedText,"error-text":t(f).errorText,finished:t(_),loading:t(v),"onUpdate:loading":o[4]||(o[4]=i=>L(v)?v.value=i:null),onLoad:q},{default:n(()=>[(u(!0),b(B,null,w(t(N),i=>(u(),R(t(P),{key:i},{default:n(()=>[T(l(t(f).listItem)+": "+l(i),1)]),_:2},1024))),128))]),_:1},8,["loading-text","finished-text","error-text","finished","loading"])]),_:1})]),_:1},8,["active"])],64))}};export{ot as default}; +import{L as G}from"./index-1e0bee81.js";import{v as J}from"./index-28dcc9be.js";import{g as K,t as X}from"./elements-23c82371.js";import{d as $,a as C,c as Y,w as Z}from"./components-a5332e66.js";import{a3 as j,d as H,r as D,G as V,at as ee,aJ as te,ae,n as ie,ah as M,_ as ne,b as oe,L as se,e as u,m as b,v as I,p as y,x as k,R as l,q as s,t as E,P as le,Q as T,W as re,aW as de,F as fe,al as ue,w as n,U as t,aX as L,N as B,O as w,f as R}from"./index-0bd4ebfc.js";import{p as me,u as pe,b as Q,_ as ge,c as ce,a as ve}from"./index-4a9c2ae2.js";import{a as Te,T as F}from"./index-72aad0a2.js";import{C as P}from"./index-3f170ae4.js";import{a as z,T as he}from"./index-bf94e46f.js";import{T as ke}from"./index-5a594378.js";import{d as Le}from"./index-d8fbf18c.js";import"./index-9eb15296.js";/* empty css */import"./logger-525ef361.js";import"./index-f71140ae.js";import"./provide-e4d73c18.js";import"./provide-90c65717.js";import"./index-2c5b74fa.js";import"./index-482a9388.js";import"./shared-a3ff1edc.js";import"./index-67cbdf85.js";import"./index-1f1d0c91.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./provide-f823f5cd.js";const be={loading:Boolean,immediateCheck:{type:Boolean,default:!0},finished:Boolean,error:Boolean,offset:{type:[String,Number],default:0},loadingText:String,finishedText:String,errorText:String,onLoad:$(),"onUpdate:loading":$(),"onUpdate:error":$()};function xe(){const{parentProvider:e,bindParent:a,index:c}=j(Te);return{index:c,tabItem:e,bindTabItem:a}}const{name:Ue,n:Ne,classes:Ce}=Y("list"),Ie=H({name:Ue,directives:{Ripple:J},components:{VarLoading:G},props:be,setup(e){const a=D(null),c=D(null),{tabItem:m,bindTabItem:N}=xe();let r;C(N,{}),m&&V(()=>m.current.value,g),V(()=>[e.loading,e.error,e.finished],g),ee(()=>{r=K(a.value),r.addEventListener("scroll",g),e.immediateCheck&&g()}),te(x);function p(){C(e["onUpdate:error"],!1),C(e["onUpdate:loading"],!0),C(e.onLoad)}function v(){const{bottom:_}=M(r),{bottom:U}=M(c.value);return Math.floor(U)-X(e.offset)<=_}function x(){r.removeEventListener("scroll",g)}async function g(){await ie(),!(e.loading||e.finished||e.error||(m==null?void 0:m.current.value)===!1||!v())&&p()}return{pack:me,listEl:a,detectorEl:c,isNumber:ae,load:p,check:g,n:Ne,classes:Ce}}});function ye(e,a,c,m,N,r){const p=oe("var-loading"),v=se("ripple");return u(),b("div",{class:k(e.classes(e.n(),e.n("$--box"))),ref:"listEl"},[I(e.$slots,"default"),e.loading?I(e.$slots,"loading",{key:0},()=>[y("div",{class:k(e.n("loading"))},[y("div",{class:k(e.n("loading-text"))},l(e.loadingText??e.pack.listLoadingText),3),s(p,{size:"mini",radius:10})],2)]):E("",!0),e.finished?I(e.$slots,"finished",{key:1},()=>[y("div",{class:k(e.n("finished"))},l(e.finishedText??e.pack.listFinishedText),3)]):E("",!0),e.error?I(e.$slots,"error",{key:2},()=>[le((u(),b("div",{class:k(e.n("error")),onClick:a[0]||(a[0]=(...x)=>e.load&&e.load(...x))},[T(l(e.errorText??e.pack.listErrorText),1)],2)),[[v]])]):E("",!0),y("div",{class:k(e.n("detector")),ref:"detectorEl"},null,2)],2)}const S=ne(Ie,[["render",ye]]);Z(S);const Be={basicUsage:"基本使用",loadFail:"加载失败",tipText:"提示文字",loadingText:"正在努力输出",errorText:"出错了出错了",finishedText:"一滴都没有了",listItem:"列表项"},Se={basicUsage:"Basic Usage",loadFail:"Load Fail",tipText:"Tip Text",loadingText:"loading QAQ",errorText:"error TNT",finishedText:"finished ORZ",listItem:"List Item"},{add:A,use:_e,pack:f,packs:it,merge:nt}=pe(),$e=e=>{ve(e),_e(e)};Q("zh-CN",ge);Q("en-US",ce);A("zh-CN",Be);A("en-US",Se);const ot={__name:"index",setup(e){const a=re({loading:!1,loading2:!1,loading3:!1,finished:!1,finished2:!1,finished3:!1,error:!1,list:[],list2:[],list3:[],current:0}),{list:c,list2:m,list3:N,loading:r,loading2:p,loading3:v,finished:x,finished2:g,finished3:_,error:U,current:h}=de(a);function O(){setTimeout(()=>{for(let d=0;d<20;d++)a.list.push(a.list.length+1);a.loading=!1,a.list.length>=60&&(a.finished=!0)},1e3)}function W(){setTimeout(()=>{if(a.list2.length===40){a.error=!0,a.loading2=!1;return}for(let d=0;d<20;d++)a.list2.push(a.list2.length+1);a.loading2=!1},1e3)}function q(){setTimeout(()=>{for(let d=0;d<20;d++)a.list3.push(a.list3.length+1);a.loading3=!1,a.list3.length>=60&&(a.finished3=!0)},1e3)}return fe($e),ue(Le),(d,o)=>(u(),b(B,null,[s(t(he),{active:t(h),"onUpdate:active":o[0]||(o[0]=i=>L(h)?h.value=i:null),sticky:"","offset-top":"14.4vmin",style:{"margin-bottom":"10px"}},{default:n(()=>[s(t(z),null,{default:n(()=>[T(l(t(f).basicUsage),1)]),_:1}),s(t(z),null,{default:n(()=>[T(l(t(f).loadFail),1)]),_:1}),s(t(z),null,{default:n(()=>[T(l(t(f).tipText),1)]),_:1})]),_:1},8,["active"]),s(t(ke),{active:t(h),"onUpdate:active":o[5]||(o[5]=i=>L(h)?h.value=i:null)},{default:n(()=>[s(t(F),null,{default:n(()=>[s(t(S),{finished:t(x),loading:t(r),"onUpdate:loading":o[1]||(o[1]=i=>L(r)?r.value=i:null),onLoad:O},{default:n(()=>[(u(!0),b(B,null,w(t(c),i=>(u(),R(t(P),{key:i},{default:n(()=>[T(l(t(f).listItem)+": "+l(i),1)]),_:2},1024))),128))]),_:1},8,["finished","loading"])]),_:1}),s(t(F),null,{default:n(()=>[s(t(S),{finished:t(g),error:t(U),"onUpdate:error":o[2]||(o[2]=i=>L(U)?U.value=i:null),loading:t(p),"onUpdate:loading":o[3]||(o[3]=i=>L(p)?p.value=i:null),onLoad:W},{default:n(()=>[(u(!0),b(B,null,w(t(m),i=>(u(),R(t(P),{key:i},{default:n(()=>[T(l(t(f).listItem)+": "+l(i),1)]),_:2},1024))),128))]),_:1},8,["finished","error","loading"])]),_:1}),s(t(F),null,{default:n(()=>[s(t(S),{"loading-text":t(f).loadingText,"finished-text":t(f).finishedText,"error-text":t(f).errorText,finished:t(_),loading:t(v),"onUpdate:loading":o[4]||(o[4]=i=>L(v)?v.value=i:null),onLoad:q},{default:n(()=>[(u(!0),b(B,null,w(t(N),i=>(u(),R(t(P),{key:i},{default:n(()=>[T(l(t(f).listItem)+": "+l(i),1)]),_:2},1024))),128))]),_:1},8,["loading-text","finished-text","error-text","finished","loading"])]),_:1})]),_:1},8,["active"])],64))}};export{ot as default}; diff --git a/assets/index-0c8eb836.js b/assets/index-0c8eb836.js deleted file mode 100644 index af4ce700288..00000000000 --- a/assets/index-0c8eb836.js +++ /dev/null @@ -1 +0,0 @@ -import{T as o}from"./index-10aaf98b.js";import{d as e}from"./index-d8fbf18c.js";import{d as a,al as r,_ as m,b as n,e as p,f as s}from"./index-af5fec45.js";import"./index-8c96e01f.js";import"./logger-525ef361.js";import"./provide-521cd214.js";import"./components-3ae053cb.js";import"./provide-0e472439.js";const c=a({name:"TabItemExample",components:{VarTabItem:o},setup(){r(e)}});function i(_,d,f,b,l,u){const t=n("var-tab-item");return p(),s(t)}const C=m(c,[["render",i]]);export{C as default}; diff --git a/assets/index-801ce3ba.js b/assets/index-0dba4f4e.js similarity index 86% rename from assets/index-801ce3ba.js rename to assets/index-0dba4f4e.js index 86f68ad8c62..ef38ce3086b 100644 --- a/assets/index-801ce3ba.js +++ b/assets/index-0dba4f4e.js @@ -1 +1 @@ -import{T as m}from"./index-9fe07c8e.js";import{d as u,g as c,c as f,w as g}from"./components-3ae053cb.js";import{d as C,D as i,_ as y,b as k,e as r,f as v,w as p,v as o,m as h,R as S,p as $,x as B,y as T,aQ as b,aR as w}from"./index-af5fec45.js";const E={expand:Boolean,expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Object,Boolean],default:!0},"onUpdate:expand":u()},{name:z,n:N,classes:P}=f("ellipsis"),R=C({name:z,components:{VarTooltip:m},props:E,setup(e){const t=c(e,"expand"),a=i(()=>e.lineClamp?{"-webkit-line-clamp":e.lineClamp}:{}),s=i(()=>e.tooltip===!1?{disabled:!0}:e.tooltip===!0?{sameWidth:!0}:{sameWidth:!0,...e.tooltip});function l(){e.expandTrigger&&(t.value=!t.value)}return{tooltip:s,expanding:t,rootStyles:a,n:N,classes:P,handleClick:l}}});const V={key:0};function D(e,t,a,s,l,_){const d=k("var-tooltip");return r(),v(d,b(w(e.tooltip)),{content:p(()=>[o(e.$slots,"tooltip-content",{},()=>{var n;return[(n=e.tooltip)!=null&&n.content?(r(),h("span",V,S(e.tooltip.content),1)):o(e.$slots,"default",{key:1})]})]),default:p(()=>[$("span",{class:B(e.classes(e.n(),[e.lineClamp,e.n("--clamp"),e.n("--line")],[e.expandTrigger,e.n("--cursor")],[e.expanding,e.n("--expand")])),style:T(e.rootStyles),onClick:t[0]||(t[0]=(...n)=>e.handleClick&&e.handleClick(...n))},[o(e.$slots,"default")],6)]),_:3},16)}const W=y(R,[["render",D]]);g(W);export{W as E}; +import{T as m}from"./index-e4246741.js";import{d as u,g as c,c as f,w as g}from"./components-a5332e66.js";import{d as C,D as i,_ as y,b as k,e as r,f as v,w as p,v as o,m as h,R as S,p as $,x as B,y as T,aQ as b,aR as w}from"./index-0bd4ebfc.js";const E={expand:Boolean,expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Object,Boolean],default:!0},"onUpdate:expand":u()},{name:z,n:N,classes:P}=f("ellipsis"),R=C({name:z,components:{VarTooltip:m},props:E,setup(e){const t=c(e,"expand"),a=i(()=>e.lineClamp?{"-webkit-line-clamp":e.lineClamp}:{}),s=i(()=>e.tooltip===!1?{disabled:!0}:e.tooltip===!0?{sameWidth:!0}:{sameWidth:!0,...e.tooltip});function l(){e.expandTrigger&&(t.value=!t.value)}return{tooltip:s,expanding:t,rootStyles:a,n:N,classes:P,handleClick:l}}});const V={key:0};function D(e,t,a,s,l,_){const d=k("var-tooltip");return r(),v(d,b(w(e.tooltip)),{content:p(()=>[o(e.$slots,"tooltip-content",{},()=>{var n;return[(n=e.tooltip)!=null&&n.content?(r(),h("span",V,S(e.tooltip.content),1)):o(e.$slots,"default",{key:1})]})]),default:p(()=>[$("span",{class:B(e.classes(e.n(),[e.lineClamp,e.n("--clamp"),e.n("--line")],[e.expandTrigger,e.n("--cursor")],[e.expanding,e.n("--expand")])),style:T(e.rootStyles),onClick:t[0]||(t[0]=(...n)=>e.handleClick&&e.handleClick(...n))},[o(e.$slots,"default")],6)]),_:3},16)}const W=y(R,[["render",D]]);g(W);export{W as E}; diff --git a/assets/index-d24e7e49.js b/assets/index-0e439e92.js similarity index 88% rename from assets/index-d24e7e49.js rename to assets/index-0e439e92.js index a03fa5c5993..0c8d51c0667 100644 --- a/assets/index-d24e7e49.js +++ b/assets/index-0e439e92.js @@ -1 +1 @@ -import{d as p,ax as g,G as k,D as I,q as l,au as P,aw as x,P as c,Y as d,T as f,as as B}from"./index-af5fec45.js";import{d as n,u as A,e as T,c as $,a as s,w as j}from"./components-3ae053cb.js";import{u as z}from"./lock-7a098446.js";import{u as L}from"./zIndex-a2732bb2.js";import{u as N}from"./provide-c3581da5.js";/* empty css */const R={show:Boolean,position:{type:String,default:"center"},transition:String,overlay:{type:Boolean,default:!0},overlayClass:String,overlayStyle:Object,lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},defaultStyle:{type:Boolean,default:!0},safeArea:Boolean,safeAreaTop:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onOpen:n(),onOpened:n(),onClose:n(),onClosed:n(),onClickOverlay:n(),"onUpdate:show":n(),onRouteChange:n()};function y(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!x(e)}const{name:_,n:o,classes:u}=$("popup"),D=p({name:_,inheritAttrs:!1,props:R,setup(e,{slots:v,attrs:m}){const h=g(()=>e.show,!0),{zIndex:r}=L(()=>e.show,3),{disabled:w}=A(),{bindPopupItems:C}=N();z(()=>e.show,()=>e.lockScroll),k(()=>e.show,t=>{t?s(e.onOpen):s(e.onClose)}),C({show:I(()=>e.show)}),T(()=>s(e.onRouteChange));function O(){const{closeOnClickOverlay:t,onClickOverlay:a}=e;s(a),t&&s(e["onUpdate:show"],!1)}function S(){const{overlayClass:t="",overlayStyle:a}=e;return l("div",{class:u(o("overlay"),t),style:{zIndex:r.value-1,...a},onClick:O},null)}function b(){return c(l("div",B({class:u(o("content"),o(`--${e.position}`),[e.defaultStyle,o("--content-background-color")],[e.defaultStyle,o("$-elevation--3")],[e.safeArea,o("--safe-area")],[e.safeAreaTop,o("--safe-area-top")]),style:{zIndex:r.value}},m),[h.value&&s(v.default)]),[[d,e.show]])}function i(){let t;return l(f,{name:o("$-fade"),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[c(l("div",{class:u(o("$--box"),o()),style:{zIndex:r.value-2}},[e.overlay&&S(),l(f,{name:e.transition||o(`$-pop-${e.position}`)},y(t=b())?t:{default:()=>[t]})]),[[d,e.show]])]})}return()=>{const{teleport:t}=e;if(t){let a;return l(P,{to:t,disabled:w.value},y(a=i())?a:{default:()=>[a]})}return i()}}});j(D);export{D as P,R as p}; +import{d as p,ax as g,G as k,D as I,q as l,au as P,aw as x,P as c,Y as d,T as f,as as B}from"./index-0bd4ebfc.js";import{d as n,u as A,e as T,c as $,a as s,w as j}from"./components-a5332e66.js";import{u as z}from"./lock-e6f4e779.js";import{u as L}from"./zIndex-976ced0e.js";import{u as N}from"./provide-f823f5cd.js";/* empty css */const R={show:Boolean,position:{type:String,default:"center"},transition:String,overlay:{type:Boolean,default:!0},overlayClass:String,overlayStyle:Object,lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},defaultStyle:{type:Boolean,default:!0},safeArea:Boolean,safeAreaTop:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onOpen:n(),onOpened:n(),onClose:n(),onClosed:n(),onClickOverlay:n(),"onUpdate:show":n(),onRouteChange:n()};function y(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!x(e)}const{name:_,n:o,classes:u}=$("popup"),D=p({name:_,inheritAttrs:!1,props:R,setup(e,{slots:v,attrs:m}){const h=g(()=>e.show,!0),{zIndex:r}=L(()=>e.show,3),{disabled:w}=A(),{bindPopupItems:C}=N();z(()=>e.show,()=>e.lockScroll),k(()=>e.show,t=>{t?s(e.onOpen):s(e.onClose)}),C({show:I(()=>e.show)}),T(()=>s(e.onRouteChange));function O(){const{closeOnClickOverlay:t,onClickOverlay:a}=e;s(a),t&&s(e["onUpdate:show"],!1)}function S(){const{overlayClass:t="",overlayStyle:a}=e;return l("div",{class:u(o("overlay"),t),style:{zIndex:r.value-1,...a},onClick:O},null)}function b(){return c(l("div",B({class:u(o("content"),o(`--${e.position}`),[e.defaultStyle,o("--content-background-color")],[e.defaultStyle,o("$-elevation--3")],[e.safeArea,o("--safe-area")],[e.safeAreaTop,o("--safe-area-top")]),style:{zIndex:r.value}},m),[h.value&&s(v.default)]),[[d,e.show]])}function i(){let t;return l(f,{name:o("$-fade"),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[c(l("div",{class:u(o("$--box"),o()),style:{zIndex:r.value-2}},[e.overlay&&S(),l(f,{name:e.transition||o(`$-pop-${e.position}`)},y(t=b())?t:{default:()=>[t]})]),[[d,e.show]])]})}return()=>{const{teleport:t}=e;if(t){let a;return l(P,{to:t,disabled:w.value},y(a=i())?a:{default:()=>[a]})}return i()}}});j(D);export{D as P,R as p}; diff --git a/assets/index-e47c1801.js b/assets/index-0fd7c0ec.js similarity index 89% rename from assets/index-e47c1801.js rename to assets/index-0fd7c0ec.js index e4e65dff7c4..97f87c4d212 100644 --- a/assets/index-e47c1801.js +++ b/assets/index-0fd7c0ec.js @@ -1 +1 @@ -import{F as W,u as q}from"./provide-c979a783.js";import{v as E}from"./index-2b41cfe8.js";import{H as I}from"./index-8bbf4ef8.js";import{H as j,u as G}from"./index-2c1498a1.js";import{d as C,h as J,a as u,c as K,w as Q}from"./components-3ae053cb.js";import{m as o}from"./elements-68ad626b.js";import{d as X,D as H,n as Y,_ as Z,b as z,L as $,P as F,e as b,m as w,p as c,y as v,x as r,t as _,q as N}from"./index-af5fec45.js";const x={modelValue:{default:!1},activeValue:{default:!0},inactiveValue:{default:!1},disabled:Boolean,readonly:Boolean,loading:Boolean,color:String,loadingColor:String,closeColor:String,size:[String,Number],rules:Array,ripple:{type:Boolean,default:!0},onClick:C(),onChange:C(),"onUpdate:modelValue":C()},{name:ee,n:ae,classes:le}=K("switch"),oe=X({name:ee,components:{VarFormDetails:W,VarHoverOverlay:j},directives:{Ripple:E,Hover:I},props:x,setup(e){const{bindForm:h,form:a}=q(),{errorMessage:n,validateWithTrigger:k,validate:S,resetValidation:m}=J(),{hovering:p,handleHovering:g}=G(),y=H(()=>{const{size:l,modelValue:i,color:t,closeColor:d,loadingColor:f,activeValue:s}=e;return{handle:{width:o(l),height:o(l),backgroundColor:i===s?t:d,color:f},ripple:{left:i===s?o(l,.5):`-${o(l,.5)}`,color:i===s?t:d||"#999",width:o(l,2),height:o(l,2)},track:{height:o(l,.72),width:o(l,1.9),borderRadius:o(l,2/3),filter:i===s||n!=null&&n.value?void 0:"brightness(.6)",backgroundColor:i===s?t:d},switch:{height:o(l,1.2),width:o(l,2)}}}),V=H(()=>o(e.size,.8));u(h,{reset:M,validate:A,resetValidation:m});function A(){return S(e.rules,e.modelValue)}function P(){return Y(()=>k(["onChange"],"onChange",e.rules,e.modelValue))}function R(l){const{onClick:i,onChange:t,disabled:d,loading:f,readonly:s,modelValue:O,activeValue:B,inactiveValue:T,"onUpdate:modelValue":L}=e;if(u(i,l),d||f||s||a!=null&&a.disabled.value||a!=null&&a.readonly.value)return;const D=O===B?T:B;u(t,D),u(L,D),P()}function U(l){e.disabled||a!=null&&a.disabled.value||g(l)}function M(){u(e["onUpdate:modelValue"],e.inactiveValue),m()}return{hovering:p,radius:V,styleComputed:y,errorMessage:n,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,n:ae,classes:le,multiplySizeUnit:o,switchActive:R,hover:U}}});const ie=c("svg",{viewBox:"25 25 50 50"},[c("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1),se=[ie];function re(e,h,a,n,k,S){const m=z("var-hover-overlay"),p=z("var-form-details"),g=$("ripple"),y=$("hover");return F((b(),w("div",{class:r(e.n())},[c("div",{class:r(e.classes(e.n("block"),[e.disabled||e.formDisabled,e.n("--disabled")])),onClick:h[0]||(h[0]=(...V)=>e.switchActive&&e.switchActive(...V)),style:v(e.styleComputed.switch)},[c("div",{style:v(e.styleComputed.track),class:r(e.classes(e.n("track"),[e.modelValue===e.activeValue,e.n("track--active")],[e.errorMessage,e.n("track--error")]))},null,6),F((b(),w("div",{class:r(e.classes(e.n("ripple"),[e.modelValue===e.activeValue,e.n("ripple--active")])),style:v(e.styleComputed.ripple)},[c("div",{style:v(e.styleComputed.handle),class:r(e.classes(e.n("handle"),e.n("$-elevation--2"),[e.modelValue===e.activeValue,e.n("handle--active")],[e.errorMessage,e.n("handle--error")]))},[e.loading?(b(),w("span",{key:0,class:r(e.n("loading")),style:v({width:e.radius,height:e.radius})},se,6)):_("",!0)],6),N(m,{hovering:e.hovering},null,8,["hovering"])],6)),[[g,{disabled:!e.ripple||e.disabled||e.loading||e.formDisabled}]])],6),N(p,{"error-message":e.errorMessage},null,8,["error-message"])],2)),[[y,e.hover,"desktop"]])}const ne=Z(oe,[["render",re]]);Q(ne);export{ne as S}; +import{F as W,u as q}from"./provide-4fc67263.js";import{v as E}from"./index-28dcc9be.js";import{H as I}from"./index-27fcaf7d.js";import{H as j,u as G}from"./index-d956da3f.js";import{d as C,h as J,a as u,c as K,w as Q}from"./components-a5332e66.js";import{m as o}from"./elements-23c82371.js";import{d as X,D as H,n as Y,_ as Z,b as z,L as $,P as F,e as b,m as w,p as c,y as v,x as r,t as _,q as N}from"./index-0bd4ebfc.js";const x={modelValue:{default:!1},activeValue:{default:!0},inactiveValue:{default:!1},disabled:Boolean,readonly:Boolean,loading:Boolean,color:String,loadingColor:String,closeColor:String,size:[String,Number],rules:Array,ripple:{type:Boolean,default:!0},onClick:C(),onChange:C(),"onUpdate:modelValue":C()},{name:ee,n:ae,classes:le}=K("switch"),oe=X({name:ee,components:{VarFormDetails:W,VarHoverOverlay:j},directives:{Ripple:E,Hover:I},props:x,setup(e){const{bindForm:h,form:a}=q(),{errorMessage:n,validateWithTrigger:k,validate:S,resetValidation:m}=J(),{hovering:p,handleHovering:g}=G(),y=H(()=>{const{size:l,modelValue:i,color:t,closeColor:d,loadingColor:f,activeValue:s}=e;return{handle:{width:o(l),height:o(l),backgroundColor:i===s?t:d,color:f},ripple:{left:i===s?o(l,.5):`-${o(l,.5)}`,color:i===s?t:d||"#999",width:o(l,2),height:o(l,2)},track:{height:o(l,.72),width:o(l,1.9),borderRadius:o(l,2/3),filter:i===s||n!=null&&n.value?void 0:"brightness(.6)",backgroundColor:i===s?t:d},switch:{height:o(l,1.2),width:o(l,2)}}}),V=H(()=>o(e.size,.8));u(h,{reset:M,validate:A,resetValidation:m});function A(){return S(e.rules,e.modelValue)}function P(){return Y(()=>k(["onChange"],"onChange",e.rules,e.modelValue))}function R(l){const{onClick:i,onChange:t,disabled:d,loading:f,readonly:s,modelValue:O,activeValue:B,inactiveValue:T,"onUpdate:modelValue":L}=e;if(u(i,l),d||f||s||a!=null&&a.disabled.value||a!=null&&a.readonly.value)return;const D=O===B?T:B;u(t,D),u(L,D),P()}function U(l){e.disabled||a!=null&&a.disabled.value||g(l)}function M(){u(e["onUpdate:modelValue"],e.inactiveValue),m()}return{hovering:p,radius:V,styleComputed:y,errorMessage:n,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,n:ae,classes:le,multiplySizeUnit:o,switchActive:R,hover:U}}});const ie=c("svg",{viewBox:"25 25 50 50"},[c("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1),se=[ie];function re(e,h,a,n,k,S){const m=z("var-hover-overlay"),p=z("var-form-details"),g=$("ripple"),y=$("hover");return F((b(),w("div",{class:r(e.n())},[c("div",{class:r(e.classes(e.n("block"),[e.disabled||e.formDisabled,e.n("--disabled")])),onClick:h[0]||(h[0]=(...V)=>e.switchActive&&e.switchActive(...V)),style:v(e.styleComputed.switch)},[c("div",{style:v(e.styleComputed.track),class:r(e.classes(e.n("track"),[e.modelValue===e.activeValue,e.n("track--active")],[e.errorMessage,e.n("track--error")]))},null,6),F((b(),w("div",{class:r(e.classes(e.n("ripple"),[e.modelValue===e.activeValue,e.n("ripple--active")])),style:v(e.styleComputed.ripple)},[c("div",{style:v(e.styleComputed.handle),class:r(e.classes(e.n("handle"),e.n("$-elevation--2"),[e.modelValue===e.activeValue,e.n("handle--active")],[e.errorMessage,e.n("handle--error")]))},[e.loading?(b(),w("span",{key:0,class:r(e.n("loading")),style:v({width:e.radius,height:e.radius})},se,6)):_("",!0)],6),N(m,{hovering:e.hovering},null,8,["hovering"])],6)),[[g,{disabled:!e.ripple||e.disabled||e.loading||e.formDisabled}]])],6),N(p,{"error-message":e.errorMessage},null,8,["error-message"])],2)),[[y,e.hover,"desktop"]])}const ne=Z(oe,[["render",re]]);Q(ne);export{ne as S}; diff --git a/assets/index-08205967.js b/assets/index-102c8be6.js similarity index 92% rename from assets/index-08205967.js rename to assets/index-102c8be6.js index 672f5befcbf..a2edd41f46e 100644 --- a/assets/index-08205967.js +++ b/assets/index-102c8be6.js @@ -1 +1 @@ -import{S as re}from"./index-2684e5c7.js";import{a1 as le,a3 as ie,d as Y,r as f,D as _,T as ce,_ as q,e as h,f as de,w as b,p as K,as as ue,v as G,Q as N,R as m,an as fe,G as pe,at as me,b5 as ve,a9 as he,a8 as ye,a4 as H,ai as ge,aj as ke,j as L,a_ as _e,a5 as be,ak as Ce,ah as V,m as g,N as Q,O as W,x as O,y as M,o as Te,F as xe,al as Ie,q as S,U as y}from"./index-af5fec45.js";import{e as $e}from"./logger-525ef361.js";import{c as J,d as X,a as j,w as Se}from"./components-3ae053cb.js";import{e as Ne}from"./shared-de177aa1.js";import{t as Be,s as we,g as Ae}from"./elements-68ad626b.js";import{C as F}from"./index-4237591d.js";import{d as Ee}from"./index-d8fbf18c.js";import{u as ze,b as Z,_ as De,c as Le,a as Oe}from"./index-2b61c8d0.js";import"./index-057aa4ba.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */const ee=Symbol("INDEX_BAR_BIND_INDEX_ANCHOR_KEY");function Pe(){const{bindChildren:e,length:a,childProviders:t}=le(ee);return{length:a,indexAnchors:t,bindIndexAnchors:e}}function Me(){const{parentProvider:e,index:a,bindParent:t}=ie(ee);return t||$e("IndexAnchor",'You should use this component in "IndexBar"'),{index:a,indexBar:e,bindIndexBar:t}}const Re={index:[Number,String]},{name:Ue,n:He,classes:Ve}=J("index-anchor"),Xe=Y({name:Ue,components:{VarSticky:re},inheritAttrs:!1,props:Re,setup(e){const a=f(0),t=f(!1),c=_(()=>e.index),s=f(null),{index:o,indexBar:d,bindIndexBar:i}=Me(),{active:C,sticky:B,cssMode:v,stickyOffsetTop:w,zIndex:r}=d;i({index:o,name:c,ownTop:a,setOwnTop:A,setDisabled:T});function A(){s.value&&(a.value=s.value.$el?s.value.$el.offsetTop:s.value.offsetTop)}function T(x){t.value=x}return{n:He,classes:Ve,name:c,anchorEl:s,active:C,sticky:B,zIndex:r,disabled:t,cssMode:v,stickyOffsetTop:w,Transition:ce}}});function je(e,a,t,c,s,o){return h(),de(fe(e.sticky?e.n("$-sticky"):e.Transition),{"offset-top":e.sticky?e.stickyOffsetTop:null,"z-index":e.sticky?e.zIndex:null,disabled:e.disabled&&!e.cssMode,"css-mode":e.cssMode,ref:"anchorEl"},{default:b(()=>[K("div",ue({class:e.n()},e.$attrs),[G(e.$slots,"default",{},()=>[N(m(e.name),1)])],16)]),_:3},8,["offset-top","z-index","disabled","css-mode"])}const Fe=q(Xe,[["render",je]]),Ye={sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:[String,Number],default:0},cssMode:Boolean,stickyCssMode:Boolean,hideList:Boolean,zIndex:{type:[Number,String],default:1},highlightColor:String,duration:{type:[Number,String],default:0},onClick:X(),onChange:X()},{name:qe,n:Ke,classes:Ge}=J("index-bar"),Qe=Y({name:qe,props:Ye,setup(e){const a=f(""),t=f(null),c=f([]),s=f(),o=_(()=>e.sticky),d=_(()=>e.stickyCssMode||e.cssMode),i=_(()=>Be(e.stickyOffsetTop)),C=_(()=>e.zIndex),{length:B,indexAnchors:v,bindIndexAnchors:w}=Pe();let r=null,k=!1;const A={active:s,sticky:o,cssMode:d,stickyOffsetTop:i,zIndex:C};pe(()=>B.value,async()=>{await L(),v.forEach(({name:n,setOwnTop:l})=>{n.value&&c.value.push(n.value),l()})}),me(async()=>{await te(),ae()}),ve(U),he(()=>{k=!0,U()}),ye(()=>{!k||s.value===void 0||(E({anchorName:s.value,options:{event:!1}}),k=!1)}),w(A);function T(n,l){const u=be(n)?n.name.value:n;u===s.value||u===void 0||(s.value=u,(l==null?void 0:l.event)!==!1&&j(e.onChange,u))}function x(){if(Ce(r))return 0;const{top:n}=V(r),{scrollTop:l}=r,{top:u}=V(t.value);return l-n+u}function R(){const n=ge(r),l=r===window?document.body.scrollHeight:r.scrollHeight,u=x();v.forEach((p,I)=>{const z=p.ownTop.value,$=n-z+i.value-u,D=I===v.length-1?l:v[I+1].ownTop.value-p.ownTop.value;p.setDisabled(!0),$>=0&&$n===D.value);if(!p)return;const I=x(),z=p.ownTop.value-i.value+I,$=ke(r);a.value=n,T(n,u),await we(r,{left:$,top:z,animation:Ne,duration:H(e.duration)}),await L(),a.value=""}async function te(){await L(),r=Ae(t.value)}function ae(){r.addEventListener("scroll",R)}function U(){r.removeEventListener("scroll",R)}function oe(n,l){_e(()=>E({anchorName:n,options:l}))}return{barEl:t,active:s,zIndex:C,anchorNameList:c,n:Ke,classes:Ge,toNumber:H,scrollTo:oe,anchorClick:E}}});const We=["onClick"];function Je(e,a,t,c,s,o){return h(),g("div",{class:O(e.n()),ref:"barEl"},[G(e.$slots,"default"),K("ul",{class:O(e.n("anchor-list")),style:M({zIndex:e.toNumber(e.zIndex)+2,display:e.hideList?"none":"block"})},[(h(!0),g(Q,null,W(e.anchorNameList,d=>(h(),g("li",{key:d,class:O(e.classes(e.n("anchor-item"),[e.active===d,e.n("anchor-item--active")])),style:M({color:e.active===d&&e.highlightColor?e.highlightColor:""}),onClick:i=>e.anchorClick({anchorName:d,manualCall:!0})},m(d),15,We))),128))],6)],2)}const ne=q(Qe,[["render",Je]]);Se(ne);const Ze={title:"标题",text:"文本"},en={title:"Title",text:"Text"},{add:se,use:nn,pack:P,packs:gn,merge:kn}=ze(),sn=e=>{Oe(e),nn(e)};Z("zh-CN",De);Z("en-US",Le);se("zh-CN",Ze);se("en-US",en);const tn={class:"index-bar-example-container"},_n={__name:"index",setup(e){const a=f([]),t=f("#e7edf7"),c=f("#2e67ba");Te(()=>{for(let o=0;o<26;o++)a.value.push(String.fromCharCode(65+o))});function s(o){console.log(o)}return xe(sn),Ie(Ee,o=>{t.value=o==="darkTheme"?"rgb(41, 42, 45)":"#e7edf7",c.value=o==="darkTheme"?"#3980e8":"#2e67ba"}),(o,d)=>(h(),g("div",tn,[S(y(ne),{onChange:s,duration:"300"},{default:b(()=>[(h(!0),g(Q,null,W(a.value,i=>(h(),g("div",{key:i},[S(Fe,{index:i,class:"index-bar-example-anchor",style:M({background:t.value,color:c.value})},{default:b(()=>[N(m(y(P).title)+" "+m(i),1)]),_:2},1032,["index","style"]),S(y(F),null,{default:b(()=>[N(m(i)+" "+m(y(P).text),1)]),_:2},1024),S(y(F),null,{default:b(()=>[N(m(i)+" "+m(y(P).text),1)]),_:2},1024)]))),128))]),_:1})]))}};export{_n as default}; +import{S as re}from"./index-482a9388.js";import{a1 as le,a3 as ie,d as Y,r as f,D as _,T as ce,_ as q,e as h,f as de,w as b,p as K,as as ue,v as G,Q as N,R as m,an as fe,G as pe,at as me,b5 as ve,a9 as he,a8 as ye,a4 as H,ai as ge,aj as ke,j as L,a_ as _e,a5 as be,ak as Ce,ah as V,m as g,N as Q,O as W,x as O,y as M,o as Te,F as xe,al as Ie,q as S,U as y}from"./index-0bd4ebfc.js";import{e as $e}from"./logger-525ef361.js";import{c as J,d as X,a as j,w as Se}from"./components-a5332e66.js";import{e as Ne}from"./shared-a3ff1edc.js";import{t as Be,s as we,g as Ae}from"./elements-23c82371.js";import{C as F}from"./index-3f170ae4.js";import{d as Ee}from"./index-d8fbf18c.js";import{u as ze,b as Z,_ as De,c as Le,a as Oe}from"./index-4a9c2ae2.js";import"./index-2c5b74fa.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */const ee=Symbol("INDEX_BAR_BIND_INDEX_ANCHOR_KEY");function Pe(){const{bindChildren:e,length:a,childProviders:t}=le(ee);return{length:a,indexAnchors:t,bindIndexAnchors:e}}function Me(){const{parentProvider:e,index:a,bindParent:t}=ie(ee);return t||$e("IndexAnchor",'You should use this component in "IndexBar"'),{index:a,indexBar:e,bindIndexBar:t}}const Re={index:[Number,String]},{name:Ue,n:He,classes:Ve}=J("index-anchor"),Xe=Y({name:Ue,components:{VarSticky:re},inheritAttrs:!1,props:Re,setup(e){const a=f(0),t=f(!1),c=_(()=>e.index),s=f(null),{index:o,indexBar:d,bindIndexBar:i}=Me(),{active:C,sticky:B,cssMode:v,stickyOffsetTop:w,zIndex:r}=d;i({index:o,name:c,ownTop:a,setOwnTop:A,setDisabled:T});function A(){s.value&&(a.value=s.value.$el?s.value.$el.offsetTop:s.value.offsetTop)}function T(x){t.value=x}return{n:He,classes:Ve,name:c,anchorEl:s,active:C,sticky:B,zIndex:r,disabled:t,cssMode:v,stickyOffsetTop:w,Transition:ce}}});function je(e,a,t,c,s,o){return h(),de(fe(e.sticky?e.n("$-sticky"):e.Transition),{"offset-top":e.sticky?e.stickyOffsetTop:null,"z-index":e.sticky?e.zIndex:null,disabled:e.disabled&&!e.cssMode,"css-mode":e.cssMode,ref:"anchorEl"},{default:b(()=>[K("div",ue({class:e.n()},e.$attrs),[G(e.$slots,"default",{},()=>[N(m(e.name),1)])],16)]),_:3},8,["offset-top","z-index","disabled","css-mode"])}const Fe=q(Xe,[["render",je]]),Ye={sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:[String,Number],default:0},cssMode:Boolean,stickyCssMode:Boolean,hideList:Boolean,zIndex:{type:[Number,String],default:1},highlightColor:String,duration:{type:[Number,String],default:0},onClick:X(),onChange:X()},{name:qe,n:Ke,classes:Ge}=J("index-bar"),Qe=Y({name:qe,props:Ye,setup(e){const a=f(""),t=f(null),c=f([]),s=f(),o=_(()=>e.sticky),d=_(()=>e.stickyCssMode||e.cssMode),i=_(()=>Be(e.stickyOffsetTop)),C=_(()=>e.zIndex),{length:B,indexAnchors:v,bindIndexAnchors:w}=Pe();let r=null,k=!1;const A={active:s,sticky:o,cssMode:d,stickyOffsetTop:i,zIndex:C};pe(()=>B.value,async()=>{await L(),v.forEach(({name:n,setOwnTop:l})=>{n.value&&c.value.push(n.value),l()})}),me(async()=>{await te(),ae()}),ve(U),he(()=>{k=!0,U()}),ye(()=>{!k||s.value===void 0||(E({anchorName:s.value,options:{event:!1}}),k=!1)}),w(A);function T(n,l){const u=be(n)?n.name.value:n;u===s.value||u===void 0||(s.value=u,(l==null?void 0:l.event)!==!1&&j(e.onChange,u))}function x(){if(Ce(r))return 0;const{top:n}=V(r),{scrollTop:l}=r,{top:u}=V(t.value);return l-n+u}function R(){const n=ge(r),l=r===window?document.body.scrollHeight:r.scrollHeight,u=x();v.forEach((p,I)=>{const z=p.ownTop.value,$=n-z+i.value-u,D=I===v.length-1?l:v[I+1].ownTop.value-p.ownTop.value;p.setDisabled(!0),$>=0&&$n===D.value);if(!p)return;const I=x(),z=p.ownTop.value-i.value+I,$=ke(r);a.value=n,T(n,u),await we(r,{left:$,top:z,animation:Ne,duration:H(e.duration)}),await L(),a.value=""}async function te(){await L(),r=Ae(t.value)}function ae(){r.addEventListener("scroll",R)}function U(){r.removeEventListener("scroll",R)}function oe(n,l){_e(()=>E({anchorName:n,options:l}))}return{barEl:t,active:s,zIndex:C,anchorNameList:c,n:Ke,classes:Ge,toNumber:H,scrollTo:oe,anchorClick:E}}});const We=["onClick"];function Je(e,a,t,c,s,o){return h(),g("div",{class:O(e.n()),ref:"barEl"},[G(e.$slots,"default"),K("ul",{class:O(e.n("anchor-list")),style:M({zIndex:e.toNumber(e.zIndex)+2,display:e.hideList?"none":"block"})},[(h(!0),g(Q,null,W(e.anchorNameList,d=>(h(),g("li",{key:d,class:O(e.classes(e.n("anchor-item"),[e.active===d,e.n("anchor-item--active")])),style:M({color:e.active===d&&e.highlightColor?e.highlightColor:""}),onClick:i=>e.anchorClick({anchorName:d,manualCall:!0})},m(d),15,We))),128))],6)],2)}const ne=q(Qe,[["render",Je]]);Se(ne);const Ze={title:"标题",text:"文本"},en={title:"Title",text:"Text"},{add:se,use:nn,pack:P,packs:gn,merge:kn}=ze(),sn=e=>{Oe(e),nn(e)};Z("zh-CN",De);Z("en-US",Le);se("zh-CN",Ze);se("en-US",en);const tn={class:"index-bar-example-container"},_n={__name:"index",setup(e){const a=f([]),t=f("#e7edf7"),c=f("#2e67ba");Te(()=>{for(let o=0;o<26;o++)a.value.push(String.fromCharCode(65+o))});function s(o){console.log(o)}return xe(sn),Ie(Ee,o=>{t.value=o==="darkTheme"?"rgb(41, 42, 45)":"#e7edf7",c.value=o==="darkTheme"?"#3980e8":"#2e67ba"}),(o,d)=>(h(),g("div",tn,[S(y(ne),{onChange:s,duration:"300"},{default:b(()=>[(h(!0),g(Q,null,W(a.value,i=>(h(),g("div",{key:i},[S(Fe,{index:i,class:"index-bar-example-anchor",style:M({background:t.value,color:c.value})},{default:b(()=>[N(m(y(P).title)+" "+m(i),1)]),_:2},1032,["index","style"]),S(y(F),null,{default:b(()=>[N(m(i)+" "+m(y(P).text),1)]),_:2},1024),S(y(F),null,{default:b(()=>[N(m(i)+" "+m(y(P).text),1)]),_:2},1024)]))),128))]),_:1})]))}};export{_n as default}; diff --git a/assets/index-eb9351e0.js b/assets/index-1128f16a.js similarity index 95% rename from assets/index-eb9351e0.js rename to assets/index-1128f16a.js index 9b32b9a96dd..0854c3c67a0 100644 --- a/assets/index-eb9351e0.js +++ b/assets/index-1128f16a.js @@ -1 +1 @@ -import{F as pe,u as Ne}from"./provide-c979a783.js";import{H as Ce,u as _}from"./index-2c1498a1.js";import{H as He}from"./index-8bbf4ef8.js";import{d as T,h as ze,a as p,c as De,w as Pe}from"./components-3ae053cb.js";import{m as Le,d as Te}from"./elements-68ad626b.js";import{w as x}from"./logger-525ef361.js";import{d as we,r as E,D as y,a4 as i,a2 as b,U as O,ae as M,W as Ee,G as ee,at as Oe,b5 as Me,aO as Ue,n as Be,ah as We,_ as Ie,b as te,L as Ae,e as U,m as B,p as S,x as f,y as N,N as Re,O as Xe,M as Ye,v as qe,P as Ge,q as ne,R as je}from"./index-af5fec45.js";var l=(e=>(e.First="1",e.Second="2",e))(l||{});const Je={modelValue:{type:[Number,Array],default:0},step:{type:[Number,String],default:1},range:Boolean,labelVisible:{type:String,default:"normal"},activeColor:String,trackColor:String,thumbColor:String,labelColor:String,labelTextColor:String,trackHeight:[String,Number],max:{type:[String,Number],default:100},min:{type:[String,Number],default:0},thumbSize:[String,Number],disabled:Boolean,readonly:Boolean,direction:{type:String,default:"horizontal"},rules:Array,onChange:T(),onStart:T(),onEnd:T(),"onUpdate:modelValue":T()},{name:Ke,n:re,classes:Qe}=De("slider"),Ze=we({name:Ke,components:{VarFormDetails:pe,VarHoverOverlay:Ce},directives:{Hover:He},props:Je,setup(e){const d=E(0),D=E(null),C=E(!1),P=y(()=>i(e.max)-i(e.min)),V=y(()=>d.value/P.value*i(e.step)),v=y(()=>e.disabled||(m==null?void 0:m.disabled.value)),k=y(()=>e.readonly||(m==null?void 0:m.readonly.value)),h=y(()=>e.direction==="vertical"),{bindForm:s,form:m}=Ne(),{errorMessage:ae,validateWithTrigger:le,validate:ie,resetValidation:W}=ze(),{hovering:I,handleHovering:A}=_(),{hovering:oe,handleHovering:se}=_(),ue=y(()=>{const{modelValue:t,range:n}=e;let r=[];return n&&b(t)?r=[{value:$(t[0]),enumValue:l.First,text:H(t[0]),hovering:O(I),handleHovering:A},{value:$(t[1]),enumValue:l.Second,text:H(t[1]),hovering:O(oe),handleHovering:se}]:M(t)&&(r=[{value:$(t),enumValue:l.First,text:H(t),hovering:O(I),handleHovering:A}]),r}),ce=y(()=>{const{activeColor:t,range:n,modelValue:r}=e,o=n&&b(r)?$(Math.min(r[0],r[1])):0,u=n&&b(r)?$(Math.max(r[0],r[1]))-o:$(r);return h.value?{left:"0px",height:`${u}%`,bottom:`${o}%`,background:t}:{top:"0px",width:`${u}%`,left:`${o}%`,background:t}}),a=Ee({[l.First]:R(),[l.Second]:R()});let g;p(s,{reset:ke,validate:de,resetValidation:W}),ee([()=>e.modelValue,()=>e.step],([t,n])=>{!q()||!G()||C.value||j(t,i(n))}),ee(d,()=>j()),Oe(()=>{!q()||!G()||(d.value=D.value[h.value?"offsetHeight":"offsetWidth"])}),Me(()=>{Y()});function de(){return ie(e.rules,e.modelValue)}function R(){return{startPosition:0,currentOffset:0,active:!1,percentValue:0}}function ve(){return Be(()=>le(["onChange"],"onChange",e.rules,e.modelValue))}function me(t){const n=t.currentTarget;return n?h.value?d.value-(t.clientY-We(n).top):t.clientX-Te(n):0}function fe(t){return{[h.value?"bottom":"left"]:`${t.value}%`,zIndex:a[t.enumValue].active?1:void 0}}function he(t){return e.labelVisible==="always"?!0:e.labelVisible==="never"?!1:a[t].active}function $(t){const{min:n,max:r}=e;return ti(r)?100:(t-i(n))/P.value*100}function H(t){if(!M(t))return 0;let n=t;return nNumber(e.max)&&(n=Number(e.max)),parseInt(`${n}`,10)===n?n:i(n.toPrecision(5))}function ge(t,n){v.value||n.handleHovering(t)}function X(t,n){let r=[];const{step:o,range:u,modelValue:c,onChange:z,min:J}=e,K=i(o),Q=Math.round(t/V.value),L=Q*K+i(J),$e=a[n].percentValue*K+i(J);if(a[n].percentValue=Q,u&&b(c)&&(r=n===l.First?[L,c[1]]:[c[0],L]),$e!==L){const Z=u?r.map(Fe=>H(Fe)):H(L);p(z,Z),p(e["onUpdate:modelValue"],Z),ve()}}function be(t){if(!e.range)return l.First;const n=a[l.First].percentValue*V.value,r=a[l.Second].percentValue*V.value,o=Math.abs(t-n),u=Math.abs(t-r);return o<=u?l.First:l.Second}function Ve(){document.addEventListener("touchmove",w,{passive:!1}),document.addEventListener("touchend",F),document.addEventListener("touchcancel",F)}function Y(){document.removeEventListener("touchmove",w),document.removeEventListener("touchend",F),document.removeEventListener("touchcancel",F)}function Se(t,n){if(d.value||(d.value=D.value.offsetWidth),v.value||(a[n].active=!0),g=n,Ve(),v.value||k.value)return;p(e.onStart),C.value=!0;const{clientX:r,clientY:o}=t.touches[0];a[n].startPosition=h.value?o:r}function w(t){if(Ue(t),v.value||k.value||!C.value)return;const{startPosition:n,currentOffset:r}=a[g],{clientX:o,clientY:u}=t.touches[0];let c=(h.value?n-u:o-n)+r;c<=0?c=0:c>=d.value&&(c=d.value),X(c,g)}function F(){Y();const{range:t,modelValue:n,onEnd:r,step:o,min:u}=e;if(v.value||(a[g].active=!1),v.value||k.value)return;let c=[];a[g].currentOffset=a[g].percentValue*V.value;const z=a[g].percentValue*i(o)+i(u);t&&b(n)&&(c=g===l.First?[z,n[1]]:[n[0],z]),p(r,t?c:z),C.value=!1}function ye(t){if(v.value||k.value||t.target.closest(`.${re("thumb")}`))return;const n=me(t),r=be(n);g=r,X(n,r),F()}function q(){const t=i(e.step);return isNaN(t)?(x("Slider",'type of prop "step" should be Number'),!1):t<0?(x("Slider",'"step" should be > 0'),!1):!0}function G(){const{range:t,modelValue:n}=e;return t&&!b(n)?(console.error('[Varlet] Slider: "modelValue" should be an Array'),!1):!t&&b(n)?(console.error('[Varlet] Slider: "modelValue" should be a Number'),!1):t&&b(n)&&n.length<2?(console.error('[Varlet] Slider: "modelValue" should have two value'),!1):!0}function j(t=e.modelValue,n=i(e.step)){const r=o=>{const{min:u,max:c}=e;return oi(c)?P.value/n:(o-i(u))/n};e.range&&b(t)?(a[l.First].percentValue=r(t[0]),a[l.First].currentOffset=a[l.First].percentValue*V.value,a[l.Second].percentValue=r(t[1]),a[l.Second].currentOffset=a[l.Second].percentValue*V.value):M(t)&&(a[l.First].currentOffset=r(t)*V.value)}function ke(){const t=e.range?[0,0]:0;p(e["onUpdate:modelValue"],t),W()}return{Thumbs:l,sliderEl:D,getFillStyle:ce,isDisabled:v,isVertical:h,errorMessage:ae,thumbsProps:a,thumbList:ue,n:re,classes:Qe,thumbStyle:fe,hover:ge,multiplySizeUnit:Le,toNumber:i,showLabel:he,start:Se,move:w,end:F,click:ye}}});const _e=["onTouchstart"];function xe(e,d,D,C,P,V){const v=te("var-hover-overlay"),k=te("var-form-details"),h=Ae("hover");return U(),B("div",{class:f(e.classes(e.n(e.direction),e.n("$--box")))},[S("div",{class:f(e.classes(e.n(`${e.direction}-block`),[e.isDisabled,e.n("--disabled")],[e.errorMessage,e.n(`${e.direction}--error`)])),ref:"sliderEl",onClick:d[0]||(d[0]=(...s)=>e.click&&e.click(...s))},[S("div",{class:f(e.n(`${e.direction}-track`))},[S("div",{class:f(e.n(`${e.direction}-track-background`)),style:N({background:e.trackColor,height:e.isVertical?"100%":e.multiplySizeUnit(e.trackHeight),width:e.isVertical?e.multiplySizeUnit(e.trackHeight):"100%"})},null,6),S("div",{class:f(e.n(`${e.direction}-track-fill`)),style:N(e.getFillStyle)},null,6)],2),(U(!0),B(Re,null,Xe(e.thumbList,s=>(U(),B("div",{class:f(e.n(`${e.direction}-thumb`)),key:s.enumValue,style:N(e.thumbStyle(s)),onTouchstart:Ye(m=>e.start(m,s.enumValue),["stop"])},[qe(e.$slots,"button",{currentValue:s.text},()=>[Ge(S("div",{class:f(e.n(`${e.direction}-thumb-block`)),style:N({background:e.thumbColor})},null,6),[[h,m=>e.hover(m,s),"desktop"]]),S("div",{class:f(e.classes(e.n(`${e.direction}-thumb-ripple`),[e.thumbsProps[s.enumValue].active,e.n(`${e.direction}-thumb-ripple--active`)])),style:N({background:e.thumbsProps[s.enumValue].active?e.thumbColor:void 0})},[ne(v,{hovering:s.hovering},null,8,["hovering"])],6),S("div",{class:f(e.classes(e.n(`${e.direction}-thumb-label`),[e.showLabel(s.enumValue),e.n(`${e.direction}-thumb-label--active`)])),style:N({background:e.labelColor,color:e.labelTextColor,height:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2),width:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2)})},[S("span",null,je(s.text),1)],6)])],46,_e))),128))],2),ne(k,{"error-message":e.errorMessage,class:f(e.n("form")),"var-slider-cover":""},null,8,["error-message","class"])],2)}const et=Ie(Ze,[["render",xe]]);Pe(et);export{et as S}; +import{F as pe,u as Ne}from"./provide-4fc67263.js";import{H as Ce,u as _}from"./index-d956da3f.js";import{H as He}from"./index-27fcaf7d.js";import{d as T,h as ze,a as p,c as De,w as Pe}from"./components-a5332e66.js";import{m as Le,d as Te}from"./elements-23c82371.js";import{w as x}from"./logger-525ef361.js";import{d as we,r as E,D as y,a4 as i,a2 as b,U as O,ae as M,W as Ee,G as ee,at as Oe,b5 as Me,aO as Ue,n as Be,ah as We,_ as Ie,b as te,L as Ae,e as U,m as B,p as S,x as f,y as N,N as Re,O as Xe,M as Ye,v as qe,P as Ge,q as ne,R as je}from"./index-0bd4ebfc.js";var l=(e=>(e.First="1",e.Second="2",e))(l||{});const Je={modelValue:{type:[Number,Array],default:0},step:{type:[Number,String],default:1},range:Boolean,labelVisible:{type:String,default:"normal"},activeColor:String,trackColor:String,thumbColor:String,labelColor:String,labelTextColor:String,trackHeight:[String,Number],max:{type:[String,Number],default:100},min:{type:[String,Number],default:0},thumbSize:[String,Number],disabled:Boolean,readonly:Boolean,direction:{type:String,default:"horizontal"},rules:Array,onChange:T(),onStart:T(),onEnd:T(),"onUpdate:modelValue":T()},{name:Ke,n:re,classes:Qe}=De("slider"),Ze=we({name:Ke,components:{VarFormDetails:pe,VarHoverOverlay:Ce},directives:{Hover:He},props:Je,setup(e){const d=E(0),D=E(null),C=E(!1),P=y(()=>i(e.max)-i(e.min)),V=y(()=>d.value/P.value*i(e.step)),v=y(()=>e.disabled||(m==null?void 0:m.disabled.value)),k=y(()=>e.readonly||(m==null?void 0:m.readonly.value)),h=y(()=>e.direction==="vertical"),{bindForm:s,form:m}=Ne(),{errorMessage:ae,validateWithTrigger:le,validate:ie,resetValidation:W}=ze(),{hovering:I,handleHovering:A}=_(),{hovering:oe,handleHovering:se}=_(),ue=y(()=>{const{modelValue:t,range:n}=e;let r=[];return n&&b(t)?r=[{value:$(t[0]),enumValue:l.First,text:H(t[0]),hovering:O(I),handleHovering:A},{value:$(t[1]),enumValue:l.Second,text:H(t[1]),hovering:O(oe),handleHovering:se}]:M(t)&&(r=[{value:$(t),enumValue:l.First,text:H(t),hovering:O(I),handleHovering:A}]),r}),ce=y(()=>{const{activeColor:t,range:n,modelValue:r}=e,o=n&&b(r)?$(Math.min(r[0],r[1])):0,u=n&&b(r)?$(Math.max(r[0],r[1]))-o:$(r);return h.value?{left:"0px",height:`${u}%`,bottom:`${o}%`,background:t}:{top:"0px",width:`${u}%`,left:`${o}%`,background:t}}),a=Ee({[l.First]:R(),[l.Second]:R()});let g;p(s,{reset:ke,validate:de,resetValidation:W}),ee([()=>e.modelValue,()=>e.step],([t,n])=>{!q()||!G()||C.value||j(t,i(n))}),ee(d,()=>j()),Oe(()=>{!q()||!G()||(d.value=D.value[h.value?"offsetHeight":"offsetWidth"])}),Me(()=>{Y()});function de(){return ie(e.rules,e.modelValue)}function R(){return{startPosition:0,currentOffset:0,active:!1,percentValue:0}}function ve(){return Be(()=>le(["onChange"],"onChange",e.rules,e.modelValue))}function me(t){const n=t.currentTarget;return n?h.value?d.value-(t.clientY-We(n).top):t.clientX-Te(n):0}function fe(t){return{[h.value?"bottom":"left"]:`${t.value}%`,zIndex:a[t.enumValue].active?1:void 0}}function he(t){return e.labelVisible==="always"?!0:e.labelVisible==="never"?!1:a[t].active}function $(t){const{min:n,max:r}=e;return ti(r)?100:(t-i(n))/P.value*100}function H(t){if(!M(t))return 0;let n=t;return nNumber(e.max)&&(n=Number(e.max)),parseInt(`${n}`,10)===n?n:i(n.toPrecision(5))}function ge(t,n){v.value||n.handleHovering(t)}function X(t,n){let r=[];const{step:o,range:u,modelValue:c,onChange:z,min:J}=e,K=i(o),Q=Math.round(t/V.value),L=Q*K+i(J),$e=a[n].percentValue*K+i(J);if(a[n].percentValue=Q,u&&b(c)&&(r=n===l.First?[L,c[1]]:[c[0],L]),$e!==L){const Z=u?r.map(Fe=>H(Fe)):H(L);p(z,Z),p(e["onUpdate:modelValue"],Z),ve()}}function be(t){if(!e.range)return l.First;const n=a[l.First].percentValue*V.value,r=a[l.Second].percentValue*V.value,o=Math.abs(t-n),u=Math.abs(t-r);return o<=u?l.First:l.Second}function Ve(){document.addEventListener("touchmove",w,{passive:!1}),document.addEventListener("touchend",F),document.addEventListener("touchcancel",F)}function Y(){document.removeEventListener("touchmove",w),document.removeEventListener("touchend",F),document.removeEventListener("touchcancel",F)}function Se(t,n){if(d.value||(d.value=D.value.offsetWidth),v.value||(a[n].active=!0),g=n,Ve(),v.value||k.value)return;p(e.onStart),C.value=!0;const{clientX:r,clientY:o}=t.touches[0];a[n].startPosition=h.value?o:r}function w(t){if(Ue(t),v.value||k.value||!C.value)return;const{startPosition:n,currentOffset:r}=a[g],{clientX:o,clientY:u}=t.touches[0];let c=(h.value?n-u:o-n)+r;c<=0?c=0:c>=d.value&&(c=d.value),X(c,g)}function F(){Y();const{range:t,modelValue:n,onEnd:r,step:o,min:u}=e;if(v.value||(a[g].active=!1),v.value||k.value)return;let c=[];a[g].currentOffset=a[g].percentValue*V.value;const z=a[g].percentValue*i(o)+i(u);t&&b(n)&&(c=g===l.First?[z,n[1]]:[n[0],z]),p(r,t?c:z),C.value=!1}function ye(t){if(v.value||k.value||t.target.closest(`.${re("thumb")}`))return;const n=me(t),r=be(n);g=r,X(n,r),F()}function q(){const t=i(e.step);return isNaN(t)?(x("Slider",'type of prop "step" should be Number'),!1):t<0?(x("Slider",'"step" should be > 0'),!1):!0}function G(){const{range:t,modelValue:n}=e;return t&&!b(n)?(console.error('[Varlet] Slider: "modelValue" should be an Array'),!1):!t&&b(n)?(console.error('[Varlet] Slider: "modelValue" should be a Number'),!1):t&&b(n)&&n.length<2?(console.error('[Varlet] Slider: "modelValue" should have two value'),!1):!0}function j(t=e.modelValue,n=i(e.step)){const r=o=>{const{min:u,max:c}=e;return oi(c)?P.value/n:(o-i(u))/n};e.range&&b(t)?(a[l.First].percentValue=r(t[0]),a[l.First].currentOffset=a[l.First].percentValue*V.value,a[l.Second].percentValue=r(t[1]),a[l.Second].currentOffset=a[l.Second].percentValue*V.value):M(t)&&(a[l.First].currentOffset=r(t)*V.value)}function ke(){const t=e.range?[0,0]:0;p(e["onUpdate:modelValue"],t),W()}return{Thumbs:l,sliderEl:D,getFillStyle:ce,isDisabled:v,isVertical:h,errorMessage:ae,thumbsProps:a,thumbList:ue,n:re,classes:Qe,thumbStyle:fe,hover:ge,multiplySizeUnit:Le,toNumber:i,showLabel:he,start:Se,move:w,end:F,click:ye}}});const _e=["onTouchstart"];function xe(e,d,D,C,P,V){const v=te("var-hover-overlay"),k=te("var-form-details"),h=Ae("hover");return U(),B("div",{class:f(e.classes(e.n(e.direction),e.n("$--box")))},[S("div",{class:f(e.classes(e.n(`${e.direction}-block`),[e.isDisabled,e.n("--disabled")],[e.errorMessage,e.n(`${e.direction}--error`)])),ref:"sliderEl",onClick:d[0]||(d[0]=(...s)=>e.click&&e.click(...s))},[S("div",{class:f(e.n(`${e.direction}-track`))},[S("div",{class:f(e.n(`${e.direction}-track-background`)),style:N({background:e.trackColor,height:e.isVertical?"100%":e.multiplySizeUnit(e.trackHeight),width:e.isVertical?e.multiplySizeUnit(e.trackHeight):"100%"})},null,6),S("div",{class:f(e.n(`${e.direction}-track-fill`)),style:N(e.getFillStyle)},null,6)],2),(U(!0),B(Re,null,Xe(e.thumbList,s=>(U(),B("div",{class:f(e.n(`${e.direction}-thumb`)),key:s.enumValue,style:N(e.thumbStyle(s)),onTouchstart:Ye(m=>e.start(m,s.enumValue),["stop"])},[qe(e.$slots,"button",{currentValue:s.text},()=>[Ge(S("div",{class:f(e.n(`${e.direction}-thumb-block`)),style:N({background:e.thumbColor})},null,6),[[h,m=>e.hover(m,s),"desktop"]]),S("div",{class:f(e.classes(e.n(`${e.direction}-thumb-ripple`),[e.thumbsProps[s.enumValue].active,e.n(`${e.direction}-thumb-ripple--active`)])),style:N({background:e.thumbsProps[s.enumValue].active?e.thumbColor:void 0})},[ne(v,{hovering:s.hovering},null,8,["hovering"])],6),S("div",{class:f(e.classes(e.n(`${e.direction}-thumb-label`),[e.showLabel(s.enumValue),e.n(`${e.direction}-thumb-label--active`)])),style:N({background:e.labelColor,color:e.labelTextColor,height:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2),width:e.thumbSize===void 0?e.thumbSize:e.multiplySizeUnit(e.thumbSize,2)})},[S("span",null,je(s.text),1)],6)])],46,_e))),128))],2),ne(k,{"error-message":e.errorMessage,class:f(e.n("form")),"var-slider-cover":""},null,8,["error-message","class"])],2)}const et=Ie(Ze,[["render",xe]]);Pe(et);export{et as S}; diff --git a/assets/index-83ee7fa7.js b/assets/index-123e4258.js similarity index 88% rename from assets/index-83ee7fa7.js rename to assets/index-123e4258.js index 5c0ae941513..2575c9f2475 100644 --- a/assets/index-83ee7fa7.js +++ b/assets/index-123e4258.js @@ -1 +1 @@ -import{p as i,I as b}from"./index-057aa4ba.js";import{p as m,d as g,c as B,a as N,w as S}from"./components-3ae053cb.js";import{d as v,D as d,_ as w,b as z,e as u,f as I,w as V,p as f,as as P,v as r,x as C,m as T,q,t as A,T as D}from"./index-af5fec45.js";const E={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,iconName:m(i,"name"),namespace:m(i,"namespace"),plain:Boolean,round:{type:Boolean,default:!0},block:Boolean,closable:Boolean,onClose:g()},{name:L,n,classes:j}=B("chip"),F=v({name:L,components:{VarIcon:b},inheritAttrs:!1,props:E,setup(e){const l=d(()=>{const{plain:o,textColor:a,color:s}=e;return o?{color:a||s,borderColor:s}:{color:a,background:s}}),c=d(()=>{const{size:o,block:a,type:s,plain:t,round:$}=e,y=n(a?"$--flex":"$--inline-flex"),h=t?`${n("plain")} ${n(`plain-${s}`)}`:n(`--${s}`),k=$?n("--round"):null;return[n(`--${o}`),y,h,k]});function p(o){N(e.onClose,o)}return{chipStyles:l,contentClass:c,n,classes:j,handleClose:p}}});function G(e,l,c,p,o,a){const s=z("var-icon");return u(),I(D,{name:e.n("$-fade")},{default:V(()=>[f("span",P({class:e.classes(e.n(),e.n("$--box"),...e.contentClass),style:e.chipStyles},e.$attrs),[r(e.$slots,"left"),f("span",{class:C(e.n(`text-${e.size}`))},[r(e.$slots,"default")],2),r(e.$slots,"right"),e.closable?(u(),T("span",{key:0,class:C(e.n("--close")),onClick:l[0]||(l[0]=(...t)=>e.handleClose&&e.handleClose(...t))},[q(s,{name:`${e.iconName?e.iconName:"close-circle"}`,namespace:e.namespace},null,8,["name","namespace"])],2)):A("",!0)],16)]),_:3},8,["name"])}const H=w(F,[["render",G]]);S(H);export{H as C}; +import{p as i,I as b}from"./index-2c5b74fa.js";import{p as m,d as g,c as B,a as N,w as S}from"./components-a5332e66.js";import{d as v,D as d,_ as w,b as z,e as u,f as I,w as V,p as f,as as P,v as r,x as C,m as T,q,t as A,T as D}from"./index-0bd4ebfc.js";const E={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,iconName:m(i,"name"),namespace:m(i,"namespace"),plain:Boolean,round:{type:Boolean,default:!0},block:Boolean,closable:Boolean,onClose:g()},{name:L,n,classes:j}=B("chip"),F=v({name:L,components:{VarIcon:b},inheritAttrs:!1,props:E,setup(e){const l=d(()=>{const{plain:o,textColor:a,color:s}=e;return o?{color:a||s,borderColor:s}:{color:a,background:s}}),c=d(()=>{const{size:o,block:a,type:s,plain:t,round:$}=e,y=n(a?"$--flex":"$--inline-flex"),h=t?`${n("plain")} ${n(`plain-${s}`)}`:n(`--${s}`),k=$?n("--round"):null;return[n(`--${o}`),y,h,k]});function p(o){N(e.onClose,o)}return{chipStyles:l,contentClass:c,n,classes:j,handleClose:p}}});function G(e,l,c,p,o,a){const s=z("var-icon");return u(),I(D,{name:e.n("$-fade")},{default:V(()=>[f("span",P({class:e.classes(e.n(),e.n("$--box"),...e.contentClass),style:e.chipStyles},e.$attrs),[r(e.$slots,"left"),f("span",{class:C(e.n(`text-${e.size}`))},[r(e.$slots,"default")],2),r(e.$slots,"right"),e.closable?(u(),T("span",{key:0,class:C(e.n("--close")),onClick:l[0]||(l[0]=(...t)=>e.handleClose&&e.handleClose(...t))},[q(s,{name:`${e.iconName?e.iconName:"close-circle"}`,namespace:e.namespace},null,8,["name","namespace"])],2)):A("",!0)],16)]),_:3},8,["name"])}const H=w(F,[["render",G]]);S(H);export{H as C}; diff --git a/assets/index-35911569.js b/assets/index-1851cb52.js similarity index 59% rename from assets/index-35911569.js rename to assets/index-1851cb52.js index f68aeeddf75..150545b254f 100644 --- a/assets/index-35911569.js +++ b/assets/index-1851cb52.js @@ -1 +1 @@ -import{S as p}from"./index-2684e5c7.js";import{B as l}from"./index-84d96475.js";import{_ as m,F as u,e as f,m as S,q as a,w as t,U as e,p as r,Q as o,R as c,$ as y,a0 as h}from"./index-af5fec45.js";import{u as k,b as d,_ as x,c as U,a as g}from"./index-2b61c8d0.js";import{A as _}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const v={basicUsage:"基本使用",localSticky:"局部吸顶"},N={basicUsage:"Basic Usage",localSticky:"Local Sticky"},{add:n,use:b,pack:i,packs:O,merge:P}=k(),B=s=>{g(s),b(s)};d("zh-CN",x);d("en-US",U);n("zh-CN",v);n("en-US",N);const C=s=>(y("data-v-e498de53"),s=s(),h(),s),w={class:"example"},z={class:"scroller"},I=C(()=>r("div",{class:"block"},null,-1)),L={__name:"index",setup(s){return u(B),(V,$)=>(f(),S("div",w,[a(e(_),null,{default:t(()=>[o(c(e(i).basicUsage),1)]),_:1}),a(e(p),{"offset-top":"14.4vmin"},{default:t(()=>[a(e(l),{type:"primary"},{default:t(()=>[o(c(e(i).basicUsage),1)]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(c(e(i).localSticky),1)]),_:1}),r("div",z,[a(e(p),null,{default:t(()=>[a(e(l),{type:"success"},{default:t(()=>[o(c(e(i).localSticky),1)]),_:1})]),_:1}),I])]))}},W=m(L,[["__scopeId","data-v-e498de53"]]);export{W as default}; +import{S as p}from"./index-482a9388.js";import{B as l}from"./index-1f1d0c91.js";import{_ as m,F as u,e as f,m as S,q as a,w as t,U as e,p as r,Q as o,R as c,$ as y,a0 as h}from"./index-0bd4ebfc.js";import{u as k,b as d,_ as x,c as U,a as g}from"./index-4a9c2ae2.js";import{A as _}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const v={basicUsage:"基本使用",localSticky:"局部吸顶"},N={basicUsage:"Basic Usage",localSticky:"Local Sticky"},{add:n,use:b,pack:i,packs:O,merge:P}=k(),B=s=>{g(s),b(s)};d("zh-CN",x);d("en-US",U);n("zh-CN",v);n("en-US",N);const C=s=>(y("data-v-e498de53"),s=s(),h(),s),w={class:"example"},z={class:"scroller"},I=C(()=>r("div",{class:"block"},null,-1)),L={__name:"index",setup(s){return u(B),(V,$)=>(f(),S("div",w,[a(e(_),null,{default:t(()=>[o(c(e(i).basicUsage),1)]),_:1}),a(e(p),{"offset-top":"14.4vmin"},{default:t(()=>[a(e(l),{type:"primary"},{default:t(()=>[o(c(e(i).basicUsage),1)]),_:1})]),_:1}),a(e(_),null,{default:t(()=>[o(c(e(i).localSticky),1)]),_:1}),r("div",z,[a(e(p),null,{default:t(()=>[a(e(l),{type:"success"},{default:t(()=>[o(c(e(i).localSticky),1)]),_:1})]),_:1}),I])]))}},W=m(L,[["__scopeId","data-v-e498de53"]]);export{W as default}; diff --git a/assets/index-1a836fc4.js b/assets/index-1a836fc4.js new file mode 100644 index 00000000000..9c2cb3f9172 --- /dev/null +++ b/assets/index-1a836fc4.js @@ -0,0 +1 @@ +import{T as o}from"./index-72aad0a2.js";import{d as e}from"./index-d8fbf18c.js";import{d as a,al as r,_ as m,b as n,e as p,f as s}from"./index-0bd4ebfc.js";import"./index-f71140ae.js";import"./logger-525ef361.js";import"./provide-e4d73c18.js";import"./components-a5332e66.js";import"./provide-90c65717.js";const c=a({name:"TabItemExample",components:{VarTabItem:o},setup(){r(e)}});function i(_,d,f,b,l,u){const t=n("var-tab-item");return p(),s(t)}const C=m(c,[["render",i]]);export{C as default}; diff --git a/assets/index-a6f8e46a.js b/assets/index-1e0bee81.js similarity index 90% rename from assets/index-a6f8e46a.js rename to assets/index-1e0bee81.js index eb09585ba56..74ab9659711 100644 --- a/assets/index-a6f8e46a.js +++ b/assets/index-1e0bee81.js @@ -1 +1 @@ -import{a as $,c as f,w as v}from"./components-3ae053cb.js";import{m as S}from"./elements-68ad626b.js";import{d as z,D as h,_ as b,e as s,m as n,x as i,v as u,t as a,p as t,y as l,N as r,O as c,Q as k,R as w}from"./index-af5fec45.js";const N={type:{type:String,default:"circle"},radius:[String,Number],size:{type:String,default:"normal"},color:String,description:String,loading:Boolean},{name:B,n:D,classes:C}=f("loading"),L=z({name:B,props:N,setup(e,{slots:d}){const p=h(()=>$(d.default)?e.loading:!0);return{loadingTypeDict:{wave:5,cube:4,rect:8,disappear:3},isShow:p,n:D,classes:C,multiplySizeUnit:S}}});const T=t("svg",{viewBox:"25 25 50 50"},[t("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1),U=[T];function V(e,d,p,m,F,I){return s(),n("div",{class:i(e.n())},[e.$slots.default?(s(),n("div",{key:0,class:i(e.classes(e.n("content"),[e.loading,e.n("content--active")]))},[u(e.$slots,"default"),e.loading?(s(),n("div",{key:0,class:i(e.n("content-mask"))},null,2)):a("",!0)],2)):a("",!0),e.isShow?(s(),n("div",{key:1,class:i(e.classes(e.n("$--box"),e.n("body"),[e.$slots.default,e.n("inside")]))},[e.type==="circle"?(s(),n("div",{key:0,class:i(e.n("circle"))},[t("span",{class:i(e.classes(e.n("circle-block"),e.n(`circle-block--${e.size}`))),style:l({width:e.multiplySizeUnit(e.radius,2),height:e.multiplySizeUnit(e.radius,2),color:e.color})},U,6)],2)):a("",!0),(s(!0),n(r,null,c(e.loadingTypeDict,(y,o)=>(s(),n(r,{key:o},[e.type===o?(s(),n("div",{key:0,class:i(e.classes(e.n(o),e.n(`${o}--${e.size}`)))},[(s(!0),n(r,null,c(y,g=>(s(),n("div",{key:g+o,style:l({backgroundColor:e.color}),class:i(e.classes(e.n(`${o}-item`),e.n(`${o}-item--${e.size}`)))},null,6))),128))],2)):a("",!0)],64))),128)),e.$slots.description||e.description?(s(),n("div",{key:1,class:i(e.classes(e.n("description"),e.n(`description--${e.size}`))),style:l({color:e.color})},[u(e.$slots,"description",{},()=>[k(w(e.description),1)])],6)):a("",!0)],2)):a("",!0)],2)}const E=b(L,[["render",V]]);v(E);export{E as L,N as p}; +import{a as $,c as f,w as v}from"./components-a5332e66.js";import{m as S}from"./elements-23c82371.js";import{d as z,D as h,_ as b,e as s,m as n,x as i,v as u,t as a,p as t,y as l,N as r,O as c,Q as k,R as w}from"./index-0bd4ebfc.js";const N={type:{type:String,default:"circle"},radius:[String,Number],size:{type:String,default:"normal"},color:String,description:String,loading:Boolean},{name:B,n:D,classes:C}=f("loading"),L=z({name:B,props:N,setup(e,{slots:d}){const p=h(()=>$(d.default)?e.loading:!0);return{loadingTypeDict:{wave:5,cube:4,rect:8,disappear:3},isShow:p,n:D,classes:C,multiplySizeUnit:S}}});const T=t("svg",{viewBox:"25 25 50 50"},[t("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1),U=[T];function V(e,d,p,m,F,I){return s(),n("div",{class:i(e.n())},[e.$slots.default?(s(),n("div",{key:0,class:i(e.classes(e.n("content"),[e.loading,e.n("content--active")]))},[u(e.$slots,"default"),e.loading?(s(),n("div",{key:0,class:i(e.n("content-mask"))},null,2)):a("",!0)],2)):a("",!0),e.isShow?(s(),n("div",{key:1,class:i(e.classes(e.n("$--box"),e.n("body"),[e.$slots.default,e.n("inside")]))},[e.type==="circle"?(s(),n("div",{key:0,class:i(e.n("circle"))},[t("span",{class:i(e.classes(e.n("circle-block"),e.n(`circle-block--${e.size}`))),style:l({width:e.multiplySizeUnit(e.radius,2),height:e.multiplySizeUnit(e.radius,2),color:e.color})},U,6)],2)):a("",!0),(s(!0),n(r,null,c(e.loadingTypeDict,(y,o)=>(s(),n(r,{key:o},[e.type===o?(s(),n("div",{key:0,class:i(e.classes(e.n(o),e.n(`${o}--${e.size}`)))},[(s(!0),n(r,null,c(y,g=>(s(),n("div",{key:g+o,style:l({backgroundColor:e.color}),class:i(e.classes(e.n(`${o}-item`),e.n(`${o}-item--${e.size}`)))},null,6))),128))],2)):a("",!0)],64))),128)),e.$slots.description||e.description?(s(),n("div",{key:1,class:i(e.classes(e.n("description"),e.n(`description--${e.size}`))),style:l({color:e.color})},[u(e.$slots,"description",{},()=>[k(w(e.description),1)])],6)):a("",!0)],2)):a("",!0)],2)}const E=b(L,[["render",V]]);v(E);export{E as L,N as p}; diff --git a/assets/index-76cdf136.js b/assets/index-1ec6d5a5.js similarity index 92% rename from assets/index-76cdf136.js rename to assets/index-1ec6d5a5.js index 44687c26316..a61e130bb39 100644 --- a/assets/index-76cdf136.js +++ b/assets/index-1ec6d5a5.js @@ -1 +1 @@ -import{F as I,u as N}from"./provide-c979a783.js";import{d as V,h as E,a as u,c as H,w as F,g as Q}from"./components-3ae053cb.js";import{a1 as X,d as U,D as j,G as T,n as W,_ as K,b as A,e as B,m as w,p as G,v as S,x as c,q as b,a3 as Z,r as _,L as z,P as x,y as ee,as as ae}from"./index-af5fec45.js";import{I as oe}from"./index-057aa4ba.js";import{v as re}from"./index-2b41cfe8.js";import{H as ne}from"./index-8bbf4ef8.js";import{H as se,u as ie}from"./index-2c1498a1.js";const le={modelValue:{type:[String,Number,Boolean,Object,Array],default:void 0},direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:V(),"onUpdate:modelValue":V()},L=Symbol("RADIO_GROUP_BIND_RADIO_KEY");function de(){const{bindChildren:e,childProviders:o,length:n}=X(L);return{length:n,radios:o,bindRadios:e}}const{name:te,n:ue,classes:ce}=H("radio-group"),ve=U({name:te,components:{VarFormDetails:I},props:le,setup(e){const{length:o,radios:n,bindRadios:v}=de(),{bindForm:s}=N(),{errorMessage:m,validateWithTrigger:t,validate:h,resetValidation:a}=E(),f=j(()=>m.value),g={onToggle:y,validate:k,reset:C,resetValidation:a,errorMessage:f};T(()=>e.modelValue,R),T(()=>o.value,R),u(s,g),v(g);function p(d){W(()=>{const{validateTrigger:M,rules:O,modelValue:$}=e;t(M,d,O,$)})}function R(){return n.forEach(({sync:d})=>d(e.modelValue))}function y(d){u(e["onUpdate:modelValue"],d),u(e.onChange,d),p("onChange")}function k(){return h(e.rules,e.modelValue)}function C(){u(e["onUpdate:modelValue"],void 0),a()}return{errorMessage:m,n:ue,classes:ce,reset:C,validate:k,resetValidation:a}}});function me(e,o,n,v,s,m){const t=A("var-form-details");return B(),w("div",{class:c(e.n("wrap"))},[G("div",{class:c(e.classes(e.n(),e.n(`--${e.direction}`)))},[S(e.$slots,"default")],2),b(t,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const ge=K(ve,[["render",me]]);F(ge);const he={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},disabled:Boolean,readonly:Boolean,checkedColor:String,uncheckedColor:String,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:V(),onChange:V(),"onUpdate:modelValue":V()};function fe(){const{bindParent:e,parentProvider:o,index:n}=Z(L);return{index:n,radioGroup:o,bindRadioGroup:e}}const{name:pe,n:ye,classes:ke}=H("radio"),be=U({name:pe,directives:{Ripple:re,Hover:ne},components:{VarIcon:oe,VarFormDetails:I,VarHoverOverlay:se},inheritAttrs:!1,props:he,setup(e){const o=Q(e,"modelValue"),n=j(()=>o.value===e.checkedValue),v=_(!1),{radioGroup:s,bindRadioGroup:m}=fe(),{hovering:t,handleHovering:h}=ie(),{form:a,bindForm:f}=N(),{errorMessage:g,validateWithTrigger:p,validate:R,resetValidation:y}=E(),k={sync:O,validate:P,resetValidation:y,reset:$};u(m,k),u(f,k);function C(i){W(()=>{const{validateTrigger:r,rules:l,modelValue:D}=e;p(r,i,l,D)})}function d(i){const{checkedValue:r,onChange:l}=e;s&&o.value===r||(o.value=i,u(l,o.value),s==null||s.onToggle(r),C("onChange"))}function M(i){const{disabled:r,readonly:l,uncheckedValue:D,checkedValue:q,onClick:J}=e;a!=null&&a.disabled.value||r||(u(J,i),!(a!=null&&a.readonly.value||l)&&(v.value=!0,d(n.value?D:q)))}function O(i){const{checkedValue:r,uncheckedValue:l}=e;o.value=i===r?r:l}function $(){o.value=e.uncheckedValue,y()}function P(){return R(e.rules,e.modelValue)}function Y(i){const{uncheckedValue:r,checkedValue:l}=e;![r,l].includes(i)&&(i=n.value?r:l),d(i)}return{withAnimation:v,checked:n,errorMessage:g,radioGroupErrorMessage:s==null?void 0:s.errorMessage,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,hovering:t,handleHovering:h,n:ye,classes:ke,handleClick:M,toggle:Y,reset:$,validate:P,resetValidation:y}}});function Ve(e,o,n,v,s,m){const t=A("var-icon"),h=A("var-hover-overlay"),a=A("var-form-details"),f=z("ripple"),g=z("hover");return B(),w("div",{class:c(e.n("wrap"))},[G("div",ae({class:e.n(),onClick:o[0]||(o[0]=(...p)=>e.handleClick&&e.handleClick(...p))},e.$attrs),[x((B(),w("div",{class:c(e.classes(e.n("action"),[e.checked,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:ee({color:e.checked?e.checkedColor:e.uncheckedColor})},[e.checked?S(e.$slots,"checked-icon",{key:0},()=>[b(t,{class:c(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-marked",size:e.iconSize},null,8,["class","size"])]):S(e.$slots,"unchecked-icon",{key:1},()=>[b(t,{class:c(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-blank",size:e.iconSize},null,8,["class","size"])]),b(h,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[f,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[g,e.handleHovering,"desktop"]]),G("div",{class:c(e.classes(e.n("text"),[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[S(e.$slots,"default")],2)],16),b(a,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Re=K(be,[["render",Ve]]);F(Re);export{Re as R,ge as a}; +import{F as I,u as N}from"./provide-4fc67263.js";import{d as V,h as E,a as u,c as H,w as F,g as Q}from"./components-a5332e66.js";import{a1 as X,d as U,D as j,G as T,n as W,_ as K,b as A,e as B,m as w,p as G,v as S,x as c,q as b,a3 as Z,r as _,L as z,P as x,y as ee,as as ae}from"./index-0bd4ebfc.js";import{I as oe}from"./index-2c5b74fa.js";import{v as re}from"./index-28dcc9be.js";import{H as ne}from"./index-27fcaf7d.js";import{H as se,u as ie}from"./index-d956da3f.js";const le={modelValue:{type:[String,Number,Boolean,Object,Array],default:void 0},direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:V(),"onUpdate:modelValue":V()},L=Symbol("RADIO_GROUP_BIND_RADIO_KEY");function de(){const{bindChildren:e,childProviders:o,length:n}=X(L);return{length:n,radios:o,bindRadios:e}}const{name:te,n:ue,classes:ce}=H("radio-group"),ve=U({name:te,components:{VarFormDetails:I},props:le,setup(e){const{length:o,radios:n,bindRadios:v}=de(),{bindForm:s}=N(),{errorMessage:m,validateWithTrigger:t,validate:h,resetValidation:a}=E(),f=j(()=>m.value),g={onToggle:y,validate:k,reset:C,resetValidation:a,errorMessage:f};T(()=>e.modelValue,R),T(()=>o.value,R),u(s,g),v(g);function p(d){W(()=>{const{validateTrigger:M,rules:O,modelValue:$}=e;t(M,d,O,$)})}function R(){return n.forEach(({sync:d})=>d(e.modelValue))}function y(d){u(e["onUpdate:modelValue"],d),u(e.onChange,d),p("onChange")}function k(){return h(e.rules,e.modelValue)}function C(){u(e["onUpdate:modelValue"],void 0),a()}return{errorMessage:m,n:ue,classes:ce,reset:C,validate:k,resetValidation:a}}});function me(e,o,n,v,s,m){const t=A("var-form-details");return B(),w("div",{class:c(e.n("wrap"))},[G("div",{class:c(e.classes(e.n(),e.n(`--${e.direction}`)))},[S(e.$slots,"default")],2),b(t,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const ge=K(ve,[["render",me]]);F(ge);const he={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},disabled:Boolean,readonly:Boolean,checkedColor:String,uncheckedColor:String,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:V(),onChange:V(),"onUpdate:modelValue":V()};function fe(){const{bindParent:e,parentProvider:o,index:n}=Z(L);return{index:n,radioGroup:o,bindRadioGroup:e}}const{name:pe,n:ye,classes:ke}=H("radio"),be=U({name:pe,directives:{Ripple:re,Hover:ne},components:{VarIcon:oe,VarFormDetails:I,VarHoverOverlay:se},inheritAttrs:!1,props:he,setup(e){const o=Q(e,"modelValue"),n=j(()=>o.value===e.checkedValue),v=_(!1),{radioGroup:s,bindRadioGroup:m}=fe(),{hovering:t,handleHovering:h}=ie(),{form:a,bindForm:f}=N(),{errorMessage:g,validateWithTrigger:p,validate:R,resetValidation:y}=E(),k={sync:O,validate:P,resetValidation:y,reset:$};u(m,k),u(f,k);function C(i){W(()=>{const{validateTrigger:r,rules:l,modelValue:D}=e;p(r,i,l,D)})}function d(i){const{checkedValue:r,onChange:l}=e;s&&o.value===r||(o.value=i,u(l,o.value),s==null||s.onToggle(r),C("onChange"))}function M(i){const{disabled:r,readonly:l,uncheckedValue:D,checkedValue:q,onClick:J}=e;a!=null&&a.disabled.value||r||(u(J,i),!(a!=null&&a.readonly.value||l)&&(v.value=!0,d(n.value?D:q)))}function O(i){const{checkedValue:r,uncheckedValue:l}=e;o.value=i===r?r:l}function $(){o.value=e.uncheckedValue,y()}function P(){return R(e.rules,e.modelValue)}function Y(i){const{uncheckedValue:r,checkedValue:l}=e;![r,l].includes(i)&&(i=n.value?r:l),d(i)}return{withAnimation:v,checked:n,errorMessage:g,radioGroupErrorMessage:s==null?void 0:s.errorMessage,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,hovering:t,handleHovering:h,n:ye,classes:ke,handleClick:M,toggle:Y,reset:$,validate:P,resetValidation:y}}});function Ve(e,o,n,v,s,m){const t=A("var-icon"),h=A("var-hover-overlay"),a=A("var-form-details"),f=z("ripple"),g=z("hover");return B(),w("div",{class:c(e.n("wrap"))},[G("div",ae({class:e.n(),onClick:o[0]||(o[0]=(...p)=>e.handleClick&&e.handleClick(...p))},e.$attrs),[x((B(),w("div",{class:c(e.classes(e.n("action"),[e.checked,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:ee({color:e.checked?e.checkedColor:e.uncheckedColor})},[e.checked?S(e.$slots,"checked-icon",{key:0},()=>[b(t,{class:c(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-marked",size:e.iconSize},null,8,["class","size"])]):S(e.$slots,"unchecked-icon",{key:1},()=>[b(t,{class:c(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),"var-radio-cover":"",name:"radio-blank",size:e.iconSize},null,8,["class","size"])]),b(h,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[f,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[g,e.handleHovering,"desktop"]]),G("div",{class:c(e.classes(e.n("text"),[e.errorMessage||e.radioGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[S(e.$slots,"default")],2)],16),b(a,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Re=K(be,[["render",Ve]]);F(Re);export{Re as R,ge as a}; diff --git a/assets/index-0ad054ca.js b/assets/index-1ed406cf.js similarity index 93% rename from assets/index-0ad054ca.js rename to assets/index-1ed406cf.js index 3de1aa26203..ca97e3eae6c 100644 --- a/assets/index-0ad054ca.js +++ b/assets/index-1ed406cf.js @@ -1 +1 @@ -import{d as B,r as W,D as I,G as z,at as Z,_ as P,b as C,P as J,Y as X,e as b,m as x,p as m,x as u,v as d,Q as q,R as D,f as h,t as N,y as L,q as k,w as v,as as O,T as nn,au as en,W as A,a5 as on,ac as tn,av as an,a4 as j,aw as sn,aq as rn}from"./index-af5fec45.js";import{p as g,L as ln}from"./index-a6f8e46a.js";import{I as cn}from"./index-057aa4ba.js";import{u as dn}from"./zIndex-a2732bb2.js";import{p as y,d as p,c as U,a as c,u as un,m as pn,w as _}from"./components-3ae053cb.js";import{u as fn}from"./lock-7a098446.js";import{c as mn}from"./index-e95cf05b.js";const G={type:String,position:{type:String,default:"top"},content:{type:[String,Function,Object]},contentClass:String,duration:{type:Number,default:3e3},vertical:Boolean,loadingType:y(g,"type"),loadingSize:y(g,"size"),loadingRadius:y(g,"radius"),loadingColor:{...y(g,"color"),default:"currentColor"},lockScroll:Boolean,show:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},forbidClick:Boolean,onOpen:p(),onOpened:p(),onClose:p(),onClosed:p(),"onUpdate:show":p(),_update:String},{n:vn,classes:gn}=U("snackbar"),yn={success:"checkbox-marked-circle",warning:"warning",info:"information",error:"error",loading:""},bn=B({name:"VarSnackbarCore",components:{VarLoading:ln,VarIcon:cn},props:G,setup(n){const o=W(null),{zIndex:e}=dn(()=>n.show,1);fn(()=>n.show,()=>n.lockScroll);const s=I(()=>n.type==="loading"||n.forbidClick),t=I(()=>n.type?yn[n.type]:""),i=()=>{o.value=setTimeout(()=>{n.type!=="loading"&&c(n["onUpdate:show"],!1)},n.duration)};return z(()=>n.show,l=>{l?(c(n.onOpen),i()):l===!1&&(clearTimeout(o.value),c(n.onClose))}),z(()=>n._update,()=>{clearTimeout(o.value),i()}),Z(()=>{n.show&&(c(n.onOpen),i())}),{SNACKBAR_TYPE:F,n:vn,classes:gn,zIndex:e,iconName:t,isForbidClick:s}}});function kn(n,o,e,s,t,i){const l=C("var-icon"),S=C("var-loading");return J((b(),x("div",{class:u(n.n()),style:L({pointerEvents:n.isForbidClick?"auto":"none",zIndex:n.zIndex})},[m("div",{class:u(n.classes(n.n("wrapper"),n.n(`wrapper-${n.position}`),n.n("$-elevation--4"),[n.vertical,n.n("vertical")],[n.type&&n.SNACKBAR_TYPE.includes(n.type),n.n(`wrapper-${n.type}`)])),style:L({zIndex:n.zIndex})},[m("div",{class:u([n.n("content"),n.contentClass])},[d(n.$slots,"default",{},()=>[q(D(n.content),1)])],2),m("div",{class:u([n.n("icon")])},[n.iconName?(b(),h(l,{key:0,name:n.iconName},null,8,["name"])):N("",!0),n.type==="loading"?(b(),h(S,{key:1,type:n.loadingType,size:n.loadingSize,color:n.loadingColor,radius:n.loadingRadius},null,8,["type","size","color","radius"])):N("",!0),d(n.$slots,"icon")],2),m("div",{class:u(n.n("action"))},[d(n.$slots,"action")],2)],6)],6)),[[X,n.show]])}const R=P(bn,[["render",kn]]),{name:Sn,n:wn}=U("snackbar"),Cn=B({name:Sn,components:{VarSnackbarCore:R},props:G,setup(){const{disabled:n}=un();return{disabled:n,n:wn}}});function hn(n,o,e,s,t,i){const l=C("var-snackbar-core");return b(),h(en,{to:n.teleport===!1?void 0:n.teleport,disabled:n.disabled||n.teleport===!1},[k(nn,{name:`${n.n()}-fade`,onAfterEnter:n.onOpened,onAfterLeave:n.onClosed},{default:v(()=>[k(l,O(n.$props,{class:n.n("transition")}),{icon:v(()=>[d(n.$slots,"icon")]),action:v(()=>[d(n.$slots,"action")]),default:v(()=>[d(n.$slots,"default",{},()=>[q(D(n.content),1)])]),_:3},16,["class"])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const E=P(Cn,[["render",hn]]);function On(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!sn(n)}const F=["loading","success","warning","info","error"];let V=0,$=!1,M,f=!1;const Y={type:void 0,content:"",icon:"",action:"",position:"top",duration:3e3,vertical:!1,contentClass:void 0,loadingType:"circle",loadingSize:"normal",lockScroll:!1,teleport:"body",forbidClick:!1,onOpen:()=>{},onOpened:()=>{},onClose:()=>{},onClosed:()=>{}};let a=A([]),T=Y;const $n={name:"var-snackbar-fade",tag:"div",class:"var-transition-group"},w=n=>()=>rn(n)?n():n,An={setup(){return()=>{const n=a.map(({id:o,reactiveSnackOptions:e,_update:s})=>{const t=document.querySelector(".var-transition-group");e.forbidClick||e.type==="loading"?t.classList.add("var-pointer-auto"):t.classList.remove("var-pointer-auto");const i={position:f?"relative":"absolute",...Ln(e.position)},{content:l,icon:S,action:K}=e,H={default:w(l),icon:w(S),action:w(K)};return k(R,O(e,{key:o,style:i,"data-id":o,_update:s,show:e.show,"onUpdate:show":Q=>e.show=Q}),H)});return k(an,O($n,{style:{zIndex:mn.zIndex},onAfterEnter:En,onAfterLeave:Tn}),On(n)?n:{default:()=>[n]})}}},r=function(n){const o=zn(n),e=A({...T,...o});e.show=!0,$||($=!0,M=pn(An).unmountInstance);const{length:s}=a,t={id:V++,reactiveSnackOptions:e};if(s===0||f)In(t);else{const i=`update-${V}`;Nn(e,i)}return{clear(){!f&&a.length?a[0].reactiveSnackOptions.show=!1:e.show=!1}}};F.forEach(n=>{r[n]=o=>(on(o)?o.type=n:o={content:o,type:n},r(o))});r.allowMultiple=function(n=!1){n!==f&&(a.forEach(o=>{o.reactiveSnackOptions.show=!1}),f=n)};r.clear=function(){a.forEach(n=>{n.reactiveSnackOptions.show=!1})};r.setDefaultOptions=function(n){T=n};r.resetDefaultOptions=function(){T=Y};function En(n){const o=n.getAttribute("data-id"),e=a.find(s=>s.id===j(o));e&&c(e.reactiveSnackOptions.onOpened)}function Tn(n){n.parentElement&&n.parentElement.classList.remove("var-pointer-auto");const o=n.getAttribute("data-id"),e=a.find(t=>t.id===j(o));e&&(e.animationEnd=!0,c(e.reactiveSnackOptions.onClosed)),a.every(t=>t.animationEnd)&&(c(M),a=A([]),$=!1)}function In(n){a.push(n)}function zn(n={}){return tn(n)?{content:n}:n}function Nn(n,o){const[e]=a;e.reactiveSnackOptions={...e.reactiveSnackOptions,...n},e._update=o}function Ln(n="top"){return n==="bottom"?{top:"85%"}:{top:n==="top"?"5%":"45%"}}r.Component=E;_(E);_(E,r);const _n=r;export{_n as S}; +import{d as B,r as W,D as I,G as z,at as Z,_ as P,b as C,P as J,Y as X,e as b,m as x,p as m,x as u,v as d,Q as q,R as D,f as h,t as N,y as L,q as k,w as v,as as O,T as nn,au as en,W as A,a5 as on,ac as tn,av as an,a4 as j,aw as sn,aq as rn}from"./index-0bd4ebfc.js";import{p as g,L as ln}from"./index-1e0bee81.js";import{I as cn}from"./index-2c5b74fa.js";import{u as dn}from"./zIndex-976ced0e.js";import{p as y,d as p,c as U,a as c,u as un,m as pn,w as _}from"./components-a5332e66.js";import{u as fn}from"./lock-e6f4e779.js";import{c as mn}from"./index-9eb15296.js";const G={type:String,position:{type:String,default:"top"},content:{type:[String,Function,Object]},contentClass:String,duration:{type:Number,default:3e3},vertical:Boolean,loadingType:y(g,"type"),loadingSize:y(g,"size"),loadingRadius:y(g,"radius"),loadingColor:{...y(g,"color"),default:"currentColor"},lockScroll:Boolean,show:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},forbidClick:Boolean,onOpen:p(),onOpened:p(),onClose:p(),onClosed:p(),"onUpdate:show":p(),_update:String},{n:vn,classes:gn}=U("snackbar"),yn={success:"checkbox-marked-circle",warning:"warning",info:"information",error:"error",loading:""},bn=B({name:"VarSnackbarCore",components:{VarLoading:ln,VarIcon:cn},props:G,setup(n){const o=W(null),{zIndex:e}=dn(()=>n.show,1);fn(()=>n.show,()=>n.lockScroll);const s=I(()=>n.type==="loading"||n.forbidClick),t=I(()=>n.type?yn[n.type]:""),i=()=>{o.value=setTimeout(()=>{n.type!=="loading"&&c(n["onUpdate:show"],!1)},n.duration)};return z(()=>n.show,l=>{l?(c(n.onOpen),i()):l===!1&&(clearTimeout(o.value),c(n.onClose))}),z(()=>n._update,()=>{clearTimeout(o.value),i()}),Z(()=>{n.show&&(c(n.onOpen),i())}),{SNACKBAR_TYPE:F,n:vn,classes:gn,zIndex:e,iconName:t,isForbidClick:s}}});function kn(n,o,e,s,t,i){const l=C("var-icon"),S=C("var-loading");return J((b(),x("div",{class:u(n.n()),style:L({pointerEvents:n.isForbidClick?"auto":"none",zIndex:n.zIndex})},[m("div",{class:u(n.classes(n.n("wrapper"),n.n(`wrapper-${n.position}`),n.n("$-elevation--4"),[n.vertical,n.n("vertical")],[n.type&&n.SNACKBAR_TYPE.includes(n.type),n.n(`wrapper-${n.type}`)])),style:L({zIndex:n.zIndex})},[m("div",{class:u([n.n("content"),n.contentClass])},[d(n.$slots,"default",{},()=>[q(D(n.content),1)])],2),m("div",{class:u([n.n("icon")])},[n.iconName?(b(),h(l,{key:0,name:n.iconName},null,8,["name"])):N("",!0),n.type==="loading"?(b(),h(S,{key:1,type:n.loadingType,size:n.loadingSize,color:n.loadingColor,radius:n.loadingRadius},null,8,["type","size","color","radius"])):N("",!0),d(n.$slots,"icon")],2),m("div",{class:u(n.n("action"))},[d(n.$slots,"action")],2)],6)],6)),[[X,n.show]])}const R=P(bn,[["render",kn]]),{name:Sn,n:wn}=U("snackbar"),Cn=B({name:Sn,components:{VarSnackbarCore:R},props:G,setup(){const{disabled:n}=un();return{disabled:n,n:wn}}});function hn(n,o,e,s,t,i){const l=C("var-snackbar-core");return b(),h(en,{to:n.teleport===!1?void 0:n.teleport,disabled:n.disabled||n.teleport===!1},[k(nn,{name:`${n.n()}-fade`,onAfterEnter:n.onOpened,onAfterLeave:n.onClosed},{default:v(()=>[k(l,O(n.$props,{class:n.n("transition")}),{icon:v(()=>[d(n.$slots,"icon")]),action:v(()=>[d(n.$slots,"action")]),default:v(()=>[d(n.$slots,"default",{},()=>[q(D(n.content),1)])]),_:3},16,["class"])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const E=P(Cn,[["render",hn]]);function On(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!sn(n)}const F=["loading","success","warning","info","error"];let V=0,$=!1,M,f=!1;const Y={type:void 0,content:"",icon:"",action:"",position:"top",duration:3e3,vertical:!1,contentClass:void 0,loadingType:"circle",loadingSize:"normal",lockScroll:!1,teleport:"body",forbidClick:!1,onOpen:()=>{},onOpened:()=>{},onClose:()=>{},onClosed:()=>{}};let a=A([]),T=Y;const $n={name:"var-snackbar-fade",tag:"div",class:"var-transition-group"},w=n=>()=>rn(n)?n():n,An={setup(){return()=>{const n=a.map(({id:o,reactiveSnackOptions:e,_update:s})=>{const t=document.querySelector(".var-transition-group");e.forbidClick||e.type==="loading"?t.classList.add("var-pointer-auto"):t.classList.remove("var-pointer-auto");const i={position:f?"relative":"absolute",...Ln(e.position)},{content:l,icon:S,action:K}=e,H={default:w(l),icon:w(S),action:w(K)};return k(R,O(e,{key:o,style:i,"data-id":o,_update:s,show:e.show,"onUpdate:show":Q=>e.show=Q}),H)});return k(an,O($n,{style:{zIndex:mn.zIndex},onAfterEnter:En,onAfterLeave:Tn}),On(n)?n:{default:()=>[n]})}}},r=function(n){const o=zn(n),e=A({...T,...o});e.show=!0,$||($=!0,M=pn(An).unmountInstance);const{length:s}=a,t={id:V++,reactiveSnackOptions:e};if(s===0||f)In(t);else{const i=`update-${V}`;Nn(e,i)}return{clear(){!f&&a.length?a[0].reactiveSnackOptions.show=!1:e.show=!1}}};F.forEach(n=>{r[n]=o=>(on(o)?o.type=n:o={content:o,type:n},r(o))});r.allowMultiple=function(n=!1){n!==f&&(a.forEach(o=>{o.reactiveSnackOptions.show=!1}),f=n)};r.clear=function(){a.forEach(n=>{n.reactiveSnackOptions.show=!1})};r.setDefaultOptions=function(n){T=n};r.resetDefaultOptions=function(){T=Y};function En(n){const o=n.getAttribute("data-id"),e=a.find(s=>s.id===j(o));e&&c(e.reactiveSnackOptions.onOpened)}function Tn(n){n.parentElement&&n.parentElement.classList.remove("var-pointer-auto");const o=n.getAttribute("data-id"),e=a.find(t=>t.id===j(o));e&&(e.animationEnd=!0,c(e.reactiveSnackOptions.onClosed)),a.every(t=>t.animationEnd)&&(c(M),a=A([]),$=!1)}function In(n){a.push(n)}function zn(n={}){return tn(n)?{content:n}:n}function Nn(n,o){const[e]=a;e.reactiveSnackOptions={...e.reactiveSnackOptions,...n},e._update=o}function Ln(n="top"){return n==="bottom"?{top:"85%"}:{top:n==="top"?"5%":"45%"}}r.Component=E;_(E);_(E,r);const _n=r;export{_n as S}; diff --git a/assets/index-84d96475.js b/assets/index-1f1d0c91.js similarity index 90% rename from assets/index-84d96475.js rename to assets/index-1f1d0c91.js index 5a39327b2bb..67fc0bf199e 100644 --- a/assets/index-84d96475.js +++ b/assets/index-1f1d0c91.js @@ -1 +1 @@ -import{v as $}from"./index-2b41cfe8.js";import{p as u,L as k}from"./index-a6f8e46a.js";import{H as z,u as N}from"./index-2c1498a1.js";import{H as S}from"./index-8bbf4ef8.js";import{p as v,d as y,f as P,c as O,a as b,w as H}from"./components-3ae053cb.js";import{a1 as L,a3 as G,d as R,r as U,D,a2 as V,_ as E,b as h,L as B,P as w,e as C,m as I,f as A,x as g,t as K,p as Y,v as q,q as j,y as F}from"./index-af5fec45.js";const J={type:String,nativeType:{type:String,default:"button"},size:String,loading:Boolean,round:Boolean,block:Boolean,text:Boolean,outline:Boolean,disabled:Boolean,autoLoading:Boolean,ripple:{type:Boolean,default:!0},color:String,textColor:String,elevation:{type:[Boolean,Number,String],default:!0},loadingRadius:[Number,String],loadingType:v(u,"type"),loadingSize:v(u,"size"),loadingColor:{...v(u,"color"),default:"currentColor"},onClick:y(),onTouchstart:y()},T=Symbol("BUTTON_GROUP_BIND_BUTTON_KEY");function se(){const{bindChildren:e,childProviders:o,length:t}=L(T);return{length:t,buttons:o,bindButtons:e}}function M(){const{bindParent:e,parentProvider:o,index:t}=G(T);return{index:t,buttonGroup:o,bindButtonGroup:e}}const{name:Q,n:W,classes:X}=O("button"),Z=R({name:Q,components:{VarLoading:k,VarHoverOverlay:z},directives:{Ripple:$,Hover:S},props:J,setup(e){const o=U(!1),{buttonGroup:t}=M(),{hovering:p,handleHovering:f}=N(),c=D(()=>{if(!t)return{elevation:P(e.elevation,2),type:e.type!=null?e.type:"default",size:e.size!=null?e.size:"normal",color:e.color,text:e.text,textColor:e.textColor,outline:e.outline};const{type:n,size:a,color:i,textColor:l,mode:m}=t;return{elevation:"",type:e.type!=null?e.type:n.value,size:e.size!=null?e.size:a.value,color:e.color!=null?e.color:i.value,textColor:e.textColor!=null?e.textColor:l.value,text:m.value!=="normal",outline:m.value==="outline"}});function s(n){e.autoLoading&&(o.value=!0,n=V(n)?n:[n],Promise.all(n).then(()=>{o.value=!1}).catch(()=>{o.value=!1}))}function r(n){const{loading:a,disabled:i,onClick:l}=e;!l||a||i||o.value||s(b(l,n))}function d(n){const{loading:a,disabled:i,onTouchstart:l}=e;!l||a||i||o.value||s(b(l,n))}return{pending:o,states:c,hovering:p,n:W,classes:X,handleHovering:f,handleClick:r,handleTouchstart:d}}});const _=["type","disabled"];function x(e,o,t,p,f,c){const s=h("var-loading"),r=h("var-hover-overlay"),d=B("ripple"),n=B("hover");return w((C(),I("button",{class:g(e.classes(e.n(),e.n("$--box"),e.n(`--${e.states.size}`),[e.block,`${e.n("$--flex")} ${e.n("--block")}`,e.n("$--inline-flex")],[e.disabled,e.n("--disabled")],[e.states.text,`${e.n(`--text-${e.states.type}`)} ${e.n("--text")}`,`${e.n(`--${e.states.type}`)} ${e.states.elevation}`],[e.states.text&&e.disabled,e.n("--text-disabled")],[e.round,e.n("--round")],[e.states.outline,e.n("--outline")])),style:F({color:e.states.textColor,background:e.states.color}),type:e.nativeType,disabled:e.disabled,onClick:o[0]||(o[0]=(...a)=>e.handleClick&&e.handleClick(...a)),onTouchstart:o[1]||(o[1]=(...a)=>e.handleTouchstart&&e.handleTouchstart(...a))},[e.loading||e.pending?(C(),A(s,{key:0,class:g(e.n("loading")),"var-button-cover":"",color:e.loadingColor,type:e.loadingType,size:e.loadingSize,radius:e.loadingRadius},null,8,["class","color","type","size","radius"])):K("",!0),Y("div",{class:g(e.classes(e.n("content"),[e.loading||e.pending,e.n("--hidden")]))},[q(e.$slots,"default")],2),j(r,{hovering:e.disabled?!1:e.hovering},null,8,["hovering"])],46,_)),[[d,{disabled:e.disabled||!e.ripple}],[n,e.handleHovering,"desktop"]])}const ee=E(Z,[["render",x]]);H(ee);export{ee as B,se as u}; +import{v as $}from"./index-28dcc9be.js";import{p as u,L as k}from"./index-1e0bee81.js";import{H as z,u as N}from"./index-d956da3f.js";import{H as S}from"./index-27fcaf7d.js";import{p as v,d as y,f as P,c as O,a as b,w as H}from"./components-a5332e66.js";import{a1 as L,a3 as G,d as R,r as U,D,a2 as V,_ as E,b as h,L as B,P as w,e as C,m as I,f as A,x as g,t as K,p as Y,v as q,q as j,y as F}from"./index-0bd4ebfc.js";const J={type:String,nativeType:{type:String,default:"button"},size:String,loading:Boolean,round:Boolean,block:Boolean,text:Boolean,outline:Boolean,disabled:Boolean,autoLoading:Boolean,ripple:{type:Boolean,default:!0},color:String,textColor:String,elevation:{type:[Boolean,Number,String],default:!0},loadingRadius:[Number,String],loadingType:v(u,"type"),loadingSize:v(u,"size"),loadingColor:{...v(u,"color"),default:"currentColor"},onClick:y(),onTouchstart:y()},T=Symbol("BUTTON_GROUP_BIND_BUTTON_KEY");function se(){const{bindChildren:e,childProviders:o,length:t}=L(T);return{length:t,buttons:o,bindButtons:e}}function M(){const{bindParent:e,parentProvider:o,index:t}=G(T);return{index:t,buttonGroup:o,bindButtonGroup:e}}const{name:Q,n:W,classes:X}=O("button"),Z=R({name:Q,components:{VarLoading:k,VarHoverOverlay:z},directives:{Ripple:$,Hover:S},props:J,setup(e){const o=U(!1),{buttonGroup:t}=M(),{hovering:p,handleHovering:f}=N(),c=D(()=>{if(!t)return{elevation:P(e.elevation,2),type:e.type!=null?e.type:"default",size:e.size!=null?e.size:"normal",color:e.color,text:e.text,textColor:e.textColor,outline:e.outline};const{type:n,size:a,color:i,textColor:l,mode:m}=t;return{elevation:"",type:e.type!=null?e.type:n.value,size:e.size!=null?e.size:a.value,color:e.color!=null?e.color:i.value,textColor:e.textColor!=null?e.textColor:l.value,text:m.value!=="normal",outline:m.value==="outline"}});function s(n){e.autoLoading&&(o.value=!0,n=V(n)?n:[n],Promise.all(n).then(()=>{o.value=!1}).catch(()=>{o.value=!1}))}function r(n){const{loading:a,disabled:i,onClick:l}=e;!l||a||i||o.value||s(b(l,n))}function d(n){const{loading:a,disabled:i,onTouchstart:l}=e;!l||a||i||o.value||s(b(l,n))}return{pending:o,states:c,hovering:p,n:W,classes:X,handleHovering:f,handleClick:r,handleTouchstart:d}}});const _=["type","disabled"];function x(e,o,t,p,f,c){const s=h("var-loading"),r=h("var-hover-overlay"),d=B("ripple"),n=B("hover");return w((C(),I("button",{class:g(e.classes(e.n(),e.n("$--box"),e.n(`--${e.states.size}`),[e.block,`${e.n("$--flex")} ${e.n("--block")}`,e.n("$--inline-flex")],[e.disabled,e.n("--disabled")],[e.states.text,`${e.n(`--text-${e.states.type}`)} ${e.n("--text")}`,`${e.n(`--${e.states.type}`)} ${e.states.elevation}`],[e.states.text&&e.disabled,e.n("--text-disabled")],[e.round,e.n("--round")],[e.states.outline,e.n("--outline")])),style:F({color:e.states.textColor,background:e.states.color}),type:e.nativeType,disabled:e.disabled,onClick:o[0]||(o[0]=(...a)=>e.handleClick&&e.handleClick(...a)),onTouchstart:o[1]||(o[1]=(...a)=>e.handleTouchstart&&e.handleTouchstart(...a))},[e.loading||e.pending?(C(),A(s,{key:0,class:g(e.n("loading")),"var-button-cover":"",color:e.loadingColor,type:e.loadingType,size:e.loadingSize,radius:e.loadingRadius},null,8,["class","color","type","size","radius"])):K("",!0),Y("div",{class:g(e.classes(e.n("content"),[e.loading||e.pending,e.n("--hidden")]))},[q(e.$slots,"default")],2),j(r,{hovering:e.disabled?!1:e.hovering},null,8,["hovering"])],46,_)),[[d,{disabled:e.disabled||!e.ripple}],[n,e.handleHovering,"desktop"]])}const ee=E(Z,[["render",x]]);H(ee);export{ee as B,se as u}; diff --git a/assets/index-22bf8b8c.js b/assets/index-22bf8b8c.js deleted file mode 100644 index 74402fd1175..00000000000 --- a/assets/index-22bf8b8c.js +++ /dev/null @@ -1 +0,0 @@ -import{B as l}from"./index-84d96475.js";import{F as i,al as g,e as h,m as u,q as o,w as a,U as e,N as d,Q as s,R as r}from"./index-af5fec45.js";import{d as _}from"./index-d8fbf18c.js";import{u as f,b as p,_ as T,c as k,a as N}from"./index-2b61c8d0.js";import{A as C}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const w={toggleTheme:"切换主题"},x={toggleTheme:"Toggle Theme"},{add:n,use:U,pack:m,packs:v,merge:G}=f(),z=t=>{N(t),U(t)};p("zh-CN",T);p("en-US",k);n("zh-CN",w);n("en-US",x);const H={__name:"index",setup(t){const c=()=>window.toggleTheme();return i(z),g(_),(B,S)=>(h(),u(d,null,[o(e(C),null,{default:a(()=>[s(r(e(m).toggleTheme),1)]),_:1}),o(e(l),{block:"",onClick:c},{default:a(()=>[s(r(e(m).toggleTheme),1)]),_:1})],64))}};export{H as default}; diff --git a/assets/index-7e38b018.js b/assets/index-2341c7df.js similarity index 93% rename from assets/index-7e38b018.js rename to assets/index-2341c7df.js index 23909c73af3..4f1adea557c 100644 --- a/assets/index-7e38b018.js +++ b/assets/index-2341c7df.js @@ -1 +1 @@ -import{S as o,O as u}from"./index-b08b685e.js";import{S as $}from"./index-90c41552.js";import{I as s}from"./index-057aa4ba.js";import{d as q}from"./index-d8fbf18c.js";import{_ as Q,r as i,al as j,F as G,e as H,m as J,q as e,w as d,U as l,N as K,Q as A,R as p,p as r,x as S,$ as W,a0 as X}from"./index-af5fec45.js";import{u as Z,b as F,_ as ll,c as el,a as al}from"./index-2b61c8d0.js";import{A as E}from"./appType-53211ea9.js";import"./index-3f206173.js";import"./components-3ae053cb.js";import"./usePopover-33bac0d8.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-83ee7fa7.js";import"./index-939959a8.js";import"./provide-c979a783.js";import"./useSelectController-4054913f.js";import"./index-64160362.js";import"./index-2b41cfe8.js";/* empty css */import"./index-8bbf4ef8.js";import"./index-2c1498a1.js";const nl={standard:"标准外观",outlined:"外边框外观",smallSize:"小尺寸",disabled:"禁用",readonly:"只读",clearable:"可清除",customIcon:"自定义图标",customIconSize:"自定义图标尺寸",validate:"单选值校验",multipleValidate:"多选值校验",placeholder:"请选择一个选项",multiplePlaceholder:"请选择多个选项",clearableText:"可清除文本",relation:"文本关联值",multiple:"多选",chipMultiple:"纸片风格的多选",eat:"吃饭",sleep:"睡觉",play:"打游戏",coding:"写代码",rest:"摸鱼",currentSelect:"当前选择的是:",mustSelectRest:"您一定得选择摸鱼",mustSelectMoreThan:"您至少选择两个选项"},ul={standard:"Standard Variant",outlined:"Outlined Variant",smallSize:"Small Size",disabled:"Disabled",readonly:"Readonly",clearable:"Clearable",customIcon:"Custom Icon",customIconSize:"Custom Icon Size",validate:"Validate",multipleValidate:"Multiple Validate",placeholder:"Please select one the options",multiplePlaceholder:"Please select multiple options",clearableText:"Clearable Text",relation:"Label relation value",multiple:"Multiple Selection",chipMultiple:"Multiple choice of paper style",eat:"Eat",sleep:"Sleep",play:"Play game",coding:"Coding",rest:"Rest",currentSelect:"The current selection is:",mustSelectRest:"You must choose to rest",mustSelectMoreThan:"You select at least two options"},{add:Y,use:dl,pack:a,packs:Bl,merge:Dl}=Z(),tl=m=>{al(m),dl(m)};F("zh-CN",ll);F("en-US",el);Y("zh-CN",nl);Y("en-US",ul);const ol=m=>(W("data-v-3b3cf3f3"),m=m(),X(),m),sl={class:"relation"},il={class:"relation"},pl=ol(()=>r("div",{class:"space"},null,-1)),rl={__name:"index",setup(m){const g=i(void 0),U=i(void 0),w=i(void 0),z=i(void 0),y=i(void 0),c=i(void 0),_=i([]),I=i([]),k=i([]),f=i(void 0),x=i(void 0),b=i(void 0),C=i(void 0),M=i(void 0),T=i(void 0),N=i(void 0),R=i(void 0),v=i(void 0),P=i([]),B=i([]),D=i([]),h=i(void 0),L=i(void 0),V=i(void 0);return j(q),G(O=>{g.value=void 0,U.value=void 0,w.value=void 0,z.value=void 0,y.value=void 0,c.value=void 0,_.value=[],I.value=[],k.value=[],f.value=void 0,x.value=void 0,b.value=void 0,C.value=void 0,M.value=void 0,T.value=void 0,N.value=void 0,R.value=void 0,v.value=void 0,P.value=[],B.value=[],D.value=[],h.value=void 0,L.value=void 0,V.value=void 0,tl(O)}),(O,t)=>(H(),J(K,null,[e(l(E),null,{default:d(()=>[A(p(l(a).standard),1)]),_:1}),e(l($),{direction:"column",size:["3vmin",0]},{default:d(()=>[e(l(o),{placeholder:l(a).placeholder,modelValue:g.value,"onUpdate:modelValue":t[0]||(t[0]=n=>g.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).relation,modelValue:f.value,"onUpdate:modelValue":t[1]||(t[1]=n=>f.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat,value:1},null,8,["label"]),e(l(u),{label:l(a).sleep,value:2},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),r("div",sl,p(l(a).currentSelect)+" "+p(f.value),1),e(l(o),{placeholder:l(a).readonly,readonly:"",modelValue:U.value,"onUpdate:modelValue":t[2]||(t[2]=n=>U.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).disabled,disabled:"",modelValue:w.value,"onUpdate:modelValue":t[3]||(t[3]=n=>w.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).clearable,clearable:"",modelValue:z.value,"onUpdate:modelValue":t[4]||(t[4]=n=>z.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).customIcon,modelValue:c.value,"onUpdate:modelValue":t[5]||(t[5]=n=>c.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:c.value===l(a).eat?"cake-variant":"weather-night"},null,8,["name"]),r("span",null,p(c.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).customIconSize,modelValue:b.value,"onUpdate:modelValue":t[6]||(t[6]=n=>b.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:b.value===l(a).eat?"cake-variant":"weather-night",size:"8vmin"},null,8,["name"]),r("span",null,p(b.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github",size:"12vmin"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).multiple,multiple:"",modelValue:_.value,"onUpdate:modelValue":t[7]||(t[7]=n=>_.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).chipMultiple,chip:"",multiple:"",modelValue:I.value,"onUpdate:modelValue":t[8]||(t[8]=n=>I.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).validate,rules:[n=>n===l(a).rest||l(a).mustSelectRest],modelValue:y.value,"onUpdate:modelValue":t[9]||(t[9]=n=>y.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).rest},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{multiple:"",placeholder:l(a).multipleValidate,rules:[n=>n.length>=2||l(a).mustSelectMoreThan],modelValue:k.value,"onUpdate:modelValue":t[10]||(t[10]=n=>k.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{placeholder:l(a).smallSize,modelValue:x.value,"onUpdate:modelValue":t[11]||(t[11]=n=>x.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"])]),_:1}),e(l(E),{style:{"margin-top":"10vmin"}},{default:d(()=>[A(p(l(a).outlined),1)]),_:1}),e(l($),{direction:"column",size:["6vmin",0]},{default:d(()=>[e(l(o),{variant:"outlined",placeholder:l(a).placeholder,modelValue:C.value,"onUpdate:modelValue":t[12]||(t[12]=n=>C.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).relation,modelValue:h.value,"onUpdate:modelValue":t[13]||(t[13]=n=>h.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat,value:1},null,8,["label"]),e(l(u),{label:l(a).sleep,value:2},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),r("div",il,p(l(a).currentSelect)+" "+p(h.value),1),e(l(o),{variant:"outlined",placeholder:l(a).readonly,readonly:"",modelValue:M.value,"onUpdate:modelValue":t[14]||(t[14]=n=>M.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).disabled,disabled:"",modelValue:T.value,"onUpdate:modelValue":t[15]||(t[15]=n=>T.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).clearable,clearable:"",modelValue:N.value,"onUpdate:modelValue":t[16]||(t[16]=n=>N.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).customIcon,modelValue:v.value,"onUpdate:modelValue":t[17]||(t[17]=n=>v.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:v.value===l(a).eat?"cake-variant":"weather-night"},null,8,["name"]),r("span",null,p(v.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).customIconSize,modelValue:V.value,"onUpdate:modelValue":t[18]||(t[18]=n=>V.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:V.value===l(a).eat?"cake-variant":"weather-night",size:"8vmin"},null,8,["name"]),r("span",null,p(V.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github",size:"12vmin"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).multiple,multiple:"",modelValue:P.value,"onUpdate:modelValue":t[19]||(t[19]=n=>P.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).chipMultiple,chip:"",multiple:"",modelValue:B.value,"onUpdate:modelValue":t[20]||(t[20]=n=>B.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).validate,rules:[n=>n===l(a).rest||l(a).mustSelectRest],modelValue:R.value,"onUpdate:modelValue":t[21]||(t[21]=n=>R.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).rest},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{multiple:"",variant:"outlined",placeholder:l(a).multipleValidate,rules:[n=>n.length>=2||l(a).mustSelectMoreThan],modelValue:D.value,"onUpdate:modelValue":t[22]||(t[22]=n=>D.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{variant:"outlined",size:"small",placeholder:l(a).smallSize,modelValue:L.value,"onUpdate:modelValue":t[23]||(t[23]=n=>L.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"])]),_:1}),pl],64))}},Ll=Q(rl,[["__scopeId","data-v-3b3cf3f3"]]);export{Ll as default}; +import{S as o,O as u}from"./index-0c036f3e.js";import{S as $}from"./index-65cffe90.js";import{I as s}from"./index-2c5b74fa.js";import{d as q}from"./index-d8fbf18c.js";import{_ as Q,r as i,al as j,F as G,e as H,m as J,q as e,w as d,U as l,N as K,Q as A,R as p,p as r,x as S,$ as W,a0 as X}from"./index-0bd4ebfc.js";import{u as Z,b as F,_ as ll,c as el,a as al}from"./index-4a9c2ae2.js";import{A as E}from"./appType-a8f87391.js";import"./index-5540406a.js";import"./components-a5332e66.js";import"./usePopover-1ef39509.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-123e4258.js";import"./index-d5ac26b6.js";import"./provide-4fc67263.js";import"./useSelectController-4200caca.js";import"./index-9fe788b6.js";import"./index-28dcc9be.js";/* empty css */import"./index-27fcaf7d.js";import"./index-d956da3f.js";const nl={standard:"标准外观",outlined:"外边框外观",smallSize:"小尺寸",disabled:"禁用",readonly:"只读",clearable:"可清除",customIcon:"自定义图标",customIconSize:"自定义图标尺寸",validate:"单选值校验",multipleValidate:"多选值校验",placeholder:"请选择一个选项",multiplePlaceholder:"请选择多个选项",clearableText:"可清除文本",relation:"文本关联值",multiple:"多选",chipMultiple:"纸片风格的多选",eat:"吃饭",sleep:"睡觉",play:"打游戏",coding:"写代码",rest:"摸鱼",currentSelect:"当前选择的是:",mustSelectRest:"您一定得选择摸鱼",mustSelectMoreThan:"您至少选择两个选项"},ul={standard:"Standard Variant",outlined:"Outlined Variant",smallSize:"Small Size",disabled:"Disabled",readonly:"Readonly",clearable:"Clearable",customIcon:"Custom Icon",customIconSize:"Custom Icon Size",validate:"Validate",multipleValidate:"Multiple Validate",placeholder:"Please select one the options",multiplePlaceholder:"Please select multiple options",clearableText:"Clearable Text",relation:"Label relation value",multiple:"Multiple Selection",chipMultiple:"Multiple choice of paper style",eat:"Eat",sleep:"Sleep",play:"Play game",coding:"Coding",rest:"Rest",currentSelect:"The current selection is:",mustSelectRest:"You must choose to rest",mustSelectMoreThan:"You select at least two options"},{add:Y,use:dl,pack:a,packs:Bl,merge:Dl}=Z(),tl=m=>{al(m),dl(m)};F("zh-CN",ll);F("en-US",el);Y("zh-CN",nl);Y("en-US",ul);const ol=m=>(W("data-v-3b3cf3f3"),m=m(),X(),m),sl={class:"relation"},il={class:"relation"},pl=ol(()=>r("div",{class:"space"},null,-1)),rl={__name:"index",setup(m){const g=i(void 0),U=i(void 0),w=i(void 0),z=i(void 0),y=i(void 0),c=i(void 0),_=i([]),I=i([]),k=i([]),f=i(void 0),x=i(void 0),b=i(void 0),C=i(void 0),M=i(void 0),T=i(void 0),N=i(void 0),R=i(void 0),v=i(void 0),P=i([]),B=i([]),D=i([]),h=i(void 0),L=i(void 0),V=i(void 0);return j(q),G(O=>{g.value=void 0,U.value=void 0,w.value=void 0,z.value=void 0,y.value=void 0,c.value=void 0,_.value=[],I.value=[],k.value=[],f.value=void 0,x.value=void 0,b.value=void 0,C.value=void 0,M.value=void 0,T.value=void 0,N.value=void 0,R.value=void 0,v.value=void 0,P.value=[],B.value=[],D.value=[],h.value=void 0,L.value=void 0,V.value=void 0,tl(O)}),(O,t)=>(H(),J(K,null,[e(l(E),null,{default:d(()=>[A(p(l(a).standard),1)]),_:1}),e(l($),{direction:"column",size:["3vmin",0]},{default:d(()=>[e(l(o),{placeholder:l(a).placeholder,modelValue:g.value,"onUpdate:modelValue":t[0]||(t[0]=n=>g.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).relation,modelValue:f.value,"onUpdate:modelValue":t[1]||(t[1]=n=>f.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat,value:1},null,8,["label"]),e(l(u),{label:l(a).sleep,value:2},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),r("div",sl,p(l(a).currentSelect)+" "+p(f.value),1),e(l(o),{placeholder:l(a).readonly,readonly:"",modelValue:U.value,"onUpdate:modelValue":t[2]||(t[2]=n=>U.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).disabled,disabled:"",modelValue:w.value,"onUpdate:modelValue":t[3]||(t[3]=n=>w.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).clearable,clearable:"",modelValue:z.value,"onUpdate:modelValue":t[4]||(t[4]=n=>z.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).customIcon,modelValue:c.value,"onUpdate:modelValue":t[5]||(t[5]=n=>c.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:c.value===l(a).eat?"cake-variant":"weather-night"},null,8,["name"]),r("span",null,p(c.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).customIconSize,modelValue:b.value,"onUpdate:modelValue":t[6]||(t[6]=n=>b.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:b.value===l(a).eat?"cake-variant":"weather-night",size:"8vmin"},null,8,["name"]),r("span",null,p(b.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github",size:"12vmin"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).multiple,multiple:"",modelValue:_.value,"onUpdate:modelValue":t[7]||(t[7]=n=>_.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).chipMultiple,chip:"",multiple:"",modelValue:I.value,"onUpdate:modelValue":t[8]||(t[8]=n=>I.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{placeholder:l(a).validate,rules:[n=>n===l(a).rest||l(a).mustSelectRest],modelValue:y.value,"onUpdate:modelValue":t[9]||(t[9]=n=>y.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).rest},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{multiple:"",placeholder:l(a).multipleValidate,rules:[n=>n.length>=2||l(a).mustSelectMoreThan],modelValue:k.value,"onUpdate:modelValue":t[10]||(t[10]=n=>k.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{placeholder:l(a).smallSize,modelValue:x.value,"onUpdate:modelValue":t[11]||(t[11]=n=>x.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"])]),_:1}),e(l(E),{style:{"margin-top":"10vmin"}},{default:d(()=>[A(p(l(a).outlined),1)]),_:1}),e(l($),{direction:"column",size:["6vmin",0]},{default:d(()=>[e(l(o),{variant:"outlined",placeholder:l(a).placeholder,modelValue:C.value,"onUpdate:modelValue":t[12]||(t[12]=n=>C.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).relation,modelValue:h.value,"onUpdate:modelValue":t[13]||(t[13]=n=>h.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat,value:1},null,8,["label"]),e(l(u),{label:l(a).sleep,value:2},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),r("div",il,p(l(a).currentSelect)+" "+p(h.value),1),e(l(o),{variant:"outlined",placeholder:l(a).readonly,readonly:"",modelValue:M.value,"onUpdate:modelValue":t[14]||(t[14]=n=>M.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).disabled,disabled:"",modelValue:T.value,"onUpdate:modelValue":t[15]||(t[15]=n=>T.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).clearable,clearable:"",modelValue:N.value,"onUpdate:modelValue":t[16]||(t[16]=n=>N.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).customIcon,modelValue:v.value,"onUpdate:modelValue":t[17]||(t[17]=n=>v.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:v.value===l(a).eat?"cake-variant":"weather-night"},null,8,["name"]),r("span",null,p(v.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).customIconSize,modelValue:V.value,"onUpdate:modelValue":t[18]||(t[18]=n=>V.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},{default:d(()=>[e(l(s),{class:"selected-icon",name:"cake-variant"}),r("span",null,p(l(a).eat),1)]),_:1},8,["label"]),e(l(u),{label:l(a).sleep},{default:d(()=>[e(l(s),{class:"selected-icon",name:"weather-night"}),r("span",null,p(l(a).sleep),1)]),_:1},8,["label"])]),selected:d(()=>[e(l(s),{class:"selected-icon",name:V.value===l(a).eat?"cake-variant":"weather-night",size:"8vmin"},null,8,["name"]),r("span",null,p(V.value),1)]),"prepend-icon":d(()=>[e(l(s),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":d(()=>[e(l(s),{class:"append-icon",name:"github",size:"12vmin"})]),"arrow-icon":d(({focus:n})=>[e(l(s),{name:"chevron-down",transition:300,class:S({"arrow-icon-rotate":n})},null,8,["class"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).multiple,multiple:"",modelValue:P.value,"onUpdate:modelValue":t[19]||(t[19]=n=>P.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).chipMultiple,chip:"",multiple:"",modelValue:B.value,"onUpdate:modelValue":t[20]||(t[20]=n=>B.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","modelValue"]),e(l(o),{variant:"outlined",placeholder:l(a).validate,rules:[n=>n===l(a).rest||l(a).mustSelectRest],modelValue:R.value,"onUpdate:modelValue":t[21]||(t[21]=n=>R.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).rest},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{multiple:"",variant:"outlined",placeholder:l(a).multipleValidate,rules:[n=>n.length>=2||l(a).mustSelectMoreThan],modelValue:D.value,"onUpdate:modelValue":t[22]||(t[22]=n=>D.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"]),e(l(u),{label:l(a).play},null,8,["label"]),e(l(u),{label:l(a).coding},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),e(l(o),{variant:"outlined",size:"small",placeholder:l(a).smallSize,modelValue:L.value,"onUpdate:modelValue":t[23]||(t[23]=n=>L.value=n)},{default:d(()=>[e(l(u),{label:l(a).eat},null,8,["label"]),e(l(u),{label:l(a).sleep},null,8,["label"])]),_:1},8,["placeholder","modelValue"])]),_:1}),pl],64))}},Ll=Q(rl,[["__scopeId","data-v-3b3cf3f3"]]);export{Ll as default}; diff --git a/assets/index-12b82603.js b/assets/index-23a115eb.js similarity index 80% rename from assets/index-12b82603.js rename to assets/index-23a115eb.js index c6b0cd1ece9..64c5a75ca25 100644 --- a/assets/index-12b82603.js +++ b/assets/index-23a115eb.js @@ -1 +1 @@ -import{v as i}from"./index-2b41cfe8.js";import{_ as m,F as b,e as o,m as c,q as _,w as r,U as e,P as n,Q as a,R as s,N as v}from"./index-af5fec45.js";import{u as f,b as d,_ as k,c as x,a as C}from"./index-2b61c8d0.js";import{A as p}from"./appType-53211ea9.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */const h={click:"点击",basicUsage:"基本使用",customColor:"自定义颜色",disabledStatus:"禁用状态"},U={click:"Click",basicUsage:"Basic Usage",customColor:"Custom Color",disabledStatus:"Disabled Status"},{add:u,use:g,pack:t,packs:q,merge:E}=f(),N=l=>{C(l),g(l)};d("zh-CN",k);d("en-US",x);u("zh-CN",h);u("en-US",U);const S={class:"ripple-example__block var-elevation--2"},w={class:"ripple-example__block var-elevation--2"},y={class:"ripple-example__block var-elevation--2"},z={__name:"index",setup(l){return b(N),(B,D)=>(o(),c(v,null,[_(e(p),null,{default:r(()=>[a(s(e(t).basicUsage),1)]),_:1}),n((o(),c("div",S,[a(s(e(t).click),1)])),[[e(i)]]),_(e(p),null,{default:r(()=>[a(s(e(t).customColor),1)]),_:1}),n((o(),c("div",w,[a(s(e(t).click),1)])),[[e(i),{color:"#2979ff"}]]),_(e(p),null,{default:r(()=>[a(s(e(t).disabledStatus),1)]),_:1}),n((o(),c("div",y,[a(s(e(t).click),1)])),[[e(i),{disabled:!0}]])],64))}},I=m(z,[["__scopeId","data-v-aa8bab46"]]);export{I as default}; +import{v as i}from"./index-28dcc9be.js";import{_ as m,F as b,e as o,m as c,q as _,w as r,U as e,P as n,Q as a,R as s,N as v}from"./index-0bd4ebfc.js";import{u as f,b as d,_ as k,c as x,a as C}from"./index-4a9c2ae2.js";import{A as p}from"./appType-a8f87391.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */const h={click:"点击",basicUsage:"基本使用",customColor:"自定义颜色",disabledStatus:"禁用状态"},U={click:"Click",basicUsage:"Basic Usage",customColor:"Custom Color",disabledStatus:"Disabled Status"},{add:u,use:g,pack:t,packs:q,merge:E}=f(),N=l=>{C(l),g(l)};d("zh-CN",k);d("en-US",x);u("zh-CN",h);u("en-US",U);const S={class:"ripple-example__block var-elevation--2"},w={class:"ripple-example__block var-elevation--2"},y={class:"ripple-example__block var-elevation--2"},z={__name:"index",setup(l){return b(N),(B,D)=>(o(),c(v,null,[_(e(p),null,{default:r(()=>[a(s(e(t).basicUsage),1)]),_:1}),n((o(),c("div",S,[a(s(e(t).click),1)])),[[e(i)]]),_(e(p),null,{default:r(()=>[a(s(e(t).customColor),1)]),_:1}),n((o(),c("div",w,[a(s(e(t).click),1)])),[[e(i),{color:"#2979ff"}]]),_(e(p),null,{default:r(()=>[a(s(e(t).disabledStatus),1)]),_:1}),n((o(),c("div",y,[a(s(e(t).click),1)])),[[e(i),{disabled:!0}]])],64))}},I=m(z,[["__scopeId","data-v-aa8bab46"]]);export{I as default}; diff --git a/assets/index-8f352069.js b/assets/index-23f219be.js similarity index 81% rename from assets/index-8f352069.js rename to assets/index-23f219be.js index 28f1efad168..5ddcd47f788 100644 --- a/assets/index-8f352069.js +++ b/assets/index-23f219be.js @@ -1 +1 @@ -import{D as s}from"./index-414ec72d.js";import{I as u}from"./index-057aa4ba.js";import{d as _}from"./index-d8fbf18c.js";import{_ as m,F as x,al as h,e as f,m as D,q as t,w as n,U as e,p as c,R as i,N as v,Q as r}from"./index-af5fec45.js";import{u as g,b as d,_ as w,c as U,a as N}from"./index-2b61c8d0.js";import{A as l}from"./appType-53211ea9.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./components-3ae053cb.js";const C={basicUsage:"基本使用",dashed:"虚线",inset:"缩进",vertical:"垂直分割线",text:"文字",withDesc:"带有文字描述的分割线",withDescText:"文字描述",custom:"自定义描述内容",hairline:"0.5px 分割线"},T={basicUsage:"Basic Usage",dashed:"Dashed Divider",inset:"Inset Divider",vertical:"Vertical Divider",text:"Text",withDesc:"Description Text",withDescText:"Description",custom:"Custom Description",hairline:"Use 0.5px Divider"},{add:p,use:k,pack:a,packs:Q,merge:R}=g(),b=o=>{N(o),k(o)};d("zh-CN",w);d("en-US",U);p("zh-CN",C);p("en-US",T);const y={class:"divider-example-vertical-container"},z={__name:"index",setup(o){return x(b),h(_),(B,I)=>(f(),D(v,null,[t(e(l),null,{default:n(()=>[r(i(e(a).basicUsage),1)]),_:1}),t(e(s)),t(e(l),null,{default:n(()=>[r(i(e(a).dashed),1)]),_:1}),t(e(s),{dashed:""}),t(e(l),null,{default:n(()=>[r(i(e(a).inset),1)]),_:1}),t(e(s),{inset:""}),t(e(s),{inset:36,margin:"36px 0"}),t(e(s),{inset:"-36px"}),t(e(l),null,{default:n(()=>[r(i(e(a).vertical),1)]),_:1}),c("div",y,[c("span",null,i(e(a).text),1),t(e(s),{vertical:""}),c("span",null,i(e(a).text),1),t(e(s),{vertical:""}),c("span",null,i(e(a).text),1)]),t(e(l),null,{default:n(()=>[r(i(e(a).withDesc),1)]),_:1}),t(e(s),{description:e(a).withDescText},null,8,["description"]),t(e(l),null,{default:n(()=>[r(i(e(a).custom),1)]),_:1}),t(e(s),null,{default:n(()=>[t(e(u),{name:"heart-outline",style:{margin:"0 16px",color:"rgb(41, 121, 255)"}})]),_:1}),t(e(l),null,{default:n(()=>[r(i(e(a).hairline),1)]),_:1}),t(e(s),{hairline:""})],64))}},j=m(z,[["__scopeId","data-v-a1c39aff"]]);export{j as default}; +import{D as s}from"./index-8ac50940.js";import{I as u}from"./index-2c5b74fa.js";import{d as _}from"./index-d8fbf18c.js";import{_ as m,F as x,al as h,e as f,m as D,q as t,w as n,U as e,p as c,R as i,N as v,Q as r}from"./index-0bd4ebfc.js";import{u as g,b as d,_ as w,c as U,a as N}from"./index-4a9c2ae2.js";import{A as l}from"./appType-a8f87391.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./components-a5332e66.js";const C={basicUsage:"基本使用",dashed:"虚线",inset:"缩进",vertical:"垂直分割线",text:"文字",withDesc:"带有文字描述的分割线",withDescText:"文字描述",custom:"自定义描述内容",hairline:"0.5px 分割线"},T={basicUsage:"Basic Usage",dashed:"Dashed Divider",inset:"Inset Divider",vertical:"Vertical Divider",text:"Text",withDesc:"Description Text",withDescText:"Description",custom:"Custom Description",hairline:"Use 0.5px Divider"},{add:p,use:k,pack:a,packs:Q,merge:R}=g(),b=o=>{N(o),k(o)};d("zh-CN",w);d("en-US",U);p("zh-CN",C);p("en-US",T);const y={class:"divider-example-vertical-container"},z={__name:"index",setup(o){return x(b),h(_),(B,I)=>(f(),D(v,null,[t(e(l),null,{default:n(()=>[r(i(e(a).basicUsage),1)]),_:1}),t(e(s)),t(e(l),null,{default:n(()=>[r(i(e(a).dashed),1)]),_:1}),t(e(s),{dashed:""}),t(e(l),null,{default:n(()=>[r(i(e(a).inset),1)]),_:1}),t(e(s),{inset:""}),t(e(s),{inset:36,margin:"36px 0"}),t(e(s),{inset:"-36px"}),t(e(l),null,{default:n(()=>[r(i(e(a).vertical),1)]),_:1}),c("div",y,[c("span",null,i(e(a).text),1),t(e(s),{vertical:""}),c("span",null,i(e(a).text),1),t(e(s),{vertical:""}),c("span",null,i(e(a).text),1)]),t(e(l),null,{default:n(()=>[r(i(e(a).withDesc),1)]),_:1}),t(e(s),{description:e(a).withDescText},null,8,["description"]),t(e(l),null,{default:n(()=>[r(i(e(a).custom),1)]),_:1}),t(e(s),null,{default:n(()=>[t(e(u),{name:"heart-outline",style:{margin:"0 16px",color:"rgb(41, 121, 255)"}})]),_:1}),t(e(l),null,{default:n(()=>[r(i(e(a).hairline),1)]),_:1}),t(e(s),{hairline:""})],64))}},j=m(z,[["__scopeId","data-v-a1c39aff"]]);export{j as default}; diff --git a/assets/index-378711a2.js b/assets/index-24e48932.js similarity index 89% rename from assets/index-378711a2.js rename to assets/index-24e48932.js index c0b11f9259d..daa213d4074 100644 --- a/assets/index-378711a2.js +++ b/assets/index-24e48932.js @@ -1 +1 @@ -import{I as a}from"./index-057aa4ba.js";import{I as z}from"./index-ba1a9006.js";import{v as C}from"./index-2b41cfe8.js";import{S as v}from"./index-0ad054ca.js";import{C as N}from"./clipboard-dfb26261.js";import{d as A}from"./index-d8fbf18c.js";import{_ as L,W as U,r as h,D as V,o as T,F as $,al as D,e as _,m as f,q as o,w as i,U as e,p as b,N as y,O as B,Q as r,R as l,P as M,y as j}from"./index-af5fec45.js";import{u as q,b as w,_ as E,c as F,a as R}from"./index-2b61c8d0.js";import{A as s}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./provide-c979a783.js";import"./index-939959a8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const O=["checkbox-marked-circle","check-circle-outline","information","information-outline","warning","alert-outline","error","alert-circle-outline","checkbox-marked","checkbox-marked-outline","checkbox-blank-outline","radio-marked","checkbox-marked-circle-outline","radio-blank","close-circle","close-circle-outline","close-box","close-box-outline","minus-circle","minus-circle-outline","star","star-half-full","star-outline","heart","heart-half-full","heart-outline","delete","trash-can","trash-can-outline","minus-box","minus-box-outline","account-circle","account-circle-outline","cog","cog-outline","map-marker-radius","map-marker-radius-outline","camera","camera-outline","cart","cart-outline","phone","phone-outline","image","image-outline","bell","bell-outline","home","home-outline","map-marker","map-marker-outline","magnify-plus","magnify-plus-outline","magnify-minus","magnify-minus-outline","play-circle","play-circle-outline","help-circle","help-circle-outline","plus-circle","plus-circle-outline","check","window-close","plus","minus","chevron-up","chevron-down","chevron-left","chevron-right","menu-up","menu-down","menu-left","menu-right","upload","download","format-list-checkbox","menu","menu-open","dots-vertical","message-text-outline","message-processing-outline","white-balance-sunny","weather-cloudy","weather-lightning","weather-pouring","weather-snowy","weather-rainy","translate","magnify","github","refresh","arrow-down","power","file-document-outline","fire","wifi","wrench","cake-variant","notebook","cellphone","weather-night","xml","content-copy","qrcode-scan","barcode-scan","shopping","shopping-outline","card-account-details","card-account-details-outline","pin","pin-off","pin-outline","pin-off-outline","code-json","view-outline","view","thumb-down-outline","thumb-down","thumb-up-outline","thumb-up","lock","lock-outline","email","email-outline","twitter"],P={iconSize:"图标尺寸",iconColor:"图标颜色",useImage:"使用图片",events:"注册事件",iconAnimation:"图标切换动画 (点击切换)",toggle:"切换",iconList:"图标列表 (点击复制)",copySuccess:"复制成功",clickSuccess:"点击成功",searchIcon:"搜索图标"},Q={iconSize:"Icon Size",iconColor:"Icon color",useImage:"Use Image",events:"Events",iconAnimation:"Icon Animation (click toggle)",toggle:"Toggle",iconList:"Icon List (click copy)",copySuccess:"copy success",clickSuccess:"Click success",searchIcon:"Search Icon"},{add:I,use:W,pack:c,packs:ke,merge:xe}=q(),G=d=>{R(d),W(d)};w("zh-CN",E);w("en-US",F);I("zh-CN",P);I("en-US",Q);const H={class:"icon-example__icons"},J=["data-clipboard-text"],K={class:"icon-example__icon-name"},X={__name:"index",setup(d){const k=U(O),u=h("information"),x=h("#fff"),p=h(""),S=V(()=>p.value?k.filter(m=>m.includes(p.value)):k);function g(){u.value=u.value==="information"?"checkbox-marked-circle":"information"}return T(()=>{new N(".icon-example__icon",{text:n=>``}).on("success",n=>{v.success(`${n.text}${c.value.copySuccess}!`)})}),$(G),D(A,m=>{x.value=m==="darkTheme"?"#303030":"#fff"}),(m,n)=>(_(),f(y,null,[o(e(s),null,{default:i(()=>[r(l(e(c).iconSize),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle"}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",size:26}),o(e(s),null,{default:i(()=>[r(l(e(c).iconColor),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",color:"var(--color-primary)"}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",color:"var(--color-primary)",size:26}),o(e(s),null,{default:i(()=>[r(l(e(c).useImage),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:32}),o(e(s),null,{default:i(()=>[r(l(e(c).events),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",color:"var(--color-primary)",onClick:n[0]||(n[0]=()=>e(v).success(e(c).clickSuccess))}),o(e(s),null,{default:i(()=>[r(l(e(c).iconAnimation),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",color:"var(--color-primary)",size:30,transition:300,name:u.value,onClick:g},null,8,["name"]),o(e(a),{class:"icon-example__animation-icon",color:"var(--color-primary)",size:30,transition:300,"animation-class":"fade",name:u.value,onClick:g},null,8,["name"]),o(e(s),null,{default:i(()=>[r(l(e(c).iconList),1)]),_:1}),o(e(z),{class:"icon-example__search",size:"small",variant:"outlined",placeholder:e(c).searchIcon,modelValue:p.value,"onUpdate:modelValue":n[1]||(n[1]=t=>p.value=t),modelModifiers:{trim:!0},clearable:""},{"append-icon":i(()=>[o(e(a),{class:"search-icon",name:"magnify"})]),_:1},8,["placeholder","modelValue"]),b("div",H,[(_(!0),f(y,null,B(S.value,t=>M((_(),f("div",{class:"icon-example__icon var-elevation--2",style:j({background:x.value}),"data-clipboard-text":t,key:t},[o(e(a),{name:t},null,8,["name"]),b("div",K,l(t),1)],12,J)),[[e(C)]])),128))])],64))}},ge=L(X,[["__scopeId","data-v-830984c5"]]);export{ge as default}; +import{I as a}from"./index-2c5b74fa.js";import{I as z}from"./index-bae97d31.js";import{v as C}from"./index-28dcc9be.js";import{S as v}from"./index-1ed406cf.js";import{C as N}from"./clipboard-dfb26261.js";import{d as A}from"./index-d8fbf18c.js";import{_ as L,W as U,r as h,D as V,o as T,F as $,al as D,e as _,m as f,q as o,w as i,U as e,p as b,N as y,O as B,Q as r,R as l,P as M,y as j}from"./index-0bd4ebfc.js";import{u as q,b as w,_ as E,c as F,a as R}from"./index-4a9c2ae2.js";import{A as s}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./provide-4fc67263.js";import"./index-d5ac26b6.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const O=["checkbox-marked-circle","check-circle-outline","information","information-outline","warning","alert-outline","error","alert-circle-outline","checkbox-marked","checkbox-marked-outline","checkbox-blank-outline","radio-marked","checkbox-marked-circle-outline","radio-blank","close-circle","close-circle-outline","close-box","close-box-outline","minus-circle","minus-circle-outline","star","star-half-full","star-outline","heart","heart-half-full","heart-outline","delete","trash-can","trash-can-outline","minus-box","minus-box-outline","account-circle","account-circle-outline","cog","cog-outline","map-marker-radius","map-marker-radius-outline","camera","camera-outline","cart","cart-outline","phone","phone-outline","image","image-outline","bell","bell-outline","home","home-outline","map-marker","map-marker-outline","magnify-plus","magnify-plus-outline","magnify-minus","magnify-minus-outline","play-circle","play-circle-outline","help-circle","help-circle-outline","plus-circle","plus-circle-outline","check","window-close","plus","minus","chevron-up","chevron-down","chevron-left","chevron-right","menu-up","menu-down","menu-left","menu-right","upload","download","format-list-checkbox","menu","menu-open","dots-vertical","message-text-outline","message-processing-outline","white-balance-sunny","weather-cloudy","weather-lightning","weather-pouring","weather-snowy","weather-rainy","translate","magnify","github","refresh","arrow-down","power","file-document-outline","fire","wifi","wrench","cake-variant","notebook","cellphone","weather-night","xml","content-copy","qrcode-scan","barcode-scan","shopping","shopping-outline","card-account-details","card-account-details-outline","pin","pin-off","pin-outline","pin-off-outline","code-json","view-outline","view","thumb-down-outline","thumb-down","thumb-up-outline","thumb-up","lock","lock-outline","email","email-outline","twitter"],P={iconSize:"图标尺寸",iconColor:"图标颜色",useImage:"使用图片",events:"注册事件",iconAnimation:"图标切换动画 (点击切换)",toggle:"切换",iconList:"图标列表 (点击复制)",copySuccess:"复制成功",clickSuccess:"点击成功",searchIcon:"搜索图标"},Q={iconSize:"Icon Size",iconColor:"Icon color",useImage:"Use Image",events:"Events",iconAnimation:"Icon Animation (click toggle)",toggle:"Toggle",iconList:"Icon List (click copy)",copySuccess:"copy success",clickSuccess:"Click success",searchIcon:"Search Icon"},{add:I,use:W,pack:c,packs:ke,merge:xe}=q(),G=d=>{R(d),W(d)};w("zh-CN",E);w("en-US",F);I("zh-CN",P);I("en-US",Q);const H={class:"icon-example__icons"},J=["data-clipboard-text"],K={class:"icon-example__icon-name"},X={__name:"index",setup(d){const k=U(O),u=h("information"),x=h("#fff"),p=h(""),S=V(()=>p.value?k.filter(m=>m.includes(p.value)):k);function g(){u.value=u.value==="information"?"checkbox-marked-circle":"information"}return T(()=>{new N(".icon-example__icon",{text:n=>``}).on("success",n=>{v.success(`${n.text}${c.value.copySuccess}!`)})}),$(G),D(A,m=>{x.value=m==="darkTheme"?"#303030":"#fff"}),(m,n)=>(_(),f(y,null,[o(e(s),null,{default:i(()=>[r(l(e(c).iconSize),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle"}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",size:26}),o(e(s),null,{default:i(()=>[r(l(e(c).iconColor),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",color:"var(--color-primary)"}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",color:"var(--color-primary)",size:26}),o(e(s),null,{default:i(()=>[r(l(e(c).useImage),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:32}),o(e(s),null,{default:i(()=>[r(l(e(c).events),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",name:"checkbox-marked-circle",color:"var(--color-primary)",onClick:n[0]||(n[0]=()=>e(v).success(e(c).clickSuccess))}),o(e(s),null,{default:i(()=>[r(l(e(c).iconAnimation),1)]),_:1}),o(e(a),{class:"icon-example__animation-icon",color:"var(--color-primary)",size:30,transition:300,name:u.value,onClick:g},null,8,["name"]),o(e(a),{class:"icon-example__animation-icon",color:"var(--color-primary)",size:30,transition:300,"animation-class":"fade",name:u.value,onClick:g},null,8,["name"]),o(e(s),null,{default:i(()=>[r(l(e(c).iconList),1)]),_:1}),o(e(z),{class:"icon-example__search",size:"small",variant:"outlined",placeholder:e(c).searchIcon,modelValue:p.value,"onUpdate:modelValue":n[1]||(n[1]=t=>p.value=t),modelModifiers:{trim:!0},clearable:""},{"append-icon":i(()=>[o(e(a),{class:"search-icon",name:"magnify"})]),_:1},8,["placeholder","modelValue"]),b("div",H,[(_(!0),f(y,null,B(S.value,t=>M((_(),f("div",{class:"icon-example__icon var-elevation--2",style:j({background:x.value}),"data-clipboard-text":t,key:t},[o(e(a),{name:t},null,8,["name"]),b("div",K,l(t),1)],12,J)),[[e(C)]])),128))])],64))}},ge=L(X,[["__scopeId","data-v-830984c5"]]);export{ge as default}; diff --git a/assets/index-b68883e5.js b/assets/index-255350e3.js similarity index 76% rename from assets/index-b68883e5.js rename to assets/index-255350e3.js index 1896bfb3db1..e9c2908e7a6 100644 --- a/assets/index-b68883e5.js +++ b/assets/index-255350e3.js @@ -1 +1 @@ -import{h as _}from"./elements-68ad626b.js";import{a as w,c as N,w as v}from"./components-3ae053cb.js";import{d as x,aa as R,W as U,r as z,F as B,az as E,k as P,e as F,m as $,q as a,w as r,U as e,N as j,Q as m,R as u}from"./index-af5fec45.js";import{R as A}from"./index-c4d1ad92.js";import{S as L}from"./index-e47c1801.js";import{B as y}from"./index-84d96475.js";import{d as O}from"./index-d8fbf18c.js";import{u as q,b as C,_ as D,c as I,a as K}from"./index-2b61c8d0.js";import{A as h}from"./appType-53211ea9.js";import"./logger-525ef361.js";import"./index-057aa4ba.js";import"./provide-c979a783.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-a6f8e46a.js";const Q={styleVars:{type:Object,default:()=>({})},tag:{type:String,default:"div"}},{name:W,n:G}=N("style-provider"),g=x({name:W,props:Q,setup(o,{slots:l}){return()=>R(o.tag,{class:G(),style:_(o.styleVars)},w(l.default))}});const f=[];function n(o){f.forEach(t=>document.documentElement.style.removeProperty(t)),f.length=0;const l=_(o??{});Object.entries(l).forEach(([t,s])=>{document.documentElement.style.setProperty(t,s),f.push(t)})}n.Component=g;v(g);v(g,n);const H={componentCall:"组件调用",functionCall:"函数调用",toggleTheme:"切换样式变量",toggleRootTheme:"切换根节点样式变量"},J={componentCall:"Component Call",functionCall:"Function Call",toggleTheme:"Toggle Theme",toggleRootTheme:"Toggle Root Theme"},{add:T,use:M,pack:i,packs:he,merge:_e}=q(),X=o=>{K(o),M(o)};C("zh-CN",D);C("en-US",I);T("zh-CN",H);T("en-US",J);const ve={__name:"index",setup(o){const l=n.Component,t=U({score:5,license:!0}),s=z(null);let p=null;const V={"--rate-primary-color":"var(--color-success)","--button-primary-color":"var(--color-success)","--switch-handle-active-background":"var(--color-success)","--switch-track-active-background":"var(--color-success)"},k={"--color-primary":"#3f51b5"};function S(){s.value=s.value?null:V}function b(){p=p?null:k,n(p)}return B(X),E(()=>{n(P()==="darkTheme"?O:null)}),(Y,c)=>(F(),$(j,null,[a(e(h),null,{default:r(()=>[m(u(e(i).componentCall),1)]),_:1}),a(e(l),{"style-vars":s.value},{default:r(()=>[a(e(A),{modelValue:t.score,"onUpdate:modelValue":c[0]||(c[0]=d=>t.score=d)},null,8,["modelValue"]),a(e(L),{modelValue:t.license,"onUpdate:modelValue":c[1]||(c[1]=d=>t.license=d)},null,8,["modelValue"]),a(e(y),{style:{"margin-top":"10px"},type:"primary",block:"",onClick:S},{default:r(()=>[m(u(e(i).toggleTheme),1)]),_:1})]),_:1},8,["style-vars"]),a(e(h),null,{default:r(()=>[m(u(e(i).functionCall),1)]),_:1}),a(e(y),{type:"primary",block:"",onClick:b},{default:r(()=>[m(u(e(i).toggleRootTheme),1)]),_:1})],64))}};export{ve as default}; +import{h as _}from"./elements-23c82371.js";import{a as w,c as N,w as v}from"./components-a5332e66.js";import{d as x,aa as R,W as U,r as z,F as B,az as E,k as P,e as F,m as $,q as a,w as r,U as e,N as j,Q as m,R as u}from"./index-0bd4ebfc.js";import{R as A}from"./index-e122297f.js";import{S as L}from"./index-0fd7c0ec.js";import{B as y}from"./index-1f1d0c91.js";import{d as O}from"./index-d8fbf18c.js";import{u as q,b as C,_ as D,c as I,a as K}from"./index-4a9c2ae2.js";import{A as h}from"./appType-a8f87391.js";import"./logger-525ef361.js";import"./index-2c5b74fa.js";import"./provide-4fc67263.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-1e0bee81.js";const Q={styleVars:{type:Object,default:()=>({})},tag:{type:String,default:"div"}},{name:W,n:G}=N("style-provider"),g=x({name:W,props:Q,setup(o,{slots:l}){return()=>R(o.tag,{class:G(),style:_(o.styleVars)},w(l.default))}});const f=[];function n(o){f.forEach(t=>document.documentElement.style.removeProperty(t)),f.length=0;const l=_(o??{});Object.entries(l).forEach(([t,s])=>{document.documentElement.style.setProperty(t,s),f.push(t)})}n.Component=g;v(g);v(g,n);const H={componentCall:"组件调用",functionCall:"函数调用",toggleTheme:"切换样式变量",toggleRootTheme:"切换根节点样式变量"},J={componentCall:"Component Call",functionCall:"Function Call",toggleTheme:"Toggle Theme",toggleRootTheme:"Toggle Root Theme"},{add:T,use:M,pack:i,packs:he,merge:_e}=q(),X=o=>{K(o),M(o)};C("zh-CN",D);C("en-US",I);T("zh-CN",H);T("en-US",J);const ve={__name:"index",setup(o){const l=n.Component,t=U({score:5,license:!0}),s=z(null);let p=null;const V={"--rate-primary-color":"var(--color-success)","--button-primary-color":"var(--color-success)","--switch-handle-active-background":"var(--color-success)","--switch-track-active-background":"var(--color-success)"},k={"--color-primary":"#3f51b5"};function S(){s.value=s.value?null:V}function b(){p=p?null:k,n(p)}return B(X),E(()=>{n(P()==="darkTheme"?O:null)}),(Y,c)=>(F(),$(j,null,[a(e(h),null,{default:r(()=>[m(u(e(i).componentCall),1)]),_:1}),a(e(l),{"style-vars":s.value},{default:r(()=>[a(e(A),{modelValue:t.score,"onUpdate:modelValue":c[0]||(c[0]=d=>t.score=d)},null,8,["modelValue"]),a(e(L),{modelValue:t.license,"onUpdate:modelValue":c[1]||(c[1]=d=>t.license=d)},null,8,["modelValue"]),a(e(y),{style:{"margin-top":"10px"},type:"primary",block:"",onClick:S},{default:r(()=>[m(u(e(i).toggleTheme),1)]),_:1})]),_:1},8,["style-vars"]),a(e(h),null,{default:r(()=>[m(u(e(i).functionCall),1)]),_:1}),a(e(y),{type:"primary",block:"",onClick:b},{default:r(()=>[m(u(e(i).toggleRootTheme),1)]),_:1})],64))}};export{ve as default}; diff --git a/assets/index-8bbf4ef8.js b/assets/index-27fcaf7d.js similarity index 95% rename from assets/index-8bbf4ef8.js rename to assets/index-27fcaf7d.js index fa380ee4a4e..18cb97919dd 100644 --- a/assets/index-8bbf4ef8.js +++ b/assets/index-27fcaf7d.js @@ -1 +1 @@ -import{ap as a,aq as n}from"./index-af5fec45.js";function v(e){if(!e)return!1;const t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return!!(e==="desktop"&&t||e==="mobile"&&!t)}function _(e){const t=e.getAttribute("style");return t?t.split(";").filter(Boolean).reduce((r,i)=>{const[o,s]=i.split(":").map(y=>y.trim());return r[a(o)]=s,r},{}):{}}function p(e){const{value:t}=e._hover,r=_(e);Object.keys(t).forEach(i=>{const o=a(i);t[o]!=null&&r[o]&&(e._hover.rawStyle[o]=r[o])})}function u(e,t){Object.keys(t).forEach(r=>{const i=t[r];i!=null&&(e.style[r]=i)})}function S(e){Object.keys(e._hover.value).forEach(t=>{e._hover.value[t]!=null&&(e.style[t]="")})}function l(e){S(e),u(e,e._hover.rawStyle)}function c(){const{value:e}=this._hover;if(this._hover.hovering=!0,n(e)){e(this._hover.hovering);return}u(this,e)}function h(){if(this._hover.hovering=!1,n(this._hover.value)){this._hover.value(this._hover.hovering);return}l(this)}function f(e,t){var o;const{arg:r,value:i}=t;v(r)||(e._hover={value:i,hovering:((o=e._hover)==null?void 0:o.hovering)??!1,rawStyle:{}},p(e),e.addEventListener("mouseenter",c),e.addEventListener("mouseleave",h))}function d(e,t){v(t.arg)||(l(e),e.removeEventListener("mouseenter",c),e.removeEventListener("mouseleave",h))}function g(e,t){e._hover&&d(e,t)}function b(e,t){return!n(t.value)&&e._hover.hovering}function E(e,t){f(e,t),b(e,t)&&u(e,t.value)}const w={mounted:f,unmounted:d,beforeUpdate:g,updated:E,install(e){e.directive("hover",this)}},O=w;export{O as H}; +import{ap as a,aq as n}from"./index-0bd4ebfc.js";function v(e){if(!e)return!1;const t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return!!(e==="desktop"&&t||e==="mobile"&&!t)}function _(e){const t=e.getAttribute("style");return t?t.split(";").filter(Boolean).reduce((r,i)=>{const[o,s]=i.split(":").map(y=>y.trim());return r[a(o)]=s,r},{}):{}}function p(e){const{value:t}=e._hover,r=_(e);Object.keys(t).forEach(i=>{const o=a(i);t[o]!=null&&r[o]&&(e._hover.rawStyle[o]=r[o])})}function u(e,t){Object.keys(t).forEach(r=>{const i=t[r];i!=null&&(e.style[r]=i)})}function S(e){Object.keys(e._hover.value).forEach(t=>{e._hover.value[t]!=null&&(e.style[t]="")})}function l(e){S(e),u(e,e._hover.rawStyle)}function c(){const{value:e}=this._hover;if(this._hover.hovering=!0,n(e)){e(this._hover.hovering);return}u(this,e)}function h(){if(this._hover.hovering=!1,n(this._hover.value)){this._hover.value(this._hover.hovering);return}l(this)}function f(e,t){var o;const{arg:r,value:i}=t;v(r)||(e._hover={value:i,hovering:((o=e._hover)==null?void 0:o.hovering)??!1,rawStyle:{}},p(e),e.addEventListener("mouseenter",c),e.addEventListener("mouseleave",h))}function d(e,t){v(t.arg)||(l(e),e.removeEventListener("mouseenter",c),e.removeEventListener("mouseleave",h))}function g(e,t){e._hover&&d(e,t)}function b(e,t){return!n(t.value)&&e._hover.hovering}function E(e,t){f(e,t),b(e,t)&&u(e,t.value)}const w={mounted:f,unmounted:d,beforeUpdate:g,updated:E,install(e){e.directive("hover",this)}},O=w;export{O as H}; diff --git a/assets/index-2b41cfe8.js b/assets/index-28dcc9be.js similarity index 93% rename from assets/index-2b41cfe8.js rename to assets/index-28dcc9be.js index 90dc3587d2f..27a5824ed83 100644 --- a/assets/index-2b41cfe8.js +++ b/assets/index-28dcc9be.js @@ -1 +1 @@ -import{c as u}from"./index-e95cf05b.js";import{ao as _,ab as k,ah as E}from"./index-af5fec45.js";import{c as L}from"./components-3ae053cb.js";/* empty css */const{n:v}=L("ripple"),d=250;function b(e){const{zIndex:t,position:i}=k(e);e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden",i==="static"&&(e.style.position="relative"),t==="auto"&&(e.style.zIndex="1")}function g(e,t){const{top:i,left:n}=E(e),{clientWidth:p,clientHeight:r}=e,s=Math.sqrt(p**2+r**2)/2,c=s*2,o=t.touches[0].clientX-n,a=t.touches[0].clientY-i,f=(p-s*2)/2,y=(r-s*2)/2,R=o-s,w=a-s;return{x:R,y:w,centerX:f,centerY:y,size:c}}function m(e){const t=this._ripple;if(t.removeRipple(),t.disabled||t.tasker||!u.enableRipple)return;const i=()=>{t.tasker=null;const{x:n,y:p,centerX:r,centerY:s,size:c}=g(this,e),o=document.createElement("div");o.classList.add(v()),o.style.opacity="0",o.style.transform=`translate(${n}px, ${p}px) scale3d(.3, .3, .3)`,o.style.width=`${c}px`,o.style.height=`${c}px`,t.color&&(o.style.backgroundColor=t.color),o.dataset.createdAt=String(performance.now()),b(this),this.appendChild(o),window.setTimeout(()=>{o.style.transform=`translate(${r}px, ${s}px) scale3d(1, 1, 1)`,o.style.opacity=".25"},20)};t.tasker=window.setTimeout(i,30)}function l(){const e=this._ripple,t=()=>{const i=this.querySelectorAll(`.${v()}`);if(!i.length)return;const n=i[i.length-1],p=d-performance.now()+Number(n.dataset.createdAt);window.setTimeout(()=>{n.style.opacity="0",window.setTimeout(()=>{var r;return(r=n.parentNode)==null?void 0:r.removeChild(n)},d)},p)};e.tasker?window.setTimeout(t,30):t()}function h(){if(!_()||!u.enableRipple)return;const e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function x(e,t){e._ripple={tasker:null,...t.value??{},removeRipple:l.bind(e)},e.addEventListener("touchstart",m,{passive:!0}),e.addEventListener("touchmove",h,{passive:!0}),e.addEventListener("dragstart",l,{passive:!0}),document.addEventListener("touchend",e._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",e._ripple.removeRipple,{passive:!0}),document.addEventListener("dragend",e._ripple.removeRipple,{passive:!0})}function T(e){e.removeEventListener("touchstart",m),e.removeEventListener("touchmove",h),e.removeEventListener("dragstart",l),document.removeEventListener("touchend",e._ripple.removeRipple),document.removeEventListener("touchcancel",e._ripple.removeRipple),document.removeEventListener("dragend",e._ripple.removeRipple)}function $(e,t){var p,r,s,c,o,a;const i={color:(p=t.value)==null?void 0:p.color,disabled:(r=t.value)==null?void 0:r.disabled};(i.color!==((s=e._ripple)==null?void 0:s.color)||i.disabled!==((c=e._ripple)==null?void 0:c.disabled))&&(e._ripple={tasker:i.disabled?null:(o=e._ripple)==null?void 0:o.tasker,removeRipple:(a=e._ripple)==null?void 0:a.removeRipple,...i})}const A={mounted:x,unmounted:T,updated:$,install(e){e.directive("ripple",this)}},Y=A;export{Y as v}; +import{c as u}from"./index-9eb15296.js";import{ao as _,ab as k,ah as E}from"./index-0bd4ebfc.js";import{c as L}from"./components-a5332e66.js";/* empty css */const{n:v}=L("ripple"),d=250;function b(e){const{zIndex:t,position:i}=k(e);e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden",i==="static"&&(e.style.position="relative"),t==="auto"&&(e.style.zIndex="1")}function g(e,t){const{top:i,left:n}=E(e),{clientWidth:p,clientHeight:r}=e,s=Math.sqrt(p**2+r**2)/2,c=s*2,o=t.touches[0].clientX-n,a=t.touches[0].clientY-i,f=(p-s*2)/2,y=(r-s*2)/2,R=o-s,w=a-s;return{x:R,y:w,centerX:f,centerY:y,size:c}}function m(e){const t=this._ripple;if(t.removeRipple(),t.disabled||t.tasker||!u.enableRipple)return;const i=()=>{t.tasker=null;const{x:n,y:p,centerX:r,centerY:s,size:c}=g(this,e),o=document.createElement("div");o.classList.add(v()),o.style.opacity="0",o.style.transform=`translate(${n}px, ${p}px) scale3d(.3, .3, .3)`,o.style.width=`${c}px`,o.style.height=`${c}px`,t.color&&(o.style.backgroundColor=t.color),o.dataset.createdAt=String(performance.now()),b(this),this.appendChild(o),window.setTimeout(()=>{o.style.transform=`translate(${r}px, ${s}px) scale3d(1, 1, 1)`,o.style.opacity=".25"},20)};t.tasker=window.setTimeout(i,30)}function l(){const e=this._ripple,t=()=>{const i=this.querySelectorAll(`.${v()}`);if(!i.length)return;const n=i[i.length-1],p=d-performance.now()+Number(n.dataset.createdAt);window.setTimeout(()=>{n.style.opacity="0",window.setTimeout(()=>{var r;return(r=n.parentNode)==null?void 0:r.removeChild(n)},d)},p)};e.tasker?window.setTimeout(t,30):t()}function h(){if(!_()||!u.enableRipple)return;const e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function x(e,t){e._ripple={tasker:null,...t.value??{},removeRipple:l.bind(e)},e.addEventListener("touchstart",m,{passive:!0}),e.addEventListener("touchmove",h,{passive:!0}),e.addEventListener("dragstart",l,{passive:!0}),document.addEventListener("touchend",e._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",e._ripple.removeRipple,{passive:!0}),document.addEventListener("dragend",e._ripple.removeRipple,{passive:!0})}function T(e){e.removeEventListener("touchstart",m),e.removeEventListener("touchmove",h),e.removeEventListener("dragstart",l),document.removeEventListener("touchend",e._ripple.removeRipple),document.removeEventListener("touchcancel",e._ripple.removeRipple),document.removeEventListener("dragend",e._ripple.removeRipple)}function $(e,t){var p,r,s,c,o,a;const i={color:(p=t.value)==null?void 0:p.color,disabled:(r=t.value)==null?void 0:r.disabled};(i.color!==((s=e._ripple)==null?void 0:s.color)||i.disabled!==((c=e._ripple)==null?void 0:c.disabled))&&(e._ripple={tasker:i.disabled?null:(o=e._ripple)==null?void 0:o.tasker,removeRipple:(a=e._ripple)==null?void 0:a.removeRipple,...i})}const A={mounted:x,unmounted:T,updated:$,install(e){e.directive("ripple",this)}},Y=A;export{Y as v}; diff --git a/assets/index-b37d063e.js b/assets/index-2b33b811.js similarity index 63% rename from assets/index-b37d063e.js rename to assets/index-2b33b811.js index 574fbce3e13..c47d17b230f 100644 --- a/assets/index-b37d063e.js +++ b/assets/index-2b33b811.js @@ -1 +1 @@ -import{_,F as u,al as h,e as f,m as b,q as e,w as s,U as t,p as o,N as g,Q as r,R as i}from"./index-af5fec45.js";import{P as l}from"./index-8ffed91e.js";import{d as w}from"./index-d8fbf18c.js";import{u as x,b as d,_ as z,c as N,a as S}from"./index-2b61c8d0.js";import{A as n}from"./appType-53211ea9.js";import"./index-3f206173.js";import"./components-3ae053cb.js";import"./usePopover-33bac0d8.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-2b41cfe8.js";/* empty css */import"./index-057aa4ba.js";import"./index-4237591d.js";import"./index-ba1a9006.js";import"./provide-c979a783.js";import"./index-939959a8.js";const T={basicUsage:"基本使用",showTotal:"显示总数",total:"共",item:"条",disabled:"禁用",hideSize:"隐藏 size 切换器",pcTotal:"共",current:"当前"},U={basicUsage:"Basic Usage",showTotal:"Show Total",total:"",item:"items",disabled:"Disabled",hideSize:"Hide Size Changer",pcTotal:"Total ",current:"Current"},{add:m,use:C,pack:a,packs:tt,merge:et}=x(),v=c=>{S(c),C(c)};d("zh-CN",z);d("en-US",N);m("zh-CN",T);m("en-US",U);const k={class:"transformer"},$={class:"transformer"},y={class:"transformer"},B={class:"transformer"},D={__name:"index",setup(c){return u(v),h(w),(V,A)=>(f(),b(g,null,[e(t(n),null,{default:s(()=>[r(i(t(a).basicUsage),1)]),_:1}),o("div",k,[e(t(l),{current:3,total:120})]),e(t(n),null,{default:s(()=>[r(i(t(a).hideSize),1)]),_:1}),o("div",$,[e(t(l),{current:3,total:120,"show-size-changer":!1})]),e(t(n),null,{default:s(()=>[r(i(t(a).showTotal),1)]),_:1}),o("div",y,[e(t(l),{current:3,total:120,"show-total":p=>`${t(a).total} ${p} ${t(a).item}`},null,8,["show-total"])]),e(t(n),null,{default:s(()=>[r(i(t(a).disabled),1)]),_:1}),o("div",B,[e(t(l),{current:3,total:120,disabled:""})])],64))}},at=_(D,[["__scopeId","data-v-5b2a71d4"]]);export{at as default}; +import{_,F as u,al as h,e as f,m as b,q as e,w as s,U as t,p as o,N as g,Q as r,R as i}from"./index-0bd4ebfc.js";import{P as l}from"./index-f748fb96.js";import{d as w}from"./index-d8fbf18c.js";import{u as x,b as d,_ as z,c as N,a as S}from"./index-4a9c2ae2.js";import{A as n}from"./appType-a8f87391.js";import"./index-5540406a.js";import"./components-a5332e66.js";import"./usePopover-1ef39509.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-28dcc9be.js";/* empty css */import"./index-2c5b74fa.js";import"./index-3f170ae4.js";import"./index-bae97d31.js";import"./provide-4fc67263.js";import"./index-d5ac26b6.js";const T={basicUsage:"基本使用",showTotal:"显示总数",total:"共",item:"条",disabled:"禁用",hideSize:"隐藏 size 切换器",pcTotal:"共",current:"当前"},U={basicUsage:"Basic Usage",showTotal:"Show Total",total:"",item:"items",disabled:"Disabled",hideSize:"Hide Size Changer",pcTotal:"Total ",current:"Current"},{add:m,use:C,pack:a,packs:tt,merge:et}=x(),v=c=>{S(c),C(c)};d("zh-CN",z);d("en-US",N);m("zh-CN",T);m("en-US",U);const k={class:"transformer"},$={class:"transformer"},y={class:"transformer"},B={class:"transformer"},D={__name:"index",setup(c){return u(v),h(w),(V,A)=>(f(),b(g,null,[e(t(n),null,{default:s(()=>[r(i(t(a).basicUsage),1)]),_:1}),o("div",k,[e(t(l),{current:3,total:120})]),e(t(n),null,{default:s(()=>[r(i(t(a).hideSize),1)]),_:1}),o("div",$,[e(t(l),{current:3,total:120,"show-size-changer":!1})]),e(t(n),null,{default:s(()=>[r(i(t(a).showTotal),1)]),_:1}),o("div",y,[e(t(l),{current:3,total:120,"show-total":p=>`${t(a).total} ${p} ${t(a).item}`},null,8,["show-total"])]),e(t(n),null,{default:s(()=>[r(i(t(a).disabled),1)]),_:1}),o("div",B,[e(t(l),{current:3,total:120,disabled:""})])],64))}},at=_(D,[["__scopeId","data-v-5b2a71d4"]]);export{at as default}; diff --git a/assets/index-2b5c6686.js b/assets/index-2b5c6686.js new file mode 100644 index 00000000000..d0dad8324e9 --- /dev/null +++ b/assets/index-2b5c6686.js @@ -0,0 +1 @@ +import{V as r}from"./Paper-e2cdc119.js";import{w as a}from"./components-a5332e66.js";a(r); diff --git a/assets/index-2b61c8d0.js b/assets/index-2b61c8d0.js deleted file mode 100644 index 079e5b377de..00000000000 --- a/assets/index-2b61c8d0.js +++ /dev/null @@ -1 +0,0 @@ -import{r as i}from"./index-af5fec45.js";const o={dialogTitle:"提示",dialogConfirmButtonText:"确认",dialogCancelButtonText:"取消",actionSheetTitle:"请选择",listLoadingText:"加载中",listFinishedText:"没有更多了",listErrorText:"加载失败",pickerTitle:"请选择",pickerConfirmButtonText:"确认",pickerCancelButtonText:"取消",datePickerMonthDict:{"01":{name:"一月",abbr:"一月"},"02":{name:"二月",abbr:"二月"},"03":{name:"三月",abbr:"三月"},"04":{name:"四月",abbr:"四月"},"05":{name:"五月",abbr:"五月"},"06":{name:"六月",abbr:"六月"},"07":{name:"七月",abbr:"七月"},"08":{name:"八月",abbr:"八月"},"09":{name:"九月",abbr:"九月"},10:{name:"十月",abbr:"十月"},11:{name:"十一月",abbr:"十一月"},12:{name:"十二月",abbr:"十二月"}},datePickerWeekDict:{0:{name:"星期日",abbr:"日"},1:{name:"星期一",abbr:"一"},2:{name:"星期二",abbr:"二"},3:{name:"星期三",abbr:"三"},4:{name:"星期四",abbr:"四"},5:{name:"星期五",abbr:"五"},6:{name:"星期六",abbr:"六"}},datePickerSelected:"个被选择",paginationItem:"条",paginationPage:"页",paginationJump:"前往",timePickerHint:"选择时间"},l={dialogTitle:"Hint",dialogConfirmButtonText:"Confirm",dialogCancelButtonText:"Cancel",actionSheetTitle:"Select One",listLoadingText:"Loading",listFinishedText:"No more",listErrorText:"Load fail",pickerTitle:"Pick it",pickerConfirmButtonText:"Confirm",pickerCancelButtonText:"Cancel",datePickerMonthDict:{"01":{name:"January",abbr:"JAN"},"02":{name:"February",abbr:"FEB"},"03":{name:"March",abbr:"MAR"},"04":{name:"April",abbr:"APR"},"05":{name:"May",abbr:"MAY"},"06":{name:"June",abbr:"JUN"},"07":{name:"July",abbr:"JUL"},"08":{name:"August",abbr:"AUG"},"09":{name:"September",abbr:"SEP"},10:{name:"October",abbr:"OCT"},11:{name:"November",abbr:"NOV"},12:{name:"December",abbr:"DEC"}},datePickerWeekDict:{0:{name:"Sunday",abbr:"S"},1:{name:"Monday",abbr:"M"},2:{name:"Tuesday",abbr:"T"},3:{name:"Wednesday",abbr:"W"},4:{name:"Thursday",abbr:"T"},5:{name:"Friday",abbr:"F"},6:{name:"Saturday",abbr:"S"}},datePickerSelected:" selected",paginationItem:"",paginationPage:"page",paginationJump:"Go to",timePickerHint:"SELECT TIME"};function m(){const a={},t=i({}),b=(e,n)=>{n.lang=e,a[e]=n},r=e=>{if(!a[e])return console.warn(`The ${e} does not exist. You can mount a language package using the add method`),{};t.value=a[e]};return{packs:a,pack:t,add:b,use:r,merge:(e,n)=>{if(!a[e]){console.warn(`The ${e} does not exist. You can mount a language package using the add method`);return}a[e]={...a[e],...n},r(e)}}}const{packs:T,pack:p,add:c,use:d,merge:g}=m();c("zh-CN",o);d("zh-CN");export{o as _,d as a,c as b,l as c,p,m as u}; diff --git a/assets/index-057aa4ba.js b/assets/index-2c5b74fa.js similarity index 86% rename from assets/index-057aa4ba.js rename to assets/index-2c5b74fa.js index adeeb01b821..41c62501023 100644 --- a/assets/index-057aa4ba.js +++ b/assets/index-2c5b74fa.js @@ -1 +1 @@ -import{d as m,r as l,G as u,am as p,a4 as o,n as f,_ as c,e as g,f as d,x as S,y as z,an as C}from"./index-af5fec45.js";import{d as y,c as U,w as h}from"./components-3ae053cb.js";import{a as k}from"./elements-68ad626b.js";const v={name:String,size:[Number,String],color:String,namespace:{type:String,default:"var-icon"},transition:{type:[Number,String],default:0},animationClass:String,onClick:y()},{name:$,n:L,classes:N}=U("icon"),I=m({name:$,props:v,setup(n){const e=l(""),a=l(!1);u(()=>n.name,r,{immediate:!0});async function r(s,i){const{transition:t}=n;if(i==null||o(t)===0){e.value=s;return}a.value=!0,await f(),setTimeout(()=>{i!=null&&(e.value=s),a.value=!1},o(t))}return{nextName:e,animateInProgress:a,n:L,classes:N,isURL:p,toNumber:o,toSizeUnit:k}}});function R(n,e,a,r,s,i){return g(),d(C(n.isURL(n.name)?"img":"i"),{class:S(n.classes(n.n(),[n.namespace!==n.n(),n.namespace],`${n.namespace}--set`,[n.isURL(n.name),n.n("image"),`${n.namespace}-${n.nextName}`],[n.animateInProgress,n.animationClass==null?n.n("--shrinking"):n.animationClass])),style:z({color:n.color,"transition-duration":`${n.toNumber(n.transition)}ms`,width:n.isURL(n.name)?n.toSizeUnit(n.size):null,height:n.isURL(n.name)?n.toSizeUnit(n.size):null,fontSize:n.toSizeUnit(n.size)}),src:n.isURL(n.name)?n.nextName:null,onClick:n.onClick},null,8,["class","style","src","onClick"])}const b=c(I,[["render",R]]);h(b);export{b as I,v as p}; +import{d as m,r as l,G as u,am as p,a4 as o,n as f,_ as c,e as g,f as d,x as S,y as z,an as C}from"./index-0bd4ebfc.js";import{d as y,c as U,w as h}from"./components-a5332e66.js";import{a as k}from"./elements-23c82371.js";const v={name:String,size:[Number,String],color:String,namespace:{type:String,default:"var-icon"},transition:{type:[Number,String],default:0},animationClass:String,onClick:y()},{name:$,n:L,classes:N}=U("icon"),I=m({name:$,props:v,setup(n){const e=l(""),a=l(!1);u(()=>n.name,r,{immediate:!0});async function r(s,i){const{transition:t}=n;if(i==null||o(t)===0){e.value=s;return}a.value=!0,await f(),setTimeout(()=>{i!=null&&(e.value=s),a.value=!1},o(t))}return{nextName:e,animateInProgress:a,n:L,classes:N,isURL:p,toNumber:o,toSizeUnit:k}}});function R(n,e,a,r,s,i){return g(),d(C(n.isURL(n.name)?"img":"i"),{class:S(n.classes(n.n(),[n.namespace!==n.n(),n.namespace],`${n.namespace}--set`,[n.isURL(n.name),n.n("image"),`${n.namespace}-${n.nextName}`],[n.animateInProgress,n.animationClass==null?n.n("--shrinking"):n.animationClass])),style:z({color:n.color,"transition-duration":`${n.toNumber(n.transition)}ms`,width:n.isURL(n.name)?n.toSizeUnit(n.size):null,height:n.isURL(n.name)?n.toSizeUnit(n.size):null,fontSize:n.toSizeUnit(n.size)}),src:n.isURL(n.name)?n.nextName:null,onClick:n.onClick},null,8,["class","style","src","onClick"])}const b=c(I,[["render",R]]);h(b);export{b as I,v as p}; diff --git a/assets/index-dcc84b7e.js b/assets/index-3bea2fce.js similarity index 88% rename from assets/index-dcc84b7e.js rename to assets/index-3bea2fce.js index a7b4c2e3c63..fd0fbeef5dc 100644 --- a/assets/index-dcc84b7e.js +++ b/assets/index-3bea2fce.js @@ -1 +1 @@ -import{v as S}from"./index-2b41cfe8.js";import{v as k}from"./index-237d061b.js";import{d as s,c as v,a as n,w as L}from"./components-3ae053cb.js";import{a as C}from"./elements-68ad626b.js";import{d as b,r as w,G as E,_ as $,L as h,P as z,e as d,m,x as u,y as f,t as y,v as B}from"./index-af5fec45.js";const N={src:String,fit:{type:String,default:"fill"},alt:String,title:String,width:[String,Number],height:[String,Number],radius:{type:[String,Number],default:0},loading:String,error:String,lazy:Boolean,ripple:Boolean,block:{type:Boolean,default:!0},onClick:s(),onLoad:s(),onError:s()},{name:I,n:U,classes:c}=v("image"),R=b({name:I,directives:{Lazy:k,Ripple:S},props:N,setup(e,{slots:r}){const a=w(!1);E(()=>e.src,()=>{a.value=!1});function t(l){a.value=!!r.error,n(e.onError,l)}function g(l){const i=l.currentTarget;if(e.lazy){if(i._lazy.state==="success"){n(e.onLoad,l);return}i._lazy.state==="error"&&t(l)}else n(e.onLoad,l)}function p(l){n(e.onClick,l)}return{showErrorSlot:a,n:U,classes:c,toSizeUnit:C,handleLoad:g,handleError:t,handleClick:p}}});const j=["alt","title","lazy-loading","lazy-error"],D=["alt","title","src"];function F(e,r,a,t,g,p){const l=h("lazy"),i=h("ripple");return z((d(),m("div",{class:u(e.classes(e.n(),e.n("$--box"),[!e.block,e.n("$--inline-block")])),style:f({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),borderRadius:e.toSizeUnit(e.radius)})},[e.lazy&&!e.showErrorSlot?z((d(),m("img",{key:0,class:u(e.n("image")),alt:e.alt,title:e.title,"lazy-loading":e.loading,"lazy-error":e.error,style:f({objectFit:e.fit}),onLoad:r[0]||(r[0]=(...o)=>e.handleLoad&&e.handleLoad(...o)),onClick:r[1]||(r[1]=(...o)=>e.handleClick&&e.handleClick(...o))},null,46,j)),[[l,e.src??""]]):y("",!0),!e.lazy&&!e.showErrorSlot?(d(),m("img",{key:1,class:u(e.n("image")),alt:e.alt,title:e.title,style:f({objectFit:e.fit}),src:e.src,onLoad:r[2]||(r[2]=(...o)=>e.handleLoad&&e.handleLoad(...o)),onError:r[3]||(r[3]=(...o)=>e.handleError&&e.handleError(...o)),onClick:r[4]||(r[4]=(...o)=>e.handleClick&&e.handleClick(...o))},null,46,D)):y("",!0),e.showErrorSlot?B(e.$slots,"error",{key:2}):y("",!0)],6)),[[i,{disabled:!e.ripple}]])}const P=$(R,[["render",F]]);L(P);export{P as I}; +import{v as S}from"./index-28dcc9be.js";import{v as k}from"./index-817b7dbd.js";import{d as s,c as v,a as n,w as L}from"./components-a5332e66.js";import{a as C}from"./elements-23c82371.js";import{d as b,r as w,G as E,_ as $,L as h,P as z,e as d,m,x as u,y as f,t as y,v as B}from"./index-0bd4ebfc.js";const N={src:String,fit:{type:String,default:"fill"},alt:String,title:String,width:[String,Number],height:[String,Number],radius:{type:[String,Number],default:0},loading:String,error:String,lazy:Boolean,ripple:Boolean,block:{type:Boolean,default:!0},onClick:s(),onLoad:s(),onError:s()},{name:I,n:U,classes:c}=v("image"),R=b({name:I,directives:{Lazy:k,Ripple:S},props:N,setup(e,{slots:r}){const a=w(!1);E(()=>e.src,()=>{a.value=!1});function t(l){a.value=!!r.error,n(e.onError,l)}function g(l){const i=l.currentTarget;if(e.lazy){if(i._lazy.state==="success"){n(e.onLoad,l);return}i._lazy.state==="error"&&t(l)}else n(e.onLoad,l)}function p(l){n(e.onClick,l)}return{showErrorSlot:a,n:U,classes:c,toSizeUnit:C,handleLoad:g,handleError:t,handleClick:p}}});const j=["alt","title","lazy-loading","lazy-error"],D=["alt","title","src"];function F(e,r,a,t,g,p){const l=h("lazy"),i=h("ripple");return z((d(),m("div",{class:u(e.classes(e.n(),e.n("$--box"),[!e.block,e.n("$--inline-block")])),style:f({width:e.toSizeUnit(e.width),height:e.toSizeUnit(e.height),borderRadius:e.toSizeUnit(e.radius)})},[e.lazy&&!e.showErrorSlot?z((d(),m("img",{key:0,class:u(e.n("image")),alt:e.alt,title:e.title,"lazy-loading":e.loading,"lazy-error":e.error,style:f({objectFit:e.fit}),onLoad:r[0]||(r[0]=(...o)=>e.handleLoad&&e.handleLoad(...o)),onClick:r[1]||(r[1]=(...o)=>e.handleClick&&e.handleClick(...o))},null,46,j)),[[l,e.src??""]]):y("",!0),!e.lazy&&!e.showErrorSlot?(d(),m("img",{key:1,class:u(e.n("image")),alt:e.alt,title:e.title,style:f({objectFit:e.fit}),src:e.src,onLoad:r[2]||(r[2]=(...o)=>e.handleLoad&&e.handleLoad(...o)),onError:r[3]||(r[3]=(...o)=>e.handleError&&e.handleError(...o)),onClick:r[4]||(r[4]=(...o)=>e.handleClick&&e.handleClick(...o))},null,46,D)):y("",!0),e.showErrorSlot?B(e.$slots,"error",{key:2}):y("",!0)],6)),[[i,{disabled:!e.ripple}]])}const P=$(R,[["render",F]]);L(P);export{P as I}; diff --git a/assets/index-5b2dac91.js b/assets/index-3c549829.js similarity index 92% rename from assets/index-5b2dac91.js rename to assets/index-3c549829.js index 0876ec165b7..a92225a5dc9 100644 --- a/assets/index-5b2dac91.js +++ b/assets/index-3c549829.js @@ -1 +1 @@ -import{H as he,u as we}from"./index-2c1498a1.js";import{F as be,u as Ve}from"./provide-c979a783.js";import{I as Pe}from"./index-057aa4ba.js";import{P as Re}from"./index-d24e7e49.js";import{I as Q}from"./index-2096471a.js";import{v as Be}from"./index-2b41cfe8.js";import{H as $e}from"./index-8bbf4ef8.js";import{d as f,h as ke,a as u,f as Ce,c as De,w as Se}from"./components-3ae053cb.js";import{d as Le,r as z,D as X,ae as Ue,G as Te,a4 as M,W as b,aU as A,n as Fe,b8 as He,_ as Ne,b as D,L as Y,e as p,m as g,p as P,N as ze,O as Me,P as Z,x as i,R as Ae,M as Ie,q as R,t as S,y as _,v as x,aP as Ee,w as ee}from"./index-af5fec45.js";import{i as ae,a as oe}from"./shared-de177aa1.js";import{a as Oe}from"./elements-68ad626b.js";const We={modelValue:{type:Array,default:()=>[]},accept:{type:String,default:"image/*"},capture:{type:[String,Boolean],default:void 0},multiple:Boolean,readonly:Boolean,disabled:Boolean,elevation:{type:[Boolean,Number,String],default:!0},resolveType:{type:String,default:"default"},removable:{type:Boolean,default:!0},maxlength:[Number,String],maxsize:[Number,String],previewed:{type:Boolean,default:!0},ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange","onRemove"]},rules:Array,hideList:Boolean,preventDefaultPreview:Boolean,onBeforeFilter:f(),onBeforeRead:f(),onAfterRead:f(),onBeforeRemove:f(),onRemove:f(),onOversize:f(),onPreview:f(),"onUpdate:modelValue":f()},{name:je,n:qe,classes:Ge}=De("uploader");let Je=0;const Ke=Le({name:je,directives:{Ripple:Be,Hover:$e},components:{VarIcon:Pe,VarPopup:Re,VarFormDetails:be,VarHoverOverlay:he},props:We,setup(e){const d=z(null),B=z(!1),$=z(null),I=X(()=>{const{maxlength:a,modelValue:{length:r}}=e;return Ue(a)?`${r} / ${a}`:""}),{form:l,bindForm:k}=Ve(),{errorMessage:L,validateWithTrigger:U,validate:T,resetValidation:y}=ke(),{hovering:F,handleHovering:o}=we(),h=X(()=>{const{modelValue:a,hideList:r}=e;return r?[]:a});let H=!1;const E={getSuccess:O,getError:W,getLoading:j};u(k,{validate:G,resetValidation:y,reset:J}),Te(()=>e.modelValue,()=>{!H&&q("onChange"),H=!1},{deep:!0});function le(a){const{disabled:r,previewed:n,preventDefaultPreview:t,onPreview:c}=e;if(l!=null&&l.disabled.value||r||!n||(u(c,b(a)),t))return;const{url:v}=a;if(oe(v)){Q(v);return}ae(v)&&($.value=a,B.value=!0)}function re(a){return{id:Je++,url:"",cover:"",name:a.name,file:a,progress:0}}function ne(a){const r=a.target,{files:n}=r;return Array.from(n)}async function se(a){const r=a.file;if(e.resolveType==="default"&&r.type.startsWith("image")||e.resolveType==="data-url"){const t=await He(r);a.cover=t,a.url=t}return a}function te(a){return a.map(se)}function ie(a){const{onBeforeRead:r}=e;return a.map(n=>new Promise(t=>{r||t({valid:!0,varFile:n});const c=A(u(r,b(n)));Promise.all(c).then(v=>{t({valid:v.every(Boolean),varFile:n})})}))}async function de(a){const{maxsize:r,maxlength:n,modelValue:t,onOversize:c,onAfterRead:v,onBeforeFilter:C,readonly:V,disabled:N}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||N||V)return;const ce=s=>s.filter(w=>w.file.size>M(r)?(u(c,b(w)),!1):!0),fe=s=>{const w=Math.min(s.length,M(n)-t.length);return s.slice(0,w)},pe=async s=>{if(!C)return s;const w=A(C);for(const ye of w)s=await ye(s);return s};let m=ne(a).map(re);m=await pe(m),m=r!=null?ce(m):m,m=n!=null?fe(m):m;const ge=await Promise.all(te(m)),K=(await Promise.all(ie(ge))).filter(({valid:s})=>s).map(({varFile:s})=>s);u(e["onUpdate:modelValue"],[...t,...K]),a.target.value="",K.forEach(s=>u(v,b(s)))}async function ue(a){const{disabled:r,readonly:n,modelValue:t,onBeforeRemove:c,onRemove:v}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||r||n)return;if(c){const V=A(u(c,b(a)));if((await Promise.all(V)).some(N=>!N))return}const C=t.filter(V=>V!==a);u(v,b(a)),q("onRemove"),u(e["onUpdate:modelValue"],C)}function O(){return e.modelValue.filter(a=>a.state==="success")}function W(){return e.modelValue.filter(a=>a.state==="error")}function j(){return e.modelValue.filter(a=>a.state==="loading")}function ve(){d.value.click()}function me(){$.value=null,B.value=!1,Q.close()}function q(a){Fe(()=>{const{validateTrigger:r,rules:n,modelValue:t}=e;U(r,a,n,t,E)})}function G(){return T(e.rules,e.modelValue,E)}function J(){H=!0,u(e["onUpdate:modelValue"],[]),y()}return{input:d,files:h,showPreview:B,currentPreview:$,errorMessage:L,maxlengthText:I,hovering:F,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,n:qe,classes:Ge,formatElevation:Ce,toNumber:M,handleHovering:o,isHTMLSupportVideo:ae,isHTMLSupportImage:oe,preview:le,handleChange:de,handleRemove:ue,getSuccess:O,getError:W,getLoading:j,validate:G,resetValidation:y,reset:J,chooseFile:ve,closePreview:me,toSizeUnit:Oe}}});const Qe=["onClick"],Xe=["onClick"],Ye=["src","alt"],Ze=["multiple","accept","capture","disabled"],_e=["src"];function xe(e,d,B,$,I,l){const k=D("var-icon"),L=D("var-hover-overlay"),U=D("var-form-details"),T=D("var-popup"),y=Y("ripple"),F=Y("hover");return p(),g("div",{class:i(e.classes(e.n(),e.n("$--box")))},[P("div",{class:i(e.n("file-list"))},[(p(!0),g(ze,null,Me(e.files,o=>Z((p(),g("div",{class:i(e.classes(e.n("file"),e.formatElevation(e.elevation,2),[o.state==="loading",e.n("--loading")])),key:o.id,onClick:h=>e.preview(o)},[P("div",{class:i(e.n("file-name"))},Ae(o.name||o.url),3),e.removable?(p(),g("div",{key:0,class:i(e.n("file-close")),onClick:Ie(h=>e.handleRemove(o),["stop"])},[R(k,{class:i(e.n("file-close-icon")),"var-uploader-cover":"",name:"delete"},null,8,["class"])],10,Xe)):S("",!0),o.cover?(p(),g("img",{key:1,class:i(e.n("file-cover")),style:_({objectFit:o.fit}),src:o.cover,alt:o.name},null,14,Ye)):S("",!0),P("div",{class:i(e.n("file-indicator"))},[P("div",{class:i(e.classes(e.n("progress"),[o.state==="success",e.n("--success")],[o.state==="error",e.n("--error")])),style:_({width:o.state==="success"||o.state==="error"?"100%":`${o.progress}%`})},null,6)],2)],10,Qe)),[[y,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple}]])),128)),!e.maxlength||e.modelValue.lengthe.chooseFile&&e.chooseFile(...o))},[P("input",{ref:"input",type:"file",class:i(e.n("action-input")),multiple:e.multiple,accept:e.accept,capture:e.capture,disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly,onChange:d[0]||(d[0]=(...o)=>e.handleChange&&e.handleChange(...o))},null,42,Ze),x(e.$slots,"default",{},()=>[R(k,{class:i(e.n("action-icon")),"var-uploader-cover":"",name:"plus"},null,8,["class"]),R(L,{hovering:e.hovering&&!e.disabled&&!e.formDisabled},null,8,["hovering"])])],2)),[[y,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple||!!e.$slots.default}],[F,e.handleHovering,"desktop"]]):S("",!0)],2),R(U,{"error-message":e.errorMessage,"extra-message":e.maxlengthText},Ee({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:ee(()=>[x(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"]),R(T,{class:i(e.n("preview")),"var-uploader-cover":"",position:"center",show:e.showPreview,"onUpdate:show":d[2]||(d[2]=o=>e.showPreview=o),onClosed:d[3]||(d[3]=o=>e.currentPreview=null)},{default:ee(()=>{var o,h;return[e.currentPreview&&e.isHTMLSupportVideo((o=e.currentPreview)==null?void 0:o.url)?(p(),g("video",{key:0,class:i(e.n("preview-video")),playsinline:"true","webkit-playsinline":"true","x5-playsinline":"true","x5-video-player-type":"h5","x5-video-player-fullscreen":"false",controls:"",src:(h=e.currentPreview)==null?void 0:h.url},null,10,_e)):S("",!0)]}),_:1},8,["class","show"])],2)}const ea=Ne(Ke,[["render",xe]]);Se(ea);export{ea as U}; +import{H as he,u as we}from"./index-d956da3f.js";import{F as be,u as Ve}from"./provide-4fc67263.js";import{I as Pe}from"./index-2c5b74fa.js";import{P as Re}from"./index-0e439e92.js";import{I as Q}from"./index-b7d082cd.js";import{v as Be}from"./index-28dcc9be.js";import{H as $e}from"./index-27fcaf7d.js";import{d as f,h as ke,a as u,f as Ce,c as De,w as Se}from"./components-a5332e66.js";import{d as Le,r as z,D as X,ae as Ue,G as Te,a4 as M,W as b,aU as A,n as Fe,b8 as He,_ as Ne,b as D,L as Y,e as p,m as g,p as P,N as ze,O as Me,P as Z,x as i,R as Ae,M as Ie,q as R,t as S,y as _,v as x,aP as Ee,w as ee}from"./index-0bd4ebfc.js";import{i as ae,a as oe}from"./shared-a3ff1edc.js";import{a as Oe}from"./elements-23c82371.js";const We={modelValue:{type:Array,default:()=>[]},accept:{type:String,default:"image/*"},capture:{type:[String,Boolean],default:void 0},multiple:Boolean,readonly:Boolean,disabled:Boolean,elevation:{type:[Boolean,Number,String],default:!0},resolveType:{type:String,default:"default"},removable:{type:Boolean,default:!0},maxlength:[Number,String],maxsize:[Number,String],previewed:{type:Boolean,default:!0},ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange","onRemove"]},rules:Array,hideList:Boolean,preventDefaultPreview:Boolean,onBeforeFilter:f(),onBeforeRead:f(),onAfterRead:f(),onBeforeRemove:f(),onRemove:f(),onOversize:f(),onPreview:f(),"onUpdate:modelValue":f()},{name:je,n:qe,classes:Ge}=De("uploader");let Je=0;const Ke=Le({name:je,directives:{Ripple:Be,Hover:$e},components:{VarIcon:Pe,VarPopup:Re,VarFormDetails:be,VarHoverOverlay:he},props:We,setup(e){const d=z(null),B=z(!1),$=z(null),I=X(()=>{const{maxlength:a,modelValue:{length:r}}=e;return Ue(a)?`${r} / ${a}`:""}),{form:l,bindForm:k}=Ve(),{errorMessage:L,validateWithTrigger:U,validate:T,resetValidation:y}=ke(),{hovering:F,handleHovering:o}=we(),h=X(()=>{const{modelValue:a,hideList:r}=e;return r?[]:a});let H=!1;const E={getSuccess:O,getError:W,getLoading:j};u(k,{validate:G,resetValidation:y,reset:J}),Te(()=>e.modelValue,()=>{!H&&q("onChange"),H=!1},{deep:!0});function le(a){const{disabled:r,previewed:n,preventDefaultPreview:t,onPreview:c}=e;if(l!=null&&l.disabled.value||r||!n||(u(c,b(a)),t))return;const{url:v}=a;if(oe(v)){Q(v);return}ae(v)&&($.value=a,B.value=!0)}function re(a){return{id:Je++,url:"",cover:"",name:a.name,file:a,progress:0}}function ne(a){const r=a.target,{files:n}=r;return Array.from(n)}async function se(a){const r=a.file;if(e.resolveType==="default"&&r.type.startsWith("image")||e.resolveType==="data-url"){const t=await He(r);a.cover=t,a.url=t}return a}function te(a){return a.map(se)}function ie(a){const{onBeforeRead:r}=e;return a.map(n=>new Promise(t=>{r||t({valid:!0,varFile:n});const c=A(u(r,b(n)));Promise.all(c).then(v=>{t({valid:v.every(Boolean),varFile:n})})}))}async function de(a){const{maxsize:r,maxlength:n,modelValue:t,onOversize:c,onAfterRead:v,onBeforeFilter:C,readonly:V,disabled:N}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||N||V)return;const ce=s=>s.filter(w=>w.file.size>M(r)?(u(c,b(w)),!1):!0),fe=s=>{const w=Math.min(s.length,M(n)-t.length);return s.slice(0,w)},pe=async s=>{if(!C)return s;const w=A(C);for(const ye of w)s=await ye(s);return s};let m=ne(a).map(re);m=await pe(m),m=r!=null?ce(m):m,m=n!=null?fe(m):m;const ge=await Promise.all(te(m)),K=(await Promise.all(ie(ge))).filter(({valid:s})=>s).map(({varFile:s})=>s);u(e["onUpdate:modelValue"],[...t,...K]),a.target.value="",K.forEach(s=>u(v,b(s)))}async function ue(a){const{disabled:r,readonly:n,modelValue:t,onBeforeRemove:c,onRemove:v}=e;if(l!=null&&l.disabled.value||l!=null&&l.readonly.value||r||n)return;if(c){const V=A(u(c,b(a)));if((await Promise.all(V)).some(N=>!N))return}const C=t.filter(V=>V!==a);u(v,b(a)),q("onRemove"),u(e["onUpdate:modelValue"],C)}function O(){return e.modelValue.filter(a=>a.state==="success")}function W(){return e.modelValue.filter(a=>a.state==="error")}function j(){return e.modelValue.filter(a=>a.state==="loading")}function ve(){d.value.click()}function me(){$.value=null,B.value=!1,Q.close()}function q(a){Fe(()=>{const{validateTrigger:r,rules:n,modelValue:t}=e;U(r,a,n,t,E)})}function G(){return T(e.rules,e.modelValue,E)}function J(){H=!0,u(e["onUpdate:modelValue"],[]),y()}return{input:d,files:h,showPreview:B,currentPreview:$,errorMessage:L,maxlengthText:I,hovering:F,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,n:qe,classes:Ge,formatElevation:Ce,toNumber:M,handleHovering:o,isHTMLSupportVideo:ae,isHTMLSupportImage:oe,preview:le,handleChange:de,handleRemove:ue,getSuccess:O,getError:W,getLoading:j,validate:G,resetValidation:y,reset:J,chooseFile:ve,closePreview:me,toSizeUnit:Oe}}});const Qe=["onClick"],Xe=["onClick"],Ye=["src","alt"],Ze=["multiple","accept","capture","disabled"],_e=["src"];function xe(e,d,B,$,I,l){const k=D("var-icon"),L=D("var-hover-overlay"),U=D("var-form-details"),T=D("var-popup"),y=Y("ripple"),F=Y("hover");return p(),g("div",{class:i(e.classes(e.n(),e.n("$--box")))},[P("div",{class:i(e.n("file-list"))},[(p(!0),g(ze,null,Me(e.files,o=>Z((p(),g("div",{class:i(e.classes(e.n("file"),e.formatElevation(e.elevation,2),[o.state==="loading",e.n("--loading")])),key:o.id,onClick:h=>e.preview(o)},[P("div",{class:i(e.n("file-name"))},Ae(o.name||o.url),3),e.removable?(p(),g("div",{key:0,class:i(e.n("file-close")),onClick:Ie(h=>e.handleRemove(o),["stop"])},[R(k,{class:i(e.n("file-close-icon")),"var-uploader-cover":"",name:"delete"},null,8,["class"])],10,Xe)):S("",!0),o.cover?(p(),g("img",{key:1,class:i(e.n("file-cover")),style:_({objectFit:o.fit}),src:o.cover,alt:o.name},null,14,Ye)):S("",!0),P("div",{class:i(e.n("file-indicator"))},[P("div",{class:i(e.classes(e.n("progress"),[o.state==="success",e.n("--success")],[o.state==="error",e.n("--error")])),style:_({width:o.state==="success"||o.state==="error"?"100%":`${o.progress}%`})},null,6)],2)],10,Qe)),[[y,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple}]])),128)),!e.maxlength||e.modelValue.lengthe.chooseFile&&e.chooseFile(...o))},[P("input",{ref:"input",type:"file",class:i(e.n("action-input")),multiple:e.multiple,accept:e.accept,capture:e.capture,disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly,onChange:d[0]||(d[0]=(...o)=>e.handleChange&&e.handleChange(...o))},null,42,Ze),x(e.$slots,"default",{},()=>[R(k,{class:i(e.n("action-icon")),"var-uploader-cover":"",name:"plus"},null,8,["class"]),R(L,{hovering:e.hovering&&!e.disabled&&!e.formDisabled},null,8,["hovering"])])],2)),[[y,{disabled:e.disabled||e.formDisabled||e.readonly||e.formReadonly||!e.ripple||!!e.$slots.default}],[F,e.handleHovering,"desktop"]]):S("",!0)],2),R(U,{"error-message":e.errorMessage,"extra-message":e.maxlengthText},Ee({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:ee(()=>[x(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"]),R(T,{class:i(e.n("preview")),"var-uploader-cover":"",position:"center",show:e.showPreview,"onUpdate:show":d[2]||(d[2]=o=>e.showPreview=o),onClosed:d[3]||(d[3]=o=>e.currentPreview=null)},{default:ee(()=>{var o,h;return[e.currentPreview&&e.isHTMLSupportVideo((o=e.currentPreview)==null?void 0:o.url)?(p(),g("video",{key:0,class:i(e.n("preview-video")),playsinline:"true","webkit-playsinline":"true","x5-playsinline":"true","x5-video-player-type":"h5","x5-video-player-fullscreen":"false",controls:"",src:(h=e.currentPreview)==null?void 0:h.url},null,10,_e)):S("",!0)]}),_:1},8,["class","show"])],2)}const ea=Ne(Ke,[["render",xe]]);Se(ea);export{ea as U}; diff --git a/assets/index-25b1a365.js b/assets/index-3c57012d.js similarity index 92% rename from assets/index-25b1a365.js rename to assets/index-3c57012d.js index 87bb28bc8d8..190a88a4bca 100644 --- a/assets/index-25b1a365.js +++ b/assets/index-3c57012d.js @@ -1 +1 @@ -import{d as z,D as f,_ as k,e as v,m as S,v as G,x,F as w,al as T,q as e,w as u,U as t,N,Q as n,R as l,M as $}from"./index-af5fec45.js";import{u as L,B as a}from"./index-84d96475.js";import{f as D,c as M,w as U}from"./components-3ae053cb.js";import{I as p}from"./index-057aa4ba.js";import{S as s}from"./index-90c41552.js";import{M as A}from"./index-3f206173.js";import{C as y}from"./index-4237591d.js";import{S as g}from"./index-0ad054ca.js";import{d as E}from"./index-d8fbf18c.js";import{u as I,b as C,_ as P,c as V,a as F}from"./index-2b61c8d0.js";import{A as i}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const O={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,mode:{type:String,default:"normal"},elevation:{type:[Boolean,Number,String],default:!0},vertical:Boolean},{name:R,n:q,classes:Q}=M("button-group"),W=z({name:R,props:O,setup(r){const{bindButtons:m}=L(),c={elevation:f(()=>r.elevation),type:f(()=>r.type),size:f(()=>r.size),color:f(()=>r.color),textColor:f(()=>r.textColor),mode:f(()=>r.mode)};return m(c),{n:q,classes:Q,formatElevation:D}}});function j(r,m,c,b,_,B){return v(),S("div",{class:x(r.classes(r.n(),r.n("$--box"),[r.mode,`${r.n(`--mode-${r.mode}`)}`],[r.vertical,r.n("--vertical"),r.n("--horizontal")],[r.mode==="normal",r.formatElevation(r.elevation,2)]))},[G(r.$slots,"default")],2)}const d=k(W,[["render",j]]);U(d);const H={themeColorButton:"主题色按钮",themeColorButtonGroup:"按钮组主题色",defaultButton:"默认按钮",primaryButton:"主要按钮",infoButton:"信息按钮",successButton:"成功按钮",warningButton:"警告按钮",dangerButton:"危险按钮",textButton:"文字按钮",modeButtonGroup:"按钮组模式",plainTextButton:"纯文字按钮",outlineButton:"外边框按钮",outline:"边框",disabledStatus:"禁用状态",loadingStatus:"加载状态",buttonSize:"按钮尺寸",buttonGroupSize:"按钮组尺寸",normalButton:"常规按钮",smallButton:"小型按钮",miniButton:"迷你按钮",largeButton:"大型按钮",blockButton:"块级按钮",customColor:"自定义颜色",customButtonGroupColor:"自定义按钮组颜色",backgroundTextColor:"背景/文字",linearGradientColor:"使用渐变",verticalButtonGroup:"按钮组竖直排列",roundButton:"圆形按钮",event:"注册事件",click:"点击",touchstart:"触摸",autoLoading:"自动加载",clickSuccess:"点击成功",touchstartSuccess:"触摸成功",button:"按钮",splitButton:"按钮拆分"},J={themeColorButton:"Theme Color Button",themeColorButtonGroup:"Button Group Theme Color",defaultButton:"Default Button",default:"Default",primaryButton:"Primary Button",infoButton:"Info Button",successButton:"Success Button",warningButton:"Warning Button",dangerButton:"Danger Button",textButton:"Text Button",modeButtonGroup:"Button Group Mode",plainTextButton:"Plain Text Button",outlineButton:"Outline Button",outline:"Outline",disabledStatus:"Disabled Status",loadingStatus:"Loading Status",buttonSize:"Button Size",buttonGroupSize:"Button Group Size",normalButton:"Normal Button",smallButton:"Small Button",miniButton:"Mini Button",largeButton:"Large Button",blockButton:"Block Button",customColor:"Custom Color",customButtonGroupColor:"Custom Button Group Color",textColor:"Text Color",backgroundTextColor:"Background/Text Color",verticalButtonGroup:"Vertical Button Group",linearGradientColor:"LinearGradient Color",roundButton:"Round Button",event:"Events",click:"Click",touchstart:"Touchstart",autoLoading:"Auto Loading",clickSuccess:"Click Success",touchstartSuccess:"Touchstart Success",button:"Button",splitButton:"Split Button"},{add:h,use:K,pack:o,packs:vt,merge:St}=I(),X=r=>{F(r),K(r)};C("zh-CN",P);C("en-US",V);h("zh-CN",H);h("en-US",J);const Ct={__name:"index",setup(r){function m(){g.success(o.value.clickSuccess)}function c(){g.success(o.value.touchstartSuccess)}function b(){return new Promise(_=>{setTimeout(_,2e3)})}return w(X),T(E),(_,B)=>(v(),S(N,null,[e(t(i),null,{default:u(()=>[n(l(t(o).themeColorButton),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).defaultButton),1)]),_:1}),e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).primaryButton),1)]),_:1}),e(t(a),{type:"info"},{default:u(()=>[n(l(t(o).infoButton),1)]),_:1}),e(t(a),{type:"success"},{default:u(()=>[n(l(t(o).successButton),1)]),_:1}),e(t(a),{type:"warning"},{default:u(()=>[n(l(t(o).warningButton),1)]),_:1}),e(t(a),{type:"danger"},{default:u(()=>[n(l(t(o).dangerButton),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).textButton),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{text:"",outline:"",type:"primary"},{default:u(()=>[n(l(t(o).outlineButton),1)]),_:1}),e(t(a),{text:"",type:"primary"},{default:u(()=>[n(l(t(o).plainTextButton),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{disabled:""},{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1}),e(t(a),{disabled:"",text:"",outline:""},{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1}),e(t(a),{disabled:"",text:""},{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{loading:"",type:"primary"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"info","loading-type":"rect"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"success","loading-type":"disappear"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"danger","loading-type":"cube"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"warning","loading-type":"wave"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).buttonSize),1)]),_:1}),e(t(s),{align:"center",size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).normalButton),1)]),_:1}),e(t(a),{type:"success",size:"small"},{default:u(()=>[n(l(t(o).smallButton),1)]),_:1}),e(t(a),{type:"warning",size:"mini"},{default:u(()=>[n(l(t(o).miniButton),1)]),_:1}),e(t(a),{type:"danger",size:"large"},{default:u(()=>[n(l(t(o).largeButton),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).blockButton),1)]),_:1}),e(t(a),{block:"",type:"primary"},{default:u(()=>[n(l(t(o).blockButton),1)]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).customColor),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{color:"#66bb6a","text-color":"#fff"},{default:u(()=>[n(l(t(o).backgroundTextColor),1)]),_:1}),e(t(a),{color:"linear-gradient(to right, #69dbaa, #3a7afe)","text-color":"#fff"},{default:u(()=>[n(l(t(o).linearGradientColor),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).roundButton),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{type:"primary",round:""},{default:u(()=>[e(t(p),{name:"plus"})]),_:1}),e(t(a),{type:"info",round:""},{default:u(()=>[e(t(p),{name:"information"})]),_:1}),e(t(a),{type:"success",round:""},{default:u(()=>[e(t(p),{name:"check"})]),_:1}),e(t(a),{type:"warning",round:""},{default:u(()=>[e(t(p),{name:"warning"})]),_:1}),e(t(a),{type:"danger",round:""},{default:u(()=>[e(t(p),{name:"window-close"})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).event),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{type:"success",onClick:m},{default:u(()=>[n(l(t(o).click),1)]),_:1}),e(t(a),{type:"success",onTouchstart:c},{default:u(()=>[n(l(t(o).touchstart),1)]),_:1}),e(t(a),{type:"success",onClick:b,"auto-loading":""},{default:u(()=>[n(l(t(o).autoLoading),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).themeColorButtonGroup),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{type:"default"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary"},{default:u(()=>[e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).buttonGroupSize),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{size:"normal",type:"primary"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{size:"large",type:"primary"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(A),{placement:"bottom","same-width":"","offset-y":6},{menu:u(()=>[e(t(y),{ripple:""},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(y),{ripple:""},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(y),{ripple:""},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1})]),default:u(()=>[e(t(d),{type:"primary"},{default:u(()=>[e(t(a),{onClick:B[0]||(B[0]=$(()=>{},["stop"]))},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(a),{style:{padding:"0 6px","border-left":"thin solid #1976d2"}},{default:u(()=>[e(t(p),{name:"menu-down",size:24})]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).modeButtonGroup),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{type:"primary",mode:"text"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary",mode:"outline"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).customButtonGroupColor),1)]),_:1}),e(t(d),{type:"primary",color:"linear-gradient(to right, #69dbaa, #3a7afe)"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).verticalButtonGroup),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{type:"primary",mode:"text",vertical:""},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary",mode:"outline",vertical:""},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary",vertical:""},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1})],64))}};export{Ct as default}; +import{d as z,D as f,_ as k,e as v,m as S,v as G,x,F as w,al as T,q as e,w as u,U as t,N,Q as n,R as l,M as $}from"./index-0bd4ebfc.js";import{u as L,B as a}from"./index-1f1d0c91.js";import{f as D,c as M,w as U}from"./components-a5332e66.js";import{I as p}from"./index-2c5b74fa.js";import{S as s}from"./index-65cffe90.js";import{M as A}from"./index-5540406a.js";import{C as y}from"./index-3f170ae4.js";import{S as g}from"./index-1ed406cf.js";import{d as E}from"./index-d8fbf18c.js";import{u as I,b as C,_ as P,c as V,a as F}from"./index-4a9c2ae2.js";import{A as i}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const O={type:{type:String,default:"default"},size:{type:String,default:"normal"},color:String,textColor:String,mode:{type:String,default:"normal"},elevation:{type:[Boolean,Number,String],default:!0},vertical:Boolean},{name:R,n:q,classes:Q}=M("button-group"),W=z({name:R,props:O,setup(r){const{bindButtons:m}=L(),c={elevation:f(()=>r.elevation),type:f(()=>r.type),size:f(()=>r.size),color:f(()=>r.color),textColor:f(()=>r.textColor),mode:f(()=>r.mode)};return m(c),{n:q,classes:Q,formatElevation:D}}});function j(r,m,c,b,_,B){return v(),S("div",{class:x(r.classes(r.n(),r.n("$--box"),[r.mode,`${r.n(`--mode-${r.mode}`)}`],[r.vertical,r.n("--vertical"),r.n("--horizontal")],[r.mode==="normal",r.formatElevation(r.elevation,2)]))},[G(r.$slots,"default")],2)}const d=k(W,[["render",j]]);U(d);const H={themeColorButton:"主题色按钮",themeColorButtonGroup:"按钮组主题色",defaultButton:"默认按钮",primaryButton:"主要按钮",infoButton:"信息按钮",successButton:"成功按钮",warningButton:"警告按钮",dangerButton:"危险按钮",textButton:"文字按钮",modeButtonGroup:"按钮组模式",plainTextButton:"纯文字按钮",outlineButton:"外边框按钮",outline:"边框",disabledStatus:"禁用状态",loadingStatus:"加载状态",buttonSize:"按钮尺寸",buttonGroupSize:"按钮组尺寸",normalButton:"常规按钮",smallButton:"小型按钮",miniButton:"迷你按钮",largeButton:"大型按钮",blockButton:"块级按钮",customColor:"自定义颜色",customButtonGroupColor:"自定义按钮组颜色",backgroundTextColor:"背景/文字",linearGradientColor:"使用渐变",verticalButtonGroup:"按钮组竖直排列",roundButton:"圆形按钮",event:"注册事件",click:"点击",touchstart:"触摸",autoLoading:"自动加载",clickSuccess:"点击成功",touchstartSuccess:"触摸成功",button:"按钮",splitButton:"按钮拆分"},J={themeColorButton:"Theme Color Button",themeColorButtonGroup:"Button Group Theme Color",defaultButton:"Default Button",default:"Default",primaryButton:"Primary Button",infoButton:"Info Button",successButton:"Success Button",warningButton:"Warning Button",dangerButton:"Danger Button",textButton:"Text Button",modeButtonGroup:"Button Group Mode",plainTextButton:"Plain Text Button",outlineButton:"Outline Button",outline:"Outline",disabledStatus:"Disabled Status",loadingStatus:"Loading Status",buttonSize:"Button Size",buttonGroupSize:"Button Group Size",normalButton:"Normal Button",smallButton:"Small Button",miniButton:"Mini Button",largeButton:"Large Button",blockButton:"Block Button",customColor:"Custom Color",customButtonGroupColor:"Custom Button Group Color",textColor:"Text Color",backgroundTextColor:"Background/Text Color",verticalButtonGroup:"Vertical Button Group",linearGradientColor:"LinearGradient Color",roundButton:"Round Button",event:"Events",click:"Click",touchstart:"Touchstart",autoLoading:"Auto Loading",clickSuccess:"Click Success",touchstartSuccess:"Touchstart Success",button:"Button",splitButton:"Split Button"},{add:h,use:K,pack:o,packs:vt,merge:St}=I(),X=r=>{F(r),K(r)};C("zh-CN",P);C("en-US",V);h("zh-CN",H);h("en-US",J);const Ct={__name:"index",setup(r){function m(){g.success(o.value.clickSuccess)}function c(){g.success(o.value.touchstartSuccess)}function b(){return new Promise(_=>{setTimeout(_,2e3)})}return w(X),T(E),(_,B)=>(v(),S(N,null,[e(t(i),null,{default:u(()=>[n(l(t(o).themeColorButton),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).defaultButton),1)]),_:1}),e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).primaryButton),1)]),_:1}),e(t(a),{type:"info"},{default:u(()=>[n(l(t(o).infoButton),1)]),_:1}),e(t(a),{type:"success"},{default:u(()=>[n(l(t(o).successButton),1)]),_:1}),e(t(a),{type:"warning"},{default:u(()=>[n(l(t(o).warningButton),1)]),_:1}),e(t(a),{type:"danger"},{default:u(()=>[n(l(t(o).dangerButton),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).textButton),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{text:"",outline:"",type:"primary"},{default:u(()=>[n(l(t(o).outlineButton),1)]),_:1}),e(t(a),{text:"",type:"primary"},{default:u(()=>[n(l(t(o).plainTextButton),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{disabled:""},{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1}),e(t(a),{disabled:"",text:"",outline:""},{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1}),e(t(a),{disabled:"",text:""},{default:u(()=>[n(l(t(o).disabledStatus),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{loading:"",type:"primary"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"info","loading-type":"rect"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"success","loading-type":"disappear"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"danger","loading-type":"cube"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1}),e(t(a),{loading:"",type:"warning","loading-type":"wave"},{default:u(()=>[n(l(t(o).loadingStatus),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).buttonSize),1)]),_:1}),e(t(s),{align:"center",size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).normalButton),1)]),_:1}),e(t(a),{type:"success",size:"small"},{default:u(()=>[n(l(t(o).smallButton),1)]),_:1}),e(t(a),{type:"warning",size:"mini"},{default:u(()=>[n(l(t(o).miniButton),1)]),_:1}),e(t(a),{type:"danger",size:"large"},{default:u(()=>[n(l(t(o).largeButton),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).blockButton),1)]),_:1}),e(t(a),{block:"",type:"primary"},{default:u(()=>[n(l(t(o).blockButton),1)]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).customColor),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{color:"#66bb6a","text-color":"#fff"},{default:u(()=>[n(l(t(o).backgroundTextColor),1)]),_:1}),e(t(a),{color:"linear-gradient(to right, #69dbaa, #3a7afe)","text-color":"#fff"},{default:u(()=>[n(l(t(o).linearGradientColor),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).roundButton),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{type:"primary",round:""},{default:u(()=>[e(t(p),{name:"plus"})]),_:1}),e(t(a),{type:"info",round:""},{default:u(()=>[e(t(p),{name:"information"})]),_:1}),e(t(a),{type:"success",round:""},{default:u(()=>[e(t(p),{name:"check"})]),_:1}),e(t(a),{type:"warning",round:""},{default:u(()=>[e(t(p),{name:"warning"})]),_:1}),e(t(a),{type:"danger",round:""},{default:u(()=>[e(t(p),{name:"window-close"})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).event),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(a),{type:"success",onClick:m},{default:u(()=>[n(l(t(o).click),1)]),_:1}),e(t(a),{type:"success",onTouchstart:c},{default:u(()=>[n(l(t(o).touchstart),1)]),_:1}),e(t(a),{type:"success",onClick:b,"auto-loading":""},{default:u(()=>[n(l(t(o).autoLoading),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).themeColorButtonGroup),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{type:"default"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary"},{default:u(()=>[e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),{type:"primary"},{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).buttonGroupSize),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{size:"normal",type:"primary"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{size:"large",type:"primary"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(A),{placement:"bottom","same-width":"","offset-y":6},{menu:u(()=>[e(t(y),{ripple:""},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(y),{ripple:""},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(y),{ripple:""},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1})]),default:u(()=>[e(t(d),{type:"primary"},{default:u(()=>[e(t(a),{onClick:B[0]||(B[0]=$(()=>{},["stop"]))},{default:u(()=>[n(l(t(o).splitButton),1)]),_:1}),e(t(a),{style:{padding:"0 6px","border-left":"thin solid #1976d2"}},{default:u(()=>[e(t(p),{name:"menu-down",size:24})]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).modeButtonGroup),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{type:"primary",mode:"text"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary",mode:"outline"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).customButtonGroupColor),1)]),_:1}),e(t(d),{type:"primary",color:"linear-gradient(to right, #69dbaa, #3a7afe)"},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(i),null,{default:u(()=>[n(l(t(o).verticalButtonGroup),1)]),_:1}),e(t(s),{size:["2.666vmin","2.666vmin"]},{default:u(()=>[e(t(d),{type:"primary",mode:"text",vertical:""},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary",mode:"outline",vertical:""},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1}),e(t(d),{type:"primary",vertical:""},{default:u(()=>[e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1}),e(t(a),null,{default:u(()=>[n(l(t(o).button),1)]),_:1})]),_:1})]),_:1})],64))}};export{Ct as default}; diff --git a/assets/index-c4265e8a.js b/assets/index-3e82c7e6.js similarity index 88% rename from assets/index-c4265e8a.js rename to assets/index-3e82c7e6.js index 35a8b01b92b..f3ec396dd8c 100644 --- a/assets/index-c4265e8a.js +++ b/assets/index-3e82c7e6.js @@ -1 +1 @@ -import{a1 as P,d as h,D as B,_ as N,e as S,m as $,v as C,x as f,a3 as w,p as k,R as s,t as A,al as I,F as M,q as r,w as l,U as e,N as z,Q as n}from"./index-af5fec45.js";import{c as U,w as L,d as V,a as x}from"./components-3ae053cb.js";import{e as T}from"./logger-525ef361.js";import{I as g}from"./index-057aa4ba.js";import{S as b}from"./index-0ad054ca.js";import{d as F}from"./index-d8fbf18c.js";import{u as K,b as y,_ as Y,c as q,a as H}from"./index-2b61c8d0.js";import{A as m}from"./appType-53211ea9.js";import"./elements-68ad626b.js";import"./index-a6f8e46a.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./lock-7a098446.js";const Q={separator:{type:String,default:"/"}},D=Symbol("BREADCRUMBS_BIND_BREADCRUMB_KEY");function j(){const{childProviders:a,bindChildren:d,length:o}=P(D);return{length:o,breadcrumbList:a,bindBreadcrumbList:d}}const{name:G,n:J}=U("breadcrumbs"),O=h({name:G,props:Q,setup(a){const d=B(()=>a.separator),{bindBreadcrumbList:o,length:i}=j();return o({length:i,separator:d}),{n:J}}});function W(a,d,o,i,c,v){return S(),$("div",{class:f(a.n())},[C(a.$slots,"default")],2)}const p=N(O,[["render",W]]);L(p);const X={separator:String,onClick:V()};function Z(){const{parentProvider:a,bindParent:d,index:o}=w(D);return d||T("Breadcrumb"," must in "),{index:o,breadcrumb:a,bindBreadcrumb:d}}const{name:ee,n:ae,classes:re}=U("breadcrumb"),le=h({name:ee,props:X,setup(a){const{index:d,breadcrumb:o,bindBreadcrumb:i}=Z(),c=B(()=>d.value===o.length.value-1),v=B(()=>o.separator.value);i(null);function _(R){c.value||x(a.onClick,R)}return{n:ae,classes:re,isLast:c,parentSeparator:v,handleClick:_}}});function te(a,d,o,i,c,v){return S(),$("div",{class:f(a.n())},[k("div",{class:f(a.classes(a.n("content"),[!a.isLast,a.n("--active")])),onClick:d[0]||(d[0]=(..._)=>a.handleClick&&a.handleClick(..._))},[C(a.$slots,"default")],2),a.isLast?A("",!0):C(a.$slots,"separator",{key:0},()=>[k("div",{class:f(a.n("separator"))},s(a.separator??a.parentSeparator),3)])],2)}const u=N(le,[["render",te]]);L(u);const se={basicUsage:"基本使用",separator:"分隔符",childSeparator:"子级分隔符",separatorSlot:"分隔符插槽",level1:"首页",level2:"一级",level3:"二级",events:"注册事件"},ne={basicUsage:"Basic Usage",separator:"Separator",childSeparator:"Child Separator",separatorSlot:"Separator Slot",level1:"Home",level2:"Link 1",level3:"Link 2",events:"Events"},{add:E,use:oe,pack:t,packs:ke,merge:ge}=K(),ue=a=>{H(a),oe(a)};y("zh-CN",Y);y("en-US",q);E("zh-CN",se);E("en-US",ne);const he={__name:"index",setup(a){return I(F),M(ue),(d,o)=>(S(),$(z,null,[r(e(m),null,{default:l(()=>[n(s(e(t).basicUsage),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),null,{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).separator),1)]),_:1}),r(e(p),{separator:"\\"},{default:l(()=>[r(e(u),null,{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).childSeparator),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),null,{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),{separator:"~"},{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).separatorSlot),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),null,{separator:l(()=>[r(e(g),{name:"menu-right",style:{margin:"1px 4px 0"}})]),default:l(()=>[n(" "+s(e(t).level1),1)]),_:1}),r(e(u),null,{separator:l(()=>[r(e(g),{name:"menu-right",style:{margin:"1px 4px 0"}})]),default:l(()=>[n(" "+s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).events),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),{onClick:o[0]||(o[0]=i=>e(b)(e(t).level1))},{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),{onClick:o[1]||(o[1]=i=>e(b)(e(t).level2))},{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),{onClick:o[2]||(o[2]=i=>e(b)(e(t).level3))},{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1})],64))}};export{he as default}; +import{a1 as P,d as h,D as B,_ as N,e as S,m as $,v as C,x as f,a3 as w,p as k,R as s,t as A,al as I,F as M,q as r,w as l,U as e,N as z,Q as n}from"./index-0bd4ebfc.js";import{c as U,w as L,d as V,a as x}from"./components-a5332e66.js";import{e as T}from"./logger-525ef361.js";import{I as g}from"./index-2c5b74fa.js";import{S as b}from"./index-1ed406cf.js";import{d as F}from"./index-d8fbf18c.js";import{u as K,b as y,_ as Y,c as q,a as H}from"./index-4a9c2ae2.js";import{A as m}from"./appType-a8f87391.js";import"./elements-23c82371.js";import"./index-1e0bee81.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./lock-e6f4e779.js";const Q={separator:{type:String,default:"/"}},D=Symbol("BREADCRUMBS_BIND_BREADCRUMB_KEY");function j(){const{childProviders:a,bindChildren:d,length:o}=P(D);return{length:o,breadcrumbList:a,bindBreadcrumbList:d}}const{name:G,n:J}=U("breadcrumbs"),O=h({name:G,props:Q,setup(a){const d=B(()=>a.separator),{bindBreadcrumbList:o,length:i}=j();return o({length:i,separator:d}),{n:J}}});function W(a,d,o,i,c,v){return S(),$("div",{class:f(a.n())},[C(a.$slots,"default")],2)}const p=N(O,[["render",W]]);L(p);const X={separator:String,onClick:V()};function Z(){const{parentProvider:a,bindParent:d,index:o}=w(D);return d||T("Breadcrumb"," must in "),{index:o,breadcrumb:a,bindBreadcrumb:d}}const{name:ee,n:ae,classes:re}=U("breadcrumb"),le=h({name:ee,props:X,setup(a){const{index:d,breadcrumb:o,bindBreadcrumb:i}=Z(),c=B(()=>d.value===o.length.value-1),v=B(()=>o.separator.value);i(null);function _(R){c.value||x(a.onClick,R)}return{n:ae,classes:re,isLast:c,parentSeparator:v,handleClick:_}}});function te(a,d,o,i,c,v){return S(),$("div",{class:f(a.n())},[k("div",{class:f(a.classes(a.n("content"),[!a.isLast,a.n("--active")])),onClick:d[0]||(d[0]=(..._)=>a.handleClick&&a.handleClick(..._))},[C(a.$slots,"default")],2),a.isLast?A("",!0):C(a.$slots,"separator",{key:0},()=>[k("div",{class:f(a.n("separator"))},s(a.separator??a.parentSeparator),3)])],2)}const u=N(le,[["render",te]]);L(u);const se={basicUsage:"基本使用",separator:"分隔符",childSeparator:"子级分隔符",separatorSlot:"分隔符插槽",level1:"首页",level2:"一级",level3:"二级",events:"注册事件"},ne={basicUsage:"Basic Usage",separator:"Separator",childSeparator:"Child Separator",separatorSlot:"Separator Slot",level1:"Home",level2:"Link 1",level3:"Link 2",events:"Events"},{add:E,use:oe,pack:t,packs:ke,merge:ge}=K(),ue=a=>{H(a),oe(a)};y("zh-CN",Y);y("en-US",q);E("zh-CN",se);E("en-US",ne);const he={__name:"index",setup(a){return I(F),M(ue),(d,o)=>(S(),$(z,null,[r(e(m),null,{default:l(()=>[n(s(e(t).basicUsage),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),null,{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).separator),1)]),_:1}),r(e(p),{separator:"\\"},{default:l(()=>[r(e(u),null,{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).childSeparator),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),null,{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),{separator:"~"},{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).separatorSlot),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),null,{separator:l(()=>[r(e(g),{name:"menu-right",style:{margin:"1px 4px 0"}})]),default:l(()=>[n(" "+s(e(t).level1),1)]),_:1}),r(e(u),null,{separator:l(()=>[r(e(g),{name:"menu-right",style:{margin:"1px 4px 0"}})]),default:l(()=>[n(" "+s(e(t).level2),1)]),_:1}),r(e(u),null,{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1}),r(e(m),null,{default:l(()=>[n(s(e(t).events),1)]),_:1}),r(e(p),null,{default:l(()=>[r(e(u),{onClick:o[0]||(o[0]=i=>e(b)(e(t).level1))},{default:l(()=>[n(s(e(t).level1),1)]),_:1}),r(e(u),{onClick:o[1]||(o[1]=i=>e(b)(e(t).level2))},{default:l(()=>[n(s(e(t).level2),1)]),_:1}),r(e(u),{onClick:o[2]||(o[2]=i=>e(b)(e(t).level3))},{default:l(()=>[n(s(e(t).level3),1)]),_:1})]),_:1})],64))}};export{he as default}; diff --git a/assets/index-4237591d.js b/assets/index-3f170ae4.js similarity index 83% rename from assets/index-4237591d.js rename to assets/index-3f170ae4.js index c419aee50a2..6a45783f57f 100644 --- a/assets/index-4237591d.js +++ b/assets/index-3f170ae4.js @@ -1 +1 @@ -import{p as d,I as v}from"./index-057aa4ba.js";import{v as b}from"./index-2b41cfe8.js";import{p as c,d as k,c as S,a as y,w as g}from"./components-3ae053cb.js";import{a as l}from"./elements-68ad626b.js";import{d as $,D as N,_ as O,b as h,L as B,P as D,e as r,m as n,v as o,x as s,q as I,t as i,p as V,R as m,y as w}from"./index-af5fec45.js";const z={title:[Number,String],icon:c(d,"name"),namespace:c(d,"namespace"),description:String,border:Boolean,borderOffset:[Number,String],iconClass:String,titleClass:String,descriptionClass:String,extraClass:String,ripple:Boolean,onClick:k()},{name:P,n:R,classes:L}=S("cell"),q=$({name:P,components:{VarIcon:v},directives:{Ripple:b},props:z,setup(e){const a=N(()=>e.borderOffset==null?{}:{"--cell-border-left":l(e.borderOffset),"--cell-border-right":l(e.borderOffset)});function t(p){y(e.onClick,p)}return{borderOffsetStyles:a,n:R,classes:L,toSizeUnit:l,handleClick:t}}});function E(e,a,t,p,j,A){const f=h("var-icon"),C=B("ripple");return D((r(),n("div",{class:s(e.classes(e.n(),[e.border,e.n("--border")],[e.onClick,e.n("--cursor")])),style:w(e.borderOffsetStyles),onClick:a[0]||(a[0]=(...u)=>e.handleClick&&e.handleClick(...u))},[o(e.$slots,"icon",{},()=>[e.icon?(r(),n("div",{key:0,class:s(e.classes(e.n("icon"),e.iconClass))},[I(f,{name:e.icon,namespace:e.namespace},null,8,["name","namespace"])],2)):i("",!0)]),V("div",{class:s(e.n("content"))},[o(e.$slots,"default",{},()=>[e.title?(r(),n("div",{key:0,class:s(e.classes(e.n("title"),e.titleClass))},m(e.title),3)):i("",!0)]),o(e.$slots,"description",{},()=>[e.description?(r(),n("div",{key:0,class:s(e.classes(e.n("description"),e.descriptionClass))},m(e.description),3)):i("",!0)])],2),e.$slots.extra?(r(),n("div",{key:0,class:s(e.classes(e.n("extra"),e.extraClass))},[o(e.$slots,"extra")],2)):i("",!0)],6)),[[C,{disabled:!e.ripple}]])}const U=O(q,[["render",E]]);g(U);export{U as C}; +import{p as d,I as v}from"./index-2c5b74fa.js";import{v as b}from"./index-28dcc9be.js";import{p as c,d as k,c as S,a as y,w as g}from"./components-a5332e66.js";import{a as l}from"./elements-23c82371.js";import{d as $,D as N,_ as O,b as h,L as B,P as D,e as r,m as n,v as o,x as s,q as I,t as i,p as V,R as m,y as w}from"./index-0bd4ebfc.js";const z={title:[Number,String],icon:c(d,"name"),namespace:c(d,"namespace"),description:String,border:Boolean,borderOffset:[Number,String],iconClass:String,titleClass:String,descriptionClass:String,extraClass:String,ripple:Boolean,onClick:k()},{name:P,n:R,classes:L}=S("cell"),q=$({name:P,components:{VarIcon:v},directives:{Ripple:b},props:z,setup(e){const a=N(()=>e.borderOffset==null?{}:{"--cell-border-left":l(e.borderOffset),"--cell-border-right":l(e.borderOffset)});function t(p){y(e.onClick,p)}return{borderOffsetStyles:a,n:R,classes:L,toSizeUnit:l,handleClick:t}}});function E(e,a,t,p,j,A){const f=h("var-icon"),C=B("ripple");return D((r(),n("div",{class:s(e.classes(e.n(),[e.border,e.n("--border")],[e.onClick,e.n("--cursor")])),style:w(e.borderOffsetStyles),onClick:a[0]||(a[0]=(...u)=>e.handleClick&&e.handleClick(...u))},[o(e.$slots,"icon",{},()=>[e.icon?(r(),n("div",{key:0,class:s(e.classes(e.n("icon"),e.iconClass))},[I(f,{name:e.icon,namespace:e.namespace},null,8,["name","namespace"])],2)):i("",!0)]),V("div",{class:s(e.n("content"))},[o(e.$slots,"default",{},()=>[e.title?(r(),n("div",{key:0,class:s(e.classes(e.n("title"),e.titleClass))},m(e.title),3)):i("",!0)]),o(e.$slots,"description",{},()=>[e.description?(r(),n("div",{key:0,class:s(e.classes(e.n("description"),e.descriptionClass))},m(e.description),3)):i("",!0)])],2),e.$slots.extra?(r(),n("div",{key:0,class:s(e.classes(e.n("extra"),e.extraClass))},[o(e.$slots,"extra")],2)):i("",!0)],6)),[[C,{disabled:!e.ripple}]])}const U=O(q,[["render",E]]);g(U);export{U as C}; diff --git a/assets/index-03117f29.js b/assets/index-416077d8.js similarity index 89% rename from assets/index-03117f29.js rename to assets/index-416077d8.js index 874001685d2..dd2177d05e5 100644 --- a/assets/index-03117f29.js +++ b/assets/index-416077d8.js @@ -1 +1 @@ -import{C}from"./index-ebb3fb01.js";import{C as s}from"./index-64160362.js";import{I as A}from"./index-057aa4ba.js";import{B as U}from"./index-84d96475.js";import{_ as $,W as z,aW as B,F as w,al as D,e as R,m as T,q as a,w as t,U as e,aX as r,p as m,R as l,N as E,Q as n,$ as F,a0 as L}from"./index-af5fec45.js";import{d as P}from"./index-d8fbf18c.js";import{u as W,b as G,_ as q,c as Q,a as X}from"./index-2b61c8d0.js";import{A as i}from"./appType-53211ea9.js";import"./provide-c979a783.js";import"./components-3ae053cb.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-8bbf4ef8.js";import"./index-2c1498a1.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-a6f8e46a.js";const j={basicUsage:"基本使用",currentValue:"当前的值:",setState:"设置状态值",setStyle:"修改图标和颜色",disabled:"禁用",readonly:"只读",eat:"吃饭",sleep:"睡觉",checkAll:"全选",inverseAll:"反选",checkboxGroup:"复选框组",vertical:"垂直布局",checkboxValidate:"复选框字段校验",checkboxGroupValidate:"复选框组字段校验",checkboxValidateMessage:"请勾选",checkboxGroupValidateMessage:"请全选",indeterminate:"不确定状态",indeterminateValue:"不确定状态的值:",toggle:"切换"},H={basicUsage:"Basic Usage",currentValue:"Current value:",setState:"Set State Value",setStyle:"Modify The Icon And Color",disabled:"Disabled",readonly:"Readonly",eat:"Eat",sleep:"Sleep",checkAll:"Check All",inverseAll:"Inverse All",checkboxGroup:"CheckboxGroup",vertical:"Vertical Direction",checkboxValidate:"Checkbox Validation",checkboxGroupValidate:"CheckboxGroup Validate",checkboxValidateMessage:"Please check your choices",checkboxGroupValidateMessage:"Please check all",indeterminate:"Indeterminate",indeterminateValue:"Current value:",toggle:"Toggle"},{add:I,use:J,pack:u,packs:ge,merge:ye}=W(),K=c=>{X(c),J(c)};G("zh-CN",q);G("en-US",Q);I("zh-CN",j);I("en-US",H);const O=c=>(F("data-v-afd0f57d"),c=c(),L(),c),Y={class:"indeterminate-container"},Z={class:"relation"},ee={class:"relation"},le={class:"relation"},ae=O(()=>m("div",{class:"space"},null,-1)),te={__name:"index",setup(c){const N=z({value:!1,value2:0,value3:!1,value4:!1,value5:!1,value6:[],value7:!1,value8:[],value9:[],value10:!1,group:null,indeterminate:!0}),{value:v,value2:f,value3:V,value4:k,value5:_,value6:b,value7:h,value8:x,value9:g,group:M,value10:y,indeterminate:p}=B(N);return w(K),D(P),(S,o)=>(R(),T(E,null,[a(e(i),null,{default:t(()=>[n(l(e(u).basicUsage),1)]),_:1}),a(e(s),{modelValue:e(v),"onUpdate:modelValue":o[0]||(o[0]=d=>r(v)?v.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(v)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).setState),1)]),_:1}),a(e(s),{"unchecked-value":0,"checked-value":1,modelValue:e(f),"onUpdate:modelValue":o[1]||(o[1]=d=>r(f)?f.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(f)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).setStyle),1)]),_:1}),a(e(s),{"unchecked-color":"#e99eb4","checked-color":"#f44336",modelValue:e(V),"onUpdate:modelValue":o[2]||(o[2]=d=>r(V)?V.value=d:null)},{"unchecked-icon":t(()=>[a(e(A),{name:"heart-half-full",size:"24px"})]),"checked-icon":t(()=>[a(e(A),{name:"heart",size:"24px"})]),default:t(()=>[n(l(e(u).currentValue)+" "+l(e(V)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).disabled),1)]),_:1}),a(e(s),{disabled:"",modelValue:e(k),"onUpdate:modelValue":o[3]||(o[3]=d=>r(k)?k.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(k)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).readonly),1)]),_:1}),a(e(s),{readonly:"",modelValue:e(_),"onUpdate:modelValue":o[4]||(o[4]=d=>r(_)?_.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(_)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).indeterminate),1)]),_:1}),m("div",Y,[a(e(s),{modelValue:e(y),"onUpdate:modelValue":o[5]||(o[5]=d=>r(y)?y.value=d:null),indeterminate:e(p),"onUpdate:indeterminate":o[6]||(o[6]=d=>r(p)?p.value=d:null)},{default:t(()=>[n(l(e(u).indeterminateValue)+" "+l(e(p)),1)]),_:1},8,["modelValue","indeterminate"]),a(e(U),{class:"button",type:"primary",onClick:o[7]||(o[7]=d=>p.value=!e(p))},{default:t(()=>[n(l(e(u).toggle),1)]),_:1})]),a(e(i),null,{default:t(()=>[n(l(e(u).checkboxGroup),1)]),_:1}),a(e(C),{ref_key:"group",ref:M,modelValue:e(b),"onUpdate:modelValue":o[10]||(o[10]=d=>r(b)?b.value=d:null)},{default:t(()=>[a(e(s),{"checked-value":0},{default:t(()=>[n(l(e(u).eat),1)]),_:1}),a(e(s),{"checked-value":1},{default:t(()=>[n(l(e(u).sleep),1)]),_:1}),a(e(U),{class:"button",type:"primary",onClick:o[8]||(o[8]=d=>S.$refs.group.checkAll())},{default:t(()=>[n(l(e(u).checkAll),1)]),_:1}),a(e(U),{class:"button",type:"primary",onClick:o[9]||(o[9]=d=>S.$refs.group.inverseAll())},{default:t(()=>[n(l(e(u).inverseAll),1)]),_:1})]),_:1},8,["modelValue"]),m("div",Z,l(e(u).currentValue)+" "+l(e(b)),1),a(e(i),null,{default:t(()=>[n(l(e(u).vertical),1)]),_:1}),a(e(C),{modelValue:e(g),"onUpdate:modelValue":o[11]||(o[11]=d=>r(g)?g.value=d:null),direction:"vertical"},{default:t(()=>[a(e(s),{"checked-value":0},{default:t(()=>[n(l(e(u).eat),1)]),_:1}),a(e(s),{"checked-value":1},{default:t(()=>[n(l(e(u).sleep),1)]),_:1})]),_:1},8,["modelValue"]),m("div",ee,l(e(u).currentValue)+" "+l(e(g)),1),a(e(i),null,{default:t(()=>[n(l(e(u).checkboxValidate),1)]),_:1}),a(e(s),{modelValue:e(h),"onUpdate:modelValue":o[12]||(o[12]=d=>r(h)?h.value=d:null),rules:[d=>d||e(u).checkboxValidateMessage]},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(h)),1)]),_:1},8,["modelValue","rules"]),a(e(i),null,{default:t(()=>[n(l(e(u).checkboxGroupValidate),1)]),_:1}),a(e(C),{modelValue:e(x),"onUpdate:modelValue":o[13]||(o[13]=d=>r(x)?x.value=d:null),rules:[d=>d.length===2||e(u).checkboxGroupValidateMessage]},{default:t(()=>[a(e(s),{"checked-value":0},{default:t(()=>[n(l(e(u).eat),1)]),_:1}),a(e(s),{"checked-value":1},{default:t(()=>[n(l(e(u).sleep),1)]),_:1})]),_:1},8,["modelValue","rules"]),m("div",le,l(e(u).currentValue)+" "+l(e(x)),1),ae],64))}},Ce=$(te,[["__scopeId","data-v-afd0f57d"]]);export{Ce as default}; +import{C}from"./index-60111656.js";import{C as s}from"./index-9fe788b6.js";import{I as A}from"./index-2c5b74fa.js";import{B as U}from"./index-1f1d0c91.js";import{_ as $,W as z,aW as B,F as w,al as D,e as R,m as T,q as a,w as t,U as e,aX as r,p as m,R as l,N as E,Q as n,$ as F,a0 as L}from"./index-0bd4ebfc.js";import{d as P}from"./index-d8fbf18c.js";import{u as W,b as G,_ as q,c as Q,a as X}from"./index-4a9c2ae2.js";import{A as i}from"./appType-a8f87391.js";import"./provide-4fc67263.js";import"./components-a5332e66.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-27fcaf7d.js";import"./index-d956da3f.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-1e0bee81.js";const j={basicUsage:"基本使用",currentValue:"当前的值:",setState:"设置状态值",setStyle:"修改图标和颜色",disabled:"禁用",readonly:"只读",eat:"吃饭",sleep:"睡觉",checkAll:"全选",inverseAll:"反选",checkboxGroup:"复选框组",vertical:"垂直布局",checkboxValidate:"复选框字段校验",checkboxGroupValidate:"复选框组字段校验",checkboxValidateMessage:"请勾选",checkboxGroupValidateMessage:"请全选",indeterminate:"不确定状态",indeterminateValue:"不确定状态的值:",toggle:"切换"},H={basicUsage:"Basic Usage",currentValue:"Current value:",setState:"Set State Value",setStyle:"Modify The Icon And Color",disabled:"Disabled",readonly:"Readonly",eat:"Eat",sleep:"Sleep",checkAll:"Check All",inverseAll:"Inverse All",checkboxGroup:"CheckboxGroup",vertical:"Vertical Direction",checkboxValidate:"Checkbox Validation",checkboxGroupValidate:"CheckboxGroup Validate",checkboxValidateMessage:"Please check your choices",checkboxGroupValidateMessage:"Please check all",indeterminate:"Indeterminate",indeterminateValue:"Current value:",toggle:"Toggle"},{add:I,use:J,pack:u,packs:ge,merge:ye}=W(),K=c=>{X(c),J(c)};G("zh-CN",q);G("en-US",Q);I("zh-CN",j);I("en-US",H);const O=c=>(F("data-v-afd0f57d"),c=c(),L(),c),Y={class:"indeterminate-container"},Z={class:"relation"},ee={class:"relation"},le={class:"relation"},ae=O(()=>m("div",{class:"space"},null,-1)),te={__name:"index",setup(c){const N=z({value:!1,value2:0,value3:!1,value4:!1,value5:!1,value6:[],value7:!1,value8:[],value9:[],value10:!1,group:null,indeterminate:!0}),{value:v,value2:f,value3:V,value4:k,value5:_,value6:b,value7:h,value8:x,value9:g,group:M,value10:y,indeterminate:p}=B(N);return w(K),D(P),(S,o)=>(R(),T(E,null,[a(e(i),null,{default:t(()=>[n(l(e(u).basicUsage),1)]),_:1}),a(e(s),{modelValue:e(v),"onUpdate:modelValue":o[0]||(o[0]=d=>r(v)?v.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(v)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).setState),1)]),_:1}),a(e(s),{"unchecked-value":0,"checked-value":1,modelValue:e(f),"onUpdate:modelValue":o[1]||(o[1]=d=>r(f)?f.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(f)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).setStyle),1)]),_:1}),a(e(s),{"unchecked-color":"#e99eb4","checked-color":"#f44336",modelValue:e(V),"onUpdate:modelValue":o[2]||(o[2]=d=>r(V)?V.value=d:null)},{"unchecked-icon":t(()=>[a(e(A),{name:"heart-half-full",size:"24px"})]),"checked-icon":t(()=>[a(e(A),{name:"heart",size:"24px"})]),default:t(()=>[n(l(e(u).currentValue)+" "+l(e(V)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).disabled),1)]),_:1}),a(e(s),{disabled:"",modelValue:e(k),"onUpdate:modelValue":o[3]||(o[3]=d=>r(k)?k.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(k)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).readonly),1)]),_:1}),a(e(s),{readonly:"",modelValue:e(_),"onUpdate:modelValue":o[4]||(o[4]=d=>r(_)?_.value=d:null)},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(_)),1)]),_:1},8,["modelValue"]),a(e(i),null,{default:t(()=>[n(l(e(u).indeterminate),1)]),_:1}),m("div",Y,[a(e(s),{modelValue:e(y),"onUpdate:modelValue":o[5]||(o[5]=d=>r(y)?y.value=d:null),indeterminate:e(p),"onUpdate:indeterminate":o[6]||(o[6]=d=>r(p)?p.value=d:null)},{default:t(()=>[n(l(e(u).indeterminateValue)+" "+l(e(p)),1)]),_:1},8,["modelValue","indeterminate"]),a(e(U),{class:"button",type:"primary",onClick:o[7]||(o[7]=d=>p.value=!e(p))},{default:t(()=>[n(l(e(u).toggle),1)]),_:1})]),a(e(i),null,{default:t(()=>[n(l(e(u).checkboxGroup),1)]),_:1}),a(e(C),{ref_key:"group",ref:M,modelValue:e(b),"onUpdate:modelValue":o[10]||(o[10]=d=>r(b)?b.value=d:null)},{default:t(()=>[a(e(s),{"checked-value":0},{default:t(()=>[n(l(e(u).eat),1)]),_:1}),a(e(s),{"checked-value":1},{default:t(()=>[n(l(e(u).sleep),1)]),_:1}),a(e(U),{class:"button",type:"primary",onClick:o[8]||(o[8]=d=>S.$refs.group.checkAll())},{default:t(()=>[n(l(e(u).checkAll),1)]),_:1}),a(e(U),{class:"button",type:"primary",onClick:o[9]||(o[9]=d=>S.$refs.group.inverseAll())},{default:t(()=>[n(l(e(u).inverseAll),1)]),_:1})]),_:1},8,["modelValue"]),m("div",Z,l(e(u).currentValue)+" "+l(e(b)),1),a(e(i),null,{default:t(()=>[n(l(e(u).vertical),1)]),_:1}),a(e(C),{modelValue:e(g),"onUpdate:modelValue":o[11]||(o[11]=d=>r(g)?g.value=d:null),direction:"vertical"},{default:t(()=>[a(e(s),{"checked-value":0},{default:t(()=>[n(l(e(u).eat),1)]),_:1}),a(e(s),{"checked-value":1},{default:t(()=>[n(l(e(u).sleep),1)]),_:1})]),_:1},8,["modelValue"]),m("div",ee,l(e(u).currentValue)+" "+l(e(g)),1),a(e(i),null,{default:t(()=>[n(l(e(u).checkboxValidate),1)]),_:1}),a(e(s),{modelValue:e(h),"onUpdate:modelValue":o[12]||(o[12]=d=>r(h)?h.value=d:null),rules:[d=>d||e(u).checkboxValidateMessage]},{default:t(()=>[n(l(e(u).currentValue)+" "+l(e(h)),1)]),_:1},8,["modelValue","rules"]),a(e(i),null,{default:t(()=>[n(l(e(u).checkboxGroupValidate),1)]),_:1}),a(e(C),{modelValue:e(x),"onUpdate:modelValue":o[13]||(o[13]=d=>r(x)?x.value=d:null),rules:[d=>d.length===2||e(u).checkboxGroupValidateMessage]},{default:t(()=>[a(e(s),{"checked-value":0},{default:t(()=>[n(l(e(u).eat),1)]),_:1}),a(e(s),{"checked-value":1},{default:t(()=>[n(l(e(u).sleep),1)]),_:1})]),_:1},8,["modelValue","rules"]),m("div",le,l(e(u).currentValue)+" "+l(e(x)),1),ae],64))}},Ce=$(te,[["__scopeId","data-v-afd0f57d"]]);export{Ce as default}; diff --git a/assets/index-42977d64.js b/assets/index-42977d64.js deleted file mode 100644 index 60421233a7a..00000000000 --- a/assets/index-42977d64.js +++ /dev/null @@ -1 +0,0 @@ -import{V as r}from"./Paper-4d3d3dd5.js";import{w as a}from"./components-3ae053cb.js";a(r); diff --git a/assets/index-d471de6f.js b/assets/index-465ac1c8.js similarity index 97% rename from assets/index-d471de6f.js rename to assets/index-465ac1c8.js index 006c5b4e770..99950800dac 100644 --- a/assets/index-d471de6f.js +++ b/assets/index-465ac1c8.js @@ -1 +1 @@ -import{d as $,C as A,S as H,r as v,k as O,g as r,c,H as k,I as q,G as D,b as m,e as n,m as l,q as u,p as e,U as E,R as a,w as h,Q as y,N as g,O as w,t as d,f as C,a as T}from"./index-af5fec45.js";import{A as F}from"./AppHeader-e7fd0bdd.js";const K={class:"varlet-doc-index"},Q={class:"varlet-doc-index__layout"},U={class:"varlet-doc-index__main-container"},j={class:"varlet-doc-index__logo-container"},J=e("div",{class:"varlet-doc-index__logo-background-mask"},null,-1),W=["src"],X={class:"varlet-doc-index__info-container"},Y={class:"varlet-doc-index__title"},Z={class:"varlet-doc-index__description"},ee={key:0,class:"varlet-doc-index__features"},te={class:"varlet-doc-index__feature"},se={class:"varlet-doc-index__feature-name"},ae={class:"varlet-doc-index__feature-description"},oe={key:1,class:"varlet-doc-index__team-members"},ne={class:"varlet-doc-index__team-members-title"},ie={class:"varlet-doc-index__team-members-container"},ce={class:"varlet-doc-index__team-member"},le=["src"],re={class:"varlet-doc-index__team-member-name"},de={class:"varlet-doc-index__team-member-title"},_e={class:"varlet-doc-index__team-member-description"},ve={class:"varlet-doc-index__team-member-social"},ue={key:2,class:"varlet-doc-index__contributors"},me={class:"varlet-doc-index__contributors-title"},he=["href"],ge=["src"],pe={key:3,class:"varlet-doc-index__sponsors"},xe={class:"varlet-doc-index__sponsors-title"},be=["href"],fe=["src"],ke={class:"varlet-doc-index__footer"},ye={class:"varlet-doc-index__license"},we={class:"varlet-doc-index__copyright"},Me=$({__name:"index",setup(Ce){const B=A(),M=H(),_=v(O()),N=r(c,"pc.header.github"),L=v(r(c,"title")),s=v(r(c,"defaultLanguage")),t=v(r(c,"pc.indexPage")),S=()=>{M.push(`/${s.value}/home`)},V=()=>{window.open(N)},z=()=>({action:"theme-change",from:"pc",data:_.value}),G=i=>{_.value=i,k(c,_.value),window.localStorage.setItem(r(c,"themeKey"),_.value)},I=()=>{const{language:i}=T();i&&(s.value=i,document.title=r(c,"pc.title")[i])},p=i=>{window.open(i)};return k(c,_.value),window.postMessage(z(),"*"),q((i,x)=>{x==="mobile"&&G(i)}),D(()=>B.path,()=>{s.value=T().language,I()},{immediate:!0}),(i,x)=>{const b=m("var-button"),P=m("var-space"),f=m("var-icon");return n(),l(g,null,[u(F,{language:s.value},null,8,["language"]),e("div",K,[e("div",Q,[e("div",U,[e("div",j,[J,e("img",{class:"varlet-doc-index__logo",src:E(c).logo,alt:""},null,8,W)]),e("div",X,[e("div",Y,a(L.value),1),e("div",Z,a(t.value.description[s.value]),1),u(P,{size:"large"},{default:h(()=>[u(b,{class:"varlet-doc-index__link-button",type:"primary",style:{"line-height":"1.2"},onClick:S},{default:h(()=>[y(a(t.value.started[s.value]),1)]),_:1}),u(b,{class:"varlet-doc-index__github-button",type:"primary",style:{"line-height":"1.2"},onClick:V},{default:h(()=>[y(a(t.value.viewOnGithub[s.value]),1)]),_:1})]),_:1})])]),t.value.features?(n(),l("div",ee,[(n(!0),l(g,null,w(t.value.features,o=>(n(),l("div",te,[e("div",se,a(o.name[s.value]),1),e("div",ae,a(o.description[s.value]),1)]))),256))])):d("",!0),t.value.teamMembers?(n(),l("div",oe,[e("div",ne,a(t.value.teamMembers.label[s.value]),1),e("div",ie,[(n(!0),l(g,null,w(t.value.teamMembers.members,o=>(n(),l("div",ce,[e("img",{class:"varlet-doc-index__team-member-avatar",src:o.avatar},null,8,le),e("div",re,a(o.name[s.value]),1),e("div",de,a(o.title[s.value]),1),e("div",_e,a(o.description[s.value]),1),e("div",ve,[o.github?(n(),C(f,{key:0,class:"varlet-doc-index__team-member-social-icon",name:"github",size:24,onClick:R=>p(o.github)},null,8,["onClick"])):d("",!0),o.twitter?(n(),C(f,{key:1,class:"varlet-doc-index__team-member-social-icon",name:"twitter",size:24,onClick:R=>p(o.twitter)},null,8,["onClick"])):d("",!0)])]))),256))])])):d("",!0),t.value.contributors?(n(),l("div",ue,[e("div",me,a(t.value.contributors.label[s.value]),1),e("a",{class:"varlet-doc-index__contributors-link",href:t.value.contributors.link},[e("img",{class:"varlet-doc-index__contributors-image",src:t.value.contributors.image},null,8,ge)],8,he)])):d("",!0),t.value.sponsors?(n(),l("div",pe,[e("div",xe,a(t.value.sponsors.label[s.value]),1),e("a",{class:"varlet-doc-index__sponsors-link",href:t.value.sponsors.link},[e("img",{class:"varlet-doc-index__sponsors-image",src:t.value.sponsors.image},null,8,fe)],8,be)])):d("",!0),e("div",ke,[e("div",ye,a(t.value.license[s.value]),1),e("div",we,a(t.value.copyright[s.value]),1)])])])],64)}}});export{Me as default}; +import{d as $,C as A,S as H,r as v,k as O,g as r,c,H as k,I as q,G as D,b as m,e as n,m as l,q as u,p as e,U as E,R as a,w as h,Q as y,N as g,O as w,t as d,f as C,a as T}from"./index-0bd4ebfc.js";import{A as F}from"./AppHeader-bdf22c34.js";const K={class:"varlet-doc-index"},Q={class:"varlet-doc-index__layout"},U={class:"varlet-doc-index__main-container"},j={class:"varlet-doc-index__logo-container"},J=e("div",{class:"varlet-doc-index__logo-background-mask"},null,-1),W=["src"],X={class:"varlet-doc-index__info-container"},Y={class:"varlet-doc-index__title"},Z={class:"varlet-doc-index__description"},ee={key:0,class:"varlet-doc-index__features"},te={class:"varlet-doc-index__feature"},se={class:"varlet-doc-index__feature-name"},ae={class:"varlet-doc-index__feature-description"},oe={key:1,class:"varlet-doc-index__team-members"},ne={class:"varlet-doc-index__team-members-title"},ie={class:"varlet-doc-index__team-members-container"},ce={class:"varlet-doc-index__team-member"},le=["src"],re={class:"varlet-doc-index__team-member-name"},de={class:"varlet-doc-index__team-member-title"},_e={class:"varlet-doc-index__team-member-description"},ve={class:"varlet-doc-index__team-member-social"},ue={key:2,class:"varlet-doc-index__contributors"},me={class:"varlet-doc-index__contributors-title"},he=["href"],ge=["src"],pe={key:3,class:"varlet-doc-index__sponsors"},xe={class:"varlet-doc-index__sponsors-title"},be=["href"],fe=["src"],ke={class:"varlet-doc-index__footer"},ye={class:"varlet-doc-index__license"},we={class:"varlet-doc-index__copyright"},Me=$({__name:"index",setup(Ce){const B=A(),M=H(),_=v(O()),N=r(c,"pc.header.github"),L=v(r(c,"title")),s=v(r(c,"defaultLanguage")),t=v(r(c,"pc.indexPage")),S=()=>{M.push(`/${s.value}/home`)},V=()=>{window.open(N)},z=()=>({action:"theme-change",from:"pc",data:_.value}),G=i=>{_.value=i,k(c,_.value),window.localStorage.setItem(r(c,"themeKey"),_.value)},I=()=>{const{language:i}=T();i&&(s.value=i,document.title=r(c,"pc.title")[i])},p=i=>{window.open(i)};return k(c,_.value),window.postMessage(z(),"*"),q((i,x)=>{x==="mobile"&&G(i)}),D(()=>B.path,()=>{s.value=T().language,I()},{immediate:!0}),(i,x)=>{const b=m("var-button"),P=m("var-space"),f=m("var-icon");return n(),l(g,null,[u(F,{language:s.value},null,8,["language"]),e("div",K,[e("div",Q,[e("div",U,[e("div",j,[J,e("img",{class:"varlet-doc-index__logo",src:E(c).logo,alt:""},null,8,W)]),e("div",X,[e("div",Y,a(L.value),1),e("div",Z,a(t.value.description[s.value]),1),u(P,{size:"large"},{default:h(()=>[u(b,{class:"varlet-doc-index__link-button",type:"primary",style:{"line-height":"1.2"},onClick:S},{default:h(()=>[y(a(t.value.started[s.value]),1)]),_:1}),u(b,{class:"varlet-doc-index__github-button",type:"primary",style:{"line-height":"1.2"},onClick:V},{default:h(()=>[y(a(t.value.viewOnGithub[s.value]),1)]),_:1})]),_:1})])]),t.value.features?(n(),l("div",ee,[(n(!0),l(g,null,w(t.value.features,o=>(n(),l("div",te,[e("div",se,a(o.name[s.value]),1),e("div",ae,a(o.description[s.value]),1)]))),256))])):d("",!0),t.value.teamMembers?(n(),l("div",oe,[e("div",ne,a(t.value.teamMembers.label[s.value]),1),e("div",ie,[(n(!0),l(g,null,w(t.value.teamMembers.members,o=>(n(),l("div",ce,[e("img",{class:"varlet-doc-index__team-member-avatar",src:o.avatar},null,8,le),e("div",re,a(o.name[s.value]),1),e("div",de,a(o.title[s.value]),1),e("div",_e,a(o.description[s.value]),1),e("div",ve,[o.github?(n(),C(f,{key:0,class:"varlet-doc-index__team-member-social-icon",name:"github",size:24,onClick:R=>p(o.github)},null,8,["onClick"])):d("",!0),o.twitter?(n(),C(f,{key:1,class:"varlet-doc-index__team-member-social-icon",name:"twitter",size:24,onClick:R=>p(o.twitter)},null,8,["onClick"])):d("",!0)])]))),256))])])):d("",!0),t.value.contributors?(n(),l("div",ue,[e("div",me,a(t.value.contributors.label[s.value]),1),e("a",{class:"varlet-doc-index__contributors-link",href:t.value.contributors.link},[e("img",{class:"varlet-doc-index__contributors-image",src:t.value.contributors.image},null,8,ge)],8,he)])):d("",!0),t.value.sponsors?(n(),l("div",pe,[e("div",xe,a(t.value.sponsors.label[s.value]),1),e("a",{class:"varlet-doc-index__sponsors-link",href:t.value.sponsors.link},[e("img",{class:"varlet-doc-index__sponsors-image",src:t.value.sponsors.image},null,8,fe)],8,be)])):d("",!0),e("div",ke,[e("div",ye,a(t.value.license[s.value]),1),e("div",we,a(t.value.copyright[s.value]),1)])])])],64)}}});export{Me as default}; diff --git a/assets/index-2684e5c7.js b/assets/index-482a9388.js similarity index 91% rename from assets/index-2684e5c7.js rename to assets/index-482a9388.js index b9d8202cf6b..e37ceafa5e0 100644 --- a/assets/index-2684e5c7.js +++ b/assets/index-482a9388.js @@ -1 +1 @@ -import{d as C,c as H,a as I,w as B}from"./components-3ae053cb.js";import{t as P,g as R}from"./elements-68ad626b.js";import{d as j,r as o,D as v,G as D,at as G,aJ as J,aC as K,a7 as O,a4 as U,aK as V,j as q,ah as M,_ as A,e as Q,m as X,p as Y,v as Z,x as g,y as F}from"./index-af5fec45.js";const _={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:C()},{name:ee,n:oe,classes:se}=H("sticky"),ae=j({name:ee,props:_,setup(e){const n=o(null),l=o(null),a=o(!1),r=o("0px"),f=o("0px"),m=o("auto"),h=o("auto"),b=o("auto"),x=o("auto"),T=v(()=>!e.disabled&&e.cssMode),$=v(()=>!e.disabled&&!e.cssMode&&a.value),i=v(()=>P(e.offsetTop));let s;D(()=>e.disabled,u),G(W),J(k),K(u),O(()=>window,"scroll",d);function S(){const{cssMode:t,disabled:z}=e;if(z)return;let c=0;if(s!==window){const{top:N}=M(s);c=N}const w=l.value,p=n.value,{top:L,left:E}=M(p),y=L-c;return y<=i.value?(t||(m.value=`${p.offsetWidth}px`,h.value=`${p.offsetHeight}px`,r.value=`${c+i.value}px`,f.value=`${E}px`,b.value=`${w.offsetWidth}px`,x.value=`${w.offsetHeight}px`,a.value=!0),{offsetTop:i.value,isFixed:!0}):(a.value=!1,{offsetTop:y,isFixed:!1})}function d(){if(!s)return;const t=S();t&&I(e.onScroll,t.offsetTop,t.isFixed)}async function u(){a.value=!1,await V(),S()}async function W(){await q(),s=R(n.value),s!==window&&s.addEventListener("scroll",d),d()}function k(){s!==window&&s.removeEventListener("scroll",d)}return{stickyEl:n,wrapperEl:l,isFixed:a,offsetTop:i,fixedTop:r,fixedLeft:f,fixedWidth:m,fixedHeight:h,fixedWrapperWidth:b,fixedWrapperHeight:x,enableCSSMode:T,enableFixedMode:$,n:oe,classes:se,resize:u,toNumber:U}}});function te(e,n,l,a,r,f){return Q(),X("div",{class:g(e.classes(e.n(),[e.enableCSSMode,e.n("--css-mode")])),ref:"stickyEl",style:F({zIndex:e.toNumber(e.zIndex),top:e.enableCSSMode?`${e.offsetTop}px`:void 0,width:e.enableFixedMode?e.fixedWidth:void 0,height:e.enableFixedMode?e.fixedHeight:void 0})},[Y("div",{class:g(e.n("wrapper")),ref:"wrapperEl",style:F({zIndex:e.toNumber(e.zIndex),position:e.enableFixedMode?"fixed":void 0,width:e.enableFixedMode?e.fixedWrapperWidth:void 0,height:e.enableFixedMode?e.fixedWrapperHeight:void 0,left:e.enableFixedMode?e.fixedLeft:void 0,top:e.enableFixedMode?e.fixedTop:void 0})},[Z(e.$slots,"default")],6)],6)}const ne=A(ae,[["render",te]]);B(ne);export{ne as S,_ as p}; +import{d as C,c as H,a as I,w as B}from"./components-a5332e66.js";import{t as P,g as R}from"./elements-23c82371.js";import{d as j,r as o,D as v,G as D,at as G,aJ as J,aC as K,a7 as O,a4 as U,aK as V,j as q,ah as M,_ as A,e as Q,m as X,p as Y,v as Z,x as g,y as F}from"./index-0bd4ebfc.js";const _={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:C()},{name:ee,n:oe,classes:se}=H("sticky"),ae=j({name:ee,props:_,setup(e){const n=o(null),l=o(null),a=o(!1),r=o("0px"),f=o("0px"),m=o("auto"),h=o("auto"),b=o("auto"),x=o("auto"),T=v(()=>!e.disabled&&e.cssMode),$=v(()=>!e.disabled&&!e.cssMode&&a.value),i=v(()=>P(e.offsetTop));let s;D(()=>e.disabled,u),G(W),J(k),K(u),O(()=>window,"scroll",d);function S(){const{cssMode:t,disabled:z}=e;if(z)return;let c=0;if(s!==window){const{top:N}=M(s);c=N}const w=l.value,p=n.value,{top:L,left:E}=M(p),y=L-c;return y<=i.value?(t||(m.value=`${p.offsetWidth}px`,h.value=`${p.offsetHeight}px`,r.value=`${c+i.value}px`,f.value=`${E}px`,b.value=`${w.offsetWidth}px`,x.value=`${w.offsetHeight}px`,a.value=!0),{offsetTop:i.value,isFixed:!0}):(a.value=!1,{offsetTop:y,isFixed:!1})}function d(){if(!s)return;const t=S();t&&I(e.onScroll,t.offsetTop,t.isFixed)}async function u(){a.value=!1,await V(),S()}async function W(){await q(),s=R(n.value),s!==window&&s.addEventListener("scroll",d),d()}function k(){s!==window&&s.removeEventListener("scroll",d)}return{stickyEl:n,wrapperEl:l,isFixed:a,offsetTop:i,fixedTop:r,fixedLeft:f,fixedWidth:m,fixedHeight:h,fixedWrapperWidth:b,fixedWrapperHeight:x,enableCSSMode:T,enableFixedMode:$,n:oe,classes:se,resize:u,toNumber:U}}});function te(e,n,l,a,r,f){return Q(),X("div",{class:g(e.classes(e.n(),[e.enableCSSMode,e.n("--css-mode")])),ref:"stickyEl",style:F({zIndex:e.toNumber(e.zIndex),top:e.enableCSSMode?`${e.offsetTop}px`:void 0,width:e.enableFixedMode?e.fixedWidth:void 0,height:e.enableFixedMode?e.fixedHeight:void 0})},[Y("div",{class:g(e.n("wrapper")),ref:"wrapperEl",style:F({zIndex:e.toNumber(e.zIndex),position:e.enableFixedMode?"fixed":void 0,width:e.enableFixedMode?e.fixedWrapperWidth:void 0,height:e.enableFixedMode?e.fixedWrapperHeight:void 0,left:e.enableFixedMode?e.fixedLeft:void 0,top:e.enableFixedMode?e.fixedTop:void 0})},[Z(e.$slots,"default")],6)],6)}const ne=A(ae,[["render",te]]);B(ne);export{ne as S,_ as p}; diff --git a/assets/index-4a9c2ae2.js b/assets/index-4a9c2ae2.js new file mode 100644 index 00000000000..5028733bd84 --- /dev/null +++ b/assets/index-4a9c2ae2.js @@ -0,0 +1 @@ +import{r as i}from"./index-0bd4ebfc.js";const o={dialogTitle:"提示",dialogConfirmButtonText:"确认",dialogCancelButtonText:"取消",actionSheetTitle:"请选择",listLoadingText:"加载中",listFinishedText:"没有更多了",listErrorText:"加载失败",pickerTitle:"请选择",pickerConfirmButtonText:"确认",pickerCancelButtonText:"取消",datePickerMonthDict:{"01":{name:"一月",abbr:"一月"},"02":{name:"二月",abbr:"二月"},"03":{name:"三月",abbr:"三月"},"04":{name:"四月",abbr:"四月"},"05":{name:"五月",abbr:"五月"},"06":{name:"六月",abbr:"六月"},"07":{name:"七月",abbr:"七月"},"08":{name:"八月",abbr:"八月"},"09":{name:"九月",abbr:"九月"},10:{name:"十月",abbr:"十月"},11:{name:"十一月",abbr:"十一月"},12:{name:"十二月",abbr:"十二月"}},datePickerWeekDict:{0:{name:"星期日",abbr:"日"},1:{name:"星期一",abbr:"一"},2:{name:"星期二",abbr:"二"},3:{name:"星期三",abbr:"三"},4:{name:"星期四",abbr:"四"},5:{name:"星期五",abbr:"五"},6:{name:"星期六",abbr:"六"}},datePickerSelected:"个被选择",paginationItem:"条",paginationPage:"页",paginationJump:"前往"},l={dialogTitle:"Hint",dialogConfirmButtonText:"Confirm",dialogCancelButtonText:"Cancel",actionSheetTitle:"Select One",listLoadingText:"Loading",listFinishedText:"No more",listErrorText:"Load fail",pickerTitle:"Pick it",pickerConfirmButtonText:"Confirm",pickerCancelButtonText:"Cancel",datePickerMonthDict:{"01":{name:"January",abbr:"JAN"},"02":{name:"February",abbr:"FEB"},"03":{name:"March",abbr:"MAR"},"04":{name:"April",abbr:"APR"},"05":{name:"May",abbr:"MAY"},"06":{name:"June",abbr:"JUN"},"07":{name:"July",abbr:"JUL"},"08":{name:"August",abbr:"AUG"},"09":{name:"September",abbr:"SEP"},10:{name:"October",abbr:"OCT"},11:{name:"November",abbr:"NOV"},12:{name:"December",abbr:"DEC"}},datePickerWeekDict:{0:{name:"Sunday",abbr:"S"},1:{name:"Monday",abbr:"M"},2:{name:"Tuesday",abbr:"T"},3:{name:"Wednesday",abbr:"W"},4:{name:"Thursday",abbr:"T"},5:{name:"Friday",abbr:"F"},6:{name:"Saturday",abbr:"S"}},datePickerSelected:" selected",paginationItem:"",paginationPage:"page",paginationJump:"Go to"};function m(){const a={},t=i({}),b=(e,n)=>{n.lang=e,a[e]=n},r=e=>{if(!a[e])return console.warn(`The ${e} does not exist. You can mount a language package using the add method`),{};t.value=a[e]};return{packs:a,pack:t,add:b,use:r,merge:(e,n)=>{if(!a[e]){console.warn(`The ${e} does not exist. You can mount a language package using the add method`);return}a[e]={...a[e],...n},r(e)}}}const{packs:p,pack:T,add:c,use:d,merge:g}=m();c("zh-CN",o);d("zh-CN");export{o as _,d as a,c as b,l as c,T as p,m as u}; diff --git a/assets/index-167744da.js b/assets/index-4ea5fc06.js similarity index 70% rename from assets/index-167744da.js rename to assets/index-4ea5fc06.js index ddff2eb6988..fe41e95bb08 100644 --- a/assets/index-167744da.js +++ b/assets/index-4ea5fc06.js @@ -1 +1 @@ -import{E as n}from"./index-801ce3ba.js";import{I as f}from"./index-057aa4ba.js";import{B as c}from"./index-84d96475.js";import{S as g}from"./index-90c41552.js";import{F as y,r as _,e as w,m as h,q as e,w as l,U as t,N as v,Q as a,R as i}from"./index-af5fec45.js";import{u as k,b as d,_ as C,c as N,a as T}from"./index-2b61c8d0.js";import{A as p}from"./appType-53211ea9.js";import"./index-9fe07c8e.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-2b41cfe8.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const B={line:"单行省略",multipleLine:"多行省略",twoWayBinding:"双向绑定",expand:"点击文字展开",tooltip:"自定义 Tooltip",text:"其实没有什么事情是不可能的,我都拿到世界冠军了,真的没有什么事情是不可能的。",toggle:"切换"},L={line:"Single Line Ellipsis",multipleLine:"Multiple Line Ellipsis",twoWayBinding:"Two-way binding",expand:"Click On Text To Expand",tooltip:"Custom Tooltip",text:"I want to say english to everyone like, even you still are normal people, you still can work a world champion and no one trust you!",toggle:"Toggle"},{add:x,use:S,pack:o,packs:P,merge:X}=k(),E=r=>{T(r),S(r)};d("zh-CN",C);d("en-US",N);x("zh-CN",B);x("en-US",L);const Y={__name:"index",setup(r){y(E);const s=_(!1);return(U,m)=>(w(),h(v,null,[e(t(p),null,{default:l(()=>[a(i(t(o).line),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"}},{default:l(()=>[a(i(t(o).text),1)]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).multipleLine),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},"line-clamp":3},{default:l(()=>[a(i(t(o).text),1)]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).twoWayBinding),1)]),_:1}),e(t(g),{direction:"column",size:"large"},{default:l(()=>[e(t(c),{type:"primary",onClick:m[0]||(m[0]=u=>s.value=!s.value)},{default:l(()=>[a(i(t(o).toggle),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},expand:s.value,"onUpdate:expand":m[1]||(m[1]=u=>s.value=u)},{default:l(()=>[a(i(t(o).text),1)]),_:1},8,["expand"])]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).expand),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},"line-clamp":3,"expand-trigger":"click",tooltip:!1},{default:l(()=>[a(i(t(o).text),1)]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).tooltip),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},tooltip:{type:"primary",sameWidth:!1}},{"tooltip-content":l(()=>[e(t(f),{name:"github"})]),default:l(()=>[a(i(t(o).text)+" ",1)]),_:1})],64))}};export{Y as default}; +import{E as n}from"./index-0dba4f4e.js";import{I as f}from"./index-2c5b74fa.js";import{B as c}from"./index-1f1d0c91.js";import{S as g}from"./index-65cffe90.js";import{F as y,r as _,e as w,m as h,q as e,w as l,U as t,N as v,Q as a,R as i}from"./index-0bd4ebfc.js";import{u as k,b as d,_ as C,c as N,a as T}from"./index-4a9c2ae2.js";import{A as p}from"./appType-a8f87391.js";import"./index-e4246741.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-28dcc9be.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const B={line:"单行省略",multipleLine:"多行省略",twoWayBinding:"双向绑定",expand:"点击文字展开",tooltip:"自定义 Tooltip",text:"其实没有什么事情是不可能的,我都拿到世界冠军了,真的没有什么事情是不可能的。",toggle:"切换"},L={line:"Single Line Ellipsis",multipleLine:"Multiple Line Ellipsis",twoWayBinding:"Two-way binding",expand:"Click On Text To Expand",tooltip:"Custom Tooltip",text:"I want to say english to everyone like, even you still are normal people, you still can work a world champion and no one trust you!",toggle:"Toggle"},{add:x,use:S,pack:o,packs:P,merge:X}=k(),E=r=>{T(r),S(r)};d("zh-CN",C);d("en-US",N);x("zh-CN",B);x("en-US",L);const Y={__name:"index",setup(r){y(E);const s=_(!1);return(U,m)=>(w(),h(v,null,[e(t(p),null,{default:l(()=>[a(i(t(o).line),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"}},{default:l(()=>[a(i(t(o).text),1)]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).multipleLine),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},"line-clamp":3},{default:l(()=>[a(i(t(o).text),1)]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).twoWayBinding),1)]),_:1}),e(t(g),{direction:"column",size:"large"},{default:l(()=>[e(t(c),{type:"primary",onClick:m[0]||(m[0]=u=>s.value=!s.value)},{default:l(()=>[a(i(t(o).toggle),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},expand:s.value,"onUpdate:expand":m[1]||(m[1]=u=>s.value=u)},{default:l(()=>[a(i(t(o).text),1)]),_:1},8,["expand"])]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).expand),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},"line-clamp":3,"expand-trigger":"click",tooltip:!1},{default:l(()=>[a(i(t(o).text),1)]),_:1}),e(t(p),null,{default:l(()=>[a(i(t(o).tooltip),1)]),_:1}),e(t(n),{style:{"max-width":"50vmin"},tooltip:{type:"primary",sameWidth:!1}},{"tooltip-content":l(()=>[e(t(f),{name:"github"})]),default:l(()=>[a(i(t(o).text)+" ",1)]),_:1})],64))}};export{Y as default}; diff --git a/assets/index-2d44aaa4.js b/assets/index-51fa972a.js similarity index 89% rename from assets/index-2d44aaa4.js rename to assets/index-51fa972a.js index a73da4d2548..f284d7551db 100644 --- a/assets/index-2d44aaa4.js +++ b/assets/index-51fa972a.js @@ -1 +1 @@ -import{I as Q}from"./index-057aa4ba.js";import{g as _,c as H}from"./elements-68ad626b.js";import{d as k,c as J,a as D,w as K}from"./components-3ae053cb.js";import{d as W,r as n,D as h,ac as X,b4 as Z,G as x,at as ee,a7 as ae,ah as oe,ai as R,aO as se,ae as te,a4 as T,n as ne,_ as O,b as le,e as g,m as A,p as re,q as ue,x as N,y as ce,v as ie,al as de,f as V,w as $,U as B,O as ve,Q as fe,R as me,N as he}from"./index-af5fec45.js";import{C as Te}from"./index-4237591d.js";import{d as ge}from"./index-d8fbf18c.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */const pe={modelValue:Boolean,disabled:Boolean,animationDuration:{type:[Number,String],default:300},successDuration:{type:[Number,String],default:2e3},bgColor:String,successBgColor:String,color:String,successColor:String,target:[String,Object],onRefresh:k(),"onUpdate:modelValue":k()},{name:Se,n:L,classes:Ne}=J("pull-refresh"),P=150,we=W({name:Se,components:{VarIcon:Q},props:pe,setup(e){const o=n(0),v=n(null),c=n(null),i=n(0),s=n("-125%"),l=n("arrow-down"),a=n("default"),r=n(!1),u=h(()=>Math.abs(2*o.value)),p=h(()=>a.value==="success"),w=h(()=>a.value!=="loading"&&a.value!=="success"&&!e.disabled),U=h(()=>({transform:`translate3d(0px, ${X(s.value)?s.value:`${s.value}px`}, 0px) translate(-50%, 0)`,transition:r.value?`transform ${e.animationDuration}ms`:void 0,background:p.value?e.successBgColor:e.bgColor,color:p.value?e.successColor:e.color})),{startTouch:M,moveTouch:z,endTouch:Y,isReachTop:y}=Z();let d,m;x(()=>e.modelValue,t=>{t===!1&&(r.value=!0,a.value="success",l.value="checkbox-marked-circle",setTimeout(()=>{s.value=o.value,G()},T(e.successDuration)))}),ee(F),ae(v,"touchmove",I);async function b(t){if(l.value!==t)return l.value=t,new Promise(f=>{window.setTimeout(f,P)})}function S(t){("classList"in d?d:document.body).classList[t](`${L()}--lock`)}function j(t){if(M(t),o.value===0){const{width:f}=oe(c.value);o.value=-(f+f*.25)}m=_(t.target)}function I(t){if(z(t),!w.value||!m||m!==d&&R(m)>0||R(d)>0)return;y(d)&&se(t),a.value!=="pulling"&&(a.value="pulling",i.value=t.touches[0].clientY),y(d)&&te(s.value)&&s.value>o.value&&S("add");const C=(t.touches[0].clientY-i.value)/2+o.value;s.value=C>=u.value?u.value:C,b(s.value>=u.value*.2?"refresh":"arrow-down")}async function q(){Y(),w.value&&(r.value=!0,T(s.value)>=u.value*.2?(await b("refresh"),a.value="loading",s.value=u.value*.3,D(e["onUpdate:modelValue"],!0),ne(()=>{D(e.onRefresh)}),S("remove")):(a.value="loosing",l.value="arrow-down",s.value=o.value,setTimeout(()=>{r.value=!1,S("remove")},T(e.animationDuration))),m=null)}function F(){d=e.target?H(e.target,"PullRefresh"):_(v.value)}function G(){setTimeout(()=>{a.value="default",l.value="arrow-down",r.value=!1},T(e.animationDuration))}return{ICON_TRANSITION:P,refreshStatus:a,freshNode:v,controlNode:c,iconName:l,controlStyle:U,isSuccess:p,n:L,classes:Ne,handleTouchstart:j,handleTouchmove:I,handleTouchend:q}}});function ye(e,o,v,c,i,s){const l=le("var-icon");return g(),A("div",{ref:"freshNode",class:N(e.n()),onTouchstart:o[0]||(o[0]=(...a)=>e.handleTouchstart&&e.handleTouchstart(...a)),onTouchend:o[1]||(o[1]=(...a)=>e.handleTouchend&&e.handleTouchend(...a)),onTouchcancel:o[2]||(o[2]=(...a)=>e.handleTouchend&&e.handleTouchend(...a))},[re("div",{ref:"controlNode",class:N(e.classes(e.n("control"),e.n("$-elevation--2"),[e.isSuccess,e.n("control-success")])),style:ce(e.controlStyle)},[ue(l,{name:e.iconName,transition:e.ICON_TRANSITION,class:N(e.classes(e.n("icon"),[e.refreshStatus==="loading",e.n("animation")])),"var-pull-refresh-cover":""},null,8,["name","transition","class"])],6),ie(e.$slots,"default")],34)}const E=O(we,[["render",ye]]);K(E);const be={__name:"index",setup(e){const o=Array(30).fill("List Item"),v=Array(30).fill("This is new List Item"),c=n(!1),i=n(o);function s(){setTimeout(()=>{i.value=i.value[0]==="List Item"?v:o,c.value=!1},2e3)}return de(ge),(l,a)=>(g(),V(B(E),{onRefresh:s,modelValue:c.value,"onUpdate:modelValue":a[0]||(a[0]=r=>c.value=r),"success-duration":"2000"},{default:$(()=>[(g(!0),A(he,null,ve(i.value,(r,u)=>(g(),V(B(Te),{key:u,border:""},{default:$(()=>[fe(me(r+" "+(u+1)),1)]),_:2},1024))),128))]),_:1},8,["modelValue"]))}},Pe=O(be,[["__scopeId","data-v-6f15a34c"]]);export{Pe as default}; +import{I as Q}from"./index-2c5b74fa.js";import{g as _,c as H}from"./elements-23c82371.js";import{d as k,c as J,a as D,w as K}from"./components-a5332e66.js";import{d as W,r as n,D as h,ac as X,b4 as Z,G as x,at as ee,a7 as ae,ah as oe,ai as R,aO as se,ae as te,a4 as T,n as ne,_ as O,b as le,e as g,m as A,p as re,q as ue,x as N,y as ce,v as ie,al as de,f as V,w as $,U as B,O as ve,Q as fe,R as me,N as he}from"./index-0bd4ebfc.js";import{C as Te}from"./index-3f170ae4.js";import{d as ge}from"./index-d8fbf18c.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */const pe={modelValue:Boolean,disabled:Boolean,animationDuration:{type:[Number,String],default:300},successDuration:{type:[Number,String],default:2e3},bgColor:String,successBgColor:String,color:String,successColor:String,target:[String,Object],onRefresh:k(),"onUpdate:modelValue":k()},{name:Se,n:L,classes:Ne}=J("pull-refresh"),P=150,we=W({name:Se,components:{VarIcon:Q},props:pe,setup(e){const o=n(0),v=n(null),c=n(null),i=n(0),s=n("-125%"),l=n("arrow-down"),a=n("default"),r=n(!1),u=h(()=>Math.abs(2*o.value)),p=h(()=>a.value==="success"),w=h(()=>a.value!=="loading"&&a.value!=="success"&&!e.disabled),U=h(()=>({transform:`translate3d(0px, ${X(s.value)?s.value:`${s.value}px`}, 0px) translate(-50%, 0)`,transition:r.value?`transform ${e.animationDuration}ms`:void 0,background:p.value?e.successBgColor:e.bgColor,color:p.value?e.successColor:e.color})),{startTouch:M,moveTouch:z,endTouch:Y,isReachTop:y}=Z();let d,m;x(()=>e.modelValue,t=>{t===!1&&(r.value=!0,a.value="success",l.value="checkbox-marked-circle",setTimeout(()=>{s.value=o.value,G()},T(e.successDuration)))}),ee(F),ae(v,"touchmove",I);async function b(t){if(l.value!==t)return l.value=t,new Promise(f=>{window.setTimeout(f,P)})}function S(t){("classList"in d?d:document.body).classList[t](`${L()}--lock`)}function j(t){if(M(t),o.value===0){const{width:f}=oe(c.value);o.value=-(f+f*.25)}m=_(t.target)}function I(t){if(z(t),!w.value||!m||m!==d&&R(m)>0||R(d)>0)return;y(d)&&se(t),a.value!=="pulling"&&(a.value="pulling",i.value=t.touches[0].clientY),y(d)&&te(s.value)&&s.value>o.value&&S("add");const C=(t.touches[0].clientY-i.value)/2+o.value;s.value=C>=u.value?u.value:C,b(s.value>=u.value*.2?"refresh":"arrow-down")}async function q(){Y(),w.value&&(r.value=!0,T(s.value)>=u.value*.2?(await b("refresh"),a.value="loading",s.value=u.value*.3,D(e["onUpdate:modelValue"],!0),ne(()=>{D(e.onRefresh)}),S("remove")):(a.value="loosing",l.value="arrow-down",s.value=o.value,setTimeout(()=>{r.value=!1,S("remove")},T(e.animationDuration))),m=null)}function F(){d=e.target?H(e.target,"PullRefresh"):_(v.value)}function G(){setTimeout(()=>{a.value="default",l.value="arrow-down",r.value=!1},T(e.animationDuration))}return{ICON_TRANSITION:P,refreshStatus:a,freshNode:v,controlNode:c,iconName:l,controlStyle:U,isSuccess:p,n:L,classes:Ne,handleTouchstart:j,handleTouchmove:I,handleTouchend:q}}});function ye(e,o,v,c,i,s){const l=le("var-icon");return g(),A("div",{ref:"freshNode",class:N(e.n()),onTouchstart:o[0]||(o[0]=(...a)=>e.handleTouchstart&&e.handleTouchstart(...a)),onTouchend:o[1]||(o[1]=(...a)=>e.handleTouchend&&e.handleTouchend(...a)),onTouchcancel:o[2]||(o[2]=(...a)=>e.handleTouchend&&e.handleTouchend(...a))},[re("div",{ref:"controlNode",class:N(e.classes(e.n("control"),e.n("$-elevation--2"),[e.isSuccess,e.n("control-success")])),style:ce(e.controlStyle)},[ue(l,{name:e.iconName,transition:e.ICON_TRANSITION,class:N(e.classes(e.n("icon"),[e.refreshStatus==="loading",e.n("animation")])),"var-pull-refresh-cover":""},null,8,["name","transition","class"])],6),ie(e.$slots,"default")],34)}const E=O(we,[["render",ye]]);K(E);const be={__name:"index",setup(e){const o=Array(30).fill("List Item"),v=Array(30).fill("This is new List Item"),c=n(!1),i=n(o);function s(){setTimeout(()=>{i.value=i.value[0]==="List Item"?v:o,c.value=!1},2e3)}return de(ge),(l,a)=>(g(),V(B(E),{onRefresh:s,modelValue:c.value,"onUpdate:modelValue":a[0]||(a[0]=r=>c.value=r),"success-duration":"2000"},{default:$(()=>[(g(!0),A(he,null,ve(i.value,(r,u)=>(g(),V(B(Te),{key:u,border:""},{default:$(()=>[fe(me(r+" "+(u+1)),1)]),_:2},1024))),128))]),_:1},8,["modelValue"]))}},Pe=O(be,[["__scopeId","data-v-6f15a34c"]]);export{Pe as default}; diff --git a/assets/index-3f206173.js b/assets/index-5540406a.js similarity index 90% rename from assets/index-3f206173.js rename to assets/index-5540406a.js index 7d968f6272e..a878067d5a9 100644 --- a/assets/index-3f206173.js +++ b/assets/index-5540406a.js @@ -1 +1 @@ -import{d as n,u as g,f as w,c as k,w as B}from"./components-3ae053cb.js";import{u as z}from"./usePopover-33bac0d8.js";import{a as P}from"./elements-68ad626b.js";import{d as H,_ as $,e as d,m as N,v as i,f as O,q as E,w as A,P as I,p as T,y as D,x as p,M as L,Y as U,T as V,au as W}from"./index-af5fec45.js";const Y={show:Boolean,disabled:Boolean,trigger:{type:String,default:"click"},reference:String,placement:{type:String,default:"cover-top-start"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,elevation:{type:[Boolean,String,Number],default:!0},defaultStyle:{type:Boolean,default:!0},popoverClass:String,closeOnClickReference:Boolean,onOpen:n(),onOpened:n(),onClose:n(),onClosed:n(),onClickOutside:n(),"onUpdate:show":n()},{name:j,n:q,classes:R}=k("menu"),X=H({name:j,props:Y,setup(e){const{disabled:o}=g(),{popover:t,host:a,hostSize:l,show:r,zIndex:s,handleHostClick:u,handleHostMouseenter:f,handleHostMouseleave:v,handlePopoverMouseenter:m,handlePopoverMouseleave:h,handlePopoverClose:M,handleClosed:S,open:y,close:C,resize:b}=z(e);return{popover:t,host:a,hostSize:l,show:r,zIndex:s,teleportDisabled:o,formatElevation:w,toSizeUnit:P,n:q,classes:R,handleHostClick:u,handleHostMouseenter:f,handleHostMouseleave:v,handlePopoverMouseenter:m,handlePopoverMouseleave:h,handlePopoverClose:M,handleClosed:S,resize:b,open:y,close:C}}});function F(e,o,t,a,l,r){return d(),N("div",{ref:"host",class:p(e.classes(e.n(),e.n("$--box"))),onClick:o[3]||(o[3]=(...s)=>e.handleHostClick&&e.handleHostClick(...s)),onMouseenter:o[4]||(o[4]=(...s)=>e.handleHostMouseenter&&e.handleHostMouseenter(...s)),onMouseleave:o[5]||(o[5]=(...s)=>e.handleHostMouseleave&&e.handleHostMouseleave(...s))},[i(e.$slots,"default"),(d(),O(W,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[E(V,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed},{default:A(()=>[I(T("div",{ref:"popover",style:D({zIndex:e.zIndex,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:p(e.classes(e.n("menu"),e.n("$--box"),e.popoverClass,[e.defaultStyle,e.n("--menu-background-color")],[e.defaultStyle,e.formatElevation(e.elevation,3)])),onClick:o[0]||(o[0]=L(()=>{},["stop"])),onMouseenter:o[1]||(o[1]=(...s)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...s)),onMouseleave:o[2]||(o[2]=(...s)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...s))},[i(e.$slots,"menu")],38),[[U,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const G=$(X,[["render",F]]);B(G);export{G as M,Y as p}; +import{d as n,u as g,f as w,c as k,w as B}from"./components-a5332e66.js";import{u as z}from"./usePopover-1ef39509.js";import{a as P}from"./elements-23c82371.js";import{d as H,_ as $,e as d,m as N,v as i,f as O,q as E,w as A,P as I,p as T,y as D,x as p,M as L,Y as U,T as V,au as W}from"./index-0bd4ebfc.js";const Y={show:Boolean,disabled:Boolean,trigger:{type:String,default:"click"},reference:String,placement:{type:String,default:"cover-top-start"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,elevation:{type:[Boolean,String,Number],default:!0},defaultStyle:{type:Boolean,default:!0},popoverClass:String,closeOnClickReference:Boolean,onOpen:n(),onOpened:n(),onClose:n(),onClosed:n(),onClickOutside:n(),"onUpdate:show":n()},{name:j,n:q,classes:R}=k("menu"),X=H({name:j,props:Y,setup(e){const{disabled:o}=g(),{popover:t,host:a,hostSize:l,show:r,zIndex:s,handleHostClick:u,handleHostMouseenter:f,handleHostMouseleave:v,handlePopoverMouseenter:m,handlePopoverMouseleave:h,handlePopoverClose:M,handleClosed:S,open:y,close:C,resize:b}=z(e);return{popover:t,host:a,hostSize:l,show:r,zIndex:s,teleportDisabled:o,formatElevation:w,toSizeUnit:P,n:q,classes:R,handleHostClick:u,handleHostMouseenter:f,handleHostMouseleave:v,handlePopoverMouseenter:m,handlePopoverMouseleave:h,handlePopoverClose:M,handleClosed:S,resize:b,open:y,close:C}}});function F(e,o,t,a,l,r){return d(),N("div",{ref:"host",class:p(e.classes(e.n(),e.n("$--box"))),onClick:o[3]||(o[3]=(...s)=>e.handleHostClick&&e.handleHostClick(...s)),onMouseenter:o[4]||(o[4]=(...s)=>e.handleHostMouseenter&&e.handleHostMouseenter(...s)),onMouseleave:o[5]||(o[5]=(...s)=>e.handleHostMouseleave&&e.handleHostMouseleave(...s))},[i(e.$slots,"default"),(d(),O(W,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[E(V,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed},{default:A(()=>[I(T("div",{ref:"popover",style:D({zIndex:e.zIndex,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:p(e.classes(e.n("menu"),e.n("$--box"),e.popoverClass,[e.defaultStyle,e.n("--menu-background-color")],[e.defaultStyle,e.formatElevation(e.elevation,3)])),onClick:o[0]||(o[0]=L(()=>{},["stop"])),onMouseenter:o[1]||(o[1]=(...s)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...s)),onMouseleave:o[2]||(o[2]=(...s)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...s))},[i(e.$slots,"menu")],38),[[U,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const G=$(X,[["render",F]]);B(G);export{G as M,Y as p}; diff --git a/assets/index-806df826.js b/assets/index-561638eb.js similarity index 81% rename from assets/index-806df826.js rename to assets/index-561638eb.js index e0666227765..d94caf3ce89 100644 --- a/assets/index-806df826.js +++ b/assets/index-561638eb.js @@ -1 +1 @@ -import{d as B,q as n,au as S,aw as N,T as U,as as g,_ as T,W as z,aW as $,F as I,al as V,e as j,m as A,w as l,U as e,aX as f,N as L,Q as d,R as s,p as M,M as R}from"./index-af5fec45.js";import{d as h,u as D,c as E,a as m}from"./components-3ae053cb.js";import{u as F}from"./lock-7a098446.js";import{u as H}from"./zIndex-a2732bb2.js";/* empty css */import{B as y}from"./index-84d96475.js";import{S as P}from"./index-0ad054ca.js";import{d as W}from"./index-d8fbf18c.js";import{u as q,b as x,_ as Q,c as X,a as Z}from"./index-2b61c8d0.js";import{A as k}from"./appType-53211ea9.js";import"./index-e95cf05b.js";import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";const G={show:Boolean,lockScroll:{type:Boolean,default:!0},teleport:[String,Object,Boolean],onClick:h(),"onUpdate:show":h()};function J(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!N(o)}const{name:K,n:_}=E("overlay"),w=B({name:K,inheritAttrs:!1,props:G,setup(o,{slots:p,attrs:i}){const{zIndex:u}=H(()=>o.show,1),{disabled:c}=D();F(()=>o.show,()=>o.lockScroll);function C(){m(o.onClick),m(o["onUpdate:show"],!1)}function t(){return n("div",g({class:_(),style:{zIndex:u.value-1}},i,{onClick:C}),[m(p.default)])}function a(){return n(U,{name:_("--fade")},{default:()=>[o.show&&t()]})}return()=>{const{teleport:O}=o;if(O){let v;return n(S,{to:O,disabled:c.value},J(v=a())?v:{default:()=>[v]})}return a()}}}),Y={overlayBase:"基础用法",overlayContent:"嵌入内容",showOverlay:"显示遮罩层",event:"注册事件",clickOverlay:"点击遮罩层",text:"素胚勾勒出青花笔锋浓转淡, 瓶身描绘的牡丹一如你初妆, 冉冉檀香透过窗心事我了然, 宣纸上走笔至此搁一半。"},ee={overlayBase:"Basic Usage",overlayContent:"Overlay Content",showOverlay:"Show Overlay",event:"Event",clickOverlay:"Click Overlay",text:"As he came into the window. It was the sound of a crescendo. He came into her apartment. He left the bloodstains on the carpet."},{add:b,use:te,pack:r,packs:_e,merge:xe}=q(),oe=o=>{Z(o),te(o)};x("zh-CN",Q);x("en-US",X);b("zh-CN",Y);b("en-US",ee);const ae={__name:"index",setup(o){const p=z({baseOverlay:!1,contentOverlay:!1,clickOverlay:!1}),{baseOverlay:i,contentOverlay:u,clickOverlay:c}=$(p);return I(oe),V(W),(C,t)=>(j(),A(L,null,[n(e(k),null,{default:l(()=>[d(s(e(r).overlayBase),1)]),_:1}),n(e(y),{type:"primary",block:"",onClick:t[0]||(t[0]=a=>i.value=!0)},{default:l(()=>[d(s(e(r).showOverlay),1)]),_:1}),n(e(k),null,{default:l(()=>[d(s(e(r).overlayContent),1)]),_:1}),n(e(y),{type:"primary",block:"",onClick:t[1]||(t[1]=a=>u.value=!0)},{default:l(()=>[d(s(e(r).overlayContent),1)]),_:1}),n(e(k),null,{default:l(()=>[d(s(e(r).event),1)]),_:1}),n(e(y),{type:"primary",block:"",onClick:t[2]||(t[2]=a=>c.value=!0)},{default:l(()=>[d(s(e(r).clickOverlay),1)]),_:1}),n(e(w),{show:e(i),"onUpdate:show":t[3]||(t[3]=a=>f(i)?i.value=a:null)},null,8,["show"]),n(e(w),{show:e(u),"onUpdate:show":t[5]||(t[5]=a=>f(u)?u.value=a:null)},{default:l(()=>[M("div",{class:"overlay-content",onClick:t[4]||(t[4]=R(()=>{},["stop"]))},s(e(r).text),1)]),_:1},8,["show"]),n(e(w),{show:e(c),"onUpdate:show":t[6]||(t[6]=a=>f(c)?c.value=a:null),onClick:t[7]||(t[7]=a=>e(P).success("click"))},null,8,["show"])],64))}},be=T(ae,[["__scopeId","data-v-c07630ef"]]);export{be as default}; +import{d as B,q as n,au as S,aw as N,T as U,as as g,_ as T,W as z,aW as $,F as I,al as V,e as j,m as A,w as l,U as e,aX as f,N as L,Q as d,R as s,p as M,M as R}from"./index-0bd4ebfc.js";import{d as h,u as D,c as E,a as m}from"./components-a5332e66.js";import{u as F}from"./lock-e6f4e779.js";import{u as H}from"./zIndex-976ced0e.js";/* empty css */import{B as y}from"./index-1f1d0c91.js";import{S as P}from"./index-1ed406cf.js";import{d as W}from"./index-d8fbf18c.js";import{u as q,b as x,_ as Q,c as X,a as Z}from"./index-4a9c2ae2.js";import{A as k}from"./appType-a8f87391.js";import"./index-9eb15296.js";import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";const G={show:Boolean,lockScroll:{type:Boolean,default:!0},teleport:[String,Object,Boolean],onClick:h(),"onUpdate:show":h()};function J(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!N(o)}const{name:K,n:_}=E("overlay"),w=B({name:K,inheritAttrs:!1,props:G,setup(o,{slots:p,attrs:i}){const{zIndex:u}=H(()=>o.show,1),{disabled:c}=D();F(()=>o.show,()=>o.lockScroll);function C(){m(o.onClick),m(o["onUpdate:show"],!1)}function t(){return n("div",g({class:_(),style:{zIndex:u.value-1}},i,{onClick:C}),[m(p.default)])}function a(){return n(U,{name:_("--fade")},{default:()=>[o.show&&t()]})}return()=>{const{teleport:O}=o;if(O){let v;return n(S,{to:O,disabled:c.value},J(v=a())?v:{default:()=>[v]})}return a()}}}),Y={overlayBase:"基础用法",overlayContent:"嵌入内容",showOverlay:"显示遮罩层",event:"注册事件",clickOverlay:"点击遮罩层",text:"素胚勾勒出青花笔锋浓转淡, 瓶身描绘的牡丹一如你初妆, 冉冉檀香透过窗心事我了然, 宣纸上走笔至此搁一半。"},ee={overlayBase:"Basic Usage",overlayContent:"Overlay Content",showOverlay:"Show Overlay",event:"Event",clickOverlay:"Click Overlay",text:"As he came into the window. It was the sound of a crescendo. He came into her apartment. He left the bloodstains on the carpet."},{add:b,use:te,pack:r,packs:_e,merge:xe}=q(),oe=o=>{Z(o),te(o)};x("zh-CN",Q);x("en-US",X);b("zh-CN",Y);b("en-US",ee);const ae={__name:"index",setup(o){const p=z({baseOverlay:!1,contentOverlay:!1,clickOverlay:!1}),{baseOverlay:i,contentOverlay:u,clickOverlay:c}=$(p);return I(oe),V(W),(C,t)=>(j(),A(L,null,[n(e(k),null,{default:l(()=>[d(s(e(r).overlayBase),1)]),_:1}),n(e(y),{type:"primary",block:"",onClick:t[0]||(t[0]=a=>i.value=!0)},{default:l(()=>[d(s(e(r).showOverlay),1)]),_:1}),n(e(k),null,{default:l(()=>[d(s(e(r).overlayContent),1)]),_:1}),n(e(y),{type:"primary",block:"",onClick:t[1]||(t[1]=a=>u.value=!0)},{default:l(()=>[d(s(e(r).overlayContent),1)]),_:1}),n(e(k),null,{default:l(()=>[d(s(e(r).event),1)]),_:1}),n(e(y),{type:"primary",block:"",onClick:t[2]||(t[2]=a=>c.value=!0)},{default:l(()=>[d(s(e(r).clickOverlay),1)]),_:1}),n(e(w),{show:e(i),"onUpdate:show":t[3]||(t[3]=a=>f(i)?i.value=a:null)},null,8,["show"]),n(e(w),{show:e(u),"onUpdate:show":t[5]||(t[5]=a=>f(u)?u.value=a:null)},{default:l(()=>[M("div",{class:"overlay-content",onClick:t[4]||(t[4]=R(()=>{},["stop"]))},s(e(r).text),1)]),_:1},8,["show"]),n(e(w),{show:e(c),"onUpdate:show":t[6]||(t[6]=a=>f(c)?c.value=a:null),onClick:t[7]||(t[7]=a=>e(P).success("click"))},null,8,["show"])],64))}},be=T(ae,[["__scopeId","data-v-c07630ef"]]);export{be as default}; diff --git a/assets/index-6dc8ef8e.js b/assets/index-579ecfad.js similarity index 92% rename from assets/index-6dc8ef8e.js rename to assets/index-579ecfad.js index 12f63f05053..8d0ee93da6c 100644 --- a/assets/index-6dc8ef8e.js +++ b/assets/index-579ecfad.js @@ -1 +1 @@ -import{I as n}from"./index-ba1a9006.js";import{I as r}from"./index-057aa4ba.js";import{S as k}from"./index-90c41552.js";import{d as F}from"./index-d8fbf18c.js";import{_ as L,r as u,F as P,al as R,e as q,m as E,q as o,w as t,U as e,N as O,Q as w,R as D,$ as Q,a0 as j,p as G}from"./index-af5fec45.js";import{u as H,b as $,_ as J,c as K,a as W}from"./index-2b61c8d0.js";import{A as B}from"./appType-53211ea9.js";import"./provide-c979a783.js";import"./components-3ae053cb.js";import"./index-939959a8.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";/* empty css */const X={standard:"标准外观",outlined:"外边框外观",smallSize:"小尺寸",plainMode:"朴素模式",textarea:"文本域",maxlength:"最大长度",disabled:"禁用",readonly:"只读",clearable:"可清除",displayIcon:"显示图标",customIconSize:"自定义图标尺寸",validate:"字段校验",placeholder:"请输入文本",maxMessage:"文本长度必须大于6",clearableText:"可清除文本"},Y={standard:"Standard Variant",outlined:"Outlined Variant",smallSize:"Small Size",plainMode:"Plain Mode",textarea:"Textarea",maxlength:"Maxlength",disabled:"Disabled",readonly:"Readonly",clearable:"Clearable",displayIcon:"Display Icon",customIconSize:"Custom Icon Size",validate:"Validate",placeholder:"Please enter text",maxMessage:"Text length must be greater than 6",clearableText:"Clearable Text"},{add:A,use:Z,pack:d,packs:xe,merge:ge}=H(),_=s=>{W(s),Z(s)};$("zh-CN",J);$("en-US",K);A("zh-CN",X);A("en-US",Y);const ee=s=>(Q("data-v-a15cef96"),s=s(),j(),s),le=ee(()=>G("div",{style:{height:"40px"}},null,-1)),ae={__name:"index",setup(s){const p=u(""),i=u(""),m=u(""),V=u(""),c=u(""),v=u(""),h=u(""),x=u(""),g=u(""),b=u(""),U=u(""),z=u(""),S=u(""),f=u(""),y=u(""),I=u(""),C=u(""),M=u(""),N=u(""),T=u("");return P(_),R(F),(oe,a)=>(q(),E(O,null,[o(e(B),null,{default:t(()=>[w(D(e(d).standard),1)]),_:1}),o(e(k),{direction:"column",size:["3vmin",0]},{default:t(()=>[o(e(n),{placeholder:e(d).placeholder,modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=l=>i.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).readonly,readonly:"",modelValue:m.value,"onUpdate:modelValue":a[1]||(a[1]=l=>m.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).disabled,disabled:"",modelValue:V.value,"onUpdate:modelValue":a[2]||(a[2]=l=>V.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).clearable,clearable:"",modelValue:c.value,"onUpdate:modelValue":a[3]||(a[3]=l=>c.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).validate,rules:[l=>l.length>6||e(d).maxMessage],modelValue:v.value,"onUpdate:modelValue":a[4]||(a[4]=l=>v.value=l)},null,8,["placeholder","rules","modelValue"]),o(e(n),{placeholder:e(d).displayIcon,modelValue:h.value,"onUpdate:modelValue":a[5]||(a[5]=l=>h.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).customIconSize,modelValue:b.value,"onUpdate:modelValue":a[6]||(a[6]=l=>b.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github",size:"12vmin"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).maxlength,maxlength:10,modelValue:x.value,"onUpdate:modelValue":a[7]||(a[7]=l=>x.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).textarea,textarea:"",modelValue:g.value,"onUpdate:modelValue":a[8]||(a[8]=l=>g.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).smallSize,size:"small",modelValue:p.value,"onUpdate:modelValue":a[9]||(a[9]=l=>p.value=l)},null,8,["placeholder","modelValue"])]),_:1}),o(e(B),{style:{"margin-top":"10vmin"}},{default:t(()=>[w(D(e(d).outlined),1)]),_:1}),o(e(k),{direction:"column",size:["6vmin",0]},{default:t(()=>[o(e(n),{variant:"outlined",placeholder:e(d).placeholder,modelValue:z.value,"onUpdate:modelValue":a[10]||(a[10]=l=>z.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).readonly,readonly:"",modelValue:S.value,"onUpdate:modelValue":a[11]||(a[11]=l=>S.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).disabled,disabled:"",modelValue:f.value,"onUpdate:modelValue":a[12]||(a[12]=l=>f.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).clearable,clearable:"",modelValue:y.value,"onUpdate:modelValue":a[13]||(a[13]=l=>y.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).validate,rules:[l=>l.length>6||e(d).maxMessage],modelValue:I.value,"onUpdate:modelValue":a[14]||(a[14]=l=>I.value=l)},null,8,["placeholder","rules","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).displayIcon,modelValue:C.value,"onUpdate:modelValue":a[15]||(a[15]=l=>C.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).customIconSize,modelValue:T.value,"onUpdate:modelValue":a[16]||(a[16]=l=>T.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github",size:"12vmin"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).maxlength,maxlength:10,modelValue:M.value,"onUpdate:modelValue":a[17]||(a[17]=l=>M.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).textarea,textarea:"",modelValue:N.value,"onUpdate:modelValue":a[18]||(a[18]=l=>N.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).smallSize,size:"small",modelValue:U.value,"onUpdate:modelValue":a[19]||(a[19]=l=>U.value=l)},null,8,["placeholder","modelValue"])]),_:1}),le],64))}},be=L(ae,[["__scopeId","data-v-a15cef96"]]);export{be as default}; +import{I as n}from"./index-bae97d31.js";import{I as r}from"./index-2c5b74fa.js";import{S as k}from"./index-65cffe90.js";import{d as F}from"./index-d8fbf18c.js";import{_ as L,r as u,F as P,al as R,e as q,m as E,q as o,w as t,U as e,N as O,Q as w,R as D,$ as Q,a0 as j,p as G}from"./index-0bd4ebfc.js";import{u as H,b as $,_ as J,c as K,a as W}from"./index-4a9c2ae2.js";import{A as B}from"./appType-a8f87391.js";import"./provide-4fc67263.js";import"./components-a5332e66.js";import"./index-d5ac26b6.js";import"./elements-23c82371.js";import"./logger-525ef361.js";/* empty css */const X={standard:"标准外观",outlined:"外边框外观",smallSize:"小尺寸",plainMode:"朴素模式",textarea:"文本域",maxlength:"最大长度",disabled:"禁用",readonly:"只读",clearable:"可清除",displayIcon:"显示图标",customIconSize:"自定义图标尺寸",validate:"字段校验",placeholder:"请输入文本",maxMessage:"文本长度必须大于6",clearableText:"可清除文本"},Y={standard:"Standard Variant",outlined:"Outlined Variant",smallSize:"Small Size",plainMode:"Plain Mode",textarea:"Textarea",maxlength:"Maxlength",disabled:"Disabled",readonly:"Readonly",clearable:"Clearable",displayIcon:"Display Icon",customIconSize:"Custom Icon Size",validate:"Validate",placeholder:"Please enter text",maxMessage:"Text length must be greater than 6",clearableText:"Clearable Text"},{add:A,use:Z,pack:d,packs:xe,merge:ge}=H(),_=s=>{W(s),Z(s)};$("zh-CN",J);$("en-US",K);A("zh-CN",X);A("en-US",Y);const ee=s=>(Q("data-v-a15cef96"),s=s(),j(),s),le=ee(()=>G("div",{style:{height:"40px"}},null,-1)),ae={__name:"index",setup(s){const p=u(""),i=u(""),m=u(""),V=u(""),c=u(""),v=u(""),h=u(""),x=u(""),g=u(""),b=u(""),U=u(""),z=u(""),S=u(""),f=u(""),y=u(""),I=u(""),C=u(""),M=u(""),N=u(""),T=u("");return P(_),R(F),(oe,a)=>(q(),E(O,null,[o(e(B),null,{default:t(()=>[w(D(e(d).standard),1)]),_:1}),o(e(k),{direction:"column",size:["3vmin",0]},{default:t(()=>[o(e(n),{placeholder:e(d).placeholder,modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=l=>i.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).readonly,readonly:"",modelValue:m.value,"onUpdate:modelValue":a[1]||(a[1]=l=>m.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).disabled,disabled:"",modelValue:V.value,"onUpdate:modelValue":a[2]||(a[2]=l=>V.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).clearable,clearable:"",modelValue:c.value,"onUpdate:modelValue":a[3]||(a[3]=l=>c.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).validate,rules:[l=>l.length>6||e(d).maxMessage],modelValue:v.value,"onUpdate:modelValue":a[4]||(a[4]=l=>v.value=l)},null,8,["placeholder","rules","modelValue"]),o(e(n),{placeholder:e(d).displayIcon,modelValue:h.value,"onUpdate:modelValue":a[5]||(a[5]=l=>h.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).customIconSize,modelValue:b.value,"onUpdate:modelValue":a[6]||(a[6]=l=>b.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github",size:"12vmin"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).maxlength,maxlength:10,modelValue:x.value,"onUpdate:modelValue":a[7]||(a[7]=l=>x.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).textarea,textarea:"",modelValue:g.value,"onUpdate:modelValue":a[8]||(a[8]=l=>g.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{placeholder:e(d).smallSize,size:"small",modelValue:p.value,"onUpdate:modelValue":a[9]||(a[9]=l=>p.value=l)},null,8,["placeholder","modelValue"])]),_:1}),o(e(B),{style:{"margin-top":"10vmin"}},{default:t(()=>[w(D(e(d).outlined),1)]),_:1}),o(e(k),{direction:"column",size:["6vmin",0]},{default:t(()=>[o(e(n),{variant:"outlined",placeholder:e(d).placeholder,modelValue:z.value,"onUpdate:modelValue":a[10]||(a[10]=l=>z.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).readonly,readonly:"",modelValue:S.value,"onUpdate:modelValue":a[11]||(a[11]=l=>S.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).disabled,disabled:"",modelValue:f.value,"onUpdate:modelValue":a[12]||(a[12]=l=>f.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).clearable,clearable:"",modelValue:y.value,"onUpdate:modelValue":a[13]||(a[13]=l=>y.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).validate,rules:[l=>l.length>6||e(d).maxMessage],modelValue:I.value,"onUpdate:modelValue":a[14]||(a[14]=l=>I.value=l)},null,8,["placeholder","rules","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).displayIcon,modelValue:C.value,"onUpdate:modelValue":a[15]||(a[15]=l=>C.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).customIconSize,modelValue:T.value,"onUpdate:modelValue":a[16]||(a[16]=l=>T.value=l)},{"prepend-icon":t(()=>[o(e(r),{class:"prepend-icon",name:"github",size:"8vmin"})]),"append-icon":t(()=>[o(e(r),{class:"append-icon",name:"github",size:"12vmin"})]),_:1},8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).maxlength,maxlength:10,modelValue:M.value,"onUpdate:modelValue":a[17]||(a[17]=l=>M.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).textarea,textarea:"",modelValue:N.value,"onUpdate:modelValue":a[18]||(a[18]=l=>N.value=l)},null,8,["placeholder","modelValue"]),o(e(n),{variant:"outlined",placeholder:e(d).smallSize,size:"small",modelValue:U.value,"onUpdate:modelValue":a[19]||(a[19]=l=>U.value=l)},null,8,["placeholder","modelValue"])]),_:1}),le],64))}},be=L(ae,[["__scopeId","data-v-a15cef96"]]);export{be as default}; diff --git a/assets/index-7ebf9b5b.js b/assets/index-5956c13b.js similarity index 70% rename from assets/index-7ebf9b5b.js rename to assets/index-5956c13b.js index e9a9c9aa6f2..f267cf9d626 100644 --- a/assets/index-7ebf9b5b.js +++ b/assets/index-5956c13b.js @@ -1 +1 @@ -import{V as l}from"./Paper-4d3d3dd5.js";import{C as n}from"./index-4237591d.js";import{d as m}from"./index-d8fbf18c.js";import{F as c,al as f,e as h,m as _,q as a,w as t,U as e,N as v,Q as r,R as i}from"./index-af5fec45.js";import{u as g,b as u,_ as U,c as C,a as w}from"./index-2b61c8d0.js";import{A as o}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-057aa4ba.js";const N={basicUsage:"基本使用",ripple:"水波效果",round:"圆形纸张",radius:"自定义圆角",slot:"使用插槽",paper:"纸张"},k={basicUsage:"Basic Usage",ripple:"Ripple Effect",round:"Rounded Paper",radius:"Custom Border Radius",slot:"Use Slot",paper:"Paper"},{add:d,use:x,pack:s,packs:M,merge:Q}=g(),S=p=>{w(p),x(p)};u("zh-CN",U);u("en-US",C);d("zh-CN",N);d("en-US",k);const j={__name:"index",setup(p){return c(S),f(m),(b,z)=>(h(),_(v,null,[a(e(o),null,{default:t(()=>[r(i(e(s).basicUsage),1)]),_:1}),a(l,{elevation:2,width:"25vmin",height:"25vmin"}),a(e(o),null,{default:t(()=>[r(i(e(s).ripple),1)]),_:1}),a(l,{elevation:2,ripple:"",width:"25vmin",height:"25vmin"}),a(e(o),null,{default:t(()=>[r(i(e(s).round),1)]),_:1}),a(l,{elevation:2,width:"25vmin",height:"25vmin",round:""}),a(e(o),null,{default:t(()=>[r(i(e(s).radius),1)]),_:1}),a(l,{elevation:2,radius:8,width:"25vmin",height:"25vmin"}),a(e(o),null,{default:t(()=>[r(i(e(s).slot),1)]),_:1}),a(l,{elevation:2},{default:t(()=>[a(e(n),null,{default:t(()=>[r(i(e(s).paper),1)]),_:1}),a(e(n),null,{default:t(()=>[r(i(e(s).paper),1)]),_:1}),a(e(n),null,{default:t(()=>[r(i(e(s).paper),1)]),_:1})]),_:1})],64))}};export{j as default}; +import{V as l}from"./Paper-e2cdc119.js";import{C as n}from"./index-3f170ae4.js";import{d as m}from"./index-d8fbf18c.js";import{F as c,al as f,e as h,m as _,q as a,w as t,U as e,N as v,Q as r,R as i}from"./index-0bd4ebfc.js";import{u as g,b as u,_ as U,c as C,a as w}from"./index-4a9c2ae2.js";import{A as o}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-2c5b74fa.js";const N={basicUsage:"基本使用",ripple:"水波效果",round:"圆形纸张",radius:"自定义圆角",slot:"使用插槽",paper:"纸张"},k={basicUsage:"Basic Usage",ripple:"Ripple Effect",round:"Rounded Paper",radius:"Custom Border Radius",slot:"Use Slot",paper:"Paper"},{add:d,use:x,pack:s,packs:M,merge:Q}=g(),S=p=>{w(p),x(p)};u("zh-CN",U);u("en-US",C);d("zh-CN",N);d("en-US",k);const j={__name:"index",setup(p){return c(S),f(m),(b,z)=>(h(),_(v,null,[a(e(o),null,{default:t(()=>[r(i(e(s).basicUsage),1)]),_:1}),a(l,{elevation:2,width:"25vmin",height:"25vmin"}),a(e(o),null,{default:t(()=>[r(i(e(s).ripple),1)]),_:1}),a(l,{elevation:2,ripple:"",width:"25vmin",height:"25vmin"}),a(e(o),null,{default:t(()=>[r(i(e(s).round),1)]),_:1}),a(l,{elevation:2,width:"25vmin",height:"25vmin",round:""}),a(e(o),null,{default:t(()=>[r(i(e(s).radius),1)]),_:1}),a(l,{elevation:2,radius:8,width:"25vmin",height:"25vmin"}),a(e(o),null,{default:t(()=>[r(i(e(s).slot),1)]),_:1}),a(l,{elevation:2},{default:t(()=>[a(e(n),null,{default:t(()=>[r(i(e(s).paper),1)]),_:1}),a(e(n),null,{default:t(()=>[r(i(e(s).paper),1)]),_:1}),a(e(n),null,{default:t(()=>[r(i(e(s).paper),1)]),_:1})]),_:1})],64))}};export{j as default}; diff --git a/assets/index-d250de60.js b/assets/index-5a594378.js similarity index 81% rename from assets/index-d250de60.js rename to assets/index-5a594378.js index 18ac318e881..f62c898b0fc 100644 --- a/assets/index-d250de60.js +++ b/assets/index-5a594378.js @@ -1 +1 @@ -import{S as h}from"./index-d408e6ab.js";import{u as w}from"./provide-0e472439.js";import{d as _,c as b,a as C,w as S}from"./components-3ae053cb.js";import{d as g,r as I,G as f,j as T,_ as y,b as $,e as x,f as B,w as A,v as N,x as k}from"./index-af5fec45.js";const L={active:{type:[String,Number],default:0},canSwipe:{type:Boolean,default:!0},loop:Boolean,"onUpdate:active":_()},{name:P,n:U}=b("tabs-items"),j=g({name:P,components:{VarSwipe:h},props:L,setup(t){const o=I(null),{tabItemList:n,bindTabItem:c,length:l}=w();c({}),f(()=>t.active,p),f(()=>l.value,async()=>{await T(),p(t.active)});function u(e){return n.find(({name:a})=>e===a.value)}function i(e){return n.find(({index:a})=>e===a.value)}function m(e){return u(e)||i(e)}function p(e){var s;const a=m(e);a&&(n.forEach(({setCurrent:r})=>r(!1)),a.setCurrent(!0),(s=o.value)==null||s.to(a.index.value))}function d(e){const a=n.find(({index:r})=>r.value===e),s=a.name.value??a.index.value;C(t["onUpdate:active"],s)}function v(){return o.value}return{swipe:o,n:U,handleSwipeChange:d,getSwipe:v}}});function z(t,o,n,c,l,u){const i=$("var-swipe");return x(),B(i,{class:k(t.n()),ref:"swipe",loop:t.loop,touchable:t.canSwipe,indicator:!1,onChange:t.handleSwipeChange},{default:A(()=>[N(t.$slots,"default")]),_:3},8,["class","loop","touchable","onChange"])}const E=y(j,[["render",z]]);S(E);export{E as T}; +import{S as h}from"./index-67cbdf85.js";import{u as w}from"./provide-90c65717.js";import{d as _,c as b,a as C,w as S}from"./components-a5332e66.js";import{d as g,r as I,G as f,j as T,_ as y,b as $,e as x,f as B,w as A,v as N,x as k}from"./index-0bd4ebfc.js";const L={active:{type:[String,Number],default:0},canSwipe:{type:Boolean,default:!0},loop:Boolean,"onUpdate:active":_()},{name:P,n:U}=b("tabs-items"),j=g({name:P,components:{VarSwipe:h},props:L,setup(t){const o=I(null),{tabItemList:n,bindTabItem:c,length:l}=w();c({}),f(()=>t.active,p),f(()=>l.value,async()=>{await T(),p(t.active)});function u(e){return n.find(({name:a})=>e===a.value)}function i(e){return n.find(({index:a})=>e===a.value)}function m(e){return u(e)||i(e)}function p(e){var s;const a=m(e);a&&(n.forEach(({setCurrent:r})=>r(!1)),a.setCurrent(!0),(s=o.value)==null||s.to(a.index.value))}function d(e){const a=n.find(({index:r})=>r.value===e),s=a.name.value??a.index.value;C(t["onUpdate:active"],s)}function v(){return o.value}return{swipe:o,n:U,handleSwipeChange:d,getSwipe:v}}});function z(t,o,n,c,l,u){const i=$("var-swipe");return x(),B(i,{class:k(t.n()),ref:"swipe",loop:t.loop,touchable:t.canSwipe,indicator:!1,onChange:t.handleSwipeChange},{default:A(()=>[N(t.$slots,"default")]),_:3},8,["class","loop","touchable","onChange"])}const E=y(j,[["render",z]]);S(E);export{E as T}; diff --git a/assets/index-828775f1.js b/assets/index-5ad325ff.js similarity index 91% rename from assets/index-828775f1.js rename to assets/index-5ad325ff.js index aea52af20f0..290091d642c 100644 --- a/assets/index-828775f1.js +++ b/assets/index-5ad325ff.js @@ -1 +1 @@ -import{r as f,F as v,al as k,e as C,m as z,q as l,w as i,U as e,N as w,Q as a,R as t,f as m,t as _}from"./index-af5fec45.js";import{C as p}from"./index-83ee7fa7.js";import{I as h}from"./index-057aa4ba.js";import{S as r}from"./index-90c41552.js";import{d as N}from"./index-d8fbf18c.js";import{u as R,b as g,_ as x,c as b,a as A}from"./index-2b61c8d0.js";import{A as n}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";/* empty css */const I={chipType:"纸片类型",defaultChip:"默认纸片",primaryChip:"主要纸片",infoChip:"信息纸片",successChip:"成功纸片",warningChip:"警告纸片",dangerChip:"危险纸片",plainChip:"空心纸片",nonRoundChip:"非圆角纸片",chipSize:"纸片尺寸",largeChip:"大型纸片",normalChip:"常规纸片",smallChip:"小型纸片",miniChip:"迷你纸片",blockChip:"块级纸片",canCloseChip:"可关闭纸片",customCloseIcon:"自定义关闭图标",customColor:"自定义颜色",chip:"纸片",addSlot:"添加插槽",leftSlot:"左侧插槽",rightSlot:"右侧插槽",leftAndRightSlot:"左右两侧插槽"},T={chipType:"Chip Type",defaultChip:"Default Chip",primaryChip:"Primary Chip",infoChip:"Info Chip",successChip:"Success Chip",warningChip:"Warning Chip",dangerChip:"Danger Chip",plainChip:"Plain Chip",nonRoundChip:"Non Round Chip",chipSize:"Chip Size",largeChip:"Large Chip",normalChip:"Normal Chip",smallChip:"Small Chip",miniChip:"Mini Chip",blockChip:"Block Chip",canCloseChip:"Can Close Chip",customCloseIcon:"Custom Close Icon",customColor:"Custom Color",chip:"Chip",addSlot:"Add Slot",leftSlot:"Left Slot",rightSlot:"Right Slot",leftAndRightSlot:"Left And Right Slot"},{add:y,use:L,pack:o,packs:G,merge:H}=R(),U=u=>{A(u),L(u)};g("zh-CN",x);g("en-US",b);y("zh-CN",I);y("en-US",T);const J={__name:"index",setup(u){const c=f(!0),d=f(!0);return v(U),k(N),(B,s)=>(C(),z(w,null,[l(e(n),null,{default:i(()=>[a(t(e(o).chipType),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),null,{default:i(()=>[a(t(e(o).defaultChip),1)]),_:1}),l(e(p),{type:"primary"},{default:i(()=>[a(t(e(o).primaryChip),1)]),_:1}),l(e(p),{type:"success"},{default:i(()=>[a(t(e(o).successChip),1)]),_:1}),l(e(p),{type:"danger"},{default:i(()=>[a(t(e(o).dangerChip),1)]),_:1}),l(e(p),{type:"warning"},{default:i(()=>[a(t(e(o).warningChip),1)]),_:1}),l(e(p),{type:"info"},{default:i(()=>[a(t(e(o).infoChip),1)]),_:1})]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).plainChip),1)]),_:1}),l(e(p),{plain:"",type:"primary"},{default:i(()=>[a(t(e(o).plainChip),1)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).nonRoundChip),1)]),_:1}),l(e(p),{round:!1,type:"primary"},{default:i(()=>[a(t(e(o).nonRoundChip),1)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).chipSize),1)]),_:1}),l(e(r),{align:"center",size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),{type:"primary"},{default:i(()=>[a(t(e(o).normalChip),1)]),_:1}),l(e(p),{type:"success",size:"small"},{default:i(()=>[a(t(e(o).smallChip),1)]),_:1}),l(e(p),{type:"warning",size:"mini"},{default:i(()=>[a(t(e(o).miniChip),1)]),_:1}),l(e(p),{type:"danger",size:"large"},{default:i(()=>[a(t(e(o).largeChip),1)]),_:1})]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).blockChip),1)]),_:1}),l(e(p),{type:"primary",block:""},{default:i(()=>[a(t(e(o).blockChip),1)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).canCloseChip),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[c.value?(C(),m(e(p),{key:0,closable:"",onClose:s[0]||(s[0]=S=>c.value=!1)},{default:i(()=>[a(t(e(o).canCloseChip),1)]),_:1})):_("",!0),d.value?(C(),m(e(p),{key:1,closable:"","icon-name":"delete",onClose:s[1]||(s[1]=S=>d.value=!1)},{default:i(()=>[a(t(e(o).customCloseIcon),1)]),_:1})):_("",!0)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).customColor),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),{color:"#009688","text-color":"#fff"},{default:i(()=>[a(t(e(o).chip),1)]),_:1}),l(e(p),{color:"#009688",plain:""},{default:i(()=>[a(t(e(o).chip),1)]),_:1}),l(e(p),{color:"#faecd8","text-color":"#e6a23c",plain:""},{default:i(()=>[a(t(e(o).chip),1)]),_:1}),l(e(p),{color:"#faecd8","text-color":"#e6a23c"},{default:i(()=>[a(t(e(o).chip),1)]),_:1})]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).addSlot),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),null,{left:i(()=>[l(e(h),{name:"star"})]),default:i(()=>[a(t(e(o).leftSlot)+" ",1)]),_:1}),l(e(p),null,{right:i(()=>[l(e(h),{name:"fire"})]),default:i(()=>[a(t(e(o).rightSlot)+" ",1)]),_:1}),l(e(p),null,{left:i(()=>[l(e(h),{name:"account-circle"})]),right:i(()=>[l(e(h),{name:"cake-variant"})]),default:i(()=>[a(t(e(o).leftAndRightSlot)+" ",1)]),_:1})]),_:1})],64))}};export{J as default}; +import{r as f,F as v,al as k,e as C,m as z,q as l,w as i,U as e,N as w,Q as a,R as t,f as m,t as _}from"./index-0bd4ebfc.js";import{C as p}from"./index-123e4258.js";import{I as h}from"./index-2c5b74fa.js";import{S as r}from"./index-65cffe90.js";import{d as N}from"./index-d8fbf18c.js";import{u as R,b as g,_ as x,c as b,a as A}from"./index-4a9c2ae2.js";import{A as n}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";/* empty css */const I={chipType:"纸片类型",defaultChip:"默认纸片",primaryChip:"主要纸片",infoChip:"信息纸片",successChip:"成功纸片",warningChip:"警告纸片",dangerChip:"危险纸片",plainChip:"空心纸片",nonRoundChip:"非圆角纸片",chipSize:"纸片尺寸",largeChip:"大型纸片",normalChip:"常规纸片",smallChip:"小型纸片",miniChip:"迷你纸片",blockChip:"块级纸片",canCloseChip:"可关闭纸片",customCloseIcon:"自定义关闭图标",customColor:"自定义颜色",chip:"纸片",addSlot:"添加插槽",leftSlot:"左侧插槽",rightSlot:"右侧插槽",leftAndRightSlot:"左右两侧插槽"},T={chipType:"Chip Type",defaultChip:"Default Chip",primaryChip:"Primary Chip",infoChip:"Info Chip",successChip:"Success Chip",warningChip:"Warning Chip",dangerChip:"Danger Chip",plainChip:"Plain Chip",nonRoundChip:"Non Round Chip",chipSize:"Chip Size",largeChip:"Large Chip",normalChip:"Normal Chip",smallChip:"Small Chip",miniChip:"Mini Chip",blockChip:"Block Chip",canCloseChip:"Can Close Chip",customCloseIcon:"Custom Close Icon",customColor:"Custom Color",chip:"Chip",addSlot:"Add Slot",leftSlot:"Left Slot",rightSlot:"Right Slot",leftAndRightSlot:"Left And Right Slot"},{add:y,use:L,pack:o,packs:G,merge:H}=R(),U=u=>{A(u),L(u)};g("zh-CN",x);g("en-US",b);y("zh-CN",I);y("en-US",T);const J={__name:"index",setup(u){const c=f(!0),d=f(!0);return v(U),k(N),(B,s)=>(C(),z(w,null,[l(e(n),null,{default:i(()=>[a(t(e(o).chipType),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),null,{default:i(()=>[a(t(e(o).defaultChip),1)]),_:1}),l(e(p),{type:"primary"},{default:i(()=>[a(t(e(o).primaryChip),1)]),_:1}),l(e(p),{type:"success"},{default:i(()=>[a(t(e(o).successChip),1)]),_:1}),l(e(p),{type:"danger"},{default:i(()=>[a(t(e(o).dangerChip),1)]),_:1}),l(e(p),{type:"warning"},{default:i(()=>[a(t(e(o).warningChip),1)]),_:1}),l(e(p),{type:"info"},{default:i(()=>[a(t(e(o).infoChip),1)]),_:1})]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).plainChip),1)]),_:1}),l(e(p),{plain:"",type:"primary"},{default:i(()=>[a(t(e(o).plainChip),1)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).nonRoundChip),1)]),_:1}),l(e(p),{round:!1,type:"primary"},{default:i(()=>[a(t(e(o).nonRoundChip),1)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).chipSize),1)]),_:1}),l(e(r),{align:"center",size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),{type:"primary"},{default:i(()=>[a(t(e(o).normalChip),1)]),_:1}),l(e(p),{type:"success",size:"small"},{default:i(()=>[a(t(e(o).smallChip),1)]),_:1}),l(e(p),{type:"warning",size:"mini"},{default:i(()=>[a(t(e(o).miniChip),1)]),_:1}),l(e(p),{type:"danger",size:"large"},{default:i(()=>[a(t(e(o).largeChip),1)]),_:1})]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).blockChip),1)]),_:1}),l(e(p),{type:"primary",block:""},{default:i(()=>[a(t(e(o).blockChip),1)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).canCloseChip),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[c.value?(C(),m(e(p),{key:0,closable:"",onClose:s[0]||(s[0]=S=>c.value=!1)},{default:i(()=>[a(t(e(o).canCloseChip),1)]),_:1})):_("",!0),d.value?(C(),m(e(p),{key:1,closable:"","icon-name":"delete",onClose:s[1]||(s[1]=S=>d.value=!1)},{default:i(()=>[a(t(e(o).customCloseIcon),1)]),_:1})):_("",!0)]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).customColor),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),{color:"#009688","text-color":"#fff"},{default:i(()=>[a(t(e(o).chip),1)]),_:1}),l(e(p),{color:"#009688",plain:""},{default:i(()=>[a(t(e(o).chip),1)]),_:1}),l(e(p),{color:"#faecd8","text-color":"#e6a23c",plain:""},{default:i(()=>[a(t(e(o).chip),1)]),_:1}),l(e(p),{color:"#faecd8","text-color":"#e6a23c"},{default:i(()=>[a(t(e(o).chip),1)]),_:1})]),_:1}),l(e(n),null,{default:i(()=>[a(t(e(o).addSlot),1)]),_:1}),l(e(r),{size:["2.666vmin","2.666vmin"]},{default:i(()=>[l(e(p),null,{left:i(()=>[l(e(h),{name:"star"})]),default:i(()=>[a(t(e(o).leftSlot)+" ",1)]),_:1}),l(e(p),null,{right:i(()=>[l(e(h),{name:"fire"})]),default:i(()=>[a(t(e(o).rightSlot)+" ",1)]),_:1}),l(e(p),null,{left:i(()=>[l(e(h),{name:"account-circle"})]),right:i(()=>[l(e(h),{name:"cake-variant"})]),default:i(()=>[a(t(e(o).leftAndRightSlot)+" ",1)]),_:1})]),_:1})],64))}};export{J as default}; diff --git a/assets/index-37b2a953.js b/assets/index-5ae829a8.js similarity index 92% rename from assets/index-37b2a953.js rename to assets/index-5ae829a8.js index aa5a29e3c14..beace6f88d7 100644 --- a/assets/index-37b2a953.js +++ b/assets/index-5ae829a8.js @@ -1 +1 @@ -import{v as q}from"./index-2b41cfe8.js";import{I as A}from"./index-057aa4ba.js";import{B as G}from"./index-84d96475.js";import{d as H,f as Y,c as Z,a as L,w as J}from"./components-3ae053cb.js";import{a as y}from"./elements-68ad626b.js";import{d as K,r as o,D as Q,G as X,n as _,ah as x,j as ee,_ as oe,b as N,L as te,P as ae,e as n,m as i,p as z,v as r,x as t,y as m,t as u,R as T,q as F,w as le,M as ne}from"./index-af5fec45.js";import{u as ie}from"./zIndex-a2732bb2.js";import{u as se}from"./lock-7a098446.js";const re={src:String,fit:{type:String,default:"cover"},imageHeight:[String,Number],imageWidth:[String,Number],outline:Boolean,layout:{type:String,default:"column"},floating:Boolean,floatingDuration:{type:Number,default:250},alt:String,title:String,subtitle:String,description:String,elevation:{type:[Boolean,Number,String],default:!0},ripple:Boolean,onClick:H(),"onUpdate:floating":H()},{name:ue,n:de,classes:ve}=Z("card"),fe=500,ce=K({name:ue,directives:{Ripple:q},components:{VarIcon:A,VarButton:G},props:re,setup(e){const p=o(null),R=o(null),d=o("auto"),v=o("auto"),f=o("100%"),s=o("100%"),a=o("auto"),l=o("auto"),g=o(void 0),w=o("hidden"),$=o("0px"),b=o("0"),k=Q(()=>e.layout==="row"),C=o(!1),S=o(!1),{zIndex:P}=ie(()=>e.floating,1);let D="auto",B="auto",I=null;const c=o(null);se(()=>e.floating,()=>!k.value),X(()=>e.floating,h=>{k.value||_(()=>{h?W():E()})},{immediate:!0});async function W(){clearTimeout(c.value),clearTimeout(I),c.value=null,c.value=setTimeout(async()=>{const{width:h,height:j,left:M,top:O}=x(p.value);d.value=y(h),v.value=y(j),f.value=d.value,s.value=v.value,a.value=y(O),l.value=y(M),g.value="fixed",D=a.value,B=l.value,C.value=!0,await ee(),a.value="0",l.value="0",f.value="100vw",s.value="100vh",$.value="auto",b.value="1",w.value="auto",S.value=!0},e.ripple?fe:0)}function E(){clearTimeout(I),clearTimeout(c.value),c.value=null,f.value=d.value,s.value=v.value,a.value=D,l.value=B,$.value="0px",b.value="0",C.value=!1,I=setTimeout(()=>{d.value="auto",v.value="auto",f.value="100%",s.value="100%",a.value="auto",l.value="auto",D="auto",B="auto",w.value="hidden",g.value=void 0,S.value=!1},e.floatingDuration)}function U(){L(e["onUpdate:floating"],!1)}function V(h){L(e.onClick,h)}return{card:p,cardFloater:R,holderWidth:d,holderHeight:v,floater:c,floaterWidth:f,floaterHeight:s,floaterTop:a,floaterLeft:l,floaterPosition:g,floaterOverflow:w,contentHeight:$,opacity:b,zIndex:P,isRow:k,showFloatingButtons:C,floated:S,n:de,classes:ve,toSizeUnit:y,close:U,formatElevation:Y,handleClick:V}}});const me=["src","alt"];function pe(e,p,R,d,v,f){const s=N("var-icon"),a=N("var-button"),l=te("ripple");return ae((n(),i("div",{ref:"card",class:t(e.classes(e.n(),[e.isRow,e.n("--layout-row")],[e.outline,e.n("--outline")],e.formatElevation(e.elevation,1))),style:m({zIndex:e.floated?e.zIndex:void 0}),onClick:p[0]||(p[0]=(...g)=>e.handleClick&&e.handleClick(...g))},[z("div",{ref:"cardFloater",class:t(e.n("floater")),style:m({width:e.floaterWidth,height:e.floaterHeight,top:e.floaterTop,left:e.floaterLeft,overflow:e.floaterOverflow,position:e.floaterPosition,transition:e.floated?`background-color ${e.floatingDuration}ms, color ${e.floatingDuration}ms, width ${e.floatingDuration}ms, height ${e.floatingDuration}ms, top ${e.floatingDuration}ms, left ${e.floatingDuration}ms`:void 0})},[r(e.$slots,"image",{},()=>[e.src?(n(),i("img",{key:0,class:t(e.n("image")),style:m({objectFit:e.fit,height:e.toSizeUnit(e.imageHeight),width:e.toSizeUnit(e.imageWidth)}),src:e.src,alt:e.alt},null,14,me)):u("",!0)]),z("div",{class:t(e.n("container"))},[r(e.$slots,"title",{},()=>[e.title?(n(),i("div",{key:0,class:t(e.n("title"))},T(e.title),3)):u("",!0)]),r(e.$slots,"subtitle",{},()=>[e.subtitle?(n(),i("div",{key:0,class:t(e.n("subtitle"))},T(e.subtitle),3)):u("",!0)]),r(e.$slots,"description",{},()=>[e.description?(n(),i("div",{key:0,class:t(e.n("description"))},T(e.description),3)):u("",!0)]),e.$slots.extra?(n(),i("div",{key:0,class:t(e.n("footer"))},[r(e.$slots,"extra")],2)):u("",!0),e.$slots["floating-content"]&&!e.isRow?(n(),i("div",{key:1,class:t(e.n("floating-content")),style:m({height:e.contentHeight,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[r(e.$slots,"floating-content")],6)):u("",!0)],2),e.showFloatingButtons?(n(),i("div",{key:0,class:t(e.classes(e.n("floating-buttons"),e.n("$--box"))),style:m({zIndex:e.zIndex,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[r(e.$slots,"close-button",{},()=>[F(a,{"var-card-cover":"",round:"",class:t(e.classes(e.n("close-button"),e.n("$-elevation--6"))),onClick:ne(e.close,["stop"])},{default:le(()=>[F(s,{"var-card-cover":"",name:"window-close",class:t(e.n("close-button-icon"))},null,8,["class"])]),_:1},8,["class","onClick"])])],6)):u("",!0)],6),z("div",{class:t(e.n("holder")),style:m({width:e.holderWidth,height:e.holderHeight})},null,6)],6)),[[l,{disabled:!e.ripple||e.floater}]])}const ge=oe(ce,[["render",pe]]);J(ge);export{ge as C}; +import{v as q}from"./index-28dcc9be.js";import{I as A}from"./index-2c5b74fa.js";import{B as G}from"./index-1f1d0c91.js";import{d as H,f as Y,c as Z,a as L,w as J}from"./components-a5332e66.js";import{a as y}from"./elements-23c82371.js";import{d as K,r as o,D as Q,G as X,n as _,ah as x,j as ee,_ as oe,b as N,L as te,P as ae,e as n,m as i,p as z,v as r,x as t,y as m,t as u,R as T,q as F,w as le,M as ne}from"./index-0bd4ebfc.js";import{u as ie}from"./zIndex-976ced0e.js";import{u as se}from"./lock-e6f4e779.js";const re={src:String,fit:{type:String,default:"cover"},imageHeight:[String,Number],imageWidth:[String,Number],outline:Boolean,layout:{type:String,default:"column"},floating:Boolean,floatingDuration:{type:Number,default:250},alt:String,title:String,subtitle:String,description:String,elevation:{type:[Boolean,Number,String],default:!0},ripple:Boolean,onClick:H(),"onUpdate:floating":H()},{name:ue,n:de,classes:ve}=Z("card"),fe=500,ce=K({name:ue,directives:{Ripple:q},components:{VarIcon:A,VarButton:G},props:re,setup(e){const p=o(null),R=o(null),d=o("auto"),v=o("auto"),f=o("100%"),s=o("100%"),a=o("auto"),l=o("auto"),g=o(void 0),w=o("hidden"),$=o("0px"),b=o("0"),k=Q(()=>e.layout==="row"),C=o(!1),S=o(!1),{zIndex:P}=ie(()=>e.floating,1);let D="auto",B="auto",I=null;const c=o(null);se(()=>e.floating,()=>!k.value),X(()=>e.floating,h=>{k.value||_(()=>{h?W():E()})},{immediate:!0});async function W(){clearTimeout(c.value),clearTimeout(I),c.value=null,c.value=setTimeout(async()=>{const{width:h,height:j,left:M,top:O}=x(p.value);d.value=y(h),v.value=y(j),f.value=d.value,s.value=v.value,a.value=y(O),l.value=y(M),g.value="fixed",D=a.value,B=l.value,C.value=!0,await ee(),a.value="0",l.value="0",f.value="100vw",s.value="100vh",$.value="auto",b.value="1",w.value="auto",S.value=!0},e.ripple?fe:0)}function E(){clearTimeout(I),clearTimeout(c.value),c.value=null,f.value=d.value,s.value=v.value,a.value=D,l.value=B,$.value="0px",b.value="0",C.value=!1,I=setTimeout(()=>{d.value="auto",v.value="auto",f.value="100%",s.value="100%",a.value="auto",l.value="auto",D="auto",B="auto",w.value="hidden",g.value=void 0,S.value=!1},e.floatingDuration)}function U(){L(e["onUpdate:floating"],!1)}function V(h){L(e.onClick,h)}return{card:p,cardFloater:R,holderWidth:d,holderHeight:v,floater:c,floaterWidth:f,floaterHeight:s,floaterTop:a,floaterLeft:l,floaterPosition:g,floaterOverflow:w,contentHeight:$,opacity:b,zIndex:P,isRow:k,showFloatingButtons:C,floated:S,n:de,classes:ve,toSizeUnit:y,close:U,formatElevation:Y,handleClick:V}}});const me=["src","alt"];function pe(e,p,R,d,v,f){const s=N("var-icon"),a=N("var-button"),l=te("ripple");return ae((n(),i("div",{ref:"card",class:t(e.classes(e.n(),[e.isRow,e.n("--layout-row")],[e.outline,e.n("--outline")],e.formatElevation(e.elevation,1))),style:m({zIndex:e.floated?e.zIndex:void 0}),onClick:p[0]||(p[0]=(...g)=>e.handleClick&&e.handleClick(...g))},[z("div",{ref:"cardFloater",class:t(e.n("floater")),style:m({width:e.floaterWidth,height:e.floaterHeight,top:e.floaterTop,left:e.floaterLeft,overflow:e.floaterOverflow,position:e.floaterPosition,transition:e.floated?`background-color ${e.floatingDuration}ms, color ${e.floatingDuration}ms, width ${e.floatingDuration}ms, height ${e.floatingDuration}ms, top ${e.floatingDuration}ms, left ${e.floatingDuration}ms`:void 0})},[r(e.$slots,"image",{},()=>[e.src?(n(),i("img",{key:0,class:t(e.n("image")),style:m({objectFit:e.fit,height:e.toSizeUnit(e.imageHeight),width:e.toSizeUnit(e.imageWidth)}),src:e.src,alt:e.alt},null,14,me)):u("",!0)]),z("div",{class:t(e.n("container"))},[r(e.$slots,"title",{},()=>[e.title?(n(),i("div",{key:0,class:t(e.n("title"))},T(e.title),3)):u("",!0)]),r(e.$slots,"subtitle",{},()=>[e.subtitle?(n(),i("div",{key:0,class:t(e.n("subtitle"))},T(e.subtitle),3)):u("",!0)]),r(e.$slots,"description",{},()=>[e.description?(n(),i("div",{key:0,class:t(e.n("description"))},T(e.description),3)):u("",!0)]),e.$slots.extra?(n(),i("div",{key:0,class:t(e.n("footer"))},[r(e.$slots,"extra")],2)):u("",!0),e.$slots["floating-content"]&&!e.isRow?(n(),i("div",{key:1,class:t(e.n("floating-content")),style:m({height:e.contentHeight,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[r(e.$slots,"floating-content")],6)):u("",!0)],2),e.showFloatingButtons?(n(),i("div",{key:0,class:t(e.classes(e.n("floating-buttons"),e.n("$--box"))),style:m({zIndex:e.zIndex,opacity:e.opacity,transition:`opacity ${e.floatingDuration*2}ms`})},[r(e.$slots,"close-button",{},()=>[F(a,{"var-card-cover":"",round:"",class:t(e.classes(e.n("close-button"),e.n("$-elevation--6"))),onClick:ne(e.close,["stop"])},{default:le(()=>[F(s,{"var-card-cover":"",name:"window-close",class:t(e.n("close-button-icon"))},null,8,["class"])]),_:1},8,["class","onClick"])])],6)):u("",!0)],6),z("div",{class:t(e.n("holder")),style:m({width:e.holderWidth,height:e.holderHeight})},null,6)],6)),[[l,{disabled:!e.ripple||e.floater}]])}const ge=oe(ce,[["render",pe]]);J(ge);export{ge as C}; diff --git a/assets/index-ebb3fb01.js b/assets/index-60111656.js similarity index 87% rename from assets/index-ebb3fb01.js rename to assets/index-60111656.js index 6c8f893e438..85c844118ed 100644 --- a/assets/index-ebb3fb01.js +++ b/assets/index-60111656.js @@ -1 +1 @@ -import{F as E,u as N}from"./provide-c979a783.js";import{d as p,h as W,a as t,c as B,w as D}from"./components-3ae053cb.js";import{u as S}from"./index-64160362.js";import{d as q,D as c,G as b,aY as _,n as z,_ as P,b as I,e as L,m as Y,p as j,v as H,x,q as J}from"./index-af5fec45.js";const K={modelValue:{type:Array,default:()=>[]},max:[String,Number],direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:p(),"onUpdate:modelValue":p()},{name:O,n:Q,classes:R}=B("checkbox-group"),X=q({name:O,components:{VarFormDetails:E},props:K,setup(e){const i=c(()=>e.max),u=c(()=>e.modelValue.length),{length:d,checkboxes:r,bindCheckboxes:m}=S(),{bindForm:s}=N(),{errorMessage:f,validateWithTrigger:y,validate:A,resetValidation:l}=W(),U=c(()=>f.value),h={max:i,checkedCount:u,onChecked:F,onUnchecked:G,validate:C,resetValidation:l,reset:k,errorMessage:U};b(()=>e.modelValue,v,{deep:!0}),b(()=>d.value,v),m(h),t(s,h);function $(a){z(()=>{const{validateTrigger:n,rules:o,modelValue:w}=e;y(n,a,o,w)})}function g(a){t(e["onUpdate:modelValue"],a),t(e.onChange,a),$("onChange")}function F(a){const{modelValue:n}=e;n.includes(a)||g([...n,a])}function G(a){const{modelValue:n}=e;n.includes(a)&&g(n.filter(o=>o!==a))}function v(){return r.forEach(({sync:a})=>a(e.modelValue))}function V(){r.forEach(a=>a.resetWithAnimation())}function M(){const a=r.map(({checkedValue:o})=>o.value),n=_(a);return V(),t(e["onUpdate:modelValue"],n),n}function T(){const a=r.filter(({checked:o})=>!o.value).map(({checkedValue:o})=>o.value),n=_(a);return V(),t(e["onUpdate:modelValue"],n),n}function k(){t(e["onUpdate:modelValue"],[]),l()}function C(){return A(e.rules,e.modelValue)}return{errorMessage:f,n:Q,classes:R,checkAll:M,inverseAll:T,reset:k,validate:C,resetValidation:l}}});function Z(e,i,u,d,r,m){const s=I("var-form-details");return L(),Y("div",{class:x(e.n("wrap"))},[j("div",{class:x(e.classes(e.n(),e.n(`--${e.direction}`)))},[H(e.$slots,"default")],2),J(s,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const ee=P(X,[["render",Z]]);D(ee);export{ee as C}; +import{F as E,u as N}from"./provide-4fc67263.js";import{d as p,h as W,a as t,c as B,w as D}from"./components-a5332e66.js";import{u as S}from"./index-9fe788b6.js";import{d as q,D as c,G as b,aY as _,n as z,_ as P,b as I,e as L,m as Y,p as j,v as H,x,q as J}from"./index-0bd4ebfc.js";const K={modelValue:{type:Array,default:()=>[]},max:[String,Number],direction:{type:String,default:"horizontal"},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onChange:p(),"onUpdate:modelValue":p()},{name:O,n:Q,classes:R}=B("checkbox-group"),X=q({name:O,components:{VarFormDetails:E},props:K,setup(e){const i=c(()=>e.max),u=c(()=>e.modelValue.length),{length:d,checkboxes:r,bindCheckboxes:m}=S(),{bindForm:s}=N(),{errorMessage:f,validateWithTrigger:y,validate:A,resetValidation:l}=W(),U=c(()=>f.value),h={max:i,checkedCount:u,onChecked:F,onUnchecked:G,validate:C,resetValidation:l,reset:k,errorMessage:U};b(()=>e.modelValue,v,{deep:!0}),b(()=>d.value,v),m(h),t(s,h);function $(a){z(()=>{const{validateTrigger:n,rules:o,modelValue:w}=e;y(n,a,o,w)})}function g(a){t(e["onUpdate:modelValue"],a),t(e.onChange,a),$("onChange")}function F(a){const{modelValue:n}=e;n.includes(a)||g([...n,a])}function G(a){const{modelValue:n}=e;n.includes(a)&&g(n.filter(o=>o!==a))}function v(){return r.forEach(({sync:a})=>a(e.modelValue))}function V(){r.forEach(a=>a.resetWithAnimation())}function M(){const a=r.map(({checkedValue:o})=>o.value),n=_(a);return V(),t(e["onUpdate:modelValue"],n),n}function T(){const a=r.filter(({checked:o})=>!o.value).map(({checkedValue:o})=>o.value),n=_(a);return V(),t(e["onUpdate:modelValue"],n),n}function k(){t(e["onUpdate:modelValue"],[]),l()}function C(){return A(e.rules,e.modelValue)}return{errorMessage:f,n:Q,classes:R,checkAll:M,inverseAll:T,reset:k,validate:C,resetValidation:l}}});function Z(e,i,u,d,r,m){const s=I("var-form-details");return L(),Y("div",{class:x(e.n("wrap"))},[j("div",{class:x(e.classes(e.n(),e.n(`--${e.direction}`)))},[H(e.$slots,"default")],2),J(s,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const ee=P(X,[["render",Z]]);D(ee);export{ee as C}; diff --git a/assets/index-f3b8d0a3.js b/assets/index-60e01842.js similarity index 84% rename from assets/index-f3b8d0a3.js rename to assets/index-60e01842.js index e5d15c0dbcf..3d125528d2c 100644 --- a/assets/index-f3b8d0a3.js +++ b/assets/index-60e01842.js @@ -1 +1 @@ -import{_ as f,r as _,F as b,al as w,e as v,m as x,q as i,w as l,U as t,N as S,Q as s,R as a,p as y}from"./index-af5fec45.js";import{B as r}from"./index-84d96475.js";import{D as I}from"./index-414ec72d.js";import{I as h}from"./index-057aa4ba.js";import{C as o}from"./index-37b2a953.js";import{d as C}from"./index-d8fbf18c.js";import{u as N,b as m,_ as T,c as U,a as k}from"./index-2b61c8d0.js";import{A as n}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const z={basicUsage:"基本使用",title:"本草纲目",showSubtitle:"显示副标题",outline:"外边框",subtitle:"我表情悠哉 跳个大概",horizontal:"横向显示",description:"如果华佗再世,崇洋都被医治,外邦来学汉字,激发我民族意识。马钱子、决明子、苍耳子,还有莲子;黄药子、苦豆子、川楝子,我要面子。用我的方式,改写一部历史。没什么别的事,跟着我念几个字。山药当归枸杞 GO,山药 当归 枸杞 GO,看我抓一把中药,服下一帖骄傲~",showImage:"显示图片",useSlot:"使用插槽",action1:"操作 1",action2:"操作 2",showRipple:"水波效果",floating:"漂浮"},B={basicUsage:"Basic Usage",title:"Dangerous",showSubtitle:"Show Subtitle",outline:"Outline",subtitle:"The girl was dangerous",horizontal:"Horizontal",description:"The way she came into the place I knew right then and there.There was something different about this girl.The way she moved her hair her face her lines.Divinity in motion as she stalked the room.I could feel the aura of her presence.Every head turned feeling passion and lust.The girl was persuasive the girl I could not trust.The girl was bad.The girl was dangerous.",showImage:"Show Image",useSlot:"Use Slot",action1:"ACTION 1",action2:"ACTION 2",showRipple:"Ripple Effect",floating:"Floating"},{add:g,use:D,pack:e,packs:it,merge:lt}=N(),O=p=>{k(p),D(p)};m("zh-CN",T);m("en-US",U);g("zh-CN",z);g("en-US",B);const R={class:"card-example-text"},j={__name:"index",setup(p){const c=_(!1);return b(O),w(C),(A,u)=>(v(),x(S,null,[i(t(n),null,{default:l(()=>[s(a(t(e).basicUsage),1)]),_:1}),i(t(o),{title:t(e).title,description:t(e).description},null,8,["title","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).showSubtitle),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).outline),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,outline:"",elevation:"0",description:t(e).description},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).showImage),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description,src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).useSlot),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description,src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{extra:l(()=>[i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action1),1)]),_:1}),i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action2),1)]),_:1})]),_:1},8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).horizontal),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).description,layout:"row",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{extra:l(()=>[i(t(r),{text:"",round:""},{default:l(()=>[i(t(h),{name:"star"})]),_:1}),i(t(r),{round:"",text:""},{default:l(()=>[i(t(h),{name:"heart"})]),_:1})]),_:1},8,["title","subtitle"]),i(t(n),null,{default:l(()=>[s(a(t(e).showRipple),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description,ripple:""},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).floating),1)]),_:1}),i(t(o),{floating:c.value,"onUpdate:floating":u[0]||(u[0]=d=>c.value=d),onClick:u[1]||(u[1]=d=>c.value=!0),title:t(e).title,subtitle:t(e).subtitle,ripple:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{extra:l(()=>[i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action1),1)]),_:1}),i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action2),1)]),_:1})]),"floating-content":l(()=>[i(t(I),{dashed:""}),y("div",R,a(t(e).description),1)]),_:1},8,["floating","title","subtitle"])],64))}},at=f(j,[["__scopeId","data-v-62cae692"]]);export{at as default}; +import{_ as f,r as _,F as b,al as w,e as v,m as x,q as i,w as l,U as t,N as S,Q as s,R as a,p as y}from"./index-0bd4ebfc.js";import{B as r}from"./index-1f1d0c91.js";import{D as I}from"./index-8ac50940.js";import{I as h}from"./index-2c5b74fa.js";import{C as o}from"./index-5ae829a8.js";import{d as C}from"./index-d8fbf18c.js";import{u as N,b as m,_ as T,c as U,a as k}from"./index-4a9c2ae2.js";import{A as n}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const z={basicUsage:"基本使用",title:"本草纲目",showSubtitle:"显示副标题",outline:"外边框",subtitle:"我表情悠哉 跳个大概",horizontal:"横向显示",description:"如果华佗再世,崇洋都被医治,外邦来学汉字,激发我民族意识。马钱子、决明子、苍耳子,还有莲子;黄药子、苦豆子、川楝子,我要面子。用我的方式,改写一部历史。没什么别的事,跟着我念几个字。山药当归枸杞 GO,山药 当归 枸杞 GO,看我抓一把中药,服下一帖骄傲~",showImage:"显示图片",useSlot:"使用插槽",action1:"操作 1",action2:"操作 2",showRipple:"水波效果",floating:"漂浮"},B={basicUsage:"Basic Usage",title:"Dangerous",showSubtitle:"Show Subtitle",outline:"Outline",subtitle:"The girl was dangerous",horizontal:"Horizontal",description:"The way she came into the place I knew right then and there.There was something different about this girl.The way she moved her hair her face her lines.Divinity in motion as she stalked the room.I could feel the aura of her presence.Every head turned feeling passion and lust.The girl was persuasive the girl I could not trust.The girl was bad.The girl was dangerous.",showImage:"Show Image",useSlot:"Use Slot",action1:"ACTION 1",action2:"ACTION 2",showRipple:"Ripple Effect",floating:"Floating"},{add:g,use:D,pack:e,packs:it,merge:lt}=N(),O=p=>{k(p),D(p)};m("zh-CN",T);m("en-US",U);g("zh-CN",z);g("en-US",B);const R={class:"card-example-text"},j={__name:"index",setup(p){const c=_(!1);return b(O),w(C),(A,u)=>(v(),x(S,null,[i(t(n),null,{default:l(()=>[s(a(t(e).basicUsage),1)]),_:1}),i(t(o),{title:t(e).title,description:t(e).description},null,8,["title","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).showSubtitle),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).outline),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,outline:"",elevation:"0",description:t(e).description},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).showImage),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description,src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).useSlot),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description,src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{extra:l(()=>[i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action1),1)]),_:1}),i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action2),1)]),_:1})]),_:1},8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).horizontal),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).description,layout:"row",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{extra:l(()=>[i(t(r),{text:"",round:""},{default:l(()=>[i(t(h),{name:"star"})]),_:1}),i(t(r),{round:"",text:""},{default:l(()=>[i(t(h),{name:"heart"})]),_:1})]),_:1},8,["title","subtitle"]),i(t(n),null,{default:l(()=>[s(a(t(e).showRipple),1)]),_:1}),i(t(o),{title:t(e).title,subtitle:t(e).subtitle,description:t(e).description,ripple:""},null,8,["title","subtitle","description"]),i(t(n),null,{default:l(()=>[s(a(t(e).floating),1)]),_:1}),i(t(o),{floating:c.value,"onUpdate:floating":u[0]||(u[0]=d=>c.value=d),onClick:u[1]||(u[1]=d=>c.value=!0),title:t(e).title,subtitle:t(e).subtitle,ripple:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{extra:l(()=>[i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action1),1)]),_:1}),i(t(r),{text:"",type:"warning"},{default:l(()=>[s(a(t(e).action2),1)]),_:1})]),"floating-content":l(()=>[i(t(I),{dashed:""}),y("div",R,a(t(e).description),1)]),_:1},8,["floating","title","subtitle"])],64))}},at=f(j,[["__scopeId","data-v-62cae692"]]);export{at as default}; diff --git a/assets/index-b0a03cfa.js b/assets/index-6457f840.js similarity index 85% rename from assets/index-b0a03cfa.js rename to assets/index-6457f840.js index 4c90b4c8c48..527fcd1bd98 100644 --- a/assets/index-b0a03cfa.js +++ b/assets/index-6457f840.js @@ -1 +1 @@ -import{A as u}from"./index-2a46eb17.js";import{B as m}from"./index-84d96475.js";import{S as g}from"./index-90c41552.js";import{S as r}from"./index-0ad054ca.js";import{d as V}from"./index-d8fbf18c.js";import{W as $,r as f,F as L,al as M,e as q,m as E,q as n,w as a,U as o,N as Q,Q as s,R as c}from"./index-af5fec45.js";import{u as R,b as T,_ as W,c as Y,a as j}from"./index-2b61c8d0.js";import{A as I}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-d24e7e49.js";import"./lock-7a098446.js";import"./zIndex-a2732bb2.js";import"./provide-c3581da5.js";import"./index-057aa4ba.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const G={functionCall:"函数调用",basicUsage:"基本使用",modifyTitle:"修改标题",componentCall:"组件调用",yourSelected:"您选择的是:",customTitle:"选择一个你喜欢的吧",disableCloseOnClickAction:"禁用点击选项时关闭动作面板",disabled:"禁用选项",customActionStyles:"自定义选项样式"},H={functionCall:"Function Call",basicUsage:"Basic Usage",modifyTitle:"Modify Title",componentCall:"Component Call",yourSelected:"Your selected is:",customTitle:"Choose whichever you like",disableCloseOnClickAction:"Disable close on click action",disabled:"Action Disabled",customActionStyles:"Custom Action Styles"},{add:N,use:J,pack:t,packs:vo,merge:So}=R();function K(y){j(y),J(y)}T("zh-CN",W);T("en-US",Y);N("zh-CN",G);N("en-US",H);const Ao={__name:"index",setup(y){const d=u.Component,w=[{name:"Item 01",icon:"account-circle"},{name:"Item 02",icon:"notebook"},{name:"Item 03",icon:"wifi"}],U=[{name:"Item 01",icon:"account-circle"},{name:"Item 02",icon:"notebook"},{name:"Item 03",icon:"wifi",disabled:!0}],h=[{name:"Item 01",icon:"account-circle",color:"#00c48f"},{name:"Item 02",icon:"notebook",color:"#ff9800"},{name:"Item 03",icon:"wifi",color:"#00afef"}],k=$(w),x=$(U),z=$(h),C=f(!1),b=f(!1),v=f(!1),S=f(!1),A=f(!1);async function B(){const i=await u({actions:w});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}async function O(){const i=await u({actions:w,title:t.value.customTitle});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}async function D(){const i=await u({actions:U});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}async function _(){const i=await u({actions:h});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}function F(){u({actions:[{name:"Item 01",icon:"account-circle"},{name:"Item 02",icon:"notebook"},{name:"Item 03",icon:"wifi"}],closeOnClickAction:!1,onSelect:i=>r(`${t.value.yourSelected}${i.name}`)})}function p(i){r(`${t.value.yourSelected}${i.name}`)}return L(K),M(V),(i,e)=>(q(),E(Q,null,[n(o(I),null,{default:a(()=>[s(c(o(t).functionCall),1)]),_:1}),n(o(g),{direction:"column",size:["3vmin","4vmin"]},{default:a(()=>[n(o(m),{type:"primary",block:"",onClick:B},{default:a(()=>[s(c(o(t).basicUsage),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:O},{default:a(()=>[s(c(o(t).modifyTitle),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:D},{default:a(()=>[s(c(o(t).disabled),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:F},{default:a(()=>[s(c(o(t).disableCloseOnClickAction),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:_},{default:a(()=>[s(c(o(t).customActionStyles),1)]),_:1})]),_:1}),n(o(I),null,{default:a(()=>[s(c(o(t).componentCall),1)]),_:1}),n(o(g),{direction:"column",size:["3vmin","4vmin"]},{default:a(()=>[n(o(m),{type:"warning",block:"",onClick:e[0]||(e[0]=l=>C.value=!0)},{default:a(()=>[s(c(o(t).basicUsage),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[1]||(e[1]=l=>b.value=!0)},{default:a(()=>[s(c(o(t).modifyTitle),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[2]||(e[2]=l=>v.value=!0)},{default:a(()=>[s(c(o(t).disabled),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[3]||(e[3]=l=>S.value=!0)},{default:a(()=>[s(c(o(t).disableCloseOnClickAction),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[4]||(e[4]=l=>A.value=!0)},{default:a(()=>[s(c(o(t).customActionStyles),1)]),_:1})]),_:1}),n(o(d),{actions:k,show:C.value,"onUpdate:show":e[5]||(e[5]=l=>C.value=l),onSelect:p},null,8,["actions","show"]),n(o(d),{title:o(t).customTitle,actions:k,show:b.value,"onUpdate:show":e[6]||(e[6]=l=>b.value=l),onSelect:p},null,8,["title","actions","show"]),n(o(d),{actions:x,show:v.value,"onUpdate:show":e[7]||(e[7]=l=>v.value=l),onSelect:p},null,8,["actions","show"]),n(o(d),{"close-on-click-action":!1,actions:k,show:S.value,"onUpdate:show":e[8]||(e[8]=l=>S.value=l),onSelect:p},null,8,["actions","show"]),n(o(d),{actions:z,show:A.value,"onUpdate:show":e[9]||(e[9]=l=>A.value=l),onSelect:p},null,8,["actions","show"])],64))}};export{Ao as default}; +import{A as u}from"./index-f92ac5ca.js";import{B as m}from"./index-1f1d0c91.js";import{S as g}from"./index-65cffe90.js";import{S as r}from"./index-1ed406cf.js";import{d as V}from"./index-d8fbf18c.js";import{W as $,r as f,F as L,al as M,e as q,m as E,q as n,w as a,U as o,N as Q,Q as s,R as c}from"./index-0bd4ebfc.js";import{u as R,b as T,_ as W,c as Y,a as j}from"./index-4a9c2ae2.js";import{A as I}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-0e439e92.js";import"./lock-e6f4e779.js";import"./zIndex-976ced0e.js";import"./provide-f823f5cd.js";import"./index-2c5b74fa.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const G={functionCall:"函数调用",basicUsage:"基本使用",modifyTitle:"修改标题",componentCall:"组件调用",yourSelected:"您选择的是:",customTitle:"选择一个你喜欢的吧",disableCloseOnClickAction:"禁用点击选项时关闭动作面板",disabled:"禁用选项",customActionStyles:"自定义选项样式"},H={functionCall:"Function Call",basicUsage:"Basic Usage",modifyTitle:"Modify Title",componentCall:"Component Call",yourSelected:"Your selected is:",customTitle:"Choose whichever you like",disableCloseOnClickAction:"Disable close on click action",disabled:"Action Disabled",customActionStyles:"Custom Action Styles"},{add:N,use:J,pack:t,packs:vo,merge:So}=R();function K(y){j(y),J(y)}T("zh-CN",W);T("en-US",Y);N("zh-CN",G);N("en-US",H);const Ao={__name:"index",setup(y){const d=u.Component,w=[{name:"Item 01",icon:"account-circle"},{name:"Item 02",icon:"notebook"},{name:"Item 03",icon:"wifi"}],U=[{name:"Item 01",icon:"account-circle"},{name:"Item 02",icon:"notebook"},{name:"Item 03",icon:"wifi",disabled:!0}],h=[{name:"Item 01",icon:"account-circle",color:"#00c48f"},{name:"Item 02",icon:"notebook",color:"#ff9800"},{name:"Item 03",icon:"wifi",color:"#00afef"}],k=$(w),x=$(U),z=$(h),C=f(!1),b=f(!1),v=f(!1),S=f(!1),A=f(!1);async function B(){const i=await u({actions:w});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}async function O(){const i=await u({actions:w,title:t.value.customTitle});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}async function D(){const i=await u({actions:U});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}async function _(){const i=await u({actions:h});i!=="close"&&r(`${t.value.yourSelected}${i.name}`)}function F(){u({actions:[{name:"Item 01",icon:"account-circle"},{name:"Item 02",icon:"notebook"},{name:"Item 03",icon:"wifi"}],closeOnClickAction:!1,onSelect:i=>r(`${t.value.yourSelected}${i.name}`)})}function p(i){r(`${t.value.yourSelected}${i.name}`)}return L(K),M(V),(i,e)=>(q(),E(Q,null,[n(o(I),null,{default:a(()=>[s(c(o(t).functionCall),1)]),_:1}),n(o(g),{direction:"column",size:["3vmin","4vmin"]},{default:a(()=>[n(o(m),{type:"primary",block:"",onClick:B},{default:a(()=>[s(c(o(t).basicUsage),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:O},{default:a(()=>[s(c(o(t).modifyTitle),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:D},{default:a(()=>[s(c(o(t).disabled),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:F},{default:a(()=>[s(c(o(t).disableCloseOnClickAction),1)]),_:1}),n(o(m),{type:"primary",block:"",onClick:_},{default:a(()=>[s(c(o(t).customActionStyles),1)]),_:1})]),_:1}),n(o(I),null,{default:a(()=>[s(c(o(t).componentCall),1)]),_:1}),n(o(g),{direction:"column",size:["3vmin","4vmin"]},{default:a(()=>[n(o(m),{type:"warning",block:"",onClick:e[0]||(e[0]=l=>C.value=!0)},{default:a(()=>[s(c(o(t).basicUsage),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[1]||(e[1]=l=>b.value=!0)},{default:a(()=>[s(c(o(t).modifyTitle),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[2]||(e[2]=l=>v.value=!0)},{default:a(()=>[s(c(o(t).disabled),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[3]||(e[3]=l=>S.value=!0)},{default:a(()=>[s(c(o(t).disableCloseOnClickAction),1)]),_:1}),n(o(m),{type:"warning",block:"",onClick:e[4]||(e[4]=l=>A.value=!0)},{default:a(()=>[s(c(o(t).customActionStyles),1)]),_:1})]),_:1}),n(o(d),{actions:k,show:C.value,"onUpdate:show":e[5]||(e[5]=l=>C.value=l),onSelect:p},null,8,["actions","show"]),n(o(d),{title:o(t).customTitle,actions:k,show:b.value,"onUpdate:show":e[6]||(e[6]=l=>b.value=l),onSelect:p},null,8,["title","actions","show"]),n(o(d),{actions:x,show:v.value,"onUpdate:show":e[7]||(e[7]=l=>v.value=l),onSelect:p},null,8,["actions","show"]),n(o(d),{"close-on-click-action":!1,actions:k,show:S.value,"onUpdate:show":e[8]||(e[8]=l=>S.value=l),onSelect:p},null,8,["actions","show"]),n(o(d),{actions:z,show:A.value,"onUpdate:show":e[9]||(e[9]=l=>A.value=l),onSelect:p},null,8,["actions","show"])],64))}};export{Ao as default}; diff --git a/assets/index-90c41552.js b/assets/index-65cffe90.js similarity index 87% rename from assets/index-90c41552.js rename to assets/index-65cffe90.js index 0e276ec9466..630f21e1fdc 100644 --- a/assets/index-90c41552.js +++ b/assets/index-65cffe90.js @@ -1 +1 @@ -import{d as I,q as d,a2 as b}from"./index-af5fec45.js";import{a as h,b as j,c as v,w as N}from"./components-3ae053cb.js";import{p as m,a as f}from"./elements-68ad626b.js";/* empty css */const z={size:{type:[String,Number,Array],default:"normal"},wrap:{type:Boolean,default:!0},direction:{type:String,default:"row"},justify:{type:String,default:"flex-start"},align:String,inline:Boolean};function t(e){return`calc(${e} / 2)`}function A(e,a,c){const{direction:s,justify:l,index:i,lastIndex:r}=c;let n="0";return s==="row"&&(["flex-start","center","flex-end","start","end"].includes(l)?i!==r?n=`${t(e)} ${a} ${t(e)} 0`:n=`${t(e)} 0`:l==="space-around"?n=`${t(e)} ${t(a)}`:l==="space-between"&&(i===0?n=`${t(e)} ${t(a)} ${t(e)} 0`:i===r?n=`${t(e)} 0 ${t(e)} ${t(a)}`:n=`${t(e)} ${t(a)}`)),s==="column"&&i!==r&&(n=`0 0 ${e} 0`),n}const B=e=>["mini","small","normal","large"].includes(e),{name:C,n:p,classes:F}=v("space");function q(e,a){return a?[`var(--space-size-${e}-y)`,`var(--space-size-${e}-x)`]:b(e)?e.map(f):[f(e),f(e)]}const D=I({name:C,props:z,setup(e,{slots:a}){return()=>{const{inline:c,justify:s,align:l,wrap:i,direction:r,size:n}=e;let o=h(a.default)??[];const[u,$]=q(n,B(n));o=j(o);const g=o.length-1,w=o.map((S,x)=>{const y=A(u,$,{direction:r,justify:s,index:x,lastIndex:g});return d("div",{style:{margin:y}},[S])});return d("div",{class:F(p(),p("$--box"),[c,p("--inline")]),style:{flexDirection:r,justifyContent:m(s),alignItems:m(l),flexWrap:i?"wrap":"nowrap",margin:r==="row"?`calc(-1 * ${u} / 2) 0`:void 0}},[w])}}});N(D);export{D as S}; +import{d as I,q as d,a2 as b}from"./index-0bd4ebfc.js";import{a as h,b as j,c as v,w as N}from"./components-a5332e66.js";import{p as m,a as f}from"./elements-23c82371.js";/* empty css */const z={size:{type:[String,Number,Array],default:"normal"},wrap:{type:Boolean,default:!0},direction:{type:String,default:"row"},justify:{type:String,default:"flex-start"},align:String,inline:Boolean};function t(e){return`calc(${e} / 2)`}function A(e,a,c){const{direction:s,justify:l,index:i,lastIndex:r}=c;let n="0";return s==="row"&&(["flex-start","center","flex-end","start","end"].includes(l)?i!==r?n=`${t(e)} ${a} ${t(e)} 0`:n=`${t(e)} 0`:l==="space-around"?n=`${t(e)} ${t(a)}`:l==="space-between"&&(i===0?n=`${t(e)} ${t(a)} ${t(e)} 0`:i===r?n=`${t(e)} 0 ${t(e)} ${t(a)}`:n=`${t(e)} ${t(a)}`)),s==="column"&&i!==r&&(n=`0 0 ${e} 0`),n}const B=e=>["mini","small","normal","large"].includes(e),{name:C,n:p,classes:F}=v("space");function q(e,a){return a?[`var(--space-size-${e}-y)`,`var(--space-size-${e}-x)`]:b(e)?e.map(f):[f(e),f(e)]}const D=I({name:C,props:z,setup(e,{slots:a}){return()=>{const{inline:c,justify:s,align:l,wrap:i,direction:r,size:n}=e;let o=h(a.default)??[];const[u,$]=q(n,B(n));o=j(o);const g=o.length-1,w=o.map((S,x)=>{const y=A(u,$,{direction:r,justify:s,index:x,lastIndex:g});return d("div",{style:{margin:y}},[S])});return d("div",{class:F(p(),p("$--box"),[c,p("--inline")]),style:{flexDirection:r,justifyContent:m(s),alignItems:m(l),flexWrap:i?"wrap":"nowrap",margin:r==="row"?`calc(-1 * ${u} / 2) 0`:void 0}},[w])}}});N(D);export{D as S}; diff --git a/assets/index-d408e6ab.js b/assets/index-67cbdf85.js similarity index 94% rename from assets/index-d408e6ab.js rename to assets/index-67cbdf85.js index b2bac217f93..0c56836e7d1 100644 --- a/assets/index-d408e6ab.js +++ b/assets/index-67cbdf85.js @@ -1 +1 @@ -import{B as ye}from"./index-84d96475.js";import{I as be}from"./index-057aa4ba.js";import{H as ke}from"./index-8bbf4ef8.js";import{u as Se}from"./provide-521cd214.js";import{d as Ie,a as $,c as $e,w as Ce}from"./components-3ae053cb.js";import{d as Ne,r as h,D as j,b4 as Pe,G,a8 as ze,aJ as Be,aC as De,a4 as L,aO as Ee,j as R,ae as Ae,aD as He,_ as Le,b as J,L as Re,P as Ve,e as g,m as p,p as Ye,v as C,x as d,y as Q,q as T,w as N,t as y,T as U,aQ as V,as as K,N as We,O as Xe,aR as qe}from"./index-af5fec45.js";import{a as Fe}from"./provide-c3581da5.js";const Oe={loop:{type:Boolean,default:!0},autoplay:[String,Number],duration:{type:[String,Number],default:300},initialIndex:{type:[String,Number],default:0},navigation:{type:[Boolean,String],default:!1},indicator:{type:Boolean,default:!0},indicatorColor:String,vertical:Boolean,touchable:{type:Boolean,default:!0},onChange:Ie()},Me=250,je=20,{name:Ge,n:Z,classes:Je}=$e("swipe"),Qe=Ne({name:Ge,directives:{Hover:ke},components:{VarButton:ye,VarIcon:be},props:Oe,setup(e){const r=h(null),o=h(0),Y=j(()=>e.vertical),f=h(0),i=h(0),c=h(!1),t=h(0),b=h(!1),{swipeItems:s,bindSwipeItems:k,length:n}=Se(),{popup:W,bindPopup:x}=Fe(),{deltaX:_,deltaY:ee,moveX:ae,moveY:ne,offsetX:te,offsetY:le,touching:X,direction:ie,startTime:oe,startTouch:re,moveTouch:ue,endTouch:ve}=Pe(),q=j(()=>ie.value===(e.vertical?"vertical":"horizontal"));let F=!1,P=-1;k({size:o,vertical:Y}),$(x,null),G(()=>n.value,async()=>{await R(),E(),w()}),W&&G(()=>W.show.value,async a=>{a?(await R(),w()):S()}),ze(w),Be(S),De(w);function m(a){return s.find(({index:l})=>l.value===a)}function se(){e.loop&&(i.value>=0&&m(n.value-1).setTranslate(-f.value),i.value<=-(f.value-o.value)&&m(0).setTranslate(f.value),i.value>-(f.value-o.value)&&i.value<0&&(m(n.value-1).setTranslate(0),m(0).setTranslate(0)))}function z(a){const l=Ae(a)?a:Math.floor((i.value-o.value/2)/-o.value),{loop:u}=e;return l<=-1?u?-1:0:l>=n.value?u?n.value:n.value-1:l}function fe(a){const{loop:l}=e;return a===-1?l?n.value-1:0:a===n.value?l?0:n.value-1:a}function B(a){return e.loop?a<0?n.value+a:a>=n.value?a-n.value:a:He(a,0,n.value-1)}async function D(){const a=i.value>=o.value,l=i.value<=-f.value,u=0,v=-(f.value-o.value);c.value=!0,(a||l)&&(c.value=!0,i.value=l?u:v,m(0).setTranslate(0),m(n.value-1).setTranslate(0)),await R(),c.value=!1}function E(){F||(t.value=B(L(e.initialIndex)),F=!0)}function A(){const{autoplay:a}=e;!a||n.value<=1||(S(),P=window.setTimeout(()=>{H(),A()},L(a)))}function S(){P&&clearTimeout(P)}function O(a){i.value=a,se()}async function ce(a){n.value<=1||!e.touchable||(re(a),S(),await D(),c.value=!0)}function de(a){const{touchable:l,vertical:u}=e;!X.value||!l||(ue(a),q.value&&(Ee(a),O(i.value+(u?ne.value:ae.value))))}function me(){if(!X.value||(ve(),!q.value))return;const{vertical:a,onChange:l}=e,u=a?ee.value<0:_.value<0,v=a?le.value:te.value,I=performance.now()-oe.value<=Me&&v>=je?z(u?t.value+1:t.value-1):z();c.value=!1,O(I*-o.value);const we=t.value;t.value=fe(I),A(),we!==t.value&&$(l,t.value)}function he(a){e.navigation==="hover"&&(b.value=a)}function ge(a){return e.navigation!=="hover"?"":Z(`--navigation${e.vertical?"-vertical":""}-${a}-animation`)}function w(){r.value&&(c.value=!0,o.value=e.vertical?r.value.offsetHeight:r.value.offsetWidth,f.value=o.value*n.value,i.value=t.value*-o.value,s.forEach(a=>{a.setTranslate(0)}),A(),setTimeout(()=>{c.value=!1}))}async function H(a){if(n.value<=1)return;E();const{loop:l,onChange:u}=e,v=t.value;if(t.value=B(v+1),(a==null?void 0:a.event)!==!1&&$(u,t.value),await D(),v===n.value-1&&l){m(0).setTranslate(f.value),i.value=n.value*-o.value;return}v!==n.value-1&&(i.value=t.value*-o.value)}async function M(a){if(n.value<=1)return;E();const{loop:l,onChange:u}=e,v=t.value;if(t.value=B(v-1),(a==null?void 0:a.event)!==!1&&$(u,t.value),await D(),v===0&&l){m(n.value-1).setTranslate(-f.value),i.value=o.value;return}v!==0&&(i.value=t.value*-o.value)}function pe(a,l){if(n.value<=1||a===t.value)return;a=a<0?0:a,a=a>=n.value?n.value:a;const u=a>t.value?H:M,v=Math.abs(a-t.value);Array.from({length:v}).forEach((Te,I)=>{u({event:I===v-1?l==null?void 0:l.event:!1})})}return{length:n,index:t,swipeEl:r,trackSize:f,trackTranslate:i,lockDuration:c,hovering:b,n:Z,classes:Je,handleTouchstart:ce,handleTouchmove:de,handleTouchend:me,next:H,prev:M,to:pe,resize:w,toNumber:L,handleHovering:he,getNavigationAnimation:ge}}});const Ue=["onClick"];function Ke(e,r,o,Y,f,i){const c=J("var-icon"),t=J("var-button"),b=Re("hover");return Ve((g(),p("div",{class:d(e.n()),ref:"swipeEl"},[Ye("div",{class:d(e.classes(e.n("track"),[e.vertical,e.n("--vertical")])),style:Q({width:e.vertical?void 0:`${e.trackSize}px`,height:e.vertical?`${e.trackSize}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.trackTranslate}px)`,transitionDuration:e.lockDuration?"0ms":`${e.toNumber(e.duration)}ms`}),onTouchstart:r[0]||(r[0]=(...s)=>e.handleTouchstart&&e.handleTouchstart(...s)),onTouchmove:r[1]||(r[1]=(...s)=>e.handleTouchmove&&e.handleTouchmove(...s)),onTouchend:r[2]||(r[2]=(...s)=>e.handleTouchend&&e.handleTouchend(...s))},[C(e.$slots,"default")],38),e.navigation?C(e.$slots,"prev",V(K({key:0},{index:e.index,length:e.length,prev:e.prev,next:e.next,to:e.to,hovering:e.hovering})),()=>[T(U,{name:e.getNavigationAnimation("prev")},{default:N(()=>[e.navigation===!0||e.hovering?(g(),p("div",{key:0,class:d(e.classes(e.n("navigation"),e.n("navigation-prev"),[e.vertical,e.n("--navigation-vertical-prev")]))},[T(t,{"var-swipe-cover":"",disabled:!e.loop&&e.index===0,class:d(e.n("navigation-prev-button")),onClick:r[3]||(r[3]=s=>e.prev())},{default:N(()=>[T(c,{"var-swipe-cover":"",class:d(e.n("navigation-prev-button-icon")),name:e.vertical?"chevron-up":"chevron-left"},null,8,["class","name"])]),_:1},8,["disabled","class"])],2)):y("",!0)]),_:1},8,["name"])]):y("",!0),e.navigation?C(e.$slots,"next",V(K({key:1},{index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[T(U,{name:e.getNavigationAnimation("next")},{default:N(()=>[e.navigation===!0||e.hovering?(g(),p("div",{key:0,class:d(e.classes(e.n("navigation"),e.n("navigation-next"),[e.vertical,e.n("--navigation-vertical-next")]))},[T(t,{"var-swipe-cover":"",class:d(e.n("navigation-next-button")),disabled:!e.loop&&e.index===e.length-1,onClick:r[4]||(r[4]=s=>e.next())},{default:N(()=>[T(c,{"var-swipe-cover":"",class:d(e.n("navigation-next-button-icon")),name:e.vertical?"chevron-down":"chevron-right"},null,8,["class","name"])]),_:1},8,["class","disabled"])],2)):y("",!0)]),_:1},8,["name"])]):y("",!0),C(e.$slots,"indicator",V(qe({index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[e.indicator&&e.length?(g(),p("div",{key:0,class:d(e.classes(e.n("indicators"),[e.vertical,e.n("--indicators-vertical")]))},[(g(!0),p(We,null,Xe(e.length,(s,k)=>(g(),p("div",{class:d(e.classes(e.n("indicator"),[e.index===k,e.n("--indicator-active")],[e.vertical,e.n("--indicator-vertical")])),style:Q({background:e.indicatorColor}),key:s,onClick:n=>e.to(k)},null,14,Ue))),128))],2)):y("",!0)])],2)),[[b,e.handleHovering]])}const Ze=Le(Qe,[["render",Ke]]);Ce(Ze);export{Ze as S,Oe as p}; +import{B as ye}from"./index-1f1d0c91.js";import{I as be}from"./index-2c5b74fa.js";import{H as ke}from"./index-27fcaf7d.js";import{u as Se}from"./provide-e4d73c18.js";import{d as Ie,a as $,c as $e,w as Ce}from"./components-a5332e66.js";import{d as Ne,r as h,D as j,b4 as Pe,G,a8 as ze,aJ as Be,aC as De,a4 as L,aO as Ee,j as R,ae as Ae,aD as He,_ as Le,b as J,L as Re,P as Ve,e as g,m as p,p as Ye,v as C,x as d,y as Q,q as T,w as N,t as y,T as U,aQ as V,as as K,N as We,O as Xe,aR as qe}from"./index-0bd4ebfc.js";import{a as Fe}from"./provide-f823f5cd.js";const Oe={loop:{type:Boolean,default:!0},autoplay:[String,Number],duration:{type:[String,Number],default:300},initialIndex:{type:[String,Number],default:0},navigation:{type:[Boolean,String],default:!1},indicator:{type:Boolean,default:!0},indicatorColor:String,vertical:Boolean,touchable:{type:Boolean,default:!0},onChange:Ie()},Me=250,je=20,{name:Ge,n:Z,classes:Je}=$e("swipe"),Qe=Ne({name:Ge,directives:{Hover:ke},components:{VarButton:ye,VarIcon:be},props:Oe,setup(e){const r=h(null),o=h(0),Y=j(()=>e.vertical),f=h(0),i=h(0),c=h(!1),t=h(0),b=h(!1),{swipeItems:s,bindSwipeItems:k,length:n}=Se(),{popup:W,bindPopup:x}=Fe(),{deltaX:_,deltaY:ee,moveX:ae,moveY:ne,offsetX:te,offsetY:le,touching:X,direction:ie,startTime:oe,startTouch:re,moveTouch:ue,endTouch:ve}=Pe(),q=j(()=>ie.value===(e.vertical?"vertical":"horizontal"));let F=!1,P=-1;k({size:o,vertical:Y}),$(x,null),G(()=>n.value,async()=>{await R(),E(),w()}),W&&G(()=>W.show.value,async a=>{a?(await R(),w()):S()}),ze(w),Be(S),De(w);function m(a){return s.find(({index:l})=>l.value===a)}function se(){e.loop&&(i.value>=0&&m(n.value-1).setTranslate(-f.value),i.value<=-(f.value-o.value)&&m(0).setTranslate(f.value),i.value>-(f.value-o.value)&&i.value<0&&(m(n.value-1).setTranslate(0),m(0).setTranslate(0)))}function z(a){const l=Ae(a)?a:Math.floor((i.value-o.value/2)/-o.value),{loop:u}=e;return l<=-1?u?-1:0:l>=n.value?u?n.value:n.value-1:l}function fe(a){const{loop:l}=e;return a===-1?l?n.value-1:0:a===n.value?l?0:n.value-1:a}function B(a){return e.loop?a<0?n.value+a:a>=n.value?a-n.value:a:He(a,0,n.value-1)}async function D(){const a=i.value>=o.value,l=i.value<=-f.value,u=0,v=-(f.value-o.value);c.value=!0,(a||l)&&(c.value=!0,i.value=l?u:v,m(0).setTranslate(0),m(n.value-1).setTranslate(0)),await R(),c.value=!1}function E(){F||(t.value=B(L(e.initialIndex)),F=!0)}function A(){const{autoplay:a}=e;!a||n.value<=1||(S(),P=window.setTimeout(()=>{H(),A()},L(a)))}function S(){P&&clearTimeout(P)}function O(a){i.value=a,se()}async function ce(a){n.value<=1||!e.touchable||(re(a),S(),await D(),c.value=!0)}function de(a){const{touchable:l,vertical:u}=e;!X.value||!l||(ue(a),q.value&&(Ee(a),O(i.value+(u?ne.value:ae.value))))}function me(){if(!X.value||(ve(),!q.value))return;const{vertical:a,onChange:l}=e,u=a?ee.value<0:_.value<0,v=a?le.value:te.value,I=performance.now()-oe.value<=Me&&v>=je?z(u?t.value+1:t.value-1):z();c.value=!1,O(I*-o.value);const we=t.value;t.value=fe(I),A(),we!==t.value&&$(l,t.value)}function he(a){e.navigation==="hover"&&(b.value=a)}function ge(a){return e.navigation!=="hover"?"":Z(`--navigation${e.vertical?"-vertical":""}-${a}-animation`)}function w(){r.value&&(c.value=!0,o.value=e.vertical?r.value.offsetHeight:r.value.offsetWidth,f.value=o.value*n.value,i.value=t.value*-o.value,s.forEach(a=>{a.setTranslate(0)}),A(),setTimeout(()=>{c.value=!1}))}async function H(a){if(n.value<=1)return;E();const{loop:l,onChange:u}=e,v=t.value;if(t.value=B(v+1),(a==null?void 0:a.event)!==!1&&$(u,t.value),await D(),v===n.value-1&&l){m(0).setTranslate(f.value),i.value=n.value*-o.value;return}v!==n.value-1&&(i.value=t.value*-o.value)}async function M(a){if(n.value<=1)return;E();const{loop:l,onChange:u}=e,v=t.value;if(t.value=B(v-1),(a==null?void 0:a.event)!==!1&&$(u,t.value),await D(),v===0&&l){m(n.value-1).setTranslate(-f.value),i.value=o.value;return}v!==0&&(i.value=t.value*-o.value)}function pe(a,l){if(n.value<=1||a===t.value)return;a=a<0?0:a,a=a>=n.value?n.value:a;const u=a>t.value?H:M,v=Math.abs(a-t.value);Array.from({length:v}).forEach((Te,I)=>{u({event:I===v-1?l==null?void 0:l.event:!1})})}return{length:n,index:t,swipeEl:r,trackSize:f,trackTranslate:i,lockDuration:c,hovering:b,n:Z,classes:Je,handleTouchstart:ce,handleTouchmove:de,handleTouchend:me,next:H,prev:M,to:pe,resize:w,toNumber:L,handleHovering:he,getNavigationAnimation:ge}}});const Ue=["onClick"];function Ke(e,r,o,Y,f,i){const c=J("var-icon"),t=J("var-button"),b=Re("hover");return Ve((g(),p("div",{class:d(e.n()),ref:"swipeEl"},[Ye("div",{class:d(e.classes(e.n("track"),[e.vertical,e.n("--vertical")])),style:Q({width:e.vertical?void 0:`${e.trackSize}px`,height:e.vertical?`${e.trackSize}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.trackTranslate}px)`,transitionDuration:e.lockDuration?"0ms":`${e.toNumber(e.duration)}ms`}),onTouchstart:r[0]||(r[0]=(...s)=>e.handleTouchstart&&e.handleTouchstart(...s)),onTouchmove:r[1]||(r[1]=(...s)=>e.handleTouchmove&&e.handleTouchmove(...s)),onTouchend:r[2]||(r[2]=(...s)=>e.handleTouchend&&e.handleTouchend(...s))},[C(e.$slots,"default")],38),e.navigation?C(e.$slots,"prev",V(K({key:0},{index:e.index,length:e.length,prev:e.prev,next:e.next,to:e.to,hovering:e.hovering})),()=>[T(U,{name:e.getNavigationAnimation("prev")},{default:N(()=>[e.navigation===!0||e.hovering?(g(),p("div",{key:0,class:d(e.classes(e.n("navigation"),e.n("navigation-prev"),[e.vertical,e.n("--navigation-vertical-prev")]))},[T(t,{"var-swipe-cover":"",disabled:!e.loop&&e.index===0,class:d(e.n("navigation-prev-button")),onClick:r[3]||(r[3]=s=>e.prev())},{default:N(()=>[T(c,{"var-swipe-cover":"",class:d(e.n("navigation-prev-button-icon")),name:e.vertical?"chevron-up":"chevron-left"},null,8,["class","name"])]),_:1},8,["disabled","class"])],2)):y("",!0)]),_:1},8,["name"])]):y("",!0),e.navigation?C(e.$slots,"next",V(K({key:1},{index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[T(U,{name:e.getNavigationAnimation("next")},{default:N(()=>[e.navigation===!0||e.hovering?(g(),p("div",{key:0,class:d(e.classes(e.n("navigation"),e.n("navigation-next"),[e.vertical,e.n("--navigation-vertical-next")]))},[T(t,{"var-swipe-cover":"",class:d(e.n("navigation-next-button")),disabled:!e.loop&&e.index===e.length-1,onClick:r[4]||(r[4]=s=>e.next())},{default:N(()=>[T(c,{"var-swipe-cover":"",class:d(e.n("navigation-next-button-icon")),name:e.vertical?"chevron-down":"chevron-right"},null,8,["class","name"])]),_:1},8,["class","disabled"])],2)):y("",!0)]),_:1},8,["name"])]):y("",!0),C(e.$slots,"indicator",V(qe({index:e.index,length:e.length,hovering:e.hovering,prev:e.prev,next:e.next,to:e.to})),()=>[e.indicator&&e.length?(g(),p("div",{key:0,class:d(e.classes(e.n("indicators"),[e.vertical,e.n("--indicators-vertical")]))},[(g(!0),p(We,null,Xe(e.length,(s,k)=>(g(),p("div",{class:d(e.classes(e.n("indicator"),[e.index===k,e.n("--indicator-active")],[e.vertical,e.n("--indicator-vertical")])),style:Q({background:e.indicatorColor}),key:s,onClick:n=>e.to(k)},null,14,Ue))),128))],2)):y("",!0)])],2)),[[b,e.handleHovering]])}const Ze=Le(Qe,[["render",Ke]]);Ce(Ze);export{Ze as S,Oe as p}; diff --git a/assets/index-3bba4878.js b/assets/index-69767522.js similarity index 75% rename from assets/index-3bba4878.js rename to assets/index-69767522.js index 5ff08f64ef7..844d6e61635 100644 --- a/assets/index-3bba4878.js +++ b/assets/index-69767522.js @@ -1 +1 @@ -import{r as x,F as V,al as S,e as p,m as _,q as t,w as o,U as e,N as w,Q as a,R as r,O as g,f as B,M as N}from"./index-af5fec45.js";import{I as m}from"./index-057aa4ba.js";import"./index-42977d64.js";import{S as D}from"./index-e47c1801.js";import{C as s}from"./index-4237591d.js";import{d as I}from"./index-d8fbf18c.js";import{u as v,b,_ as z,c as L,a as y}from"./index-2b61c8d0.js";import{V as A}from"./Paper-4d3d3dd5.js";import{A as l}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./provide-c979a783.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-8bbf4ef8.js";import"./index-2c1498a1.js";const M={basicUsage:"基本使用",showIcon:"显示图标",showDesc:"显示描述",showBorder:"显示边框",content:"这是单元格",description:"描述",list:"用作列表项"},T={basicUsage:"Basic Usage",showIcon:"Show Icon",showDesc:"Show Description",showBorder:"Show Border",content:"This is Cell",description:"Description",list:"Use As List Item"},{add:C,use:$,pack:n,packs:ne,merge:ae}=v(),F=c=>{y(c),$(c)};b("zh-CN",z);b("en-US",L);C("zh-CN",M);C("en-US",T);const re={__name:"index",setup(c){const u=x([{name:"Vue2",icon:"star",enabled:!1},{name:"Vue3",icon:"heart",enabled:!1},{name:"React",icon:"close-circle",enabled:!1}]),k=d=>{d.enabled=!d.enabled};return V(F),S(I),(d,f)=>(p(),_(w,null,[t(e(l),null,{default:o(()=>[a(r(e(n).basicUsage),1)]),_:1}),t(e(s),null,{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(s),null,{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(l),null,{default:o(()=>[a(r(e(n).showIcon),1)]),_:1}),t(e(s),{icon:"fire",title:e(n).content},{extra:o(()=>[t(e(m),{name:"information"})]),_:1},8,["title"]),t(e(s),{icon:"fire",title:e(n).content},{extra:o(()=>[t(e(m),{name:"information"})]),_:1},8,["title"]),t(e(l),null,{default:o(()=>[a(r(e(n).showDesc),1)]),_:1}),t(e(s),{icon:"fire",title:e(n).content,description:e(n).description},{extra:o(()=>[t(e(m),{name:"information"})]),_:1},8,["title","description"]),t(e(s),{title:e(n).content,description:e(n).description},null,8,["title","description"]),t(e(l),null,{default:o(()=>[a(r(e(n).showBorder),1)]),_:1}),t(e(s),{border:""},{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(s),{border:""},{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(l),null,{default:o(()=>[a(r(e(n).list),1)]),_:1}),t(e(A),{elevation:2},{default:o(()=>[(p(!0),_(w,null,g(u.value,(i,U)=>(p(),B(e(s),{key:i.name,ripple:"",icon:i.icon,border:U!==u.value.length-1,"border-offset":0,onClick:h=>k(i)},{extra:o(()=>[t(e(D),{modelValue:i.enabled,"onUpdate:modelValue":h=>i.enabled=h,onClick:f[0]||(f[0]=N(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])]),default:o(()=>[a(r(i.name)+" ",1)]),_:2},1032,["icon","border","onClick"]))),128))]),_:1})],64))}};export{re as default}; +import{r as x,F as V,al as S,e as p,m as _,q as t,w as o,U as e,N as w,Q as a,R as r,O as g,f as B,M as N}from"./index-0bd4ebfc.js";import{I as m}from"./index-2c5b74fa.js";import"./index-2b5c6686.js";import{S as D}from"./index-0fd7c0ec.js";import{C as s}from"./index-3f170ae4.js";import{d as I}from"./index-d8fbf18c.js";import{u as v,b,_ as z,c as L,a as y}from"./index-4a9c2ae2.js";import{V as A}from"./Paper-e2cdc119.js";import{A as l}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./provide-4fc67263.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-27fcaf7d.js";import"./index-d956da3f.js";const M={basicUsage:"基本使用",showIcon:"显示图标",showDesc:"显示描述",showBorder:"显示边框",content:"这是单元格",description:"描述",list:"用作列表项"},T={basicUsage:"Basic Usage",showIcon:"Show Icon",showDesc:"Show Description",showBorder:"Show Border",content:"This is Cell",description:"Description",list:"Use As List Item"},{add:C,use:$,pack:n,packs:ne,merge:ae}=v(),F=c=>{y(c),$(c)};b("zh-CN",z);b("en-US",L);C("zh-CN",M);C("en-US",T);const re={__name:"index",setup(c){const u=x([{name:"Vue2",icon:"star",enabled:!1},{name:"Vue3",icon:"heart",enabled:!1},{name:"React",icon:"close-circle",enabled:!1}]),k=d=>{d.enabled=!d.enabled};return V(F),S(I),(d,f)=>(p(),_(w,null,[t(e(l),null,{default:o(()=>[a(r(e(n).basicUsage),1)]),_:1}),t(e(s),null,{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(s),null,{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(l),null,{default:o(()=>[a(r(e(n).showIcon),1)]),_:1}),t(e(s),{icon:"fire",title:e(n).content},{extra:o(()=>[t(e(m),{name:"information"})]),_:1},8,["title"]),t(e(s),{icon:"fire",title:e(n).content},{extra:o(()=>[t(e(m),{name:"information"})]),_:1},8,["title"]),t(e(l),null,{default:o(()=>[a(r(e(n).showDesc),1)]),_:1}),t(e(s),{icon:"fire",title:e(n).content,description:e(n).description},{extra:o(()=>[t(e(m),{name:"information"})]),_:1},8,["title","description"]),t(e(s),{title:e(n).content,description:e(n).description},null,8,["title","description"]),t(e(l),null,{default:o(()=>[a(r(e(n).showBorder),1)]),_:1}),t(e(s),{border:""},{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(s),{border:""},{default:o(()=>[a(r(e(n).content),1)]),_:1}),t(e(l),null,{default:o(()=>[a(r(e(n).list),1)]),_:1}),t(e(A),{elevation:2},{default:o(()=>[(p(!0),_(w,null,g(u.value,(i,U)=>(p(),B(e(s),{key:i.name,ripple:"",icon:i.icon,border:U!==u.value.length-1,"border-offset":0,onClick:h=>k(i)},{extra:o(()=>[t(e(D),{modelValue:i.enabled,"onUpdate:modelValue":h=>i.enabled=h,onClick:f[0]||(f[0]=N(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])]),default:o(()=>[a(r(i.name)+" ",1)]),_:2},1032,["icon","border","onClick"]))),128))]),_:1})],64))}};export{re as default}; diff --git a/assets/index-08f96192.js b/assets/index-6f504879.js similarity index 87% rename from assets/index-08f96192.js rename to assets/index-6f504879.js index 8a702c95c65..a31eeeef359 100644 --- a/assets/index-08f96192.js +++ b/assets/index-6f504879.js @@ -1 +1 @@ -import{d as G,r as f,G as O,aE as q,aV as H,q as a,T as P,P as D,Y as E,as as Q,aw as Y,_ as J,F as K,al as W,e as X,m as Z,w as l,y as ee,U as t,M as $,N as te,Q as n,R as g}from"./index-af5fec45.js";import{B as h}from"./index-84d96475.js";import{p as z,I as T}from"./index-057aa4ba.js";import{D as ae}from"./index-6f3dff2b.js";import{p as U,d as C,g as le,b as ie,a as V,c as oe,w as ne}from"./components-3ae053cb.js";import{a as B}from"./elements-68ad626b.js";/* empty css */import"./index-2b41cfe8.js";import{R as m,a as A}from"./index-76cdf136.js";import{S as j}from"./index-e47c1801.js";import{O as x,S as de}from"./index-b08b685e.js";import{d as re}from"./index-d8fbf18c.js";import{S as ue}from"./index-eb9351e0.js";import{u as ce,b as R,_ as se,c as ge,a as fe}from"./index-2b61c8d0.js";import{A as b}from"./appType-53211ea9.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./logger-525ef361.js";import"./index-e95cf05b.js";import"./provide-c979a783.js";import"./index-3f206173.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./index-83ee7fa7.js";import"./index-939959a8.js";import"./useSelectController-4054913f.js";import"./index-64160362.js";const me={active:Boolean,show:{type:Boolean,default:!0},drag:{type:[Object,Boolean],default:!1},type:{type:String,default:"primary"},position:{type:String,default:"right-bottom"},direction:{type:String,default:"top"},trigger:{type:String,default:"click"},disabled:Boolean,color:String,inactiveIcon:{type:String,default:"plus"},activeIcon:{type:String,default:"window-close"},inactiveIconSize:U(z,"size"),activeIconSize:U(z,"size"),inactiveIconNamespace:U(z,"namespace"),activeIconNamespace:U(z,"namespace"),fixed:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:90},top:[Number,String],bottom:[Number,String],left:[Number,String],right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},safeArea:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onClick:C(),onOpen:C(),onOpened:C(),onClose:C(),onClosed:C(),"onUpdate:active":C()};function ve(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Y(e)}const{name:be,classes:M,n:c}=oe("fab"),F=G({name:be,inheritAttrs:!1,props:me,setup(e,{slots:p,attrs:N}){const o=le(e,"active"),y=f(null),_=f(null);O(()=>e.trigger,()=>{o.value=!1}),O(()=>e.disabled,()=>{o.value=!1}),O(()=>[e.position,e.fixed,e.top,e.bottom,e.left,e.right],()=>{var u;(u=_.value)==null||u.reset()}),q(y,"click",v);function k(u,s,w){if(u.stopPropagation(),!(e.trigger!=="click"||e.disabled)){if(w===0){V(e.onClick,o.value,u);return}o.value=s,V(e.onClick,o.value,u),V(o.value?e.onOpen:e.onClose)}}function S(u,s){e.trigger!=="hover"||e.disabled||s===0||(o.value=u,V(o.value?e.onOpen:e.onClose))}function v(){e.trigger!=="click"||e.disabled||o.value!==!1&&(o.value=!1,V(e.onClose))}function I(){return p.trigger?e.show?p.trigger({active:o.value}):null:D(a(h,{"var-fab-cover":!0,class:c("trigger"),type:e.type,color:e.color,disabled:e.disabled,elevation:e.elevation,round:!0},{default:()=>[a(T,{"var-fab-cover":!0,class:M([o.value,c("trigger-active-icon"),c("trigger-inactive-icon")]),name:o.value?e.activeIcon:e.inactiveIcon,size:o.value?e.activeIconSize:e.inactiveIconSize,namespace:o.value?e.activeIconNamespace:e.inactiveIconNamespace,transition:200,animationClass:c("--trigger-icon-animation")},null)]}),[[E,e.show]])}return()=>{let u;const s=ie(V(p.default)??[]),w=H(e.drag)?{}:e.drag;return a(ae,Q({ref:_,class:M(c(`--position-${e.position}`),[!e.fixed,c("--absolute")]),style:{top:B(e.top),bottom:B(e.bottom),left:B(e.left),right:B(e.right)},zIndex:e.zIndex,teleport:e.teleport,disabled:e.disabled||!e.drag||!e.fixed,direction:w.direction,attraction:w.attraction,boundary:w.boundary,onClick:i=>k(i,!o.value,s.length)},N),{default:()=>[a("div",{class:M(c(),c(`--direction-${e.direction}`),[e.safeArea,c("--safe-area")]),ref:y,onMouseleave:()=>S(!1,s.length),onMouseenter:()=>S(!0,s.length)},[a(P,{name:c("--active-transition")},ve(u=I())?u:{default:()=>[u]}),a(P,{name:c(`--actions-transition-${e.direction}`),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[D(a("div",{class:c("actions"),onClick:i=>i.stopPropagation()},[s.map(i=>a("div",{class:c("action")},[i]))]),[[E,e.show&&o.value&&s.length]])]})])]})}}});ne(F);const pe={type:"主题色按钮",trigger:"触发方式",direction:"动作菜单弹出方向",position:"触发器位置",default:"默认",primary:"主要",info:"信息",success:"成功",warning:"警告",danger:"危险",drag:"拖拽",disabled:"禁用",elevation:"海拔效果",triggerToggle:"触发器显示/隐藏",actionsToggle:"动作菜单展开/收起",toggle:"切换"},ye={type:"Theme Color Button",trigger:"Trigger Method",direction:"Action Menu Popup Direction",position:"Trigger Position",default:"default",primary:"primary",info:"info",success:"success",warning:"warning",danger:"danger",drag:"Drag",disabled:"Disabled",elevation:"Elevation Effect",triggerToggle:"Trigger Show/Hide",actionsToggle:"Action Menu Expand/Collapse",toggle:"Toggle"},{add:L,use:he,pack:d,packs:Ke,merge:We}=ce(),_e=e=>{fe(e),he(e)};R("zh-CN",se);R("en-US",ge);L("zh-CN",pe);L("en-US",ye);const ke={__name:"index",setup(e){const p=f("primary"),N=f("click"),o=f("top"),y=f("right-bottom"),_=f(!0),k=f(!1),S=f(!1),v=f(!1),I=f(2);function u(){_.value=!_.value}function s(){k.value=!k.value}return K(_e),W(re),(w,i)=>(X(),Z(te,null,[a(t(b),{style:ee({marginTop:y.value.includes("top")?"20vmin":void 0})},{default:l(()=>[n(g(t(d).type),1)]),_:1},8,["style"]),a(t(de),{hint:!1,modelValue:p.value,"onUpdate:modelValue":i[0]||(i[0]=r=>p.value=r)},{default:l(()=>[a(t(x),{label:t(d).default,value:"default"},null,8,["label"]),a(t(x),{label:t(d).primary,value:"primary"},null,8,["label"]),a(t(x),{label:t(d).info,value:"info"},null,8,["label"]),a(t(x),{label:t(d).success,value:"success"},null,8,["label"]),a(t(x),{label:t(d).warning,value:"warning"},null,8,["label"]),a(t(x),{label:t(d).danger,value:"danger"},null,8,["label"])]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).position),1)]),_:1}),a(t(A),{modelValue:y.value,"onUpdate:modelValue":i[1]||(i[1]=r=>y.value=r)},{default:l(()=>[a(t(m),{"checked-value":"left-top"},{default:l(()=>[n("left-top")]),_:1}),a(t(m),{"checked-value":"right-top"},{default:l(()=>[n("right-top")]),_:1}),a(t(m),{"checked-value":"left-bottom"},{default:l(()=>[n("left-bottom")]),_:1}),a(t(m),{"checked-value":"right-bottom"},{default:l(()=>[n("right-bottom")]),_:1})]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).trigger),1)]),_:1}),a(t(A),{modelValue:N.value,"onUpdate:modelValue":i[2]||(i[2]=r=>N.value=r)},{default:l(()=>[a(t(m),{"checked-value":"click"},{default:l(()=>[n("click")]),_:1}),a(t(m),{"checked-value":"hover"},{default:l(()=>[n("hover")]),_:1})]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).direction),1)]),_:1}),a(t(A),{modelValue:o.value,"onUpdate:modelValue":i[3]||(i[3]=r=>o.value=r)},{default:l(()=>[a(t(m),{"checked-value":"top"},{default:l(()=>[n("top")]),_:1}),a(t(m),{"checked-value":"right"},{default:l(()=>[n("right")]),_:1}),a(t(m),{"checked-value":"bottom"},{default:l(()=>[n("bottom")]),_:1}),a(t(m),{"checked-value":"left"},{default:l(()=>[n("left")]),_:1})]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).drag),1)]),_:1}),a(t(j),{modelValue:S.value,"onUpdate:modelValue":i[4]||(i[4]=r=>S.value=r)},null,8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).disabled),1)]),_:1}),a(t(j),{modelValue:v.value,"onUpdate:modelValue":i[5]||(i[5]=r=>v.value=r)},null,8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).elevation),1)]),_:1}),a(t(ue),{max:"24",modelValue:I.value,"onUpdate:modelValue":i[6]||(i[6]=r=>I.value=r)},null,8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).triggerToggle),1)]),_:1}),a(t(h),{type:"primary",onClick:$(u,["stop"])},{default:l(()=>[n(g(t(d).toggle),1)]),_:1},8,["onClick"]),a(t(b),null,{default:l(()=>[n(g(t(d).actionsToggle),1)]),_:1}),a(t(h),{type:"primary",onClick:$(s,["stop"])},{default:l(()=>[n(g(t(d).toggle),1)]),_:1},8,["onClick"]),a(t(F),{active:k.value,"onUpdate:active":i[7]||(i[7]=r=>k.value=r),show:_.value,type:p.value,position:y.value,direction:o.value,trigger:N.value,drag:S.value,disabled:v.value,elevation:I.value},{default:l(()=>[a(t(h),{class:"action",type:"info",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"account-circle"})]),_:1},8,["disabled"]),a(t(h),{class:"action",type:"success",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"checkbox-marked-circle"})]),_:1},8,["disabled"]),a(t(h),{class:"action",type:"warning",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"bell"})]),_:1},8,["disabled"]),a(t(h),{class:"action",type:"danger",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"delete"})]),_:1},8,["disabled"])]),_:1},8,["active","show","type","position","direction","trigger","drag","disabled","elevation"])],64))}},Xe=J(ke,[["__scopeId","data-v-0bda000d"]]);export{Xe as default}; +import{d as G,r as f,G as O,aE as q,aV as H,q as a,T as P,P as D,Y as E,as as Q,aw as Y,_ as J,F as K,al as W,e as X,m as Z,w as l,y as ee,U as t,M as $,N as te,Q as n,R as g}from"./index-0bd4ebfc.js";import{B as h}from"./index-1f1d0c91.js";import{p as z,I as T}from"./index-2c5b74fa.js";import{D as ae}from"./index-7e655bd3.js";import{p as U,d as C,g as le,b as ie,a as V,c as oe,w as ne}from"./components-a5332e66.js";import{a as B}from"./elements-23c82371.js";/* empty css */import"./index-28dcc9be.js";import{R as m,a as A}from"./index-1ec6d5a5.js";import{S as j}from"./index-0fd7c0ec.js";import{O as x,S as de}from"./index-0c036f3e.js";import{d as re}from"./index-d8fbf18c.js";import{S as ue}from"./index-1128f16a.js";import{u as ce,b as R,_ as se,c as ge,a as fe}from"./index-4a9c2ae2.js";import{A as b}from"./appType-a8f87391.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./logger-525ef361.js";import"./index-9eb15296.js";import"./provide-4fc67263.js";import"./index-5540406a.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./index-123e4258.js";import"./index-d5ac26b6.js";import"./useSelectController-4200caca.js";import"./index-9fe788b6.js";const me={active:Boolean,show:{type:Boolean,default:!0},drag:{type:[Object,Boolean],default:!1},type:{type:String,default:"primary"},position:{type:String,default:"right-bottom"},direction:{type:String,default:"top"},trigger:{type:String,default:"click"},disabled:Boolean,color:String,inactiveIcon:{type:String,default:"plus"},activeIcon:{type:String,default:"window-close"},inactiveIconSize:U(z,"size"),activeIconSize:U(z,"size"),inactiveIconNamespace:U(z,"namespace"),activeIconNamespace:U(z,"namespace"),fixed:{type:Boolean,default:!0},zIndex:{type:[Number,String],default:90},top:[Number,String],bottom:[Number,String],left:[Number,String],right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},safeArea:Boolean,teleport:{type:[String,Object,Boolean],default:"body"},onClick:C(),onOpen:C(),onOpened:C(),onClose:C(),onClosed:C(),"onUpdate:active":C()};function ve(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Y(e)}const{name:be,classes:M,n:c}=oe("fab"),F=G({name:be,inheritAttrs:!1,props:me,setup(e,{slots:p,attrs:N}){const o=le(e,"active"),y=f(null),_=f(null);O(()=>e.trigger,()=>{o.value=!1}),O(()=>e.disabled,()=>{o.value=!1}),O(()=>[e.position,e.fixed,e.top,e.bottom,e.left,e.right],()=>{var u;(u=_.value)==null||u.reset()}),q(y,"click",v);function k(u,s,w){if(u.stopPropagation(),!(e.trigger!=="click"||e.disabled)){if(w===0){V(e.onClick,o.value,u);return}o.value=s,V(e.onClick,o.value,u),V(o.value?e.onOpen:e.onClose)}}function S(u,s){e.trigger!=="hover"||e.disabled||s===0||(o.value=u,V(o.value?e.onOpen:e.onClose))}function v(){e.trigger!=="click"||e.disabled||o.value!==!1&&(o.value=!1,V(e.onClose))}function I(){return p.trigger?e.show?p.trigger({active:o.value}):null:D(a(h,{"var-fab-cover":!0,class:c("trigger"),type:e.type,color:e.color,disabled:e.disabled,elevation:e.elevation,round:!0},{default:()=>[a(T,{"var-fab-cover":!0,class:M([o.value,c("trigger-active-icon"),c("trigger-inactive-icon")]),name:o.value?e.activeIcon:e.inactiveIcon,size:o.value?e.activeIconSize:e.inactiveIconSize,namespace:o.value?e.activeIconNamespace:e.inactiveIconNamespace,transition:200,animationClass:c("--trigger-icon-animation")},null)]}),[[E,e.show]])}return()=>{let u;const s=ie(V(p.default)??[]),w=H(e.drag)?{}:e.drag;return a(ae,Q({ref:_,class:M(c(`--position-${e.position}`),[!e.fixed,c("--absolute")]),style:{top:B(e.top),bottom:B(e.bottom),left:B(e.left),right:B(e.right)},zIndex:e.zIndex,teleport:e.teleport,disabled:e.disabled||!e.drag||!e.fixed,direction:w.direction,attraction:w.attraction,boundary:w.boundary,onClick:i=>k(i,!o.value,s.length)},N),{default:()=>[a("div",{class:M(c(),c(`--direction-${e.direction}`),[e.safeArea,c("--safe-area")]),ref:y,onMouseleave:()=>S(!1,s.length),onMouseenter:()=>S(!0,s.length)},[a(P,{name:c("--active-transition")},ve(u=I())?u:{default:()=>[u]}),a(P,{name:c(`--actions-transition-${e.direction}`),onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:()=>[D(a("div",{class:c("actions"),onClick:i=>i.stopPropagation()},[s.map(i=>a("div",{class:c("action")},[i]))]),[[E,e.show&&o.value&&s.length]])]})])]})}}});ne(F);const pe={type:"主题色按钮",trigger:"触发方式",direction:"动作菜单弹出方向",position:"触发器位置",default:"默认",primary:"主要",info:"信息",success:"成功",warning:"警告",danger:"危险",drag:"拖拽",disabled:"禁用",elevation:"海拔效果",triggerToggle:"触发器显示/隐藏",actionsToggle:"动作菜单展开/收起",toggle:"切换"},ye={type:"Theme Color Button",trigger:"Trigger Method",direction:"Action Menu Popup Direction",position:"Trigger Position",default:"default",primary:"primary",info:"info",success:"success",warning:"warning",danger:"danger",drag:"Drag",disabled:"Disabled",elevation:"Elevation Effect",triggerToggle:"Trigger Show/Hide",actionsToggle:"Action Menu Expand/Collapse",toggle:"Toggle"},{add:L,use:he,pack:d,packs:Ke,merge:We}=ce(),_e=e=>{fe(e),he(e)};R("zh-CN",se);R("en-US",ge);L("zh-CN",pe);L("en-US",ye);const ke={__name:"index",setup(e){const p=f("primary"),N=f("click"),o=f("top"),y=f("right-bottom"),_=f(!0),k=f(!1),S=f(!1),v=f(!1),I=f(2);function u(){_.value=!_.value}function s(){k.value=!k.value}return K(_e),W(re),(w,i)=>(X(),Z(te,null,[a(t(b),{style:ee({marginTop:y.value.includes("top")?"20vmin":void 0})},{default:l(()=>[n(g(t(d).type),1)]),_:1},8,["style"]),a(t(de),{hint:!1,modelValue:p.value,"onUpdate:modelValue":i[0]||(i[0]=r=>p.value=r)},{default:l(()=>[a(t(x),{label:t(d).default,value:"default"},null,8,["label"]),a(t(x),{label:t(d).primary,value:"primary"},null,8,["label"]),a(t(x),{label:t(d).info,value:"info"},null,8,["label"]),a(t(x),{label:t(d).success,value:"success"},null,8,["label"]),a(t(x),{label:t(d).warning,value:"warning"},null,8,["label"]),a(t(x),{label:t(d).danger,value:"danger"},null,8,["label"])]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).position),1)]),_:1}),a(t(A),{modelValue:y.value,"onUpdate:modelValue":i[1]||(i[1]=r=>y.value=r)},{default:l(()=>[a(t(m),{"checked-value":"left-top"},{default:l(()=>[n("left-top")]),_:1}),a(t(m),{"checked-value":"right-top"},{default:l(()=>[n("right-top")]),_:1}),a(t(m),{"checked-value":"left-bottom"},{default:l(()=>[n("left-bottom")]),_:1}),a(t(m),{"checked-value":"right-bottom"},{default:l(()=>[n("right-bottom")]),_:1})]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).trigger),1)]),_:1}),a(t(A),{modelValue:N.value,"onUpdate:modelValue":i[2]||(i[2]=r=>N.value=r)},{default:l(()=>[a(t(m),{"checked-value":"click"},{default:l(()=>[n("click")]),_:1}),a(t(m),{"checked-value":"hover"},{default:l(()=>[n("hover")]),_:1})]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).direction),1)]),_:1}),a(t(A),{modelValue:o.value,"onUpdate:modelValue":i[3]||(i[3]=r=>o.value=r)},{default:l(()=>[a(t(m),{"checked-value":"top"},{default:l(()=>[n("top")]),_:1}),a(t(m),{"checked-value":"right"},{default:l(()=>[n("right")]),_:1}),a(t(m),{"checked-value":"bottom"},{default:l(()=>[n("bottom")]),_:1}),a(t(m),{"checked-value":"left"},{default:l(()=>[n("left")]),_:1})]),_:1},8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).drag),1)]),_:1}),a(t(j),{modelValue:S.value,"onUpdate:modelValue":i[4]||(i[4]=r=>S.value=r)},null,8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).disabled),1)]),_:1}),a(t(j),{modelValue:v.value,"onUpdate:modelValue":i[5]||(i[5]=r=>v.value=r)},null,8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).elevation),1)]),_:1}),a(t(ue),{max:"24",modelValue:I.value,"onUpdate:modelValue":i[6]||(i[6]=r=>I.value=r)},null,8,["modelValue"]),a(t(b),null,{default:l(()=>[n(g(t(d).triggerToggle),1)]),_:1}),a(t(h),{type:"primary",onClick:$(u,["stop"])},{default:l(()=>[n(g(t(d).toggle),1)]),_:1},8,["onClick"]),a(t(b),null,{default:l(()=>[n(g(t(d).actionsToggle),1)]),_:1}),a(t(h),{type:"primary",onClick:$(s,["stop"])},{default:l(()=>[n(g(t(d).toggle),1)]),_:1},8,["onClick"]),a(t(F),{active:k.value,"onUpdate:active":i[7]||(i[7]=r=>k.value=r),show:_.value,type:p.value,position:y.value,direction:o.value,trigger:N.value,drag:S.value,disabled:v.value,elevation:I.value},{default:l(()=>[a(t(h),{class:"action",type:"info",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"account-circle"})]),_:1},8,["disabled"]),a(t(h),{class:"action",type:"success",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"checkbox-marked-circle"})]),_:1},8,["disabled"]),a(t(h),{class:"action",type:"warning",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"bell"})]),_:1},8,["disabled"]),a(t(h),{class:"action",type:"danger",round:"",disabled:v.value},{default:l(()=>[a(t(T),{name:"delete"})]),_:1},8,["disabled"])]),_:1},8,["active","show","type","position","direction","trigger","drag","disabled","elevation"])],64))}},Xe=J(ke,[["__scopeId","data-v-0bda000d"]]);export{Xe as default}; diff --git a/assets/index-1fb7ffa0.js b/assets/index-7000591b.js similarity index 64% rename from assets/index-1fb7ffa0.js rename to assets/index-7000591b.js index 8094da15d0d..8c15ed10994 100644 --- a/assets/index-1fb7ffa0.js +++ b/assets/index-7000591b.js @@ -1 +1 @@ -import{H as c}from"./index-8bbf4ef8.js";import{I as h}from"./index-dcc84b7e.js";import"./index-42977d64.js";import{d as v}from"./index-d8fbf18c.js";import{u as y,b as u,_ as B,c as x,a as k}from"./index-2b61c8d0.js";import{_ as N,r as V,F as w,al as C,e as t,m as p,q as s,w as r,U as e,P as l,f as S,p as z,y as H,N as U,Q as n,R as m}from"./index-af5fec45.js";import{A as d}from"./appType-53211ea9.js";import{V as D}from"./Paper-4d3d3dd5.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-237d061b.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./shared-de177aa1.js";const E={styleBinding:"样式绑定",functionBinding:"函数绑定"},F={styleBinding:"Style Binding",functionBinding:"Function Binding"},{add:f,use:I,pack:_,packs:ae,merge:te}=y(),R=a=>{k(a),I(a)};u("zh-CN",B);u("en-US",x);f("zh-CN",E);f("en-US",F);const $={class:"image-container"},b={__name:"index",setup(a){const o=V("100%");function g(i){o.value=i?"0":"100%"}return w(R),C(v),(i,A)=>(t(),p(U,null,[s(e(d),null,{default:r(()=>[n(m(e(_).styleBinding),1)]),_:1}),l((t(),S(e(D),{class:"paper",elevation:2,width:100,height:100,ripple:""},{default:r(()=>[n(" HOVER ")]),_:1})),[[e(c),{color:"#fff",background:" var(--color-primary)"}]]),s(e(d),null,{default:r(()=>[n(m(e(_).functionBinding),1)]),_:1}),l((t(),p("div",$,[s(e(h),{src:"https://varlet.gitee.io/varlet-ui/tree.jpeg"}),z("div",{class:"image-mask",style:H({transform:`translateY(${o.value})`})},"HOVER",4)])),[[e(c),g]])],64))}},se=N(b,[["__scopeId","data-v-1afac9e6"]]);export{se as default}; +import{H as c}from"./index-27fcaf7d.js";import{I as h}from"./index-3bea2fce.js";import"./index-2b5c6686.js";import{d as v}from"./index-d8fbf18c.js";import{u as y,b as u,_ as B,c as x,a as k}from"./index-4a9c2ae2.js";import{_ as N,r as V,F as w,al as C,e as t,m as p,q as s,w as r,U as e,P as l,f as S,p as z,y as H,N as U,Q as n,R as m}from"./index-0bd4ebfc.js";import{A as d}from"./appType-a8f87391.js";import{V as D}from"./Paper-e2cdc119.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-817b7dbd.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./shared-a3ff1edc.js";const E={styleBinding:"样式绑定",functionBinding:"函数绑定"},F={styleBinding:"Style Binding",functionBinding:"Function Binding"},{add:f,use:I,pack:_,packs:ae,merge:te}=y(),R=a=>{k(a),I(a)};u("zh-CN",B);u("en-US",x);f("zh-CN",E);f("en-US",F);const $={class:"image-container"},b={__name:"index",setup(a){const o=V("100%");function g(i){o.value=i?"0":"100%"}return w(R),C(v),(i,A)=>(t(),p(U,null,[s(e(d),null,{default:r(()=>[n(m(e(_).styleBinding),1)]),_:1}),l((t(),S(e(D),{class:"paper",elevation:2,width:100,height:100,ripple:""},{default:r(()=>[n(" HOVER ")]),_:1})),[[e(c),{color:"#fff",background:" var(--color-primary)"}]]),s(e(d),null,{default:r(()=>[n(m(e(_).functionBinding),1)]),_:1}),l((t(),p("div",$,[s(e(h),{src:"https://varlet.gitee.io/varlet-ui/tree.jpeg"}),z("div",{class:"image-mask",style:H({transform:`translateY(${o.value})`})},"HOVER",4)])),[[e(c),g]])],64))}},se=N(b,[["__scopeId","data-v-1afac9e6"]]);export{se as default}; diff --git a/assets/index-3d2efd8d.css b/assets/index-71485ccf.css similarity index 50% rename from assets/index-3d2efd8d.css rename to assets/index-71485ccf.css index bdd129c75f9..0ff379e9aba 100644 --- a/assets/index-3d2efd8d.css +++ b/assets/index-71485ccf.css @@ -1 +1 @@ -.var--box,.var--box *{box-sizing:border-box}.var--relative{position:relative}.var--absolute{position:absolute}.var--hidden{overflow:hidden}.var--lock{overflow:hidden!important}.var--block{display:block}.var--ellipsis{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.var--inline-block{display:inline-block}.var--flex{display:flex}.var--inline-flex{display:inline-flex}:root{--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--icon-size-xs: 16px;--icon-size-sm: 18px;--icon-size-md: 20px;--icon-size-lg: 22px;--color-body: #fff;--color-text: #333;--color-primary: #3a7afe;--color-info: #00afef;--color-success: #00c48f;--color-warning: #ff9f00;--color-danger: #f44336;--color-disabled: #e0e0e0;--color-text-disabled: #aaa;--opacity-disabled: .6;--cubic-bezier: cubic-bezier(.25, .8, .5, 1);--shadow-key-umbra-opacity: rgba(0, 0, 0, .2);--shadow-key-penumbra-opacity: rgba(0, 0, 0, .14);--shadow-key-ambient-opacity: rgba(0, 0, 0, .12)}.var-elevation--0{box-shadow:0 0 0 0 var(--shadow-key-umbra-opacity),0 0 0 0 var(--shadow-key-penumbra-opacity),0 0 0 0 var(--shadow-key-ambient-opacity)}.var-elevation--1{box-shadow:0 2px 1px -1px var(--shadow-key-umbra-opacity),0 1px 1px 0 var(--shadow-key-penumbra-opacity),0 1px 3px 0 var(--shadow-key-ambient-opacity)}.var-elevation--2{box-shadow:0 3px 1px -2px var(--shadow-key-umbra-opacity),0 2px 2px 0 var(--shadow-key-penumbra-opacity),0 1px 5px 0 var(--shadow-key-ambient-opacity)}.var-elevation--3{box-shadow:0 3px 3px -2px var(--shadow-key-umbra-opacity),0 3px 4px 0 var(--shadow-key-penumbra-opacity),0 1px 8px 0 var(--shadow-key-ambient-opacity)}.var-elevation--4{box-shadow:0 2px 4px -1px var(--shadow-key-umbra-opacity),0 4px 5px 0 var(--shadow-key-penumbra-opacity),0 1px 10px 0 var(--shadow-key-ambient-opacity)}.var-elevation--5{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-elevation--6{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 6px 10px 0 var(--shadow-key-penumbra-opacity),0 1px 18px 0 var(--shadow-key-ambient-opacity)}.var-elevation--7{box-shadow:0 4px 5px -2px var(--shadow-key-umbra-opacity),0 7px 10px 1px var(--shadow-key-penumbra-opacity),0 2px 16px 1px var(--shadow-key-ambient-opacity)}.var-elevation--8{box-shadow:0 5px 5px -3px var(--shadow-key-umbra-opacity),0 8px 10px 1px var(--shadow-key-penumbra-opacity),0 3px 14px 2px var(--shadow-key-ambient-opacity)}.var-elevation--9{box-shadow:0 5px 6px -3px var(--shadow-key-umbra-opacity),0 9px 12px 1px var(--shadow-key-penumbra-opacity),0 3px 16px 2px var(--shadow-key-ambient-opacity)}.var-elevation--10{box-shadow:0 6px 6px -3px var(--shadow-key-umbra-opacity),0 10px 14px 1px var(--shadow-key-penumbra-opacity),0 4px 18px 3px var(--shadow-key-ambient-opacity)}.var-elevation--11{box-shadow:0 6px 7px -4px var(--shadow-key-umbra-opacity),0 11px 15px 1px var(--shadow-key-penumbra-opacity),0 4px 20px 3px var(--shadow-key-ambient-opacity)}.var-elevation--12{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 12px 17px 2px var(--shadow-key-penumbra-opacity),0 5px 22px 4px var(--shadow-key-ambient-opacity)}.var-elevation--13{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 13px 19px 2px var(--shadow-key-penumbra-opacity),0 5px 24px 4px var(--shadow-key-ambient-opacity)}.var-elevation--14{box-shadow:0 7px 9px -4px var(--shadow-key-umbra-opacity),0 14px 21px 2px var(--shadow-key-penumbra-opacity),0 5px 26px 4px var(--shadow-key-ambient-opacity)}.var-elevation--15{box-shadow:0 8px 9px -5px var(--shadow-key-umbra-opacity),0 15px 22px 2px var(--shadow-key-penumbra-opacity),0 6px 28px 5px var(--shadow-key-ambient-opacity)}.var-elevation--16{box-shadow:0 8px 10px -5px var(--shadow-key-umbra-opacity),0 16px 24px 2px var(--shadow-key-penumbra-opacity),0 6px 30px 5px var(--shadow-key-ambient-opacity)}.var-elevation--17{box-shadow:0 8px 11px -5px var(--shadow-key-umbra-opacity),0 17px 26px 2px var(--shadow-key-penumbra-opacity),0 6px 32px 5px var(--shadow-key-ambient-opacity)}.var-elevation--18{box-shadow:0 9px 11px -5px var(--shadow-key-umbra-opacity),0 18px 28px 2px var(--shadow-key-penumbra-opacity),0 7px 34px 6px var(--shadow-key-ambient-opacity)}.var-elevation--19{box-shadow:0 9px 12px -6px var(--shadow-key-umbra-opacity),0 19px 29px 2px var(--shadow-key-penumbra-opacity),0 7px 36px 6px var(--shadow-key-ambient-opacity)}.var-elevation--20{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 20px 31px 3px var(--shadow-key-penumbra-opacity),0 8px 38px 7px var(--shadow-key-ambient-opacity)}.var-elevation--21{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 21px 33px 3px var(--shadow-key-penumbra-opacity),0 8px 40px 7px var(--shadow-key-ambient-opacity)}.var-elevation--22{box-shadow:0 10px 14px -6px var(--shadow-key-umbra-opacity),0 22px 35px 3px var(--shadow-key-penumbra-opacity),0 8px 42px 7px var(--shadow-key-ambient-opacity)}.var-elevation--23{box-shadow:0 11px 14px -7px var(--shadow-key-umbra-opacity),0 23px 36px 3px var(--shadow-key-penumbra-opacity),0 9px 44px 8px var(--shadow-key-ambient-opacity)}.var-elevation--24{box-shadow:0 11px 15px -7px var(--shadow-key-umbra-opacity),0 24px 38px 3px var(--shadow-key-penumbra-opacity),0 9px 46px 8px var(--shadow-key-ambient-opacity)}:root{--time-picker-border-radius: 4px;--time-picker-font-size: var(--font-size-md);--time-picker-min-width: 290px;--time-picker-height: 385px;--time-picker-title-height: 105px;--time-picker-title-padding: 16px;--time-picker-title-margin-bottom: 8px;--time-picker-title-color: #fff;--time-picker-title-background: var(--color-primary);--time-picker-title-hint-font-size: 16px;--time-picker-title-time-font-size: 50px;--time-picker-title-time-margin: 0 5px;--time-picker-title-ampm-margin-left: 5px;--time-picker-clock-left: 27px;--time-picker-clock-right: 27px;--time-picker-clock-top: 27px;--time-picker-clock-bottom: 27px;--time-picker-clock-container-width: 256px;--time-picker-clock-container-height: 256px;--time-picker-clock-container-background: #e0e0e0;--time-picker-clock-hand-height:calc(50% - 4px);--time-picker-clock-hand-width: 2px;--time-picker-clock-hand-bottom: 50%;--time-picker-clock-hand-left:calc(50% - 1px);--time-picker-clock-hand-background: var(--color-primary);--time-picker-clock-hand-border-color: var(--color-primary);--time-picker-clock-hand-before-width: 10px;--time-picker-clock-hand-before-height: 10px;--time-picker-clock-hand-before-border-width: 2px;--time-picker-clock-hand-after-width: 4px;--time-picker-clock-hand-after-height: 4px;--time-picker-clock-item-height: 32px;--time-picker-clock-item-width: 32px;--time-picker-clock-item-active-background: var(--color-primary);--time-picker-clock-item-active-color: #fff;--time-picker-clock-item-disable-color: rgba(0, 0, 0, .26);--time-picker-clock-item-text-color: #555;--time-picker-inner-left: 36px;--time-picker-inner-right: 36px;--time-picker-inner-top: 36px;--time-picker-inner-bottom: 36px;--time-picker-body-background: #fff}.after-before-basic{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%)}.var-time-picker{border-radius:var(--time-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--time-picker-font-size);position:relative;min-width:var(--time-picker-min-width);height:var(--time-picker-height);overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-time-picker__title{min-height:var(--time-picker-title-height);padding:var(--time-picker-title-padding);color:var(--time-picker-title-color);background:var(--time-picker-title-background);display:block}.var-time-picker__title-hint{font-size:var(--time-picker-title-hint-font-size);margin-bottom:var(--time-picker-title-margin-bottom)}.var-time-picker__title-time-container{display:flex;align-items:flex-end;justify-content:flex-end}.var-time-picker__title-btn{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier);white-space:nowrap}.var-time-picker__title-btn--active{opacity:1}.var-time-picker__title-time{display:flex;justify-content:flex-end;font-size:var(--time-picker-title-time-font-size)}.var-time-picker__title-time .var-time-picker__title-btn{align-items:center;margin:var(--time-picker-title-time-margin)}.var-time-picker__title-ampm{margin-left:var(--time-picker-title-ampm-margin-left)}.var-time-picker__body{flex:1;display:flex;align-items:center;justify-content:center;background-color:var(--time-picker-body-background)}.var-time-picker__clock{position:absolute;bottom:var(--time-picker-clock-bottom);left:var(--time-picker-clock-left);right:var(--time-picker-clock-right);top:var(--time-picker-clock-top)}.var-time-picker__clock-container{width:var(--time-picker-clock-container-width);height:var(--time-picker-clock-container-height);background:var(--time-picker-clock-container-background);border-radius:50%;position:relative}.var-time-picker__clock-hand{height:var(--time-picker-clock-hand-height);width:var(--time-picker-clock-hand-width);bottom:var(--time-picker-clock-hand-bottom);left:var(--time-picker-clock-hand-left);transform-origin:center bottom;position:absolute;will-change:transform;z-index:1;background-color:var(--time-picker-clock-hand-background);border-color:var(--time-picker-clock-hand-border-color)}.var-time-picker__clock-hand:before{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);background:transparent;border:var(--time-picker-clock-hand-before-border-width) solid;width:var(--time-picker-clock-hand-before-width);height:var(--time-picker-clock-hand-before-height);top:-5px;border-color:inherit}.var-time-picker__clock-hand:after{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);border-color:inherit;height:var(--time-picker-clock-hand-after-height);width:var(--time-picker-clock-hand-after-width);top:100%;border-style:solid;background-color:inherit}.var-time-picker__clock-item{align-items:center;border-radius:100%;display:flex;justify-content:center;height:var(--time-picker-clock-item-height);position:absolute;width:var(--time-picker-clock-item-width);user-select:none;transform:translate(-50%,-50%);color:var(--time-picker-clock-item-text-color)}.var-time-picker__clock-item--active{background:var(--time-picker-clock-item-active-background);z-index:2;color:var(--time-picker-clock-item-active-color)}.var-time-picker__clock-item--disable{color:var(--time-picker-clock-item-disable-color)}.var-time-picker__clock-inner{position:absolute;bottom:var(--time-picker-inner-bottom);left:var(--time-picker-inner-left);right:var(--time-picker-inner-right);top:var(--time-picker-inner-top)}.var-time-picker-panel-fade-enter-from,.var-time-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-time-picker-panel-fade-leave-active{position:absolute} +.var--box,.var--box *{box-sizing:border-box}.var--relative{position:relative}.var--absolute{position:absolute}.var--hidden{overflow:hidden}.var--lock{overflow:hidden!important}.var--block{display:block}.var--ellipsis{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.var--inline-block{display:inline-block}.var--flex{display:flex}.var--inline-flex{display:inline-flex}:root{--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--icon-size-xs: 16px;--icon-size-sm: 18px;--icon-size-md: 20px;--icon-size-lg: 22px;--color-body: #fff;--color-text: #333;--color-primary: #3a7afe;--color-info: #00afef;--color-success: #00c48f;--color-warning: #ff9f00;--color-danger: #f44336;--color-disabled: #e0e0e0;--color-text-disabled: #aaa;--opacity-disabled: .6;--cubic-bezier: cubic-bezier(.25, .8, .5, 1);--shadow-key-umbra-opacity: rgba(0, 0, 0, .2);--shadow-key-penumbra-opacity: rgba(0, 0, 0, .14);--shadow-key-ambient-opacity: rgba(0, 0, 0, .12)}.var-elevation--0{box-shadow:0 0 0 0 var(--shadow-key-umbra-opacity),0 0 0 0 var(--shadow-key-penumbra-opacity),0 0 0 0 var(--shadow-key-ambient-opacity)}.var-elevation--1{box-shadow:0 2px 1px -1px var(--shadow-key-umbra-opacity),0 1px 1px 0 var(--shadow-key-penumbra-opacity),0 1px 3px 0 var(--shadow-key-ambient-opacity)}.var-elevation--2{box-shadow:0 3px 1px -2px var(--shadow-key-umbra-opacity),0 2px 2px 0 var(--shadow-key-penumbra-opacity),0 1px 5px 0 var(--shadow-key-ambient-opacity)}.var-elevation--3{box-shadow:0 3px 3px -2px var(--shadow-key-umbra-opacity),0 3px 4px 0 var(--shadow-key-penumbra-opacity),0 1px 8px 0 var(--shadow-key-ambient-opacity)}.var-elevation--4{box-shadow:0 2px 4px -1px var(--shadow-key-umbra-opacity),0 4px 5px 0 var(--shadow-key-penumbra-opacity),0 1px 10px 0 var(--shadow-key-ambient-opacity)}.var-elevation--5{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-elevation--6{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 6px 10px 0 var(--shadow-key-penumbra-opacity),0 1px 18px 0 var(--shadow-key-ambient-opacity)}.var-elevation--7{box-shadow:0 4px 5px -2px var(--shadow-key-umbra-opacity),0 7px 10px 1px var(--shadow-key-penumbra-opacity),0 2px 16px 1px var(--shadow-key-ambient-opacity)}.var-elevation--8{box-shadow:0 5px 5px -3px var(--shadow-key-umbra-opacity),0 8px 10px 1px var(--shadow-key-penumbra-opacity),0 3px 14px 2px var(--shadow-key-ambient-opacity)}.var-elevation--9{box-shadow:0 5px 6px -3px var(--shadow-key-umbra-opacity),0 9px 12px 1px var(--shadow-key-penumbra-opacity),0 3px 16px 2px var(--shadow-key-ambient-opacity)}.var-elevation--10{box-shadow:0 6px 6px -3px var(--shadow-key-umbra-opacity),0 10px 14px 1px var(--shadow-key-penumbra-opacity),0 4px 18px 3px var(--shadow-key-ambient-opacity)}.var-elevation--11{box-shadow:0 6px 7px -4px var(--shadow-key-umbra-opacity),0 11px 15px 1px var(--shadow-key-penumbra-opacity),0 4px 20px 3px var(--shadow-key-ambient-opacity)}.var-elevation--12{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 12px 17px 2px var(--shadow-key-penumbra-opacity),0 5px 22px 4px var(--shadow-key-ambient-opacity)}.var-elevation--13{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 13px 19px 2px var(--shadow-key-penumbra-opacity),0 5px 24px 4px var(--shadow-key-ambient-opacity)}.var-elevation--14{box-shadow:0 7px 9px -4px var(--shadow-key-umbra-opacity),0 14px 21px 2px var(--shadow-key-penumbra-opacity),0 5px 26px 4px var(--shadow-key-ambient-opacity)}.var-elevation--15{box-shadow:0 8px 9px -5px var(--shadow-key-umbra-opacity),0 15px 22px 2px var(--shadow-key-penumbra-opacity),0 6px 28px 5px var(--shadow-key-ambient-opacity)}.var-elevation--16{box-shadow:0 8px 10px -5px var(--shadow-key-umbra-opacity),0 16px 24px 2px var(--shadow-key-penumbra-opacity),0 6px 30px 5px var(--shadow-key-ambient-opacity)}.var-elevation--17{box-shadow:0 8px 11px -5px var(--shadow-key-umbra-opacity),0 17px 26px 2px var(--shadow-key-penumbra-opacity),0 6px 32px 5px var(--shadow-key-ambient-opacity)}.var-elevation--18{box-shadow:0 9px 11px -5px var(--shadow-key-umbra-opacity),0 18px 28px 2px var(--shadow-key-penumbra-opacity),0 7px 34px 6px var(--shadow-key-ambient-opacity)}.var-elevation--19{box-shadow:0 9px 12px -6px var(--shadow-key-umbra-opacity),0 19px 29px 2px var(--shadow-key-penumbra-opacity),0 7px 36px 6px var(--shadow-key-ambient-opacity)}.var-elevation--20{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 20px 31px 3px var(--shadow-key-penumbra-opacity),0 8px 38px 7px var(--shadow-key-ambient-opacity)}.var-elevation--21{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 21px 33px 3px var(--shadow-key-penumbra-opacity),0 8px 40px 7px var(--shadow-key-ambient-opacity)}.var-elevation--22{box-shadow:0 10px 14px -6px var(--shadow-key-umbra-opacity),0 22px 35px 3px var(--shadow-key-penumbra-opacity),0 8px 42px 7px var(--shadow-key-ambient-opacity)}.var-elevation--23{box-shadow:0 11px 14px -7px var(--shadow-key-umbra-opacity),0 23px 36px 3px var(--shadow-key-penumbra-opacity),0 9px 44px 8px var(--shadow-key-ambient-opacity)}.var-elevation--24{box-shadow:0 11px 15px -7px var(--shadow-key-umbra-opacity),0 24px 38px 3px var(--shadow-key-penumbra-opacity),0 9px 46px 8px var(--shadow-key-ambient-opacity)}:root{--time-picker-border-radius: 4px;--time-picker-font-size: var(--font-size-md);--time-picker-min-width: 290px;--time-picker-height: 385px;--time-picker-title-height: 105px;--time-picker-title-padding: 16px;--time-picker-title-color: #fff;--time-picker-title-background: var(--color-primary);--time-picker-title-time-font-size: 50px;--time-picker-title-time-margin: 0 5px;--time-picker-title-ampm-margin-left: 5px;--time-picker-clock-left: 27px;--time-picker-clock-right: 27px;--time-picker-clock-top: 27px;--time-picker-clock-bottom: 27px;--time-picker-clock-container-width: 256px;--time-picker-clock-container-height: 256px;--time-picker-clock-container-background: #e0e0e0;--time-picker-clock-hand-height:calc(50% - 4px);--time-picker-clock-hand-width: 2px;--time-picker-clock-hand-bottom: 50%;--time-picker-clock-hand-left:calc(50% - 1px);--time-picker-clock-hand-background: var(--color-primary);--time-picker-clock-hand-border-color: var(--color-primary);--time-picker-clock-hand-before-width: 10px;--time-picker-clock-hand-before-height: 10px;--time-picker-clock-hand-before-border-width: 2px;--time-picker-clock-hand-after-width: 4px;--time-picker-clock-hand-after-height: 4px;--time-picker-clock-item-height: 32px;--time-picker-clock-item-width: 32px;--time-picker-clock-item-active-background: var(--color-primary);--time-picker-clock-item-active-color: #fff;--time-picker-clock-item-disable-color: rgba(0, 0, 0, .26);--time-picker-clock-item-text-color: #555;--time-picker-inner-left: 36px;--time-picker-inner-right: 36px;--time-picker-inner-top: 36px;--time-picker-inner-bottom: 36px;--time-picker-body-background: #fff}.after-before-basic{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%)}.var-time-picker{border-radius:var(--time-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--time-picker-font-size);position:relative;min-width:var(--time-picker-min-width);height:var(--time-picker-height);overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-time-picker__title{min-height:var(--time-picker-title-height);padding:var(--time-picker-title-padding);color:var(--time-picker-title-color);background:var(--time-picker-title-background);display:flex;align-items:flex-end;justify-content:flex-end}.var-time-picker__title-btn{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier);white-space:nowrap}.var-time-picker__title-btn--active{opacity:1}.var-time-picker__title-time{display:flex;justify-content:flex-end;font-size:var(--time-picker-title-time-font-size)}.var-time-picker__title-time .var-time-picker__title-btn{align-items:center;margin:var(--time-picker-title-time-margin)}.var-time-picker__title-ampm{margin-left:var(--time-picker-title-ampm-margin-left)}.var-time-picker__body{flex:1;display:flex;align-items:center;justify-content:center;background-color:var(--time-picker-body-background)}.var-time-picker__clock{position:absolute;bottom:var(--time-picker-clock-bottom);left:var(--time-picker-clock-left);right:var(--time-picker-clock-right);top:var(--time-picker-clock-top)}.var-time-picker__clock-container{width:var(--time-picker-clock-container-width);height:var(--time-picker-clock-container-height);background:var(--time-picker-clock-container-background);border-radius:50%;position:relative}.var-time-picker__clock-hand{height:var(--time-picker-clock-hand-height);width:var(--time-picker-clock-hand-width);bottom:var(--time-picker-clock-hand-bottom);left:var(--time-picker-clock-hand-left);transform-origin:center bottom;position:absolute;will-change:transform;z-index:1;background-color:var(--time-picker-clock-hand-background);border-color:var(--time-picker-clock-hand-border-color)}.var-time-picker__clock-hand:before{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);background:transparent;border:var(--time-picker-clock-hand-before-border-width) solid;width:var(--time-picker-clock-hand-before-width);height:var(--time-picker-clock-hand-before-height);top:-5px;border-color:inherit}.var-time-picker__clock-hand:after{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);border-color:inherit;height:var(--time-picker-clock-hand-after-height);width:var(--time-picker-clock-hand-after-width);top:100%;border-style:solid;background-color:inherit}.var-time-picker__clock-item{align-items:center;border-radius:100%;display:flex;justify-content:center;height:var(--time-picker-clock-item-height);position:absolute;width:var(--time-picker-clock-item-width);user-select:none;transform:translate(-50%,-50%);color:var(--time-picker-clock-item-text-color)}.var-time-picker__clock-item--active{background:var(--time-picker-clock-item-active-background);z-index:2;color:var(--time-picker-clock-item-active-color)}.var-time-picker__clock-item--disable{color:var(--time-picker-clock-item-disable-color)}.var-time-picker__clock-inner{position:absolute;bottom:var(--time-picker-inner-bottom);left:var(--time-picker-inner-left);right:var(--time-picker-inner-right);top:var(--time-picker-inner-top)}.var-time-picker-panel-fade-enter-from,.var-time-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-time-picker-panel-fade-leave-active{position:absolute} diff --git a/assets/index-10aaf98b.js b/assets/index-72aad0a2.js similarity index 78% rename from assets/index-10aaf98b.js rename to assets/index-72aad0a2.js index 6aa366784cc..baaa4a621bf 100644 --- a/assets/index-10aaf98b.js +++ b/assets/index-72aad0a2.js @@ -1 +1 @@ -import{S as _}from"./index-8c96e01f.js";import{a3 as p,a1 as u,d as l,r as d,D as i,_ as b,b as I,e as f,f as T,w as v,v as S,x as B}from"./index-af5fec45.js";import{e as w}from"./logger-525ef361.js";import{T as h}from"./provide-0e472439.js";import{c as C,w as E}from"./components-3ae053cb.js";const L=Symbol("TAB_ITEM_BIND_LIST_KEY");function N(){const{parentProvider:e,bindParent:s,index:t}=p(h);return s||w("TabItem"," must in "),{index:t,tabsItems:e,bindTabsItems:s}}function P(){const{childProviders:e,bindChildren:s,length:t}=u(L);return{length:t,lists:e,bindLists:s}}const $={name:[String,Number]},{name:A,n:D,classes:M}=C("tab-item"),g=l({name:A,components:{VarSwipeItem:_},props:$,setup(e){const s=d(!1),t=i(()=>e.name),{index:a,bindTabsItems:r}=N(),{bindLists:o}=P(),n={index:a,name:t,current:i(()=>s.value),setCurrent:m};r(n),o(n);function m(c){s.value=c}return{current:s,n:D,classes:M}}});function x(e,s,t,a,r,o){const n=I("var-swipe-item");return f(),T(n,{class:B(e.classes(e.n(),[!e.current,e.n("--inactive")])),"var-tab-item-cover":""},{default:v(()=>[S(e.$slots,"default")]),_:3},8,["class"])}const y=b(g,[["render",x]]);E(y);export{y as T,L as a}; +import{S as _}from"./index-f71140ae.js";import{a3 as p,a1 as u,d as l,r as d,D as i,_ as b,b as I,e as f,f as T,w as v,v as S,x as B}from"./index-0bd4ebfc.js";import{e as w}from"./logger-525ef361.js";import{T as h}from"./provide-90c65717.js";import{c as C,w as E}from"./components-a5332e66.js";const L=Symbol("TAB_ITEM_BIND_LIST_KEY");function N(){const{parentProvider:e,bindParent:s,index:t}=p(h);return s||w("TabItem"," must in "),{index:t,tabsItems:e,bindTabsItems:s}}function P(){const{childProviders:e,bindChildren:s,length:t}=u(L);return{length:t,lists:e,bindLists:s}}const $={name:[String,Number]},{name:A,n:D,classes:M}=C("tab-item"),g=l({name:A,components:{VarSwipeItem:_},props:$,setup(e){const s=d(!1),t=i(()=>e.name),{index:a,bindTabsItems:r}=N(),{bindLists:o}=P(),n={index:a,name:t,current:i(()=>s.value),setCurrent:m};r(n),o(n);function m(c){s.value=c}return{current:s,n:D,classes:M}}});function x(e,s,t,a,r,o){const n=I("var-swipe-item");return f(),T(n,{class:B(e.classes(e.n(),[!e.current,e.n("--inactive")])),"var-tab-item-cover":""},{default:v(()=>[S(e.$slots,"default")]),_:3},8,["class"])}const y=b(g,[["render",x]]);E(y);export{y as T,L as a}; diff --git a/assets/index-ff6a5529.js b/assets/index-73e67b89.js similarity index 89% rename from assets/index-ff6a5529.js rename to assets/index-73e67b89.js index 0073531f5ff..a36b5c10598 100644 --- a/assets/index-ff6a5529.js +++ b/assets/index-73e67b89.js @@ -1,4 +1,4 @@ -import{_ as C,W as z,aW as B,r as D,D as P,F as $,al as A,e as E,m as F,q as a,w as e,U as t,aX as c,N as M,Q as i,R as l,p as m,y as S,$ as W,a0 as q}from"./index-af5fec45.js";import{a as n,T as s}from"./index-50f6abd4.js";import{I as T}from"./index-057aa4ba.js";import{T as O}from"./index-d250de60.js";import{T as k}from"./index-10aaf98b.js";import{d as Q}from"./index-d8fbf18c.js";import{u as X,b as V,_ as Y,c as j,a as G}from"./index-2b61c8d0.js";import{A as d}from"./appType-53211ea9.js";import"./index-2684e5c7.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./shared-de177aa1.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-d408e6ab.js";import"./index-84d96475.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./provide-521cd214.js";import"./provide-c3581da5.js";import"./provide-0e472439.js";import"./index-8c96e01f.js";const H={basicUsage:"基本使用",modifyStyle:"修改样式",disabled:"禁用选项",enableScroll:"开启滚动",tabVerticalLayout:"选项卡垂直布局",tabsVerticalLayout:"容器垂直布局",viewRelation:"视图联动",option:"选项",stickyLayout:"开启粘性布局",indicatorPosition:"指示器位置反转",text:`呜啦啦啦火车笛,随着奔腾的马蹄。 +import{_ as C,W as z,aW as B,r as D,D as P,F as $,al as A,e as E,m as F,q as a,w as e,U as t,aX as c,N as M,Q as i,R as l,p as m,y as S,$ as W,a0 as q}from"./index-0bd4ebfc.js";import{a as n,T as s}from"./index-bf94e46f.js";import{I as T}from"./index-2c5b74fa.js";import{T as O}from"./index-5a594378.js";import{T as k}from"./index-72aad0a2.js";import{d as Q}from"./index-d8fbf18c.js";import{u as X,b as V,_ as Y,c as j,a as G}from"./index-4a9c2ae2.js";import{A as d}from"./appType-a8f87391.js";import"./index-482a9388.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./shared-a3ff1edc.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-67cbdf85.js";import"./index-1f1d0c91.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./provide-e4d73c18.js";import"./provide-f823f5cd.js";import"./provide-90c65717.js";import"./index-f71140ae.js";const H={basicUsage:"基本使用",modifyStyle:"修改样式",disabled:"禁用选项",enableScroll:"开启滚动",tabVerticalLayout:"选项卡垂直布局",tabsVerticalLayout:"容器垂直布局",viewRelation:"视图联动",option:"选项",stickyLayout:"开启粘性布局",indicatorPosition:"指示器位置反转",text:`呜啦啦啦火车笛,随着奔腾的马蹄。 小妹妹吹着口琴,夕阳下美了剪影。 我用子弹写日记,介绍完了风景。 接下来换介绍我自己。 diff --git a/assets/index-742acba2.js b/assets/index-742acba2.js new file mode 100644 index 00000000000..21b8655bd82 --- /dev/null +++ b/assets/index-742acba2.js @@ -0,0 +1 @@ +import{a4 as v,d as re,r as k,D as J,G as K,ah as me,b1 as F,_ as de,e as R,m as z,p as O,x as T,y as Z,N as ee,O as ue,R as L,t as x,W as ne,aO as Ve,b as pe,q as N,w as E,f as Ne,T as Ae,F as Pe,al as Re,U as w,Q as Y}from"./index-0bd4ebfc.js";import{d as se,c as ce,f as Be,a as ie,w as De}from"./components-a5332e66.js";import{p as te}from"./shared-a3ff1edc.js";import{d as ze}from"./index-d8fbf18c.js";import{u as Le,b as fe,_ as Oe,c as je,a as Fe}from"./index-4a9c2ae2.js";import{A as W}from"./appType-a8f87391.js";const P=["12","1","2","3","4","5","6","7","8","9","10","11"],V=["00","13","14","15","16","17","18","19","20","21","22","23"],le=["00","05","10","15","20","25","30","35","40","45","50","55"],qe={modelValue:String,elevation:{type:[Boolean,Number,String],default:!1},color:String,headerColor:String,titleColor:String,format:{type:String,default:"ampm"},allowedTime:Object,min:String,max:String,useSeconds:Boolean,readonly:Boolean,"onUpdate:modelValue":se(),onChange:se()},ve=(e,t)=>e==="24hr"||t==="am",oe=(e,t,C)=>{const d=P.findIndex(u=>v(u)===v(C)),f=ve(e,t)?C:V[d];return{hourStr:f,hourNum:v(f)}},p=e=>{const[t,C,d]=e.split(":");return{hour:v(t),minute:v(C),second:v(d)}},he=e=>{var B,D;const{time:t,format:C,ampm:d,hour:f,max:u,min:o,disableHour:r}=e,{hourStr:j,hourNum:A}=oe(C,d,f);let M=!1,U=!1;if(r.includes(j))return!0;if(u&&!o){const{hour:g,minute:n}=p(u);M=g===A&&t>n}if(!u&&o){const{hour:g,minute:n}=p(o);M=g===A&&tn}return(B=e.allowedTime)!=null&&B.minutes&&(U=(D=e.allowedTime)==null?void 0:D.minutes(t)),M||U},ge=e=>{var D,g;const{time:t,format:C,ampm:d,hour:f,minute:u,max:o,min:r,disableHour:j}=e,{hourStr:A,hourNum:M}=oe(C,d,f);let U=!1,B=!1;if(j.includes(A))return!0;if(o&&!r){const{hour:n,minute:a,second:l}=p(o);U=n===M&&al}if(!o&&r){const{hour:n,minute:a,second:l}=p(r);U=n===M&&a>u||a===u&&t>l}if(o&&r){const{hour:n,minute:a,second:l}=p(o),{hour:i,minute:y,second:H}=p(r);U=n===M&&au||n===M&&a===u&&t>l||i===M&&y===u&&t({transform:`rotate(${v(e.rad)}deg)`,height:e.isInner&&e.type==="hour"?"calc(50% - 40px)":"calc(50% - 4px)",backgroundColor:A(),borderColor:A()})),o=J(()=>{if(e.rad===void 0)return;const n=e.rad/30;return n>=0?n:n+12}),r=J(()=>e.type==="hour"?P:le),j=(n,a)=>{n=n??(e.type==="minute"?e.time.minute:e.time.second);const l=e.type==="minute"?he:ge,i={time:v(n),format:e.format,ampm:e.ampm,hour:e.time.hour,minute:v(e.time.minute),max:e.max,min:e.min,allowedTime:e.allowedTime,disableHour:d.value};return a&&e.type==="minute"&&Reflect.deleteProperty(i,"minute"),l(i)},A=()=>{if(o.value===void 0)return e.color;const n=e.isInner?V[o.value]:r.value[o.value];return r.value===le?j()?"#bdbdbd":e.color:U(n)?"#bdbdbd":e.color},M=(n,a)=>a?o.value===n&&e.isInner:o.value===n&&(!e.isInner||e.type!=="hour"),U=n=>{if(e.type==="hour"){if(ve(e.format,e.ampm))return d.value.includes(n);const a=P.findIndex(l=>l===n);return f.value.includes(a)}return j(n,!0)},B=(n,a,l)=>{const i=2*Math.PI/12*n-Math.PI/2,y=50*(1+Math.cos(i)),H=50*(1+Math.sin(i)),h=()=>M(n,l)?U(a)?{backgroundColor:"#bdbdbd",color:"#fff"}:{backgroundColor:e.color,color:void 0}:{backgroundColor:void 0,color:void 0},{backgroundColor:I,color:_}=h();return{left:`${y}%`,top:`${H}%`,backgroundColor:I,color:_}},D=()=>{const{width:n,height:a}=me(C.value);return{width:n,height:a}},g=()=>{if(o.value===void 0)return;const n=e.ampm==="am"?P:V;return te(n[o.value],2,"0")};return K([o,()=>e.isInner],([n,a],[l,i])=>{if(n===l&&a===i||e.type!=="hour"||o.value===void 0)return;const H=a?V[o.value]:g(),h=e.useSeconds?`:${e.time.second}`:"",I=`${H}:${e.time.minute}${h}`;e.preventNextUpdate||t("update",I),t("change-prevent-update")}),K(()=>e.rad,(n,a)=>{if(e.type==="hour"||n===void 0||a===void 0)return;const l=n/6>=0?n/6:n/6+60,i=a/6>=0?a/6:a/6+60;if(l===i)return;let y;const{hourStr:H}=oe(e.format,e.ampm,e.time.hour);if(e.type==="minute"){const h=F().minute(l).format("mm"),I=e.useSeconds?`:${e.time.second}`:"";y=`${H}:${h}${I}`}if(e.type==="second"){const h=F().second(l).format("ss"),I=e.useSeconds?`:${h}`:"";y=`${H}:${e.time.minute}${I}`}t("update",y)}),K([()=>e.max,()=>e.min,()=>e.allowedTime],([n,a,l])=>{if(d.value=[],n&&!a){const{hour:i}=p(n),y=P.filter(h=>v(h)>i),H=V.filter(h=>v(h)>i);d.value=[...y,...H]}if(!n&&a){const{hour:i}=p(a),y=P.filter(h=>v(h)v(h)v(I)i),h=V.filter(I=>v(I)i);d.value=[...H,...h]}if(l!=null&&l.hours){const{hours:i}=l,y=P.filter(h=>!i(v(h))),H=V.filter(h=>!i(v(h)));d.value=[...new Set([...d.value,...y,...H])]}f.value=d.value.map(i=>V.findIndex(y=>i===y)).filter(i=>i>=0)},{immediate:!0}),{n:Ee,classes:Xe,hours24:V,timeScales:r,inner:C,handStyle:u,disableHour:d,isActive:M,isDisable:U,getSize:D,getStyle:B,activeItemIndex:o}}});function We(e,t,C,d,f,u){return R(),z("div",{class:T(e.n("clock"))},[O("div",{class:T(e.n("clock-hand")),style:Z(e.handStyle)},null,6),(R(!0),z(ee,null,ue(e.timeScales,(o,r)=>(R(),z("div",{class:T(e.classes(e.n("clock-item"),[e.isActive(r,!1),e.n("clock-item--active")],[e.isDisable(o),e.n("clock-item--disable")])),key:o,style:Z(e.getStyle(r,o,!1))},L(o),7))),128)),e.format==="24hr"&&e.type==="hour"?(R(),z("div",{key:0,class:T(e.n("clock-inner")),ref:"inner"},[(R(!0),z(ee,null,ue(e.hours24,(o,r)=>(R(),z("div",{class:T(e.classes(e.n("clock-item"),[e.isActive(r,!0),e.n("clock-item--active")],[e.isDisable(o),e.n("clock-item--disable")])),key:o,style:Z(e.getStyle(r,o,!0))},L(o),7))),128))],2)):x("",!0)],2)}const Ge=de(Ye,[["render",We]]),{name:Qe,n:Je,classes:Ke}=ce("time-picker"),Ze=re({name:Qe,components:{Clock:Ge},props:qe,setup(e){const t=k(null),C=k(null),d=k(null),f=k(!1),u=k(!1),o=k(!1),r=k(!1),j=k(!1),A=k(!1),M=k(!1),U=k(0),B=k(0),D=k(),g=k("hour"),n=k("am"),a=k({hour:"00",minute:"00",second:"00"}),l=ne({x:0,y:0}),i=ne({x:[],y:[]}),y=J(()=>g.value==="hour"?D.value:g.value==="minute"?U.value:B.value);K(()=>e.modelValue,s=>{if(s){const{hour:m,minute:c,second:b}=p(s),$=F().hour(m).format("hh"),S=F().hour(m).format("HH"),q=F().minute(c).format("mm"),Q=F().second(b).format("ss");D.value=($==="12"?0:v($))*30,U.value=v(q)*6,B.value=v(Q)*6,a.value=Se(s),e.format!=="24hr"&&(n.value=te(`${m}`,2,"0")===S&&V.includes(S)?"pm":"am"),f.value=e.format==="24hr"&&V.includes(S)}},{immediate:!0});function H(s){ie(e["onUpdate:modelValue"],s),ie(e.onChange,s)}function h(s){return s*57.29577951308232}function I(s){r.value=!1,M.value=!1,g.value=s}function _(s){const{disableHour:m}=d.value,c=P.findIndex(S=>v(S)===v(a.value.hour)),b=s==="am"?P:V;return[...b.slice(c),...b.slice(0,c)].find((S,q)=>(u.value=q!==0,!m.includes(S)))}function be(s){if(e.readonly)return;n.value=s;const m=_(s);if(!m)return;const c=e.useSeconds?`:${a.value.second}`:"",b=`${te(m,2,"0")}:${a.value.minute}${c}`;H(b)}function ae(s,m){const c=s>=i.x[0]&&s<=i.x[1],b=m>=i.y[0]&&m<=i.y[1];return c&&b}function Se(s){const m=e.format==="24hr"?"HH":"hh",{hour:c,minute:b,second:$}=p(s);return{hour:F().hour(c).format(m),minute:F().minute(b).format("mm"),second:F().second($).format("ss")}}function He(s){const m=s/30;return m>=0?m:m+12}function ke(){const{width:s,height:m}=d.value.getSize(),c=l.x-s/2-8,b=l.x+s/2+8,$=l.y-m/2-8,S=l.y+m/2+8;return{rangeXMin:c,rangeXMax:b,rangeYMin:$,rangeYMax:S}}function Me(s,m,c){const{disableHour:b}=d.value;o.value=ae(s,m);const $=Math.round(c/30)*30+90,S=He($),q=f.value?P[S]:V[S];if(b.includes(q)||(f.value=e.format==="24hr"?ae(s,m):!1),f.value!==o.value)return;const Q=f.value||n.value==="pm"?V[S]:P[S];A.value=b.includes(Q),!A.value&&(D.value=$,r.value=!0)}function $e(s){const{disableHour:m}=d.value,c=Math.round(s/6)*6+90,$={time:c/6>=0?c/6:c/6+60,format:e.format,ampm:n.value,hour:a.value.hour,max:e.max,min:e.min,disableHour:m,allowedTime:e.allowedTime};M.value=he($),!M.value&&(U.value=c,j.value=!0)}function we(s){const{disableHour:m}=d.value,c=Math.round(s/6)*6+90,$={time:c/6>=0?c/6:c/6+60,format:e.format,ampm:n.value,hour:a.value.hour,minute:v(a.value.minute),max:e.max,min:e.min,disableHour:m,allowedTime:e.allowedTime};ge($)||(B.value=c)}function Ce(){const{left:s,top:m,width:c,height:b}=me(t.value);if(l.x=s+c/2,l.y=m+b/2,g.value==="hour"&&e.format==="24hr"){const{rangeXMin:$,rangeXMax:S,rangeYMin:q,rangeYMax:Q}=ke();i.x=[$,S],i.y=[q,Q]}}function Te(s){if(Ve(s),e.readonly)return;Ce();const{clientX:m,clientY:c}=s.touches[0],b=m-l.x,$=c-l.y,S=Math.round(h(Math.atan2($,b)));g.value==="hour"?Me(m,c,S):g.value==="minute"?$e(S):we(S)}function Ue(){if(!e.readonly){if(g.value==="hour"&&r.value){g.value="minute";return}g.value==="minute"&&e.useSeconds&&j.value&&(g.value="second")}}function Ie(){u.value=!1}return{getRad:y,time:a,container:t,inner:d,picker:C,isInner:f,type:g,ampm:n,isPreventNextUpdate:u,n:Je,classes:Ke,moveHand:Te,checkPanel:I,checkAmpm:be,end:Ue,update:H,changePreventUpdate:Ie,formatElevation:Be}}});const xe=O("span",null,":",-1),_e={key:0};function en(e,t,C,d,f,u){const o=pe("clock");return R(),z("div",{class:T(e.classes(e.n(),e.formatElevation(e.elevation,2))),ref:"picker"},[O("div",{class:T(e.n("title")),style:Z({background:e.titleColor||e.headerColor||e.color})},[O("div",{class:T(e.n("title-time"))},[O("div",{class:T(e.classes(e.n("title-btn"),[e.type==="hour",e.n("title-btn--active")])),onClick:t[0]||(t[0]=r=>e.checkPanel("hour"))},L(e.time.hour),3),xe,O("div",{class:T(e.classes(e.n("title-btn"),[e.type==="minute",e.n("title-btn--active")])),onClick:t[1]||(t[1]=r=>e.checkPanel("minute"))},L(e.time.minute),3),e.useSeconds?(R(),z("span",_e,":")):x("",!0),e.useSeconds?(R(),z("div",{key:1,class:T(e.classes(e.n("title-btn"),[e.type==="second",e.n("title-btn--active")])),onClick:t[2]||(t[2]=r=>e.checkPanel("second"))},L(e.time.second),3)):x("",!0)],2),e.format==="ampm"?(R(),z("div",{key:0,class:T(e.n("title-ampm"))},[O("div",{class:T(e.classes(e.n("title-btn"),[e.ampm==="am",e.n("title-btn--active")])),onClick:t[3]||(t[3]=r=>e.checkAmpm("am"))},"AM",2),O("div",{class:T(e.classes(e.n("title-btn"),[e.ampm==="pm",e.n("title-btn--active")])),onClick:t[4]||(t[4]=r=>e.checkAmpm("pm"))},"PM",2)],2)):x("",!0)],6),O("div",{class:T(e.n("body"))},[O("div",{class:T(e.n("clock-container")),onTouchstart:t[5]||(t[5]=(...r)=>e.moveHand&&e.moveHand(...r)),onTouchmove:t[6]||(t[6]=(...r)=>e.moveHand&&e.moveHand(...r)),onTouchend:t[7]||(t[7]=(...r)=>e.end&&e.end(...r)),ref:"container"},[N(Ae,{name:`${e.n()}-panel-fade`},{default:E(()=>[(R(),Ne(o,{key:e.type,ref:"inner",type:e.type,ampm:e.ampm,color:e.color,"is-inner":e.isInner,format:e.format,"allowed-time":e.allowedTime,rad:e.getRad,time:e.time,"prevent-next-update":e.isPreventNextUpdate,"use-seconds":e.useSeconds,max:e.max,min:e.min,onUpdate:e.update,onChangePreventUpdate:e.changePreventUpdate},null,8,["type","ampm","color","is-inner","format","allowed-time","rad","time","prevent-next-update","use-seconds","max","min","onUpdate","onChangePreventUpdate"]))]),_:1},8,["name"])],34)],2)],2)}const X=de(Ze,[["render",en]]);De(X);const nn={basicUsage:"基本使用",hour24:"24小时格式",readonly:"只读",timeLimit:"时间限制",custom:"自定义",showSecond:"显示秒"},tn={basicUsage:"Basic Usage",hour24:"24hr Format",readonly:"Readonly",timeLimit:"Time Limit",custom:"Custom",showSecond:"Show Seconds"},{add:ye,use:on,pack:G,packs:cn,merge:fn}=Le(),an=e=>{Fe(e),on(e)};fe("zh-CN",Oe);fe("en-US",je);ye("zh-CN",nn);ye("en-US",tn);const vn={__name:"index",setup(e){const t=ne({date:"11:20",date1:"15:10",date2:"07:10",date3:"07:10:12",date4:"05:10",date5:"17:36:22"}),C={hours:f=>f%2===0,minutes:f=>f%15!==0,seconds:f=>f%2!==0};function d(f){console.log(f)}return Pe(an),Re(ze),(f,u)=>(R(),z(ee,null,[N(w(W),null,{default:E(()=>[Y(L(w(G).basicUsage),1)]),_:1}),N(w(X),{modelValue:t.date,"onUpdate:modelValue":u[0]||(u[0]=o=>t.date=o)},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(L(w(G).hour24),1)]),_:1}),N(w(X),{modelValue:t.date1,"onUpdate:modelValue":u[1]||(u[1]=o=>t.date1=o),format:"24hr",elevation:""},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(L(w(G).showSecond),1)]),_:1}),N(w(X),{modelValue:t.date5,"onUpdate:modelValue":u[2]||(u[2]=o=>t.date5=o),format:"24hr","use-seconds":""},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(L(w(G).readonly),1)]),_:1}),N(w(X),{modelValue:t.date2,"onUpdate:modelValue":u[3]||(u[3]=o=>t.date2=o),readonly:"",elevation:""},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(L(w(G).timeLimit),1)]),_:1}),N(w(X),{modelValue:t.date3,"onUpdate:modelValue":u[4]||(u[4]=o=>t.date3=o),format:"24hr","use-seconds":"",min:"2:28:38",max:"19:40:22","allowed-time":C},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(L(w(G).custom),1)]),_:1}),N(w(X),{modelValue:t.date4,"onUpdate:modelValue":u[5]||(u[5]=o=>t.date4=o),elevation:"","header-color":"purple",color:"#7bb872",min:"2:28:38",max:"19:40:22",onChange:d},null,8,["modelValue"])],64))}};export{vn as default}; diff --git a/assets/index-06e17ae5.js b/assets/index-750419f7.js similarity index 92% rename from assets/index-06e17ae5.js rename to assets/index-750419f7.js index fdb18c1ae4f..14cd978157c 100644 --- a/assets/index-06e17ae5.js +++ b/assets/index-750419f7.js @@ -1 +1 @@ -import{v as F}from"./index-237d061b.js";import{d as L,c as N,a as b,w}from"./components-3ae053cb.js";import{a as E}from"./elements-68ad626b.js";import{d as V,r as j,at as T,aB as W,_ as B,L as P,e as f,m as g,N as G,P as R,x as S,y,v as U,D as q,F as Q,al as J,q as t,w as r,U as a,Q as n,R as i,p as $}from"./index-af5fec45.js";import{S as d}from"./index-90c41552.js";import{I as K}from"./index-057aa4ba.js";import{I as O}from"./index-ba1a9006.js";import{d as X}from"./index-d8fbf18c.js";import{u as Y,b as I,_ as Z,c as x,a as ee}from"./index-2b61c8d0.js";import{A as v}from"./appType-53211ea9.js";import"./shared-de177aa1.js";import"./logger-525ef361.js";/* empty css */import"./provide-c979a783.js";import"./index-939959a8.js";const ae={round:{type:Boolean,default:!0},size:{type:[String,Number],default:"normal"},alt:String,color:String,src:String,fit:{type:String,default:"cover"},bordered:Boolean,borderColor:String,loading:String,error:String,lazy:Boolean,hoverable:Boolean,onClick:L(),onLoad:L(),onError:L()},te=e=>["mini","small","normal","large"].includes(e),{name:re,n:le,classes:oe}=N("avatar"),ne=V({name:re,directives:{Lazy:F},props:ae,setup(e){const o=j(null),m=j(null),u=j(1);T(h),W(h);function h(){if(!o.value||!m.value){u.value=1;return}const s=o.value.offsetWidth,z=m.value.offsetWidth;s>z?u.value=1:u.value=s/z}function C(s){const z=s.currentTarget,{lazy:M,onLoad:A,onError:D}=e;M?(z._lazy.state==="success"&&b(A,s),z._lazy.state==="error"&&b(D,s)):b(A,s)}function k(s){b(e.onError,s)}function c(s){b(e.onClick,s)}return{avatarElement:o,textElement:m,scale:u,n:le,classes:oe,isInternalSize:te,toSizeUnit:E,handleLoad:C,handleError:k,handleClick:c}}});const se=["src","alt","lazy-loading","lazy-error"],ie=["src","alt"];function de(e,o,m,u,h,C){const k=P("lazy");return f(),g("div",{ref:"avatarElement",class:S(e.classes(e.n(),e.n("$--box"),[e.isInternalSize(e.size),e.n(`--${e.size}`)],[e.round,e.n("--round")],[e.bordered,e.n("--bordered")],[e.hoverable,e.n("--hoverable")])),style:y({width:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),height:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),borderColor:e.borderColor,backgroundColor:e.color}),onClick:o[3]||(o[3]=(...c)=>e.handleClick&&e.handleClick(...c))},[e.src?(f(),g(G,{key:0},[e.lazy?R((f(),g("img",{key:0,class:S(e.n("image")),src:e.src,alt:e.alt,style:y({objectFit:e.fit}),"lazy-loading":e.loading,"lazy-error":e.error,onLoad:o[0]||(o[0]=(...c)=>e.handleLoad&&e.handleLoad(...c))},null,46,se)),[[k,e.src]]):(f(),g("img",{key:1,class:S(e.n("image")),src:e.src,alt:e.alt,style:y({objectFit:e.fit}),onLoad:o[1]||(o[1]=(...c)=>e.handleLoad&&e.handleLoad(...c)),onError:o[2]||(o[2]=(...c)=>e.handleError&&e.handleError(...c))},null,46,ie))],64)):(f(),g("div",{key:1,ref:"textElement",class:S(e.n("text")),style:y({transform:`scale(${e.scale})`})},[U(e.$slots,"default")],6))],6)}const l=B(ne,[["render",de]]);w(l);const ue={offset:[Number,String],vertical:Boolean},{name:ce,n:ve,classes:pe}=N("avatar-group"),fe=V({name:ce,props:ue,setup(e){return{rootStyles:q(()=>e.offset==null?{}:{"--avatar-group-offset":E(e.offset)}),n:ve,classes:pe,toSizeUnit:E}}});function ge(e,o,m,u,h,C){return f(),g("div",{class:S(e.classes(e.n(),[e.vertical,e.n("--column"),e.n("--row")])),style:y(e.rootStyles)},[U(e.$slots,"default")],6)}const _=B(fe,[["render",ge]]);w(_);const me={avatarSize:"头像尺寸",avatarShape:"头像形状",fitMode:"填充模式",fontSize:"文字自适应",backgroundColor:"背景颜色",avatarHorizontalGroup:"头像水平分组",avatarVerticalGroup:"头像垂直分组",avatarHoverable:"头像可悬停"},he={avatarSize:"Avatar Size",avatarShape:"Avatar Shape",fitMode:"Fit Mode",fontSize:"Text Adaptive",backgroundColor:"Background Color",avatarHorizontalGroup:"Avatar Horizontal Group",avatarVerticalGroup:"Avatar Vertical Group",avatarHoverable:"Avatar Hoverable"},{add:H,use:ze,pack:p,packs:Fe,merge:Te}=Y(),be=e=>{ee(e),ze(e)};I("zh-CN",Z);I("en-US",x);H("zh-CN",me);H("en-US",he);const Se=$("span",null,"cover",-1),ye=$("span",null,"fill",-1),$e=$("span",null,"contain",-1),je=$("span",null,"none",-1),_e=$("span",null,"scale-down",-1),We={__name:"index",setup(e){const o=j("VARLET");return Q(be),J(X),(m,u)=>(f(),g(G,null,[t(a(v),null,{default:r(()=>[n(i(a(p).avatarSize),1)]),_:1}),t(a(d),{align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"mini"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"small"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"large"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"21vmin"})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarShape),1)]),_:1}),t(a(d),null,{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",round:!1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).fitMode),1)]),_:1}),t(a(d),null,{default:r(()=>[t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),Se]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"fill"}),ye]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"contain"}),$e]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"none"}),je]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"scale-down"}),_e]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).fontSize),1)]),_:1}),t(a(d),{direction:"column"},{default:r(()=>[t(a(d),null,{default:r(()=>[t(a(l),null,{default:r(()=>[n(i(o.value),1)]),_:1}),t(a(l),{round:!1},{default:r(()=>[n(i(o.value),1)]),_:1})]),_:1}),t(a(O),{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=h=>o.value=h)},null,8,["modelValue"])]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).backgroundColor),1)]),_:1}),t(a(d),null,{default:r(()=>[t(a(l),{color:"#4a79f5"},{default:r(()=>[t(a(K),{name:"fire"})]),_:1}),t(a(l),{color:"#eb5a3f"},{default:r(()=>[n(i(o.value),1)]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarHorizontalGroup),1)]),_:1}),t(a(_),null,{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",bordered:""}),t(a(l),{bordered:""},{default:r(()=>[n("+2")]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarVerticalGroup),1)]),_:1}),t(a(_),{vertical:""},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",bordered:""}),t(a(l),{bordered:""},{default:r(()=>[n("+2")]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarHoverable),1)]),_:1}),t(a(_),null,{default:r(()=>[t(a(l),{hoverable:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",bordered:""}),t(a(l),{hoverable:"",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",bordered:""}),t(a(l),{hoverable:"",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",bordered:""}),t(a(l),{hoverable:"",bordered:""},{default:r(()=>[n("+2")]),_:1})]),_:1})],64))}};export{We as default}; +import{v as F}from"./index-817b7dbd.js";import{d as L,c as N,a as b,w}from"./components-a5332e66.js";import{a as E}from"./elements-23c82371.js";import{d as V,r as j,at as T,aB as W,_ as B,L as P,e as f,m as g,N as G,P as R,x as S,y,v as U,D as q,F as Q,al as J,q as t,w as r,U as a,Q as n,R as i,p as $}from"./index-0bd4ebfc.js";import{S as d}from"./index-65cffe90.js";import{I as K}from"./index-2c5b74fa.js";import{I as O}from"./index-bae97d31.js";import{d as X}from"./index-d8fbf18c.js";import{u as Y,b as I,_ as Z,c as x,a as ee}from"./index-4a9c2ae2.js";import{A as v}from"./appType-a8f87391.js";import"./shared-a3ff1edc.js";import"./logger-525ef361.js";/* empty css */import"./provide-4fc67263.js";import"./index-d5ac26b6.js";const ae={round:{type:Boolean,default:!0},size:{type:[String,Number],default:"normal"},alt:String,color:String,src:String,fit:{type:String,default:"cover"},bordered:Boolean,borderColor:String,loading:String,error:String,lazy:Boolean,hoverable:Boolean,onClick:L(),onLoad:L(),onError:L()},te=e=>["mini","small","normal","large"].includes(e),{name:re,n:le,classes:oe}=N("avatar"),ne=V({name:re,directives:{Lazy:F},props:ae,setup(e){const o=j(null),m=j(null),u=j(1);T(h),W(h);function h(){if(!o.value||!m.value){u.value=1;return}const s=o.value.offsetWidth,z=m.value.offsetWidth;s>z?u.value=1:u.value=s/z}function C(s){const z=s.currentTarget,{lazy:M,onLoad:A,onError:D}=e;M?(z._lazy.state==="success"&&b(A,s),z._lazy.state==="error"&&b(D,s)):b(A,s)}function k(s){b(e.onError,s)}function c(s){b(e.onClick,s)}return{avatarElement:o,textElement:m,scale:u,n:le,classes:oe,isInternalSize:te,toSizeUnit:E,handleLoad:C,handleError:k,handleClick:c}}});const se=["src","alt","lazy-loading","lazy-error"],ie=["src","alt"];function de(e,o,m,u,h,C){const k=P("lazy");return f(),g("div",{ref:"avatarElement",class:S(e.classes(e.n(),e.n("$--box"),[e.isInternalSize(e.size),e.n(`--${e.size}`)],[e.round,e.n("--round")],[e.bordered,e.n("--bordered")],[e.hoverable,e.n("--hoverable")])),style:y({width:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),height:e.isInternalSize(e.size)?void 0:e.toSizeUnit(e.size),borderColor:e.borderColor,backgroundColor:e.color}),onClick:o[3]||(o[3]=(...c)=>e.handleClick&&e.handleClick(...c))},[e.src?(f(),g(G,{key:0},[e.lazy?R((f(),g("img",{key:0,class:S(e.n("image")),src:e.src,alt:e.alt,style:y({objectFit:e.fit}),"lazy-loading":e.loading,"lazy-error":e.error,onLoad:o[0]||(o[0]=(...c)=>e.handleLoad&&e.handleLoad(...c))},null,46,se)),[[k,e.src]]):(f(),g("img",{key:1,class:S(e.n("image")),src:e.src,alt:e.alt,style:y({objectFit:e.fit}),onLoad:o[1]||(o[1]=(...c)=>e.handleLoad&&e.handleLoad(...c)),onError:o[2]||(o[2]=(...c)=>e.handleError&&e.handleError(...c))},null,46,ie))],64)):(f(),g("div",{key:1,ref:"textElement",class:S(e.n("text")),style:y({transform:`scale(${e.scale})`})},[U(e.$slots,"default")],6))],6)}const l=B(ne,[["render",de]]);w(l);const ue={offset:[Number,String],vertical:Boolean},{name:ce,n:ve,classes:pe}=N("avatar-group"),fe=V({name:ce,props:ue,setup(e){return{rootStyles:q(()=>e.offset==null?{}:{"--avatar-group-offset":E(e.offset)}),n:ve,classes:pe,toSizeUnit:E}}});function ge(e,o,m,u,h,C){return f(),g("div",{class:S(e.classes(e.n(),[e.vertical,e.n("--column"),e.n("--row")])),style:y(e.rootStyles)},[U(e.$slots,"default")],6)}const _=B(fe,[["render",ge]]);w(_);const me={avatarSize:"头像尺寸",avatarShape:"头像形状",fitMode:"填充模式",fontSize:"文字自适应",backgroundColor:"背景颜色",avatarHorizontalGroup:"头像水平分组",avatarVerticalGroup:"头像垂直分组",avatarHoverable:"头像可悬停"},he={avatarSize:"Avatar Size",avatarShape:"Avatar Shape",fitMode:"Fit Mode",fontSize:"Text Adaptive",backgroundColor:"Background Color",avatarHorizontalGroup:"Avatar Horizontal Group",avatarVerticalGroup:"Avatar Vertical Group",avatarHoverable:"Avatar Hoverable"},{add:H,use:ze,pack:p,packs:Fe,merge:Te}=Y(),be=e=>{ee(e),ze(e)};I("zh-CN",Z);I("en-US",x);H("zh-CN",me);H("en-US",he);const Se=$("span",null,"cover",-1),ye=$("span",null,"fill",-1),$e=$("span",null,"contain",-1),je=$("span",null,"none",-1),_e=$("span",null,"scale-down",-1),We={__name:"index",setup(e){const o=j("VARLET");return Q(be),J(X),(m,u)=>(f(),g(G,null,[t(a(v),null,{default:r(()=>[n(i(a(p).avatarSize),1)]),_:1}),t(a(d),{align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"mini"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"small"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"large"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",size:"21vmin"})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarShape),1)]),_:1}),t(a(d),null,{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",round:!1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).fitMode),1)]),_:1}),t(a(d),null,{default:r(()=>[t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),Se]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"fill"}),ye]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"contain"}),$e]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"none"}),je]),_:1}),t(a(d),{direction:"column",align:"center"},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",fit:"scale-down"}),_e]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).fontSize),1)]),_:1}),t(a(d),{direction:"column"},{default:r(()=>[t(a(d),null,{default:r(()=>[t(a(l),null,{default:r(()=>[n(i(o.value),1)]),_:1}),t(a(l),{round:!1},{default:r(()=>[n(i(o.value),1)]),_:1})]),_:1}),t(a(O),{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=h=>o.value=h)},null,8,["modelValue"])]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).backgroundColor),1)]),_:1}),t(a(d),null,{default:r(()=>[t(a(l),{color:"#4a79f5"},{default:r(()=>[t(a(K),{name:"fire"})]),_:1}),t(a(l),{color:"#eb5a3f"},{default:r(()=>[n(i(o.value),1)]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarHorizontalGroup),1)]),_:1}),t(a(_),null,{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",bordered:""}),t(a(l),{bordered:""},{default:r(()=>[n("+2")]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarVerticalGroup),1)]),_:1}),t(a(_),{vertical:""},{default:r(()=>[t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",bordered:""}),t(a(l),{src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",bordered:""}),t(a(l),{bordered:""},{default:r(()=>[n("+2")]),_:1})]),_:1}),t(a(v),null,{default:r(()=>[n(i(a(p).avatarHoverable),1)]),_:1}),t(a(_),null,{default:r(()=>[t(a(l),{hoverable:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",bordered:""}),t(a(l),{hoverable:"",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",bordered:""}),t(a(l),{hoverable:"",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",bordered:""}),t(a(l),{hoverable:"",bordered:""},{default:r(()=>[n("+2")]),_:1})]),_:1})],64))}};export{We as default}; diff --git a/assets/index-5689d3e2.js b/assets/index-79c63a4e.js similarity index 87% rename from assets/index-5689d3e2.js rename to assets/index-79c63a4e.js index 8a5c7cffc8f..fe6a3f5e82d 100644 --- a/assets/index-5689d3e2.js +++ b/assets/index-79c63a4e.js @@ -1 +1 @@ -import{a3 as $,d as C,D as m,a4 as f,r as N,G as y,a5 as h,_ as j,e as z,m as k,v as O,x as P,y as v}from"./index-af5fec45.js";import{d as w,a as S,c as R,w as U}from"./components-3ae053cb.js";import{a as B}from"./index-85b78525.js";import{a as D,p as F}from"./elements-68ad626b.js";const I={span:{type:[String,Number],default:24},offset:{type:[String,Number],default:0},direction:{type:String,default:"row"},justify:String,align:String,xs:[Object,Number,String],sm:[Object,Number,String],md:[Object,Number,String],lg:[Object,Number,String],xl:[Object,Number,String],onClick:w()};function L(){const{parentProvider:e,index:t,bindParent:i}=$(B);return{index:t,row:e,bindRow:i}}const{name:E,n:r,classes:G}=R("col"),K=C({name:E,props:I,setup(e){const t=m(()=>f(e.span)),i=m(()=>f(e.offset)),l=N({left:0,right:0,top:0,bottom:0}),{row:o,bindRow:p}=L(),d={setPadding(n){l.value=n}};y([()=>e.span,()=>e.offset],()=>{o==null||o.computePadding()}),S(p,d);function b(n,s){const a=[];if(s==null)return a;if(h(s)){const{offset:u,span:g}=s;Number(g)>=0&&a.push(r(`--span-${n}-${g}`)),u&&a.push(r(`--offset-${n}-${u}`))}else Number(s)>=0&&a.push(r(`--span-${n}-${s}`));return a}function c(n){S(e.onClick,n)}return{span:t,offset:i,padding:l,n:r,classes:G,toNumber:f,toSizeUnit:D,getSize:b,handleClick:c,padStartFlex:F}}});function T(e,t,i,l,o,p){return z(),k("div",{class:P(e.classes(e.n(),e.n("$--box"),[e.span>=0,e.n(`--span-${e.span}`)],[e.offset,e.n(`--offset-${e.offset}`)],...e.getSize("xs",e.xs),...e.getSize("sm",e.sm),...e.getSize("md",e.md),...e.getSize("lg",e.lg),...e.getSize("xl",e.xl))),style:v({flexDirection:e.direction,justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),paddingLeft:e.toSizeUnit(e.padding.left),paddingRight:e.toSizeUnit(e.padding.right),paddingTop:e.toSizeUnit(e.padding.top),paddingBottom:e.toSizeUnit(e.padding.bottom)}),onClick:t[0]||(t[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[O(e.$slots,"default")],6)}const W=j(K,[["render",T]]);U(W);export{W as C}; +import{a3 as $,d as C,D as m,a4 as f,r as N,G as y,a5 as h,_ as j,e as z,m as k,v as O,x as P,y as v}from"./index-0bd4ebfc.js";import{d as w,a as S,c as R,w as U}from"./components-a5332e66.js";import{a as B}from"./index-e6df479c.js";import{a as D,p as F}from"./elements-23c82371.js";const I={span:{type:[String,Number],default:24},offset:{type:[String,Number],default:0},direction:{type:String,default:"row"},justify:String,align:String,xs:[Object,Number,String],sm:[Object,Number,String],md:[Object,Number,String],lg:[Object,Number,String],xl:[Object,Number,String],onClick:w()};function L(){const{parentProvider:e,index:t,bindParent:i}=$(B);return{index:t,row:e,bindRow:i}}const{name:E,n:r,classes:G}=R("col"),K=C({name:E,props:I,setup(e){const t=m(()=>f(e.span)),i=m(()=>f(e.offset)),l=N({left:0,right:0,top:0,bottom:0}),{row:o,bindRow:p}=L(),d={setPadding(n){l.value=n}};y([()=>e.span,()=>e.offset],()=>{o==null||o.computePadding()}),S(p,d);function b(n,s){const a=[];if(s==null)return a;if(h(s)){const{offset:u,span:g}=s;Number(g)>=0&&a.push(r(`--span-${n}-${g}`)),u&&a.push(r(`--offset-${n}-${u}`))}else Number(s)>=0&&a.push(r(`--span-${n}-${s}`));return a}function c(n){S(e.onClick,n)}return{span:t,offset:i,padding:l,n:r,classes:G,toNumber:f,toSizeUnit:D,getSize:b,handleClick:c,padStartFlex:F}}});function T(e,t,i,l,o,p){return z(),k("div",{class:P(e.classes(e.n(),e.n("$--box"),[e.span>=0,e.n(`--span-${e.span}`)],[e.offset,e.n(`--offset-${e.offset}`)],...e.getSize("xs",e.xs),...e.getSize("sm",e.sm),...e.getSize("md",e.md),...e.getSize("lg",e.lg),...e.getSize("xl",e.xl))),style:v({flexDirection:e.direction,justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),paddingLeft:e.toSizeUnit(e.padding.left),paddingRight:e.toSizeUnit(e.padding.right),paddingTop:e.toSizeUnit(e.padding.top),paddingBottom:e.toSizeUnit(e.padding.bottom)}),onClick:t[0]||(t[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[O(e.$slots,"default")],6)}const W=j(K,[["render",T]]);U(W);export{W as C}; diff --git a/assets/index-45370678.js b/assets/index-7a6fd2cb.js similarity index 90% rename from assets/index-45370678.js rename to assets/index-7a6fd2cb.js index e3b3d334afe..01819e8b1b3 100644 --- a/assets/index-45370678.js +++ b/assets/index-7a6fd2cb.js @@ -1 +1 @@ -import{R as i}from"./index-85b78525.js";import{C as a}from"./index-5689d3e2.js";import{_ as m,F as r,e as h,m as v,q as t,w as e,U as s,N as g,Q as o,R as p,$ as y,a0 as x,p as d}from"./index-af5fec45.js";import{u as S,b as u,_ as N,c as C,a as w}from"./index-2b61c8d0.js";import{A as c}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";const U={girdSystem:"栅格系统",offset:"偏移",alignment:"对齐",gutter:"列间距"},j={girdSystem:"Grid System",offset:"Offset",alignment:"Alignment",gutter:"Gutter"},{add:f,use:k,pack:l,packs:_s,merge:is}=S(),z=_=>{w(_),k(_)};u("zh-CN",N);u("en-US",C);f("zh-CN",U);f("en-US",j);const n=_=>(y("data-v-d968d0de"),_=_(),x(),_),I=n(()=>d("div",{class:"item"},"span: 8",-1)),A=n(()=>d("div",{class:"item"},"span: 8",-1)),B=n(()=>d("div",{class:"item"},"span: 8",-1)),R=n(()=>d("div",{class:"item"},"span: 8",-1)),V=n(()=>d("div",{class:"item"},"span: 8",-1)),$=n(()=>d("div",{class:"item"},"span: 8",-1)),b=n(()=>d("div",{class:"item"},"offset: 8 span: 16",-1)),F=n(()=>d("div",{class:"item"},"span: 8",-1)),G=n(()=>d("div",{class:"item"},"span: 8",-1)),L=n(()=>d("div",{class:"item"},"span: 8",-1)),T=n(()=>d("div",{class:"item"},"span: 8",-1)),q=n(()=>d("div",{class:"item"},"span: 8",-1)),D=n(()=>d("div",{class:"item"},"span: 8",-1)),E=n(()=>d("div",{class:"item"},"span: 8",-1)),O=n(()=>d("div",{class:"item"},"span: 8",-1)),Q=n(()=>d("div",{class:"item"},"span: 8",-1)),H=n(()=>d("div",{class:"item"},"span: 8",-1)),J=n(()=>d("div",{class:"item"},"span: 8",-1)),K=n(()=>d("div",{class:"item"},"span: 8",-1)),M=n(()=>d("div",{class:"item"},"span: 8",-1)),P={__name:"index",setup(_){return r(z),(W,X)=>(h(),v(g,null,[t(s(c),null,{default:e(()=>[o(p(s(l).girdSystem),1)]),_:1}),t(s(i),{gutter:[10,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[I]),_:1}),t(s(a),{span:8},{default:e(()=>[A]),_:1}),t(s(a),{span:8},{default:e(()=>[B]),_:1}),t(s(a),{span:8},{default:e(()=>[R]),_:1}),t(s(a),{span:8},{default:e(()=>[V]),_:1}),t(s(a),{span:8},{default:e(()=>[$]),_:1})]),_:1}),t(s(c),null,{default:e(()=>[o(p(s(l).offset),1)]),_:1}),t(s(i),{gutter:[10,10]},{default:e(()=>[t(s(a),{span:16,offset:8},{default:e(()=>[b]),_:1}),t(s(a),{span:8},{default:e(()=>[F]),_:1}),t(s(a),{span:8},{default:e(()=>[G]),_:1}),t(s(a),{span:8},{default:e(()=>[L]),_:1})]),_:1}),t(s(c),null,{default:e(()=>[o(p(s(l).alignment),1)]),_:1}),t(s(i),{gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[T]),_:1}),t(s(a),{span:8},{default:e(()=>[q]),_:1})]),_:1}),t(s(i),{justify:"center",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[D]),_:1}),t(s(a),{span:8},{default:e(()=>[E]),_:1})]),_:1}),t(s(i),{justify:"flex-end",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[O]),_:1}),t(s(a),{span:8},{default:e(()=>[Q]),_:1})]),_:1}),t(s(i),{justify:"space-around",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[H]),_:1}),t(s(a),{span:8},{default:e(()=>[J]),_:1})]),_:1}),t(s(i),{justify:"space-between",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[K]),_:1}),t(s(a),{span:8},{default:e(()=>[M]),_:1})]),_:1})],64))}},os=m(P,[["__scopeId","data-v-d968d0de"]]);export{os as default}; +import{R as i}from"./index-e6df479c.js";import{C as a}from"./index-79c63a4e.js";import{_ as m,F as r,e as h,m as v,q as t,w as e,U as s,N as g,Q as o,R as p,$ as y,a0 as x,p as d}from"./index-0bd4ebfc.js";import{u as S,b as u,_ as N,c as C,a as w}from"./index-4a9c2ae2.js";import{A as c}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";const U={girdSystem:"栅格系统",offset:"偏移",alignment:"对齐",gutter:"列间距"},j={girdSystem:"Grid System",offset:"Offset",alignment:"Alignment",gutter:"Gutter"},{add:f,use:k,pack:l,packs:_s,merge:is}=S(),z=_=>{w(_),k(_)};u("zh-CN",N);u("en-US",C);f("zh-CN",U);f("en-US",j);const n=_=>(y("data-v-d968d0de"),_=_(),x(),_),I=n(()=>d("div",{class:"item"},"span: 8",-1)),A=n(()=>d("div",{class:"item"},"span: 8",-1)),B=n(()=>d("div",{class:"item"},"span: 8",-1)),R=n(()=>d("div",{class:"item"},"span: 8",-1)),V=n(()=>d("div",{class:"item"},"span: 8",-1)),$=n(()=>d("div",{class:"item"},"span: 8",-1)),b=n(()=>d("div",{class:"item"},"offset: 8 span: 16",-1)),F=n(()=>d("div",{class:"item"},"span: 8",-1)),G=n(()=>d("div",{class:"item"},"span: 8",-1)),L=n(()=>d("div",{class:"item"},"span: 8",-1)),T=n(()=>d("div",{class:"item"},"span: 8",-1)),q=n(()=>d("div",{class:"item"},"span: 8",-1)),D=n(()=>d("div",{class:"item"},"span: 8",-1)),E=n(()=>d("div",{class:"item"},"span: 8",-1)),O=n(()=>d("div",{class:"item"},"span: 8",-1)),Q=n(()=>d("div",{class:"item"},"span: 8",-1)),H=n(()=>d("div",{class:"item"},"span: 8",-1)),J=n(()=>d("div",{class:"item"},"span: 8",-1)),K=n(()=>d("div",{class:"item"},"span: 8",-1)),M=n(()=>d("div",{class:"item"},"span: 8",-1)),P={__name:"index",setup(_){return r(z),(W,X)=>(h(),v(g,null,[t(s(c),null,{default:e(()=>[o(p(s(l).girdSystem),1)]),_:1}),t(s(i),{gutter:[10,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[I]),_:1}),t(s(a),{span:8},{default:e(()=>[A]),_:1}),t(s(a),{span:8},{default:e(()=>[B]),_:1}),t(s(a),{span:8},{default:e(()=>[R]),_:1}),t(s(a),{span:8},{default:e(()=>[V]),_:1}),t(s(a),{span:8},{default:e(()=>[$]),_:1})]),_:1}),t(s(c),null,{default:e(()=>[o(p(s(l).offset),1)]),_:1}),t(s(i),{gutter:[10,10]},{default:e(()=>[t(s(a),{span:16,offset:8},{default:e(()=>[b]),_:1}),t(s(a),{span:8},{default:e(()=>[F]),_:1}),t(s(a),{span:8},{default:e(()=>[G]),_:1}),t(s(a),{span:8},{default:e(()=>[L]),_:1})]),_:1}),t(s(c),null,{default:e(()=>[o(p(s(l).alignment),1)]),_:1}),t(s(i),{gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[T]),_:1}),t(s(a),{span:8},{default:e(()=>[q]),_:1})]),_:1}),t(s(i),{justify:"center",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[D]),_:1}),t(s(a),{span:8},{default:e(()=>[E]),_:1})]),_:1}),t(s(i),{justify:"flex-end",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[O]),_:1}),t(s(a),{span:8},{default:e(()=>[Q]),_:1})]),_:1}),t(s(i),{justify:"space-around",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[H]),_:1}),t(s(a),{span:8},{default:e(()=>[J]),_:1})]),_:1}),t(s(i),{justify:"space-between",gutter:[20,10]},{default:e(()=>[t(s(a),{span:8},{default:e(()=>[K]),_:1}),t(s(a),{span:8},{default:e(()=>[M]),_:1})]),_:1})],64))}},os=m(P,[["__scopeId","data-v-d968d0de"]]);export{os as default}; diff --git a/assets/index-6f3dff2b.js b/assets/index-7e655bd3.js similarity index 94% rename from assets/index-6f3dff2b.js rename to assets/index-7e655bd3.js index 55ad3be6034..6df80499f7c 100644 --- a/assets/index-6f3dff2b.js +++ b/assets/index-7e655bd3.js @@ -1 +1 @@ -import{d as Q,u as U,c as Z,a as _,w as tt}from"./components-3ae053cb.js";import{t as g}from"./elements-68ad626b.js";import{d as et,r as f,b4 as nt,W as ot,G as at,aC as lt,at as st,aO as it,ah as $,aD as B,_ as rt,e as ut,f as dt,p as ct,v as ft,as as ht,au as mt}from"./index-af5fec45.js";const gt={direction:{type:String,default:"xy"},attraction:String,disabled:Boolean,boundary:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},zIndex:{type:[Number,String],default:90},teleport:{type:[String,Object,Boolean],default:"body"},onClick:Q()},{name:vt,n:bt,classes:pt}=Z("drag"),Tt=et({name:vt,inheritAttrs:!1,props:gt,setup(t,{attrs:a}){const v=f(null),r=f(0),u=f(0),d=f(!1),o=f(!1),{touching:S,dragging:D,moveX:W,moveY:z,startTouch:R,moveTouch:H,endTouch:N,resetTouch:O}=nt(),{disabled:P}=U(),l=ot({top:0,bottom:0,left:0,right:0});at(()=>t.boundary,Y),lt(p),st(()=>{Y(),p()});function A(e){t.disabled||(R(e),k())}async function I(e){!S.value||t.disabled||(H(e),it(e),o.value=!1,d.value=!0,t.direction.includes("x")&&(r.value+=W.value),t.direction.includes("y")&&(u.value+=z.value),X())}function j(){t.disabled||(N(),o.value=!0,L())}function x(e){D.value||_(t.onClick,e)}function k(){const{left:e,top:n}=b();r.value=e,u.value=n}function b(){const e=$(v.value),n=$(window),i=e.top-n.top,s=n.bottom-e.bottom,c=e.left-n.left,T=n.right-e.right,{width:h,height:m}=e,{width:y,height:w}=n;return{top:i,bottom:s,left:c,right:T,width:h,height:m,halfWidth:h/2,halfHeight:m/2,windowWidth:y,windowHeight:w}}function C(){const e=b(),n=l.left,i=e.windowWidth-l.right-e.width,s=l.top,c=e.windowHeight-l.bottom-e.height;return{minX:n,minY:s,maxX:nt.handleTouchstart&&t.handleTouchstart(...o)),onTouchmove:a[1]||(a[1]=(...o)=>t.handleTouchmove&&t.handleTouchmove(...o)),onTouchend:a[2]||(a[2]=(...o)=>t.handleTouchend&&t.handleTouchend(...o)),onTouchcancel:a[3]||(a[3]=(...o)=>t.handleTouchend&&t.handleTouchend(...o)),onClick:a[4]||(a[4]=(...o)=>t.handleClick&&t.handleClick(...o))},t.getAttrs()),[ft(t.$slots,"default")],16)],8,["to","disabled"])}const wt=rt(Tt,[["render",yt]]);tt(wt);export{wt as D}; +import{d as Q,u as U,c as Z,a as _,w as tt}from"./components-a5332e66.js";import{t as g}from"./elements-23c82371.js";import{d as et,r as f,b4 as nt,W as ot,G as at,aC as lt,at as st,aO as it,ah as $,aD as B,_ as rt,e as ut,f as dt,p as ct,v as ft,as as ht,au as mt}from"./index-0bd4ebfc.js";const gt={direction:{type:String,default:"xy"},attraction:String,disabled:Boolean,boundary:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},zIndex:{type:[Number,String],default:90},teleport:{type:[String,Object,Boolean],default:"body"},onClick:Q()},{name:vt,n:bt,classes:pt}=Z("drag"),Tt=et({name:vt,inheritAttrs:!1,props:gt,setup(t,{attrs:a}){const v=f(null),r=f(0),u=f(0),d=f(!1),o=f(!1),{touching:S,dragging:D,moveX:W,moveY:z,startTouch:R,moveTouch:H,endTouch:N,resetTouch:O}=nt(),{disabled:P}=U(),l=ot({top:0,bottom:0,left:0,right:0});at(()=>t.boundary,Y),lt(p),st(()=>{Y(),p()});function A(e){t.disabled||(R(e),k())}async function I(e){!S.value||t.disabled||(H(e),it(e),o.value=!1,d.value=!0,t.direction.includes("x")&&(r.value+=W.value),t.direction.includes("y")&&(u.value+=z.value),X())}function j(){t.disabled||(N(),o.value=!0,L())}function x(e){D.value||_(t.onClick,e)}function k(){const{left:e,top:n}=b();r.value=e,u.value=n}function b(){const e=$(v.value),n=$(window),i=e.top-n.top,s=n.bottom-e.bottom,c=e.left-n.left,T=n.right-e.right,{width:h,height:m}=e,{width:y,height:w}=n;return{top:i,bottom:s,left:c,right:T,width:h,height:m,halfWidth:h/2,halfHeight:m/2,windowWidth:y,windowHeight:w}}function C(){const e=b(),n=l.left,i=e.windowWidth-l.right-e.width,s=l.top,c=e.windowHeight-l.bottom-e.height;return{minX:n,minY:s,maxX:nt.handleTouchstart&&t.handleTouchstart(...o)),onTouchmove:a[1]||(a[1]=(...o)=>t.handleTouchmove&&t.handleTouchmove(...o)),onTouchend:a[2]||(a[2]=(...o)=>t.handleTouchend&&t.handleTouchend(...o)),onTouchcancel:a[3]||(a[3]=(...o)=>t.handleTouchend&&t.handleTouchend(...o)),onClick:a[4]||(a[4]=(...o)=>t.handleClick&&t.handleClick(...o))},t.getAttrs()),[ft(t.$slots,"default")],16)],8,["to","disabled"])}const wt=rt(Tt,[["render",yt]]);tt(wt);export{wt as D}; diff --git a/assets/index-237d061b.js b/assets/index-817b7dbd.js similarity index 92% rename from assets/index-237d061b.js rename to assets/index-817b7dbd.js index 19eb669f642..776ff18b11e 100644 --- a/assets/index-237d061b.js +++ b/assets/index-817b7dbd.js @@ -1 +1 @@ -import{b as E}from"./elements-68ad626b.js";import{aL as v,j as k,aS as w,aT as d}from"./index-af5fec45.js";import{c as b}from"./shared-de177aa1.js";import{a as I}from"./components-3ae053cb.js";const O="background-image",R="lazy-loading",W="lazy-error",m="lazy-attempt",C=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],u="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",n=[],c=[],y=b(100),e={loading:u,error:u,attempt:3,throttleWait:300,events:C};let A=d(o,e.throttleWait);function s(t,a){t._lazy.arg===O?t.style.backgroundImage=`url(${a})`:t.setAttribute("src",a)}function G(t){t._lazy.loading&&s(t,t._lazy.loading),o()}function N(t){t._lazy.error&&s(t,t._lazy.error),t._lazy.state="error",f(t),o()}function p(t,a){s(t,a),t._lazy.state="success",f(t),o()}function T(t){var a;c.includes(t)||(c.push(t),(a=e.events)==null||a.forEach(r=>{t.addEventListener(r,A,{passive:!0})}))}function B(){c.forEach(t=>{var a;(a=e.events)==null||a.forEach(r=>{t.removeEventListener(r,A)})}),c.length=0}function P(t,a){const r={loading:t.getAttribute(R)??e.loading,error:t.getAttribute(W)??e.error,attempt:t.getAttribute(m)?Number(t.getAttribute(m)):e.attempt};t._lazy={src:a.value,arg:a.arg,currentAttempt:0,state:"pending",attemptLock:!1,...r},s(t,u),I(e.filter,t._lazy)}function S(t,a){const r=new Image;r.src=a,t._lazy.preloadImage=r,r.addEventListener("load",()=>{t._lazy.attemptLock=!1,y.add(a),p(t,a)}),r.addEventListener("error",()=>{t._lazy.attemptLock=!1,t._lazy.currentAttempt>=t._lazy.attempt?N(t):z(t)})}function z(t){if(t._lazy.attemptLock)return;t._lazy.attemptLock=!0,t._lazy.currentAttempt++;const{src:a}=t._lazy;if(y.has(a)){p(t,a),t._lazy.attemptLock=!1;return}G(t),S(t,a)}async function l(t){await k(),w(t)&&z(t)}function o(){n.forEach(t=>l(t))}async function D(t){!n.includes(t)&&n.push(t),E(t).forEach(T),await l(t)}function f(t){v(n,t),n.length===0&&B()}function M(t,a){const{src:r,arg:i}=t._lazy;return r!==a.value||i!==a.arg}async function g(t,a){P(t,a),await D(t)}async function Y(t,a){if(!M(t,a)){n.includes(t)&&await l(t);return}await g(t,a)}function Z(t={}){const{events:a,loading:r,error:i,attempt:h,throttleWait:_,filter:L}=t;e.events=a??e.events,e.loading=r??e.loading,e.error=i??e.error,e.attempt=h??e.attempt,e.throttleWait=_??e.throttleWait,e.filter=L}const V={mounted:g,unmounted:f,updated:Y,install(t,a){Z(a),A=d(o,e.throttleWait),t.directive("lazy",this)}},Q=V;export{Q as v}; +import{b as E}from"./elements-23c82371.js";import{aL as v,j as k,aS as w,aT as d}from"./index-0bd4ebfc.js";import{c as b}from"./shared-a3ff1edc.js";import{a as I}from"./components-a5332e66.js";const O="background-image",R="lazy-loading",W="lazy-error",m="lazy-attempt",C=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],u="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",n=[],c=[],y=b(100),e={loading:u,error:u,attempt:3,throttleWait:300,events:C};let A=d(o,e.throttleWait);function s(t,a){t._lazy.arg===O?t.style.backgroundImage=`url(${a})`:t.setAttribute("src",a)}function G(t){t._lazy.loading&&s(t,t._lazy.loading),o()}function N(t){t._lazy.error&&s(t,t._lazy.error),t._lazy.state="error",f(t),o()}function p(t,a){s(t,a),t._lazy.state="success",f(t),o()}function T(t){var a;c.includes(t)||(c.push(t),(a=e.events)==null||a.forEach(r=>{t.addEventListener(r,A,{passive:!0})}))}function B(){c.forEach(t=>{var a;(a=e.events)==null||a.forEach(r=>{t.removeEventListener(r,A)})}),c.length=0}function P(t,a){const r={loading:t.getAttribute(R)??e.loading,error:t.getAttribute(W)??e.error,attempt:t.getAttribute(m)?Number(t.getAttribute(m)):e.attempt};t._lazy={src:a.value,arg:a.arg,currentAttempt:0,state:"pending",attemptLock:!1,...r},s(t,u),I(e.filter,t._lazy)}function S(t,a){const r=new Image;r.src=a,t._lazy.preloadImage=r,r.addEventListener("load",()=>{t._lazy.attemptLock=!1,y.add(a),p(t,a)}),r.addEventListener("error",()=>{t._lazy.attemptLock=!1,t._lazy.currentAttempt>=t._lazy.attempt?N(t):z(t)})}function z(t){if(t._lazy.attemptLock)return;t._lazy.attemptLock=!0,t._lazy.currentAttempt++;const{src:a}=t._lazy;if(y.has(a)){p(t,a),t._lazy.attemptLock=!1;return}G(t),S(t,a)}async function l(t){await k(),w(t)&&z(t)}function o(){n.forEach(t=>l(t))}async function D(t){!n.includes(t)&&n.push(t),E(t).forEach(T),await l(t)}function f(t){v(n,t),n.length===0&&B()}function M(t,a){const{src:r,arg:i}=t._lazy;return r!==a.value||i!==a.arg}async function g(t,a){P(t,a),await D(t)}async function Y(t,a){if(!M(t,a)){n.includes(t)&&await l(t);return}await g(t,a)}function Z(t={}){const{events:a,loading:r,error:i,attempt:h,throttleWait:_,filter:L}=t;e.events=a??e.events,e.loading=r??e.loading,e.error=i??e.error,e.attempt=h??e.attempt,e.throttleWait=_??e.throttleWait,e.filter=L}const V={mounted:g,unmounted:f,updated:Y,install(t,a){Z(a),A=d(o,e.throttleWait),t.directive("lazy",this)}},Q=V;export{Q as v}; diff --git a/assets/index-a213ba19.js b/assets/index-843c5053.js similarity index 74% rename from assets/index-a213ba19.js rename to assets/index-843c5053.js index 4dcf6a4aa2d..0cdadcfc6a8 100644 --- a/assets/index-a213ba19.js +++ b/assets/index-843c5053.js @@ -1 +1 @@ -import{L as t}from"./index-a6f8e46a.js";import{S as c}from"./index-90c41552.js";import{B as f}from"./index-84d96475.js";import{C as y}from"./index-37b2a953.js";import{d as _}from"./index-d8fbf18c.js";import{r as g,F as w,al as z,e as b,m as v,q as a,w as r,U as e,N as C,Q as l,R as s}from"./index-af5fec45.js";import{u as x,b as m,_ as N,c as h,a as k}from"./index-2b61c8d0.js";import{A as i}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";/* empty css */import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const S={type:"类型",size:"大小",color:"颜色",wrap:"包裹内容",open:"打开",close:"关闭",cardTitle:"介绍",cardDesc:"Varlet 是一个基于Vue3开发的 Material 风格移动端组件库,全面拥抱Vue3生态,由社区的小伙伴开发和维护。"},V={type:"Type",size:"Size",color:"Color",wrap:"Wrap",open:"Open",close:"Close",cardTitle:"Intro",cardDesc:"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community."},{add:u,use:D,pack:o,packs:Y,merge:Z}=x(),T=n=>{k(n),D(n)};m("zh-CN",N);m("en-US",h);u("zh-CN",S);u("en-US",V);const ee={__name:"index",setup(n){const p=g(!1);return w(T),z(_),(L,d)=>(b(),v(C,null,[a(e(i),null,{default:r(()=>[l(s(e(o).type),1)]),_:1}),a(e(c),{align:"center",justify:"space-between"},{default:r(()=>[a(e(t),{type:"circle"}),a(e(t),{type:"cube"}),a(e(t),{type:"wave"}),a(e(t),{type:"rect"}),a(e(t),{type:"disappear"})]),_:1}),a(e(i),null,{default:r(()=>[l(s(e(o).color),1)]),_:1}),a(e(c),{align:"center",justify:"space-between"},{default:r(()=>[a(e(t),{type:"circle",color:"#00afef"}),a(e(t),{type:"cube",color:"#00c48f"}),a(e(t),{type:"wave",color:"#ff9f00"}),a(e(t),{type:"rect",color:"#f44336"}),a(e(t),{type:"disappear",color:"#aaa"})]),_:1}),a(e(i),null,{default:r(()=>[l(s(e(o).size),1)]),_:1}),a(e(c),{align:"center",justify:"space-between"},{default:r(()=>[a(e(t),{type:"circle",size:"small"}),a(e(t),{type:"cube",size:"small"}),a(e(t),{type:"wave",size:"small"}),a(e(t),{type:"rect",size:"small"}),a(e(t),{type:"disappear",size:"small"})]),_:1}),a(e(i),null,{default:r(()=>[l(s(e(o).wrap),1)]),_:1}),a(e(f),{onClick:d[0]||(d[0]=U=>p.value=!p.value),style:{"margin-bottom":"8px"}},{default:r(()=>[l(s(p.value?e(o).close:e(o).open),1)]),_:1}),a(e(t),{description:"LOADING",loading:p.value},{default:r(()=>[a(e(y),{title:e(o).cardTitle,description:e(o).cardDesc},null,8,["title","description"])]),_:1},8,["loading"])],64))}};export{ee as default}; +import{L as t}from"./index-1e0bee81.js";import{S as c}from"./index-65cffe90.js";import{B as f}from"./index-1f1d0c91.js";import{C as y}from"./index-5ae829a8.js";import{d as _}from"./index-d8fbf18c.js";import{r as g,F as w,al as z,e as b,m as v,q as a,w as r,U as e,N as C,Q as l,R as s}from"./index-0bd4ebfc.js";import{u as x,b as m,_ as N,c as h,a as k}from"./index-4a9c2ae2.js";import{A as i}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";/* empty css */import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const S={type:"类型",size:"大小",color:"颜色",wrap:"包裹内容",open:"打开",close:"关闭",cardTitle:"介绍",cardDesc:"Varlet 是一个基于Vue3开发的 Material 风格移动端组件库,全面拥抱Vue3生态,由社区的小伙伴开发和维护。"},V={type:"Type",size:"Size",color:"Color",wrap:"Wrap",open:"Open",close:"Close",cardTitle:"Intro",cardDesc:"Varlet is a Material design mobile component library developed based on Vue3, developed and maintained by partners in the community."},{add:u,use:D,pack:o,packs:Y,merge:Z}=x(),T=n=>{k(n),D(n)};m("zh-CN",N);m("en-US",h);u("zh-CN",S);u("en-US",V);const ee={__name:"index",setup(n){const p=g(!1);return w(T),z(_),(L,d)=>(b(),v(C,null,[a(e(i),null,{default:r(()=>[l(s(e(o).type),1)]),_:1}),a(e(c),{align:"center",justify:"space-between"},{default:r(()=>[a(e(t),{type:"circle"}),a(e(t),{type:"cube"}),a(e(t),{type:"wave"}),a(e(t),{type:"rect"}),a(e(t),{type:"disappear"})]),_:1}),a(e(i),null,{default:r(()=>[l(s(e(o).color),1)]),_:1}),a(e(c),{align:"center",justify:"space-between"},{default:r(()=>[a(e(t),{type:"circle",color:"#00afef"}),a(e(t),{type:"cube",color:"#00c48f"}),a(e(t),{type:"wave",color:"#ff9f00"}),a(e(t),{type:"rect",color:"#f44336"}),a(e(t),{type:"disappear",color:"#aaa"})]),_:1}),a(e(i),null,{default:r(()=>[l(s(e(o).size),1)]),_:1}),a(e(c),{align:"center",justify:"space-between"},{default:r(()=>[a(e(t),{type:"circle",size:"small"}),a(e(t),{type:"cube",size:"small"}),a(e(t),{type:"wave",size:"small"}),a(e(t),{type:"rect",size:"small"}),a(e(t),{type:"disappear",size:"small"})]),_:1}),a(e(i),null,{default:r(()=>[l(s(e(o).wrap),1)]),_:1}),a(e(f),{onClick:d[0]||(d[0]=U=>p.value=!p.value),style:{"margin-bottom":"8px"}},{default:r(()=>[l(s(p.value?e(o).close:e(o).open),1)]),_:1}),a(e(t),{description:"LOADING",loading:p.value},{default:r(()=>[a(e(y),{title:e(o).cardTitle,description:e(o).cardDesc},null,8,["title","description"])]),_:1},8,["loading"])],64))}};export{ee as default}; diff --git a/assets/index-3ebad8cf.js b/assets/index-8478439b.js similarity index 84% rename from assets/index-3ebad8cf.js rename to assets/index-8478439b.js index 02fcb71ba37..f67fb000974 100644 --- a/assets/index-3ebad8cf.js +++ b/assets/index-8478439b.js @@ -1 +1 @@ -import{B as o}from"./index-6eedc20f.js";import{B as v}from"./index-84d96475.js";import{C as i}from"./index-83ee7fa7.js";import{S as r}from"./index-90c41552.js";import{E as C}from"./index-801ce3ba.js";import{d as y}from"./index-d8fbf18c.js";import{r as s,F as x,al as T,e as w,m as k,q as a,w as t,U as e,Q as l,R as d}from"./index-af5fec45.js";import{u as L,b as g,_ as b,c as S,a as z}from"./index-2b61c8d0.js";import{A as u}from"./appType-53211ea9.js";import"./index-057aa4ba.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-9fe07c8e.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";const R={themeColorBadge:"主题色徽标",dotBadge:"圆点徽标",customContentBadge:"自定义内容标签",maximum:"最大值",differentPositioningBadges:"不同定位徽标",upperRight:"右上",lowerRight:"右下",upperLeft:"左上",lowerLeft:"左下",hidden:"隐藏徽标",clickToChangeTheState:"点击改变状态",badge:"徽标",customBadgeColors:"自定义徽标颜色",customBadgeIcons:"自定义徽标图标",customBadgeValue:"自定义徽标值"},N={themeColorBadge:"Theme Color Badge",dotBadge:"Dot Badge",customContentBadge:"Custom Content Badge",maximum:"Maximum",differentPositioningBadges:"Different Positioning Badges",upperRight:"The Upper Right",lowerRight:"The Lower Right",upperLeft:"The Upper Left",lowerLeft:"The Lower Left",hidden:"Hidden Badge",clickToChangeTheState:"Click To Change The State",badge:"Badge",customBadgeColors:"Custom Badge Colors",customBadgeIcons:"Custom Badge Icons",customBadgeValue:"Custom Badge Value"},{add:c,use:U,pack:n,packs:de,merge:ne}=L(),V=m=>{z(m),U(m)};g("zh-CN",b);g("en-US",S);c("zh-CN",R);c("en-US",N);const D={class:"example"},ue={__name:"index",setup(m){const h=s(88),_=s(188),f=s(99),p=s(!1);function B(){p.value=!p.value}return x(V),T(y),(I,P)=>(w(),k("div",D,[a(e(u),null,{default:t(()=>[l(d(e(n).themeColorBadge),1)]),_:1}),a(e(r),{size:["2.666vmin","4vmin"]},{default:t(()=>[a(e(o)),a(e(o),{type:"primary"}),a(e(o),{type:"info"}),a(e(o),{type:"success"}),a(e(o),{type:"warning"}),a(e(o),{type:"danger"})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).dotBadge),1)]),_:1}),a(e(o),{dot:"",type:"danger"}),a(e(u),null,{default:t(()=>[l(d(e(n).customContentBadge),1)]),_:1}),a(e(r),{size:["2.666vmin","4vmin"]},{default:t(()=>[a(e(o),{type:"danger",value:"badge"}),a(e(o),{type:"danger",value:"hot"}),a(e(o),{type:"danger",value:"66"})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).maximum),1)]),_:1}),a(e(r),{size:["2.666vmin","4vmin"]},{default:t(()=>[a(e(o),{type:"danger",value:h.value,"max-value":f.value},null,8,["value","max-value"]),a(e(o),{type:"danger",value:_.value,"max-value":f.value},null,8,["value","max-value"])]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).differentPositioningBadges),1)]),_:1}),a(e(r),{size:["2.666vmin","6vmin"]},{default:t(()=>[a(e(o),{type:"danger",position:"right-top"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).upperRight),1)]),_:1})]),_:1}),a(e(o),{type:"danger",position:"right-bottom"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).lowerRight),1)]),_:1})]),_:1}),a(e(o),{type:"danger",position:"left-top"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).upperLeft),1)]),_:1})]),_:1}),a(e(o),{type:"danger",position:"left-bottom"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).lowerLeft),1)]),_:1})]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).hidden),1)]),_:1}),a(e(r),{size:["2.666vmin","6vmin"]},{default:t(()=>[a(e(o),{type:"danger",hidden:p.value},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1},8,["hidden"]),a(e(v),{type:"success",onClick:B},{default:t(()=>[l(d(e(n).clickToChangeTheState),1)]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).customBadgeColors),1)]),_:1}),a(e(o),{color:"#6200ea"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).customBadgeIcons),1)]),_:1}),a(e(o),{color:"#6200ea",icon:"notebook"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).customBadgeValue),1)]),_:1}),a(e(o),{color:"#6200ea"},{value:t(()=>[a(e(C),{style:{"max-width":"40px"},tooltip:{sameWidth:!1}},{default:t(()=>[l("100000000")]),_:1})]),default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1})]))}};export{ue as default}; +import{B as o}from"./index-aa14e311.js";import{B as v}from"./index-1f1d0c91.js";import{C as i}from"./index-123e4258.js";import{S as r}from"./index-65cffe90.js";import{E as C}from"./index-0dba4f4e.js";import{d as y}from"./index-d8fbf18c.js";import{r as s,F as x,al as T,e as w,m as k,q as a,w as t,U as e,Q as l,R as d}from"./index-0bd4ebfc.js";import{u as L,b as g,_ as b,c as S,a as z}from"./index-4a9c2ae2.js";import{A as u}from"./appType-a8f87391.js";import"./index-2c5b74fa.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-e4246741.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";const R={themeColorBadge:"主题色徽标",dotBadge:"圆点徽标",customContentBadge:"自定义内容标签",maximum:"最大值",differentPositioningBadges:"不同定位徽标",upperRight:"右上",lowerRight:"右下",upperLeft:"左上",lowerLeft:"左下",hidden:"隐藏徽标",clickToChangeTheState:"点击改变状态",badge:"徽标",customBadgeColors:"自定义徽标颜色",customBadgeIcons:"自定义徽标图标",customBadgeValue:"自定义徽标值"},N={themeColorBadge:"Theme Color Badge",dotBadge:"Dot Badge",customContentBadge:"Custom Content Badge",maximum:"Maximum",differentPositioningBadges:"Different Positioning Badges",upperRight:"The Upper Right",lowerRight:"The Lower Right",upperLeft:"The Upper Left",lowerLeft:"The Lower Left",hidden:"Hidden Badge",clickToChangeTheState:"Click To Change The State",badge:"Badge",customBadgeColors:"Custom Badge Colors",customBadgeIcons:"Custom Badge Icons",customBadgeValue:"Custom Badge Value"},{add:c,use:U,pack:n,packs:de,merge:ne}=L(),V=m=>{z(m),U(m)};g("zh-CN",b);g("en-US",S);c("zh-CN",R);c("en-US",N);const D={class:"example"},ue={__name:"index",setup(m){const h=s(88),_=s(188),f=s(99),p=s(!1);function B(){p.value=!p.value}return x(V),T(y),(I,P)=>(w(),k("div",D,[a(e(u),null,{default:t(()=>[l(d(e(n).themeColorBadge),1)]),_:1}),a(e(r),{size:["2.666vmin","4vmin"]},{default:t(()=>[a(e(o)),a(e(o),{type:"primary"}),a(e(o),{type:"info"}),a(e(o),{type:"success"}),a(e(o),{type:"warning"}),a(e(o),{type:"danger"})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).dotBadge),1)]),_:1}),a(e(o),{dot:"",type:"danger"}),a(e(u),null,{default:t(()=>[l(d(e(n).customContentBadge),1)]),_:1}),a(e(r),{size:["2.666vmin","4vmin"]},{default:t(()=>[a(e(o),{type:"danger",value:"badge"}),a(e(o),{type:"danger",value:"hot"}),a(e(o),{type:"danger",value:"66"})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).maximum),1)]),_:1}),a(e(r),{size:["2.666vmin","4vmin"]},{default:t(()=>[a(e(o),{type:"danger",value:h.value,"max-value":f.value},null,8,["value","max-value"]),a(e(o),{type:"danger",value:_.value,"max-value":f.value},null,8,["value","max-value"])]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).differentPositioningBadges),1)]),_:1}),a(e(r),{size:["2.666vmin","6vmin"]},{default:t(()=>[a(e(o),{type:"danger",position:"right-top"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).upperRight),1)]),_:1})]),_:1}),a(e(o),{type:"danger",position:"right-bottom"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).lowerRight),1)]),_:1})]),_:1}),a(e(o),{type:"danger",position:"left-top"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).upperLeft),1)]),_:1})]),_:1}),a(e(o),{type:"danger",position:"left-bottom"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).lowerLeft),1)]),_:1})]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).hidden),1)]),_:1}),a(e(r),{size:["2.666vmin","6vmin"]},{default:t(()=>[a(e(o),{type:"danger",hidden:p.value},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1},8,["hidden"]),a(e(v),{type:"success",onClick:B},{default:t(()=>[l(d(e(n).clickToChangeTheState),1)]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).customBadgeColors),1)]),_:1}),a(e(o),{color:"#6200ea"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).customBadgeIcons),1)]),_:1}),a(e(o),{color:"#6200ea",icon:"notebook"},{default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1}),a(e(u),null,{default:t(()=>[l(d(e(n).customBadgeValue),1)]),_:1}),a(e(o),{color:"#6200ea"},{value:t(()=>[a(e(C),{style:{"max-width":"40px"},tooltip:{sameWidth:!1}},{default:t(()=>[l("100000000")]),_:1})]),default:t(()=>[a(e(i),{plain:"",round:!1,color:"#009688"},{default:t(()=>[l(d(e(n).badge),1)]),_:1})]),_:1})]))}};export{ue as default}; diff --git a/assets/index-09274fe1.js b/assets/index-847faa84.js similarity index 82% rename from assets/index-09274fe1.js rename to assets/index-847faa84.js index bb1ff30d34d..2e95b29e47b 100644 --- a/assets/index-09274fe1.js +++ b/assets/index-847faa84.js @@ -1 +1 @@ -import{D as p}from"./index-6f3dff2b.js";import{B as s}from"./index-84d96475.js";import{d as k}from"./index-d8fbf18c.js";import{r as l,F as v,al as A,e as z,m as U,q as e,w as a,U as t,N,Q as r,R as o,n as C}from"./index-af5fec45.js";import{u as D,b as g,_ as B,c as w,a as S}from"./index-2b61c8d0.js";import{A as n}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const T={basicUse:"基本使用",direction:"拖拽方向",attraction:"吸附方向",xAttraction:"水平吸附",yAttraction:"垂直吸附",disabled:"禁用",boundary:"拖拽区域",reset:"重置位置"},F={basicUse:"Basic Use",direction:"Direction",attraction:"Attraction Direction",xAttraction:"X Attraction",yAttraction:"Y Attraction",disabled:"Disabled",boundary:"Boundary",reset:"Reset Position"},{add:b,use:L,pack:i,packs:W,merge:Z}=D(),R=d=>{S(d),L(d)};g("zh-CN",B);g("en-US",w);b("zh-CN",T);b("en-US",F);const tt={__name:"index",setup(d){const u=l(null),c=l(null),f=l(null),y=l(null),m=l(null),x=l(null);function h(){u.value.reset(),c.value.reset(),f.value.reset(),y.value.reset(),m.value.reset(),x.value.reset()}return v(_=>{R(_),C(()=>{u.value.resize(),c.value.resize(),f.value.resize(),y.value.resize(),m.value.resize(),x.value.resize()})}),A(k),(_,V)=>(z(),U(N,null,[e(t(n),{style:{height:"50px"}},{default:a(()=>[r(o(t(i).basicUse),1)]),_:1}),e(t(p),{ref_key:"drag",ref:u,style:{left:"15px",top:"105px"},boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).basicUse),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).direction),1)]),_:1}),e(t(p),{ref_key:"drag2",ref:c,style:{left:"15px",top:"195px"},direction:"x",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).direction),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).attraction),1)]),_:1}),e(t(p),{ref_key:"drag3",ref:f,style:{left:"15px",top:"285px"},attraction:"x",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).xAttraction),1)]),_:1})]),_:1},512),e(t(p),{ref_key:"drag4",ref:y,style:{left:"132px",top:"285px"},attraction:"y",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).yAttraction),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).disabled),1)]),_:1}),e(t(p),{ref_key:"drag5",ref:m,style:{left:"15px",top:"375px"},disabled:"",attraction:"x",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary",disabled:""},{default:a(()=>[r(o(t(i).disabled),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).boundary),1)]),_:1}),e(t(p),{ref_key:"drag6",ref:x,style:{left:"15px",top:"465px"},attraction:"x",boundary:{top:465,bottom:15,left:15,right:15}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).boundary),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).reset),1)]),_:1}),e(t(s),{type:"primary",onClick:h},{default:a(()=>[r(o(t(i).reset),1)]),_:1})],64))}};export{tt as default}; +import{D as p}from"./index-7e655bd3.js";import{B as s}from"./index-1f1d0c91.js";import{d as k}from"./index-d8fbf18c.js";import{r as l,F as v,al as A,e as z,m as U,q as e,w as a,U as t,N,Q as r,R as o,n as C}from"./index-0bd4ebfc.js";import{u as D,b as g,_ as B,c as w,a as S}from"./index-4a9c2ae2.js";import{A as n}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const T={basicUse:"基本使用",direction:"拖拽方向",attraction:"吸附方向",xAttraction:"水平吸附",yAttraction:"垂直吸附",disabled:"禁用",boundary:"拖拽区域",reset:"重置位置"},F={basicUse:"Basic Use",direction:"Direction",attraction:"Attraction Direction",xAttraction:"X Attraction",yAttraction:"Y Attraction",disabled:"Disabled",boundary:"Boundary",reset:"Reset Position"},{add:b,use:L,pack:i,packs:W,merge:Z}=D(),R=d=>{S(d),L(d)};g("zh-CN",B);g("en-US",w);b("zh-CN",T);b("en-US",F);const tt={__name:"index",setup(d){const u=l(null),c=l(null),f=l(null),y=l(null),m=l(null),x=l(null);function h(){u.value.reset(),c.value.reset(),f.value.reset(),y.value.reset(),m.value.reset(),x.value.reset()}return v(_=>{R(_),C(()=>{u.value.resize(),c.value.resize(),f.value.resize(),y.value.resize(),m.value.resize(),x.value.resize()})}),A(k),(_,V)=>(z(),U(N,null,[e(t(n),{style:{height:"50px"}},{default:a(()=>[r(o(t(i).basicUse),1)]),_:1}),e(t(p),{ref_key:"drag",ref:u,style:{left:"15px",top:"105px"},boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).basicUse),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).direction),1)]),_:1}),e(t(p),{ref_key:"drag2",ref:c,style:{left:"15px",top:"195px"},direction:"x",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).direction),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).attraction),1)]),_:1}),e(t(p),{ref_key:"drag3",ref:f,style:{left:"15px",top:"285px"},attraction:"x",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).xAttraction),1)]),_:1})]),_:1},512),e(t(p),{ref_key:"drag4",ref:y,style:{left:"132px",top:"285px"},attraction:"y",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).yAttraction),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).disabled),1)]),_:1}),e(t(p),{ref_key:"drag5",ref:m,style:{left:"15px",top:"375px"},disabled:"",attraction:"x",boundary:{top:54}},{default:a(()=>[e(t(s),{type:"primary",disabled:""},{default:a(()=>[r(o(t(i).disabled),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).boundary),1)]),_:1}),e(t(p),{ref_key:"drag6",ref:x,style:{left:"15px",top:"465px"},attraction:"x",boundary:{top:465,bottom:15,left:15,right:15}},{default:a(()=>[e(t(s),{type:"primary"},{default:a(()=>[r(o(t(i).boundary),1)]),_:1})]),_:1},512),e(t(n),{style:{height:"50px","margin-top":"40px"}},{default:a(()=>[r(o(t(i).reset),1)]),_:1}),e(t(s),{type:"primary",onClick:h},{default:a(()=>[r(o(t(i).reset),1)]),_:1})],64))}};export{tt as default}; diff --git a/assets/index-fd85f3bc.js b/assets/index-855ecd52.js similarity index 81% rename from assets/index-fd85f3bc.js rename to assets/index-855ecd52.js index 1712b7ae4d4..b97e2fac9b7 100644 --- a/assets/index-fd85f3bc.js +++ b/assets/index-855ecd52.js @@ -1 +1 @@ -import{c as B}from"./index-e95cf05b.js";import{c as U,m as O}from"./components-3ae053cb.js";import{a as v}from"./elements-68ad626b.js";/* empty css */import{d as z,q as r,W as $,r as D,al as L,F as M,e as j,m as E,w as i,U as o,N as F,Q as l,R as c}from"./index-af5fec45.js";import{B as m}from"./index-84d96475.js";import{S as I}from"./index-90c41552.js";import{d as V}from"./index-d8fbf18c.js";import{u as A,b as h,_ as q,c as P,a as Q}from"./index-2b61c8d0.js";import{A as R}from"./appType-53211ea9.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const W={value:{type:Number,default:0},opacity:{type:Number,default:0},error:Boolean,color:String,errorColor:String,height:[Number,String],top:[Number,String]};const{name:G,classes:H,n:w}=U("loading-bar"),J=z({name:G,props:W,setup(e){return()=>r("div",{class:H(w(),[e.error,w("--error")]),style:{zIndex:B.zIndex+10,width:`${e.value}%`,opacity:e.opacity,height:v(e.height),backgroundColor:e.error?e.errorColor:e.color,top:v(e.top)}},null)}});let C,b,p,T,y,k={};const K={value:0,opacity:0,error:!1},t=$(K),X=e=>{Object.assign(t,e)},Y=e=>{Object.assign(t,e),k=e},Z=()=>{Object.keys(k).forEach(e=>{t[e]!==void 0&&(t[e]=void 0)})},S=()=>{y||(y=!0,O(J,t))},f=()=>{C=window.setTimeout(()=>{if(t.value>=95)return;let e=Math.random();t.value<70&&(e=Math.round(5*Math.random())),t.value+=e,f()},200)},d=()=>{window.clearTimeout(b),window.clearTimeout(C),window.clearTimeout(p),window.clearTimeout(T)},ee=()=>{d(),t.error=!1,t.value=0,S(),p=window.setTimeout(()=>{t.opacity=1},200),f()},N=()=>{d(),t.value=100,p=window.setTimeout(()=>{t.opacity=0,b=window.setTimeout(()=>{t.error=!1},250)},300)},te=()=>{d(),t.error=!0,t.value===100&&(t.value=0),S(),p=window.setTimeout(()=>{t.opacity=1},200),f(),T=window.setTimeout(N,300)},oe={start:ee,finish:N,error:te,mergeConfig:X,setDefaultOptions:Y,resetDefaultOptions:Z},s=oe,re={basicUsage:"基本使用",start:"开始",finish:"结束",error:"错误",custom:"设置样式",clear:"清除样式"},ae={basicUsage:"Basic Usage",start:"Start",finish:"Finish",error:"Error",custom:"Custom Style",clear:"Clear Style"},{add:_,use:ie,pack:n,packs:ke,merge:Se}=A(),se=e=>{Q(e),ie(e)};h("zh-CN",q);h("en-US",P);_("zh-CN",re);_("en-US",ae);const Ne={__name:"index",setup(e){const u=D(!1);function x(){u.value?s.resetDefaultOptions():s.setDefaultOptions({errorColor:"#ff8800",color:"#10afef",height:"5px"}),u.value=!u.value}return L(V),M(se),s.setDefaultOptions({top:"14.5vmin"}),(ne,a)=>(j(),E(F,null,[r(o(R),null,{default:i(()=>[l(c(o(n).basicUsage),1)]),_:1}),r(o(I),{direction:"column",size:["3vmin","4vmin"]},{default:i(()=>[r(o(m),{type:"primary",block:"",onClick:a[0]||(a[0]=g=>o(s).start())},{default:i(()=>[l(c(o(n).start),1)]),_:1}),r(o(m),{type:"primary",block:"",onClick:a[1]||(a[1]=g=>o(s).finish())},{default:i(()=>[l(c(o(n).finish),1)]),_:1}),r(o(m),{type:"primary",block:"",onClick:a[2]||(a[2]=g=>o(s).error())},{default:i(()=>[l(c(o(n).error),1)]),_:1}),r(o(m),{type:"primary",block:"",onClick:x},{default:i(()=>[l(c(u.value?o(n).clear:o(n).custom),1)]),_:1})]),_:1})],64))}};export{Ne as default}; +import{c as B}from"./index-9eb15296.js";import{c as U,m as O}from"./components-a5332e66.js";import{a as v}from"./elements-23c82371.js";/* empty css */import{d as z,q as r,W as $,r as D,al as L,F as M,e as j,m as E,w as i,U as o,N as F,Q as l,R as c}from"./index-0bd4ebfc.js";import{B as m}from"./index-1f1d0c91.js";import{S as I}from"./index-65cffe90.js";import{d as V}from"./index-d8fbf18c.js";import{u as A,b as h,_ as q,c as P,a as Q}from"./index-4a9c2ae2.js";import{A as R}from"./appType-a8f87391.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const W={value:{type:Number,default:0},opacity:{type:Number,default:0},error:Boolean,color:String,errorColor:String,height:[Number,String],top:[Number,String]};const{name:G,classes:H,n:w}=U("loading-bar"),J=z({name:G,props:W,setup(e){return()=>r("div",{class:H(w(),[e.error,w("--error")]),style:{zIndex:B.zIndex+10,width:`${e.value}%`,opacity:e.opacity,height:v(e.height),backgroundColor:e.error?e.errorColor:e.color,top:v(e.top)}},null)}});let C,b,p,T,y,k={};const K={value:0,opacity:0,error:!1},t=$(K),X=e=>{Object.assign(t,e)},Y=e=>{Object.assign(t,e),k=e},Z=()=>{Object.keys(k).forEach(e=>{t[e]!==void 0&&(t[e]=void 0)})},S=()=>{y||(y=!0,O(J,t))},f=()=>{C=window.setTimeout(()=>{if(t.value>=95)return;let e=Math.random();t.value<70&&(e=Math.round(5*Math.random())),t.value+=e,f()},200)},d=()=>{window.clearTimeout(b),window.clearTimeout(C),window.clearTimeout(p),window.clearTimeout(T)},ee=()=>{d(),t.error=!1,t.value=0,S(),p=window.setTimeout(()=>{t.opacity=1},200),f()},N=()=>{d(),t.value=100,p=window.setTimeout(()=>{t.opacity=0,b=window.setTimeout(()=>{t.error=!1},250)},300)},te=()=>{d(),t.error=!0,t.value===100&&(t.value=0),S(),p=window.setTimeout(()=>{t.opacity=1},200),f(),T=window.setTimeout(N,300)},oe={start:ee,finish:N,error:te,mergeConfig:X,setDefaultOptions:Y,resetDefaultOptions:Z},s=oe,re={basicUsage:"基本使用",start:"开始",finish:"结束",error:"错误",custom:"设置样式",clear:"清除样式"},ae={basicUsage:"Basic Usage",start:"Start",finish:"Finish",error:"Error",custom:"Custom Style",clear:"Clear Style"},{add:_,use:ie,pack:n,packs:ke,merge:Se}=A(),se=e=>{Q(e),ie(e)};h("zh-CN",q);h("en-US",P);_("zh-CN",re);_("en-US",ae);const Ne={__name:"index",setup(e){const u=D(!1);function x(){u.value?s.resetDefaultOptions():s.setDefaultOptions({errorColor:"#ff8800",color:"#10afef",height:"5px"}),u.value=!u.value}return L(V),M(se),s.setDefaultOptions({top:"14.5vmin"}),(ne,a)=>(j(),E(F,null,[r(o(R),null,{default:i(()=>[l(c(o(n).basicUsage),1)]),_:1}),r(o(I),{direction:"column",size:["3vmin","4vmin"]},{default:i(()=>[r(o(m),{type:"primary",block:"",onClick:a[0]||(a[0]=g=>o(s).start())},{default:i(()=>[l(c(o(n).start),1)]),_:1}),r(o(m),{type:"primary",block:"",onClick:a[1]||(a[1]=g=>o(s).finish())},{default:i(()=>[l(c(o(n).finish),1)]),_:1}),r(o(m),{type:"primary",block:"",onClick:a[2]||(a[2]=g=>o(s).error())},{default:i(()=>[l(c(o(n).error),1)]),_:1}),r(o(m),{type:"primary",block:"",onClick:x},{default:i(()=>[l(c(u.value?o(n).clear:o(n).custom),1)]),_:1})]),_:1})],64))}};export{Ne as default}; diff --git a/assets/index-5a914002.js b/assets/index-86ac835d.js similarity index 90% rename from assets/index-5a914002.js rename to assets/index-86ac835d.js index 797b4168ec6..d4e6715a591 100644 --- a/assets/index-5a914002.js +++ b/assets/index-86ac835d.js @@ -1 +1 @@ -import{S as t}from"./index-eb9351e0.js";import{S as f}from"./index-90c41552.js";import{d as U}from"./index-d8fbf18c.js";import{W as S,F as y,al as x,e as w,m as z,q as o,w as d,U as e,N as C,Q as m,R as s,p as v}from"./index-af5fec45.js";import{u as _,b as V,_ as k,c as N,a as B}from"./index-2b61c8d0.js";import{A as i}from"./appType-53211ea9.js";import"./provide-c979a783.js";import"./components-3ae053cb.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";/* empty css */const L={basicUsage:"基本使用",stepSize:"指定步长",dualThumb:"双滑块",range:"选择范围",disable:"禁用",readonly:"只读",sliderSize:"不同大小",customStyle:"自定义样式",showLabel:"显示标签",customBtn:"自定义按钮",validateValue:"值的校验",errMsg:"错误信息",vertical:"垂直方向"},T={basicUsage:"Basic Usage",stepSize:"Step Size",dualThumb:"Dual Thumbs",disable:"Disable",readonly:"Readonly",range:"Range",sliderSize:"Slider Size",customStyle:"Custom Style",showLabel:"Show Label",customBtn:"Custom Button",validateValue:"Validate Value",errMsg:"error message",vertical:"Vertical"},{add:b,use:D,pack:n,packs:P,merge:X}=_(),M=r=>{B(r),D(r)};V("zh-CN",k);V("en-US",N);b("zh-CN",L);b("en-US",T);const R={class:"slider-example__block"},c={style:{height:"300px"}},A={style:{height:"300px"}},Y={__name:"index",setup(r){const a=S({value:3,value1:[24,50],value2:25,value3:40,value4:20,value5:20,value6:70,value7:50,value8:20,value9:[5,38],value10:[7,64],value11:0,value12:50,value13:[7,64]});function g(p){console.log(p)}return y(M),x(U),(p,u)=>(w(),z(C,null,[o(e(i),null,{default:d(()=>[m(s(e(n).basicUsage),1)]),_:1}),o(e(t),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=l=>a.value=l)},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).stepSize),1)]),_:1}),o(e(t),{modelValue:a.value2,"onUpdate:modelValue":u[1]||(u[1]=l=>a.value2=l),step:"10"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).dualThumb),1)]),_:1}),o(e(t),{modelValue:a.value1,"onUpdate:modelValue":u[2]||(u[2]=l=>a.value1=l),range:"",onChange:g,"label-visible":"always"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).range),1)]),_:1}),o(e(t),{modelValue:a.value11,"onUpdate:modelValue":u[3]||(u[3]=l=>a.value11=l),max:"210",min:"-50","label-visible":"always"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).disable),1)]),_:1}),o(e(t),{modelValue:a.value3,"onUpdate:modelValue":u[4]||(u[4]=l=>a.value3=l),disabled:""},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).readonly),1)]),_:1}),o(e(t),{modelValue:a.value3,"onUpdate:modelValue":u[5]||(u[5]=l=>a.value3=l),readonly:""},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).sliderSize),1)]),_:1}),o(e(t),{modelValue:a.value10,"onUpdate:modelValue":u[6]||(u[6]=l=>a.value10=l),"track-height":"1.5vmin",range:""},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).customStyle),1)]),_:1}),o(e(t),{modelValue:a.value4,"onUpdate:modelValue":u[7]||(u[7]=l=>a.value4=l),"label-color":"purple","active-color":"#e0732c","track-color":"#3a68b4","thumb-color":"#e25241","label-text-color":"#ededed"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).customBtn),1)]),_:1}),o(e(t),{modelValue:a.value9,"onUpdate:modelValue":u[8]||(u[8]=l=>a.value9=l),range:"","active-color":"#52af77"},{button:d(({currentValue:l})=>[v("div",R,s(l),1)]),_:1},8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).showLabel),1)]),_:1}),o(e(t),{modelValue:a.value5,"onUpdate:modelValue":u[9]||(u[9]=l=>a.value5=l),"label-visible":"never"},null,8,["modelValue"]),o(e(t),{modelValue:a.value6,"onUpdate:modelValue":u[10]||(u[10]=l=>a.value6=l)},null,8,["modelValue"]),o(e(t),{modelValue:a.value7,"onUpdate:modelValue":u[11]||(u[11]=l=>a.value7=l),"label-visible":"always"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).validateValue),1)]),_:1}),o(e(t),{modelValue:a.value8,"onUpdate:modelValue":u[12]||(u[12]=l=>a.value8=l),rules:[l=>l>35||e(n).errMsg]},null,8,["modelValue","rules"]),o(e(i),null,{default:d(()=>[m(s(e(n).vertical),1)]),_:1}),o(e(f),{justify:"space-around"},{default:d(()=>[v("div",c,[o(e(t),{modelValue:a.value12,"onUpdate:modelValue":u[13]||(u[13]=l=>a.value12=l),direction:"vertical"},null,8,["modelValue"])]),v("div",A,[o(e(t),{modelValue:a.value13,"onUpdate:modelValue":u[14]||(u[14]=l=>a.value13=l),range:"","label-visible":"always",direction:"vertical"},null,8,["modelValue"])])]),_:1})],64))}};export{Y as default}; +import{S as t}from"./index-1128f16a.js";import{S as f}from"./index-65cffe90.js";import{d as U}from"./index-d8fbf18c.js";import{W as S,F as y,al as x,e as w,m as z,q as o,w as d,U as e,N as C,Q as m,R as s,p as v}from"./index-0bd4ebfc.js";import{u as _,b as V,_ as k,c as N,a as B}from"./index-4a9c2ae2.js";import{A as i}from"./appType-a8f87391.js";import"./provide-4fc67263.js";import"./components-a5332e66.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./elements-23c82371.js";import"./logger-525ef361.js";/* empty css */const L={basicUsage:"基本使用",stepSize:"指定步长",dualThumb:"双滑块",range:"选择范围",disable:"禁用",readonly:"只读",sliderSize:"不同大小",customStyle:"自定义样式",showLabel:"显示标签",customBtn:"自定义按钮",validateValue:"值的校验",errMsg:"错误信息",vertical:"垂直方向"},T={basicUsage:"Basic Usage",stepSize:"Step Size",dualThumb:"Dual Thumbs",disable:"Disable",readonly:"Readonly",range:"Range",sliderSize:"Slider Size",customStyle:"Custom Style",showLabel:"Show Label",customBtn:"Custom Button",validateValue:"Validate Value",errMsg:"error message",vertical:"Vertical"},{add:b,use:D,pack:n,packs:P,merge:X}=_(),M=r=>{B(r),D(r)};V("zh-CN",k);V("en-US",N);b("zh-CN",L);b("en-US",T);const R={class:"slider-example__block"},c={style:{height:"300px"}},A={style:{height:"300px"}},Y={__name:"index",setup(r){const a=S({value:3,value1:[24,50],value2:25,value3:40,value4:20,value5:20,value6:70,value7:50,value8:20,value9:[5,38],value10:[7,64],value11:0,value12:50,value13:[7,64]});function g(p){console.log(p)}return y(M),x(U),(p,u)=>(w(),z(C,null,[o(e(i),null,{default:d(()=>[m(s(e(n).basicUsage),1)]),_:1}),o(e(t),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=l=>a.value=l)},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).stepSize),1)]),_:1}),o(e(t),{modelValue:a.value2,"onUpdate:modelValue":u[1]||(u[1]=l=>a.value2=l),step:"10"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).dualThumb),1)]),_:1}),o(e(t),{modelValue:a.value1,"onUpdate:modelValue":u[2]||(u[2]=l=>a.value1=l),range:"",onChange:g,"label-visible":"always"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).range),1)]),_:1}),o(e(t),{modelValue:a.value11,"onUpdate:modelValue":u[3]||(u[3]=l=>a.value11=l),max:"210",min:"-50","label-visible":"always"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).disable),1)]),_:1}),o(e(t),{modelValue:a.value3,"onUpdate:modelValue":u[4]||(u[4]=l=>a.value3=l),disabled:""},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).readonly),1)]),_:1}),o(e(t),{modelValue:a.value3,"onUpdate:modelValue":u[5]||(u[5]=l=>a.value3=l),readonly:""},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).sliderSize),1)]),_:1}),o(e(t),{modelValue:a.value10,"onUpdate:modelValue":u[6]||(u[6]=l=>a.value10=l),"track-height":"1.5vmin",range:""},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).customStyle),1)]),_:1}),o(e(t),{modelValue:a.value4,"onUpdate:modelValue":u[7]||(u[7]=l=>a.value4=l),"label-color":"purple","active-color":"#e0732c","track-color":"#3a68b4","thumb-color":"#e25241","label-text-color":"#ededed"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).customBtn),1)]),_:1}),o(e(t),{modelValue:a.value9,"onUpdate:modelValue":u[8]||(u[8]=l=>a.value9=l),range:"","active-color":"#52af77"},{button:d(({currentValue:l})=>[v("div",R,s(l),1)]),_:1},8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).showLabel),1)]),_:1}),o(e(t),{modelValue:a.value5,"onUpdate:modelValue":u[9]||(u[9]=l=>a.value5=l),"label-visible":"never"},null,8,["modelValue"]),o(e(t),{modelValue:a.value6,"onUpdate:modelValue":u[10]||(u[10]=l=>a.value6=l)},null,8,["modelValue"]),o(e(t),{modelValue:a.value7,"onUpdate:modelValue":u[11]||(u[11]=l=>a.value7=l),"label-visible":"always"},null,8,["modelValue"]),o(e(i),null,{default:d(()=>[m(s(e(n).validateValue),1)]),_:1}),o(e(t),{modelValue:a.value8,"onUpdate:modelValue":u[12]||(u[12]=l=>a.value8=l),rules:[l=>l>35||e(n).errMsg]},null,8,["modelValue","rules"]),o(e(i),null,{default:d(()=>[m(s(e(n).vertical),1)]),_:1}),o(e(f),{justify:"space-around"},{default:d(()=>[v("div",c,[o(e(t),{modelValue:a.value12,"onUpdate:modelValue":u[13]||(u[13]=l=>a.value12=l),direction:"vertical"},null,8,["modelValue"])]),v("div",A,[o(e(t),{modelValue:a.value13,"onUpdate:modelValue":u[14]||(u[14]=l=>a.value13=l),range:"","label-visible":"always",direction:"vertical"},null,8,["modelValue"])])]),_:1})],64))}};export{Y as default}; diff --git a/assets/index-d2e2fbd5.js b/assets/index-88db3b86.js similarity index 82% rename from assets/index-d2e2fbd5.js rename to assets/index-88db3b86.js index f345d722a48..171fb0aa1f6 100644 --- a/assets/index-d2e2fbd5.js +++ b/assets/index-88db3b86.js @@ -1 +1 @@ -import{W as N,aW as S,F as x,al as k,e as w,m as A,q as e,w as o,U as l,N as _,Q as r,R as v,aX as m}from"./index-af5fec45.js";import{S as t}from"./index-e47c1801.js";import{S as p}from"./index-90c41552.js";import{d as c}from"./index-d8fbf18c.js";import{u as y,b as g,_ as B,c as L,a as R}from"./index-2b61c8d0.js";import{A as V}from"./appType-53211ea9.js";import"./provide-c979a783.js";import"./components-3ae053cb.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-8bbf4ef8.js";import"./index-2c1498a1.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";const W={basicUsage:"基本使用",customColor:"自定义颜色",notAvailable:"不可用",size:"不同大小",loading:"加载状态",validateValue:"值的校验",text:"是否打开开关",state:"错误!"},D={basicUsage:"Basic Usage",customColor:"Custom Color",notAvailable:"Not Available",size:"Size",loading:"Loading",validateValue:"Validate Value",text:"Whether to open the switch",state:"Error!"},{add:C,use:E,pack:s,packs:h,merge:ll}=y(),F=f=>{R(f),E(f)};g("zh-CN",B);g("en-US",L);C("zh-CN",W);C("en-US",D);const el={__name:"index",setup(f){const b=N({value:!0,value1:!0,value2:!0,value3:!0,value4:!0}),{value:U,value1:d,value2:i,value3:n,value4:z}=S(b);return x(F),k(c),(T,u)=>(w(),A(_,null,[e(l(V),null,{default:o(()=>[r(v(l(s).basicUsage),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(U),"onUpdate:modelValue":u[0]||(u[0]=a=>m(U)?U.value=a:null)},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).notAvailable),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(d),"onUpdate:modelValue":u[1]||(u[1]=a=>m(d)?d.value=a:null),disabled:""},null,8,["modelValue"]),e(l(t),{modelValue:l(d),"onUpdate:modelValue":u[2]||(u[2]=a=>m(d)?d.value=a:null),readonly:""},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).customColor),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(i),"onUpdate:modelValue":u[3]||(u[3]=a=>m(i)?i.value=a:null),ripple:!1},null,8,["modelValue"]),e(l(t),{modelValue:l(i),"onUpdate:modelValue":u[4]||(u[4]=a=>m(i)?i.value=a:null),color:"#ff9f00","close-color":"#f5cb90"},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).size),1)]),_:1}),e(l(p),{size:["3vmin","11vmin"],align:"center"},{default:o(()=>[e(l(t),{modelValue:l(n),"onUpdate:modelValue":u[5]||(u[5]=a=>m(n)?n.value=a:null),size:"4.266vmin"},null,8,["modelValue"]),e(l(t),{modelValue:l(n),"onUpdate:modelValue":u[6]||(u[6]=a=>m(n)?n.value=a:null)},null,8,["modelValue"]),e(l(t),{modelValue:l(n),"onUpdate:modelValue":u[7]||(u[7]=a=>m(n)?n.value=a:null),size:"6.4vmin"},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).loading),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"],align:"center"},{default:o(()=>[e(l(t),{"model-value":!0,loading:""}),e(l(t),{"model-value":!0,size:"6.4vmin",loading:"","loading-color":"#ff9f00"})]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).validateValue),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(z),"onUpdate:modelValue":u[8]||(u[8]=a=>m(z)?z.value=a:null),rules:[a=>a===!0||l(s).state]},null,8,["modelValue","rules"])]),_:1})],64))}};export{el as default}; +import{W as N,aW as S,F as x,al as k,e as w,m as A,q as e,w as o,U as l,N as _,Q as r,R as v,aX as m}from"./index-0bd4ebfc.js";import{S as t}from"./index-0fd7c0ec.js";import{S as p}from"./index-65cffe90.js";import{d as c}from"./index-d8fbf18c.js";import{u as y,b as g,_ as B,c as L,a as R}from"./index-4a9c2ae2.js";import{A as V}from"./appType-a8f87391.js";import"./provide-4fc67263.js";import"./components-a5332e66.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-27fcaf7d.js";import"./index-d956da3f.js";import"./elements-23c82371.js";import"./logger-525ef361.js";const W={basicUsage:"基本使用",customColor:"自定义颜色",notAvailable:"不可用",size:"不同大小",loading:"加载状态",validateValue:"值的校验",text:"是否打开开关",state:"错误!"},D={basicUsage:"Basic Usage",customColor:"Custom Color",notAvailable:"Not Available",size:"Size",loading:"Loading",validateValue:"Validate Value",text:"Whether to open the switch",state:"Error!"},{add:C,use:E,pack:s,packs:h,merge:ll}=y(),F=f=>{R(f),E(f)};g("zh-CN",B);g("en-US",L);C("zh-CN",W);C("en-US",D);const el={__name:"index",setup(f){const b=N({value:!0,value1:!0,value2:!0,value3:!0,value4:!0}),{value:U,value1:d,value2:i,value3:n,value4:z}=S(b);return x(F),k(c),(T,u)=>(w(),A(_,null,[e(l(V),null,{default:o(()=>[r(v(l(s).basicUsage),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(U),"onUpdate:modelValue":u[0]||(u[0]=a=>m(U)?U.value=a:null)},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).notAvailable),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(d),"onUpdate:modelValue":u[1]||(u[1]=a=>m(d)?d.value=a:null),disabled:""},null,8,["modelValue"]),e(l(t),{modelValue:l(d),"onUpdate:modelValue":u[2]||(u[2]=a=>m(d)?d.value=a:null),readonly:""},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).customColor),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(i),"onUpdate:modelValue":u[3]||(u[3]=a=>m(i)?i.value=a:null),ripple:!1},null,8,["modelValue"]),e(l(t),{modelValue:l(i),"onUpdate:modelValue":u[4]||(u[4]=a=>m(i)?i.value=a:null),color:"#ff9f00","close-color":"#f5cb90"},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).size),1)]),_:1}),e(l(p),{size:["3vmin","11vmin"],align:"center"},{default:o(()=>[e(l(t),{modelValue:l(n),"onUpdate:modelValue":u[5]||(u[5]=a=>m(n)?n.value=a:null),size:"4.266vmin"},null,8,["modelValue"]),e(l(t),{modelValue:l(n),"onUpdate:modelValue":u[6]||(u[6]=a=>m(n)?n.value=a:null)},null,8,["modelValue"]),e(l(t),{modelValue:l(n),"onUpdate:modelValue":u[7]||(u[7]=a=>m(n)?n.value=a:null),size:"6.4vmin"},null,8,["modelValue"])]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).loading),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"],align:"center"},{default:o(()=>[e(l(t),{"model-value":!0,loading:""}),e(l(t),{"model-value":!0,size:"6.4vmin",loading:"","loading-color":"#ff9f00"})]),_:1}),e(l(V),null,{default:o(()=>[r(v(l(s).validateValue),1)]),_:1}),e(l(p),{size:["3vmin","9vmin"]},{default:o(()=>[e(l(t),{modelValue:l(z),"onUpdate:modelValue":u[8]||(u[8]=a=>m(z)?z.value=a:null),rules:[a=>a===!0||l(s).state]},null,8,["modelValue","rules"])]),_:1})],64))}};export{el as default}; diff --git a/assets/index-414ec72d.js b/assets/index-8ac50940.js similarity index 85% rename from assets/index-414ec72d.js rename to assets/index-8ac50940.js index ec29578c273..d53a02a1e88 100644 --- a/assets/index-414ec72d.js +++ b/assets/index-8ac50940.js @@ -1 +1 @@ -import{a as r}from"./elements-68ad626b.js";import{d as y,r as w,D as m,aV as B,at as S,aB as g,a4 as $,_ as b,e as p,m as f,v as k,x as h,R as D,t as v,y as I}from"./index-af5fec45.js";import{c as N,w as z}from"./components-3ae053cb.js";const C={inset:{type:[Boolean,Number,String],default:!1},vertical:Boolean,description:String,margin:String,dashed:Boolean,hairline:Boolean},{name:T,n:U,classes:M}=N("divider"),P=y({name:T,props:C,setup(e,{slots:o}){const n=w(!1),l=m(()=>{const{vertical:t,inset:s}=e;return!t&&s===!0}),d=m(()=>{const{inset:t,vertical:s,margin:c}=e;if(B(t)||s)return{margin:c};const i=$(t),u=Math.abs(i)+(t+"").replace(i+"","");return{margin:c,width:`calc(100% - ${r(u)})`,left:i>0?r(u):r(0)}});S(a),g(a);function a(){const{description:t,vertical:s}=e;n.value=(o.default||t!=null)&&!s}return{n:U,classes:M,withText:n,style:d,withPresetInset:l}}});function V(e,o,n,l,d,a){return p(),f("div",{class:h(e.classes(e.n(),e.n("$--box"),[e.vertical,e.n("--vertical")],[e.withText,e.n("--with-text")],[e.withPresetInset,e.n("--inset")],[e.dashed,e.n("--dashed")],[e.hairline,e.n("--hairline")])),style:I(e.style)},[e.vertical?v("",!0):k(e.$slots,"default",{key:0},()=>[e.description?(p(),f("span",{key:0,class:h(e.n("text"))},D(e.description),3)):v("",!0)])],6)}const E=b(P,[["render",V]]);z(E);export{E as D}; +import{a as r}from"./elements-23c82371.js";import{d as y,r as w,D as m,aV as B,at as S,aB as g,a4 as $,_ as b,e as p,m as f,v as k,x as h,R as D,t as v,y as I}from"./index-0bd4ebfc.js";import{c as N,w as z}from"./components-a5332e66.js";const C={inset:{type:[Boolean,Number,String],default:!1},vertical:Boolean,description:String,margin:String,dashed:Boolean,hairline:Boolean},{name:T,n:U,classes:M}=N("divider"),P=y({name:T,props:C,setup(e,{slots:o}){const n=w(!1),l=m(()=>{const{vertical:t,inset:s}=e;return!t&&s===!0}),d=m(()=>{const{inset:t,vertical:s,margin:c}=e;if(B(t)||s)return{margin:c};const i=$(t),u=Math.abs(i)+(t+"").replace(i+"","");return{margin:c,width:`calc(100% - ${r(u)})`,left:i>0?r(u):r(0)}});S(a),g(a);function a(){const{description:t,vertical:s}=e;n.value=(o.default||t!=null)&&!s}return{n:U,classes:M,withText:n,style:d,withPresetInset:l}}});function V(e,o,n,l,d,a){return p(),f("div",{class:h(e.classes(e.n(),e.n("$--box"),[e.vertical,e.n("--vertical")],[e.withText,e.n("--with-text")],[e.withPresetInset,e.n("--inset")],[e.dashed,e.n("--dashed")],[e.hairline,e.n("--hairline")])),style:I(e.style)},[e.vertical?v("",!0):k(e.$slots,"default",{key:0},()=>[e.description?(p(),f("span",{key:0,class:h(e.n("text"))},D(e.description),3)):v("",!0)])],6)}const E=b(P,[["render",V]]);z(E);export{E as D}; diff --git a/assets/index-71baae3a.js b/assets/index-90dd8486.js similarity index 88% rename from assets/index-71baae3a.js rename to assets/index-90dd8486.js index 67deac5e588..34814f1ea9a 100644 --- a/assets/index-71baae3a.js +++ b/assets/index-90dd8486.js @@ -1 +1 @@ -import{a1 as L,d as b,D as S,_ as P,e as v,m as _,v as B,x as u,y as U,a3 as F,a4 as K,b as M,p as y,f as N,R as i,r as Y,F as q,al as Q,q as a,w as s,U as t,N as R,Q as o}from"./index-af5fec45.js";import{d as j,c as z,a as G,w,p as C}from"./components-3ae053cb.js";import{p as k,I as H}from"./index-057aa4ba.js";import{e as J}from"./logger-525ef361.js";import{B as O}from"./index-84d96475.js";import{d as W}from"./index-d8fbf18c.js";import{u as X,b as A,_ as Z,c as x,a as ee}from"./index-2b61c8d0.js";import{A as g}from"./appType-53211ea9.js";import"./elements-68ad626b.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const D=Symbol("STEPS_BIND_STEP_KEY");function te(){const{bindChildren:e,childProviders:n}=L(D);return{step:n,bindStep:e}}const ne={active:{type:[String,Number],default:0},direction:{type:String,default:"horizontal"},activeColor:String,inactiveColor:String,onClickStep:j()},{name:ae,n:se}=z("steps"),ie=b({name:ae,props:ne,setup(e){const n=S(()=>e.active),l=S(()=>e.activeColor),p=S(()=>e.inactiveColor),m=S(()=>e.direction),{bindStep:h}=te();h({active:n,direction:m,activeColor:l,inactiveColor:p,clickStep:d});function d(I){G(e.onClickStep,I)}return{n:se}}});function oe(e,n,l,p,m,h){return v(),_("div",{class:u(e.n()),style:U({flexDirection:e.direction==="horizontal"?"row":"column"})},[B(e.$slots,"default")],6)}const $=P(ie,[["render",oe]]);w($);const ce={activeIcon:{type:String,default:"check"},currentIcon:C(k,"name"),inactiveIcon:C(k,"name"),activeIconNamespace:C(k,"namespace"),currentIconNamespace:C(k,"namespace"),inactiveIconNamespace:C(k,"namespace")};function re(){const{parentProvider:e,index:n,bindParent:l}=F(D);return l||J("Steps"," must in "),{index:n,steps:e,bindSteps:l}}const{name:le,n:ue,classes:pe}=z("step"),de=b({name:le,components:{VarIcon:H},props:ce,setup(){const{index:e,steps:n,bindSteps:l}=re(),{active:p,activeColor:m,inactiveColor:h,direction:f,clickStep:d}=n,I=S(()=>p.value===e.value),T=S(()=>e.value!==-1&&K(p.value)>e.value);l({index:e});function V(){return d(e.value)}return{index:e,isActive:T,isCurrent:I,direction:f,activeColor:m,inactiveColor:h,n:ue,classes:pe,click:V}}});const ve={key:3};function me(e,n,l,p,m,h){const f=M("var-icon");return v(),_("div",{class:u(e.n())},[y("div",{class:u(e.n(e.direction))},[y("div",{class:u(e.classes(e.n(`${e.direction}-tag`),[e.isActive||e.isCurrent,e.n(`${e.direction}-tag--active`)])),style:U({backgroundColor:e.isActive||e.isCurrent?e.activeColor:e.inactiveColor}),onClick:n[0]||(n[0]=(...d)=>e.click&&e.click(...d))},[e.isActive?(v(),N(f,{key:0,class:u(e.n("icon")),"var-step-cover":"",name:e.activeIcon,namespace:e.activeIconNamespace},null,8,["class","name","namespace"])):e.isCurrent&&e.currentIcon?(v(),N(f,{key:1,class:u(e.n("icon")),"var-step-cover":"",name:e.currentIcon,namespace:e.currentIconNamespace},null,8,["class","name","namespace"])):e.inactiveIcon?(v(),N(f,{key:2,class:u(e.n("icon")),"var-step-cover":"",name:e.inactiveIcon,namespace:e.inactiveIconNamespace},null,8,["class","name","namespace"])):(v(),_("span",ve,i(e.index+1),1))],6),y("div",{class:u(e.classes(e.n(`${e.direction}-content`),[e.isActive||e.isCurrent,e.n(`${e.direction}-content--active`)])),onClick:n[1]||(n[1]=(...d)=>e.click&&e.click(...d))},[B(e.$slots,"default")],2),y("div",{class:u(e.n(`${e.direction}-line`))},null,2)],2)],2)}const r=P(de,[["render",me]]);w(r);const fe={basicUsage:"基本使用",customStyle:"自定义样式",dynamicSteps:"动态步骤",vertical:"垂直模式",next:"下一步",first:"步骤1",second:"步骤2",third:"步骤3",fourth:"步骤4",fifth:"步骤5",placeholder:"改变step的数量",step:"步骤",text:"接下来..."},Se={basicUsage:"Basic Usage",customStyle:"Custom Style",dynamicSteps:"Dynamic Steps",vertical:"Vertical Mode",next:"next",first:"Step1",second:"Step2",third:"Step3",fourth:"Step4",fifth:"Step5",placeholder:"Change the number of steps",step:"Step",text:"do something..."},{add:E,use:he,pack:c,packs:Te,merge:Ve}=X(),Ce=e=>{ee(e),he(e)};A("zh-CN",Z);A("en-US",x);E("zh-CN",fe);E("en-US",Se);const Le={__name:"index",setup(e){const n=Y(0);function l(){n.value=(n.value+1)%4}return q(Ce),Q(W),(p,m)=>(v(),_(R,null,[a(t(g),null,{default:s(()=>[o(i(t(c).basicUsage),1)]),_:1}),a(t($),{active:n.value},{default:s(()=>[a(t(r),null,{default:s(()=>[o(i(t(c).first),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).second),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).third),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).fourth),1)]),_:1})]),_:1},8,["active"]),a(t(g),null,{default:s(()=>[o(i(t(c).customStyle),1)]),_:1}),a(t($),{active:n.value,"active-color":"#f44336","inactive-color":"#e99eb4"},{default:s(()=>[a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).first),1)]),_:1}),a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).second),1)]),_:1}),a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).third),1)]),_:1}),a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).fourth),1)]),_:1})]),_:1},8,["active"]),a(t(g),null,{default:s(()=>[o(i(t(c).vertical),1)]),_:1}),a(t($),{direction:"vertical",active:n.value},{default:s(()=>[a(t(r),null,{default:s(()=>[o(i(t(c).first),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).second),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).third),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).fourth),1)]),_:1})]),_:1},8,["active"]),a(t(O),{type:"primary",block:"",onClick:l},{default:s(()=>[o(i(t(c).next),1)]),_:1})],64))}};export{Le as default}; +import{a1 as L,d as b,D as S,_ as P,e as v,m as _,v as B,x as u,y as U,a3 as F,a4 as K,b as M,p as y,f as N,R as i,r as Y,F as q,al as Q,q as a,w as s,U as t,N as R,Q as o}from"./index-0bd4ebfc.js";import{d as j,c as z,a as G,w,p as C}from"./components-a5332e66.js";import{p as k,I as H}from"./index-2c5b74fa.js";import{e as J}from"./logger-525ef361.js";import{B as O}from"./index-1f1d0c91.js";import{d as W}from"./index-d8fbf18c.js";import{u as X,b as A,_ as Z,c as x,a as ee}from"./index-4a9c2ae2.js";import{A as g}from"./appType-a8f87391.js";import"./elements-23c82371.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const D=Symbol("STEPS_BIND_STEP_KEY");function te(){const{bindChildren:e,childProviders:n}=L(D);return{step:n,bindStep:e}}const ne={active:{type:[String,Number],default:0},direction:{type:String,default:"horizontal"},activeColor:String,inactiveColor:String,onClickStep:j()},{name:ae,n:se}=z("steps"),ie=b({name:ae,props:ne,setup(e){const n=S(()=>e.active),l=S(()=>e.activeColor),p=S(()=>e.inactiveColor),m=S(()=>e.direction),{bindStep:h}=te();h({active:n,direction:m,activeColor:l,inactiveColor:p,clickStep:d});function d(I){G(e.onClickStep,I)}return{n:se}}});function oe(e,n,l,p,m,h){return v(),_("div",{class:u(e.n()),style:U({flexDirection:e.direction==="horizontal"?"row":"column"})},[B(e.$slots,"default")],6)}const $=P(ie,[["render",oe]]);w($);const ce={activeIcon:{type:String,default:"check"},currentIcon:C(k,"name"),inactiveIcon:C(k,"name"),activeIconNamespace:C(k,"namespace"),currentIconNamespace:C(k,"namespace"),inactiveIconNamespace:C(k,"namespace")};function re(){const{parentProvider:e,index:n,bindParent:l}=F(D);return l||J("Steps"," must in "),{index:n,steps:e,bindSteps:l}}const{name:le,n:ue,classes:pe}=z("step"),de=b({name:le,components:{VarIcon:H},props:ce,setup(){const{index:e,steps:n,bindSteps:l}=re(),{active:p,activeColor:m,inactiveColor:h,direction:f,clickStep:d}=n,I=S(()=>p.value===e.value),T=S(()=>e.value!==-1&&K(p.value)>e.value);l({index:e});function V(){return d(e.value)}return{index:e,isActive:T,isCurrent:I,direction:f,activeColor:m,inactiveColor:h,n:ue,classes:pe,click:V}}});const ve={key:3};function me(e,n,l,p,m,h){const f=M("var-icon");return v(),_("div",{class:u(e.n())},[y("div",{class:u(e.n(e.direction))},[y("div",{class:u(e.classes(e.n(`${e.direction}-tag`),[e.isActive||e.isCurrent,e.n(`${e.direction}-tag--active`)])),style:U({backgroundColor:e.isActive||e.isCurrent?e.activeColor:e.inactiveColor}),onClick:n[0]||(n[0]=(...d)=>e.click&&e.click(...d))},[e.isActive?(v(),N(f,{key:0,class:u(e.n("icon")),"var-step-cover":"",name:e.activeIcon,namespace:e.activeIconNamespace},null,8,["class","name","namespace"])):e.isCurrent&&e.currentIcon?(v(),N(f,{key:1,class:u(e.n("icon")),"var-step-cover":"",name:e.currentIcon,namespace:e.currentIconNamespace},null,8,["class","name","namespace"])):e.inactiveIcon?(v(),N(f,{key:2,class:u(e.n("icon")),"var-step-cover":"",name:e.inactiveIcon,namespace:e.inactiveIconNamespace},null,8,["class","name","namespace"])):(v(),_("span",ve,i(e.index+1),1))],6),y("div",{class:u(e.classes(e.n(`${e.direction}-content`),[e.isActive||e.isCurrent,e.n(`${e.direction}-content--active`)])),onClick:n[1]||(n[1]=(...d)=>e.click&&e.click(...d))},[B(e.$slots,"default")],2),y("div",{class:u(e.n(`${e.direction}-line`))},null,2)],2)],2)}const r=P(de,[["render",me]]);w(r);const fe={basicUsage:"基本使用",customStyle:"自定义样式",dynamicSteps:"动态步骤",vertical:"垂直模式",next:"下一步",first:"步骤1",second:"步骤2",third:"步骤3",fourth:"步骤4",fifth:"步骤5",placeholder:"改变step的数量",step:"步骤",text:"接下来..."},Se={basicUsage:"Basic Usage",customStyle:"Custom Style",dynamicSteps:"Dynamic Steps",vertical:"Vertical Mode",next:"next",first:"Step1",second:"Step2",third:"Step3",fourth:"Step4",fifth:"Step5",placeholder:"Change the number of steps",step:"Step",text:"do something..."},{add:E,use:he,pack:c,packs:Te,merge:Ve}=X(),Ce=e=>{ee(e),he(e)};A("zh-CN",Z);A("en-US",x);E("zh-CN",fe);E("en-US",Se);const Le={__name:"index",setup(e){const n=Y(0);function l(){n.value=(n.value+1)%4}return q(Ce),Q(W),(p,m)=>(v(),_(R,null,[a(t(g),null,{default:s(()=>[o(i(t(c).basicUsage),1)]),_:1}),a(t($),{active:n.value},{default:s(()=>[a(t(r),null,{default:s(()=>[o(i(t(c).first),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).second),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).third),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).fourth),1)]),_:1})]),_:1},8,["active"]),a(t(g),null,{default:s(()=>[o(i(t(c).customStyle),1)]),_:1}),a(t($),{active:n.value,"active-color":"#f44336","inactive-color":"#e99eb4"},{default:s(()=>[a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).first),1)]),_:1}),a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).second),1)]),_:1}),a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).third),1)]),_:1}),a(t(r),{"active-icon":"heart","current-icon":"fire","inactive-icon":"heart-half-full"},{default:s(()=>[o(i(t(c).fourth),1)]),_:1})]),_:1},8,["active"]),a(t(g),null,{default:s(()=>[o(i(t(c).vertical),1)]),_:1}),a(t($),{direction:"vertical",active:n.value},{default:s(()=>[a(t(r),null,{default:s(()=>[o(i(t(c).first),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).second),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).third),1)]),_:1}),a(t(r),null,{default:s(()=>[o(i(t(c).fourth),1)]),_:1})]),_:1},8,["active"]),a(t(O),{type:"primary",block:"",onClick:l},{default:s(()=>[o(i(t(c).next),1)]),_:1})],64))}};export{Le as default}; diff --git a/assets/index-1cda0856.js b/assets/index-93a4577c.js similarity index 88% rename from assets/index-1cda0856.js rename to assets/index-93a4577c.js index 33a2075a1f3..ef9561a36cb 100644 --- a/assets/index-1cda0856.js +++ b/assets/index-93a4577c.js @@ -1 +1 @@ -import{a as U}from"./elements-68ad626b.js";import{d as D,a4 as B,_ as M,e as r,m as d,x as l,v as $,t as u,y as f,p as c,N as w,O as T,r as h,F as A,al as F,q as s,w as t,U as a,Q as n,R as o}from"./index-af5fec45.js";import{c as H,w as L}from"./components-3ae053cb.js";import{B as R}from"./index-84d96475.js";import{d as I}from"./index-d8fbf18c.js";import{u as V,b as S,_ as W,c as Z,a as q}from"./index-2b61c8d0.js";import{A as m}from"./appType-53211ea9.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const E={loading:{type:Boolean,default:!0},title:Boolean,card:Boolean,avatar:Boolean,fullscreen:Boolean,fullscreenZIndex:{type:[Number,String],default:100},titleWidth:[Number,String],cardHeight:[Number,String],avatarSize:[Number,String],rows:{type:[Number,String],default:3},rowsWidth:{type:Array,default:()=>[]}},{name:O,n:Q,classes:j}=H("skeleton"),G=D({name:O,props:E,setup:()=>({n:Q,classes:j,toSizeUnit:U,toNumber:B})});function J(e,g,v,y,k,b){return r(),d("div",{class:l(e.classes(e.n("$--box"),e.n()))},[e.loading?u("",!0):(r(),d("div",{key:0,class:l(e.n("data"))},[$(e.$slots,"default")],2)),e.loading&&!e.fullscreen?(r(),d("div",{key:1,class:l(e.n("content"))},[e.card?(r(),d("div",{key:0,class:l(e.n("card")),style:f({height:e.toSizeUnit(e.cardHeight)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0),e.avatar||e.title||e.toNumber(e.rows)>0?(r(),d("div",{key:1,class:l(e.n("article"))},[e.avatar?(r(),d("div",{key:0,class:l(e.n("avatar")),style:f({width:e.toSizeUnit(e.avatarSize),height:e.toSizeUnit(e.avatarSize)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0),e.title||e.toNumber(e.rows)>0?(r(),d("div",{key:1,class:l(e.n("section"))},[e.title?(r(),d("div",{key:0,class:l(e.n("title")),style:f({width:e.toSizeUnit(e.titleWidth)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0),(r(!0),d(w,null,T(e.toNumber(e.rows),(z,C)=>(r(),d("div",{class:l(e.n("row")),key:z,style:f({width:e.toSizeUnit(e.rowsWidth[C])})},[c("div",{class:l(e.n("--animation"))},null,2)],6))),128))],2)):u("",!0)],2)):u("",!0)],2)):u("",!0),e.loading&&e.fullscreen?(r(),d("div",{key:2,class:l(e.n("fullscreen")),style:f({zIndex:e.toNumber(e.fullscreenZIndex)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0)],2)}const p=M(G,[["render",J]]);L(p);const K={basicUsage:"基本使用",displayTitle:"显示标题",customRowsHeight:"自定义段落高度",displayAvatar:"显示头像",displayCard:"显示卡片",fullscreenMode:"全屏模式",toggleFullscreenMode:"切换全屏模式",loadingData:"加载的数据"},P={basicUsage:"Basic Usage",displayTitle:"Display Title",customRowsHeight:"Custom Row Heights",displayAvatar:"Display Avatar",displayCard:"Display Card",fullscreenMode:"Fullscreen Mode",toggleFullscreenMode:"Toggle Fullscreen Mode",loadingData:"Loading Data"},{add:N,use:X,pack:i,packs:ge,merge:me}=V(),Y=e=>{q(e),X(e)};S("zh-CN",W);S("en-US",Z);N("zh-CN",K);N("en-US",P);const fe={__name:"index",setup(e){const g=h(!0),v=h(!1);function y(){v.value=!0,setTimeout(()=>{v.value=!1},2e3)}return A(Y),F(I),(k,b)=>(r(),d(w,null,[s(a(m),null,{default:t(()=>[n(o(a(i).basicUsage),1)]),_:1}),s(a(p),{loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).displayTitle),1)]),_:1}),s(a(p),{title:"",loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).customRowsHeight),1)]),_:1}),s(a(p),{title:"",rows:3,loading:g.value,"rows-width":["200px","100px","50px"]},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).displayAvatar),1)]),_:1}),s(a(p),{title:"",avatar:"",rows:3,loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).displayCard),1)]),_:1}),s(a(p),{title:"",avatar:"",card:"",rows:3,loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).fullscreenMode),1)]),_:1}),s(a(R),{type:"danger",class:"button",onClick:y},{default:t(()=>[n(o(a(i).toggleFullscreenMode),1)]),_:1}),s(a(p),{fullscreen:"",loading:v.value},null,8,["loading"])],64))}};export{fe as default}; +import{a as U}from"./elements-23c82371.js";import{d as D,a4 as B,_ as M,e as r,m as d,x as l,v as $,t as u,y as f,p as c,N as w,O as T,r as h,F as A,al as F,q as s,w as t,U as a,Q as n,R as o}from"./index-0bd4ebfc.js";import{c as H,w as L}from"./components-a5332e66.js";import{B as R}from"./index-1f1d0c91.js";import{d as I}from"./index-d8fbf18c.js";import{u as V,b as S,_ as W,c as Z,a as q}from"./index-4a9c2ae2.js";import{A as m}from"./appType-a8f87391.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const E={loading:{type:Boolean,default:!0},title:Boolean,card:Boolean,avatar:Boolean,fullscreen:Boolean,fullscreenZIndex:{type:[Number,String],default:100},titleWidth:[Number,String],cardHeight:[Number,String],avatarSize:[Number,String],rows:{type:[Number,String],default:3},rowsWidth:{type:Array,default:()=>[]}},{name:O,n:Q,classes:j}=H("skeleton"),G=D({name:O,props:E,setup:()=>({n:Q,classes:j,toSizeUnit:U,toNumber:B})});function J(e,g,v,y,k,b){return r(),d("div",{class:l(e.classes(e.n("$--box"),e.n()))},[e.loading?u("",!0):(r(),d("div",{key:0,class:l(e.n("data"))},[$(e.$slots,"default")],2)),e.loading&&!e.fullscreen?(r(),d("div",{key:1,class:l(e.n("content"))},[e.card?(r(),d("div",{key:0,class:l(e.n("card")),style:f({height:e.toSizeUnit(e.cardHeight)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0),e.avatar||e.title||e.toNumber(e.rows)>0?(r(),d("div",{key:1,class:l(e.n("article"))},[e.avatar?(r(),d("div",{key:0,class:l(e.n("avatar")),style:f({width:e.toSizeUnit(e.avatarSize),height:e.toSizeUnit(e.avatarSize)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0),e.title||e.toNumber(e.rows)>0?(r(),d("div",{key:1,class:l(e.n("section"))},[e.title?(r(),d("div",{key:0,class:l(e.n("title")),style:f({width:e.toSizeUnit(e.titleWidth)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0),(r(!0),d(w,null,T(e.toNumber(e.rows),(z,C)=>(r(),d("div",{class:l(e.n("row")),key:z,style:f({width:e.toSizeUnit(e.rowsWidth[C])})},[c("div",{class:l(e.n("--animation"))},null,2)],6))),128))],2)):u("",!0)],2)):u("",!0)],2)):u("",!0),e.loading&&e.fullscreen?(r(),d("div",{key:2,class:l(e.n("fullscreen")),style:f({zIndex:e.toNumber(e.fullscreenZIndex)})},[c("div",{class:l(e.n("--animation"))},null,2)],6)):u("",!0)],2)}const p=M(G,[["render",J]]);L(p);const K={basicUsage:"基本使用",displayTitle:"显示标题",customRowsHeight:"自定义段落高度",displayAvatar:"显示头像",displayCard:"显示卡片",fullscreenMode:"全屏模式",toggleFullscreenMode:"切换全屏模式",loadingData:"加载的数据"},P={basicUsage:"Basic Usage",displayTitle:"Display Title",customRowsHeight:"Custom Row Heights",displayAvatar:"Display Avatar",displayCard:"Display Card",fullscreenMode:"Fullscreen Mode",toggleFullscreenMode:"Toggle Fullscreen Mode",loadingData:"Loading Data"},{add:N,use:X,pack:i,packs:ge,merge:me}=V(),Y=e=>{q(e),X(e)};S("zh-CN",W);S("en-US",Z);N("zh-CN",K);N("en-US",P);const fe={__name:"index",setup(e){const g=h(!0),v=h(!1);function y(){v.value=!0,setTimeout(()=>{v.value=!1},2e3)}return A(Y),F(I),(k,b)=>(r(),d(w,null,[s(a(m),null,{default:t(()=>[n(o(a(i).basicUsage),1)]),_:1}),s(a(p),{loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).displayTitle),1)]),_:1}),s(a(p),{title:"",loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).customRowsHeight),1)]),_:1}),s(a(p),{title:"",rows:3,loading:g.value,"rows-width":["200px","100px","50px"]},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).displayAvatar),1)]),_:1}),s(a(p),{title:"",avatar:"",rows:3,loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).displayCard),1)]),_:1}),s(a(p),{title:"",avatar:"",card:"",rows:3,loading:g.value},{default:t(()=>[n(o(a(i).loadingData),1)]),_:1},8,["loading"]),s(a(m),null,{default:t(()=>[n(o(a(i).fullscreenMode),1)]),_:1}),s(a(R),{type:"danger",class:"button",onClick:y},{default:t(()=>[n(o(a(i).toggleFullscreenMode),1)]),_:1}),s(a(p),{fullscreen:"",loading:v.value},null,8,["loading"])],64))}};export{fe as default}; diff --git a/assets/index-97ae07be.js b/assets/index-97ae07be.js deleted file mode 100644 index 4dd91766234..00000000000 --- a/assets/index-97ae07be.js +++ /dev/null @@ -1 +0,0 @@ -import{a4 as v,d as re,r as k,D as J,G as K,ah as me,b1 as F,_ as de,e as B,m as O,p as P,x as C,y as Z,N as ee,O as ue,R as D,t as x,W as ne,aO as pe,b as Ve,q as N,w as E,f as Ne,T as Ae,F as Pe,al as Re,U as w,Q as Y}from"./index-af5fec45.js";import{d as ie,c as ce,f as Be,a as se,w as De}from"./components-3ae053cb.js";import{p as te}from"./shared-de177aa1.js";import{p as ze,u as Le,b as fe,_ as Oe,c as je,a as Fe}from"./index-2b61c8d0.js";import{d as qe}from"./index-d8fbf18c.js";import{A as W}from"./appType-53211ea9.js";const R=["12","1","2","3","4","5","6","7","8","9","10","11"],p=["00","13","14","15","16","17","18","19","20","21","22","23"],le=["00","05","10","15","20","25","30","35","40","45","50","55"],Ee={modelValue:String,elevation:{type:[Boolean,Number,String],default:!1},hint:String,color:String,headerColor:String,titleColor:String,format:{type:String,default:"ampm"},allowedTime:Object,min:String,max:String,useSeconds:Boolean,readonly:Boolean,"onUpdate:modelValue":ie(),onChange:ie()},ve=(e,t)=>e==="24hr"||t==="am",oe=(e,t,T)=>{const d=R.findIndex(u=>v(u)===v(T)),f=ve(e,t)?T:p[d];return{hourStr:f,hourNum:v(f)}},V=e=>{const[t,T,d]=e.split(":");return{hour:v(t),minute:v(T),second:v(d)}},he=e=>{var z,L;const{time:t,format:T,ampm:d,hour:f,max:u,min:o,disableHour:r}=e,{hourStr:j,hourNum:A}=oe(T,d,f);let M=!1,U=!1;if(r.includes(j))return!0;if(u&&!o){const{hour:g,minute:n}=V(u);M=g===A&&t>n}if(!u&&o){const{hour:g,minute:n}=V(o);M=g===A&&tn}return(z=e.allowedTime)!=null&&z.minutes&&(U=(L=e.allowedTime)==null?void 0:L.minutes(t)),M||U},ge=e=>{var L,g;const{time:t,format:T,ampm:d,hour:f,minute:u,max:o,min:r,disableHour:j}=e,{hourStr:A,hourNum:M}=oe(T,d,f);let U=!1,z=!1;if(j.includes(A))return!0;if(o&&!r){const{hour:n,minute:a,second:l}=V(o);U=n===M&&al}if(!o&&r){const{hour:n,minute:a,second:l}=V(r);U=n===M&&a>u||a===u&&t>l}if(o&&r){const{hour:n,minute:a,second:l}=V(o),{hour:s,minute:y,second:H}=V(r);U=n===M&&au||n===M&&a===u&&t>l||s===M&&y===u&&t({transform:`rotate(${v(e.rad)}deg)`,height:e.isInner&&e.type==="hour"?"calc(50% - 40px)":"calc(50% - 4px)",backgroundColor:A(),borderColor:A()})),o=J(()=>{if(e.rad===void 0)return;const n=e.rad/30;return n>=0?n:n+12}),r=J(()=>e.type==="hour"?R:le),j=(n,a)=>{n=n??(e.type==="minute"?e.time.minute:e.time.second);const l=e.type==="minute"?he:ge,s={time:v(n),format:e.format,ampm:e.ampm,hour:e.time.hour,minute:v(e.time.minute),max:e.max,min:e.min,allowedTime:e.allowedTime,disableHour:d.value};return a&&e.type==="minute"&&Reflect.deleteProperty(s,"minute"),l(s)},A=()=>{if(o.value===void 0)return e.color;const n=e.isInner?p[o.value]:r.value[o.value];return r.value===le?j()?"#bdbdbd":e.color:U(n)?"#bdbdbd":e.color},M=(n,a)=>a?o.value===n&&e.isInner:o.value===n&&(!e.isInner||e.type!=="hour"),U=n=>{if(e.type==="hour"){if(ve(e.format,e.ampm))return d.value.includes(n);const a=R.findIndex(l=>l===n);return f.value.includes(a)}return j(n,!0)},z=(n,a,l)=>{const s=2*Math.PI/12*n-Math.PI/2,y=50*(1+Math.cos(s)),H=50*(1+Math.sin(s)),h=()=>M(n,l)?U(a)?{backgroundColor:"#bdbdbd",color:"#fff"}:{backgroundColor:e.color,color:void 0}:{backgroundColor:void 0,color:void 0},{backgroundColor:I,color:_}=h();return{left:`${y}%`,top:`${H}%`,backgroundColor:I,color:_}},L=()=>{const{width:n,height:a}=me(T.value);return{width:n,height:a}},g=()=>{if(o.value===void 0)return;const n=e.ampm==="am"?R:p;return te(n[o.value],2,"0")};return K([o,()=>e.isInner],([n,a],[l,s])=>{if(n===l&&a===s||e.type!=="hour"||o.value===void 0)return;const H=a?p[o.value]:g(),h=e.useSeconds?`:${e.time.second}`:"",I=`${H}:${e.time.minute}${h}`;e.preventNextUpdate||t("update",I),t("change-prevent-update")}),K(()=>e.rad,(n,a)=>{if(e.type==="hour"||n===void 0||a===void 0)return;const l=n/6>=0?n/6:n/6+60,s=a/6>=0?a/6:a/6+60;if(l===s)return;let y;const{hourStr:H}=oe(e.format,e.ampm,e.time.hour);if(e.type==="minute"){const h=F().minute(l).format("mm"),I=e.useSeconds?`:${e.time.second}`:"";y=`${H}:${h}${I}`}if(e.type==="second"){const h=F().second(l).format("ss"),I=e.useSeconds?`:${h}`:"";y=`${H}:${e.time.minute}${I}`}t("update",y)}),K([()=>e.max,()=>e.min,()=>e.allowedTime],([n,a,l])=>{if(d.value=[],n&&!a){const{hour:s}=V(n),y=R.filter(h=>v(h)>s),H=p.filter(h=>v(h)>s);d.value=[...y,...H]}if(!n&&a){const{hour:s}=V(a),y=R.filter(h=>v(h)v(h)v(I)s),h=p.filter(I=>v(I)s);d.value=[...H,...h]}if(l!=null&&l.hours){const{hours:s}=l,y=R.filter(h=>!s(v(h))),H=p.filter(h=>!s(v(h)));d.value=[...new Set([...d.value,...y,...H])]}f.value=d.value.map(s=>p.findIndex(y=>s===y)).filter(s=>s>=0)},{immediate:!0}),{n:Xe,classes:Ye,hours24:p,timeScales:r,inner:T,handStyle:u,disableHour:d,isActive:M,isDisable:U,getSize:L,getStyle:z,activeItemIndex:o}}});function Ge(e,t,T,d,f,u){return B(),O("div",{class:C(e.n("clock"))},[P("div",{class:C(e.n("clock-hand")),style:Z(e.handStyle)},null,6),(B(!0),O(ee,null,ue(e.timeScales,(o,r)=>(B(),O("div",{class:C(e.classes(e.n("clock-item"),[e.isActive(r,!1),e.n("clock-item--active")],[e.isDisable(o),e.n("clock-item--disable")])),key:o,style:Z(e.getStyle(r,o,!1))},D(o),7))),128)),e.format==="24hr"&&e.type==="hour"?(B(),O("div",{key:0,class:C(e.n("clock-inner")),ref:"inner"},[(B(!0),O(ee,null,ue(e.hours24,(o,r)=>(B(),O("div",{class:C(e.classes(e.n("clock-item"),[e.isActive(r,!0),e.n("clock-item--active")],[e.isDisable(o),e.n("clock-item--disable")])),key:o,style:Z(e.getStyle(r,o,!0))},D(o),7))),128))],2)):x("",!0)],2)}const Qe=de(We,[["render",Ge]]),{name:Je,n:Ke,classes:Ze}=ce("time-picker"),xe=re({name:Je,components:{Clock:Qe},props:Ee,setup(e){const t=k(null),T=k(null),d=k(null),f=k(!1),u=k(!1),o=k(!1),r=k(!1),j=k(!1),A=k(!1),M=k(!1),U=k(0),z=k(0),L=k(),g=k("hour"),n=k("am"),a=k({hour:"00",minute:"00",second:"00"}),l=ne({x:0,y:0}),s=ne({x:[],y:[]}),y=J(()=>g.value==="hour"?L.value:g.value==="minute"?U.value:z.value);K(()=>e.modelValue,i=>{if(i){const{hour:m,minute:c,second:b}=V(i),$=F().hour(m).format("hh"),S=F().hour(m).format("HH"),q=F().minute(c).format("mm"),Q=F().second(b).format("ss");L.value=($==="12"?0:v($))*30,U.value=v(q)*6,z.value=v(Q)*6,a.value=Se(i),e.format!=="24hr"&&(n.value=te(`${m}`,2,"0")===S&&p.includes(S)?"pm":"am"),f.value=e.format==="24hr"&&p.includes(S)}},{immediate:!0});function H(i){se(e["onUpdate:modelValue"],i),se(e.onChange,i)}function h(i){return i*57.29577951308232}function I(i){r.value=!1,M.value=!1,g.value=i}function _(i){const{disableHour:m}=d.value,c=R.findIndex(S=>v(S)===v(a.value.hour)),b=i==="am"?R:p;return[...b.slice(c),...b.slice(0,c)].find((S,q)=>(u.value=q!==0,!m.includes(S)))}function be(i){if(e.readonly)return;n.value=i;const m=_(i);if(!m)return;const c=e.useSeconds?`:${a.value.second}`:"",b=`${te(m,2,"0")}:${a.value.minute}${c}`;H(b)}function ae(i,m){const c=i>=s.x[0]&&i<=s.x[1],b=m>=s.y[0]&&m<=s.y[1];return c&&b}function Se(i){const m=e.format==="24hr"?"HH":"hh",{hour:c,minute:b,second:$}=V(i);return{hour:F().hour(c).format(m),minute:F().minute(b).format("mm"),second:F().second($).format("ss")}}function He(i){const m=i/30;return m>=0?m:m+12}function ke(){const{width:i,height:m}=d.value.getSize(),c=l.x-i/2-8,b=l.x+i/2+8,$=l.y-m/2-8,S=l.y+m/2+8;return{rangeXMin:c,rangeXMax:b,rangeYMin:$,rangeYMax:S}}function Me(i,m,c){const{disableHour:b}=d.value;o.value=ae(i,m);const $=Math.round(c/30)*30+90,S=He($),q=f.value?R[S]:p[S];if(b.includes(q)||(f.value=e.format==="24hr"?ae(i,m):!1),f.value!==o.value)return;const Q=f.value||n.value==="pm"?p[S]:R[S];A.value=b.includes(Q),!A.value&&(L.value=$,r.value=!0)}function $e(i){const{disableHour:m}=d.value,c=Math.round(i/6)*6+90,$={time:c/6>=0?c/6:c/6+60,format:e.format,ampm:n.value,hour:a.value.hour,max:e.max,min:e.min,disableHour:m,allowedTime:e.allowedTime};M.value=he($),!M.value&&(U.value=c,j.value=!0)}function we(i){const{disableHour:m}=d.value,c=Math.round(i/6)*6+90,$={time:c/6>=0?c/6:c/6+60,format:e.format,ampm:n.value,hour:a.value.hour,minute:v(a.value.minute),max:e.max,min:e.min,disableHour:m,allowedTime:e.allowedTime};ge($)||(z.value=c)}function Ce(){const{left:i,top:m,width:c,height:b}=me(t.value);if(l.x=i+c/2,l.y=m+b/2,g.value==="hour"&&e.format==="24hr"){const{rangeXMin:$,rangeXMax:S,rangeYMin:q,rangeYMax:Q}=ke();s.x=[$,S],s.y=[q,Q]}}function Te(i){if(pe(i),e.readonly)return;Ce();const{clientX:m,clientY:c}=i.touches[0],b=m-l.x,$=c-l.y,S=Math.round(h(Math.atan2($,b)));g.value==="hour"?Me(m,c,S):g.value==="minute"?$e(S):we(S)}function Ue(){if(!e.readonly){if(g.value==="hour"&&r.value){g.value="minute";return}g.value==="minute"&&e.useSeconds&&j.value&&(g.value="second")}}function Ie(){u.value=!1}return{getRad:y,time:a,container:t,inner:d,picker:T,isInner:f,type:g,ampm:n,isPreventNextUpdate:u,n:Ke,classes:Ze,pack:ze,moveHand:Te,checkPanel:I,checkAmpm:be,end:Ue,update:H,changePreventUpdate:Ie,formatElevation:Be}}});const _e=P("span",null,":",-1),en={key:0};function nn(e,t,T,d,f,u){const o=Ve("clock");return B(),O("div",{class:C(e.classes(e.n(),e.formatElevation(e.elevation,2))),ref:"picker"},[P("div",{class:C(e.n("title")),style:Z({background:e.titleColor||e.headerColor||e.color})},[P("div",{class:C(e.n("title-hint"))},D(e.hint??e.pack.timePickerHint),3),P("div",{class:C(e.n("title-time-container"))},[P("div",{class:C(e.n("title-time"))},[P("div",{class:C(e.classes(e.n("title-btn"),[e.type==="hour",e.n("title-btn--active")])),onClick:t[0]||(t[0]=r=>e.checkPanel("hour"))},D(e.time.hour),3),_e,P("div",{class:C(e.classes(e.n("title-btn"),[e.type==="minute",e.n("title-btn--active")])),onClick:t[1]||(t[1]=r=>e.checkPanel("minute"))},D(e.time.minute),3),e.useSeconds?(B(),O("span",en,":")):x("",!0),e.useSeconds?(B(),O("div",{key:1,class:C(e.classes(e.n("title-btn"),[e.type==="second",e.n("title-btn--active")])),onClick:t[2]||(t[2]=r=>e.checkPanel("second"))},D(e.time.second),3)):x("",!0)],2),e.format==="ampm"?(B(),O("div",{key:0,class:C(e.n("title-ampm"))},[P("div",{class:C(e.classes(e.n("title-btn"),[e.ampm==="am",e.n("title-btn--active")])),onClick:t[3]||(t[3]=r=>e.checkAmpm("am"))}," AM ",2),P("div",{class:C(e.classes(e.n("title-btn"),[e.ampm==="pm",e.n("title-btn--active")])),onClick:t[4]||(t[4]=r=>e.checkAmpm("pm"))}," PM ",2)],2)):x("",!0)],2)],6),P("div",{class:C(e.n("body"))},[P("div",{class:C(e.n("clock-container")),onTouchstart:t[5]||(t[5]=(...r)=>e.moveHand&&e.moveHand(...r)),onTouchmove:t[6]||(t[6]=(...r)=>e.moveHand&&e.moveHand(...r)),onTouchend:t[7]||(t[7]=(...r)=>e.end&&e.end(...r)),ref:"container"},[N(Ae,{name:`${e.n()}-panel-fade`},{default:E(()=>[(B(),Ne(o,{key:e.type,ref:"inner",type:e.type,ampm:e.ampm,color:e.color,"is-inner":e.isInner,format:e.format,"allowed-time":e.allowedTime,rad:e.getRad,time:e.time,"prevent-next-update":e.isPreventNextUpdate,"use-seconds":e.useSeconds,max:e.max,min:e.min,onUpdate:e.update,onChangePreventUpdate:e.changePreventUpdate},null,8,["type","ampm","color","is-inner","format","allowed-time","rad","time","prevent-next-update","use-seconds","max","min","onUpdate","onChangePreventUpdate"]))]),_:1},8,["name"])],34)],2)],2)}const X=de(xe,[["render",nn]]);De(X);const tn={basicUsage:"基本使用",hour24:"24小时格式",readonly:"只读",timeLimit:"时间限制",custom:"自定义",showSecond:"显示秒"},on={basicUsage:"Basic Usage",hour24:"24hr Format",readonly:"Readonly",timeLimit:"Time Limit",custom:"Custom",showSecond:"Show Seconds"},{add:ye,use:an,pack:G,packs:fn,merge:vn}=Le(),un=e=>{Fe(e),an(e)};fe("zh-CN",Oe);fe("en-US",je);ye("zh-CN",tn);ye("en-US",on);const hn={__name:"index",setup(e){const t=ne({date:"11:20",date1:"15:10",date2:"07:10",date3:"07:10:12",date4:"05:10",date5:"17:36:22"}),T={hours:f=>f%2===0,minutes:f=>f%15!==0,seconds:f=>f%2!==0};function d(f){console.log(f)}return Pe(un),Re(qe),(f,u)=>(B(),O(ee,null,[N(w(W),null,{default:E(()=>[Y(D(w(G).basicUsage),1)]),_:1}),N(w(X),{modelValue:t.date,"onUpdate:modelValue":u[0]||(u[0]=o=>t.date=o)},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(D(w(G).hour24),1)]),_:1}),N(w(X),{modelValue:t.date1,"onUpdate:modelValue":u[1]||(u[1]=o=>t.date1=o),format:"24hr",elevation:""},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(D(w(G).showSecond),1)]),_:1}),N(w(X),{modelValue:t.date5,"onUpdate:modelValue":u[2]||(u[2]=o=>t.date5=o),format:"24hr","use-seconds":""},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(D(w(G).readonly),1)]),_:1}),N(w(X),{modelValue:t.date2,"onUpdate:modelValue":u[3]||(u[3]=o=>t.date2=o),readonly:"",elevation:""},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(D(w(G).timeLimit),1)]),_:1}),N(w(X),{modelValue:t.date3,"onUpdate:modelValue":u[4]||(u[4]=o=>t.date3=o),format:"24hr","use-seconds":"",min:"2:28:38",max:"19:40:22","allowed-time":T},null,8,["modelValue"]),N(w(W),null,{default:E(()=>[Y(D(w(G).custom),1)]),_:1}),N(w(X),{modelValue:t.date4,"onUpdate:modelValue":u[5]||(u[5]=o=>t.date4=o),elevation:"","header-color":"purple",color:"#7bb872",min:"2:28:38",max:"19:40:22",onChange:d},null,8,["modelValue"])],64))}};export{hn as default}; diff --git a/assets/index-79c914e1.js b/assets/index-9d835d66.js similarity index 79% rename from assets/index-79c914e1.js rename to assets/index-9d835d66.js index 1d6dc3467dd..a4b9426bb10 100644 --- a/assets/index-79c914e1.js +++ b/assets/index-9d835d66.js @@ -1 +1 @@ -import{a as w}from"./elements-68ad626b.js";import{f as z,c as B,w as I}from"./components-3ae053cb.js";import{d as T,_ as $,e as m,m as d,p as e,x as p,y as E,v as b,t as F,r as V,F as j,al as A,q as i,w as u,U as a,N as v,Q as N,R as n,O as L,$ as D,a0 as M}from"./index-af5fec45.js";import{P}from"./index-8ffed91e.js";import{d as W}from"./index-d8fbf18c.js";import{u as q,b as U,_ as x,c as J,a as O}from"./index-2b61c8d0.js";import{A as S}from"./appType-53211ea9.js";import"./logger-525ef361.js";import"./index-3f206173.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-2b41cfe8.js";/* empty css */import"./index-057aa4ba.js";import"./index-4237591d.js";import"./index-ba1a9006.js";import"./provide-c979a783.js";import"./index-939959a8.js";const Q={fullWidth:{type:[Number,String],default:"100%"},elevation:{type:[Boolean,Number,String],default:!0}},{name:R,n:G,classes:H}=B("table"),K=T({name:R,props:Q,setup:()=>({toSizeUnit:w,n:G,classes:H,formatElevation:z})});function X(t,h,_,y,l,o){return m(),d("div",{class:p(t.classes(t.n(),t.formatElevation(t.elevation,1),t.n("$--box")))},[e("div",{class:p(t.n("main"))},[e("table",{class:p(t.n("table")),style:E({width:t.toSizeUnit(t.fullWidth)})},[b(t.$slots,"default")],6)],2),t.$slots.footer?(m(),d("div",{key:0,class:p(t.n("footer"))},[b(t.$slots,"footer")],2)):F("",!0)],2)}const g=$(K,[["render",X]]);I(g);const Y={basicUsage:"基本使用",slot:"尾部插槽",math:"数学",english:"英语",tom:"火猫桑",jerry:"耗子君",name:"姓名"},Z={basicUsage:"Basic Usage",slot:"Footer Slots",math:"Math",english:"English",frontend:"Frontend",tom:"Tom",jerry:"Jerry",name:"Name"},{add:C,use:ee,pack:s,packs:we,merge:ze}=q(),te=t=>{O(t),ee(t)};U("zh-CN",x);U("en-US",J);C("zh-CN",Y);C("en-US",Z);const c=t=>(D("data-v-9699b2a0"),t=t(),M(),t),ae=c(()=>e("td",null,"124",-1)),ne=c(()=>e("td",null,"38",-1)),se=c(()=>e("td",null,"100",-1)),oe=c(()=>e("td",null,"135",-1)),le={class:"footer"},re={__name:"index",setup(t){const h=V(_(1,10));function _(l,o){return Array.from({length:o}).map((r,k)=>{const f=(l-1)*o+k+1;return{name:`Name ${f}`,math:f,english:f}})}function y(l,o){h.value=_(l,o)}return j(te),A(W),(l,o)=>(m(),d(v,null,[i(a(S),null,{default:u(()=>[N(n(a(s).basicUsage),1)]),_:1}),i(a(g),null,{default:u(()=>[e("thead",null,[e("tr",null,[e("th",null,n(a(s).name),1),e("th",null,n(a(s).math),1),e("th",null,n(a(s).english),1)])]),e("tbody",null,[e("tr",null,[e("td",null,n(a(s).jerry),1),ae,ne]),e("tr",null,[e("td",null,n(a(s).tom),1),se,oe])])]),_:1}),i(a(S),null,{default:u(()=>[N(n(a(s).slot),1)]),_:1}),i(a(g),null,{footer:u(()=>[e("div",le,[i(a(P),{current:1,total:100,"size-option":[5,10],onChange:y})])]),default:u(()=>[e("thead",null,[e("tr",null,[e("th",null,n(a(s).name),1),e("th",null,n(a(s).math),1),e("th",null,n(a(s).english),1)])]),e("tbody",null,[(m(!0),d(v,null,L(h.value,r=>(m(),d("tr",{key:r.name},[e("td",null,n(r.name),1),e("td",null,n(r.math),1),e("td",null,n(r.english),1)]))),128))])]),_:1})],64))}},Be=$(re,[["__scopeId","data-v-9699b2a0"]]);export{Be as default}; +import{a as w}from"./elements-23c82371.js";import{f as z,c as B,w as I}from"./components-a5332e66.js";import{d as T,_ as $,e as m,m as d,p as e,x as p,y as E,v as b,t as F,r as V,F as j,al as A,q as i,w as u,U as a,N as v,Q as N,R as n,O as L,$ as D,a0 as M}from"./index-0bd4ebfc.js";import{P}from"./index-f748fb96.js";import{d as W}from"./index-d8fbf18c.js";import{u as q,b as U,_ as x,c as J,a as O}from"./index-4a9c2ae2.js";import{A as S}from"./appType-a8f87391.js";import"./logger-525ef361.js";import"./index-5540406a.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-28dcc9be.js";/* empty css */import"./index-2c5b74fa.js";import"./index-3f170ae4.js";import"./index-bae97d31.js";import"./provide-4fc67263.js";import"./index-d5ac26b6.js";const Q={fullWidth:{type:[Number,String],default:"100%"},elevation:{type:[Boolean,Number,String],default:!0}},{name:R,n:G,classes:H}=B("table"),K=T({name:R,props:Q,setup:()=>({toSizeUnit:w,n:G,classes:H,formatElevation:z})});function X(t,h,_,y,l,o){return m(),d("div",{class:p(t.classes(t.n(),t.formatElevation(t.elevation,1),t.n("$--box")))},[e("div",{class:p(t.n("main"))},[e("table",{class:p(t.n("table")),style:E({width:t.toSizeUnit(t.fullWidth)})},[b(t.$slots,"default")],6)],2),t.$slots.footer?(m(),d("div",{key:0,class:p(t.n("footer"))},[b(t.$slots,"footer")],2)):F("",!0)],2)}const g=$(K,[["render",X]]);I(g);const Y={basicUsage:"基本使用",slot:"尾部插槽",math:"数学",english:"英语",tom:"火猫桑",jerry:"耗子君",name:"姓名"},Z={basicUsage:"Basic Usage",slot:"Footer Slots",math:"Math",english:"English",frontend:"Frontend",tom:"Tom",jerry:"Jerry",name:"Name"},{add:C,use:ee,pack:s,packs:we,merge:ze}=q(),te=t=>{O(t),ee(t)};U("zh-CN",x);U("en-US",J);C("zh-CN",Y);C("en-US",Z);const c=t=>(D("data-v-9699b2a0"),t=t(),M(),t),ae=c(()=>e("td",null,"124",-1)),ne=c(()=>e("td",null,"38",-1)),se=c(()=>e("td",null,"100",-1)),oe=c(()=>e("td",null,"135",-1)),le={class:"footer"},re={__name:"index",setup(t){const h=V(_(1,10));function _(l,o){return Array.from({length:o}).map((r,k)=>{const f=(l-1)*o+k+1;return{name:`Name ${f}`,math:f,english:f}})}function y(l,o){h.value=_(l,o)}return j(te),A(W),(l,o)=>(m(),d(v,null,[i(a(S),null,{default:u(()=>[N(n(a(s).basicUsage),1)]),_:1}),i(a(g),null,{default:u(()=>[e("thead",null,[e("tr",null,[e("th",null,n(a(s).name),1),e("th",null,n(a(s).math),1),e("th",null,n(a(s).english),1)])]),e("tbody",null,[e("tr",null,[e("td",null,n(a(s).jerry),1),ae,ne]),e("tr",null,[e("td",null,n(a(s).tom),1),se,oe])])]),_:1}),i(a(S),null,{default:u(()=>[N(n(a(s).slot),1)]),_:1}),i(a(g),null,{footer:u(()=>[e("div",le,[i(a(P),{current:1,total:100,"size-option":[5,10],onChange:y})])]),default:u(()=>[e("thead",null,[e("tr",null,[e("th",null,n(a(s).name),1),e("th",null,n(a(s).math),1),e("th",null,n(a(s).english),1)])]),e("tbody",null,[(m(!0),d(v,null,L(h.value,r=>(m(),d("tr",{key:r.name},[e("td",null,n(r.name),1),e("td",null,n(r.math),1),e("td",null,n(r.english),1)]))),128))])]),_:1})],64))}},Be=$(re,[["__scopeId","data-v-9699b2a0"]]);export{Be as default}; diff --git a/assets/index-86ddb917.js b/assets/index-9e0ad07e.js similarity index 82% rename from assets/index-86ddb917.js rename to assets/index-9e0ad07e.js index 6134bbd46e8..a0a6043d222 100644 --- a/assets/index-86ddb917.js +++ b/assets/index-9e0ad07e.js @@ -1 +1 @@ -import{F as _,al as c,e as m,m as p,q as e,w as l,U as t,N as B,Q as u,R as a}from"./index-af5fec45.js";import{S as o}from"./index-90c41552.js";import{B as n}from"./index-84d96475.js";import{d as g}from"./index-d8fbf18c.js";import{u as h,b as d,_ as v,c as z,a as S}from"./index-2b61c8d0.js";import{A as s}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";/* empty css */import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const w={baseUse:"基本使用",vertical:"垂直",space:"间隙",rightAlign:"靠右",around:"环绕",center:"居中",between:"两端对齐"},U={baseUse:"Basic Use",vertical:"Vertical",space:"Space Size",rightAlign:"Right Align",around:"Space Around",center:"Align Center",between:"Space Between"},{add:f,use:b,pack:i,packs:G,merge:H}=h(),A=r=>{S(r),b(r)};d("zh-CN",v);d("en-US",z);f("zh-CN",w);f("en-US",U);const I={__name:"index",setup(r){return _(A),c(g),(N,C)=>(m(),p(B,null,[e(t(s),null,{default:l(()=>[u(a(t(i).baseUse),1)]),_:1}),e(t(o),null,{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1}),e(t(n),null,{default:l(()=>[u("Button3")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).vertical),1)]),_:1}),e(t(o),{direction:"column",size:"large"},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1}),e(t(n),null,{default:l(()=>[u("Button3")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).space),1)]),_:1}),e(t(o),{size:[20,20]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1}),e(t(n),null,{default:l(()=>[u("Button3")]),_:1}),e(t(n),null,{default:l(()=>[u("Button4")]),_:1}),e(t(n),null,{default:l(()=>[u("Button5")]),_:1}),e(t(n),null,{default:l(()=>[u("Button6")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).rightAlign),1)]),_:1}),e(t(o),{justify:"end",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).around),1)]),_:1}),e(t(o),{justify:"space-around",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).center),1)]),_:1}),e(t(o),{justify:"center",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).between),1)]),_:1}),e(t(o),{justify:"space-between",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1})],64))}};export{I as default}; +import{F as _,al as c,e as m,m as p,q as e,w as l,U as t,N as B,Q as u,R as a}from"./index-0bd4ebfc.js";import{S as o}from"./index-65cffe90.js";import{B as n}from"./index-1f1d0c91.js";import{d as g}from"./index-d8fbf18c.js";import{u as h,b as d,_ as v,c as z,a as S}from"./index-4a9c2ae2.js";import{A as s}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";/* empty css */import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const w={baseUse:"基本使用",vertical:"垂直",space:"间隙",rightAlign:"靠右",around:"环绕",center:"居中",between:"两端对齐"},U={baseUse:"Basic Use",vertical:"Vertical",space:"Space Size",rightAlign:"Right Align",around:"Space Around",center:"Align Center",between:"Space Between"},{add:f,use:b,pack:i,packs:G,merge:H}=h(),A=r=>{S(r),b(r)};d("zh-CN",v);d("en-US",z);f("zh-CN",w);f("en-US",U);const I={__name:"index",setup(r){return _(A),c(g),(N,C)=>(m(),p(B,null,[e(t(s),null,{default:l(()=>[u(a(t(i).baseUse),1)]),_:1}),e(t(o),null,{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1}),e(t(n),null,{default:l(()=>[u("Button3")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).vertical),1)]),_:1}),e(t(o),{direction:"column",size:"large"},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1}),e(t(n),null,{default:l(()=>[u("Button3")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).space),1)]),_:1}),e(t(o),{size:[20,20]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1}),e(t(n),null,{default:l(()=>[u("Button3")]),_:1}),e(t(n),null,{default:l(()=>[u("Button4")]),_:1}),e(t(n),null,{default:l(()=>[u("Button5")]),_:1}),e(t(n),null,{default:l(()=>[u("Button6")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).rightAlign),1)]),_:1}),e(t(o),{justify:"end",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).around),1)]),_:1}),e(t(o),{justify:"space-around",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).center),1)]),_:1}),e(t(o),{justify:"center",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1}),e(t(s),null,{default:l(()=>[u(a(t(i).between),1)]),_:1}),e(t(o),{justify:"space-between",size:["2.666vmin","2.666vmin"]},{default:l(()=>[e(t(n),null,{default:l(()=>[u("Button1")]),_:1}),e(t(n),null,{default:l(()=>[u("Button2")]),_:1})]),_:1})],64))}};export{I as default}; diff --git a/assets/index-9eb15296.js b/assets/index-9eb15296.js new file mode 100644 index 00000000000..fbdc118310d --- /dev/null +++ b/assets/index-9eb15296.js @@ -0,0 +1 @@ +import{W as e}from"./index-0bd4ebfc.js";const t={locks:{},zIndex:2e3,enableRipple:!0};e(t);const c=e(t);export{c}; diff --git a/assets/index-e67c1117.js b/assets/index-9f75b4ae.js similarity index 84% rename from assets/index-e67c1117.js rename to assets/index-9f75b4ae.js index 607575bea9a..9e8d85a8bed 100644 --- a/assets/index-e67c1117.js +++ b/assets/index-9f75b4ae.js @@ -1 +1 @@ -import{M as s}from"./index-3f206173.js";import{S as V}from"./index-90c41552.js";import{B as m}from"./index-84d96475.js";import{O as b,S as h}from"./index-b08b685e.js";import{C as u}from"./index-4237591d.js";import{S as f}from"./index-0ad054ca.js";import{d as N}from"./index-d8fbf18c.js";import{_ as W,r as _,F as M,al as T,b as z,e as y,m as w,q as n,w as t,U as e,p as k,N as x,Q as l,R as a,O as I,f as D,$ as E,a0 as L}from"./index-af5fec45.js";import{u as $,b as C,_ as F,c as j,a as q}from"./index-2b61c8d0.js";import{A as p}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./usePopover-33bac0d8.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";/* empty css */import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./index-83ee7fa7.js";import"./index-939959a8.js";import"./provide-c979a783.js";import"./useSelectController-4054913f.js";import"./index-64160362.js";import"./lock-7a098446.js";const P={basicUsage:"基本使用",alignmentMethods:"对齐方式",topAlignment:"顶部对齐",menuOption:"菜单项",bottomAlignment:"底部对齐",offset:"偏移量",sameWidth:"与触发元素同宽",events:"注册事件",disabled:"禁用菜单",placement:"弹出位置",trigger:"触发方式",twoWayBinding:"双向绑定"},Q={basicUsage:"Basic Usage",alignmentMethods:"Alignment Methods",topAlignment:"Top Alignment",menuOption:"Menu Option",bottomAlignment:"Bottom Alignment",offset:"Offset",sameWidth:"Same Width As Trigger Element",events:"Events",disabled:"Disabled",placement:"Placement",trigger:"Trigger",twoWayBinding:"Two-way Binding"},{add:S,use:R,pack:o,packs:Be,merge:Ue}=$(),G=r=>{q(r),R(r)};C("zh-CN",F);C("en-US",j);S("zh-CN",P);S("en-US",Q);const H=r=>(E("data-v-2a7b8eea"),r=r(),L(),r),J={class:"placement-container"},K=H(()=>k("div",{style:{"margin-bottom":"100px"}},null,-1)),X={__name:"index",setup(r){const c=_(!1),g=_("click"),v=_("cover-top-start"),B=_(["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","cover-top","cover-top-start","cover-top-end","cover-bottom","cover-bottom-start","cover-bottom-end","cover-left","cover-right"]);function O(){c.value=!1}return M(G),T(N),(Y,i)=>{const U=z("var-icon");return y(),w(x,null,[n(e(p),null,{default:t(()=>[l(a(e(o).basicUsage),1)]),_:1}),n(e(s),null,{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).basicUsage),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).placement),1)]),_:1}),n(e(h),{hint:!1,modelValue:v.value,"onUpdate:modelValue":i[0]||(i[0]=d=>v.value=d)},{default:t(()=>[(y(!0),w(x,null,I(B.value,(d,A)=>(y(),D(e(b),{key:A,label:d},null,8,["label"]))),128))]),_:1},8,["modelValue"]),k("div",J,[n(e(s),{placement:v.value},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[n(U,{name:"star"})]),_:1})]),_:1},8,["placement"])]),n(e(p),null,{default:t(()=>[l(a(e(o).offset),1)]),_:1}),n(e(s),{"offset-x":"36px","offset-y":"18px"},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).offset),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).sameWidth),1)]),_:1}),n(e(s),{"same-width":""},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).sameWidth),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).trigger),1)]),_:1}),n(e(h),{hint:!1,modelValue:g.value,"onUpdate:modelValue":i[1]||(i[1]=d=>g.value=d)},{default:t(()=>[n(e(b),{label:"click"}),n(e(b),{label:"hover"})]),_:1},8,["modelValue"]),n(e(s),{style:{"margin-top":"15px"},trigger:g.value},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).trigger),1)]),_:1})]),_:1},8,["trigger"]),n(e(p),null,{default:t(()=>[l(a(e(o).events),1)]),_:1}),n(e(s),{onOpen:i[2]||(i[2]=()=>e(f).info("open")),onOpened:i[3]||(i[3]=()=>e(f).success("opened")),onClose:i[4]||(i[4]=()=>e(f).warning("close")),onClosed:i[5]||(i[5]=()=>e(f).error("closed"))},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).events),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).disabled),1)]),_:1}),n(e(V),{justify:"space-between"},{default:t(()=>[n(e(s),{disabled:""},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary",disabled:""},{default:t(()=>[l(a(e(o).disabled),1)]),_:1})]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).twoWayBinding),1)]),_:1}),n(e(s),{show:c.value,"onUpdate:show":i[6]||(i[6]=d=>c.value=d)},{menu:t(()=>[n(e(u),{onClick:O},{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),{onClick:O},{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),{onClick:O},{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).twoWayBinding),1)]),_:1})]),_:1},8,["show"]),K],64)}}},Ae=W(X,[["__scopeId","data-v-2a7b8eea"]]);export{Ae as default}; +import{M as s}from"./index-5540406a.js";import{S as V}from"./index-65cffe90.js";import{B as m}from"./index-1f1d0c91.js";import{O as b,S as h}from"./index-0c036f3e.js";import{C as u}from"./index-3f170ae4.js";import{S as f}from"./index-1ed406cf.js";import{d as N}from"./index-d8fbf18c.js";import{_ as W,r as _,F as M,al as T,b as z,e as y,m as w,q as n,w as t,U as e,p as k,N as x,Q as l,R as a,O as I,f as D,$ as E,a0 as L}from"./index-0bd4ebfc.js";import{u as $,b as C,_ as F,c as j,a as q}from"./index-4a9c2ae2.js";import{A as p}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./usePopover-1ef39509.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";/* empty css */import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./index-123e4258.js";import"./index-d5ac26b6.js";import"./provide-4fc67263.js";import"./useSelectController-4200caca.js";import"./index-9fe788b6.js";import"./lock-e6f4e779.js";const P={basicUsage:"基本使用",alignmentMethods:"对齐方式",topAlignment:"顶部对齐",menuOption:"菜单项",bottomAlignment:"底部对齐",offset:"偏移量",sameWidth:"与触发元素同宽",events:"注册事件",disabled:"禁用菜单",placement:"弹出位置",trigger:"触发方式",twoWayBinding:"双向绑定"},Q={basicUsage:"Basic Usage",alignmentMethods:"Alignment Methods",topAlignment:"Top Alignment",menuOption:"Menu Option",bottomAlignment:"Bottom Alignment",offset:"Offset",sameWidth:"Same Width As Trigger Element",events:"Events",disabled:"Disabled",placement:"Placement",trigger:"Trigger",twoWayBinding:"Two-way Binding"},{add:S,use:R,pack:o,packs:Be,merge:Ue}=$(),G=r=>{q(r),R(r)};C("zh-CN",F);C("en-US",j);S("zh-CN",P);S("en-US",Q);const H=r=>(E("data-v-2a7b8eea"),r=r(),L(),r),J={class:"placement-container"},K=H(()=>k("div",{style:{"margin-bottom":"100px"}},null,-1)),X={__name:"index",setup(r){const c=_(!1),g=_("click"),v=_("cover-top-start"),B=_(["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","cover-top","cover-top-start","cover-top-end","cover-bottom","cover-bottom-start","cover-bottom-end","cover-left","cover-right"]);function O(){c.value=!1}return M(G),T(N),(Y,i)=>{const U=z("var-icon");return y(),w(x,null,[n(e(p),null,{default:t(()=>[l(a(e(o).basicUsage),1)]),_:1}),n(e(s),null,{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).basicUsage),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).placement),1)]),_:1}),n(e(h),{hint:!1,modelValue:v.value,"onUpdate:modelValue":i[0]||(i[0]=d=>v.value=d)},{default:t(()=>[(y(!0),w(x,null,I(B.value,(d,A)=>(y(),D(e(b),{key:A,label:d},null,8,["label"]))),128))]),_:1},8,["modelValue"]),k("div",J,[n(e(s),{placement:v.value},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[n(U,{name:"star"})]),_:1})]),_:1},8,["placement"])]),n(e(p),null,{default:t(()=>[l(a(e(o).offset),1)]),_:1}),n(e(s),{"offset-x":"36px","offset-y":"18px"},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).offset),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).sameWidth),1)]),_:1}),n(e(s),{"same-width":""},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).sameWidth),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).trigger),1)]),_:1}),n(e(h),{hint:!1,modelValue:g.value,"onUpdate:modelValue":i[1]||(i[1]=d=>g.value=d)},{default:t(()=>[n(e(b),{label:"click"}),n(e(b),{label:"hover"})]),_:1},8,["modelValue"]),n(e(s),{style:{"margin-top":"15px"},trigger:g.value},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).trigger),1)]),_:1})]),_:1},8,["trigger"]),n(e(p),null,{default:t(()=>[l(a(e(o).events),1)]),_:1}),n(e(s),{onOpen:i[2]||(i[2]=()=>e(f).info("open")),onOpened:i[3]||(i[3]=()=>e(f).success("opened")),onClose:i[4]||(i[4]=()=>e(f).warning("close")),onClosed:i[5]||(i[5]=()=>e(f).error("closed"))},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).events),1)]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).disabled),1)]),_:1}),n(e(V),{justify:"space-between"},{default:t(()=>[n(e(s),{disabled:""},{menu:t(()=>[n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),null,{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary",disabled:""},{default:t(()=>[l(a(e(o).disabled),1)]),_:1})]),_:1})]),_:1}),n(e(p),null,{default:t(()=>[l(a(e(o).twoWayBinding),1)]),_:1}),n(e(s),{show:c.value,"onUpdate:show":i[6]||(i[6]=d=>c.value=d)},{menu:t(()=>[n(e(u),{onClick:O},{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),{onClick:O},{default:t(()=>[l(a(e(o).menuOption),1)]),_:1}),n(e(u),{onClick:O},{default:t(()=>[l(a(e(o).menuOption),1)]),_:1})]),default:t(()=>[n(e(m),{type:"primary"},{default:t(()=>[l(a(e(o).twoWayBinding),1)]),_:1})]),_:1},8,["show"]),K],64)}}},Ae=W(X,[["__scopeId","data-v-2a7b8eea"]]);export{Ae as default}; diff --git a/assets/index-64160362.js b/assets/index-9fe788b6.js similarity index 91% rename from assets/index-64160362.js rename to assets/index-9fe788b6.js index bccd72fed9a..332a8813370 100644 --- a/assets/index-64160362.js +++ b/assets/index-9fe788b6.js @@ -1 +1 @@ -import{I as L}from"./index-057aa4ba.js";import{F as Y,u as q}from"./provide-c979a783.js";import{v as J}from"./index-2b41cfe8.js";import{H as Q}from"./index-8bbf4ef8.js";import{H as Z,u as _}from"./index-2c1498a1.js";import{d as m,g as I,h as x,a as v,c as ee,w as ne}from"./components-3ae053cb.js";import{a1 as ae,a3 as oe,d as re,D as O,r as se,n as ie,_ as le,b as p,L as w,e as N,m as A,p as E,P as de,x as d,y as ce,v as k,q as t,t as V}from"./index-af5fec45.js";const M=Symbol("CHECKBOX_GROUP_BIND_CHECKBOX_KEY");function ze(){const{bindChildren:e,childProviders:r,length:l}=ae(M);return{length:l,checkboxes:r,bindCheckboxes:e}}const te={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedColor:String,uncheckedColor:String,disabled:Boolean,readonly:Boolean,indeterminate:Boolean,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:m(),onChange:m(),"onUpdate:modelValue":m(),"onUpdate:indeterminate":m()};function ue(){const{bindParent:e,parentProvider:r,index:l}=oe(M);return{index:l,checkboxGroup:r,bindCheckboxGroup:e}}const{name:he,n:me,classes:ve}=ee("checkbox"),ke=re({name:he,directives:{Ripple:J,Hover:Q},components:{VarIcon:L,VarFormDetails:Y,VarHoverOverlay:Z},props:te,setup(e){const r=I(e,"modelValue"),l=I(e,"indeterminate"),c=O(()=>r.value===e.checkedValue),B=O(()=>e.checkedValue),u=se(!1),{checkboxGroup:n,bindCheckboxGroup:b}=ue(),{hovering:f,handleHovering:C}=_(),{form:a,bindForm:g}=q(),{errorMessage:P,validateWithTrigger:R,validate:$,resetValidation:y}=x(),S={checkedValue:B,checked:c,sync:T,validate:H,resetValidation:y,reset:D,resetWithAnimation:U};v(b,S),v(g,S);function K(s){ie(()=>{const{validateTrigger:o,rules:i,modelValue:h}=e;R(o,s,i,h)})}function z(s){const{checkedValue:o,onChange:i}=e;r.value=s,l.value=!1,v(i,r.value),K("onChange"),s===o?n==null||n.onChecked(o):n==null||n.onUnchecked(o)}function F(s){const{disabled:o,readonly:i,checkedValue:h,uncheckedValue:X,onClick:j}=e;if(a!=null&&a.disabled.value||o||(v(j,s),a!=null&&a.readonly.value||i))return;u.value=!0;const W=n?n.checkedCount.value>=Number(n.max.value):!1;!c.value&&W||z(c.value?X:h)}function T(s){const{checkedValue:o,uncheckedValue:i}=e;r.value=s.includes(o)?o:i}function U(){u.value=!1}function D(){r.value=e.uncheckedValue,y()}function G(s){const{checkedValue:o,uncheckedValue:i}=e;![o,i].includes(s)&&(s=c.value?i:o),z(s)}function H(){return $(e.rules,e.modelValue)}return{isIndeterminate:l,withAnimation:u,checked:c,errorMessage:P,checkboxGroupErrorMessage:n==null?void 0:n.errorMessage,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,hovering:f,n:me,classes:ve,handleHovering:C,handleClick:F,toggle:G,reset:D,validate:H,resetValidation:y}}});function be(e,r,l,c,B,u){const n=p("var-icon"),b=p("var-hover-overlay"),f=p("var-form-details"),C=w("hover"),a=w("ripple");return N(),A("div",{class:d(e.n("wrap")),onClick:r[0]||(r[0]=(...g)=>e.handleClick&&e.handleClick(...g))},[E("div",{class:d(e.n())},[de((N(),A("div",{class:d(e.classes(e.n("action"),[e.checked||e.isIndeterminate,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:ce({color:e.checked||e.isIndeterminate?e.checkedColor:e.uncheckedColor})},[e.isIndeterminate?k(e.$slots,"indeterminate-icon",{key:0},()=>[t(n,{class:d(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"minus-box",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):V("",!0),e.checked&&!e.isIndeterminate?k(e.$slots,"checked-icon",{key:1},()=>[t(n,{class:d(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-marked",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):V("",!0),!e.checked&&!e.isIndeterminate?k(e.$slots,"unchecked-icon",{key:2},()=>[t(n,{class:d(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-blank-outline",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):V("",!0),t(b,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[C,e.handleHovering,"desktop"],[a,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}]]),E("div",{class:d(e.classes(e.n("text"),[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[k(e.$slots,"default")],2)],2),t(f,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const fe=le(ke,[["render",be]]);ne(fe);export{fe as C,ze as u}; +import{I as L}from"./index-2c5b74fa.js";import{F as Y,u as q}from"./provide-4fc67263.js";import{v as J}from"./index-28dcc9be.js";import{H as Q}from"./index-27fcaf7d.js";import{H as Z,u as _}from"./index-d956da3f.js";import{d as m,g as I,h as x,a as v,c as ee,w as ne}from"./components-a5332e66.js";import{a1 as ae,a3 as oe,d as re,D as O,r as se,n as ie,_ as le,b as p,L as w,e as N,m as A,p as E,P as de,x as d,y as ce,v as k,q as t,t as V}from"./index-0bd4ebfc.js";const M=Symbol("CHECKBOX_GROUP_BIND_CHECKBOX_KEY");function ze(){const{bindChildren:e,childProviders:r,length:l}=ae(M);return{length:l,checkboxes:r,bindCheckboxes:e}}const te={modelValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedValue:{type:[String,Number,Boolean,Object,Array],default:!0},uncheckedValue:{type:[String,Number,Boolean,Object,Array],default:!1},checkedColor:String,uncheckedColor:String,disabled:Boolean,readonly:Boolean,indeterminate:Boolean,iconSize:[String,Number],ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onChange"]},rules:Array,onClick:m(),onChange:m(),"onUpdate:modelValue":m(),"onUpdate:indeterminate":m()};function ue(){const{bindParent:e,parentProvider:r,index:l}=oe(M);return{index:l,checkboxGroup:r,bindCheckboxGroup:e}}const{name:he,n:me,classes:ve}=ee("checkbox"),ke=re({name:he,directives:{Ripple:J,Hover:Q},components:{VarIcon:L,VarFormDetails:Y,VarHoverOverlay:Z},props:te,setup(e){const r=I(e,"modelValue"),l=I(e,"indeterminate"),c=O(()=>r.value===e.checkedValue),B=O(()=>e.checkedValue),u=se(!1),{checkboxGroup:n,bindCheckboxGroup:b}=ue(),{hovering:f,handleHovering:C}=_(),{form:a,bindForm:g}=q(),{errorMessage:P,validateWithTrigger:R,validate:$,resetValidation:y}=x(),S={checkedValue:B,checked:c,sync:T,validate:H,resetValidation:y,reset:D,resetWithAnimation:U};v(b,S),v(g,S);function K(s){ie(()=>{const{validateTrigger:o,rules:i,modelValue:h}=e;R(o,s,i,h)})}function z(s){const{checkedValue:o,onChange:i}=e;r.value=s,l.value=!1,v(i,r.value),K("onChange"),s===o?n==null||n.onChecked(o):n==null||n.onUnchecked(o)}function F(s){const{disabled:o,readonly:i,checkedValue:h,uncheckedValue:X,onClick:j}=e;if(a!=null&&a.disabled.value||o||(v(j,s),a!=null&&a.readonly.value||i))return;u.value=!0;const W=n?n.checkedCount.value>=Number(n.max.value):!1;!c.value&&W||z(c.value?X:h)}function T(s){const{checkedValue:o,uncheckedValue:i}=e;r.value=s.includes(o)?o:i}function U(){u.value=!1}function D(){r.value=e.uncheckedValue,y()}function G(s){const{checkedValue:o,uncheckedValue:i}=e;![o,i].includes(s)&&(s=c.value?i:o),z(s)}function H(){return $(e.rules,e.modelValue)}return{isIndeterminate:l,withAnimation:u,checked:c,errorMessage:P,checkboxGroupErrorMessage:n==null?void 0:n.errorMessage,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,hovering:f,n:me,classes:ve,handleHovering:C,handleClick:F,toggle:G,reset:D,validate:H,resetValidation:y}}});function be(e,r,l,c,B,u){const n=p("var-icon"),b=p("var-hover-overlay"),f=p("var-form-details"),C=w("hover"),a=w("ripple");return N(),A("div",{class:d(e.n("wrap")),onClick:r[0]||(r[0]=(...g)=>e.handleClick&&e.handleClick(...g))},[E("div",{class:d(e.n())},[de((N(),A("div",{class:d(e.classes(e.n("action"),[e.checked||e.isIndeterminate,e.n("--checked"),e.n("--unchecked")],[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:ce({color:e.checked||e.isIndeterminate?e.checkedColor:e.uncheckedColor})},[e.isIndeterminate?k(e.$slots,"indeterminate-icon",{key:0},()=>[t(n,{class:d(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"minus-box",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):V("",!0),e.checked&&!e.isIndeterminate?k(e.$slots,"checked-icon",{key:1},()=>[t(n,{class:d(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-marked",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):V("",!0),!e.checked&&!e.isIndeterminate?k(e.$slots,"unchecked-icon",{key:2},()=>[t(n,{class:d(e.classes(e.n("icon"),[e.withAnimation,e.n("--with-animation")])),name:"checkbox-blank-outline",size:e.iconSize,"var-checkbox-cover":""},null,8,["class","size"])]):V("",!0),t(b,{hovering:!e.disabled&&!e.formDisabled&&e.hovering},null,8,["hovering"])],6)),[[C,e.handleHovering,"desktop"],[a,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}]]),E("div",{class:d(e.classes(e.n("text"),[e.errorMessage||e.checkboxGroupErrorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")]))},[k(e.$slots,"default")],2)],2),t(f,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const fe=le(ke,[["render",be]]);ne(fe);export{fe as C,ze as u}; diff --git a/assets/index-0bc61210.js b/assets/index-a0dce8b8.js similarity index 86% rename from assets/index-0bc61210.js rename to assets/index-a0dce8b8.js index d5756f89baf..1496a084070 100644 --- a/assets/index-0bc61210.js +++ b/assets/index-a0dce8b8.js @@ -1 +1 @@ -import{d as R}from"./index-d8fbf18c.js";import{f as w,c as P,w as I}from"./components-3ae053cb.js";import{d as M,r as k,D as V,at as D,aB as E,_ as F,e as g,m as v,p as b,x as i,v as f,y as _,Q as n,R as l,t as A,F as G,al as O,q as o,w as a,U as t,N as j}from"./index-af5fec45.js";import{I as p}from"./index-057aa4ba.js";import{M as q}from"./index-3f206173.js";import{B as m}from"./index-84d96475.js";import{C}from"./index-4237591d.js";import{T as Q,a as $}from"./index-50f6abd4.js";import{u as H,b as z,_ as J,c as K,a as W}from"./index-2b61c8d0.js";import{A as c}from"./appType-53211ea9.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-2b41cfe8.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-2684e5c7.js";import"./shared-de177aa1.js";const X={color:String,textColor:String,title:String,titlePosition:{type:String,default:"left"},elevation:{type:[Boolean,String,Number],default:!0},round:Boolean,image:String,imageLinearGradient:String,safeAreaTop:Boolean},{name:Y,n:Z,classes:x}=P("app-bar"),tt=M({name:Y,props:X,setup(e,{slots:d}){const h=k(),u=k(),S=V(()=>{const{image:B,color:U,textColor:L,imageLinearGradient:T}=e;return B!=null?{"background-image":`${T?`linear-gradient(${T}), `:""}url(${B})`,"background-position":"center center","background-size":"cover"}:{background:U,color:L}});D(y),E(y);function y(){h.value=d.left?0:void 0,u.value=d.right?0:void 0}return{rootStyles:S,paddingLeft:h,paddingRight:u,n:Z,classes:x,formatElevation:w}}});function et(e,d,h,u,S,y){return g(),v("div",{class:i(e.classes(e.n(),e.n("$--box"),[e.safeAreaTop,e.n("--safe-area-top")],[e.round,e.n("--round")],e.formatElevation(e.elevation,3))),style:_(e.rootStyles)},[b("div",{class:i(e.n("toolbar"))},[b("div",{class:i(e.n("left"))},[f(e.$slots,"left"),e.titlePosition==="left"?(g(),v("div",{key:0,class:i(e.n("title")),style:_({paddingLeft:e.paddingLeft})},[f(e.$slots,"default",{},()=>[n(l(e.title),1)])],6)):A("",!0)],2),e.titlePosition==="center"?(g(),v("div",{key:0,class:i(e.n("title"))},[f(e.$slots,"default",{},()=>[n(l(e.title),1)])],2)):A("",!0),b("div",{class:i(e.n("right"))},[e.titlePosition==="right"?(g(),v("div",{key:0,class:i(e.n("title")),style:_({paddingRight:e.paddingRight})},[f(e.$slots,"default",{},()=>[n(l(e.title),1)])],6)):A("",!0),f(e.$slots,"right")],2)],2),f(e.$slots,"content")],6)}const s=F(tt,[["render",et]]);I(s);const ot={basicUsage:"基本使用",customStyle:"自定义背景色",addSlotsAtTitle:"添加标题处插槽",title:"标题",addLeftAndRightSlot:"添加左右插槽",option:"选项卡",search:"搜索",round:"开启圆角",custom:"扩展内容"},at={basicUsage:"Basic Usage",customStyle:"Custom Background Color",addSlotsAtTitle:"Add Slots At Title",title:"Title",addLeftAndRightSlot:"Add Left And Right Slot",option:"OPTION",search:"search",round:"Use Border Radius",custom:"Custom Content"},{add:N,use:rt,pack:r,packs:Nt,merge:Ut}=H(),nt=e=>{W(e),rt(e)};z("zh-CN",J);z("en-US",K);N("zh-CN",ot);N("en-US",at);const Lt={__name:"index",setup(e){const d=k(0);return G(nt),O(R),(h,u)=>(g(),v(j,null,[o(t(c),null,{default:a(()=>[n(l(t(r).basicUsage),1)]),_:1}),o(t(s),{title:t(r).title},null,8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).addSlotsAtTitle),1)]),_:1}),o(t(s),null,{default:a(()=>[n(l(t(r).addSlotsAtTitle),1)]),_:1}),o(t(c),null,{default:a(()=>[n(l(t(r).addLeftAndRightSlot),1)]),_:1}),o(t(s),{title:t(r).title},{left:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#ffffff"},{default:a(()=>[o(t(p),{name:"chevron-left",size:24})]),_:1})]),right:a(()=>[o(t(q),null,{menu:a(()=>[o(t(C),{ripple:""},{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t(C),{ripple:""},{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t(C),{ripple:""},{default:a(()=>[n(l(t(r).option),1)]),_:1})]),default:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#ffffff"},{default:a(()=>[o(t(p),{name:"menu",size:24})]),_:1})]),_:1})]),_:1},8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).round),1)]),_:1}),o(t(s),{title:t(r).round,"title-position":"center",round:""},null,8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).customStyle),1)]),_:1}),o(t(s),{title:t(r).title,"title-position":"center",color:"linear-gradient(90deg, rgba(72,176,221,1) 0%, rgba(0,208,161,1) 100%)"},null,8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).custom),1)]),_:1}),o(t(s),{round:"",image:"https://varlet.gitee.io/varlet-ui/tree.jpeg","image-linear-gradient":"to right top, rgba(29, 68, 147, 0.5) 0%, rgba(74, 198, 170, 0.9) 100%"},{left:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"menu",size:24})]),_:1})]),right:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"map-marker-radius",size:24})]),_:1}),o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"star",size:24})]),_:1}),o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"heart",size:24})]),_:1})]),content:a(()=>[o(t(Q),{style:{"margin-top":"20vmin"},color:"transparent","active-color":"#fff","inactive-color":"#ddd",active:d.value,"onUpdate:active":u[0]||(u[0]=S=>d.value=S)},{default:a(()=>[o(t($),null,{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t($),null,{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t($),null,{default:a(()=>[n(l(t(r).option),1)]),_:1})]),_:1},8,["active"])]),default:a(()=>[n(l(t(r).title)+" ",1)]),_:1})],64))}};export{Lt as default}; +import{d as R}from"./index-d8fbf18c.js";import{f as w,c as P,w as I}from"./components-a5332e66.js";import{d as M,r as k,D as V,at as D,aB as E,_ as F,e as g,m as v,p as b,x as i,v as f,y as _,Q as n,R as l,t as A,F as G,al as O,q as o,w as a,U as t,N as j}from"./index-0bd4ebfc.js";import{I as p}from"./index-2c5b74fa.js";import{M as q}from"./index-5540406a.js";import{B as m}from"./index-1f1d0c91.js";import{C}from"./index-3f170ae4.js";import{T as Q,a as $}from"./index-bf94e46f.js";import{u as H,b as z,_ as J,c as K,a as W}from"./index-4a9c2ae2.js";import{A as c}from"./appType-a8f87391.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-28dcc9be.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-482a9388.js";import"./shared-a3ff1edc.js";const X={color:String,textColor:String,title:String,titlePosition:{type:String,default:"left"},elevation:{type:[Boolean,String,Number],default:!0},round:Boolean,image:String,imageLinearGradient:String,safeAreaTop:Boolean},{name:Y,n:Z,classes:x}=P("app-bar"),tt=M({name:Y,props:X,setup(e,{slots:d}){const h=k(),u=k(),S=V(()=>{const{image:B,color:U,textColor:L,imageLinearGradient:T}=e;return B!=null?{"background-image":`${T?`linear-gradient(${T}), `:""}url(${B})`,"background-position":"center center","background-size":"cover"}:{background:U,color:L}});D(y),E(y);function y(){h.value=d.left?0:void 0,u.value=d.right?0:void 0}return{rootStyles:S,paddingLeft:h,paddingRight:u,n:Z,classes:x,formatElevation:w}}});function et(e,d,h,u,S,y){return g(),v("div",{class:i(e.classes(e.n(),e.n("$--box"),[e.safeAreaTop,e.n("--safe-area-top")],[e.round,e.n("--round")],e.formatElevation(e.elevation,3))),style:_(e.rootStyles)},[b("div",{class:i(e.n("toolbar"))},[b("div",{class:i(e.n("left"))},[f(e.$slots,"left"),e.titlePosition==="left"?(g(),v("div",{key:0,class:i(e.n("title")),style:_({paddingLeft:e.paddingLeft})},[f(e.$slots,"default",{},()=>[n(l(e.title),1)])],6)):A("",!0)],2),e.titlePosition==="center"?(g(),v("div",{key:0,class:i(e.n("title"))},[f(e.$slots,"default",{},()=>[n(l(e.title),1)])],2)):A("",!0),b("div",{class:i(e.n("right"))},[e.titlePosition==="right"?(g(),v("div",{key:0,class:i(e.n("title")),style:_({paddingRight:e.paddingRight})},[f(e.$slots,"default",{},()=>[n(l(e.title),1)])],6)):A("",!0),f(e.$slots,"right")],2)],2),f(e.$slots,"content")],6)}const s=F(tt,[["render",et]]);I(s);const ot={basicUsage:"基本使用",customStyle:"自定义背景色",addSlotsAtTitle:"添加标题处插槽",title:"标题",addLeftAndRightSlot:"添加左右插槽",option:"选项卡",search:"搜索",round:"开启圆角",custom:"扩展内容"},at={basicUsage:"Basic Usage",customStyle:"Custom Background Color",addSlotsAtTitle:"Add Slots At Title",title:"Title",addLeftAndRightSlot:"Add Left And Right Slot",option:"OPTION",search:"search",round:"Use Border Radius",custom:"Custom Content"},{add:N,use:rt,pack:r,packs:Nt,merge:Ut}=H(),nt=e=>{W(e),rt(e)};z("zh-CN",J);z("en-US",K);N("zh-CN",ot);N("en-US",at);const Lt={__name:"index",setup(e){const d=k(0);return G(nt),O(R),(h,u)=>(g(),v(j,null,[o(t(c),null,{default:a(()=>[n(l(t(r).basicUsage),1)]),_:1}),o(t(s),{title:t(r).title},null,8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).addSlotsAtTitle),1)]),_:1}),o(t(s),null,{default:a(()=>[n(l(t(r).addSlotsAtTitle),1)]),_:1}),o(t(c),null,{default:a(()=>[n(l(t(r).addLeftAndRightSlot),1)]),_:1}),o(t(s),{title:t(r).title},{left:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#ffffff"},{default:a(()=>[o(t(p),{name:"chevron-left",size:24})]),_:1})]),right:a(()=>[o(t(q),null,{menu:a(()=>[o(t(C),{ripple:""},{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t(C),{ripple:""},{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t(C),{ripple:""},{default:a(()=>[n(l(t(r).option),1)]),_:1})]),default:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#ffffff"},{default:a(()=>[o(t(p),{name:"menu",size:24})]),_:1})]),_:1})]),_:1},8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).round),1)]),_:1}),o(t(s),{title:t(r).round,"title-position":"center",round:""},null,8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).customStyle),1)]),_:1}),o(t(s),{title:t(r).title,"title-position":"center",color:"linear-gradient(90deg, rgba(72,176,221,1) 0%, rgba(0,208,161,1) 100%)"},null,8,["title"]),o(t(c),null,{default:a(()=>[n(l(t(r).custom),1)]),_:1}),o(t(s),{round:"",image:"https://varlet.gitee.io/varlet-ui/tree.jpeg","image-linear-gradient":"to right top, rgba(29, 68, 147, 0.5) 0%, rgba(74, 198, 170, 0.9) 100%"},{left:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"menu",size:24})]),_:1})]),right:a(()=>[o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"map-marker-radius",size:24})]),_:1}),o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"star",size:24})]),_:1}),o(t(m),{round:"",text:"",color:"transparent","text-color":"#fff"},{default:a(()=>[o(t(p),{name:"heart",size:24})]),_:1})]),content:a(()=>[o(t(Q),{style:{"margin-top":"20vmin"},color:"transparent","active-color":"#fff","inactive-color":"#ddd",active:d.value,"onUpdate:active":u[0]||(u[0]=S=>d.value=S)},{default:a(()=>[o(t($),null,{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t($),null,{default:a(()=>[n(l(t(r).option),1)]),_:1}),o(t($),null,{default:a(()=>[n(l(t(r).option),1)]),_:1})]),_:1},8,["active"])]),default:a(()=>[n(l(t(r).title)+" ",1)]),_:1})],64))}};export{Lt as default}; diff --git a/assets/index-64b19c48.js b/assets/index-a41d76fa.js similarity index 81% rename from assets/index-64b19c48.js rename to assets/index-a41d76fa.js index f6d13f1f56d..603ada6f16d 100644 --- a/assets/index-64b19c48.js +++ b/assets/index-a41d76fa.js @@ -1 +1 @@ -import{I as k}from"./index-2096471a.js";import{B as u}from"./index-84d96475.js";import{I as T}from"./index-057aa4ba.js";import{A as z}from"./index-2a46eb17.js";import{S as b}from"./index-0ad054ca.js";import{d as A}from"./index-d8fbf18c.js";import{_ as V,r as l,D as j,F,al as q,e as H,m as M,p as x,q as n,w as s,U as t,N as O,Q as i,R as r}from"./index-af5fec45.js";import{u as Q,b as U,_ as R,c as G,a as J}from"./index-2b61c8d0.js";import{A as E}from"./appType-53211ea9.js";import"./index-d408e6ab.js";import"./index-8bbf4ef8.js";import"./provide-521cd214.js";import"./components-3ae053cb.js";import"./provide-c3581da5.js";import"./index-8c96e01f.js";import"./logger-525ef361.js";import"./index-d24e7e49.js";import"./lock-7a098446.js";import"./index-e95cf05b.js";import"./zIndex-a2732bb2.js";/* empty css */import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./index-2c1498a1.js";const K={functionCall:"函数调用",componentCall:"组件调用",preview:"基本使用",callBack:"处理回调函数",basicUse:"基本使用",specifyInitialPosition:"指定初始位置",displayCloseButton:"展示关闭按钮",listenCloseEvents:"监听关闭事件",shutdownEvent:"触发了关闭事件。",preventLongTapDefault:"监听长按事件",preventDefaultEvent:"触发了长按事件",showExtraSlots:"展示额外插槽",operate:"操作"},W={functionCall:"Function Call",componentCall:"Component Call",preview:"Basic usage",callBack:"Handle callback function",basicUse:"Basic usage",specifyInitialPosition:"Specify initial position",displayCloseButton:"Display the close button",listenCloseEvents:"Listen for close event",shutdownEvent:"The shutdown event was triggered.",preventLongTapDefault:"Listen for long press event",preventDefaultEvent:"Long press event is triggered",showExtraSlots:"Show extra slots",operate:"Operate"},{add:B,use:X,pack:a,packs:Be,merge:_e}=Q(),Y=m=>{J(m),X(m)};U("zh-CN",R);U("en-US",G);B("zh-CN",K);B("en-US",W);const Z={class:"image-preview-demo"},ee={class:"image-preview-demo"},te={__name:"index",setup(m){const p=k.Component,_=z.Component,c=l(!1),d=l(!1),w=l(!1),f=l(!1),g=l(!1),D=l(!0),C=l(!1),h=l(!1),v=l(["https://varlet.gitee.io/varlet-ui/cat.jpg","https://varlet.gitee.io/varlet-ui/cat2.jpg"]),y=l(["https://varlet.gitee.io/varlet-ui/cat.jpg"]),L=j(()=>[{name:a.value.operate,icon:"wrench"},{name:a.value.operate,icon:"wrench"}]);function I(){b({content:a.value.shutdownEvent,duration:1e3})}function N(){b({content:a.value.preventDefaultEvent,duration:1e3})}function $(){k(y.value)}function P(){k({images:v,onChange:S=>{console.log("index",S)}})}return F(Y),q(A),(S,e)=>(H(),M(O,null,[x("div",Z,[n(t(E),null,{default:s(()=>[i(r(t(a).functionCall),1)]),_:1}),n(t(u),{type:"primary",block:"",onClick:$},{default:s(()=>[i(r(t(a).preview),1)]),_:1}),n(t(u),{type:"primary",block:"",onClick:P},{default:s(()=>[i(r(t(a).callBack),1)]),_:1})]),x("div",ee,[n(t(E),null,{default:s(()=>[i(r(t(a).componentCall),1)]),_:1}),n(t(u),{type:"warning",block:"",onClick:e[0]||(e[0]=o=>c.value=!0)},{default:s(()=>[i(r(t(a).basicUse),1)]),_:1}),n(t(p),{images:y.value,show:c.value,"onUpdate:show":e[1]||(e[1]=o=>c.value=o)},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[2]||(e[2]=o=>d.value=!0)},{default:s(()=>[i(r(t(a).specifyInitialPosition),1)]),_:1}),n(t(p),{images:v.value,show:d.value,"onUpdate:show":e[3]||(e[3]=o=>d.value=o),"initial-index":1},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[4]||(e[4]=o=>w.value=!0)},{default:s(()=>[i(r(t(a).displayCloseButton),1)]),_:1}),n(t(p),{images:v.value,show:w.value,"onUpdate:show":e[5]||(e[5]=o=>w.value=o),closeable:!0},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[6]||(e[6]=o=>f.value=!0)},{default:s(()=>[i(r(t(a).listenCloseEvents),1)]),_:1}),n(t(p),{images:v.value,show:f.value,"onUpdate:show":e[7]||(e[7]=o=>f.value=o),onClose:I},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[8]||(e[8]=o=>g.value=!0)},{default:s(()=>[i(r(t(a).preventLongTapDefault),1)]),_:1}),n(t(p),{images:v.value,show:g.value,"onUpdate:show":e[9]||(e[9]=o=>g.value=o),"image-prevent-default":D.value,onLongPress:N},null,8,["images","show","image-prevent-default"]),n(t(u),{type:"warning",block:"",onClick:e[10]||(e[10]=o=>C.value=!0)},{default:s(()=>[i(r(t(a).showExtraSlots),1)]),_:1}),n(t(p),{images:v.value,show:C.value,"onUpdate:show":e[13]||(e[13]=o=>C.value=o)},{extra:s(()=>[n(t(T),{name:"menu",size:22,color:"#fff",onClick:e[11]||(e[11]=o=>h.value=!0)}),n(t(_),{actions:L.value,show:h.value,"onUpdate:show":e[12]||(e[12]=o=>h.value=o)},null,8,["actions","show"])]),_:1},8,["images","show"])])],64))}},De=V(te,[["__scopeId","data-v-6ec5bec1"]]);export{De as default}; +import{I as k}from"./index-b7d082cd.js";import{B as u}from"./index-1f1d0c91.js";import{I as T}from"./index-2c5b74fa.js";import{A as z}from"./index-f92ac5ca.js";import{S as b}from"./index-1ed406cf.js";import{d as A}from"./index-d8fbf18c.js";import{_ as V,r as l,D as j,F,al as q,e as H,m as M,p as x,q as n,w as s,U as t,N as O,Q as i,R as r}from"./index-0bd4ebfc.js";import{u as Q,b as U,_ as R,c as G,a as J}from"./index-4a9c2ae2.js";import{A as E}from"./appType-a8f87391.js";import"./index-67cbdf85.js";import"./index-27fcaf7d.js";import"./provide-e4d73c18.js";import"./components-a5332e66.js";import"./provide-f823f5cd.js";import"./index-f71140ae.js";import"./logger-525ef361.js";import"./index-0e439e92.js";import"./lock-e6f4e779.js";import"./index-9eb15296.js";import"./zIndex-976ced0e.js";/* empty css */import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./index-d956da3f.js";const K={functionCall:"函数调用",componentCall:"组件调用",preview:"基本使用",callBack:"处理回调函数",basicUse:"基本使用",specifyInitialPosition:"指定初始位置",displayCloseButton:"展示关闭按钮",listenCloseEvents:"监听关闭事件",shutdownEvent:"触发了关闭事件。",preventLongTapDefault:"监听长按事件",preventDefaultEvent:"触发了长按事件",showExtraSlots:"展示额外插槽",operate:"操作"},W={functionCall:"Function Call",componentCall:"Component Call",preview:"Basic usage",callBack:"Handle callback function",basicUse:"Basic usage",specifyInitialPosition:"Specify initial position",displayCloseButton:"Display the close button",listenCloseEvents:"Listen for close event",shutdownEvent:"The shutdown event was triggered.",preventLongTapDefault:"Listen for long press event",preventDefaultEvent:"Long press event is triggered",showExtraSlots:"Show extra slots",operate:"Operate"},{add:B,use:X,pack:a,packs:Be,merge:_e}=Q(),Y=m=>{J(m),X(m)};U("zh-CN",R);U("en-US",G);B("zh-CN",K);B("en-US",W);const Z={class:"image-preview-demo"},ee={class:"image-preview-demo"},te={__name:"index",setup(m){const p=k.Component,_=z.Component,c=l(!1),d=l(!1),w=l(!1),f=l(!1),g=l(!1),D=l(!0),C=l(!1),h=l(!1),v=l(["https://varlet.gitee.io/varlet-ui/cat.jpg","https://varlet.gitee.io/varlet-ui/cat2.jpg"]),y=l(["https://varlet.gitee.io/varlet-ui/cat.jpg"]),L=j(()=>[{name:a.value.operate,icon:"wrench"},{name:a.value.operate,icon:"wrench"}]);function I(){b({content:a.value.shutdownEvent,duration:1e3})}function N(){b({content:a.value.preventDefaultEvent,duration:1e3})}function $(){k(y.value)}function P(){k({images:v,onChange:S=>{console.log("index",S)}})}return F(Y),q(A),(S,e)=>(H(),M(O,null,[x("div",Z,[n(t(E),null,{default:s(()=>[i(r(t(a).functionCall),1)]),_:1}),n(t(u),{type:"primary",block:"",onClick:$},{default:s(()=>[i(r(t(a).preview),1)]),_:1}),n(t(u),{type:"primary",block:"",onClick:P},{default:s(()=>[i(r(t(a).callBack),1)]),_:1})]),x("div",ee,[n(t(E),null,{default:s(()=>[i(r(t(a).componentCall),1)]),_:1}),n(t(u),{type:"warning",block:"",onClick:e[0]||(e[0]=o=>c.value=!0)},{default:s(()=>[i(r(t(a).basicUse),1)]),_:1}),n(t(p),{images:y.value,show:c.value,"onUpdate:show":e[1]||(e[1]=o=>c.value=o)},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[2]||(e[2]=o=>d.value=!0)},{default:s(()=>[i(r(t(a).specifyInitialPosition),1)]),_:1}),n(t(p),{images:v.value,show:d.value,"onUpdate:show":e[3]||(e[3]=o=>d.value=o),"initial-index":1},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[4]||(e[4]=o=>w.value=!0)},{default:s(()=>[i(r(t(a).displayCloseButton),1)]),_:1}),n(t(p),{images:v.value,show:w.value,"onUpdate:show":e[5]||(e[5]=o=>w.value=o),closeable:!0},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[6]||(e[6]=o=>f.value=!0)},{default:s(()=>[i(r(t(a).listenCloseEvents),1)]),_:1}),n(t(p),{images:v.value,show:f.value,"onUpdate:show":e[7]||(e[7]=o=>f.value=o),onClose:I},null,8,["images","show"]),n(t(u),{type:"warning",block:"",onClick:e[8]||(e[8]=o=>g.value=!0)},{default:s(()=>[i(r(t(a).preventLongTapDefault),1)]),_:1}),n(t(p),{images:v.value,show:g.value,"onUpdate:show":e[9]||(e[9]=o=>g.value=o),"image-prevent-default":D.value,onLongPress:N},null,8,["images","show","image-prevent-default"]),n(t(u),{type:"warning",block:"",onClick:e[10]||(e[10]=o=>C.value=!0)},{default:s(()=>[i(r(t(a).showExtraSlots),1)]),_:1}),n(t(p),{images:v.value,show:C.value,"onUpdate:show":e[13]||(e[13]=o=>C.value=o)},{extra:s(()=>[n(t(T),{name:"menu",size:22,color:"#fff",onClick:e[11]||(e[11]=o=>h.value=!0)}),n(t(_),{actions:L.value,show:h.value,"onUpdate:show":e[12]||(e[12]=o=>h.value=o)},null,8,["actions","show"])]),_:1},8,["images","show"])])],64))}},De=V(te,[["__scopeId","data-v-6ec5bec1"]]);export{De as default}; diff --git a/assets/index-b840a1bd.js b/assets/index-a64baa34.js similarity index 89% rename from assets/index-b840a1bd.js rename to assets/index-a64baa34.js index 56c0c05898e..ac84741bc01 100644 --- a/assets/index-b840a1bd.js +++ b/assets/index-a64baa34.js @@ -1 +1 @@ -import{S as m}from"./index-0ad054ca.js";import{B as r}from"./index-84d96475.js";import{S}from"./index-90c41552.js";import{I as z}from"./index-057aa4ba.js";import{d as B}from"./index-d8fbf18c.js";import{W as I,aW as L,b5 as M,F as V,al as F,e as R,m as W,q as n,w as l,U as o,p as A,aX as f,N as E,Q as i,R as s,aa as h}from"./index-af5fec45.js";import{u as H,b as D,_ as q,c as Q,a as X}from"./index-2b61c8d0.js";import{A as C}from"./appType-53211ea9.js";import"./index-a6f8e46a.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./lock-7a098446.js";import"./index-2b41cfe8.js";/* empty css */import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const j={functionCall:"函数调用",componentCall:"组件调用",type:"Snackbar 类型",success:"成功",info:"消息",warning:"警告",error:"错误",loading:"加载",text:"这是一个消息条!!",loaded:"加载成功!!",wait:"等待中...",close:"关闭",basicUsage:"基本使用",multiLine:"垂直排列",bottomDisplay:"底部显示",hiddenTime:"显示时长",customIcon:"自定义图标",forbidClick:"禁止穿透点击",multiple:"多例模式",custom:"自定义"},G={functionCall:"Function Call",componentCall:"Component Call",type:"Snackbar Type",success:"Success",warning:"Warning",info:"Info",error:"Error",loading:"Loading",text:"Hello, I'm a snackbar",loaded:"Loaded",wait:"waiting...",close:"Close",basicUsage:"Basic Usage",multiLine:"Multi-Line",bottomDisplay:"Bottom Display",hiddenTime:"Display Duration",customIcon:"Custom Icon",forbidClick:"Forbid Click",multiple:"Multiple",custom:"Custom"},{add:N,use:J,pack:e,packs:wo,merge:bo}=H(),K=v=>{X(v),J(v)};D("zh-CN",q);D("en-US",Q);N("zh-CN",j);N("en-US",G);const O={class:"snackbar-demo"},Co={__name:"index",setup(v){const y=I({show1:!1,show2:!1,show3:!1,show4:!1,show5:!1,show9:!1}),p=m.Component,{show1:g,show2:k,show3:w,show4:x,show5:$,show9:U}=L(y);function d(u){y[u]=!y[u]}function c(u){const t=u==="loading"?e.value.wait:e.value.text,a=m[u](t);u==="loading"&&setTimeout(()=>{a.clear(),m.success(e.value.loaded)},2e3)}function b(u){if(u==="time"&&m({content:e.value.text,duration:1e3}),u==="position"&&m({content:e.value.text,position:"bottom"}),u==="custom"){const t=m({content:"Hello, Varlet",icon:()=>h(z,{name:"heart",style:{paddingRight:"12px"}}),action:()=>h(r,{size:"small",type:"primary",onClick:()=>t.clear()},{default:()=>e.value.close})})}u||m(e.value.text)}function T(){m.allowMultiple(!0);const u=m("Snackbar 1");m.success("Snackbar 2"),setTimeout(()=>{u.clear()},1e3)}return M(()=>{m.allowMultiple(!1)}),V(K),F(B),(u,t)=>(R(),W(E,null,[n(o(C),null,{default:l(()=>[i(s(o(e).componentCall),1)]),_:1}),n(o(S),{direction:"column",size:["3vmin","4vmin"]},{default:l(()=>[n(o(r),{type:"primary",block:"",onClick:t[0]||(t[0]=a=>d("show1"))},{default:l(()=>[i(s(o(e).basicUsage),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[1]||(t[1]=a=>d("show3"))},{default:l(()=>[i(s(o(e).multiLine),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[2]||(t[2]=a=>d("show2"))},{default:l(()=>[i(s(o(e).bottomDisplay),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[3]||(t[3]=a=>d("show4"))},{default:l(()=>[i(s(o(e).hiddenTime),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[4]||(t[4]=a=>d("show5"))},{default:l(()=>[i(s(o(e).customIcon),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[5]||(t[5]=a=>d("show9"))},{default:l(()=>[i(s(o(e).forbidClick),1)]),_:1})]),_:1}),n(o(C),null,{default:l(()=>[i(s(o(e).functionCall),1)]),_:1}),n(o(S),{direction:"column",size:["3vmin","4vmin"]},{default:l(()=>[n(o(r),{type:"warning",block:"",onClick:t[6]||(t[6]=a=>b())},{default:l(()=>[i(s(o(e).basicUsage),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[7]||(t[7]=a=>b("time"))},{default:l(()=>[i(s(o(e).hiddenTime),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[8]||(t[8]=a=>b("position"))},{default:l(()=>[i(s(o(e).bottomDisplay),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[9]||(t[9]=a=>b("custom"))},{default:l(()=>[i(s(o(e).custom),1)]),_:1})]),_:1}),n(o(C),null,{default:l(()=>[i(s(o(e).type),1)]),_:1}),n(o(S),{direction:"column",size:["3vmin","4vmin"]},{default:l(()=>[n(o(r),{type:"success",block:"",onClick:t[10]||(t[10]=a=>c("success"))},{default:l(()=>[i(s(o(e).success),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[11]||(t[11]=a=>c("warning"))},{default:l(()=>[i(s(o(e).warning),1)]),_:1}),n(o(r),{type:"info",block:"",onClick:t[12]||(t[12]=a=>c("info"))},{default:l(()=>[i(s(o(e).info),1)]),_:1}),n(o(r),{type:"danger",block:"",onClick:t[13]||(t[13]=a=>c("error"))},{default:l(()=>[i(s(o(e).error),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[14]||(t[14]=a=>c("loading"))},{default:l(()=>[i(s(o(e).loading),1)]),_:1})]),_:1}),n(o(C),null,{default:l(()=>[i(s(o(e).multiple),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:T},{default:l(()=>[i(s(o(e).multiple),1)]),_:1}),A("div",O,[n(o(p),{show:o(g),"onUpdate:show":t[15]||(t[15]=a=>f(g)?g.value=a:null)},{default:l(()=>[i(s(o(e).text),1)]),_:1},8,["show"]),n(o(p),{show:o(k),"onUpdate:show":t[17]||(t[17]=a=>f(k)?k.value=a:null),position:"bottom"},{action:l(()=>[n(o(r),{type:"primary",size:"small",onClick:t[16]||(t[16]=a=>k.value=!1)},{default:l(()=>[i(s(o(e).close),1)]),_:1})]),default:l(()=>[i(s(o(e).text)+" ",1)]),_:1},8,["show"]),n(o(p),{show:o(w),"onUpdate:show":t[19]||(t[19]=a=>f(w)?w.value=a:null),vertical:!0},{action:l(()=>[n(o(r),{type:"primary",size:"small",onClick:t[18]||(t[18]=a=>w.value=!1)},{default:l(()=>[i(s(o(e).close),1)]),_:1})]),default:l(()=>[i(s(o(e).text)+" ",1)]),_:1},8,["show"]),n(o(p),{show:o(x),"onUpdate:show":t[20]||(t[20]=a=>f(x)?x.value=a:null),duration:1e3},{default:l(()=>[i(s(o(e).text),1)]),_:1},8,["show"]),n(o(p),{show:o($),"onUpdate:show":t[21]||(t[21]=a=>f($)?$.value=a:null),duration:1e3},{icon:l(()=>[n(o(z),{name:"heart-outline"})]),default:l(()=>[i(s(o(e).text)+" ",1)]),_:1},8,["show"]),n(o(p),{show:o(U),"onUpdate:show":t[22]||(t[22]=a=>f(U)?U.value=a:null),"forbid-click":!0},{default:l(()=>[i(s(o(e).text),1)]),_:1},8,["show"])])],64))}};export{Co as default}; +import{S as m}from"./index-1ed406cf.js";import{B as r}from"./index-1f1d0c91.js";import{S}from"./index-65cffe90.js";import{I as z}from"./index-2c5b74fa.js";import{d as B}from"./index-d8fbf18c.js";import{W as I,aW as L,b5 as M,F as V,al as F,e as R,m as W,q as n,w as l,U as o,p as A,aX as f,N as E,Q as i,R as s,aa as h}from"./index-0bd4ebfc.js";import{u as H,b as D,_ as q,c as Q,a as X}from"./index-4a9c2ae2.js";import{A as C}from"./appType-a8f87391.js";import"./index-1e0bee81.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./lock-e6f4e779.js";import"./index-28dcc9be.js";/* empty css */import"./index-d956da3f.js";import"./index-27fcaf7d.js";const j={functionCall:"函数调用",componentCall:"组件调用",type:"Snackbar 类型",success:"成功",info:"消息",warning:"警告",error:"错误",loading:"加载",text:"这是一个消息条!!",loaded:"加载成功!!",wait:"等待中...",close:"关闭",basicUsage:"基本使用",multiLine:"垂直排列",bottomDisplay:"底部显示",hiddenTime:"显示时长",customIcon:"自定义图标",forbidClick:"禁止穿透点击",multiple:"多例模式",custom:"自定义"},G={functionCall:"Function Call",componentCall:"Component Call",type:"Snackbar Type",success:"Success",warning:"Warning",info:"Info",error:"Error",loading:"Loading",text:"Hello, I'm a snackbar",loaded:"Loaded",wait:"waiting...",close:"Close",basicUsage:"Basic Usage",multiLine:"Multi-Line",bottomDisplay:"Bottom Display",hiddenTime:"Display Duration",customIcon:"Custom Icon",forbidClick:"Forbid Click",multiple:"Multiple",custom:"Custom"},{add:N,use:J,pack:e,packs:wo,merge:bo}=H(),K=v=>{X(v),J(v)};D("zh-CN",q);D("en-US",Q);N("zh-CN",j);N("en-US",G);const O={class:"snackbar-demo"},Co={__name:"index",setup(v){const y=I({show1:!1,show2:!1,show3:!1,show4:!1,show5:!1,show9:!1}),p=m.Component,{show1:g,show2:k,show3:w,show4:x,show5:$,show9:U}=L(y);function d(u){y[u]=!y[u]}function c(u){const t=u==="loading"?e.value.wait:e.value.text,a=m[u](t);u==="loading"&&setTimeout(()=>{a.clear(),m.success(e.value.loaded)},2e3)}function b(u){if(u==="time"&&m({content:e.value.text,duration:1e3}),u==="position"&&m({content:e.value.text,position:"bottom"}),u==="custom"){const t=m({content:"Hello, Varlet",icon:()=>h(z,{name:"heart",style:{paddingRight:"12px"}}),action:()=>h(r,{size:"small",type:"primary",onClick:()=>t.clear()},{default:()=>e.value.close})})}u||m(e.value.text)}function T(){m.allowMultiple(!0);const u=m("Snackbar 1");m.success("Snackbar 2"),setTimeout(()=>{u.clear()},1e3)}return M(()=>{m.allowMultiple(!1)}),V(K),F(B),(u,t)=>(R(),W(E,null,[n(o(C),null,{default:l(()=>[i(s(o(e).componentCall),1)]),_:1}),n(o(S),{direction:"column",size:["3vmin","4vmin"]},{default:l(()=>[n(o(r),{type:"primary",block:"",onClick:t[0]||(t[0]=a=>d("show1"))},{default:l(()=>[i(s(o(e).basicUsage),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[1]||(t[1]=a=>d("show3"))},{default:l(()=>[i(s(o(e).multiLine),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[2]||(t[2]=a=>d("show2"))},{default:l(()=>[i(s(o(e).bottomDisplay),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[3]||(t[3]=a=>d("show4"))},{default:l(()=>[i(s(o(e).hiddenTime),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[4]||(t[4]=a=>d("show5"))},{default:l(()=>[i(s(o(e).customIcon),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[5]||(t[5]=a=>d("show9"))},{default:l(()=>[i(s(o(e).forbidClick),1)]),_:1})]),_:1}),n(o(C),null,{default:l(()=>[i(s(o(e).functionCall),1)]),_:1}),n(o(S),{direction:"column",size:["3vmin","4vmin"]},{default:l(()=>[n(o(r),{type:"warning",block:"",onClick:t[6]||(t[6]=a=>b())},{default:l(()=>[i(s(o(e).basicUsage),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[7]||(t[7]=a=>b("time"))},{default:l(()=>[i(s(o(e).hiddenTime),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[8]||(t[8]=a=>b("position"))},{default:l(()=>[i(s(o(e).bottomDisplay),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[9]||(t[9]=a=>b("custom"))},{default:l(()=>[i(s(o(e).custom),1)]),_:1})]),_:1}),n(o(C),null,{default:l(()=>[i(s(o(e).type),1)]),_:1}),n(o(S),{direction:"column",size:["3vmin","4vmin"]},{default:l(()=>[n(o(r),{type:"success",block:"",onClick:t[10]||(t[10]=a=>c("success"))},{default:l(()=>[i(s(o(e).success),1)]),_:1}),n(o(r),{type:"warning",block:"",onClick:t[11]||(t[11]=a=>c("warning"))},{default:l(()=>[i(s(o(e).warning),1)]),_:1}),n(o(r),{type:"info",block:"",onClick:t[12]||(t[12]=a=>c("info"))},{default:l(()=>[i(s(o(e).info),1)]),_:1}),n(o(r),{type:"danger",block:"",onClick:t[13]||(t[13]=a=>c("error"))},{default:l(()=>[i(s(o(e).error),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:t[14]||(t[14]=a=>c("loading"))},{default:l(()=>[i(s(o(e).loading),1)]),_:1})]),_:1}),n(o(C),null,{default:l(()=>[i(s(o(e).multiple),1)]),_:1}),n(o(r),{type:"primary",block:"",onClick:T},{default:l(()=>[i(s(o(e).multiple),1)]),_:1}),A("div",O,[n(o(p),{show:o(g),"onUpdate:show":t[15]||(t[15]=a=>f(g)?g.value=a:null)},{default:l(()=>[i(s(o(e).text),1)]),_:1},8,["show"]),n(o(p),{show:o(k),"onUpdate:show":t[17]||(t[17]=a=>f(k)?k.value=a:null),position:"bottom"},{action:l(()=>[n(o(r),{type:"primary",size:"small",onClick:t[16]||(t[16]=a=>k.value=!1)},{default:l(()=>[i(s(o(e).close),1)]),_:1})]),default:l(()=>[i(s(o(e).text)+" ",1)]),_:1},8,["show"]),n(o(p),{show:o(w),"onUpdate:show":t[19]||(t[19]=a=>f(w)?w.value=a:null),vertical:!0},{action:l(()=>[n(o(r),{type:"primary",size:"small",onClick:t[18]||(t[18]=a=>w.value=!1)},{default:l(()=>[i(s(o(e).close),1)]),_:1})]),default:l(()=>[i(s(o(e).text)+" ",1)]),_:1},8,["show"]),n(o(p),{show:o(x),"onUpdate:show":t[20]||(t[20]=a=>f(x)?x.value=a:null),duration:1e3},{default:l(()=>[i(s(o(e).text),1)]),_:1},8,["show"]),n(o(p),{show:o($),"onUpdate:show":t[21]||(t[21]=a=>f($)?$.value=a:null),duration:1e3},{icon:l(()=>[n(o(z),{name:"heart-outline"})]),default:l(()=>[i(s(o(e).text)+" ",1)]),_:1},8,["show"]),n(o(p),{show:o(U),"onUpdate:show":t[22]||(t[22]=a=>f(U)?U.value=a:null),"forbid-click":!0},{default:l(()=>[i(s(o(e).text),1)]),_:1},8,["show"])])],64))}};export{Co as default}; diff --git a/assets/index-6f612481.js b/assets/index-a669e219.js similarity index 85% rename from assets/index-6f612481.js rename to assets/index-a669e219.js index ecde1e5c920..ac5f49ffa0d 100644 --- a/assets/index-6f612481.js +++ b/assets/index-a669e219.js @@ -1 +1 @@ -import{P as r}from"./index-d24e7e49.js";import{B as i}from"./index-84d96475.js";import{S}from"./index-90c41552.js";import{S as P}from"./index-0ad054ca.js";import{_ as U,W as $,aW as N,F as z,al as B,e as O,m as A,q as l,w as s,U as e,aX as u,N as R,Q as n,R as a,p as d}from"./index-af5fec45.js";import{d as L}from"./index-d8fbf18c.js";import{u as V,b as g,_ as D,c as E,a as F}from"./index-2b61c8d0.js";import{A as x}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./lock-7a098446.js";import"./index-e95cf05b.js";import"./zIndex-a2732bb2.js";import"./provide-c3581da5.js";/* empty css */import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";const H={popupPosition:"弹出位置",centerPopup:"居中弹出",belowPopup:"下方弹出",abovePopup:"上方弹出",leftPopup:"左侧弹出",rightPopup:"右侧弹出",overlayStyle:"遮罩层样式",overlayClass:"遮罩层class",overlayStyles:"遮罩层style",event:"注册事件",text:"素胚勾勒出青花笔锋浓转淡, 瓶身描绘的牡丹一如你初妆, 冉冉檀香透过窗心事我了然, 宣纸上走笔至此搁一半。"},I={popupPosition:"Popup Position",centerPopup:"Center Popup",belowPopup:"Below Popup",abovePopup:"Above Popup",leftPopup:"Left Popup",rightPopup:"Right Popup",overlayStyle:"Overlay Style",overlayClass:"Overlay Class",overlayStyles:"Overlay Styles",event:"Event",text:"As he came into the window. It was the sound of a crescendo. He came into her apartment. He left the bloodstains on the carpet."},{add:c,use:T,pack:p,packs:Ce,merge:xe}=V(),W=C=>{F(C),T(C)};g("zh-CN",D);g("en-US",E);c("zh-CN",H);c("en-US",I);const q={class:"block"},M={class:"block"},Q={class:"block"},X={class:"block"},j={class:"block"},G={class:"block"},J={class:"block"},K={class:"block"},Y={__name:"index",setup(C){const h=$({center:!1,top:!1,bottom:!1,left:!1,right:!1,overlayClass:!1,overlayStyle:!1,event:!1}),{center:v,top:m,bottom:y,left:f,right:w,overlayClass:b,overlayStyle:k,event:_}=N(h);return z(W),B(L),(Z,o)=>(O(),A(R,null,[l(e(x),null,{default:s(()=>[n(a(e(p).popupPosition),1)]),_:1}),l(e(S),{direction:"column",size:["3vmin","4vmin"]},{default:s(()=>[l(e(i),{type:"primary",block:"",onClick:o[0]||(o[0]=t=>v.value=!0)},{default:s(()=>[n(a(e(p).centerPopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[1]||(o[1]=t=>y.value=!0)},{default:s(()=>[n(a(e(p).belowPopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[2]||(o[2]=t=>m.value=!0)},{default:s(()=>[n(a(e(p).abovePopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[3]||(o[3]=t=>f.value=!0)},{default:s(()=>[n(a(e(p).leftPopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[4]||(o[4]=t=>w.value=!0)},{default:s(()=>[n(a(e(p).rightPopup),1)]),_:1})]),_:1}),l(e(r),{show:e(v),"onUpdate:show":o[5]||(o[5]=t=>u(v)?v.value=t:null)},{default:s(()=>[d("div",q,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"bottom",show:e(y),"onUpdate:show":o[6]||(o[6]=t=>u(y)?y.value=t:null)},{default:s(()=>[d("div",M,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"top",show:e(m),"onUpdate:show":o[7]||(o[7]=t=>u(m)?m.value=t:null)},{default:s(()=>[d("div",Q,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"left",show:e(f),"onUpdate:show":o[8]||(o[8]=t=>u(f)?f.value=t:null)},{default:s(()=>[d("div",X,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"right",show:e(w),"onUpdate:show":o[9]||(o[9]=t=>u(w)?w.value=t:null)},{default:s(()=>[d("div",j,a(e(p).text),1)]),_:1},8,["show"]),l(e(x),null,{default:s(()=>[n(a(e(p).overlayStyle),1)]),_:1}),l(e(S),{direction:"column",size:["3vmin","4vmin"]},{default:s(()=>[l(e(i),{type:"primary",block:"",onClick:o[10]||(o[10]=t=>b.value=!0)},{default:s(()=>[n(a(e(p).overlayClass),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[11]||(o[11]=t=>k.value=!0)},{default:s(()=>[n(a(e(p).overlayStyles),1)]),_:1})]),_:1}),l(e(r),{"overlay-class":"custom-overlay",show:e(b),"onUpdate:show":o[12]||(o[12]=t=>u(b)?b.value=t:null)},{default:s(()=>[d("div",G,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{"overlay-style":{backgroundColor:"rgba(0, 0, 0, 0.3)"},show:e(k),"onUpdate:show":o[13]||(o[13]=t=>u(k)?k.value=t:null)},{default:s(()=>[d("div",J,a(e(p).text),1)]),_:1},8,["overlay-style","show"]),l(e(x),null,{default:s(()=>[n(a(e(p).event),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[14]||(o[14]=t=>_.value=!0)},{default:s(()=>[n(a(e(p).event),1)]),_:1}),l(e(r),{show:e(_),"onUpdate:show":o[15]||(o[15]=t=>u(_)?_.value=t:null),onOpen:o[16]||(o[16]=()=>e(P).info("open")),onOpened:o[17]||(o[17]=()=>e(P).success("opened")),onClose:o[18]||(o[18]=()=>e(P).warning("close")),onClosed:o[19]||(o[19]=()=>e(P).error("closed"))},{default:s(()=>[d("div",K,a(e(p).text),1)]),_:1},8,["show"])],64))}},Se=U(Y,[["__scopeId","data-v-50d66bee"]]);export{Se as default}; +import{P as r}from"./index-0e439e92.js";import{B as i}from"./index-1f1d0c91.js";import{S}from"./index-65cffe90.js";import{S as P}from"./index-1ed406cf.js";import{_ as U,W as $,aW as N,F as z,al as B,e as O,m as A,q as l,w as s,U as e,aX as u,N as R,Q as n,R as a,p as d}from"./index-0bd4ebfc.js";import{d as L}from"./index-d8fbf18c.js";import{u as V,b as g,_ as D,c as E,a as F}from"./index-4a9c2ae2.js";import{A as x}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./lock-e6f4e779.js";import"./index-9eb15296.js";import"./zIndex-976ced0e.js";import"./provide-f823f5cd.js";/* empty css */import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";const H={popupPosition:"弹出位置",centerPopup:"居中弹出",belowPopup:"下方弹出",abovePopup:"上方弹出",leftPopup:"左侧弹出",rightPopup:"右侧弹出",overlayStyle:"遮罩层样式",overlayClass:"遮罩层class",overlayStyles:"遮罩层style",event:"注册事件",text:"素胚勾勒出青花笔锋浓转淡, 瓶身描绘的牡丹一如你初妆, 冉冉檀香透过窗心事我了然, 宣纸上走笔至此搁一半。"},I={popupPosition:"Popup Position",centerPopup:"Center Popup",belowPopup:"Below Popup",abovePopup:"Above Popup",leftPopup:"Left Popup",rightPopup:"Right Popup",overlayStyle:"Overlay Style",overlayClass:"Overlay Class",overlayStyles:"Overlay Styles",event:"Event",text:"As he came into the window. It was the sound of a crescendo. He came into her apartment. He left the bloodstains on the carpet."},{add:c,use:T,pack:p,packs:Ce,merge:xe}=V(),W=C=>{F(C),T(C)};g("zh-CN",D);g("en-US",E);c("zh-CN",H);c("en-US",I);const q={class:"block"},M={class:"block"},Q={class:"block"},X={class:"block"},j={class:"block"},G={class:"block"},J={class:"block"},K={class:"block"},Y={__name:"index",setup(C){const h=$({center:!1,top:!1,bottom:!1,left:!1,right:!1,overlayClass:!1,overlayStyle:!1,event:!1}),{center:v,top:m,bottom:y,left:f,right:w,overlayClass:b,overlayStyle:k,event:_}=N(h);return z(W),B(L),(Z,o)=>(O(),A(R,null,[l(e(x),null,{default:s(()=>[n(a(e(p).popupPosition),1)]),_:1}),l(e(S),{direction:"column",size:["3vmin","4vmin"]},{default:s(()=>[l(e(i),{type:"primary",block:"",onClick:o[0]||(o[0]=t=>v.value=!0)},{default:s(()=>[n(a(e(p).centerPopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[1]||(o[1]=t=>y.value=!0)},{default:s(()=>[n(a(e(p).belowPopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[2]||(o[2]=t=>m.value=!0)},{default:s(()=>[n(a(e(p).abovePopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[3]||(o[3]=t=>f.value=!0)},{default:s(()=>[n(a(e(p).leftPopup),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[4]||(o[4]=t=>w.value=!0)},{default:s(()=>[n(a(e(p).rightPopup),1)]),_:1})]),_:1}),l(e(r),{show:e(v),"onUpdate:show":o[5]||(o[5]=t=>u(v)?v.value=t:null)},{default:s(()=>[d("div",q,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"bottom",show:e(y),"onUpdate:show":o[6]||(o[6]=t=>u(y)?y.value=t:null)},{default:s(()=>[d("div",M,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"top",show:e(m),"onUpdate:show":o[7]||(o[7]=t=>u(m)?m.value=t:null)},{default:s(()=>[d("div",Q,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"left",show:e(f),"onUpdate:show":o[8]||(o[8]=t=>u(f)?f.value=t:null)},{default:s(()=>[d("div",X,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{position:"right",show:e(w),"onUpdate:show":o[9]||(o[9]=t=>u(w)?w.value=t:null)},{default:s(()=>[d("div",j,a(e(p).text),1)]),_:1},8,["show"]),l(e(x),null,{default:s(()=>[n(a(e(p).overlayStyle),1)]),_:1}),l(e(S),{direction:"column",size:["3vmin","4vmin"]},{default:s(()=>[l(e(i),{type:"primary",block:"",onClick:o[10]||(o[10]=t=>b.value=!0)},{default:s(()=>[n(a(e(p).overlayClass),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[11]||(o[11]=t=>k.value=!0)},{default:s(()=>[n(a(e(p).overlayStyles),1)]),_:1})]),_:1}),l(e(r),{"overlay-class":"custom-overlay",show:e(b),"onUpdate:show":o[12]||(o[12]=t=>u(b)?b.value=t:null)},{default:s(()=>[d("div",G,a(e(p).text),1)]),_:1},8,["show"]),l(e(r),{"overlay-style":{backgroundColor:"rgba(0, 0, 0, 0.3)"},show:e(k),"onUpdate:show":o[13]||(o[13]=t=>u(k)?k.value=t:null)},{default:s(()=>[d("div",J,a(e(p).text),1)]),_:1},8,["overlay-style","show"]),l(e(x),null,{default:s(()=>[n(a(e(p).event),1)]),_:1}),l(e(i),{type:"primary",block:"",onClick:o[14]||(o[14]=t=>_.value=!0)},{default:s(()=>[n(a(e(p).event),1)]),_:1}),l(e(r),{show:e(_),"onUpdate:show":o[15]||(o[15]=t=>u(_)?_.value=t:null),onOpen:o[16]||(o[16]=()=>e(P).info("open")),onOpened:o[17]||(o[17]=()=>e(P).success("opened")),onClose:o[18]||(o[18]=()=>e(P).warning("close")),onClosed:o[19]||(o[19]=()=>e(P).error("closed"))},{default:s(()=>[d("div",K,a(e(p).text),1)]),_:1},8,["show"])],64))}},Se=U(Y,[["__scopeId","data-v-50d66bee"]]);export{Se as default}; diff --git a/assets/index-6eedc20f.js b/assets/index-aa14e311.js similarity index 86% rename from assets/index-6eedc20f.js rename to assets/index-aa14e311.js index 5c051e45b53..7f2448e0ddd 100644 --- a/assets/index-6eedc20f.js +++ b/assets/index-aa14e311.js @@ -1 +1 @@ -import{p as r,I as c}from"./index-057aa4ba.js";import{d as v,D as f,a4 as t,_ as g,b as $,e as n,m as l,v as p,q as y,w as b,P as h,p as B,as as S,f as k,x as o,t as i,R as N,Y as w,T as V}from"./index-af5fec45.js";import{p as m,c as C,w as I}from"./components-3ae053cb.js";const D={type:{type:String,default:"default"},position:{type:String,default:"right-top"},hidden:Boolean,value:{type:[String,Number],default:0},maxValue:[String,Number],dot:Boolean,icon:m(r,"name"),namespace:m(r,"namespace"),color:String},{name:P,n:T,classes:q}=C("badge"),z=v({name:P,components:{VarIcon:c},inheritAttrs:!1,props:D,setup(e){return{value:f(()=>{const{value:a,maxValue:s}=e;return a!=null&&s!=null&&t(a)>t(s)?`${s}+`:a}),n:T,classes:q}}});function A(e,u,a,s,R,Y){const d=$("var-icon");return n(),l("div",{class:o(e.classes(e.n(),e.n("$--box")))},[p(e.$slots,"default"),y(V,{name:e.n("$-badge-fade")},{default:b(()=>[h(B("span",S({class:e.classes(e.n("content"),e.n(`--${e.type}`),[e.$slots.default,e.n(`--${e.position}`)],[e.dot,e.n("--dot")],[e.icon,e.n("--icon")]),style:{background:e.color}},e.$attrs),[e.icon?(n(),k(d,{key:0,class:o(e.n("icon")),"var-badge-cover":"",name:e.icon,namespace:e.namespace},null,8,["class","name","namespace"])):i("",!0),p(e.$slots,"value",{},()=>[!e.icon&&!e.dot?(n(),l("span",{key:0,class:o(e.n("value"))},N(e.value),3)):i("",!0)])],16),[[w,!e.hidden]])]),_:3},8,["name"])],2)}const E=g(z,[["render",A]]);I(E);export{E as B}; +import{p as r,I as c}from"./index-2c5b74fa.js";import{d as v,D as f,a4 as t,_ as g,b as $,e as n,m as l,v as p,q as y,w as b,P as h,p as B,as as S,f as k,x as o,t as i,R as N,Y as w,T as V}from"./index-0bd4ebfc.js";import{p as m,c as C,w as I}from"./components-a5332e66.js";const D={type:{type:String,default:"default"},position:{type:String,default:"right-top"},hidden:Boolean,value:{type:[String,Number],default:0},maxValue:[String,Number],dot:Boolean,icon:m(r,"name"),namespace:m(r,"namespace"),color:String},{name:P,n:T,classes:q}=C("badge"),z=v({name:P,components:{VarIcon:c},inheritAttrs:!1,props:D,setup(e){return{value:f(()=>{const{value:a,maxValue:s}=e;return a!=null&&s!=null&&t(a)>t(s)?`${s}+`:a}),n:T,classes:q}}});function A(e,u,a,s,R,Y){const d=$("var-icon");return n(),l("div",{class:o(e.classes(e.n(),e.n("$--box")))},[p(e.$slots,"default"),y(V,{name:e.n("$-badge-fade")},{default:b(()=>[h(B("span",S({class:e.classes(e.n("content"),e.n(`--${e.type}`),[e.$slots.default,e.n(`--${e.position}`)],[e.dot,e.n("--dot")],[e.icon,e.n("--icon")]),style:{background:e.color}},e.$attrs),[e.icon?(n(),k(d,{key:0,class:o(e.n("icon")),"var-badge-cover":"",name:e.icon,namespace:e.namespace},null,8,["class","name","namespace"])):i("",!0),p(e.$slots,"value",{},()=>[!e.icon&&!e.dot?(n(),l("span",{key:0,class:o(e.n("value"))},N(e.value),3)):i("",!0)])],16),[[w,!e.hidden]])]),_:3},8,["name"])],2)}const E=g(z,[["render",A]]);I(E);export{E as B}; diff --git a/assets/index-aa6a03ef.js b/assets/index-aa6a03ef.js deleted file mode 100644 index 97674c00a4b..00000000000 --- a/assets/index-aa6a03ef.js +++ /dev/null @@ -1 +0,0 @@ -import{T as o}from"./index-d250de60.js";import{d as r}from"./index-d8fbf18c.js";import{d as m,al as e,_ as p,b as s,e as a,f as i}from"./index-af5fec45.js";import"./index-d408e6ab.js";import"./index-84d96475.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./provide-521cd214.js";import"./provide-c3581da5.js";import"./provide-0e472439.js";const n=m({name:"TabsItemsExample",components:{VarTabsItems:o},setup(){e(r)}});function c(_,d,f,b,l,u){const t=s("var-tabs-items");return a(),i(t)}const z=p(n,[["render",c]]);export{z as default}; diff --git a/assets/index-4990fecf.js b/assets/index-ac0323f3.js similarity index 91% rename from assets/index-4990fecf.js rename to assets/index-ac0323f3.js index dbea946a67a..3d927f070b0 100644 --- a/assets/index-4990fecf.js +++ b/assets/index-ac0323f3.js @@ -1 +1 @@ -import{d as _,_ as C,e as f,m as v,p as m,a4 as U,x as $,y as k,N,D as B,v as h,f as D,an as E,t as z,R as l,r as b,F as I,al as R,q as o,w as n,U as s,Q as u}from"./index-af5fec45.js";import{c as H,w as T}from"./components-3ae053cb.js";import{a as V,t as W}from"./elements-68ad626b.js";import{B as d}from"./index-84d96475.js";import{P as L}from"./index-d24e7e49.js";import{S as Z}from"./index-90c41552.js";import{d as P}from"./index-d8fbf18c.js";import{u as Q,b as A,_ as F,c as G,a as K}from"./index-2b61c8d0.js";import{A as M}from"./appType-53211ea9.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./lock-7a098446.js";import"./zIndex-a2732bb2.js";import"./provide-c3581da5.js";const O=_({}),j={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 3.6 20 20"},J=m("path",{d:"M11,9H13V7H11M11,20H13V11H11V20Z"},null,-1),X=[J];function Y(e,c,p,a,y,g){return f(),v("svg",j,X)}const x=C(O,[["render",Y]]),ee=_({}),se={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 20 20"},te=m("path",{d:"M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"},null,-1),oe=[te];function ne(e,c,p,a,y,g){return f(),v("svg",se,oe)}const re=C(ee,[["render",ne]]),ie=_({}),le={xmlns:"http://www.w3.org/2000/svg",viewBox:"-6 -4 35 35"},ae=m("path",{d:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11"},null,-1),ue=[ae];function ce(e,c,p,a,y,g){return f(),v("svg",le,ue)}const pe=C(ie,[["render",ce]]),{n:de,classes:fe}=H("result"),me=_({props:{animation:{type:Boolean},borderSize:{type:String}},setup(){return{n:de,classes:fe,toNumber:U}}});function $e(e,c,p,a,y,g){return f(),v(N,null,[m("span",{class:$(e.n("success-cover-left"))},null,2),m("span",{class:$(e.classes(e.n("success-line"),e.n("success-line-tip"))),style:k({animationDuration:e.animation?"760ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),m("span",{class:$(e.classes(e.n("success-line"),e.n("success-line-long"))),style:k({animationDuration:e.animation?"770ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),m("span",{ref:"circle",class:$(e.n("success-circle")),style:k({left:`-${e.borderSize}`,top:`-${e.borderSize}`,borderWidth:e.borderSize})},null,6),m("span",{class:$(e.n("success-line-fix"))},null,2),m("span",{class:$(e.n("success-cover-right")),style:k({animationDuration:e.animation?"4250ms":"0ms"})},null,6)],64)}const ve=C(me,[["render",$e]]),ye=_({}),ge={xmlns:"http://www.w3.org/2000/svg",viewBox:"-3 -3 30 30"},we=m("path",{d:"M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"},null,-1),Ce=[we];function _e(e,c,p,a,y,g){return f(),v("svg",ge,Ce)}const be=C(ye,[["render",_e]]),Le=_({}),ke={viewBox:"-4 -4 32 32"},Se=m("path",{fill:"currentColor",d:"M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"},null,-1),he=[Se];function ze(e,c,p,a,y,g){return f(),v("svg",ke,he)}const Ve=C(Le,[["render",ze]]),Be={imageSize:[String,Number],type:{type:String,default:"success"},title:String,description:String,animation:{type:Boolean,default:!0}},{name:Me,n:Ue,classes:Ne}=H("result"),He=_({name:Me,components:{Info:x,Success:ve,Warning:pe,Error:re,Question:be,Empty:Ve},props:Be,setup(e){const c=B(()=>{const{imageSize:a}=e;return`calc(${a?V(a):"var(--result-image-size)"} * 0.9)`}),p=B(()=>{const{imageSize:a}=e;return`calc(${a?V(e.imageSize):"var(--result-image-size)"} * 0.05)`});return{circleSize:c,borderSize:p,toSizeUnit:V,n:Ue,classes:Ne,toNumber:U,toPxNum:W}}});function Ae(e,c,p,a,y,g){return f(),v("div",{class:$(e.classes(e.n(),e.n("$--box")))},[h(e.$slots,"image",{},()=>[e.type?(f(),v("div",{key:0,class:$(e.n("image-container"))},[m("div",{class:$(e.classes(e.n("image"),e.n(e.type))),style:k({width:e.circleSize,height:e.circleSize,borderWidth:e.borderSize})},[(f(),D(E(e.type),{"border-size":e.borderSize,animation:e.animation},null,8,["border-size","animation"]))],6)],2)):z("",!0)]),h(e.$slots,"title",{},()=>[e.title?(f(),v("div",{key:0,class:$(e.n("title"))},l(e.title),3)):z("",!0)]),h(e.$slots,"description",{},()=>[e.description?(f(),v("div",{key:0,class:$(e.n("description"))},l(e.description),3)):z("",!0)]),e.$slots.footer?(f(),v("div",{key:0,class:$(e.n("footer"))},[h(e.$slots,"footer")],2)):z("",!0)],2)}const w=C(He,[["render",Ae]]);T(w);const qe={basicUsage:"基本使用",success:"成功",info:"信息",warning:"警告",error:"错误",question:"疑问",empty:"空值",type:"类型",button:"知道了",description:"嗨~ 我是结果页的一段描述~",changeBackgroundColor:"修改背景色"},De={basicUsage:"Basic Usage",success:"Success",info:"Info",warning:"Warning",error:"Error",question:"Question",empty:"Empty",type:"Type",button:"OK",successTitle:"Success",description:"Hi, I'm a result description.",changeBackgroundColor:"Change BackGround Color"},{add:q,use:Ee,pack:r,packs:is,merge:ls}=Q(),Ie=e=>{K(e),Ee(e)};A("zh-CN",F);A("en-US",G);q("zh-CN",qe);q("en-US",De);const Re={__name:"index",setup(e){const c=b(!1),p=b(!1),a=b(!1),y=b(!1),g=b(!1),S=b(!1);return I(Ie),R(P),(Te,t)=>(f(),v(N,null,[o(s(M),null,{default:n(()=>[u(l(s(r).basicUsage),1)]),_:1}),o(s(w),{title:s(r).success,description:s(r).description},{footer:n(()=>[o(s(d),{type:"success",onClick:t[0]||(t[0]=i=>c.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"]),o(s(M),null,{default:n(()=>[u(l(s(r).type),1)]),_:1}),o(s(Z),{direction:"column",size:"large"},{default:n(()=>[o(s(d),{type:"success",block:"",onClick:t[1]||(t[1]=i=>c.value=!0)},{default:n(()=>[u(l(s(r).success),1)]),_:1}),o(s(d),{type:"warning",block:"",onClick:t[2]||(t[2]=i=>y.value=!0)},{default:n(()=>[u(l(s(r).warning),1)]),_:1}),o(s(d),{type:"info",block:"",onClick:t[3]||(t[3]=i=>a.value=!0)},{default:n(()=>[u(l(s(r).info),1)]),_:1}),o(s(d),{type:"danger",block:"",onClick:t[4]||(t[4]=i=>p.value=!0)},{default:n(()=>[u(l(s(r).error),1)]),_:1}),o(s(d),{color:"var(--result-question-color)","text-color":"#fff",block:"",onClick:t[5]||(t[5]=i=>g.value=!0)},{default:n(()=>[u(l(s(r).question),1)]),_:1}),o(s(d),{color:"var(--result-empty-color)","text-color":"#fff",block:"",onClick:t[6]||(t[6]=i=>S.value=!0)},{default:n(()=>[u(l(s(r).empty),1)]),_:1})]),_:1}),o(s(L),{"default-style":!1,show:c.value,"onUpdate:show":t[8]||(t[8]=i=>c.value=i)},{default:n(()=>[o(s(w),{class:"result",title:s(r).success,description:s(r).description},{footer:n(()=>[o(s(d),{type:"success",onClick:t[7]||(t[7]=i=>c.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:p.value,"onUpdate:show":t[10]||(t[10]=i=>p.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"error",title:s(r).error,description:s(r).description},{footer:n(()=>[o(s(d),{type:"danger",onClick:t[9]||(t[9]=i=>p.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:y.value,"onUpdate:show":t[12]||(t[12]=i=>y.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"warning",title:s(r).warning,description:s(r).description},{footer:n(()=>[o(s(d),{type:"warning",onClick:t[11]||(t[11]=i=>y.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:a.value,"onUpdate:show":t[14]||(t[14]=i=>a.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"info",title:s(r).info,description:s(r).description},{footer:n(()=>[o(s(d),{type:"info",onClick:t[13]||(t[13]=i=>a.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:g.value,"onUpdate:show":t[16]||(t[16]=i=>g.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"question",title:s(r).question,description:s(r).description},{footer:n(()=>[o(s(d),{color:"var(--result-question-color)","text-color":"#fff",onClick:t[15]||(t[15]=i=>g.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:S.value,"onUpdate:show":t[18]||(t[18]=i=>S.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"empty",title:s(r).empty,description:s(r).description},{footer:n(()=>[o(s(d),{color:"var(--result-empty-color)","text-color":"#fff",onClick:t[17]||(t[17]=i=>S.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"])],64))}},as=C(Re,[["__scopeId","data-v-ca04b777"]]);export{as as default}; +import{d as _,_ as C,e as f,m as v,p as m,a4 as U,x as $,y as k,N,D as B,v as h,f as D,an as E,t as z,R as l,r as b,F as I,al as R,q as o,w as n,U as s,Q as u}from"./index-0bd4ebfc.js";import{c as H,w as T}from"./components-a5332e66.js";import{a as V,t as W}from"./elements-23c82371.js";import{B as d}from"./index-1f1d0c91.js";import{P as L}from"./index-0e439e92.js";import{S as Z}from"./index-65cffe90.js";import{d as P}from"./index-d8fbf18c.js";import{u as Q,b as A,_ as F,c as G,a as K}from"./index-4a9c2ae2.js";import{A as M}from"./appType-a8f87391.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./lock-e6f4e779.js";import"./zIndex-976ced0e.js";import"./provide-f823f5cd.js";const O=_({}),j={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 3.6 20 20"},J=m("path",{d:"M11,9H13V7H11M11,20H13V11H11V20Z"},null,-1),X=[J];function Y(e,c,p,a,y,g){return f(),v("svg",j,X)}const x=C(O,[["render",Y]]),ee=_({}),se={xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 20 20"},te=m("path",{d:"M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"},null,-1),oe=[te];function ne(e,c,p,a,y,g){return f(),v("svg",se,oe)}const re=C(ee,[["render",ne]]),ie=_({}),le={xmlns:"http://www.w3.org/2000/svg",viewBox:"-6 -4 35 35"},ae=m("path",{d:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11"},null,-1),ue=[ae];function ce(e,c,p,a,y,g){return f(),v("svg",le,ue)}const pe=C(ie,[["render",ce]]),{n:de,classes:fe}=H("result"),me=_({props:{animation:{type:Boolean},borderSize:{type:String}},setup(){return{n:de,classes:fe,toNumber:U}}});function $e(e,c,p,a,y,g){return f(),v(N,null,[m("span",{class:$(e.n("success-cover-left"))},null,2),m("span",{class:$(e.classes(e.n("success-line"),e.n("success-line-tip"))),style:k({animationDuration:e.animation?"760ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),m("span",{class:$(e.classes(e.n("success-line"),e.n("success-line-long"))),style:k({animationDuration:e.animation?"770ms":"0ms",borderRadius:`calc(${e.borderSize} * 0.625)`})},null,6),m("span",{ref:"circle",class:$(e.n("success-circle")),style:k({left:`-${e.borderSize}`,top:`-${e.borderSize}`,borderWidth:e.borderSize})},null,6),m("span",{class:$(e.n("success-line-fix"))},null,2),m("span",{class:$(e.n("success-cover-right")),style:k({animationDuration:e.animation?"4250ms":"0ms"})},null,6)],64)}const ve=C(me,[["render",$e]]),ye=_({}),ge={xmlns:"http://www.w3.org/2000/svg",viewBox:"-3 -3 30 30"},we=m("path",{d:"M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"},null,-1),Ce=[we];function _e(e,c,p,a,y,g){return f(),v("svg",ge,Ce)}const be=C(ye,[["render",_e]]),Le=_({}),ke={viewBox:"-4 -4 32 32"},Se=m("path",{fill:"currentColor",d:"M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"},null,-1),he=[Se];function ze(e,c,p,a,y,g){return f(),v("svg",ke,he)}const Ve=C(Le,[["render",ze]]),Be={imageSize:[String,Number],type:{type:String,default:"success"},title:String,description:String,animation:{type:Boolean,default:!0}},{name:Me,n:Ue,classes:Ne}=H("result"),He=_({name:Me,components:{Info:x,Success:ve,Warning:pe,Error:re,Question:be,Empty:Ve},props:Be,setup(e){const c=B(()=>{const{imageSize:a}=e;return`calc(${a?V(a):"var(--result-image-size)"} * 0.9)`}),p=B(()=>{const{imageSize:a}=e;return`calc(${a?V(e.imageSize):"var(--result-image-size)"} * 0.05)`});return{circleSize:c,borderSize:p,toSizeUnit:V,n:Ue,classes:Ne,toNumber:U,toPxNum:W}}});function Ae(e,c,p,a,y,g){return f(),v("div",{class:$(e.classes(e.n(),e.n("$--box")))},[h(e.$slots,"image",{},()=>[e.type?(f(),v("div",{key:0,class:$(e.n("image-container"))},[m("div",{class:$(e.classes(e.n("image"),e.n(e.type))),style:k({width:e.circleSize,height:e.circleSize,borderWidth:e.borderSize})},[(f(),D(E(e.type),{"border-size":e.borderSize,animation:e.animation},null,8,["border-size","animation"]))],6)],2)):z("",!0)]),h(e.$slots,"title",{},()=>[e.title?(f(),v("div",{key:0,class:$(e.n("title"))},l(e.title),3)):z("",!0)]),h(e.$slots,"description",{},()=>[e.description?(f(),v("div",{key:0,class:$(e.n("description"))},l(e.description),3)):z("",!0)]),e.$slots.footer?(f(),v("div",{key:0,class:$(e.n("footer"))},[h(e.$slots,"footer")],2)):z("",!0)],2)}const w=C(He,[["render",Ae]]);T(w);const qe={basicUsage:"基本使用",success:"成功",info:"信息",warning:"警告",error:"错误",question:"疑问",empty:"空值",type:"类型",button:"知道了",description:"嗨~ 我是结果页的一段描述~",changeBackgroundColor:"修改背景色"},De={basicUsage:"Basic Usage",success:"Success",info:"Info",warning:"Warning",error:"Error",question:"Question",empty:"Empty",type:"Type",button:"OK",successTitle:"Success",description:"Hi, I'm a result description.",changeBackgroundColor:"Change BackGround Color"},{add:q,use:Ee,pack:r,packs:is,merge:ls}=Q(),Ie=e=>{K(e),Ee(e)};A("zh-CN",F);A("en-US",G);q("zh-CN",qe);q("en-US",De);const Re={__name:"index",setup(e){const c=b(!1),p=b(!1),a=b(!1),y=b(!1),g=b(!1),S=b(!1);return I(Ie),R(P),(Te,t)=>(f(),v(N,null,[o(s(M),null,{default:n(()=>[u(l(s(r).basicUsage),1)]),_:1}),o(s(w),{title:s(r).success,description:s(r).description},{footer:n(()=>[o(s(d),{type:"success",onClick:t[0]||(t[0]=i=>c.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"]),o(s(M),null,{default:n(()=>[u(l(s(r).type),1)]),_:1}),o(s(Z),{direction:"column",size:"large"},{default:n(()=>[o(s(d),{type:"success",block:"",onClick:t[1]||(t[1]=i=>c.value=!0)},{default:n(()=>[u(l(s(r).success),1)]),_:1}),o(s(d),{type:"warning",block:"",onClick:t[2]||(t[2]=i=>y.value=!0)},{default:n(()=>[u(l(s(r).warning),1)]),_:1}),o(s(d),{type:"info",block:"",onClick:t[3]||(t[3]=i=>a.value=!0)},{default:n(()=>[u(l(s(r).info),1)]),_:1}),o(s(d),{type:"danger",block:"",onClick:t[4]||(t[4]=i=>p.value=!0)},{default:n(()=>[u(l(s(r).error),1)]),_:1}),o(s(d),{color:"var(--result-question-color)","text-color":"#fff",block:"",onClick:t[5]||(t[5]=i=>g.value=!0)},{default:n(()=>[u(l(s(r).question),1)]),_:1}),o(s(d),{color:"var(--result-empty-color)","text-color":"#fff",block:"",onClick:t[6]||(t[6]=i=>S.value=!0)},{default:n(()=>[u(l(s(r).empty),1)]),_:1})]),_:1}),o(s(L),{"default-style":!1,show:c.value,"onUpdate:show":t[8]||(t[8]=i=>c.value=i)},{default:n(()=>[o(s(w),{class:"result",title:s(r).success,description:s(r).description},{footer:n(()=>[o(s(d),{type:"success",onClick:t[7]||(t[7]=i=>c.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:p.value,"onUpdate:show":t[10]||(t[10]=i=>p.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"error",title:s(r).error,description:s(r).description},{footer:n(()=>[o(s(d),{type:"danger",onClick:t[9]||(t[9]=i=>p.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:y.value,"onUpdate:show":t[12]||(t[12]=i=>y.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"warning",title:s(r).warning,description:s(r).description},{footer:n(()=>[o(s(d),{type:"warning",onClick:t[11]||(t[11]=i=>y.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:a.value,"onUpdate:show":t[14]||(t[14]=i=>a.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"info",title:s(r).info,description:s(r).description},{footer:n(()=>[o(s(d),{type:"info",onClick:t[13]||(t[13]=i=>a.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:g.value,"onUpdate:show":t[16]||(t[16]=i=>g.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"question",title:s(r).question,description:s(r).description},{footer:n(()=>[o(s(d),{color:"var(--result-question-color)","text-color":"#fff",onClick:t[15]||(t[15]=i=>g.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"]),o(s(L),{"default-style":!1,show:S.value,"onUpdate:show":t[18]||(t[18]=i=>S.value=i)},{default:n(()=>[o(s(w),{class:"result",type:"empty",title:s(r).empty,description:s(r).description},{footer:n(()=>[o(s(d),{color:"var(--result-empty-color)","text-color":"#fff",onClick:t[17]||(t[17]=i=>S.value=!1)},{default:n(()=>[u(l(s(r).button),1)]),_:1})]),_:1},8,["title","description"])]),_:1},8,["show"])],64))}},as=C(Re,[["__scopeId","data-v-ca04b777"]]);export{as as default}; diff --git a/assets/index-234da283.js b/assets/index-b21d5822.js similarity index 83% rename from assets/index-234da283.js rename to assets/index-b21d5822.js index 0bba41aac03..ea8332fb9d5 100644 --- a/assets/index-234da283.js +++ b/assets/index-b21d5822.js @@ -1 +1 @@ -import{d as F,c as G,a as z,w as Y}from"./components-3ae053cb.js";import{p as B}from"./shared-de177aa1.js";import{d as Z,r as v,G as J,a8 as K,a9 as W,az as X,aZ as E,a4 as I,a_ as ee,_ as A,e as P,m as V,v as te,Q as m,R as n,aQ as se,aR as oe,x as ae,F as ne,al as le,q as o,w as i,U as t,N as ce,p as y,$ as re,a0 as ie}from"./index-af5fec45.js";import{S as ue}from"./index-0ad054ca.js";import{B as b}from"./index-84d96475.js";import{R as me}from"./index-85b78525.js";import{d as de}from"./index-d8fbf18c.js";import{u as pe,b as L,_ as fe,c as _e,a as Se}from"./index-2b61c8d0.js";import{A as g}from"./appType-53211ea9.js";import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-057aa4ba.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./lock-7a098446.js";import"./index-2b41cfe8.js";/* empty css */import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const he={time:{type:[String,Number],default:0},format:{type:String,default:"HH : mm : ss"},autoStart:{type:Boolean,default:!0},onEnd:F(),onChange:F()},{name:we,n:Ce}=G("countdown"),D=1e3,M=60*D,U=60*M,R=24*U,ge=Z({name:we,props:he,setup(s){const w=v(""),S=v({days:0,hours:0,minutes:0,seconds:0,milliseconds:0});let d=0,l=!1,p=0,a=0,c;J(()=>s.time,()=>{H(),s.autoStart&&$()},{immediate:!0}),K(()=>{c!=null&&(l=c,l===!0&&$(!0))}),W(()=>{c=l,k()}),X(k);function q(e,C){const r=Object.values(C),N=["DD","HH","mm","ss"],T=[24,60,60,1e3];if(N.forEach((f,_)=>{e.includes(f)?e=e.replace(f,B(`${r[_]}`,2,"0")):r[_+1]+=r[_]*T[_]}),e.includes("S")){const f=B(`${r[r.length-1]}`,3,"0");e.includes("SSS")?e=e.replace("SSS",f):e.includes("SS")?e=e.replace("SS",f.slice(0,2)):e=e.replace("S",f.slice(0,1))}return e}function Q(e){const C=Math.floor(e/R),r=Math.floor(e%R/U),N=Math.floor(e%U/M),T=Math.floor(e%M/D),f=Math.floor(e%D),_={days:C,hours:r,minutes:N,seconds:T,milliseconds:f};S.value=_,z(s.onChange,S.value),w.value=q(s.format,_)}function x(){const{time:e,onEnd:C}=s,r=performance.now();if(d||(d=r+I(e)),a=d-r,a<0&&(a=0),Q(a),a===0){z(C);return}l&&(p=ee(x))}function $(e=!1){l&&!e||(l=!0,d=performance.now()+(a||I(s.time)),x())}function k(){l=!1,E(p)}function H(){d=0,l=!1,E(p),x()}return{showTime:w,timeData:S,n:Ce,start:$,pause:k,reset:H}}});function ye(s,w,S,d,l,p){return P(),V("div",{class:ae(s.n())},[te(s.$slots,"default",se(oe(s.timeData)),()=>[m(n(s.showTime),1)])],2)}const h=A(ge,[["render",ye]]);Y(h);const ve={basicUsage:"基本使用",customFormat:"自定义格式",showMillisecond:"显示毫秒",customStyle:"自定义样式",manualControl:"手动控制",format:"DD 天 HH 时 mm 分 ss 秒",startText:"开始",pauseText:"暂停",resetText:"重置"},xe={basicUsage:"Basic Usage",customFormat:"Custom Format",showMillisecond:"Show Millisecond",customStyle:"Custom Style",manualControl:"Manual Control",format:"DD Day, HH:mm:ss",startText:"Start",pauseText:"Pause",resetText:"Reset"},{add:O,use:$e,pack:u,packs:We,merge:Xe}=pe(),ke=s=>{Se(s),$e(s)};L("zh-CN",fe);L("en-US",_e);O("zh-CN",ve);O("en-US",xe);const j=s=>(re("data-v-41a60976"),s=s(),ie(),s),Ne={class:"countdown-example-block"},Te=j(()=>y("span",{class:"countdown-example-colon"},":",-1)),be={class:"countdown-example-block"},De=j(()=>y("span",{class:"countdown-example-colon"},":",-1)),Me={class:"countdown-example-block"},Ue={__name:"index",setup(s){const w=v(null),S=v(3e3);function d(){ue.info("end!")}function l(){console.log("change")}return ne(ke),le(de),(p,a)=>(P(),V(ce,null,[o(t(g),null,{default:i(()=>[m(n(t(u).basicUsage),1)]),_:1}),o(t(h),{time:"108000000"}),o(t(g),null,{default:i(()=>[m(n(t(u).customFormat),1)]),_:1}),o(t(h),{time:"108000000",format:t(u).format},null,8,["format"]),o(t(g),null,{default:i(()=>[m(n(t(u).showMillisecond),1)]),_:1}),o(t(h),{time:"108000000",format:"HH : mm : ss : SS"}),o(t(g),null,{default:i(()=>[m(n(t(u).customStyle),1)]),_:1}),o(t(h),{time:"108000000"},{default:i(c=>[y("span",Ne,n(c.hours),1),Te,y("span",be,n(c.minutes),1),De,y("span",Me,n(c.seconds),1)]),_:1}),o(t(g),null,{default:i(()=>[m(n(t(u).manualControl),1)]),_:1}),o(t(h),{time:S.value,ref_key:"countdown",ref:w,"auto-start":!1,format:"ss : SSS",onEnd:d,onChange:l},null,8,["time"]),o(t(me),{justify:"space-between",align:"center",style:{"margin-top":"10px"}},{default:i(()=>[o(t(b),{type:"primary",onClick:a[0]||(a[0]=c=>p.$refs.countdown.start())},{default:i(()=>[m(n(t(u).startText),1)]),_:1}),o(t(b),{onClick:a[1]||(a[1]=c=>p.$refs.countdown.pause())},{default:i(()=>[m(n(t(u).pauseText),1)]),_:1}),o(t(b),{onClick:a[2]||(a[2]=c=>p.$refs.countdown.reset())},{default:i(()=>[m(n(t(u).resetText),1)]),_:1})]),_:1})],64))}},et=A(Ue,[["__scopeId","data-v-41a60976"]]);export{et as default}; +import{d as F,c as G,a as z,w as Y}from"./components-a5332e66.js";import{p as B}from"./shared-a3ff1edc.js";import{d as Z,r as v,G as J,a8 as K,a9 as W,az as X,aZ as E,a4 as I,a_ as ee,_ as A,e as P,m as V,v as te,Q as m,R as n,aQ as se,aR as oe,x as ae,F as ne,al as le,q as o,w as i,U as t,N as ce,p as y,$ as re,a0 as ie}from"./index-0bd4ebfc.js";import{S as ue}from"./index-1ed406cf.js";import{B as b}from"./index-1f1d0c91.js";import{R as me}from"./index-e6df479c.js";import{d as de}from"./index-d8fbf18c.js";import{u as pe,b as L,_ as fe,c as _e,a as Se}from"./index-4a9c2ae2.js";import{A as g}from"./appType-a8f87391.js";import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-2c5b74fa.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./lock-e6f4e779.js";import"./index-28dcc9be.js";/* empty css */import"./index-d956da3f.js";import"./index-27fcaf7d.js";const he={time:{type:[String,Number],default:0},format:{type:String,default:"HH : mm : ss"},autoStart:{type:Boolean,default:!0},onEnd:F(),onChange:F()},{name:we,n:Ce}=G("countdown"),D=1e3,M=60*D,U=60*M,R=24*U,ge=Z({name:we,props:he,setup(s){const w=v(""),S=v({days:0,hours:0,minutes:0,seconds:0,milliseconds:0});let d=0,l=!1,p=0,a=0,c;J(()=>s.time,()=>{H(),s.autoStart&&$()},{immediate:!0}),K(()=>{c!=null&&(l=c,l===!0&&$(!0))}),W(()=>{c=l,k()}),X(k);function q(e,C){const r=Object.values(C),N=["DD","HH","mm","ss"],T=[24,60,60,1e3];if(N.forEach((f,_)=>{e.includes(f)?e=e.replace(f,B(`${r[_]}`,2,"0")):r[_+1]+=r[_]*T[_]}),e.includes("S")){const f=B(`${r[r.length-1]}`,3,"0");e.includes("SSS")?e=e.replace("SSS",f):e.includes("SS")?e=e.replace("SS",f.slice(0,2)):e=e.replace("S",f.slice(0,1))}return e}function Q(e){const C=Math.floor(e/R),r=Math.floor(e%R/U),N=Math.floor(e%U/M),T=Math.floor(e%M/D),f=Math.floor(e%D),_={days:C,hours:r,minutes:N,seconds:T,milliseconds:f};S.value=_,z(s.onChange,S.value),w.value=q(s.format,_)}function x(){const{time:e,onEnd:C}=s,r=performance.now();if(d||(d=r+I(e)),a=d-r,a<0&&(a=0),Q(a),a===0){z(C);return}l&&(p=ee(x))}function $(e=!1){l&&!e||(l=!0,d=performance.now()+(a||I(s.time)),x())}function k(){l=!1,E(p)}function H(){d=0,l=!1,E(p),x()}return{showTime:w,timeData:S,n:Ce,start:$,pause:k,reset:H}}});function ye(s,w,S,d,l,p){return P(),V("div",{class:ae(s.n())},[te(s.$slots,"default",se(oe(s.timeData)),()=>[m(n(s.showTime),1)])],2)}const h=A(ge,[["render",ye]]);Y(h);const ve={basicUsage:"基本使用",customFormat:"自定义格式",showMillisecond:"显示毫秒",customStyle:"自定义样式",manualControl:"手动控制",format:"DD 天 HH 时 mm 分 ss 秒",startText:"开始",pauseText:"暂停",resetText:"重置"},xe={basicUsage:"Basic Usage",customFormat:"Custom Format",showMillisecond:"Show Millisecond",customStyle:"Custom Style",manualControl:"Manual Control",format:"DD Day, HH:mm:ss",startText:"Start",pauseText:"Pause",resetText:"Reset"},{add:O,use:$e,pack:u,packs:We,merge:Xe}=pe(),ke=s=>{Se(s),$e(s)};L("zh-CN",fe);L("en-US",_e);O("zh-CN",ve);O("en-US",xe);const j=s=>(re("data-v-41a60976"),s=s(),ie(),s),Ne={class:"countdown-example-block"},Te=j(()=>y("span",{class:"countdown-example-colon"},":",-1)),be={class:"countdown-example-block"},De=j(()=>y("span",{class:"countdown-example-colon"},":",-1)),Me={class:"countdown-example-block"},Ue={__name:"index",setup(s){const w=v(null),S=v(3e3);function d(){ue.info("end!")}function l(){console.log("change")}return ne(ke),le(de),(p,a)=>(P(),V(ce,null,[o(t(g),null,{default:i(()=>[m(n(t(u).basicUsage),1)]),_:1}),o(t(h),{time:"108000000"}),o(t(g),null,{default:i(()=>[m(n(t(u).customFormat),1)]),_:1}),o(t(h),{time:"108000000",format:t(u).format},null,8,["format"]),o(t(g),null,{default:i(()=>[m(n(t(u).showMillisecond),1)]),_:1}),o(t(h),{time:"108000000",format:"HH : mm : ss : SS"}),o(t(g),null,{default:i(()=>[m(n(t(u).customStyle),1)]),_:1}),o(t(h),{time:"108000000"},{default:i(c=>[y("span",Ne,n(c.hours),1),Te,y("span",be,n(c.minutes),1),De,y("span",Me,n(c.seconds),1)]),_:1}),o(t(g),null,{default:i(()=>[m(n(t(u).manualControl),1)]),_:1}),o(t(h),{time:S.value,ref_key:"countdown",ref:w,"auto-start":!1,format:"ss : SSS",onEnd:d,onChange:l},null,8,["time"]),o(t(me),{justify:"space-between",align:"center",style:{"margin-top":"10px"}},{default:i(()=>[o(t(b),{type:"primary",onClick:a[0]||(a[0]=c=>p.$refs.countdown.start())},{default:i(()=>[m(n(t(u).startText),1)]),_:1}),o(t(b),{onClick:a[1]||(a[1]=c=>p.$refs.countdown.pause())},{default:i(()=>[m(n(t(u).pauseText),1)]),_:1}),o(t(b),{onClick:a[2]||(a[2]=c=>p.$refs.countdown.reset())},{default:i(()=>[m(n(t(u).resetText),1)]),_:1})]),_:1})],64))}},et=A(Ue,[["__scopeId","data-v-41a60976"]]);export{et as default}; diff --git a/assets/index-26369084.js b/assets/index-b2769476.js similarity index 84% rename from assets/index-26369084.js rename to assets/index-b2769476.js index 1455607b0d7..feeb36038e6 100644 --- a/assets/index-26369084.js +++ b/assets/index-b2769476.js @@ -1 +1 @@ -import{I as i}from"./index-dcc84b7e.js";import{S as m}from"./index-90c41552.js";import{d as _}from"./index-d8fbf18c.js";import{_ as g,F as f,al as x,e as n,m as u,q as t,w as s,U as e,N as L,Q as l,R as c,p as a,$ as w,a0 as S}from"./index-af5fec45.js";import{u as j,b as h,_ as z,c as U,a as y}from"./index-2b61c8d0.js";import{A as r}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-237d061b.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./shared-de177aa1.js";const N={basicUsage:"基本使用",fitMode:"填充模式",setRadius:"设置圆角",useRipple:"开启水波",useLazyLoad:"开启懒加载",useFailureSlot:"加载失败插槽",failureText:"加载失败"},R={basicUsage:"Basic Usage",fitMode:"Fit Mode",setRadius:"Set Radius",useRipple:"Use Ripple",useLazyLoad:"Use LazyLoad",useFailureSlot:"Load Failure Slot",failureText:"Load failure"},{add:v,use:C,pack:d,packs:ce,merge:re}=j(),F=o=>{y(o),C(o)};h("zh-CN",z);h("en-US",U);v("zh-CN",N);v("en-US",R);const p=o=>(w("data-v-7e11a04d"),o=o(),S(),o),M={class:"image-example-fit-item"},V=p(()=>a("div",{class:"image-example-text"},"fill",-1)),k={class:"image-example-fit-item"},A=p(()=>a("div",{class:"image-example-text"},"cover",-1)),I={class:"image-example-fit-item"},B=p(()=>a("div",{class:"image-example-text"},"none",-1)),b={class:"image-example-fit-item"},T=p(()=>a("div",{class:"image-example-text"},"contain",-1)),$={class:"image-example-fit-item"},D=p(()=>a("div",{class:"image-example-text"},"scale-down",-1)),H={viewBox:"0 0 24 24",style:{width:"100%",height:"100%"}},q=p(()=>a("path",{fill:"currentColor",d:"M21,5V11.59L18,8.58L14,12.59L10,8.59L6,12.59L3,9.58V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M18,11.42L21,14.43V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V12.42L6,15.41L10,11.41L14,15.41"},null,-1)),E=[q],Q={__name:"index",setup(o){return f(F),x(_),(G,J)=>(n(),u(L,null,[t(e(r),null,{default:s(()=>[l(c(e(d).basicUsage),1)]),_:1}),t(e(i),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(e(r),null,{default:s(()=>[l(c(e(d).fitMode),1)]),_:1}),t(e(m),{size:["6vmin","6vmin"]},{default:s(()=>[a("div",M,[t(e(i),{width:"22.666vmin",height:"22.666vmin",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),V]),a("div",k,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"cover",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),A]),a("div",I,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"none",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),B]),a("div",b,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"contain",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),T]),a("div",$,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"scale-down",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),D])]),_:1}),t(e(r),null,{default:s(()=>[l(c(e(d).setRadius),1)]),_:1}),t(e(m),{size:["6vmin","6vmin"]},{default:s(()=>[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"cover",radius:10,src:"https://varlet.gitee.io/varlet-ui/cat.jpg",class:"image-example-fit-item"}),t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"cover",radius:"50%",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"})]),_:1}),t(e(r),null,{default:s(()=>[l(c(e(d).useRipple),1)]),_:1}),t(e(i),{ripple:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(e(r),null,{default:s(()=>[l(c(e(d).useLazyLoad),1)]),_:1}),t(e(i),{lazy:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(e(r),null,{default:s(()=>[l(c(e(d).useFailureSlot),1)]),_:1}),t(e(i),{width:"22.666vmin",height:"22.666vmin",src:"https://varlet.gitee.io/varlet-ui/ca.jpg"},{error:s(()=>[(n(),u("svg",H,E))]),_:1})],64))}},de=g(Q,[["__scopeId","data-v-7e11a04d"]]);export{de as default}; +import{I as i}from"./index-3bea2fce.js";import{S as m}from"./index-65cffe90.js";import{d as _}from"./index-d8fbf18c.js";import{_ as g,F as f,al as x,e as n,m as u,q as t,w as s,U as e,N as L,Q as l,R as c,p as a,$ as w,a0 as S}from"./index-0bd4ebfc.js";import{u as j,b as h,_ as z,c as U,a as y}from"./index-4a9c2ae2.js";import{A as r}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-817b7dbd.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./shared-a3ff1edc.js";const N={basicUsage:"基本使用",fitMode:"填充模式",setRadius:"设置圆角",useRipple:"开启水波",useLazyLoad:"开启懒加载",useFailureSlot:"加载失败插槽",failureText:"加载失败"},R={basicUsage:"Basic Usage",fitMode:"Fit Mode",setRadius:"Set Radius",useRipple:"Use Ripple",useLazyLoad:"Use LazyLoad",useFailureSlot:"Load Failure Slot",failureText:"Load failure"},{add:v,use:C,pack:d,packs:ce,merge:re}=j(),F=o=>{y(o),C(o)};h("zh-CN",z);h("en-US",U);v("zh-CN",N);v("en-US",R);const p=o=>(w("data-v-7e11a04d"),o=o(),S(),o),M={class:"image-example-fit-item"},V=p(()=>a("div",{class:"image-example-text"},"fill",-1)),k={class:"image-example-fit-item"},A=p(()=>a("div",{class:"image-example-text"},"cover",-1)),I={class:"image-example-fit-item"},B=p(()=>a("div",{class:"image-example-text"},"none",-1)),b={class:"image-example-fit-item"},T=p(()=>a("div",{class:"image-example-text"},"contain",-1)),$={class:"image-example-fit-item"},D=p(()=>a("div",{class:"image-example-text"},"scale-down",-1)),H={viewBox:"0 0 24 24",style:{width:"100%",height:"100%"}},q=p(()=>a("path",{fill:"currentColor",d:"M21,5V11.59L18,8.58L14,12.59L10,8.59L6,12.59L3,9.58V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M18,11.42L21,14.43V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V12.42L6,15.41L10,11.41L14,15.41"},null,-1)),E=[q],Q={__name:"index",setup(o){return f(F),x(_),(G,J)=>(n(),u(L,null,[t(e(r),null,{default:s(()=>[l(c(e(d).basicUsage),1)]),_:1}),t(e(i),{src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(e(r),null,{default:s(()=>[l(c(e(d).fitMode),1)]),_:1}),t(e(m),{size:["6vmin","6vmin"]},{default:s(()=>[a("div",M,[t(e(i),{width:"22.666vmin",height:"22.666vmin",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),V]),a("div",k,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"cover",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),A]),a("div",I,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"none",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),B]),a("div",b,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"contain",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),T]),a("div",$,[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"scale-down",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),D])]),_:1}),t(e(r),null,{default:s(()=>[l(c(e(d).setRadius),1)]),_:1}),t(e(m),{size:["6vmin","6vmin"]},{default:s(()=>[t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"cover",radius:10,src:"https://varlet.gitee.io/varlet-ui/cat.jpg",class:"image-example-fit-item"}),t(e(i),{width:"22.666vmin",height:"22.666vmin",fit:"cover",radius:"50%",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"})]),_:1}),t(e(r),null,{default:s(()=>[l(c(e(d).useRipple),1)]),_:1}),t(e(i),{ripple:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(e(r),null,{default:s(()=>[l(c(e(d).useLazyLoad),1)]),_:1}),t(e(i),{lazy:"",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"}),t(e(r),null,{default:s(()=>[l(c(e(d).useFailureSlot),1)]),_:1}),t(e(i),{width:"22.666vmin",height:"22.666vmin",src:"https://varlet.gitee.io/varlet-ui/ca.jpg"},{error:s(()=>[(n(),u("svg",H,E))]),_:1})],64))}},de=g(Q,[["__scopeId","data-v-7e11a04d"]]);export{de as default}; diff --git a/assets/index-5808f8d0.js b/assets/index-b366e7a7.js similarity index 87% rename from assets/index-5808f8d0.js rename to assets/index-b366e7a7.js index 1f7c8d4dd1b..b84502a0afd 100644 --- a/assets/index-5808f8d0.js +++ b/assets/index-b366e7a7.js @@ -1 +1 @@ -import{U as n}from"./index-5b2dac91.js";import{B as V}from"./index-84d96475.js";import{S as U}from"./index-90c41552.js";import{I as M}from"./index-057aa4ba.js";import{D as w}from"./index-57d211a2.js";import{S as v}from"./index-0ad054ca.js";import{d as T}from"./index-d8fbf18c.js";import{_ as B,W as C,F as k,al as A,az as N,e as g,m as c,q as l,w as s,U as e,N as h,Q as u,R as d,O as I}from"./index-af5fec45.js";import{u as D,b,_ as E,c as O,a as W}from"./index-2b61c8d0.js";import{A as m}from"./appType-53211ea9.js";import"./index-2c1498a1.js";import"./components-3ae053cb.js";import"./provide-c979a783.js";import"./index-d24e7e49.js";import"./lock-7a098446.js";import"./index-e95cf05b.js";import"./zIndex-a2732bb2.js";import"./provide-c3581da5.js";/* empty css */import"./index-2096471a.js";import"./index-d408e6ab.js";import"./index-8bbf4ef8.js";import"./provide-521cd214.js";import"./index-8c96e01f.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./shared-de177aa1.js";import"./elements-68ad626b.js";import"./index-a6f8e46a.js";const $={basicUsage:"基本使用",preview:"文件预览",customPreview:"自定义预览",state:"上传状态",maxlength:"文件数量限制",maxsize:"文件大小限制",beforeRead:"上传预处理",disabled:"禁用",readonly:"只读",validate:"字段校验",validateMessage:"存在上传失败的文件",style:"自定义上传样式",upload:"上传",beforeRemove:"删除前处理",removeTitle:"是否删除?",removeMessage:"删除后无法撤回",fileSizeExceedsLimit:"文件大小超出限制",fileLessThen:"文件小于1M,上传成功",fileLargeThen:"文件大于1M,不能上传",customRender:"自定义渲染文件列表",useProgress:"使用进度条",beforeFilter:"文件列表过滤"},q={basicUsage:"Basic Usage",preview:"File Preview",customPreview:"Custom Preview",state:"Upload State",maxlength:"File Maxlength",maxsize:"File Size Limit",beforeRead:"Upload Preprocessing",disabled:"Disabled",readonly:"Readonly",validate:"Validate",validateMessage:"There is a file that failed to upload",style:"Customize upload styles",upload:"Upload",beforeRemove:"Remove Preprocessing",removeTitle:"Delete or not?",removeMessage:"Cannot be withdrawn after deletion",fileSizeExceedsLimit:"file size exceeds limit",fileLessThen:"the file is less than 1M, the upload is successful",fileLargeThen:"the file is larger than 1M and cannot be uploaded",customRender:"Custom render file list",useProgress:"Use Progress",beforeFilter:"File List Filter"},{add:x,use:Q,pack:i,packs:je,merge:ze}=D(),G=p=>{W(p),Q(p)};b("zh-CN",E);b("en-US",O);x("zh-CN",$);x("en-US",q);const H=["src"],J={__name:"index",setup(p){const o=C({files:[],files2:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{url:"https://www.runoob.com/try/demo_source/mov_bbb.mp4",cover:"https://varlet.gitee.io/varlet-ui/cover.jpg"}],files3:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"loading"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"success"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"error"}],files4:[],files5:[],files6:[],files7:[],files8:[],files9:[],files10:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"error"}],files11:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg"}],files12:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"loading"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"success"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"error"}],files13:[],files14:[]});function R(r){console.log(r)}function y(r){r.state="loading",setInterval(()=>{r.state="success"},1e3)}let f;function j(r){r.state="loading",r.progress=0,f=window.setInterval(()=>{if(r.progress===100){window.clearInterval(f),r.state="success";return}r.progress+=10},250)}function z(){v.warning(i.value.fileSizeExceedsLimit)}function _(r){return r.file.size<=1*1024*1024?(v.success(i.value.fileLessThen),!0):(v.warning(i.value.fileLargeThen),!1)}async function L(){return await w({title:i.value.removeTitle,message:i.value.removeMessage})==="confirm"}function P(r){return r.filter(a=>a.name.endsWith("png"))}function S(r){w({title:i.value.customPreview,message:r.url.slice(0,100)})}return k(G),A(T),N(()=>{window.clearInterval(f)}),(r,a)=>(g(),c(h,null,[l(e(m),null,{default:s(()=>[u(d(e(i).basicUsage),1)]),_:1}),l(e(n),{modelValue:o.files,"onUpdate:modelValue":a[0]||(a[0]=t=>o.files=t),onAfterRead:R},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).preview),1)]),_:1}),l(e(n),{modelValue:o.files2,"onUpdate:modelValue":a[1]||(a[1]=t=>o.files2=t)},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).customPreview),1)]),_:1}),l(e(n),{modelValue:o.files11,"onUpdate:modelValue":a[2]||(a[2]=t=>o.files11=t),"prevent-default-preview":"",onPreview:S},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).state),1)]),_:1}),l(e(n),{modelValue:o.files3,"onUpdate:modelValue":a[3]||(a[3]=t=>o.files3=t),onAfterRead:y},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).useProgress),1)]),_:1}),l(e(n),{modelValue:o.files13,"onUpdate:modelValue":a[4]||(a[4]=t=>o.files13=t),onAfterRead:j},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).maxlength),1)]),_:1}),l(e(n),{modelValue:o.files4,"onUpdate:modelValue":a[5]||(a[5]=t=>o.files4=t),maxlength:1},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).maxsize),1)]),_:1}),l(e(n),{modelValue:o.files5,"onUpdate:modelValue":a[6]||(a[6]=t=>o.files5=t),maxsize:1024,onOversize:z},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).beforeFilter),1)]),_:1}),l(e(n),{modelValue:o.files14,"onUpdate:modelValue":a[7]||(a[7]=t=>o.files14=t),multiple:"",onBeforeFilter:P},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).beforeRead),1)]),_:1}),l(e(n),{modelValue:o.files7,"onUpdate:modelValue":a[8]||(a[8]=t=>o.files7=t),onBeforeRead:_},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).disabled),1)]),_:1}),l(e(n),{disabled:"",modelValue:o.files8,"onUpdate:modelValue":a[9]||(a[9]=t=>o.files8=t)},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).readonly),1)]),_:1}),l(e(n),{readonly:"",modelValue:o.files9,"onUpdate:modelValue":a[10]||(a[10]=t=>o.files9=t)},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).beforeRemove),1)]),_:1}),l(e(n),{modelValue:o.files11,"onUpdate:modelValue":a[11]||(a[11]=t=>o.files11=t),onBeforeRemove:L},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).style),1)]),_:1}),l(e(n),{modelValue:o.files6,"onUpdate:modelValue":a[12]||(a[12]=t=>o.files6=t)},{default:s(()=>[l(e(V),{type:"primary"},{default:s(()=>[u(d(e(i).upload),1)]),_:1})]),_:1},8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).validate),1)]),_:1}),l(e(n),{rules:[(t,F)=>F.getError().length===0||e(i).validateMessage],modelValue:o.files10,"onUpdate:modelValue":a[13]||(a[13]=t=>o.files10=t)},null,8,["rules","modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).customRender),1)]),_:1}),l(e(U),null,{default:s(()=>[(g(!0),c(h,null,I(o.files12,t=>(g(),c("img",{class:"custom-uploader-file",key:t.id,src:t.cover},null,8,H))),128)),l(e(n),{"hide-list":"",modelValue:o.files12,"onUpdate:modelValue":a[14]||(a[14]=t=>o.files12=t)},{default:s(()=>[l(e(V),{round:"",type:"primary"},{default:s(()=>[l(e(M),{size:28,name:"upload"})]),_:1})]),_:1},8,["modelValue"])]),_:1}),l(e(U))],64))}},_e=B(J,[["__scopeId","data-v-4692abd8"]]);export{_e as default}; +import{U as n}from"./index-3c549829.js";import{B as V}from"./index-1f1d0c91.js";import{S as U}from"./index-65cffe90.js";import{I as M}from"./index-2c5b74fa.js";import{D as w}from"./index-0770059a.js";import{S as v}from"./index-1ed406cf.js";import{d as T}from"./index-d8fbf18c.js";import{_ as B,W as C,F as k,al as A,az as N,e as g,m as c,q as l,w as s,U as e,N as h,Q as u,R as d,O as I}from"./index-0bd4ebfc.js";import{u as D,b,_ as E,c as O,a as W}from"./index-4a9c2ae2.js";import{A as m}from"./appType-a8f87391.js";import"./index-d956da3f.js";import"./components-a5332e66.js";import"./provide-4fc67263.js";import"./index-0e439e92.js";import"./lock-e6f4e779.js";import"./index-9eb15296.js";import"./zIndex-976ced0e.js";import"./provide-f823f5cd.js";/* empty css */import"./index-b7d082cd.js";import"./index-67cbdf85.js";import"./index-27fcaf7d.js";import"./provide-e4d73c18.js";import"./index-f71140ae.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./shared-a3ff1edc.js";import"./elements-23c82371.js";import"./index-1e0bee81.js";const $={basicUsage:"基本使用",preview:"文件预览",customPreview:"自定义预览",state:"上传状态",maxlength:"文件数量限制",maxsize:"文件大小限制",beforeRead:"上传预处理",disabled:"禁用",readonly:"只读",validate:"字段校验",validateMessage:"存在上传失败的文件",style:"自定义上传样式",upload:"上传",beforeRemove:"删除前处理",removeTitle:"是否删除?",removeMessage:"删除后无法撤回",fileSizeExceedsLimit:"文件大小超出限制",fileLessThen:"文件小于1M,上传成功",fileLargeThen:"文件大于1M,不能上传",customRender:"自定义渲染文件列表",useProgress:"使用进度条",beforeFilter:"文件列表过滤"},q={basicUsage:"Basic Usage",preview:"File Preview",customPreview:"Custom Preview",state:"Upload State",maxlength:"File Maxlength",maxsize:"File Size Limit",beforeRead:"Upload Preprocessing",disabled:"Disabled",readonly:"Readonly",validate:"Validate",validateMessage:"There is a file that failed to upload",style:"Customize upload styles",upload:"Upload",beforeRemove:"Remove Preprocessing",removeTitle:"Delete or not?",removeMessage:"Cannot be withdrawn after deletion",fileSizeExceedsLimit:"file size exceeds limit",fileLessThen:"the file is less than 1M, the upload is successful",fileLargeThen:"the file is larger than 1M and cannot be uploaded",customRender:"Custom render file list",useProgress:"Use Progress",beforeFilter:"File List Filter"},{add:x,use:Q,pack:i,packs:je,merge:ze}=D(),G=p=>{W(p),Q(p)};b("zh-CN",E);b("en-US",O);x("zh-CN",$);x("en-US",q);const H=["src"],J={__name:"index",setup(p){const o=C({files:[],files2:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg"},{url:"https://www.runoob.com/try/demo_source/mov_bbb.mp4",cover:"https://varlet.gitee.io/varlet-ui/cover.jpg"}],files3:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"loading"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"success"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"error"}],files4:[],files5:[],files6:[],files7:[],files8:[],files9:[],files10:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"error"}],files11:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg"}],files12:[{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"loading"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"success"},{url:"https://varlet.gitee.io/varlet-ui/cat.jpg",cover:"https://varlet.gitee.io/varlet-ui/cat.jpg",state:"error"}],files13:[],files14:[]});function R(r){console.log(r)}function y(r){r.state="loading",setInterval(()=>{r.state="success"},1e3)}let f;function j(r){r.state="loading",r.progress=0,f=window.setInterval(()=>{if(r.progress===100){window.clearInterval(f),r.state="success";return}r.progress+=10},250)}function z(){v.warning(i.value.fileSizeExceedsLimit)}function _(r){return r.file.size<=1*1024*1024?(v.success(i.value.fileLessThen),!0):(v.warning(i.value.fileLargeThen),!1)}async function L(){return await w({title:i.value.removeTitle,message:i.value.removeMessage})==="confirm"}function P(r){return r.filter(a=>a.name.endsWith("png"))}function S(r){w({title:i.value.customPreview,message:r.url.slice(0,100)})}return k(G),A(T),N(()=>{window.clearInterval(f)}),(r,a)=>(g(),c(h,null,[l(e(m),null,{default:s(()=>[u(d(e(i).basicUsage),1)]),_:1}),l(e(n),{modelValue:o.files,"onUpdate:modelValue":a[0]||(a[0]=t=>o.files=t),onAfterRead:R},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).preview),1)]),_:1}),l(e(n),{modelValue:o.files2,"onUpdate:modelValue":a[1]||(a[1]=t=>o.files2=t)},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).customPreview),1)]),_:1}),l(e(n),{modelValue:o.files11,"onUpdate:modelValue":a[2]||(a[2]=t=>o.files11=t),"prevent-default-preview":"",onPreview:S},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).state),1)]),_:1}),l(e(n),{modelValue:o.files3,"onUpdate:modelValue":a[3]||(a[3]=t=>o.files3=t),onAfterRead:y},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).useProgress),1)]),_:1}),l(e(n),{modelValue:o.files13,"onUpdate:modelValue":a[4]||(a[4]=t=>o.files13=t),onAfterRead:j},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).maxlength),1)]),_:1}),l(e(n),{modelValue:o.files4,"onUpdate:modelValue":a[5]||(a[5]=t=>o.files4=t),maxlength:1},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).maxsize),1)]),_:1}),l(e(n),{modelValue:o.files5,"onUpdate:modelValue":a[6]||(a[6]=t=>o.files5=t),maxsize:1024,onOversize:z},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).beforeFilter),1)]),_:1}),l(e(n),{modelValue:o.files14,"onUpdate:modelValue":a[7]||(a[7]=t=>o.files14=t),multiple:"",onBeforeFilter:P},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).beforeRead),1)]),_:1}),l(e(n),{modelValue:o.files7,"onUpdate:modelValue":a[8]||(a[8]=t=>o.files7=t),onBeforeRead:_},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).disabled),1)]),_:1}),l(e(n),{disabled:"",modelValue:o.files8,"onUpdate:modelValue":a[9]||(a[9]=t=>o.files8=t)},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).readonly),1)]),_:1}),l(e(n),{readonly:"",modelValue:o.files9,"onUpdate:modelValue":a[10]||(a[10]=t=>o.files9=t)},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).beforeRemove),1)]),_:1}),l(e(n),{modelValue:o.files11,"onUpdate:modelValue":a[11]||(a[11]=t=>o.files11=t),onBeforeRemove:L},null,8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).style),1)]),_:1}),l(e(n),{modelValue:o.files6,"onUpdate:modelValue":a[12]||(a[12]=t=>o.files6=t)},{default:s(()=>[l(e(V),{type:"primary"},{default:s(()=>[u(d(e(i).upload),1)]),_:1})]),_:1},8,["modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).validate),1)]),_:1}),l(e(n),{rules:[(t,F)=>F.getError().length===0||e(i).validateMessage],modelValue:o.files10,"onUpdate:modelValue":a[13]||(a[13]=t=>o.files10=t)},null,8,["rules","modelValue"]),l(e(m),null,{default:s(()=>[u(d(e(i).customRender),1)]),_:1}),l(e(U),null,{default:s(()=>[(g(!0),c(h,null,I(o.files12,t=>(g(),c("img",{class:"custom-uploader-file",key:t.id,src:t.cover},null,8,H))),128)),l(e(n),{"hide-list":"",modelValue:o.files12,"onUpdate:modelValue":a[14]||(a[14]=t=>o.files12=t)},{default:s(()=>[l(e(V),{round:"",type:"primary"},{default:s(()=>[l(e(M),{size:28,name:"upload"})]),_:1})]),_:1},8,["modelValue"])]),_:1}),l(e(U))],64))}},_e=B(J,[["__scopeId","data-v-4692abd8"]]);export{_e as default}; diff --git a/assets/index-f12dbe46.js b/assets/index-b3f25360.js similarity index 93% rename from assets/index-f12dbe46.js rename to assets/index-b3f25360.js index b85bdd17a99..9f4b2558a17 100644 --- a/assets/index-f12dbe46.js +++ b/assets/index-b3f25360.js @@ -1 +1 @@ -import{B as oe}from"./index-84d96475.js";import{I as ae}from"./index-057aa4ba.js";import{F as te,u as re}from"./provide-c979a783.js";import{v as le}from"./index-2b41cfe8.js";import{d as ie,r as se,D as J,a4 as o,G as ue,a$ as S,n as de,_ as me,b as M,e as ce,m as fe,p as K,q as p,w as O,x as z,y as L,P as ge,b0 as he,as as pe}from"./index-af5fec45.js";import{d as b,h as be,a as u,f as ve,c as ye,w as Se}from"./components-3ae053cb.js";import{a as ze}from"./elements-68ad626b.js";const Te={modelValue:{type:[String,Number],default:0},min:[String,Number],max:[String,Number],step:{type:[String,Number],default:1},color:String,inputWidth:[String,Number],inputTextSize:[String,Number],buttonSize:[String,Number],elevation:{type:[Boolean,Number,String],default:!0},decimalLength:[String,Number],disabled:Boolean,readonly:Boolean,disableIncrement:Boolean,disableDecrement:Boolean,disableInput:Boolean,lazyChange:Boolean,incrementButton:{type:Boolean,default:!0},decrementButton:{type:Boolean,default:!0},press:{type:Boolean,default:!0},ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onInputChange","onLazyChange","onIncrement","onDecrement"]},rules:Array,onBeforeChange:b(),onChange:b(),onIncrement:b(),onDecrement:b(),"onUpdate:modelValue":b()},Q=100,X=600,{name:Ce,n:Be,classes:Ve}=ye("counter"),De=ie({name:Ce,components:{VarButton:oe,VarIcon:ae,VarFormDetails:te},directives:{Ripple:le},inheritAttrs:!1,props:Te,setup(e){const d=se(""),{bindForm:$,form:E}=re(),{errorMessage:F,validateWithTrigger:P,validate:v,resetValidation:m}=be(),{readonly:s,disabled:r}=E??{},A=J(()=>{const{max:n,modelValue:a}=e;return n!=null&&o(a)>=o(n)}),W=J(()=>{const{min:n,modelValue:a}=e;return n!=null&&o(a)<=o(n)});let T,C,B,V;u($,{reset:q,validate:R,resetValidation:m}),ue(()=>e.modelValue,n=>{f(c(String(n))),u(e.onChange,o(n))}),f(c(String(e.modelValue)));function R(){return v(e.rules,e.modelValue)}function y(n){de(()=>{const{validateTrigger:a,rules:l,modelValue:i}=e;P(a,n,l,i)})}function q(){const{min:n}=e;u(e["onUpdate:modelValue"],n!=null?o(n):0),m()}function c(n){const{decimalLength:a,max:l,min:i}=e;let t=o(n);return l!=null&&t>o(l)&&(t=o(l)),i!=null&&t{H()},X))}function x(){const{press:n,lazyChange:a}=e;!n||a||(B=window.setTimeout(()=>{j()},X))}function ee(){C&&clearTimeout(C),V&&clearTimeout(V)}function ne(){T&&clearTimeout(T),B&&clearTimeout(B)}function j(){T=window.setTimeout(()=>{Y(),j()},Q)}function H(){C=window.setTimeout(()=>{G(),H()},Q)}function f(n){d.value=n;const a=o(n);u(e["onUpdate:modelValue"],a)}function D(n){f(c(String(n))),y("onLazyChange")}return{inputValue:d,errorMessage:F,formDisabled:r,formReadonly:s,isMax:A,isMin:W,n:Be,classes:Ve,formatElevation:ve,validate:R,reset:q,resetValidation:m,handleChange:Z,decrement:G,increment:Y,pressDecrement:_,pressIncrement:x,releaseDecrement:ee,releaseIncrement:ne,toSizeUnit:ze,toNumber:o}}});const we=["inputmode","readonly","disabled"];function Ie(e,d,$,E,F,P){const v=M("var-icon"),m=M("var-button"),s=M("var-form-details");return ce(),fe("div",{class:z(e.classes(e.n(),e.n("$--box")))},[K("div",pe({class:e.classes(e.n("controller"),e.formatElevation(e.elevation,2),[e.disabled||e.formDisabled,e.n("--disabled")],[e.errorMessage,e.n("--error")]),style:{background:e.color?e.color:void 0}},e.$attrs),[p(m,{class:z(e.classes(e.n("decrement-button"),[!e.decrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:L({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.decrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableDecrement&&!e.isMin,onClick:e.decrement,onTouchstart:e.pressDecrement,onTouchend:e.releaseDecrement,onTouchcancel:e.releaseDecrement},{default:O(()=>[p(v,{name:"minus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"]),ge(K("input",{class:z(e.classes(e.n("input"),[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:L({width:e.toSizeUnit(e.inputWidth),fontSize:e.toSizeUnit(e.inputTextSize)}),inputmode:e.toNumber(e.decimalLength)===0?"numeric":"decimal",readonly:e.readonly||e.formReadonly,disabled:e.disabled||e.formDisabled||e.disableInput,"onUpdate:modelValue":d[0]||(d[0]=r=>e.inputValue=r),onChange:d[1]||(d[1]=(...r)=>e.handleChange&&e.handleChange(...r))},null,46,we),[[he,e.inputValue]]),p(m,{class:z(e.classes(e.n("increment-button"),[!e.incrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:L({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.incrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableIncrement&&!e.isMax,onClick:e.increment,onTouchstart:e.pressIncrement,onTouchend:e.releaseIncrement,onTouchcancel:e.releaseIncrement},{default:O(()=>[p(v,{name:"plus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"])],16),p(s,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Ne=me(De,[["render",Ie]]);Se(Ne);export{Ne as C}; +import{B as oe}from"./index-1f1d0c91.js";import{I as ae}from"./index-2c5b74fa.js";import{F as te,u as re}from"./provide-4fc67263.js";import{v as le}from"./index-28dcc9be.js";import{d as ie,r as se,D as J,a4 as o,G as ue,a$ as S,n as de,_ as me,b as M,e as ce,m as fe,p as K,q as p,w as O,x as z,y as L,P as ge,b0 as he,as as pe}from"./index-0bd4ebfc.js";import{d as b,h as be,a as u,f as ve,c as ye,w as Se}from"./components-a5332e66.js";import{a as ze}from"./elements-23c82371.js";const Te={modelValue:{type:[String,Number],default:0},min:[String,Number],max:[String,Number],step:{type:[String,Number],default:1},color:String,inputWidth:[String,Number],inputTextSize:[String,Number],buttonSize:[String,Number],elevation:{type:[Boolean,Number,String],default:!0},decimalLength:[String,Number],disabled:Boolean,readonly:Boolean,disableIncrement:Boolean,disableDecrement:Boolean,disableInput:Boolean,lazyChange:Boolean,incrementButton:{type:Boolean,default:!0},decrementButton:{type:Boolean,default:!0},press:{type:Boolean,default:!0},ripple:{type:Boolean,default:!0},validateTrigger:{type:Array,default:()=>["onInputChange","onLazyChange","onIncrement","onDecrement"]},rules:Array,onBeforeChange:b(),onChange:b(),onIncrement:b(),onDecrement:b(),"onUpdate:modelValue":b()},Q=100,X=600,{name:Ce,n:Be,classes:Ve}=ye("counter"),De=ie({name:Ce,components:{VarButton:oe,VarIcon:ae,VarFormDetails:te},directives:{Ripple:le},inheritAttrs:!1,props:Te,setup(e){const d=se(""),{bindForm:$,form:E}=re(),{errorMessage:F,validateWithTrigger:P,validate:v,resetValidation:m}=be(),{readonly:s,disabled:r}=E??{},A=J(()=>{const{max:n,modelValue:a}=e;return n!=null&&o(a)>=o(n)}),W=J(()=>{const{min:n,modelValue:a}=e;return n!=null&&o(a)<=o(n)});let T,C,B,V;u($,{reset:q,validate:R,resetValidation:m}),ue(()=>e.modelValue,n=>{f(c(String(n))),u(e.onChange,o(n))}),f(c(String(e.modelValue)));function R(){return v(e.rules,e.modelValue)}function y(n){de(()=>{const{validateTrigger:a,rules:l,modelValue:i}=e;P(a,n,l,i)})}function q(){const{min:n}=e;u(e["onUpdate:modelValue"],n!=null?o(n):0),m()}function c(n){const{decimalLength:a,max:l,min:i}=e;let t=o(n);return l!=null&&t>o(l)&&(t=o(l)),i!=null&&t{H()},X))}function x(){const{press:n,lazyChange:a}=e;!n||a||(B=window.setTimeout(()=>{j()},X))}function ee(){C&&clearTimeout(C),V&&clearTimeout(V)}function ne(){T&&clearTimeout(T),B&&clearTimeout(B)}function j(){T=window.setTimeout(()=>{Y(),j()},Q)}function H(){C=window.setTimeout(()=>{G(),H()},Q)}function f(n){d.value=n;const a=o(n);u(e["onUpdate:modelValue"],a)}function D(n){f(c(String(n))),y("onLazyChange")}return{inputValue:d,errorMessage:F,formDisabled:r,formReadonly:s,isMax:A,isMin:W,n:Be,classes:Ve,formatElevation:ve,validate:R,reset:q,resetValidation:m,handleChange:Z,decrement:G,increment:Y,pressDecrement:_,pressIncrement:x,releaseDecrement:ee,releaseIncrement:ne,toSizeUnit:ze,toNumber:o}}});const we=["inputmode","readonly","disabled"];function Ie(e,d,$,E,F,P){const v=M("var-icon"),m=M("var-button"),s=M("var-form-details");return ce(),fe("div",{class:z(e.classes(e.n(),e.n("$--box")))},[K("div",pe({class:e.classes(e.n("controller"),e.formatElevation(e.elevation,2),[e.disabled||e.formDisabled,e.n("--disabled")],[e.errorMessage,e.n("--error")]),style:{background:e.color?e.color:void 0}},e.$attrs),[p(m,{class:z(e.classes(e.n("decrement-button"),[!e.decrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:L({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.decrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableDecrement&&!e.isMin,onClick:e.decrement,onTouchstart:e.pressDecrement,onTouchend:e.releaseDecrement,onTouchcancel:e.releaseDecrement},{default:O(()=>[p(v,{name:"minus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"]),ge(K("input",{class:z(e.classes(e.n("input"),[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:L({width:e.toSizeUnit(e.inputWidth),fontSize:e.toSizeUnit(e.inputTextSize)}),inputmode:e.toNumber(e.decimalLength)===0?"numeric":"decimal",readonly:e.readonly||e.formReadonly,disabled:e.disabled||e.formDisabled||e.disableInput,"onUpdate:modelValue":d[0]||(d[0]=r=>e.inputValue=r),onChange:d[1]||(d[1]=(...r)=>e.handleChange&&e.handleChange(...r))},null,46,we),[[he,e.inputValue]]),p(m,{class:z(e.classes(e.n("increment-button"),[!e.incrementButton,e.n("--hidden")],[e.disabled||e.formDisabled,e.n("--not-allowed")])),style:L({width:e.toSizeUnit(e.buttonSize),height:e.toSizeUnit(e.buttonSize)}),round:"","var-counter-cover":"",ripple:e.ripple&&e.incrementButton&&!e.disabled&&!e.formDisabled&&!e.readonly&&!e.formReadonly&&!e.disableIncrement&&!e.isMax,onClick:e.increment,onTouchstart:e.pressIncrement,onTouchend:e.releaseIncrement,onTouchcancel:e.releaseIncrement},{default:O(()=>[p(v,{name:"plus"})]),_:1},8,["class","style","ripple","onClick","onTouchstart","onTouchend","onTouchcancel"])],16),p(s,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const Ne=me(De,[["render",Ie]]);Se(Ne);export{Ne as C}; diff --git a/assets/index-2096471a.js b/assets/index-b7d082cd.js similarity index 94% rename from assets/index-2096471a.js rename to assets/index-b7d082cd.js index a37d5f2467f..a3e02c3b753 100644 --- a/assets/index-2096471a.js +++ b/assets/index-b7d082cd.js @@ -1 +1 @@ -import{p as we,S as ge}from"./index-d408e6ab.js";import{S as Te}from"./index-8c96e01f.js";import{I as Ce}from"./index-057aa4ba.js";import{p as Ie,P as Se}from"./index-d24e7e49.js";import{d as Oe,r as d,b4 as Pe,D as W,a4 as b,a7 as De,G as ye,aD as H,aO as Re,_ as ke,b as k,e as S,f as A,w as N,q as Ne,as as $e,m as q,N as ze,O as Le,x as h,p as E,y as be,v as V,R as G,t as Z,af as Ae,W as Ee,n as Ve,ac as Be,a2 as Ye}from"./index-af5fec45.js";import{d as j,p as J,c as Fe,a as O,m as Ue,w as x}from"./components-3ae053cb.js";const Xe={show:Boolean,imagePreventDefault:Boolean,images:{type:Array,default:()=>[]},current:String,initialIndex:{type:[String,Number],default:0},zoom:{type:[String,Number],default:2},closeable:Boolean,"onUpdate:show":j(),onLongPress:j(),...J(we,["loop","indicator","onChange"]),...J(Ie,["lockScroll","teleport","onOpen","onClose","onOpened","onClosed","onRouteChange"])},{name:Me,n:K,classes:We}=Fe("image-preview"),B=12,Q=200,He=350,_=200,qe=500,Ge=Oe({name:Me,components:{VarSwipe:ge,VarSwipeItem:Te,VarPopup:Se,VarIcon:Ce},inheritAttrs:!1,props:Xe,setup(e){const i=d(!1),a=d(1),u=d(0),f=d(0),D=d(),T=d(),C=d(!0),w=d(null),{moveX:z,moveY:c,distance:m,startTime:r,startTouch:ee,moveTouch:ne,endTouch:Y}=Pe(),oe=W(()=>{const{images:n,current:o,initialIndex:t}=e;if(t!=null)return b(t);const l=n.findIndex(p=>p===o);return Math.max(l,0)}),te=W(()=>{const{imagePreventDefault:n,show:o}=e;return o&&n});let F=null,I=null,y=!1;const s={start:null,prev:null};De(()=>document,"contextmenu",he),ye(()=>e.show,n=>{i.value=n},{immediate:!0});function ae(){a.value=b(e.zoom),C.value=!1,s.prev=null,window.setTimeout(()=>{D.value="linear",T.value="0s"},_)}function U(){a.value=1,u.value=0,f.value=0,C.value=!0,s.prev=null,D.value=void 0,T.value=void 0}function se(n){return s.prev?m.value<=B&&performance.now()-r.value<=Q&&s.prev===n:!1}function ie(n){return!n||!s.start||!s.prev?!1:m.value<=B&&performance.now()-r.value{o&&M(),s.start=null},Q)}function ue(n,o){window.clearTimeout(F),window.clearTimeout(I);const t=n.currentTarget;if(s.start=t,I=window.setTimeout(()=>{y=!0,O(e.onLongPress,o)},qe),se(t)){a.value>1?U():ae();return}ee(n),s.prev=t}function X(n){const{offsetWidth:o,offsetHeight:t}=n,{naturalWidth:l,naturalHeight:p}=n.querySelector(`.${K("image")}`);return{width:o,height:t,imageRadio:p/l,rootRadio:t/o,zoom:b(e.zoom)}}function ce(n){const{zoom:o,imageRadio:t,rootRadio:l,width:p,height:R}=X(n);if(!t)return 0;const L=t>l?R/t:p;return Math.max(0,(o*L-p)/2)/o}function me(n){const{zoom:o,imageRadio:t,rootRadio:l,width:p,height:R}=X(n);if(!t)return 0;const L=t>l?R:p*t;return Math.max(0,(o*L-R)/2)/o}function pe(n){if(!s.prev)return;ne(n);const o=n.currentTarget;if(m.value>B&&window.clearTimeout(I),a.value>1){const t=ce(o),l=me(o);u.value=H(u.value+z.value,-t,t),f.value=H(f.value+c.value,-l,l)}s.prev=o}function M(){if(a.value>1){U(),setTimeout(()=>O(e["onUpdate:show"],!1),_);return}O(e["onUpdate:show"],!1)}function de(n){var o;(o=w.value)==null||o.prev(n)}function ve(n){var o;(o=w.value)==null||o.next(n)}function fe(n,o){var t;(t=w.value)==null||t.to(n,o)}function he(n){e.imagePreventDefault&&e.show&&Re(n)}return{swipeRef:w,isPreventDefault:te,initialIndex:oe,popupShow:i,scale:a,translateX:u,translateY:f,canSwipe:C,transitionTimingFunction:D,transitionDuration:T,n:K,classes:We,handleTouchstart:ue,handleTouchmove:pe,handleTouchend:le,handleTouchcancel:re,close:M,prev:de,next:ve,to:fe}}});const Ze=["onTouchstart"],je=["src","alt"];function Je(e,i,a,u,f,D){const T=k("var-swipe-item"),C=k("var-swipe"),w=k("var-icon"),z=k("var-popup");return S(),A(z,{class:h(e.n("popup")),"var-image-preview-cover":"",transition:e.n("$-fade"),show:e.popupShow,overlay:!1,"close-on-click-overlay":!1,"lock-scroll":e.lockScroll,teleport:e.teleport,onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange},{default:N(()=>[Ne(C,$e({ref:"swipeRef",class:e.n("swipe"),"var-image-preview-cover":"",touchable:e.canSwipe,indicator:e.indicator&&e.images.length>1,"initial-index":e.initialIndex,loop:e.loop,onChange:e.onChange},e.$attrs),{default:N(()=>[(S(!0),q(ze,null,Le(e.images,(c,m)=>(S(),A(T,{class:h(e.n("swipe-item")),"var-image-preview-cover":"",key:c},{default:N(()=>[E("div",{class:h(e.n("zoom-container")),style:be({transform:`scale(${e.scale}) translate(${e.translateX}px, ${e.translateY}px)`,transitionTimingFunction:e.transitionTimingFunction,transitionDuration:e.transitionDuration}),onTouchstart:r=>e.handleTouchstart(r,m),onTouchmove:i[0]||(i[0]=(...r)=>e.handleTouchmove&&e.handleTouchmove(...r)),onTouchend:i[1]||(i[1]=(...r)=>e.handleTouchend&&e.handleTouchend(...r)),onTouchcancel:i[2]||(i[2]=(...r)=>e.handleTouchcancel&&e.handleTouchcancel(...r))},[E("img",{class:h(e.classes(e.n("image"),[e.isPreventDefault,e.n("--prevent")])),src:c,alt:c},null,10,je)],46,Ze)]),_:2},1032,["class"]))),128))]),indicator:N(({index:c,length:m})=>[V(e.$slots,"indicator",{index:c,length:m},()=>[e.indicator&&e.images.length>1?(S(),q("div",{key:0,class:h(e.n("indicators"))},G(c+1)+" / "+G(m),3)):Z("",!0)])]),_:3},16,["class","touchable","indicator","initial-index","loop","onChange"]),V(e.$slots,"close-icon",{},()=>[e.closeable?(S(),A(w,{key:0,class:h(e.n("close-icon")),name:"close-circle","var-image-preview-cover":"",onClick:e.close},null,8,["class","onClick"])):Z("",!0)]),E("div",{class:h(e.n("extra"))},[V(e.$slots,"extra")],2)]),_:3},8,["class","transition","show","lock-scroll","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const $=ke(Ge,[["render",Je]]);let v,P={};function Ke(e={}){return Be(e)?{...P,images:[e]}:Ye(e)?{...P,images:e}:{...P,...e}}function g(e){if(!Ae())return;g.close();const i=Ke(e),a=Ee(i);a.teleport="body",v=a;const{unmountInstance:u}=Ue($,a,{onClose:()=>O(a.onClose),onClosed:()=>{O(a.onClosed),u(),v===a&&(v=null)},onRouteChange:()=>{u(),v===a&&(v=null)},"onUpdate:show":f=>{a.show=f}});a.show=!0}g.close=()=>{if(v!=null){const e=v;v=null,Ve().then(()=>{e.show=!1})}};g.setDefaultOptions=e=>{P=e};g.resetDefaultOptions=()=>{P={}};g.Component=$;x($);x($,g);export{g as I}; +import{p as we,S as ge}from"./index-67cbdf85.js";import{S as Te}from"./index-f71140ae.js";import{I as Ce}from"./index-2c5b74fa.js";import{p as Ie,P as Se}from"./index-0e439e92.js";import{d as Oe,r as d,b4 as Pe,D as W,a4 as b,a7 as De,G as ye,aD as H,aO as Re,_ as ke,b as k,e as S,f as A,w as N,q as Ne,as as $e,m as q,N as ze,O as Le,x as h,p as E,y as be,v as V,R as G,t as Z,af as Ae,W as Ee,n as Ve,ac as Be,a2 as Ye}from"./index-0bd4ebfc.js";import{d as j,p as J,c as Fe,a as O,m as Ue,w as x}from"./components-a5332e66.js";const Xe={show:Boolean,imagePreventDefault:Boolean,images:{type:Array,default:()=>[]},current:String,initialIndex:{type:[String,Number],default:0},zoom:{type:[String,Number],default:2},closeable:Boolean,"onUpdate:show":j(),onLongPress:j(),...J(we,["loop","indicator","onChange"]),...J(Ie,["lockScroll","teleport","onOpen","onClose","onOpened","onClosed","onRouteChange"])},{name:Me,n:K,classes:We}=Fe("image-preview"),B=12,Q=200,He=350,_=200,qe=500,Ge=Oe({name:Me,components:{VarSwipe:ge,VarSwipeItem:Te,VarPopup:Se,VarIcon:Ce},inheritAttrs:!1,props:Xe,setup(e){const i=d(!1),a=d(1),u=d(0),f=d(0),D=d(),T=d(),C=d(!0),w=d(null),{moveX:z,moveY:c,distance:m,startTime:r,startTouch:ee,moveTouch:ne,endTouch:Y}=Pe(),oe=W(()=>{const{images:n,current:o,initialIndex:t}=e;if(t!=null)return b(t);const l=n.findIndex(p=>p===o);return Math.max(l,0)}),te=W(()=>{const{imagePreventDefault:n,show:o}=e;return o&&n});let F=null,I=null,y=!1;const s={start:null,prev:null};De(()=>document,"contextmenu",he),ye(()=>e.show,n=>{i.value=n},{immediate:!0});function ae(){a.value=b(e.zoom),C.value=!1,s.prev=null,window.setTimeout(()=>{D.value="linear",T.value="0s"},_)}function U(){a.value=1,u.value=0,f.value=0,C.value=!0,s.prev=null,D.value=void 0,T.value=void 0}function se(n){return s.prev?m.value<=B&&performance.now()-r.value<=Q&&s.prev===n:!1}function ie(n){return!n||!s.start||!s.prev?!1:m.value<=B&&performance.now()-r.value{o&&M(),s.start=null},Q)}function ue(n,o){window.clearTimeout(F),window.clearTimeout(I);const t=n.currentTarget;if(s.start=t,I=window.setTimeout(()=>{y=!0,O(e.onLongPress,o)},qe),se(t)){a.value>1?U():ae();return}ee(n),s.prev=t}function X(n){const{offsetWidth:o,offsetHeight:t}=n,{naturalWidth:l,naturalHeight:p}=n.querySelector(`.${K("image")}`);return{width:o,height:t,imageRadio:p/l,rootRadio:t/o,zoom:b(e.zoom)}}function ce(n){const{zoom:o,imageRadio:t,rootRadio:l,width:p,height:R}=X(n);if(!t)return 0;const L=t>l?R/t:p;return Math.max(0,(o*L-p)/2)/o}function me(n){const{zoom:o,imageRadio:t,rootRadio:l,width:p,height:R}=X(n);if(!t)return 0;const L=t>l?R:p*t;return Math.max(0,(o*L-R)/2)/o}function pe(n){if(!s.prev)return;ne(n);const o=n.currentTarget;if(m.value>B&&window.clearTimeout(I),a.value>1){const t=ce(o),l=me(o);u.value=H(u.value+z.value,-t,t),f.value=H(f.value+c.value,-l,l)}s.prev=o}function M(){if(a.value>1){U(),setTimeout(()=>O(e["onUpdate:show"],!1),_);return}O(e["onUpdate:show"],!1)}function de(n){var o;(o=w.value)==null||o.prev(n)}function ve(n){var o;(o=w.value)==null||o.next(n)}function fe(n,o){var t;(t=w.value)==null||t.to(n,o)}function he(n){e.imagePreventDefault&&e.show&&Re(n)}return{swipeRef:w,isPreventDefault:te,initialIndex:oe,popupShow:i,scale:a,translateX:u,translateY:f,canSwipe:C,transitionTimingFunction:D,transitionDuration:T,n:K,classes:We,handleTouchstart:ue,handleTouchmove:pe,handleTouchend:le,handleTouchcancel:re,close:M,prev:de,next:ve,to:fe}}});const Ze=["onTouchstart"],je=["src","alt"];function Je(e,i,a,u,f,D){const T=k("var-swipe-item"),C=k("var-swipe"),w=k("var-icon"),z=k("var-popup");return S(),A(z,{class:h(e.n("popup")),"var-image-preview-cover":"",transition:e.n("$-fade"),show:e.popupShow,overlay:!1,"close-on-click-overlay":!1,"lock-scroll":e.lockScroll,teleport:e.teleport,onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange},{default:N(()=>[Ne(C,$e({ref:"swipeRef",class:e.n("swipe"),"var-image-preview-cover":"",touchable:e.canSwipe,indicator:e.indicator&&e.images.length>1,"initial-index":e.initialIndex,loop:e.loop,onChange:e.onChange},e.$attrs),{default:N(()=>[(S(!0),q(ze,null,Le(e.images,(c,m)=>(S(),A(T,{class:h(e.n("swipe-item")),"var-image-preview-cover":"",key:c},{default:N(()=>[E("div",{class:h(e.n("zoom-container")),style:be({transform:`scale(${e.scale}) translate(${e.translateX}px, ${e.translateY}px)`,transitionTimingFunction:e.transitionTimingFunction,transitionDuration:e.transitionDuration}),onTouchstart:r=>e.handleTouchstart(r,m),onTouchmove:i[0]||(i[0]=(...r)=>e.handleTouchmove&&e.handleTouchmove(...r)),onTouchend:i[1]||(i[1]=(...r)=>e.handleTouchend&&e.handleTouchend(...r)),onTouchcancel:i[2]||(i[2]=(...r)=>e.handleTouchcancel&&e.handleTouchcancel(...r))},[E("img",{class:h(e.classes(e.n("image"),[e.isPreventDefault,e.n("--prevent")])),src:c,alt:c},null,10,je)],46,Ze)]),_:2},1032,["class"]))),128))]),indicator:N(({index:c,length:m})=>[V(e.$slots,"indicator",{index:c,length:m},()=>[e.indicator&&e.images.length>1?(S(),q("div",{key:0,class:h(e.n("indicators"))},G(c+1)+" / "+G(m),3)):Z("",!0)])]),_:3},16,["class","touchable","indicator","initial-index","loop","onChange"]),V(e.$slots,"close-icon",{},()=>[e.closeable?(S(),A(w,{key:0,class:h(e.n("close-icon")),name:"close-circle","var-image-preview-cover":"",onClick:e.close},null,8,["class","onClick"])):Z("",!0)]),E("div",{class:h(e.n("extra"))},[V(e.$slots,"extra")],2)]),_:3},8,["class","transition","show","lock-scroll","teleport","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const $=ke(Ge,[["render",Je]]);let v,P={};function Ke(e={}){return Be(e)?{...P,images:[e]}:Ye(e)?{...P,images:e}:{...P,...e}}function g(e){if(!Ae())return;g.close();const i=Ke(e),a=Ee(i);a.teleport="body",v=a;const{unmountInstance:u}=Ue($,a,{onClose:()=>O(a.onClose),onClosed:()=>{O(a.onClosed),u(),v===a&&(v=null)},onRouteChange:()=>{u(),v===a&&(v=null)},"onUpdate:show":f=>{a.show=f}});a.show=!0}g.close=()=>{if(v!=null){const e=v;v=null,Ve().then(()=>{e.show=!1})}};g.setDefaultOptions=e=>{P=e};g.resetDefaultOptions=()=>{P={}};g.Component=$;x($);x($,g);export{g as I}; diff --git a/assets/index-38011882.js b/assets/index-b9b5d07e.js similarity index 89% rename from assets/index-38011882.js rename to assets/index-b9b5d07e.js index 265ae2e6fec..66af867fb9d 100644 --- a/assets/index-38011882.js +++ b/assets/index-b9b5d07e.js @@ -1 +1 @@ -import{R as r,a as g}from"./index-76cdf136.js";import{I as y}from"./index-057aa4ba.js";import{d as R}from"./index-d8fbf18c.js";import{_ as A,W as C,aW as N,F as I,al as M,e as z,m as w,q as l,w as u,U as e,aX as i,p as S,R as a,N as B,Q as o,$ as D,a0 as $}from"./index-af5fec45.js";import{u as E,b as x,_ as F,c as L,a as P}from"./index-2b61c8d0.js";import{A as n}from"./appType-53211ea9.js";import"./provide-c979a783.js";import"./components-3ae053cb.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-8bbf4ef8.js";import"./index-2c1498a1.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";const T={basicUsage:"基本使用",currentValue:"当前的值:",setState:"设置状态值",setStyle:"修改图标和颜色",disabled:"禁用",readonly:"只读",eat:"吃饭",sleep:"睡觉",checkAll:"全选",inverseAll:"反选",radioGroup:"单选框组",vertical:"垂直布局",radioValidate:"单选框字段校验",radioGroupValidate:"单选框组字段校验",radioValidateMessage:"请勾选",radioGroupValidateMessage:"必须选择吃饭"},W={basicUsage:"Basic Usage",currentValue:"Current value:",setState:"Set State Value",setStyle:"Modify Icon And Color",disabled:"Disabled",readonly:"Readonly",eat:"Eat",sleep:"Sleep",checkAll:"Check All",inverseAll:"Inverse All",radioGroup:"RadioGroup",vertical:"Vertical Direction",radioValidate:"Radio Validation",radioGroupValidate:"RadioGroup Validate",radioValidateMessage:"Please check your choice",radioGroupValidateMessage:"Please check eat"},{add:G,use:q,pack:t,packs:Ve,merge:ve}=E(),Q=c=>{P(c),q(c)};x("zh-CN",F);x("en-US",L);G("zh-CN",T);G("en-US",W);const X=c=>(D("data-v-020c0cea"),c=c(),$(),c),j={class:"relation"},H={class:"relation"},J={class:"relation"},K=X(()=>S("div",{class:"space"},null,-1)),O={__name:"index",setup(c){const b=C({value:!1,value2:0,value3:!1,value4:!1,value5:!1,value6:0,value7:!1,value8:0,value9:0}),{value:p,value2:m,value3:V,value4:v,value5:f,value6:_,value7:k,value8:U,value9:h}=N(b);return I(Q),M(R),(Y,s)=>(z(),w(B,null,[l(e(n),null,{default:u(()=>[o(a(e(t).basicUsage),1)]),_:1}),l(e(r),{modelValue:e(p),"onUpdate:modelValue":s[0]||(s[0]=d=>i(p)?p.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(p)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).setState),1)]),_:1}),l(e(r),{"unchecked-value":0,"checked-value":1,modelValue:e(m),"onUpdate:modelValue":s[1]||(s[1]=d=>i(m)?m.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(m)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).setStyle),1)]),_:1}),l(e(r),{"unchecked-color":"#e99eb4","checked-color":"#f44336",modelValue:e(V),"onUpdate:modelValue":s[2]||(s[2]=d=>i(V)?V.value=d:null)},{"unchecked-icon":u(()=>[l(e(y),{name:"heart-half-full",size:"24px"})]),"checked-icon":u(()=>[l(e(y),{name:"heart",size:"24px"})]),default:u(()=>[o(a(e(t).currentValue)+" "+a(e(V)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).disabled),1)]),_:1}),l(e(r),{disabled:"",modelValue:e(v),"onUpdate:modelValue":s[3]||(s[3]=d=>i(v)?v.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(v)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).readonly),1)]),_:1}),l(e(r),{readonly:"",modelValue:e(f),"onUpdate:modelValue":s[4]||(s[4]=d=>i(f)?f.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(f)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).radioGroup),1)]),_:1}),l(e(g),{modelValue:e(_),"onUpdate:modelValue":s[5]||(s[5]=d=>i(_)?_.value=d:null)},{default:u(()=>[l(e(r),{"checked-value":0},{default:u(()=>[o(a(e(t).eat),1)]),_:1}),l(e(r),{"checked-value":1},{default:u(()=>[o(a(e(t).sleep),1)]),_:1})]),_:1},8,["modelValue"]),S("div",j,a(e(t).currentValue)+" "+a(e(_)),1),l(e(n),null,{default:u(()=>[o(a(e(t).vertical),1)]),_:1}),l(e(g),{modelValue:e(h),"onUpdate:modelValue":s[6]||(s[6]=d=>i(h)?h.value=d:null),direction:"vertical"},{default:u(()=>[l(e(r),{"checked-value":0},{default:u(()=>[o(a(e(t).eat),1)]),_:1}),l(e(r),{"checked-value":1},{default:u(()=>[o(a(e(t).sleep),1)]),_:1})]),_:1},8,["modelValue"]),S("div",H,a(e(t).currentValue)+" "+a(e(h)),1),l(e(n),null,{default:u(()=>[o(a(e(t).radioValidate),1)]),_:1}),l(e(r),{modelValue:e(k),"onUpdate:modelValue":s[7]||(s[7]=d=>i(k)?k.value=d:null),rules:[d=>d||e(t).radioValidateMessage]},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(k)),1)]),_:1},8,["modelValue","rules"]),l(e(n),null,{default:u(()=>[o(a(e(t).radioGroupValidate),1)]),_:1}),l(e(g),{modelValue:e(U),"onUpdate:modelValue":s[8]||(s[8]=d=>i(U)?U.value=d:null),rules:[d=>d===0||e(t).radioGroupValidateMessage]},{default:u(()=>[l(e(r),{"checked-value":0},{default:u(()=>[o(a(e(t).eat),1)]),_:1}),l(e(r),{"checked-value":1},{default:u(()=>[o(a(e(t).sleep),1)]),_:1})]),_:1},8,["modelValue","rules"]),S("div",J,a(e(t).currentValue)+" "+a(e(U)),1),K],64))}},fe=A(O,[["__scopeId","data-v-020c0cea"]]);export{fe as default}; +import{R as r,a as g}from"./index-1ec6d5a5.js";import{I as y}from"./index-2c5b74fa.js";import{d as R}from"./index-d8fbf18c.js";import{_ as A,W as C,aW as N,F as I,al as M,e as z,m as w,q as l,w as u,U as e,aX as i,p as S,R as a,N as B,Q as o,$ as D,a0 as $}from"./index-0bd4ebfc.js";import{u as E,b as x,_ as F,c as L,a as P}from"./index-4a9c2ae2.js";import{A as n}from"./appType-a8f87391.js";import"./provide-4fc67263.js";import"./components-a5332e66.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-27fcaf7d.js";import"./index-d956da3f.js";import"./elements-23c82371.js";import"./logger-525ef361.js";const T={basicUsage:"基本使用",currentValue:"当前的值:",setState:"设置状态值",setStyle:"修改图标和颜色",disabled:"禁用",readonly:"只读",eat:"吃饭",sleep:"睡觉",checkAll:"全选",inverseAll:"反选",radioGroup:"单选框组",vertical:"垂直布局",radioValidate:"单选框字段校验",radioGroupValidate:"单选框组字段校验",radioValidateMessage:"请勾选",radioGroupValidateMessage:"必须选择吃饭"},W={basicUsage:"Basic Usage",currentValue:"Current value:",setState:"Set State Value",setStyle:"Modify Icon And Color",disabled:"Disabled",readonly:"Readonly",eat:"Eat",sleep:"Sleep",checkAll:"Check All",inverseAll:"Inverse All",radioGroup:"RadioGroup",vertical:"Vertical Direction",radioValidate:"Radio Validation",radioGroupValidate:"RadioGroup Validate",radioValidateMessage:"Please check your choice",radioGroupValidateMessage:"Please check eat"},{add:G,use:q,pack:t,packs:Ve,merge:ve}=E(),Q=c=>{P(c),q(c)};x("zh-CN",F);x("en-US",L);G("zh-CN",T);G("en-US",W);const X=c=>(D("data-v-020c0cea"),c=c(),$(),c),j={class:"relation"},H={class:"relation"},J={class:"relation"},K=X(()=>S("div",{class:"space"},null,-1)),O={__name:"index",setup(c){const b=C({value:!1,value2:0,value3:!1,value4:!1,value5:!1,value6:0,value7:!1,value8:0,value9:0}),{value:p,value2:m,value3:V,value4:v,value5:f,value6:_,value7:k,value8:U,value9:h}=N(b);return I(Q),M(R),(Y,s)=>(z(),w(B,null,[l(e(n),null,{default:u(()=>[o(a(e(t).basicUsage),1)]),_:1}),l(e(r),{modelValue:e(p),"onUpdate:modelValue":s[0]||(s[0]=d=>i(p)?p.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(p)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).setState),1)]),_:1}),l(e(r),{"unchecked-value":0,"checked-value":1,modelValue:e(m),"onUpdate:modelValue":s[1]||(s[1]=d=>i(m)?m.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(m)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).setStyle),1)]),_:1}),l(e(r),{"unchecked-color":"#e99eb4","checked-color":"#f44336",modelValue:e(V),"onUpdate:modelValue":s[2]||(s[2]=d=>i(V)?V.value=d:null)},{"unchecked-icon":u(()=>[l(e(y),{name:"heart-half-full",size:"24px"})]),"checked-icon":u(()=>[l(e(y),{name:"heart",size:"24px"})]),default:u(()=>[o(a(e(t).currentValue)+" "+a(e(V)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).disabled),1)]),_:1}),l(e(r),{disabled:"",modelValue:e(v),"onUpdate:modelValue":s[3]||(s[3]=d=>i(v)?v.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(v)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).readonly),1)]),_:1}),l(e(r),{readonly:"",modelValue:e(f),"onUpdate:modelValue":s[4]||(s[4]=d=>i(f)?f.value=d:null)},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(f)),1)]),_:1},8,["modelValue"]),l(e(n),null,{default:u(()=>[o(a(e(t).radioGroup),1)]),_:1}),l(e(g),{modelValue:e(_),"onUpdate:modelValue":s[5]||(s[5]=d=>i(_)?_.value=d:null)},{default:u(()=>[l(e(r),{"checked-value":0},{default:u(()=>[o(a(e(t).eat),1)]),_:1}),l(e(r),{"checked-value":1},{default:u(()=>[o(a(e(t).sleep),1)]),_:1})]),_:1},8,["modelValue"]),S("div",j,a(e(t).currentValue)+" "+a(e(_)),1),l(e(n),null,{default:u(()=>[o(a(e(t).vertical),1)]),_:1}),l(e(g),{modelValue:e(h),"onUpdate:modelValue":s[6]||(s[6]=d=>i(h)?h.value=d:null),direction:"vertical"},{default:u(()=>[l(e(r),{"checked-value":0},{default:u(()=>[o(a(e(t).eat),1)]),_:1}),l(e(r),{"checked-value":1},{default:u(()=>[o(a(e(t).sleep),1)]),_:1})]),_:1},8,["modelValue"]),S("div",H,a(e(t).currentValue)+" "+a(e(h)),1),l(e(n),null,{default:u(()=>[o(a(e(t).radioValidate),1)]),_:1}),l(e(r),{modelValue:e(k),"onUpdate:modelValue":s[7]||(s[7]=d=>i(k)?k.value=d:null),rules:[d=>d||e(t).radioValidateMessage]},{default:u(()=>[o(a(e(t).currentValue)+" "+a(e(k)),1)]),_:1},8,["modelValue","rules"]),l(e(n),null,{default:u(()=>[o(a(e(t).radioGroupValidate),1)]),_:1}),l(e(g),{modelValue:e(U),"onUpdate:modelValue":s[8]||(s[8]=d=>i(U)?U.value=d:null),rules:[d=>d===0||e(t).radioGroupValidateMessage]},{default:u(()=>[l(e(r),{"checked-value":0},{default:u(()=>[o(a(e(t).eat),1)]),_:1}),l(e(r),{"checked-value":1},{default:u(()=>[o(a(e(t).sleep),1)]),_:1})]),_:1},8,["modelValue","rules"]),S("div",J,a(e(t).currentValue)+" "+a(e(U)),1),K],64))}},fe=A(O,[["__scopeId","data-v-020c0cea"]]);export{fe as default}; diff --git a/assets/index-ba1a9006.js b/assets/index-bae97d31.js similarity index 95% rename from assets/index-ba1a9006.js rename to assets/index-bae97d31.js index 03b43f33735..4e8b2928f0c 100644 --- a/assets/index-ba1a9006.js +++ b/assets/index-bae97d31.js @@ -1,2 +1,2 @@ -import{F as Z,u as x}from"./provide-c979a783.js";import{p as _,F as ee}from"./index-939959a8.js";import{d as u,p as oe,h as ne,a as i,c as re,w as ae}from"./components-3ae053cb.js";import{d as le,aM as se,r as w,D as f,aN as z,at as ie,aO as de,n as te,a4 as ue,_ as me,b as D,e as g,m as C,q as T,aP as E,w as y,v as F,x as v,y as I,t as pe,aQ as he,aR as fe,M as ge}from"./index-af5fec45.js";const Ce={modelValue:String,modelModifiers:{type:Object,default:()=>({})},type:{type:String,default:"text"},textarea:Boolean,rows:{type:[String,Number],default:8},maxlength:[String,Number],readonly:Boolean,resize:Boolean,autofocus:Boolean,validateTrigger:{type:Array,default:()=>["onInput","onClear"]},rules:Array,enterkeyhint:String,onFocus:u(),onBlur:u(),onInput:u(),onChange:u(),onClear:u(),"onUpdate:modelValue":u(),...oe(_,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])},{name:ye,n:ve,classes:be}=re("input"),ke=le({name:ye,components:{VarFormDetails:Z,VarFieldDecorator:ee},props:Ce,setup(e){const n=se(),m=w(null),p=w(!1),d=w(!1),{bindForm:V,form:l}=x(),{errorMessage:h,validateWithTrigger:r,validate:c,resetValidation:b}=ne(),N=f(()=>e.disabled||e.readonly?"":"text"),P=f(()=>e.type==="number"?"text":e.type),R=f(()=>{const{maxlength:o,modelValue:a}=e;return o?z(a)?`0 / ${o}`:`${String(a).length}/${o}`:""}),O=f(()=>{const{hint:o,blurColor:a,focusColor:s}=e;if(!o)return h.value?"var(--field-decorator-error-color)":p.value?s||"var(--field-decorator-focus-color)":a||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"});i(V,{reset:S,validate:$,resetValidation:b}),ie(()=>{e.autofocus&&k()});function t(o){te(()=>{const{validateTrigger:a,rules:s,modelValue:M}=e;r(a,o,s,M)})}function U(o){p.value=!0,i(e.onFocus,o),t("onFocus")}function A(o){p.value=!1,i(e.onBlur,o),t("onBlur")}function B(o){const a=o.target;let{value:s}=a;return e.type==="number"&&(s=H(s)),K(J(s))}function W(){d.value=!0}function j(o){d.value&&(d.value=!1,o.target.dispatchEvent(new Event("input")))}function q(o){if(d.value)return;const a=B(o);i(e["onUpdate:modelValue"],a),i(e.onInput,a,o),t("onInput")}function L(o){const a=B(o);i(e.onChange,a,o),t("onChange")}function Q(){const{disabled:o,readonly:a,clearable:s,onClear:M}=e;l!=null&&l.disabled.value||l!=null&&l.readonly.value||o||a||!s||(i(e["onUpdate:modelValue"],""),i(M,""),t("onClear"))}function G(o){const{disabled:a,onClick:s}=e;l!=null&&l.disabled.value||a||(i(s,o),t("onClick"))}function H(o){const a=o.indexOf("-"),s=o.indexOf(".");return a>-1&&(o=a===0?"-"+o.replace(/-/g,""):o.replace(/-/g,"")),s>-1&&(o=o.slice(0,s+1)+o.slice(s).replace(/\./g,"")),o.replace(/[^-0-9.]/g,"")}function J(o){return e.modelModifiers.trim?o.trim():o}function K(o){return e.maxlength?o.slice(0,ue(e.maxlength)):o}function X(o){const{disabled:a}=e;l!=null&&l.disabled.value||a||o.target===m.value||(k(),de(o))}function S(){i(e["onUpdate:modelValue"],""),b()}function $(){return c(e.rules,e.modelValue)}function k(){var o;(o=m.value)==null||o.focus()}function Y(){m.value.blur()}return{el:m,id:n,isFocus:p,isComposing:d,errorMessage:h,placeholderColor:O,normalizedType:P,cursor:N,maxlengthText:R,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,n:ve,classes:be,isEmpty:z,handleFocus:U,handleBlur:A,handleInput:q,handleChange:L,handleClear:Q,handleClick:G,handleCompositionStart:W,handleCompositionEnd:j,handleMousedown:X,validate:$,resetValidation:b,reset:S,focus:k,blur:Y}}});const Me=["placeholder","enterkeyhint"],we=["id","disabled","readonly","type","value","placeholder","maxlength","rows","enterkeyhint","inputmode"],Fe=["id","disabled","readonly","type","value","placeholder","maxlength","enterkeyhint","inputmode"];function Ie(e,n,m,p,d,V){const l=D("var-field-decorator"),h=D("var-form-details");return g(),C("div",{class:v(e.classes(e.n(),e.n("$--box"))),onMousedown:n[13]||(n[13]=(...r)=>e.handleMousedown&&e.handleMousedown(...r))},[T(l,he(fe({value:e.modelValue,id:e.id,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,composing:e.isComposing,onClick:e.handleClick,onClear:e.handleClear})),E({"append-icon":y(()=>[F(e.$slots,"append-icon")]),default:y(()=>[e.normalizedType==="password"?(g(),C("input",{key:0,tabindex:"-1",class:v(e.n("autocomplete")),placeholder:e.hint?void 0:e.placeholder,style:I({"--input-placeholder-color":e.placeholderColor}),enterkeyhint:e.enterkeyhint},null,14,Me)):pe("",!0),e.textarea?(g(),C("textarea",{key:1,class:v(e.classes(e.n("input"),e.n("--textarea"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,rows:e.rows,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:I({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,resize:e.resize?"vertical":"none","--input-placeholder-color":e.placeholderColor}),onFocus:n[0]||(n[0]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[1]||(n[1]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[2]||(n[2]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[3]||(n[3]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[4]||(n[4]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[5]||(n[5]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},` +import{F as Z,u as x}from"./provide-4fc67263.js";import{p as _,F as ee}from"./index-d5ac26b6.js";import{d as u,p as oe,h as ne,a as i,c as re,w as ae}from"./components-a5332e66.js";import{d as le,aM as se,r as w,D as f,aN as z,at as ie,aO as de,n as te,a4 as ue,_ as me,b as D,e as g,m as C,q as T,aP as E,w as y,v as F,x as v,y as I,t as pe,aQ as he,aR as fe,M as ge}from"./index-0bd4ebfc.js";const Ce={modelValue:String,modelModifiers:{type:Object,default:()=>({})},type:{type:String,default:"text"},textarea:Boolean,rows:{type:[String,Number],default:8},maxlength:[String,Number],readonly:Boolean,resize:Boolean,autofocus:Boolean,validateTrigger:{type:Array,default:()=>["onInput","onClear"]},rules:Array,enterkeyhint:String,onFocus:u(),onBlur:u(),onInput:u(),onChange:u(),onClear:u(),"onUpdate:modelValue":u(),...oe(_,["size","variant","placeholder","line","hint","textColor","focusColor","blurColor","disabled","clearable","onClick"])},{name:ye,n:ve,classes:be}=re("input"),ke=le({name:ye,components:{VarFormDetails:Z,VarFieldDecorator:ee},props:Ce,setup(e){const n=se(),m=w(null),p=w(!1),d=w(!1),{bindForm:V,form:l}=x(),{errorMessage:h,validateWithTrigger:r,validate:c,resetValidation:b}=ne(),N=f(()=>e.disabled||e.readonly?"":"text"),P=f(()=>e.type==="number"?"text":e.type),R=f(()=>{const{maxlength:o,modelValue:a}=e;return o?z(a)?`0 / ${o}`:`${String(a).length}/${o}`:""}),O=f(()=>{const{hint:o,blurColor:a,focusColor:s}=e;if(!o)return h.value?"var(--field-decorator-error-color)":p.value?s||"var(--field-decorator-focus-color)":a||"var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))"});i(V,{reset:S,validate:$,resetValidation:b}),ie(()=>{e.autofocus&&k()});function t(o){te(()=>{const{validateTrigger:a,rules:s,modelValue:M}=e;r(a,o,s,M)})}function U(o){p.value=!0,i(e.onFocus,o),t("onFocus")}function A(o){p.value=!1,i(e.onBlur,o),t("onBlur")}function B(o){const a=o.target;let{value:s}=a;return e.type==="number"&&(s=H(s)),K(J(s))}function W(){d.value=!0}function j(o){d.value&&(d.value=!1,o.target.dispatchEvent(new Event("input")))}function q(o){if(d.value)return;const a=B(o);i(e["onUpdate:modelValue"],a),i(e.onInput,a,o),t("onInput")}function L(o){const a=B(o);i(e.onChange,a,o),t("onChange")}function Q(){const{disabled:o,readonly:a,clearable:s,onClear:M}=e;l!=null&&l.disabled.value||l!=null&&l.readonly.value||o||a||!s||(i(e["onUpdate:modelValue"],""),i(M,""),t("onClear"))}function G(o){const{disabled:a,onClick:s}=e;l!=null&&l.disabled.value||a||(i(s,o),t("onClick"))}function H(o){const a=o.indexOf("-"),s=o.indexOf(".");return a>-1&&(o=a===0?"-"+o.replace(/-/g,""):o.replace(/-/g,"")),s>-1&&(o=o.slice(0,s+1)+o.slice(s).replace(/\./g,"")),o.replace(/[^-0-9.]/g,"")}function J(o){return e.modelModifiers.trim?o.trim():o}function K(o){return e.maxlength?o.slice(0,ue(e.maxlength)):o}function X(o){const{disabled:a}=e;l!=null&&l.disabled.value||a||o.target===m.value||(k(),de(o))}function S(){i(e["onUpdate:modelValue"],""),b()}function $(){return c(e.rules,e.modelValue)}function k(){var o;(o=m.value)==null||o.focus()}function Y(){m.value.blur()}return{el:m,id:n,isFocus:p,isComposing:d,errorMessage:h,placeholderColor:O,normalizedType:P,cursor:N,maxlengthText:R,formDisabled:l==null?void 0:l.disabled,formReadonly:l==null?void 0:l.readonly,n:ve,classes:be,isEmpty:z,handleFocus:U,handleBlur:A,handleInput:q,handleChange:L,handleClear:Q,handleClick:G,handleCompositionStart:W,handleCompositionEnd:j,handleMousedown:X,validate:$,resetValidation:b,reset:S,focus:k,blur:Y}}});const Me=["placeholder","enterkeyhint"],we=["id","disabled","readonly","type","value","placeholder","maxlength","rows","enterkeyhint","inputmode"],Fe=["id","disabled","readonly","type","value","placeholder","maxlength","enterkeyhint","inputmode"];function Ie(e,n,m,p,d,V){const l=D("var-field-decorator"),h=D("var-form-details");return g(),C("div",{class:v(e.classes(e.n(),e.n("$--box"))),onMousedown:n[13]||(n[13]=(...r)=>e.handleMousedown&&e.handleMousedown(...r))},[T(l,he(fe({value:e.modelValue,id:e.id,size:e.size,variant:e.variant,placeholder:e.placeholder,line:e.line,hint:e.hint,textColor:e.textColor,focusColor:e.focusColor,blurColor:e.blurColor,isFocus:e.isFocus,errorMessage:e.errorMessage,formDisabled:e.formDisabled,disabled:e.disabled,clearable:e.clearable,cursor:e.cursor,composing:e.isComposing,onClick:e.handleClick,onClear:e.handleClear})),E({"append-icon":y(()=>[F(e.$slots,"append-icon")]),default:y(()=>[e.normalizedType==="password"?(g(),C("input",{key:0,tabindex:"-1",class:v(e.n("autocomplete")),placeholder:e.hint?void 0:e.placeholder,style:I({"--input-placeholder-color":e.placeholderColor}),enterkeyhint:e.enterkeyhint},null,14,Me)):pe("",!0),e.textarea?(g(),C("textarea",{key:1,class:v(e.classes(e.n("input"),e.n("--textarea"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,rows:e.rows,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:I({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,resize:e.resize?"vertical":"none","--input-placeholder-color":e.placeholderColor}),onFocus:n[0]||(n[0]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[1]||(n[1]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[2]||(n[2]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[3]||(n[3]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[4]||(n[4]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[5]||(n[5]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},` `,46,we)):(g(),C("input",{key:2,class:v(e.classes(e.n("input"),[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],[e.errorMessage,e.n("--caret-error")])),ref:"el",autocomplete:"new-password",id:e.id,disabled:e.formDisabled||e.disabled,readonly:e.formReadonly||e.readonly,type:e.normalizedType,value:e.modelValue,placeholder:e.hint?void 0:e.placeholder,maxlength:e.maxlength,enterkeyhint:e.enterkeyhint,inputmode:e.type==="number"?"numeric":void 0,style:I({color:e.errorMessage?void 0:e.textColor,caretColor:e.errorMessage?void 0:e.focusColor,"--input-placeholder-color":e.placeholderColor}),onFocus:n[6]||(n[6]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onBlur:n[7]||(n[7]=(...r)=>e.handleBlur&&e.handleBlur(...r)),onInput:n[8]||(n[8]=(...r)=>e.handleInput&&e.handleInput(...r)),onChange:n[9]||(n[9]=(...r)=>e.handleChange&&e.handleChange(...r)),onCompositionstart:n[10]||(n[10]=(...r)=>e.handleCompositionStart&&e.handleCompositionStart(...r)),onCompositionend:n[11]||(n[11]=(...r)=>e.handleCompositionEnd&&e.handleCompositionEnd(...r))},null,46,Fe))]),_:2},[e.$slots["prepend-icon"]?{name:"prepend-icon",fn:y(()=>[F(e.$slots,"prepend-icon")]),key:"0"}:void 0]),1040),T(h,{"error-message":e.errorMessage,"extra-message":e.maxlengthText,onMousedown:n[12]||(n[12]=ge(()=>{},["stop"]))},E({_:2},[e.$slots["extra-message"]?{name:"extra-message",fn:y(()=>[F(e.$slots,"extra-message")]),key:"0"}:void 0]),1032,["error-message","extra-message"])],34)}const Ve=me(ke,[["render",Ie]]);ae(Ve);export{Ve as I}; diff --git a/assets/index-50f6abd4.js b/assets/index-bf94e46f.js similarity index 94% rename from assets/index-50f6abd4.js rename to assets/index-bf94e46f.js index 84ddf5074aa..a5f4bd9ab36 100644 --- a/assets/index-50f6abd4.js +++ b/assets/index-bf94e46f.js @@ -1 +1 @@ -import{p as U,S as _}from"./index-2684e5c7.js";import{a1 as x,d as K,r as l,D as s,G as H,a8 as ee,aC as ae,T as ie,j as te,ae as oe,aD as ne,_ as V,e as Z,f as se,w as le,p as T,as as re,x as z,v as j,y as Y,an as ce,a3 as de,L as ue,P as fe,m as ve}from"./index-af5fec45.js";import{p as W,d as B,f as me,c as G,a as $,w as q}from"./components-3ae053cb.js";import{l as M}from"./shared-de177aa1.js";import{a as be,s as X}from"./elements-68ad626b.js";import{v as ye}from"./index-2b41cfe8.js";import{e as Ce}from"./logger-525ef361.js";const he={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:"horizontal"},itemDirection:{type:String,default:"horizontal"},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:"auto"},indicatorPosition:{type:String,default:"normal"},safeArea:Boolean,sticky:Boolean,stickyCssMode:W(U,"cssMode"),stickyZIndex:W(U,"zIndex"),offsetTop:W(U,"offsetTop"),onClick:B(),onChange:B(),"onUpdate:active":B()},F=Symbol("TABS_BIND_TAB_KEY");function $e(){const{childProviders:e,bindChildren:t,length:n}=x(F);return{length:n,tabList:e,bindTabList:t}}const{name:pe,n:ke,classes:Se}=G("tabs"),ge=K({name:pe,components:{VarSticky:_},inheritAttrs:!1,props:he,setup(e){const t=l("0px"),n=l("0px"),r=l("0px"),c=l("0px"),o=l(!1),d=l(null),m=s(()=>e.active),P=s(()=>e.activeColor),b=s(()=>e.inactiveColor),p=s(()=>e.disabledColor),k=s(()=>e.itemDirection),y=l(null),w=s(()=>e.indicatorPosition==="reverse"?"-reverse":""),{tabList:C,bindTabList:S,length:u}=$e();S({active:m,activeColor:P,inactiveColor:b,disabledColor:p,itemDirection:k,resize:f,onTabClick:A}),H(()=>u.value,async()=>{await te(),f()}),H(()=>[e.active,e.scrollable],f),ee(f),ae(f);function A(i){const a=i.name.value??i.index.value,{active:v,onChange:h,onClick:Q}=e;$(e["onUpdate:active"],a),$(Q,a),a!==v&&$(h,a)}function N(){return C.find(({name:i})=>e.active===i.value)}function g(i){return C.find(({index:a})=>(i??e.active)===a.value)}function E(){if(u.value===0)return;const{active:i}=e;if(oe(i)){const a=ne(i,0,u.value-1);return $(e["onUpdate:active"],a),g(a)}}function I(){o.value=e.scrollable==="always"||C.length>=5}function L({element:i}){const a=i.value;a&&(e.layoutDirection==="horizontal"?(t.value=`${a.offsetWidth}px`,r.value=`${a.offsetLeft}px`):(n.value=`${a.offsetHeight}px`,c.value=`${a.offsetTop}px`))}function J({element:i}){if(!o.value)return;const a=d.value,v=i.value;if(e.layoutDirection==="horizontal"){const h=v.offsetLeft+v.offsetWidth/2-a.offsetWidth/2;X(a,{left:h,animation:M})}else{const h=v.offsetTop+v.offsetHeight/2-a.offsetHeight/2;X(a,{top:h,animation:M})}}function f(){const i=N()||g()||E();!i||i.disabled.value||(I(),L(i),J(i))}async function O(){e.sticky&&y.value&&await y.value.resize()}return{stickyComponent:y,indicatorWidth:t,indicatorHeight:n,indicatorX:r,indicatorY:c,indicatorPosition:w,localScrollable:o,scrollerEl:d,Transition:ie,toSizeUnit:be,n:ke,classes:Se,resize:f,resizeSticky:O,formatElevation:me}}});function Te(e,t,n,r,c,o){return Z(),se(ce(e.sticky?e.n("$-sticky"):e.Transition),{ref:e.sticky?"stickyComponent":void 0,"css-mode":e.sticky?e.stickyCssMode:void 0,"offset-top":e.sticky?e.offsetTop:void 0,"z-index":e.sticky?e.stickyZIndex:void 0},{default:le(()=>[T("div",re({class:e.classes(e.n(),e.n("$--box"),e.n(`--item-${e.itemDirection}`),e.n(`--layout-${e.layoutDirection}-padding`),e.formatElevation(e.elevation,4),[e.fixedBottom,e.n("--fixed-bottom")],[e.safeArea,e.n("--safe-area")]),style:{background:e.color}},e.$attrs),[T("div",{ref:"scrollerEl",class:z(e.classes(e.n("tab-wrap"),[e.localScrollable,e.n(`--layout-${e.layoutDirection}-scrollable`)],e.n(`--layout-${e.layoutDirection}`)))},[j(e.$slots,"default"),T("div",{class:z(e.classes(e.n("indicator"),e.n(`--layout-${e.layoutDirection}${e.indicatorPosition}-indicator`))),style:Y({width:e.layoutDirection==="horizontal"?e.indicatorWidth:e.toSizeUnit(e.indicatorSize),height:e.layoutDirection==="horizontal"?e.toSizeUnit(e.indicatorSize):e.indicatorHeight,transform:e.layoutDirection==="horizontal"?`translateX(${e.indicatorX})`:`translateY(${e.indicatorY})`})},[T("div",{class:z(e.classes(e.n("indicator-inner"),e.n(`--layout-${e.layoutDirection}-indicator-inner`))),style:Y({background:e.indicatorColor||e.activeColor})},null,6)],6)],2)],16)]),_:3},8,["css-mode","offset-top","z-index"])}const De=V(ge,[["render",Te]]);q(De);const ze={name:[String,Number],disabled:Boolean,onClick:B()};function Be(){const{parentProvider:e,bindParent:t,index:n}=de(F);return t||Ce("Tab"," must in "),{index:n,tabs:e,bindTabs:t}}const{name:Pe,n:D,classes:we}=G("tab"),Ae=K({name:Pe,directives:{Ripple:ye},props:ze,setup(e){const t=l(null),n=s(()=>t.value),r=s(()=>e.name),c=s(()=>e.disabled),{index:o,tabs:d,bindTabs:m}=Be(),{onTabClick:P,active:b,activeColor:p,inactiveColor:k,disabledColor:y,itemDirection:w,resize:C}=d,S={name:r,index:o,disabled:c,element:n};m(S),H(()=>[e.name,e.disabled],C);function u(){return e.name!=null?b.value===e.name:b.value===(o==null?void 0:o.value)}function R(){return e.disabled?y.value:u()?p.value:k.value}function A(){return e.disabled?D("$-tab--disabled"):u()?D("$-tab--active"):D("$-tab--inactive")}function N(g){const{disabled:E,name:I,onClick:L}=e;E||($(L,I??o.value,g),P(S))}return{tabEl:t,active:b,activeColor:p,inactiveColor:k,itemDirection:w,n:D,classes:we,computeColorStyle:R,computeColorClass:A,handleClick:N}}});function Ne(e,t,n,r,c,o){const d=ue("ripple");return fe((Z(),ve("div",{class:z(e.classes(e.n(),e.n("$--box"),e.computeColorClass(),e.n(`--${e.itemDirection}`))),ref:"tabEl",style:Y({color:e.computeColorStyle()}),onClick:t[0]||(t[0]=(...m)=>e.handleClick&&e.handleClick(...m))},[j(e.$slots,"default")],6)),[[d,{disabled:e.disabled}]])}const Ee=V(Ae,[["render",Ne]]);q(Ee);export{De as T,Ee as a}; +import{p as U,S as _}from"./index-482a9388.js";import{a1 as x,d as K,r as l,D as s,G as H,a8 as ee,aC as ae,T as ie,j as te,ae as oe,aD as ne,_ as V,e as Z,f as se,w as le,p as T,as as re,x as z,v as j,y as Y,an as ce,a3 as de,L as ue,P as fe,m as ve}from"./index-0bd4ebfc.js";import{p as W,d as B,f as me,c as G,a as $,w as q}from"./components-a5332e66.js";import{l as M}from"./shared-a3ff1edc.js";import{a as be,s as X}from"./elements-23c82371.js";import{v as ye}from"./index-28dcc9be.js";import{e as Ce}from"./logger-525ef361.js";const he={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:"horizontal"},itemDirection:{type:String,default:"horizontal"},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:"auto"},indicatorPosition:{type:String,default:"normal"},safeArea:Boolean,sticky:Boolean,stickyCssMode:W(U,"cssMode"),stickyZIndex:W(U,"zIndex"),offsetTop:W(U,"offsetTop"),onClick:B(),onChange:B(),"onUpdate:active":B()},F=Symbol("TABS_BIND_TAB_KEY");function $e(){const{childProviders:e,bindChildren:t,length:n}=x(F);return{length:n,tabList:e,bindTabList:t}}const{name:pe,n:ke,classes:Se}=G("tabs"),ge=K({name:pe,components:{VarSticky:_},inheritAttrs:!1,props:he,setup(e){const t=l("0px"),n=l("0px"),r=l("0px"),c=l("0px"),o=l(!1),d=l(null),m=s(()=>e.active),P=s(()=>e.activeColor),b=s(()=>e.inactiveColor),p=s(()=>e.disabledColor),k=s(()=>e.itemDirection),y=l(null),w=s(()=>e.indicatorPosition==="reverse"?"-reverse":""),{tabList:C,bindTabList:S,length:u}=$e();S({active:m,activeColor:P,inactiveColor:b,disabledColor:p,itemDirection:k,resize:f,onTabClick:A}),H(()=>u.value,async()=>{await te(),f()}),H(()=>[e.active,e.scrollable],f),ee(f),ae(f);function A(i){const a=i.name.value??i.index.value,{active:v,onChange:h,onClick:Q}=e;$(e["onUpdate:active"],a),$(Q,a),a!==v&&$(h,a)}function N(){return C.find(({name:i})=>e.active===i.value)}function g(i){return C.find(({index:a})=>(i??e.active)===a.value)}function E(){if(u.value===0)return;const{active:i}=e;if(oe(i)){const a=ne(i,0,u.value-1);return $(e["onUpdate:active"],a),g(a)}}function I(){o.value=e.scrollable==="always"||C.length>=5}function L({element:i}){const a=i.value;a&&(e.layoutDirection==="horizontal"?(t.value=`${a.offsetWidth}px`,r.value=`${a.offsetLeft}px`):(n.value=`${a.offsetHeight}px`,c.value=`${a.offsetTop}px`))}function J({element:i}){if(!o.value)return;const a=d.value,v=i.value;if(e.layoutDirection==="horizontal"){const h=v.offsetLeft+v.offsetWidth/2-a.offsetWidth/2;X(a,{left:h,animation:M})}else{const h=v.offsetTop+v.offsetHeight/2-a.offsetHeight/2;X(a,{top:h,animation:M})}}function f(){const i=N()||g()||E();!i||i.disabled.value||(I(),L(i),J(i))}async function O(){e.sticky&&y.value&&await y.value.resize()}return{stickyComponent:y,indicatorWidth:t,indicatorHeight:n,indicatorX:r,indicatorY:c,indicatorPosition:w,localScrollable:o,scrollerEl:d,Transition:ie,toSizeUnit:be,n:ke,classes:Se,resize:f,resizeSticky:O,formatElevation:me}}});function Te(e,t,n,r,c,o){return Z(),se(ce(e.sticky?e.n("$-sticky"):e.Transition),{ref:e.sticky?"stickyComponent":void 0,"css-mode":e.sticky?e.stickyCssMode:void 0,"offset-top":e.sticky?e.offsetTop:void 0,"z-index":e.sticky?e.stickyZIndex:void 0},{default:le(()=>[T("div",re({class:e.classes(e.n(),e.n("$--box"),e.n(`--item-${e.itemDirection}`),e.n(`--layout-${e.layoutDirection}-padding`),e.formatElevation(e.elevation,4),[e.fixedBottom,e.n("--fixed-bottom")],[e.safeArea,e.n("--safe-area")]),style:{background:e.color}},e.$attrs),[T("div",{ref:"scrollerEl",class:z(e.classes(e.n("tab-wrap"),[e.localScrollable,e.n(`--layout-${e.layoutDirection}-scrollable`)],e.n(`--layout-${e.layoutDirection}`)))},[j(e.$slots,"default"),T("div",{class:z(e.classes(e.n("indicator"),e.n(`--layout-${e.layoutDirection}${e.indicatorPosition}-indicator`))),style:Y({width:e.layoutDirection==="horizontal"?e.indicatorWidth:e.toSizeUnit(e.indicatorSize),height:e.layoutDirection==="horizontal"?e.toSizeUnit(e.indicatorSize):e.indicatorHeight,transform:e.layoutDirection==="horizontal"?`translateX(${e.indicatorX})`:`translateY(${e.indicatorY})`})},[T("div",{class:z(e.classes(e.n("indicator-inner"),e.n(`--layout-${e.layoutDirection}-indicator-inner`))),style:Y({background:e.indicatorColor||e.activeColor})},null,6)],6)],2)],16)]),_:3},8,["css-mode","offset-top","z-index"])}const De=V(ge,[["render",Te]]);q(De);const ze={name:[String,Number],disabled:Boolean,onClick:B()};function Be(){const{parentProvider:e,bindParent:t,index:n}=de(F);return t||Ce("Tab"," must in "),{index:n,tabs:e,bindTabs:t}}const{name:Pe,n:D,classes:we}=G("tab"),Ae=K({name:Pe,directives:{Ripple:ye},props:ze,setup(e){const t=l(null),n=s(()=>t.value),r=s(()=>e.name),c=s(()=>e.disabled),{index:o,tabs:d,bindTabs:m}=Be(),{onTabClick:P,active:b,activeColor:p,inactiveColor:k,disabledColor:y,itemDirection:w,resize:C}=d,S={name:r,index:o,disabled:c,element:n};m(S),H(()=>[e.name,e.disabled],C);function u(){return e.name!=null?b.value===e.name:b.value===(o==null?void 0:o.value)}function R(){return e.disabled?y.value:u()?p.value:k.value}function A(){return e.disabled?D("$-tab--disabled"):u()?D("$-tab--active"):D("$-tab--inactive")}function N(g){const{disabled:E,name:I,onClick:L}=e;E||($(L,I??o.value,g),P(S))}return{tabEl:t,active:b,activeColor:p,inactiveColor:k,itemDirection:w,n:D,classes:we,computeColorStyle:R,computeColorClass:A,handleClick:N}}});function Ne(e,t,n,r,c,o){const d=ue("ripple");return fe((Z(),ve("div",{class:z(e.classes(e.n(),e.n("$--box"),e.computeColorClass(),e.n(`--${e.itemDirection}`))),ref:"tabEl",style:Y({color:e.computeColorStyle()}),onClick:t[0]||(t[0]=(...m)=>e.handleClick&&e.handleClick(...m))},[j(e.$slots,"default")],6)),[[d,{disabled:e.disabled}]])}const Ee=V(Ae,[["render",Ne]]);q(Ee);export{De as T,Ee as a}; diff --git a/assets/index-f6b4cf21.css b/assets/index-c3c035e0.css similarity index 94% rename from assets/index-f6b4cf21.css rename to assets/index-c3c035e0.css index 3802e285dfe..ad9a61c05e3 100644 --- a/assets/index-f6b4cf21.css +++ b/assets/index-c3c035e0.css @@ -1 +1 @@ -.var--box,.var--box *{box-sizing:border-box}.var--relative{position:relative}.var--absolute{position:absolute}.var--hidden{overflow:hidden}.var--lock{overflow:hidden!important}.var--block{display:block}.var--ellipsis{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.var--inline-block{display:inline-block}.var--flex{display:flex}.var--inline-flex{display:inline-flex}:root{--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--icon-size-xs: 16px;--icon-size-sm: 18px;--icon-size-md: 20px;--icon-size-lg: 22px;--color-body: #fff;--color-text: #333;--color-primary: #3a7afe;--color-info: #00afef;--color-success: #00c48f;--color-warning: #ff9f00;--color-danger: #f44336;--color-disabled: #e0e0e0;--color-text-disabled: #aaa;--opacity-disabled: .6;--cubic-bezier: cubic-bezier(.25, .8, .5, 1);--shadow-key-umbra-opacity: rgba(0, 0, 0, .2);--shadow-key-penumbra-opacity: rgba(0, 0, 0, .14);--shadow-key-ambient-opacity: rgba(0, 0, 0, .12)}@font-face{font-family:varlet-icons;src:url(data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI/skzwAAABjAAAAFZjbWFwS59H6gAAA9wAAAiYZ2x5ZkEcIbIAAA10AAA11GhlYWRhIEB+AAAA4AAAADZoaGVhA8QCPgAAALwAAAAkaG10ePoAAAAAAAHkAAAB+GxvY2ExtyP6AAAMdAAAAP5tYXhwAZcAfgAAARgAAAAgbmFtZQyVRWAAAENIAAACRnBvc3RsHylCAABFkAAAB4UAAQAAAcD/wAAAAgAAAP//AgEAAQAAAAAAAAAAAAAAAAAAAH4AAQAAAAEAAG6D+dhfDzz1AAsCAAAAAAAAAAAAAAAAAAAAAAAAAP/AAgEBwQAAAAgAAgAAAAAAAAABAAAAfgByAA8AAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEB/AGQAAUAAAFEAWYAAABHAUQBZgAAAPUAGQCEAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQPAA8SQBwP/AAC4BwQBAAAAAAQAAAAAAAAAAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAAAAAUAAAADAAAALAAAAAQAAAKsAAEAAAAAAaYAAwABAAAALAADAAoAAAKsAAQBegAAABwAEAADAAzwCfAZ8CnwOfBJ8FnwafB58InwmfEJ8RnxJP//AADwAPAQ8CDwMPBA8FDwYPBw8IDwkPEA8RDxIP//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAcAC4AQABSAGQAdgCIAJoArAC+ANAA4gD0AAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZABlAGYAZwBoAGkAagBrAGwAbQBuAG8AcABxAHIAcwB0AHUAdgB3AHgAeQB6AHsAfAB9AAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAXsAAAAAAAAAH0AAPAAAADwAAAAAAEAAPABAADwAQAAAAIAAPACAADwAgAAAAMAAPADAADwAwAAAAQAAPAEAADwBAAAAAUAAPAFAADwBQAAAAYAAPAGAADwBgAAAAcAAPAHAADwBwAAAAgAAPAIAADwCAAAAAkAAPAJAADwCQAAAAoAAPAQAADwEAAAAAsAAPARAADwEQAAAAwAAPASAADwEgAAAA0AAPATAADwEwAAAA4AAPAUAADwFAAAAA8AAPAVAADwFQAAABAAAPAWAADwFgAAABEAAPAXAADwFwAAABIAAPAYAADwGAAAABMAAPAZAADwGQAAABQAAPAgAADwIAAAABUAAPAhAADwIQAAABYAAPAiAADwIgAAABcAAPAjAADwIwAAABgAAPAkAADwJAAAABkAAPAlAADwJQAAABoAAPAmAADwJgAAABsAAPAnAADwJwAAABwAAPAoAADwKAAAAB0AAPApAADwKQAAAB4AAPAwAADwMAAAAB8AAPAxAADwMQAAACAAAPAyAADwMgAAACEAAPAzAADwMwAAACIAAPA0AADwNAAAACMAAPA1AADwNQAAACQAAPA2AADwNgAAACUAAPA3AADwNwAAACYAAPA4AADwOAAAACcAAPA5AADwOQAAACgAAPBAAADwQAAAACkAAPBBAADwQQAAACoAAPBCAADwQgAAACsAAPBDAADwQwAAACwAAPBEAADwRAAAAC0AAPBFAADwRQAAAC4AAPBGAADwRgAAAC8AAPBHAADwRwAAADAAAPBIAADwSAAAADEAAPBJAADwSQAAADIAAPBQAADwUAAAADMAAPBRAADwUQAAADQAAPBSAADwUgAAADUAAPBTAADwUwAAADYAAPBUAADwVAAAADcAAPBVAADwVQAAADgAAPBWAADwVgAAADkAAPBXAADwVwAAADoAAPBYAADwWAAAADsAAPBZAADwWQAAADwAAPBgAADwYAAAAD0AAPBhAADwYQAAAD4AAPBiAADwYgAAAD8AAPBjAADwYwAAAEAAAPBkAADwZAAAAEEAAPBlAADwZQAAAEIAAPBmAADwZgAAAEMAAPBnAADwZwAAAEQAAPBoAADwaAAAAEUAAPBpAADwaQAAAEYAAPBwAADwcAAAAEcAAPBxAADwcQAAAEgAAPByAADwcgAAAEkAAPBzAADwcwAAAEoAAPB0AADwdAAAAEsAAPB1AADwdQAAAEwAAPB2AADwdgAAAE0AAPB3AADwdwAAAE4AAPB4AADweAAAAE8AAPB5AADweQAAAFAAAPCAAADwgAAAAFEAAPCBAADwgQAAAFIAAPCCAADwggAAAFMAAPCDAADwgwAAAFQAAPCEAADwhAAAAFUAAPCFAADwhQAAAFYAAPCGAADwhgAAAFcAAPCHAADwhwAAAFgAAPCIAADwiAAAAFkAAPCJAADwiQAAAFoAAPCQAADwkAAAAFsAAPCRAADwkQAAAFwAAPCSAADwkgAAAF0AAPCTAADwkwAAAF4AAPCUAADwlAAAAF8AAPCVAADwlQAAAGAAAPCWAADwlgAAAGEAAPCXAADwlwAAAGIAAPCYAADwmAAAAGMAAPCZAADwmQAAAGQAAPEAAADxAAAAAGUAAPEBAADxAQAAAGYAAPECAADxAgAAAGcAAPEDAADxAwAAAGgAAPEEAADxBAAAAGkAAPEFAADxBQAAAGoAAPEGAADxBgAAAGsAAPEHAADxBwAAAGwAAPEIAADxCAAAAG0AAPEJAADxCQAAAG4AAPEQAADxEAAAAG8AAPERAADxEQAAAHAAAPESAADxEgAAAHEAAPETAADxEwAAAHIAAPEUAADxFAAAAHMAAPEVAADxFQAAAHQAAPEWAADxFgAAAHUAAPEXAADxFwAAAHYAAPEYAADxGAAAAHcAAPEZAADxGQAAAHgAAPEgAADxIAAAAHkAAPEhAADxIQAAAHoAAPEiAADxIgAAAHsAAPEjAADxIwAAAHwAAPEkAADxJAAAAH0AAAAAACgAYACIAMQA3AD8ASQBWgGAAaoBzgISAkYCdgKkAuQDFgNOA24DoAO4A9gEAAQuBGwEwATiBQoFOAVaBYQFxAYcBpAHPgeWB/4IPgiKCNIJIglUCZ4JxAnwChoKTgpiCoIKtAsCCzQLcgucC9IL8AwiDGAMuAzkDR4NMA1MDWANbg1+DZANog2yDb4Nyg3YDeQN+g4QDnIOjA6wDtwPCg8+D4wPyhAgEK4RNhGsEeYSGBKOEr4S1BMGEzQTqBPcFAYUYhSgFMIVIBVCFXAV+BZUFpgW5Bc0F4wXphfMF+4YHBiSGMYY/hk2GWIZmhnIGggaThp0GqAa6gAAAAIAAP/qAdYBlgAFABYAADcnNxc3FyciDgIUHgIyPgI0LgLVah5Moh6VKk88ICA8T1RPPCAgPE9Vax5Moh+AIDxPVE88ICA8T1RPPCAAAAAAAwAA/+oB1gGWAAwAGQAfAAABIg4BFB4BMj4BNC4BAyIuATQ+ATIeARQOARMHJwcXNwEAOmI5OWJ0Yjk5YjouTy4uT1xPLi5PNI03HlWrAZU5YnRiOTlidGI5/oAuT1xPLi5PXE8uAQmMNx5WqwAAAAMAAP/qAdYBlgADAAcAGAAAASM1MxUjNTMnIg4CFB4CMj4CNC4CARUqKioqFSpPPCAgPE9UTzwgIDxPAQAr1oDAIDxPVE88ICA8T1RPPCAABAAA/+oB1gGWAAMAEAAhACUAABMzNSMTIi4BND4BMh4BFA4BAyIOAhQeAjI+AjQuAgMzNSPrKioVLk8uLk9cTy4uTy4qTzwgIDxPVE88ICA8Tz8qKgEAK/7qLk9cTy4uT1xPLgGAIDxPVE88ICA8T1RPPCD+wIAAAwAAAAAB6wGWAAMABwAKAAAlIzUzFSM1MwUhAwEVKioqKv8AAdbrlWvAK2sBlQAABAAAAAAB6wGWAAIABQAJAA0AAAEDIQMTITcVMzUHFTM1AQDrAdbrof6+jCoqKgGV/msBQP7rwFZWgCsrAAAAAAMAAP/qAdYBlgADAAcAGAAAJSM1MxUjNTMDIg4CFB4CMj4CNC4CARUqKioqFSpPPCAgPE9UTzwgIDxPq4DWKwEVIDxPVE88ICA8T1RPPCAABAAA/+oB1gGWAAMABwAUACEAADczFSM1MxUjNyIOARQeATI+ATQuAQMiLgE0PgEyHgEUDgHrKioqKhU6Yjk5YnRiOTliOi5PLi5PXE8uLk+AK9aA6jlidGI5OWJ0Yjn+gC5PXE8uLk9cTy4AAgAAAAABwQGBAAUAFQAANyc3FzcXNSEiBhURFBYzITI2NRE0JtVqHkyiHv7WEhkZEgEqEhkZVWseTKIfaxkS/tYSGRkSASoSGQAAAAIAAAAAAcABgQASABgAACUhETM1IyIGFREUFjMhMjY9ASMnBxc3JwcBlf7W1dUSGRkSASoSGSvsHmDVHrcrASorGRL+1hIZGRKqFB5g1R63AAAAAAIAAAAAAcEBgQAPABMAAAEhIgYVERQWMyEyNjURNCYHESERAZX+1hIZGRIBKhIZGRL+1gGAGRL+1hIZGRIBKhIZK/7WASoAAAMAAP/qAdYBlgAMAB0AKgAAJSIuATQ+ATIeARQOAQMiDgIUHgIyPgI0LgIHIg4BFB4BMj4BNC4BAQAuTy4uT1xPLi5PLipPPCAgPE9UTzwgIDxPKh0xHR0xOjEdHTEVLk9cTy4uT1xPLgGAIDxPVE88ICA8T1RPPCBqHTE6MR0dMToxHQAAAAACAAD/6gHWAZYAGQAfAAAlFA4BIi4BND4BMzIXNyYjIg4BFB4BMj4BNSUHFzcnBwGrLk9cTy4uTy4YFyEmKjpiOTlidGI5/tQeYNUet8AuTy4uT1xPLgciDzlidGI5OWI6KR5g1R63AAIAAP/qAdYBlgAMAB0AACUiLgE0PgEyHgEUDgEDIg4CFB4CMj4CNC4CAQAuTy4uT1xPLi5PLipPPCAgPE9UTzwgIDxPFS5PXE8uLk9cTy4BgCA8T1RPPCAgPE9UTzwgAAIAAP/qAdYBlgAMABgAAAEyHgEUDgEiLgE0PgEXBycHFwcXNxc3JzcBADpiOTlidGI5OWKHTU0eTU0eTU0eTU0BlTlidGI5OWJ0YjlqTU0eTU0eTU0eTU0AAAAAAwAA/+oB1gGWAAwAGQAlAAAlIi4BND4BMh4BFA4BAyIOARQeATI+ATQuAQ8BJwcXBxc3FzcnNwEALk8uLk9cTy4uTy46Yjk5YnRiOTliAzc3Hjc3Hjc3Hjc3FS5PXE8uLk9cTy4BgDlidGI5OWJ0YjmANzceNzceNzceNzcAAAACAAAAAAHAAYEAEAAcAAABKwEiBhURFBYzITI2NRE0JgMnByc3JzcXNxcHFwGVOfESGRkSASoSGRlaTU0eTU0eTU0eTU0BgBkS/tYSGRkSASoSGf7VTU0eTU0eTU0eTU0AAAAAAwAAAAABwAGBAA8AEwAfAAABISIGFREUFjMhMjY1ETQmAyERIQ8BFwcnByc3JzcXNwGV/tYSGRkSASoSGRkS/tYBKipNTR5NTR5NTR5NTQGAGRL+1hIZGRIBKhIZ/qsBKkhNTR5NTR5NTR5NTQAAAAIAAP/qAdYBlgADABAAACUjNTMnIg4BFB4BMj4BNC4BAWvW1ms6Yjk5YnRiOTliqyrAOWJ0Yjk5YnRiOQAAAAADAAD/6gHWAZYADAAZAB0AACUiLgE0PgEyHgEUDgEDIg4BFB4BMj4BNC4BBzM1IwEALk8uLk9cTy4uTy46Yjk5YnRiOTlipdbWFS5PXE8uLk9cTy4BgDlidGI5OWJ0YjnqKgAAAQAAAAAB1gGWAAkAACUXJzcvAQ8BFwcBAIQjdJk8PJl0I1BQlmUNjY0NZZYAAAAAAgAAAAAB1gGWAAUADwAAJTUfAQcXNy8BDwEXBzcXJwEAJF5HFYWZPDyZdCOEhCN3x1YIPlu0DY2NDWWWUFCWAAIAAAAAAdYBlgAJABMAACUHNyc/AR8BBxc3LwEPARcHNxcnAQBQFUdeJCReRxWFmTw8mXQjhIQjeDFcPQhWVgg9XLQNjY0NZZZQUJYAAAAAAQAA//gB1gGBABsAAAUnJicmJyY1ND4BMzIWFz4BMzIeARUUBwYHBgcBAB9FGysUFx82IBwyEhIyHCA2HxcUKxtFBxw+HCwiJycgNh8YFBQYHzYgJyciLBw+AAACAAD/+AHWAYEACgAmAAABIgYHFTY3NjU0JicyHgEVFAcGBwYPAScmJyYnJjU0PgEzMhYXPgEBYBgpClAdKSsgIDYfFxQrG0UfH0UbKxQXHzYgHDISEjIBVRoV4EgjMiggKisfNiAnJyIsHD4cHD4cLCInJyA2HxgUFBgAAgAA//gB1gGBABoANgAAJQcnJicmJyY1NDYzMhYXMz4BMzIWFRQHBgcGEyIGBy4BIyIOARUUFxYXFh8BNzY3Njc2NTQuAQECAgJAGSgTFSsgGSsIKAgrGSArFRMoGR4cMhISMhwgNh8XFCsbRR8fRRsrFBcfNjQCAjoZKB0hHiAqHBYWHCogHiEdKBkBEhgUFBgfNiAnJyIsHD4cHD4cLCInJyA2HwAAAgAAAAABlgGAAAcAEQAAASMnIwcjFSEBFBY7ATI2NREhAZVKFmoWSgEq/usZEqoSGf8AAWsVFSv+6xIZGRIBAAAAAAADAAAAAAGrAYAAEQAVABkAABMVIxUzERQWOwEyNjURMzUjNQczFSM3MxUjwGsWGRHWERkWa4ArK1UrKwGAFSv+6xIZGRIBFSsVa8DAwAAAAAQAAAAAAasBgAARABUAGQAdAAATFSMVMxEUFjsBMjY1ETM1IzUHMxEjNxUzNTMVMzXAaxYZEdYRGRZrq9bWKysqKwGAFSv+6xIZGRIBFSsVQP7r6sDAwMAAAAAAAgAAAAABwAGBAAMAEwAAJSM1MzchIgYVERQWMyEyNjURNCYBa9bWKv7WEhkZEgEqEhkZqyqrGRL+1hIZGRIBKhIZAAADAAAAAAHBAYEAAwATABcAACURIREBMhYVERQGIyEiJjURNDYzBRUjNQGV/tYBKhIZGRL+1hIZGRIBANYrASr+1gFVGRL+1hIZGRIBKhIZqyoqAAADAAD/6gHWAZYAEAAZACYAACUiJic0NzY3NjIXFhcWFQ4BAzIWFAYiJjQ2NyIOARQeATI+ATQuAQEAJ0QVGBQgHS4dIBQYFUQnGyUlNiUlGzpiOTlidGI5OWImJSATEQ4ICAgIDhETICUBLyU1JiY1JUA5YnRiOTlidGI5AAAAAAUAAP/qAdYBlgAMABQAJgAvADgAAAEiDgEUHgEyPgE0LgEDPgEyFhcGIjcmJyYiBwYHJjU0PgEyHgEVFCciBhQWMjY0JgciJjQ2MhYUBgEAOmI5OWJ0Yjk5YqMHQz5DBy52wxUvJT4lLxUjLk9cTy6rHywsPiwsHw0TExoTEwGVOWJ0Yjk5YnRiOf6lDhgYDiVEGQ4LCw4ZLjkuTy4uTy45uSw+Kys+LGsTGxISGxMAAgAA/+oB0QGWAAgATAAAJSImNDYyFhQGNzY0Jzc+AS8BLgEPASYvATQmKwEiBhUHBgcnJgYPAQYWHwEGFBcHDgEfAR4BPwEWHwEUFjsBMjY1NzY3FxY2PwE2JicBAB8sLD4sLIABAS0DAQIrAQgENRISCAYEVgQGCBISNQQIASsCAQMtAQEtAwECKwEIBDUSEggGBFYEBggTETUECAErAgEDdSw+LCw+LDYMEgwjAwcESgMDAhUOBzgEBQUEOAcOFQIDA0oEBwMjDBIMIwMHBEoDAwIVDgc4BAUFBDgIDRUCAwNKBAcDAAQAAP/qAdEBlgAIABEAUwBxAAABMhYUBiImNDYXIgYUFjI2NCYDIiY1JyYnBwYmLwEmNj8BJzcnLgE/AT4BHwE2PwE0NjsBMhYVFxYXNzYWHwEWBg8BFwcXHgEPAQ4BLwEGDwEUBiMDBwYHJwcXBhcHFzcWHwEzNzY3FzcnNic3JwcmLwEBACMyMkYyMiMSGRkkGRk9BAYIEhI1BAgBKwIBAy0BAS0DAQIrAQgENRISCAYEVgQGCBISNQQIASsCAQMtAQEtAwECKwEIBDUSEggGBDsIJxozEC0NDS0QNBomCCAIJho0EC0NDS0QMxonCAEVMkYyMkYyKhkkGRkkGf8ABQQ4Bw4VAgMDSgQHAyMVFSMDBwRKAwMCFQ4HOAQFBQQ4Bw4VAgMDSgQHAyMVFSMDBwRKAwMCFQ4HOAQFAYA4CB4WHCEmJiIbFh4IODgIHhYbIScmIRwWHgg4AAMAAP/VAasBlgATABwAOAAAATIeARQHBgcGDwEnJicmJyY0PgEXIgYUFjI2NCYTFA4BIi4BNTQ2NxcOARUUHgEyPgE1NCYnNx4BAQAjOyIUEBwUGBQUGBQcEBQiOyMSGRkkGRmZLk9cTy4kHw0RFCI7RjsiFBENHyQBlSI6Qy0jKR4dFxcdHikjLUM6IlUZIxkZIxn+6xgnFxcnGBQjDBMHFAsOGQ4OGQ4LFAcTDCMABAAA/9UBqwGWAA0AIQAqAEQAAAEyFhUUBwYHJicmNTQ2NyIOARUUFxYXMTc2NzY3NjU0LgEHIgYUFjI2NCYTFA4BIi4BNTQ2NxcGFRQeATI+ATU0JzceAQEAIzIbFyMkFhsyIyM6I0AgIBQYFBwQFCM6IxIZGSQZGZkuT1xPLiMfDSQiO0Y7IiYMISQBazIkHzMqLC8oMx4kMioiOyM8XS8iFx0eKSMsICM7IlUZIxkZIxn+6xcoFxcoFxQjDRMSFQ4ZDg4ZDhUSEw0jAAAAAAMAAAAAAdYBlgATACAAKQAAEzM3MxczMhYVERQGIyEiJjURNDYXIg4BFB4BMj4BNC4BBzIWFAYiJjQ2VUArgCtAERkZEf6qERkZvB0xHR0xOjEdHTEdGyUlNiUlAWsqKhkS/wASGRkSAQASGUAdMToxHR0xOjEdKyU2JSU2JQAABAAAAAAB1gGWABMAGwAoADEAAAEjJyMHIyIGFREUFjMhMjY1ETQmAyERMzczFzMHIg4BFB4BMj4BNC4BByImNDYyFhQGAatEJ4AnRBEZGREBVhEZGRH+qlcnWidXqx0xHR0xOjEdHTEdGyUlNiUlAWsqKhkS/wASGRkSAQASGf7VAQArKxUdMToxHR0xOjEdqyU2JSU2JQADAAD/6gHBAZYACAAmAC8AACUiBhQWMjY0JgEVMxcHBhUUFjMhNSMiJjQ/ATMyNj8BNjU0JiMhJxMiBhQWMjY0JgFrEhkZIxkZ/pkrTR0FGREBAPcCAwETnwwUBUwDDQj+xBQ6ERkZIxkZQBkjGRkjGQFVKqI1CQsSGSsDBAEjDAqKBgQJDSr+qxkjGRkjGQAEAAD/6gHBAZYACAAmAC8AMwAAJTIWFAYiJjQ2ATMXITIWFRQPAQ4BKwEPARQWOwEVISImNTQ/AScjEzIWFAYiJjQ2PwEhFwFrERkZIxkZ/rxGFAE8CA0DTAUUDJ8TAQMC9/8AERkFHU0rgBIZGSMZGdE8/vIyQBkjGRkjGQFVKg0JBAaKCgwjAwIDKxkSCwk1ov7VGSMZGSMZlWtrAAAAAQAAAAABwQGBACAAADceARc3NhcWMzIWHQEUBiMiJyYnJjU0NjsBMhYVFBcWB40XSS0vCQ0kKAgNDQhjVFIwMg0ISwkMDAQJ2i1JFy8JBAwMCUsIDTIwUlRjCA0NCCgkDQkAAAMAAAAAAcABgQAiACgALgAAJSInIyIPAS4BJzc+AScmNTQmKwEiBhUUFxYXFjMyNj0BNCYlMxYXByYBJic3FjMBqyojBwgGLy5JFi8FAgMLDQhLCA0xMFNUYwgNDf64IAIIGQ4BJyYrGiIVdQ0GLxhJLC8EDAUnJggNDQhjVFMwMQ0ISwgN4BcgGiv+/AMOGQgAAAACAAAAAAHAAYEABAAUAAA3FzcXIQURNCYjISIGFREUFjMhMja1Nkpg/tYBVRkS/tYSGRkSASoSGaBAYIAVASoSGRkS/tYSGRkAAAAAAwAAAAABwAGBAAMAEwAYAAAlIREhNSEiBhURFBYzITI2NRE0Jg8BJwczAZX+1gEq/tYSGRkSASoSGRl9Oyo66isBKisZEv7WEhkZEgEqEhnGTDNMAAAAAAIAAP/VAcABlgATABkAACUVITU3NTQ2NzU0NjIWHQEeAR0BBxQGIiY1AcD+gCs7LxkkGS87ahkkGSsWFiqAMk8OBxEZGREHDk8ygFUSGRkSAAAAAAMAAP/qAasBlgAHABsAIgAAJSM1NDYyFhUXNTQmJzU0JiIGHQEOAR0BBxUhNQcyNjUjFBYBVcA4UDgrPC8SGxMuPCsBa7YSGVUZVYsoODgodXUxSwsODhISDg4LSzF1KxUVVRkRERkAAQAAAAAB1gGAAAoAADc1MxUzNTMnBzMV1VZqQNXVQBWAgKvAwKsAAAIAAAAAAdYBgAAIABMAAAEXFSM1IxUjNTcHMxUzNTMVMzUzAQBrK4Ara9VAgCqAQAFHYKeAgKeZwKuAgKsAAAACAAD/6gGWAZYACAAcAAAlIiY0NjIWFAYnIg4BFBcWFxYfATc2NzY3NjQuAQEAFh8fLB8fFilEKBcTIBgcFxccGCATFyhEyx8sHx8sH8ooRE81KTEiIxsbIyIxKTRQRCgAAAAAAwAA/+oBlgGWAAgAHQAxAAABMhYUBiImNDY3Mh4BFRQHBgcGBzEnJicmJyY0PgEXIg4BFRQXFhcWFzY3Njc2NTQuAQEAFh8fLB8fFilEKCYcLBYRFxwYIBMXKEQpHTEdBAcVGjExGhUHBB0xATUfLB8fLB9gKEQpMkgzOR0SGyMiMSk0UEQoKh0xHREOGyUvQUEvJRsOER0xHQAAAgAA/+oB1gGWABUAIQAAEzIeARUUBxczFwcnNScGIyIuATQ+ARcVIxUzFTM1MzUjNcApRCgdEQyAKoASJzIpRCgoRBRAQCpAQAGVKEQpMicSgCqADBEdKERSRChAQCpAQCpAAAMAAAAAAbYBgAAUAB0AKQAAJRcHJzUnBiMiLgE0PgEyHgEVFAcXIzI2NCYiBhQWNyMVIzUjNTM1MxUzAUtqIGoGJzMmQCUlQEtAJSEGbyg4OFA4OF0rFSsrFSuVaiBqEQYhJUBLQCUlQCYzJwY4UDg4UDhWKysVKysAAAACAAD/6gHWAZYAFQAZAAATMh4BFRQHFzMXByc1JwYjIi4BND4BBxUzNcApRCgdEQyAKoASJzIpRCgoRCyqAZUoRCkyJxKAKoAMER0oRFJEKIAqKgADAAAAAAG2AYAAFAAdACEAACUjJzY1NC4BIg4BFB4BMzI3FxUXNyciJjQ2MhYUBiczFSMBSxEGISVAS0AlJUAmMycGaiDqKDg4UDg4XmtrlQYnMyZAJSVAS0AlIQYRaiBqOFA4OFA4axUAAAACAAD/6gHWAZYAAgAPAAA3NRcnIg4BFB4BMj4BNC4B1YBVOmI5OWJ0Yjk5YmDAYNU5YnRiOTlidGI5AAADAAD/6gHWAZYADAAZABwAACUiLgE0PgEyHgEUDgEDIg4BFB4BMj4BNC4BAzcnAQAuTy4uT1xPLi5PLjpiOTlidGI5OWJlgIAVLk9cTy4uT1xPLgGAOWJ0Yjk5YnRiOf7LYGAAAwAA/+oB1gGWABcAGwAoAAAlBwYHBhUjNTQ/ATY0JiIGFSM0NjIWFRQHIzUzAyIOARQeATI+ATQuAQFBEw0FByoZGg0ZJBkqMkYyQCoqFTpiOTlidGI5OWLQFA0LDhYLIxkbDCQZGRIjMjIjHLkqAUA5YnRiOTlidGI5AAQAAP/qAdYBlgADABAAHQA5AAA3MzUjEyIOARQeATI+ATQuAQMiLgE0PgEyHgEUDgEDIgYVMzQ2MhYVFAcGBwYHBhUzNDc+ATc2NTQm6yoqFTpiOTlidGI5OWI6Lk8uLk9cTy4uTy4jMioZJBkIBQ4SBwwqCgYgBgoyQCsBKjlidGI5OWJ0Yjn+gC5PXE8uLk9cTy4BKzIjERkZEQ0KBgoOCxEaEA0IHAkOEyMyAAAAAgAA/+oB1gGWAAsAHAAAJSMVIzUjNTM1MxUzJyIOAhQeAjI+AjQuAgFrVipWVipWaypPPCAgPE9UTzwgIDxPq1ZWKlZWwCA8T1RPPCAgPE9UTzwgAAAAAAMAAP/qAdYBlgAMABkAJQAAJSIuATQ+ATIeARQOAQMiDgEUHgEyPgE0LgEHIxUjFTMVMzUzNSMBAC5PLi5PXE8uLk8uOmI5OWJ0Yjk5YiUqVlYqVlYVLk9cTy4uT1xPLgGAOWJ0Yjk5YnRiOWpWKlZWKgAAAQAAAAABwAFJAAUAAAkBJzcXNwHA/wB1HlfiASv/AHUeV+IAAQAAAAABlgFWAA8AACUXFSMnByM1Nyc1Mxc3MxUBH3YfdnYfdnYfdnYfwHYfdnYfdnYfdnYfAAABAAAAAAGWAVYACwAAJSMVIzUjNTM1MxUzAZWAKoCAKoCrgIAqgIAAAQAAAAABlgDWAAMAACUhNSEBlf7WASqrKgAAAAEAAAAAAYABFgAFAAA/ARc3JweeYmIegIB3YmIegIAAAQAAAAABgAEJAAUAABMXNxcHJ55iYh6AgAEJYmIegIAAAAAAAQAAAAABSQFAAAUAACUnNycHFwFJYmIegIBeYmIegIAAAAAAAQAAAAABVgFAAAUAAD8BJzcXB7diYh6AgF5iYh6AgAABAAAAAAFrAOsAAgAAPwEXlWtrgGtrAAABAAAAAAFrAOsAAgAANxc3lWtr62trAAABAAAAAAErASsAAgAAAQcXAStrawEra2sAAAAAAQAAAAABQAErAAIAAD8BJ9Vra1VrawAAAgAAAAABlgGAAAYACgAANzUjNxcjFQc1IRXAVZWVVdUBKmuAlZWAVisrAAACAAAAAAGWAYAAAwAKAAA3ITUhJSM1IxUjF2sBKv7WASpVgFWVFSvAgICVAAkAAAAAAcABawADAAcACwAPAB8AIwAzADcARwAAJTUhFSU1IRU1ITUhIxUzNSM0NjsBMhYdARQGKwEiJjUXFTM1IzQ2OwEyFh0BFAYrASImNRcVMzUjNDY7ATIWHQEUBisBIiY1AcD+6wEV/usBFf7rVitADQgrCQwMCSsIDRUrQA0IKwkMDAkrCA0VK0ANCCsJDAwJKwgNKyoqgCoqgCoqKgkNDQkqCQ0NCVYqKgkNDQkqCQ0NCVYqKgkNDQkqCQ0NCQADAAAAAAHAAUAAAwAHAAsAABMhFSEVIRUhFSEVIUABgP6AAYD+gAGA/oABQCtAKkArAAAABAAAAAABwAFAAAUACQANABEAACUHJzcXByUhFSEVNTMVBzUhFQHAHmtrHkz+zAEV/uvV1QEVcx5rax5NgCtqKiprKysAAAAAAwAAAAABKwFrAAgAEQAaAAAlMhYUBiImNDY3MhYUBiImNDY3MhYUBiImNDYBABIZGSQZGRISGRkkGRkSEhkZJBkZaxkkGRkkGYAZJBkZJBmAGSQZGSQZAAQAAP/qAdYBlgANABIAFgAaAAABMhYVERQGIyEHETQ2MxURNyERBSEVIRUzFSMBqxEZGRH+1VUZERkBPf7VAQD/AMDAAZUZEf8AEhlVAYARGSr+5xkBAEArKyoABQAA/+oB1gGWAA0AEgAWABoAHgAAASEiBhURNyEyNjURNCYDIQcRIQcjNTMHIzUzByM1MwGr/qoRGVUBKxEZGRH+xBoBVkArK1YqKlUrKwGVGRH+gFUZEgEAERn+1hoBGpYrKysrKwAJAAD/4QHrAbUAAwAIABUAGQAdACEAJQApAC0AADcXNycXMjM1IxMiDgEUHgEyPgE0LgEXMzUjBxc3JxMnBxcnIxUzByMVMzcnBxdMHiYeeRUVKhUjOyIiO0Y7IiI7iEBAOyYeJiYeJh55KirAQEA7Jh4mNB4nHno/ASsjO0U7IiI7RTsjliujJx4nAQYeJh96P5UrpCYeJwAAAAACAAAAAAHrAVYAFAAqAAA3Ii4BND4BMz4BMzIeARczMhYUBiM1IzU0LgEjIgYHJiMiBhQWMyEyNjQmgB0xHR0xHRBFKyQ+JgMKJDIyJCodMR0oOwYMCxslJRsBFRIZGSscMToxHSYvIjsjMkYygBUdMR0zJwQlNSYZJBkAAgAA/+oB6wGWADYAPQAANyIuATQ+ATM+ATMyHgEXMzIWFAYrASImNDY7ATI2NCYrATU0LgEjIgYHJiMiBhQWOwEyFhQGIzczBzMHNyOAHTEdHTEdEEUrJD4mAwokMjIkFQkMDAkVEhkZEiodMR0oOwYMCxslJRsVCQ0NCWtAKytQEDVrHDE6MR0mLyI7IzJGMgwSDBkkGRUdMR0zJwQlNSYMEgxqVZVqAAAAAAQAAP/vAesBlgAMABkAJgBfAAA3HgEPAQ4BLgE/AT4BFx4BDwEOAS4BPwE+ARceAQ8BDgEuAT8BPgE3NTQuASMiBgcmIyIGFRQWFzEeAQ4BJzEuATQ+ATM+ATMyHgEXMzIWFRQGBzEGLgE2NzE+ATU0JiPACAkCHAIPEQkDGwIPXgkJAywCDxEJAiwDD14ICQIcAg8SCAIcAg8JHTEdKDsGDAsbJREPCAQJEAgZHR0xHRBFKyQ+JgMKJDIXFAgRCQUICQwZEsACEAhnCQgEDwlnCAkCAhAIpQkIBBAIpQgJAgIQCGcJCAQPCWcICSkVHTEdMycEJRsRHggEEg8EBA4xOjEdJi8iOyMyIxgnCwQEEBEEBhMMEhkAAAAAAgAA/9YB6wGWADQAXgAANzIWFAYjIi4BND4BMz4BMzIeARczMhYUBisBIiY0NjsBMjY0JisBNTQuASMiBgcmIyIGFBYXNycmNDYyHwE3PgEeAQ8BNzYeAQYPARcWFAYiLwEHDgEuAT8BBwYuATaACQwMCR0xHR0xHRBFKyQ+JgMKJDIyJBUJDAwJFRIZGRIqHTEdKDsGDAsbJSVDLyMGDRIGIgwDDxEJAg0vCBAECQgvIwYNEgYiDAMPEQkCDS8IEAQJlQwSDBwxOjEdJi8iOyMyRjIMEgwZJBkVHTEdMycEJTUmVgwiBhINBiMvCAkEEAgvDQIJEQ8DDCIGEg0GIy8ICQQQCC8NAgkRDwAAAAADAAD/6gHrAZUANABAAFQAADcyFhQGIyIuATQ+ATM+ATMyHgEXNzIWFAYrASImNDY7ATI2NCYrATU0LgEjIgYHJiMiBhQWFxYXFhUUBiImNTQ/AQ8BBgcGBwYVFBYyNjU0Jy4BJzGACQwMCR0xHR0xHRBFKyQ+JgMKJDIyJBUJDAwJFRIZGRIqHTEdKDsGCwwbJSWbBQcfGSQZHwwLCw4LEggMMkYyDAgkEpUNEQ0dMToxHCcvIzokATJHMg0RDRkjGRUdMR0zJgQmNSUDBworFhIZGRIWK1QMDhERGRIZFSMyMiMVGRI0FQAAAAMAAP/qAesBlgAYACAAIwAAJSc3NjczNSM1IxUjFTMGByYnIxYXBxc3FzcjAzM3MxczJzcXARM3ATcYP5Yqlu8XLR0UKxgobR5rQokrYCsYZRgrmCIjfzUBPU4rKiorQDIgJzUsax5qQpj/AEBAal1dAAAAAgAAAAABtgGAABUAHgAAEzIeARUUBxczFwcnNScGIyIuATQ+ARciBhQWMjY0JsslQCUhBhFqIGoGJzMmQCUlQCYoODhQODgBgCVAJjMnBmogahEGISVAS0AlKzhQODhQOAAAAAEAAP/0AdYBlgBRAAABIg4BFRQWFxY2PQEGJyYnMSYnJi8BJjQzNxYXFhcxFhcWNzY3JicmNTQ3JjUmNzMyFxYXNjIXNjc2FzEWBxQHFhUUBwYHFh0BFBY3PgE1NC4BAQA6YjlRQQcHJRULAwQHBAUECAUFDQsGAg0VDRACCywWHxYEAggGCAsQEhk4GRoTCgQIAgQWHxcrDgcIQFE5YgGVOWI6Rm8WAQcFJAgSCAsLCAYDAwYGAQELBQUVAgEGEwoFExo3IRgJCxITBAYMBwcRBAIBExILCRghOBkTBQ0bOgUHARZvRjpiOQAAAQAAAAABqwFrAB4AAAEuASMiDgEUHgEzMjY3Iw4BIyIuATQ+ATMyFhcHMzUBeRg+Iy5PLi5PLjtbDywOQikjOyIiOyMaLhJFlgE5FxsuT1xPLkg4JTAiO0Y7IhQSRZYAAQAAAAABqQFrAAgAABMzETcXByc3F+sqdh6pqR52AWv/AHUeqakedQAAAAACAAAAAAGrAYAAGQAdAAABBx4BFA4BIi4BNDY3Jw4BFRQeATI+ATU0JicjFTMBYR8dISI7RjsiIRweIiguT1xPLihuKioBTB8ROkU7IiI7RToRHxhJKy5PLi5PLitJTNUAAAAABAAA/+oBqwGWAA0AEwAXABsAABMiBhURFBYzITI2NREnBzMVMxUhNxUzNQcVMzWAEhkZEgEAEhmAq5Vr/wArqqpqAZUZEf6qERkZEQEAgCpr66srK1UrKwAAAAACAAD//QGbAYEALQBHAAAlJi8BJicmJy4BNwYHDgEXFhUUBicmJy4BNw4BFxYXFhceARcWNzY3PgEvASYnBwYHBicmJz4BNzYvASY3HgIXFhcWFRYGBwF5BAoDBg4QCBgKEBocKR0TAg8GAgESBgwaHAICBAQLETkgJCEjGR4SDwMEDEQLDBESDwwSFwQDBgMECAcMGgUIAwEBCwrRBQoDBQoNBxdFHgYWImoyBAMIBgYBAhc8GxZEIxULERQbJQQFCAgXG00lBQoRhgoDBgYFDAUYDwwWDhgUEA4XBwoNBAUNGwgAAAAAAwAAAAAB5wGBAAQAEQAcAAAhNyYiBxMiBgcXPgEyFhc3LgEHIgYHFzYyFzcuAQEATSJWIk1AdTEmKWJqYikmMXVAKk8hJzOAMychT2YaGgEaKCUzHyEhHzMlKIAbGDMmJjMYGwAAAAABAAD/1QHrAa4AFgAAJSc2LgIHFwcnBhYXHgE3FxYyPwE+AQHkwg8RPVgnXEBeEw8gHlAlwgcRBjEIASvCJVA9DxJcQFwnVyAeEQ/CBwcxBhMAAAADAAD/6gHBAcAACwAjAD8AAAEyNjU0LwEHBhUUFhcnBwYiLwEHBiMiJxUUFjMhMjY9AQYjIjcjNSMVIyIGHQEUFjI/ARcWMj8BFxYyNj0BNCYBABIZByQkBxl0FxcVPhUXFxYeFxMNCAFWCA0TFx4IayprGyUZIwsuLQwkCy4uCyMZJQFAGRIMCj8/CgwSGdUXFxUVFxcWDWIJDAwJYg2rKyslGyERGQwuLgsLLi4MGREhGyUAAAAABAAA/+oBwQGWACAAJAAoACwAABM1MzU0NjsBFTcXNTMyFhURFAYjISImPQEjNTM1IzUzNRcjFTM9ASMVEzUjFUArGRGANjUVERoaEf8AEBorKysrKioqKioqASsqFhEZlSAglRoQ/qoQGhoQFipWKlZWKoAqKv8AKioAAAIAAP/VAZYBqwADABMAACUjETM1IyIGFREUFjsBMjY1ETQmAWvW1tYRGRkR1hEZGSsBKlYZEv6AEhkZEgGAEhkAAAAABAAA/+MBxgGrAAkAEwArADcAAAEHFycHNyc/AR8BBxcnBzcnPwEXBzYeAQcGBw4BLgI2NzY3Nh4BBwYeAhcuAycOAR4CNgF7NhM4OBM2RBcXjiMNJCUNIywPDgQIEQUFCwwpbm5SHBwpDQ4IFA0BBB9FWgwuV0QmAh4TGD9UVgFpKkEnJ0EqAkBAlhorGRkrGgEqKmoBDhMIEAspHR1Sbm4pDQoFBhAJLlpFICYCJkRWLiFVVD8YEwAAAAADAAAAAAHfAYAAAwAJAA8AAAEXAyc3JzUXBzUlNxUHFxUBEypQKt9NiYn+zYlNTQGACf6JCbdNPImJPUyJPE1MPQAAAAMAAP/VAcEBqwADABMAHAAAISMRMzUjIgYVERQWOwEyNjURNCYnISIGFREzESEBlerq6hIZGRLqEhkZUv8AERkqAQABKyoZEf7VEhkZEgErERlWGRL+1QErAAAADwAA/8ACAQHBAAMABwAfACMAJwArAC8AMwA3AD0AQQBKAFMAXABlAAATMxUjJRUjNRUzNSM1MxUzNTMVIxUzFSMVIzUjFSM1MzcVMzUFNTMVAxUzNTMVMzUFFTM1JzMVIzczFSM1IzczFSMnFSM1NDY7ARUlMhYdASM1IzUBFTMVIyImPQEFNTMVFAYrATVVgIABVoAqKiorKysrKytAKkAqK/7VgFUrqiv/ACtWKytrVSorKyoqwCsZElUBVRIZK1X+q1VVEhkB1SsZElUBa4CAgIDrKyoqKiorQCsrK1YVQEBrgIABKysrKyvVKytqKipVK5VVqlVVEhkrKxkSVVUr/oBVKxkSVVVVVRIZKwAKAAD/6gIBAZYAAwAHAAsADwATABcAIAApADIAOwAAEzMRIxMzESMTMxEjEzMRIxMzESMTMxEjARUjNTQ2OwEVJTIWHQEjNSM1ARUzFSMiJj0BBTUzFRQGKwE1VSsrQBYWK0BAVRYWQCsrQBYW/pYrGRJVAVUSGStV/qtVVRIZAdUrGRJVAUD/AAEA/wABAP8AAQD/AAEA/wABAP8AAStWVhEZKioZEVZWKv7WVioZEVZWVlYRGSoAAwAA/+oBwQGrAA8AFgAuAAAlIi4CNTMUFjI2NTMUDgEnMhYVIzQ2FyM0LgEiDgEVIyIGFREUFjMhMjY1ETQmAQAVJx4RKyU2JSsdMR0bJYAlsCodMToxHSoSGRkSASoSGRmrEB4nFRomJhodMRzVJRsbJUAdMR0dMR0ZEv8AERkZEQEAEhkAAAQAAP/qAcABqwAXAB4AIgAxAAABIzQuASIOARUjIgYVERQWMyEyNjURNCYnMhYVIzQ2EyERIQciJjUjFB4BMj4BNSMUBgGVKh0xOjEdKhIZGRIBKhIZGacbJYAlsP7WASqVGyUrHTE6MR0rJQFAHTEdHTEdGRL/ABEZGREBABIZQCUbGyX+lQEAVSUbHTEdHTEdGyUAAAAABgAAAAACAQGBAA8AEwAXABsAKgAzAAATITIWFREUBiMhIiY1ETQ2BRUzNQcVMzUHFTM1BSIHBgcGHQEhNTQnJicmJyIGFBYyNjQmKwGqERoaEf5WERoaARGqqqqqlf7rGBwhFBcBABgUIB0XGyUlNSYmAYAaEf7WERoaEQEqERpAFRUrFRUqFhZUBwkOEBQVFRQQDgkHqSU2JSU2JQAAAAcAAAAAAgABgAAPABMAIQAqAC4AMgA2AAABIQ4BBxEeARchPgE3ES4BAyERIQM1NCcmJyYiBwYHBh0BNyIGFBYyNjQmMxUzNQcVMzUHFTM1AdX+VhIYAQEYEgGqEhgBARgS/lYBqqoUERsXKBcbERRrFh8fLB8fVYCAgIBVAYABGBL+1hIYAQEYEgEqEhj+rAEq/wAbEA4LBgYGBgsOEBvWICwfHywgFhYrFRUrFRUAAQAA/+oBgAGWAA8AACU1MzUjFTMVBxUzFTM1MzUBVRbWFitvIm/AqyoqqysqgIAqAAAAAAIAAP/qAasBlgALABYAABM3AQcnFSM1IzU3NR8BFSMnNSM1MxUjKxsBZRt/Im8rqisE0RbWFgFQG/6bG35+gCorEBArKtEvKioAAAACAAD/6gGAAZYADwAVAAAlNTM1IxUzFQcVMxUzNTM1Izc1MxUXAVUW1hYrbyJvxBlWGcCrKiqrKyqAgCoavLwaAAAAAAMAAP/qAasBlgAOABoAHQAAEzUjNTMVIxUXFSMnNSMVEwcnFSM1IzU3NSc3FzMnqxbWFisEUVbWHH4ibyuAG3YmEwE8LyoqqysqUa9a/vUbfn6AKisPgBzWFAAABQAAAAACAAGBAB8APgBHAFAAWQAAEzMVIxUUBiMyFh0BMxUjJicmPQE0JisBNTMyNj0BNDYhMhYdARQWOwEVIyIGHQEUBisBNTM1NDYzIiY9ASM1AzIWFAYiJjQ2IzIWFAYiJjQ2MzIWFAYiJjQ2ayoqGRISGSoqEwsNGRIVFRIZGQE8EhkZEhUVEhkZEioqGRISGSprCQwMEgwMTAkMDBINDbMJDQ0SDAwBgCtqEhkZEmorBQoLEVUSGSoZElUSGRkSVRIZKhkSVRIZK2oSGRkSaiv/AAwSDQ0SDAwSDQ0SDAwSDQ0SDAAAAAADAAAAAAHrAWAACAATAB0AAAEyFhQGIiY0NjcyFhcOASImJz4BBx4BMjY3LgEiBgEAGyUlNiUlG0+AHByAnoAcHIBtGmZ4ZhoaZnhmAQAlNiUlNiVgWUdHWVlHR1mgNj8/NjY/PwAAAAMAAAAAAesBYQAIABUAIAAAASIGFBYyNjQmByIuATQ+ATIeARQOAQMiBgceATI2Ny4BAQAbJSU2JSUbHTEdHTE6MR0dMR1PgBwcgJ6AHByAAQAlNiUlNiWrHTE6MR0dMToxHQELWUdHWVlHR1kAAAADAAD/1QHrAYEAAwAbACIAACURMxEDMhYdARQPAScmPQE3IyImPQE0PwE+ATMXIwcVMwc3AZVWqxIZDYwXCRWHEhkDQQUVDcDBP7sYXYABAP8AAQAZEtUSDI0XCQ4GYhkRKwgIlgwOK5UrcV0AAAAAAgAA/9UB6wGBAAMAHAAAJTMRKwIiBg8BBh0BFBY7AQcUFRQfATc2PQE0JgGVVlZVwA0VBUEDGRKHFQkXjA0ZgAEADgyWCAgrERliAwMOCReNDBLVEhkAAAMAAAAAAesBqwADABsAIgAAExEjERMiJj0BND8BFxYdAQczMhYdARQPAQ4BIyczNzUjNwdrVqsSGQ2MFwkVhxIZA0EFFQ3AwT+8GV0BAP8AAQD/ABkS1RIMjRcJDQdiGRErCAiWDA4rlStxXQAAAAACAAAAAAHrAasAGAAcAAAlNCYrATc0NTQvAQcGHQEUFjsBMjY/ATY1BTMRIwHrGRKHFQkXjA0ZEsANFQVBA/4qVlbrERliAwQNCReNDBLVEhkODJYICMABAAAAAAMAAP/qAasBqwAIACIAKwAAJTI2NCYiBhQWNzIWHQEUBiMhIiY9ATQ2OwE1ND4BMh4BHQEnIgYdATM1NCYBABIZGSQZGZISGRkS/wASGRkSFR0xOjEdaxslgCVVGSQZGSQZwBkR1hEZGRHWERkrHTEdHTEdK2slGysrGyUAAAAABAAA/+oBqwGrAAgADAAmAC8AACUiJjQ2MhYUBhc1IRUBMhYdARQGIyEiJj0BNDY7ATU0PgEyHgEdASciBh0BMzU0JgEAEhkZJBkZbv8AAQASGRkS/wASGRkSFR0xOjEdaxslgCVVGSQZGSQZQNbWAQAZEdYRGRkR1hEZKx0xHR0xHStrJRsrKxslAAACAAAAAAHWAWsABQAVAAABByc1Fzc1ISIGFREUFjMhMjY1ETQmAaurq6ur/qoRGRkRAVYRGRkBFWpqK2trKxkS/wASGRkSAQASGQAAAwAAAAAB1gFrAA8AEgAXAAABNCYjISIGFREUFjMhMjY1AwcnASE1FzcB1RkR/qoRGRkRAVYRGSqrqwFW/qqrqwFAEhkZEv8AEhkZEgEAa2v/ANVqagAAAAEAAAAAAeABawAvAAABBgc2NwYHJiMiBhUUFy4BJwYUFhciJxUUFhcGIyInHgEXBiMiJxYzMjc2NzY1JzYB3xgcHQsbHxspJTYDOGMiDBYSFRQqHwsNCAkJLx0xQAsLQExQPjkgHgEbAUALBBIhEAYdNiYKCwMzKhUxKAwLASEyBwMCHCMBJwEpKSQ+Oz4MEwAAAAAAABAAxgABAAAAAAABAAwAAAABAAAAAAACAAcADAABAAAAAAADAAwAEwABAAAAAAAEAAwAHwABAAAAAAAFAAsAKwABAAAAAAAGAAwANgABAAAAAAAKACsAQgABAAAAAAALABMAbQADAAEECQABABgAgAADAAEECQACAA4AmAADAAEECQADABgApgADAAEECQAEABgAvgADAAEECQAFABYA1gADAAEECQAGABgA7AADAAEECQAKAFYBBAADAAEECQALACYBWnZhcmxldC1pY29uc1JlZ3VsYXJ2YXJsZXQtaWNvbnN2YXJsZXQtaWNvbnNWZXJzaW9uIDEuMHZhcmxldC1pY29uc0dlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHYAYQByAGwAZQB0AC0AaQBjAG8AbgBzAFIAZQBnAHUAbABhAHIAdgBhAHIAbABlAHQALQBpAGMAbwBuAHMAdgBhAHIAbABlAHQALQBpAGMAbwBuAHMAVgBlAHIAcwBpAG8AbgAgADEALgAwAHYAYQByAGwAZQB0AC0AaQBjAG8AbgBzAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAIAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfgECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERARIBEwEUARUBFgEXARgBGQEaARsBHAEdAR4BHwEgASEBIgEjASQBJQEmAScBKAEpASoBKwEsAS0BLgEvATABMQEyATMBNAE1ATYBNwE4ATkBOgE7ATwBPQE+AT8BQAFBAUIBQwFEAUUBRgFHAUgBSQFKAUsBTAFNAU4BTwFQAVEBUgFTAVQBVQFWAVcBWAFZAVoBWwFcAV0BXgFfAWABYQFiAWMBZAFlAWYBZwFoAWkBagFrAWwBbQFuAW8BcAFxAXIBcwF0AXUBdgF3AXgBeQF6AXsBfAF9AX4BfwAWY2hlY2tib3gtbWFya2VkLWNpcmNsZRRjaGVjay1jaXJjbGUtb3V0bGluZQtpbmZvcm1hdGlvbhNpbmZvcm1hdGlvbi1vdXRsaW5lB3dhcm5pbmcNYWxlcnQtb3V0bGluZQVlcnJvchRhbGVydC1jaXJjbGUtb3V0bGluZQ9jaGVja2JveC1tYXJrZWQXY2hlY2tib3gtbWFya2VkLW91dGxpbmUWY2hlY2tib3gtYmxhbmstb3V0bGluZQxyYWRpby1tYXJrZWQeY2hlY2tib3gtbWFya2VkLWNpcmNsZS1vdXRsaW5lC3JhZGlvLWJsYW5rDGNsb3NlLWNpcmNsZRRjbG9zZS1jaXJjbGUtb3V0bGluZQljbG9zZS1ib3gRY2xvc2UtYm94LW91dGxpbmUMbWludXMtY2lyY2xlFG1pbnVzLWNpcmNsZS1vdXRsaW5lBHN0YXIOc3Rhci1oYWxmLWZ1bGwMc3Rhci1vdXRsaW5lBWhlYXJ0D2hlYXJ0LWhhbGYtZnVsbA1oZWFydC1vdXRsaW5lBmRlbGV0ZQl0cmFzaC1jYW4RdHJhc2gtY2FuLW91dGxpbmUJbWludXMtYm94EW1pbnVzLWJveC1vdXRsaW5lDmFjY291bnQtY2lyY2xlFmFjY291bnQtY2lyY2xlLW91dGxpbmUDY29nC2NvZy1vdXRsaW5lEW1hcC1tYXJrZXItcmFkaXVzGW1hcC1tYXJrZXItcmFkaXVzLW91dGxpbmUGY2FtZXJhDmNhbWVyYS1vdXRsaW5lBGNhcnQMY2FydC1vdXRsaW5lBXBob25lDXBob25lLW91dGxpbmUFaW1hZ2UNaW1hZ2Utb3V0bGluZQRiZWxsDGJlbGwtb3V0bGluZQRob21lDGhvbWUtb3V0bGluZQptYXAtbWFya2VyEm1hcC1tYXJrZXItb3V0bGluZQxtYWduaWZ5LXBsdXMUbWFnbmlmeS1wbHVzLW91dGxpbmUNbWFnbmlmeS1taW51cxVtYWduaWZ5LW1pbnVzLW91dGxpbmULcGxheS1jaXJjbGUTcGxheS1jaXJjbGUtb3V0bGluZQtoZWxwLWNpcmNsZRNoZWxwLWNpcmNsZS1vdXRsaW5lC3BsdXMtY2lyY2xlE3BsdXMtY2lyY2xlLW91dGxpbmUFY2hlY2sMd2luZG93LWNsb3NlBHBsdXMFbWludXMKY2hldnJvbi11cAxjaGV2cm9uLWRvd24MY2hldnJvbi1sZWZ0DWNoZXZyb24tcmlnaHQHbWVudS11cAltZW51LWRvd24JbWVudS1sZWZ0Cm1lbnUtcmlnaHQGdXBsb2FkCGRvd25sb2FkFGZvcm1hdC1saXN0LWNoZWNrYm94BG1lbnUJbWVudS1vcGVuDWRvdHMtdmVydGljYWwUbWVzc2FnZS10ZXh0LW91dGxpbmUabWVzc2FnZS1wcm9jZXNzaW5nLW91dGxpbmUTd2hpdGUtYmFsYW5jZS1zdW5ueQ53ZWF0aGVyLWNsb3VkeRF3ZWF0aGVyLWxpZ2h0bmluZw93ZWF0aGVyLXBvdXJpbmcNd2VhdGhlci1zbm93eQ13ZWF0aGVyLXJhaW55CXRyYW5zbGF0ZQdtYWduaWZ5BmdpdGh1YgdyZWZyZXNoCmFycm93LWRvd24FcG93ZXIVZmlsZS1kb2N1bWVudC1vdXRsaW5lBGZpcmUEd2lmaQZ3cmVuY2gMY2FrZS12YXJpYW50CG5vdGVib29rCWNlbGxwaG9uZQ13ZWF0aGVyLW5pZ2h0A3htbAxjb250ZW50LWNvcHkLcXJjb2RlLXNjYW4MYmFyY29kZS1zY2FuCHNob3BwaW5nEHNob3BwaW5nLW91dGxpbmUUY2FyZC1hY2NvdW50LWRldGFpbHMcY2FyZC1hY2NvdW50LWRldGFpbHMtb3V0bGluZQNwaW4HcGluLW9mZgtwaW4tb3V0bGluZQ9waW4tb2ZmLW91dGxpbmUJY29kZS1qc29uDHZpZXctb3V0bGluZQR2aWV3EnRodW1iLWRvd24tb3V0bGluZQp0aHVtYi1kb3duEHRodW1iLXVwLW91dGxpbmUIdGh1bWItdXAEbG9jawxsb2NrLW91dGxpbmUFZW1haWwNZW1haWwtb3V0bGluZQd0d2l0dGVyAAAAAAA=) format("truetype");font-weight:400;font-style:normal}.var-icon--set{font-family:varlet-icons}.var-icon-checkbox-marked-circle:before{content:""}.var-icon-check-circle-outline:before{content:""}.var-icon-information:before{content:""}.var-icon-information-outline:before{content:""}.var-icon-warning:before{content:""}.var-icon-alert-outline:before{content:""}.var-icon-error:before{content:""}.var-icon-alert-circle-outline:before{content:""}.var-icon-checkbox-marked:before{content:""}.var-icon-checkbox-marked-outline:before{content:""}.var-icon-checkbox-blank-outline:before{content:""}.var-icon-radio-marked:before{content:""}.var-icon-checkbox-marked-circle-outline:before{content:""}.var-icon-radio-blank:before{content:""}.var-icon-close-circle:before{content:""}.var-icon-close-circle-outline:before{content:""}.var-icon-close-box:before{content:""}.var-icon-close-box-outline:before{content:""}.var-icon-minus-circle:before{content:""}.var-icon-minus-circle-outline:before{content:""}.var-icon-star:before{content:""}.var-icon-star-half-full:before{content:""}.var-icon-star-outline:before{content:""}.var-icon-heart:before{content:""}.var-icon-heart-half-full:before{content:""}.var-icon-heart-outline:before{content:""}.var-icon-delete:before{content:""}.var-icon-trash-can:before{content:""}.var-icon-trash-can-outline:before{content:""}.var-icon-minus-box:before{content:""}.var-icon-minus-box-outline:before{content:""}.var-icon-account-circle:before{content:""}.var-icon-account-circle-outline:before{content:""}.var-icon-cog:before{content:""}.var-icon-cog-outline:before{content:""}.var-icon-map-marker-radius:before{content:""}.var-icon-map-marker-radius-outline:before{content:""}.var-icon-camera:before{content:""}.var-icon-camera-outline:before{content:""}.var-icon-cart:before{content:""}.var-icon-cart-outline:before{content:""}.var-icon-phone:before{content:""}.var-icon-phone-outline:before{content:""}.var-icon-image:before{content:""}.var-icon-image-outline:before{content:""}.var-icon-bell:before{content:""}.var-icon-bell-outline:before{content:""}.var-icon-home:before{content:""}.var-icon-home-outline:before{content:""}.var-icon-map-marker:before{content:""}.var-icon-map-marker-outline:before{content:""}.var-icon-magnify-plus:before{content:""}.var-icon-magnify-plus-outline:before{content:""}.var-icon-magnify-minus:before{content:""}.var-icon-magnify-minus-outline:before{content:""}.var-icon-play-circle:before{content:""}.var-icon-play-circle-outline:before{content:""}.var-icon-help-circle:before{content:""}.var-icon-help-circle-outline:before{content:""}.var-icon-plus-circle:before{content:""}.var-icon-plus-circle-outline:before{content:""}.var-icon-check:before{content:""}.var-icon-window-close:before{content:""}.var-icon-plus:before{content:""}.var-icon-minus:before{content:""}.var-icon-chevron-up:before{content:""}.var-icon-chevron-down:before{content:""}.var-icon-chevron-left:before{content:""}.var-icon-chevron-right:before{content:""}.var-icon-menu-up:before{content:""}.var-icon-menu-down:before{content:""}.var-icon-menu-left:before{content:""}.var-icon-menu-right:before{content:""}.var-icon-upload:before{content:""}.var-icon-download:before{content:""}.var-icon-format-list-checkbox:before{content:""}.var-icon-menu:before{content:""}.var-icon-menu-open:before{content:""}.var-icon-dots-vertical:before{content:""}.var-icon-message-text-outline:before{content:""}.var-icon-message-processing-outline:before{content:""}.var-icon-white-balance-sunny:before{content:""}.var-icon-weather-cloudy:before{content:""}.var-icon-weather-lightning:before{content:""}.var-icon-weather-pouring:before{content:""}.var-icon-weather-snowy:before{content:""}.var-icon-weather-rainy:before{content:""}.var-icon-translate:before{content:""}.var-icon-magnify:before{content:""}.var-icon-github:before{content:""}.var-icon-refresh:before{content:""}.var-icon-arrow-down:before{content:""}.var-icon-power:before{content:""}.var-icon-file-document-outline:before{content:""}.var-icon-fire:before{content:""}.var-icon-wifi:before{content:""}.var-icon-wrench:before{content:""}.var-icon-cake-variant:before{content:""}.var-icon-notebook:before{content:""}.var-icon-cellphone:before{content:""}.var-icon-weather-night:before{content:""}.var-icon-xml:before{content:""}.var-icon-content-copy:before{content:""}.var-icon-qrcode-scan:before{content:""}.var-icon-barcode-scan:before{content:""}.var-icon-shopping:before{content:""}.var-icon-shopping-outline:before{content:""}.var-icon-card-account-details:before{content:""}.var-icon-card-account-details-outline:before{content:""}.var-icon-pin:before{content:""}.var-icon-pin-off:before{content:""}.var-icon-pin-outline:before{content:""}.var-icon-pin-off-outline:before{content:""}.var-icon-code-json:before{content:""}.var-icon-view-outline:before{content:""}.var-icon-view:before{content:""}.var-icon-thumb-down-outline:before{content:""}.var-icon-thumb-down:before{content:""}.var-icon-thumb-up-outline:before{content:""}.var-icon-thumb-up:before{content:""}.var-icon-lock:before{content:""}.var-icon-lock-outline:before{content:""}.var-icon-email:before{content:""}.var-icon-email-outline:before{content:""}.var-icon-twitter:before{content:""}:root{--icon-size: 20px}.var-icon{position:relative;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;color:inherit;font-size:var(--icon-size)}.var-icon:before{position:relative;display:inline-block;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:400;font-style:normal;line-height:1}.var-icon--shrinking{transform:scale(0);transition-property:transform}.var-icon__image{width:var(--icon-size);height:var(--icon-size);object-fit:cover}:root{--ripple-cubic-bezier: cubic-bezier(.68, .01, .62, .6);--ripple-color: currentColor}.var-ripple{position:absolute;transition:transform .2s var(--ripple-cubic-bezier),opacity .14s linear;top:0;left:0;border-radius:50%;opacity:0;will-change:transform,opacity;pointer-events:none;z-index:100;background-color:var(--ripple-color)}:root{--popup-content-background-color: #fff;--popup-overlay-background-color: rgba(0, 0, 0, .6)}.var-fade-enter-from,.var-fade-leave-to{opacity:0}.var-fade-enter-active,.var-fade-leave-active{transition:opacity .25s}.var-pop-center-enter-from,.var-pop-center-leave-to{transform:scale(.3)}.var-pop-center-enter-active,.var-pop-center-leave-active{transition:all .25s}.var-pop-bottom-enter-from,.var-pop-bottom-leave-to{transform:translateY(100%)}.var-pop-bottom-enter-active,.var-pop-bottom-leave-active{transition:all .25s}.var-pop-top-enter-from,.var-pop-top-leave-to{transform:translateY(-100%)}.var-pop-top-enter-active,.var-pop-top-leave-active{transition:all .25s}.var-pop-left-enter-from,.var-pop-left-leave-to{transform:translate(-100%)}.var-pop-left-enter-active,.var-pop-left-leave-active{transition:all .25s}.var-pop-right-enter-from,.var-pop-right-leave-to{transform:translate(100%)}.var-pop-right-enter-active,.var-pop-right-leave-active{transition:all .25s}.var-popup{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.var-popup__overlay{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--popup-overlay-background-color);transition:all .25s}.var-popup__content{overflow:auto;transition:all .25s}.var-popup--content-background-color{background-color:var(--popup-content-background-color)}.var-popup--center{position:relative}.var-popup--bottom{width:100%;position:absolute;left:0;bottom:0}.var-popup--top{width:100%;position:absolute;left:0;top:0}.var-popup--left{height:100%;position:absolute;left:0;top:0}.var-popup--right{height:100%;position:absolute;right:0;top:0}.var-popup--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.var-popup--safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}:root{--action-sheet-border-radius: 2px;--action-sheet-border-top: none;--action-sheet-title-color: #888;--action-sheet-title-padding: 10px 16px;--action-sheet-title-font-size: 14px;--action-sheet-action-item-height: 48px;--action-sheet-action-item-padding: 0 18px;--action-sheet-action-item-color: #333;--action-sheet-action-item-disabled-color: var(--color-text-disabled);--action-sheet-icon-margin: 0 20px 0 0;--action-sheet-icon-size: 24px;--action-sheet-background: #fff}.var-action-sheet{padding:10px 0;background:var(--action-sheet-background);transition:background-color .25s}.var-action-sheet__popup-radius{border-radius:var(--action-sheet-border-radius);border-top:var(--action-sheet-border-top)}.var-action-sheet__title{padding:var(--action-sheet-title-padding);color:var(--action-sheet-title-color);font-size:var(--action-sheet-title-font-size)}.var-action-sheet__action-item{display:flex;align-items:center;height:var(--action-sheet-action-item-height);padding:var(--action-sheet-action-item-padding);color:var(--action-sheet-action-item-color);cursor:pointer}.var-action-sheet__action-name{overflow:auto;max-height:var(--action-sheet-action-item-height)}.var-action-sheet__action-icon[var-action-sheet-cover]{margin:var(--action-sheet-icon-margin);width:var(--action-sheet-icon-size);height:var(--action-sheet-icon-size);font-size:var(--action-sheet-icon-size)}.var-action-sheet--disabled{color:var(--action-sheet-action-item-disabled-color)!important;cursor:not-allowed}.var-elevation--0{box-shadow:0 0 0 0 var(--shadow-key-umbra-opacity),0 0 0 0 var(--shadow-key-penumbra-opacity),0 0 0 0 var(--shadow-key-ambient-opacity)}.var-elevation--1{box-shadow:0 2px 1px -1px var(--shadow-key-umbra-opacity),0 1px 1px 0 var(--shadow-key-penumbra-opacity),0 1px 3px 0 var(--shadow-key-ambient-opacity)}.var-elevation--2{box-shadow:0 3px 1px -2px var(--shadow-key-umbra-opacity),0 2px 2px 0 var(--shadow-key-penumbra-opacity),0 1px 5px 0 var(--shadow-key-ambient-opacity)}.var-elevation--3{box-shadow:0 3px 3px -2px var(--shadow-key-umbra-opacity),0 3px 4px 0 var(--shadow-key-penumbra-opacity),0 1px 8px 0 var(--shadow-key-ambient-opacity)}.var-elevation--4{box-shadow:0 2px 4px -1px var(--shadow-key-umbra-opacity),0 4px 5px 0 var(--shadow-key-penumbra-opacity),0 1px 10px 0 var(--shadow-key-ambient-opacity)}.var-elevation--5{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-elevation--6{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 6px 10px 0 var(--shadow-key-penumbra-opacity),0 1px 18px 0 var(--shadow-key-ambient-opacity)}.var-elevation--7{box-shadow:0 4px 5px -2px var(--shadow-key-umbra-opacity),0 7px 10px 1px var(--shadow-key-penumbra-opacity),0 2px 16px 1px var(--shadow-key-ambient-opacity)}.var-elevation--8{box-shadow:0 5px 5px -3px var(--shadow-key-umbra-opacity),0 8px 10px 1px var(--shadow-key-penumbra-opacity),0 3px 14px 2px var(--shadow-key-ambient-opacity)}.var-elevation--9{box-shadow:0 5px 6px -3px var(--shadow-key-umbra-opacity),0 9px 12px 1px var(--shadow-key-penumbra-opacity),0 3px 16px 2px var(--shadow-key-ambient-opacity)}.var-elevation--10{box-shadow:0 6px 6px -3px var(--shadow-key-umbra-opacity),0 10px 14px 1px var(--shadow-key-penumbra-opacity),0 4px 18px 3px var(--shadow-key-ambient-opacity)}.var-elevation--11{box-shadow:0 6px 7px -4px var(--shadow-key-umbra-opacity),0 11px 15px 1px var(--shadow-key-penumbra-opacity),0 4px 20px 3px var(--shadow-key-ambient-opacity)}.var-elevation--12{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 12px 17px 2px var(--shadow-key-penumbra-opacity),0 5px 22px 4px var(--shadow-key-ambient-opacity)}.var-elevation--13{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 13px 19px 2px var(--shadow-key-penumbra-opacity),0 5px 24px 4px var(--shadow-key-ambient-opacity)}.var-elevation--14{box-shadow:0 7px 9px -4px var(--shadow-key-umbra-opacity),0 14px 21px 2px var(--shadow-key-penumbra-opacity),0 5px 26px 4px var(--shadow-key-ambient-opacity)}.var-elevation--15{box-shadow:0 8px 9px -5px var(--shadow-key-umbra-opacity),0 15px 22px 2px var(--shadow-key-penumbra-opacity),0 6px 28px 5px var(--shadow-key-ambient-opacity)}.var-elevation--16{box-shadow:0 8px 10px -5px var(--shadow-key-umbra-opacity),0 16px 24px 2px var(--shadow-key-penumbra-opacity),0 6px 30px 5px var(--shadow-key-ambient-opacity)}.var-elevation--17{box-shadow:0 8px 11px -5px var(--shadow-key-umbra-opacity),0 17px 26px 2px var(--shadow-key-penumbra-opacity),0 6px 32px 5px var(--shadow-key-ambient-opacity)}.var-elevation--18{box-shadow:0 9px 11px -5px var(--shadow-key-umbra-opacity),0 18px 28px 2px var(--shadow-key-penumbra-opacity),0 7px 34px 6px var(--shadow-key-ambient-opacity)}.var-elevation--19{box-shadow:0 9px 12px -6px var(--shadow-key-umbra-opacity),0 19px 29px 2px var(--shadow-key-penumbra-opacity),0 7px 36px 6px var(--shadow-key-ambient-opacity)}.var-elevation--20{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 20px 31px 3px var(--shadow-key-penumbra-opacity),0 8px 38px 7px var(--shadow-key-ambient-opacity)}.var-elevation--21{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 21px 33px 3px var(--shadow-key-penumbra-opacity),0 8px 40px 7px var(--shadow-key-ambient-opacity)}.var-elevation--22{box-shadow:0 10px 14px -6px var(--shadow-key-umbra-opacity),0 22px 35px 3px var(--shadow-key-penumbra-opacity),0 8px 42px 7px var(--shadow-key-ambient-opacity)}.var-elevation--23{box-shadow:0 11px 14px -7px var(--shadow-key-umbra-opacity),0 23px 36px 3px var(--shadow-key-penumbra-opacity),0 9px 44px 8px var(--shadow-key-ambient-opacity)}.var-elevation--24{box-shadow:0 11px 15px -7px var(--shadow-key-umbra-opacity),0 24px 38px 3px var(--shadow-key-penumbra-opacity),0 9px 46px 8px var(--shadow-key-ambient-opacity)}:root{--app-bar-color: var(--color-primary);--app-bar-title-padding: 0 12px;--app-bar-title-font-size: var(--font-size-lg);--app-bar-text-color: #fff;--app-bar-height: 54px;--app-bar-left-gap: 6px;--app-bar-right-gap: 6px;--app-bar-border-radius: 4px;--app-bar-font-size: var(--font-size-lg)}.var-app-bar{position:relative;width:100%;font-size:var(--app-bar-font-size);background:var(--app-bar-color);color:var(--app-bar-text-color);transition:background-color .25s}.var-app-bar__toolbar{position:relative;display:flex;justify-content:center;align-items:center;height:var(--app-bar-height)}.var-app-bar__title{font-size:var(--app-bar-title-font-size);flex:1;display:flex;justify-content:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:var(--app-bar-title-padding)}.var-app-bar__left,.var-app-bar__right{display:flex;align-items:center;height:100%}.var-app-bar__left{position:absolute;top:0;left:var(--app-bar-left-gap)}.var-app-bar__right{position:absolute;top:0;right:var(--app-bar-right-gap)}.var-app-bar--round{border-radius:var(--app-bar-border-radius)}.var-app-bar--safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);box-sizing:content-box!important}:root{--avatar-text-color: #f5f5f5;--avatar-border-radius: 4px;--avatar-mini-size: 28px;--avatar-small-size: 36px;--avatar-normal-size: 48px;--avatar-large-size: 64px;--avatar-border: 2px solid #fff;--avatar-background-color: #bebebe;--avatar-hover-transform: scale(1.1)}.var-avatar{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;color:var(--avatar-text-color);border-radius:var(--avatar-border-radius);background-color:var(--avatar-background-color);transition:background-color .25s}.var-avatar img{width:100%;height:100%}.var-avatar--mini{width:var(--avatar-mini-size);height:var(--avatar-mini-size)}.var-avatar--small{width:var(--avatar-small-size);height:var(--avatar-small-size)}.var-avatar--normal{width:var(--avatar-normal-size);height:var(--avatar-normal-size)}.var-avatar--large{width:var(--avatar-large-size);height:var(--avatar-large-size)}.var-avatar--round{border-radius:50%}.var-avatar--bordered{border:var(--avatar-border)}.var-avatar__text{padding:0 4px;white-space:nowrap}.var-avatar--hoverable{transition:transform .2s}.var-avatar--hoverable:hover{transform:var(--avatar-hover-transform);cursor:pointer}:root{--avatar-group-offset: -10px}.var-avatar-group{display:inline-flex;flex-wrap:wrap}.var-avatar-group--row{margin-left:calc(var(--avatar-group-offset) * -1)}.var-avatar-group--row .var-avatar{margin-left:var(--avatar-group-offset)}.var-avatar-group--column{flex-direction:column;margin-top:calc(var(--avatar-group-offset) * -1)}.var-avatar-group--column .var-avatar{margin-top:var(--avatar-group-offset)}:root{--button-default-color: #f5f5f5;--button-default-text-color: #555;--button-primary-color: var(--color-primary);--button-danger-color: var(--color-danger);--button-success-color: var(--color-success);--button-warning-color: var(--color-warning);--button-info-color: var(--color-info);--button-disabled-color: var(--color-disabled);--button-disabled-text-color: var(--color-text-disabled);--button-border-radius: 4px;--button-mini-padding: 0 9px;--button-small-padding: 0 11px;--button-normal-padding: 0 15px;--button-large-padding: 0 22px;--button-round-padding: 6px;--button-mini-height: 20px;--button-small-height: 28px;--button-normal-height: 36px;--button-large-height: 44px;--button-mini-font-size: var(--font-size-xs);--button-small-font-size: var(--font-size-sm);--button-normal-font-size: var(--font-size-md);--button-large-font-size: var(--font-size-lg)}.var-button{position:relative;justify-content:center;align-items:center;outline:none;border:none;border-radius:var(--button-border-radius);user-select:none;cursor:pointer;font-family:inherit;transition:box-shadow .2s,background-color .25s;will-change:box-shadow;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap}.var-button:active{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-button__content{display:flex;align-items:center;flex-wrap:wrap}.var-button__loading[var-button-cover]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.var-button--default{color:var(--button-default-text-color);background-color:var(--button-default-color)}.var-button--primary{color:#fff;background-color:var(--button-primary-color)}.var-button--info{color:#fff;background-color:var(--button-info-color)}.var-button--success{color:#fff;background-color:var(--button-success-color)}.var-button--warning{color:#fff;background-color:var(--button-warning-color)}.var-button--danger{color:#fff;background-color:var(--button-danger-color)}.var-button--disabled{background-color:var(--button-disabled-color);color:var(--button-disabled-text-color);cursor:not-allowed;box-shadow:none!important}.var-button--block{width:100%}.var-button--text{background-color:transparent}.var-button--text:active{box-shadow:none}.var-button--text-default{color:inherit}.var-button--text-primary{color:var(--button-primary-color)}.var-button--text-info{color:var(--button-info-color)}.var-button--text-success{color:var(--button-success-color)}.var-button--text-warning{color:var(--button-warning-color)}.var-button--text-danger{color:var(--button-danger-color)}.var-button--text-disabled{color:var(--button-disabled-text-color)}.var-button--normal{height:var(--button-normal-height);padding:var(--button-normal-padding);font-size:var(--button-normal-font-size)}.var-button--large{height:var(--button-large-height);padding:var(--button-large-padding);font-size:var(--button-large-font-size)}.var-button--small{height:var(--button-small-height);padding:var(--button-small-padding);font-size:var(--button-small-font-size)}.var-button--mini{height:var(--button-mini-height);padding:var(--button-mini-padding);font-size:var(--button-mini-font-size)}.var-button--round{padding:var(--button-round-padding);border-radius:50%;height:auto}.var-button--outline{border:thin solid currentColor}.var-button--hidden{opacity:0}:root{--back-top-right: 40px;--back-top-bottom: 40px;--back-top-button-size: 40px}.var-back-top{position:fixed;z-index:100;right:var(--back-top-right);bottom:var(--back-top-bottom);transform:scale(0);transition:.3s var(--cubic-bezier);-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-back-top .var-button[var-back-top-cover]{width:var(--back-top-button-size);height:var(--back-top-button-size)}.var-back-top--active{transform:scale(1)}:root{--badge-content-padding: 2px 6px;--badge-content-border: none;--badge-content-border-radius: 100px;--badge-icon-size: 12px;--badge-default-color: #e0e0e0;--badge-primary-color: var(--color-primary);--badge-danger-color: var(--color-danger);--badge-success-color: var(--color-success);--badge-warning-color: var(--color-warning);--badge-info-color: var(--color-info)}.var-badge{display:inline-block;position:relative;transition:background-color .25s}.var-badge__content{display:inline-block;vertical-align:middle;text-align:center;padding:var(--badge-content-padding);border:var(--badge-content-border);border-radius:var(--badge-content-border-radius);color:#fff;font-size:12px}.var-badge__icon[var-badge-cover]{font-size:var(--badge-icon-size)}.var-badge--icon{padding:2px 4px}.var-badge--dot{box-sizing:content-box;width:8px;height:8px;border-radius:8px;padding:0}.var-badge--default{background:var(--badge-default-color)}.var-badge--primary{background:var(--badge-primary-color)}.var-badge--info{background:var(--badge-info-color)}.var-badge--warning{background:var(--badge-warning-color)}.var-badge--success{background:var(--badge-success-color)}.var-badge--danger{background:var(--badge-danger-color)}.var-badge--right-top{position:absolute;top:0;right:0;transform:translateY(-50%) translate(50%)}.var-badge--left-top{position:absolute;top:0;left:0;transform:translateY(-50%) translate(-50%)}.var-badge--right-bottom{position:absolute;bottom:0;right:0;transform:translateY(50%) translate(50%)}.var-badge--left-bottom{position:absolute;bottom:0;left:0;transform:translateY(50%) translate(-50%)}.var-badge-fade-enter-active,.var-badge-fade-leave-active{transition:opacity .15s var(--cubic-bezier)}.var-badge-fade-enter-from,.var-badge-fade-leave-to{opacity:0}:root{--loading-opacity: .38;--loading-desc-margin: 8px 0 0}.var-loading{--loading-normal-width: 50px;--loading-normal-height: calc(var(--font-size-md) + 2px);--loading-large-width: 64px;--loading-large-height: calc(var(--font-size-lg) + 2px);--loading-small-width: 36px;--loading-small-height: calc(var(--font-size-sm) + 2px);--loading-mini-width: 22px;--loading-mini-height: calc(var(--font-size-xs) + 2px);position:relative}.var-loading__content{position:relative;transition:opacity .3s;opacity:1}.var-loading__content--active{opacity:var(--loading-opacity)}.var-loading__content-mask{position:absolute;left:0;right:0;top:0;bottom:0}.var-loading__body{display:flex;justify-content:center;align-items:center;height:100%;flex-direction:column}.var-loading__inside{position:absolute;left:50%;top:0;transform:translate(-50%);max-height:50vh;z-index:1}.var-loading__description{color:var(--color-primary);margin:var(--loading-desc-margin)}.var-loading__description--large{font-size:var(--font-size-lg)}.var-loading__description--normal{font-size:var(--font-size-md)}.var-loading__description--small{font-size:var(--font-size-sm)}.var-loading__description--mini{font-size:var(--font-size-xs)}.var-loading__circle{display:flex}.var-loading__circle-block{display:inline-block;color:var(--color-primary);animation:circle 1.8s linear infinite}.var-loading__circle-block--large{width:36px;height:36px}.var-loading__circle-block--normal{width:30px;height:30px}.var-loading__circle-block--small{width:24px;height:24px}.var-loading__circle-block--mini{width:18px;height:18px}.var-loading__circle-block svg{display:block;width:100%;height:100%}.var-loading__circle-block svg circle{animation:circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.var-loading__wave{--loading-wave-size-item-width: 5px;--loading-wave-size-item-margin: 5px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.var-loading__wave--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__wave--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__wave--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__wave--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__wave-item{height:100%;display:inline-block;animation:1.2s ease-in-out infinite wave;background-color:var(--color-primary)}.var-loading__wave-item:nth-child(1){animation-delay:-1.2s;margin-left:0}.var-loading__wave-item:nth-child(2){animation-delay:-1.1s}.var-loading__wave-item:nth-child(3){animation-delay:-1s}.var-loading__wave-item:nth-child(4){animation-delay:-.9s}.var-loading__wave-item:nth-child(5){animation-delay:-.8s}.var-loading__wave-item--large{width:var(--loading-wave-size-item-width);margin-left:var(--loading-wave-size-item-margin)}.var-loading__wave-item--normal{width:calc(var(--loading-wave-size-item-width) - 1px);margin-left:calc(var(--loading-wave-size-item-margin) - 1px)}.var-loading__wave-item--small{width:calc(var(--loading-wave-size-item-width) - 2px);margin-left:calc(var(--loading-wave-size-item-margin) - 2px)}.var-loading__wave-item--mini{width:calc(var(--loading-wave-size-item-width) - 3px);margin-left:calc(var(--loading-wave-size-item-margin) - 3px)}@keyframes wave{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.var-loading__cube{--loading-cube-size-item-width: 10px;--loading-cube-size-item-height: 10px;--loading-cube-size-item-margin: 5px;display:flex;align-items:center;flex-shrink:0}.var-loading__cube--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__cube--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__cube--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__cube--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__cube-item{display:inline-block;transform-origin:right bottom;animation:1.5s ease infinite cube;background-color:var(--color-primary)}.var-loading__cube-item:nth-child(1){animation-delay:.2s;margin-left:0}.var-loading__cube-item:nth-child(2){animation-delay:.4s}.var-loading__cube-item:nth-child(3){animation-delay:.6s}.var-loading__cube-item:nth-child(4){animation-delay:.8s}.var-loading__cube-item--large{height:var(--loading-cube-size-item-height);width:var(--loading-cube-size-item-width);margin-left:var(--loading-cube-size-item-margin)}.var-loading__cube-item--normal{height:calc(var(--loading-cube-size-item-height) - 2px);width:calc(var(--loading-cube-size-item-width) - 2px);margin-left:calc(var(--loading-cube-size-item-margin) - 1px)}.var-loading__cube-item--small{height:calc(var(--loading-cube-size-item-height) - 4px);width:calc(var(--loading-cube-size-item-width) - 4px);margin-left:calc(var(--loading-cube-size-item-margin) - 2px)}.var-loading__cube-item--mini{height:calc(var(--loading-cube-size-item-height) - 6px);width:calc(var(--loading-cube-size-item-width) - 6px);margin-left:calc(var(--loading-cube-size-item-margin) - 3px)}@keyframes cube{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:rotate(90deg) scale(.3)}}.var-loading__rect{--loading-rect-size-item-width: 8px;--loading-rect-size-item-height: 100%;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-shrink:0}.var-loading__rect--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__rect--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__rect--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__rect--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__rect-item{animation:2s ease-in-out infinite rect;background-color:var(--color-primary)}.var-loading__rect-item:nth-child(1){animation-delay:1.75s}.var-loading__rect-item:nth-child(2){animation-delay:1.5s}.var-loading__rect-item:nth-child(3){animation-delay:1.25s}.var-loading__rect-item:nth-child(4){animation-delay:1s}.var-loading__rect-item:nth-child(5){animation-delay:.75s}.var-loading__rect-item:nth-child(6){animation-delay:.5s}.var-loading__rect-item:nth-child(7){animation-delay:.25s}.var-loading__rect-item:nth-child(8){animation-delay:0s}.var-loading__rect-item--large{height:var(--loading-rect-size-item-height);width:var(--loading-rect-size-item-width)}.var-loading__rect-item--normal{height:calc(var(--loading-rect-size-item-height) * .9);width:calc(var(--loading-rect-size-item-width) * .8)}.var-loading__rect-item--small{height:calc(var(--loading-rect-size-item-height) * .8);width:calc(var(--loading-rect-size-item-width) * .6)}.var-loading__rect-item--mini{height:calc(var(--loading-rect-size-item-height) * .7);width:calc(var(--loading-rect-size-item-width) * .4)}@keyframes rect{0%{opacity:.3}25%{opacity:1}50%{opacity:.3}65%{opacity:1}to{opacity:.3}}.var-loading__disappear{--loading-disappear-size-item-width: 15px;--loading-disappear-size-item-height: 15px;display:flex;justify-content:space-around;align-items:center;flex-flow:nowrap;flex-shrink:0}.var-loading__disappear--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__disappear--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__disappear--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__disappear--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__disappear-item{border-radius:50%;animation:.5s ease-in-out infinite alternate disappear;background-color:var(--color-primary)}.var-loading__disappear-item:nth-child(1){animation-delay:-.4s}.var-loading__disappear-item:nth-child(2){animation-delay:-.2s}.var-loading__disappear-item:nth-child(3){animation-delay:0s}.var-loading__disappear-item--large{height:var(--loading-disappear-size-item-height);width:var(--loading-disappear-size-item-width)}.var-loading__disappear-item--normal{height:calc(var(--loading-disappear-size-item-height) * .8);width:calc(var(--loading-disappear-size-item-width) * .8)}.var-loading__disappear-item--small{height:calc(var(--loading-disappear-size-item-height) * .6);width:calc(var(--loading-disappear-size-item-width) * .6)}.var-loading__disappear-item--mini{height:calc(var(--loading-disappear-size-item-height) * .4);width:calc(var(--loading-disappear-size-item-width) * .4)}@keyframes disappear{0%{opacity:1}to{opacity:0}}:root{--bottom-navigation-height: 50px;--bottom-navigation-z-index: 1;--bottom-navigation-background-color: #fff;--bottom-navigation-border-color: #e3e3e3;--bottom-navigation-fab-offset: 4px}.var-bottom-navigation{width:100%;height:var(--bottom-navigation-height);display:flex;position:relative;background-color:var(--bottom-navigation-background-color);transition:background-color .25s,border-color .25s;-webkit-tap-highlight-color:transparent}.var-bottom-navigation--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box!important}.var-bottom-navigation--fixed{position:fixed;left:0;bottom:0}.var-bottom-navigation--border{border-top:1px solid var(--bottom-navigation-border-color)}.var-bottom-navigation__fab[var-bottom-navigation__fab]{width:var(--bottom-navigation-height);height:var(--bottom-navigation-height);position:absolute;z-index:2;transform:translateY(-50%);overflow:hidden;transition:right .25s cubic-bezier(.4,0,.2,1) 0ms}.var-bottom-navigation--fab-center{right:calc(50% - var(--bottom-navigation-height) / 2)}.var-bottom-navigation--fab-right{right:var(--bottom-navigation-fab-offset)}:root{--bottom-navigation-item-font-size: var(--font-size-sm);--bottom-navigation-item-inactive-color: #646566;--bottom-navigation-item-active-color: var(--color-primary);--bottom-navigation-item-active-background-color: #fff;--bottom-navigation-item-line-height: 1;--bottom-navigation-item-icon-size: 22px;--bottom-navigation-item-icon-margin-bottom: 5px}.var-bottom-navigation-item{height:100%;padding:6px 12px 8px;position:relative;display:inline-flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center;line-height:var(--bottom-navigation-item-line-height);color:var(--bottom-navigation-item-inactive-color);cursor:pointer;user-select:none;vertical-align:middle;appearance:none;text-decoration:none;background-color:transparent;outline:0;border:0;transition:color .25s,margin .25s}.var-bottom-navigation-item--active{color:var(--bottom-navigation-item-active-color);background-color:var(--bottom-navigation-item-active-background-color);transition:background-color .25s}.var-bottom-navigation-item--active .var-bottom-navigation-item__label{font-size:calc(var(--bottom-navigation-item-font-size) * 1.16)}.var-bottom-navigation-item--right-half-space{margin-right:calc(var(--bottom-navigation-height) / 2)}.var-bottom-navigation-item--left-half-space{margin-left:calc(var(--bottom-navigation-height) / 2)}.var-bottom-navigation-item--right-space{margin-right:calc(var(--bottom-navigation-height) + var(--bottom-navigation-fab-offset))}.var-bottom-navigation-item__icon[var-bottom-navigation-item-cover]{font-size:var(--bottom-navigation-item-icon-size)}.var-bottom-navigation-item__badge[var-bottom-navigation-item-cover]{position:absolute;left:4px;transform:translateY(-22px)}.var-bottom-navigation-item__label{margin-top:var(--bottom-navigation-item-icon-margin-bottom);font-size:var(--bottom-navigation-item-font-size);transition:font-size .2s ease .1s;white-space:nowrap}:root{--breadcrumb-active-color: var(--color-primary);--breadcrumb-inactive-color: #888;--breadcrumb-separator-margin: 0 10px;--breadcrumb-separator-font-size: 14px}.var-breadcrumb{display:flex;align-items:center;color:var(--breadcrumb-inactive-color)}.var-breadcrumb__separator{margin:var(--breadcrumb-separator-margin);font-size:var(--breadcrumb-separator-font-size)}.var-breadcrumb--active{color:var(--breadcrumb-active-color);transition:opacity .25s}.var-breadcrumb--active:hover{opacity:.7;cursor:pointer}.var-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center}.var-hover-overlay{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-color:currentColor;opacity:0;transition:opacity .15s;will-change:opacity;pointer-events:none}.var-hover-overlay--hovering{opacity:.15}.var-button-group{display:inline-flex;border-radius:var(--button-border-radius);max-width:100%;overflow:auto}.var-button-group .var-button:active{box-shadow:none}.var-button-group--horizontal .var-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.var-button-group--horizontal .var-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.var-button-group--horizontal .var-button:not(:first-child):not(:last-child){border-radius:0}.var-button-group--horizontal.var-button-group--mode-text .var-button{border-right:thin solid currentColor}.var-button-group--horizontal.var-button-group--mode-text .var-button:last-child{border:none}.var-button-group--horizontal.var-button-group--mode-outline .var-button:not(:first-child){border-left:none}.var-button-group--vertical{flex-direction:column}.var-button-group--vertical .var-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.var-button-group--vertical .var-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.var-button-group--vertical .var-button:not(:first-child):not(:last-child){border-radius:0}.var-button-group--vertical.var-button-group--mode-text .var-button{border-bottom:thin solid currentColor}.var-button-group--vertical.var-button-group--mode-text .var-button:last-child{border:none}.var-button-group--vertical.var-button-group--mode-outline .var-button:not(:first-child){border-top:none}:root{--card-padding: 0 0 15px 0;--card-background: #fff;--card-outline-color: rgba(0, 0, 0, .12);--card-border-radius: 4px;--card-image-width: 100%;--card-row-image-width: 140px;--card-image-height: 200px;--card-row-height: 140px;--card-title-color: #333;--card-title-font-size: 20px;--card-title-padding: 0 12px;--card-title-margin: 15px 0 0 0;--card-title-row-margin: 12px 0;--card-subtitle-color: rgba(0, 0, 0, .6);--card-subtitle-font-size: 14px;--card-subtitle-padding: 0 12px;--card-subtitle-margin: 10px 0 0 0;--card-subtitle-row-margin: -8px 0 0 0;--card-description-color: rgba(0, 0, 0, .6);--card-description-font-size: 14px;--card-description-margin: 20px 0 0 0;--card-description-padding: 0 13px;--card-footer-padding: 0 12px;--card-footer-right: 13px;--card-footer-bottom: 9px;--card-footer-margin: 30px 0 0 0;--card-line-height: 22px;--card-row-line-height: 1.5;--card-floating-buttons-bottom: 16px;--card-floating-buttons-right: 16px;--card-floating-buttons-color: #fff;--card-close-button-icon-size: 24px;--card-close-button-size: 56px;--card-close-button-primary-color: #212121;--card-close-button-text-color: #fff}.var-card{border-radius:var(--card-border-radius);overflow:hidden;width:100%}.var-card--outline{border:thin solid var(--card-outline-color)}.var-card__floater{display:flex;flex-direction:column;position:static;line-height:var(--card-line-height);background:var(--card-background);transition:background-color .25s,color .25s;transition-timing-function:cubic-bezier(.45,.19,.06,.89)}.var-card__container{padding:var(--card-padding);flex-grow:1;min-width:0}.var-card--layout-row .var-card__floater{min-height:var(--card-row-height);height:100%;flex-direction:row;position:relative;line-height:var(--card-row-line-height)}.var-card__image{width:var(--card-image-width);height:var(--card-image-height);display:block}.var-card--layout-row .var-card__image{width:var(--card-row-image-width);height:auto;display:block;flex-shrink:0}.var-card__title{font-size:var(--card-title-font-size);padding:var(--card-title-padding);margin:var(--card-title-margin);color:var(--card-title-color);word-break:break-word}.var-card--layout-row .var-card__title{max-width:100%;overflow:hidden;margin:var(--card-title-row-margin);text-overflow:ellipsis;white-space:nowrap}.var-card__subtitle{font-size:var(--card-subtitle-font-size);color:var(--card-subtitle-color);padding:var(--card-subtitle-padding);margin:var(--card-subtitle-margin);word-break:break-word}.var-card--layout-row .var-card__subtitle{margin:var(--card-subtitle-row-margin);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.var-card__description{font-size:var(--card-description-font-size);color:var(--card-description-color);margin:var(--card-description-margin);padding:var(--card-description-padding);word-break:break-all}.var-card__footer{display:flex;justify-content:flex-end;padding:var(--card-footer-padding);margin:var(--card-footer-margin)}.var-card--layout-row .var-card__footer{position:absolute;padding:0;right:var(--card-footer-right);bottom:var(--card-footer-bottom)}.var-card__floating-content{overflow:hidden;transition-timing-function:cubic-bezier(.45,.19,.06,.89)}.var-card__floating-buttons{position:fixed;bottom:var(--card-floating-buttons-bottom);right:var(--card-floating-buttons-right);color:var(--card-floating-buttons-color)}.var-card__close-button[var-card-cover]{width:var(--card-close-button-size);height:var(--card-close-button-size);background-color:var(--card-close-button-primary-color);color:var(--card-close-button-text-color)}.var-card__close-button-icon[var-card-cover]{font-size:var(--card-close-button-icon-size)}:root{--cell-color: var(--color-text);--cell-font-size: var(--font-size-md);--cell-description-font-size: var(--font-size-sm);--cell-description-color: rgba(0, 0, 0, .6);--cell-description-margin-top: 4px;--cell-padding: 10px 12px;--cell-min-height: 40px;--cell-border-color: #bcc2cb;--cell-border-left: 12px;--cell-border-right: 12px;--cell-icon-right: 8px;--cell-extra-left: 8px}.var-cell{align-items:center;display:flex;min-height:var(--cell-min-height);outline:none;width:100%;padding:var(--cell-padding);position:relative;box-sizing:border-box;font-size:var(--cell-font-size);color:var(--cell-color)}.var-cell--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;bottom:0;right:var(--cell-border-right);left:var(--cell-border-left);border-bottom:1px solid var(--cell-border-color);transform:scaleY(.5)}.var-cell__icon{margin-right:var(--cell-icon-right);flex:0}.var-cell__content{flex:1;min-width:0}.var-cell__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.var-cell__description{font-size:var(--cell-description-font-size);color:var(--cell-description-color);margin-top:var(--cell-description-margin-top)}.var-cell__extra{flex:0;margin-left:var(--cell-extra-left)}.var-cell--cursor{cursor:pointer}:root{--form-details-error-message-color: var(--color-danger);--form-details-extra-message-color: #888;--form-details-margin-top: 6px;--form-details-font-size: 12px;--form-details-message-margin-right: 4px}.var-form-details{display:flex;justify-content:space-between;font-size:var(--form-details-font-size);margin-top:var(--form-details-margin-top)}.var-form-details-enter-from,.var-form-details-leave-to{opacity:0;margin-top:2px!important}.var-form-details-enter-active,.var-form-details-leave-active{transition:.2s all var(--cubic-bezier)}.var-form-details__message-enter-from,.var-form-details__message-leave-to{opacity:0}.var-form-details__message-enter-active,.var-form-details__message-leave-active{transition:.2s all var(--cubic-bezier)}.var-form-details__error-message{flex-grow:1;color:var(--form-details-error-message-color);margin-right:var(--form-details-message-margin-right);user-select:none;text-align:left}.var-form-details__extra-message{flex-shrink:0;color:var(--form-details-extra-message-color);user-select:none;text-align:right}:root{--checkbox-checked-color: var(--color-primary);--checkbox-unchecked-color: #555;--checkbox-disabled-color: var(--color-text-disabled);--checkbox-error-color: var(--color-danger);--checkbox-action-padding: 6px;--checkbox-text-color: #555;--checkbox-icon-size: 24px}.var-checkbox{display:flex;align-items:center;transform:translate(calc(-1 * var(--checkbox-action-padding)));cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-checkbox__wrap{display:inline-flex;flex-direction:column}.var-checkbox__action{position:relative;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:var(--checkbox-action-padding);border-radius:50%;transition:background-color .25s,color .25s}.var-checkbox__icon[var-checkbox-cover]{display:block;font-size:var(--checkbox-icon-size)}.var-checkbox__text{color:var(--checkbox-text-color)}.var-checkbox--with-animation{animation:var-vibrate-animation .25s}.var-checkbox--checked{color:var(--checkbox-checked-color)}.var-checkbox--unchecked{color:var(--checkbox-unchecked-color)}.var-checkbox--disabled{color:var(--checkbox-disabled-color);cursor:not-allowed}.var-checkbox--error{color:var(--checkbox-error-color)}.var-checkbox-group{display:flex;flex-wrap:wrap}.var-checkbox-group--horizontal{flex-direction:row}.var-checkbox-group--vertical{flex-direction:column}:root{--chip-default-text-color: #555;--chip-default-color: #e0e0e0;--chip-primary-color: var(--color-primary);--chip-danger-color: var(--color-danger);--chip-success-color: var(--color-success);--chip-warning-color: var(--color-warning);--chip-info-color: var(--color-info);--chip-border-radius: 2px;--chip-normal-height: 32px;--chip-large-height: 40px;--chip-small-height: 24px;--chip-mini-height: 16px;--chip-round-radius: 100px;--chip-normal-padding: 0 10px;--chip-large-padding: 0 17px;--chip-small-padding: 0 6px;--chip-mini-padding: 0 4px;--chip-text-normal-margin: 0 5px;--chip-text-large-margin: 0 5px;--chip-text-small-margin: 0 3px;--chip-text-mini-margin: 0 2px;--chip-mini-font-size: var(--font-size-xs);--chip-small-font-size: var(--font-size-sm);--chip-normal-font-size: var(--font-size-md);--chip-large-font-size: var(--font-size-lg)}.var-fade-leave-to{opacity:0}.var-fade-leave-active{transition:opacity .3s}.var-chip{justify-content:center;align-items:center;font-family:Roboto,sans-serif;border-radius:var(--chip-border-radius);cursor:default;border:thin solid transparent;vertical-align:middle;transition:background-color .25s}.var-chip--default{color:var(--chip-default-text-color);background:var(--chip-default-color)}.var-chip--primary{color:#fff;background-color:var(--chip-primary-color)}.var-chip--info{color:#fff;background-color:var(--chip-info-color)}.var-chip--success{color:#fff;background-color:var(--chip-success-color)}.var-chip--warning{color:#fff;background-color:var(--chip-warning-color)}.var-chip--danger{color:#fff;background-color:var(--chip-danger-color)}.var-chip__plain{background-color:transparent}.var-chip__plain:active{box-shadow:none}.var-chip__plain-default{color:inherit;border-color:currentColor}.var-chip__plain-primary{color:var(--chip-primary-color);border-color:currentColor}.var-chip__plain-info{color:var(--chip-info-color);border-color:currentColor}.var-chip__plain-success{color:var(--chip-success-color);border-color:currentColor}.var-chip__plain-warning{color:var(--chip-warning-color);border-color:currentColor}.var-chip__plain-danger{color:var(--chip-danger-color);border-color:currentColor}.var-chip--round{border-radius:var(--chip-round-radius)}.var-chip--normal{font-size:var(--chip-normal-font-size);padding:var(--chip-normal-padding);height:var(--chip-normal-height)}.var-chip--large{padding:var(--chip-large-padding);font-size:var(--chip-large-font-size);height:var(--chip-large-height)}.var-chip--small{padding:var(--chip-small-padding);font-size:var(--chip-small-font-size);height:var(--chip-small-height)}.var-chip--mini{padding:var(--chip-mini-padding);font-size:var(--chip-mini-font-size);height:var(--chip-mini-height)}.var-chip--close{cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-chip__text-large{margin:var(--chip-text-large-margin)}.var-chip__text-normal{margin:var(--chip-text-normal-margin)}.var-chip__text-small{margin:var(--chip-text-small-margin)}.var-chip__text-mini{margin:var(--chip-text-mini-margin)}.var-col{transition:all .25s;display:flex!important}.var-col--span-0{display:none!important}.var-col--span-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-1{margin-left:4.16666667%}.var-col--span-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-2{margin-left:8.33333333%}.var-col--span-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-3{margin-left:12.5%}.var-col--span-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-4{margin-left:16.66666667%}.var-col--span-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-5{margin-left:20.83333333%}.var-col--span-6{flex:0 0 25%;max-width:25%}.var-col--offset-6{margin-left:25%}.var-col--span-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-7{margin-left:29.16666667%}.var-col--span-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-8{margin-left:33.33333333%}.var-col--span-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-9{margin-left:37.5%}.var-col--span-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-10{margin-left:41.66666667%}.var-col--span-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-11{margin-left:45.83333333%}.var-col--span-12{flex:0 0 50%;max-width:50%}.var-col--offset-12{margin-left:50%}.var-col--span-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-13{margin-left:54.16666667%}.var-col--span-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-14{margin-left:58.33333333%}.var-col--span-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-15{margin-left:62.5%}.var-col--span-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-16{margin-left:66.66666667%}.var-col--span-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-17{margin-left:70.83333333%}.var-col--span-18{flex:0 0 75%;max-width:75%}.var-col--offset-18{margin-left:75%}.var-col--span-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-19{margin-left:79.16666667%}.var-col--span-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-20{margin-left:83.33333333%}.var-col--span-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-21{margin-left:87.5%}.var-col--span-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-22{margin-left:91.66666667%}.var-col--span-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-23{margin-left:95.83333333%}.var-col--span-24{flex:0 0 100%;max-width:100%}.var-col--offset-24{margin-left:100%}@media only screen and (max-width: 767px){.var-col--span-xs-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-xs-1{margin-left:4.16666667%}.var-col--span-xs-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-xs-2{margin-left:8.33333333%}.var-col--span-xs-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-xs-3{margin-left:12.5%}.var-col--span-xs-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-xs-4{margin-left:16.66666667%}.var-col--span-xs-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-xs-5{margin-left:20.83333333%}.var-col--span-xs-6{flex:0 0 25%;max-width:25%}.var-col--offset-xs-6{margin-left:25%}.var-col--span-xs-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-xs-7{margin-left:29.16666667%}.var-col--span-xs-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-xs-8{margin-left:33.33333333%}.var-col--span-xs-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-xs-9{margin-left:37.5%}.var-col--span-xs-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-xs-10{margin-left:41.66666667%}.var-col--span-xs-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-xs-11{margin-left:45.83333333%}.var-col--span-xs-12{flex:0 0 50%;max-width:50%}.var-col--offset-xs-12{margin-left:50%}.var-col--span-xs-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-xs-13{margin-left:54.16666667%}.var-col--span-xs-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-xs-14{margin-left:58.33333333%}.var-col--span-xs-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-xs-15{margin-left:62.5%}.var-col--span-xs-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-xs-16{margin-left:66.66666667%}.var-col--span-xs-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-xs-17{margin-left:70.83333333%}.var-col--span-xs-18{flex:0 0 75%;max-width:75%}.var-col--offset-xs-18{margin-left:75%}.var-col--span-xs-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-xs-19{margin-left:79.16666667%}.var-col--span-xs-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-xs-20{margin-left:83.33333333%}.var-col--span-xs-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-xs-21{margin-left:87.5%}.var-col--span-xs-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-xs-22{margin-left:91.66666667%}.var-col--span-xs-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-xs-23{margin-left:95.83333333%}.var-col--span-xs-24{flex:0 0 100%;max-width:100%}.var-col--offset-xs-24{margin-left:100%}.var-col--span-xs-0{display:none!important}}@media only screen and (min-width: 768px) and (max-width: 991px){.var-col--span-sm-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-sm-1{margin-left:4.16666667%}.var-col--span-sm-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-sm-2{margin-left:8.33333333%}.var-col--span-sm-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-sm-3{margin-left:12.5%}.var-col--span-sm-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-sm-4{margin-left:16.66666667%}.var-col--span-sm-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-sm-5{margin-left:20.83333333%}.var-col--span-sm-6{flex:0 0 25%;max-width:25%}.var-col--offset-sm-6{margin-left:25%}.var-col--span-sm-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-sm-7{margin-left:29.16666667%}.var-col--span-sm-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-sm-8{margin-left:33.33333333%}.var-col--span-sm-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-sm-9{margin-left:37.5%}.var-col--span-sm-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-sm-10{margin-left:41.66666667%}.var-col--span-sm-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-sm-11{margin-left:45.83333333%}.var-col--span-sm-12{flex:0 0 50%;max-width:50%}.var-col--offset-sm-12{margin-left:50%}.var-col--span-sm-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-sm-13{margin-left:54.16666667%}.var-col--span-sm-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-sm-14{margin-left:58.33333333%}.var-col--span-sm-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-sm-15{margin-left:62.5%}.var-col--span-sm-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-sm-16{margin-left:66.66666667%}.var-col--span-sm-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-sm-17{margin-left:70.83333333%}.var-col--span-sm-18{flex:0 0 75%;max-width:75%}.var-col--offset-sm-18{margin-left:75%}.var-col--span-sm-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-sm-19{margin-left:79.16666667%}.var-col--span-sm-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-sm-20{margin-left:83.33333333%}.var-col--span-sm-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-sm-21{margin-left:87.5%}.var-col--span-sm-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-sm-22{margin-left:91.66666667%}.var-col--span-sm-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-sm-23{margin-left:95.83333333%}.var-col--span-sm-24{flex:0 0 100%;max-width:100%}.var-col--offset-sm-24{margin-left:100%}.var-col--span-sm-0{display:none!important}}@media only screen and (min-width: 992px) and (max-width: 1199px){.var-col--span-md-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-md-1{margin-left:4.16666667%}.var-col--span-md-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-md-2{margin-left:8.33333333%}.var-col--span-md-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-md-3{margin-left:12.5%}.var-col--span-md-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-md-4{margin-left:16.66666667%}.var-col--span-md-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-md-5{margin-left:20.83333333%}.var-col--span-md-6{flex:0 0 25%;max-width:25%}.var-col--offset-md-6{margin-left:25%}.var-col--span-md-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-md-7{margin-left:29.16666667%}.var-col--span-md-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-md-8{margin-left:33.33333333%}.var-col--span-md-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-md-9{margin-left:37.5%}.var-col--span-md-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-md-10{margin-left:41.66666667%}.var-col--span-md-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-md-11{margin-left:45.83333333%}.var-col--span-md-12{flex:0 0 50%;max-width:50%}.var-col--offset-md-12{margin-left:50%}.var-col--span-md-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-md-13{margin-left:54.16666667%}.var-col--span-md-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-md-14{margin-left:58.33333333%}.var-col--span-md-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-md-15{margin-left:62.5%}.var-col--span-md-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-md-16{margin-left:66.66666667%}.var-col--span-md-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-md-17{margin-left:70.83333333%}.var-col--span-md-18{flex:0 0 75%;max-width:75%}.var-col--offset-md-18{margin-left:75%}.var-col--span-md-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-md-19{margin-left:79.16666667%}.var-col--span-md-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-md-20{margin-left:83.33333333%}.var-col--span-md-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-md-21{margin-left:87.5%}.var-col--span-md-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-md-22{margin-left:91.66666667%}.var-col--span-md-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-md-23{margin-left:95.83333333%}.var-col--span-md-24{flex:0 0 100%;max-width:100%}.var-col--offset-md-24{margin-left:100%}.var-col--span-md-0{display:none!important}}@media only screen and (min-width: 1200px) and (max-width: 1919px){.var-col--span-lg-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-lg-1{margin-left:4.16666667%}.var-col--span-lg-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-lg-2{margin-left:8.33333333%}.var-col--span-lg-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-lg-3{margin-left:12.5%}.var-col--span-lg-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-lg-4{margin-left:16.66666667%}.var-col--span-lg-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-lg-5{margin-left:20.83333333%}.var-col--span-lg-6{flex:0 0 25%;max-width:25%}.var-col--offset-lg-6{margin-left:25%}.var-col--span-lg-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-lg-7{margin-left:29.16666667%}.var-col--span-lg-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-lg-8{margin-left:33.33333333%}.var-col--span-lg-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-lg-9{margin-left:37.5%}.var-col--span-lg-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-lg-10{margin-left:41.66666667%}.var-col--span-lg-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-lg-11{margin-left:45.83333333%}.var-col--span-lg-12{flex:0 0 50%;max-width:50%}.var-col--offset-lg-12{margin-left:50%}.var-col--span-lg-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-lg-13{margin-left:54.16666667%}.var-col--span-lg-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-lg-14{margin-left:58.33333333%}.var-col--span-lg-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-lg-15{margin-left:62.5%}.var-col--span-lg-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-lg-16{margin-left:66.66666667%}.var-col--span-lg-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-lg-17{margin-left:70.83333333%}.var-col--span-lg-18{flex:0 0 75%;max-width:75%}.var-col--offset-lg-18{margin-left:75%}.var-col--span-lg-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-lg-19{margin-left:79.16666667%}.var-col--span-lg-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-lg-20{margin-left:83.33333333%}.var-col--span-lg-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-lg-21{margin-left:87.5%}.var-col--span-lg-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-lg-22{margin-left:91.66666667%}.var-col--span-lg-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-lg-23{margin-left:95.83333333%}.var-col--span-lg-24{flex:0 0 100%;max-width:100%}.var-col--offset-lg-24{margin-left:100%}.var-col--span-lg-0{display:none!important}}@media only screen and (min-width: 1920px){.var-col--span-xl-0{flex:0 0 0%;max-width:0%}.var-col--offset-xl-0{margin-left:0%}.var-col--span-xl-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-xl-1{margin-left:4.16666667%}.var-col--span-xl-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-xl-2{margin-left:8.33333333%}.var-col--span-xl-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-xl-3{margin-left:12.5%}.var-col--span-xl-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-xl-4{margin-left:16.66666667%}.var-col--span-xl-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-xl-5{margin-left:20.83333333%}.var-col--span-xl-6{flex:0 0 25%;max-width:25%}.var-col--offset-xl-6{margin-left:25%}.var-col--span-xl-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-xl-7{margin-left:29.16666667%}.var-col--span-xl-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-xl-8{margin-left:33.33333333%}.var-col--span-xl-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-xl-9{margin-left:37.5%}.var-col--span-xl-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-xl-10{margin-left:41.66666667%}.var-col--span-xl-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-xl-11{margin-left:45.83333333%}.var-col--span-xl-12{flex:0 0 50%;max-width:50%}.var-col--offset-xl-12{margin-left:50%}.var-col--span-xl-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-xl-13{margin-left:54.16666667%}.var-col--span-xl-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-xl-14{margin-left:58.33333333%}.var-col--span-xl-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-xl-15{margin-left:62.5%}.var-col--span-xl-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-xl-16{margin-left:66.66666667%}.var-col--span-xl-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-xl-17{margin-left:70.83333333%}.var-col--span-xl-18{flex:0 0 75%;max-width:75%}.var-col--offset-xl-18{margin-left:75%}.var-col--span-xl-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-xl-19{margin-left:79.16666667%}.var-col--span-xl-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-xl-20{margin-left:83.33333333%}.var-col--span-xl-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-xl-21{margin-left:87.5%}.var-col--span-xl-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-xl-22{margin-left:91.66666667%}.var-col--span-xl-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-xl-23{margin-left:95.83333333%}.var-col--span-xl-24{flex:0 0 100%;max-width:100%}.var-col--offset-xl-24{margin-left:100%}.var-col--span-xl-0{display:none!important}}.var-collapse{position:relative;width:100%;z-index:0}:root{--collapse-background: #fff;--collapse-text-color: #232222;--collapse-header-font-size: var(--font-size-lg);--collapse-header-padding: 10px 12px;--collapse-content-font-size: var(--font-size-md);--collapse-content-padding: 0 12px 10px;--collapse-item-margin-top: 16px;--collapse-disable-color: #bdbdbd;--collapse-border-top: thin solid rgba(0, 0, 0, .12)}.var-collapse-item{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;position:relative;margin-top:0;background:var(--collapse-background);color:var(--collapse-text-color);transition:margin-top .25s,background-color .25s}.var-collapse-item__shadow{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:-1}.var-collapse-item:not(:first-child):after{border-top:var(--collapse-divider-top);content:"";left:0;position:absolute;right:0;top:0}.var-collapse-item__header{align-items:center;display:flex;font-size:var(--collapse-header-font-size);outline:none;padding:var(--collapse-header-padding);justify-content:space-between;position:relative}.var-collapse-item__header-title{transition:color .25s}.var-collapse-item__header-icon{transform:rotate(0);opacity:1}.var-collapse-item__header-open{transform:rotate(-180deg)}.var-collapse-item__header--disable{opacity:0}.var-collapse-item__content{font-size:var(--collapse-content-font-size);overflow:hidden;transition:all .25s}.var-collapse-item__content-wrap{padding:var(--collapse-content-padding);word-break:break-all}.var-collapse-item--active+.var-collapse-item,.var-collapse-item--active:not(:first-child){margin-top:var(--collapse-item-margin-top)}.var-collapse-item--active+.var-collapse-item:after,.var-collapse-item--active:not(:first-child):after{border-top:none}.var-collapse-item--disable{color:var(--collapse-disable-color);cursor:not-allowed}:root{--countdown-text-color: #555}.var-countdown{color:var(--countdown-text-color)}:root{--counter-padding: 0 4px;--counter-font-color: #fff;--counter-background: var(--color-primary);--counter-input-width: 28px;--counter-input-margin: 0 4px;--counter-input-font-size: 14px;--counter-button-size: 28px;--counter-button-text-color: #fff;--counter-button-icon-size: 100%;--counter-disabled-color: var(--color-disabled);--counter-disabled-opacity: var(--opacity-disabled);--counter-error-color: var(--color-danger)}.var-counter{display:inline-flex;flex-direction:column;align-items:flex-start}.var-counter__controller{display:flex;align-items:center;color:var(--counter-font-color);border-radius:var(--counter-button-size);padding:var(--counter-padding);background:var(--counter-background);transition:color .25s,background-color .25s,opacity .25s}.var-counter__input{width:var(--counter-input-width);font-size:var(--counter-input-font-size);outline:none;border:none;background:transparent;padding:0;text-align:center;color:var(--counter-font-color);margin:var(--counter-input-margin)}.var-counter__input[disabled]{background:transparent}.var-counter__increment-button[var-counter-cover],.var-counter__decrement-button[var-counter-cover]{width:var(--counter-button-size);height:var(--counter-button-size);font-size:var(--counter-button-icon-size);color:var(--counter-button-text-color);border-radius:50%;padding:0;background-color:rgba(0,0,0,0);box-shadow:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none}.var-counter__increment-button[var-counter-cover]:active,.var-counter__decrement-button[var-counter-cover]:active{box-shadow:none}.var-counter--disabled{opacity:var(--counter-disabled-opacity);cursor:not-allowed}.var-counter--disabled .var-hover-overlay{opacity:0}.var-counter--not-allowed{cursor:not-allowed!important}.var-counter--hidden{opacity:0}.var-counter--error{background:var(--counter-error-color)}:root{--date-picker-border-radius: 4px;--date-picker-font-size: var(--font-size-md);--date-picker-min-width: 290px;--date-picker-height: 385px;--date-picker-main-color: rgba(0, 0, 0, .87);--date-picker-title-height: 105px;--date-picker-title-padding: 16px;--date-picker-title-background: var(--color-primary);--date-picker-title-color: #fff;--date-picker-title-year-font-size: var(--font-size-md);--date-picker-title-year-font-weight: 500;--date-picker-title-year-margin-bottom: 8px;--date-picker-title-date-height: 48px;--date-picker-title-date-font-size: 34px;--date-picker-title-date-font-weight: 500;--date-picker-title-date-range-font-size: 20px;--date-picker-body-background-color: #fff;--picker-header-padding: 4px 16px;--picker-header-color: #555;--month-picker-padding: 0 12px;--month-picker-item-width: 33%;--month-picker-item-height: 56px;--month-picker-item-button-max-width: 140px;--year-picker-font-weight: 400;--year-picker-item-padding: 8px 0;--year-picker-item-active-font-size: 26px;--year-picker-item-active-font-weight: 500;--year-picker-item-active-font-padding: 10px 0;--year-picker-item-active-color: var(--color-primary);--year-picker-item-color: #555;--day-picker-content-item-width: 14.28%;--day-picker-content-item-font-size: var(--font-size-sm);--day-picker-content-item-padding: 2px 0;--day-picker-content-item-button-width: 32px;--day-picker-content-item-button-height: 32px;--day-picker-content-item-button-font-size: var(--font-size-sm);--day-picker-head-item-color: rgba(0, 0, 0, .38);--day-picker-head-item-padding: 8px 0;--day-picker-head-item-font-weight: 600}.var-date-picker{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--date-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--date-picker-font-size);position:relative;min-width:var(--date-picker-min-width);height:var(--date-picker-height);overflow:hidden}.var-date-picker ul{list-style:none;margin:0;padding:0}.var-date-picker__title{min-height:var(--date-picker-title-height);padding:var(--date-picker-title-padding);color:var(--date-picker-title-color);background:var(--date-picker-title-background);display:flex;justify-content:space-between;flex-direction:column;flex-wrap:wrap}.var-date-picker__title-year{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;display:inline-flex;font-size:var(--date-picker-title-year-font-size);font-weight:var(--date-picker-title-year-font-weight);margin-bottom:var(--date-picker-title-year-margin-bottom);transition:.3s var(--cubic-bezier);justify-content:flex-end}.var-date-picker__title-year--active{opacity:1}.var-date-picker__title-date{height:var(--date-picker-title-date-height);overflow:hidden;font-size:var(--date-picker-title-date-font-size);text-align:left;font-weight:var(--date-picker-title-date-font-weight);position:relative;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);display:flex;align-items:center;opacity:.6;transition:.3s var(--cubic-bezier)}.var-date-picker__title-date--active{opacity:1}.var-date-picker__title-date--range{font-size:var(--date-picker-title-date-range-font-size)}.var-date-picker__body{flex:1;position:relative;overflow:auto;background-color:var(--date-picker-body-background-color)}.var-date-picker__body::-webkit-scrollbar{display:none;width:0;background:transparent}.var-date-picker .var-picker-header{padding:var(--picker-header-padding);align-items:center;display:flex;justify-content:space-between;position:relative;color:var(--picker-header-color)}.var-date-picker .var-picker-header__value{flex:1;text-align:center;position:relative;overflow:hidden;font-weight:700;cursor:pointer;user-select:none}.var-date-picker .var-picker-header__value div{width:100%}.var-date-picker .var-month-picker__content{padding:var(--month-picker-padding)}.var-date-picker .var-month-picker__content ul{display:flex;flex-wrap:wrap;justify-content:space-between}.var-date-picker .var-month-picker__content ul li{width:var(--month-picker-item-width);display:flex;height:var(--month-picker-item-height);align-items:center;justify-content:center}.var-date-picker .var-month-picker__button[var-month-picker-cover]{width:100%;max-width:var(--month-picker-item-button-max-width)}.var-date-picker .var-month-picker__button[var-date-picker-color-cover=true]{color:var(--date-picker-main-color)}.var-date-picker .var-month-picker__button--disabled{color:var(--color-text-disabled)!important;cursor:not-allowed}.var-date-picker .var-year-picker{width:100%;height:100%;font-weight:var(--year-picker-font-weight);padding:0;margin:0;list-style-type:none;overflow:auto;text-align:center}.var-date-picker .var-year-picker__item{padding:var(--year-picker-item-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--year-picker-item-color)}.var-date-picker .var-year-picker__item--active{font-size:var(--year-picker-item-active-font-size);font-weight:var(--year-picker-item-active-font-weight);padding:var(--year-picker-item-active-font-padding);color:var(--year-picker-item-active-color)}.var-date-picker .var-day-picker__content ul{display:flex;flex-wrap:wrap}.var-date-picker .var-day-picker__content ul li{position:relative;display:flex;justify-content:center;width:var(--day-picker-content-item-width);font-size:var(--day-picker-content-item-font-size);padding:var(--day-picker-content-item-padding)}.var-date-picker .var-day-picker__head li{color:var(--day-picker-head-item-color);padding:var(--day-picker-head-item-padding);font-weight:var(--day-picker-head-item-font-weight)}.var-date-picker .var-day-picker__button[var-day-picker-cover]{width:var(--day-picker-content-item-button-width);height:var(--day-picker-content-item-button-height);font-size:var(--day-picker-content-item-button-font-size)}.var-date-picker .var-day-picker__button:not(.var-day-picker__button--usable){cursor:unset}.var-date-picker .var-day-picker__button[var-date-picker-color-cover=true]{color:var(--date-picker-main-color)}.var-date-picker .var-day-picker__button--disabled{color:var(--color-text-disabled)!important;cursor:not-allowed}.var-date-picker-translatey-enter-from{opacity:0;transform:translateY(100%)}.var-date-picker-translatey-enter-active,.var-date-picker-reverse-translatey-enter-active{transition:.3s var(--cubic-bezier)}.var-date-picker-translatey-leave-active,.var-date-picker-reverse-translatey-leave-active{position:absolute;transition:.3s var(--cubic-bezier)}.var-date-picker-translatey-leave-to,.var-date-picker-reverse-translatey-enter-from{opacity:0;transform:translateY(-100%)}.var-date-picker-reverse-translatey-leave-to{opacity:0;transform:translateY(100%)}.var-date-picker-panel-fade-enter-from,.var-date-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-date-picker-panel-fade-leave-active{position:absolute}.var-date-picker-translatex-enter-from{opacity:0;transform:translate(100%)}.var-date-picker-reverse-translatex-enter-from{opacity:0;transform:translate(-100%)}.var-date-picker-translatex-enter-active,.var-date-picker-reverse-translatex-enter-active{transition:.3s var(--cubic-bezier)}.var-date-picker-translatex-leave-active,.var-date-picker-reverse-translatex-leave-active{position:absolute;transition:.3s var(--cubic-bezier)}.var-date-picker-translatex-leave-to{opacity:0;transform:translate(-100%)}.var-date-picker-reverse-translatex-leave-to{opacity:0;transform:translate(100%)}:root{--dialog-width: 280px;--dialog-border-radius: 3px;--dialog-title-padding: 20px 20px 0;--dialog-message-color: #888;--dialog-message-padding: 12px 20px;--dialog-message-line-height: 24px;--dialog-message-font-size: var(--font-size-md);--dialog-title-font-size: var(--font-size-lg);--dialog-actions-padding: 0 12px 12px;--dialog-button-margin-left: 6px;--dialog-title-color: #555;--dialog-confirm-button-color: var(--color-primary);--dialog-cancel-button-color: var(--color-primary);--dialog-background: #fff}.var-dialog{width:var(--dialog-width);border-radius:var(--dialog-border-radius);background:var(--dialog-background);transition:.25s background-color}.var-dialog__popup[var-dialog-cover]{background:transparent}.var-dialog__title{font-size:var(--dialog-title-font-size);font-weight:400;padding:var(--dialog-title-padding);color:var(--dialog-title-color)}.var-dialog__message{padding:var(--dialog-message-padding);color:var(--dialog-message-color);line-height:var(--dialog-message-line-height);font-size:var(--dialog-message-font-size);word-wrap:break-word}.var-dialog__actions{display:flex;justify-content:flex-end;padding:var(--dialog-actions-padding)}.var-dialog__button[var-dialog-cover]{margin-left:var(--dialog-button-margin-left);background-color:transparent;box-shadow:none}.var-dialog__button[var-dialog-cover]:active{box-shadow:none}.var-dialog__confirm-button[var-dialog-cover]{color:var(--dialog-confirm-button-color)}.var-dialog__cancel-button[var-dialog-cover]{color:var(--dialog-cancel-button-color)}:root{--divider-color: rgba(0, 0, 0, .12);--divider-text-color: #888;--divider-text-margin: 8px 0;--divider-text-padding: 0 8px;--divider-inset: 72px}.var-divider{position:relative;width:100%;height:0;border:none;border-top:1px solid var(--divider-color);margin:var(--divider-text-margin);font-size:var(--font-size-md);color:var(--divider-text-color)}.var-divider--vertical{width:0;height:auto;align-self:stretch;margin:0 var(--divider-text-margin);border-top:none;border-left:1px solid var(--divider-color)}.var-divider--inset{width:calc(100% - var(--divider-inset));left:var(--divider-inset)}.var-divider__text{display:inline-block;padding:var(--divider-text-padding)}.var-divider--with-text{background-color:transparent;height:fit-content;display:flex;align-items:center;justify-content:center;border:none}.var-divider--with-text:before,.var-divider--with-text:after{display:inline-block;content:"";flex:1;height:0;border-top:1px solid var(--divider-color)}.var-divider--dashed{border-top-style:dashed}.var-divider--dashed.var-divider--vertical{border-top:none;border-left-style:dashed}.var-divider--hairline{transform:scaleY(.5)}.var-divider--hairline.var-divider--with-text{transform:none}.var-divider--hairline.var-divider--with-text:before,.var-divider--hairline.var-divider--with-text:after{transform:scaleY(.5)}.var-divider--hairline.var-divider--vertical{transform:scaleX(.5)}.var-drag{position:fixed;display:inline-flex}.var-drag--transition{transition:transform .2s linear}:root{--tooltip-opacity: .9;--tooltip-border-radius: 4px;--tooltip-font-size: 14px;--tooltip-padding: 8px 16px;--tooltip-default-color: #616161;--tooltip-offset: 10px;--tooltip-primary-color: var(--color-primary);--tooltip-info-color: var(--color-info);--tooltip-success-color: var(--color-success);--tooltip-warning-color: var(--color-warning);--tooltip-danger-color: var(--color-danger)}.var-tooltip{display:inline-block}.var-tooltip-enter-from,.var-tooltip-leave-to{opacity:0;transform:scale(.8)}.var-tooltip-enter-active,.var-tooltip-leave-active{transition-property:opacity,transform;transition-duration:.2s}.var-tooltip__content-container{display:inline-block;text-align:center;border-radius:var(--tooltip-border-radius);font-size:var(--tooltip-font-size);padding:var(--tooltip-padding);opacity:var(--tooltip-opacity);transition:opacity .25s,background-color .25s}.var-tooltip--default{color:#fff;background:var(--tooltip-default-color)}.var-tooltip--primary{color:#fff;background-color:var(--tooltip-primary-color)}.var-tooltip--info{color:#fff;background-color:var(--tooltip-info-color)}.var-tooltip--success{color:#fff;background-color:var(--tooltip-success-color)}.var-tooltip--warning{color:#fff;background-color:var(--tooltip-warning-color)}.var-tooltip--danger{color:#fff;background-color:var(--tooltip-danger-color)}.var-tooltip__tooltip[data-popper-placement=top] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=top-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=top-end] .var-tooltip__content-container{transform:translateY(calc(-1 * var(--tooltip-offset)))}.var-tooltip__tooltip[data-popper-placement=bottom] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=bottom-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=bottom-end] .var-tooltip__content-container{transform:translateY(var(--tooltip-offset))}.var-tooltip__tooltip[data-popper-placement=right] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=right-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=right-end] .var-tooltip__content-container{transform:translate(var(--tooltip-offset))}.var-tooltip__tooltip[data-popper-placement=left] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=left-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=left-end] .var-tooltip__content-container{transform:translate(calc(-1 * var(--tooltip-offset)))}.var-ellipsis{width:100%;overflow:hidden;vertical-align:bottom}.var-ellipsis--clamp{display:-webkit-inline-box;-webkit-box-orient:vertical}.var-ellipsis--line{display:inline-block;white-space:nowrap;text-overflow:ellipsis}.var-ellipsis--cursor{cursor:pointer}.var-ellipsis--expand{display:inline-block;white-space:wrap;overflow:visible}:root{--fab-top: 70px;--fab-bottom: 16px;--fab-left: 16px;--fab-right: 16px;--fab-trigger-size: 56px;--fab-trigger-inactive-icon-size: 26px;--fab-trigger-active-icon-size: 22px;--fab-actions-padding: 10px 0;--fab-action-margin: 6px;--fab-transition-standard-easing: cubic-bezier(.4, 0, .2, 1)}.var-fab-transition-default-enter-active,.var-fab-transition-default-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab__trigger[var-fab-cover]{width:var(--fab-trigger-size);height:var(--fab-trigger-size)}.var-fab__trigger-inactive-icon[var-fab-cover]{font-size:var(--fab-trigger-inactive-icon-size)}.var-fab__trigger-active-icon[var-fab-cover]{font-size:var(--fab-trigger-active-icon-size)}.var-fab__actions{position:absolute;display:flex;justify-content:center;align-items:center;padding:var(--fab-actions-padding)}.var-fab__action{margin:var(--fab-action-margin)}.var-fab--position-left-top{top:var(--fab-top);left:var(--fab-left)}.var-fab--position-right-top{top:var(--fab-top);right:var(--fab-right)}.var-fab--position-left-bottom{bottom:var(--fab-bottom);left:var(--fab-left)}.var-fab--position-right-bottom{bottom:var(--fab-bottom);right:var(--fab-right)}.var-fab--direction-left .var-fab__actions,.var-fab--direction-right .var-fab__actions{height:100%;top:0;padding:0 var(--fab-actions-padding)}.var-fab--direction-left .var-fab__actions{flex-direction:row-reverse;right:100%}.var-fab--direction-right .var-fab__actions{flex-direction:row;left:100%}.var-fab--direction-top .var-fab__actions,.var-fab--direction-bottom .var-fab__actions{width:100%;left:0}.var-fab--direction-top .var-fab__actions{flex-direction:column-reverse;bottom:100%}.var-fab--direction-bottom .var-fab__actions{flex-direction:column;top:100%}.var-fab--fixed{position:fixed}.var-fab--absolute{position:absolute}.var-fab--active-transition-enter-active,.var-fab--active-transition-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--active-transition-enter-from,.var-fab--active-transition-leave-to{transform:scale(0)}.var-fab--actions-transition-top-enter-active,.var-fab--actions-transition-top-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-top-enter-from,.var-fab--actions-transition-top-leave-to{opacity:0;transform:translateY(40px)}.var-fab--actions-transition-bottom-enter-active,.var-fab--actions-transition-bottom-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-bottom-enter-from,.var-fab--actions-transition-bottom-leave-to{opacity:0;transform:translateY(-40px)}.var-fab--actions-transition-left-enter-active,.var-fab--actions-transition-left-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-left-enter-from,.var-fab--actions-transition-left-leave-to{opacity:0;transform:translate(40px)}.var-fab--actions-transition-right-enter-active,.var-fab--actions-transition-right-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-right-enter-from,.var-fab--actions-transition-right-leave-to{opacity:0;transform:translate(-40px)}.var-fab--trigger-icon-animation{transform:scale(.4);opacity:0;transition-property:transform,opacity}.var-fab--safe-area{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}:root{--field-decorator-text-color: #555;--field-decorator-error-color: var(--color-danger);--field-decorator-blur-color: #888;--field-decorator-focus-color: var(--color-primary);--field-decorator-placeholder-size: 16px;--field-decorator-icon-size: 20px;--field-decorator-line-size: 1px;--field-decorator-line-focus-size: 2px;--field-decorator-line-border-radius: 4px;--field-decorator-disabled-color: var(--color-text-disabled);--field-decorator-standard-normal-padding-top: 22px;--field-decorator-standard-normal-padding-bottom: 4px;--field-decorator-standard-normal-icon-padding: 22px 0 4px;--field-decorator-standard-normal-non-hint-padding-top: 4px;--field-decorator-standard-normal-placeholder-translate-y: var(--field-decorator-standard-normal-padding-top);--field-decorator-standard-small-padding-top: 18px;--field-decorator-standard-small-padding-bottom: 4px;--field-decorator-standard-small-icon-padding: 18px 0 4px;--field-decorator-standard-small-non-hint-padding-top: 2px;--field-decorator-standard-small-placeholder-translate-y: var(--field-decorator-standard-small-padding-top);--field-decorator-outlined-normal-padding-top: 16px;--field-decorator-outlined-normal-padding-bottom: 16px;--field-decorator-outlined-normal-padding-left: 16px;--field-decorator-outlined-normal-padding-right: 16px;--field-decorator-outlined-normal-placeholder-space: 4px;--field-decorator-outlined-normal-icon-padding: 16px 0 16px;--field-decorator-outlined-normal-placeholder-translate-y: var(--field-decorator-outlined-normal-padding-top);--field-decorator-outlined-small-padding-top: 8px;--field-decorator-outlined-small-padding-bottom: 8px;--field-decorator-outlined-small-padding-left: 12px;--field-decorator-outlined-small-padding-right: 12px;--field-decorator-outlined-small-placeholder-space: 2px;--field-decorator-outlined-small-icon-padding: 8px 0 8px;--field-decorator-outlined-small-placeholder-translate-y: var(--field-decorator-outlined-small-padding-top)}.var-field-decorator{position:relative;width:100%;color:var(--field-decorator-text-color)}.var-field-decorator__controller{width:100%;display:flex;align-items:stretch;position:relative}.var-field-decorator__middle{position:relative;flex-grow:1;display:flex;justify-content:center;align-items:center}.var-field-decorator__icon{display:flex;align-items:center;font-size:var(--field-decorator-icon-size)}.var-field-decorator__icon .var-icon{font-size:var(--field-decorator-icon-size)}.var-field-decorator__placeholder{position:absolute;top:0;left:0;font-size:var(--field-decorator-placeholder-size);line-height:1.5em;color:var(--field-decorator-placeholder-color, var(--field-decorator-blur-color));pointer-events:none;cursor:inherit;transform-origin:left;transition:transform .28s var(--cubic-bezier),color .25s,max-width .2s}.var-field-decorator__clear-icon[var-field-decorator-cover]{font-size:var(--field-decorator-icon-size);margin-left:6px;cursor:pointer}.var-field-decorator--placeholder-hidden{visibility:hidden}.var-field-decorator--focus{color:var(--field-decorator-focus-color)}.var-field-decorator--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-field-decorator--error{color:var(--field-decorator-error-color)}.var-field-decorator--standard .var-field-decorator__middle{padding:var(--field-decorator-standard-normal-padding-top) 0 var(--field-decorator-standard-normal-padding-bottom)}.var-field-decorator--standard .var-field-decorator__icon{padding:var(--field-decorator-standard-normal-icon-padding)}.var-field-decorator--standard .var-field-decorator__placeholder{max-width:100%;transform:translateY(var(--field-decorator-standard-normal-placeholder-translate-y))}.var-field-decorator--standard .var-field-decorator--placeholder-hint{max-width:133%;transform:translate(0) scale(.75)!important}.var-field-decorator--standard .var-field-decorator__line{width:100%;height:var(--field-decorator-line-size);background:var(--field-decorator-blur-color);transition:background-color .25s}.var-field-decorator--standard .var-field-decorator--line-disabled{background:var(--field-decorator-disabled-color)}.var-field-decorator--standard .var-field-decorator__dot{width:100%;height:var(--field-decorator-line-focus-size);background:var(--field-decorator-focus-color);transform:scaleX(0);transform-origin:center;transition:transform .3s var(--cubic-bezier),background-color .25s}.var-field-decorator--standard .var-field-decorator--middle-non-hint,.var-field-decorator--standard .var-field-decorator--icon-non-hint{padding-top:var(--field-decorator-standard-normal-non-hint-padding-top)}.var-field-decorator--standard .var-field-decorator--line-focus{transform:scaleX(1)}.var-field-decorator--standard .var-field-decorator--line-error{background:var(--field-decorator-error-color)}.var-field-decorator--outlined .var-field-decorator__controller{padding:0 var(--field-decorator-outlined-normal-padding-right) 0 var(--field-decorator-outlined-normal-padding-left)}.var-field-decorator--outlined .var-field-decorator__middle{padding:var(--field-decorator-outlined-normal-padding-top) 0 var(--field-decorator-outlined-normal-padding-bottom) 0}.var-field-decorator--outlined .var-field-decorator__icon{padding:var(--field-decorator-outlined-normal-icon-padding)}.var-field-decorator--outlined .var-field-decorator__placeholder{max-width:calc(100% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));transform:translate(var(--field-decorator-outlined-normal-padding-left),var(--field-decorator-outlined-normal-placeholder-translate-y)) scale(1)}.var-field-decorator--outlined .var-field-decorator--placeholder-hint{max-width:calc(133% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));transform:translate(calc(var(--field-decorator-outlined-normal-padding-left)),-50%) scale(.75)}.var-field-decorator--outlined .var-field-decorator__line{min-width:0;width:100%;height:calc(100% + (var(--field-decorator-placeholder-size) * .75 / 2));position:absolute;top:calc(var(--field-decorator-placeholder-size) * .75 / 2 * -1);left:0;pointer-events:none;border-radius:var(--field-decorator-line-border-radius);border:var(--field-decorator-line-size) solid var(--field-decorator-blur-color);overflow:hidden;padding:0 calc(var(--field-decorator-outlined-normal-padding-right) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-size)) 0 calc(var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-size));margin:0}.var-field-decorator--outlined .var-field-decorator__line-legend{max-width:0;height:calc(var(--field-decorator-placeholder-size) * .75);visibility:hidden;padding:0;overflow:hidden;display:block;white-space:nowrap}.var-field-decorator--outlined .var-field-decorator__line-legend--hint{max-width:100%}.var-field-decorator--outlined .var-field-decorator--line-focus{border-width:var(--field-decorator-line-focus-size);border-color:var(--field-decorator-focus-color);padding:0 calc(var(--field-decorator-outlined-normal-padding-right) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-focus-size)) 0 calc(var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-focus-size))}.var-field-decorator--outlined .var-field-decorator--line-disabled{border-radius:var(--field-decorator-line-border-radius);border:var(--field-decorator-line-size) solid var(--field-decorator-disabled-color)}.var-field-decorator--outlined .var-field-decorator--line-error{border-color:var(--field-decorator-error-color)!important}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator__middle{padding:var(--field-decorator-standard-small-padding-top) 0 var(--field-decorator-standard-small-padding-bottom)}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator__placeholder{transform:translateY(var(--field-decorator-standard-small-placeholder-translate-y))}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator--middle-non-hint{max-width:calc(133% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right));padding-top:var(--field-decorator-standard-small-non-hint-padding-top)}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator--icon-non-hint{padding-top:var(--field-decorator-standard-small-non-hint-padding-top)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__controller{padding:0 var(--field-decorator-outlined-small-padding-right) 0 var(--field-decorator-outlined-small-padding-left)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__middle{padding:var(--field-decorator-outlined-small-padding-top) 0 var(--field-decorator-outlined-small-padding-bottom) 0}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__icon{padding:var(--field-decorator-outlined-small-icon-padding)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__placeholder{max-width:calc(100% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right));transform:translate(var(--field-decorator-outlined-small-padding-left),var(--field-decorator-outlined-small-placeholder-translate-y)) scale(1)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator--placeholder-hint{transform:translate(calc(var(--field-decorator-outlined-small-padding-left)),-50%) scale(.75)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__line{padding:0 calc(var(--field-decorator-outlined-small-padding-right) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-size)) 0 calc(var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-size))}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator--line-focus{padding:0 calc(var(--field-decorator-outlined-small-padding-right) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-focus-size)) 0 calc(var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-focus-size))}.var-field-decorator__placeholder-text{max-width:calc(133% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));position:absolute;z-index:-1;display:inline-block;pointer-events:none;opacity:0;height:0;font-size:var(--field-decorator-placeholder-size)}.var-field-decorator__placeholder-text--small{max-width:calc(133% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right))}:root{--floating-panel-z-index: 999;--floating-panel-border-top: none;--floating-panel-border-radius: 0;--floating-panel-background: #fff;--floating-panel-header-height: 30px;--floating-panel-toolbar-width: 20px;--floating-panel-toolbar-height: 3px;--floating-panel-toolbar-border-radius: 10px;--floating-panel-toolbar-background: #ddd;--floating-panel-transition-timing-function: cubic-bezier(.18, .89, .32, 1.28)}.var-floating-panel{position:fixed;left:0;bottom:0;width:100%;display:flex;flex-direction:column;z-index:var(--floating-panel-z-index);border-top:var(--floating-panel-border-top);border-top-left-radius:var(--floating-panel-border-radius);border-top-right-radius:var(--floating-panel-border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:var(--floating-panel-background);will-change:transform;touch-action:none}.var-floating-panel:after{content:"";display:block;position:absolute;bottom:-100vh;height:100vh;width:100%;background-color:inherit;box-shadow:0 -1px var(--floating-panel-background)}.var-floating-panel__header{height:var(--floating-panel-header-height);display:flex;justify-content:center;align-items:center;cursor:grab;user-select:none}.var-floating-panel__header-toolbar{width:var(--floating-panel-toolbar-width);height:var(--floating-panel-toolbar-height);border-radius:var(--floating-panel-toolbar-border-radius);background:var(--floating-panel-toolbar-background)}.var-floating-panel__content{flex:1;overflow-y:auto}.var-floating-panel--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.var-image{overflow:hidden}.var-image__image{display:block;width:100%;height:100%}:root{--swipe-indicator-color: #fff;--swipe-indicators-offset: 10px;--swipe-indicator-offset: 4px;--swipe-navigation-button-width: 36px;--swipe-navigation-button-height: 36px;--swipe-navigation-button-border-radius: 50%;--swipe-navigation-icon-size: 20px;--swipe-navigation-prev-left: 8px;--swipe-navigation-next-right: 8px;--swipe-navigation-prev-top: 8px;--swipe-navigation-next-bottom: 8px}.var-swipe{position:relative;overflow:hidden;user-select:none;width:100%}.var-swipe__track{width:100%;height:100%;display:flex;transition-property:transform}.var-swipe__navigation{position:absolute;top:50%;z-index:99}.var-swipe__navigation-prev{left:0;transform:translate(var(--swipe-navigation-prev-left),-50%)}.var-swipe__navigation-prev-button[var-swipe-cover]{width:var(--swipe-navigation-button-width);height:var(--swipe-navigation-button-height);border-radius:var(--swipe-navigation-button-border-radius)}.var-swipe__navigation-prev-button-icon[var-swipe-cover]{font-size:var(--swipe-navigation-icon-size)}.var-swipe__navigation-next{right:0;transform:translate(calc(-1 * var(--swipe-navigation-next-right)),-50%)}.var-swipe__navigation-next-button[var-swipe-cover]{width:var(--swipe-navigation-button-width);height:var(--swipe-navigation-button-height);border-radius:var(--swipe-navigation-button-border-radius)}.var-swipe__navigation-next-button-icon[var-swipe-cover]{font-size:var(--swipe-navigation-icon-size)}.var-swipe__indicators{position:absolute;display:flex;bottom:var(--swipe-indicators-offset);left:50%;transform:translate(-50%)}.var-swipe__indicator{width:8px;height:8px;border-radius:50%;background:var(--swipe-indicator-color);opacity:.3;margin:0 var(--swipe-indicator-offset);transition:opacity .3s}.var-swipe--vertical{flex-direction:column}.var-swipe--indicators-vertical{flex-direction:column;left:var(--swipe-indicators-offset);bottom:50%;transform:translateY(50%)}.var-swipe--indicator-active{opacity:1}.var-swipe--indicator-vertical{margin:var(--swipe-indicator-offset) 0}.var-swipe--navigation-vertical-prev{top:0;left:50%;right:unset;transform:translate(-50%,var(--swipe-navigation-prev-top))}.var-swipe--navigation-vertical-next{bottom:0;left:50%;right:unset;top:unset;transform:translate(-50%,calc(-1 * var(--swipe-navigation-next-bottom)))}.var-swipe--navigation-prev-animation-enter-active,.var-swipe--navigation-prev-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-prev-animation-enter-from,.var-swipe--navigation-prev-animation-leave-to{transform:translate(-100%,-50%)}.var-swipe--navigation-next-animation-enter-active,.var-swipe--navigation-next-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-next-animation-enter-from,.var-swipe--navigation-next-animation-leave-to{transform:translate(100%,-50%)}.var-swipe--navigation-vertical-prev-animation-enter-active,.var-swipe--navigation-vertical-prev-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-vertical-prev-animation-enter-from,.var-swipe--navigation-vertical-prev-animation-leave-to{transform:translate(-50%,-100%)}.var-swipe--navigation-vertical-next-animation-enter-active,.var-swipe--navigation-vertical-next-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-vertical-next-animation-enter-from,.var-swipe--navigation-vertical-next-animation-leave-to{transform:translate(-50%,100%)}.var-swipe-item{flex-shrink:0;width:100%;height:100%}:root{--image-preview-swipe-indicators-text-color: #ddd;--image-preview-swipe-indicators-padding: 16px 0;--image-preview-zoom-container-background: #000;--image-preview-close-icon-top: 14px;--image-preview-close-icon-right: 14px;--image-preview-extra-top: 14px;--image-preview-extra-left: 14px;--image-preview-close-icon-size: 22px;--image-preview-close-icon-color: #fff}.var-image-preview__popup[var-image-preview-cover]{height:100%;background:var(--image-preview-zoom-container-background)}.var-image-preview__swipe[var-image-preview-cover]{width:100vw;height:100%}.var-image-preview__swipe-item[var-image-preview-cover]{overflow:hidden}.var-image-preview__close-icon[var-image-preview-cover]{position:absolute;top:var(--image-preview-close-icon-top);right:var(--image-preview-close-icon-right);color:var(--image-preview-close-icon-color);font-size:var(--image-preview-close-icon-size)}.var-image-preview__extra{position:absolute;top:var(--image-preview-extra-top);left:var(--image-preview-extra-left)}.var-image-preview__indicators{position:absolute;top:0;width:100%;padding:var(--image-preview-swipe-indicators-padding);color:var(--image-preview-swipe-indicators-text-color);text-align:center}.var-image-preview__image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}.var-image-preview--prevent{-webkit-touch-callout:none;pointer-events:none}.var-image-preview__zoom-container{display:flex;justify-content:center;align-items:center;width:100vw;height:100%;transition:transform .2s}.var-sticky{position:relative}.var-sticky--css-mode{position:sticky;position:-webkit-sticky}.var-index-anchor{position:relative}:root{--index-bar-list-right: 0;--index-bar-list-top: 50%;--index-bar-list-left: auto;--index-bar-list-bottom: auto;--index-bar-list-transform: translate(0, -50%);--index-bar-list-item-font-size: var(--font-size-xs);--index-bar-list-item-color: var(--color-primary);--index-bar-list-item-active-color: var(--color-danger);--index-bar-list-item-height: 14px;--index-bar-list-item-padding: 0 10px}.var-index-bar{position:relative}.var-index-bar__anchor-list{position:fixed;right:var(--index-bar-list-right);top:var(--index-bar-list-top);left:var(--index-bar-list-left);bottom:var(--index-bar-list-bottom);transform:var(--index-bar-list-transform);list-style:none;padding:0;margin:0}.var-index-bar__anchor-item{font-size:var(--index-bar-list-item-font-size);display:flex;align-items:center;height:var(--index-bar-list-item-height);justify-content:center;padding:var(--index-bar-list-item-padding);color:var(--index-bar-list-item-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-index-bar__anchor-item--active{color:var(--index-bar-list-item-active-color)}:root{--input-input-height: 24px;--input-input-font-size: 16px;--input-textarea-height: auto}.var-input{text-align:left}.var-input__autocomplete{width:0;height:0;padding:0;border:none;outline:none;font-size:0}.var-input__input{width:100%;height:var(--input-input-height);padding:0;outline:none;border:none;background:transparent;color:var(--field-decorator-text-color);caret-color:var(--field-decorator-focus-color);font-size:var(--input-input-font-size);transition:color .25s}.var-input__input::placeholder{color:var(--input-placeholder-color)}.var-input--textarea{height:var(--input-textarea-height);min-height:var(--input-input-height)}.var-input--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-input--error{color:var(--field-decorator-error-color)}.var-input--caret-error{caret-color:var(--field-decorator-error-color)}:root{--link-default-color: #555;--link-primary-color: var(--color-primary);--link-danger-color: var(--color-danger);--link-success-color: var(--color-success);--link-warning-color: var(--color-warning);--link-info-color: var(--color-info);--link-disabled-color: var(--color-text-disabled);--link-font-size: var(--font-size-md)}.var-link{position:relative;justify-content:center;align-items:center;outline:none;cursor:pointer;font-family:inherit;white-space:nowrap;text-decoration:none;font-size:var(--link-font-size)}.var-link--underline-always,.var-link--underline-hover:hover{text-decoration:underline}.var-link--default{color:var(--link-default-color)}.var-link--primary{color:var(--link-primary-color)}.var-link--info{color:var(--link-info-color)}.var-link--success{color:var(--link-success-color)}.var-link--warning{color:var(--link-warning-color)}.var-link--danger{color:var(--link-danger-color)}.var-link--disabled{color:var(--link-disabled-color);cursor:not-allowed}:root{--list-loading-height: 50px;--list-finished-height: 50px;--list-error-height: 50px;--list-loading-color: #888;--list-finished-color: #888;--list-error-color: #888;--list-loading-font-size: var(--font-size-md);--list-finished-font-size: var(--font-size-md);--list-error-font-size: var(--font-size-md)}.var-list__detector{width:100%}.var-list__loading{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-loading-height);font-size:var(--list-loading-font-size);color:var(--list-loading-color)}.var-list__loading-text{margin-right:10px}.var-list__finished{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-finished-height);font-size:var(--list-finished-font-size);color:var(--list-finished-color)}.var-list__error{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-error-height);font-size:var(--list-error-font-size);color:var(--list-error-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}:root{--loading-bar-color: var(--color-primary);--loading-bar-error-color: var(--color-danger);--loading-bar-height: 3px}.var-loading-bar{position:fixed;left:0;top:0;transition:all .25s;height:var(--loading-bar-height);background-color:var(--loading-bar-color)}.var-loading-bar--error{background-color:var(--loading-bar-error-color)}:root{--menu-background-color: #fff}.var-menu{display:inline-block}.var-menu-enter-from,.var-menu-leave-to{opacity:0;transform:scale(.8)}.var-menu-enter-active,.var-menu-leave-active{transition-property:opacity,transform;transition-duration:.2s}.var-menu--menu-background-color{background:var(--menu-background-color)}:root{--menu-option-normal-height: 38px;--menu-option-small-height: 30px;--menu-option-mini-height: 24px;--menu-option-large-height: 46px;--menu-option-padding: 0 12px;--menu-option-normal-font-size: var(--font-size-md);--menu-option-small-font-size: var(--font-size-sm);--menu-option-mini-font-size: var(--font-size-xs);--menu-option-large-font-size: var(--font-size-lg);--menu-option-selected-background: var(--color-primary);--menu-option-text-color: #555;--menu-option-disabled-color: var(--color-text-disabled)}.var-menu-option{position:relative;display:flex;align-items:center;padding:var(--menu-option-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--menu-option-text-color)}.var-menu-option__cover{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;background:transparent}.var-menu-option__text{display:flex;align-items:center}.var-menu-option--normal{height:var(--menu-option-normal-height);font-size:var(--menu-option-normal-font-size)}.var-menu-option--large{height:var(--menu-option-large-height);font-size:var(--menu-option-large-font-size)}.var-menu-option--small{height:var(--menu-option-small-height);font-size:var(--menu-option-small-font-size)}.var-menu-option--mini{height:var(--menu-option-mini-height);font-size:var(--menu-option-mini-font-size)}.var-menu-option--selected-background{background:var(--menu-option-selected-background)}.var-menu-option--selected-color{color:var(--menu-option-selected-background)}.var-menu-option--disabled{color:var(--menu-option-disabled-color);cursor:not-allowed}:root{--menu-select-menu-max-height: 278px;--menu-select-menu-padding: 0;--menu-select-menu-border-radius: 2px;--menu-select-menu-background-color: #fff}.var-menu-select__menu{padding:var(--menu-select-menu-padding);border-radius:var(--menu-select-menu-border-radius);background-color:var(--menu-select-menu-background-color)}.var-menu-select--scrollable{overflow-y:auto;max-height:var(--menu-select-menu-max-height)}:root{--select-scroller-background: #fff;--select-scroller-padding: 6px 0;--select-scroller-max-height: 278px;--select-scroller-border-radius: 2px;--select-chip-margin: 5px 5px 0;--select-arrow-size: 20px;--select-standard-menu-margin: calc(var(--field-decorator-placeholder-size) * .75 + 12px) 0 0 0;--select-label-font-size: 16px}.var-select{text-align:left}.var-select__menu[var-select-cover]{width:100%;background:transparent;display:block}.var-select__chip[var-select-cover]{margin:var(--select-chip-margin)}.var-select__scroller{max-height:var(--select-scroller-max-height);background:var(--select-scroller-background);padding:var(--select-scroller-padding);overflow-y:auto;transition:background-color .25s;border-radius:var(--select-scroller-border-radius)}.var-select__wrap{position:relative;display:flex;flex-direction:column;width:100%}.var-select__select{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:24px;outline:none;border:none;font-size:inherit;color:var(--field-decorator-text-color);word-break:break-all;overflow:hidden;transition:color .25s}.var-select__label{display:flex;align-items:center;font-size:var(--select-label-font-size)}.var-select__placeholder{max-width:100%;position:absolute;top:50%;left:0;transform:translateY(-50%);font-size:var(--field-decorator-placeholder-size);line-height:1.5em;color:var(--field-decorator-blur-color);pointer-events:none;cursor:inherit}.var-select__arrow[var-select-cover]{flex-shrink:0;font-size:var(--select-arrow-size)}.var-select--standard-menu-margin{margin:var(--select-standard-menu-margin)!important}.var-select--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-select--error{color:var(--field-decorator-error-color)}.var-select--arrow-rotate{transform:rotate(180deg)}:root{--option-height: 38px;--option-padding: 0 12px;--option-font-size: 16px;--option-selected-background: var(--field-decorator-focus-color);--option-text-color: #555;--option-disabled-color: var(--color-text-disabled)}.var-option{position:relative;display:flex;align-items:center;height:var(--option-height);padding:var(--option-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--option-text-color)}.var-option__cover{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;background:transparent}.var-option__text{display:flex;align-items:center;font-size:var(--option-font-size)}.var-option--selected-background{background:var(--option-selected-background)}.var-option--selected-color{color:var(--option-selected-background)}.var-option--disabled{color:var(--option-disabled-color);cursor:not-allowed}:root{--overlay-background-color: rgba(0, 0, 0, .6)}.var-overlay{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--overlay-background-color);transition:all .25s}.var-overlay--fade-enter-from,.var-overlay--fade-leave-to{opacity:0}.var-overlay--fade-enter-active,.var-overlay--fade-leave-active{transition:opacity .25s}:root{--pagination-text-color: #555;--pagination-font-size: var(--font-size-md);--pagination-active-color: #fff;--pagination-active-bg-color: var(--color-primary);--pagination-hover-bg-color: rgba(85, 85, 85, .15);--pagination-total-margin: 0 12px;--pagination-total-line-height: 24px;--pagination-item-width: 32px;--pagination-item-height: 32px;--pagination-item-margin: 0 6px;--pagination-item-background: #fff;--pagination-item-border-radius: 4px;--pagination-item-simple-border-radius: 50%;--pagination-list-bg-color: #fff;--pagination-list-active-bg-color: #edf5ff;--pagination-list-active-color: var(--color-primary);--pagination-input-width: 32px;--pagination-disabled-color: var(--color-text-disabled);--pagination-bg-disabled-color: var(--color-disabled);--pagination-size-line-height: 24px}.pagination-flex-nowrap{display:flex;white-space:nowrap;align-items:center}.var-pagination{display:flex;align-items:center;list-style:none;margin:0;font-size:var(--pagination-font-size);padding:0;color:var(--pagination-text-color)}.var-pagination__item{display:inline-flex;min-width:var(--pagination-item-width);align-items:center;justify-content:center;margin:var(--pagination-item-margin);height:var(--pagination-item-height);cursor:pointer;border-radius:var(--pagination-item-border-radius);outline:none;transition:all .25s;user-select:none;background-color:var(--pagination-item-background)}.var-pagination__item:hover{background-color:var(--pagination-hover-bg-color)}.var-pagination__item--active{color:var(--pagination-active-color);background-color:var(--pagination-active-bg-color)!important}.var-pagination__item--hide{display:none}.var-pagination__item--simple{background:transparent;border-radius:var(--pagination-item-simple-border-radius)}.var-pagination__item--disabled{cursor:not-allowed;color:var(--pagination-disabled-color);background-color:unset}.var-pagination__item--disabled:hover{background-color:unset}.var-pagination__item--disabled--hover:hover{background-color:inherit}.var-pagination__item--disabled--active,.var-pagination__item--disabled--active:hover{background-color:var(--pagination-bg-disabled-color)}.var-pagination__prev{margin-left:0}.var-pagination__total{display:flex;white-space:nowrap;align-items:center;line-height:var(--pagination-total-line-height);margin:var(--pagination-total-margin)}.var-pagination__size{display:flex;white-space:nowrap;align-items:center;line-height:var(--pagination-size-line-height);margin:var(--pagination-item-margin)}.var-pagination__size--open{display:flex;align-items:center;cursor:pointer}.var-pagination__size--open--disabled{cursor:inherit}.var-pagination__list{background-color:var(--pagination-list-bg-color);cursor:pointer;transition:all .25s}.var-pagination__list:hover{color:var(--pagination-list-active-color);background-color:var(--pagination-list-active-bg-color)}.var-pagination__list--active{background-color:var(--pagination-list-active-bg-color)!important;color:var(--pagination-list-active-color)}.var-pagination__quickly,.var-pagination__simple{display:flex;white-space:nowrap;align-items:center}.var-pagination__quickly [var-pagination-cover],.var-pagination__simple [var-pagination-cover]{width:var(--pagination-input-width)}.var-pagination__quickly [var-pagination-cover] .var-field-decorator__middle,.var-pagination__simple [var-pagination-cover] .var-field-decorator__middle{padding:0}.var-pagination__quickly [var-pagination-cover] .var-input__input,.var-pagination__simple [var-pagination-cover] .var-input__input{height:auto;text-align:center}.var-pagination__quickly-line,.var-pagination__simple-line{height:1px;background:transparent}.var-pagination__quickly{margin:var(--pagination-item-margin)}.var-pagination__quickly [var-pagination-cover]{margin-left:6px}.var-pagination__size--open-icon[var-pagination-cover]{font-size:inherit}:root{--paper-background: #fff}.var-paper{background:var(--paper-background);transition:background-color .25s;overflow:hidden}.var-paper--round{border-radius:50%}.var-paper--cursor{cursor:pointer}:root{--picker-background: #fff;--picker-toolbar-height: 44px;--picker-confirm-button-text-color: var(--color-primary);--picker-cancel-button-text-color: #888;--picker-picked-border: 1px solid rgba(0, 0, 0, .12);--picker-title-font-size: var(--font-size-lg);--picker-title-text-color: #555;--picker-option-font-size: var(--font-size-lg);--picker-option-text-color: #555;--picker-toolbar-padding: 0 4px;--picker-mask-background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .9), hsla(0, 0%, 100%, .4)), linear-gradient(0deg, hsla(0, 0%, 100%, .9), hsla(0, 0%, 100%, .4))}.var-picker{width:100%;background:var(--picker-background);user-select:none;transition:.25s background-color}.var-picker__popup[var-picker-cover]{width:100%}.var-picker__columns{position:relative;display:flex;width:100%;cursor:grab}.var-picker__column{flex:1;overflow:hidden}.var-picker__option{display:flex;justify-content:center;align-items:center;width:100%;padding:0 4px}.var-picker__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--picker-option-text-color);font-size:var(--picker-option-font-size)}.var-picker__scroller{width:100%;transition-timing-function:cubic-bezier(.23,1,.68,1)}.var-picker__picked{position:absolute;z-index:2;pointer-events:none;width:100%;left:0;border-top:var(--picker-picked-border);border-bottom:var(--picker-picked-border);transition:.25s border}.var-picker__mask{position:absolute;pointer-events:none;top:0;left:0;width:100%;height:100%;background-image:var(--picker-mask-background-image);background-repeat:no-repeat;background-position:top,bottom}.var-picker__toolbar{display:flex;justify-content:space-between;align-items:center;width:100%;height:var(--picker-toolbar-height);padding:var(--picker-toolbar-padding)}.var-picker__confirm-button[var-picker-cover]{color:var(--picker-confirm-button-text-color)}.var-picker__cancel-button[var-picker-cover]{color:var(--picker-cancel-button-text-color)}.var-picker__title{color:var(--picker-title-text-color);font-size:var(--picker-title-font-size)}:root{--progress-font-size: var(--font-size-sm);--progress-ripple-color: #fff;--progress-track-color: #d8d8d8;--progress-label-color: #555;--progress-background: var(--color-primary);--progress-default-color: #f5f5f5;--progress-primary-color: var(--color-primary);--progress-danger-color: var(--color-danger);--progress-success-color: var(--color-success);--progress-warning-color: var(--color-warning);--progress-info-color: var(--color-info);--progress-linear-border-radius: 0px}.var-progress{position:relative;font-size:var(--progress-font-size)}.var-progress__linear{display:flex;align-items:center}.var-progress__linear-block{flex:1;position:relative;overflow:hidden;height:4px;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-certain{width:100%;height:100%;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-ripple:after{position:absolute;width:0;background-color:var(--progress-ripple-color);height:100%;opacity:0;animation:ripple 1.8s cubic-bezier(.4,0,.2,1) infinite;content:""}.var-progress__linear-background{background-color:var(--progress-track-color)}.var-progress__linear-certain{position:absolute;background-color:var(--progress-background);top:0;left:0;transition:all .2s,background-color .8s}.var-progress__linear-label{margin-left:8px;flex:0;color:var(--progress-label-color)}.var-progress__linear-indeterminate div{bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-indeterminate div:first-child{animation:progress-linear-long 2.2s infinite}.var-progress__linear-indeterminate div:last-child{animation:progress-linear-short 2.2s infinite}.var-progress__linear--success{background-color:var(--progress-success-color)}.var-progress__linear--default{background-color:var(--progress-default-color)}.var-progress__linear--primary{background-color:var(--progress-primary-color)}.var-progress__linear--warning{background-color:var(--progress-warning-color)}.var-progress__linear--danger{background-color:var(--progress-danger-color)}.var-progress__linear--info{background-color:var(--progress-info-color)}@keyframes progress-linear-long{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes progress-linear-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes ripple{0%{width:0;opacity:.1}20%{width:0;opacity:.5}80%{width:100%;opacity:0}}.var-progress__circle{position:relative;width:40px;height:40px}.var-progress__circle-background{stroke:var(--progress-track-color);z-index:1}.var-progress__circle-certain{transition:all .2s;stroke:var(--progress-background);position:absolute}.var-progress__circle-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--progress-label-color)}.var-progress__circle--success{stroke:var(--progress-success-color)}.var-progress__circle--default{stroke:var(--progress-default-color)}.var-progress__circle--primary{stroke:var(--progress-primary-color)}.var-progress__circle--warning{stroke:var(--progress-warning-color)}.var-progress__circle--danger{stroke:var(--progress-danger-color)}.var-progress__circle--info{stroke:var(--progress-info-color)}.var-progress__circle-indeterminate svg{animation:progress-circle-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.var-progress__circle-overlay{animation:progress-circle-dash 1.4s ease-in-out infinite,progress-circle-rotate 1.4s linear infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round;transform-origin:center center;transform:rotate(-90deg);z-index:2}@keyframes progress-circle-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circle-rotate{to{transform:rotate(270deg)}}:root{--pull-refresh-size: 40px;--pull-refresh-background: #fff;--pull-refresh-color: var(--color-primary);--pull-refresh-success-color: var(--color-success);--pull-refresh-icon-size: 25px}.var-pull-refresh{overflow:hidden;position:relative;user-select:none;width:100%}.var-pull-refresh__control{display:flex;width:var(--pull-refresh-size);height:var(--pull-refresh-size);align-items:center;justify-content:center;background-color:var(--pull-refresh-background);border-radius:50%;position:absolute;left:50%;z-index:90;color:var(--pull-refresh-color)}.var-pull-refresh__control-success{color:var(--pull-refresh-success-color)}.var-pull-refresh__icon[var-pull-refresh-cover]{font-size:var(--pull-refresh-icon-size)}.var-pull-refresh__animation{transform:rotate(0);animation:iconRotate .6s infinite linear}.var-pull-refresh--lock{overflow:hidden!important}@keyframes iconRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--radio-checked-color: var(--color-primary);--radio-unchecked-color: #555;--radio-disabled-color: var(--color-text-disabled);--radio-error-color: var(--color-danger);--radio-icon-size: 24px;--radio-action-padding: 6px;--radio-text-color: #555}@keyframes var-vibrate-animation{0%{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.var-radio{display:flex;align-items:center;transform:translate(calc(-1 * var(--radio-action-padding)));cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-radio__wrap{display:inline-flex;flex-direction:column}.var-radio__action{position:relative;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:var(--radio-action-padding);border-radius:50%;transition:background-color .25s,color .25s}.var-radio__icon[var-radio-cover]{display:block;font-size:var(--radio-icon-size)}.var-radio__text{color:var(--radio-text-color)}.var-radio--with-animation[var-radio-cover]{animation:var-vibrate-animation .25s}.var-radio--checked{color:var(--radio-checked-color)}.var-radio--unchecked{color:var(--radio-unchecked-color)}.var-radio--disabled{color:var(--radio-disabled-color);cursor:not-allowed}.var-radio--error{color:var(--radio-error-color)}.var-radio-group{display:flex;flex-wrap:wrap}.var-radio-group--horizontal{flex-direction:row}.var-radio-group--vertical{flex-direction:column}:root{--rate-color: var(--color-text);--rate-disabled-color: var(--color-text-disabled);--rate-error-color: var(--color-danger);--rate-action-padding: 4px;--rate-primary-color: var(--color-primary)}.var-rate{display:flex;transform:translate(calc(-1 * var(--rate-action-padding)))}.var-rate__wrap{width:100%}.var-rate__content{position:relative;display:flex;padding:var(--rate-action-padding);cursor:pointer;border-radius:50%;color:var(--rate-color);transition:color .25s;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-rate__content-icon[var-rate-cover]{font-size:24px}.var-rate--primary{color:var(--rate-primary-color)}.var-rate--disabled{color:var(--rate-disabled-color);cursor:not-allowed}.var-rate--error{color:var(--rate-error-color)}:root{--result-background: #fff;--result-padding: 24px;--result-border-radius: 3px;--result-title-color: #444;--result-title-font-size: 32px;--result-title-margin: 15px 0 0 0;--result-image-size: 80px;--result-title-font-weight: 500;--result-description-margin: 10px 0 0 0;--result-description-font-size: 14px;--result-description-color: rgba(0, 0, 0, .6);--result-description-line-height: 1.6;--result-info-color: var(--color-info);--result-info-border-color: rgba(0, 175, 239, .3);--result-success-color: var(--color-success);--result-success-border-color: rgba(0, 196, 143, .3);--result-error-color: var(--color-danger);--result-error-border-color: rgba(244, 67, 54, .3);--result-warning-color: var(--color-warning);--result-warning-border-color: rgba(255, 159, 0, .3);--result-question-color: #607d8b;--result-question-border-color: rgba(96, 125, 139, .3);--result-empty-color: #9e9e9e;--result-empty-border-color: rgba(158, 158, 158, .3)}.var-result{display:flex;flex-direction:column;align-items:center;border-radius:var(--result-border-radius);width:100%;padding:var(--result-padding);background-color:var(--result-background);transition:background-color .25s}.var-result__image-container{overflow:hidden}.var-result__image{margin:0 auto;position:relative;border-radius:50%;box-sizing:content-box;border-style:solid;border-color:transparent;width:var(--result-image-size);height:var(--result-image-size);display:flex;justify-content:center;align-items:center}.var-result__image svg{margin:0 auto;display:block;width:100%;height:100%}.var-result__info{border-color:var(--result-info-border-color)}.var-result__info path{fill:var(--result-info-color)}.var-result__empty{border-color:var(--result-empty-border-color)}.var-result__empty path{fill:var(--result-empty-color)}.var-result__question{border-color:var(--result-question-border-color)}.var-result__question path{fill:var(--result-question-color)}.var-result__error{border-color:var(--result-error-border-color)}.var-result__error path{fill:var(--result-error-color)}.var-result__warning{border-color:var(--result-warning-border-color)}.var-result__warning path{fill:var(--result-warning-color)}.var-result__success{border-color:var(--result-success-color)}.var-result__success-cover-left{display:block;position:absolute;z-index:1;top:-.875%;left:-41.27%;width:75%;height:150%;border-radius:150% 0 0 150%;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}.var-result__success-cover-right{display:block;position:absolute;top:-13.75%;left:37.5%;width:75%;height:150%;border-radius:0 125% 125% 0;animation-name:rotate-circle;animation-timing-function:ease-in;transform-origin:0 50%;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}.var-result__success-line{height:6.8%;background-color:var(--result-success-color);display:block;position:absolute;z-index:10;transition:background-color .25s}.var-result__success-line-tip{transform:rotate(45deg);animation-name:success-line-tip;animation-fill-mode:forwards}.var-result__success-line-long{transform:rotate(-45deg);animation-name:success-line-long;animation-fill-mode:forwards}.var-result__success-circle{z-index:10;width:100%;height:100%;border-radius:50%;position:absolute;box-sizing:content-box!important;border-style:solid;border-color:var(--result-success-border-color)}.var-result__success-line-fix{top:9%;left:34%;width:8.75%;height:112.5%;z-index:1;position:absolute;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}@keyframes success-line-tip{0%{top:23.75%;left:1.25%;width:0}54%{top:20.25%;left:1%;width:0}70%{top:43.75%;left:-9.5%;width:62.5%}84%{top:60%;left:26.25%;width:21.25%}to{top:56.25%;left:17.5%;width:31.25%}}@keyframes success-line-long{0%{top:67.5%;right:57.5%;width:0}65%{top:67.5%;right:57.5%;width:0}84%{top:43.75%;right:0;width:68.75%}to{top:47%;right:9%;width:58.75%}}@keyframes rotate-circle{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}.var-result__title{font-size:var(--result-title-font-size);word-break:break-word;margin:var(--result-title-margin);font-weight:var(--result-title-font-weight);color:var(--result-title-color);text-align:center}.var-result__description{font-size:var(--result-description-font-size);word-break:break-word;color:var(--result-description-color);margin:var(--result-description-margin);line-height:var(--result-description-line-height);text-align:center}.var-result__footer{z-index:1;margin-top:20px}.var-row{display:flex;flex-wrap:wrap}:root{--skeleton-content-padding: 16px;--skeleton-card-height: 160px;--skeleton-card-border-radius: 4px;--skeleton-card-margin-bottom: 16px;--skeleton-card-background-color: rgba(0, 0, 0, .12);--skeleton-animation-background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0));--skeleton-avatar-size: 34px;--skeleton-avatar-border-radius: 50%;--skeleton-avatar-margin-right: 16px;--skeleton-avatar-background-color: rgba(0, 0, 0, .12);--skeleton-title-width: 50%;--skeleton-title-border-radius: 10px;--skeleton-title-background-color: rgba(0, 0, 0, .12);--skeleton-row-height: 12px;--skeleton-row-border-radius: 10px;--skeleton-row-margin-top: 10px}@keyframes var-skeleton-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}.var-skeleton{width:100%}.var-skeleton__content{padding:var(--skeleton-content-padding)}.var-skeleton__card{position:relative;overflow:hidden;width:100%;height:var(--skeleton-card-height);background-color:var(--skeleton-card-background-color);margin-bottom:var(--skeleton-card-margin-bottom);border-radius:var(--skeleton-card-border-radius);transition:background-color .25s}.var-skeleton__article{display:flex;width:100%}.var-skeleton__avatar{position:relative;overflow:hidden;flex-shrink:0;width:var(--skeleton-avatar-size);height:var(--skeleton-avatar-size);border-radius:var(--skeleton-avatar-border-radius);background-color:var(--skeleton-avatar-background-color);margin-right:var(--skeleton-avatar-margin-right);transition:.25s background-color}.var-skeleton__section{width:100%;padding-top:8px}.var-skeleton__title{position:relative;overflow:hidden;width:var(--skeleton-title-width);height:var(--skeleton-row-height);background-color:var(--skeleton-title-background-color);border-radius:var(--skeleton-title-border-radius);transition:.25s background-color}.var-skeleton__row{position:relative;overflow:hidden;width:100%;height:var(--skeleton-row-height);background-color:var(--skeleton-title-background-color);margin-top:var(--skeleton-row-margin-top);border-radius:var(--skeleton-row-border-radius);transition:.25s background-color}.var-skeleton__fullscreen{position:fixed;overflow:hidden;top:0;left:0;bottom:0;right:0;background-color:var(--skeleton-title-background-color);transition:.25s background-color}.var-skeleton--animation:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;animation:var-skeleton-animation 1s infinite;background:var(--skeleton-animation-background);transition:.25s background-color}:root{--slider-error-color: var(--color-danger);--slider-track-background: #bdbdbd;--slider-track-fill-background: var(--color-primary);--slider-thumb-block-background: var(--color-primary);--slider-thumb-ripple-background: var(--color-primary);--slider-thumb-label-background: var(--color-primary);--slider-thumb-label-font-size: var(--font-size-sm);--slider-disabled-opacity: var(--opacity-disabled)}.var-slider{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%}.var-slider-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider-track{width:100%;align-items:center;position:relative}.var-slider-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider-thumb{position:absolute;cursor:pointer}.var-slider-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider-thumb-label span{transform:rotate(-45deg)}.var-slider-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__form[var-slider-cover]{margin:0}.var-slider__horizontal{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%}.var-slider__horizontal-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider__horizontal--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider__horizontal-track{width:100%;align-items:center;position:relative}.var-slider__horizontal-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__horizontal-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider__horizontal-thumb{position:absolute;cursor:pointer}.var-slider__horizontal-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider__horizontal-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider__horizontal-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider__horizontal-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider__horizontal-thumb-label span{transform:rotate(-45deg)}.var-slider__horizontal-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__horizontal__form[var-slider-cover]{margin:0}.var-slider__horizontal--error .var-slider__horizontal-track-background{background-color:var(--slider-error-color)!important;filter:opacity(.6)}.var-slider__horizontal--error .var-slider__horizontal-track-fill,.var-slider__horizontal--error .var-slider__horizontal-thumb-block,.var-slider__horizontal--error .var-slider__horizontal-thumb-ripple--active,.var-slider__horizontal--error .var-slider__horizontal-thumb-label{background-color:var(--slider-error-color)!important}.var-slider__vertical{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%}.var-slider__vertical-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider__vertical--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider__vertical-track{width:100%;align-items:center;position:relative}.var-slider__vertical-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__vertical-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider__vertical-thumb{position:absolute;cursor:pointer}.var-slider__vertical-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider__vertical-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider__vertical-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider__vertical-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider__vertical-thumb-label span{transform:rotate(-45deg)}.var-slider__vertical-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__vertical__form[var-slider-cover]{margin:0}.var-slider__vertical-block{width:36px;display:flex;align-items:center;justify-content:center;position:relative;user-select:none;margin:6px 0;transition:filter .25s}.var-slider__vertical-track{height:100%;width:fit-content}.var-slider__vertical-track-background{width:2px;height:100%;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__vertical-track-fill{width:100%;bottom:0}.var-slider__vertical-thumb-label{transform:translate(0) translate(0) translateY(50%) rotate(-225deg) scale(0)}.var-slider__vertical-thumb-label span{transform:rotate(-135deg)}.var-slider__vertical-thumb-label--active{transform:translate(20%) translate(8px) translateY(50%) rotate(-225deg) scale(1)}.var-slider__vertical--error .var-slider__vertical-track-background{background-color:var(--slider-error-color)!important;filter:opacity(.6)}.var-slider__vertical--error .var-slider__vertical-track-fill,.var-slider__vertical--error .var-slider__vertical-thumb-block,.var-slider__vertical--error .var-slider__vertical-thumb-ripple--active,.var-slider__vertical--error .var-slider__vertical-thumb-label{background-color:var(--slider-error-color)!important}:root{--snackbar-width: 256px;--snackbar-color: rgba(255, 255, 255, .87);--snackbar-border-radius: 4px;--snackbar-background: #333;--snackbar-font-size: var(--font-size-md);--snackbar-margin: 6px 24px;--snackbar-border-color: currentColor;--snackbar-success-background: var(--color-success);--snackbar-info-background: var(--color-info);--snackbar-error-background: var(--color-danger);--snackbar-warning-background: var(--color-warning);--snackbar-content-padding: 14px 16px;--snackbar-action-margin: 0 8px 0;--snackbar-vertical-action-margin: 0 8px 8px 0}.var-transition-group{position:fixed;left:0;right:0;top:0;bottom:0;pointer-events:none}.var-pointer-auto{pointer-events:auto}.var-snackbar{display:flex;justify-content:center;align-items:baseline;left:0;right:0;bottom:0;transition:all .15s var(--cubic-bezier)}.var-snackbar__transition{top:0;position:fixed}.var-snackbar__transition .var-snackbar__wrapper{position:absolute}.var-snackbar__transition .var-snackbar__wrapper-top{top:5%}.var-snackbar__transition .var-snackbar__wrapper-center{top:45%}.var-snackbar__transition .var-snackbar__wrapper-bottom{bottom:5%}.var-snackbar__wrapper{width:var(--snackbar-width);display:flex;border-radius:var(--snackbar-border-radius);color:var(--snackbar-color);background:var(--snackbar-background);font-size:var(--snackbar-font-size);margin:var(--snackbar-margin);align-items:center;border-color:var(--snackbar-border-color);pointer-events:auto;transition:.3s var(--cubic-bezier)}.var-snackbar__wrapper-success{background:var(--snackbar-success-background)}.var-snackbar__wrapper-info{background:var(--snackbar-info-background)}.var-snackbar__wrapper-warning{background:var(--snackbar-warning-background)}.var-snackbar__wrapper-error{background:var(--snackbar-error-background)}.var-snackbar__content{flex-grow:1;padding:var(--snackbar-content-padding)}.var-snackbar__action{margin:var(--snackbar-action-margin);display:flex}.var-snackbar__vertical{flex-direction:column;align-items:flex-start}.var-snackbar__vertical .var-snackbar__action{align-self:flex-end;margin:var(--snackbar-vertical-action-margin)}.var-snackbar-fade-enter-from,.var-snackbar-fade-leave-to{opacity:0;transform:translateY(-30px)}:root{--space-size-mini-y: 4px;--space-size-mini-x: 4px;--space-size-small-y: 6px;--space-size-small-x: 6px;--space-size-normal-y: 8px;--space-size-normal-x: 12px;--space-size-large-y: 12px;--space-size-large-x: 20px}.var-space{display:flex}.var-space--inline{display:inline-flex}:root{--step-tag-size: 20px;--step-tag-background: #9e9e9e;--step-tag-font-size: var(--font-size-md);--step-tag-color: #fff;--step-tag-active-color: var(--color-primary);--step-tag-margin: 4px 0;--step-tag-icon-size: var(--font-size-lg);--step-content-font-size: var(--font-size-md);--step-content-color: rgba(0, 0, 0, .38);--step-content-active-color: #000;--step-line-background: #000;--step-line-gap: 8px;--step-min-size: calc(var(--step-tag-size) + var(--step-line-gap));--step-line-size: calc(100% - var(--step-min-size));--step-vertical-tag-margin: 0 4px;--step-vertical-min-height: 50px}.tag{width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step{position:relative;flex:1;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-step:last-child .var-step__horizontal-line{width:0}.var-step:last-child .var-step__vertical-line{height:0}.var-step__horizontal{display:flex;flex-direction:column;align-items:center}.var-step__horizontal-tag{margin:var(--step-tag-margin);width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__horizontal-tag--active{background:var(--step-tag-active-color)}.var-step__horizontal-content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__horizontal-content--active{color:var(--step-content-active-color)}.var-step__horizontal-line{position:absolute;top:calc(var(--step-min-size) / 2);left:calc(50% + var(--step-min-size) / 2);width:var(--step-line-size);height:1px;transform:scaleY(.5);background:var(--step-line-background)}.var-step__vertical{display:flex;height:100%;min-height:var(--step-vertical-min-height)}.var-step__vertical-tag{flex-shrink:0;margin:var(--step-vertical-tag-margin);width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__vertical-tag--active{background:var(--step-tag-active-color)}.var-step__vertical-content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__vertical-content--active{color:var(--step-content-active-color)}.var-step__vertical-line{position:absolute;height:var(--step-line-size);left:calc(var(--step-min-size) / 2);top:calc(var(--step-min-size) - var(--step-line-gap) / 2);width:1px;transform:scaleX(.5);background:var(--step-line-background)}.var-step__icon[var-step-cover]{font-size:var(--step-tag-icon-size)}.var-steps{width:100%;display:flex;justify-content:space-between;overflow:hidden}:root{--switch-track-background: #fff;--switch-track-active-background: var(--color-primary);--switch-track-error-background: var(--color-danger);--switch-ripple-color: var(--color-primary);--switch-handle-background: #fff;--switch-handle-color: #fff;--switch-handle-active-background: var(--color-primary);--switch-handle-error-background: var(--color-danger);--switch-disabled-opacity: var(--opacity-disabled)}.var-switch{display:inline-block}.var-switch__block{position:relative;display:flex;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;justify-content:center;height:24px;width:40px;transition:filter .25s}.var-switch--disabled{filter:opacity(var(--switch-disabled-opacity));cursor:not-allowed}.var-switch__track{background-color:var(--switch-track-background);transition:background-color .25s;filter:opacity(var(--switch-disabled-opacity));height:14.4px;width:38px;border-radius:calc(20px * 2 / 3)}.var-switch__track--active{background-color:var(--switch-track-active-background)}.var-switch__track--error{background-color:var(--switch-track-error-background)!important}.var-switch__ripple{position:absolute;display:flex;align-items:center;justify-content:center;color:var(--switch-ripple-color);border-radius:50%;overflow:hidden;transition:.3s var(--cubic-bezier);width:40px;height:40px;left:-10px}.var-switch__ripple--active{left:10px}.var-switch__handle{border-radius:50%;background-color:var(--switch-handle-background);display:flex;align-items:center;justify-content:center;color:var(--switch-handle-color);transition:background-color .25s;width:20px;height:20px}.var-switch__handle--active{background-color:var(--switch-handle-active-background)}.var-switch__handle--error{background-color:var(--switch-handle-error-background)!important}.var-switch__loading{display:inline-block;width:16px;height:16px;animation:circle 1.8s linear infinite}.var-switch__loading svg{display:block;width:100%;height:100%}.var-switch__loading svg circle{animation:circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}@keyframes circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}:root{--tab-padding: 12px;--tab-active-color: var(--color-primary);--tab-inactive-color: #646566;--tab-disabled-color: var(--color-text-disabled);--tab-font-size: var(--font-size-md)}.var-tab{display:flex;justify-content:center;align-items:center;flex:1 0 auto;padding:0 var(--tab-padding);font-size:var(--tab-font-size);cursor:pointer;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-tab--active{color:var(--tab-active-color)}.var-tab--inactive{color:var(--tab-inactive-color)}.var-tab--disabled{color:var(--tab-disabled-color);cursor:not-allowed}.var-tab--horizontal{flex-direction:row}.var-tab--vertical{flex-direction:column}.var-tab-item--inactive[var-tab-item-cover]{overflow:visible;height:0}:root{--table-background: #fff;--table-border-radius: 2px;--table-thead-border-bottom: thin solid rgba(0, 0, 0, .12);--table-thead-th-text-color: rgba(0, 0, 0, .6);--table-thead-th-font-size: 14px;--table-thead-tr-border-bottom: thin solid rgba(0, 0, 0, .12);--table-tbody-tr-hover-background: #eee;--table-tbody-tr-border-bottom: thin solid rgba(0, 0, 0, .12);--table-tbody-td-text-color: #555;--table-tbody-td-font-size: 16px;--table-row-height: 46px;--table-row-padding: 0 16px;--table-footer-border-top: thin solid rgba(0, 0, 0, .12)}.var-table{width:100%;background:var(--table-background);border-radius:var(--table-border-radius);transition:.25s background-color}.var-table *{box-sizing:border-box}.var-table__main{width:100%;overflow-x:auto}.var-table__main>table{min-width:100%;display:table;border-spacing:0;border-collapse:collapse;line-height:normal}.var-table__main>table thead{display:table-header-group;border-bottom:var(--table-thead-border-bottom)}.var-table__main>table thead tr th{color:var(--table-thead-th-text-color);font-size:var(--table-thead-th-font-size)}.var-table__main>table thead tr:not(:last-child){border-bottom:var(--table-thead-tr-border-bottom)}.var-table__main>table tbody{display:table-row-group}.var-table__main>table tbody tr{display:table-row;outline:0;vertical-align:middle}.var-table__main>table tbody tr:hover{background:var(--table-tbody-tr-hover-background);transition:background-color .25s}.var-table__main>table tbody tr:not(:last-child){border-bottom:var(--table-tbody-tr-border-bottom)}.var-table__main>table tbody td{color:var(--table-tbody-td-text-color);font-size:var(--table-tbody-td-font-size)}.var-table__main>table th{display:table-cell;height:var(--table-row-height);padding:var(--table-row-padding);font-weight:500;text-align:left}.var-table__main>table td{display:table-cell;padding:var(--table-row-padding);height:var(--table-row-height);text-align:left}.var-table__footer{width:100%;min-height:var(--table-row-height);border-top:var(--table-footer-border-top)}:root{--tabs-item-horizontal-height: 44px;--tabs-item-vertical-height: 66px;--tabs-radius: 2px;--tabs-padding: 12px;--tabs-indicator-size: 2px;--tabs-indicator-background: var(--color-primary);--tabs-background: #fff;--tabs-indicator-inner-size: 100%}.var-tabs{border-radius:var(--tabs-radius);background:var(--tabs-background);overflow:hidden;transition:background-color .25s}.var-tabs__tab-wrap{position:relative;display:flex;height:100%}.var-tabs__indicator{display:flex;justify-content:center;align-items:center;position:absolute;z-index:1;transition-property:width,transform;transition-duration:.3s}.var-tabs__indicator-inner{background:var(--tabs-indicator-background)}.var-tabs--layout-horizontal{flex-direction:row}.var-tabs--layout-horizontal-scrollable{overflow-x:auto;overflow-y:hidden}.var-tabs--layout-horizontal-scrollable::-webkit-scrollbar{display:none}.var-tabs--layout-horizontal-padding{padding:0 var(--tabs-padding)}.var-tabs--layout-horizontal-indicator{left:0;bottom:0;height:var(--tabs-indicator-size)}.var-tabs--layout-horizontal-reverse-indicator{left:0;top:0;height:var(--tabs-indicator-size)}.var-tabs--layout-horizontal-indicator-inner{width:var(--tabs-indicator-inner-size);height:100%}.var-tabs--layout-vertical{flex-direction:column}.var-tabs--layout-vertical-scrollable{overflow-x:hidden;overflow-y:auto}.var-tabs--layout-vertical-scrollable::-webkit-scrollbar{display:none}.var-tabs--layout-vertical-padding{padding:0}.var-tabs--layout-vertical-indicator{left:0;top:0;width:var(--tabs-indicator-size)}.var-tabs--layout-vertical-reverse-indicator{right:0;top:0;width:var(--tabs-indicator-size)}.var-tabs--layout-vertical-indicator-inner{width:100%;height:var(--tabs-indicator-inner-size)}.var-tabs--item-horizontal{height:var(--tabs-item-horizontal-height)}.var-tabs--item-vertical{height:var(--tabs-item-vertical-height)}.var-tabs--fixed-bottom{position:fixed;width:100%;left:0;bottom:0;z-index:99}.var-tabs--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box!important}:root{--time-picker-border-radius: 4px;--time-picker-font-size: var(--font-size-md);--time-picker-min-width: 290px;--time-picker-height: 385px;--time-picker-title-height: 105px;--time-picker-title-padding: 16px;--time-picker-title-margin-bottom: 8px;--time-picker-title-color: #fff;--time-picker-title-background: var(--color-primary);--time-picker-title-hint-font-size: 16px;--time-picker-title-time-font-size: 50px;--time-picker-title-time-margin: 0 5px;--time-picker-title-ampm-margin-left: 5px;--time-picker-clock-left: 27px;--time-picker-clock-right: 27px;--time-picker-clock-top: 27px;--time-picker-clock-bottom: 27px;--time-picker-clock-container-width: 256px;--time-picker-clock-container-height: 256px;--time-picker-clock-container-background: #e0e0e0;--time-picker-clock-hand-height:calc(50% - 4px);--time-picker-clock-hand-width: 2px;--time-picker-clock-hand-bottom: 50%;--time-picker-clock-hand-left:calc(50% - 1px);--time-picker-clock-hand-background: var(--color-primary);--time-picker-clock-hand-border-color: var(--color-primary);--time-picker-clock-hand-before-width: 10px;--time-picker-clock-hand-before-height: 10px;--time-picker-clock-hand-before-border-width: 2px;--time-picker-clock-hand-after-width: 4px;--time-picker-clock-hand-after-height: 4px;--time-picker-clock-item-height: 32px;--time-picker-clock-item-width: 32px;--time-picker-clock-item-active-background: var(--color-primary);--time-picker-clock-item-active-color: #fff;--time-picker-clock-item-disable-color: rgba(0, 0, 0, .26);--time-picker-clock-item-text-color: #555;--time-picker-inner-left: 36px;--time-picker-inner-right: 36px;--time-picker-inner-top: 36px;--time-picker-inner-bottom: 36px;--time-picker-body-background: #fff}.after-before-basic{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%)}.var-time-picker{border-radius:var(--time-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--time-picker-font-size);position:relative;min-width:var(--time-picker-min-width);height:var(--time-picker-height);overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-time-picker__title{min-height:var(--time-picker-title-height);padding:var(--time-picker-title-padding);color:var(--time-picker-title-color);background:var(--time-picker-title-background);display:block}.var-time-picker__title-hint{font-size:var(--time-picker-title-hint-font-size);margin-bottom:var(--time-picker-title-margin-bottom)}.var-time-picker__title-time-container{display:flex;align-items:flex-end;justify-content:flex-end}.var-time-picker__title-btn{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier);white-space:nowrap}.var-time-picker__title-btn--active{opacity:1}.var-time-picker__title-time{display:flex;justify-content:flex-end;font-size:var(--time-picker-title-time-font-size)}.var-time-picker__title-time .var-time-picker__title-btn{align-items:center;margin:var(--time-picker-title-time-margin)}.var-time-picker__title-ampm{margin-left:var(--time-picker-title-ampm-margin-left)}.var-time-picker__body{flex:1;display:flex;align-items:center;justify-content:center;background-color:var(--time-picker-body-background)}.var-time-picker__clock{position:absolute;bottom:var(--time-picker-clock-bottom);left:var(--time-picker-clock-left);right:var(--time-picker-clock-right);top:var(--time-picker-clock-top)}.var-time-picker__clock-container{width:var(--time-picker-clock-container-width);height:var(--time-picker-clock-container-height);background:var(--time-picker-clock-container-background);border-radius:50%;position:relative}.var-time-picker__clock-hand{height:var(--time-picker-clock-hand-height);width:var(--time-picker-clock-hand-width);bottom:var(--time-picker-clock-hand-bottom);left:var(--time-picker-clock-hand-left);transform-origin:center bottom;position:absolute;will-change:transform;z-index:1;background-color:var(--time-picker-clock-hand-background);border-color:var(--time-picker-clock-hand-border-color)}.var-time-picker__clock-hand:before{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);background:transparent;border:var(--time-picker-clock-hand-before-border-width) solid;width:var(--time-picker-clock-hand-before-width);height:var(--time-picker-clock-hand-before-height);top:-5px;border-color:inherit}.var-time-picker__clock-hand:after{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);border-color:inherit;height:var(--time-picker-clock-hand-after-height);width:var(--time-picker-clock-hand-after-width);top:100%;border-style:solid;background-color:inherit}.var-time-picker__clock-item{align-items:center;border-radius:100%;display:flex;justify-content:center;height:var(--time-picker-clock-item-height);position:absolute;width:var(--time-picker-clock-item-width);user-select:none;transform:translate(-50%,-50%);color:var(--time-picker-clock-item-text-color)}.var-time-picker__clock-item--active{background:var(--time-picker-clock-item-active-background);z-index:2;color:var(--time-picker-clock-item-active-color)}.var-time-picker__clock-item--disable{color:var(--time-picker-clock-item-disable-color)}.var-time-picker__clock-inner{position:absolute;bottom:var(--time-picker-inner-bottom);left:var(--time-picker-inner-left);right:var(--time-picker-inner-right);top:var(--time-picker-inner-top)}.var-time-picker-panel-fade-enter-from,.var-time-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-time-picker-panel-fade-leave-active{position:absolute}:root{--uploader-action-background: #f7f8fa;--uploader-action-icon-color: #888;--uploader-action-icon-size: 24px;--uploader-action-margin: 0 10px 10px 0;--uploader-file-size: 80px;--uploader-file-margin: 0 10px 10px 0;--uploader-file-name-background: #f7f8fa;--uploader-file-name-color: #888;--uploader-file-name-font-size: 12px;--uploader-file-name-padding: 10px;--uploader-file-text-align: center;--uploader-file-close-background: rgba(0, 0, 0, .3);--uploader-file-close-size: 24px;--uploader-file-close-icon-font-size: 14px;--uploader-file-close-icon-color: #fff;--uploader-file-cover-fit: cover;--uploader-file-cover-background: #f7f8fa;--uploader-preview-video-width: 100vw;--uploader-preview-video-height: 100vw;--uploader-file-indicator-height: 4px;--uploader-file-indicator-normal-color: var(--color-disabled);--uploader-file-indicator-success-color: var(--color-success);--uploader-file-indicator-error-color: var(--color-danger);--uploader-file-progress-color: var(--color-primary);--uploader-disabled-color: var(--color-disabled);--uploader-disabled-text-color: var(--color-text-disabled);--uploader-loading-background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0))}@keyframes var-uploader-loading-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}.var-uploader{width:100%}.var-uploader__file-list{width:100%;display:flex;flex-wrap:wrap}.var-uploader__file{position:relative;width:var(--uploader-file-size);height:var(--uploader-file-size);margin:var(--uploader-file-margin);overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-uploader__file-name{position:absolute;width:100%;height:100%;line-height:calc(var(--uploader-file-size) - var(--uploader-file-name-padding) * 2);font-size:var(--uploader-file-name-font-size);z-index:0;background:var(--uploader-file-name-background);padding:var(--uploader-file-name-padding);color:var(--uploader-file-name-color);text-align:var(--uploader-file-text-align);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;user-select:none;transition:background-color .25s}.var-uploader__file-cover{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:var(--uploader-file-cover-background);object-fit:var(--uploader-file-cover-fit);pointer-events:none;transition:background-color .25s}.var-uploader__file-close{position:absolute;top:0;right:0;z-index:2;border-top:var(--uploader-file-close-size) solid var(--uploader-file-close-background);border-left:var(--uploader-file-close-size) solid transparent}.var-uploader__file-close-icon[var-uploader-cover]{position:absolute;top:calc(-1 * var(--uploader-file-close-size));right:0;font-size:var(--uploader-file-close-icon-font-size);color:var(--uploader-file-close-icon-color)}.var-uploader__file-indicator{position:absolute;left:0;bottom:0;z-index:2;width:100%;height:var(--uploader-file-indicator-height);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:var(--uploader-file-indicator-normal-color)}.var-uploader__action{position:relative;display:flex;justify-content:center;align-items:center;color:var(--uploader-action-icon-color);width:var(--uploader-file-size);height:var(--uploader-file-size);background:var(--uploader-action-background);margin:var(--uploader-action-margin);transition:background-color .25s;cursor:pointer}.var-uploader__action-icon[var-uploader-cover]{font-size:var(--uploader-action-icon-size)}.var-uploader__action-input{display:block;width:0;height:0;visibility:hidden}.var-uploader__preview[var-uploader-cover]{background:#000;box-shadow:none}.var-uploader__preview-video{width:var(--uploader-preview-video-width);height:var(--uploader-preview-video-height)}.var-uploader__progress{width:0%;height:100%;background-color:var(--uploader-file-progress-color);transition:all .25s ease-in-out}.var-uploader--loading:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;animation:var-uploader-loading-animation .6s infinite;background:var(--uploader-loading-background);transition:background-color .25s}.var-uploader--success{background:var(--uploader-file-indicator-success-color)}.var-uploader--error{background:var(--uploader-file-indicator-error-color)}.var-uploader--disabled{background:var(--uploader-disabled-color);color:var(--uploader-disabled-text-color);cursor:not-allowed}:root{--watermark-content-color: #808080}.var-watermark{position:relative}.var-watermark__container{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;background-repeat:repeat;color:var(--watermark-content-color)}.var-watermark--fullscreen{position:fixed} +.var--box,.var--box *{box-sizing:border-box}.var--relative{position:relative}.var--absolute{position:absolute}.var--hidden{overflow:hidden}.var--lock{overflow:hidden!important}.var--block{display:block}.var--ellipsis{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.var--inline-block{display:inline-block}.var--flex{display:flex}.var--inline-flex{display:inline-flex}:root{--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 16px;--icon-size-xs: 16px;--icon-size-sm: 18px;--icon-size-md: 20px;--icon-size-lg: 22px;--color-body: #fff;--color-text: #333;--color-primary: #3a7afe;--color-info: #00afef;--color-success: #00c48f;--color-warning: #ff9f00;--color-danger: #f44336;--color-disabled: #e0e0e0;--color-text-disabled: #aaa;--opacity-disabled: .6;--cubic-bezier: cubic-bezier(.25, .8, .5, 1);--shadow-key-umbra-opacity: rgba(0, 0, 0, .2);--shadow-key-penumbra-opacity: rgba(0, 0, 0, .14);--shadow-key-ambient-opacity: rgba(0, 0, 0, .12)}@font-face{font-family:varlet-icons;src:url(data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI/skzwAAABjAAAAFZjbWFwS59H6gAAA9wAAAiYZ2x5ZkEcIbIAAA10AAA11GhlYWRhIEB+AAAA4AAAADZoaGVhA8QCPgAAALwAAAAkaG10ePoAAAAAAAHkAAAB+GxvY2ExtyP6AAAMdAAAAP5tYXhwAZcAfgAAARgAAAAgbmFtZQyVRWAAAENIAAACRnBvc3RsHylCAABFkAAAB4UAAQAAAcD/wAAAAgAAAP//AgEAAQAAAAAAAAAAAAAAAAAAAH4AAQAAAAEAAG6D+dhfDzz1AAsCAAAAAAAAAAAAAAAAAAAAAAAAAP/AAgEBwQAAAAgAAgAAAAAAAAABAAAAfgByAA8AAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEB/AGQAAUAAAFEAWYAAABHAUQBZgAAAPUAGQCEAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQPAA8SQBwP/AAC4BwQBAAAAAAQAAAAAAAAAAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAAAAAUAAAADAAAALAAAAAQAAAKsAAEAAAAAAaYAAwABAAAALAADAAoAAAKsAAQBegAAABwAEAADAAzwCfAZ8CnwOfBJ8FnwafB58InwmfEJ8RnxJP//AADwAPAQ8CDwMPBA8FDwYPBw8IDwkPEA8RDxIP//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAcAC4AQABSAGQAdgCIAJoArAC+ANAA4gD0AAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZABlAGYAZwBoAGkAagBrAGwAbQBuAG8AcABxAHIAcwB0AHUAdgB3AHgAeQB6AHsAfAB9AAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAXsAAAAAAAAAH0AAPAAAADwAAAAAAEAAPABAADwAQAAAAIAAPACAADwAgAAAAMAAPADAADwAwAAAAQAAPAEAADwBAAAAAUAAPAFAADwBQAAAAYAAPAGAADwBgAAAAcAAPAHAADwBwAAAAgAAPAIAADwCAAAAAkAAPAJAADwCQAAAAoAAPAQAADwEAAAAAsAAPARAADwEQAAAAwAAPASAADwEgAAAA0AAPATAADwEwAAAA4AAPAUAADwFAAAAA8AAPAVAADwFQAAABAAAPAWAADwFgAAABEAAPAXAADwFwAAABIAAPAYAADwGAAAABMAAPAZAADwGQAAABQAAPAgAADwIAAAABUAAPAhAADwIQAAABYAAPAiAADwIgAAABcAAPAjAADwIwAAABgAAPAkAADwJAAAABkAAPAlAADwJQAAABoAAPAmAADwJgAAABsAAPAnAADwJwAAABwAAPAoAADwKAAAAB0AAPApAADwKQAAAB4AAPAwAADwMAAAAB8AAPAxAADwMQAAACAAAPAyAADwMgAAACEAAPAzAADwMwAAACIAAPA0AADwNAAAACMAAPA1AADwNQAAACQAAPA2AADwNgAAACUAAPA3AADwNwAAACYAAPA4AADwOAAAACcAAPA5AADwOQAAACgAAPBAAADwQAAAACkAAPBBAADwQQAAACoAAPBCAADwQgAAACsAAPBDAADwQwAAACwAAPBEAADwRAAAAC0AAPBFAADwRQAAAC4AAPBGAADwRgAAAC8AAPBHAADwRwAAADAAAPBIAADwSAAAADEAAPBJAADwSQAAADIAAPBQAADwUAAAADMAAPBRAADwUQAAADQAAPBSAADwUgAAADUAAPBTAADwUwAAADYAAPBUAADwVAAAADcAAPBVAADwVQAAADgAAPBWAADwVgAAADkAAPBXAADwVwAAADoAAPBYAADwWAAAADsAAPBZAADwWQAAADwAAPBgAADwYAAAAD0AAPBhAADwYQAAAD4AAPBiAADwYgAAAD8AAPBjAADwYwAAAEAAAPBkAADwZAAAAEEAAPBlAADwZQAAAEIAAPBmAADwZgAAAEMAAPBnAADwZwAAAEQAAPBoAADwaAAAAEUAAPBpAADwaQAAAEYAAPBwAADwcAAAAEcAAPBxAADwcQAAAEgAAPByAADwcgAAAEkAAPBzAADwcwAAAEoAAPB0AADwdAAAAEsAAPB1AADwdQAAAEwAAPB2AADwdgAAAE0AAPB3AADwdwAAAE4AAPB4AADweAAAAE8AAPB5AADweQAAAFAAAPCAAADwgAAAAFEAAPCBAADwgQAAAFIAAPCCAADwggAAAFMAAPCDAADwgwAAAFQAAPCEAADwhAAAAFUAAPCFAADwhQAAAFYAAPCGAADwhgAAAFcAAPCHAADwhwAAAFgAAPCIAADwiAAAAFkAAPCJAADwiQAAAFoAAPCQAADwkAAAAFsAAPCRAADwkQAAAFwAAPCSAADwkgAAAF0AAPCTAADwkwAAAF4AAPCUAADwlAAAAF8AAPCVAADwlQAAAGAAAPCWAADwlgAAAGEAAPCXAADwlwAAAGIAAPCYAADwmAAAAGMAAPCZAADwmQAAAGQAAPEAAADxAAAAAGUAAPEBAADxAQAAAGYAAPECAADxAgAAAGcAAPEDAADxAwAAAGgAAPEEAADxBAAAAGkAAPEFAADxBQAAAGoAAPEGAADxBgAAAGsAAPEHAADxBwAAAGwAAPEIAADxCAAAAG0AAPEJAADxCQAAAG4AAPEQAADxEAAAAG8AAPERAADxEQAAAHAAAPESAADxEgAAAHEAAPETAADxEwAAAHIAAPEUAADxFAAAAHMAAPEVAADxFQAAAHQAAPEWAADxFgAAAHUAAPEXAADxFwAAAHYAAPEYAADxGAAAAHcAAPEZAADxGQAAAHgAAPEgAADxIAAAAHkAAPEhAADxIQAAAHoAAPEiAADxIgAAAHsAAPEjAADxIwAAAHwAAPEkAADxJAAAAH0AAAAAACgAYACIAMQA3AD8ASQBWgGAAaoBzgISAkYCdgKkAuQDFgNOA24DoAO4A9gEAAQuBGwEwATiBQoFOAVaBYQFxAYcBpAHPgeWB/4IPgiKCNIJIglUCZ4JxAnwChoKTgpiCoIKtAsCCzQLcgucC9IL8AwiDGAMuAzkDR4NMA1MDWANbg1+DZANog2yDb4Nyg3YDeQN+g4QDnIOjA6wDtwPCg8+D4wPyhAgEK4RNhGsEeYSGBKOEr4S1BMGEzQTqBPcFAYUYhSgFMIVIBVCFXAV+BZUFpgW5Bc0F4wXphfMF+4YHBiSGMYY/hk2GWIZmhnIGggaThp0GqAa6gAAAAIAAP/qAdYBlgAFABYAADcnNxc3FyciDgIUHgIyPgI0LgLVah5Moh6VKk88ICA8T1RPPCAgPE9Vax5Moh+AIDxPVE88ICA8T1RPPCAAAAAAAwAA/+oB1gGWAAwAGQAfAAABIg4BFB4BMj4BNC4BAyIuATQ+ATIeARQOARMHJwcXNwEAOmI5OWJ0Yjk5YjouTy4uT1xPLi5PNI03HlWrAZU5YnRiOTlidGI5/oAuT1xPLi5PXE8uAQmMNx5WqwAAAAMAAP/qAdYBlgADAAcAGAAAASM1MxUjNTMnIg4CFB4CMj4CNC4CARUqKioqFSpPPCAgPE9UTzwgIDxPAQAr1oDAIDxPVE88ICA8T1RPPCAABAAA/+oB1gGWAAMAEAAhACUAABMzNSMTIi4BND4BMh4BFA4BAyIOAhQeAjI+AjQuAgMzNSPrKioVLk8uLk9cTy4uTy4qTzwgIDxPVE88ICA8Tz8qKgEAK/7qLk9cTy4uT1xPLgGAIDxPVE88ICA8T1RPPCD+wIAAAwAAAAAB6wGWAAMABwAKAAAlIzUzFSM1MwUhAwEVKioqKv8AAdbrlWvAK2sBlQAABAAAAAAB6wGWAAIABQAJAA0AAAEDIQMTITcVMzUHFTM1AQDrAdbrof6+jCoqKgGV/msBQP7rwFZWgCsrAAAAAAMAAP/qAdYBlgADAAcAGAAAJSM1MxUjNTMDIg4CFB4CMj4CNC4CARUqKioqFSpPPCAgPE9UTzwgIDxPq4DWKwEVIDxPVE88ICA8T1RPPCAABAAA/+oB1gGWAAMABwAUACEAADczFSM1MxUjNyIOARQeATI+ATQuAQMiLgE0PgEyHgEUDgHrKioqKhU6Yjk5YnRiOTliOi5PLi5PXE8uLk+AK9aA6jlidGI5OWJ0Yjn+gC5PXE8uLk9cTy4AAgAAAAABwQGBAAUAFQAANyc3FzcXNSEiBhURFBYzITI2NRE0JtVqHkyiHv7WEhkZEgEqEhkZVWseTKIfaxkS/tYSGRkSASoSGQAAAAIAAAAAAcABgQASABgAACUhETM1IyIGFREUFjMhMjY9ASMnBxc3JwcBlf7W1dUSGRkSASoSGSvsHmDVHrcrASorGRL+1hIZGRKqFB5g1R63AAAAAAIAAAAAAcEBgQAPABMAAAEhIgYVERQWMyEyNjURNCYHESERAZX+1hIZGRIBKhIZGRL+1gGAGRL+1hIZGRIBKhIZK/7WASoAAAMAAP/qAdYBlgAMAB0AKgAAJSIuATQ+ATIeARQOAQMiDgIUHgIyPgI0LgIHIg4BFB4BMj4BNC4BAQAuTy4uT1xPLi5PLipPPCAgPE9UTzwgIDxPKh0xHR0xOjEdHTEVLk9cTy4uT1xPLgGAIDxPVE88ICA8T1RPPCBqHTE6MR0dMToxHQAAAAACAAD/6gHWAZYAGQAfAAAlFA4BIi4BND4BMzIXNyYjIg4BFB4BMj4BNSUHFzcnBwGrLk9cTy4uTy4YFyEmKjpiOTlidGI5/tQeYNUet8AuTy4uT1xPLgciDzlidGI5OWI6KR5g1R63AAIAAP/qAdYBlgAMAB0AACUiLgE0PgEyHgEUDgEDIg4CFB4CMj4CNC4CAQAuTy4uT1xPLi5PLipPPCAgPE9UTzwgIDxPFS5PXE8uLk9cTy4BgCA8T1RPPCAgPE9UTzwgAAIAAP/qAdYBlgAMABgAAAEyHgEUDgEiLgE0PgEXBycHFwcXNxc3JzcBADpiOTlidGI5OWKHTU0eTU0eTU0eTU0BlTlidGI5OWJ0YjlqTU0eTU0eTU0eTU0AAAAAAwAA/+oB1gGWAAwAGQAlAAAlIi4BND4BMh4BFA4BAyIOARQeATI+ATQuAQ8BJwcXBxc3FzcnNwEALk8uLk9cTy4uTy46Yjk5YnRiOTliAzc3Hjc3Hjc3Hjc3FS5PXE8uLk9cTy4BgDlidGI5OWJ0YjmANzceNzceNzceNzcAAAACAAAAAAHAAYEAEAAcAAABKwEiBhURFBYzITI2NRE0JgMnByc3JzcXNxcHFwGVOfESGRkSASoSGRlaTU0eTU0eTU0eTU0BgBkS/tYSGRkSASoSGf7VTU0eTU0eTU0eTU0AAAAAAwAAAAABwAGBAA8AEwAfAAABISIGFREUFjMhMjY1ETQmAyERIQ8BFwcnByc3JzcXNwGV/tYSGRkSASoSGRkS/tYBKipNTR5NTR5NTR5NTQGAGRL+1hIZGRIBKhIZ/qsBKkhNTR5NTR5NTR5NTQAAAAIAAP/qAdYBlgADABAAACUjNTMnIg4BFB4BMj4BNC4BAWvW1ms6Yjk5YnRiOTliqyrAOWJ0Yjk5YnRiOQAAAAADAAD/6gHWAZYADAAZAB0AACUiLgE0PgEyHgEUDgEDIg4BFB4BMj4BNC4BBzM1IwEALk8uLk9cTy4uTy46Yjk5YnRiOTlipdbWFS5PXE8uLk9cTy4BgDlidGI5OWJ0YjnqKgAAAQAAAAAB1gGWAAkAACUXJzcvAQ8BFwcBAIQjdJk8PJl0I1BQlmUNjY0NZZYAAAAAAgAAAAAB1gGWAAUADwAAJTUfAQcXNy8BDwEXBzcXJwEAJF5HFYWZPDyZdCOEhCN3x1YIPlu0DY2NDWWWUFCWAAIAAAAAAdYBlgAJABMAACUHNyc/AR8BBxc3LwEPARcHNxcnAQBQFUdeJCReRxWFmTw8mXQjhIQjeDFcPQhWVgg9XLQNjY0NZZZQUJYAAAAAAQAA//gB1gGBABsAAAUnJicmJyY1ND4BMzIWFz4BMzIeARUUBwYHBgcBAB9FGysUFx82IBwyEhIyHCA2HxcUKxtFBxw+HCwiJycgNh8YFBQYHzYgJyciLBw+AAACAAD/+AHWAYEACgAmAAABIgYHFTY3NjU0JicyHgEVFAcGBwYPAScmJyYnJjU0PgEzMhYXPgEBYBgpClAdKSsgIDYfFxQrG0UfH0UbKxQXHzYgHDISEjIBVRoV4EgjMiggKisfNiAnJyIsHD4cHD4cLCInJyA2HxgUFBgAAgAA//gB1gGBABoANgAAJQcnJicmJyY1NDYzMhYXMz4BMzIWFRQHBgcGEyIGBy4BIyIOARUUFxYXFh8BNzY3Njc2NTQuAQECAgJAGSgTFSsgGSsIKAgrGSArFRMoGR4cMhISMhwgNh8XFCsbRR8fRRsrFBcfNjQCAjoZKB0hHiAqHBYWHCogHiEdKBkBEhgUFBgfNiAnJyIsHD4cHD4cLCInJyA2HwAAAgAAAAABlgGAAAcAEQAAASMnIwcjFSEBFBY7ATI2NREhAZVKFmoWSgEq/usZEqoSGf8AAWsVFSv+6xIZGRIBAAAAAAADAAAAAAGrAYAAEQAVABkAABMVIxUzERQWOwEyNjURMzUjNQczFSM3MxUjwGsWGRHWERkWa4ArK1UrKwGAFSv+6xIZGRIBFSsVa8DAwAAAAAQAAAAAAasBgAARABUAGQAdAAATFSMVMxEUFjsBMjY1ETM1IzUHMxEjNxUzNTMVMzXAaxYZEdYRGRZrq9bWKysqKwGAFSv+6xIZGRIBFSsVQP7r6sDAwMAAAAAAAgAAAAABwAGBAAMAEwAAJSM1MzchIgYVERQWMyEyNjURNCYBa9bWKv7WEhkZEgEqEhkZqyqrGRL+1hIZGRIBKhIZAAADAAAAAAHBAYEAAwATABcAACURIREBMhYVERQGIyEiJjURNDYzBRUjNQGV/tYBKhIZGRL+1hIZGRIBANYrASr+1gFVGRL+1hIZGRIBKhIZqyoqAAADAAD/6gHWAZYAEAAZACYAACUiJic0NzY3NjIXFhcWFQ4BAzIWFAYiJjQ2NyIOARQeATI+ATQuAQEAJ0QVGBQgHS4dIBQYFUQnGyUlNiUlGzpiOTlidGI5OWImJSATEQ4ICAgIDhETICUBLyU1JiY1JUA5YnRiOTlidGI5AAAAAAUAAP/qAdYBlgAMABQAJgAvADgAAAEiDgEUHgEyPgE0LgEDPgEyFhcGIjcmJyYiBwYHJjU0PgEyHgEVFCciBhQWMjY0JgciJjQ2MhYUBgEAOmI5OWJ0Yjk5YqMHQz5DBy52wxUvJT4lLxUjLk9cTy6rHywsPiwsHw0TExoTEwGVOWJ0Yjk5YnRiOf6lDhgYDiVEGQ4LCw4ZLjkuTy4uTy45uSw+Kys+LGsTGxISGxMAAgAA/+oB0QGWAAgATAAAJSImNDYyFhQGNzY0Jzc+AS8BLgEPASYvATQmKwEiBhUHBgcnJgYPAQYWHwEGFBcHDgEfAR4BPwEWHwEUFjsBMjY1NzY3FxY2PwE2JicBAB8sLD4sLIABAS0DAQIrAQgENRISCAYEVgQGCBISNQQIASsCAQMtAQEtAwECKwEIBDUSEggGBFYEBggTETUECAErAgEDdSw+LCw+LDYMEgwjAwcESgMDAhUOBzgEBQUEOAcOFQIDA0oEBwMjDBIMIwMHBEoDAwIVDgc4BAUFBDgIDRUCAwNKBAcDAAQAAP/qAdEBlgAIABEAUwBxAAABMhYUBiImNDYXIgYUFjI2NCYDIiY1JyYnBwYmLwEmNj8BJzcnLgE/AT4BHwE2PwE0NjsBMhYVFxYXNzYWHwEWBg8BFwcXHgEPAQ4BLwEGDwEUBiMDBwYHJwcXBhcHFzcWHwEzNzY3FzcnNic3JwcmLwEBACMyMkYyMiMSGRkkGRk9BAYIEhI1BAgBKwIBAy0BAS0DAQIrAQgENRISCAYEVgQGCBISNQQIASsCAQMtAQEtAwECKwEIBDUSEggGBDsIJxozEC0NDS0QNBomCCAIJho0EC0NDS0QMxonCAEVMkYyMkYyKhkkGRkkGf8ABQQ4Bw4VAgMDSgQHAyMVFSMDBwRKAwMCFQ4HOAQFBQQ4Bw4VAgMDSgQHAyMVFSMDBwRKAwMCFQ4HOAQFAYA4CB4WHCEmJiIbFh4IODgIHhYbIScmIRwWHgg4AAMAAP/VAasBlgATABwAOAAAATIeARQHBgcGDwEnJicmJyY0PgEXIgYUFjI2NCYTFA4BIi4BNTQ2NxcOARUUHgEyPgE1NCYnNx4BAQAjOyIUEBwUGBQUGBQcEBQiOyMSGRkkGRmZLk9cTy4kHw0RFCI7RjsiFBENHyQBlSI6Qy0jKR4dFxcdHikjLUM6IlUZIxkZIxn+6xgnFxcnGBQjDBMHFAsOGQ4OGQ4LFAcTDCMABAAA/9UBqwGWAA0AIQAqAEQAAAEyFhUUBwYHJicmNTQ2NyIOARUUFxYXMTc2NzY3NjU0LgEHIgYUFjI2NCYTFA4BIi4BNTQ2NxcGFRQeATI+ATU0JzceAQEAIzIbFyMkFhsyIyM6I0AgIBQYFBwQFCM6IxIZGSQZGZkuT1xPLiMfDSQiO0Y7IiYMISQBazIkHzMqLC8oMx4kMioiOyM8XS8iFx0eKSMsICM7IlUZIxkZIxn+6xcoFxcoFxQjDRMSFQ4ZDg4ZDhUSEw0jAAAAAAMAAAAAAdYBlgATACAAKQAAEzM3MxczMhYVERQGIyEiJjURNDYXIg4BFB4BMj4BNC4BBzIWFAYiJjQ2VUArgCtAERkZEf6qERkZvB0xHR0xOjEdHTEdGyUlNiUlAWsqKhkS/wASGRkSAQASGUAdMToxHR0xOjEdKyU2JSU2JQAABAAAAAAB1gGWABMAGwAoADEAAAEjJyMHIyIGFREUFjMhMjY1ETQmAyERMzczFzMHIg4BFB4BMj4BNC4BByImNDYyFhQGAatEJ4AnRBEZGREBVhEZGRH+qlcnWidXqx0xHR0xOjEdHTEdGyUlNiUlAWsqKhkS/wASGRkSAQASGf7VAQArKxUdMToxHR0xOjEdqyU2JSU2JQADAAD/6gHBAZYACAAmAC8AACUiBhQWMjY0JgEVMxcHBhUUFjMhNSMiJjQ/ATMyNj8BNjU0JiMhJxMiBhQWMjY0JgFrEhkZIxkZ/pkrTR0FGREBAPcCAwETnwwUBUwDDQj+xBQ6ERkZIxkZQBkjGRkjGQFVKqI1CQsSGSsDBAEjDAqKBgQJDSr+qxkjGRkjGQAEAAD/6gHBAZYACAAmAC8AMwAAJTIWFAYiJjQ2ATMXITIWFRQPAQ4BKwEPARQWOwEVISImNTQ/AScjEzIWFAYiJjQ2PwEhFwFrERkZIxkZ/rxGFAE8CA0DTAUUDJ8TAQMC9/8AERkFHU0rgBIZGSMZGdE8/vIyQBkjGRkjGQFVKg0JBAaKCgwjAwIDKxkSCwk1ov7VGSMZGSMZlWtrAAAAAQAAAAABwQGBACAAADceARc3NhcWMzIWHQEUBiMiJyYnJjU0NjsBMhYVFBcWB40XSS0vCQ0kKAgNDQhjVFIwMg0ISwkMDAQJ2i1JFy8JBAwMCUsIDTIwUlRjCA0NCCgkDQkAAAMAAAAAAcABgQAiACgALgAAJSInIyIPAS4BJzc+AScmNTQmKwEiBhUUFxYXFjMyNj0BNCYlMxYXByYBJic3FjMBqyojBwgGLy5JFi8FAgMLDQhLCA0xMFNUYwgNDf64IAIIGQ4BJyYrGiIVdQ0GLxhJLC8EDAUnJggNDQhjVFMwMQ0ISwgN4BcgGiv+/AMOGQgAAAACAAAAAAHAAYEABAAUAAA3FzcXIQURNCYjISIGFREUFjMhMja1Nkpg/tYBVRkS/tYSGRkSASoSGaBAYIAVASoSGRkS/tYSGRkAAAAAAwAAAAABwAGBAAMAEwAYAAAlIREhNSEiBhURFBYzITI2NRE0Jg8BJwczAZX+1gEq/tYSGRkSASoSGRl9Oyo66isBKisZEv7WEhkZEgEqEhnGTDNMAAAAAAIAAP/VAcABlgATABkAACUVITU3NTQ2NzU0NjIWHQEeAR0BBxQGIiY1AcD+gCs7LxkkGS87ahkkGSsWFiqAMk8OBxEZGREHDk8ygFUSGRkSAAAAAAMAAP/qAasBlgAHABsAIgAAJSM1NDYyFhUXNTQmJzU0JiIGHQEOAR0BBxUhNQcyNjUjFBYBVcA4UDgrPC8SGxMuPCsBa7YSGVUZVYsoODgodXUxSwsODhISDg4LSzF1KxUVVRkRERkAAQAAAAAB1gGAAAoAADc1MxUzNTMnBzMV1VZqQNXVQBWAgKvAwKsAAAIAAAAAAdYBgAAIABMAAAEXFSM1IxUjNTcHMxUzNTMVMzUzAQBrK4Ara9VAgCqAQAFHYKeAgKeZwKuAgKsAAAACAAD/6gGWAZYACAAcAAAlIiY0NjIWFAYnIg4BFBcWFxYfATc2NzY3NjQuAQEAFh8fLB8fFilEKBcTIBgcFxccGCATFyhEyx8sHx8sH8ooRE81KTEiIxsbIyIxKTRQRCgAAAAAAwAA/+oBlgGWAAgAHQAxAAABMhYUBiImNDY3Mh4BFRQHBgcGBzEnJicmJyY0PgEXIg4BFRQXFhcWFzY3Njc2NTQuAQEAFh8fLB8fFilEKCYcLBYRFxwYIBMXKEQpHTEdBAcVGjExGhUHBB0xATUfLB8fLB9gKEQpMkgzOR0SGyMiMSk0UEQoKh0xHREOGyUvQUEvJRsOER0xHQAAAgAA/+oB1gGWABUAIQAAEzIeARUUBxczFwcnNScGIyIuATQ+ARcVIxUzFTM1MzUjNcApRCgdEQyAKoASJzIpRCgoRBRAQCpAQAGVKEQpMicSgCqADBEdKERSRChAQCpAQCpAAAMAAAAAAbYBgAAUAB0AKQAAJRcHJzUnBiMiLgE0PgEyHgEVFAcXIzI2NCYiBhQWNyMVIzUjNTM1MxUzAUtqIGoGJzMmQCUlQEtAJSEGbyg4OFA4OF0rFSsrFSuVaiBqEQYhJUBLQCUlQCYzJwY4UDg4UDhWKysVKysAAAACAAD/6gHWAZYAFQAZAAATMh4BFRQHFzMXByc1JwYjIi4BND4BBxUzNcApRCgdEQyAKoASJzIpRCgoRCyqAZUoRCkyJxKAKoAMER0oRFJEKIAqKgADAAAAAAG2AYAAFAAdACEAACUjJzY1NC4BIg4BFB4BMzI3FxUXNyciJjQ2MhYUBiczFSMBSxEGISVAS0AlJUAmMycGaiDqKDg4UDg4XmtrlQYnMyZAJSVAS0AlIQYRaiBqOFA4OFA4axUAAAACAAD/6gHWAZYAAgAPAAA3NRcnIg4BFB4BMj4BNC4B1YBVOmI5OWJ0Yjk5YmDAYNU5YnRiOTlidGI5AAADAAD/6gHWAZYADAAZABwAACUiLgE0PgEyHgEUDgEDIg4BFB4BMj4BNC4BAzcnAQAuTy4uT1xPLi5PLjpiOTlidGI5OWJlgIAVLk9cTy4uT1xPLgGAOWJ0Yjk5YnRiOf7LYGAAAwAA/+oB1gGWABcAGwAoAAAlBwYHBhUjNTQ/ATY0JiIGFSM0NjIWFRQHIzUzAyIOARQeATI+ATQuAQFBEw0FByoZGg0ZJBkqMkYyQCoqFTpiOTlidGI5OWLQFA0LDhYLIxkbDCQZGRIjMjIjHLkqAUA5YnRiOTlidGI5AAQAAP/qAdYBlgADABAAHQA5AAA3MzUjEyIOARQeATI+ATQuAQMiLgE0PgEyHgEUDgEDIgYVMzQ2MhYVFAcGBwYHBhUzNDc+ATc2NTQm6yoqFTpiOTlidGI5OWI6Lk8uLk9cTy4uTy4jMioZJBkIBQ4SBwwqCgYgBgoyQCsBKjlidGI5OWJ0Yjn+gC5PXE8uLk9cTy4BKzIjERkZEQ0KBgoOCxEaEA0IHAkOEyMyAAAAAgAA/+oB1gGWAAsAHAAAJSMVIzUjNTM1MxUzJyIOAhQeAjI+AjQuAgFrVipWVipWaypPPCAgPE9UTzwgIDxPq1ZWKlZWwCA8T1RPPCAgPE9UTzwgAAAAAAMAAP/qAdYBlgAMABkAJQAAJSIuATQ+ATIeARQOAQMiDgEUHgEyPgE0LgEHIxUjFTMVMzUzNSMBAC5PLi5PXE8uLk8uOmI5OWJ0Yjk5YiUqVlYqVlYVLk9cTy4uT1xPLgGAOWJ0Yjk5YnRiOWpWKlZWKgAAAQAAAAABwAFJAAUAAAkBJzcXNwHA/wB1HlfiASv/AHUeV+IAAQAAAAABlgFWAA8AACUXFSMnByM1Nyc1Mxc3MxUBH3YfdnYfdnYfdnYfwHYfdnYfdnYfdnYfAAABAAAAAAGWAVYACwAAJSMVIzUjNTM1MxUzAZWAKoCAKoCrgIAqgIAAAQAAAAABlgDWAAMAACUhNSEBlf7WASqrKgAAAAEAAAAAAYABFgAFAAA/ARc3JweeYmIegIB3YmIegIAAAQAAAAABgAEJAAUAABMXNxcHJ55iYh6AgAEJYmIegIAAAAAAAQAAAAABSQFAAAUAACUnNycHFwFJYmIegIBeYmIegIAAAAAAAQAAAAABVgFAAAUAAD8BJzcXB7diYh6AgF5iYh6AgAABAAAAAAFrAOsAAgAAPwEXlWtrgGtrAAABAAAAAAFrAOsAAgAANxc3lWtr62trAAABAAAAAAErASsAAgAAAQcXAStrawEra2sAAAAAAQAAAAABQAErAAIAAD8BJ9Vra1VrawAAAgAAAAABlgGAAAYACgAANzUjNxcjFQc1IRXAVZWVVdUBKmuAlZWAVisrAAACAAAAAAGWAYAAAwAKAAA3ITUhJSM1IxUjF2sBKv7WASpVgFWVFSvAgICVAAkAAAAAAcABawADAAcACwAPAB8AIwAzADcARwAAJTUhFSU1IRU1ITUhIxUzNSM0NjsBMhYdARQGKwEiJjUXFTM1IzQ2OwEyFh0BFAYrASImNRcVMzUjNDY7ATIWHQEUBisBIiY1AcD+6wEV/usBFf7rVitADQgrCQwMCSsIDRUrQA0IKwkMDAkrCA0VK0ANCCsJDAwJKwgNKyoqgCoqgCoqKgkNDQkqCQ0NCVYqKgkNDQkqCQ0NCVYqKgkNDQkqCQ0NCQADAAAAAAHAAUAAAwAHAAsAABMhFSEVIRUhFSEVIUABgP6AAYD+gAGA/oABQCtAKkArAAAABAAAAAABwAFAAAUACQANABEAACUHJzcXByUhFSEVNTMVBzUhFQHAHmtrHkz+zAEV/uvV1QEVcx5rax5NgCtqKiprKysAAAAAAwAAAAABKwFrAAgAEQAaAAAlMhYUBiImNDY3MhYUBiImNDY3MhYUBiImNDYBABIZGSQZGRISGRkkGRkSEhkZJBkZaxkkGRkkGYAZJBkZJBmAGSQZGSQZAAQAAP/qAdYBlgANABIAFgAaAAABMhYVERQGIyEHETQ2MxURNyERBSEVIRUzFSMBqxEZGRH+1VUZERkBPf7VAQD/AMDAAZUZEf8AEhlVAYARGSr+5xkBAEArKyoABQAA/+oB1gGWAA0AEgAWABoAHgAAASEiBhURNyEyNjURNCYDIQcRIQcjNTMHIzUzByM1MwGr/qoRGVUBKxEZGRH+xBoBVkArK1YqKlUrKwGVGRH+gFUZEgEAERn+1hoBGpYrKysrKwAJAAD/4QHrAbUAAwAIABUAGQAdACEAJQApAC0AADcXNycXMjM1IxMiDgEUHgEyPgE0LgEXMzUjBxc3JxMnBxcnIxUzByMVMzcnBxdMHiYeeRUVKhUjOyIiO0Y7IiI7iEBAOyYeJiYeJh55KirAQEA7Jh4mNB4nHno/ASsjO0U7IiI7RTsjliujJx4nAQYeJh96P5UrpCYeJwAAAAACAAAAAAHrAVYAFAAqAAA3Ii4BND4BMz4BMzIeARczMhYUBiM1IzU0LgEjIgYHJiMiBhQWMyEyNjQmgB0xHR0xHRBFKyQ+JgMKJDIyJCodMR0oOwYMCxslJRsBFRIZGSscMToxHSYvIjsjMkYygBUdMR0zJwQlNSYZJBkAAgAA/+oB6wGWADYAPQAANyIuATQ+ATM+ATMyHgEXMzIWFAYrASImNDY7ATI2NCYrATU0LgEjIgYHJiMiBhQWOwEyFhQGIzczBzMHNyOAHTEdHTEdEEUrJD4mAwokMjIkFQkMDAkVEhkZEiodMR0oOwYMCxslJRsVCQ0NCWtAKytQEDVrHDE6MR0mLyI7IzJGMgwSDBkkGRUdMR0zJwQlNSYMEgxqVZVqAAAAAAQAAP/vAesBlgAMABkAJgBfAAA3HgEPAQ4BLgE/AT4BFx4BDwEOAS4BPwE+ARceAQ8BDgEuAT8BPgE3NTQuASMiBgcmIyIGFRQWFzEeAQ4BJzEuATQ+ATM+ATMyHgEXMzIWFRQGBzEGLgE2NzE+ATU0JiPACAkCHAIPEQkDGwIPXgkJAywCDxEJAiwDD14ICQIcAg8SCAIcAg8JHTEdKDsGDAsbJREPCAQJEAgZHR0xHRBFKyQ+JgMKJDIXFAgRCQUICQwZEsACEAhnCQgEDwlnCAkCAhAIpQkIBBAIpQgJAgIQCGcJCAQPCWcICSkVHTEdMycEJRsRHggEEg8EBA4xOjEdJi8iOyMyIxgnCwQEEBEEBhMMEhkAAAAAAgAA/9YB6wGWADQAXgAANzIWFAYjIi4BND4BMz4BMzIeARczMhYUBisBIiY0NjsBMjY0JisBNTQuASMiBgcmIyIGFBYXNycmNDYyHwE3PgEeAQ8BNzYeAQYPARcWFAYiLwEHDgEuAT8BBwYuATaACQwMCR0xHR0xHRBFKyQ+JgMKJDIyJBUJDAwJFRIZGRIqHTEdKDsGDAsbJSVDLyMGDRIGIgwDDxEJAg0vCBAECQgvIwYNEgYiDAMPEQkCDS8IEAQJlQwSDBwxOjEdJi8iOyMyRjIMEgwZJBkVHTEdMycEJTUmVgwiBhINBiMvCAkEEAgvDQIJEQ8DDCIGEg0GIy8ICQQQCC8NAgkRDwAAAAADAAD/6gHrAZUANABAAFQAADcyFhQGIyIuATQ+ATM+ATMyHgEXNzIWFAYrASImNDY7ATI2NCYrATU0LgEjIgYHJiMiBhQWFxYXFhUUBiImNTQ/AQ8BBgcGBwYVFBYyNjU0Jy4BJzGACQwMCR0xHR0xHRBFKyQ+JgMKJDIyJBUJDAwJFRIZGRIqHTEdKDsGCwwbJSWbBQcfGSQZHwwLCw4LEggMMkYyDAgkEpUNEQ0dMToxHCcvIzokATJHMg0RDRkjGRUdMR0zJgQmNSUDBworFhIZGRIWK1QMDhERGRIZFSMyMiMVGRI0FQAAAAMAAP/qAesBlgAYACAAIwAAJSc3NjczNSM1IxUjFTMGByYnIxYXBxc3FzcjAzM3MxczJzcXARM3ATcYP5Yqlu8XLR0UKxgobR5rQokrYCsYZRgrmCIjfzUBPU4rKiorQDIgJzUsax5qQpj/AEBAal1dAAAAAgAAAAABtgGAABUAHgAAEzIeARUUBxczFwcnNScGIyIuATQ+ARciBhQWMjY0JsslQCUhBhFqIGoGJzMmQCUlQCYoODhQODgBgCVAJjMnBmogahEGISVAS0AlKzhQODhQOAAAAAEAAP/0AdYBlgBRAAABIg4BFRQWFxY2PQEGJyYnMSYnJi8BJjQzNxYXFhcxFhcWNzY3JicmNTQ3JjUmNzMyFxYXNjIXNjc2FzEWBxQHFhUUBwYHFh0BFBY3PgE1NC4BAQA6YjlRQQcHJRULAwQHBAUECAUFDQsGAg0VDRACCywWHxYEAggGCAsQEhk4GRoTCgQIAgQWHxcrDgcIQFE5YgGVOWI6Rm8WAQcFJAgSCAsLCAYDAwYGAQELBQUVAgEGEwoFExo3IRgJCxITBAYMBwcRBAIBExILCRghOBkTBQ0bOgUHARZvRjpiOQAAAQAAAAABqwFrAB4AAAEuASMiDgEUHgEzMjY3Iw4BIyIuATQ+ATMyFhcHMzUBeRg+Iy5PLi5PLjtbDywOQikjOyIiOyMaLhJFlgE5FxsuT1xPLkg4JTAiO0Y7IhQSRZYAAQAAAAABqQFrAAgAABMzETcXByc3F+sqdh6pqR52AWv/AHUeqakedQAAAAACAAAAAAGrAYAAGQAdAAABBx4BFA4BIi4BNDY3Jw4BFRQeATI+ATU0JicjFTMBYR8dISI7RjsiIRweIiguT1xPLihuKioBTB8ROkU7IiI7RToRHxhJKy5PLi5PLitJTNUAAAAABAAA/+oBqwGWAA0AEwAXABsAABMiBhURFBYzITI2NREnBzMVMxUhNxUzNQcVMzWAEhkZEgEAEhmAq5Vr/wArqqpqAZUZEf6qERkZEQEAgCpr66srK1UrKwAAAAACAAD//QGbAYEALQBHAAAlJi8BJicmJy4BNwYHDgEXFhUUBicmJy4BNw4BFxYXFhceARcWNzY3PgEvASYnBwYHBicmJz4BNzYvASY3HgIXFhcWFRYGBwF5BAoDBg4QCBgKEBocKR0TAg8GAgESBgwaHAICBAQLETkgJCEjGR4SDwMEDEQLDBESDwwSFwQDBgMECAcMGgUIAwEBCwrRBQoDBQoNBxdFHgYWImoyBAMIBgYBAhc8GxZEIxULERQbJQQFCAgXG00lBQoRhgoDBgYFDAUYDwwWDhgUEA4XBwoNBAUNGwgAAAAAAwAAAAAB5wGBAAQAEQAcAAAhNyYiBxMiBgcXPgEyFhc3LgEHIgYHFzYyFzcuAQEATSJWIk1AdTEmKWJqYikmMXVAKk8hJzOAMychT2YaGgEaKCUzHyEhHzMlKIAbGDMmJjMYGwAAAAABAAD/1QHrAa4AFgAAJSc2LgIHFwcnBhYXHgE3FxYyPwE+AQHkwg8RPVgnXEBeEw8gHlAlwgcRBjEIASvCJVA9DxJcQFwnVyAeEQ/CBwcxBhMAAAADAAD/6gHBAcAACwAjAD8AAAEyNjU0LwEHBhUUFhcnBwYiLwEHBiMiJxUUFjMhMjY9AQYjIjcjNSMVIyIGHQEUFjI/ARcWMj8BFxYyNj0BNCYBABIZByQkBxl0FxcVPhUXFxYeFxMNCAFWCA0TFx4IayprGyUZIwsuLQwkCy4uCyMZJQFAGRIMCj8/CgwSGdUXFxUVFxcWDWIJDAwJYg2rKyslGyERGQwuLgsLLi4MGREhGyUAAAAABAAA/+oBwQGWACAAJAAoACwAABM1MzU0NjsBFTcXNTMyFhURFAYjISImPQEjNTM1IzUzNRcjFTM9ASMVEzUjFUArGRGANjUVERoaEf8AEBorKysrKioqKioqASsqFhEZlSAglRoQ/qoQGhoQFipWKlZWKoAqKv8AKioAAAIAAP/VAZYBqwADABMAACUjETM1IyIGFREUFjsBMjY1ETQmAWvW1tYRGRkR1hEZGSsBKlYZEv6AEhkZEgGAEhkAAAAABAAA/+MBxgGrAAkAEwArADcAAAEHFycHNyc/AR8BBxcnBzcnPwEXBzYeAQcGBw4BLgI2NzY3Nh4BBwYeAhcuAycOAR4CNgF7NhM4OBM2RBcXjiMNJCUNIywPDgQIEQUFCwwpbm5SHBwpDQ4IFA0BBB9FWgwuV0QmAh4TGD9UVgFpKkEnJ0EqAkBAlhorGRkrGgEqKmoBDhMIEAspHR1Sbm4pDQoFBhAJLlpFICYCJkRWLiFVVD8YEwAAAAADAAAAAAHfAYAAAwAJAA8AAAEXAyc3JzUXBzUlNxUHFxUBEypQKt9NiYn+zYlNTQGACf6JCbdNPImJPUyJPE1MPQAAAAMAAP/VAcEBqwADABMAHAAAISMRMzUjIgYVERQWOwEyNjURNCYnISIGFREzESEBlerq6hIZGRLqEhkZUv8AERkqAQABKyoZEf7VEhkZEgErERlWGRL+1QErAAAADwAA/8ACAQHBAAMABwAfACMAJwArAC8AMwA3AD0AQQBKAFMAXABlAAATMxUjJRUjNRUzNSM1MxUzNTMVIxUzFSMVIzUjFSM1MzcVMzUFNTMVAxUzNTMVMzUFFTM1JzMVIzczFSM1IzczFSMnFSM1NDY7ARUlMhYdASM1IzUBFTMVIyImPQEFNTMVFAYrATVVgIABVoAqKiorKysrKytAKkAqK/7VgFUrqiv/ACtWKytrVSorKyoqwCsZElUBVRIZK1X+q1VVEhkB1SsZElUBa4CAgIDrKyoqKiorQCsrK1YVQEBrgIABKysrKyvVKytqKipVK5VVqlVVEhkrKxkSVVUr/oBVKxkSVVVVVRIZKwAKAAD/6gIBAZYAAwAHAAsADwATABcAIAApADIAOwAAEzMRIxMzESMTMxEjEzMRIxMzESMTMxEjARUjNTQ2OwEVJTIWHQEjNSM1ARUzFSMiJj0BBTUzFRQGKwE1VSsrQBYWK0BAVRYWQCsrQBYW/pYrGRJVAVUSGStV/qtVVRIZAdUrGRJVAUD/AAEA/wABAP8AAQD/AAEA/wABAP8AAStWVhEZKioZEVZWKv7WVioZEVZWVlYRGSoAAwAA/+oBwQGrAA8AFgAuAAAlIi4CNTMUFjI2NTMUDgEnMhYVIzQ2FyM0LgEiDgEVIyIGFREUFjMhMjY1ETQmAQAVJx4RKyU2JSsdMR0bJYAlsCodMToxHSoSGRkSASoSGRmrEB4nFRomJhodMRzVJRsbJUAdMR0dMR0ZEv8AERkZEQEAEhkAAAQAAP/qAcABqwAXAB4AIgAxAAABIzQuASIOARUjIgYVERQWMyEyNjURNCYnMhYVIzQ2EyERIQciJjUjFB4BMj4BNSMUBgGVKh0xOjEdKhIZGRIBKhIZGacbJYAlsP7WASqVGyUrHTE6MR0rJQFAHTEdHTEdGRL/ABEZGREBABIZQCUbGyX+lQEAVSUbHTEdHTEdGyUAAAAABgAAAAACAQGBAA8AEwAXABsAKgAzAAATITIWFREUBiMhIiY1ETQ2BRUzNQcVMzUHFTM1BSIHBgcGHQEhNTQnJicmJyIGFBYyNjQmKwGqERoaEf5WERoaARGqqqqqlf7rGBwhFBcBABgUIB0XGyUlNSYmAYAaEf7WERoaEQEqERpAFRUrFRUqFhZUBwkOEBQVFRQQDgkHqSU2JSU2JQAAAAcAAAAAAgABgAAPABMAIQAqAC4AMgA2AAABIQ4BBxEeARchPgE3ES4BAyERIQM1NCcmJyYiBwYHBh0BNyIGFBYyNjQmMxUzNQcVMzUHFTM1AdX+VhIYAQEYEgGqEhgBARgS/lYBqqoUERsXKBcbERRrFh8fLB8fVYCAgIBVAYABGBL+1hIYAQEYEgEqEhj+rAEq/wAbEA4LBgYGBgsOEBvWICwfHywgFhYrFRUrFRUAAQAA/+oBgAGWAA8AACU1MzUjFTMVBxUzFTM1MzUBVRbWFitvIm/AqyoqqysqgIAqAAAAAAIAAP/qAasBlgALABYAABM3AQcnFSM1IzU3NR8BFSMnNSM1MxUjKxsBZRt/Im8rqisE0RbWFgFQG/6bG35+gCorEBArKtEvKioAAAACAAD/6gGAAZYADwAVAAAlNTM1IxUzFQcVMxUzNTM1Izc1MxUXAVUW1hYrbyJvxBlWGcCrKiqrKyqAgCoavLwaAAAAAAMAAP/qAasBlgAOABoAHQAAEzUjNTMVIxUXFSMnNSMVEwcnFSM1IzU3NSc3FzMnqxbWFisEUVbWHH4ibyuAG3YmEwE8LyoqqysqUa9a/vUbfn6AKisPgBzWFAAABQAAAAACAAGBAB8APgBHAFAAWQAAEzMVIxUUBiMyFh0BMxUjJicmPQE0JisBNTMyNj0BNDYhMhYdARQWOwEVIyIGHQEUBisBNTM1NDYzIiY9ASM1AzIWFAYiJjQ2IzIWFAYiJjQ2MzIWFAYiJjQ2ayoqGRISGSoqEwsNGRIVFRIZGQE8EhkZEhUVEhkZEioqGRISGSprCQwMEgwMTAkMDBINDbMJDQ0SDAwBgCtqEhkZEmorBQoLEVUSGSoZElUSGRkSVRIZKhkSVRIZK2oSGRkSaiv/AAwSDQ0SDAwSDQ0SDAwSDQ0SDAAAAAADAAAAAAHrAWAACAATAB0AAAEyFhQGIiY0NjcyFhcOASImJz4BBx4BMjY3LgEiBgEAGyUlNiUlG0+AHByAnoAcHIBtGmZ4ZhoaZnhmAQAlNiUlNiVgWUdHWVlHR1mgNj8/NjY/PwAAAAMAAAAAAesBYQAIABUAIAAAASIGFBYyNjQmByIuATQ+ATIeARQOAQMiBgceATI2Ny4BAQAbJSU2JSUbHTEdHTE6MR0dMR1PgBwcgJ6AHByAAQAlNiUlNiWrHTE6MR0dMToxHQELWUdHWVlHR1kAAAADAAD/1QHrAYEAAwAbACIAACURMxEDMhYdARQPAScmPQE3IyImPQE0PwE+ATMXIwcVMwc3AZVWqxIZDYwXCRWHEhkDQQUVDcDBP7sYXYABAP8AAQAZEtUSDI0XCQ4GYhkRKwgIlgwOK5UrcV0AAAAAAgAA/9UB6wGBAAMAHAAAJTMRKwIiBg8BBh0BFBY7AQcUFRQfATc2PQE0JgGVVlZVwA0VBUEDGRKHFQkXjA0ZgAEADgyWCAgrERliAwMOCReNDBLVEhkAAAMAAAAAAesBqwADABsAIgAAExEjERMiJj0BND8BFxYdAQczMhYdARQPAQ4BIyczNzUjNwdrVqsSGQ2MFwkVhxIZA0EFFQ3AwT+8GV0BAP8AAQD/ABkS1RIMjRcJDQdiGRErCAiWDA4rlStxXQAAAAACAAAAAAHrAasAGAAcAAAlNCYrATc0NTQvAQcGHQEUFjsBMjY/ATY1BTMRIwHrGRKHFQkXjA0ZEsANFQVBA/4qVlbrERliAwQNCReNDBLVEhkODJYICMABAAAAAAMAAP/qAasBqwAIACIAKwAAJTI2NCYiBhQWNzIWHQEUBiMhIiY9ATQ2OwE1ND4BMh4BHQEnIgYdATM1NCYBABIZGSQZGZISGRkS/wASGRkSFR0xOjEdaxslgCVVGSQZGSQZwBkR1hEZGRHWERkrHTEdHTEdK2slGysrGyUAAAAABAAA/+oBqwGrAAgADAAmAC8AACUiJjQ2MhYUBhc1IRUBMhYdARQGIyEiJj0BNDY7ATU0PgEyHgEdASciBh0BMzU0JgEAEhkZJBkZbv8AAQASGRkS/wASGRkSFR0xOjEdaxslgCVVGSQZGSQZQNbWAQAZEdYRGRkR1hEZKx0xHR0xHStrJRsrKxslAAACAAAAAAHWAWsABQAVAAABByc1Fzc1ISIGFREUFjMhMjY1ETQmAaurq6ur/qoRGRkRAVYRGRkBFWpqK2trKxkS/wASGRkSAQASGQAAAwAAAAAB1gFrAA8AEgAXAAABNCYjISIGFREUFjMhMjY1AwcnASE1FzcB1RkR/qoRGRkRAVYRGSqrqwFW/qqrqwFAEhkZEv8AEhkZEgEAa2v/ANVqagAAAAEAAAAAAeABawAvAAABBgc2NwYHJiMiBhUUFy4BJwYUFhciJxUUFhcGIyInHgEXBiMiJxYzMjc2NzY1JzYB3xgcHQsbHxspJTYDOGMiDBYSFRQqHwsNCAkJLx0xQAsLQExQPjkgHgEbAUALBBIhEAYdNiYKCwMzKhUxKAwLASEyBwMCHCMBJwEpKSQ+Oz4MEwAAAAAAABAAxgABAAAAAAABAAwAAAABAAAAAAACAAcADAABAAAAAAADAAwAEwABAAAAAAAEAAwAHwABAAAAAAAFAAsAKwABAAAAAAAGAAwANgABAAAAAAAKACsAQgABAAAAAAALABMAbQADAAEECQABABgAgAADAAEECQACAA4AmAADAAEECQADABgApgADAAEECQAEABgAvgADAAEECQAFABYA1gADAAEECQAGABgA7AADAAEECQAKAFYBBAADAAEECQALACYBWnZhcmxldC1pY29uc1JlZ3VsYXJ2YXJsZXQtaWNvbnN2YXJsZXQtaWNvbnNWZXJzaW9uIDEuMHZhcmxldC1pY29uc0dlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHYAYQByAGwAZQB0AC0AaQBjAG8AbgBzAFIAZQBnAHUAbABhAHIAdgBhAHIAbABlAHQALQBpAGMAbwBuAHMAdgBhAHIAbABlAHQALQBpAGMAbwBuAHMAVgBlAHIAcwBpAG8AbgAgADEALgAwAHYAYQByAGwAZQB0AC0AaQBjAG8AbgBzAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAIAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfgECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERARIBEwEUARUBFgEXARgBGQEaARsBHAEdAR4BHwEgASEBIgEjASQBJQEmAScBKAEpASoBKwEsAS0BLgEvATABMQEyATMBNAE1ATYBNwE4ATkBOgE7ATwBPQE+AT8BQAFBAUIBQwFEAUUBRgFHAUgBSQFKAUsBTAFNAU4BTwFQAVEBUgFTAVQBVQFWAVcBWAFZAVoBWwFcAV0BXgFfAWABYQFiAWMBZAFlAWYBZwFoAWkBagFrAWwBbQFuAW8BcAFxAXIBcwF0AXUBdgF3AXgBeQF6AXsBfAF9AX4BfwAWY2hlY2tib3gtbWFya2VkLWNpcmNsZRRjaGVjay1jaXJjbGUtb3V0bGluZQtpbmZvcm1hdGlvbhNpbmZvcm1hdGlvbi1vdXRsaW5lB3dhcm5pbmcNYWxlcnQtb3V0bGluZQVlcnJvchRhbGVydC1jaXJjbGUtb3V0bGluZQ9jaGVja2JveC1tYXJrZWQXY2hlY2tib3gtbWFya2VkLW91dGxpbmUWY2hlY2tib3gtYmxhbmstb3V0bGluZQxyYWRpby1tYXJrZWQeY2hlY2tib3gtbWFya2VkLWNpcmNsZS1vdXRsaW5lC3JhZGlvLWJsYW5rDGNsb3NlLWNpcmNsZRRjbG9zZS1jaXJjbGUtb3V0bGluZQljbG9zZS1ib3gRY2xvc2UtYm94LW91dGxpbmUMbWludXMtY2lyY2xlFG1pbnVzLWNpcmNsZS1vdXRsaW5lBHN0YXIOc3Rhci1oYWxmLWZ1bGwMc3Rhci1vdXRsaW5lBWhlYXJ0D2hlYXJ0LWhhbGYtZnVsbA1oZWFydC1vdXRsaW5lBmRlbGV0ZQl0cmFzaC1jYW4RdHJhc2gtY2FuLW91dGxpbmUJbWludXMtYm94EW1pbnVzLWJveC1vdXRsaW5lDmFjY291bnQtY2lyY2xlFmFjY291bnQtY2lyY2xlLW91dGxpbmUDY29nC2NvZy1vdXRsaW5lEW1hcC1tYXJrZXItcmFkaXVzGW1hcC1tYXJrZXItcmFkaXVzLW91dGxpbmUGY2FtZXJhDmNhbWVyYS1vdXRsaW5lBGNhcnQMY2FydC1vdXRsaW5lBXBob25lDXBob25lLW91dGxpbmUFaW1hZ2UNaW1hZ2Utb3V0bGluZQRiZWxsDGJlbGwtb3V0bGluZQRob21lDGhvbWUtb3V0bGluZQptYXAtbWFya2VyEm1hcC1tYXJrZXItb3V0bGluZQxtYWduaWZ5LXBsdXMUbWFnbmlmeS1wbHVzLW91dGxpbmUNbWFnbmlmeS1taW51cxVtYWduaWZ5LW1pbnVzLW91dGxpbmULcGxheS1jaXJjbGUTcGxheS1jaXJjbGUtb3V0bGluZQtoZWxwLWNpcmNsZRNoZWxwLWNpcmNsZS1vdXRsaW5lC3BsdXMtY2lyY2xlE3BsdXMtY2lyY2xlLW91dGxpbmUFY2hlY2sMd2luZG93LWNsb3NlBHBsdXMFbWludXMKY2hldnJvbi11cAxjaGV2cm9uLWRvd24MY2hldnJvbi1sZWZ0DWNoZXZyb24tcmlnaHQHbWVudS11cAltZW51LWRvd24JbWVudS1sZWZ0Cm1lbnUtcmlnaHQGdXBsb2FkCGRvd25sb2FkFGZvcm1hdC1saXN0LWNoZWNrYm94BG1lbnUJbWVudS1vcGVuDWRvdHMtdmVydGljYWwUbWVzc2FnZS10ZXh0LW91dGxpbmUabWVzc2FnZS1wcm9jZXNzaW5nLW91dGxpbmUTd2hpdGUtYmFsYW5jZS1zdW5ueQ53ZWF0aGVyLWNsb3VkeRF3ZWF0aGVyLWxpZ2h0bmluZw93ZWF0aGVyLXBvdXJpbmcNd2VhdGhlci1zbm93eQ13ZWF0aGVyLXJhaW55CXRyYW5zbGF0ZQdtYWduaWZ5BmdpdGh1YgdyZWZyZXNoCmFycm93LWRvd24FcG93ZXIVZmlsZS1kb2N1bWVudC1vdXRsaW5lBGZpcmUEd2lmaQZ3cmVuY2gMY2FrZS12YXJpYW50CG5vdGVib29rCWNlbGxwaG9uZQ13ZWF0aGVyLW5pZ2h0A3htbAxjb250ZW50LWNvcHkLcXJjb2RlLXNjYW4MYmFyY29kZS1zY2FuCHNob3BwaW5nEHNob3BwaW5nLW91dGxpbmUUY2FyZC1hY2NvdW50LWRldGFpbHMcY2FyZC1hY2NvdW50LWRldGFpbHMtb3V0bGluZQNwaW4HcGluLW9mZgtwaW4tb3V0bGluZQ9waW4tb2ZmLW91dGxpbmUJY29kZS1qc29uDHZpZXctb3V0bGluZQR2aWV3EnRodW1iLWRvd24tb3V0bGluZQp0aHVtYi1kb3duEHRodW1iLXVwLW91dGxpbmUIdGh1bWItdXAEbG9jawxsb2NrLW91dGxpbmUFZW1haWwNZW1haWwtb3V0bGluZQd0d2l0dGVyAAAAAAA=) format("truetype");font-weight:400;font-style:normal}.var-icon--set{font-family:varlet-icons}.var-icon-checkbox-marked-circle:before{content:""}.var-icon-check-circle-outline:before{content:""}.var-icon-information:before{content:""}.var-icon-information-outline:before{content:""}.var-icon-warning:before{content:""}.var-icon-alert-outline:before{content:""}.var-icon-error:before{content:""}.var-icon-alert-circle-outline:before{content:""}.var-icon-checkbox-marked:before{content:""}.var-icon-checkbox-marked-outline:before{content:""}.var-icon-checkbox-blank-outline:before{content:""}.var-icon-radio-marked:before{content:""}.var-icon-checkbox-marked-circle-outline:before{content:""}.var-icon-radio-blank:before{content:""}.var-icon-close-circle:before{content:""}.var-icon-close-circle-outline:before{content:""}.var-icon-close-box:before{content:""}.var-icon-close-box-outline:before{content:""}.var-icon-minus-circle:before{content:""}.var-icon-minus-circle-outline:before{content:""}.var-icon-star:before{content:""}.var-icon-star-half-full:before{content:""}.var-icon-star-outline:before{content:""}.var-icon-heart:before{content:""}.var-icon-heart-half-full:before{content:""}.var-icon-heart-outline:before{content:""}.var-icon-delete:before{content:""}.var-icon-trash-can:before{content:""}.var-icon-trash-can-outline:before{content:""}.var-icon-minus-box:before{content:""}.var-icon-minus-box-outline:before{content:""}.var-icon-account-circle:before{content:""}.var-icon-account-circle-outline:before{content:""}.var-icon-cog:before{content:""}.var-icon-cog-outline:before{content:""}.var-icon-map-marker-radius:before{content:""}.var-icon-map-marker-radius-outline:before{content:""}.var-icon-camera:before{content:""}.var-icon-camera-outline:before{content:""}.var-icon-cart:before{content:""}.var-icon-cart-outline:before{content:""}.var-icon-phone:before{content:""}.var-icon-phone-outline:before{content:""}.var-icon-image:before{content:""}.var-icon-image-outline:before{content:""}.var-icon-bell:before{content:""}.var-icon-bell-outline:before{content:""}.var-icon-home:before{content:""}.var-icon-home-outline:before{content:""}.var-icon-map-marker:before{content:""}.var-icon-map-marker-outline:before{content:""}.var-icon-magnify-plus:before{content:""}.var-icon-magnify-plus-outline:before{content:""}.var-icon-magnify-minus:before{content:""}.var-icon-magnify-minus-outline:before{content:""}.var-icon-play-circle:before{content:""}.var-icon-play-circle-outline:before{content:""}.var-icon-help-circle:before{content:""}.var-icon-help-circle-outline:before{content:""}.var-icon-plus-circle:before{content:""}.var-icon-plus-circle-outline:before{content:""}.var-icon-check:before{content:""}.var-icon-window-close:before{content:""}.var-icon-plus:before{content:""}.var-icon-minus:before{content:""}.var-icon-chevron-up:before{content:""}.var-icon-chevron-down:before{content:""}.var-icon-chevron-left:before{content:""}.var-icon-chevron-right:before{content:""}.var-icon-menu-up:before{content:""}.var-icon-menu-down:before{content:""}.var-icon-menu-left:before{content:""}.var-icon-menu-right:before{content:""}.var-icon-upload:before{content:""}.var-icon-download:before{content:""}.var-icon-format-list-checkbox:before{content:""}.var-icon-menu:before{content:""}.var-icon-menu-open:before{content:""}.var-icon-dots-vertical:before{content:""}.var-icon-message-text-outline:before{content:""}.var-icon-message-processing-outline:before{content:""}.var-icon-white-balance-sunny:before{content:""}.var-icon-weather-cloudy:before{content:""}.var-icon-weather-lightning:before{content:""}.var-icon-weather-pouring:before{content:""}.var-icon-weather-snowy:before{content:""}.var-icon-weather-rainy:before{content:""}.var-icon-translate:before{content:""}.var-icon-magnify:before{content:""}.var-icon-github:before{content:""}.var-icon-refresh:before{content:""}.var-icon-arrow-down:before{content:""}.var-icon-power:before{content:""}.var-icon-file-document-outline:before{content:""}.var-icon-fire:before{content:""}.var-icon-wifi:before{content:""}.var-icon-wrench:before{content:""}.var-icon-cake-variant:before{content:""}.var-icon-notebook:before{content:""}.var-icon-cellphone:before{content:""}.var-icon-weather-night:before{content:""}.var-icon-xml:before{content:""}.var-icon-content-copy:before{content:""}.var-icon-qrcode-scan:before{content:""}.var-icon-barcode-scan:before{content:""}.var-icon-shopping:before{content:""}.var-icon-shopping-outline:before{content:""}.var-icon-card-account-details:before{content:""}.var-icon-card-account-details-outline:before{content:""}.var-icon-pin:before{content:""}.var-icon-pin-off:before{content:""}.var-icon-pin-outline:before{content:""}.var-icon-pin-off-outline:before{content:""}.var-icon-code-json:before{content:""}.var-icon-view-outline:before{content:""}.var-icon-view:before{content:""}.var-icon-thumb-down-outline:before{content:""}.var-icon-thumb-down:before{content:""}.var-icon-thumb-up-outline:before{content:""}.var-icon-thumb-up:before{content:""}.var-icon-lock:before{content:""}.var-icon-lock-outline:before{content:""}.var-icon-email:before{content:""}.var-icon-email-outline:before{content:""}.var-icon-twitter:before{content:""}:root{--icon-size: 20px}.var-icon{position:relative;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;color:inherit;font-size:var(--icon-size)}.var-icon:before{position:relative;display:inline-block;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:400;font-style:normal;line-height:1}.var-icon--shrinking{transform:scale(0);transition-property:transform}.var-icon__image{width:var(--icon-size);height:var(--icon-size);object-fit:cover}:root{--ripple-cubic-bezier: cubic-bezier(.68, .01, .62, .6);--ripple-color: currentColor}.var-ripple{position:absolute;transition:transform .2s var(--ripple-cubic-bezier),opacity .14s linear;top:0;left:0;border-radius:50%;opacity:0;will-change:transform,opacity;pointer-events:none;z-index:100;background-color:var(--ripple-color)}:root{--popup-content-background-color: #fff;--popup-overlay-background-color: rgba(0, 0, 0, .6)}.var-fade-enter-from,.var-fade-leave-to{opacity:0}.var-fade-enter-active,.var-fade-leave-active{transition:opacity .25s}.var-pop-center-enter-from,.var-pop-center-leave-to{transform:scale(.3)}.var-pop-center-enter-active,.var-pop-center-leave-active{transition:all .25s}.var-pop-bottom-enter-from,.var-pop-bottom-leave-to{transform:translateY(100%)}.var-pop-bottom-enter-active,.var-pop-bottom-leave-active{transition:all .25s}.var-pop-top-enter-from,.var-pop-top-leave-to{transform:translateY(-100%)}.var-pop-top-enter-active,.var-pop-top-leave-active{transition:all .25s}.var-pop-left-enter-from,.var-pop-left-leave-to{transform:translate(-100%)}.var-pop-left-enter-active,.var-pop-left-leave-active{transition:all .25s}.var-pop-right-enter-from,.var-pop-right-leave-to{transform:translate(100%)}.var-pop-right-enter-active,.var-pop-right-leave-active{transition:all .25s}.var-popup{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.var-popup__overlay{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--popup-overlay-background-color);transition:all .25s}.var-popup__content{overflow:auto;transition:all .25s}.var-popup--content-background-color{background-color:var(--popup-content-background-color)}.var-popup--center{position:relative}.var-popup--bottom{width:100%;position:absolute;left:0;bottom:0}.var-popup--top{width:100%;position:absolute;left:0;top:0}.var-popup--left{height:100%;position:absolute;left:0;top:0}.var-popup--right{height:100%;position:absolute;right:0;top:0}.var-popup--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.var-popup--safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}:root{--action-sheet-border-radius: 2px;--action-sheet-border-top: none;--action-sheet-title-color: #888;--action-sheet-title-padding: 10px 16px;--action-sheet-title-font-size: 14px;--action-sheet-action-item-height: 48px;--action-sheet-action-item-padding: 0 18px;--action-sheet-action-item-color: #333;--action-sheet-action-item-disabled-color: var(--color-text-disabled);--action-sheet-icon-margin: 0 20px 0 0;--action-sheet-icon-size: 24px;--action-sheet-background: #fff}.var-action-sheet{padding:10px 0;background:var(--action-sheet-background);transition:background-color .25s}.var-action-sheet__popup-radius{border-radius:var(--action-sheet-border-radius);border-top:var(--action-sheet-border-top)}.var-action-sheet__title{padding:var(--action-sheet-title-padding);color:var(--action-sheet-title-color);font-size:var(--action-sheet-title-font-size)}.var-action-sheet__action-item{display:flex;align-items:center;height:var(--action-sheet-action-item-height);padding:var(--action-sheet-action-item-padding);color:var(--action-sheet-action-item-color);cursor:pointer}.var-action-sheet__action-name{overflow:auto;max-height:var(--action-sheet-action-item-height)}.var-action-sheet__action-icon[var-action-sheet-cover]{margin:var(--action-sheet-icon-margin);width:var(--action-sheet-icon-size);height:var(--action-sheet-icon-size);font-size:var(--action-sheet-icon-size)}.var-action-sheet--disabled{color:var(--action-sheet-action-item-disabled-color)!important;cursor:not-allowed}.var-elevation--0{box-shadow:0 0 0 0 var(--shadow-key-umbra-opacity),0 0 0 0 var(--shadow-key-penumbra-opacity),0 0 0 0 var(--shadow-key-ambient-opacity)}.var-elevation--1{box-shadow:0 2px 1px -1px var(--shadow-key-umbra-opacity),0 1px 1px 0 var(--shadow-key-penumbra-opacity),0 1px 3px 0 var(--shadow-key-ambient-opacity)}.var-elevation--2{box-shadow:0 3px 1px -2px var(--shadow-key-umbra-opacity),0 2px 2px 0 var(--shadow-key-penumbra-opacity),0 1px 5px 0 var(--shadow-key-ambient-opacity)}.var-elevation--3{box-shadow:0 3px 3px -2px var(--shadow-key-umbra-opacity),0 3px 4px 0 var(--shadow-key-penumbra-opacity),0 1px 8px 0 var(--shadow-key-ambient-opacity)}.var-elevation--4{box-shadow:0 2px 4px -1px var(--shadow-key-umbra-opacity),0 4px 5px 0 var(--shadow-key-penumbra-opacity),0 1px 10px 0 var(--shadow-key-ambient-opacity)}.var-elevation--5{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-elevation--6{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 6px 10px 0 var(--shadow-key-penumbra-opacity),0 1px 18px 0 var(--shadow-key-ambient-opacity)}.var-elevation--7{box-shadow:0 4px 5px -2px var(--shadow-key-umbra-opacity),0 7px 10px 1px var(--shadow-key-penumbra-opacity),0 2px 16px 1px var(--shadow-key-ambient-opacity)}.var-elevation--8{box-shadow:0 5px 5px -3px var(--shadow-key-umbra-opacity),0 8px 10px 1px var(--shadow-key-penumbra-opacity),0 3px 14px 2px var(--shadow-key-ambient-opacity)}.var-elevation--9{box-shadow:0 5px 6px -3px var(--shadow-key-umbra-opacity),0 9px 12px 1px var(--shadow-key-penumbra-opacity),0 3px 16px 2px var(--shadow-key-ambient-opacity)}.var-elevation--10{box-shadow:0 6px 6px -3px var(--shadow-key-umbra-opacity),0 10px 14px 1px var(--shadow-key-penumbra-opacity),0 4px 18px 3px var(--shadow-key-ambient-opacity)}.var-elevation--11{box-shadow:0 6px 7px -4px var(--shadow-key-umbra-opacity),0 11px 15px 1px var(--shadow-key-penumbra-opacity),0 4px 20px 3px var(--shadow-key-ambient-opacity)}.var-elevation--12{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 12px 17px 2px var(--shadow-key-penumbra-opacity),0 5px 22px 4px var(--shadow-key-ambient-opacity)}.var-elevation--13{box-shadow:0 7px 8px -4px var(--shadow-key-umbra-opacity),0 13px 19px 2px var(--shadow-key-penumbra-opacity),0 5px 24px 4px var(--shadow-key-ambient-opacity)}.var-elevation--14{box-shadow:0 7px 9px -4px var(--shadow-key-umbra-opacity),0 14px 21px 2px var(--shadow-key-penumbra-opacity),0 5px 26px 4px var(--shadow-key-ambient-opacity)}.var-elevation--15{box-shadow:0 8px 9px -5px var(--shadow-key-umbra-opacity),0 15px 22px 2px var(--shadow-key-penumbra-opacity),0 6px 28px 5px var(--shadow-key-ambient-opacity)}.var-elevation--16{box-shadow:0 8px 10px -5px var(--shadow-key-umbra-opacity),0 16px 24px 2px var(--shadow-key-penumbra-opacity),0 6px 30px 5px var(--shadow-key-ambient-opacity)}.var-elevation--17{box-shadow:0 8px 11px -5px var(--shadow-key-umbra-opacity),0 17px 26px 2px var(--shadow-key-penumbra-opacity),0 6px 32px 5px var(--shadow-key-ambient-opacity)}.var-elevation--18{box-shadow:0 9px 11px -5px var(--shadow-key-umbra-opacity),0 18px 28px 2px var(--shadow-key-penumbra-opacity),0 7px 34px 6px var(--shadow-key-ambient-opacity)}.var-elevation--19{box-shadow:0 9px 12px -6px var(--shadow-key-umbra-opacity),0 19px 29px 2px var(--shadow-key-penumbra-opacity),0 7px 36px 6px var(--shadow-key-ambient-opacity)}.var-elevation--20{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 20px 31px 3px var(--shadow-key-penumbra-opacity),0 8px 38px 7px var(--shadow-key-ambient-opacity)}.var-elevation--21{box-shadow:0 10px 13px -6px var(--shadow-key-umbra-opacity),0 21px 33px 3px var(--shadow-key-penumbra-opacity),0 8px 40px 7px var(--shadow-key-ambient-opacity)}.var-elevation--22{box-shadow:0 10px 14px -6px var(--shadow-key-umbra-opacity),0 22px 35px 3px var(--shadow-key-penumbra-opacity),0 8px 42px 7px var(--shadow-key-ambient-opacity)}.var-elevation--23{box-shadow:0 11px 14px -7px var(--shadow-key-umbra-opacity),0 23px 36px 3px var(--shadow-key-penumbra-opacity),0 9px 44px 8px var(--shadow-key-ambient-opacity)}.var-elevation--24{box-shadow:0 11px 15px -7px var(--shadow-key-umbra-opacity),0 24px 38px 3px var(--shadow-key-penumbra-opacity),0 9px 46px 8px var(--shadow-key-ambient-opacity)}:root{--app-bar-color: var(--color-primary);--app-bar-title-padding: 0 12px;--app-bar-title-font-size: var(--font-size-lg);--app-bar-text-color: #fff;--app-bar-height: 54px;--app-bar-left-gap: 6px;--app-bar-right-gap: 6px;--app-bar-border-radius: 4px;--app-bar-font-size: var(--font-size-lg)}.var-app-bar{position:relative;width:100%;font-size:var(--app-bar-font-size);background:var(--app-bar-color);color:var(--app-bar-text-color);transition:background-color .25s}.var-app-bar__toolbar{position:relative;display:flex;justify-content:center;align-items:center;height:var(--app-bar-height)}.var-app-bar__title{font-size:var(--app-bar-title-font-size);flex:1;display:flex;justify-content:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:var(--app-bar-title-padding)}.var-app-bar__left,.var-app-bar__right{display:flex;align-items:center;height:100%}.var-app-bar__left{position:absolute;top:0;left:var(--app-bar-left-gap)}.var-app-bar__right{position:absolute;top:0;right:var(--app-bar-right-gap)}.var-app-bar--round{border-radius:var(--app-bar-border-radius)}.var-app-bar--safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);box-sizing:content-box!important}:root{--avatar-text-color: #f5f5f5;--avatar-border-radius: 4px;--avatar-mini-size: 28px;--avatar-small-size: 36px;--avatar-normal-size: 48px;--avatar-large-size: 64px;--avatar-border: 2px solid #fff;--avatar-background-color: #bebebe;--avatar-hover-transform: scale(1.1)}.var-avatar{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;color:var(--avatar-text-color);border-radius:var(--avatar-border-radius);background-color:var(--avatar-background-color);transition:background-color .25s}.var-avatar img{width:100%;height:100%}.var-avatar--mini{width:var(--avatar-mini-size);height:var(--avatar-mini-size)}.var-avatar--small{width:var(--avatar-small-size);height:var(--avatar-small-size)}.var-avatar--normal{width:var(--avatar-normal-size);height:var(--avatar-normal-size)}.var-avatar--large{width:var(--avatar-large-size);height:var(--avatar-large-size)}.var-avatar--round{border-radius:50%}.var-avatar--bordered{border:var(--avatar-border)}.var-avatar__text{padding:0 4px;white-space:nowrap}.var-avatar--hoverable{transition:transform .2s}.var-avatar--hoverable:hover{transform:var(--avatar-hover-transform);cursor:pointer}:root{--avatar-group-offset: -10px}.var-avatar-group{display:inline-flex;flex-wrap:wrap}.var-avatar-group--row{margin-left:calc(var(--avatar-group-offset) * -1)}.var-avatar-group--row .var-avatar{margin-left:var(--avatar-group-offset)}.var-avatar-group--column{flex-direction:column;margin-top:calc(var(--avatar-group-offset) * -1)}.var-avatar-group--column .var-avatar{margin-top:var(--avatar-group-offset)}:root{--button-default-color: #f5f5f5;--button-default-text-color: #555;--button-primary-color: var(--color-primary);--button-danger-color: var(--color-danger);--button-success-color: var(--color-success);--button-warning-color: var(--color-warning);--button-info-color: var(--color-info);--button-disabled-color: var(--color-disabled);--button-disabled-text-color: var(--color-text-disabled);--button-border-radius: 4px;--button-mini-padding: 0 9px;--button-small-padding: 0 11px;--button-normal-padding: 0 15px;--button-large-padding: 0 22px;--button-round-padding: 6px;--button-mini-height: 20px;--button-small-height: 28px;--button-normal-height: 36px;--button-large-height: 44px;--button-mini-font-size: var(--font-size-xs);--button-small-font-size: var(--font-size-sm);--button-normal-font-size: var(--font-size-md);--button-large-font-size: var(--font-size-lg)}.var-button{position:relative;justify-content:center;align-items:center;outline:none;border:none;border-radius:var(--button-border-radius);user-select:none;cursor:pointer;font-family:inherit;transition:box-shadow .2s,background-color .25s;will-change:box-shadow;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap}.var-button:active{box-shadow:0 3px 5px -1px var(--shadow-key-umbra-opacity),0 5px 8px 0 var(--shadow-key-penumbra-opacity),0 1px 14px 0 var(--shadow-key-ambient-opacity)}.var-button__content{display:flex;align-items:center;flex-wrap:wrap}.var-button__loading[var-button-cover]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.var-button--default{color:var(--button-default-text-color);background-color:var(--button-default-color)}.var-button--primary{color:#fff;background-color:var(--button-primary-color)}.var-button--info{color:#fff;background-color:var(--button-info-color)}.var-button--success{color:#fff;background-color:var(--button-success-color)}.var-button--warning{color:#fff;background-color:var(--button-warning-color)}.var-button--danger{color:#fff;background-color:var(--button-danger-color)}.var-button--disabled{background-color:var(--button-disabled-color);color:var(--button-disabled-text-color);cursor:not-allowed;box-shadow:none!important}.var-button--block{width:100%}.var-button--text{background-color:transparent}.var-button--text:active{box-shadow:none}.var-button--text-default{color:inherit}.var-button--text-primary{color:var(--button-primary-color)}.var-button--text-info{color:var(--button-info-color)}.var-button--text-success{color:var(--button-success-color)}.var-button--text-warning{color:var(--button-warning-color)}.var-button--text-danger{color:var(--button-danger-color)}.var-button--text-disabled{color:var(--button-disabled-text-color)}.var-button--normal{height:var(--button-normal-height);padding:var(--button-normal-padding);font-size:var(--button-normal-font-size)}.var-button--large{height:var(--button-large-height);padding:var(--button-large-padding);font-size:var(--button-large-font-size)}.var-button--small{height:var(--button-small-height);padding:var(--button-small-padding);font-size:var(--button-small-font-size)}.var-button--mini{height:var(--button-mini-height);padding:var(--button-mini-padding);font-size:var(--button-mini-font-size)}.var-button--round{padding:var(--button-round-padding);border-radius:50%;height:auto}.var-button--outline{border:thin solid currentColor}.var-button--hidden{opacity:0}:root{--back-top-right: 40px;--back-top-bottom: 40px;--back-top-button-size: 40px}.var-back-top{position:fixed;z-index:100;right:var(--back-top-right);bottom:var(--back-top-bottom);transform:scale(0);transition:.3s var(--cubic-bezier);-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-back-top .var-button[var-back-top-cover]{width:var(--back-top-button-size);height:var(--back-top-button-size)}.var-back-top--active{transform:scale(1)}:root{--badge-content-padding: 2px 6px;--badge-content-border: none;--badge-content-border-radius: 100px;--badge-icon-size: 12px;--badge-default-color: #e0e0e0;--badge-primary-color: var(--color-primary);--badge-danger-color: var(--color-danger);--badge-success-color: var(--color-success);--badge-warning-color: var(--color-warning);--badge-info-color: var(--color-info)}.var-badge{display:inline-block;position:relative;transition:background-color .25s}.var-badge__content{display:inline-block;vertical-align:middle;text-align:center;padding:var(--badge-content-padding);border:var(--badge-content-border);border-radius:var(--badge-content-border-radius);color:#fff;font-size:12px}.var-badge__icon[var-badge-cover]{font-size:var(--badge-icon-size)}.var-badge--icon{padding:2px 4px}.var-badge--dot{box-sizing:content-box;width:8px;height:8px;border-radius:8px;padding:0}.var-badge--default{background:var(--badge-default-color)}.var-badge--primary{background:var(--badge-primary-color)}.var-badge--info{background:var(--badge-info-color)}.var-badge--warning{background:var(--badge-warning-color)}.var-badge--success{background:var(--badge-success-color)}.var-badge--danger{background:var(--badge-danger-color)}.var-badge--right-top{position:absolute;top:0;right:0;transform:translateY(-50%) translate(50%)}.var-badge--left-top{position:absolute;top:0;left:0;transform:translateY(-50%) translate(-50%)}.var-badge--right-bottom{position:absolute;bottom:0;right:0;transform:translateY(50%) translate(50%)}.var-badge--left-bottom{position:absolute;bottom:0;left:0;transform:translateY(50%) translate(-50%)}.var-badge-fade-enter-active,.var-badge-fade-leave-active{transition:opacity .15s var(--cubic-bezier)}.var-badge-fade-enter-from,.var-badge-fade-leave-to{opacity:0}:root{--loading-opacity: .38;--loading-desc-margin: 8px 0 0}.var-loading{--loading-normal-width: 50px;--loading-normal-height: calc(var(--font-size-md) + 2px);--loading-large-width: 64px;--loading-large-height: calc(var(--font-size-lg) + 2px);--loading-small-width: 36px;--loading-small-height: calc(var(--font-size-sm) + 2px);--loading-mini-width: 22px;--loading-mini-height: calc(var(--font-size-xs) + 2px);position:relative}.var-loading__content{position:relative;transition:opacity .3s;opacity:1}.var-loading__content--active{opacity:var(--loading-opacity)}.var-loading__content-mask{position:absolute;left:0;right:0;top:0;bottom:0}.var-loading__body{display:flex;justify-content:center;align-items:center;height:100%;flex-direction:column}.var-loading__inside{position:absolute;left:50%;top:0;transform:translate(-50%);max-height:50vh;z-index:1}.var-loading__description{color:var(--color-primary);margin:var(--loading-desc-margin)}.var-loading__description--large{font-size:var(--font-size-lg)}.var-loading__description--normal{font-size:var(--font-size-md)}.var-loading__description--small{font-size:var(--font-size-sm)}.var-loading__description--mini{font-size:var(--font-size-xs)}.var-loading__circle{display:flex}.var-loading__circle-block{display:inline-block;color:var(--color-primary);animation:circle 1.8s linear infinite}.var-loading__circle-block--large{width:36px;height:36px}.var-loading__circle-block--normal{width:30px;height:30px}.var-loading__circle-block--small{width:24px;height:24px}.var-loading__circle-block--mini{width:18px;height:18px}.var-loading__circle-block svg{display:block;width:100%;height:100%}.var-loading__circle-block svg circle{animation:circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.var-loading__wave{--loading-wave-size-item-width: 5px;--loading-wave-size-item-margin: 5px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.var-loading__wave--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__wave--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__wave--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__wave--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__wave-item{height:100%;display:inline-block;animation:1.2s ease-in-out infinite wave;background-color:var(--color-primary)}.var-loading__wave-item:nth-child(1){animation-delay:-1.2s;margin-left:0}.var-loading__wave-item:nth-child(2){animation-delay:-1.1s}.var-loading__wave-item:nth-child(3){animation-delay:-1s}.var-loading__wave-item:nth-child(4){animation-delay:-.9s}.var-loading__wave-item:nth-child(5){animation-delay:-.8s}.var-loading__wave-item--large{width:var(--loading-wave-size-item-width);margin-left:var(--loading-wave-size-item-margin)}.var-loading__wave-item--normal{width:calc(var(--loading-wave-size-item-width) - 1px);margin-left:calc(var(--loading-wave-size-item-margin) - 1px)}.var-loading__wave-item--small{width:calc(var(--loading-wave-size-item-width) - 2px);margin-left:calc(var(--loading-wave-size-item-margin) - 2px)}.var-loading__wave-item--mini{width:calc(var(--loading-wave-size-item-width) - 3px);margin-left:calc(var(--loading-wave-size-item-margin) - 3px)}@keyframes wave{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.var-loading__cube{--loading-cube-size-item-width: 10px;--loading-cube-size-item-height: 10px;--loading-cube-size-item-margin: 5px;display:flex;align-items:center;flex-shrink:0}.var-loading__cube--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__cube--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__cube--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__cube--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__cube-item{display:inline-block;transform-origin:right bottom;animation:1.5s ease infinite cube;background-color:var(--color-primary)}.var-loading__cube-item:nth-child(1){animation-delay:.2s;margin-left:0}.var-loading__cube-item:nth-child(2){animation-delay:.4s}.var-loading__cube-item:nth-child(3){animation-delay:.6s}.var-loading__cube-item:nth-child(4){animation-delay:.8s}.var-loading__cube-item--large{height:var(--loading-cube-size-item-height);width:var(--loading-cube-size-item-width);margin-left:var(--loading-cube-size-item-margin)}.var-loading__cube-item--normal{height:calc(var(--loading-cube-size-item-height) - 2px);width:calc(var(--loading-cube-size-item-width) - 2px);margin-left:calc(var(--loading-cube-size-item-margin) - 1px)}.var-loading__cube-item--small{height:calc(var(--loading-cube-size-item-height) - 4px);width:calc(var(--loading-cube-size-item-width) - 4px);margin-left:calc(var(--loading-cube-size-item-margin) - 2px)}.var-loading__cube-item--mini{height:calc(var(--loading-cube-size-item-height) - 6px);width:calc(var(--loading-cube-size-item-width) - 6px);margin-left:calc(var(--loading-cube-size-item-margin) - 3px)}@keyframes cube{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:rotate(90deg) scale(.3)}}.var-loading__rect{--loading-rect-size-item-width: 8px;--loading-rect-size-item-height: 100%;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;flex-shrink:0}.var-loading__rect--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__rect--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__rect--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__rect--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__rect-item{animation:2s ease-in-out infinite rect;background-color:var(--color-primary)}.var-loading__rect-item:nth-child(1){animation-delay:1.75s}.var-loading__rect-item:nth-child(2){animation-delay:1.5s}.var-loading__rect-item:nth-child(3){animation-delay:1.25s}.var-loading__rect-item:nth-child(4){animation-delay:1s}.var-loading__rect-item:nth-child(5){animation-delay:.75s}.var-loading__rect-item:nth-child(6){animation-delay:.5s}.var-loading__rect-item:nth-child(7){animation-delay:.25s}.var-loading__rect-item:nth-child(8){animation-delay:0s}.var-loading__rect-item--large{height:var(--loading-rect-size-item-height);width:var(--loading-rect-size-item-width)}.var-loading__rect-item--normal{height:calc(var(--loading-rect-size-item-height) * .9);width:calc(var(--loading-rect-size-item-width) * .8)}.var-loading__rect-item--small{height:calc(var(--loading-rect-size-item-height) * .8);width:calc(var(--loading-rect-size-item-width) * .6)}.var-loading__rect-item--mini{height:calc(var(--loading-rect-size-item-height) * .7);width:calc(var(--loading-rect-size-item-width) * .4)}@keyframes rect{0%{opacity:.3}25%{opacity:1}50%{opacity:.3}65%{opacity:1}to{opacity:.3}}.var-loading__disappear{--loading-disappear-size-item-width: 15px;--loading-disappear-size-item-height: 15px;display:flex;justify-content:space-around;align-items:center;flex-flow:nowrap;flex-shrink:0}.var-loading__disappear--large{width:var(--loading-large-width);height:var(--loading-large-height)}.var-loading__disappear--normal{width:var(--loading-normal-width);height:var(--loading-normal-height)}.var-loading__disappear--small{width:var(--loading-small-width);height:var(--loading-small-height)}.var-loading__disappear--mini{width:var(--loading-mini-width);height:var(--loading-mini-height)}.var-loading__disappear-item{border-radius:50%;animation:.5s ease-in-out infinite alternate disappear;background-color:var(--color-primary)}.var-loading__disappear-item:nth-child(1){animation-delay:-.4s}.var-loading__disappear-item:nth-child(2){animation-delay:-.2s}.var-loading__disappear-item:nth-child(3){animation-delay:0s}.var-loading__disappear-item--large{height:var(--loading-disappear-size-item-height);width:var(--loading-disappear-size-item-width)}.var-loading__disappear-item--normal{height:calc(var(--loading-disappear-size-item-height) * .8);width:calc(var(--loading-disappear-size-item-width) * .8)}.var-loading__disappear-item--small{height:calc(var(--loading-disappear-size-item-height) * .6);width:calc(var(--loading-disappear-size-item-width) * .6)}.var-loading__disappear-item--mini{height:calc(var(--loading-disappear-size-item-height) * .4);width:calc(var(--loading-disappear-size-item-width) * .4)}@keyframes disappear{0%{opacity:1}to{opacity:0}}:root{--bottom-navigation-height: 50px;--bottom-navigation-z-index: 1;--bottom-navigation-background-color: #fff;--bottom-navigation-border-color: #e3e3e3;--bottom-navigation-fab-offset: 4px}.var-bottom-navigation{width:100%;height:var(--bottom-navigation-height);display:flex;position:relative;background-color:var(--bottom-navigation-background-color);transition:background-color .25s,border-color .25s;-webkit-tap-highlight-color:transparent}.var-bottom-navigation--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box!important}.var-bottom-navigation--fixed{position:fixed;left:0;bottom:0}.var-bottom-navigation--border{border-top:1px solid var(--bottom-navigation-border-color)}.var-bottom-navigation__fab[var-bottom-navigation__fab]{width:var(--bottom-navigation-height);height:var(--bottom-navigation-height);position:absolute;z-index:2;transform:translateY(-50%);overflow:hidden;transition:right .25s cubic-bezier(.4,0,.2,1) 0ms}.var-bottom-navigation--fab-center{right:calc(50% - var(--bottom-navigation-height) / 2)}.var-bottom-navigation--fab-right{right:var(--bottom-navigation-fab-offset)}:root{--bottom-navigation-item-font-size: var(--font-size-sm);--bottom-navigation-item-inactive-color: #646566;--bottom-navigation-item-active-color: var(--color-primary);--bottom-navigation-item-active-background-color: #fff;--bottom-navigation-item-line-height: 1;--bottom-navigation-item-icon-size: 22px;--bottom-navigation-item-icon-margin-bottom: 5px}.var-bottom-navigation-item{height:100%;padding:6px 12px 8px;position:relative;display:inline-flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center;line-height:var(--bottom-navigation-item-line-height);color:var(--bottom-navigation-item-inactive-color);cursor:pointer;user-select:none;vertical-align:middle;appearance:none;text-decoration:none;background-color:transparent;outline:0;border:0;transition:color .25s,margin .25s}.var-bottom-navigation-item--active{color:var(--bottom-navigation-item-active-color);background-color:var(--bottom-navigation-item-active-background-color);transition:background-color .25s}.var-bottom-navigation-item--active .var-bottom-navigation-item__label{font-size:calc(var(--bottom-navigation-item-font-size) * 1.16)}.var-bottom-navigation-item--right-half-space{margin-right:calc(var(--bottom-navigation-height) / 2)}.var-bottom-navigation-item--left-half-space{margin-left:calc(var(--bottom-navigation-height) / 2)}.var-bottom-navigation-item--right-space{margin-right:calc(var(--bottom-navigation-height) + var(--bottom-navigation-fab-offset))}.var-bottom-navigation-item__icon[var-bottom-navigation-item-cover]{font-size:var(--bottom-navigation-item-icon-size)}.var-bottom-navigation-item__badge[var-bottom-navigation-item-cover]{position:absolute;left:4px;transform:translateY(-22px)}.var-bottom-navigation-item__label{margin-top:var(--bottom-navigation-item-icon-margin-bottom);font-size:var(--bottom-navigation-item-font-size);transition:font-size .2s ease .1s;white-space:nowrap}:root{--breadcrumb-active-color: var(--color-primary);--breadcrumb-inactive-color: #888;--breadcrumb-separator-margin: 0 10px;--breadcrumb-separator-font-size: 14px}.var-breadcrumb{display:flex;align-items:center;color:var(--breadcrumb-inactive-color)}.var-breadcrumb__separator{margin:var(--breadcrumb-separator-margin);font-size:var(--breadcrumb-separator-font-size)}.var-breadcrumb--active{color:var(--breadcrumb-active-color);transition:opacity .25s}.var-breadcrumb--active:hover{opacity:.7;cursor:pointer}.var-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center}.var-hover-overlay{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;background-color:currentColor;opacity:0;transition:opacity .15s;will-change:opacity;pointer-events:none}.var-hover-overlay--hovering{opacity:.15}.var-button-group{display:inline-flex;border-radius:var(--button-border-radius);max-width:100%;overflow:auto}.var-button-group .var-button:active{box-shadow:none}.var-button-group--horizontal .var-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.var-button-group--horizontal .var-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.var-button-group--horizontal .var-button:not(:first-child):not(:last-child){border-radius:0}.var-button-group--horizontal.var-button-group--mode-text .var-button{border-right:thin solid currentColor}.var-button-group--horizontal.var-button-group--mode-text .var-button:last-child{border:none}.var-button-group--horizontal.var-button-group--mode-outline .var-button:not(:first-child){border-left:none}.var-button-group--vertical{flex-direction:column}.var-button-group--vertical .var-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.var-button-group--vertical .var-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.var-button-group--vertical .var-button:not(:first-child):not(:last-child){border-radius:0}.var-button-group--vertical.var-button-group--mode-text .var-button{border-bottom:thin solid currentColor}.var-button-group--vertical.var-button-group--mode-text .var-button:last-child{border:none}.var-button-group--vertical.var-button-group--mode-outline .var-button:not(:first-child){border-top:none}:root{--card-padding: 0 0 15px 0;--card-background: #fff;--card-outline-color: rgba(0, 0, 0, .12);--card-border-radius: 4px;--card-image-width: 100%;--card-row-image-width: 140px;--card-image-height: 200px;--card-row-height: 140px;--card-title-color: #333;--card-title-font-size: 20px;--card-title-padding: 0 12px;--card-title-margin: 15px 0 0 0;--card-title-row-margin: 12px 0;--card-subtitle-color: rgba(0, 0, 0, .6);--card-subtitle-font-size: 14px;--card-subtitle-padding: 0 12px;--card-subtitle-margin: 10px 0 0 0;--card-subtitle-row-margin: -8px 0 0 0;--card-description-color: rgba(0, 0, 0, .6);--card-description-font-size: 14px;--card-description-margin: 20px 0 0 0;--card-description-padding: 0 13px;--card-footer-padding: 0 12px;--card-footer-right: 13px;--card-footer-bottom: 9px;--card-footer-margin: 30px 0 0 0;--card-line-height: 22px;--card-row-line-height: 1.5;--card-floating-buttons-bottom: 16px;--card-floating-buttons-right: 16px;--card-floating-buttons-color: #fff;--card-close-button-icon-size: 24px;--card-close-button-size: 56px;--card-close-button-primary-color: #212121;--card-close-button-text-color: #fff}.var-card{border-radius:var(--card-border-radius);overflow:hidden;width:100%}.var-card--outline{border:thin solid var(--card-outline-color)}.var-card__floater{display:flex;flex-direction:column;position:static;line-height:var(--card-line-height);background:var(--card-background);transition:background-color .25s,color .25s;transition-timing-function:cubic-bezier(.45,.19,.06,.89)}.var-card__container{padding:var(--card-padding);flex-grow:1;min-width:0}.var-card--layout-row .var-card__floater{min-height:var(--card-row-height);height:100%;flex-direction:row;position:relative;line-height:var(--card-row-line-height)}.var-card__image{width:var(--card-image-width);height:var(--card-image-height);display:block}.var-card--layout-row .var-card__image{width:var(--card-row-image-width);height:auto;display:block;flex-shrink:0}.var-card__title{font-size:var(--card-title-font-size);padding:var(--card-title-padding);margin:var(--card-title-margin);color:var(--card-title-color);word-break:break-word}.var-card--layout-row .var-card__title{max-width:100%;overflow:hidden;margin:var(--card-title-row-margin);text-overflow:ellipsis;white-space:nowrap}.var-card__subtitle{font-size:var(--card-subtitle-font-size);color:var(--card-subtitle-color);padding:var(--card-subtitle-padding);margin:var(--card-subtitle-margin);word-break:break-word}.var-card--layout-row .var-card__subtitle{margin:var(--card-subtitle-row-margin);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.var-card__description{font-size:var(--card-description-font-size);color:var(--card-description-color);margin:var(--card-description-margin);padding:var(--card-description-padding);word-break:break-all}.var-card__footer{display:flex;justify-content:flex-end;padding:var(--card-footer-padding);margin:var(--card-footer-margin)}.var-card--layout-row .var-card__footer{position:absolute;padding:0;right:var(--card-footer-right);bottom:var(--card-footer-bottom)}.var-card__floating-content{overflow:hidden;transition-timing-function:cubic-bezier(.45,.19,.06,.89)}.var-card__floating-buttons{position:fixed;bottom:var(--card-floating-buttons-bottom);right:var(--card-floating-buttons-right);color:var(--card-floating-buttons-color)}.var-card__close-button[var-card-cover]{width:var(--card-close-button-size);height:var(--card-close-button-size);background-color:var(--card-close-button-primary-color);color:var(--card-close-button-text-color)}.var-card__close-button-icon[var-card-cover]{font-size:var(--card-close-button-icon-size)}:root{--cell-color: var(--color-text);--cell-font-size: var(--font-size-md);--cell-description-font-size: var(--font-size-sm);--cell-description-color: rgba(0, 0, 0, .6);--cell-description-margin-top: 4px;--cell-padding: 10px 12px;--cell-min-height: 40px;--cell-border-color: #bcc2cb;--cell-border-left: 12px;--cell-border-right: 12px;--cell-icon-right: 8px;--cell-extra-left: 8px}.var-cell{align-items:center;display:flex;min-height:var(--cell-min-height);outline:none;width:100%;padding:var(--cell-padding);position:relative;box-sizing:border-box;font-size:var(--cell-font-size);color:var(--cell-color)}.var-cell--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;bottom:0;right:var(--cell-border-right);left:var(--cell-border-left);border-bottom:1px solid var(--cell-border-color);transform:scaleY(.5)}.var-cell__icon{margin-right:var(--cell-icon-right);flex:0}.var-cell__content{flex:1;min-width:0}.var-cell__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.var-cell__description{font-size:var(--cell-description-font-size);color:var(--cell-description-color);margin-top:var(--cell-description-margin-top)}.var-cell__extra{flex:0;margin-left:var(--cell-extra-left)}.var-cell--cursor{cursor:pointer}:root{--form-details-error-message-color: var(--color-danger);--form-details-extra-message-color: #888;--form-details-margin-top: 6px;--form-details-font-size: 12px;--form-details-message-margin-right: 4px}.var-form-details{display:flex;justify-content:space-between;font-size:var(--form-details-font-size);margin-top:var(--form-details-margin-top)}.var-form-details-enter-from,.var-form-details-leave-to{opacity:0;margin-top:2px!important}.var-form-details-enter-active,.var-form-details-leave-active{transition:.2s all var(--cubic-bezier)}.var-form-details__message-enter-from,.var-form-details__message-leave-to{opacity:0}.var-form-details__message-enter-active,.var-form-details__message-leave-active{transition:.2s all var(--cubic-bezier)}.var-form-details__error-message{flex-grow:1;color:var(--form-details-error-message-color);margin-right:var(--form-details-message-margin-right);user-select:none;text-align:left}.var-form-details__extra-message{flex-shrink:0;color:var(--form-details-extra-message-color);user-select:none;text-align:right}:root{--checkbox-checked-color: var(--color-primary);--checkbox-unchecked-color: #555;--checkbox-disabled-color: var(--color-text-disabled);--checkbox-error-color: var(--color-danger);--checkbox-action-padding: 6px;--checkbox-text-color: #555;--checkbox-icon-size: 24px}.var-checkbox{display:flex;align-items:center;transform:translate(calc(-1 * var(--checkbox-action-padding)));cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-checkbox__wrap{display:inline-flex;flex-direction:column}.var-checkbox__action{position:relative;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:var(--checkbox-action-padding);border-radius:50%;transition:background-color .25s,color .25s}.var-checkbox__icon[var-checkbox-cover]{display:block;font-size:var(--checkbox-icon-size)}.var-checkbox__text{color:var(--checkbox-text-color)}.var-checkbox--with-animation{animation:var-vibrate-animation .25s}.var-checkbox--checked{color:var(--checkbox-checked-color)}.var-checkbox--unchecked{color:var(--checkbox-unchecked-color)}.var-checkbox--disabled{color:var(--checkbox-disabled-color);cursor:not-allowed}.var-checkbox--error{color:var(--checkbox-error-color)}.var-checkbox-group{display:flex;flex-wrap:wrap}.var-checkbox-group--horizontal{flex-direction:row}.var-checkbox-group--vertical{flex-direction:column}:root{--chip-default-text-color: #555;--chip-default-color: #e0e0e0;--chip-primary-color: var(--color-primary);--chip-danger-color: var(--color-danger);--chip-success-color: var(--color-success);--chip-warning-color: var(--color-warning);--chip-info-color: var(--color-info);--chip-border-radius: 2px;--chip-normal-height: 32px;--chip-large-height: 40px;--chip-small-height: 24px;--chip-mini-height: 16px;--chip-round-radius: 100px;--chip-normal-padding: 0 10px;--chip-large-padding: 0 17px;--chip-small-padding: 0 6px;--chip-mini-padding: 0 4px;--chip-text-normal-margin: 0 5px;--chip-text-large-margin: 0 5px;--chip-text-small-margin: 0 3px;--chip-text-mini-margin: 0 2px;--chip-mini-font-size: var(--font-size-xs);--chip-small-font-size: var(--font-size-sm);--chip-normal-font-size: var(--font-size-md);--chip-large-font-size: var(--font-size-lg)}.var-fade-leave-to{opacity:0}.var-fade-leave-active{transition:opacity .3s}.var-chip{justify-content:center;align-items:center;font-family:Roboto,sans-serif;border-radius:var(--chip-border-radius);cursor:default;border:thin solid transparent;vertical-align:middle;transition:background-color .25s}.var-chip--default{color:var(--chip-default-text-color);background:var(--chip-default-color)}.var-chip--primary{color:#fff;background-color:var(--chip-primary-color)}.var-chip--info{color:#fff;background-color:var(--chip-info-color)}.var-chip--success{color:#fff;background-color:var(--chip-success-color)}.var-chip--warning{color:#fff;background-color:var(--chip-warning-color)}.var-chip--danger{color:#fff;background-color:var(--chip-danger-color)}.var-chip__plain{background-color:transparent}.var-chip__plain:active{box-shadow:none}.var-chip__plain-default{color:inherit;border-color:currentColor}.var-chip__plain-primary{color:var(--chip-primary-color);border-color:currentColor}.var-chip__plain-info{color:var(--chip-info-color);border-color:currentColor}.var-chip__plain-success{color:var(--chip-success-color);border-color:currentColor}.var-chip__plain-warning{color:var(--chip-warning-color);border-color:currentColor}.var-chip__plain-danger{color:var(--chip-danger-color);border-color:currentColor}.var-chip--round{border-radius:var(--chip-round-radius)}.var-chip--normal{font-size:var(--chip-normal-font-size);padding:var(--chip-normal-padding);height:var(--chip-normal-height)}.var-chip--large{padding:var(--chip-large-padding);font-size:var(--chip-large-font-size);height:var(--chip-large-height)}.var-chip--small{padding:var(--chip-small-padding);font-size:var(--chip-small-font-size);height:var(--chip-small-height)}.var-chip--mini{padding:var(--chip-mini-padding);font-size:var(--chip-mini-font-size);height:var(--chip-mini-height)}.var-chip--close{cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-chip__text-large{margin:var(--chip-text-large-margin)}.var-chip__text-normal{margin:var(--chip-text-normal-margin)}.var-chip__text-small{margin:var(--chip-text-small-margin)}.var-chip__text-mini{margin:var(--chip-text-mini-margin)}.var-col{transition:all .25s;display:flex!important}.var-col--span-0{display:none!important}.var-col--span-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-1{margin-left:4.16666667%}.var-col--span-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-2{margin-left:8.33333333%}.var-col--span-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-3{margin-left:12.5%}.var-col--span-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-4{margin-left:16.66666667%}.var-col--span-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-5{margin-left:20.83333333%}.var-col--span-6{flex:0 0 25%;max-width:25%}.var-col--offset-6{margin-left:25%}.var-col--span-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-7{margin-left:29.16666667%}.var-col--span-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-8{margin-left:33.33333333%}.var-col--span-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-9{margin-left:37.5%}.var-col--span-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-10{margin-left:41.66666667%}.var-col--span-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-11{margin-left:45.83333333%}.var-col--span-12{flex:0 0 50%;max-width:50%}.var-col--offset-12{margin-left:50%}.var-col--span-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-13{margin-left:54.16666667%}.var-col--span-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-14{margin-left:58.33333333%}.var-col--span-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-15{margin-left:62.5%}.var-col--span-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-16{margin-left:66.66666667%}.var-col--span-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-17{margin-left:70.83333333%}.var-col--span-18{flex:0 0 75%;max-width:75%}.var-col--offset-18{margin-left:75%}.var-col--span-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-19{margin-left:79.16666667%}.var-col--span-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-20{margin-left:83.33333333%}.var-col--span-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-21{margin-left:87.5%}.var-col--span-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-22{margin-left:91.66666667%}.var-col--span-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-23{margin-left:95.83333333%}.var-col--span-24{flex:0 0 100%;max-width:100%}.var-col--offset-24{margin-left:100%}@media only screen and (max-width: 767px){.var-col--span-xs-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-xs-1{margin-left:4.16666667%}.var-col--span-xs-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-xs-2{margin-left:8.33333333%}.var-col--span-xs-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-xs-3{margin-left:12.5%}.var-col--span-xs-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-xs-4{margin-left:16.66666667%}.var-col--span-xs-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-xs-5{margin-left:20.83333333%}.var-col--span-xs-6{flex:0 0 25%;max-width:25%}.var-col--offset-xs-6{margin-left:25%}.var-col--span-xs-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-xs-7{margin-left:29.16666667%}.var-col--span-xs-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-xs-8{margin-left:33.33333333%}.var-col--span-xs-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-xs-9{margin-left:37.5%}.var-col--span-xs-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-xs-10{margin-left:41.66666667%}.var-col--span-xs-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-xs-11{margin-left:45.83333333%}.var-col--span-xs-12{flex:0 0 50%;max-width:50%}.var-col--offset-xs-12{margin-left:50%}.var-col--span-xs-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-xs-13{margin-left:54.16666667%}.var-col--span-xs-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-xs-14{margin-left:58.33333333%}.var-col--span-xs-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-xs-15{margin-left:62.5%}.var-col--span-xs-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-xs-16{margin-left:66.66666667%}.var-col--span-xs-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-xs-17{margin-left:70.83333333%}.var-col--span-xs-18{flex:0 0 75%;max-width:75%}.var-col--offset-xs-18{margin-left:75%}.var-col--span-xs-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-xs-19{margin-left:79.16666667%}.var-col--span-xs-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-xs-20{margin-left:83.33333333%}.var-col--span-xs-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-xs-21{margin-left:87.5%}.var-col--span-xs-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-xs-22{margin-left:91.66666667%}.var-col--span-xs-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-xs-23{margin-left:95.83333333%}.var-col--span-xs-24{flex:0 0 100%;max-width:100%}.var-col--offset-xs-24{margin-left:100%}.var-col--span-xs-0{display:none!important}}@media only screen and (min-width: 768px) and (max-width: 991px){.var-col--span-sm-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-sm-1{margin-left:4.16666667%}.var-col--span-sm-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-sm-2{margin-left:8.33333333%}.var-col--span-sm-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-sm-3{margin-left:12.5%}.var-col--span-sm-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-sm-4{margin-left:16.66666667%}.var-col--span-sm-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-sm-5{margin-left:20.83333333%}.var-col--span-sm-6{flex:0 0 25%;max-width:25%}.var-col--offset-sm-6{margin-left:25%}.var-col--span-sm-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-sm-7{margin-left:29.16666667%}.var-col--span-sm-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-sm-8{margin-left:33.33333333%}.var-col--span-sm-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-sm-9{margin-left:37.5%}.var-col--span-sm-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-sm-10{margin-left:41.66666667%}.var-col--span-sm-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-sm-11{margin-left:45.83333333%}.var-col--span-sm-12{flex:0 0 50%;max-width:50%}.var-col--offset-sm-12{margin-left:50%}.var-col--span-sm-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-sm-13{margin-left:54.16666667%}.var-col--span-sm-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-sm-14{margin-left:58.33333333%}.var-col--span-sm-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-sm-15{margin-left:62.5%}.var-col--span-sm-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-sm-16{margin-left:66.66666667%}.var-col--span-sm-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-sm-17{margin-left:70.83333333%}.var-col--span-sm-18{flex:0 0 75%;max-width:75%}.var-col--offset-sm-18{margin-left:75%}.var-col--span-sm-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-sm-19{margin-left:79.16666667%}.var-col--span-sm-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-sm-20{margin-left:83.33333333%}.var-col--span-sm-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-sm-21{margin-left:87.5%}.var-col--span-sm-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-sm-22{margin-left:91.66666667%}.var-col--span-sm-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-sm-23{margin-left:95.83333333%}.var-col--span-sm-24{flex:0 0 100%;max-width:100%}.var-col--offset-sm-24{margin-left:100%}.var-col--span-sm-0{display:none!important}}@media only screen and (min-width: 992px) and (max-width: 1199px){.var-col--span-md-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-md-1{margin-left:4.16666667%}.var-col--span-md-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-md-2{margin-left:8.33333333%}.var-col--span-md-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-md-3{margin-left:12.5%}.var-col--span-md-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-md-4{margin-left:16.66666667%}.var-col--span-md-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-md-5{margin-left:20.83333333%}.var-col--span-md-6{flex:0 0 25%;max-width:25%}.var-col--offset-md-6{margin-left:25%}.var-col--span-md-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-md-7{margin-left:29.16666667%}.var-col--span-md-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-md-8{margin-left:33.33333333%}.var-col--span-md-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-md-9{margin-left:37.5%}.var-col--span-md-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-md-10{margin-left:41.66666667%}.var-col--span-md-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-md-11{margin-left:45.83333333%}.var-col--span-md-12{flex:0 0 50%;max-width:50%}.var-col--offset-md-12{margin-left:50%}.var-col--span-md-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-md-13{margin-left:54.16666667%}.var-col--span-md-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-md-14{margin-left:58.33333333%}.var-col--span-md-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-md-15{margin-left:62.5%}.var-col--span-md-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-md-16{margin-left:66.66666667%}.var-col--span-md-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-md-17{margin-left:70.83333333%}.var-col--span-md-18{flex:0 0 75%;max-width:75%}.var-col--offset-md-18{margin-left:75%}.var-col--span-md-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-md-19{margin-left:79.16666667%}.var-col--span-md-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-md-20{margin-left:83.33333333%}.var-col--span-md-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-md-21{margin-left:87.5%}.var-col--span-md-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-md-22{margin-left:91.66666667%}.var-col--span-md-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-md-23{margin-left:95.83333333%}.var-col--span-md-24{flex:0 0 100%;max-width:100%}.var-col--offset-md-24{margin-left:100%}.var-col--span-md-0{display:none!important}}@media only screen and (min-width: 1200px) and (max-width: 1919px){.var-col--span-lg-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-lg-1{margin-left:4.16666667%}.var-col--span-lg-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-lg-2{margin-left:8.33333333%}.var-col--span-lg-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-lg-3{margin-left:12.5%}.var-col--span-lg-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-lg-4{margin-left:16.66666667%}.var-col--span-lg-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-lg-5{margin-left:20.83333333%}.var-col--span-lg-6{flex:0 0 25%;max-width:25%}.var-col--offset-lg-6{margin-left:25%}.var-col--span-lg-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-lg-7{margin-left:29.16666667%}.var-col--span-lg-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-lg-8{margin-left:33.33333333%}.var-col--span-lg-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-lg-9{margin-left:37.5%}.var-col--span-lg-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-lg-10{margin-left:41.66666667%}.var-col--span-lg-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-lg-11{margin-left:45.83333333%}.var-col--span-lg-12{flex:0 0 50%;max-width:50%}.var-col--offset-lg-12{margin-left:50%}.var-col--span-lg-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-lg-13{margin-left:54.16666667%}.var-col--span-lg-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-lg-14{margin-left:58.33333333%}.var-col--span-lg-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-lg-15{margin-left:62.5%}.var-col--span-lg-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-lg-16{margin-left:66.66666667%}.var-col--span-lg-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-lg-17{margin-left:70.83333333%}.var-col--span-lg-18{flex:0 0 75%;max-width:75%}.var-col--offset-lg-18{margin-left:75%}.var-col--span-lg-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-lg-19{margin-left:79.16666667%}.var-col--span-lg-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-lg-20{margin-left:83.33333333%}.var-col--span-lg-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-lg-21{margin-left:87.5%}.var-col--span-lg-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-lg-22{margin-left:91.66666667%}.var-col--span-lg-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-lg-23{margin-left:95.83333333%}.var-col--span-lg-24{flex:0 0 100%;max-width:100%}.var-col--offset-lg-24{margin-left:100%}.var-col--span-lg-0{display:none!important}}@media only screen and (min-width: 1920px){.var-col--span-xl-0{flex:0 0 0%;max-width:0%}.var-col--offset-xl-0{margin-left:0%}.var-col--span-xl-1{flex:0 0 4.16666667%;max-width:4.16666667%}.var-col--offset-xl-1{margin-left:4.16666667%}.var-col--span-xl-2{flex:0 0 8.33333333%;max-width:8.33333333%}.var-col--offset-xl-2{margin-left:8.33333333%}.var-col--span-xl-3{flex:0 0 12.5%;max-width:12.5%}.var-col--offset-xl-3{margin-left:12.5%}.var-col--span-xl-4{flex:0 0 16.66666667%;max-width:16.66666667%}.var-col--offset-xl-4{margin-left:16.66666667%}.var-col--span-xl-5{flex:0 0 20.83333333%;max-width:20.83333333%}.var-col--offset-xl-5{margin-left:20.83333333%}.var-col--span-xl-6{flex:0 0 25%;max-width:25%}.var-col--offset-xl-6{margin-left:25%}.var-col--span-xl-7{flex:0 0 29.16666667%;max-width:29.16666667%}.var-col--offset-xl-7{margin-left:29.16666667%}.var-col--span-xl-8{flex:0 0 33.33333333%;max-width:33.33333333%}.var-col--offset-xl-8{margin-left:33.33333333%}.var-col--span-xl-9{flex:0 0 37.5%;max-width:37.5%}.var-col--offset-xl-9{margin-left:37.5%}.var-col--span-xl-10{flex:0 0 41.66666667%;max-width:41.66666667%}.var-col--offset-xl-10{margin-left:41.66666667%}.var-col--span-xl-11{flex:0 0 45.83333333%;max-width:45.83333333%}.var-col--offset-xl-11{margin-left:45.83333333%}.var-col--span-xl-12{flex:0 0 50%;max-width:50%}.var-col--offset-xl-12{margin-left:50%}.var-col--span-xl-13{flex:0 0 54.16666667%;max-width:54.16666667%}.var-col--offset-xl-13{margin-left:54.16666667%}.var-col--span-xl-14{flex:0 0 58.33333333%;max-width:58.33333333%}.var-col--offset-xl-14{margin-left:58.33333333%}.var-col--span-xl-15{flex:0 0 62.5%;max-width:62.5%}.var-col--offset-xl-15{margin-left:62.5%}.var-col--span-xl-16{flex:0 0 66.66666667%;max-width:66.66666667%}.var-col--offset-xl-16{margin-left:66.66666667%}.var-col--span-xl-17{flex:0 0 70.83333333%;max-width:70.83333333%}.var-col--offset-xl-17{margin-left:70.83333333%}.var-col--span-xl-18{flex:0 0 75%;max-width:75%}.var-col--offset-xl-18{margin-left:75%}.var-col--span-xl-19{flex:0 0 79.16666667%;max-width:79.16666667%}.var-col--offset-xl-19{margin-left:79.16666667%}.var-col--span-xl-20{flex:0 0 83.33333333%;max-width:83.33333333%}.var-col--offset-xl-20{margin-left:83.33333333%}.var-col--span-xl-21{flex:0 0 87.5%;max-width:87.5%}.var-col--offset-xl-21{margin-left:87.5%}.var-col--span-xl-22{flex:0 0 91.66666667%;max-width:91.66666667%}.var-col--offset-xl-22{margin-left:91.66666667%}.var-col--span-xl-23{flex:0 0 95.83333333%;max-width:95.83333333%}.var-col--offset-xl-23{margin-left:95.83333333%}.var-col--span-xl-24{flex:0 0 100%;max-width:100%}.var-col--offset-xl-24{margin-left:100%}.var-col--span-xl-0{display:none!important}}.var-collapse{position:relative;width:100%;z-index:0}:root{--collapse-background: #fff;--collapse-text-color: #232222;--collapse-header-font-size: var(--font-size-lg);--collapse-header-padding: 10px 12px;--collapse-content-font-size: var(--font-size-md);--collapse-content-padding: 0 12px 10px;--collapse-item-margin-top: 16px;--collapse-disable-color: #bdbdbd;--collapse-border-top: thin solid rgba(0, 0, 0, .12)}.var-collapse-item{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;position:relative;margin-top:0;background:var(--collapse-background);color:var(--collapse-text-color);transition:margin-top .25s,background-color .25s}.var-collapse-item__shadow{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:-1}.var-collapse-item:not(:first-child):after{border-top:var(--collapse-divider-top);content:"";left:0;position:absolute;right:0;top:0}.var-collapse-item__header{align-items:center;display:flex;font-size:var(--collapse-header-font-size);outline:none;padding:var(--collapse-header-padding);justify-content:space-between;position:relative}.var-collapse-item__header-title{transition:color .25s}.var-collapse-item__header-icon{transform:rotate(0);opacity:1}.var-collapse-item__header-open{transform:rotate(-180deg)}.var-collapse-item__header--disable{opacity:0}.var-collapse-item__content{font-size:var(--collapse-content-font-size);overflow:hidden;transition:all .25s}.var-collapse-item__content-wrap{padding:var(--collapse-content-padding);word-break:break-all}.var-collapse-item--active+.var-collapse-item,.var-collapse-item--active:not(:first-child){margin-top:var(--collapse-item-margin-top)}.var-collapse-item--active+.var-collapse-item:after,.var-collapse-item--active:not(:first-child):after{border-top:none}.var-collapse-item--disable{color:var(--collapse-disable-color);cursor:not-allowed}:root{--countdown-text-color: #555}.var-countdown{color:var(--countdown-text-color)}:root{--counter-padding: 0 4px;--counter-font-color: #fff;--counter-background: var(--color-primary);--counter-input-width: 28px;--counter-input-margin: 0 4px;--counter-input-font-size: 14px;--counter-button-size: 28px;--counter-button-text-color: #fff;--counter-button-icon-size: 100%;--counter-disabled-color: var(--color-disabled);--counter-disabled-opacity: var(--opacity-disabled);--counter-error-color: var(--color-danger)}.var-counter{display:inline-flex;flex-direction:column;align-items:flex-start}.var-counter__controller{display:flex;align-items:center;color:var(--counter-font-color);border-radius:var(--counter-button-size);padding:var(--counter-padding);background:var(--counter-background);transition:color .25s,background-color .25s,opacity .25s}.var-counter__input{width:var(--counter-input-width);font-size:var(--counter-input-font-size);outline:none;border:none;background:transparent;padding:0;text-align:center;color:var(--counter-font-color);margin:var(--counter-input-margin)}.var-counter__input[disabled]{background:transparent}.var-counter__increment-button[var-counter-cover],.var-counter__decrement-button[var-counter-cover]{width:var(--counter-button-size);height:var(--counter-button-size);font-size:var(--counter-button-icon-size);color:var(--counter-button-text-color);border-radius:50%;padding:0;background-color:rgba(0,0,0,0);box-shadow:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none}.var-counter__increment-button[var-counter-cover]:active,.var-counter__decrement-button[var-counter-cover]:active{box-shadow:none}.var-counter--disabled{opacity:var(--counter-disabled-opacity);cursor:not-allowed}.var-counter--disabled .var-hover-overlay{opacity:0}.var-counter--not-allowed{cursor:not-allowed!important}.var-counter--hidden{opacity:0}.var-counter--error{background:var(--counter-error-color)}:root{--date-picker-border-radius: 4px;--date-picker-font-size: var(--font-size-md);--date-picker-min-width: 290px;--date-picker-height: 385px;--date-picker-main-color: rgba(0, 0, 0, .87);--date-picker-title-height: 105px;--date-picker-title-padding: 16px;--date-picker-title-background: var(--color-primary);--date-picker-title-color: #fff;--date-picker-title-year-font-size: var(--font-size-md);--date-picker-title-year-font-weight: 500;--date-picker-title-year-margin-bottom: 8px;--date-picker-title-date-height: 48px;--date-picker-title-date-font-size: 34px;--date-picker-title-date-font-weight: 500;--date-picker-title-date-range-font-size: 20px;--date-picker-body-background-color: #fff;--picker-header-padding: 4px 16px;--picker-header-color: #555;--month-picker-padding: 0 12px;--month-picker-item-width: 33%;--month-picker-item-height: 56px;--month-picker-item-button-max-width: 140px;--year-picker-font-weight: 400;--year-picker-item-padding: 8px 0;--year-picker-item-active-font-size: 26px;--year-picker-item-active-font-weight: 500;--year-picker-item-active-font-padding: 10px 0;--year-picker-item-active-color: var(--color-primary);--year-picker-item-color: #555;--day-picker-content-item-width: 14.28%;--day-picker-content-item-font-size: var(--font-size-sm);--day-picker-content-item-padding: 2px 0;--day-picker-content-item-button-width: 32px;--day-picker-content-item-button-height: 32px;--day-picker-content-item-button-font-size: var(--font-size-sm);--day-picker-head-item-color: rgba(0, 0, 0, .38);--day-picker-head-item-padding: 8px 0;--day-picker-head-item-font-weight: 600}.var-date-picker{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--date-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--date-picker-font-size);position:relative;min-width:var(--date-picker-min-width);height:var(--date-picker-height);overflow:hidden}.var-date-picker ul{list-style:none;margin:0;padding:0}.var-date-picker__title{min-height:var(--date-picker-title-height);padding:var(--date-picker-title-padding);color:var(--date-picker-title-color);background:var(--date-picker-title-background);display:flex;justify-content:space-between;flex-direction:column;flex-wrap:wrap}.var-date-picker__title-year{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;display:inline-flex;font-size:var(--date-picker-title-year-font-size);font-weight:var(--date-picker-title-year-font-weight);margin-bottom:var(--date-picker-title-year-margin-bottom);transition:.3s var(--cubic-bezier);justify-content:flex-end}.var-date-picker__title-year--active{opacity:1}.var-date-picker__title-date{height:var(--date-picker-title-date-height);overflow:hidden;font-size:var(--date-picker-title-date-font-size);text-align:left;font-weight:var(--date-picker-title-date-font-weight);position:relative;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);display:flex;align-items:center;opacity:.6;transition:.3s var(--cubic-bezier)}.var-date-picker__title-date--active{opacity:1}.var-date-picker__title-date--range{font-size:var(--date-picker-title-date-range-font-size)}.var-date-picker__body{flex:1;position:relative;overflow:auto;background-color:var(--date-picker-body-background-color)}.var-date-picker__body::-webkit-scrollbar{display:none;width:0;background:transparent}.var-date-picker .var-picker-header{padding:var(--picker-header-padding);align-items:center;display:flex;justify-content:space-between;position:relative;color:var(--picker-header-color)}.var-date-picker .var-picker-header__value{flex:1;text-align:center;position:relative;overflow:hidden;font-weight:700;cursor:pointer;user-select:none}.var-date-picker .var-picker-header__value div{width:100%}.var-date-picker .var-month-picker__content{padding:var(--month-picker-padding)}.var-date-picker .var-month-picker__content ul{display:flex;flex-wrap:wrap;justify-content:space-between}.var-date-picker .var-month-picker__content ul li{width:var(--month-picker-item-width);display:flex;height:var(--month-picker-item-height);align-items:center;justify-content:center}.var-date-picker .var-month-picker__button[var-month-picker-cover]{width:100%;max-width:var(--month-picker-item-button-max-width)}.var-date-picker .var-month-picker__button[var-date-picker-color-cover=true]{color:var(--date-picker-main-color)}.var-date-picker .var-month-picker__button--disabled{color:var(--color-text-disabled)!important;cursor:not-allowed}.var-date-picker .var-year-picker{width:100%;height:100%;font-weight:var(--year-picker-font-weight);padding:0;margin:0;list-style-type:none;overflow:auto;text-align:center}.var-date-picker .var-year-picker__item{padding:var(--year-picker-item-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--year-picker-item-color)}.var-date-picker .var-year-picker__item--active{font-size:var(--year-picker-item-active-font-size);font-weight:var(--year-picker-item-active-font-weight);padding:var(--year-picker-item-active-font-padding);color:var(--year-picker-item-active-color)}.var-date-picker .var-day-picker__content ul{display:flex;flex-wrap:wrap}.var-date-picker .var-day-picker__content ul li{position:relative;display:flex;justify-content:center;width:var(--day-picker-content-item-width);font-size:var(--day-picker-content-item-font-size);padding:var(--day-picker-content-item-padding)}.var-date-picker .var-day-picker__head li{color:var(--day-picker-head-item-color);padding:var(--day-picker-head-item-padding);font-weight:var(--day-picker-head-item-font-weight)}.var-date-picker .var-day-picker__button[var-day-picker-cover]{width:var(--day-picker-content-item-button-width);height:var(--day-picker-content-item-button-height);font-size:var(--day-picker-content-item-button-font-size)}.var-date-picker .var-day-picker__button:not(.var-day-picker__button--usable){cursor:unset}.var-date-picker .var-day-picker__button[var-date-picker-color-cover=true]{color:var(--date-picker-main-color)}.var-date-picker .var-day-picker__button--disabled{color:var(--color-text-disabled)!important;cursor:not-allowed}.var-date-picker-translatey-enter-from{opacity:0;transform:translateY(100%)}.var-date-picker-translatey-enter-active,.var-date-picker-reverse-translatey-enter-active{transition:.3s var(--cubic-bezier)}.var-date-picker-translatey-leave-active,.var-date-picker-reverse-translatey-leave-active{position:absolute;transition:.3s var(--cubic-bezier)}.var-date-picker-translatey-leave-to,.var-date-picker-reverse-translatey-enter-from{opacity:0;transform:translateY(-100%)}.var-date-picker-reverse-translatey-leave-to{opacity:0;transform:translateY(100%)}.var-date-picker-panel-fade-enter-from,.var-date-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-date-picker-panel-fade-leave-active{position:absolute}.var-date-picker-translatex-enter-from{opacity:0;transform:translate(100%)}.var-date-picker-reverse-translatex-enter-from{opacity:0;transform:translate(-100%)}.var-date-picker-translatex-enter-active,.var-date-picker-reverse-translatex-enter-active{transition:.3s var(--cubic-bezier)}.var-date-picker-translatex-leave-active,.var-date-picker-reverse-translatex-leave-active{position:absolute;transition:.3s var(--cubic-bezier)}.var-date-picker-translatex-leave-to{opacity:0;transform:translate(-100%)}.var-date-picker-reverse-translatex-leave-to{opacity:0;transform:translate(100%)}:root{--dialog-width: 280px;--dialog-border-radius: 3px;--dialog-title-padding: 20px 20px 0;--dialog-message-color: #888;--dialog-message-padding: 12px 20px;--dialog-message-line-height: 24px;--dialog-message-font-size: var(--font-size-md);--dialog-title-font-size: var(--font-size-lg);--dialog-actions-padding: 0 12px 12px;--dialog-button-margin-left: 6px;--dialog-title-color: #555;--dialog-confirm-button-color: var(--color-primary);--dialog-cancel-button-color: var(--color-primary);--dialog-background: #fff}.var-dialog{width:var(--dialog-width);border-radius:var(--dialog-border-radius);background:var(--dialog-background);transition:.25s background-color}.var-dialog__popup[var-dialog-cover]{background:transparent}.var-dialog__title{font-size:var(--dialog-title-font-size);font-weight:400;padding:var(--dialog-title-padding);color:var(--dialog-title-color)}.var-dialog__message{padding:var(--dialog-message-padding);color:var(--dialog-message-color);line-height:var(--dialog-message-line-height);font-size:var(--dialog-message-font-size);word-wrap:break-word}.var-dialog__actions{display:flex;justify-content:flex-end;padding:var(--dialog-actions-padding)}.var-dialog__button[var-dialog-cover]{margin-left:var(--dialog-button-margin-left);background-color:transparent;box-shadow:none}.var-dialog__button[var-dialog-cover]:active{box-shadow:none}.var-dialog__confirm-button[var-dialog-cover]{color:var(--dialog-confirm-button-color)}.var-dialog__cancel-button[var-dialog-cover]{color:var(--dialog-cancel-button-color)}:root{--divider-color: rgba(0, 0, 0, .12);--divider-text-color: #888;--divider-text-margin: 8px 0;--divider-text-padding: 0 8px;--divider-inset: 72px}.var-divider{position:relative;width:100%;height:0;border:none;border-top:1px solid var(--divider-color);margin:var(--divider-text-margin);font-size:var(--font-size-md);color:var(--divider-text-color)}.var-divider--vertical{width:0;height:auto;align-self:stretch;margin:0 var(--divider-text-margin);border-top:none;border-left:1px solid var(--divider-color)}.var-divider--inset{width:calc(100% - var(--divider-inset));left:var(--divider-inset)}.var-divider__text{display:inline-block;padding:var(--divider-text-padding)}.var-divider--with-text{background-color:transparent;height:fit-content;display:flex;align-items:center;justify-content:center;border:none}.var-divider--with-text:before,.var-divider--with-text:after{display:inline-block;content:"";flex:1;height:0;border-top:1px solid var(--divider-color)}.var-divider--dashed{border-top-style:dashed}.var-divider--dashed.var-divider--vertical{border-top:none;border-left-style:dashed}.var-divider--hairline{transform:scaleY(.5)}.var-divider--hairline.var-divider--with-text{transform:none}.var-divider--hairline.var-divider--with-text:before,.var-divider--hairline.var-divider--with-text:after{transform:scaleY(.5)}.var-divider--hairline.var-divider--vertical{transform:scaleX(.5)}.var-drag{position:fixed;display:inline-flex}.var-drag--transition{transition:transform .2s linear}:root{--tooltip-opacity: .9;--tooltip-border-radius: 4px;--tooltip-font-size: 14px;--tooltip-padding: 8px 16px;--tooltip-default-color: #616161;--tooltip-offset: 10px;--tooltip-primary-color: var(--color-primary);--tooltip-info-color: var(--color-info);--tooltip-success-color: var(--color-success);--tooltip-warning-color: var(--color-warning);--tooltip-danger-color: var(--color-danger)}.var-tooltip{display:inline-block}.var-tooltip-enter-from,.var-tooltip-leave-to{opacity:0;transform:scale(.8)}.var-tooltip-enter-active,.var-tooltip-leave-active{transition-property:opacity,transform;transition-duration:.2s}.var-tooltip__content-container{display:inline-block;text-align:center;border-radius:var(--tooltip-border-radius);font-size:var(--tooltip-font-size);padding:var(--tooltip-padding);opacity:var(--tooltip-opacity);transition:opacity .25s,background-color .25s}.var-tooltip--default{color:#fff;background:var(--tooltip-default-color)}.var-tooltip--primary{color:#fff;background-color:var(--tooltip-primary-color)}.var-tooltip--info{color:#fff;background-color:var(--tooltip-info-color)}.var-tooltip--success{color:#fff;background-color:var(--tooltip-success-color)}.var-tooltip--warning{color:#fff;background-color:var(--tooltip-warning-color)}.var-tooltip--danger{color:#fff;background-color:var(--tooltip-danger-color)}.var-tooltip__tooltip[data-popper-placement=top] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=top-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=top-end] .var-tooltip__content-container{transform:translateY(calc(-1 * var(--tooltip-offset)))}.var-tooltip__tooltip[data-popper-placement=bottom] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=bottom-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=bottom-end] .var-tooltip__content-container{transform:translateY(var(--tooltip-offset))}.var-tooltip__tooltip[data-popper-placement=right] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=right-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=right-end] .var-tooltip__content-container{transform:translate(var(--tooltip-offset))}.var-tooltip__tooltip[data-popper-placement=left] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=left-start] .var-tooltip__content-container,.var-tooltip__tooltip[data-popper-placement=left-end] .var-tooltip__content-container{transform:translate(calc(-1 * var(--tooltip-offset)))}.var-ellipsis{width:100%;overflow:hidden;vertical-align:bottom}.var-ellipsis--clamp{display:-webkit-inline-box;-webkit-box-orient:vertical}.var-ellipsis--line{display:inline-block;white-space:nowrap;text-overflow:ellipsis}.var-ellipsis--cursor{cursor:pointer}.var-ellipsis--expand{display:inline-block;white-space:wrap;overflow:visible}:root{--fab-top: 70px;--fab-bottom: 16px;--fab-left: 16px;--fab-right: 16px;--fab-trigger-size: 56px;--fab-trigger-inactive-icon-size: 26px;--fab-trigger-active-icon-size: 22px;--fab-actions-padding: 10px 0;--fab-action-margin: 6px;--fab-transition-standard-easing: cubic-bezier(.4, 0, .2, 1)}.var-fab-transition-default-enter-active,.var-fab-transition-default-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab__trigger[var-fab-cover]{width:var(--fab-trigger-size);height:var(--fab-trigger-size)}.var-fab__trigger-inactive-icon[var-fab-cover]{font-size:var(--fab-trigger-inactive-icon-size)}.var-fab__trigger-active-icon[var-fab-cover]{font-size:var(--fab-trigger-active-icon-size)}.var-fab__actions{position:absolute;display:flex;justify-content:center;align-items:center;padding:var(--fab-actions-padding)}.var-fab__action{margin:var(--fab-action-margin)}.var-fab--position-left-top{top:var(--fab-top);left:var(--fab-left)}.var-fab--position-right-top{top:var(--fab-top);right:var(--fab-right)}.var-fab--position-left-bottom{bottom:var(--fab-bottom);left:var(--fab-left)}.var-fab--position-right-bottom{bottom:var(--fab-bottom);right:var(--fab-right)}.var-fab--direction-left .var-fab__actions,.var-fab--direction-right .var-fab__actions{height:100%;top:0;padding:0 var(--fab-actions-padding)}.var-fab--direction-left .var-fab__actions{flex-direction:row-reverse;right:100%}.var-fab--direction-right .var-fab__actions{flex-direction:row;left:100%}.var-fab--direction-top .var-fab__actions,.var-fab--direction-bottom .var-fab__actions{width:100%;left:0}.var-fab--direction-top .var-fab__actions{flex-direction:column-reverse;bottom:100%}.var-fab--direction-bottom .var-fab__actions{flex-direction:column;top:100%}.var-fab--fixed{position:fixed}.var-fab--absolute{position:absolute}.var-fab--active-transition-enter-active,.var-fab--active-transition-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--active-transition-enter-from,.var-fab--active-transition-leave-to{transform:scale(0)}.var-fab--actions-transition-top-enter-active,.var-fab--actions-transition-top-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-top-enter-from,.var-fab--actions-transition-top-leave-to{opacity:0;transform:translateY(40px)}.var-fab--actions-transition-bottom-enter-active,.var-fab--actions-transition-bottom-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-bottom-enter-from,.var-fab--actions-transition-bottom-leave-to{opacity:0;transform:translateY(-40px)}.var-fab--actions-transition-left-enter-active,.var-fab--actions-transition-left-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-left-enter-from,.var-fab--actions-transition-left-leave-to{opacity:0;transform:translate(40px)}.var-fab--actions-transition-right-enter-active,.var-fab--actions-transition-right-leave-active{transition:.3s var(--fab-transition-standard-easing)!important}.var-fab--actions-transition-right-enter-from,.var-fab--actions-transition-right-leave-to{opacity:0;transform:translate(-40px)}.var-fab--trigger-icon-animation{transform:scale(.4);opacity:0;transition-property:transform,opacity}.var-fab--safe-area{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}:root{--field-decorator-text-color: #555;--field-decorator-error-color: var(--color-danger);--field-decorator-blur-color: #888;--field-decorator-focus-color: var(--color-primary);--field-decorator-placeholder-size: 16px;--field-decorator-icon-size: 20px;--field-decorator-line-size: 1px;--field-decorator-line-focus-size: 2px;--field-decorator-line-border-radius: 4px;--field-decorator-disabled-color: var(--color-text-disabled);--field-decorator-standard-normal-padding-top: 22px;--field-decorator-standard-normal-padding-bottom: 4px;--field-decorator-standard-normal-icon-padding: 22px 0 4px;--field-decorator-standard-normal-non-hint-padding-top: 4px;--field-decorator-standard-normal-placeholder-translate-y: var(--field-decorator-standard-normal-padding-top);--field-decorator-standard-small-padding-top: 18px;--field-decorator-standard-small-padding-bottom: 4px;--field-decorator-standard-small-icon-padding: 18px 0 4px;--field-decorator-standard-small-non-hint-padding-top: 2px;--field-decorator-standard-small-placeholder-translate-y: var(--field-decorator-standard-small-padding-top);--field-decorator-outlined-normal-padding-top: 16px;--field-decorator-outlined-normal-padding-bottom: 16px;--field-decorator-outlined-normal-padding-left: 16px;--field-decorator-outlined-normal-padding-right: 16px;--field-decorator-outlined-normal-placeholder-space: 4px;--field-decorator-outlined-normal-icon-padding: 16px 0 16px;--field-decorator-outlined-normal-placeholder-translate-y: var(--field-decorator-outlined-normal-padding-top);--field-decorator-outlined-small-padding-top: 8px;--field-decorator-outlined-small-padding-bottom: 8px;--field-decorator-outlined-small-padding-left: 12px;--field-decorator-outlined-small-padding-right: 12px;--field-decorator-outlined-small-placeholder-space: 2px;--field-decorator-outlined-small-icon-padding: 8px 0 8px;--field-decorator-outlined-small-placeholder-translate-y: var(--field-decorator-outlined-small-padding-top)}.var-field-decorator{position:relative;width:100%;color:var(--field-decorator-text-color)}.var-field-decorator__controller{width:100%;display:flex;align-items:stretch;position:relative}.var-field-decorator__middle{position:relative;flex-grow:1;display:flex;justify-content:center;align-items:center}.var-field-decorator__icon{display:flex;align-items:center;font-size:var(--field-decorator-icon-size)}.var-field-decorator__icon .var-icon{font-size:var(--field-decorator-icon-size)}.var-field-decorator__placeholder{position:absolute;top:0;left:0;font-size:var(--field-decorator-placeholder-size);line-height:1.5em;color:var(--field-decorator-placeholder-color, var(--field-decorator-blur-color));pointer-events:none;cursor:inherit;transform-origin:left;transition:transform .28s var(--cubic-bezier),color .25s,max-width .2s}.var-field-decorator__clear-icon[var-field-decorator-cover]{font-size:var(--field-decorator-icon-size);margin-left:6px;cursor:pointer}.var-field-decorator--placeholder-hidden{visibility:hidden}.var-field-decorator--focus{color:var(--field-decorator-focus-color)}.var-field-decorator--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-field-decorator--error{color:var(--field-decorator-error-color)}.var-field-decorator--standard .var-field-decorator__middle{padding:var(--field-decorator-standard-normal-padding-top) 0 var(--field-decorator-standard-normal-padding-bottom)}.var-field-decorator--standard .var-field-decorator__icon{padding:var(--field-decorator-standard-normal-icon-padding)}.var-field-decorator--standard .var-field-decorator__placeholder{max-width:100%;transform:translateY(var(--field-decorator-standard-normal-placeholder-translate-y))}.var-field-decorator--standard .var-field-decorator--placeholder-hint{max-width:133%;transform:translate(0) scale(.75)!important}.var-field-decorator--standard .var-field-decorator__line{width:100%;height:var(--field-decorator-line-size);background:var(--field-decorator-blur-color);transition:background-color .25s}.var-field-decorator--standard .var-field-decorator--line-disabled{background:var(--field-decorator-disabled-color)}.var-field-decorator--standard .var-field-decorator__dot{width:100%;height:var(--field-decorator-line-focus-size);background:var(--field-decorator-focus-color);transform:scaleX(0);transform-origin:center;transition:transform .3s var(--cubic-bezier),background-color .25s}.var-field-decorator--standard .var-field-decorator--middle-non-hint,.var-field-decorator--standard .var-field-decorator--icon-non-hint{padding-top:var(--field-decorator-standard-normal-non-hint-padding-top)}.var-field-decorator--standard .var-field-decorator--line-focus{transform:scaleX(1)}.var-field-decorator--standard .var-field-decorator--line-error{background:var(--field-decorator-error-color)}.var-field-decorator--outlined .var-field-decorator__controller{padding:0 var(--field-decorator-outlined-normal-padding-right) 0 var(--field-decorator-outlined-normal-padding-left)}.var-field-decorator--outlined .var-field-decorator__middle{padding:var(--field-decorator-outlined-normal-padding-top) 0 var(--field-decorator-outlined-normal-padding-bottom) 0}.var-field-decorator--outlined .var-field-decorator__icon{padding:var(--field-decorator-outlined-normal-icon-padding)}.var-field-decorator--outlined .var-field-decorator__placeholder{max-width:calc(100% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));transform:translate(var(--field-decorator-outlined-normal-padding-left),var(--field-decorator-outlined-normal-placeholder-translate-y)) scale(1)}.var-field-decorator--outlined .var-field-decorator--placeholder-hint{max-width:calc(133% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));transform:translate(calc(var(--field-decorator-outlined-normal-padding-left)),-50%) scale(.75)}.var-field-decorator--outlined .var-field-decorator__line{min-width:0;width:100%;height:calc(100% + (var(--field-decorator-placeholder-size) * .75 / 2));position:absolute;top:calc(var(--field-decorator-placeholder-size) * .75 / 2 * -1);left:0;pointer-events:none;border-radius:var(--field-decorator-line-border-radius);border:var(--field-decorator-line-size) solid var(--field-decorator-blur-color);overflow:hidden;padding:0 calc(var(--field-decorator-outlined-normal-padding-right) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-size)) 0 calc(var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-size));margin:0}.var-field-decorator--outlined .var-field-decorator__line-legend{max-width:0;height:calc(var(--field-decorator-placeholder-size) * .75);visibility:hidden;padding:0;overflow:hidden;display:block;white-space:nowrap}.var-field-decorator--outlined .var-field-decorator__line-legend--hint{max-width:100%}.var-field-decorator--outlined .var-field-decorator--line-focus{border-width:var(--field-decorator-line-focus-size);border-color:var(--field-decorator-focus-color);padding:0 calc(var(--field-decorator-outlined-normal-padding-right) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-focus-size)) 0 calc(var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-placeholder-space) - var(--field-decorator-line-focus-size))}.var-field-decorator--outlined .var-field-decorator--line-disabled{border-radius:var(--field-decorator-line-border-radius);border:var(--field-decorator-line-size) solid var(--field-decorator-disabled-color)}.var-field-decorator--outlined .var-field-decorator--line-error{border-color:var(--field-decorator-error-color)!important}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator__middle{padding:var(--field-decorator-standard-small-padding-top) 0 var(--field-decorator-standard-small-padding-bottom)}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator__placeholder{transform:translateY(var(--field-decorator-standard-small-placeholder-translate-y))}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator--middle-non-hint{max-width:calc(133% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right));padding-top:var(--field-decorator-standard-small-non-hint-padding-top)}.var-field-decorator--standard.var-field-decorator--small .var-field-decorator--icon-non-hint{padding-top:var(--field-decorator-standard-small-non-hint-padding-top)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__controller{padding:0 var(--field-decorator-outlined-small-padding-right) 0 var(--field-decorator-outlined-small-padding-left)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__middle{padding:var(--field-decorator-outlined-small-padding-top) 0 var(--field-decorator-outlined-small-padding-bottom) 0}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__icon{padding:var(--field-decorator-outlined-small-icon-padding)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__placeholder{max-width:calc(100% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right));transform:translate(var(--field-decorator-outlined-small-padding-left),var(--field-decorator-outlined-small-placeholder-translate-y)) scale(1)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator--placeholder-hint{transform:translate(calc(var(--field-decorator-outlined-small-padding-left)),-50%) scale(.75)}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator__line{padding:0 calc(var(--field-decorator-outlined-small-padding-right) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-size)) 0 calc(var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-size))}.var-field-decorator--outlined.var-field-decorator--small .var-field-decorator--line-focus{padding:0 calc(var(--field-decorator-outlined-small-padding-right) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-focus-size)) 0 calc(var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-placeholder-space) - var(--field-decorator-line-focus-size))}.var-field-decorator__placeholder-text{max-width:calc(133% - var(--field-decorator-outlined-normal-padding-left) - var(--field-decorator-outlined-normal-padding-right));position:absolute;z-index:-1;display:inline-block;pointer-events:none;opacity:0;height:0;font-size:var(--field-decorator-placeholder-size)}.var-field-decorator__placeholder-text--small{max-width:calc(133% - var(--field-decorator-outlined-small-padding-left) - var(--field-decorator-outlined-small-padding-right))}:root{--floating-panel-z-index: 999;--floating-panel-border-top: none;--floating-panel-border-radius: 0;--floating-panel-background: #fff;--floating-panel-header-height: 30px;--floating-panel-toolbar-width: 20px;--floating-panel-toolbar-height: 3px;--floating-panel-toolbar-border-radius: 10px;--floating-panel-toolbar-background: #ddd;--floating-panel-transition-timing-function: cubic-bezier(.18, .89, .32, 1.28)}.var-floating-panel{position:fixed;left:0;bottom:0;width:100%;display:flex;flex-direction:column;z-index:var(--floating-panel-z-index);border-top:var(--floating-panel-border-top);border-top-left-radius:var(--floating-panel-border-radius);border-top-right-radius:var(--floating-panel-border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:var(--floating-panel-background);will-change:transform;touch-action:none}.var-floating-panel:after{content:"";display:block;position:absolute;bottom:-100vh;height:100vh;width:100%;background-color:inherit;box-shadow:0 -1px var(--floating-panel-background)}.var-floating-panel__header{height:var(--floating-panel-header-height);display:flex;justify-content:center;align-items:center;cursor:grab;user-select:none}.var-floating-panel__header-toolbar{width:var(--floating-panel-toolbar-width);height:var(--floating-panel-toolbar-height);border-radius:var(--floating-panel-toolbar-border-radius);background:var(--floating-panel-toolbar-background)}.var-floating-panel__content{flex:1;overflow-y:auto}.var-floating-panel--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.var-image{overflow:hidden}.var-image__image{display:block;width:100%;height:100%}:root{--swipe-indicator-color: #fff;--swipe-indicators-offset: 10px;--swipe-indicator-offset: 4px;--swipe-navigation-button-width: 36px;--swipe-navigation-button-height: 36px;--swipe-navigation-button-border-radius: 50%;--swipe-navigation-icon-size: 20px;--swipe-navigation-prev-left: 8px;--swipe-navigation-next-right: 8px;--swipe-navigation-prev-top: 8px;--swipe-navigation-next-bottom: 8px}.var-swipe{position:relative;overflow:hidden;user-select:none;width:100%}.var-swipe__track{width:100%;height:100%;display:flex;transition-property:transform}.var-swipe__navigation{position:absolute;top:50%;z-index:99}.var-swipe__navigation-prev{left:0;transform:translate(var(--swipe-navigation-prev-left),-50%)}.var-swipe__navigation-prev-button[var-swipe-cover]{width:var(--swipe-navigation-button-width);height:var(--swipe-navigation-button-height);border-radius:var(--swipe-navigation-button-border-radius)}.var-swipe__navigation-prev-button-icon[var-swipe-cover]{font-size:var(--swipe-navigation-icon-size)}.var-swipe__navigation-next{right:0;transform:translate(calc(-1 * var(--swipe-navigation-next-right)),-50%)}.var-swipe__navigation-next-button[var-swipe-cover]{width:var(--swipe-navigation-button-width);height:var(--swipe-navigation-button-height);border-radius:var(--swipe-navigation-button-border-radius)}.var-swipe__navigation-next-button-icon[var-swipe-cover]{font-size:var(--swipe-navigation-icon-size)}.var-swipe__indicators{position:absolute;display:flex;bottom:var(--swipe-indicators-offset);left:50%;transform:translate(-50%)}.var-swipe__indicator{width:8px;height:8px;border-radius:50%;background:var(--swipe-indicator-color);opacity:.3;margin:0 var(--swipe-indicator-offset);transition:opacity .3s}.var-swipe--vertical{flex-direction:column}.var-swipe--indicators-vertical{flex-direction:column;left:var(--swipe-indicators-offset);bottom:50%;transform:translateY(50%)}.var-swipe--indicator-active{opacity:1}.var-swipe--indicator-vertical{margin:var(--swipe-indicator-offset) 0}.var-swipe--navigation-vertical-prev{top:0;left:50%;right:unset;transform:translate(-50%,var(--swipe-navigation-prev-top))}.var-swipe--navigation-vertical-next{bottom:0;left:50%;right:unset;top:unset;transform:translate(-50%,calc(-1 * var(--swipe-navigation-next-bottom)))}.var-swipe--navigation-prev-animation-enter-active,.var-swipe--navigation-prev-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-prev-animation-enter-from,.var-swipe--navigation-prev-animation-leave-to{transform:translate(-100%,-50%)}.var-swipe--navigation-next-animation-enter-active,.var-swipe--navigation-next-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-next-animation-enter-from,.var-swipe--navigation-next-animation-leave-to{transform:translate(100%,-50%)}.var-swipe--navigation-vertical-prev-animation-enter-active,.var-swipe--navigation-vertical-prev-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-vertical-prev-animation-enter-from,.var-swipe--navigation-vertical-prev-animation-leave-to{transform:translate(-50%,-100%)}.var-swipe--navigation-vertical-next-animation-enter-active,.var-swipe--navigation-vertical-next-animation-leave-active{transition:transform .25s cubic-bezier(.25,.8,.5,1)}.var-swipe--navigation-vertical-next-animation-enter-from,.var-swipe--navigation-vertical-next-animation-leave-to{transform:translate(-50%,100%)}.var-swipe-item{flex-shrink:0;width:100%;height:100%}:root{--image-preview-swipe-indicators-text-color: #ddd;--image-preview-swipe-indicators-padding: 16px 0;--image-preview-zoom-container-background: #000;--image-preview-close-icon-top: 14px;--image-preview-close-icon-right: 14px;--image-preview-extra-top: 14px;--image-preview-extra-left: 14px;--image-preview-close-icon-size: 22px;--image-preview-close-icon-color: #fff}.var-image-preview__popup[var-image-preview-cover]{height:100%;background:var(--image-preview-zoom-container-background)}.var-image-preview__swipe[var-image-preview-cover]{width:100vw;height:100%}.var-image-preview__swipe-item[var-image-preview-cover]{overflow:hidden}.var-image-preview__close-icon[var-image-preview-cover]{position:absolute;top:var(--image-preview-close-icon-top);right:var(--image-preview-close-icon-right);color:var(--image-preview-close-icon-color);font-size:var(--image-preview-close-icon-size)}.var-image-preview__extra{position:absolute;top:var(--image-preview-extra-top);left:var(--image-preview-extra-left)}.var-image-preview__indicators{position:absolute;top:0;width:100%;padding:var(--image-preview-swipe-indicators-padding);color:var(--image-preview-swipe-indicators-text-color);text-align:center}.var-image-preview__image{width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}.var-image-preview--prevent{-webkit-touch-callout:none;pointer-events:none}.var-image-preview__zoom-container{display:flex;justify-content:center;align-items:center;width:100vw;height:100%;transition:transform .2s}.var-sticky{position:relative}.var-sticky--css-mode{position:sticky;position:-webkit-sticky}.var-index-anchor{position:relative}:root{--index-bar-list-right: 0;--index-bar-list-top: 50%;--index-bar-list-left: auto;--index-bar-list-bottom: auto;--index-bar-list-transform: translate(0, -50%);--index-bar-list-item-font-size: var(--font-size-xs);--index-bar-list-item-color: var(--color-primary);--index-bar-list-item-active-color: var(--color-danger);--index-bar-list-item-height: 14px;--index-bar-list-item-padding: 0 10px}.var-index-bar{position:relative}.var-index-bar__anchor-list{position:fixed;right:var(--index-bar-list-right);top:var(--index-bar-list-top);left:var(--index-bar-list-left);bottom:var(--index-bar-list-bottom);transform:var(--index-bar-list-transform);list-style:none;padding:0;margin:0}.var-index-bar__anchor-item{font-size:var(--index-bar-list-item-font-size);display:flex;align-items:center;height:var(--index-bar-list-item-height);justify-content:center;padding:var(--index-bar-list-item-padding);color:var(--index-bar-list-item-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-index-bar__anchor-item--active{color:var(--index-bar-list-item-active-color)}:root{--input-input-height: 24px;--input-input-font-size: 16px;--input-textarea-height: auto}.var-input{text-align:left}.var-input__autocomplete{width:0;height:0;padding:0;border:none;outline:none;font-size:0}.var-input__input{width:100%;height:var(--input-input-height);padding:0;outline:none;border:none;background:transparent;color:var(--field-decorator-text-color);caret-color:var(--field-decorator-focus-color);font-size:var(--input-input-font-size);transition:color .25s}.var-input__input::placeholder{color:var(--input-placeholder-color)}.var-input--textarea{height:var(--input-textarea-height);min-height:var(--input-input-height)}.var-input--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-input--error{color:var(--field-decorator-error-color)}.var-input--caret-error{caret-color:var(--field-decorator-error-color)}:root{--link-default-color: #555;--link-primary-color: var(--color-primary);--link-danger-color: var(--color-danger);--link-success-color: var(--color-success);--link-warning-color: var(--color-warning);--link-info-color: var(--color-info);--link-disabled-color: var(--color-text-disabled);--link-font-size: var(--font-size-md)}.var-link{position:relative;justify-content:center;align-items:center;outline:none;cursor:pointer;font-family:inherit;white-space:nowrap;text-decoration:none;font-size:var(--link-font-size)}.var-link--underline-always,.var-link--underline-hover:hover{text-decoration:underline}.var-link--default{color:var(--link-default-color)}.var-link--primary{color:var(--link-primary-color)}.var-link--info{color:var(--link-info-color)}.var-link--success{color:var(--link-success-color)}.var-link--warning{color:var(--link-warning-color)}.var-link--danger{color:var(--link-danger-color)}.var-link--disabled{color:var(--link-disabled-color);cursor:not-allowed}:root{--list-loading-height: 50px;--list-finished-height: 50px;--list-error-height: 50px;--list-loading-color: #888;--list-finished-color: #888;--list-error-color: #888;--list-loading-font-size: var(--font-size-md);--list-finished-font-size: var(--font-size-md);--list-error-font-size: var(--font-size-md)}.var-list__detector{width:100%}.var-list__loading{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-loading-height);font-size:var(--list-loading-font-size);color:var(--list-loading-color)}.var-list__loading-text{margin-right:10px}.var-list__finished{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-finished-height);font-size:var(--list-finished-font-size);color:var(--list-finished-color)}.var-list__error{display:flex;justify-content:center;align-items:center;width:100%;height:var(--list-error-height);font-size:var(--list-error-font-size);color:var(--list-error-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}:root{--loading-bar-color: var(--color-primary);--loading-bar-error-color: var(--color-danger);--loading-bar-height: 3px}.var-loading-bar{position:fixed;left:0;top:0;transition:all .25s;height:var(--loading-bar-height);background-color:var(--loading-bar-color)}.var-loading-bar--error{background-color:var(--loading-bar-error-color)}:root{--menu-background-color: #fff}.var-menu{display:inline-block}.var-menu-enter-from,.var-menu-leave-to{opacity:0;transform:scale(.8)}.var-menu-enter-active,.var-menu-leave-active{transition-property:opacity,transform;transition-duration:.2s}.var-menu--menu-background-color{background:var(--menu-background-color)}:root{--menu-option-normal-height: 38px;--menu-option-small-height: 30px;--menu-option-mini-height: 24px;--menu-option-large-height: 46px;--menu-option-padding: 0 12px;--menu-option-normal-font-size: var(--font-size-md);--menu-option-small-font-size: var(--font-size-sm);--menu-option-mini-font-size: var(--font-size-xs);--menu-option-large-font-size: var(--font-size-lg);--menu-option-selected-background: var(--color-primary);--menu-option-text-color: #555;--menu-option-disabled-color: var(--color-text-disabled)}.var-menu-option{position:relative;display:flex;align-items:center;padding:var(--menu-option-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--menu-option-text-color)}.var-menu-option__cover{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;background:transparent}.var-menu-option__text{display:flex;align-items:center}.var-menu-option--normal{height:var(--menu-option-normal-height);font-size:var(--menu-option-normal-font-size)}.var-menu-option--large{height:var(--menu-option-large-height);font-size:var(--menu-option-large-font-size)}.var-menu-option--small{height:var(--menu-option-small-height);font-size:var(--menu-option-small-font-size)}.var-menu-option--mini{height:var(--menu-option-mini-height);font-size:var(--menu-option-mini-font-size)}.var-menu-option--selected-background{background:var(--menu-option-selected-background)}.var-menu-option--selected-color{color:var(--menu-option-selected-background)}.var-menu-option--disabled{color:var(--menu-option-disabled-color);cursor:not-allowed}:root{--menu-select-menu-max-height: 278px;--menu-select-menu-padding: 0;--menu-select-menu-border-radius: 2px;--menu-select-menu-background-color: #fff}.var-menu-select__menu{padding:var(--menu-select-menu-padding);border-radius:var(--menu-select-menu-border-radius);background-color:var(--menu-select-menu-background-color)}.var-menu-select--scrollable{overflow-y:auto;max-height:var(--menu-select-menu-max-height)}:root{--select-scroller-background: #fff;--select-scroller-padding: 6px 0;--select-scroller-max-height: 278px;--select-scroller-border-radius: 2px;--select-chip-margin: 5px 5px 0;--select-arrow-size: 20px;--select-standard-menu-margin: calc(var(--field-decorator-placeholder-size) * .75 + 12px) 0 0 0;--select-label-font-size: 16px}.var-select{text-align:left}.var-select__menu[var-select-cover]{width:100%;background:transparent;display:block}.var-select__chip[var-select-cover]{margin:var(--select-chip-margin)}.var-select__scroller{max-height:var(--select-scroller-max-height);background:var(--select-scroller-background);padding:var(--select-scroller-padding);overflow-y:auto;transition:background-color .25s;border-radius:var(--select-scroller-border-radius)}.var-select__wrap{position:relative;display:flex;flex-direction:column;width:100%}.var-select__select{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:24px;outline:none;border:none;font-size:inherit;color:var(--field-decorator-text-color);word-break:break-all;overflow:hidden;transition:color .25s}.var-select__label{display:flex;align-items:center;font-size:var(--select-label-font-size)}.var-select__placeholder{max-width:100%;position:absolute;top:50%;left:0;transform:translateY(-50%);font-size:var(--field-decorator-placeholder-size);line-height:1.5em;color:var(--field-decorator-blur-color);pointer-events:none;cursor:inherit}.var-select__arrow[var-select-cover]{flex-shrink:0;font-size:var(--select-arrow-size)}.var-select--standard-menu-margin{margin:var(--select-standard-menu-margin)!important}.var-select--disabled{color:var(--field-decorator-disabled-color);cursor:not-allowed}.var-select--error{color:var(--field-decorator-error-color)}.var-select--arrow-rotate{transform:rotate(180deg)}:root{--option-height: 38px;--option-padding: 0 12px;--option-font-size: 16px;--option-selected-background: var(--field-decorator-focus-color);--option-text-color: #555;--option-disabled-color: var(--color-text-disabled)}.var-option{position:relative;display:flex;align-items:center;height:var(--option-height);padding:var(--option-padding);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--option-text-color)}.var-option__cover{position:absolute;top:0;left:0;right:0;bottom:0;opacity:.2;background:transparent}.var-option__text{display:flex;align-items:center;font-size:var(--option-font-size)}.var-option--selected-background{background:var(--option-selected-background)}.var-option--selected-color{color:var(--option-selected-background)}.var-option--disabled{color:var(--option-disabled-color);cursor:not-allowed}:root{--overlay-background-color: rgba(0, 0, 0, .6)}.var-overlay{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--overlay-background-color);transition:all .25s}.var-overlay--fade-enter-from,.var-overlay--fade-leave-to{opacity:0}.var-overlay--fade-enter-active,.var-overlay--fade-leave-active{transition:opacity .25s}:root{--pagination-text-color: #555;--pagination-font-size: var(--font-size-md);--pagination-active-color: #fff;--pagination-active-bg-color: var(--color-primary);--pagination-hover-bg-color: rgba(85, 85, 85, .15);--pagination-total-margin: 0 12px;--pagination-total-line-height: 24px;--pagination-item-width: 32px;--pagination-item-height: 32px;--pagination-item-margin: 0 6px;--pagination-item-background: #fff;--pagination-item-border-radius: 4px;--pagination-item-simple-border-radius: 50%;--pagination-list-bg-color: #fff;--pagination-list-active-bg-color: #edf5ff;--pagination-list-active-color: var(--color-primary);--pagination-input-width: 32px;--pagination-disabled-color: var(--color-text-disabled);--pagination-bg-disabled-color: var(--color-disabled);--pagination-size-line-height: 24px}.pagination-flex-nowrap{display:flex;white-space:nowrap;align-items:center}.var-pagination{display:flex;align-items:center;list-style:none;margin:0;font-size:var(--pagination-font-size);padding:0;color:var(--pagination-text-color)}.var-pagination__item{display:inline-flex;min-width:var(--pagination-item-width);align-items:center;justify-content:center;margin:var(--pagination-item-margin);height:var(--pagination-item-height);cursor:pointer;border-radius:var(--pagination-item-border-radius);outline:none;transition:all .25s;user-select:none;background-color:var(--pagination-item-background)}.var-pagination__item:hover{background-color:var(--pagination-hover-bg-color)}.var-pagination__item--active{color:var(--pagination-active-color);background-color:var(--pagination-active-bg-color)!important}.var-pagination__item--hide{display:none}.var-pagination__item--simple{background:transparent;border-radius:var(--pagination-item-simple-border-radius)}.var-pagination__item--disabled{cursor:not-allowed;color:var(--pagination-disabled-color);background-color:unset}.var-pagination__item--disabled:hover{background-color:unset}.var-pagination__item--disabled--hover:hover{background-color:inherit}.var-pagination__item--disabled--active,.var-pagination__item--disabled--active:hover{background-color:var(--pagination-bg-disabled-color)}.var-pagination__prev{margin-left:0}.var-pagination__total{display:flex;white-space:nowrap;align-items:center;line-height:var(--pagination-total-line-height);margin:var(--pagination-total-margin)}.var-pagination__size{display:flex;white-space:nowrap;align-items:center;line-height:var(--pagination-size-line-height);margin:var(--pagination-item-margin)}.var-pagination__size--open{display:flex;align-items:center;cursor:pointer}.var-pagination__size--open--disabled{cursor:inherit}.var-pagination__list{background-color:var(--pagination-list-bg-color);cursor:pointer;transition:all .25s}.var-pagination__list:hover{color:var(--pagination-list-active-color);background-color:var(--pagination-list-active-bg-color)}.var-pagination__list--active{background-color:var(--pagination-list-active-bg-color)!important;color:var(--pagination-list-active-color)}.var-pagination__quickly,.var-pagination__simple{display:flex;white-space:nowrap;align-items:center}.var-pagination__quickly [var-pagination-cover],.var-pagination__simple [var-pagination-cover]{width:var(--pagination-input-width)}.var-pagination__quickly [var-pagination-cover] .var-field-decorator__middle,.var-pagination__simple [var-pagination-cover] .var-field-decorator__middle{padding:0}.var-pagination__quickly [var-pagination-cover] .var-input__input,.var-pagination__simple [var-pagination-cover] .var-input__input{height:auto;text-align:center}.var-pagination__quickly-line,.var-pagination__simple-line{height:1px;background:transparent}.var-pagination__quickly{margin:var(--pagination-item-margin)}.var-pagination__quickly [var-pagination-cover]{margin-left:6px}.var-pagination__size--open-icon[var-pagination-cover]{font-size:inherit}:root{--paper-background: #fff}.var-paper{background:var(--paper-background);transition:background-color .25s;overflow:hidden}.var-paper--round{border-radius:50%}.var-paper--cursor{cursor:pointer}:root{--picker-background: #fff;--picker-toolbar-height: 44px;--picker-confirm-button-text-color: var(--color-primary);--picker-cancel-button-text-color: #888;--picker-picked-border: 1px solid rgba(0, 0, 0, .12);--picker-title-font-size: var(--font-size-lg);--picker-title-text-color: #555;--picker-option-font-size: var(--font-size-lg);--picker-option-text-color: #555;--picker-toolbar-padding: 0 4px;--picker-mask-background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .9), hsla(0, 0%, 100%, .4)), linear-gradient(0deg, hsla(0, 0%, 100%, .9), hsla(0, 0%, 100%, .4))}.var-picker{width:100%;background:var(--picker-background);user-select:none;transition:.25s background-color}.var-picker__popup[var-picker-cover]{width:100%}.var-picker__columns{position:relative;display:flex;width:100%;cursor:grab}.var-picker__column{flex:1;overflow:hidden}.var-picker__option{display:flex;justify-content:center;align-items:center;width:100%;padding:0 4px}.var-picker__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--picker-option-text-color);font-size:var(--picker-option-font-size)}.var-picker__scroller{width:100%;transition-timing-function:cubic-bezier(.23,1,.68,1)}.var-picker__picked{position:absolute;z-index:2;pointer-events:none;width:100%;left:0;border-top:var(--picker-picked-border);border-bottom:var(--picker-picked-border);transition:.25s border}.var-picker__mask{position:absolute;pointer-events:none;top:0;left:0;width:100%;height:100%;background-image:var(--picker-mask-background-image);background-repeat:no-repeat;background-position:top,bottom}.var-picker__toolbar{display:flex;justify-content:space-between;align-items:center;width:100%;height:var(--picker-toolbar-height);padding:var(--picker-toolbar-padding)}.var-picker__confirm-button[var-picker-cover]{color:var(--picker-confirm-button-text-color)}.var-picker__cancel-button[var-picker-cover]{color:var(--picker-cancel-button-text-color)}.var-picker__title{color:var(--picker-title-text-color);font-size:var(--picker-title-font-size)}:root{--progress-font-size: var(--font-size-sm);--progress-ripple-color: #fff;--progress-track-color: #d8d8d8;--progress-label-color: #555;--progress-background: var(--color-primary);--progress-default-color: #f5f5f5;--progress-primary-color: var(--color-primary);--progress-danger-color: var(--color-danger);--progress-success-color: var(--color-success);--progress-warning-color: var(--color-warning);--progress-info-color: var(--color-info);--progress-linear-border-radius: 0px}.var-progress{position:relative;font-size:var(--progress-font-size)}.var-progress__linear{display:flex;align-items:center}.var-progress__linear-block{flex:1;position:relative;overflow:hidden;height:4px;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-certain{width:100%;height:100%;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-ripple:after{position:absolute;width:0;background-color:var(--progress-ripple-color);height:100%;opacity:0;animation:ripple 1.8s cubic-bezier(.4,0,.2,1) infinite;content:""}.var-progress__linear-background{background-color:var(--progress-track-color)}.var-progress__linear-certain{position:absolute;background-color:var(--progress-background);top:0;left:0;transition:all .2s,background-color .8s}.var-progress__linear-label{margin-left:8px;flex:0;color:var(--progress-label-color)}.var-progress__linear-indeterminate div{bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right;border-radius:var(--progress-linear-border-radius)}.var-progress__linear-indeterminate div:first-child{animation:progress-linear-long 2.2s infinite}.var-progress__linear-indeterminate div:last-child{animation:progress-linear-short 2.2s infinite}.var-progress__linear--success{background-color:var(--progress-success-color)}.var-progress__linear--default{background-color:var(--progress-default-color)}.var-progress__linear--primary{background-color:var(--progress-primary-color)}.var-progress__linear--warning{background-color:var(--progress-warning-color)}.var-progress__linear--danger{background-color:var(--progress-danger-color)}.var-progress__linear--info{background-color:var(--progress-info-color)}@keyframes progress-linear-long{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes progress-linear-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes ripple{0%{width:0;opacity:.1}20%{width:0;opacity:.5}80%{width:100%;opacity:0}}.var-progress__circle{position:relative;width:40px;height:40px}.var-progress__circle-background{stroke:var(--progress-track-color);z-index:1}.var-progress__circle-certain{transition:all .2s;stroke:var(--progress-background);position:absolute}.var-progress__circle-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--progress-label-color)}.var-progress__circle--success{stroke:var(--progress-success-color)}.var-progress__circle--default{stroke:var(--progress-default-color)}.var-progress__circle--primary{stroke:var(--progress-primary-color)}.var-progress__circle--warning{stroke:var(--progress-warning-color)}.var-progress__circle--danger{stroke:var(--progress-danger-color)}.var-progress__circle--info{stroke:var(--progress-info-color)}.var-progress__circle-indeterminate svg{animation:progress-circle-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.var-progress__circle-overlay{animation:progress-circle-dash 1.4s ease-in-out infinite,progress-circle-rotate 1.4s linear infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round;transform-origin:center center;transform:rotate(-90deg);z-index:2}@keyframes progress-circle-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circle-rotate{to{transform:rotate(270deg)}}:root{--pull-refresh-size: 40px;--pull-refresh-background: #fff;--pull-refresh-color: var(--color-primary);--pull-refresh-success-color: var(--color-success);--pull-refresh-icon-size: 25px}.var-pull-refresh{overflow:hidden;position:relative;user-select:none;width:100%}.var-pull-refresh__control{display:flex;width:var(--pull-refresh-size);height:var(--pull-refresh-size);align-items:center;justify-content:center;background-color:var(--pull-refresh-background);border-radius:50%;position:absolute;left:50%;z-index:90;color:var(--pull-refresh-color)}.var-pull-refresh__control-success{color:var(--pull-refresh-success-color)}.var-pull-refresh__icon[var-pull-refresh-cover]{font-size:var(--pull-refresh-icon-size)}.var-pull-refresh__animation{transform:rotate(0);animation:iconRotate .6s infinite linear}.var-pull-refresh--lock{overflow:hidden!important}@keyframes iconRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--radio-checked-color: var(--color-primary);--radio-unchecked-color: #555;--radio-disabled-color: var(--color-text-disabled);--radio-error-color: var(--color-danger);--radio-icon-size: 24px;--radio-action-padding: 6px;--radio-text-color: #555}@keyframes var-vibrate-animation{0%{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.var-radio{display:flex;align-items:center;transform:translate(calc(-1 * var(--radio-action-padding)));cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-radio__wrap{display:inline-flex;flex-direction:column}.var-radio__action{position:relative;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:var(--radio-action-padding);border-radius:50%;transition:background-color .25s,color .25s}.var-radio__icon[var-radio-cover]{display:block;font-size:var(--radio-icon-size)}.var-radio__text{color:var(--radio-text-color)}.var-radio--with-animation[var-radio-cover]{animation:var-vibrate-animation .25s}.var-radio--checked{color:var(--radio-checked-color)}.var-radio--unchecked{color:var(--radio-unchecked-color)}.var-radio--disabled{color:var(--radio-disabled-color);cursor:not-allowed}.var-radio--error{color:var(--radio-error-color)}.var-radio-group{display:flex;flex-wrap:wrap}.var-radio-group--horizontal{flex-direction:row}.var-radio-group--vertical{flex-direction:column}:root{--rate-color: var(--color-text);--rate-disabled-color: var(--color-text-disabled);--rate-error-color: var(--color-danger);--rate-action-padding: 4px;--rate-primary-color: var(--color-primary)}.var-rate{display:flex;transform:translate(calc(-1 * var(--rate-action-padding)))}.var-rate__wrap{width:100%}.var-rate__content{position:relative;display:flex;padding:var(--rate-action-padding);cursor:pointer;border-radius:50%;color:var(--rate-color);transition:color .25s;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-rate__content-icon[var-rate-cover]{font-size:24px}.var-rate--primary{color:var(--rate-primary-color)}.var-rate--disabled{color:var(--rate-disabled-color);cursor:not-allowed}.var-rate--error{color:var(--rate-error-color)}:root{--result-background: #fff;--result-padding: 24px;--result-border-radius: 3px;--result-title-color: #444;--result-title-font-size: 32px;--result-title-margin: 15px 0 0 0;--result-image-size: 80px;--result-title-font-weight: 500;--result-description-margin: 10px 0 0 0;--result-description-font-size: 14px;--result-description-color: rgba(0, 0, 0, .6);--result-description-line-height: 1.6;--result-info-color: var(--color-info);--result-info-border-color: rgba(0, 175, 239, .3);--result-success-color: var(--color-success);--result-success-border-color: rgba(0, 196, 143, .3);--result-error-color: var(--color-danger);--result-error-border-color: rgba(244, 67, 54, .3);--result-warning-color: var(--color-warning);--result-warning-border-color: rgba(255, 159, 0, .3);--result-question-color: #607d8b;--result-question-border-color: rgba(96, 125, 139, .3);--result-empty-color: #9e9e9e;--result-empty-border-color: rgba(158, 158, 158, .3)}.var-result{display:flex;flex-direction:column;align-items:center;border-radius:var(--result-border-radius);width:100%;padding:var(--result-padding);background-color:var(--result-background);transition:background-color .25s}.var-result__image-container{overflow:hidden}.var-result__image{margin:0 auto;position:relative;border-radius:50%;box-sizing:content-box;border-style:solid;border-color:transparent;width:var(--result-image-size);height:var(--result-image-size);display:flex;justify-content:center;align-items:center}.var-result__image svg{margin:0 auto;display:block;width:100%;height:100%}.var-result__info{border-color:var(--result-info-border-color)}.var-result__info path{fill:var(--result-info-color)}.var-result__empty{border-color:var(--result-empty-border-color)}.var-result__empty path{fill:var(--result-empty-color)}.var-result__question{border-color:var(--result-question-border-color)}.var-result__question path{fill:var(--result-question-color)}.var-result__error{border-color:var(--result-error-border-color)}.var-result__error path{fill:var(--result-error-color)}.var-result__warning{border-color:var(--result-warning-border-color)}.var-result__warning path{fill:var(--result-warning-color)}.var-result__success{border-color:var(--result-success-color)}.var-result__success-cover-left{display:block;position:absolute;z-index:1;top:-.875%;left:-41.27%;width:75%;height:150%;border-radius:150% 0 0 150%;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}.var-result__success-cover-right{display:block;position:absolute;top:-13.75%;left:37.5%;width:75%;height:150%;border-radius:0 125% 125% 0;animation-name:rotate-circle;animation-timing-function:ease-in;transform-origin:0 50%;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}.var-result__success-line{height:6.8%;background-color:var(--result-success-color);display:block;position:absolute;z-index:10;transition:background-color .25s}.var-result__success-line-tip{transform:rotate(45deg);animation-name:success-line-tip;animation-fill-mode:forwards}.var-result__success-line-long{transform:rotate(-45deg);animation-name:success-line-long;animation-fill-mode:forwards}.var-result__success-circle{z-index:10;width:100%;height:100%;border-radius:50%;position:absolute;box-sizing:content-box!important;border-style:solid;border-color:var(--result-success-border-color)}.var-result__success-line-fix{top:9%;left:34%;width:8.75%;height:112.5%;z-index:1;position:absolute;transform:rotate(-45deg);background:var(--result-background);transition:background-color .25s}@keyframes success-line-tip{0%{top:23.75%;left:1.25%;width:0}54%{top:20.25%;left:1%;width:0}70%{top:43.75%;left:-9.5%;width:62.5%}84%{top:60%;left:26.25%;width:21.25%}to{top:56.25%;left:17.5%;width:31.25%}}@keyframes success-line-long{0%{top:67.5%;right:57.5%;width:0}65%{top:67.5%;right:57.5%;width:0}84%{top:43.75%;right:0;width:68.75%}to{top:47%;right:9%;width:58.75%}}@keyframes rotate-circle{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}to{transform:rotate(-405deg)}}.var-result__title{font-size:var(--result-title-font-size);word-break:break-word;margin:var(--result-title-margin);font-weight:var(--result-title-font-weight);color:var(--result-title-color);text-align:center}.var-result__description{font-size:var(--result-description-font-size);word-break:break-word;color:var(--result-description-color);margin:var(--result-description-margin);line-height:var(--result-description-line-height);text-align:center}.var-result__footer{z-index:1;margin-top:20px}.var-row{display:flex;flex-wrap:wrap}:root{--skeleton-content-padding: 16px;--skeleton-card-height: 160px;--skeleton-card-border-radius: 4px;--skeleton-card-margin-bottom: 16px;--skeleton-card-background-color: rgba(0, 0, 0, .12);--skeleton-animation-background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0));--skeleton-avatar-size: 34px;--skeleton-avatar-border-radius: 50%;--skeleton-avatar-margin-right: 16px;--skeleton-avatar-background-color: rgba(0, 0, 0, .12);--skeleton-title-width: 50%;--skeleton-title-border-radius: 10px;--skeleton-title-background-color: rgba(0, 0, 0, .12);--skeleton-row-height: 12px;--skeleton-row-border-radius: 10px;--skeleton-row-margin-top: 10px}@keyframes var-skeleton-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}.var-skeleton{width:100%}.var-skeleton__content{padding:var(--skeleton-content-padding)}.var-skeleton__card{position:relative;overflow:hidden;width:100%;height:var(--skeleton-card-height);background-color:var(--skeleton-card-background-color);margin-bottom:var(--skeleton-card-margin-bottom);border-radius:var(--skeleton-card-border-radius);transition:background-color .25s}.var-skeleton__article{display:flex;width:100%}.var-skeleton__avatar{position:relative;overflow:hidden;flex-shrink:0;width:var(--skeleton-avatar-size);height:var(--skeleton-avatar-size);border-radius:var(--skeleton-avatar-border-radius);background-color:var(--skeleton-avatar-background-color);margin-right:var(--skeleton-avatar-margin-right);transition:.25s background-color}.var-skeleton__section{width:100%;padding-top:8px}.var-skeleton__title{position:relative;overflow:hidden;width:var(--skeleton-title-width);height:var(--skeleton-row-height);background-color:var(--skeleton-title-background-color);border-radius:var(--skeleton-title-border-radius);transition:.25s background-color}.var-skeleton__row{position:relative;overflow:hidden;width:100%;height:var(--skeleton-row-height);background-color:var(--skeleton-title-background-color);margin-top:var(--skeleton-row-margin-top);border-radius:var(--skeleton-row-border-radius);transition:.25s background-color}.var-skeleton__fullscreen{position:fixed;overflow:hidden;top:0;left:0;bottom:0;right:0;background-color:var(--skeleton-title-background-color);transition:.25s background-color}.var-skeleton--animation:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;animation:var-skeleton-animation 1s infinite;background:var(--skeleton-animation-background);transition:.25s background-color}:root{--slider-error-color: var(--color-danger);--slider-track-background: #bdbdbd;--slider-track-fill-background: var(--color-primary);--slider-thumb-block-background: var(--color-primary);--slider-thumb-ripple-background: var(--color-primary);--slider-thumb-label-background: var(--color-primary);--slider-thumb-label-font-size: var(--font-size-sm);--slider-disabled-opacity: var(--opacity-disabled)}.var-slider{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%}.var-slider-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider-track{width:100%;align-items:center;position:relative}.var-slider-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider-thumb{position:absolute;cursor:pointer}.var-slider-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider-thumb-label span{transform:rotate(-45deg)}.var-slider-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__form[var-slider-cover]{margin:0}.var-slider__horizontal{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%}.var-slider__horizontal-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider__horizontal--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider__horizontal-track{width:100%;align-items:center;position:relative}.var-slider__horizontal-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__horizontal-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider__horizontal-thumb{position:absolute;cursor:pointer}.var-slider__horizontal-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider__horizontal-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider__horizontal-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider__horizontal-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider__horizontal-thumb-label span{transform:rotate(-45deg)}.var-slider__horizontal-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__horizontal__form[var-slider-cover]{margin:0}.var-slider__horizontal--error .var-slider__horizontal-track-background{background-color:var(--slider-error-color)!important;filter:opacity(.6)}.var-slider__horizontal--error .var-slider__horizontal-track-fill,.var-slider__horizontal--error .var-slider__horizontal-thumb-block,.var-slider__horizontal--error .var-slider__horizontal-thumb-ripple--active,.var-slider__horizontal--error .var-slider__horizontal-thumb-label{background-color:var(--slider-error-color)!important}.var-slider__vertical{-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%}.var-slider__vertical-block{display:flex;align-items:center;position:relative;flex:1;user-select:none;height:36px;margin:0 6px;transition:filter .25s}.var-slider__vertical--disabled{filter:opacity(var(--slider-disabled-opacity));cursor:not-allowed}.var-slider__vertical-track{width:100%;align-items:center;position:relative}.var-slider__vertical-track-background{width:100%;height:2px;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__vertical-track-fill{position:absolute;height:100%;left:0;transition:background-color .25s;background-color:var(--slider-track-fill-background)}.var-slider__vertical-thumb{position:absolute;cursor:pointer}.var-slider__vertical-thumb-block{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);transition:background-color .25s;z-index:1;background-color:var(--slider-thumb-block-background)}.var-slider__vertical-thumb-ripple{position:absolute;width:36px;height:36px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;opacity:.3;background:transparent;transition:.3s var(--cubic-bezier)}.var-slider__vertical-thumb-ripple--active{background:var(--slider-thumb-ripple-background)}.var-slider__vertical-thumb-label{height:24px;width:24px;background-color:var(--slider-thumb-label-background);display:flex;align-items:center;border:none;justify-content:center;color:#fff;border-radius:50% 50% 0;padding:13px;bottom:60%;user-select:none;position:absolute;left:45%;transition:.3s var(--cubic-bezier);font-size:var(--slider-thumb-label-font-size);overflow:hidden;transform:translateY(0) translateY(0) translate(-50%) rotate(45deg) scale(0)}.var-slider__vertical-thumb-label span{transform:rotate(-45deg)}.var-slider__vertical-thumb-label--active{transform:translateY(-20%) translateY(-8px) translate(-50%) rotate(45deg) scale(1)}.var-slider__vertical__form[var-slider-cover]{margin:0}.var-slider__vertical-block{width:36px;display:flex;align-items:center;justify-content:center;position:relative;user-select:none;margin:6px 0;transition:filter .25s}.var-slider__vertical-track{height:100%;width:fit-content}.var-slider__vertical-track-background{width:2px;height:100%;background:var(--slider-track-background);transition:filter,background-color,.25s}.var-slider__vertical-track-fill{width:100%;bottom:0}.var-slider__vertical-thumb-label{transform:translate(0) translate(0) translateY(50%) rotate(-225deg) scale(0)}.var-slider__vertical-thumb-label span{transform:rotate(-135deg)}.var-slider__vertical-thumb-label--active{transform:translate(20%) translate(8px) translateY(50%) rotate(-225deg) scale(1)}.var-slider__vertical--error .var-slider__vertical-track-background{background-color:var(--slider-error-color)!important;filter:opacity(.6)}.var-slider__vertical--error .var-slider__vertical-track-fill,.var-slider__vertical--error .var-slider__vertical-thumb-block,.var-slider__vertical--error .var-slider__vertical-thumb-ripple--active,.var-slider__vertical--error .var-slider__vertical-thumb-label{background-color:var(--slider-error-color)!important}:root{--snackbar-width: 256px;--snackbar-color: rgba(255, 255, 255, .87);--snackbar-border-radius: 4px;--snackbar-background: #333;--snackbar-font-size: var(--font-size-md);--snackbar-margin: 6px 24px;--snackbar-border-color: currentColor;--snackbar-success-background: var(--color-success);--snackbar-info-background: var(--color-info);--snackbar-error-background: var(--color-danger);--snackbar-warning-background: var(--color-warning);--snackbar-content-padding: 14px 16px;--snackbar-action-margin: 0 8px 0;--snackbar-vertical-action-margin: 0 8px 8px 0}.var-transition-group{position:fixed;left:0;right:0;top:0;bottom:0;pointer-events:none}.var-pointer-auto{pointer-events:auto}.var-snackbar{display:flex;justify-content:center;align-items:baseline;left:0;right:0;bottom:0;transition:all .15s var(--cubic-bezier)}.var-snackbar__transition{top:0;position:fixed}.var-snackbar__transition .var-snackbar__wrapper{position:absolute}.var-snackbar__transition .var-snackbar__wrapper-top{top:5%}.var-snackbar__transition .var-snackbar__wrapper-center{top:45%}.var-snackbar__transition .var-snackbar__wrapper-bottom{bottom:5%}.var-snackbar__wrapper{width:var(--snackbar-width);display:flex;border-radius:var(--snackbar-border-radius);color:var(--snackbar-color);background:var(--snackbar-background);font-size:var(--snackbar-font-size);margin:var(--snackbar-margin);align-items:center;border-color:var(--snackbar-border-color);pointer-events:auto;transition:.3s var(--cubic-bezier)}.var-snackbar__wrapper-success{background:var(--snackbar-success-background)}.var-snackbar__wrapper-info{background:var(--snackbar-info-background)}.var-snackbar__wrapper-warning{background:var(--snackbar-warning-background)}.var-snackbar__wrapper-error{background:var(--snackbar-error-background)}.var-snackbar__content{flex-grow:1;padding:var(--snackbar-content-padding)}.var-snackbar__action{margin:var(--snackbar-action-margin);display:flex}.var-snackbar__vertical{flex-direction:column;align-items:flex-start}.var-snackbar__vertical .var-snackbar__action{align-self:flex-end;margin:var(--snackbar-vertical-action-margin)}.var-snackbar-fade-enter-from,.var-snackbar-fade-leave-to{opacity:0;transform:translateY(-30px)}:root{--space-size-mini-y: 4px;--space-size-mini-x: 4px;--space-size-small-y: 6px;--space-size-small-x: 6px;--space-size-normal-y: 8px;--space-size-normal-x: 12px;--space-size-large-y: 12px;--space-size-large-x: 20px}.var-space{display:flex}.var-space--inline{display:inline-flex}:root{--step-tag-size: 20px;--step-tag-background: #9e9e9e;--step-tag-font-size: var(--font-size-md);--step-tag-color: #fff;--step-tag-active-color: var(--color-primary);--step-tag-margin: 4px 0;--step-tag-icon-size: var(--font-size-lg);--step-content-font-size: var(--font-size-md);--step-content-color: rgba(0, 0, 0, .38);--step-content-active-color: #000;--step-line-background: #000;--step-line-gap: 8px;--step-min-size: calc(var(--step-tag-size) + var(--step-line-gap));--step-line-size: calc(100% - var(--step-min-size));--step-vertical-tag-margin: 0 4px;--step-vertical-min-height: 50px}.tag{width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step{position:relative;flex:1;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-step:last-child .var-step__horizontal-line{width:0}.var-step:last-child .var-step__vertical-line{height:0}.var-step__horizontal{display:flex;flex-direction:column;align-items:center}.var-step__horizontal-tag{margin:var(--step-tag-margin);width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__horizontal-tag--active{background:var(--step-tag-active-color)}.var-step__horizontal-content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__horizontal-content--active{color:var(--step-content-active-color)}.var-step__horizontal-line{position:absolute;top:calc(var(--step-min-size) / 2);left:calc(50% + var(--step-min-size) / 2);width:var(--step-line-size);height:1px;transform:scaleY(.5);background:var(--step-line-background)}.var-step__vertical{display:flex;height:100%;min-height:var(--step-vertical-min-height)}.var-step__vertical-tag{flex-shrink:0;margin:var(--step-vertical-tag-margin);width:var(--step-tag-size);height:var(--step-tag-size);background:var(--step-tag-background);display:flex;font-size:var(--step-tag-font-size);align-items:center;justify-content:center;border-radius:50%;color:var(--step-tag-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__vertical-tag--active{background:var(--step-tag-active-color)}.var-step__vertical-content{font-size:var(--step-content-font-size);color:var(--step-content-color);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier)}.var-step__vertical-content--active{color:var(--step-content-active-color)}.var-step__vertical-line{position:absolute;height:var(--step-line-size);left:calc(var(--step-min-size) / 2);top:calc(var(--step-min-size) - var(--step-line-gap) / 2);width:1px;transform:scaleX(.5);background:var(--step-line-background)}.var-step__icon[var-step-cover]{font-size:var(--step-tag-icon-size)}.var-steps{width:100%;display:flex;justify-content:space-between;overflow:hidden}:root{--switch-track-background: #fff;--switch-track-active-background: var(--color-primary);--switch-track-error-background: var(--color-danger);--switch-ripple-color: var(--color-primary);--switch-handle-background: #fff;--switch-handle-color: #fff;--switch-handle-active-background: var(--color-primary);--switch-handle-error-background: var(--color-danger);--switch-disabled-opacity: var(--opacity-disabled)}.var-switch{display:inline-block}.var-switch__block{position:relative;display:flex;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;justify-content:center;height:24px;width:40px;transition:filter .25s}.var-switch--disabled{filter:opacity(var(--switch-disabled-opacity));cursor:not-allowed}.var-switch__track{background-color:var(--switch-track-background);transition:background-color .25s;filter:opacity(var(--switch-disabled-opacity));height:14.4px;width:38px;border-radius:calc(20px * 2 / 3)}.var-switch__track--active{background-color:var(--switch-track-active-background)}.var-switch__track--error{background-color:var(--switch-track-error-background)!important}.var-switch__ripple{position:absolute;display:flex;align-items:center;justify-content:center;color:var(--switch-ripple-color);border-radius:50%;overflow:hidden;transition:.3s var(--cubic-bezier);width:40px;height:40px;left:-10px}.var-switch__ripple--active{left:10px}.var-switch__handle{border-radius:50%;background-color:var(--switch-handle-background);display:flex;align-items:center;justify-content:center;color:var(--switch-handle-color);transition:background-color .25s;width:20px;height:20px}.var-switch__handle--active{background-color:var(--switch-handle-active-background)}.var-switch__handle--error{background-color:var(--switch-handle-error-background)!important}.var-switch__loading{display:inline-block;width:16px;height:16px;animation:circle 1.8s linear infinite}.var-switch__loading svg{display:block;width:100%;height:100%}.var-switch__loading svg circle{animation:circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}@keyframes circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}:root{--tab-padding: 12px;--tab-active-color: var(--color-primary);--tab-inactive-color: #646566;--tab-disabled-color: var(--color-text-disabled);--tab-font-size: var(--font-size-md)}.var-tab{display:flex;justify-content:center;align-items:center;flex:1 0 auto;padding:0 var(--tab-padding);font-size:var(--tab-font-size);cursor:pointer;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-tab--active{color:var(--tab-active-color)}.var-tab--inactive{color:var(--tab-inactive-color)}.var-tab--disabled{color:var(--tab-disabled-color);cursor:not-allowed}.var-tab--horizontal{flex-direction:row}.var-tab--vertical{flex-direction:column}.var-tab-item--inactive[var-tab-item-cover]{overflow:visible;height:0}:root{--table-background: #fff;--table-border-radius: 2px;--table-thead-border-bottom: thin solid rgba(0, 0, 0, .12);--table-thead-th-text-color: rgba(0, 0, 0, .6);--table-thead-th-font-size: 14px;--table-thead-tr-border-bottom: thin solid rgba(0, 0, 0, .12);--table-tbody-tr-hover-background: #eee;--table-tbody-tr-border-bottom: thin solid rgba(0, 0, 0, .12);--table-tbody-td-text-color: #555;--table-tbody-td-font-size: 16px;--table-row-height: 46px;--table-row-padding: 0 16px;--table-footer-border-top: thin solid rgba(0, 0, 0, .12)}.var-table{width:100%;background:var(--table-background);border-radius:var(--table-border-radius);transition:.25s background-color}.var-table *{box-sizing:border-box}.var-table__main{width:100%;overflow-x:auto}.var-table__main>table{min-width:100%;display:table;border-spacing:0;border-collapse:collapse;line-height:normal}.var-table__main>table thead{display:table-header-group;border-bottom:var(--table-thead-border-bottom)}.var-table__main>table thead tr th{color:var(--table-thead-th-text-color);font-size:var(--table-thead-th-font-size)}.var-table__main>table thead tr:not(:last-child){border-bottom:var(--table-thead-tr-border-bottom)}.var-table__main>table tbody{display:table-row-group}.var-table__main>table tbody tr{display:table-row;outline:0;vertical-align:middle}.var-table__main>table tbody tr:hover{background:var(--table-tbody-tr-hover-background);transition:background-color .25s}.var-table__main>table tbody tr:not(:last-child){border-bottom:var(--table-tbody-tr-border-bottom)}.var-table__main>table tbody td{color:var(--table-tbody-td-text-color);font-size:var(--table-tbody-td-font-size)}.var-table__main>table th{display:table-cell;height:var(--table-row-height);padding:var(--table-row-padding);font-weight:500;text-align:left}.var-table__main>table td{display:table-cell;padding:var(--table-row-padding);height:var(--table-row-height);text-align:left}.var-table__footer{width:100%;min-height:var(--table-row-height);border-top:var(--table-footer-border-top)}:root{--tabs-item-horizontal-height: 44px;--tabs-item-vertical-height: 66px;--tabs-radius: 2px;--tabs-padding: 12px;--tabs-indicator-size: 2px;--tabs-indicator-background: var(--color-primary);--tabs-background: #fff;--tabs-indicator-inner-size: 100%}.var-tabs{border-radius:var(--tabs-radius);background:var(--tabs-background);overflow:hidden;transition:background-color .25s}.var-tabs__tab-wrap{position:relative;display:flex;height:100%}.var-tabs__indicator{display:flex;justify-content:center;align-items:center;position:absolute;z-index:1;transition-property:width,transform;transition-duration:.3s}.var-tabs__indicator-inner{background:var(--tabs-indicator-background)}.var-tabs--layout-horizontal{flex-direction:row}.var-tabs--layout-horizontal-scrollable{overflow-x:auto;overflow-y:hidden}.var-tabs--layout-horizontal-scrollable::-webkit-scrollbar{display:none}.var-tabs--layout-horizontal-padding{padding:0 var(--tabs-padding)}.var-tabs--layout-horizontal-indicator{left:0;bottom:0;height:var(--tabs-indicator-size)}.var-tabs--layout-horizontal-reverse-indicator{left:0;top:0;height:var(--tabs-indicator-size)}.var-tabs--layout-horizontal-indicator-inner{width:var(--tabs-indicator-inner-size);height:100%}.var-tabs--layout-vertical{flex-direction:column}.var-tabs--layout-vertical-scrollable{overflow-x:hidden;overflow-y:auto}.var-tabs--layout-vertical-scrollable::-webkit-scrollbar{display:none}.var-tabs--layout-vertical-padding{padding:0}.var-tabs--layout-vertical-indicator{left:0;top:0;width:var(--tabs-indicator-size)}.var-tabs--layout-vertical-reverse-indicator{right:0;top:0;width:var(--tabs-indicator-size)}.var-tabs--layout-vertical-indicator-inner{width:100%;height:var(--tabs-indicator-inner-size)}.var-tabs--item-horizontal{height:var(--tabs-item-horizontal-height)}.var-tabs--item-vertical{height:var(--tabs-item-vertical-height)}.var-tabs--fixed-bottom{position:fixed;width:100%;left:0;bottom:0;z-index:99}.var-tabs--safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box!important}:root{--time-picker-border-radius: 4px;--time-picker-font-size: var(--font-size-md);--time-picker-min-width: 290px;--time-picker-height: 385px;--time-picker-title-height: 105px;--time-picker-title-padding: 16px;--time-picker-title-color: #fff;--time-picker-title-background: var(--color-primary);--time-picker-title-time-font-size: 50px;--time-picker-title-time-margin: 0 5px;--time-picker-title-ampm-margin-left: 5px;--time-picker-clock-left: 27px;--time-picker-clock-right: 27px;--time-picker-clock-top: 27px;--time-picker-clock-bottom: 27px;--time-picker-clock-container-width: 256px;--time-picker-clock-container-height: 256px;--time-picker-clock-container-background: #e0e0e0;--time-picker-clock-hand-height:calc(50% - 4px);--time-picker-clock-hand-width: 2px;--time-picker-clock-hand-bottom: 50%;--time-picker-clock-hand-left:calc(50% - 1px);--time-picker-clock-hand-background: var(--color-primary);--time-picker-clock-hand-border-color: var(--color-primary);--time-picker-clock-hand-before-width: 10px;--time-picker-clock-hand-before-height: 10px;--time-picker-clock-hand-before-border-width: 2px;--time-picker-clock-hand-after-width: 4px;--time-picker-clock-hand-after-height: 4px;--time-picker-clock-item-height: 32px;--time-picker-clock-item-width: 32px;--time-picker-clock-item-active-background: var(--color-primary);--time-picker-clock-item-active-color: #fff;--time-picker-clock-item-disable-color: rgba(0, 0, 0, .26);--time-picker-clock-item-text-color: #555;--time-picker-inner-left: 36px;--time-picker-inner-right: 36px;--time-picker-inner-top: 36px;--time-picker-inner-bottom: 36px;--time-picker-body-background: #fff}.after-before-basic{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%)}.var-time-picker{border-radius:var(--time-picker-border-radius);contain:layout style;display:flex;width:100%;flex-direction:column;font-size:var(--time-picker-font-size);position:relative;min-width:var(--time-picker-min-width);height:var(--time-picker-height);overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-time-picker__title{min-height:var(--time-picker-title-height);padding:var(--time-picker-title-padding);color:var(--time-picker-title-color);background:var(--time-picker-title-background);display:flex;align-items:flex-end;justify-content:flex-end}.var-time-picker__title-btn{opacity:.6;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:.3s var(--cubic-bezier);white-space:nowrap}.var-time-picker__title-btn--active{opacity:1}.var-time-picker__title-time{display:flex;justify-content:flex-end;font-size:var(--time-picker-title-time-font-size)}.var-time-picker__title-time .var-time-picker__title-btn{align-items:center;margin:var(--time-picker-title-time-margin)}.var-time-picker__title-ampm{margin-left:var(--time-picker-title-ampm-margin-left)}.var-time-picker__body{flex:1;display:flex;align-items:center;justify-content:center;background-color:var(--time-picker-body-background)}.var-time-picker__clock{position:absolute;bottom:var(--time-picker-clock-bottom);left:var(--time-picker-clock-left);right:var(--time-picker-clock-right);top:var(--time-picker-clock-top)}.var-time-picker__clock-container{width:var(--time-picker-clock-container-width);height:var(--time-picker-clock-container-height);background:var(--time-picker-clock-container-background);border-radius:50%;position:relative}.var-time-picker__clock-hand{height:var(--time-picker-clock-hand-height);width:var(--time-picker-clock-hand-width);bottom:var(--time-picker-clock-hand-bottom);left:var(--time-picker-clock-hand-left);transform-origin:center bottom;position:absolute;will-change:transform;z-index:1;background-color:var(--time-picker-clock-hand-background);border-color:var(--time-picker-clock-hand-border-color)}.var-time-picker__clock-hand:before{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);background:transparent;border:var(--time-picker-clock-hand-before-border-width) solid;width:var(--time-picker-clock-hand-before-width);height:var(--time-picker-clock-hand-before-height);top:-5px;border-color:inherit}.var-time-picker__clock-hand:after{content:"";position:absolute;border-radius:100%;left:50%;transform:translate(-50%,-50%);border-color:inherit;height:var(--time-picker-clock-hand-after-height);width:var(--time-picker-clock-hand-after-width);top:100%;border-style:solid;background-color:inherit}.var-time-picker__clock-item{align-items:center;border-radius:100%;display:flex;justify-content:center;height:var(--time-picker-clock-item-height);position:absolute;width:var(--time-picker-clock-item-width);user-select:none;transform:translate(-50%,-50%);color:var(--time-picker-clock-item-text-color)}.var-time-picker__clock-item--active{background:var(--time-picker-clock-item-active-background);z-index:2;color:var(--time-picker-clock-item-active-color)}.var-time-picker__clock-item--disable{color:var(--time-picker-clock-item-disable-color)}.var-time-picker__clock-inner{position:absolute;bottom:var(--time-picker-inner-bottom);left:var(--time-picker-inner-left);right:var(--time-picker-inner-right);top:var(--time-picker-inner-top)}.var-time-picker-panel-fade-enter-from,.var-time-picker-panel-fade-leave-to{transition:.3s var(--cubic-bezier);opacity:0}.var-time-picker-panel-fade-leave-active{position:absolute}:root{--uploader-action-background: #f7f8fa;--uploader-action-icon-color: #888;--uploader-action-icon-size: 24px;--uploader-action-margin: 0 10px 10px 0;--uploader-file-size: 80px;--uploader-file-margin: 0 10px 10px 0;--uploader-file-name-background: #f7f8fa;--uploader-file-name-color: #888;--uploader-file-name-font-size: 12px;--uploader-file-name-padding: 10px;--uploader-file-text-align: center;--uploader-file-close-background: rgba(0, 0, 0, .3);--uploader-file-close-size: 24px;--uploader-file-close-icon-font-size: 14px;--uploader-file-close-icon-color: #fff;--uploader-file-cover-fit: cover;--uploader-file-cover-background: #f7f8fa;--uploader-preview-video-width: 100vw;--uploader-preview-video-height: 100vw;--uploader-file-indicator-height: 4px;--uploader-file-indicator-normal-color: var(--color-disabled);--uploader-file-indicator-success-color: var(--color-success);--uploader-file-indicator-error-color: var(--color-danger);--uploader-file-progress-color: var(--color-primary);--uploader-disabled-color: var(--color-disabled);--uploader-disabled-text-color: var(--color-text-disabled);--uploader-loading-background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0))}@keyframes var-uploader-loading-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}.var-uploader{width:100%}.var-uploader__file-list{width:100%;display:flex;flex-wrap:wrap}.var-uploader__file{position:relative;width:var(--uploader-file-size);height:var(--uploader-file-size);margin:var(--uploader-file-margin);overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.var-uploader__file-name{position:absolute;width:100%;height:100%;line-height:calc(var(--uploader-file-size) - var(--uploader-file-name-padding) * 2);font-size:var(--uploader-file-name-font-size);z-index:0;background:var(--uploader-file-name-background);padding:var(--uploader-file-name-padding);color:var(--uploader-file-name-color);text-align:var(--uploader-file-text-align);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;user-select:none;transition:background-color .25s}.var-uploader__file-cover{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:var(--uploader-file-cover-background);object-fit:var(--uploader-file-cover-fit);pointer-events:none;transition:background-color .25s}.var-uploader__file-close{position:absolute;top:0;right:0;z-index:2;border-top:var(--uploader-file-close-size) solid var(--uploader-file-close-background);border-left:var(--uploader-file-close-size) solid transparent}.var-uploader__file-close-icon[var-uploader-cover]{position:absolute;top:calc(-1 * var(--uploader-file-close-size));right:0;font-size:var(--uploader-file-close-icon-font-size);color:var(--uploader-file-close-icon-color)}.var-uploader__file-indicator{position:absolute;left:0;bottom:0;z-index:2;width:100%;height:var(--uploader-file-indicator-height);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:var(--uploader-file-indicator-normal-color)}.var-uploader__action{position:relative;display:flex;justify-content:center;align-items:center;color:var(--uploader-action-icon-color);width:var(--uploader-file-size);height:var(--uploader-file-size);background:var(--uploader-action-background);margin:var(--uploader-action-margin);transition:background-color .25s;cursor:pointer}.var-uploader__action-icon[var-uploader-cover]{font-size:var(--uploader-action-icon-size)}.var-uploader__action-input{display:block;width:0;height:0;visibility:hidden}.var-uploader__preview[var-uploader-cover]{background:#000;box-shadow:none}.var-uploader__preview-video{width:var(--uploader-preview-video-width);height:var(--uploader-preview-video-height)}.var-uploader__progress{width:0%;height:100%;background-color:var(--uploader-file-progress-color);transition:all .25s ease-in-out}.var-uploader--loading:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;animation:var-uploader-loading-animation .6s infinite;background:var(--uploader-loading-background);transition:background-color .25s}.var-uploader--success{background:var(--uploader-file-indicator-success-color)}.var-uploader--error{background:var(--uploader-file-indicator-error-color)}.var-uploader--disabled{background:var(--uploader-disabled-color);color:var(--uploader-disabled-text-color);cursor:not-allowed}:root{--watermark-content-color: #808080}.var-watermark{position:relative}.var-watermark__container{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;background-repeat:repeat;color:var(--watermark-content-color)}.var-watermark--fullscreen{position:fixed} diff --git a/assets/index-09def4dc.js b/assets/index-c97018b9.js similarity index 87% rename from assets/index-09def4dc.js rename to assets/index-c97018b9.js index 29d242b310b..77cffdd09d0 100644 --- a/assets/index-09def4dc.js +++ b/assets/index-c97018b9.js @@ -1 +1 @@ -import{d as C,c as U,a as w,w as v}from"./components-3ae053cb.js";import{a as z}from"./elements-68ad626b.js";import{d as $,D as h,_ as N,e as _,f as T,w as t,v as H,as as D,an as B,F as x,al as A,m as P,q as r,U as e,N as R,Q as a,R as l}from"./index-af5fec45.js";import{S as d}from"./index-90c41552.js";import{B as F}from"./index-84d96475.js";import{d as I}from"./index-d8fbf18c.js";import{u as M,b as y,_ as V,c as j,a as q}from"./index-2b61c8d0.js";import{A as s}from"./appType-53211ea9.js";import"./logger-525ef361.js";/* empty css */import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const E={type:{type:String,default:"default"},href:String,target:String,rel:String,to:[String,Object],replace:Boolean,underline:{type:String,default:"always"},disabled:Boolean,textSize:[String,Number],textColor:String,onClick:C()},{name:O,n:Q,classes:W}=U("link"),G=$({name:O,props:E,setup(n){const f=h(()=>n.disabled?"span":n.href?"a":n.to?"router-link":"a"),m=h(()=>{const{disabled:u,href:k,target:c,to:L,replace:S,rel:b}=n;return u?{}:k?{href:k,target:c,rel:b}:L?{to:L,target:c,replace:S}:{}});function p(u){n.disabled||w(n.onClick,u)}return{tag:f,linkProps:m,n:Q,classes:W,handleClick:p,toSizeUnit:z}}});function J(n,f,m,p,u,k){return _(),T(B(n.tag),D(n.linkProps,{class:n.classes(n.n(),n.n("$--box"),n.n("$--inline-flex"),n.n(`--${n.type}`),[n.underline!=="none",n.n(`--underline-${n.underline}`)],[n.disabled,n.n("--disabled")]),style:{color:n.textColor,fontSize:n.toSizeUnit(n.textSize)},onClick:n.handleClick}),{default:t(()=>[H(n.$slots,"default")]),_:3},16,["class","style","onClick"])}const o=N(G,[["render",J]]);v(o);const K={themeColorLink:"主题色链接",defaultLink:"默认链接",primaryLink:"主要链接",infoLink:"信息链接",successLink:"成功链接",warningLink:"警告链接",dangerLink:"危险链接",mode:"链接模式",hrefLink:"#/home",toLink:"/button",withHref:"href 链接",withRouterLink:"router-link 链接",underline:"下划线",useUnderlineAlways:"始终显示",useUnderlineHove:"悬停显示",notUseUnderline:"不显示",disabledStatus:"禁用状态",customColor:"自定义颜色",linkText:"链接",slots:"默认插槽",buttonText:"跳转首页"},X={themeColorLink:"Theme Color Link",defaultLink:"Default Link",primaryLink:"Primary Link",infoLink:"Info Link",successLink:"Success Link",warningLink:"Warning Link",dangerLink:"Danger Link",mode:"Link Mode",hrefLink:"#/home?language=en-US&replace=home",toLink:"/button?language=en-US&platform=mobile&replace=button",withHref:"Href",withRouterLink:"Router Link",underline:"Underline",useUnderlineAlways:"Underline",useUnderlineHove:"Hover",notUseUnderline:"Never",disabledStatus:"Disabled Status",customColor:"Custom Color",linkText:"Link",slots:"Default Slots",buttonText:"To Home"},{add:g,use:Y,pack:i,packs:ce,merge:Le}=M(),Z=n=>{q(n),Y(n)};y("zh-CN",V);y("en-US",j);g("zh-CN",K);g("en-US",X);const he={__name:"index",setup(n){return x(Z),A(I),(f,m)=>(_(),P(R,null,[r(e(s),null,{default:t(()=>[a(l(e(i).themeColorLink),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),null,{default:t(()=>[a(l(e(i).defaultLink),1)]),_:1}),r(e(o),{type:"primary"},{default:t(()=>[a(l(e(i).primaryLink),1)]),_:1}),r(e(o),{type:"info"},{default:t(()=>[a(l(e(i).infoLink),1)]),_:1}),r(e(o),{type:"success"},{default:t(()=>[a(l(e(i).successLink),1)]),_:1}),r(e(o),{type:"warning"},{default:t(()=>[a(l(e(i).warningLink),1)]),_:1}),r(e(o),{type:"danger"},{default:t(()=>[a(l(e(i).dangerLink),1)]),_:1})]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).mode),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),{type:"primary",href:e(i).hrefLink,target:"_blank"},{default:t(()=>[a(l(e(i).withHref),1)]),_:1},8,["href"]),r(e(o),{type:"primary",to:e(i).toLink},{default:t(()=>[a(l(e(i).withRouterLink),1)]),_:1},8,["to"])]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).underline),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),{type:"primary"},{default:t(()=>[a(l(e(i).useUnderlineAlways),1)]),_:1}),r(e(o),{type:"primary",underline:"hover"},{default:t(()=>[a(l(e(i).useUnderlineHove),1)]),_:1}),r(e(o),{type:"primary",underline:"none"},{default:t(()=>[a(l(e(i).notUseUnderline),1)]),_:1})]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).disabledStatus),1)]),_:1}),r(e(o),{disabled:""},{default:t(()=>[a(l(e(i).disabledStatus),1)]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).customColor),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),{"text-color":"#009688"},{default:t(()=>[a(l(e(i).linkText),1)]),_:1}),r(e(o),{"text-color":"#ab47bc"},{default:t(()=>[a(l(e(i).linkText),1)]),_:1})]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).slots),1)]),_:1}),r(e(o),{href:e(i).hrefLink,target:"_blank",underline:"none"},{default:t(()=>[r(e(F),{type:"primary"},{default:t(()=>[a(l(e(i).buttonText),1)]),_:1})]),_:1},8,["href"])],64))}};export{he as default}; +import{d as C,c as U,a as w,w as v}from"./components-a5332e66.js";import{a as z}from"./elements-23c82371.js";import{d as $,D as h,_ as N,e as _,f as T,w as t,v as H,as as D,an as B,F as x,al as A,m as P,q as r,U as e,N as R,Q as a,R as l}from"./index-0bd4ebfc.js";import{S as d}from"./index-65cffe90.js";import{B as F}from"./index-1f1d0c91.js";import{d as I}from"./index-d8fbf18c.js";import{u as M,b as y,_ as V,c as j,a as q}from"./index-4a9c2ae2.js";import{A as s}from"./appType-a8f87391.js";import"./logger-525ef361.js";/* empty css */import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const E={type:{type:String,default:"default"},href:String,target:String,rel:String,to:[String,Object],replace:Boolean,underline:{type:String,default:"always"},disabled:Boolean,textSize:[String,Number],textColor:String,onClick:C()},{name:O,n:Q,classes:W}=U("link"),G=$({name:O,props:E,setup(n){const f=h(()=>n.disabled?"span":n.href?"a":n.to?"router-link":"a"),m=h(()=>{const{disabled:u,href:k,target:c,to:L,replace:S,rel:b}=n;return u?{}:k?{href:k,target:c,rel:b}:L?{to:L,target:c,replace:S}:{}});function p(u){n.disabled||w(n.onClick,u)}return{tag:f,linkProps:m,n:Q,classes:W,handleClick:p,toSizeUnit:z}}});function J(n,f,m,p,u,k){return _(),T(B(n.tag),D(n.linkProps,{class:n.classes(n.n(),n.n("$--box"),n.n("$--inline-flex"),n.n(`--${n.type}`),[n.underline!=="none",n.n(`--underline-${n.underline}`)],[n.disabled,n.n("--disabled")]),style:{color:n.textColor,fontSize:n.toSizeUnit(n.textSize)},onClick:n.handleClick}),{default:t(()=>[H(n.$slots,"default")]),_:3},16,["class","style","onClick"])}const o=N(G,[["render",J]]);v(o);const K={themeColorLink:"主题色链接",defaultLink:"默认链接",primaryLink:"主要链接",infoLink:"信息链接",successLink:"成功链接",warningLink:"警告链接",dangerLink:"危险链接",mode:"链接模式",hrefLink:"#/home",toLink:"/button",withHref:"href 链接",withRouterLink:"router-link 链接",underline:"下划线",useUnderlineAlways:"始终显示",useUnderlineHove:"悬停显示",notUseUnderline:"不显示",disabledStatus:"禁用状态",customColor:"自定义颜色",linkText:"链接",slots:"默认插槽",buttonText:"跳转首页"},X={themeColorLink:"Theme Color Link",defaultLink:"Default Link",primaryLink:"Primary Link",infoLink:"Info Link",successLink:"Success Link",warningLink:"Warning Link",dangerLink:"Danger Link",mode:"Link Mode",hrefLink:"#/home?language=en-US&replace=home",toLink:"/button?language=en-US&platform=mobile&replace=button",withHref:"Href",withRouterLink:"Router Link",underline:"Underline",useUnderlineAlways:"Underline",useUnderlineHove:"Hover",notUseUnderline:"Never",disabledStatus:"Disabled Status",customColor:"Custom Color",linkText:"Link",slots:"Default Slots",buttonText:"To Home"},{add:g,use:Y,pack:i,packs:ce,merge:Le}=M(),Z=n=>{q(n),Y(n)};y("zh-CN",V);y("en-US",j);g("zh-CN",K);g("en-US",X);const he={__name:"index",setup(n){return x(Z),A(I),(f,m)=>(_(),P(R,null,[r(e(s),null,{default:t(()=>[a(l(e(i).themeColorLink),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),null,{default:t(()=>[a(l(e(i).defaultLink),1)]),_:1}),r(e(o),{type:"primary"},{default:t(()=>[a(l(e(i).primaryLink),1)]),_:1}),r(e(o),{type:"info"},{default:t(()=>[a(l(e(i).infoLink),1)]),_:1}),r(e(o),{type:"success"},{default:t(()=>[a(l(e(i).successLink),1)]),_:1}),r(e(o),{type:"warning"},{default:t(()=>[a(l(e(i).warningLink),1)]),_:1}),r(e(o),{type:"danger"},{default:t(()=>[a(l(e(i).dangerLink),1)]),_:1})]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).mode),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),{type:"primary",href:e(i).hrefLink,target:"_blank"},{default:t(()=>[a(l(e(i).withHref),1)]),_:1},8,["href"]),r(e(o),{type:"primary",to:e(i).toLink},{default:t(()=>[a(l(e(i).withRouterLink),1)]),_:1},8,["to"])]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).underline),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),{type:"primary"},{default:t(()=>[a(l(e(i).useUnderlineAlways),1)]),_:1}),r(e(o),{type:"primary",underline:"hover"},{default:t(()=>[a(l(e(i).useUnderlineHove),1)]),_:1}),r(e(o),{type:"primary",underline:"none"},{default:t(()=>[a(l(e(i).notUseUnderline),1)]),_:1})]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).disabledStatus),1)]),_:1}),r(e(o),{disabled:""},{default:t(()=>[a(l(e(i).disabledStatus),1)]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).customColor),1)]),_:1}),r(e(d),{size:["2.666vmin","2.666vmin"]},{default:t(()=>[r(e(o),{"text-color":"#009688"},{default:t(()=>[a(l(e(i).linkText),1)]),_:1}),r(e(o),{"text-color":"#ab47bc"},{default:t(()=>[a(l(e(i).linkText),1)]),_:1})]),_:1}),r(e(s),null,{default:t(()=>[a(l(e(i).slots),1)]),_:1}),r(e(o),{href:e(i).hrefLink,target:"_blank",underline:"none"},{default:t(()=>[r(e(F),{type:"primary"},{default:t(()=>[a(l(e(i).buttonText),1)]),_:1})]),_:1},8,["href"])],64))}};export{he as default}; diff --git a/assets/index-15a53841.js b/assets/index-d1d3bbd5.js similarity index 79% rename from assets/index-15a53841.js rename to assets/index-d1d3bbd5.js index d041501ecb9..ed73f348971 100644 --- a/assets/index-15a53841.js +++ b/assets/index-d1d3bbd5.js @@ -1 +1 @@ -import{v as e}from"./index-237d061b.js";import{_ as m,F as u,e as d,m as h,q as o,w as l,U as a,P as t,p as s,N as v,Q as i,R as n}from"./index-af5fec45.js";import{u as x,b as _,_ as y,c as z,a as f}from"./index-2b61c8d0.js";import{A as r}from"./appType-53211ea9.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./shared-de177aa1.js";import"./components-3ae053cb.js";const L={basicUsage:"基本使用",backgroundImageLazyLoad:"背景图懒加载"},k={basicUsage:"Basic Usage",backgroundImageLazyLoad:"Background Image Lazy Load"},{add:g,use:N,pack:p,packs:R,merge:G}=x(),U=c=>{f(c),N(c)};_("zh-CN",y);_("en-US",z);g("zh-CN",L);g("en-US",k);const b={class:"lazy-example-cat"},j={class:"lazy-example-cat"},C={class:"lazy-example-cat"},B={class:"lazy-example-cat"},I={class:"lazy-example-cat"},w={class:"lazy-example-cat"},S={__name:"index",setup(c){return u(U),(V,A)=>(d(),h(v,null,[o(a(r),null,{default:l(()=>[i(n(a(p).basicUsage),1)]),_:1}),t(s("img",b,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",j,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",C,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",B,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",I,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),o(a(r),null,{default:l(()=>[i(n(a(p).backgroundImageLazyLoad),1)]),_:1}),t(s("div",w,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg","background-image"]])],64))}},H=m(S,[["__scopeId","data-v-54c529f2"]]);export{H as default}; +import{v as e}from"./index-817b7dbd.js";import{_ as m,F as u,e as d,m as h,q as o,w as l,U as a,P as t,p as s,N as v,Q as i,R as n}from"./index-0bd4ebfc.js";import{u as x,b as _,_ as y,c as z,a as f}from"./index-4a9c2ae2.js";import{A as r}from"./appType-a8f87391.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./shared-a3ff1edc.js";import"./components-a5332e66.js";const L={basicUsage:"基本使用",backgroundImageLazyLoad:"背景图懒加载"},k={basicUsage:"Basic Usage",backgroundImageLazyLoad:"Background Image Lazy Load"},{add:g,use:N,pack:p,packs:R,merge:G}=x(),U=c=>{f(c),N(c)};_("zh-CN",y);_("en-US",z);g("zh-CN",L);g("en-US",k);const b={class:"lazy-example-cat"},j={class:"lazy-example-cat"},C={class:"lazy-example-cat"},B={class:"lazy-example-cat"},I={class:"lazy-example-cat"},w={class:"lazy-example-cat"},S={__name:"index",setup(c){return u(U),(V,A)=>(d(),h(v,null,[o(a(r),null,{default:l(()=>[i(n(a(p).basicUsage),1)]),_:1}),t(s("img",b,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",j,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",C,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",B,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),t(s("img",I,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg"]]),o(a(r),null,{default:l(()=>[i(n(a(p).backgroundImageLazyLoad),1)]),_:1}),t(s("div",w,null,512),[[a(e),"https://varlet.gitee.io/varlet-ui/cat.jpg","background-image"]])],64))}},H=m(S,[["__scopeId","data-v-54c529f2"]]);export{H as default}; diff --git a/assets/index-b8aa2ddd.js b/assets/index-d2b5357e.js similarity index 82% rename from assets/index-b8aa2ddd.js rename to assets/index-d2b5357e.js index 9eb9760aaa8..aec28c054c1 100644 --- a/assets/index-b8aa2ddd.js +++ b/assets/index-d2b5357e.js @@ -1 +1 @@ -import{R as s}from"./index-c4d1ad92.js";import{S as f}from"./index-0ad054ca.js";import{d as R}from"./index-d8fbf18c.js";import{W as z,F as S,al as b,e as U,m as C,q as t,w as r,U as e,N,Q as u,R as i}from"./index-af5fec45.js";import{u as y,b as c,_ as I,c as T,a as v}from"./index-2b61c8d0.js";import{A as m}from"./appType-53211ea9.js";import"./index-057aa4ba.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./provide-c979a783.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-a6f8e46a.js";import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const k={baseRating:"基本使用",customizeTheTotalNumberOfRatingICONS:"自定义评分总数",customizeRatingIconStyles:"自定义评分图标样式",customizeRatingIconSize:"自定义评分图标尺寸与间隔",useHalfAStar:"使用半星",disableTheRating:"禁用与只读",listeningEvents:"监听事件",validate:"字段校验",rateMessage:"必须大于2",clearable:"可清空"},A={baseRating:"Basic Usage",customizeTheTotalNumberOfRatingICONS:"Customize Total Rating",customizeRatingIconStyles:"Customize Rating Icon Styles",customizeRatingIconSize:"Customize Scoring Icon Size And Gap",useHalfAStar:"Allows Half Rating",disableTheRating:"Disable And Readonly",listeningEvents:"Listen Events",validate:"Validate",rateMessage:"It has to be greater than 2",clearable:"Can Be Cleared"},{add:V,use:h,pack:n,packs:Y,merge:Z}=y(),x=d=>{v(d),h(d)};c("zh-CN",I);c("en-US",T);V("zh-CN",k);V("en-US",A);const _={__name:"index",setup(d){const o=z({score:3,score1:3,score2:3,score3:3,score4:3,score5:3,score6:3.5,score7:3,score8:3,score9:3,score10:3,score11:3,score12:3.5});function g(p){f({content:`click ${p}`,position:"top"})}return S(x),b(R),(p,a)=>(U(),C(N,null,[t(e(m),null,{default:r(()=>[u(i(e(n).baseRating),1)]),_:1}),t(e(s),{modelValue:o.score,"onUpdate:modelValue":a[0]||(a[0]=l=>o.score=l)},null,8,["modelValue"]),t(e(s),{modelValue:o.score,"onUpdate:modelValue":a[1]||(a[1]=l=>o.score=l),icon:"thumb-up","empty-icon":"thumb-up-outline"},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).customizeTheTotalNumberOfRatingICONS),1)]),_:1}),t(e(s),{modelValue:o.score1,"onUpdate:modelValue":a[2]||(a[2]=l=>o.score1=l),count:8},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).customizeRatingIconStyles),1)]),_:1}),t(e(s),{modelValue:o.score3,"onUpdate:modelValue":a[3]||(a[3]=l=>o.score3=l),icon:"heart","empty-icon":"heart-outline",color:"red","empty-color":"red"},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).customizeRatingIconSize),1)]),_:1}),t(e(s),{modelValue:o.score4,"onUpdate:modelValue":a[4]||(a[4]=l=>o.score4=l),size:"8vmin",gap:"1vmin"},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).useHalfAStar),1)]),_:1}),t(e(s),{modelValue:o.score6,"onUpdate:modelValue":a[5]||(a[5]=l=>o.score6=l),count:8,half:""},null,8,["modelValue"]),t(e(s),{modelValue:o.score6,"onUpdate:modelValue":a[6]||(a[6]=l=>o.score6=l),count:8,icon:"heart","half-icon":"heart-half-full","empty-icon":"heart-outline",color:"red",half:"",style:{"margin-top":"4px"}},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).disableTheRating),1)]),_:1}),t(e(s),{modelValue:o.score7,"onUpdate:modelValue":a[7]||(a[7]=l=>o.score7=l),disabled:""},null,8,["modelValue"]),t(e(s),{modelValue:o.score8,"onUpdate:modelValue":a[8]||(a[8]=l=>o.score8=l),readonly:""},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).clearable),1)]),_:1}),t(e(s),{modelValue:o.score12,"onUpdate:modelValue":a[9]||(a[9]=l=>o.score12=l),clearable:"",half:""},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).listeningEvents),1)]),_:1}),t(e(s),{modelValue:o.score10,"onUpdate:modelValue":a[10]||(a[10]=l=>o.score10=l),onChange:g},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).validate),1)]),_:1}),t(e(s),{rules:[l=>l>=3||e(n).rateMessage],modelValue:o.score11,"onUpdate:modelValue":a[11]||(a[11]=l=>o.score11=l)},null,8,["rules","modelValue"])],64))}};export{_ as default}; +import{R as s}from"./index-e122297f.js";import{S as f}from"./index-1ed406cf.js";import{d as R}from"./index-d8fbf18c.js";import{W as z,F as S,al as b,e as U,m as C,q as t,w as r,U as e,N,Q as u,R as i}from"./index-0bd4ebfc.js";import{u as y,b as c,_ as I,c as T,a as v}from"./index-4a9c2ae2.js";import{A as m}from"./appType-a8f87391.js";import"./index-2c5b74fa.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./provide-4fc67263.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-1e0bee81.js";import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const k={baseRating:"基本使用",customizeTheTotalNumberOfRatingICONS:"自定义评分总数",customizeRatingIconStyles:"自定义评分图标样式",customizeRatingIconSize:"自定义评分图标尺寸与间隔",useHalfAStar:"使用半星",disableTheRating:"禁用与只读",listeningEvents:"监听事件",validate:"字段校验",rateMessage:"必须大于2",clearable:"可清空"},A={baseRating:"Basic Usage",customizeTheTotalNumberOfRatingICONS:"Customize Total Rating",customizeRatingIconStyles:"Customize Rating Icon Styles",customizeRatingIconSize:"Customize Scoring Icon Size And Gap",useHalfAStar:"Allows Half Rating",disableTheRating:"Disable And Readonly",listeningEvents:"Listen Events",validate:"Validate",rateMessage:"It has to be greater than 2",clearable:"Can Be Cleared"},{add:V,use:h,pack:n,packs:Y,merge:Z}=y(),x=d=>{v(d),h(d)};c("zh-CN",I);c("en-US",T);V("zh-CN",k);V("en-US",A);const _={__name:"index",setup(d){const o=z({score:3,score1:3,score2:3,score3:3,score4:3,score5:3,score6:3.5,score7:3,score8:3,score9:3,score10:3,score11:3,score12:3.5});function g(p){f({content:`click ${p}`,position:"top"})}return S(x),b(R),(p,a)=>(U(),C(N,null,[t(e(m),null,{default:r(()=>[u(i(e(n).baseRating),1)]),_:1}),t(e(s),{modelValue:o.score,"onUpdate:modelValue":a[0]||(a[0]=l=>o.score=l)},null,8,["modelValue"]),t(e(s),{modelValue:o.score,"onUpdate:modelValue":a[1]||(a[1]=l=>o.score=l),icon:"thumb-up","empty-icon":"thumb-up-outline"},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).customizeTheTotalNumberOfRatingICONS),1)]),_:1}),t(e(s),{modelValue:o.score1,"onUpdate:modelValue":a[2]||(a[2]=l=>o.score1=l),count:8},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).customizeRatingIconStyles),1)]),_:1}),t(e(s),{modelValue:o.score3,"onUpdate:modelValue":a[3]||(a[3]=l=>o.score3=l),icon:"heart","empty-icon":"heart-outline",color:"red","empty-color":"red"},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).customizeRatingIconSize),1)]),_:1}),t(e(s),{modelValue:o.score4,"onUpdate:modelValue":a[4]||(a[4]=l=>o.score4=l),size:"8vmin",gap:"1vmin"},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).useHalfAStar),1)]),_:1}),t(e(s),{modelValue:o.score6,"onUpdate:modelValue":a[5]||(a[5]=l=>o.score6=l),count:8,half:""},null,8,["modelValue"]),t(e(s),{modelValue:o.score6,"onUpdate:modelValue":a[6]||(a[6]=l=>o.score6=l),count:8,icon:"heart","half-icon":"heart-half-full","empty-icon":"heart-outline",color:"red",half:"",style:{"margin-top":"4px"}},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).disableTheRating),1)]),_:1}),t(e(s),{modelValue:o.score7,"onUpdate:modelValue":a[7]||(a[7]=l=>o.score7=l),disabled:""},null,8,["modelValue"]),t(e(s),{modelValue:o.score8,"onUpdate:modelValue":a[8]||(a[8]=l=>o.score8=l),readonly:""},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).clearable),1)]),_:1}),t(e(s),{modelValue:o.score12,"onUpdate:modelValue":a[9]||(a[9]=l=>o.score12=l),clearable:"",half:""},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).listeningEvents),1)]),_:1}),t(e(s),{modelValue:o.score10,"onUpdate:modelValue":a[10]||(a[10]=l=>o.score10=l),onChange:g},null,8,["modelValue"]),t(e(m),null,{default:r(()=>[u(i(e(n).validate),1)]),_:1}),t(e(s),{rules:[l=>l>=3||e(n).rateMessage],modelValue:o.score11,"onUpdate:modelValue":a[11]||(a[11]=l=>o.score11=l)},null,8,["rules","modelValue"])],64))}};export{_ as default}; diff --git a/assets/index-914cca28.js b/assets/index-d4b32961.js similarity index 79% rename from assets/index-914cca28.js rename to assets/index-d4b32961.js index f9d701f6c20..483043d108c 100644 --- a/assets/index-914cca28.js +++ b/assets/index-d4b32961.js @@ -1 +1 @@ -import{D as u}from"./index-57d211a2.js";import{B as r}from"./index-84d96475.js";import{I as D}from"./index-057aa4ba.js";import{S as m}from"./index-0ad054ca.js";import{C as g}from"./index-4237591d.js";import{d as A}from"./index-d8fbf18c.js";import{_ as $,W as z,aW as I,F as M,al as F,e as P,m as R,q as t,w as a,U as e,aX as y,N as V,Q as n,R as l}from"./index-af5fec45.js";import{u as W,b as _,_ as H,c as L,a as q}from"./index-2b61c8d0.js";import{A as B}from"./appType-53211ea9.js";import"./index-d24e7e49.js";import"./components-3ae053cb.js";import"./lock-7a098446.js";import"./index-e95cf05b.js";import"./zIndex-a2732bb2.js";import"./provide-c3581da5.js";/* empty css */import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";const E={functionCall:"函数调用",basicUsage:"基本使用",modifyTitle:"修改标题",hideButton:"隐藏按钮",handleUserBehavior:"处理用户行为",asyncClose:"异步关闭",componentCall:"组件调用",title:"兰亭序",message:"兰亭临帖 行书如行云流水",customSlots:"自定义插槽",asyncCloseProgress:"正在异步关闭"},Q={functionCall:"Function Call",basicUsage:"Basic Usage",modifyTitle:"Modify Title",hideButton:"Hide Button",handleUserBehavior:"Handle User Behavior",asyncClose:"Asynchronous closing",componentCall:"Component Call",title:"Beat It",message:"Don't Wanna See No Blood, Don't Be A Macho Man",customSlots:"Custom Slots",asyncCloseProgress:"Asynchronous shutdown in progress"},{add:h,use:X,pack:o,packs:ye,merge:ve}=W(),j=d=>{q(d),X(d)};_("zh-CN",H);_("en-US",L);h("zh-CN",E);h("en-US",Q);const G={__name:"index",setup(d){const C=u.Component,U=z({show:!1,show1:!1,show2:!1}),{show:c,show1:f,show2:p}=I(U),v={confirm:()=>m.success("confirm"),cancel:()=>m.error("cancel"),close:()=>m.info("close")};function b(){u(o.value.message)}async function S(){v[await u(o.value.message)]()}function x(){u({title:o.value.title,message:o.value.message})}function N(){u({message:o.value.message,confirmButton:!1,cancelButton:!1})}function w(k,s){m.loading(o.value.asyncCloseProgress),setTimeout(()=>{v[k](),s()},1e3)}function T(){u({message:o.value.message,onBeforeClose:w})}return M(j),F(A),(k,s)=>(P(),R(V,null,[t(e(B),null,{default:a(()=>[n(l(e(o).functionCall),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:b},{default:a(()=>[n(l(e(o).basicUsage),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:x},{default:a(()=>[n(l(e(o).modifyTitle),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:N},{default:a(()=>[n(l(e(o).hideButton),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:S},{default:a(()=>[n(l(e(o).handleUserBehavior),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:T},{default:a(()=>[n(l(e(o).asyncClose),1)]),_:1}),t(e(B),null,{default:a(()=>[n(l(e(o).componentCall),1)]),_:1}),t(e(r),{type:"warning",block:"",onClick:s[0]||(s[0]=i=>c.value=!0)},{default:a(()=>[n(l(e(o).basicUsage),1)]),_:1}),t(e(C),{show:e(c),"onUpdate:show":s[1]||(s[1]=i=>y(c)?c.value=i:null),title:e(o).title,message:e(o).message,onConfirm:s[2]||(s[2]=()=>e(m).success("confirm")),onCancel:s[3]||(s[3]=()=>e(m).error("cancel")),onClosed:s[4]||(s[4]=()=>e(m).info("closed"))},null,8,["show","title","message"]),t(e(r),{type:"warning",block:"",onClick:s[5]||(s[5]=i=>f.value=!0)},{default:a(()=>[n(l(e(o).asyncClose),1)]),_:1}),t(e(C),{show:e(f),"onUpdate:show":s[6]||(s[6]=i=>y(f)?f.value=i:null),title:e(o).title,message:e(o).message,onBeforeClose:w},null,8,["show","title","message"]),t(e(r),{type:"warning",block:"",onClick:s[7]||(s[7]=i=>p.value=!0)},{default:a(()=>[n(l(e(o).customSlots),1)]),_:1}),t(e(C),{show:e(p),"onUpdate:show":s[8]||(s[8]=i=>y(p)?p.value=i:null)},{title:a(()=>[t(e(D),{name:"information",color:"#2979ff"})]),default:a(()=>[t(e(g),null,{default:a(()=>[n(l(e(o).message),1)]),_:1}),t(e(g),null,{default:a(()=>[n(l(e(o).message),1)]),_:1}),t(e(g),null,{default:a(()=>[n(l(e(o).message),1)]),_:1})]),_:1},8,["show"])],64))}},we=$(G,[["__scopeId","data-v-9510af88"]]);export{we as default}; +import{D as u}from"./index-0770059a.js";import{B as r}from"./index-1f1d0c91.js";import{I as D}from"./index-2c5b74fa.js";import{S as m}from"./index-1ed406cf.js";import{C as g}from"./index-3f170ae4.js";import{d as A}from"./index-d8fbf18c.js";import{_ as $,W as z,aW as I,F as M,al as F,e as P,m as R,q as t,w as a,U as e,aX as y,N as V,Q as n,R as l}from"./index-0bd4ebfc.js";import{u as W,b as _,_ as H,c as L,a as q}from"./index-4a9c2ae2.js";import{A as B}from"./appType-a8f87391.js";import"./index-0e439e92.js";import"./components-a5332e66.js";import"./lock-e6f4e779.js";import"./index-9eb15296.js";import"./zIndex-976ced0e.js";import"./provide-f823f5cd.js";/* empty css */import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const E={functionCall:"函数调用",basicUsage:"基本使用",modifyTitle:"修改标题",hideButton:"隐藏按钮",handleUserBehavior:"处理用户行为",asyncClose:"异步关闭",componentCall:"组件调用",title:"兰亭序",message:"兰亭临帖 行书如行云流水",customSlots:"自定义插槽",asyncCloseProgress:"正在异步关闭"},Q={functionCall:"Function Call",basicUsage:"Basic Usage",modifyTitle:"Modify Title",hideButton:"Hide Button",handleUserBehavior:"Handle User Behavior",asyncClose:"Asynchronous closing",componentCall:"Component Call",title:"Beat It",message:"Don't Wanna See No Blood, Don't Be A Macho Man",customSlots:"Custom Slots",asyncCloseProgress:"Asynchronous shutdown in progress"},{add:h,use:X,pack:o,packs:ye,merge:ve}=W(),j=d=>{q(d),X(d)};_("zh-CN",H);_("en-US",L);h("zh-CN",E);h("en-US",Q);const G={__name:"index",setup(d){const C=u.Component,U=z({show:!1,show1:!1,show2:!1}),{show:c,show1:f,show2:p}=I(U),v={confirm:()=>m.success("confirm"),cancel:()=>m.error("cancel"),close:()=>m.info("close")};function b(){u(o.value.message)}async function S(){v[await u(o.value.message)]()}function x(){u({title:o.value.title,message:o.value.message})}function N(){u({message:o.value.message,confirmButton:!1,cancelButton:!1})}function w(k,s){m.loading(o.value.asyncCloseProgress),setTimeout(()=>{v[k](),s()},1e3)}function T(){u({message:o.value.message,onBeforeClose:w})}return M(j),F(A),(k,s)=>(P(),R(V,null,[t(e(B),null,{default:a(()=>[n(l(e(o).functionCall),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:b},{default:a(()=>[n(l(e(o).basicUsage),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:x},{default:a(()=>[n(l(e(o).modifyTitle),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:N},{default:a(()=>[n(l(e(o).hideButton),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:S},{default:a(()=>[n(l(e(o).handleUserBehavior),1)]),_:1}),t(e(r),{type:"primary",block:"",onClick:T},{default:a(()=>[n(l(e(o).asyncClose),1)]),_:1}),t(e(B),null,{default:a(()=>[n(l(e(o).componentCall),1)]),_:1}),t(e(r),{type:"warning",block:"",onClick:s[0]||(s[0]=i=>c.value=!0)},{default:a(()=>[n(l(e(o).basicUsage),1)]),_:1}),t(e(C),{show:e(c),"onUpdate:show":s[1]||(s[1]=i=>y(c)?c.value=i:null),title:e(o).title,message:e(o).message,onConfirm:s[2]||(s[2]=()=>e(m).success("confirm")),onCancel:s[3]||(s[3]=()=>e(m).error("cancel")),onClosed:s[4]||(s[4]=()=>e(m).info("closed"))},null,8,["show","title","message"]),t(e(r),{type:"warning",block:"",onClick:s[5]||(s[5]=i=>f.value=!0)},{default:a(()=>[n(l(e(o).asyncClose),1)]),_:1}),t(e(C),{show:e(f),"onUpdate:show":s[6]||(s[6]=i=>y(f)?f.value=i:null),title:e(o).title,message:e(o).message,onBeforeClose:w},null,8,["show","title","message"]),t(e(r),{type:"warning",block:"",onClick:s[7]||(s[7]=i=>p.value=!0)},{default:a(()=>[n(l(e(o).customSlots),1)]),_:1}),t(e(C),{show:e(p),"onUpdate:show":s[8]||(s[8]=i=>y(p)?p.value=i:null)},{title:a(()=>[t(e(D),{name:"information",color:"#2979ff"})]),default:a(()=>[t(e(g),null,{default:a(()=>[n(l(e(o).message),1)]),_:1}),t(e(g),null,{default:a(()=>[n(l(e(o).message),1)]),_:1}),t(e(g),null,{default:a(()=>[n(l(e(o).message),1)]),_:1})]),_:1},8,["show"])],64))}},we=$(G,[["__scopeId","data-v-9510af88"]]);export{we as default}; diff --git a/assets/index-939959a8.js b/assets/index-d5ac26b6.js similarity index 95% rename from assets/index-939959a8.js rename to assets/index-d5ac26b6.js index ac1eea81995..5f7b1c65ab6 100644 --- a/assets/index-939959a8.js +++ b/assets/index-d5ac26b6.js @@ -1 +1 @@ -import{I as N}from"./index-057aa4ba.js";import{d as C,c as I,a as k,w as T}from"./components-3ae053cb.js";import{d as P,r as S,D as F,aN as g,aC as V,at as W,aB as R,ab as q,_ as L,b as U,e as n,m as i,p as s,x as l,v as b,y as a,R as $,t,f as B,N as j,au as A}from"./index-af5fec45.js";const G={value:{type:null,required:!0},id:{type:String,default:""},isFocus:Boolean,size:{type:String,default:"normal"},variant:{type:String,default:"standard"},placeholder:String,line:{type:Boolean,default:!0},hint:{type:Boolean,default:!0},textColor:String,focusColor:String,blurColor:String,errorMessage:String,formDisabled:Boolean,disabled:Boolean,clearable:Boolean,cursor:String,composing:Boolean,onClick:C(),onClear:C()},{name:H,n:v,classes:J}=I("field-decorator"),K=P({name:H,components:{VarIcon:N},props:G,setup(e,{slots:d}){const p=S(null),u=S(""),f=F(()=>e.hint&&(!g(e.value)||e.isFocus||d["prepend-icon"])),y=F(()=>e.errorMessage?void 0:e.isFocus?e.focusColor:e.blurColor);V(r),W(r),R(r);function h(){const{hint:o,value:m,composing:c}=e;if(!o&&(!g(m)||c))return v("--placeholder-hidden");if(f.value)return v("--placeholder-hint")}function r(){const{size:o,hint:m,variant:c,placeholder:z}=e;if(!z||!m||c!=="outlined"){u.value="";return}const w=q(p.value),E=`var(--field-decorator-outlined-${o}-placeholder-space)`;u.value=`calc(${w.width} * 0.75 + ${E} * 2)`}function D(o){k(e.onClear,o)}function M(o){k(e.onClick,o)}return{placeholderTextEl:p,color:y,legendWidth:u,isFloating:f,computePlaceholderState:h,n:v,classes:J,isEmpty:g,handleClear:D,handleClick:M}}});const O=["for"];function Q(e,d,p,u,f,y){const h=U("var-icon");return n(),i("div",{class:l(e.classes(e.n(),e.n("$--box"),e.n(`--${e.variant}`),[e.size==="small",e.n("--small")],[e.disabled,e.n("--disabled")])),onClick:d[0]||(d[0]=(...r)=>e.handleClick&&e.handleClick(...r))},[s("div",{class:l(e.classes(e.n("controller"),[e.isFocus,e.n("--focus")],[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:a({color:e.color,cursor:e.cursor,overflow:e.isFloating?"visible":"hidden"})},[s("div",{class:l(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[b(e.$slots,"prepend-icon")],2),s("div",{class:l(e.classes(e.n("middle"),[!e.hint,e.n("--middle-non-hint")]))},[b(e.$slots,"default")],2),e.placeholder&&e.hint?(n(),i("label",{key:0,class:l(e.classes(e.n("placeholder"),e.n("$--ellipsis"),[e.isFocus,e.n("--focus")],[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],e.computePlaceholderState())),style:a({color:e.color}),for:e.id},[s("span",null,$(e.placeholder),1)],14,O)):t("",!0),s("div",{class:l(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[e.clearable&&!e.isEmpty(e.value)?(n(),B(h,{key:0,class:l(e.n("clear-icon")),"var-field-decorator-cover":"",name:"close-circle",onClick:e.handleClear},null,8,["class","onClick"])):t("",!0),b(e.$slots,"append-icon")],2)],6),e.line?(n(),i(j,{key:0},[e.variant==="outlined"?(n(),i("fieldset",{key:0,class:l(e.classes(e.n("line"),[e.isFocus,e.n("--line-focus")],[e.errorMessage,e.n("--line-error")],[e.formDisabled||e.disabled,e.n("--line-disabled")])),style:a({borderColor:e.color})},[s("legend",{class:l(e.classes(e.n("line-legend"),[e.isFloating,e.n("line-legend--hint")])),style:a({width:e.legendWidth})},[e.placeholder&&e.hint?(n(),B(A,{key:0,to:"body"},[s("span",{ref:"placeholderTextEl",class:l(e.classes(e.n("placeholder-text"),e.n("$--ellipsis"),[e.size==="small",e.n("placeholder-text--small")]))},$(e.placeholder),3)])):t("",!0)],6)],6)):(n(),i("div",{key:1,class:l(e.classes(e.n("line"),[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:a({background:e.errorMessage?void 0:e.blurColor})},[s("div",{class:l(e.classes(e.n("dot"),[e.isFocus,e.n("--line-focus")],[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:a({background:e.errorMessage?void 0:e.focusColor})},null,6)],6))],64)):t("",!0)],2)}const X=L(K,[["render",Q]]);T(X);export{X as F,G as p}; +import{I as N}from"./index-2c5b74fa.js";import{d as C,c as I,a as k,w as T}from"./components-a5332e66.js";import{d as P,r as S,D as F,aN as g,aC as V,at as W,aB as R,ab as q,_ as L,b as U,e as n,m as i,p as s,x as l,v as b,y as a,R as $,t,f as B,N as j,au as A}from"./index-0bd4ebfc.js";const G={value:{type:null,required:!0},id:{type:String,default:""},isFocus:Boolean,size:{type:String,default:"normal"},variant:{type:String,default:"standard"},placeholder:String,line:{type:Boolean,default:!0},hint:{type:Boolean,default:!0},textColor:String,focusColor:String,blurColor:String,errorMessage:String,formDisabled:Boolean,disabled:Boolean,clearable:Boolean,cursor:String,composing:Boolean,onClick:C(),onClear:C()},{name:H,n:v,classes:J}=I("field-decorator"),K=P({name:H,components:{VarIcon:N},props:G,setup(e,{slots:d}){const p=S(null),u=S(""),f=F(()=>e.hint&&(!g(e.value)||e.isFocus||d["prepend-icon"])),y=F(()=>e.errorMessage?void 0:e.isFocus?e.focusColor:e.blurColor);V(r),W(r),R(r);function h(){const{hint:o,value:m,composing:c}=e;if(!o&&(!g(m)||c))return v("--placeholder-hidden");if(f.value)return v("--placeholder-hint")}function r(){const{size:o,hint:m,variant:c,placeholder:z}=e;if(!z||!m||c!=="outlined"){u.value="";return}const w=q(p.value),E=`var(--field-decorator-outlined-${o}-placeholder-space)`;u.value=`calc(${w.width} * 0.75 + ${E} * 2)`}function D(o){k(e.onClear,o)}function M(o){k(e.onClick,o)}return{placeholderTextEl:p,color:y,legendWidth:u,isFloating:f,computePlaceholderState:h,n:v,classes:J,isEmpty:g,handleClear:D,handleClick:M}}});const O=["for"];function Q(e,d,p,u,f,y){const h=U("var-icon");return n(),i("div",{class:l(e.classes(e.n(),e.n("$--box"),e.n(`--${e.variant}`),[e.size==="small",e.n("--small")],[e.disabled,e.n("--disabled")])),onClick:d[0]||(d[0]=(...r)=>e.handleClick&&e.handleClick(...r))},[s("div",{class:l(e.classes(e.n("controller"),[e.isFocus,e.n("--focus")],[e.errorMessage,e.n("--error")],[e.formDisabled||e.disabled,e.n("--disabled")])),style:a({color:e.color,cursor:e.cursor,overflow:e.isFloating?"visible":"hidden"})},[s("div",{class:l(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[b(e.$slots,"prepend-icon")],2),s("div",{class:l(e.classes(e.n("middle"),[!e.hint,e.n("--middle-non-hint")]))},[b(e.$slots,"default")],2),e.placeholder&&e.hint?(n(),i("label",{key:0,class:l(e.classes(e.n("placeholder"),e.n("$--ellipsis"),[e.isFocus,e.n("--focus")],[e.formDisabled||e.disabled,e.n("--disabled")],[e.errorMessage,e.n("--error")],e.computePlaceholderState())),style:a({color:e.color}),for:e.id},[s("span",null,$(e.placeholder),1)],14,O)):t("",!0),s("div",{class:l(e.classes(e.n("icon"),[!e.hint,e.n("--icon-non-hint")]))},[e.clearable&&!e.isEmpty(e.value)?(n(),B(h,{key:0,class:l(e.n("clear-icon")),"var-field-decorator-cover":"",name:"close-circle",onClick:e.handleClear},null,8,["class","onClick"])):t("",!0),b(e.$slots,"append-icon")],2)],6),e.line?(n(),i(j,{key:0},[e.variant==="outlined"?(n(),i("fieldset",{key:0,class:l(e.classes(e.n("line"),[e.isFocus,e.n("--line-focus")],[e.errorMessage,e.n("--line-error")],[e.formDisabled||e.disabled,e.n("--line-disabled")])),style:a({borderColor:e.color})},[s("legend",{class:l(e.classes(e.n("line-legend"),[e.isFloating,e.n("line-legend--hint")])),style:a({width:e.legendWidth})},[e.placeholder&&e.hint?(n(),B(A,{key:0,to:"body"},[s("span",{ref:"placeholderTextEl",class:l(e.classes(e.n("placeholder-text"),e.n("$--ellipsis"),[e.size==="small",e.n("placeholder-text--small")]))},$(e.placeholder),3)])):t("",!0)],6)],6)):(n(),i("div",{key:1,class:l(e.classes(e.n("line"),[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:a({background:e.errorMessage?void 0:e.blurColor})},[s("div",{class:l(e.classes(e.n("dot"),[e.isFocus,e.n("--line-focus")],[e.formDisabled||e.disabled,e.n("--line-disabled")],[e.errorMessage,e.n("--line-error")])),style:a({background:e.errorMessage?void 0:e.focusColor})},null,6)],6))],64)):t("",!0)],2)}const X=L(K,[["render",Q]]);T(X);export{X as F,G as p}; diff --git a/assets/index-1c255254.js b/assets/index-d63aa168.js similarity index 98% rename from assets/index-1c255254.js rename to assets/index-d63aa168.js index 2b20391fb4d..375bfac4fb6 100644 --- a/assets/index-1c255254.js +++ b/assets/index-d63aa168.js @@ -1 +1 @@ -import{B as b}from"./index-84d96475.js";import{p as Nt,P as At}from"./index-d24e7e49.js";import{d as Et,r as N,D as H,b4 as Vt,G as lt,T as Ut,aD as Dt,ba as It,_ as Rt,b as Yt,e as A,f as zt,w as o,p as M,as as it,m as V,x as C,v as j,q as c,Q as m,R as h,t as Ht,y as Y,N as X,O as rt,M as Kt,an as Lt,W as Wt,n as Ft,a2 as qt,F as Gt,al as Qt,U as n}from"./index-af5fec45.js";import{d as K,p as jt,g as Jt,c as Xt,a as w,m as Zt,w as st}from"./components-3ae053cb.js";import{t as ct,f as J}from"./elements-68ad626b.js";import{p as _t,u as te,b as ut,_ as ee,c as xe,a as ne}from"./index-2b61c8d0.js";import{S as E}from"./index-0ad054ca.js";import{S as dt}from"./index-90c41552.js";import{d as le}from"./index-d8fbf18c.js";import{A as $}from"./appType-53211ea9.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./lock-7a098446.js";import"./zIndex-a2732bb2.js";import"./provide-c3581da5.js";import"./logger-525ef361.js";import"./index-057aa4ba.js";const ie={modelValue:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]},title:String,textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},childrenKey:{type:String,default:"children"},toolbar:{type:Boolean,default:!0},cascade:Boolean,optionHeight:{type:[Number,String],default:44},optionCount:{type:[Number,String],default:6},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,dynamic:Boolean,onChange:K(),onConfirm:K(),onCancel:K(),"onUpdate:modelValue":K(),...jt(Nt,["show","onUpdate:show","closeOnClickOverlay","teleport","safeArea","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])},{name:re,n:ce,classes:de}=Xt("picker"),at=300,ae=15,ot=200,oe=1e3;let ht=0;const he=Et({name:re,components:{VarButton:b,VarPopup:At},inheritAttrs:!1,props:ie,setup(e){const p=Jt(e,"modelValue"),u=N([]),i=H(()=>ct(e.optionHeight)),k=H(()=>ct(e.optionCount)),v=H(()=>k.value*i.value/2-i.value/2),f=H(()=>k.value*i.value),{prevY:r,moveY:d,dragging:D,startTouch:z,moveTouch:W,endTouch:F}=Vt();let T=[];_(),lt(()=>e.columns,_,{deep:!0}),lt(()=>p.value,tt);function s(t){return{text:e.textKey,value:e.valueKey,children:e.childrenKey}[t]}function a(t){return t[s("value")]??t[s("text")]}function O(t){T=[...t]}function pt(t){return t.map(x=>{const l={id:ht++,prevY:0,momentumPrevY:0,touching:!1,translate:v.value,index:0,duration:0,momentumTime:0,column:x,scrollEl:null,scrolling:!1};return B(l),l})}function ft(t){const x=[];return q(x,t),x}function q(t,x){if(x.length){const l={id:ht++,prevY:0,momentumPrevY:0,touching:!1,translate:v.value,index:0,duration:0,momentumTime:0,column:x,scrollEl:null,scrolling:!1};t.push(l),B(l),q(t,l.column[l.index][s("children")]??[])}}function Z(t){u.value.splice(u.value.indexOf(t)+1),q(u.value,t.column[t.index][s("children")]??[])}function _(){u.value=e.cascade?ft(e.columns):pt(e.columns),tt()}function tt(){u.value.forEach((x,l)=>{const S=x.column.findIndex(P=>p.value[l]===a(P));x.index=S===-1?0:S,B(x)});const{indexes:t}=I();O(t)}function vt(t,x){x.scrollEl=t}function gt(t){w(e["onUpdate:show"],t)}function kt(t){const x=v.value-t.column.length*i.value,l=i.value+v.value;t.translate=Dt(t.translate,x,l)}function G(t,x){const l=Math.round((v.value-x)/i.value);return It(l,t.column)}function Ct(t){return t.translate=v.value-t.index*i.value,t.translate}function I(){const t=[],x=[],l=[];return u.value.forEach(({column:S,index:P})=>{const R=S[P];t.push(a(R)),x.push(P),l.push(R)}),{values:t,indexes:x,options:l}}function B(t,x=0){Ct(t),t.duration=x}function yt(t,x,l){t.translate+=Math.abs(x/l)/.003*(x<0?-1:1)}function Tt(t,x){D.value||(t.index=x,B(t,ot))}function St(t,x){x.touching=!0,x.translate=J(x.scrollEl),z(t)}function Pt(t,x){if(!x.touching)return;W(t),x.scrolling=!1,x.duration=0,x.prevY=r.value,x.translate+=d.value,kt(x);const l=performance.now();l-x.momentumTime>at&&(x.momentumTime=l,x.momentumPrevY=x.translate)}function $t(t){F(),t.touching=!1,t.prevY=0;const x=t.translate-t.momentumPrevY,l=performance.now()-t.momentumTime,S=Math.abs(x)>=ae&&l<=at,P=t.translate;S&&yt(t,x,l),t.index=G(t,t.translate),B(t,S?oe:ot),t.scrolling=t.translate!==P,t.scrolling||et(t)}function wt(t){t.scrolling=!1,et(t)}function Ot(){const{indexes:t}=I();return t.every((x,l)=>x===T[l])}function et(t){const{cascade:x,onChange:l}=e;if(Ot())return;x&&Z(t);const S=u.value.some(Q=>Q.scrolling),P=u.value.some(Q=>Q.touching);if(S||P)return;const{values:R,indexes:nt,options:bt}=I();O(nt),w(l,R,nt,bt),p.value=R}function xt(){if(e.cascade){const t=u.value.find(x=>x.scrolling);t&&(t.index=G(t,J(t.scrollEl)),t.scrolling=!1,B(t),Z(t))}else u.value.forEach(t=>{t.index=G(t,J(t.scrollEl)),B(t)})}function Bt(){xt();const{values:t,indexes:x,options:l}=I();O(x),w(e.onConfirm,t,x,l)}function Mt(){xt();const{values:t,indexes:x,options:l}=I();O(x),w(e.onCancel,t,x,l)}return{pack:_t,optionHeight:i,optionCount:k,scrollColumns:u,columnHeight:f,center:v,Transition:Ut,n:ce,classes:de,setScrollEl:vt,getOptionKey:s,getValue:a,handlePopupUpdateShow:gt,handleTouchstart:St,handleTouchmove:Pt,handleTouchend:$t,handleTransitionend:wt,confirm:Bt,cancel:Mt,handleClick:Tt}}});const se=["onTouchstartPassive","onTouchmove","onTouchend"],ue=["onTransitionend"],me=["onClick"];function pe(e,p,u,i,k,v){const f=Yt("var-button");return A(),zt(Lt(e.dynamic?e.n("$-popup"):e.Transition),it(e.dynamic?{onOpen:e.onOpen,onOpened:e.onOpened,onClose:e.onClose,onClosed:e.onClosed,onClickOverlay:e.onClickOverlay,onRouteChange:e.onRouteChange,closeOnClickOverlay:e.closeOnClickOverlay,teleport:e.teleport,show:e.show,safeArea:e.safeArea,"onUpdate:show":e.handlePopupUpdateShow,position:"bottom",class:e.n("popup")}:null,{"var-picker-cover":""}),{default:o(()=>[M("div",it({class:e.n()},e.$attrs),[e.toolbar?(A(),V("div",{key:0,class:C(e.n("toolbar"))},[j(e.$slots,"cancel",{},()=>[c(f,{class:C(e.n("cancel-button")),"var-picker-cover":"",text:"","text-color":e.cancelButtonTextColor,onClick:e.cancel},{default:o(()=>[m(h(e.cancelButtonText??e.pack.pickerCancelButtonText),1)]),_:1},8,["class","text-color","onClick"])]),j(e.$slots,"title",{},()=>[M("div",{class:C(e.n("title"))},h(e.title??e.pack.pickerTitle),3)]),j(e.$slots,"confirm",{},()=>[c(f,{class:C(e.n("confirm-button")),text:"","var-picker-cover":"","text-color":e.confirmButtonTextColor,onClick:e.confirm},{default:o(()=>[m(h(e.confirmButtonText??e.pack.pickerConfirmButtonText),1)]),_:1},8,["class","text-color","onClick"])])],2)):Ht("",!0),M("div",{class:C(e.n("columns")),style:Y({height:`${e.columnHeight}px`})},[(A(!0),V(X,null,rt(e.scrollColumns,r=>(A(),V("div",{class:C(e.n("column")),key:r.id,onTouchstartPassive:d=>e.handleTouchstart(d,r),onTouchmove:Kt(d=>e.handleTouchmove(d,r),["prevent"]),onTouchend:d=>e.handleTouchend(r)},[M("div",{class:C(e.n("scroller")),ref_for:!0,ref:d=>e.setScrollEl(d,r),style:Y({transform:`translateY(${r.translate}px)`,transitionDuration:`${r.duration}ms`,transitionProperty:r.duration?"transform":"none"}),onTransitionend:d=>e.handleTransitionend(r)},[(A(!0),V(X,null,rt(r.column,(d,D)=>(A(),V("div",{key:e.getValue(d),class:C(e.classes(e.n("option"),d.className)),style:Y({height:`${e.optionHeight}px`}),onClick:z=>e.handleClick(r,D)},[M("div",{class:C(e.classes(e.n("text"),d.textClassName))},h(d[e.getOptionKey("text")]),3)],14,me))),128))],46,ue)],42,se))),128)),M("div",{class:C(e.n("picked")),style:Y({top:`${e.center}px`,height:`${e.optionHeight}px`})},null,6),M("div",{class:C(e.n("mask")),style:Y({backgroundSize:`100% ${(e.columnHeight-e.optionHeight)/2}px`})},null,6)],6)],16)]),_:3},16)}const L=Rt(he,[["render",pe]]);let U;function y(e){return new Promise(p=>{y.close();const u=qt(e)?{columns:e}:e,i=Wt(u);i.dynamic=!0,i.teleport="body",U=i;function k(){U===i&&(U=null)}const{unmountInstance:v}=Zt(L,i,{onConfirm:(f,r,d)=>{w(i.onConfirm,f,r,d),p({state:"confirm",values:f,indexes:r,options:d}),i.show=!1,k()},onCancel:(f,r,d)=>{w(i.onCancel,f,r,d),p({state:"cancel",values:f,indexes:r,options:d}),i.show=!1,k()},onClose:()=>{w(i.onClose),p({state:"close"}),k()},onClosed:()=>{w(i.onClosed),v(),k()},onRouteChange:()=>{v(),k()},"onUpdate:show":f=>{i.show=f}});i.show=!0})}y.close=function(){if(U==null)return;const e=U;U=null,Ft().then(()=>{e.show=!1})};y.Component=L;st(L);st(L,y);const fe=[{text:"北京市",children:[{text:"市辖区",children:[{text:"东城区"},{text:"西城区"},{text:"朝阳区"},{text:"丰台区"},{text:"石景山区"},{text:"海淀区"},{text:"门头沟区"},{text:"房山区"},{text:"通州区"},{text:"顺义区"},{text:"昌平区"},{text:"大兴区"},{text:"怀柔区"},{text:"平谷区"},{text:"密云区"},{text:"延庆区"}]}]},{text:"天津市",children:[{text:"市辖区",children:[{text:"和平区"},{text:"河东区"},{text:"河西区"},{text:"南开区"},{text:"河北区"},{text:"红桥区"},{text:"东丽区"},{text:"西青区"},{text:"津南区"},{text:"北辰区"},{text:"武清区"},{text:"宝坻区"},{text:"滨海新区"},{text:"宁河区"},{text:"静海区"},{text:"蓟州区"}]}]},{text:"河北省",children:[{text:"石家庄市",children:[{text:"长安区"},{text:"桥西区"},{text:"新华区"},{text:"井陉矿区"},{text:"裕华区"},{text:"藁城区"},{text:"鹿泉区"},{text:"栾城区"},{text:"井陉县"},{text:"正定县"},{text:"行唐县"},{text:"灵寿县"},{text:"高邑县"},{text:"深泽县"},{text:"赞皇县"},{text:"无极县"},{text:"平山县"},{text:"元氏县"},{text:"赵县"},{text:"晋州市"},{text:"新乐市"}]},{text:"唐山市",children:[{text:"路南区"},{text:"路北区"},{text:"古冶区"},{text:"开平区"},{text:"丰南区"},{text:"丰润区"},{text:"曹妃甸区"},{text:"滦县"},{text:"滦南县"},{text:"乐亭县"},{text:"迁西县"},{text:"玉田县"},{text:"遵化市"},{text:"迁安市"}]},{text:"秦皇岛市",children:[{text:"海港区"},{text:"山海关区"},{text:"北戴河区"},{text:"抚宁区"},{text:"青龙满族自治县"},{text:"昌黎县"},{text:"卢龙县"}]},{text:"邯郸市",children:[{text:"邯山区"},{text:"丛台区"},{text:"复兴区"},{text:"峰峰矿区"},{text:"邯郸县"},{text:"临漳县"},{text:"成安县"},{text:"大名县"},{text:"涉县"},{text:"磁县"},{text:"肥乡县"},{text:"永年县"},{text:"邱县"},{text:"鸡泽县"},{text:"广平县"},{text:"馆陶县"},{text:"魏县"},{text:"曲周县"},{text:"武安市"}]},{text:"邢台市",children:[{text:"桥东区"},{text:"桥西区"},{text:"邢台县"},{text:"临城县"},{text:"内丘县"},{text:"柏乡县"},{text:"隆尧县"},{text:"任县"},{text:"南和县"},{text:"宁晋县"},{text:"巨鹿县"},{text:"新河县"},{text:"广宗县"},{text:"平乡县"},{text:"威县"},{text:"清河县"},{text:"临西县"},{text:"南宫市"},{text:"沙河市"}]},{text:"保定市",children:[{text:"竞秀区"},{text:"莲池区"},{text:"满城区"},{text:"清苑区"},{text:"徐水区"},{text:"涞水县"},{text:"阜平县"},{text:"定兴县"},{text:"唐县"},{text:"高阳县"},{text:"容城县"},{text:"涞源县"},{text:"望都县"},{text:"安新县"},{text:"易县"},{text:"曲阳县"},{text:"蠡县"},{text:"顺平县"},{text:"博野县"},{text:"雄县"},{text:"涿州市"},{text:"安国市"},{text:"高碑店市"}]},{text:"张家口市",children:[{text:"桥东区"},{text:"桥西区"},{text:"宣化区"},{text:"下花园区"},{text:"万全区"},{text:"崇礼区"},{text:"张北县"},{text:"康保县"},{text:"沽源县"},{text:"尚义县"},{text:"蔚县"},{text:"阳原县"},{text:"怀安县"},{text:"怀来县"},{text:"涿鹿县"},{text:"赤城县"}]},{text:"承德市",children:[{text:"双桥区"},{text:"双滦区"},{text:"鹰手营子矿区"},{text:"承德县"},{text:"兴隆县"},{text:"平泉县"},{text:"滦平县"},{text:"隆化县"},{text:"丰宁满族自治县"},{text:"宽城满族自治县"},{text:"围场满族蒙古族自治县"}]},{text:"沧州市",children:[{text:"新华区"},{text:"运河区"},{text:"沧县"},{text:"青县"},{text:"东光县"},{text:"海兴县"},{text:"盐山县"},{text:"肃宁县"},{text:"南皮县"},{text:"吴桥县"},{text:"献县"},{text:"孟村回族自治县"},{text:"泊头市"},{text:"任丘市"},{text:"黄骅市"},{text:"河间市"}]},{text:"廊坊市",children:[{text:"安次区"},{text:"广阳区"},{text:"固安县"},{text:"永清县"},{text:"香河县"},{text:"大城县"},{text:"文安县"},{text:"大厂回族自治县"},{text:"霸州市"},{text:"三河市"}]},{text:"衡水市",children:[{text:"桃城区"},{text:"冀州区"},{text:"枣强县"},{text:"武邑县"},{text:"武强县"},{text:"饶阳县"},{text:"安平县"},{text:"故城县"},{text:"景县"},{text:"阜城县"},{text:"深州市"}]},{text:"省直辖县级行政区划",children:[{text:"定州市"},{text:"辛集市"}]}]},{text:"山西省",children:[{text:"太原市",children:[{text:"小店区"},{text:"迎泽区"},{text:"杏花岭区"},{text:"尖草坪区"},{text:"万柏林区"},{text:"晋源区"},{text:"清徐县"},{text:"阳曲县"},{text:"娄烦县"},{text:"古交市"}]},{text:"大同市",children:[{text:"城区"},{text:"矿区"},{text:"南郊区"},{text:"新荣区"},{text:"阳高县"},{text:"天镇县"},{text:"广灵县"},{text:"灵丘县"},{text:"浑源县"},{text:"左云县"},{text:"大同县"}]},{text:"阳泉市",children:[{text:"城区"},{text:"矿区"},{text:"郊区"},{text:"平定县"},{text:"盂县"}]},{text:"长治市",children:[{text:"城区"},{text:"郊区"},{text:"长治县"},{text:"襄垣县"},{text:"屯留县"},{text:"平顺县"},{text:"黎城县"},{text:"壶关县"},{text:"长子县"},{text:"武乡县"},{text:"沁县"},{text:"沁源县"},{text:"潞城市"}]},{text:"晋城市",children:[{text:"城区"},{text:"沁水县"},{text:"阳城县"},{text:"陵川县"},{text:"泽州县"},{text:"高平市"}]},{text:"朔州市",children:[{text:"朔城区"},{text:"平鲁区"},{text:"山阴县"},{text:"应县"},{text:"右玉县"},{text:"怀仁县"}]},{text:"晋中市",children:[{text:"榆次区"},{text:"榆社县"},{text:"左权县"},{text:"和顺县"},{text:"昔阳县"},{text:"寿阳县"},{text:"太谷县"},{text:"祁县"},{text:"平遥县"},{text:"灵石县"},{text:"介休市"}]},{text:"运城市",children:[{text:"盐湖区"},{text:"临猗县"},{text:"万荣县"},{text:"闻喜县"},{text:"稷山县"},{text:"新绛县"},{text:"绛县"},{text:"垣曲县"},{text:"夏县"},{text:"平陆县"},{text:"芮城县"},{text:"永济市"},{text:"河津市"}]},{text:"忻州市",children:[{text:"忻府区"},{text:"定襄县"},{text:"五台县"},{text:"代县"},{text:"繁峙县"},{text:"宁武县"},{text:"静乐县"},{text:"神池县"},{text:"五寨县"},{text:"岢岚县"},{text:"河曲县"},{text:"保德县"},{text:"偏关县"},{text:"原平市"}]},{text:"临汾市",children:[{text:"尧都区"},{text:"曲沃县"},{text:"翼城县"},{text:"襄汾县"},{text:"洪洞县"},{text:"古县"},{text:"安泽县"},{text:"浮山县"},{text:"吉县"},{text:"乡宁县"},{text:"大宁县"},{text:"隰县"},{text:"永和县"},{text:"蒲县"},{text:"汾西县"},{text:"侯马市"},{text:"霍州市"}]},{text:"吕梁市",children:[{text:"离石区"},{text:"文水县"},{text:"交城县"},{text:"兴县"},{text:"临县"},{text:"柳林县"},{text:"石楼县"},{text:"岚县"},{text:"方山县"},{text:"中阳县"},{text:"交口县"},{text:"孝义市"},{text:"汾阳市"}]}]},{text:"内蒙古自治区",children:[{text:"呼和浩特市",children:[{text:"新城区"},{text:"回民区"},{text:"玉泉区"},{text:"赛罕区"},{text:"土默特左旗"},{text:"托克托县"},{text:"和林格尔县"},{text:"清水河县"},{text:"武川县"}]},{text:"包头市",children:[{text:"东河区"},{text:"昆都仑区"},{text:"青山区"},{text:"石拐区"},{text:"白云鄂博矿区"},{text:"九原区"},{text:"土默特右旗"},{text:"固阳县"},{text:"达尔罕茂明安联合旗"}]},{text:"乌海市",children:[{text:"海勃湾区"},{text:"海南区"},{text:"乌达区"}]},{text:"赤峰市",children:[{text:"红山区"},{text:"元宝山区"},{text:"松山区"},{text:"阿鲁科尔沁旗"},{text:"巴林左旗"},{text:"巴林右旗"},{text:"林西县"},{text:"克什克腾旗"},{text:"翁牛特旗"},{text:"喀喇沁旗"},{text:"宁城县"},{text:"敖汉旗"}]},{text:"通辽市",children:[{text:"科尔沁区"},{text:"科尔沁左翼中旗"},{text:"科尔沁左翼后旗"},{text:"开鲁县"},{text:"库伦旗"},{text:"奈曼旗"},{text:"扎鲁特旗"},{text:"霍林郭勒市"}]},{text:"鄂尔多斯市",children:[{text:"东胜区"},{text:"康巴什区"},{text:"达拉特旗"},{text:"准格尔旗"},{text:"鄂托克前旗"},{text:"鄂托克旗"},{text:"杭锦旗"},{text:"乌审旗"},{text:"伊金霍洛旗"}]},{text:"呼伦贝尔市",children:[{text:"海拉尔区"},{text:"扎赉诺尔区"},{text:"阿荣旗"},{text:"莫力达瓦达斡尔族自治旗"},{text:"鄂伦春自治旗"},{text:"鄂温克族自治旗"},{text:"陈巴尔虎旗"},{text:"新巴尔虎左旗"},{text:"新巴尔虎右旗"},{text:"满洲里市"},{text:"牙克石市"},{text:"扎兰屯市"},{text:"额尔古纳市"},{text:"根河市"}]},{text:"巴彦淖尔市",children:[{text:"临河区"},{text:"五原县"},{text:"磴口县"},{text:"乌拉特前旗"},{text:"乌拉特中旗"},{text:"乌拉特后旗"},{text:"杭锦后旗"}]},{text:"乌兰察布市",children:[{text:"集宁区"},{text:"卓资县"},{text:"化德县"},{text:"商都县"},{text:"兴和县"},{text:"凉城县"},{text:"察哈尔右翼前旗"},{text:"察哈尔右翼中旗"},{text:"察哈尔右翼后旗"},{text:"四子王旗"},{text:"丰镇市"}]},{text:"兴安盟",children:[{text:"乌兰浩特市"},{text:"阿尔山市"},{text:"科尔沁右翼前旗"},{text:"科尔沁右翼中旗"},{text:"扎赉特旗"},{text:"突泉县"}]},{text:"锡林郭勒盟",children:[{text:"二连浩特市"},{text:"锡林浩特市"},{text:"阿巴嘎旗"},{text:"苏尼特左旗"},{text:"苏尼特右旗"},{text:"东乌珠穆沁旗"},{text:"西乌珠穆沁旗"},{text:"太仆寺旗"},{text:"镶黄旗"},{text:"正镶白旗"},{text:"正蓝旗"},{text:"多伦县"}]},{text:"阿拉善盟",children:[{text:"阿拉善左旗"},{text:"阿拉善右旗"},{text:"额济纳旗"}]}]},{text:"辽宁省",children:[{text:"沈阳市",children:[{text:"和平区"},{text:"沈河区"},{text:"大东区"},{text:"皇姑区"},{text:"铁西区"},{text:"苏家屯区"},{text:"浑南区"},{text:"沈北新区"},{text:"于洪区"},{text:"辽中区"},{text:"康平县"},{text:"法库县"},{text:"新民市"}]},{text:"大连市",children:[{text:"中山区"},{text:"西岗区"},{text:"沙河口区"},{text:"甘井子区"},{text:"旅顺口区"},{text:"金州区"},{text:"普兰店区"},{text:"长海县"},{text:"瓦房店市"},{text:"庄河市"}]},{text:"鞍山市",children:[{text:"铁东区"},{text:"铁西区"},{text:"立山区"},{text:"千山区"},{text:"台安县"},{text:"岫岩满族自治县"},{text:"海城市"}]},{text:"抚顺市",children:[{text:"新抚区"},{text:"东洲区"},{text:"望花区"},{text:"顺城区"},{text:"抚顺县"},{text:"新宾满族自治县"},{text:"清原满族自治县"}]},{text:"本溪市",children:[{text:"平山区"},{text:"溪湖区"},{text:"明山区"},{text:"南芬区"},{text:"本溪满族自治县"},{text:"桓仁满族自治县"}]},{text:"丹东市",children:[{text:"元宝区"},{text:"振兴区"},{text:"振安区"},{text:"宽甸满族自治县"},{text:"东港市"},{text:"凤城市"}]},{text:"锦州市",children:[{text:"古塔区"},{text:"凌河区"},{text:"太和区"},{text:"黑山县"},{text:"义县"},{text:"凌海市"},{text:"北镇市"}]},{text:"营口市",children:[{text:"站前区"},{text:"西市区"},{text:"鲅鱼圈区"},{text:"老边区"},{text:"盖州市"},{text:"大石桥市"}]},{text:"阜新市",children:[{text:"海州区"},{text:"新邱区"},{text:"太平区"},{text:"清河门区"},{text:"细河区"},{text:"阜新蒙古族自治县"},{text:"彰武县"}]},{text:"辽阳市",children:[{text:"白塔区"},{text:"文圣区"},{text:"宏伟区"},{text:"弓长岭区"},{text:"太子河区"},{text:"辽阳县"},{text:"灯塔市"}]},{text:"盘锦市",children:[{text:"双台子区"},{text:"兴隆台区"},{text:"大洼区"},{text:"盘山县"}]},{text:"铁岭市",children:[{text:"银州区"},{text:"清河区"},{text:"铁岭县"},{text:"西丰县"},{text:"昌图县"},{text:"调兵山市"},{text:"开原市"}]},{text:"朝阳市",children:[{text:"双塔区"},{text:"龙城区"},{text:"朝阳县"},{text:"建平县"},{text:"喀喇沁左翼蒙古族自治县"},{text:"北票市"},{text:"凌源市"}]},{text:"葫芦岛市",children:[{text:"连山区"},{text:"龙港区"},{text:"南票区"},{text:"绥中县"},{text:"建昌县"},{text:"兴城市"}]}]},{text:"吉林省",children:[{text:"长春市",children:[{text:"南关区"},{text:"宽城区"},{text:"朝阳区"},{text:"二道区"},{text:"绿园区"},{text:"双阳区"},{text:"九台区"},{text:"农安县"},{text:"榆树市"},{text:"德惠市"}]},{text:"吉林市",children:[{text:"昌邑区"},{text:"龙潭区"},{text:"船营区"},{text:"丰满区"},{text:"永吉县"},{text:"蛟河市"},{text:"桦甸市"},{text:"舒兰市"},{text:"磐石市"}]},{text:"四平市",children:[{text:"铁西区"},{text:"铁东区"},{text:"梨树县"},{text:"伊通满族自治县"},{text:"公主岭市"},{text:"双辽市"}]},{text:"辽源市",children:[{text:"龙山区"},{text:"西安区"},{text:"东丰县"},{text:"东辽县"}]},{text:"通化市",children:[{text:"东昌区"},{text:"二道江区"},{text:"通化县"},{text:"辉南县"},{text:"柳河县"},{text:"梅河口市"},{text:"集安市"}]},{text:"白山市",children:[{text:"浑江区"},{text:"江源区"},{text:"抚松县"},{text:"靖宇县"},{text:"长白朝鲜族自治县"},{text:"临江市"}]},{text:"松原市",children:[{text:"宁江区"},{text:"前郭尔罗斯蒙古族自治县"},{text:"长岭县"},{text:"乾安县"},{text:"扶余市"}]},{text:"白城市",children:[{text:"洮北区"},{text:"镇赉县"},{text:"通榆县"},{text:"洮南市"},{text:"大安市"}]},{text:"延边朝鲜族自治州",children:[{text:"延吉市"},{text:"图们市"},{text:"敦化市"},{text:"珲春市"},{text:"龙井市"},{text:"和龙市"},{text:"汪清县"},{text:"安图县"}]}]},{text:"黑龙江省",children:[{text:"哈尔滨市",children:[{text:"道里区"},{text:"南岗区"},{text:"道外区"},{text:"平房区"},{text:"松北区"},{text:"香坊区"},{text:"呼兰区"},{text:"阿城区"},{text:"双城区"},{text:"依兰县"},{text:"方正县"},{text:"宾县"},{text:"巴彦县"},{text:"木兰县"},{text:"通河县"},{text:"延寿县"},{text:"尚志市"},{text:"五常市"}]},{text:"齐齐哈尔市",children:[{text:"龙沙区"},{text:"建华区"},{text:"铁锋区"},{text:"昂昂溪区"},{text:"富拉尔基区"},{text:"碾子山区"},{text:"梅里斯达斡尔族区"},{text:"龙江县"},{text:"依安县"},{text:"泰来县"},{text:"甘南县"},{text:"富裕县"},{text:"克山县"},{text:"克东县"},{text:"拜泉县"},{text:"讷河市"}]},{text:"鸡西市",children:[{text:"鸡冠区"},{text:"恒山区"},{text:"滴道区"},{text:"梨树区"},{text:"城子河区"},{text:"麻山区"},{text:"鸡东县"},{text:"虎林市"},{text:"密山市"}]},{text:"鹤岗市",children:[{text:"向阳区"},{text:"工农区"},{text:"南山区"},{text:"兴安区"},{text:"东山区"},{text:"兴山区"},{text:"萝北县"},{text:"绥滨县"}]},{text:"双鸭山市",children:[{text:"尖山区"},{text:"岭东区"},{text:"四方台区"},{text:"宝山区"},{text:"集贤县"},{text:"友谊县"},{text:"宝清县"},{text:"饶河县"}]},{text:"大庆市",children:[{text:"萨尔图区"},{text:"龙凤区"},{text:"让胡路区"},{text:"红岗区"},{text:"大同区"},{text:"肇州县"},{text:"肇源县"},{text:"林甸县"},{text:"杜尔伯特蒙古族自治县"}]},{text:"伊春市",children:[{text:"伊春区"},{text:"南岔区"},{text:"友好区"},{text:"西林区"},{text:"翠峦区"},{text:"新青区"},{text:"美溪区"},{text:"金山屯区"},{text:"五营区"},{text:"乌马河区"},{text:"汤旺河区"},{text:"带岭区"},{text:"乌伊岭区"},{text:"红星区"},{text:"上甘岭区"},{text:"嘉荫县"},{text:"铁力市"}]},{text:"佳木斯市",children:[{text:"向阳区"},{text:"前进区"},{text:"东风区"},{text:"郊区"},{text:"桦南县"},{text:"桦川县"},{text:"汤原县"},{text:"同江市"},{text:"富锦市"},{text:"抚远市"}]},{text:"七台河市",children:[{text:"新兴区"},{text:"桃山区"},{text:"茄子河区"},{text:"勃利县"}]},{text:"牡丹江市",children:[{text:"东安区"},{text:"阳明区"},{text:"爱民区"},{text:"西安区"},{text:"林口县"},{text:"绥芬河市"},{text:"海林市"},{text:"宁安市"},{text:"穆棱市"},{text:"东宁市"}]},{text:"黑河市",children:[{text:"爱辉区"},{text:"嫩江县"},{text:"逊克县"},{text:"孙吴县"},{text:"北安市"},{text:"五大连池市"}]},{text:"绥化市",children:[{text:"北林区"},{text:"望奎县"},{text:"兰西县"},{text:"青冈县"},{text:"庆安县"},{text:"明水县"},{text:"绥棱县"},{text:"安达市"},{text:"肇东市"},{text:"海伦市"}]},{text:"大兴安岭地区",children:[{text:"呼玛县"},{text:"塔河县"},{text:"漠河县"}]}]},{text:"上海市",children:[{text:"市辖区",children:[{text:"黄浦区"},{text:"徐汇区"},{text:"长宁区"},{text:"静安区"},{text:"普陀区"},{text:"虹口区"},{text:"杨浦区"},{text:"闵行区"},{text:"宝山区"},{text:"嘉定区"},{text:"浦东新区"},{text:"金山区"},{text:"松江区"},{text:"青浦区"},{text:"奉贤区"},{text:"崇明区"}]}]},{text:"江苏省",children:[{text:"南京市",children:[{text:"玄武区"},{text:"秦淮区"},{text:"建邺区"},{text:"鼓楼区"},{text:"浦口区"},{text:"栖霞区"},{text:"雨花台区"},{text:"江宁区"},{text:"六合区"},{text:"溧水区"},{text:"高淳区"}]},{text:"无锡市",children:[{text:"锡山区"},{text:"惠山区"},{text:"滨湖区"},{text:"梁溪区"},{text:"新吴区"},{text:"江阴市"},{text:"宜兴市"}]},{text:"徐州市",children:[{text:"鼓楼区"},{text:"云龙区"},{text:"贾汪区"},{text:"泉山区"},{text:"铜山区"},{text:"丰县"},{text:"沛县"},{text:"睢宁县"},{text:"新沂市"},{text:"邳州市"}]},{text:"常州市",children:[{text:"天宁区"},{text:"钟楼区"},{text:"新北区"},{text:"武进区"},{text:"金坛区"},{text:"溧阳市"}]},{text:"苏州市",children:[{text:"虎丘区"},{text:"吴中区"},{text:"相城区"},{text:"姑苏区"},{text:"吴江区"},{text:"常熟市"},{text:"张家港市"},{text:"昆山市"},{text:"太仓市"}]},{text:"南通市",children:[{text:"崇川区"},{text:"港闸区"},{text:"通州区"},{text:"海安县"},{text:"如东县"},{text:"启东市"},{text:"如皋市"},{text:"海门市"}]},{text:"连云港市",children:[{text:"连云区"},{text:"海州区"},{text:"赣榆区"},{text:"东海县"},{text:"灌云县"},{text:"灌南县"}]},{text:"淮安市",children:[{text:"淮安区"},{text:"淮阴区"},{text:"清江浦区"},{text:"洪泽区"},{text:"涟水县"},{text:"盱眙县"},{text:"金湖县"}]},{text:"盐城市",children:[{text:"亭湖区"},{text:"盐都区"},{text:"大丰区"},{text:"响水县"},{text:"滨海县"},{text:"阜宁县"},{text:"射阳县"},{text:"建湖县"},{text:"东台市"}]},{text:"扬州市",children:[{text:"广陵区"},{text:"邗江区"},{text:"江都区"},{text:"宝应县"},{text:"仪征市"},{text:"高邮市"}]},{text:"镇江市",children:[{text:"京口区"},{text:"润州区"},{text:"丹徒区"},{text:"丹阳市"},{text:"扬中市"},{text:"句容市"}]},{text:"泰州市",children:[{text:"海陵区"},{text:"高港区"},{text:"姜堰区"},{text:"兴化市"},{text:"靖江市"},{text:"泰兴市"}]},{text:"宿迁市",children:[{text:"宿城区"},{text:"宿豫区"},{text:"沭阳县"},{text:"泗阳县"},{text:"泗洪县"}]}]},{text:"浙江省",children:[{text:"杭州市",children:[{text:"上城区"},{text:"下城区"},{text:"江干区"},{text:"拱墅区"},{text:"西湖区"},{text:"滨江区"},{text:"萧山区"},{text:"余杭区"},{text:"富阳区"},{text:"桐庐县"},{text:"淳安县"},{text:"建德市"},{text:"临安市"}]},{text:"宁波市",children:[{text:"海曙区"},{text:"江东区"},{text:"江北区"},{text:"北仑区"},{text:"镇海区"},{text:"鄞州区"},{text:"象山县"},{text:"宁海县"},{text:"余姚市"},{text:"慈溪市"},{text:"奉化市"}]},{text:"温州市",children:[{text:"鹿城区"},{text:"龙湾区"},{text:"瓯海区"},{text:"洞头区"},{text:"永嘉县"},{text:"平阳县"},{text:"苍南县"},{text:"文成县"},{text:"泰顺县"},{text:"瑞安市"},{text:"乐清市"}]},{text:"嘉兴市",children:[{text:"南湖区"},{text:"秀洲区"},{text:"嘉善县"},{text:"海盐县"},{text:"海宁市"},{text:"平湖市"},{text:"桐乡市"}]},{text:"湖州市",children:[{text:"吴兴区"},{text:"南浔区"},{text:"德清县"},{text:"长兴县"},{text:"安吉县"}]},{text:"绍兴市",children:[{text:"越城区"},{text:"柯桥区"},{text:"上虞区"},{text:"新昌县"},{text:"诸暨市"},{text:"嵊州市"}]},{text:"金华市",children:[{text:"婺城区"},{text:"金东区"},{text:"武义县"},{text:"浦江县"},{text:"磐安县"},{text:"兰溪市"},{text:"义乌市"},{text:"东阳市"},{text:"永康市"}]},{text:"衢州市",children:[{text:"柯城区"},{text:"衢江区"},{text:"常山县"},{text:"开化县"},{text:"龙游县"},{text:"江山市"}]},{text:"舟山市",children:[{text:"定海区"},{text:"普陀区"},{text:"岱山县"},{text:"嵊泗县"}]},{text:"台州市",children:[{text:"椒江区"},{text:"黄岩区"},{text:"路桥区"},{text:"玉环县"},{text:"三门县"},{text:"天台县"},{text:"仙居县"},{text:"温岭市"},{text:"临海市"}]},{text:"丽水市",children:[{text:"莲都区"},{text:"青田县"},{text:"缙云县"},{text:"遂昌县"},{text:"松阳县"},{text:"云和县"},{text:"庆元县"},{text:"景宁畲族自治县"},{text:"龙泉市"}]}]},{text:"安徽省",children:[{text:"合肥市",children:[{text:"瑶海区"},{text:"庐阳区"},{text:"蜀山区"},{text:"包河区"},{text:"长丰县"},{text:"肥东县"},{text:"肥西县"},{text:"庐江县"},{text:"巢湖市"}]},{text:"芜湖市",children:[{text:"镜湖区"},{text:"弋江区"},{text:"鸠江区"},{text:"三山区"},{text:"芜湖县"},{text:"繁昌县"},{text:"南陵县"},{text:"无为县"}]},{text:"蚌埠市",children:[{text:"龙子湖区"},{text:"蚌山区"},{text:"禹会区"},{text:"淮上区"},{text:"怀远县"},{text:"五河县"},{text:"固镇县"}]},{text:"淮南市",children:[{text:"大通区"},{text:"田家庵区"},{text:"谢家集区"},{text:"八公山区"},{text:"潘集区"},{text:"凤台县"},{text:"寿县"}]},{text:"马鞍山市",children:[{text:"花山区"},{text:"雨山区"},{text:"博望区"},{text:"当涂县"},{text:"含山县"},{text:"和县"}]},{text:"淮北市",children:[{text:"杜集区"},{text:"相山区"},{text:"烈山区"},{text:"濉溪县"}]},{text:"铜陵市",children:[{text:"铜官区"},{text:"义安区"},{text:"郊区"},{text:"枞阳县"}]},{text:"安庆市",children:[{text:"迎江区"},{text:"大观区"},{text:"宜秀区"},{text:"怀宁县"},{text:"潜山县"},{text:"太湖县"},{text:"宿松县"},{text:"望江县"},{text:"岳西县"},{text:"桐城市"}]},{text:"黄山市",children:[{text:"屯溪区"},{text:"黄山区"},{text:"徽州区"},{text:"歙县"},{text:"休宁县"},{text:"黟县"},{text:"祁门县"}]},{text:"滁州市",children:[{text:"琅琊区"},{text:"南谯区"},{text:"来安县"},{text:"全椒县"},{text:"定远县"},{text:"凤阳县"},{text:"天长市"},{text:"明光市"}]},{text:"阜阳市",children:[{text:"颍州区"},{text:"颍东区"},{text:"颍泉区"},{text:"临泉县"},{text:"太和县"},{text:"阜南县"},{text:"颍上县"},{text:"界首市"}]},{text:"宿州市",children:[{text:"埇桥区"},{text:"砀山县"},{text:"萧县"},{text:"灵璧县"},{text:"泗县"}]},{text:"六安市",children:[{text:"金安区"},{text:"裕安区"},{text:"叶集区"},{text:"霍邱县"},{text:"舒城县"},{text:"金寨县"},{text:"霍山县"}]},{text:"亳州市",children:[{text:"谯城区"},{text:"涡阳县"},{text:"蒙城县"},{text:"利辛县"}]},{text:"池州市",children:[{text:"贵池区"},{text:"东至县"},{text:"石台县"},{text:"青阳县"}]},{text:"宣城市",children:[{text:"宣州区"},{text:"郎溪县"},{text:"广德县"},{text:"泾县"},{text:"绩溪县"},{text:"旌德县"},{text:"宁国市"}]}]},{text:"福建省",children:[{text:"福州市",children:[{text:"鼓楼区"},{text:"台江区"},{text:"仓山区"},{text:"马尾区"},{text:"晋安区"},{text:"闽侯县"},{text:"连江县"},{text:"罗源县"},{text:"闽清县"},{text:"永泰县"},{text:"平潭县"},{text:"福清市"},{text:"长乐市"}]},{text:"厦门市",children:[{text:"思明区"},{text:"海沧区"},{text:"湖里区"},{text:"集美区"},{text:"同安区"},{text:"翔安区"}]},{text:"莆田市",children:[{text:"城厢区"},{text:"涵江区"},{text:"荔城区"},{text:"秀屿区"},{text:"仙游县"}]},{text:"三明市",children:[{text:"梅列区"},{text:"三元区"},{text:"明溪县"},{text:"清流县"},{text:"宁化县"},{text:"大田县"},{text:"尤溪县"},{text:"沙县"},{text:"将乐县"},{text:"泰宁县"},{text:"建宁县"},{text:"永安市"}]},{text:"泉州市",children:[{text:"鲤城区"},{text:"丰泽区"},{text:"洛江区"},{text:"泉港区"},{text:"惠安县"},{text:"安溪县"},{text:"永春县"},{text:"德化县"},{text:"金门县"},{text:"石狮市"},{text:"晋江市"},{text:"南安市"}]},{text:"漳州市",children:[{text:"芗城区"},{text:"龙文区"},{text:"云霄县"},{text:"漳浦县"},{text:"诏安县"},{text:"长泰县"},{text:"东山县"},{text:"南靖县"},{text:"平和县"},{text:"华安县"},{text:"龙海市"}]},{text:"南平市",children:[{text:"延平区"},{text:"建阳区"},{text:"顺昌县"},{text:"浦城县"},{text:"光泽县"},{text:"松溪县"},{text:"政和县"},{text:"邵武市"},{text:"武夷山市"},{text:"建瓯市"}]},{text:"龙岩市",children:[{text:"新罗区"},{text:"永定区"},{text:"长汀县"},{text:"上杭县"},{text:"武平县"},{text:"连城县"},{text:"漳平市"}]},{text:"宁德市",children:[{text:"蕉城区"},{text:"霞浦县"},{text:"古田县"},{text:"屏南县"},{text:"寿宁县"},{text:"周宁县"},{text:"柘荣县"},{text:"福安市"},{text:"福鼎市"}]}]},{text:"江西省",children:[{text:"南昌市",children:[{text:"东湖区"},{text:"西湖区"},{text:"青云谱区"},{text:"湾里区"},{text:"青山湖区"},{text:"新建区"},{text:"南昌县"},{text:"安义县"},{text:"进贤县"}]},{text:"景德镇市",children:[{text:"昌江区"},{text:"珠山区"},{text:"浮梁县"},{text:"乐平市"}]},{text:"萍乡市",children:[{text:"安源区"},{text:"湘东区"},{text:"莲花县"},{text:"上栗县"},{text:"芦溪县"}]},{text:"九江市",children:[{text:"濂溪区"},{text:"浔阳区"},{text:"九江县"},{text:"武宁县"},{text:"修水县"},{text:"永修县"},{text:"德安县"},{text:"都昌县"},{text:"湖口县"},{text:"彭泽县"},{text:"瑞昌市"},{text:"共青城市"},{text:"庐山市"}]},{text:"新余市",children:[{text:"渝水区"},{text:"分宜县"}]},{text:"鹰潭市",children:[{text:"月湖区"},{text:"余江县"},{text:"贵溪市"}]},{text:"赣州市",children:[{text:"章贡区"},{text:"南康区"},{text:"赣县"},{text:"信丰县"},{text:"大余县"},{text:"上犹县"},{text:"崇义县"},{text:"安远县"},{text:"龙南县"},{text:"定南县"},{text:"全南县"},{text:"宁都县"},{text:"于都县"},{text:"兴国县"},{text:"会昌县"},{text:"寻乌县"},{text:"石城县"},{text:"瑞金市"}]},{text:"吉安市",children:[{text:"吉州区"},{text:"青原区"},{text:"吉安县"},{text:"吉水县"},{text:"峡江县"},{text:"新干县"},{text:"永丰县"},{text:"泰和县"},{text:"遂川县"},{text:"万安县"},{text:"安福县"},{text:"永新县"},{text:"井冈山市"}]},{text:"宜春市",children:[{text:"袁州区"},{text:"奉新县"},{text:"万载县"},{text:"上高县"},{text:"宜丰县"},{text:"靖安县"},{text:"铜鼓县"},{text:"丰城市"},{text:"樟树市"},{text:"高安市"}]},{text:"抚州市",children:[{text:"临川区"},{text:"南城县"},{text:"黎川县"},{text:"南丰县"},{text:"崇仁县"},{text:"乐安县"},{text:"宜黄县"},{text:"金溪县"},{text:"资溪县"},{text:"东乡县"},{text:"广昌县"}]},{text:"上饶市",children:[{text:"信州区"},{text:"广丰区"},{text:"上饶县"},{text:"玉山县"},{text:"铅山县"},{text:"横峰县"},{text:"弋阳县"},{text:"余干县"},{text:"鄱阳县"},{text:"万年县"},{text:"婺源县"},{text:"德兴市"}]}]},{text:"山东省",children:[{text:"济南市",children:[{text:"历下区"},{text:"市中区"},{text:"槐荫区"},{text:"天桥区"},{text:"历城区"},{text:"长清区"},{text:"平阴县"},{text:"济阳县"},{text:"商河县"},{text:"章丘市"}]},{text:"青岛市",children:[{text:"市南区"},{text:"市北区"},{text:"黄岛区"},{text:"崂山区"},{text:"李沧区"},{text:"城阳区"},{text:"胶州市"},{text:"即墨市"},{text:"平度市"},{text:"莱西市"}]},{text:"淄博市",children:[{text:"淄川区"},{text:"张店区"},{text:"博山区"},{text:"临淄区"},{text:"周村区"},{text:"桓台县"},{text:"高青县"},{text:"沂源县"}]},{text:"枣庄市",children:[{text:"市中区"},{text:"薛城区"},{text:"峄城区"},{text:"台儿庄区"},{text:"山亭区"},{text:"滕州市"}]},{text:"东营市",children:[{text:"东营区"},{text:"河口区"},{text:"垦利区"},{text:"利津县"},{text:"广饶县"}]},{text:"烟台市",children:[{text:"芝罘区"},{text:"福山区"},{text:"牟平区"},{text:"莱山区"},{text:"长岛县"},{text:"龙口市"},{text:"莱阳市"},{text:"莱州市"},{text:"蓬莱市"},{text:"招远市"},{text:"栖霞市"},{text:"海阳市"}]},{text:"潍坊市",children:[{text:"潍城区"},{text:"寒亭区"},{text:"坊子区"},{text:"奎文区"},{text:"临朐县"},{text:"昌乐县"},{text:"青州市"},{text:"诸城市"},{text:"寿光市"},{text:"安丘市"},{text:"高密市"},{text:"昌邑市"}]},{text:"济宁市",children:[{text:"任城区"},{text:"兖州区"},{text:"微山县"},{text:"鱼台县"},{text:"金乡县"},{text:"嘉祥县"},{text:"汶上县"},{text:"泗水县"},{text:"梁山县"},{text:"曲阜市"},{text:"邹城市"}]},{text:"泰安市",children:[{text:"泰山区"},{text:"岱岳区"},{text:"宁阳县"},{text:"东平县"},{text:"新泰市"},{text:"肥城市"}]},{text:"威海市",children:[{text:"环翠区"},{text:"文登区"},{text:"荣成市"},{text:"乳山市"}]},{text:"日照市",children:[{text:"东港区"},{text:"岚山区"},{text:"五莲县"},{text:"莒县"}]},{text:"莱芜市",children:[{text:"莱城区"},{text:"钢城区"}]},{text:"临沂市",children:[{text:"兰山区"},{text:"罗庄区"},{text:"河东区"},{text:"沂南县"},{text:"郯城县"},{text:"沂水县"},{text:"兰陵县"},{text:"费县"},{text:"平邑县"},{text:"莒南县"},{text:"蒙阴县"},{text:"临沭县"}]},{text:"德州市",children:[{text:"德城区"},{text:"陵城区"},{text:"宁津县"},{text:"庆云县"},{text:"临邑县"},{text:"齐河县"},{text:"平原县"},{text:"夏津县"},{text:"武城县"},{text:"乐陵市"},{text:"禹城市"}]},{text:"聊城市",children:[{text:"东昌府区"},{text:"阳谷县"},{text:"莘县"},{text:"茌平县"},{text:"东阿县"},{text:"冠县"},{text:"高唐县"},{text:"临清市"}]},{text:"滨州市",children:[{text:"滨城区"},{text:"沾化区"},{text:"惠民县"},{text:"阳信县"},{text:"无棣县"},{text:"博兴县"},{text:"邹平县"}]},{text:"菏泽市",children:[{text:"牡丹区"},{text:"定陶区"},{text:"曹县"},{text:"单县"},{text:"成武县"},{text:"巨野县"},{text:"郓城县"},{text:"鄄城县"},{text:"东明县"}]}]},{text:"河南省",children:[{text:"郑州市",children:[{text:"中原区"},{text:"二七区"},{text:"管城回族区"},{text:"金水区"},{text:"上街区"},{text:"惠济区"},{text:"中牟县"},{text:"巩义市"},{text:"荥阳市"},{text:"新密市"},{text:"新郑市"},{text:"登封市"}]},{text:"开封市",children:[{text:"龙亭区"},{text:"顺河回族区"},{text:"鼓楼区"},{text:"禹王台区"},{text:"金明区"},{text:"祥符区"},{text:"杞县"},{text:"通许县"},{text:"尉氏县"},{text:"兰考县"}]},{text:"洛阳市",children:[{text:"老城区"},{text:"西工区"},{text:"瀍河回族区"},{text:"涧西区"},{text:"吉利区"},{text:"洛龙区"},{text:"孟津县"},{text:"新安县"},{text:"栾川县"},{text:"嵩县"},{text:"汝阳县"},{text:"宜阳县"},{text:"洛宁县"},{text:"伊川县"},{text:"偃师市"}]},{text:"平顶山市",children:[{text:"新华区"},{text:"卫东区"},{text:"石龙区"},{text:"湛河区"},{text:"宝丰县"},{text:"叶县"},{text:"鲁山县"},{text:"郏县"},{text:"舞钢市"},{text:"汝州市"}]},{text:"安阳市",children:[{text:"文峰区"},{text:"北关区"},{text:"殷都区"},{text:"龙安区"},{text:"安阳县"},{text:"汤阴县"},{text:"滑县"},{text:"内黄县"},{text:"林州市"}]},{text:"鹤壁市",children:[{text:"鹤山区"},{text:"山城区"},{text:"淇滨区"},{text:"浚县"},{text:"淇县"}]},{text:"新乡市",children:[{text:"红旗区"},{text:"卫滨区"},{text:"凤泉区"},{text:"牧野区"},{text:"新乡县"},{text:"获嘉县"},{text:"原阳县"},{text:"延津县"},{text:"封丘县"},{text:"长垣县"},{text:"卫辉市"},{text:"辉县市"}]},{text:"焦作市",children:[{text:"解放区"},{text:"中站区"},{text:"马村区"},{text:"山阳区"},{text:"修武县"},{text:"博爱县"},{text:"武陟县"},{text:"温县"},{text:"沁阳市"},{text:"孟州市"}]},{text:"濮阳市",children:[{text:"华龙区"},{text:"清丰县"},{text:"南乐县"},{text:"范县"},{text:"台前县"},{text:"濮阳县"}]},{text:"许昌市",children:[{text:"魏都区"},{text:"许昌县"},{text:"鄢陵县"},{text:"襄城县"},{text:"禹州市"},{text:"长葛市"}]},{text:"漯河市",children:[{text:"源汇区"},{text:"郾城区"},{text:"召陵区"},{text:"舞阳县"},{text:"临颍县"}]},{text:"三门峡市",children:[{text:"湖滨区"},{text:"陕州区"},{text:"渑池县"},{text:"卢氏县"},{text:"义马市"},{text:"灵宝市"}]},{text:"南阳市",children:[{text:"宛城区"},{text:"卧龙区"},{text:"南召县"},{text:"方城县"},{text:"西峡县"},{text:"镇平县"},{text:"内乡县"},{text:"淅川县"},{text:"社旗县"},{text:"唐河县"},{text:"新野县"},{text:"桐柏县"},{text:"邓州市"}]},{text:"商丘市",children:[{text:"梁园区"},{text:"睢阳区"},{text:"民权县"},{text:"睢县"},{text:"宁陵县"},{text:"柘城县"},{text:"虞城县"},{text:"夏邑县"},{text:"永城市"}]},{text:"信阳市",children:[{text:"浉河区"},{text:"平桥区"},{text:"罗山县"},{text:"光山县"},{text:"新县"},{text:"商城县"},{text:"固始县"},{text:"潢川县"},{text:"淮滨县"},{text:"息县"}]},{text:"周口市",children:[{text:"川汇区"},{text:"扶沟县"},{text:"西华县"},{text:"商水县"},{text:"沈丘县"},{text:"郸城县"},{text:"淮阳县"},{text:"太康县"},{text:"鹿邑县"},{text:"项城市"}]},{text:"驻马店市",children:[{text:"驿城区"},{text:"西平县"},{text:"上蔡县"},{text:"平舆县"},{text:"正阳县"},{text:"确山县"},{text:"泌阳县"},{text:"汝南县"},{text:"遂平县"},{text:"新蔡县"}]},{text:"省直辖县级行政区划",children:[{text:"济源市"}]}]},{text:"湖北省",children:[{text:"武汉市",children:[{text:"江岸区"},{text:"江汉区"},{text:"硚口区"},{text:"汉阳区"},{text:"武昌区"},{text:"青山区"},{text:"洪山区"},{text:"东西湖区"},{text:"汉南区"},{text:"蔡甸区"},{text:"江夏区"},{text:"黄陂区"},{text:"新洲区"}]},{text:"黄石市",children:[{text:"黄石港区"},{text:"西塞山区"},{text:"下陆区"},{text:"铁山区"},{text:"阳新县"},{text:"大冶市"}]},{text:"十堰市",children:[{text:"茅箭区"},{text:"张湾区"},{text:"郧阳区"},{text:"郧西县"},{text:"竹山县"},{text:"竹溪县"},{text:"房县"},{text:"丹江口市"}]},{text:"宜昌市",children:[{text:"西陵区"},{text:"伍家岗区"},{text:"点军区"},{text:"猇亭区"},{text:"夷陵区"},{text:"远安县"},{text:"兴山县"},{text:"秭归县"},{text:"长阳土家族自治县"},{text:"五峰土家族自治县"},{text:"宜都市"},{text:"当阳市"},{text:"枝江市"}]},{text:"襄阳市",children:[{text:"襄城区"},{text:"樊城区"},{text:"襄州区"},{text:"南漳县"},{text:"谷城县"},{text:"保康县"},{text:"老河口市"},{text:"枣阳市"},{text:"宜城市"}]},{text:"鄂州市",children:[{text:"梁子湖区"},{text:"华容区"},{text:"鄂城区"}]},{text:"荆门市",children:[{text:"东宝区"},{text:"掇刀区"},{text:"京山县"},{text:"沙洋县"},{text:"钟祥市"}]},{text:"孝感市",children:[{text:"孝南区"},{text:"孝昌县"},{text:"大悟县"},{text:"云梦县"},{text:"应城市"},{text:"安陆市"},{text:"汉川市"}]},{text:"荆州市",children:[{text:"沙市区"},{text:"荆州区"},{text:"公安县"},{text:"监利县"},{text:"江陵县"},{text:"石首市"},{text:"洪湖市"},{text:"松滋市"}]},{text:"黄冈市",children:[{text:"黄州区"},{text:"团风县"},{text:"红安县"},{text:"罗田县"},{text:"英山县"},{text:"浠水县"},{text:"蕲春县"},{text:"黄梅县"},{text:"麻城市"},{text:"武穴市"}]},{text:"咸宁市",children:[{text:"咸安区"},{text:"嘉鱼县"},{text:"通城县"},{text:"崇阳县"},{text:"通山县"},{text:"赤壁市"}]},{text:"随州市",children:[{text:"曾都区"},{text:"随县"},{text:"广水市"}]},{text:"恩施土家族苗族自治州",children:[{text:"恩施市"},{text:"利川市"},{text:"建始县"},{text:"巴东县"},{text:"宣恩县"},{text:"咸丰县"},{text:"来凤县"},{text:"鹤峰县"}]},{text:"省直辖县级行政区划",children:[{text:"仙桃市"},{text:"潜江市"},{text:"天门市"},{text:"神农架林区"}]}]},{text:"湖南省",children:[{text:"长沙市",children:[{text:"芙蓉区"},{text:"天心区"},{text:"岳麓区"},{text:"开福区"},{text:"雨花区"},{text:"望城区"},{text:"长沙县"},{text:"宁乡县"},{text:"浏阳市"}]},{text:"株洲市",children:[{text:"荷塘区"},{text:"芦淞区"},{text:"石峰区"},{text:"天元区"},{text:"株洲县"},{text:"攸县"},{text:"茶陵县"},{text:"炎陵县"},{text:"醴陵市"}]},{text:"湘潭市",children:[{text:"雨湖区"},{text:"岳塘区"},{text:"湘潭县"},{text:"湘乡市"},{text:"韶山市"}]},{text:"衡阳市",children:[{text:"珠晖区"},{text:"雁峰区"},{text:"石鼓区"},{text:"蒸湘区"},{text:"南岳区"},{text:"衡阳县"},{text:"衡南县"},{text:"衡山县"},{text:"衡东县"},{text:"祁东县"},{text:"耒阳市"},{text:"常宁市"}]},{text:"邵阳市",children:[{text:"双清区"},{text:"大祥区"},{text:"北塔区"},{text:"邵东县"},{text:"新邵县"},{text:"邵阳县"},{text:"隆回县"},{text:"洞口县"},{text:"绥宁县"},{text:"新宁县"},{text:"城步苗族自治县"},{text:"武冈市"}]},{text:"岳阳市",children:[{text:"岳阳楼区"},{text:"云溪区"},{text:"君山区"},{text:"岳阳县"},{text:"华容县"},{text:"湘阴县"},{text:"平江县"},{text:"汨罗市"},{text:"临湘市"}]},{text:"常德市",children:[{text:"武陵区"},{text:"鼎城区"},{text:"安乡县"},{text:"汉寿县"},{text:"澧县"},{text:"临澧县"},{text:"桃源县"},{text:"石门县"},{text:"津市市"}]},{text:"张家界市",children:[{text:"永定区"},{text:"武陵源区"},{text:"慈利县"},{text:"桑植县"}]},{text:"益阳市",children:[{text:"资阳区"},{text:"赫山区"},{text:"南县"},{text:"桃江县"},{text:"安化县"},{text:"沅江市"}]},{text:"郴州市",children:[{text:"北湖区"},{text:"苏仙区"},{text:"桂阳县"},{text:"宜章县"},{text:"永兴县"},{text:"嘉禾县"},{text:"临武县"},{text:"汝城县"},{text:"桂东县"},{text:"安仁县"},{text:"资兴市"}]},{text:"永州市",children:[{text:"零陵区"},{text:"冷水滩区"},{text:"祁阳县"},{text:"东安县"},{text:"双牌县"},{text:"道县"},{text:"江永县"},{text:"宁远县"},{text:"蓝山县"},{text:"新田县"},{text:"江华瑶族自治县"}]},{text:"怀化市",children:[{text:"鹤城区"},{text:"中方县"},{text:"沅陵县"},{text:"辰溪县"},{text:"溆浦县"},{text:"会同县"},{text:"麻阳苗族自治县"},{text:"新晃侗族自治县"},{text:"芷江侗族自治县"},{text:"靖州苗族侗族自治县"},{text:"通道侗族自治县"},{text:"洪江市"}]},{text:"娄底市",children:[{text:"娄星区"},{text:"双峰县"},{text:"新化县"},{text:"冷水江市"},{text:"涟源市"}]},{text:"湘西土家族苗族自治州",children:[{text:"吉首市"},{text:"泸溪县"},{text:"凤凰县"},{text:"花垣县"},{text:"保靖县"},{text:"古丈县"},{text:"永顺县"},{text:"龙山县"}]}]},{text:"广东省",children:[{text:"广州市",children:[{text:"荔湾区"},{text:"越秀区"},{text:"海珠区"},{text:"天河区"},{text:"白云区"},{text:"黄埔区"},{text:"番禺区"},{text:"花都区"},{text:"南沙区"},{text:"从化区"},{text:"增城区"}]},{text:"韶关市",children:[{text:"武江区"},{text:"浈江区"},{text:"曲江区"},{text:"始兴县"},{text:"仁化县"},{text:"翁源县"},{text:"乳源瑶族自治县"},{text:"新丰县"},{text:"乐昌市"},{text:"南雄市"}]},{text:"深圳市",children:[{text:"罗湖区"},{text:"福田区"},{text:"南山区"},{text:"宝安区"},{text:"龙岗区"},{text:"盐田区"}]},{text:"珠海市",children:[{text:"香洲区"},{text:"斗门区"},{text:"金湾区"}]},{text:"汕头市",children:[{text:"龙湖区"},{text:"金平区"},{text:"濠江区"},{text:"潮阳区"},{text:"潮南区"},{text:"澄海区"},{text:"南澳县"}]},{text:"佛山市",children:[{text:"禅城区"},{text:"南海区"},{text:"顺德区"},{text:"三水区"},{text:"高明区"}]},{text:"江门市",children:[{text:"蓬江区"},{text:"江海区"},{text:"新会区"},{text:"台山市"},{text:"开平市"},{text:"鹤山市"},{text:"恩平市"}]},{text:"湛江市",children:[{text:"赤坎区"},{text:"霞山区"},{text:"坡头区"},{text:"麻章区"},{text:"遂溪县"},{text:"徐闻县"},{text:"廉江市"},{text:"雷州市"},{text:"吴川市"}]},{text:"茂名市",children:[{text:"茂南区"},{text:"电白区"},{text:"高州市"},{text:"化州市"},{text:"信宜市"}]},{text:"肇庆市",children:[{text:"端州区"},{text:"鼎湖区"},{text:"高要区"},{text:"广宁县"},{text:"怀集县"},{text:"封开县"},{text:"德庆县"},{text:"四会市"}]},{text:"惠州市",children:[{text:"惠城区"},{text:"惠阳区"},{text:"博罗县"},{text:"惠东县"},{text:"龙门县"}]},{text:"梅州市",children:[{text:"梅江区"},{text:"梅县区"},{text:"大埔县"},{text:"丰顺县"},{text:"五华县"},{text:"平远县"},{text:"蕉岭县"},{text:"兴宁市"}]},{text:"汕尾市",children:[{text:"城区"},{text:"海丰县"},{text:"陆河县"},{text:"陆丰市"}]},{text:"河源市",children:[{text:"源城区"},{text:"紫金县"},{text:"龙川县"},{text:"连平县"},{text:"和平县"},{text:"东源县"}]},{text:"阳江市",children:[{text:"江城区"},{text:"阳东区"},{text:"阳西县"},{text:"阳春市"}]},{text:"清远市",children:[{text:"清城区"},{text:"清新区"},{text:"佛冈县"},{text:"阳山县"},{text:"连山壮族瑶族自治县"},{text:"连南瑶族自治县"},{text:"英德市"},{text:"连州市"}]},{text:"东莞市",children:[{text:"东城街道办事处"},{text:"南城街道办事处"},{text:"万江街道办事处"},{text:"莞城街道办事处"},{text:"石碣镇"},{text:"石龙镇"},{text:"茶山镇"},{text:"石排镇"},{text:"企石镇"},{text:"横沥镇"},{text:"桥头镇"},{text:"谢岗镇"},{text:"东坑镇"},{text:"常平镇"},{text:"寮步镇"},{text:"樟木头镇"},{text:"大朗镇"},{text:"黄江镇"},{text:"清溪镇"},{text:"塘厦镇"},{text:"凤岗镇"},{text:"大岭山镇"},{text:"长安镇"},{text:"虎门镇"},{text:"厚街镇"},{text:"沙田镇"},{text:"道滘镇"},{text:"洪梅镇"},{text:"麻涌镇"},{text:"望牛墩镇"},{text:"中堂镇"},{text:"高埗镇"},{text:"松山湖管委会"},{text:"虎门港管委会"},{text:"东莞生态园"}]},{text:"中山市",children:[{text:"石岐区街道办事处"},{text:"东区街道办事处"},{text:"火炬开发区街道办事处"},{text:"西区街道办事处"},{text:"南区街道办事处"},{text:"五桂山街道办事处"},{text:"小榄镇"},{text:"黄圃镇"},{text:"民众镇"},{text:"东凤镇"},{text:"东升镇"},{text:"古镇镇"},{text:"沙溪镇"},{text:"坦洲镇"},{text:"港口镇"},{text:"三角镇"},{text:"横栏镇"},{text:"南头镇"},{text:"阜沙镇"},{text:"南朗镇"},{text:"三乡镇"},{text:"板芙镇"},{text:"大涌镇"},{text:"神湾镇"}]},{text:"潮州市",children:[{text:"湘桥区"},{text:"潮安区"},{text:"饶平县"}]},{text:"揭阳市",children:[{text:"榕城区"},{text:"揭东区"},{text:"揭西县"},{text:"惠来县"},{text:"普宁市"}]},{text:"云浮市",children:[{text:"云城区"},{text:"云安区"},{text:"新兴县"},{text:"郁南县"},{text:"罗定市"}]}]},{text:"广西壮族自治区",children:[{text:"南宁市",children:[{text:"兴宁区"},{text:"青秀区"},{text:"江南区"},{text:"西乡塘区"},{text:"良庆区"},{text:"邕宁区"},{text:"武鸣区"},{text:"隆安县"},{text:"马山县"},{text:"上林县"},{text:"宾阳县"},{text:"横县"}]},{text:"柳州市",children:[{text:"城中区"},{text:"鱼峰区"},{text:"柳南区"},{text:"柳北区"},{text:"柳江区"},{text:"柳城县"},{text:"鹿寨县"},{text:"融安县"},{text:"融水苗族自治县"},{text:"三江侗族自治县"}]},{text:"桂林市",children:[{text:"秀峰区"},{text:"叠彩区"},{text:"象山区"},{text:"七星区"},{text:"雁山区"},{text:"临桂区"},{text:"阳朔县"},{text:"灵川县"},{text:"全州县"},{text:"兴安县"},{text:"永福县"},{text:"灌阳县"},{text:"龙胜各族自治县"},{text:"资源县"},{text:"平乐县"},{text:"荔浦县"},{text:"恭城瑶族自治县"}]},{text:"梧州市",children:[{text:"万秀区"},{text:"长洲区"},{text:"龙圩区"},{text:"苍梧县"},{text:"藤县"},{text:"蒙山县"},{text:"岑溪市"}]},{text:"北海市",children:[{text:"海城区"},{text:"银海区"},{text:"铁山港区"},{text:"合浦县"}]},{text:"防城港市",children:[{text:"港口区"},{text:"防城区"},{text:"上思县"},{text:"东兴市"}]},{text:"钦州市",children:[{text:"钦南区"},{text:"钦北区"},{text:"灵山县"},{text:"浦北县"}]},{text:"贵港市",children:[{text:"港北区"},{text:"港南区"},{text:"覃塘区"},{text:"平南县"},{text:"桂平市"}]},{text:"玉林市",children:[{text:"玉州区"},{text:"福绵区"},{text:"容县"},{text:"陆川县"},{text:"博白县"},{text:"兴业县"},{text:"北流市"}]},{text:"百色市",children:[{text:"右江区"},{text:"田阳县"},{text:"田东县"},{text:"平果县"},{text:"德保县"},{text:"那坡县"},{text:"凌云县"},{text:"乐业县"},{text:"田林县"},{text:"西林县"},{text:"隆林各族自治县"},{text:"靖西市"}]},{text:"贺州市",children:[{text:"八步区"},{text:"平桂区"},{text:"昭平县"},{text:"钟山县"},{text:"富川瑶族自治县"}]},{text:"河池市",children:[{text:"金城江区"},{text:"南丹县"},{text:"天峨县"},{text:"凤山县"},{text:"东兰县"},{text:"罗城仫佬族自治县"},{text:"环江毛南族自治县"},{text:"巴马瑶族自治县"},{text:"都安瑶族自治县"},{text:"大化瑶族自治县"},{text:"宜州市"}]},{text:"来宾市",children:[{text:"兴宾区"},{text:"忻城县"},{text:"象州县"},{text:"武宣县"},{text:"金秀瑶族自治县"},{text:"合山市"}]},{text:"崇左市",children:[{text:"江州区"},{text:"扶绥县"},{text:"宁明县"},{text:"龙州县"},{text:"大新县"},{text:"天等县"},{text:"凭祥市"}]}]},{text:"海南省",children:[{text:"海口市",children:[{text:"秀英区"},{text:"龙华区"},{text:"琼山区"},{text:"美兰区"}]},{text:"三亚市",children:[{text:"海棠区"},{text:"吉阳区"},{text:"天涯区"},{text:"崖州区"}]},{text:"三沙市",children:[{text:"西沙群岛"},{text:"南沙群岛"},{text:"中沙群岛的岛礁及其海域"}]},{text:"儋州市",children:[{text:"那大镇"},{text:"和庆镇"},{text:"南丰镇"},{text:"大成镇"},{text:"雅星镇"},{text:"兰洋镇"},{text:"光村镇"},{text:"木棠镇"},{text:"海头镇"},{text:"峨蔓镇"},{text:"三都镇"},{text:"王五镇"},{text:"白马井镇"},{text:"中和镇"},{text:"排浦镇"},{text:"东成镇"},{text:"新州镇"},{text:"国营西培农场"},{text:"国营西联农场"},{text:"国营蓝洋农场"},{text:"国营八一农场"},{text:"洋浦经济开发区"},{text:"华南热作学院"}]},{text:"省直辖县级行政区划",children:[{text:"五指山市"},{text:"琼海市"},{text:"文昌市"},{text:"万宁市"},{text:"东方市"},{text:"定安县"},{text:"屯昌县"},{text:"澄迈县"},{text:"临高县"},{text:"白沙黎族自治县"},{text:"昌江黎族自治县"},{text:"乐东黎族自治县"},{text:"陵水黎族自治县"},{text:"保亭黎族苗族自治县"},{text:"琼中黎族苗族自治县"}]}]},{text:"重庆市",children:[{text:"市辖区",children:[{text:"万州区"},{text:"涪陵区"},{text:"渝中区"},{text:"大渡口区"},{text:"江北区"},{text:"沙坪坝区"},{text:"九龙坡区"},{text:"南岸区"},{text:"北碚区"},{text:"綦江区"},{text:"大足区"},{text:"渝北区"},{text:"巴南区"},{text:"黔江区"},{text:"长寿区"},{text:"江津区"},{text:"合川区"},{text:"永川区"},{text:"南川区"},{text:"璧山区"},{text:"铜梁区"},{text:"潼南区"},{text:"荣昌区"},{text:"开州区"}]},{text:"县",children:[{text:"梁平县"},{text:"城口县"},{text:"丰都县"},{text:"垫江县"},{text:"武隆县"},{text:"忠县"},{text:"云阳县"},{text:"奉节县"},{text:"巫山县"},{text:"巫溪县"},{text:"石柱土家族自治县"},{text:"秀山土家族苗族自治县"},{text:"酉阳土家族苗族自治县"},{text:"彭水苗族土家族自治县"}]}]},{text:"四川省",children:[{text:"成都市",children:[{text:"锦江区"},{text:"青羊区"},{text:"金牛区"},{text:"武侯区"},{text:"成华区"},{text:"龙泉驿区"},{text:"青白江区"},{text:"新都区"},{text:"温江区"},{text:"双流区"},{text:"金堂县"},{text:"郫县"},{text:"大邑县"},{text:"蒲江县"},{text:"新津县"},{text:"都江堰市"},{text:"彭州市"},{text:"邛崃市"},{text:"崇州市"},{text:"简阳市"}]},{text:"自贡市",children:[{text:"自流井区"},{text:"贡井区"},{text:"大安区"},{text:"沿滩区"},{text:"荣县"},{text:"富顺县"}]},{text:"攀枝花市",children:[{text:"东区"},{text:"西区"},{text:"仁和区"},{text:"米易县"},{text:"盐边县"}]},{text:"泸州市",children:[{text:"江阳区"},{text:"纳溪区"},{text:"龙马潭区"},{text:"泸县"},{text:"合江县"},{text:"叙永县"},{text:"古蔺县"}]},{text:"德阳市",children:[{text:"旌阳区"},{text:"中江县"},{text:"罗江县"},{text:"广汉市"},{text:"什邡市"},{text:"绵竹市"}]},{text:"绵阳市",children:[{text:"涪城区"},{text:"游仙区"},{text:"安州区"},{text:"三台县"},{text:"盐亭县"},{text:"梓潼县"},{text:"北川羌族自治县"},{text:"平武县"},{text:"江油市"}]},{text:"广元市",children:[{text:"利州区"},{text:"昭化区"},{text:"朝天区"},{text:"旺苍县"},{text:"青川县"},{text:"剑阁县"},{text:"苍溪县"}]},{text:"遂宁市",children:[{text:"船山区"},{text:"安居区"},{text:"蓬溪县"},{text:"射洪县"},{text:"大英县"}]},{text:"内江市",children:[{text:"市中区"},{text:"东兴区"},{text:"威远县"},{text:"资中县"},{text:"隆昌县"}]},{text:"乐山市",children:[{text:"市中区"},{text:"沙湾区"},{text:"五通桥区"},{text:"金口河区"},{text:"犍为县"},{text:"井研县"},{text:"夹江县"},{text:"沐川县"},{text:"峨边彝族自治县"},{text:"马边彝族自治县"},{text:"峨眉山市"}]},{text:"南充市",children:[{text:"顺庆区"},{text:"高坪区"},{text:"嘉陵区"},{text:"南部县"},{text:"营山县"},{text:"蓬安县"},{text:"仪陇县"},{text:"西充县"},{text:"阆中市"}]},{text:"眉山市",children:[{text:"东坡区"},{text:"彭山区"},{text:"仁寿县"},{text:"洪雅县"},{text:"丹棱县"},{text:"青神县"}]},{text:"宜宾市",children:[{text:"翠屏区"},{text:"南溪区"},{text:"宜宾县"},{text:"江安县"},{text:"长宁县"},{text:"高县"},{text:"珙县"},{text:"筠连县"},{text:"兴文县"},{text:"屏山县"}]},{text:"广安市",children:[{text:"广安区"},{text:"前锋区"},{text:"岳池县"},{text:"武胜县"},{text:"邻水县"},{text:"华蓥市"}]},{text:"达州市",children:[{text:"通川区"},{text:"达川区"},{text:"宣汉县"},{text:"开江县"},{text:"大竹县"},{text:"渠县"},{text:"万源市"}]},{text:"雅安市",children:[{text:"雨城区"},{text:"名山区"},{text:"荥经县"},{text:"汉源县"},{text:"石棉县"},{text:"天全县"},{text:"芦山县"},{text:"宝兴县"}]},{text:"巴中市",children:[{text:"巴州区"},{text:"恩阳区"},{text:"通江县"},{text:"南江县"},{text:"平昌县"}]},{text:"资阳市",children:[{text:"雁江区"},{text:"安岳县"},{text:"乐至县"}]},{text:"阿坝藏族羌族自治州",children:[{text:"马尔康市"},{text:"汶川县"},{text:"理县"},{text:"茂县"},{text:"松潘县"},{text:"九寨沟县"},{text:"金川县"},{text:"小金县"},{text:"黑水县"},{text:"壤塘县"},{text:"阿坝县"},{text:"若尔盖县"},{text:"红原县"}]},{text:"甘孜藏族自治州",children:[{text:"康定市"},{text:"泸定县"},{text:"丹巴县"},{text:"九龙县"},{text:"雅江县"},{text:"道孚县"},{text:"炉霍县"},{text:"甘孜县"},{text:"新龙县"},{text:"德格县"},{text:"白玉县"},{text:"石渠县"},{text:"色达县"},{text:"理塘县"},{text:"巴塘县"},{text:"乡城县"},{text:"稻城县"},{text:"得荣县"}]},{text:"凉山彝族自治州",children:[{text:"西昌市"},{text:"木里藏族自治县"},{text:"盐源县"},{text:"德昌县"},{text:"会理县"},{text:"会东县"},{text:"宁南县"},{text:"普格县"},{text:"布拖县"},{text:"金阳县"},{text:"昭觉县"},{text:"喜德县"},{text:"冕宁县"},{text:"越西县"},{text:"甘洛县"},{text:"美姑县"},{text:"雷波县"}]}]},{text:"贵州省",children:[{text:"贵阳市",children:[{text:"南明区"},{text:"云岩区"},{text:"花溪区"},{text:"乌当区"},{text:"白云区"},{text:"观山湖区"},{text:"开阳县"},{text:"息烽县"},{text:"修文县"},{text:"清镇市"}]},{text:"六盘水市",children:[{text:"钟山区"},{text:"六枝特区"},{text:"水城县"},{text:"盘县"}]},{text:"遵义市",children:[{text:"红花岗区"},{text:"汇川区"},{text:"播州区"},{text:"桐梓县"},{text:"绥阳县"},{text:"正安县"},{text:"道真仡佬族苗族自治县"},{text:"务川仡佬族苗族自治县"},{text:"凤冈县"},{text:"湄潭县"},{text:"余庆县"},{text:"习水县"},{text:"赤水市"},{text:"仁怀市"}]},{text:"安顺市",children:[{text:"西秀区"},{text:"平坝区"},{text:"普定县"},{text:"镇宁布依族苗族自治县"},{text:"关岭布依族苗族自治县"},{text:"紫云苗族布依族自治县"}]},{text:"毕节市",children:[{text:"七星关区"},{text:"大方县"},{text:"黔西县"},{text:"金沙县"},{text:"织金县"},{text:"纳雍县"},{text:"威宁彝族回族苗族自治县"},{text:"赫章县"}]},{text:"铜仁市",children:[{text:"碧江区"},{text:"万山区"},{text:"江口县"},{text:"玉屏侗族自治县"},{text:"石阡县"},{text:"思南县"},{text:"印江土家族苗族自治县"},{text:"德江县"},{text:"沿河土家族自治县"},{text:"松桃苗族自治县"}]},{text:"黔西南布依族苗族自治州",children:[{text:"兴义市"},{text:"兴仁县"},{text:"普安县"},{text:"晴隆县"},{text:"贞丰县"},{text:"望谟县"},{text:"册亨县"},{text:"安龙县"}]},{text:"黔东南苗族侗族自治州",children:[{text:"凯里市"},{text:"黄平县"},{text:"施秉县"},{text:"三穗县"},{text:"镇远县"},{text:"岑巩县"},{text:"天柱县"},{text:"锦屏县"},{text:"剑河县"},{text:"台江县"},{text:"黎平县"},{text:"榕江县"},{text:"从江县"},{text:"雷山县"},{text:"麻江县"},{text:"丹寨县"}]},{text:"黔南布依族苗族自治州",children:[{text:"都匀市"},{text:"福泉市"},{text:"荔波县"},{text:"贵定县"},{text:"瓮安县"},{text:"独山县"},{text:"平塘县"},{text:"罗甸县"},{text:"长顺县"},{text:"龙里县"},{text:"惠水县"},{text:"三都水族自治县"}]}]},{text:"云南省",children:[{text:"昆明市",children:[{text:"五华区"},{text:"盘龙区"},{text:"官渡区"},{text:"西山区"},{text:"东川区"},{text:"呈贡区"},{text:"晋宁县"},{text:"富民县"},{text:"宜良县"},{text:"石林彝族自治县"},{text:"嵩明县"},{text:"禄劝彝族苗族自治县"},{text:"寻甸回族彝族自治县"},{text:"安宁市"}]},{text:"曲靖市",children:[{text:"麒麟区"},{text:"沾益区"},{text:"马龙县"},{text:"陆良县"},{text:"师宗县"},{text:"罗平县"},{text:"富源县"},{text:"会泽县"},{text:"宣威市"}]},{text:"玉溪市",children:[{text:"红塔区"},{text:"江川区"},{text:"澄江县"},{text:"通海县"},{text:"华宁县"},{text:"易门县"},{text:"峨山彝族自治县"},{text:"新平彝族傣族自治县"},{text:"元江哈尼族彝族傣族自治县"}]},{text:"保山市",children:[{text:"隆阳区"},{text:"施甸县"},{text:"龙陵县"},{text:"昌宁县"},{text:"腾冲市"}]},{text:"昭通市",children:[{text:"昭阳区"},{text:"鲁甸县"},{text:"巧家县"},{text:"盐津县"},{text:"大关县"},{text:"永善县"},{text:"绥江县"},{text:"镇雄县"},{text:"彝良县"},{text:"威信县"},{text:"水富县"}]},{text:"丽江市",children:[{text:"古城区"},{text:"玉龙纳西族自治县"},{text:"永胜县"},{text:"华坪县"},{text:"宁蒗彝族自治县"}]},{text:"普洱市",children:[{text:"思茅区"},{text:"宁洱哈尼族彝族自治县"},{text:"墨江哈尼族自治县"},{text:"景东彝族自治县"},{text:"景谷傣族彝族自治县"},{text:"镇沅彝族哈尼族拉祜族自治县"},{text:"江城哈尼族彝族自治县"},{text:"孟连傣族拉祜族佤族自治县"},{text:"澜沧拉祜族自治县"},{text:"西盟佤族自治县"}]},{text:"临沧市",children:[{text:"临翔区"},{text:"凤庆县"},{text:"云县"},{text:"永德县"},{text:"镇康县"},{text:"双江拉祜族佤族布朗族傣族自治县"},{text:"耿马傣族佤族自治县"},{text:"沧源佤族自治县"}]},{text:"楚雄彝族自治州",children:[{text:"楚雄市"},{text:"双柏县"},{text:"牟定县"},{text:"南华县"},{text:"姚安县"},{text:"大姚县"},{text:"永仁县"},{text:"元谋县"},{text:"武定县"},{text:"禄丰县"}]},{text:"红河哈尼族彝族自治州",children:[{text:"个旧市"},{text:"开远市"},{text:"蒙自市"},{text:"弥勒市"},{text:"屏边苗族自治县"},{text:"建水县"},{text:"石屏县"},{text:"泸西县"},{text:"元阳县"},{text:"红河县"},{text:"金平苗族瑶族傣族自治县"},{text:"绿春县"},{text:"河口瑶族自治县"}]},{text:"文山壮族苗族自治州",children:[{text:"文山市"},{text:"砚山县"},{text:"西畴县"},{text:"麻栗坡县"},{text:"马关县"},{text:"丘北县"},{text:"广南县"},{text:"富宁县"}]},{text:"西双版纳傣族自治州",children:[{text:"景洪市"},{text:"勐海县"},{text:"勐腊县"}]},{text:"大理白族自治州",children:[{text:"大理市"},{text:"漾濞彝族自治县"},{text:"祥云县"},{text:"宾川县"},{text:"弥渡县"},{text:"南涧彝族自治县"},{text:"巍山彝族回族自治县"},{text:"永平县"},{text:"云龙县"},{text:"洱源县"},{text:"剑川县"},{text:"鹤庆县"}]},{text:"德宏傣族景颇族自治州",children:[{text:"瑞丽市"},{text:"芒市"},{text:"梁河县"},{text:"盈江县"},{text:"陇川县"}]},{text:"怒江傈僳族自治州",children:[{text:"泸水市"},{text:"福贡县"},{text:"贡山独龙族怒族自治县"},{text:"兰坪白族普米族自治县"}]},{text:"迪庆藏族自治州",children:[{text:"香格里拉市"},{text:"德钦县"},{text:"维西傈僳族自治县"}]}]},{text:"西藏自治区",children:[{text:"拉萨市",children:[{text:"城关区"},{text:"堆龙德庆区"},{text:"林周县"},{text:"当雄县"},{text:"尼木县"},{text:"曲水县"},{text:"达孜县"},{text:"墨竹工卡县"}]},{text:"日喀则市",children:[{text:"桑珠孜区"},{text:"南木林县"},{text:"江孜县"},{text:"定日县"},{text:"萨迦县"},{text:"拉孜县"},{text:"昂仁县"},{text:"谢通门县"},{text:"白朗县"},{text:"仁布县"},{text:"康马县"},{text:"定结县"},{text:"仲巴县"},{text:"亚东县"},{text:"吉隆县"},{text:"聂拉木县"},{text:"萨嘎县"},{text:"岗巴县"}]},{text:"昌都市",children:[{text:"卡若区"},{text:"江达县"},{text:"贡觉县"},{text:"类乌齐县"},{text:"丁青县"},{text:"察雅县"},{text:"八宿县"},{text:"左贡县"},{text:"芒康县"},{text:"洛隆县"},{text:"边坝县"}]},{text:"林芝市",children:[{text:"巴宜区"},{text:"工布江达县"},{text:"米林县"},{text:"墨脱县"},{text:"波密县"},{text:"察隅县"},{text:"朗县"}]},{text:"山南市",children:[{text:"乃东区"},{text:"扎囊县"},{text:"贡嘎县"},{text:"桑日县"},{text:"琼结县"},{text:"曲松县"},{text:"措美县"},{text:"洛扎县"},{text:"加查县"},{text:"隆子县"},{text:"错那县"},{text:"浪卡子县"}]},{text:"那曲地区",children:[{text:"那曲县"},{text:"嘉黎县"},{text:"比如县"},{text:"聂荣县"},{text:"安多县"},{text:"申扎县"},{text:"索县"},{text:"班戈县"},{text:"巴青县"},{text:"尼玛县"},{text:"双湖县"}]},{text:"阿里地区",children:[{text:"普兰县"},{text:"札达县"},{text:"噶尔县"},{text:"日土县"},{text:"革吉县"},{text:"改则县"},{text:"措勤县"}]}]},{text:"陕西省",children:[{text:"西安市",children:[{text:"新城区"},{text:"碑林区"},{text:"莲湖区"},{text:"灞桥区"},{text:"未央区"},{text:"雁塔区"},{text:"阎良区"},{text:"临潼区"},{text:"长安区"},{text:"高陵区"},{text:"蓝田县"},{text:"周至县"},{text:"户县"}]},{text:"铜川市",children:[{text:"王益区"},{text:"印台区"},{text:"耀州区"},{text:"宜君县"}]},{text:"宝鸡市",children:[{text:"渭滨区"},{text:"金台区"},{text:"陈仓区"},{text:"凤翔县"},{text:"岐山县"},{text:"扶风县"},{text:"眉县"},{text:"陇县"},{text:"千阳县"},{text:"麟游县"},{text:"凤县"},{text:"太白县"}]},{text:"咸阳市",children:[{text:"秦都区"},{text:"杨陵区"},{text:"渭城区"},{text:"三原县"},{text:"泾阳县"},{text:"乾县"},{text:"礼泉县"},{text:"永寿县"},{text:"彬县"},{text:"长武县"},{text:"旬邑县"},{text:"淳化县"},{text:"武功县"},{text:"兴平市"}]},{text:"渭南市",children:[{text:"临渭区"},{text:"华州区"},{text:"潼关县"},{text:"大荔县"},{text:"合阳县"},{text:"澄城县"},{text:"蒲城县"},{text:"白水县"},{text:"富平县"},{text:"韩城市"},{text:"华阴市"}]},{text:"延安市",children:[{text:"宝塔区"},{text:"安塞区"},{text:"延长县"},{text:"延川县"},{text:"子长县"},{text:"志丹县"},{text:"吴起县"},{text:"甘泉县"},{text:"富县"},{text:"洛川县"},{text:"宜川县"},{text:"黄龙县"},{text:"黄陵县"}]},{text:"汉中市",children:[{text:"汉台区"},{text:"南郑县"},{text:"城固县"},{text:"洋县"},{text:"西乡县"},{text:"勉县"},{text:"宁强县"},{text:"略阳县"},{text:"镇巴县"},{text:"留坝县"},{text:"佛坪县"}]},{text:"榆林市",children:[{text:"榆阳区"},{text:"横山区"},{text:"神木县"},{text:"府谷县"},{text:"靖边县"},{text:"定边县"},{text:"绥德县"},{text:"米脂县"},{text:"佳县"},{text:"吴堡县"},{text:"清涧县"},{text:"子洲县"}]},{text:"安康市",children:[{text:"汉滨区"},{text:"汉阴县"},{text:"石泉县"},{text:"宁陕县"},{text:"紫阳县"},{text:"岚皋县"},{text:"平利县"},{text:"镇坪县"},{text:"旬阳县"},{text:"白河县"}]},{text:"商洛市",children:[{text:"商州区"},{text:"洛南县"},{text:"丹凤县"},{text:"商南县"},{text:"山阳县"},{text:"镇安县"},{text:"柞水县"}]}]},{text:"甘肃省",children:[{text:"兰州市",children:[{text:"城关区"},{text:"七里河区"},{text:"西固区"},{text:"安宁区"},{text:"红古区"},{text:"永登县"},{text:"皋兰县"},{text:"榆中县"}]},{text:"嘉峪关市",children:[{text:"新城镇"},{text:"峪泉镇"},{text:"文殊镇"},{text:"雄关区"},{text:"镜铁区"},{text:"长城区"}]},{text:"金昌市",children:[{text:"金川区"},{text:"永昌县"}]},{text:"白银市",children:[{text:"白银区"},{text:"平川区"},{text:"靖远县"},{text:"会宁县"},{text:"景泰县"}]},{text:"天水市",children:[{text:"秦州区"},{text:"麦积区"},{text:"清水县"},{text:"秦安县"},{text:"甘谷县"},{text:"武山县"},{text:"张家川回族自治县"}]},{text:"武威市",children:[{text:"凉州区"},{text:"民勤县"},{text:"古浪县"},{text:"天祝藏族自治县"}]},{text:"张掖市",children:[{text:"甘州区"},{text:"肃南裕固族自治县"},{text:"民乐县"},{text:"临泽县"},{text:"高台县"},{text:"山丹县"}]},{text:"平凉市",children:[{text:"崆峒区"},{text:"泾川县"},{text:"灵台县"},{text:"崇信县"},{text:"华亭县"},{text:"庄浪县"},{text:"静宁县"}]},{text:"酒泉市",children:[{text:"肃州区"},{text:"金塔县"},{text:"瓜州县"},{text:"肃北蒙古族自治县"},{text:"阿克塞哈萨克族自治县"},{text:"玉门市"},{text:"敦煌市"}]},{text:"庆阳市",children:[{text:"西峰区"},{text:"庆城县"},{text:"环县"},{text:"华池县"},{text:"合水县"},{text:"正宁县"},{text:"宁县"},{text:"镇原县"}]},{text:"定西市",children:[{text:"安定区"},{text:"通渭县"},{text:"陇西县"},{text:"渭源县"},{text:"临洮县"},{text:"漳县"},{text:"岷县"}]},{text:"陇南市",children:[{text:"武都区"},{text:"成县"},{text:"文县"},{text:"宕昌县"},{text:"康县"},{text:"西和县"},{text:"礼县"},{text:"徽县"},{text:"两当县"}]},{text:"临夏回族自治州",children:[{text:"临夏市"},{text:"临夏县"},{text:"康乐县"},{text:"永靖县"},{text:"广河县"},{text:"和政县"},{text:"东乡族自治县"},{text:"积石山保安族东乡族撒拉族自治县"}]},{text:"甘南藏族自治州",children:[{text:"合作市"},{text:"临潭县"},{text:"卓尼县"},{text:"舟曲县"},{text:"迭部县"},{text:"玛曲县"},{text:"碌曲县"},{text:"夏河县"}]}]},{text:"青海省",children:[{text:"西宁市",children:[{text:"城东区"},{text:"城中区"},{text:"城西区"},{text:"城北区"},{text:"大通回族土族自治县"},{text:"湟中县"},{text:"湟源县"}]},{text:"海东市",children:[{text:"乐都区"},{text:"平安区"},{text:"民和回族土族自治县"},{text:"互助土族自治县"},{text:"化隆回族自治县"},{text:"循化撒拉族自治县"}]},{text:"海北藏族自治州",children:[{text:"门源回族自治县"},{text:"祁连县"},{text:"海晏县"},{text:"刚察县"}]},{text:"黄南藏族自治州",children:[{text:"同仁县"},{text:"尖扎县"},{text:"泽库县"},{text:"河南蒙古族自治县"}]},{text:"海南藏族自治州",children:[{text:"共和县"},{text:"同德县"},{text:"贵德县"},{text:"兴海县"},{text:"贵南县"}]},{text:"果洛藏族自治州",children:[{text:"玛沁县"},{text:"班玛县"},{text:"甘德县"},{text:"达日县"},{text:"久治县"},{text:"玛多县"}]},{text:"玉树藏族自治州",children:[{text:"玉树市"},{text:"杂多县"},{text:"称多县"},{text:"治多县"},{text:"囊谦县"},{text:"曲麻莱县"}]},{text:"海西蒙古族藏族自治州",children:[{text:"格尔木市"},{text:"德令哈市"},{text:"乌兰县"},{text:"都兰县"},{text:"天峻县"}]}]},{text:"宁夏回族自治区",children:[{text:"银川市",children:[{text:"兴庆区"},{text:"西夏区"},{text:"金凤区"},{text:"永宁县"},{text:"贺兰县"},{text:"灵武市"}]},{text:"石嘴山市",children:[{text:"大武口区"},{text:"惠农区"},{text:"平罗县"}]},{text:"吴忠市",children:[{text:"利通区"},{text:"红寺堡区"},{text:"盐池县"},{text:"同心县"},{text:"青铜峡市"}]},{text:"固原市",children:[{text:"原州区"},{text:"西吉县"},{text:"隆德县"},{text:"泾源县"},{text:"彭阳县"}]},{text:"中卫市",children:[{text:"沙坡头区"},{text:"中宁县"},{text:"海原县"}]}]},{text:"新疆维吾尔自治区",children:[{text:"乌鲁木齐市",children:[{text:"天山区"},{text:"沙依巴克区"},{text:"新市区"},{text:"水磨沟区"},{text:"头屯河区"},{text:"达坂城区"},{text:"米东区"},{text:"乌鲁木齐县"}]},{text:"克拉玛依市",children:[{text:"独山子区"},{text:"克拉玛依区"},{text:"白碱滩区"},{text:"乌尔禾区"}]},{text:"吐鲁番市",children:[{text:"高昌区"},{text:"鄯善县"},{text:"托克逊县"}]},{text:"哈密市",children:[{text:"伊州区"},{text:"巴里坤哈萨克自治县"},{text:"伊吾县"}]},{text:"昌吉回族自治州",children:[{text:"昌吉市"},{text:"阜康市"},{text:"呼图壁县"},{text:"玛纳斯县"},{text:"奇台县"},{text:"吉木萨尔县"},{text:"木垒哈萨克自治县"}]},{text:"博尔塔拉蒙古自治州",children:[{text:"博乐市"},{text:"阿拉山口市"},{text:"精河县"},{text:"温泉县"}]},{text:"巴音郭楞蒙古自治州",children:[{text:"库尔勒市"},{text:"轮台县"},{text:"尉犁县"},{text:"若羌县"},{text:"且末县"},{text:"焉耆回族自治县"},{text:"和静县"},{text:"和硕县"},{text:"博湖县"}]},{text:"阿克苏地区",children:[{text:"阿克苏市"},{text:"温宿县"},{text:"库车县"},{text:"沙雅县"},{text:"新和县"},{text:"拜城县"},{text:"乌什县"},{text:"阿瓦提县"},{text:"柯坪县"}]},{text:"克孜勒苏柯尔克孜自治州",children:[{text:"阿图什市"},{text:"阿克陶县"},{text:"阿合奇县"},{text:"乌恰县"}]},{text:"喀什地区",children:[{text:"喀什市"},{text:"疏附县"},{text:"疏勒县"},{text:"英吉沙县"},{text:"泽普县"},{text:"莎车县"},{text:"叶城县"},{text:"麦盖提县"},{text:"岳普湖县"},{text:"伽师县"},{text:"巴楚县"},{text:"塔什库尔干塔吉克自治县"}]},{text:"和田地区",children:[{text:"和田市"},{text:"和田县"},{text:"墨玉县"},{text:"皮山县"},{text:"洛浦县"},{text:"策勒县"},{text:"于田县"},{text:"民丰县"}]},{text:"伊犁哈萨克自治州",children:[{text:"伊宁市"},{text:"奎屯市"},{text:"霍尔果斯市"},{text:"伊宁县"},{text:"察布查尔锡伯自治县"},{text:"霍城县"},{text:"巩留县"},{text:"新源县"},{text:"昭苏县"},{text:"特克斯县"},{text:"尼勒克县"}]},{text:"塔城地区",children:[{text:"塔城市"},{text:"乌苏市"},{text:"额敏县"},{text:"沙湾县"},{text:"托里县"},{text:"裕民县"},{text:"和布克赛尔蒙古自治县"}]},{text:"阿勒泰地区",children:[{text:"阿勒泰市"},{text:"布尔津县"},{text:"富蕴县"},{text:"福海县"},{text:"哈巴河县"},{text:"青河县"},{text:"吉木乃县"}]},{text:"自治区直辖县级行政区划",children:[{text:"石河子市"},{text:"阿拉尔市"},{text:"图木舒克市"},{text:"五家渠市"},{text:"铁门关市"}]}]},{text:"台湾省",children:[]},{text:"香港特别行政区",children:[]},{text:"澳门特别行政区",children:[]}],ve={functionCall:"函数调用",componentCall:"组件调用",singlePicker:"单列选择",multiplePicker:"多列选择",cascadePicker:"级联选择",areaPicker:"地区选择",valueMapping:"值的映射",twoWayBinding:"双向绑定",reset:"点击重置"},ge={functionCall:"Function Call",componentCall:"Component Call",singlePicker:"Single Column Picker",multiplePicker:"Multiple Column Picker",cascadePicker:"Cascade Column Picker",areaPicker:"Area Picker",valueMapping:"Value Mapping",twoWayBinding:"Two-way binding",reset:"Click Reset"},{add:mt,use:ke,pack:g,packs:Ke,merge:Le}=te(),Ce=e=>{ne(e),ke(e)};ut("zh-CN",ee);ut("en-US",xe);mt("zh-CN",ve);mt("en-US",ge);const We={__name:"index",setup(e){const p=y.Component,u=N([[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}]]),i=N([[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}],[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}],[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}]]),k=N([{text:"四川省",children:[{text:"成都市",children:[{text:"温江区"},{text:"青羊区"}]}]},{text:"江苏省",children:[{text:"无锡市",children:[{text:"新吴区"},{text:"滨湖区"}]}]}]),v=N(fe),f=N([[{text:"A",value:1},{text:"B",value:2},{text:"C",value:3},{text:"D",value:4}],[{text:"A",value:1},{text:"B",value:2},{text:"C",value:3},{text:"D",value:4}],[{text:"A",value:1},{text:"B",value:2},{text:"C",value:3},{text:"D",value:4}]]),r=N(["A","B","C"]);async function d(){await y({columns:u.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function D(){await y({columns:i.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function z(){await y({cascade:!0,columns:k.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function W(){await y({columns:v.value,cascade:!0,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function F(){await y({columns:f.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}function T(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}return Gt(Ce),Qt(le),(s,a)=>(A(),V(X,null,[c(n($),null,{default:o(()=>[m(h(n(g).functionCall),1)]),_:1}),c(n(dt),{direction:"column",size:["3vmin","4vmin"]},{default:o(()=>[c(n(b),{type:"primary",block:"",onClick:d},{default:o(()=>[m(h(n(g).singlePicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:D},{default:o(()=>[m(h(n(g).multiplePicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:z},{default:o(()=>[m(h(n(g).cascadePicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:W},{default:o(()=>[m(h(n(g).areaPicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:F},{default:o(()=>[m(h(n(g).valueMapping),1)]),_:1})]),_:1}),c(n($),null,{default:o(()=>[m(h(n(g).componentCall),1)]),_:1}),c(n($),null,{default:o(()=>[m(h(n(g).singlePicker),1)]),_:1}),c(n(p),{columns:u.value,onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).multiplePicker),1)]),_:1}),c(n(p),{columns:i.value,onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).areaPicker),1)]),_:1}),c(n(p),{columns:k.value,cascade:"",onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).areaPicker),1)]),_:1}),c(n(p),{columns:v.value,cascade:"",onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).valueMapping),1)]),_:1}),c(n(p),{columns:f.value,onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).twoWayBinding),1)]),_:1}),c(n(dt),{direction:"column",size:"large"},{default:o(()=>[c(n(b),{type:"primary",onClick:a[0]||(a[0]=O=>r.value=["A","B","C"])},{default:o(()=>[m("values: "+h(r.value)+" "+h(n(g).reset),1)]),_:1}),c(n(p),{columns:i.value,modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=O=>r.value=O),onChange:T},null,8,["columns","modelValue"])]),_:1})],64))}};export{We as default}; +import{B as b}from"./index-1f1d0c91.js";import{p as Nt,P as At}from"./index-0e439e92.js";import{d as Et,r as N,D as H,b4 as Vt,G as lt,T as Ut,aD as Dt,ba as It,_ as Rt,b as Yt,e as A,f as zt,w as o,p as M,as as it,m as V,x as C,v as j,q as c,Q as m,R as h,t as Ht,y as Y,N as X,O as rt,M as Kt,an as Lt,W as Wt,n as Ft,a2 as qt,F as Gt,al as Qt,U as n}from"./index-0bd4ebfc.js";import{d as K,p as jt,g as Jt,c as Xt,a as w,m as Zt,w as st}from"./components-a5332e66.js";import{t as ct,f as J}from"./elements-23c82371.js";import{p as _t,u as te,b as ut,_ as ee,c as xe,a as ne}from"./index-4a9c2ae2.js";import{S as E}from"./index-1ed406cf.js";import{S as dt}from"./index-65cffe90.js";import{d as le}from"./index-d8fbf18c.js";import{A as $}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./lock-e6f4e779.js";import"./zIndex-976ced0e.js";import"./provide-f823f5cd.js";import"./logger-525ef361.js";import"./index-2c5b74fa.js";const ie={modelValue:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]},title:String,textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},childrenKey:{type:String,default:"children"},toolbar:{type:Boolean,default:!0},cascade:Boolean,optionHeight:{type:[Number,String],default:44},optionCount:{type:[Number,String],default:6},confirmButtonText:String,cancelButtonText:String,confirmButtonTextColor:String,cancelButtonTextColor:String,dynamic:Boolean,onChange:K(),onConfirm:K(),onCancel:K(),"onUpdate:modelValue":K(),...jt(Nt,["show","onUpdate:show","closeOnClickOverlay","teleport","safeArea","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])},{name:re,n:ce,classes:de}=Xt("picker"),at=300,ae=15,ot=200,oe=1e3;let ht=0;const he=Et({name:re,components:{VarButton:b,VarPopup:At},inheritAttrs:!1,props:ie,setup(e){const p=Jt(e,"modelValue"),u=N([]),i=H(()=>ct(e.optionHeight)),k=H(()=>ct(e.optionCount)),v=H(()=>k.value*i.value/2-i.value/2),f=H(()=>k.value*i.value),{prevY:r,moveY:d,dragging:D,startTouch:z,moveTouch:W,endTouch:F}=Vt();let T=[];_(),lt(()=>e.columns,_,{deep:!0}),lt(()=>p.value,tt);function s(t){return{text:e.textKey,value:e.valueKey,children:e.childrenKey}[t]}function a(t){return t[s("value")]??t[s("text")]}function O(t){T=[...t]}function pt(t){return t.map(x=>{const l={id:ht++,prevY:0,momentumPrevY:0,touching:!1,translate:v.value,index:0,duration:0,momentumTime:0,column:x,scrollEl:null,scrolling:!1};return B(l),l})}function ft(t){const x=[];return q(x,t),x}function q(t,x){if(x.length){const l={id:ht++,prevY:0,momentumPrevY:0,touching:!1,translate:v.value,index:0,duration:0,momentumTime:0,column:x,scrollEl:null,scrolling:!1};t.push(l),B(l),q(t,l.column[l.index][s("children")]??[])}}function Z(t){u.value.splice(u.value.indexOf(t)+1),q(u.value,t.column[t.index][s("children")]??[])}function _(){u.value=e.cascade?ft(e.columns):pt(e.columns),tt()}function tt(){u.value.forEach((x,l)=>{const S=x.column.findIndex(P=>p.value[l]===a(P));x.index=S===-1?0:S,B(x)});const{indexes:t}=I();O(t)}function vt(t,x){x.scrollEl=t}function gt(t){w(e["onUpdate:show"],t)}function kt(t){const x=v.value-t.column.length*i.value,l=i.value+v.value;t.translate=Dt(t.translate,x,l)}function G(t,x){const l=Math.round((v.value-x)/i.value);return It(l,t.column)}function Ct(t){return t.translate=v.value-t.index*i.value,t.translate}function I(){const t=[],x=[],l=[];return u.value.forEach(({column:S,index:P})=>{const R=S[P];t.push(a(R)),x.push(P),l.push(R)}),{values:t,indexes:x,options:l}}function B(t,x=0){Ct(t),t.duration=x}function yt(t,x,l){t.translate+=Math.abs(x/l)/.003*(x<0?-1:1)}function Tt(t,x){D.value||(t.index=x,B(t,ot))}function St(t,x){x.touching=!0,x.translate=J(x.scrollEl),z(t)}function Pt(t,x){if(!x.touching)return;W(t),x.scrolling=!1,x.duration=0,x.prevY=r.value,x.translate+=d.value,kt(x);const l=performance.now();l-x.momentumTime>at&&(x.momentumTime=l,x.momentumPrevY=x.translate)}function $t(t){F(),t.touching=!1,t.prevY=0;const x=t.translate-t.momentumPrevY,l=performance.now()-t.momentumTime,S=Math.abs(x)>=ae&&l<=at,P=t.translate;S&&yt(t,x,l),t.index=G(t,t.translate),B(t,S?oe:ot),t.scrolling=t.translate!==P,t.scrolling||et(t)}function wt(t){t.scrolling=!1,et(t)}function Ot(){const{indexes:t}=I();return t.every((x,l)=>x===T[l])}function et(t){const{cascade:x,onChange:l}=e;if(Ot())return;x&&Z(t);const S=u.value.some(Q=>Q.scrolling),P=u.value.some(Q=>Q.touching);if(S||P)return;const{values:R,indexes:nt,options:bt}=I();O(nt),w(l,R,nt,bt),p.value=R}function xt(){if(e.cascade){const t=u.value.find(x=>x.scrolling);t&&(t.index=G(t,J(t.scrollEl)),t.scrolling=!1,B(t),Z(t))}else u.value.forEach(t=>{t.index=G(t,J(t.scrollEl)),B(t)})}function Bt(){xt();const{values:t,indexes:x,options:l}=I();O(x),w(e.onConfirm,t,x,l)}function Mt(){xt();const{values:t,indexes:x,options:l}=I();O(x),w(e.onCancel,t,x,l)}return{pack:_t,optionHeight:i,optionCount:k,scrollColumns:u,columnHeight:f,center:v,Transition:Ut,n:ce,classes:de,setScrollEl:vt,getOptionKey:s,getValue:a,handlePopupUpdateShow:gt,handleTouchstart:St,handleTouchmove:Pt,handleTouchend:$t,handleTransitionend:wt,confirm:Bt,cancel:Mt,handleClick:Tt}}});const se=["onTouchstartPassive","onTouchmove","onTouchend"],ue=["onTransitionend"],me=["onClick"];function pe(e,p,u,i,k,v){const f=Yt("var-button");return A(),zt(Lt(e.dynamic?e.n("$-popup"):e.Transition),it(e.dynamic?{onOpen:e.onOpen,onOpened:e.onOpened,onClose:e.onClose,onClosed:e.onClosed,onClickOverlay:e.onClickOverlay,onRouteChange:e.onRouteChange,closeOnClickOverlay:e.closeOnClickOverlay,teleport:e.teleport,show:e.show,safeArea:e.safeArea,"onUpdate:show":e.handlePopupUpdateShow,position:"bottom",class:e.n("popup")}:null,{"var-picker-cover":""}),{default:o(()=>[M("div",it({class:e.n()},e.$attrs),[e.toolbar?(A(),V("div",{key:0,class:C(e.n("toolbar"))},[j(e.$slots,"cancel",{},()=>[c(f,{class:C(e.n("cancel-button")),"var-picker-cover":"",text:"","text-color":e.cancelButtonTextColor,onClick:e.cancel},{default:o(()=>[m(h(e.cancelButtonText??e.pack.pickerCancelButtonText),1)]),_:1},8,["class","text-color","onClick"])]),j(e.$slots,"title",{},()=>[M("div",{class:C(e.n("title"))},h(e.title??e.pack.pickerTitle),3)]),j(e.$slots,"confirm",{},()=>[c(f,{class:C(e.n("confirm-button")),text:"","var-picker-cover":"","text-color":e.confirmButtonTextColor,onClick:e.confirm},{default:o(()=>[m(h(e.confirmButtonText??e.pack.pickerConfirmButtonText),1)]),_:1},8,["class","text-color","onClick"])])],2)):Ht("",!0),M("div",{class:C(e.n("columns")),style:Y({height:`${e.columnHeight}px`})},[(A(!0),V(X,null,rt(e.scrollColumns,r=>(A(),V("div",{class:C(e.n("column")),key:r.id,onTouchstartPassive:d=>e.handleTouchstart(d,r),onTouchmove:Kt(d=>e.handleTouchmove(d,r),["prevent"]),onTouchend:d=>e.handleTouchend(r)},[M("div",{class:C(e.n("scroller")),ref_for:!0,ref:d=>e.setScrollEl(d,r),style:Y({transform:`translateY(${r.translate}px)`,transitionDuration:`${r.duration}ms`,transitionProperty:r.duration?"transform":"none"}),onTransitionend:d=>e.handleTransitionend(r)},[(A(!0),V(X,null,rt(r.column,(d,D)=>(A(),V("div",{key:e.getValue(d),class:C(e.classes(e.n("option"),d.className)),style:Y({height:`${e.optionHeight}px`}),onClick:z=>e.handleClick(r,D)},[M("div",{class:C(e.classes(e.n("text"),d.textClassName))},h(d[e.getOptionKey("text")]),3)],14,me))),128))],46,ue)],42,se))),128)),M("div",{class:C(e.n("picked")),style:Y({top:`${e.center}px`,height:`${e.optionHeight}px`})},null,6),M("div",{class:C(e.n("mask")),style:Y({backgroundSize:`100% ${(e.columnHeight-e.optionHeight)/2}px`})},null,6)],6)],16)]),_:3},16)}const L=Rt(he,[["render",pe]]);let U;function y(e){return new Promise(p=>{y.close();const u=qt(e)?{columns:e}:e,i=Wt(u);i.dynamic=!0,i.teleport="body",U=i;function k(){U===i&&(U=null)}const{unmountInstance:v}=Zt(L,i,{onConfirm:(f,r,d)=>{w(i.onConfirm,f,r,d),p({state:"confirm",values:f,indexes:r,options:d}),i.show=!1,k()},onCancel:(f,r,d)=>{w(i.onCancel,f,r,d),p({state:"cancel",values:f,indexes:r,options:d}),i.show=!1,k()},onClose:()=>{w(i.onClose),p({state:"close"}),k()},onClosed:()=>{w(i.onClosed),v(),k()},onRouteChange:()=>{v(),k()},"onUpdate:show":f=>{i.show=f}});i.show=!0})}y.close=function(){if(U==null)return;const e=U;U=null,Ft().then(()=>{e.show=!1})};y.Component=L;st(L);st(L,y);const fe=[{text:"北京市",children:[{text:"市辖区",children:[{text:"东城区"},{text:"西城区"},{text:"朝阳区"},{text:"丰台区"},{text:"石景山区"},{text:"海淀区"},{text:"门头沟区"},{text:"房山区"},{text:"通州区"},{text:"顺义区"},{text:"昌平区"},{text:"大兴区"},{text:"怀柔区"},{text:"平谷区"},{text:"密云区"},{text:"延庆区"}]}]},{text:"天津市",children:[{text:"市辖区",children:[{text:"和平区"},{text:"河东区"},{text:"河西区"},{text:"南开区"},{text:"河北区"},{text:"红桥区"},{text:"东丽区"},{text:"西青区"},{text:"津南区"},{text:"北辰区"},{text:"武清区"},{text:"宝坻区"},{text:"滨海新区"},{text:"宁河区"},{text:"静海区"},{text:"蓟州区"}]}]},{text:"河北省",children:[{text:"石家庄市",children:[{text:"长安区"},{text:"桥西区"},{text:"新华区"},{text:"井陉矿区"},{text:"裕华区"},{text:"藁城区"},{text:"鹿泉区"},{text:"栾城区"},{text:"井陉县"},{text:"正定县"},{text:"行唐县"},{text:"灵寿县"},{text:"高邑县"},{text:"深泽县"},{text:"赞皇县"},{text:"无极县"},{text:"平山县"},{text:"元氏县"},{text:"赵县"},{text:"晋州市"},{text:"新乐市"}]},{text:"唐山市",children:[{text:"路南区"},{text:"路北区"},{text:"古冶区"},{text:"开平区"},{text:"丰南区"},{text:"丰润区"},{text:"曹妃甸区"},{text:"滦县"},{text:"滦南县"},{text:"乐亭县"},{text:"迁西县"},{text:"玉田县"},{text:"遵化市"},{text:"迁安市"}]},{text:"秦皇岛市",children:[{text:"海港区"},{text:"山海关区"},{text:"北戴河区"},{text:"抚宁区"},{text:"青龙满族自治县"},{text:"昌黎县"},{text:"卢龙县"}]},{text:"邯郸市",children:[{text:"邯山区"},{text:"丛台区"},{text:"复兴区"},{text:"峰峰矿区"},{text:"邯郸县"},{text:"临漳县"},{text:"成安县"},{text:"大名县"},{text:"涉县"},{text:"磁县"},{text:"肥乡县"},{text:"永年县"},{text:"邱县"},{text:"鸡泽县"},{text:"广平县"},{text:"馆陶县"},{text:"魏县"},{text:"曲周县"},{text:"武安市"}]},{text:"邢台市",children:[{text:"桥东区"},{text:"桥西区"},{text:"邢台县"},{text:"临城县"},{text:"内丘县"},{text:"柏乡县"},{text:"隆尧县"},{text:"任县"},{text:"南和县"},{text:"宁晋县"},{text:"巨鹿县"},{text:"新河县"},{text:"广宗县"},{text:"平乡县"},{text:"威县"},{text:"清河县"},{text:"临西县"},{text:"南宫市"},{text:"沙河市"}]},{text:"保定市",children:[{text:"竞秀区"},{text:"莲池区"},{text:"满城区"},{text:"清苑区"},{text:"徐水区"},{text:"涞水县"},{text:"阜平县"},{text:"定兴县"},{text:"唐县"},{text:"高阳县"},{text:"容城县"},{text:"涞源县"},{text:"望都县"},{text:"安新县"},{text:"易县"},{text:"曲阳县"},{text:"蠡县"},{text:"顺平县"},{text:"博野县"},{text:"雄县"},{text:"涿州市"},{text:"安国市"},{text:"高碑店市"}]},{text:"张家口市",children:[{text:"桥东区"},{text:"桥西区"},{text:"宣化区"},{text:"下花园区"},{text:"万全区"},{text:"崇礼区"},{text:"张北县"},{text:"康保县"},{text:"沽源县"},{text:"尚义县"},{text:"蔚县"},{text:"阳原县"},{text:"怀安县"},{text:"怀来县"},{text:"涿鹿县"},{text:"赤城县"}]},{text:"承德市",children:[{text:"双桥区"},{text:"双滦区"},{text:"鹰手营子矿区"},{text:"承德县"},{text:"兴隆县"},{text:"平泉县"},{text:"滦平县"},{text:"隆化县"},{text:"丰宁满族自治县"},{text:"宽城满族自治县"},{text:"围场满族蒙古族自治县"}]},{text:"沧州市",children:[{text:"新华区"},{text:"运河区"},{text:"沧县"},{text:"青县"},{text:"东光县"},{text:"海兴县"},{text:"盐山县"},{text:"肃宁县"},{text:"南皮县"},{text:"吴桥县"},{text:"献县"},{text:"孟村回族自治县"},{text:"泊头市"},{text:"任丘市"},{text:"黄骅市"},{text:"河间市"}]},{text:"廊坊市",children:[{text:"安次区"},{text:"广阳区"},{text:"固安县"},{text:"永清县"},{text:"香河县"},{text:"大城县"},{text:"文安县"},{text:"大厂回族自治县"},{text:"霸州市"},{text:"三河市"}]},{text:"衡水市",children:[{text:"桃城区"},{text:"冀州区"},{text:"枣强县"},{text:"武邑县"},{text:"武强县"},{text:"饶阳县"},{text:"安平县"},{text:"故城县"},{text:"景县"},{text:"阜城县"},{text:"深州市"}]},{text:"省直辖县级行政区划",children:[{text:"定州市"},{text:"辛集市"}]}]},{text:"山西省",children:[{text:"太原市",children:[{text:"小店区"},{text:"迎泽区"},{text:"杏花岭区"},{text:"尖草坪区"},{text:"万柏林区"},{text:"晋源区"},{text:"清徐县"},{text:"阳曲县"},{text:"娄烦县"},{text:"古交市"}]},{text:"大同市",children:[{text:"城区"},{text:"矿区"},{text:"南郊区"},{text:"新荣区"},{text:"阳高县"},{text:"天镇县"},{text:"广灵县"},{text:"灵丘县"},{text:"浑源县"},{text:"左云县"},{text:"大同县"}]},{text:"阳泉市",children:[{text:"城区"},{text:"矿区"},{text:"郊区"},{text:"平定县"},{text:"盂县"}]},{text:"长治市",children:[{text:"城区"},{text:"郊区"},{text:"长治县"},{text:"襄垣县"},{text:"屯留县"},{text:"平顺县"},{text:"黎城县"},{text:"壶关县"},{text:"长子县"},{text:"武乡县"},{text:"沁县"},{text:"沁源县"},{text:"潞城市"}]},{text:"晋城市",children:[{text:"城区"},{text:"沁水县"},{text:"阳城县"},{text:"陵川县"},{text:"泽州县"},{text:"高平市"}]},{text:"朔州市",children:[{text:"朔城区"},{text:"平鲁区"},{text:"山阴县"},{text:"应县"},{text:"右玉县"},{text:"怀仁县"}]},{text:"晋中市",children:[{text:"榆次区"},{text:"榆社县"},{text:"左权县"},{text:"和顺县"},{text:"昔阳县"},{text:"寿阳县"},{text:"太谷县"},{text:"祁县"},{text:"平遥县"},{text:"灵石县"},{text:"介休市"}]},{text:"运城市",children:[{text:"盐湖区"},{text:"临猗县"},{text:"万荣县"},{text:"闻喜县"},{text:"稷山县"},{text:"新绛县"},{text:"绛县"},{text:"垣曲县"},{text:"夏县"},{text:"平陆县"},{text:"芮城县"},{text:"永济市"},{text:"河津市"}]},{text:"忻州市",children:[{text:"忻府区"},{text:"定襄县"},{text:"五台县"},{text:"代县"},{text:"繁峙县"},{text:"宁武县"},{text:"静乐县"},{text:"神池县"},{text:"五寨县"},{text:"岢岚县"},{text:"河曲县"},{text:"保德县"},{text:"偏关县"},{text:"原平市"}]},{text:"临汾市",children:[{text:"尧都区"},{text:"曲沃县"},{text:"翼城县"},{text:"襄汾县"},{text:"洪洞县"},{text:"古县"},{text:"安泽县"},{text:"浮山县"},{text:"吉县"},{text:"乡宁县"},{text:"大宁县"},{text:"隰县"},{text:"永和县"},{text:"蒲县"},{text:"汾西县"},{text:"侯马市"},{text:"霍州市"}]},{text:"吕梁市",children:[{text:"离石区"},{text:"文水县"},{text:"交城县"},{text:"兴县"},{text:"临县"},{text:"柳林县"},{text:"石楼县"},{text:"岚县"},{text:"方山县"},{text:"中阳县"},{text:"交口县"},{text:"孝义市"},{text:"汾阳市"}]}]},{text:"内蒙古自治区",children:[{text:"呼和浩特市",children:[{text:"新城区"},{text:"回民区"},{text:"玉泉区"},{text:"赛罕区"},{text:"土默特左旗"},{text:"托克托县"},{text:"和林格尔县"},{text:"清水河县"},{text:"武川县"}]},{text:"包头市",children:[{text:"东河区"},{text:"昆都仑区"},{text:"青山区"},{text:"石拐区"},{text:"白云鄂博矿区"},{text:"九原区"},{text:"土默特右旗"},{text:"固阳县"},{text:"达尔罕茂明安联合旗"}]},{text:"乌海市",children:[{text:"海勃湾区"},{text:"海南区"},{text:"乌达区"}]},{text:"赤峰市",children:[{text:"红山区"},{text:"元宝山区"},{text:"松山区"},{text:"阿鲁科尔沁旗"},{text:"巴林左旗"},{text:"巴林右旗"},{text:"林西县"},{text:"克什克腾旗"},{text:"翁牛特旗"},{text:"喀喇沁旗"},{text:"宁城县"},{text:"敖汉旗"}]},{text:"通辽市",children:[{text:"科尔沁区"},{text:"科尔沁左翼中旗"},{text:"科尔沁左翼后旗"},{text:"开鲁县"},{text:"库伦旗"},{text:"奈曼旗"},{text:"扎鲁特旗"},{text:"霍林郭勒市"}]},{text:"鄂尔多斯市",children:[{text:"东胜区"},{text:"康巴什区"},{text:"达拉特旗"},{text:"准格尔旗"},{text:"鄂托克前旗"},{text:"鄂托克旗"},{text:"杭锦旗"},{text:"乌审旗"},{text:"伊金霍洛旗"}]},{text:"呼伦贝尔市",children:[{text:"海拉尔区"},{text:"扎赉诺尔区"},{text:"阿荣旗"},{text:"莫力达瓦达斡尔族自治旗"},{text:"鄂伦春自治旗"},{text:"鄂温克族自治旗"},{text:"陈巴尔虎旗"},{text:"新巴尔虎左旗"},{text:"新巴尔虎右旗"},{text:"满洲里市"},{text:"牙克石市"},{text:"扎兰屯市"},{text:"额尔古纳市"},{text:"根河市"}]},{text:"巴彦淖尔市",children:[{text:"临河区"},{text:"五原县"},{text:"磴口县"},{text:"乌拉特前旗"},{text:"乌拉特中旗"},{text:"乌拉特后旗"},{text:"杭锦后旗"}]},{text:"乌兰察布市",children:[{text:"集宁区"},{text:"卓资县"},{text:"化德县"},{text:"商都县"},{text:"兴和县"},{text:"凉城县"},{text:"察哈尔右翼前旗"},{text:"察哈尔右翼中旗"},{text:"察哈尔右翼后旗"},{text:"四子王旗"},{text:"丰镇市"}]},{text:"兴安盟",children:[{text:"乌兰浩特市"},{text:"阿尔山市"},{text:"科尔沁右翼前旗"},{text:"科尔沁右翼中旗"},{text:"扎赉特旗"},{text:"突泉县"}]},{text:"锡林郭勒盟",children:[{text:"二连浩特市"},{text:"锡林浩特市"},{text:"阿巴嘎旗"},{text:"苏尼特左旗"},{text:"苏尼特右旗"},{text:"东乌珠穆沁旗"},{text:"西乌珠穆沁旗"},{text:"太仆寺旗"},{text:"镶黄旗"},{text:"正镶白旗"},{text:"正蓝旗"},{text:"多伦县"}]},{text:"阿拉善盟",children:[{text:"阿拉善左旗"},{text:"阿拉善右旗"},{text:"额济纳旗"}]}]},{text:"辽宁省",children:[{text:"沈阳市",children:[{text:"和平区"},{text:"沈河区"},{text:"大东区"},{text:"皇姑区"},{text:"铁西区"},{text:"苏家屯区"},{text:"浑南区"},{text:"沈北新区"},{text:"于洪区"},{text:"辽中区"},{text:"康平县"},{text:"法库县"},{text:"新民市"}]},{text:"大连市",children:[{text:"中山区"},{text:"西岗区"},{text:"沙河口区"},{text:"甘井子区"},{text:"旅顺口区"},{text:"金州区"},{text:"普兰店区"},{text:"长海县"},{text:"瓦房店市"},{text:"庄河市"}]},{text:"鞍山市",children:[{text:"铁东区"},{text:"铁西区"},{text:"立山区"},{text:"千山区"},{text:"台安县"},{text:"岫岩满族自治县"},{text:"海城市"}]},{text:"抚顺市",children:[{text:"新抚区"},{text:"东洲区"},{text:"望花区"},{text:"顺城区"},{text:"抚顺县"},{text:"新宾满族自治县"},{text:"清原满族自治县"}]},{text:"本溪市",children:[{text:"平山区"},{text:"溪湖区"},{text:"明山区"},{text:"南芬区"},{text:"本溪满族自治县"},{text:"桓仁满族自治县"}]},{text:"丹东市",children:[{text:"元宝区"},{text:"振兴区"},{text:"振安区"},{text:"宽甸满族自治县"},{text:"东港市"},{text:"凤城市"}]},{text:"锦州市",children:[{text:"古塔区"},{text:"凌河区"},{text:"太和区"},{text:"黑山县"},{text:"义县"},{text:"凌海市"},{text:"北镇市"}]},{text:"营口市",children:[{text:"站前区"},{text:"西市区"},{text:"鲅鱼圈区"},{text:"老边区"},{text:"盖州市"},{text:"大石桥市"}]},{text:"阜新市",children:[{text:"海州区"},{text:"新邱区"},{text:"太平区"},{text:"清河门区"},{text:"细河区"},{text:"阜新蒙古族自治县"},{text:"彰武县"}]},{text:"辽阳市",children:[{text:"白塔区"},{text:"文圣区"},{text:"宏伟区"},{text:"弓长岭区"},{text:"太子河区"},{text:"辽阳县"},{text:"灯塔市"}]},{text:"盘锦市",children:[{text:"双台子区"},{text:"兴隆台区"},{text:"大洼区"},{text:"盘山县"}]},{text:"铁岭市",children:[{text:"银州区"},{text:"清河区"},{text:"铁岭县"},{text:"西丰县"},{text:"昌图县"},{text:"调兵山市"},{text:"开原市"}]},{text:"朝阳市",children:[{text:"双塔区"},{text:"龙城区"},{text:"朝阳县"},{text:"建平县"},{text:"喀喇沁左翼蒙古族自治县"},{text:"北票市"},{text:"凌源市"}]},{text:"葫芦岛市",children:[{text:"连山区"},{text:"龙港区"},{text:"南票区"},{text:"绥中县"},{text:"建昌县"},{text:"兴城市"}]}]},{text:"吉林省",children:[{text:"长春市",children:[{text:"南关区"},{text:"宽城区"},{text:"朝阳区"},{text:"二道区"},{text:"绿园区"},{text:"双阳区"},{text:"九台区"},{text:"农安县"},{text:"榆树市"},{text:"德惠市"}]},{text:"吉林市",children:[{text:"昌邑区"},{text:"龙潭区"},{text:"船营区"},{text:"丰满区"},{text:"永吉县"},{text:"蛟河市"},{text:"桦甸市"},{text:"舒兰市"},{text:"磐石市"}]},{text:"四平市",children:[{text:"铁西区"},{text:"铁东区"},{text:"梨树县"},{text:"伊通满族自治县"},{text:"公主岭市"},{text:"双辽市"}]},{text:"辽源市",children:[{text:"龙山区"},{text:"西安区"},{text:"东丰县"},{text:"东辽县"}]},{text:"通化市",children:[{text:"东昌区"},{text:"二道江区"},{text:"通化县"},{text:"辉南县"},{text:"柳河县"},{text:"梅河口市"},{text:"集安市"}]},{text:"白山市",children:[{text:"浑江区"},{text:"江源区"},{text:"抚松县"},{text:"靖宇县"},{text:"长白朝鲜族自治县"},{text:"临江市"}]},{text:"松原市",children:[{text:"宁江区"},{text:"前郭尔罗斯蒙古族自治县"},{text:"长岭县"},{text:"乾安县"},{text:"扶余市"}]},{text:"白城市",children:[{text:"洮北区"},{text:"镇赉县"},{text:"通榆县"},{text:"洮南市"},{text:"大安市"}]},{text:"延边朝鲜族自治州",children:[{text:"延吉市"},{text:"图们市"},{text:"敦化市"},{text:"珲春市"},{text:"龙井市"},{text:"和龙市"},{text:"汪清县"},{text:"安图县"}]}]},{text:"黑龙江省",children:[{text:"哈尔滨市",children:[{text:"道里区"},{text:"南岗区"},{text:"道外区"},{text:"平房区"},{text:"松北区"},{text:"香坊区"},{text:"呼兰区"},{text:"阿城区"},{text:"双城区"},{text:"依兰县"},{text:"方正县"},{text:"宾县"},{text:"巴彦县"},{text:"木兰县"},{text:"通河县"},{text:"延寿县"},{text:"尚志市"},{text:"五常市"}]},{text:"齐齐哈尔市",children:[{text:"龙沙区"},{text:"建华区"},{text:"铁锋区"},{text:"昂昂溪区"},{text:"富拉尔基区"},{text:"碾子山区"},{text:"梅里斯达斡尔族区"},{text:"龙江县"},{text:"依安县"},{text:"泰来县"},{text:"甘南县"},{text:"富裕县"},{text:"克山县"},{text:"克东县"},{text:"拜泉县"},{text:"讷河市"}]},{text:"鸡西市",children:[{text:"鸡冠区"},{text:"恒山区"},{text:"滴道区"},{text:"梨树区"},{text:"城子河区"},{text:"麻山区"},{text:"鸡东县"},{text:"虎林市"},{text:"密山市"}]},{text:"鹤岗市",children:[{text:"向阳区"},{text:"工农区"},{text:"南山区"},{text:"兴安区"},{text:"东山区"},{text:"兴山区"},{text:"萝北县"},{text:"绥滨县"}]},{text:"双鸭山市",children:[{text:"尖山区"},{text:"岭东区"},{text:"四方台区"},{text:"宝山区"},{text:"集贤县"},{text:"友谊县"},{text:"宝清县"},{text:"饶河县"}]},{text:"大庆市",children:[{text:"萨尔图区"},{text:"龙凤区"},{text:"让胡路区"},{text:"红岗区"},{text:"大同区"},{text:"肇州县"},{text:"肇源县"},{text:"林甸县"},{text:"杜尔伯特蒙古族自治县"}]},{text:"伊春市",children:[{text:"伊春区"},{text:"南岔区"},{text:"友好区"},{text:"西林区"},{text:"翠峦区"},{text:"新青区"},{text:"美溪区"},{text:"金山屯区"},{text:"五营区"},{text:"乌马河区"},{text:"汤旺河区"},{text:"带岭区"},{text:"乌伊岭区"},{text:"红星区"},{text:"上甘岭区"},{text:"嘉荫县"},{text:"铁力市"}]},{text:"佳木斯市",children:[{text:"向阳区"},{text:"前进区"},{text:"东风区"},{text:"郊区"},{text:"桦南县"},{text:"桦川县"},{text:"汤原县"},{text:"同江市"},{text:"富锦市"},{text:"抚远市"}]},{text:"七台河市",children:[{text:"新兴区"},{text:"桃山区"},{text:"茄子河区"},{text:"勃利县"}]},{text:"牡丹江市",children:[{text:"东安区"},{text:"阳明区"},{text:"爱民区"},{text:"西安区"},{text:"林口县"},{text:"绥芬河市"},{text:"海林市"},{text:"宁安市"},{text:"穆棱市"},{text:"东宁市"}]},{text:"黑河市",children:[{text:"爱辉区"},{text:"嫩江县"},{text:"逊克县"},{text:"孙吴县"},{text:"北安市"},{text:"五大连池市"}]},{text:"绥化市",children:[{text:"北林区"},{text:"望奎县"},{text:"兰西县"},{text:"青冈县"},{text:"庆安县"},{text:"明水县"},{text:"绥棱县"},{text:"安达市"},{text:"肇东市"},{text:"海伦市"}]},{text:"大兴安岭地区",children:[{text:"呼玛县"},{text:"塔河县"},{text:"漠河县"}]}]},{text:"上海市",children:[{text:"市辖区",children:[{text:"黄浦区"},{text:"徐汇区"},{text:"长宁区"},{text:"静安区"},{text:"普陀区"},{text:"虹口区"},{text:"杨浦区"},{text:"闵行区"},{text:"宝山区"},{text:"嘉定区"},{text:"浦东新区"},{text:"金山区"},{text:"松江区"},{text:"青浦区"},{text:"奉贤区"},{text:"崇明区"}]}]},{text:"江苏省",children:[{text:"南京市",children:[{text:"玄武区"},{text:"秦淮区"},{text:"建邺区"},{text:"鼓楼区"},{text:"浦口区"},{text:"栖霞区"},{text:"雨花台区"},{text:"江宁区"},{text:"六合区"},{text:"溧水区"},{text:"高淳区"}]},{text:"无锡市",children:[{text:"锡山区"},{text:"惠山区"},{text:"滨湖区"},{text:"梁溪区"},{text:"新吴区"},{text:"江阴市"},{text:"宜兴市"}]},{text:"徐州市",children:[{text:"鼓楼区"},{text:"云龙区"},{text:"贾汪区"},{text:"泉山区"},{text:"铜山区"},{text:"丰县"},{text:"沛县"},{text:"睢宁县"},{text:"新沂市"},{text:"邳州市"}]},{text:"常州市",children:[{text:"天宁区"},{text:"钟楼区"},{text:"新北区"},{text:"武进区"},{text:"金坛区"},{text:"溧阳市"}]},{text:"苏州市",children:[{text:"虎丘区"},{text:"吴中区"},{text:"相城区"},{text:"姑苏区"},{text:"吴江区"},{text:"常熟市"},{text:"张家港市"},{text:"昆山市"},{text:"太仓市"}]},{text:"南通市",children:[{text:"崇川区"},{text:"港闸区"},{text:"通州区"},{text:"海安县"},{text:"如东县"},{text:"启东市"},{text:"如皋市"},{text:"海门市"}]},{text:"连云港市",children:[{text:"连云区"},{text:"海州区"},{text:"赣榆区"},{text:"东海县"},{text:"灌云县"},{text:"灌南县"}]},{text:"淮安市",children:[{text:"淮安区"},{text:"淮阴区"},{text:"清江浦区"},{text:"洪泽区"},{text:"涟水县"},{text:"盱眙县"},{text:"金湖县"}]},{text:"盐城市",children:[{text:"亭湖区"},{text:"盐都区"},{text:"大丰区"},{text:"响水县"},{text:"滨海县"},{text:"阜宁县"},{text:"射阳县"},{text:"建湖县"},{text:"东台市"}]},{text:"扬州市",children:[{text:"广陵区"},{text:"邗江区"},{text:"江都区"},{text:"宝应县"},{text:"仪征市"},{text:"高邮市"}]},{text:"镇江市",children:[{text:"京口区"},{text:"润州区"},{text:"丹徒区"},{text:"丹阳市"},{text:"扬中市"},{text:"句容市"}]},{text:"泰州市",children:[{text:"海陵区"},{text:"高港区"},{text:"姜堰区"},{text:"兴化市"},{text:"靖江市"},{text:"泰兴市"}]},{text:"宿迁市",children:[{text:"宿城区"},{text:"宿豫区"},{text:"沭阳县"},{text:"泗阳县"},{text:"泗洪县"}]}]},{text:"浙江省",children:[{text:"杭州市",children:[{text:"上城区"},{text:"下城区"},{text:"江干区"},{text:"拱墅区"},{text:"西湖区"},{text:"滨江区"},{text:"萧山区"},{text:"余杭区"},{text:"富阳区"},{text:"桐庐县"},{text:"淳安县"},{text:"建德市"},{text:"临安市"}]},{text:"宁波市",children:[{text:"海曙区"},{text:"江东区"},{text:"江北区"},{text:"北仑区"},{text:"镇海区"},{text:"鄞州区"},{text:"象山县"},{text:"宁海县"},{text:"余姚市"},{text:"慈溪市"},{text:"奉化市"}]},{text:"温州市",children:[{text:"鹿城区"},{text:"龙湾区"},{text:"瓯海区"},{text:"洞头区"},{text:"永嘉县"},{text:"平阳县"},{text:"苍南县"},{text:"文成县"},{text:"泰顺县"},{text:"瑞安市"},{text:"乐清市"}]},{text:"嘉兴市",children:[{text:"南湖区"},{text:"秀洲区"},{text:"嘉善县"},{text:"海盐县"},{text:"海宁市"},{text:"平湖市"},{text:"桐乡市"}]},{text:"湖州市",children:[{text:"吴兴区"},{text:"南浔区"},{text:"德清县"},{text:"长兴县"},{text:"安吉县"}]},{text:"绍兴市",children:[{text:"越城区"},{text:"柯桥区"},{text:"上虞区"},{text:"新昌县"},{text:"诸暨市"},{text:"嵊州市"}]},{text:"金华市",children:[{text:"婺城区"},{text:"金东区"},{text:"武义县"},{text:"浦江县"},{text:"磐安县"},{text:"兰溪市"},{text:"义乌市"},{text:"东阳市"},{text:"永康市"}]},{text:"衢州市",children:[{text:"柯城区"},{text:"衢江区"},{text:"常山县"},{text:"开化县"},{text:"龙游县"},{text:"江山市"}]},{text:"舟山市",children:[{text:"定海区"},{text:"普陀区"},{text:"岱山县"},{text:"嵊泗县"}]},{text:"台州市",children:[{text:"椒江区"},{text:"黄岩区"},{text:"路桥区"},{text:"玉环县"},{text:"三门县"},{text:"天台县"},{text:"仙居县"},{text:"温岭市"},{text:"临海市"}]},{text:"丽水市",children:[{text:"莲都区"},{text:"青田县"},{text:"缙云县"},{text:"遂昌县"},{text:"松阳县"},{text:"云和县"},{text:"庆元县"},{text:"景宁畲族自治县"},{text:"龙泉市"}]}]},{text:"安徽省",children:[{text:"合肥市",children:[{text:"瑶海区"},{text:"庐阳区"},{text:"蜀山区"},{text:"包河区"},{text:"长丰县"},{text:"肥东县"},{text:"肥西县"},{text:"庐江县"},{text:"巢湖市"}]},{text:"芜湖市",children:[{text:"镜湖区"},{text:"弋江区"},{text:"鸠江区"},{text:"三山区"},{text:"芜湖县"},{text:"繁昌县"},{text:"南陵县"},{text:"无为县"}]},{text:"蚌埠市",children:[{text:"龙子湖区"},{text:"蚌山区"},{text:"禹会区"},{text:"淮上区"},{text:"怀远县"},{text:"五河县"},{text:"固镇县"}]},{text:"淮南市",children:[{text:"大通区"},{text:"田家庵区"},{text:"谢家集区"},{text:"八公山区"},{text:"潘集区"},{text:"凤台县"},{text:"寿县"}]},{text:"马鞍山市",children:[{text:"花山区"},{text:"雨山区"},{text:"博望区"},{text:"当涂县"},{text:"含山县"},{text:"和县"}]},{text:"淮北市",children:[{text:"杜集区"},{text:"相山区"},{text:"烈山区"},{text:"濉溪县"}]},{text:"铜陵市",children:[{text:"铜官区"},{text:"义安区"},{text:"郊区"},{text:"枞阳县"}]},{text:"安庆市",children:[{text:"迎江区"},{text:"大观区"},{text:"宜秀区"},{text:"怀宁县"},{text:"潜山县"},{text:"太湖县"},{text:"宿松县"},{text:"望江县"},{text:"岳西县"},{text:"桐城市"}]},{text:"黄山市",children:[{text:"屯溪区"},{text:"黄山区"},{text:"徽州区"},{text:"歙县"},{text:"休宁县"},{text:"黟县"},{text:"祁门县"}]},{text:"滁州市",children:[{text:"琅琊区"},{text:"南谯区"},{text:"来安县"},{text:"全椒县"},{text:"定远县"},{text:"凤阳县"},{text:"天长市"},{text:"明光市"}]},{text:"阜阳市",children:[{text:"颍州区"},{text:"颍东区"},{text:"颍泉区"},{text:"临泉县"},{text:"太和县"},{text:"阜南县"},{text:"颍上县"},{text:"界首市"}]},{text:"宿州市",children:[{text:"埇桥区"},{text:"砀山县"},{text:"萧县"},{text:"灵璧县"},{text:"泗县"}]},{text:"六安市",children:[{text:"金安区"},{text:"裕安区"},{text:"叶集区"},{text:"霍邱县"},{text:"舒城县"},{text:"金寨县"},{text:"霍山县"}]},{text:"亳州市",children:[{text:"谯城区"},{text:"涡阳县"},{text:"蒙城县"},{text:"利辛县"}]},{text:"池州市",children:[{text:"贵池区"},{text:"东至县"},{text:"石台县"},{text:"青阳县"}]},{text:"宣城市",children:[{text:"宣州区"},{text:"郎溪县"},{text:"广德县"},{text:"泾县"},{text:"绩溪县"},{text:"旌德县"},{text:"宁国市"}]}]},{text:"福建省",children:[{text:"福州市",children:[{text:"鼓楼区"},{text:"台江区"},{text:"仓山区"},{text:"马尾区"},{text:"晋安区"},{text:"闽侯县"},{text:"连江县"},{text:"罗源县"},{text:"闽清县"},{text:"永泰县"},{text:"平潭县"},{text:"福清市"},{text:"长乐市"}]},{text:"厦门市",children:[{text:"思明区"},{text:"海沧区"},{text:"湖里区"},{text:"集美区"},{text:"同安区"},{text:"翔安区"}]},{text:"莆田市",children:[{text:"城厢区"},{text:"涵江区"},{text:"荔城区"},{text:"秀屿区"},{text:"仙游县"}]},{text:"三明市",children:[{text:"梅列区"},{text:"三元区"},{text:"明溪县"},{text:"清流县"},{text:"宁化县"},{text:"大田县"},{text:"尤溪县"},{text:"沙县"},{text:"将乐县"},{text:"泰宁县"},{text:"建宁县"},{text:"永安市"}]},{text:"泉州市",children:[{text:"鲤城区"},{text:"丰泽区"},{text:"洛江区"},{text:"泉港区"},{text:"惠安县"},{text:"安溪县"},{text:"永春县"},{text:"德化县"},{text:"金门县"},{text:"石狮市"},{text:"晋江市"},{text:"南安市"}]},{text:"漳州市",children:[{text:"芗城区"},{text:"龙文区"},{text:"云霄县"},{text:"漳浦县"},{text:"诏安县"},{text:"长泰县"},{text:"东山县"},{text:"南靖县"},{text:"平和县"},{text:"华安县"},{text:"龙海市"}]},{text:"南平市",children:[{text:"延平区"},{text:"建阳区"},{text:"顺昌县"},{text:"浦城县"},{text:"光泽县"},{text:"松溪县"},{text:"政和县"},{text:"邵武市"},{text:"武夷山市"},{text:"建瓯市"}]},{text:"龙岩市",children:[{text:"新罗区"},{text:"永定区"},{text:"长汀县"},{text:"上杭县"},{text:"武平县"},{text:"连城县"},{text:"漳平市"}]},{text:"宁德市",children:[{text:"蕉城区"},{text:"霞浦县"},{text:"古田县"},{text:"屏南县"},{text:"寿宁县"},{text:"周宁县"},{text:"柘荣县"},{text:"福安市"},{text:"福鼎市"}]}]},{text:"江西省",children:[{text:"南昌市",children:[{text:"东湖区"},{text:"西湖区"},{text:"青云谱区"},{text:"湾里区"},{text:"青山湖区"},{text:"新建区"},{text:"南昌县"},{text:"安义县"},{text:"进贤县"}]},{text:"景德镇市",children:[{text:"昌江区"},{text:"珠山区"},{text:"浮梁县"},{text:"乐平市"}]},{text:"萍乡市",children:[{text:"安源区"},{text:"湘东区"},{text:"莲花县"},{text:"上栗县"},{text:"芦溪县"}]},{text:"九江市",children:[{text:"濂溪区"},{text:"浔阳区"},{text:"九江县"},{text:"武宁县"},{text:"修水县"},{text:"永修县"},{text:"德安县"},{text:"都昌县"},{text:"湖口县"},{text:"彭泽县"},{text:"瑞昌市"},{text:"共青城市"},{text:"庐山市"}]},{text:"新余市",children:[{text:"渝水区"},{text:"分宜县"}]},{text:"鹰潭市",children:[{text:"月湖区"},{text:"余江县"},{text:"贵溪市"}]},{text:"赣州市",children:[{text:"章贡区"},{text:"南康区"},{text:"赣县"},{text:"信丰县"},{text:"大余县"},{text:"上犹县"},{text:"崇义县"},{text:"安远县"},{text:"龙南县"},{text:"定南县"},{text:"全南县"},{text:"宁都县"},{text:"于都县"},{text:"兴国县"},{text:"会昌县"},{text:"寻乌县"},{text:"石城县"},{text:"瑞金市"}]},{text:"吉安市",children:[{text:"吉州区"},{text:"青原区"},{text:"吉安县"},{text:"吉水县"},{text:"峡江县"},{text:"新干县"},{text:"永丰县"},{text:"泰和县"},{text:"遂川县"},{text:"万安县"},{text:"安福县"},{text:"永新县"},{text:"井冈山市"}]},{text:"宜春市",children:[{text:"袁州区"},{text:"奉新县"},{text:"万载县"},{text:"上高县"},{text:"宜丰县"},{text:"靖安县"},{text:"铜鼓县"},{text:"丰城市"},{text:"樟树市"},{text:"高安市"}]},{text:"抚州市",children:[{text:"临川区"},{text:"南城县"},{text:"黎川县"},{text:"南丰县"},{text:"崇仁县"},{text:"乐安县"},{text:"宜黄县"},{text:"金溪县"},{text:"资溪县"},{text:"东乡县"},{text:"广昌县"}]},{text:"上饶市",children:[{text:"信州区"},{text:"广丰区"},{text:"上饶县"},{text:"玉山县"},{text:"铅山县"},{text:"横峰县"},{text:"弋阳县"},{text:"余干县"},{text:"鄱阳县"},{text:"万年县"},{text:"婺源县"},{text:"德兴市"}]}]},{text:"山东省",children:[{text:"济南市",children:[{text:"历下区"},{text:"市中区"},{text:"槐荫区"},{text:"天桥区"},{text:"历城区"},{text:"长清区"},{text:"平阴县"},{text:"济阳县"},{text:"商河县"},{text:"章丘市"}]},{text:"青岛市",children:[{text:"市南区"},{text:"市北区"},{text:"黄岛区"},{text:"崂山区"},{text:"李沧区"},{text:"城阳区"},{text:"胶州市"},{text:"即墨市"},{text:"平度市"},{text:"莱西市"}]},{text:"淄博市",children:[{text:"淄川区"},{text:"张店区"},{text:"博山区"},{text:"临淄区"},{text:"周村区"},{text:"桓台县"},{text:"高青县"},{text:"沂源县"}]},{text:"枣庄市",children:[{text:"市中区"},{text:"薛城区"},{text:"峄城区"},{text:"台儿庄区"},{text:"山亭区"},{text:"滕州市"}]},{text:"东营市",children:[{text:"东营区"},{text:"河口区"},{text:"垦利区"},{text:"利津县"},{text:"广饶县"}]},{text:"烟台市",children:[{text:"芝罘区"},{text:"福山区"},{text:"牟平区"},{text:"莱山区"},{text:"长岛县"},{text:"龙口市"},{text:"莱阳市"},{text:"莱州市"},{text:"蓬莱市"},{text:"招远市"},{text:"栖霞市"},{text:"海阳市"}]},{text:"潍坊市",children:[{text:"潍城区"},{text:"寒亭区"},{text:"坊子区"},{text:"奎文区"},{text:"临朐县"},{text:"昌乐县"},{text:"青州市"},{text:"诸城市"},{text:"寿光市"},{text:"安丘市"},{text:"高密市"},{text:"昌邑市"}]},{text:"济宁市",children:[{text:"任城区"},{text:"兖州区"},{text:"微山县"},{text:"鱼台县"},{text:"金乡县"},{text:"嘉祥县"},{text:"汶上县"},{text:"泗水县"},{text:"梁山县"},{text:"曲阜市"},{text:"邹城市"}]},{text:"泰安市",children:[{text:"泰山区"},{text:"岱岳区"},{text:"宁阳县"},{text:"东平县"},{text:"新泰市"},{text:"肥城市"}]},{text:"威海市",children:[{text:"环翠区"},{text:"文登区"},{text:"荣成市"},{text:"乳山市"}]},{text:"日照市",children:[{text:"东港区"},{text:"岚山区"},{text:"五莲县"},{text:"莒县"}]},{text:"莱芜市",children:[{text:"莱城区"},{text:"钢城区"}]},{text:"临沂市",children:[{text:"兰山区"},{text:"罗庄区"},{text:"河东区"},{text:"沂南县"},{text:"郯城县"},{text:"沂水县"},{text:"兰陵县"},{text:"费县"},{text:"平邑县"},{text:"莒南县"},{text:"蒙阴县"},{text:"临沭县"}]},{text:"德州市",children:[{text:"德城区"},{text:"陵城区"},{text:"宁津县"},{text:"庆云县"},{text:"临邑县"},{text:"齐河县"},{text:"平原县"},{text:"夏津县"},{text:"武城县"},{text:"乐陵市"},{text:"禹城市"}]},{text:"聊城市",children:[{text:"东昌府区"},{text:"阳谷县"},{text:"莘县"},{text:"茌平县"},{text:"东阿县"},{text:"冠县"},{text:"高唐县"},{text:"临清市"}]},{text:"滨州市",children:[{text:"滨城区"},{text:"沾化区"},{text:"惠民县"},{text:"阳信县"},{text:"无棣县"},{text:"博兴县"},{text:"邹平县"}]},{text:"菏泽市",children:[{text:"牡丹区"},{text:"定陶区"},{text:"曹县"},{text:"单县"},{text:"成武县"},{text:"巨野县"},{text:"郓城县"},{text:"鄄城县"},{text:"东明县"}]}]},{text:"河南省",children:[{text:"郑州市",children:[{text:"中原区"},{text:"二七区"},{text:"管城回族区"},{text:"金水区"},{text:"上街区"},{text:"惠济区"},{text:"中牟县"},{text:"巩义市"},{text:"荥阳市"},{text:"新密市"},{text:"新郑市"},{text:"登封市"}]},{text:"开封市",children:[{text:"龙亭区"},{text:"顺河回族区"},{text:"鼓楼区"},{text:"禹王台区"},{text:"金明区"},{text:"祥符区"},{text:"杞县"},{text:"通许县"},{text:"尉氏县"},{text:"兰考县"}]},{text:"洛阳市",children:[{text:"老城区"},{text:"西工区"},{text:"瀍河回族区"},{text:"涧西区"},{text:"吉利区"},{text:"洛龙区"},{text:"孟津县"},{text:"新安县"},{text:"栾川县"},{text:"嵩县"},{text:"汝阳县"},{text:"宜阳县"},{text:"洛宁县"},{text:"伊川县"},{text:"偃师市"}]},{text:"平顶山市",children:[{text:"新华区"},{text:"卫东区"},{text:"石龙区"},{text:"湛河区"},{text:"宝丰县"},{text:"叶县"},{text:"鲁山县"},{text:"郏县"},{text:"舞钢市"},{text:"汝州市"}]},{text:"安阳市",children:[{text:"文峰区"},{text:"北关区"},{text:"殷都区"},{text:"龙安区"},{text:"安阳县"},{text:"汤阴县"},{text:"滑县"},{text:"内黄县"},{text:"林州市"}]},{text:"鹤壁市",children:[{text:"鹤山区"},{text:"山城区"},{text:"淇滨区"},{text:"浚县"},{text:"淇县"}]},{text:"新乡市",children:[{text:"红旗区"},{text:"卫滨区"},{text:"凤泉区"},{text:"牧野区"},{text:"新乡县"},{text:"获嘉县"},{text:"原阳县"},{text:"延津县"},{text:"封丘县"},{text:"长垣县"},{text:"卫辉市"},{text:"辉县市"}]},{text:"焦作市",children:[{text:"解放区"},{text:"中站区"},{text:"马村区"},{text:"山阳区"},{text:"修武县"},{text:"博爱县"},{text:"武陟县"},{text:"温县"},{text:"沁阳市"},{text:"孟州市"}]},{text:"濮阳市",children:[{text:"华龙区"},{text:"清丰县"},{text:"南乐县"},{text:"范县"},{text:"台前县"},{text:"濮阳县"}]},{text:"许昌市",children:[{text:"魏都区"},{text:"许昌县"},{text:"鄢陵县"},{text:"襄城县"},{text:"禹州市"},{text:"长葛市"}]},{text:"漯河市",children:[{text:"源汇区"},{text:"郾城区"},{text:"召陵区"},{text:"舞阳县"},{text:"临颍县"}]},{text:"三门峡市",children:[{text:"湖滨区"},{text:"陕州区"},{text:"渑池县"},{text:"卢氏县"},{text:"义马市"},{text:"灵宝市"}]},{text:"南阳市",children:[{text:"宛城区"},{text:"卧龙区"},{text:"南召县"},{text:"方城县"},{text:"西峡县"},{text:"镇平县"},{text:"内乡县"},{text:"淅川县"},{text:"社旗县"},{text:"唐河县"},{text:"新野县"},{text:"桐柏县"},{text:"邓州市"}]},{text:"商丘市",children:[{text:"梁园区"},{text:"睢阳区"},{text:"民权县"},{text:"睢县"},{text:"宁陵县"},{text:"柘城县"},{text:"虞城县"},{text:"夏邑县"},{text:"永城市"}]},{text:"信阳市",children:[{text:"浉河区"},{text:"平桥区"},{text:"罗山县"},{text:"光山县"},{text:"新县"},{text:"商城县"},{text:"固始县"},{text:"潢川县"},{text:"淮滨县"},{text:"息县"}]},{text:"周口市",children:[{text:"川汇区"},{text:"扶沟县"},{text:"西华县"},{text:"商水县"},{text:"沈丘县"},{text:"郸城县"},{text:"淮阳县"},{text:"太康县"},{text:"鹿邑县"},{text:"项城市"}]},{text:"驻马店市",children:[{text:"驿城区"},{text:"西平县"},{text:"上蔡县"},{text:"平舆县"},{text:"正阳县"},{text:"确山县"},{text:"泌阳县"},{text:"汝南县"},{text:"遂平县"},{text:"新蔡县"}]},{text:"省直辖县级行政区划",children:[{text:"济源市"}]}]},{text:"湖北省",children:[{text:"武汉市",children:[{text:"江岸区"},{text:"江汉区"},{text:"硚口区"},{text:"汉阳区"},{text:"武昌区"},{text:"青山区"},{text:"洪山区"},{text:"东西湖区"},{text:"汉南区"},{text:"蔡甸区"},{text:"江夏区"},{text:"黄陂区"},{text:"新洲区"}]},{text:"黄石市",children:[{text:"黄石港区"},{text:"西塞山区"},{text:"下陆区"},{text:"铁山区"},{text:"阳新县"},{text:"大冶市"}]},{text:"十堰市",children:[{text:"茅箭区"},{text:"张湾区"},{text:"郧阳区"},{text:"郧西县"},{text:"竹山县"},{text:"竹溪县"},{text:"房县"},{text:"丹江口市"}]},{text:"宜昌市",children:[{text:"西陵区"},{text:"伍家岗区"},{text:"点军区"},{text:"猇亭区"},{text:"夷陵区"},{text:"远安县"},{text:"兴山县"},{text:"秭归县"},{text:"长阳土家族自治县"},{text:"五峰土家族自治县"},{text:"宜都市"},{text:"当阳市"},{text:"枝江市"}]},{text:"襄阳市",children:[{text:"襄城区"},{text:"樊城区"},{text:"襄州区"},{text:"南漳县"},{text:"谷城县"},{text:"保康县"},{text:"老河口市"},{text:"枣阳市"},{text:"宜城市"}]},{text:"鄂州市",children:[{text:"梁子湖区"},{text:"华容区"},{text:"鄂城区"}]},{text:"荆门市",children:[{text:"东宝区"},{text:"掇刀区"},{text:"京山县"},{text:"沙洋县"},{text:"钟祥市"}]},{text:"孝感市",children:[{text:"孝南区"},{text:"孝昌县"},{text:"大悟县"},{text:"云梦县"},{text:"应城市"},{text:"安陆市"},{text:"汉川市"}]},{text:"荆州市",children:[{text:"沙市区"},{text:"荆州区"},{text:"公安县"},{text:"监利县"},{text:"江陵县"},{text:"石首市"},{text:"洪湖市"},{text:"松滋市"}]},{text:"黄冈市",children:[{text:"黄州区"},{text:"团风县"},{text:"红安县"},{text:"罗田县"},{text:"英山县"},{text:"浠水县"},{text:"蕲春县"},{text:"黄梅县"},{text:"麻城市"},{text:"武穴市"}]},{text:"咸宁市",children:[{text:"咸安区"},{text:"嘉鱼县"},{text:"通城县"},{text:"崇阳县"},{text:"通山县"},{text:"赤壁市"}]},{text:"随州市",children:[{text:"曾都区"},{text:"随县"},{text:"广水市"}]},{text:"恩施土家族苗族自治州",children:[{text:"恩施市"},{text:"利川市"},{text:"建始县"},{text:"巴东县"},{text:"宣恩县"},{text:"咸丰县"},{text:"来凤县"},{text:"鹤峰县"}]},{text:"省直辖县级行政区划",children:[{text:"仙桃市"},{text:"潜江市"},{text:"天门市"},{text:"神农架林区"}]}]},{text:"湖南省",children:[{text:"长沙市",children:[{text:"芙蓉区"},{text:"天心区"},{text:"岳麓区"},{text:"开福区"},{text:"雨花区"},{text:"望城区"},{text:"长沙县"},{text:"宁乡县"},{text:"浏阳市"}]},{text:"株洲市",children:[{text:"荷塘区"},{text:"芦淞区"},{text:"石峰区"},{text:"天元区"},{text:"株洲县"},{text:"攸县"},{text:"茶陵县"},{text:"炎陵县"},{text:"醴陵市"}]},{text:"湘潭市",children:[{text:"雨湖区"},{text:"岳塘区"},{text:"湘潭县"},{text:"湘乡市"},{text:"韶山市"}]},{text:"衡阳市",children:[{text:"珠晖区"},{text:"雁峰区"},{text:"石鼓区"},{text:"蒸湘区"},{text:"南岳区"},{text:"衡阳县"},{text:"衡南县"},{text:"衡山县"},{text:"衡东县"},{text:"祁东县"},{text:"耒阳市"},{text:"常宁市"}]},{text:"邵阳市",children:[{text:"双清区"},{text:"大祥区"},{text:"北塔区"},{text:"邵东县"},{text:"新邵县"},{text:"邵阳县"},{text:"隆回县"},{text:"洞口县"},{text:"绥宁县"},{text:"新宁县"},{text:"城步苗族自治县"},{text:"武冈市"}]},{text:"岳阳市",children:[{text:"岳阳楼区"},{text:"云溪区"},{text:"君山区"},{text:"岳阳县"},{text:"华容县"},{text:"湘阴县"},{text:"平江县"},{text:"汨罗市"},{text:"临湘市"}]},{text:"常德市",children:[{text:"武陵区"},{text:"鼎城区"},{text:"安乡县"},{text:"汉寿县"},{text:"澧县"},{text:"临澧县"},{text:"桃源县"},{text:"石门县"},{text:"津市市"}]},{text:"张家界市",children:[{text:"永定区"},{text:"武陵源区"},{text:"慈利县"},{text:"桑植县"}]},{text:"益阳市",children:[{text:"资阳区"},{text:"赫山区"},{text:"南县"},{text:"桃江县"},{text:"安化县"},{text:"沅江市"}]},{text:"郴州市",children:[{text:"北湖区"},{text:"苏仙区"},{text:"桂阳县"},{text:"宜章县"},{text:"永兴县"},{text:"嘉禾县"},{text:"临武县"},{text:"汝城县"},{text:"桂东县"},{text:"安仁县"},{text:"资兴市"}]},{text:"永州市",children:[{text:"零陵区"},{text:"冷水滩区"},{text:"祁阳县"},{text:"东安县"},{text:"双牌县"},{text:"道县"},{text:"江永县"},{text:"宁远县"},{text:"蓝山县"},{text:"新田县"},{text:"江华瑶族自治县"}]},{text:"怀化市",children:[{text:"鹤城区"},{text:"中方县"},{text:"沅陵县"},{text:"辰溪县"},{text:"溆浦县"},{text:"会同县"},{text:"麻阳苗族自治县"},{text:"新晃侗族自治县"},{text:"芷江侗族自治县"},{text:"靖州苗族侗族自治县"},{text:"通道侗族自治县"},{text:"洪江市"}]},{text:"娄底市",children:[{text:"娄星区"},{text:"双峰县"},{text:"新化县"},{text:"冷水江市"},{text:"涟源市"}]},{text:"湘西土家族苗族自治州",children:[{text:"吉首市"},{text:"泸溪县"},{text:"凤凰县"},{text:"花垣县"},{text:"保靖县"},{text:"古丈县"},{text:"永顺县"},{text:"龙山县"}]}]},{text:"广东省",children:[{text:"广州市",children:[{text:"荔湾区"},{text:"越秀区"},{text:"海珠区"},{text:"天河区"},{text:"白云区"},{text:"黄埔区"},{text:"番禺区"},{text:"花都区"},{text:"南沙区"},{text:"从化区"},{text:"增城区"}]},{text:"韶关市",children:[{text:"武江区"},{text:"浈江区"},{text:"曲江区"},{text:"始兴县"},{text:"仁化县"},{text:"翁源县"},{text:"乳源瑶族自治县"},{text:"新丰县"},{text:"乐昌市"},{text:"南雄市"}]},{text:"深圳市",children:[{text:"罗湖区"},{text:"福田区"},{text:"南山区"},{text:"宝安区"},{text:"龙岗区"},{text:"盐田区"}]},{text:"珠海市",children:[{text:"香洲区"},{text:"斗门区"},{text:"金湾区"}]},{text:"汕头市",children:[{text:"龙湖区"},{text:"金平区"},{text:"濠江区"},{text:"潮阳区"},{text:"潮南区"},{text:"澄海区"},{text:"南澳县"}]},{text:"佛山市",children:[{text:"禅城区"},{text:"南海区"},{text:"顺德区"},{text:"三水区"},{text:"高明区"}]},{text:"江门市",children:[{text:"蓬江区"},{text:"江海区"},{text:"新会区"},{text:"台山市"},{text:"开平市"},{text:"鹤山市"},{text:"恩平市"}]},{text:"湛江市",children:[{text:"赤坎区"},{text:"霞山区"},{text:"坡头区"},{text:"麻章区"},{text:"遂溪县"},{text:"徐闻县"},{text:"廉江市"},{text:"雷州市"},{text:"吴川市"}]},{text:"茂名市",children:[{text:"茂南区"},{text:"电白区"},{text:"高州市"},{text:"化州市"},{text:"信宜市"}]},{text:"肇庆市",children:[{text:"端州区"},{text:"鼎湖区"},{text:"高要区"},{text:"广宁县"},{text:"怀集县"},{text:"封开县"},{text:"德庆县"},{text:"四会市"}]},{text:"惠州市",children:[{text:"惠城区"},{text:"惠阳区"},{text:"博罗县"},{text:"惠东县"},{text:"龙门县"}]},{text:"梅州市",children:[{text:"梅江区"},{text:"梅县区"},{text:"大埔县"},{text:"丰顺县"},{text:"五华县"},{text:"平远县"},{text:"蕉岭县"},{text:"兴宁市"}]},{text:"汕尾市",children:[{text:"城区"},{text:"海丰县"},{text:"陆河县"},{text:"陆丰市"}]},{text:"河源市",children:[{text:"源城区"},{text:"紫金县"},{text:"龙川县"},{text:"连平县"},{text:"和平县"},{text:"东源县"}]},{text:"阳江市",children:[{text:"江城区"},{text:"阳东区"},{text:"阳西县"},{text:"阳春市"}]},{text:"清远市",children:[{text:"清城区"},{text:"清新区"},{text:"佛冈县"},{text:"阳山县"},{text:"连山壮族瑶族自治县"},{text:"连南瑶族自治县"},{text:"英德市"},{text:"连州市"}]},{text:"东莞市",children:[{text:"东城街道办事处"},{text:"南城街道办事处"},{text:"万江街道办事处"},{text:"莞城街道办事处"},{text:"石碣镇"},{text:"石龙镇"},{text:"茶山镇"},{text:"石排镇"},{text:"企石镇"},{text:"横沥镇"},{text:"桥头镇"},{text:"谢岗镇"},{text:"东坑镇"},{text:"常平镇"},{text:"寮步镇"},{text:"樟木头镇"},{text:"大朗镇"},{text:"黄江镇"},{text:"清溪镇"},{text:"塘厦镇"},{text:"凤岗镇"},{text:"大岭山镇"},{text:"长安镇"},{text:"虎门镇"},{text:"厚街镇"},{text:"沙田镇"},{text:"道滘镇"},{text:"洪梅镇"},{text:"麻涌镇"},{text:"望牛墩镇"},{text:"中堂镇"},{text:"高埗镇"},{text:"松山湖管委会"},{text:"虎门港管委会"},{text:"东莞生态园"}]},{text:"中山市",children:[{text:"石岐区街道办事处"},{text:"东区街道办事处"},{text:"火炬开发区街道办事处"},{text:"西区街道办事处"},{text:"南区街道办事处"},{text:"五桂山街道办事处"},{text:"小榄镇"},{text:"黄圃镇"},{text:"民众镇"},{text:"东凤镇"},{text:"东升镇"},{text:"古镇镇"},{text:"沙溪镇"},{text:"坦洲镇"},{text:"港口镇"},{text:"三角镇"},{text:"横栏镇"},{text:"南头镇"},{text:"阜沙镇"},{text:"南朗镇"},{text:"三乡镇"},{text:"板芙镇"},{text:"大涌镇"},{text:"神湾镇"}]},{text:"潮州市",children:[{text:"湘桥区"},{text:"潮安区"},{text:"饶平县"}]},{text:"揭阳市",children:[{text:"榕城区"},{text:"揭东区"},{text:"揭西县"},{text:"惠来县"},{text:"普宁市"}]},{text:"云浮市",children:[{text:"云城区"},{text:"云安区"},{text:"新兴县"},{text:"郁南县"},{text:"罗定市"}]}]},{text:"广西壮族自治区",children:[{text:"南宁市",children:[{text:"兴宁区"},{text:"青秀区"},{text:"江南区"},{text:"西乡塘区"},{text:"良庆区"},{text:"邕宁区"},{text:"武鸣区"},{text:"隆安县"},{text:"马山县"},{text:"上林县"},{text:"宾阳县"},{text:"横县"}]},{text:"柳州市",children:[{text:"城中区"},{text:"鱼峰区"},{text:"柳南区"},{text:"柳北区"},{text:"柳江区"},{text:"柳城县"},{text:"鹿寨县"},{text:"融安县"},{text:"融水苗族自治县"},{text:"三江侗族自治县"}]},{text:"桂林市",children:[{text:"秀峰区"},{text:"叠彩区"},{text:"象山区"},{text:"七星区"},{text:"雁山区"},{text:"临桂区"},{text:"阳朔县"},{text:"灵川县"},{text:"全州县"},{text:"兴安县"},{text:"永福县"},{text:"灌阳县"},{text:"龙胜各族自治县"},{text:"资源县"},{text:"平乐县"},{text:"荔浦县"},{text:"恭城瑶族自治县"}]},{text:"梧州市",children:[{text:"万秀区"},{text:"长洲区"},{text:"龙圩区"},{text:"苍梧县"},{text:"藤县"},{text:"蒙山县"},{text:"岑溪市"}]},{text:"北海市",children:[{text:"海城区"},{text:"银海区"},{text:"铁山港区"},{text:"合浦县"}]},{text:"防城港市",children:[{text:"港口区"},{text:"防城区"},{text:"上思县"},{text:"东兴市"}]},{text:"钦州市",children:[{text:"钦南区"},{text:"钦北区"},{text:"灵山县"},{text:"浦北县"}]},{text:"贵港市",children:[{text:"港北区"},{text:"港南区"},{text:"覃塘区"},{text:"平南县"},{text:"桂平市"}]},{text:"玉林市",children:[{text:"玉州区"},{text:"福绵区"},{text:"容县"},{text:"陆川县"},{text:"博白县"},{text:"兴业县"},{text:"北流市"}]},{text:"百色市",children:[{text:"右江区"},{text:"田阳县"},{text:"田东县"},{text:"平果县"},{text:"德保县"},{text:"那坡县"},{text:"凌云县"},{text:"乐业县"},{text:"田林县"},{text:"西林县"},{text:"隆林各族自治县"},{text:"靖西市"}]},{text:"贺州市",children:[{text:"八步区"},{text:"平桂区"},{text:"昭平县"},{text:"钟山县"},{text:"富川瑶族自治县"}]},{text:"河池市",children:[{text:"金城江区"},{text:"南丹县"},{text:"天峨县"},{text:"凤山县"},{text:"东兰县"},{text:"罗城仫佬族自治县"},{text:"环江毛南族自治县"},{text:"巴马瑶族自治县"},{text:"都安瑶族自治县"},{text:"大化瑶族自治县"},{text:"宜州市"}]},{text:"来宾市",children:[{text:"兴宾区"},{text:"忻城县"},{text:"象州县"},{text:"武宣县"},{text:"金秀瑶族自治县"},{text:"合山市"}]},{text:"崇左市",children:[{text:"江州区"},{text:"扶绥县"},{text:"宁明县"},{text:"龙州县"},{text:"大新县"},{text:"天等县"},{text:"凭祥市"}]}]},{text:"海南省",children:[{text:"海口市",children:[{text:"秀英区"},{text:"龙华区"},{text:"琼山区"},{text:"美兰区"}]},{text:"三亚市",children:[{text:"海棠区"},{text:"吉阳区"},{text:"天涯区"},{text:"崖州区"}]},{text:"三沙市",children:[{text:"西沙群岛"},{text:"南沙群岛"},{text:"中沙群岛的岛礁及其海域"}]},{text:"儋州市",children:[{text:"那大镇"},{text:"和庆镇"},{text:"南丰镇"},{text:"大成镇"},{text:"雅星镇"},{text:"兰洋镇"},{text:"光村镇"},{text:"木棠镇"},{text:"海头镇"},{text:"峨蔓镇"},{text:"三都镇"},{text:"王五镇"},{text:"白马井镇"},{text:"中和镇"},{text:"排浦镇"},{text:"东成镇"},{text:"新州镇"},{text:"国营西培农场"},{text:"国营西联农场"},{text:"国营蓝洋农场"},{text:"国营八一农场"},{text:"洋浦经济开发区"},{text:"华南热作学院"}]},{text:"省直辖县级行政区划",children:[{text:"五指山市"},{text:"琼海市"},{text:"文昌市"},{text:"万宁市"},{text:"东方市"},{text:"定安县"},{text:"屯昌县"},{text:"澄迈县"},{text:"临高县"},{text:"白沙黎族自治县"},{text:"昌江黎族自治县"},{text:"乐东黎族自治县"},{text:"陵水黎族自治县"},{text:"保亭黎族苗族自治县"},{text:"琼中黎族苗族自治县"}]}]},{text:"重庆市",children:[{text:"市辖区",children:[{text:"万州区"},{text:"涪陵区"},{text:"渝中区"},{text:"大渡口区"},{text:"江北区"},{text:"沙坪坝区"},{text:"九龙坡区"},{text:"南岸区"},{text:"北碚区"},{text:"綦江区"},{text:"大足区"},{text:"渝北区"},{text:"巴南区"},{text:"黔江区"},{text:"长寿区"},{text:"江津区"},{text:"合川区"},{text:"永川区"},{text:"南川区"},{text:"璧山区"},{text:"铜梁区"},{text:"潼南区"},{text:"荣昌区"},{text:"开州区"}]},{text:"县",children:[{text:"梁平县"},{text:"城口县"},{text:"丰都县"},{text:"垫江县"},{text:"武隆县"},{text:"忠县"},{text:"云阳县"},{text:"奉节县"},{text:"巫山县"},{text:"巫溪县"},{text:"石柱土家族自治县"},{text:"秀山土家族苗族自治县"},{text:"酉阳土家族苗族自治县"},{text:"彭水苗族土家族自治县"}]}]},{text:"四川省",children:[{text:"成都市",children:[{text:"锦江区"},{text:"青羊区"},{text:"金牛区"},{text:"武侯区"},{text:"成华区"},{text:"龙泉驿区"},{text:"青白江区"},{text:"新都区"},{text:"温江区"},{text:"双流区"},{text:"金堂县"},{text:"郫县"},{text:"大邑县"},{text:"蒲江县"},{text:"新津县"},{text:"都江堰市"},{text:"彭州市"},{text:"邛崃市"},{text:"崇州市"},{text:"简阳市"}]},{text:"自贡市",children:[{text:"自流井区"},{text:"贡井区"},{text:"大安区"},{text:"沿滩区"},{text:"荣县"},{text:"富顺县"}]},{text:"攀枝花市",children:[{text:"东区"},{text:"西区"},{text:"仁和区"},{text:"米易县"},{text:"盐边县"}]},{text:"泸州市",children:[{text:"江阳区"},{text:"纳溪区"},{text:"龙马潭区"},{text:"泸县"},{text:"合江县"},{text:"叙永县"},{text:"古蔺县"}]},{text:"德阳市",children:[{text:"旌阳区"},{text:"中江县"},{text:"罗江县"},{text:"广汉市"},{text:"什邡市"},{text:"绵竹市"}]},{text:"绵阳市",children:[{text:"涪城区"},{text:"游仙区"},{text:"安州区"},{text:"三台县"},{text:"盐亭县"},{text:"梓潼县"},{text:"北川羌族自治县"},{text:"平武县"},{text:"江油市"}]},{text:"广元市",children:[{text:"利州区"},{text:"昭化区"},{text:"朝天区"},{text:"旺苍县"},{text:"青川县"},{text:"剑阁县"},{text:"苍溪县"}]},{text:"遂宁市",children:[{text:"船山区"},{text:"安居区"},{text:"蓬溪县"},{text:"射洪县"},{text:"大英县"}]},{text:"内江市",children:[{text:"市中区"},{text:"东兴区"},{text:"威远县"},{text:"资中县"},{text:"隆昌县"}]},{text:"乐山市",children:[{text:"市中区"},{text:"沙湾区"},{text:"五通桥区"},{text:"金口河区"},{text:"犍为县"},{text:"井研县"},{text:"夹江县"},{text:"沐川县"},{text:"峨边彝族自治县"},{text:"马边彝族自治县"},{text:"峨眉山市"}]},{text:"南充市",children:[{text:"顺庆区"},{text:"高坪区"},{text:"嘉陵区"},{text:"南部县"},{text:"营山县"},{text:"蓬安县"},{text:"仪陇县"},{text:"西充县"},{text:"阆中市"}]},{text:"眉山市",children:[{text:"东坡区"},{text:"彭山区"},{text:"仁寿县"},{text:"洪雅县"},{text:"丹棱县"},{text:"青神县"}]},{text:"宜宾市",children:[{text:"翠屏区"},{text:"南溪区"},{text:"宜宾县"},{text:"江安县"},{text:"长宁县"},{text:"高县"},{text:"珙县"},{text:"筠连县"},{text:"兴文县"},{text:"屏山县"}]},{text:"广安市",children:[{text:"广安区"},{text:"前锋区"},{text:"岳池县"},{text:"武胜县"},{text:"邻水县"},{text:"华蓥市"}]},{text:"达州市",children:[{text:"通川区"},{text:"达川区"},{text:"宣汉县"},{text:"开江县"},{text:"大竹县"},{text:"渠县"},{text:"万源市"}]},{text:"雅安市",children:[{text:"雨城区"},{text:"名山区"},{text:"荥经县"},{text:"汉源县"},{text:"石棉县"},{text:"天全县"},{text:"芦山县"},{text:"宝兴县"}]},{text:"巴中市",children:[{text:"巴州区"},{text:"恩阳区"},{text:"通江县"},{text:"南江县"},{text:"平昌县"}]},{text:"资阳市",children:[{text:"雁江区"},{text:"安岳县"},{text:"乐至县"}]},{text:"阿坝藏族羌族自治州",children:[{text:"马尔康市"},{text:"汶川县"},{text:"理县"},{text:"茂县"},{text:"松潘县"},{text:"九寨沟县"},{text:"金川县"},{text:"小金县"},{text:"黑水县"},{text:"壤塘县"},{text:"阿坝县"},{text:"若尔盖县"},{text:"红原县"}]},{text:"甘孜藏族自治州",children:[{text:"康定市"},{text:"泸定县"},{text:"丹巴县"},{text:"九龙县"},{text:"雅江县"},{text:"道孚县"},{text:"炉霍县"},{text:"甘孜县"},{text:"新龙县"},{text:"德格县"},{text:"白玉县"},{text:"石渠县"},{text:"色达县"},{text:"理塘县"},{text:"巴塘县"},{text:"乡城县"},{text:"稻城县"},{text:"得荣县"}]},{text:"凉山彝族自治州",children:[{text:"西昌市"},{text:"木里藏族自治县"},{text:"盐源县"},{text:"德昌县"},{text:"会理县"},{text:"会东县"},{text:"宁南县"},{text:"普格县"},{text:"布拖县"},{text:"金阳县"},{text:"昭觉县"},{text:"喜德县"},{text:"冕宁县"},{text:"越西县"},{text:"甘洛县"},{text:"美姑县"},{text:"雷波县"}]}]},{text:"贵州省",children:[{text:"贵阳市",children:[{text:"南明区"},{text:"云岩区"},{text:"花溪区"},{text:"乌当区"},{text:"白云区"},{text:"观山湖区"},{text:"开阳县"},{text:"息烽县"},{text:"修文县"},{text:"清镇市"}]},{text:"六盘水市",children:[{text:"钟山区"},{text:"六枝特区"},{text:"水城县"},{text:"盘县"}]},{text:"遵义市",children:[{text:"红花岗区"},{text:"汇川区"},{text:"播州区"},{text:"桐梓县"},{text:"绥阳县"},{text:"正安县"},{text:"道真仡佬族苗族自治县"},{text:"务川仡佬族苗族自治县"},{text:"凤冈县"},{text:"湄潭县"},{text:"余庆县"},{text:"习水县"},{text:"赤水市"},{text:"仁怀市"}]},{text:"安顺市",children:[{text:"西秀区"},{text:"平坝区"},{text:"普定县"},{text:"镇宁布依族苗族自治县"},{text:"关岭布依族苗族自治县"},{text:"紫云苗族布依族自治县"}]},{text:"毕节市",children:[{text:"七星关区"},{text:"大方县"},{text:"黔西县"},{text:"金沙县"},{text:"织金县"},{text:"纳雍县"},{text:"威宁彝族回族苗族自治县"},{text:"赫章县"}]},{text:"铜仁市",children:[{text:"碧江区"},{text:"万山区"},{text:"江口县"},{text:"玉屏侗族自治县"},{text:"石阡县"},{text:"思南县"},{text:"印江土家族苗族自治县"},{text:"德江县"},{text:"沿河土家族自治县"},{text:"松桃苗族自治县"}]},{text:"黔西南布依族苗族自治州",children:[{text:"兴义市"},{text:"兴仁县"},{text:"普安县"},{text:"晴隆县"},{text:"贞丰县"},{text:"望谟县"},{text:"册亨县"},{text:"安龙县"}]},{text:"黔东南苗族侗族自治州",children:[{text:"凯里市"},{text:"黄平县"},{text:"施秉县"},{text:"三穗县"},{text:"镇远县"},{text:"岑巩县"},{text:"天柱县"},{text:"锦屏县"},{text:"剑河县"},{text:"台江县"},{text:"黎平县"},{text:"榕江县"},{text:"从江县"},{text:"雷山县"},{text:"麻江县"},{text:"丹寨县"}]},{text:"黔南布依族苗族自治州",children:[{text:"都匀市"},{text:"福泉市"},{text:"荔波县"},{text:"贵定县"},{text:"瓮安县"},{text:"独山县"},{text:"平塘县"},{text:"罗甸县"},{text:"长顺县"},{text:"龙里县"},{text:"惠水县"},{text:"三都水族自治县"}]}]},{text:"云南省",children:[{text:"昆明市",children:[{text:"五华区"},{text:"盘龙区"},{text:"官渡区"},{text:"西山区"},{text:"东川区"},{text:"呈贡区"},{text:"晋宁县"},{text:"富民县"},{text:"宜良县"},{text:"石林彝族自治县"},{text:"嵩明县"},{text:"禄劝彝族苗族自治县"},{text:"寻甸回族彝族自治县"},{text:"安宁市"}]},{text:"曲靖市",children:[{text:"麒麟区"},{text:"沾益区"},{text:"马龙县"},{text:"陆良县"},{text:"师宗县"},{text:"罗平县"},{text:"富源县"},{text:"会泽县"},{text:"宣威市"}]},{text:"玉溪市",children:[{text:"红塔区"},{text:"江川区"},{text:"澄江县"},{text:"通海县"},{text:"华宁县"},{text:"易门县"},{text:"峨山彝族自治县"},{text:"新平彝族傣族自治县"},{text:"元江哈尼族彝族傣族自治县"}]},{text:"保山市",children:[{text:"隆阳区"},{text:"施甸县"},{text:"龙陵县"},{text:"昌宁县"},{text:"腾冲市"}]},{text:"昭通市",children:[{text:"昭阳区"},{text:"鲁甸县"},{text:"巧家县"},{text:"盐津县"},{text:"大关县"},{text:"永善县"},{text:"绥江县"},{text:"镇雄县"},{text:"彝良县"},{text:"威信县"},{text:"水富县"}]},{text:"丽江市",children:[{text:"古城区"},{text:"玉龙纳西族自治县"},{text:"永胜县"},{text:"华坪县"},{text:"宁蒗彝族自治县"}]},{text:"普洱市",children:[{text:"思茅区"},{text:"宁洱哈尼族彝族自治县"},{text:"墨江哈尼族自治县"},{text:"景东彝族自治县"},{text:"景谷傣族彝族自治县"},{text:"镇沅彝族哈尼族拉祜族自治县"},{text:"江城哈尼族彝族自治县"},{text:"孟连傣族拉祜族佤族自治县"},{text:"澜沧拉祜族自治县"},{text:"西盟佤族自治县"}]},{text:"临沧市",children:[{text:"临翔区"},{text:"凤庆县"},{text:"云县"},{text:"永德县"},{text:"镇康县"},{text:"双江拉祜族佤族布朗族傣族自治县"},{text:"耿马傣族佤族自治县"},{text:"沧源佤族自治县"}]},{text:"楚雄彝族自治州",children:[{text:"楚雄市"},{text:"双柏县"},{text:"牟定县"},{text:"南华县"},{text:"姚安县"},{text:"大姚县"},{text:"永仁县"},{text:"元谋县"},{text:"武定县"},{text:"禄丰县"}]},{text:"红河哈尼族彝族自治州",children:[{text:"个旧市"},{text:"开远市"},{text:"蒙自市"},{text:"弥勒市"},{text:"屏边苗族自治县"},{text:"建水县"},{text:"石屏县"},{text:"泸西县"},{text:"元阳县"},{text:"红河县"},{text:"金平苗族瑶族傣族自治县"},{text:"绿春县"},{text:"河口瑶族自治县"}]},{text:"文山壮族苗族自治州",children:[{text:"文山市"},{text:"砚山县"},{text:"西畴县"},{text:"麻栗坡县"},{text:"马关县"},{text:"丘北县"},{text:"广南县"},{text:"富宁县"}]},{text:"西双版纳傣族自治州",children:[{text:"景洪市"},{text:"勐海县"},{text:"勐腊县"}]},{text:"大理白族自治州",children:[{text:"大理市"},{text:"漾濞彝族自治县"},{text:"祥云县"},{text:"宾川县"},{text:"弥渡县"},{text:"南涧彝族自治县"},{text:"巍山彝族回族自治县"},{text:"永平县"},{text:"云龙县"},{text:"洱源县"},{text:"剑川县"},{text:"鹤庆县"}]},{text:"德宏傣族景颇族自治州",children:[{text:"瑞丽市"},{text:"芒市"},{text:"梁河县"},{text:"盈江县"},{text:"陇川县"}]},{text:"怒江傈僳族自治州",children:[{text:"泸水市"},{text:"福贡县"},{text:"贡山独龙族怒族自治县"},{text:"兰坪白族普米族自治县"}]},{text:"迪庆藏族自治州",children:[{text:"香格里拉市"},{text:"德钦县"},{text:"维西傈僳族自治县"}]}]},{text:"西藏自治区",children:[{text:"拉萨市",children:[{text:"城关区"},{text:"堆龙德庆区"},{text:"林周县"},{text:"当雄县"},{text:"尼木县"},{text:"曲水县"},{text:"达孜县"},{text:"墨竹工卡县"}]},{text:"日喀则市",children:[{text:"桑珠孜区"},{text:"南木林县"},{text:"江孜县"},{text:"定日县"},{text:"萨迦县"},{text:"拉孜县"},{text:"昂仁县"},{text:"谢通门县"},{text:"白朗县"},{text:"仁布县"},{text:"康马县"},{text:"定结县"},{text:"仲巴县"},{text:"亚东县"},{text:"吉隆县"},{text:"聂拉木县"},{text:"萨嘎县"},{text:"岗巴县"}]},{text:"昌都市",children:[{text:"卡若区"},{text:"江达县"},{text:"贡觉县"},{text:"类乌齐县"},{text:"丁青县"},{text:"察雅县"},{text:"八宿县"},{text:"左贡县"},{text:"芒康县"},{text:"洛隆县"},{text:"边坝县"}]},{text:"林芝市",children:[{text:"巴宜区"},{text:"工布江达县"},{text:"米林县"},{text:"墨脱县"},{text:"波密县"},{text:"察隅县"},{text:"朗县"}]},{text:"山南市",children:[{text:"乃东区"},{text:"扎囊县"},{text:"贡嘎县"},{text:"桑日县"},{text:"琼结县"},{text:"曲松县"},{text:"措美县"},{text:"洛扎县"},{text:"加查县"},{text:"隆子县"},{text:"错那县"},{text:"浪卡子县"}]},{text:"那曲地区",children:[{text:"那曲县"},{text:"嘉黎县"},{text:"比如县"},{text:"聂荣县"},{text:"安多县"},{text:"申扎县"},{text:"索县"},{text:"班戈县"},{text:"巴青县"},{text:"尼玛县"},{text:"双湖县"}]},{text:"阿里地区",children:[{text:"普兰县"},{text:"札达县"},{text:"噶尔县"},{text:"日土县"},{text:"革吉县"},{text:"改则县"},{text:"措勤县"}]}]},{text:"陕西省",children:[{text:"西安市",children:[{text:"新城区"},{text:"碑林区"},{text:"莲湖区"},{text:"灞桥区"},{text:"未央区"},{text:"雁塔区"},{text:"阎良区"},{text:"临潼区"},{text:"长安区"},{text:"高陵区"},{text:"蓝田县"},{text:"周至县"},{text:"户县"}]},{text:"铜川市",children:[{text:"王益区"},{text:"印台区"},{text:"耀州区"},{text:"宜君县"}]},{text:"宝鸡市",children:[{text:"渭滨区"},{text:"金台区"},{text:"陈仓区"},{text:"凤翔县"},{text:"岐山县"},{text:"扶风县"},{text:"眉县"},{text:"陇县"},{text:"千阳县"},{text:"麟游县"},{text:"凤县"},{text:"太白县"}]},{text:"咸阳市",children:[{text:"秦都区"},{text:"杨陵区"},{text:"渭城区"},{text:"三原县"},{text:"泾阳县"},{text:"乾县"},{text:"礼泉县"},{text:"永寿县"},{text:"彬县"},{text:"长武县"},{text:"旬邑县"},{text:"淳化县"},{text:"武功县"},{text:"兴平市"}]},{text:"渭南市",children:[{text:"临渭区"},{text:"华州区"},{text:"潼关县"},{text:"大荔县"},{text:"合阳县"},{text:"澄城县"},{text:"蒲城县"},{text:"白水县"},{text:"富平县"},{text:"韩城市"},{text:"华阴市"}]},{text:"延安市",children:[{text:"宝塔区"},{text:"安塞区"},{text:"延长县"},{text:"延川县"},{text:"子长县"},{text:"志丹县"},{text:"吴起县"},{text:"甘泉县"},{text:"富县"},{text:"洛川县"},{text:"宜川县"},{text:"黄龙县"},{text:"黄陵县"}]},{text:"汉中市",children:[{text:"汉台区"},{text:"南郑县"},{text:"城固县"},{text:"洋县"},{text:"西乡县"},{text:"勉县"},{text:"宁强县"},{text:"略阳县"},{text:"镇巴县"},{text:"留坝县"},{text:"佛坪县"}]},{text:"榆林市",children:[{text:"榆阳区"},{text:"横山区"},{text:"神木县"},{text:"府谷县"},{text:"靖边县"},{text:"定边县"},{text:"绥德县"},{text:"米脂县"},{text:"佳县"},{text:"吴堡县"},{text:"清涧县"},{text:"子洲县"}]},{text:"安康市",children:[{text:"汉滨区"},{text:"汉阴县"},{text:"石泉县"},{text:"宁陕县"},{text:"紫阳县"},{text:"岚皋县"},{text:"平利县"},{text:"镇坪县"},{text:"旬阳县"},{text:"白河县"}]},{text:"商洛市",children:[{text:"商州区"},{text:"洛南县"},{text:"丹凤县"},{text:"商南县"},{text:"山阳县"},{text:"镇安县"},{text:"柞水县"}]}]},{text:"甘肃省",children:[{text:"兰州市",children:[{text:"城关区"},{text:"七里河区"},{text:"西固区"},{text:"安宁区"},{text:"红古区"},{text:"永登县"},{text:"皋兰县"},{text:"榆中县"}]},{text:"嘉峪关市",children:[{text:"新城镇"},{text:"峪泉镇"},{text:"文殊镇"},{text:"雄关区"},{text:"镜铁区"},{text:"长城区"}]},{text:"金昌市",children:[{text:"金川区"},{text:"永昌县"}]},{text:"白银市",children:[{text:"白银区"},{text:"平川区"},{text:"靖远县"},{text:"会宁县"},{text:"景泰县"}]},{text:"天水市",children:[{text:"秦州区"},{text:"麦积区"},{text:"清水县"},{text:"秦安县"},{text:"甘谷县"},{text:"武山县"},{text:"张家川回族自治县"}]},{text:"武威市",children:[{text:"凉州区"},{text:"民勤县"},{text:"古浪县"},{text:"天祝藏族自治县"}]},{text:"张掖市",children:[{text:"甘州区"},{text:"肃南裕固族自治县"},{text:"民乐县"},{text:"临泽县"},{text:"高台县"},{text:"山丹县"}]},{text:"平凉市",children:[{text:"崆峒区"},{text:"泾川县"},{text:"灵台县"},{text:"崇信县"},{text:"华亭县"},{text:"庄浪县"},{text:"静宁县"}]},{text:"酒泉市",children:[{text:"肃州区"},{text:"金塔县"},{text:"瓜州县"},{text:"肃北蒙古族自治县"},{text:"阿克塞哈萨克族自治县"},{text:"玉门市"},{text:"敦煌市"}]},{text:"庆阳市",children:[{text:"西峰区"},{text:"庆城县"},{text:"环县"},{text:"华池县"},{text:"合水县"},{text:"正宁县"},{text:"宁县"},{text:"镇原县"}]},{text:"定西市",children:[{text:"安定区"},{text:"通渭县"},{text:"陇西县"},{text:"渭源县"},{text:"临洮县"},{text:"漳县"},{text:"岷县"}]},{text:"陇南市",children:[{text:"武都区"},{text:"成县"},{text:"文县"},{text:"宕昌县"},{text:"康县"},{text:"西和县"},{text:"礼县"},{text:"徽县"},{text:"两当县"}]},{text:"临夏回族自治州",children:[{text:"临夏市"},{text:"临夏县"},{text:"康乐县"},{text:"永靖县"},{text:"广河县"},{text:"和政县"},{text:"东乡族自治县"},{text:"积石山保安族东乡族撒拉族自治县"}]},{text:"甘南藏族自治州",children:[{text:"合作市"},{text:"临潭县"},{text:"卓尼县"},{text:"舟曲县"},{text:"迭部县"},{text:"玛曲县"},{text:"碌曲县"},{text:"夏河县"}]}]},{text:"青海省",children:[{text:"西宁市",children:[{text:"城东区"},{text:"城中区"},{text:"城西区"},{text:"城北区"},{text:"大通回族土族自治县"},{text:"湟中县"},{text:"湟源县"}]},{text:"海东市",children:[{text:"乐都区"},{text:"平安区"},{text:"民和回族土族自治县"},{text:"互助土族自治县"},{text:"化隆回族自治县"},{text:"循化撒拉族自治县"}]},{text:"海北藏族自治州",children:[{text:"门源回族自治县"},{text:"祁连县"},{text:"海晏县"},{text:"刚察县"}]},{text:"黄南藏族自治州",children:[{text:"同仁县"},{text:"尖扎县"},{text:"泽库县"},{text:"河南蒙古族自治县"}]},{text:"海南藏族自治州",children:[{text:"共和县"},{text:"同德县"},{text:"贵德县"},{text:"兴海县"},{text:"贵南县"}]},{text:"果洛藏族自治州",children:[{text:"玛沁县"},{text:"班玛县"},{text:"甘德县"},{text:"达日县"},{text:"久治县"},{text:"玛多县"}]},{text:"玉树藏族自治州",children:[{text:"玉树市"},{text:"杂多县"},{text:"称多县"},{text:"治多县"},{text:"囊谦县"},{text:"曲麻莱县"}]},{text:"海西蒙古族藏族自治州",children:[{text:"格尔木市"},{text:"德令哈市"},{text:"乌兰县"},{text:"都兰县"},{text:"天峻县"}]}]},{text:"宁夏回族自治区",children:[{text:"银川市",children:[{text:"兴庆区"},{text:"西夏区"},{text:"金凤区"},{text:"永宁县"},{text:"贺兰县"},{text:"灵武市"}]},{text:"石嘴山市",children:[{text:"大武口区"},{text:"惠农区"},{text:"平罗县"}]},{text:"吴忠市",children:[{text:"利通区"},{text:"红寺堡区"},{text:"盐池县"},{text:"同心县"},{text:"青铜峡市"}]},{text:"固原市",children:[{text:"原州区"},{text:"西吉县"},{text:"隆德县"},{text:"泾源县"},{text:"彭阳县"}]},{text:"中卫市",children:[{text:"沙坡头区"},{text:"中宁县"},{text:"海原县"}]}]},{text:"新疆维吾尔自治区",children:[{text:"乌鲁木齐市",children:[{text:"天山区"},{text:"沙依巴克区"},{text:"新市区"},{text:"水磨沟区"},{text:"头屯河区"},{text:"达坂城区"},{text:"米东区"},{text:"乌鲁木齐县"}]},{text:"克拉玛依市",children:[{text:"独山子区"},{text:"克拉玛依区"},{text:"白碱滩区"},{text:"乌尔禾区"}]},{text:"吐鲁番市",children:[{text:"高昌区"},{text:"鄯善县"},{text:"托克逊县"}]},{text:"哈密市",children:[{text:"伊州区"},{text:"巴里坤哈萨克自治县"},{text:"伊吾县"}]},{text:"昌吉回族自治州",children:[{text:"昌吉市"},{text:"阜康市"},{text:"呼图壁县"},{text:"玛纳斯县"},{text:"奇台县"},{text:"吉木萨尔县"},{text:"木垒哈萨克自治县"}]},{text:"博尔塔拉蒙古自治州",children:[{text:"博乐市"},{text:"阿拉山口市"},{text:"精河县"},{text:"温泉县"}]},{text:"巴音郭楞蒙古自治州",children:[{text:"库尔勒市"},{text:"轮台县"},{text:"尉犁县"},{text:"若羌县"},{text:"且末县"},{text:"焉耆回族自治县"},{text:"和静县"},{text:"和硕县"},{text:"博湖县"}]},{text:"阿克苏地区",children:[{text:"阿克苏市"},{text:"温宿县"},{text:"库车县"},{text:"沙雅县"},{text:"新和县"},{text:"拜城县"},{text:"乌什县"},{text:"阿瓦提县"},{text:"柯坪县"}]},{text:"克孜勒苏柯尔克孜自治州",children:[{text:"阿图什市"},{text:"阿克陶县"},{text:"阿合奇县"},{text:"乌恰县"}]},{text:"喀什地区",children:[{text:"喀什市"},{text:"疏附县"},{text:"疏勒县"},{text:"英吉沙县"},{text:"泽普县"},{text:"莎车县"},{text:"叶城县"},{text:"麦盖提县"},{text:"岳普湖县"},{text:"伽师县"},{text:"巴楚县"},{text:"塔什库尔干塔吉克自治县"}]},{text:"和田地区",children:[{text:"和田市"},{text:"和田县"},{text:"墨玉县"},{text:"皮山县"},{text:"洛浦县"},{text:"策勒县"},{text:"于田县"},{text:"民丰县"}]},{text:"伊犁哈萨克自治州",children:[{text:"伊宁市"},{text:"奎屯市"},{text:"霍尔果斯市"},{text:"伊宁县"},{text:"察布查尔锡伯自治县"},{text:"霍城县"},{text:"巩留县"},{text:"新源县"},{text:"昭苏县"},{text:"特克斯县"},{text:"尼勒克县"}]},{text:"塔城地区",children:[{text:"塔城市"},{text:"乌苏市"},{text:"额敏县"},{text:"沙湾县"},{text:"托里县"},{text:"裕民县"},{text:"和布克赛尔蒙古自治县"}]},{text:"阿勒泰地区",children:[{text:"阿勒泰市"},{text:"布尔津县"},{text:"富蕴县"},{text:"福海县"},{text:"哈巴河县"},{text:"青河县"},{text:"吉木乃县"}]},{text:"自治区直辖县级行政区划",children:[{text:"石河子市"},{text:"阿拉尔市"},{text:"图木舒克市"},{text:"五家渠市"},{text:"铁门关市"}]}]},{text:"台湾省",children:[]},{text:"香港特别行政区",children:[]},{text:"澳门特别行政区",children:[]}],ve={functionCall:"函数调用",componentCall:"组件调用",singlePicker:"单列选择",multiplePicker:"多列选择",cascadePicker:"级联选择",areaPicker:"地区选择",valueMapping:"值的映射",twoWayBinding:"双向绑定",reset:"点击重置"},ge={functionCall:"Function Call",componentCall:"Component Call",singlePicker:"Single Column Picker",multiplePicker:"Multiple Column Picker",cascadePicker:"Cascade Column Picker",areaPicker:"Area Picker",valueMapping:"Value Mapping",twoWayBinding:"Two-way binding",reset:"Click Reset"},{add:mt,use:ke,pack:g,packs:Ke,merge:Le}=te(),Ce=e=>{ne(e),ke(e)};ut("zh-CN",ee);ut("en-US",xe);mt("zh-CN",ve);mt("en-US",ge);const We={__name:"index",setup(e){const p=y.Component,u=N([[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}]]),i=N([[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}],[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}],[{text:"A"},{text:"B"},{text:"C"},{text:"D"},{text:"E"}]]),k=N([{text:"四川省",children:[{text:"成都市",children:[{text:"温江区"},{text:"青羊区"}]}]},{text:"江苏省",children:[{text:"无锡市",children:[{text:"新吴区"},{text:"滨湖区"}]}]}]),v=N(fe),f=N([[{text:"A",value:1},{text:"B",value:2},{text:"C",value:3},{text:"D",value:4}],[{text:"A",value:1},{text:"B",value:2},{text:"C",value:3},{text:"D",value:4}],[{text:"A",value:1},{text:"B",value:2},{text:"C",value:3},{text:"D",value:4}]]),r=N(["A","B","C"]);async function d(){await y({columns:u.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function D(){await y({columns:i.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function z(){await y({cascade:!0,columns:k.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function W(){await y({columns:v.value,cascade:!0,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}async function F(){await y({columns:f.value,onChange(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}})}function T(s,a){E(`values: ${s.toString()}, indexes: ${a.toString()}`)}return Gt(Ce),Qt(le),(s,a)=>(A(),V(X,null,[c(n($),null,{default:o(()=>[m(h(n(g).functionCall),1)]),_:1}),c(n(dt),{direction:"column",size:["3vmin","4vmin"]},{default:o(()=>[c(n(b),{type:"primary",block:"",onClick:d},{default:o(()=>[m(h(n(g).singlePicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:D},{default:o(()=>[m(h(n(g).multiplePicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:z},{default:o(()=>[m(h(n(g).cascadePicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:W},{default:o(()=>[m(h(n(g).areaPicker),1)]),_:1}),c(n(b),{type:"primary",block:"",onClick:F},{default:o(()=>[m(h(n(g).valueMapping),1)]),_:1})]),_:1}),c(n($),null,{default:o(()=>[m(h(n(g).componentCall),1)]),_:1}),c(n($),null,{default:o(()=>[m(h(n(g).singlePicker),1)]),_:1}),c(n(p),{columns:u.value,onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).multiplePicker),1)]),_:1}),c(n(p),{columns:i.value,onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).areaPicker),1)]),_:1}),c(n(p),{columns:k.value,cascade:"",onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).areaPicker),1)]),_:1}),c(n(p),{columns:v.value,cascade:"",onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).valueMapping),1)]),_:1}),c(n(p),{columns:f.value,onChange:T},null,8,["columns"]),c(n($),null,{default:o(()=>[m(h(n(g).twoWayBinding),1)]),_:1}),c(n(dt),{direction:"column",size:"large"},{default:o(()=>[c(n(b),{type:"primary",onClick:a[0]||(a[0]=O=>r.value=["A","B","C"])},{default:o(()=>[m("values: "+h(r.value)+" "+h(n(g).reset),1)]),_:1}),c(n(p),{columns:i.value,modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=O=>r.value=O),onChange:T},null,8,["columns","modelValue"])]),_:1})],64))}};export{We as default}; diff --git a/assets/index-facfdebf.js b/assets/index-d722112a.js similarity index 73% rename from assets/index-facfdebf.js rename to assets/index-d722112a.js index 244310ae811..b1807db30e1 100644 --- a/assets/index-facfdebf.js +++ b/assets/index-d722112a.js @@ -1 +1 @@ -import{B as h}from"./index-84d96475.js";import{I as _}from"./index-057aa4ba.js";import{d as y,c as C,a as B,w as N}from"./components-3ae053cb.js";import{d as T,r as m,o as w,a8 as E,aJ as L,aT as $,aj as I,ai as U,_ as V,b as u,e as d,f as M,p as P,v as z,q as s,w as v,as as A,M as O,au as j,al as D,m as p,N as H,O as q,U as f,Q as F,R as J}from"./index-af5fec45.js";import{e as Q}from"./shared-de177aa1.js";import{c as R,g as G,a as K,s as W,t as X}from"./elements-68ad626b.js";import{C as Y}from"./index-4237591d.js";import{d as Z}from"./index-d8fbf18c.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";/* empty css */import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./logger-525ef361.js";const x={visibilityHeight:{type:[Number,String],default:200},duration:{type:Number,default:300},right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},bottom:[Number,String],target:[String,Object],onClick:y()},{name:ee,n:te,classes:oe}=C("back-top"),ae=T({name:ee,components:{VarButton:h,VarIcon:_},inheritAttrs:!1,props:x,setup(e){const o=m(!1),a=m(null),r=m(!0);let t;const i=$(()=>{o.value=U(t)>=X(e.visibilityHeight)},200);w(()=>{c(),n(),r.value=!1}),E(n),L(g);function l(k){B(e.onClick,k);const S=I(t);W(t,{left:S,duration:e.duration,animation:Q})}function c(){t=e.target?R(e.target,"BackTop"):G(a.value)}function n(){t.addEventListener("scroll",i)}function g(){t.removeEventListener("scroll",i)}return{disabled:r,show:o,backTopEl:a,toSizeUnit:K,n:te,classes:oe,handleClick:l}}});function re(e,o,a,r,t,i){const l=u("var-icon"),c=u("var-button");return d(),M(j,{to:"body",disabled:e.disabled},[P("div",A({class:e.classes(e.n(),[e.show,e.n("--active")]),ref:"backTopEl",style:{right:e.toSizeUnit(e.right),bottom:e.toSizeUnit(e.bottom)}},e.$attrs,{onClick:o[0]||(o[0]=O((...n)=>e.handleClick&&e.handleClick(...n),["stop"]))}),[z(e.$slots,"default",{},()=>[s(c,{elevation:e.elevation,type:"primary",round:"","var-back-top-cover":""},{default:v(()=>[s(l,{name:"chevron-up"})]),_:1},8,["elevation"])])],16)],8,["disabled"])}const b=V(ae,[["render",re]]);N(b);const he={__name:"index",setup(e){const o=[...Array(100).keys()];return D(Z),(a,r)=>(d(),p("div",null,[(d(),p(H,null,q(o,t=>s(f(Y),{key:t},{default:v(()=>[F("Scroll to bottom "+J(t),1)]),_:2},1024)),64)),s(f(b),{duration:300})]))}};export{he as default}; +import{B as h}from"./index-1f1d0c91.js";import{I as _}from"./index-2c5b74fa.js";import{d as y,c as C,a as B,w as N}from"./components-a5332e66.js";import{d as T,r as m,o as w,a8 as E,aJ as L,aT as $,aj as I,ai as U,_ as V,b as u,e as d,f as M,p as P,v as z,q as s,w as v,as as A,M as O,au as j,al as D,m as p,N as H,O as q,U as f,Q as F,R as J}from"./index-0bd4ebfc.js";import{e as Q}from"./shared-a3ff1edc.js";import{c as R,g as G,a as K,s as W,t as X}from"./elements-23c82371.js";import{C as Y}from"./index-3f170ae4.js";import{d as Z}from"./index-d8fbf18c.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";/* empty css */import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./logger-525ef361.js";const x={visibilityHeight:{type:[Number,String],default:200},duration:{type:Number,default:300},right:[Number,String],elevation:{type:[Boolean,Number,String],default:!0},bottom:[Number,String],target:[String,Object],onClick:y()},{name:ee,n:te,classes:oe}=C("back-top"),ae=T({name:ee,components:{VarButton:h,VarIcon:_},inheritAttrs:!1,props:x,setup(e){const o=m(!1),a=m(null),r=m(!0);let t;const i=$(()=>{o.value=U(t)>=X(e.visibilityHeight)},200);w(()=>{c(),n(),r.value=!1}),E(n),L(g);function l(k){B(e.onClick,k);const S=I(t);W(t,{left:S,duration:e.duration,animation:Q})}function c(){t=e.target?R(e.target,"BackTop"):G(a.value)}function n(){t.addEventListener("scroll",i)}function g(){t.removeEventListener("scroll",i)}return{disabled:r,show:o,backTopEl:a,toSizeUnit:K,n:te,classes:oe,handleClick:l}}});function re(e,o,a,r,t,i){const l=u("var-icon"),c=u("var-button");return d(),M(j,{to:"body",disabled:e.disabled},[P("div",A({class:e.classes(e.n(),[e.show,e.n("--active")]),ref:"backTopEl",style:{right:e.toSizeUnit(e.right),bottom:e.toSizeUnit(e.bottom)}},e.$attrs,{onClick:o[0]||(o[0]=O((...n)=>e.handleClick&&e.handleClick(...n),["stop"]))}),[z(e.$slots,"default",{},()=>[s(c,{elevation:e.elevation,type:"primary",round:"","var-back-top-cover":""},{default:v(()=>[s(l,{name:"chevron-up"})]),_:1},8,["elevation"])])],16)],8,["disabled"])}const b=V(ae,[["render",re]]);N(b);const he={__name:"index",setup(e){const o=[...Array(100).keys()];return D(Z),(a,r)=>(d(),p("div",null,[(d(),p(H,null,q(o,t=>s(f(Y),{key:t},{default:v(()=>[F("Scroll to bottom "+J(t),1)]),_:2},1024)),64)),s(f(b),{duration:300})]))}};export{he as default}; diff --git a/assets/index-dc16b728.js b/assets/index-d73e443e.js similarity index 83% rename from assets/index-dc16b728.js rename to assets/index-d73e443e.js index 452db923c9a..941c242e05a 100644 --- a/assets/index-dc16b728.js +++ b/assets/index-d73e443e.js @@ -1 +1 @@ -import{T as i}from"./index-9fe07c8e.js";import{S as k}from"./index-90c41552.js";import{B as p}from"./index-84d96475.js";import{O as _,S as b}from"./index-b08b685e.js";import{S as u}from"./index-0ad054ca.js";import{d as B}from"./index-d8fbf18c.js";import{_ as V,r as g,F as A,al as N,b as O,e as y,m as v,q as e,w as o,U as t,p as S,N as C,Q as l,R as a,O as z,f as D,$ as I,a0 as M}from"./index-af5fec45.js";import{u as L,b as w,_ as W,c as $,a as E}from"./index-2b61c8d0.js";import{A as s}from"./appType-53211ea9.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";/* empty css */import"./index-2b41cfe8.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./index-3f206173.js";import"./index-83ee7fa7.js";import"./index-939959a8.js";import"./provide-c979a783.js";import"./useSelectController-4054913f.js";import"./index-64160362.js";import"./lock-7a098446.js";const F={basicUsage:"基本使用",contentSlot:"内容插槽",alignmentMethods:"对齐方式",topAlignment:"顶部对齐",tooltip:"tooltip",bottomAlignment:"底部对齐",offset:"偏移量",events:"注册事件",disabled:"禁用提示",placement:"弹出位置",trigger:"触发方式",twoWayBinding:"双向绑定",themeColorTooltip:"主题色文字提示",defaultTooltip:"默认",primaryTooltip:"主要",infoTooltip:"信息",successTooltip:"成功",warningTooltip:"警告",dangerTooltip:"危险",customColor:"自定义颜色"},P={basicUsage:"Basic Usage",contentSlot:"Content Slot",alignmentMethods:"Alignment Methods",topAlignment:"Top Alignment",tooltip:"Tooltip",bottomAlignment:"Bottom Alignment",offset:"Offset",events:"Events",disabled:"Disabled",placement:"Placement",trigger:"Trigger",twoWayBinding:"Two-way Binding",themeColorTooltip:"Theme Color Tooltip",defaultTooltip:"Default",primaryTooltip:"Primary",infoTooltip:"Info",successTooltip:"Success",warningTooltip:"Warning",dangerTooltip:"Danger",customColor:"Custom Color"},{add:h,use:q,pack:n,packs:ht,merge:xt}=L(),Q=d=>{E(d),q(d)};w("zh-CN",W);w("en-US",$);h("zh-CN",F);h("en-US",P);const R=d=>(I("data-v-13e12057"),d=d(),M(),d),j={class:"placement-container"},G=R(()=>S("div",{style:{"margin-bottom":"100px"}},null,-1)),H={__name:"index",setup(d){const f=g("click"),c=g("top"),x=g(["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]);return A(Q),N(B),(J,r)=>{const T=O("var-icon");return y(),v(C,null,[e(t(s),null,{default:o(()=>[l(a(t(n).basicUsage),1)]),_:1}),e(t(i),{content:"Tooltip"},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).basicUsage),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).contentSlot),1)]),_:1}),e(t(i),null,{content:o(()=>[e(T,{name:"star"})]),default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).contentSlot),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).placement),1)]),_:1}),e(t(b),{hint:!1,modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=m=>c.value=m)},{default:o(()=>[(y(!0),v(C,null,z(x.value,(m,U)=>(y(),D(t(_),{key:U,label:m},null,8,["label"]))),128))]),_:1},8,["modelValue"]),S("div",j,[e(t(i),{content:"Tooltip",placement:c.value},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[e(T,{name:"star"})]),_:1})]),_:1},8,["placement"])]),e(t(s),null,{default:o(()=>[l(a(t(n).themeColorTooltip),1)]),_:1}),e(t(k),{size:["14vmin","2.666vmin"]},{default:o(()=>[e(t(i),{type:"default",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"default"},{default:o(()=>[l(a(t(n).defaultTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"primary",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).primaryTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"info",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"info"},{default:o(()=>[l(a(t(n).infoTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"success",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"success"},{default:o(()=>[l(a(t(n).successTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"warning",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"warning"},{default:o(()=>[l(a(t(n).warningTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"danger",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"danger"},{default:o(()=>[l(a(t(n).dangerTooltip),1)]),_:1})]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).customColor),1)]),_:1}),e(t(i),{content:"Tooltip",color:"#d81b60"},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).customColor),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).offset),1)]),_:1}),e(t(i),{content:"Tooltip","offset-x":64,"offset-y":-10},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).offset),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).trigger),1)]),_:1}),e(t(b),{hint:!1,modelValue:f.value,"onUpdate:modelValue":r[1]||(r[1]=m=>f.value=m)},{default:o(()=>[e(t(_),{label:"click"}),e(t(_),{label:"hover"})]),_:1},8,["modelValue"]),e(t(i),{content:"Tooltip",style:{"margin-top":"15px"},trigger:f.value},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).trigger),1)]),_:1})]),_:1},8,["trigger"]),e(t(s),null,{default:o(()=>[l(a(t(n).events),1)]),_:1}),e(t(i),{content:"Tooltip",onOpen:r[2]||(r[2]=()=>t(u).info("open")),onOpened:r[3]||(r[3]=()=>t(u).success("opened")),onClose:r[4]||(r[4]=()=>t(u).warning("close")),onClosed:r[5]||(r[5]=()=>t(u).error("closed"))},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).events),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).disabled),1)]),_:1}),e(t(i),{content:"Tooltip",disabled:""},{default:o(()=>[e(t(p),{type:"primary",disabled:""},{default:o(()=>[l(a(t(n).disabled),1)]),_:1})]),_:1}),G],64)}}},Ut=V(H,[["__scopeId","data-v-13e12057"]]);export{Ut as default}; +import{T as i}from"./index-e4246741.js";import{S as k}from"./index-65cffe90.js";import{B as p}from"./index-1f1d0c91.js";import{O as _,S as b}from"./index-0c036f3e.js";import{S as u}from"./index-1ed406cf.js";import{d as B}from"./index-d8fbf18c.js";import{_ as V,r as g,F as A,al as N,b as O,e as y,m as v,q as e,w as o,U as t,p as S,N as C,Q as l,R as a,O as z,f as D,$ as I,a0 as M}from"./index-0bd4ebfc.js";import{u as L,b as w,_ as W,c as $,a as E}from"./index-4a9c2ae2.js";import{A as s}from"./appType-a8f87391.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";/* empty css */import"./index-28dcc9be.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./index-5540406a.js";import"./index-123e4258.js";import"./index-d5ac26b6.js";import"./provide-4fc67263.js";import"./useSelectController-4200caca.js";import"./index-9fe788b6.js";import"./lock-e6f4e779.js";const F={basicUsage:"基本使用",contentSlot:"内容插槽",alignmentMethods:"对齐方式",topAlignment:"顶部对齐",tooltip:"tooltip",bottomAlignment:"底部对齐",offset:"偏移量",events:"注册事件",disabled:"禁用提示",placement:"弹出位置",trigger:"触发方式",twoWayBinding:"双向绑定",themeColorTooltip:"主题色文字提示",defaultTooltip:"默认",primaryTooltip:"主要",infoTooltip:"信息",successTooltip:"成功",warningTooltip:"警告",dangerTooltip:"危险",customColor:"自定义颜色"},P={basicUsage:"Basic Usage",contentSlot:"Content Slot",alignmentMethods:"Alignment Methods",topAlignment:"Top Alignment",tooltip:"Tooltip",bottomAlignment:"Bottom Alignment",offset:"Offset",events:"Events",disabled:"Disabled",placement:"Placement",trigger:"Trigger",twoWayBinding:"Two-way Binding",themeColorTooltip:"Theme Color Tooltip",defaultTooltip:"Default",primaryTooltip:"Primary",infoTooltip:"Info",successTooltip:"Success",warningTooltip:"Warning",dangerTooltip:"Danger",customColor:"Custom Color"},{add:h,use:q,pack:n,packs:ht,merge:xt}=L(),Q=d=>{E(d),q(d)};w("zh-CN",W);w("en-US",$);h("zh-CN",F);h("en-US",P);const R=d=>(I("data-v-13e12057"),d=d(),M(),d),j={class:"placement-container"},G=R(()=>S("div",{style:{"margin-bottom":"100px"}},null,-1)),H={__name:"index",setup(d){const f=g("click"),c=g("top"),x=g(["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]);return A(Q),N(B),(J,r)=>{const T=O("var-icon");return y(),v(C,null,[e(t(s),null,{default:o(()=>[l(a(t(n).basicUsage),1)]),_:1}),e(t(i),{content:"Tooltip"},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).basicUsage),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).contentSlot),1)]),_:1}),e(t(i),null,{content:o(()=>[e(T,{name:"star"})]),default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).contentSlot),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).placement),1)]),_:1}),e(t(b),{hint:!1,modelValue:c.value,"onUpdate:modelValue":r[0]||(r[0]=m=>c.value=m)},{default:o(()=>[(y(!0),v(C,null,z(x.value,(m,U)=>(y(),D(t(_),{key:U,label:m},null,8,["label"]))),128))]),_:1},8,["modelValue"]),S("div",j,[e(t(i),{content:"Tooltip",placement:c.value},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[e(T,{name:"star"})]),_:1})]),_:1},8,["placement"])]),e(t(s),null,{default:o(()=>[l(a(t(n).themeColorTooltip),1)]),_:1}),e(t(k),{size:["14vmin","2.666vmin"]},{default:o(()=>[e(t(i),{type:"default",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"default"},{default:o(()=>[l(a(t(n).defaultTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"primary",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).primaryTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"info",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"info"},{default:o(()=>[l(a(t(n).infoTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"success",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"success"},{default:o(()=>[l(a(t(n).successTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"warning",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"warning"},{default:o(()=>[l(a(t(n).warningTooltip),1)]),_:1})]),_:1}),e(t(i),{type:"danger",content:"Tooltip"},{default:o(()=>[e(t(p),{type:"danger"},{default:o(()=>[l(a(t(n).dangerTooltip),1)]),_:1})]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).customColor),1)]),_:1}),e(t(i),{content:"Tooltip",color:"#d81b60"},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).customColor),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).offset),1)]),_:1}),e(t(i),{content:"Tooltip","offset-x":64,"offset-y":-10},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).offset),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).trigger),1)]),_:1}),e(t(b),{hint:!1,modelValue:f.value,"onUpdate:modelValue":r[1]||(r[1]=m=>f.value=m)},{default:o(()=>[e(t(_),{label:"click"}),e(t(_),{label:"hover"})]),_:1},8,["modelValue"]),e(t(i),{content:"Tooltip",style:{"margin-top":"15px"},trigger:f.value},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).trigger),1)]),_:1})]),_:1},8,["trigger"]),e(t(s),null,{default:o(()=>[l(a(t(n).events),1)]),_:1}),e(t(i),{content:"Tooltip",onOpen:r[2]||(r[2]=()=>t(u).info("open")),onOpened:r[3]||(r[3]=()=>t(u).success("opened")),onClose:r[4]||(r[4]=()=>t(u).warning("close")),onClosed:r[5]||(r[5]=()=>t(u).error("closed"))},{default:o(()=>[e(t(p),{type:"primary"},{default:o(()=>[l(a(t(n).events),1)]),_:1})]),_:1}),e(t(s),null,{default:o(()=>[l(a(t(n).disabled),1)]),_:1}),e(t(i),{content:"Tooltip",disabled:""},{default:o(()=>[e(t(p),{type:"primary",disabled:""},{default:o(()=>[l(a(t(n).disabled),1)]),_:1})]),_:1}),G],64)}}},Ut=V(H,[["__scopeId","data-v-13e12057"]]);export{Ut as default}; diff --git a/assets/index-2c1498a1.js b/assets/index-d956da3f.js similarity index 74% rename from assets/index-2c1498a1.js rename to assets/index-d956da3f.js index fba627b228a..20c5da4a986 100644 --- a/assets/index-2c1498a1.js +++ b/assets/index-d956da3f.js @@ -1 +1 @@ -import{c as o,w as a}from"./components-3ae053cb.js";import{d as r,_ as t,e as l,m as c,x as v,r as i}from"./index-af5fec45.js";const p={hovering:{type:Boolean,default:!0}},{name:u,n:_,classes:f}=o("hover-overlay"),m=r({name:u,props:p,setup:()=>({n:_,classes:f})});function d(e,s,n,g,y,H){return l(),c("div",{class:v(e.classes(e.n(),[e.hovering,e.n("--hovering")]))},null,2)}const h=t(m,[["render",d]]);a(h);function O(){const e=i(!1);return{hovering:e,handleHovering:n=>{e.value=n}}}export{h as H,O as u}; +import{c as o,w as a}from"./components-a5332e66.js";import{d as r,_ as t,e as l,m as c,x as v,r as i}from"./index-0bd4ebfc.js";const p={hovering:{type:Boolean,default:!0}},{name:u,n:_,classes:f}=o("hover-overlay"),m=r({name:u,props:p,setup:()=>({n:_,classes:f})});function d(e,s,n,g,y,H){return l(),c("div",{class:v(e.classes(e.n(),[e.hovering,e.n("--hovering")]))},null,2)}const h=t(m,[["render",d]]);a(h);function O(){const e=i(!1);return{hovering:e,handleHovering:n=>{e.value=n}}}export{h as H,O as u}; diff --git a/assets/index-113dd3ae.js b/assets/index-da5adf53.js similarity index 96% rename from assets/index-113dd3ae.js rename to assets/index-da5adf53.js index f7348021005..0351e026889 100644 --- a/assets/index-113dd3ae.js +++ b/assets/index-da5adf53.js @@ -1 +1 @@ -import{c as T,w as X}from"./components-3ae053cb.js";import{d as L,r as o,G,o as j,az as D,ab as F,n as x,_ as B,e as y,m as $,v as U,f as M,p as r,P,Y as A,y as _,R as s,t as I,x as W,au as E,F as q,al as H,b as Q,q as n,w as a,U as t,N as J,Q as f,$ as K,a0 as Z}from"./index-af5fec45.js";import{d as ee}from"./index-d8fbf18c.js";import{u as te,b as O,_ as ae,c as ne,a as re}from"./index-2b61c8d0.js";import{A as m}from"./appType-53211ea9.js";const oe={width:{type:Number,default:100},height:{type:Number,default:100},content:String,image:String,rotate:{type:Number,default:-22},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},gapX:{type:Number,default:0},gapY:{type:Number,default:0},zIndex:{type:[Number,String],default:10},opacity:{type:[Number,String],default:.5},fullscreen:Boolean,font:{type:Object,default:()=>({fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",fontSize:14})}},{name:se,n:le,classes:fe}=T("watermark"),ie=L({name:se,props:oe,setup(e,{slots:g}){const l=o(""),h=o(""),p=o(""),w=o(null),v=o(null);G(()=>[e.image,e.font,e.content,e.height,e.width,e.rotate,e.gapX,e.gapY,e.offsetX,e.offsetY,e.opacity],C,{deep:!0}),j(C),D(b);function R(){return!!(g.content||e.content&&!e.image)}async function z(){return new Promise(S=>{const k=document.createElement("canvas"),Y=k.getContext("2d"),c=new Image;c.crossOrigin="anonymous",c.referrerPolicy="no-referrer",c.src=e.image,c.onload=()=>{k.width=c.width,k.height=c.height,Y.drawImage(c,0,0),S(k.toDataURL())}})}function N(S){const k=new Blob([S],{type:"image/svg+xml"});return URL.createObjectURL(k)}function b(){l.value&&URL.revokeObjectURL(l.value)}async function C(){p.value=F(v.value).color,e.image&&(h.value=await z()),await x(),b(),l.value=N(w.value.innerHTML)}return{svgRef:w,containerRef:v,watermarkUrl:l,imageUrl:h,textColor:p,n:le,classes:fe,showContent:R,resize:C}}});const ue={ref:"svgRef"},ce=["viewBox","width","height"],me=["width","height"],de=["href","xlink:href","x","y","width","height"];function ge(e,g,l,h,p,w){return y(),$("div",{class:W(e.n())},[U(e.$slots,"default"),(y(),M(E,{to:"body",disabled:!e.fullscreen},[r("div",{ref:"containerRef",class:W(e.classes(e.n("container"),[e.fullscreen,e.n("--fullscreen")])),style:_({backgroundImage:`url(${e.watermarkUrl})`,zIndex:e.zIndex})},[P(r("div",ue,[(y(),$("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:`0 0 ${e.width+e.gapX} ${e.height+e.gapY}`,width:`${e.width+e.gapX}`,height:`${e.height+e.gapY}`,style:_({padding:`0 ${e.gapX}px ${e.gapY}px 0`,opacity:e.opacity})},[e.showContent()?(y(),$("foreignObject",{key:0,x:"0",y:"0",width:e.width,height:e.height},[r("div",{xmlns:"http://www.w3.org/1999/xhtml",style:_({transform:`translate(${e.offsetX}px, ${e.offsetY}px) rotate(${e.rotate}deg)`,transformOrigin:"center"})},[U(e.$slots,"content",{},()=>[r("span",{style:_({...e.font,fontSize:`${e.font.fontSize}px`,color:e.textColor})},s(e.content),5)])],4)],8,me)):I("",!0),!e.$slots.content&&e.image?(y(),$("image",{key:1,href:e.imageUrl,"xlink:href":e.imageUrl,x:e.offsetX,y:e.offsetY,width:e.width,height:e.height,style:_({transform:`rotate(${e.rotate}deg)`,transformOrigin:"center"})},null,12,de)):I("",!0)],12,ce))],512),[[A,!1]])],6)],8,["disabled"]))],2)}const u=B(ie,[["render",ge]]);X(u);const he={textWatermark:"文字水印",imageWatermark:"图片水印",customGap:"自定义间距",customOffset:"自定义偏移量",customRotate:"自定义旋转角度",fullscreen:"全屏",customContentSlot:"自定义水印内容",toggle:"切换"},pe={textWatermark:"Text Watermark",imageWatermark:"Image Watermark",customGap:"Custom Gap",customOffset:"Custom Offset",customRotate:"Custom Rotate",fullscreen:"Fullscreen",customContentSlot:"Watermark Content Slot",toggle:"Toggle"},{add:V,use:we,pack:i,packs:Be,merge:Oe}=te(),ke=e=>{re(e),we(e)};O("zh-CN",ae);O("en-US",ne);V("zh-CN",he);V("en-US",pe);const d=e=>(K("data-v-88c2d2e9"),e=e(),Z(),e),ye=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),ve=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),_e=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),$e=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),be=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),Re={class:"watermark-wrapper"},Ce=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),Se=d(()=>r("span",{style:{"font-size":"20px",color:"#7986cb"}},"Varlet UI",-1)),ze={__name:"index",setup(e){const g=o(!1),l=o(null),h=o(null),p=o(null),w=o(null),v=o(null),R=()=>{g.value=!g.value};return q(ke),H(ee,()=>{x(()=>{l.value.resize(),h.value.resize(),p.value.resize(),w.value.resize(),v.value.resize()})}),(z,N)=>{const b=Q("var-button");return y(),$(J,null,[n(t(m),null,{default:a(()=>[f(s(t(i).textWatermark),1)]),_:1}),n(t(u),{content:"Varlet",ref_key:"watermarkRef",ref:l},{default:a(()=>[ye]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).customGap),1)]),_:1}),n(t(u),{content:"Varlet","gap-x":40,"gap-y":40,ref_key:"watermarkRef2",ref:h},{default:a(()=>[ve]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).customOffset),1)]),_:1}),n(t(u),{content:"Varlet","offset-x":20,"offset-y":20,ref_key:"watermarkRef3",ref:p},{default:a(()=>[_e]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).customRotate),1)]),_:1}),n(t(u),{content:"Varlet",rotate:22,"offset-y":20,ref_key:"watermarkRef4",ref:w},{default:a(()=>[$e]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).imageWatermark),1)]),_:1}),n(t(u),{image:"./logo.svg",width:40,height:40,"gap-x":40,"gap-y":40,"offset-x":10,"offset-y":10},{default:a(()=>[be]),_:1}),n(t(m),null,{default:a(()=>[f(s(t(i).fullscreen),1)]),_:1}),n(t(u),{ref_key:"watermarkRef5",ref:v,content:"Varlet UI",fullscreen:g.value,"z-index":"99","offset-x":10,"offset-y":10},{default:a(()=>[r("div",Re,[n(b,{type:"primary",onClick:R},{default:a(()=>[f(s(t(i).toggle),1)]),_:1})])]),_:1},8,["fullscreen"]),n(t(m),null,{default:a(()=>[f(s(t(i).customContentSlot),1)]),_:1}),n(t(u),{"offset-x":10,"offset-y":10},{content:a(()=>[Se]),default:a(()=>[Ce]),_:1})],64)}}},Ve=B(ze,[["__scopeId","data-v-88c2d2e9"]]);export{Ve as default}; +import{c as T,w as X}from"./components-a5332e66.js";import{d as L,r as o,G,o as j,az as D,ab as F,n as x,_ as B,e as y,m as $,v as U,f as M,p as r,P,Y as A,y as _,R as s,t as I,x as W,au as E,F as q,al as H,b as Q,q as n,w as a,U as t,N as J,Q as f,$ as K,a0 as Z}from"./index-0bd4ebfc.js";import{d as ee}from"./index-d8fbf18c.js";import{u as te,b as O,_ as ae,c as ne,a as re}from"./index-4a9c2ae2.js";import{A as m}from"./appType-a8f87391.js";const oe={width:{type:Number,default:100},height:{type:Number,default:100},content:String,image:String,rotate:{type:Number,default:-22},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},gapX:{type:Number,default:0},gapY:{type:Number,default:0},zIndex:{type:[Number,String],default:10},opacity:{type:[Number,String],default:.5},fullscreen:Boolean,font:{type:Object,default:()=>({fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",fontSize:14})}},{name:se,n:le,classes:fe}=T("watermark"),ie=L({name:se,props:oe,setup(e,{slots:g}){const l=o(""),h=o(""),p=o(""),w=o(null),v=o(null);G(()=>[e.image,e.font,e.content,e.height,e.width,e.rotate,e.gapX,e.gapY,e.offsetX,e.offsetY,e.opacity],C,{deep:!0}),j(C),D(b);function R(){return!!(g.content||e.content&&!e.image)}async function z(){return new Promise(S=>{const k=document.createElement("canvas"),Y=k.getContext("2d"),c=new Image;c.crossOrigin="anonymous",c.referrerPolicy="no-referrer",c.src=e.image,c.onload=()=>{k.width=c.width,k.height=c.height,Y.drawImage(c,0,0),S(k.toDataURL())}})}function N(S){const k=new Blob([S],{type:"image/svg+xml"});return URL.createObjectURL(k)}function b(){l.value&&URL.revokeObjectURL(l.value)}async function C(){p.value=F(v.value).color,e.image&&(h.value=await z()),await x(),b(),l.value=N(w.value.innerHTML)}return{svgRef:w,containerRef:v,watermarkUrl:l,imageUrl:h,textColor:p,n:le,classes:fe,showContent:R,resize:C}}});const ue={ref:"svgRef"},ce=["viewBox","width","height"],me=["width","height"],de=["href","xlink:href","x","y","width","height"];function ge(e,g,l,h,p,w){return y(),$("div",{class:W(e.n())},[U(e.$slots,"default"),(y(),M(E,{to:"body",disabled:!e.fullscreen},[r("div",{ref:"containerRef",class:W(e.classes(e.n("container"),[e.fullscreen,e.n("--fullscreen")])),style:_({backgroundImage:`url(${e.watermarkUrl})`,zIndex:e.zIndex})},[P(r("div",ue,[(y(),$("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:`0 0 ${e.width+e.gapX} ${e.height+e.gapY}`,width:`${e.width+e.gapX}`,height:`${e.height+e.gapY}`,style:_({padding:`0 ${e.gapX}px ${e.gapY}px 0`,opacity:e.opacity})},[e.showContent()?(y(),$("foreignObject",{key:0,x:"0",y:"0",width:e.width,height:e.height},[r("div",{xmlns:"http://www.w3.org/1999/xhtml",style:_({transform:`translate(${e.offsetX}px, ${e.offsetY}px) rotate(${e.rotate}deg)`,transformOrigin:"center"})},[U(e.$slots,"content",{},()=>[r("span",{style:_({...e.font,fontSize:`${e.font.fontSize}px`,color:e.textColor})},s(e.content),5)])],4)],8,me)):I("",!0),!e.$slots.content&&e.image?(y(),$("image",{key:1,href:e.imageUrl,"xlink:href":e.imageUrl,x:e.offsetX,y:e.offsetY,width:e.width,height:e.height,style:_({transform:`rotate(${e.rotate}deg)`,transformOrigin:"center"})},null,12,de)):I("",!0)],12,ce))],512),[[A,!1]])],6)],8,["disabled"]))],2)}const u=B(ie,[["render",ge]]);X(u);const he={textWatermark:"文字水印",imageWatermark:"图片水印",customGap:"自定义间距",customOffset:"自定义偏移量",customRotate:"自定义旋转角度",fullscreen:"全屏",customContentSlot:"自定义水印内容",toggle:"切换"},pe={textWatermark:"Text Watermark",imageWatermark:"Image Watermark",customGap:"Custom Gap",customOffset:"Custom Offset",customRotate:"Custom Rotate",fullscreen:"Fullscreen",customContentSlot:"Watermark Content Slot",toggle:"Toggle"},{add:V,use:we,pack:i,packs:Be,merge:Oe}=te(),ke=e=>{re(e),we(e)};O("zh-CN",ae);O("en-US",ne);V("zh-CN",he);V("en-US",pe);const d=e=>(K("data-v-88c2d2e9"),e=e(),Z(),e),ye=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),ve=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),_e=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),$e=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),be=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),Re={class:"watermark-wrapper"},Ce=d(()=>r("div",{class:"watermark-wrapper"},null,-1)),Se=d(()=>r("span",{style:{"font-size":"20px",color:"#7986cb"}},"Varlet UI",-1)),ze={__name:"index",setup(e){const g=o(!1),l=o(null),h=o(null),p=o(null),w=o(null),v=o(null),R=()=>{g.value=!g.value};return q(ke),H(ee,()=>{x(()=>{l.value.resize(),h.value.resize(),p.value.resize(),w.value.resize(),v.value.resize()})}),(z,N)=>{const b=Q("var-button");return y(),$(J,null,[n(t(m),null,{default:a(()=>[f(s(t(i).textWatermark),1)]),_:1}),n(t(u),{content:"Varlet",ref_key:"watermarkRef",ref:l},{default:a(()=>[ye]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).customGap),1)]),_:1}),n(t(u),{content:"Varlet","gap-x":40,"gap-y":40,ref_key:"watermarkRef2",ref:h},{default:a(()=>[ve]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).customOffset),1)]),_:1}),n(t(u),{content:"Varlet","offset-x":20,"offset-y":20,ref_key:"watermarkRef3",ref:p},{default:a(()=>[_e]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).customRotate),1)]),_:1}),n(t(u),{content:"Varlet",rotate:22,"offset-y":20,ref_key:"watermarkRef4",ref:w},{default:a(()=>[$e]),_:1},512),n(t(m),null,{default:a(()=>[f(s(t(i).imageWatermark),1)]),_:1}),n(t(u),{image:"./logo.svg",width:40,height:40,"gap-x":40,"gap-y":40,"offset-x":10,"offset-y":10},{default:a(()=>[be]),_:1}),n(t(m),null,{default:a(()=>[f(s(t(i).fullscreen),1)]),_:1}),n(t(u),{ref_key:"watermarkRef5",ref:v,content:"Varlet UI",fullscreen:g.value,"z-index":"99","offset-x":10,"offset-y":10},{default:a(()=>[r("div",Re,[n(b,{type:"primary",onClick:R},{default:a(()=>[f(s(t(i).toggle),1)]),_:1})])]),_:1},8,["fullscreen"]),n(t(m),null,{default:a(()=>[f(s(t(i).customContentSlot),1)]),_:1}),n(t(u),{"offset-x":10,"offset-y":10},{content:a(()=>[Se]),default:a(()=>[Ce]),_:1})],64)}}},Ve=B(ze,[["__scopeId","data-v-88c2d2e9"]]);export{Ve as default}; diff --git a/assets/index-55bbcca0.js b/assets/index-db4ef305.js similarity index 95% rename from assets/index-55bbcca0.js rename to assets/index-db4ef305.js index e44ac7eb6aa..1259ce69928 100644 --- a/assets/index-55bbcca0.js +++ b/assets/index-db4ef305.js @@ -1,2 +1,2 @@ -import{d as Y,aM as q,D as C,a4 as U,a5 as O,_ as H,e as n,m as o,x as l,p as g,y as f,v as V,Q as p,R as h,t as v,N as F,O as Q,r as Z,F as J,al as K,o as _,az as x,q as a,w as i,U as s}from"./index-af5fec45.js";import{t as w,a as ee}from"./elements-68ad626b.js";import{c as se,w as ae}from"./components-3ae053cb.js";import{S as b}from"./index-90c41552.js";import{d as re}from"./index-d8fbf18c.js";import{u as le,b as D,_ as ne,c as oe,a as te}from"./index-2b61c8d0.js";import{A as P}from"./appType-53211ea9.js";import"./logger-525ef361.js";/* empty css */const ie={mode:{type:String,default:"linear"},lineWidth:{type:[Number,String],default:4},color:[String,Object],trackColor:String,ripple:Boolean,value:{type:[Number,String],default:0},label:Boolean,labelClass:String,size:{type:[Number,String],default:40},rotate:{type:Number,default:0},track:{type:Boolean,default:!0},indeterminate:Boolean,type:{type:String,default:"primary"}},m=100,u=20,R=2*Math.PI*u,{name:de,n:ue,classes:ce}=se("progress"),me=Y({name:de,props:ie,setup(e){const d=q(),y=C(()=>{const t=U(e.value),c=t>m?m:t,$=t>m?m:Math.round(t);return{width:`${c}%`,roundValue:`${$}%`}}),N=C(()=>{const{size:t,lineWidth:c,value:$}=e,k=u/(1-w(c)/w(t))*2,j=`0 0 ${k} ${k}`,E=U($)>m?m:Math.round(U($)),A=`${(m-E)/m*R}`,G=w(c)/w(t)*k,L=0,T=-u,I=0,M=-2*u,X=`M ${k/2} ${k/2} m ${L} ${T} a ${u} ${u} +import{d as Y,aM as q,D as C,a4 as U,a5 as O,_ as H,e as n,m as o,x as l,p as g,y as f,v as V,Q as p,R as h,t as v,N as F,O as Q,r as Z,F as J,al as K,o as _,az as x,q as a,w as i,U as s}from"./index-0bd4ebfc.js";import{t as w,a as ee}from"./elements-23c82371.js";import{c as se,w as ae}from"./components-a5332e66.js";import{S as b}from"./index-65cffe90.js";import{d as re}from"./index-d8fbf18c.js";import{u as le,b as D,_ as ne,c as oe,a as te}from"./index-4a9c2ae2.js";import{A as P}from"./appType-a8f87391.js";import"./logger-525ef361.js";/* empty css */const ie={mode:{type:String,default:"linear"},lineWidth:{type:[Number,String],default:4},color:[String,Object],trackColor:String,ripple:Boolean,value:{type:[Number,String],default:0},label:Boolean,labelClass:String,size:{type:[Number,String],default:40},rotate:{type:Number,default:0},track:{type:Boolean,default:!0},indeterminate:Boolean,type:{type:String,default:"primary"}},m=100,u=20,R=2*Math.PI*u,{name:de,n:ue,classes:ce}=se("progress"),me=Y({name:de,props:ie,setup(e){const d=q(),y=C(()=>{const t=U(e.value),c=t>m?m:t,$=t>m?m:Math.round(t);return{width:`${c}%`,roundValue:`${$}%`}}),N=C(()=>{const{size:t,lineWidth:c,value:$}=e,k=u/(1-w(c)/w(t))*2,j=`0 0 ${k} ${k}`,E=U($)>m?m:Math.round(U($)),A=`${(m-E)/m*R}`,G=w(c)/w(t)*k,L=0,T=-u,I=0,M=-2*u,X=`M ${k/2} ${k/2} m ${L} ${T} a ${u} ${u} 0 1 1 ${I} ${-M} a ${u} ${u} 0 1 1 ${-I} ${M}`;return{strokeWidth:G,viewBox:j,strokeOffset:A,roundValue:`${E}%`,path:X}}),S=C(()=>O(e.color)?`url(#${d.value})`:e.color),B=C(()=>Object.keys(e.color).sort((t,c)=>parseFloat(t)-parseFloat(c)));return{id:d,linearProps:y,CIRCUMFERENCE:R,RADIUS:u,circleProps:N,progressColor:S,linearGradientProgress:B,n:ue,classes:ce,toSizeUnit:ee,isPlainObject:O}}});const pe=["viewBox"],fe={key:0},ve=["id"],he=["offset","stop-color"],ye=["d","stroke-width","stroke-dasharray"],ke=["d","stroke-width","stroke-dasharray","stroke-dashoffset"];function ge(e,d,y,N,S,B){return n(),o("div",{class:l(e.n())},[e.mode==="linear"?(n(),o("div",{key:0,class:l(e.n("linear"))},[g("div",{class:l(e.classes(e.n("linear-block"),[e.track,e.n("linear-background")])),style:f({height:e.toSizeUnit(e.lineWidth),background:e.trackColor})},[e.indeterminate?(n(),o("div",{key:0,class:l(e.classes([e.indeterminate,e.n("linear-indeterminate")]))},[g("div",{class:l(e.classes(e.n(`linear--${e.type}`))),style:f({background:e.progressColor})},null,6),g("div",{class:l(e.classes(e.n(`linear--${e.type}`))),style:f({background:e.progressColor})},null,6)],2)):(n(),o("div",{key:1,class:l(e.classes(e.n("linear-certain"),e.n(`linear--${e.type}`),[e.ripple,e.n("linear-ripple")])),style:f({background:e.progressColor,width:e.linearProps.width})},null,6))],6),e.label?(n(),o("div",{key:0,class:l(e.classes(e.n("linear-label"),[e.labelClass,e.labelClass]))},[V(e.$slots,"default",{},()=>[p(h(e.linearProps.roundValue),1)])],2)):v("",!0)],2)):v("",!0),e.mode==="circle"?(n(),o("div",{key:1,class:l(e.classes(e.n("circle"),[e.indeterminate,e.n("circle-indeterminate")])),style:f({width:e.toSizeUnit(e.size),height:e.toSizeUnit(e.size)})},[(n(),o("svg",{class:l(e.n("circle-svg")),viewBox:e.circleProps.viewBox},[e.isPlainObject(e.color)?(n(),o("defs",fe,[g("linearGradient",{id:e.id,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[(n(!0),o(F,null,Q(e.linearGradientProgress,(t,c)=>(n(),o("stop",{key:c,offset:t,"stop-color":e.color[t]},null,8,he))),128))],8,ve)])):v("",!0),e.track?(n(),o("path",{key:1,class:l(e.n("circle-background")),d:e.circleProps.path,fill:"transparent","stroke-width":e.circleProps.strokeWidth,"stroke-dasharray":e.CIRCUMFERENCE,style:f({stroke:e.trackColor})},null,14,ye)):v("",!0),g("path",{class:l(e.classes(e.n("circle-certain"),e.n(`circle--${e.type}`),[e.indeterminate,e.n("circle-overlay")])),d:e.circleProps.path,fill:"transparent","stroke-width":e.circleProps.strokeWidth,"stroke-dasharray":e.CIRCUMFERENCE,"stroke-dashoffset":e.circleProps.strokeOffset,style:f({stroke:e.progressColor,transform:`rotateZ(${e.rotate}deg)`,transformOrigin:"50% 50%"})},null,14,ke)],10,pe)),e.label?(n(),o("div",{key:0,class:l(e.classes(e.n("circle-label"),[e.labelClass,e.labelClass]))},[V(e.$slots,"default",{},()=>[p(h(e.circleProps.roundValue),1)])],2)):v("",!0)],6)):v("",!0)],2)}const r=H(me,[["render",ge]]);ae(r);const be={circle:"环形进度条",style:"其他样式",basicUsage:"基本使用",indeterminateProgress:"不间断动画"},$e={circle:"Circle Progress",basicUsage:"Basic Usage",style:"Other Style",indeterminateProgress:"Indeterminate Animation"},{add:W,use:Ce,pack:z,packs:Oe,merge:Ve}=le(),we=e=>{te(e),Ce(e)};D("zh-CN",ne);D("en-US",oe);W("zh-CN",be);W("en-US",$e);const Re={__name:"index",setup(e){const d=Z(0);let y;return J(we),K(re),_(()=>{y=window.setInterval(()=>{if(d.value>=100){d.value=0;return}d.value+=20},1e3)}),x(()=>{window.clearInterval(y)}),(N,S)=>(n(),o(F,null,[a(s(P),null,{default:i(()=>[p(h(s(z).basicUsage),1)]),_:1}),a(s(b),{direction:"column",size:["3vh","3vh"]},{default:i(()=>[a(s(r),{value:20}),a(s(r),{value:d.value,track:!1,label:""},null,8,["value"]),a(s(r),{value:100,label:""},{default:i(()=>[p("success")]),_:1})]),_:1}),a(s(P),null,{default:i(()=>[p(h(s(z).style),1)]),_:1}),a(s(b),{direction:"column",size:["3vh","3vh"]},{default:i(()=>[a(s(r),{value:40,color:"linear-gradient(131.53deg, #3fecff 0%, #6149f6 100%)"}),a(s(r),{type:"info",value:40}),a(s(r),{type:"success",value:60}),a(s(r),{value:"80","line-width":"8",color:"#ff9f00","track-color":"#f5cb90"})]),_:1}),a(s(P),null,{default:i(()=>[p(h(s(z).circle),1)]),_:1}),a(s(b),{size:["8vmin","8vmin"]},{default:i(()=>[a(s(r),{mode:"circle",size:"18vmin",value:100,color:{"0%":"#3fecff","100%":"#6149f6"}}),a(s(r),{mode:"circle",value:75,size:"18vmin",track:!1}),a(s(r),{mode:"circle",label:"",value:d.value,"line-width":"5",size:"18vmin"},null,8,["value"]),a(s(r),{mode:"circle",type:"success",label:"",value:100,"line-width":"5",size:"18vmin"},{default:i(()=>[p(" success ")]),_:1})]),_:1}),a(s(P),null,{default:i(()=>[p(h(s(z).indeterminateProgress),1)]),_:1}),a(s(b),{direction:"column",size:["3vh","3vh"]},{default:i(()=>[a(s(r),{indeterminate:""}),a(s(r),{indeterminate:"",type:"info"}),a(s(b),{justify:"space-between"},{default:i(()=>[a(s(r),{mode:"circle",indeterminate:"",size:"18vmin"}),a(s(r),{mode:"circle",type:"info",indeterminate:"",size:"18vmin"})]),_:1})]),_:1})],64))}};export{Re as default}; diff --git a/assets/index-46c981a5.js b/assets/index-dbacaf00.js similarity index 82% rename from assets/index-46c981a5.js rename to assets/index-dbacaf00.js index 23a49baa73f..de3a303d691 100644 --- a/assets/index-46c981a5.js +++ b/assets/index-dbacaf00.js @@ -1 +1 @@ -import{C as d}from"./index-f12dbe46.js";import{d as f}from"./index-d8fbf18c.js";import{u as _,b as v,_ as x,c as U,a as y}from"./index-2b61c8d0.js";import{_ as z,W as C,F as b,al as S,e as N,m as c,q as t,w as s,U as e,N as h,Q as n,R as i,$ as k,a0 as w,p as B}from"./index-af5fec45.js";import{A as m}from"./appType-53211ea9.js";import"./index-84d96475.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./provide-c979a783.js";const F={basicUsage:"基本使用",range:"设置取值范围",step:"设置步长",toFixed:"保留小数",disabled:"禁用",readonly:"只读",lazyChange:"异步变更",size:"设置尺寸",validate:"字段校验",validateMessage:"请设置大于5的值"},D={basicUsage:"Basic Usage",range:"Set Value Range",step:"Set Step",toFixed:"Decimal Length",disabled:"Disabled",readonly:"Readonly",lazyChange:"Asynchronous Change",size:"Set Size",validate:"Validate",validateMessage:"Please set a value greater than 5"},{add:V,use:I,pack:o,packs:ae,merge:le}=_(),M=p=>{y(p),I(p)};v("zh-CN",x);v("en-US",U);V("zh-CN",F);V("en-US",D);const A=p=>(k("data-v-7d784ab4"),p=p(),w(),p),L=A(()=>B("div",{class:"space"},null,-1)),R={__name:"index",setup(p){const u=C({value:0,value2:0,value3:0,value4:0,value5:0,value6:0,value7:0,value8:0,value9:0});function g(r,a){setTimeout(()=>{a(r)},500)}return b(M),S(f),(r,a)=>(N(),c(h,null,[t(e(m),null,{default:s(()=>[n(i(e(o).basicUsage),1)]),_:1}),t(e(d),{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=l=>u.value=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).range),1)]),_:1}),t(e(d),{min:0,max:5,modelValue:u.value2,"onUpdate:modelValue":a[1]||(a[1]=l=>u.value2=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).step),1)]),_:1}),t(e(d),{step:10,modelValue:u.value3,"onUpdate:modelValue":a[2]||(a[2]=l=>u.value3=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).toFixed),1)]),_:1}),t(e(d),{"decimal-length":1,modelValue:u.value4,"onUpdate:modelValue":a[3]||(a[3]=l=>u.value4=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).size),1)]),_:1}),t(e(d),{"input-text-size":"18px","input-width":"50px","button-size":"36px",modelValue:u.value5,"onUpdate:modelValue":a[4]||(a[4]=l=>u.value5=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).disabled),1)]),_:1}),t(e(d),{disabled:"",modelValue:u.value6,"onUpdate:modelValue":a[5]||(a[5]=l=>u.value6=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).readonly),1)]),_:1}),t(e(d),{readonly:"",modelValue:u.value7,"onUpdate:modelValue":a[6]||(a[6]=l=>u.value7=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).lazyChange),1)]),_:1}),t(e(d),{"lazy-change":"",modelValue:u.value8,"onUpdate:modelValue":a[7]||(a[7]=l=>u.value8=l),onBeforeChange:g},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).validate),1)]),_:1}),t(e(d),{rules:[l=>l>5||e(o).validateMessage],modelValue:u.value9,"onUpdate:modelValue":a[8]||(a[8]=l=>u.value9=l)},null,8,["rules","modelValue"]),L],64))}},ue=z(R,[["__scopeId","data-v-7d784ab4"]]);export{ue as default}; +import{C as d}from"./index-b3f25360.js";import{d as f}from"./index-d8fbf18c.js";import{u as _,b as v,_ as x,c as U,a as y}from"./index-4a9c2ae2.js";import{_ as z,W as C,F as b,al as S,e as N,m as c,q as t,w as s,U as e,N as h,Q as n,R as i,$ as k,a0 as w,p as B}from"./index-0bd4ebfc.js";import{A as m}from"./appType-a8f87391.js";import"./index-1f1d0c91.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./provide-4fc67263.js";const F={basicUsage:"基本使用",range:"设置取值范围",step:"设置步长",toFixed:"保留小数",disabled:"禁用",readonly:"只读",lazyChange:"异步变更",size:"设置尺寸",validate:"字段校验",validateMessage:"请设置大于5的值"},D={basicUsage:"Basic Usage",range:"Set Value Range",step:"Set Step",toFixed:"Decimal Length",disabled:"Disabled",readonly:"Readonly",lazyChange:"Asynchronous Change",size:"Set Size",validate:"Validate",validateMessage:"Please set a value greater than 5"},{add:V,use:I,pack:o,packs:ae,merge:le}=_(),M=p=>{y(p),I(p)};v("zh-CN",x);v("en-US",U);V("zh-CN",F);V("en-US",D);const A=p=>(k("data-v-7d784ab4"),p=p(),w(),p),L=A(()=>B("div",{class:"space"},null,-1)),R={__name:"index",setup(p){const u=C({value:0,value2:0,value3:0,value4:0,value5:0,value6:0,value7:0,value8:0,value9:0});function g(r,a){setTimeout(()=>{a(r)},500)}return b(M),S(f),(r,a)=>(N(),c(h,null,[t(e(m),null,{default:s(()=>[n(i(e(o).basicUsage),1)]),_:1}),t(e(d),{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=l=>u.value=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).range),1)]),_:1}),t(e(d),{min:0,max:5,modelValue:u.value2,"onUpdate:modelValue":a[1]||(a[1]=l=>u.value2=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).step),1)]),_:1}),t(e(d),{step:10,modelValue:u.value3,"onUpdate:modelValue":a[2]||(a[2]=l=>u.value3=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).toFixed),1)]),_:1}),t(e(d),{"decimal-length":1,modelValue:u.value4,"onUpdate:modelValue":a[3]||(a[3]=l=>u.value4=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).size),1)]),_:1}),t(e(d),{"input-text-size":"18px","input-width":"50px","button-size":"36px",modelValue:u.value5,"onUpdate:modelValue":a[4]||(a[4]=l=>u.value5=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).disabled),1)]),_:1}),t(e(d),{disabled:"",modelValue:u.value6,"onUpdate:modelValue":a[5]||(a[5]=l=>u.value6=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).readonly),1)]),_:1}),t(e(d),{readonly:"",modelValue:u.value7,"onUpdate:modelValue":a[6]||(a[6]=l=>u.value7=l)},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).lazyChange),1)]),_:1}),t(e(d),{"lazy-change":"",modelValue:u.value8,"onUpdate:modelValue":a[7]||(a[7]=l=>u.value8=l),onBeforeChange:g},null,8,["modelValue"]),t(e(m),null,{default:s(()=>[n(i(e(o).validate),1)]),_:1}),t(e(d),{rules:[l=>l>5||e(o).validateMessage],modelValue:u.value9,"onUpdate:modelValue":a[8]||(a[8]=l=>u.value9=l)},null,8,["rules","modelValue"]),L],64))}},ue=z(R,[["__scopeId","data-v-7d784ab4"]]);export{ue as default}; diff --git a/assets/index-826117d6.js b/assets/index-dd126943.js similarity index 84% rename from assets/index-826117d6.js rename to assets/index-dd126943.js index e0685f8d7c4..0c4227ba332 100644 --- a/assets/index-826117d6.js +++ b/assets/index-dd126943.js @@ -1 +1 @@ -import{d as E,g as ee,u as ae,f as te,c as oe,a as ne,w as re}from"./components-3ae053cb.js";import{u as se}from"./lock-7a098446.js";import{a as le}from"./elements-68ad626b.js";import{d as ie,r as f,b6 as ue,D as C,aN as ce,b4 as de,G as V,a4 as me,aO as _,_ as fe,e as g,f as U,p as m,x as N,v as pe,y as he,au as ve,F as ge,al as Te,b as ye,m as F,q as c,w as i,U as o,N as L,Q as D,R as v,t as R,O as be}from"./index-af5fec45.js";import{T as Ae,a as H}from"./index-50f6abd4.js";import{T as Ce}from"./index-d250de60.js";import{T as O}from"./index-10aaf98b.js";import{C as Ne}from"./index-4237591d.js";import{u as Ue,b as I,_ as we,c as Se,a as ke}from"./index-2b61c8d0.js";import{d as ze}from"./index-d8fbf18c.js";import"./index-e95cf05b.js";import"./logger-525ef361.js";import"./index-2684e5c7.js";import"./shared-de177aa1.js";import"./index-2b41cfe8.js";/* empty css */import"./index-d408e6ab.js";import"./index-84d96475.js";import"./index-a6f8e46a.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./provide-521cd214.js";import"./provide-c3581da5.js";import"./provide-0e472439.js";import"./index-8c96e01f.js";const De={anchor:Number,anchors:Array,contentDraggable:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},elevation:{type:[Boolean,Number,String],default:!0},teleport:{type:[String,Object,Boolean],default:"body"},safeArea:Boolean,"onUpdate:anchor":E(),onAnchorChange:E()},{name:Re,n:He,classes:Oe}=oe("floating-panel"),$e=100,M=.2,Be=ie({name:Re,props:De,setup(e){const t=f(0),r=f(null),{height:b}=ue(),p=C(()=>b.value*.6),d=ee(e,"anchor"),n=C(()=>{const a=[$e,p.value],{anchors:l}=e;return ce(l)?a:l}),s=C(()=>Math.min(...n.value)),h=C(()=>Math.max(...n.value)),{disabled:u}=ae(),{deltaY:x,touching:S,startTouch:W,moveTouch:Y,endTouch:j,isReachTop:q,isReachBottom:G}=de();let $;se(()=>S.value),V(()=>d.value,B,{immediate:!0}),V(()=>n.value,()=>{B(d.value)},{immediate:!0});function B(a){k(a??s.value)}function Q(a){W(a),$=t.value}function J(a){var T;Y(a);const l=a.target;if((r.value===l||((T=r.value)==null?void 0:T.contains(l)))&&!e.contentDraggable){(q(r.value)||G(r.value))&&_(a);return}const A=$-x.value;k(X(A)),_(a)}function K(){j();const a=d.value;k(t.value),d.value=t.value,d.value!==a&&ne(e.onAnchorChange,t.value)}function k(a){t.value=S.value?a:Z(a)}function X(a){if(a>h.value){const l=a-h.value;return h.value+l*M}if(a{const T=Math.abs(A-a);Te.handleTouchstart&&e.handleTouchstart(...n)),onTouchmove:t[1]||(t[1]=(...n)=>e.handleTouchmove&&e.handleTouchmove(...n)),onTouchend:t[2]||(t[2]=(...n)=>e.handleTouchend&&e.handleTouchend(...n)),onTouchcancel:t[3]||(t[3]=(...n)=>e.handleTouchend&&e.handleTouchend(...n))},[m("div",{class:N(e.n("header"))},[m("div",{class:N(e.n("header-toolbar"))},null,2)],2),m("div",{class:N(e.n("content")),ref:"contentRef"},[pe(e.$slots,"default")],2)],38)],8,["to","disabled"])}const w=fe(Be,[["render",Ee]]);re(w);const Ve={basicUsage:"基本使用",dragText:"拖拽面板",customAnchors:"自定义锚点",currentAnchorText:"面板锚点高度为",dragHeadOnly:"仅头部拖拽"},_e={basicUsage:"Basic Usage",dragText:"Drag panel",customAnchors:"Custom Anchors",currentAnchorText:"The panel anchor height is",dragHeadOnly:"Drag Head Only"},{add:P,use:Fe,pack:y,packs:pa,merge:ha}=Ue(),Le=e=>{ke(e),Fe(e)};I("zh-CN",we);I("en-US",Se);P("zh-CN",Ve);P("en-US",_e);const Me={style:{"text-align":"center",padding:"5px 15px"}},Ie={style:{"text-align":"center",padding:"5px 15px"}},va={__name:"index",setup(e){const t=f(null),r=f(0),b=f([100,window.innerHeight*.4,window.innerHeight*.8]),p=f(100),d=f({"--tab-padding":"2px"});return ge(n=>{Le(n),t.value&&t.value.resize()}),Te(ze),(n,s)=>{const h=ye("var-style-provider");return g(),F(L,null,[c(h,{"style-vars":d.value},{default:i(()=>[c(o(Ae),{ref_key:"tabsRef",ref:t,elevation:"",color:"var(--color-primary)","active-color":"#fff","inactive-color":"hsla(0, 0%, 100%, .6)",active:r.value,"onUpdate:active":s[0]||(s[0]=u=>r.value=u),style:{"margin-top":"14px"}},{default:i(()=>[c(o(H),{style:{"font-size":"13px"}},{default:i(()=>[D(v(o(y).basicUsage),1)]),_:1}),c(o(H),{style:{"font-size":"13px"}},{default:i(()=>[D(v(o(y).customAnchors),1)]),_:1}),c(o(H),{style:{"font-size":"13px"}},{default:i(()=>[D(v(o(y).dragHeadOnly),1)]),_:1})]),_:1},8,["active"])]),_:1},8,["style-vars"]),c(o(Ce),{active:r.value,"onUpdate:active":s[2]||(s[2]=u=>r.value=u)},{default:i(()=>[c(o(O),null,{default:i(()=>[r.value===0?(g(),U(o(w),{key:0,teleport:"body"},{default:i(()=>[m("div",Me,[m("p",null,v(o(y).dragText),1)])]),_:1})):R("",!0)]),_:1}),c(o(O),null,{default:i(()=>[r.value===1?(g(),U(o(w),{key:0,anchor:p.value,"onUpdate:anchor":s[1]||(s[1]=u=>p.value=u),anchors:b.value,teleport:"body"},{default:i(()=>[m("div",Ie,[m("p",null,v(o(y).currentAnchorText)+" "+v(Math.floor(p.value))+" px",1)])]),_:1},8,["anchor","anchors"])):R("",!0)]),_:1}),c(o(O),null,{default:i(()=>[r.value===2?(g(),U(o(w),{key:0,"content-draggable":!1,teleport:"body"},{default:i(()=>[(g(),F(L,null,be(26,u=>c(o(Ne),{key:u,title:String.fromCharCode(u+64),border:""},null,8,["title"])),64))]),_:1})):R("",!0)]),_:1})]),_:1},8,["active"])],64)}}};export{va as default}; +import{d as E,g as ee,u as ae,f as te,c as oe,a as ne,w as re}from"./components-a5332e66.js";import{u as se}from"./lock-e6f4e779.js";import{a as le}from"./elements-23c82371.js";import{d as ie,r as f,b6 as ue,D as C,aN as ce,b4 as de,G as V,a4 as me,aO as _,_ as fe,e as g,f as U,p as m,x as N,v as pe,y as he,au as ve,F as ge,al as Te,b as ye,m as F,q as c,w as i,U as o,N as L,Q as D,R as v,t as R,O as be}from"./index-0bd4ebfc.js";import{T as Ae,a as H}from"./index-bf94e46f.js";import{T as Ce}from"./index-5a594378.js";import{T as O}from"./index-72aad0a2.js";import{C as Ne}from"./index-3f170ae4.js";import{u as Ue,b as I,_ as we,c as Se,a as ke}from"./index-4a9c2ae2.js";import{d as ze}from"./index-d8fbf18c.js";import"./index-9eb15296.js";import"./logger-525ef361.js";import"./index-482a9388.js";import"./shared-a3ff1edc.js";import"./index-28dcc9be.js";/* empty css */import"./index-67cbdf85.js";import"./index-1f1d0c91.js";import"./index-1e0bee81.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./provide-e4d73c18.js";import"./provide-f823f5cd.js";import"./provide-90c65717.js";import"./index-f71140ae.js";const De={anchor:Number,anchors:Array,contentDraggable:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},elevation:{type:[Boolean,Number,String],default:!0},teleport:{type:[String,Object,Boolean],default:"body"},safeArea:Boolean,"onUpdate:anchor":E(),onAnchorChange:E()},{name:Re,n:He,classes:Oe}=oe("floating-panel"),$e=100,M=.2,Be=ie({name:Re,props:De,setup(e){const t=f(0),r=f(null),{height:b}=ue(),p=C(()=>b.value*.6),d=ee(e,"anchor"),n=C(()=>{const a=[$e,p.value],{anchors:l}=e;return ce(l)?a:l}),s=C(()=>Math.min(...n.value)),h=C(()=>Math.max(...n.value)),{disabled:u}=ae(),{deltaY:x,touching:S,startTouch:W,moveTouch:Y,endTouch:j,isReachTop:q,isReachBottom:G}=de();let $;se(()=>S.value),V(()=>d.value,B,{immediate:!0}),V(()=>n.value,()=>{B(d.value)},{immediate:!0});function B(a){k(a??s.value)}function Q(a){W(a),$=t.value}function J(a){var T;Y(a);const l=a.target;if((r.value===l||((T=r.value)==null?void 0:T.contains(l)))&&!e.contentDraggable){(q(r.value)||G(r.value))&&_(a);return}const A=$-x.value;k(X(A)),_(a)}function K(){j();const a=d.value;k(t.value),d.value=t.value,d.value!==a&&ne(e.onAnchorChange,t.value)}function k(a){t.value=S.value?a:Z(a)}function X(a){if(a>h.value){const l=a-h.value;return h.value+l*M}if(a{const T=Math.abs(A-a);Te.handleTouchstart&&e.handleTouchstart(...n)),onTouchmove:t[1]||(t[1]=(...n)=>e.handleTouchmove&&e.handleTouchmove(...n)),onTouchend:t[2]||(t[2]=(...n)=>e.handleTouchend&&e.handleTouchend(...n)),onTouchcancel:t[3]||(t[3]=(...n)=>e.handleTouchend&&e.handleTouchend(...n))},[m("div",{class:N(e.n("header"))},[m("div",{class:N(e.n("header-toolbar"))},null,2)],2),m("div",{class:N(e.n("content")),ref:"contentRef"},[pe(e.$slots,"default")],2)],38)],8,["to","disabled"])}const w=fe(Be,[["render",Ee]]);re(w);const Ve={basicUsage:"基本使用",dragText:"拖拽面板",customAnchors:"自定义锚点",currentAnchorText:"面板锚点高度为",dragHeadOnly:"仅头部拖拽"},_e={basicUsage:"Basic Usage",dragText:"Drag panel",customAnchors:"Custom Anchors",currentAnchorText:"The panel anchor height is",dragHeadOnly:"Drag Head Only"},{add:P,use:Fe,pack:y,packs:pa,merge:ha}=Ue(),Le=e=>{ke(e),Fe(e)};I("zh-CN",we);I("en-US",Se);P("zh-CN",Ve);P("en-US",_e);const Me={style:{"text-align":"center",padding:"5px 15px"}},Ie={style:{"text-align":"center",padding:"5px 15px"}},va={__name:"index",setup(e){const t=f(null),r=f(0),b=f([100,window.innerHeight*.4,window.innerHeight*.8]),p=f(100),d=f({"--tab-padding":"2px"});return ge(n=>{Le(n),t.value&&t.value.resize()}),Te(ze),(n,s)=>{const h=ye("var-style-provider");return g(),F(L,null,[c(h,{"style-vars":d.value},{default:i(()=>[c(o(Ae),{ref_key:"tabsRef",ref:t,elevation:"",color:"var(--color-primary)","active-color":"#fff","inactive-color":"hsla(0, 0%, 100%, .6)",active:r.value,"onUpdate:active":s[0]||(s[0]=u=>r.value=u),style:{"margin-top":"14px"}},{default:i(()=>[c(o(H),{style:{"font-size":"13px"}},{default:i(()=>[D(v(o(y).basicUsage),1)]),_:1}),c(o(H),{style:{"font-size":"13px"}},{default:i(()=>[D(v(o(y).customAnchors),1)]),_:1}),c(o(H),{style:{"font-size":"13px"}},{default:i(()=>[D(v(o(y).dragHeadOnly),1)]),_:1})]),_:1},8,["active"])]),_:1},8,["style-vars"]),c(o(Ce),{active:r.value,"onUpdate:active":s[2]||(s[2]=u=>r.value=u)},{default:i(()=>[c(o(O),null,{default:i(()=>[r.value===0?(g(),U(o(w),{key:0,teleport:"body"},{default:i(()=>[m("div",Me,[m("p",null,v(o(y).dragText),1)])]),_:1})):R("",!0)]),_:1}),c(o(O),null,{default:i(()=>[r.value===1?(g(),U(o(w),{key:0,anchor:p.value,"onUpdate:anchor":s[1]||(s[1]=u=>p.value=u),anchors:b.value,teleport:"body"},{default:i(()=>[m("div",Ie,[m("p",null,v(o(y).currentAnchorText)+" "+v(Math.floor(p.value))+" px",1)])]),_:1},8,["anchor","anchors"])):R("",!0)]),_:1}),c(o(O),null,{default:i(()=>[r.value===2?(g(),U(o(w),{key:0,"content-draggable":!1,teleport:"body"},{default:i(()=>[(g(),F(L,null,be(26,u=>c(o(Ne),{key:u,title:String.fromCharCode(u+64),border:""},null,8,["title"])),64))]),_:1})):R("",!0)]),_:1})]),_:1},8,["active"])],64)}}};export{va as default}; diff --git a/assets/index-dd98f8a4.js b/assets/index-dd98f8a4.js new file mode 100644 index 00000000000..62453e837bf --- /dev/null +++ b/assets/index-dd98f8a4.js @@ -0,0 +1 @@ +import{B as l}from"./index-1f1d0c91.js";import{F as i,al as g,e as h,m as u,q as o,w as a,U as e,N as d,Q as s,R as r}from"./index-0bd4ebfc.js";import{d as _}from"./index-d8fbf18c.js";import{u as f,b as p,_ as T,c as k,a as N}from"./index-4a9c2ae2.js";import{A as C}from"./appType-a8f87391.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";const w={toggleTheme:"切换主题"},x={toggleTheme:"Toggle Theme"},{add:n,use:U,pack:m,packs:v,merge:G}=f(),z=t=>{N(t),U(t)};p("zh-CN",T);p("en-US",k);n("zh-CN",w);n("en-US",x);const H={__name:"index",setup(t){const c=()=>window.toggleTheme();return i(z),g(_),(B,S)=>(h(),u(d,null,[o(e(C),null,{default:a(()=>[s(r(e(m).toggleTheme),1)]),_:1}),o(e(l),{block:"",onClick:c},{default:a(()=>[s(r(e(m).toggleTheme),1)]),_:1})],64))}};export{H as default}; diff --git a/assets/index-c4d1ad92.js b/assets/index-e122297f.js similarity index 88% rename from assets/index-c4d1ad92.js rename to assets/index-e122297f.js index 92d84e768c5..5afcc237a52 100644 --- a/assets/index-c4d1ad92.js +++ b/assets/index-e122297f.js @@ -1 +1 @@ -import{p as S,I as J}from"./index-057aa4ba.js";import{F as K,u as Q}from"./provide-c979a783.js";import{v as Y}from"./index-2b41cfe8.js";import{H as Z,u as x}from"./index-2c1498a1.js";import{H as ee}from"./index-8bbf4ef8.js";import{p as V,d as F,h as ae,a as p,c as ne,w as re}from"./components-3ae053cb.js";import{a as P}from"./elements-68ad626b.js";import{d as oe,r as te,a4 as c,n as le,_ as se,b as N,L as U,e as I,m as H,p as ie,N as ce,O as de,P as me,y as $,x as v,q as k}from"./index-af5fec45.js";const ue={modelValue:{type:[String,Number],default:0},count:{type:[String,Number],default:5},color:String,icon:{type:String,default:"star"},emptyIcon:{type:String,default:"star-outline"},halfIcon:{type:String,default:"star-half-full"},namespace:V(S,"namespace"),emptyIconNamespace:V(S,"namespace"),halfIconNamespace:V(S,"namespace"),emptyColor:String,size:[String,Number],gap:[String,Number],half:Boolean,disabled:Boolean,disabledColor:String,readonly:Boolean,ripple:{type:Boolean,default:!0},clearable:Boolean,rules:Array,onChange:F(),"onUpdate:modelValue":F()},{name:pe,n:d}=ne("rate"),ve=oe({name:pe,components:{VarIcon:J,VarFormDetails:K,VarHoverOverlay:Z},directives:{Ripple:Y,Hover:ee},props:ue,setup(e){const f=te(-1),{form:a,bindForm:_}=Q(),{errorMessage:g,validateWithTrigger:B,validate:y,resetValidation:s}=ae(),{hovering:m}=x();let u=Number(e.modelValue);p(_,{reset:D,validate:z,resetValidation:s});function o(n){const{count:r,gap:t}=e;return{color:b(n).color,marginRight:n!==c(r)?P(t):0}}function h(n){const{name:r,color:t}=b(n);return{[d("content")]:!0,[d("--disabled")]:(a==null?void 0:a.disabled.value)||e.disabled,[d("--error")]:g.value,[d("--primary")]:r!==e.emptyIcon&&!t}}function b(n){const{modelValue:r,disabled:t,disabledColor:l,color:i,half:T,emptyColor:W,icon:q,halfIcon:A,emptyIcon:E,namespace:X,halfIconNamespace:j,emptyIconNamespace:G}=e;let C=i;return(t||a!=null&&a.disabled.value)&&(C=l),n<=c(r)?{color:C,name:q,namespace:X}:T&&n<=c(r)+.5?{color:C,name:A,namespace:j}:{color:t||a!=null&&a.disabled.value?l:W,name:E,namespace:G}}function w(n,r){const{half:t,clearable:l}=e,{offsetWidth:i}=r.target;t&&r.offsetX<=Math.floor(i/2)&&(n-=.5),u===n&&l&&(n=0),u=n,p(e["onUpdate:modelValue"],n)}function z(){return y(e.rules,c(e.modelValue))}function O(){return le(()=>B(["onChange"],"onChange",e.rules,e.modelValue))}function L(n,r){const{readonly:t,disabled:l,onChange:i}=e;t||l||a!=null&&a.disabled.value||a!=null&&a.readonly.value||(w(n,r),p(i,n),O())}function M(n){return r=>{f.value=n,m.value=r}}function D(){p(e["onUpdate:modelValue"],0),s()}return{errorMessage:g,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,hovering:m,currentHoveringValue:f,getStyle:o,getClass:h,getCurrentState:b,handleClick:L,createHoverHandler:M,reset:D,validate:z,resetValidation:s,toSizeUnit:P,toNumber:c,n:d}}});const fe=["onClick"];function ge(e,f,a,_,g,B){const y=N("var-icon"),s=N("var-hover-overlay"),m=N("var-form-details"),u=U("ripple"),R=U("hover");return I(),H("div",{class:v(e.n("wrap"))},[ie("div",{class:v(e.n())},[(I(!0),H(ce,null,de(e.toNumber(e.count),o=>me((I(),H("div",{key:o,style:$(e.getStyle(o)),class:v(e.getClass(o)),onClick:h=>e.handleClick(o,h)},[k(y,{class:v(e.n("content-icon")),"var-rate-cover":"",transition:0,namespace:e.getCurrentState(o).namespace,name:e.getCurrentState(o).name,style:$({fontSize:e.toSizeUnit(e.size)})},null,8,["class","namespace","name","style"]),k(s,{hovering:e.hovering&&o===e.currentHoveringValue&&!e.disabled&&!e.formDisabled},null,8,["hovering"])],14,fe)),[[u,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[R,e.createHoverHandler(o),"desktop"]])),128))],2),k(m,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const ye=se(ve,[["render",ge]]);re(ye);export{ye as R}; +import{p as S,I as J}from"./index-2c5b74fa.js";import{F as K,u as Q}from"./provide-4fc67263.js";import{v as Y}from"./index-28dcc9be.js";import{H as Z,u as x}from"./index-d956da3f.js";import{H as ee}from"./index-27fcaf7d.js";import{p as V,d as F,h as ae,a as p,c as ne,w as re}from"./components-a5332e66.js";import{a as P}from"./elements-23c82371.js";import{d as oe,r as te,a4 as c,n as le,_ as se,b as N,L as U,e as I,m as H,p as ie,N as ce,O as de,P as me,y as $,x as v,q as k}from"./index-0bd4ebfc.js";const ue={modelValue:{type:[String,Number],default:0},count:{type:[String,Number],default:5},color:String,icon:{type:String,default:"star"},emptyIcon:{type:String,default:"star-outline"},halfIcon:{type:String,default:"star-half-full"},namespace:V(S,"namespace"),emptyIconNamespace:V(S,"namespace"),halfIconNamespace:V(S,"namespace"),emptyColor:String,size:[String,Number],gap:[String,Number],half:Boolean,disabled:Boolean,disabledColor:String,readonly:Boolean,ripple:{type:Boolean,default:!0},clearable:Boolean,rules:Array,onChange:F(),"onUpdate:modelValue":F()},{name:pe,n:d}=ne("rate"),ve=oe({name:pe,components:{VarIcon:J,VarFormDetails:K,VarHoverOverlay:Z},directives:{Ripple:Y,Hover:ee},props:ue,setup(e){const f=te(-1),{form:a,bindForm:_}=Q(),{errorMessage:g,validateWithTrigger:B,validate:y,resetValidation:s}=ae(),{hovering:m}=x();let u=Number(e.modelValue);p(_,{reset:D,validate:z,resetValidation:s});function o(n){const{count:r,gap:t}=e;return{color:b(n).color,marginRight:n!==c(r)?P(t):0}}function h(n){const{name:r,color:t}=b(n);return{[d("content")]:!0,[d("--disabled")]:(a==null?void 0:a.disabled.value)||e.disabled,[d("--error")]:g.value,[d("--primary")]:r!==e.emptyIcon&&!t}}function b(n){const{modelValue:r,disabled:t,disabledColor:l,color:i,half:T,emptyColor:W,icon:q,halfIcon:A,emptyIcon:E,namespace:X,halfIconNamespace:j,emptyIconNamespace:G}=e;let C=i;return(t||a!=null&&a.disabled.value)&&(C=l),n<=c(r)?{color:C,name:q,namespace:X}:T&&n<=c(r)+.5?{color:C,name:A,namespace:j}:{color:t||a!=null&&a.disabled.value?l:W,name:E,namespace:G}}function w(n,r){const{half:t,clearable:l}=e,{offsetWidth:i}=r.target;t&&r.offsetX<=Math.floor(i/2)&&(n-=.5),u===n&&l&&(n=0),u=n,p(e["onUpdate:modelValue"],n)}function z(){return y(e.rules,c(e.modelValue))}function O(){return le(()=>B(["onChange"],"onChange",e.rules,e.modelValue))}function L(n,r){const{readonly:t,disabled:l,onChange:i}=e;t||l||a!=null&&a.disabled.value||a!=null&&a.readonly.value||(w(n,r),p(i,n),O())}function M(n){return r=>{f.value=n,m.value=r}}function D(){p(e["onUpdate:modelValue"],0),s()}return{errorMessage:g,formDisabled:a==null?void 0:a.disabled,formReadonly:a==null?void 0:a.readonly,hovering:m,currentHoveringValue:f,getStyle:o,getClass:h,getCurrentState:b,handleClick:L,createHoverHandler:M,reset:D,validate:z,resetValidation:s,toSizeUnit:P,toNumber:c,n:d}}});const fe=["onClick"];function ge(e,f,a,_,g,B){const y=N("var-icon"),s=N("var-hover-overlay"),m=N("var-form-details"),u=U("ripple"),R=U("hover");return I(),H("div",{class:v(e.n("wrap"))},[ie("div",{class:v(e.n())},[(I(!0),H(ce,null,de(e.toNumber(e.count),o=>me((I(),H("div",{key:o,style:$(e.getStyle(o)),class:v(e.getClass(o)),onClick:h=>e.handleClick(o,h)},[k(y,{class:v(e.n("content-icon")),"var-rate-cover":"",transition:0,namespace:e.getCurrentState(o).namespace,name:e.getCurrentState(o).name,style:$({fontSize:e.toSizeUnit(e.size)})},null,8,["class","namespace","name","style"]),k(s,{hovering:e.hovering&&o===e.currentHoveringValue&&!e.disabled&&!e.formDisabled},null,8,["hovering"])],14,fe)),[[u,{disabled:e.formReadonly||e.readonly||e.formDisabled||e.disabled||!e.ripple}],[R,e.createHoverHandler(o),"desktop"]])),128))],2),k(m,{"error-message":e.errorMessage},null,8,["error-message"])],2)}const ye=se(ve,[["render",ge]]);re(ye);export{ye as R}; diff --git a/assets/index-ed3dfe88.js b/assets/index-e354956c.js similarity index 90% rename from assets/index-ed3dfe88.js rename to assets/index-e354956c.js index 03480264888..781c9c0ee53 100644 --- a/assets/index-ed3dfe88.js +++ b/assets/index-e354956c.js @@ -1 +1 @@ -import{p as X,M as q}from"./index-3f206173.js";import{d as G,p as Q,g as j,a as J,f as Z,c as H,w as R}from"./components-3ae053cb.js";import{a1 as x,d as T,r as b,D as $,_ as I,b as w,e as h,f as D,w as o,p as P,x as z,v as E,a3 as ee,G as le,L,P as ae,m as B,M as ne,t as oe,R as r,q as a,F as se,al as te,U as e,N as _,Q as p,O as ue}from"./index-af5fec45.js";import{u as ie}from"./useSelectController-4054913f.js";import{C as re}from"./index-64160362.js";import{v as de}from"./index-2b41cfe8.js";import{H as pe}from"./index-8bbf4ef8.js";import{H as me,u as ve}from"./index-2c1498a1.js";import{e as fe}from"./logger-525ef361.js";import{B as O}from"./index-84d96475.js";import{S as be}from"./index-90c41552.js";import{d as ce}from"./index-d8fbf18c.js";import{u as ye,b as Y,_ as ge,c as Se,a as Ve}from"./index-2b61c8d0.js";import{A as k}from"./appType-53211ea9.js";import"./usePopover-33bac0d8.js";import"./elements-68ad626b.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-057aa4ba.js";import"./provide-c979a783.js";/* empty css */import"./index-a6f8e46a.js";const Ce={modelValue:{default:void 0},size:{type:String,default:"normal"},multiple:Boolean,scrollable:Boolean,closeOnSelect:{type:Boolean,default:!0},"onUpdate:modelValue":G(),...Q(X,["show","disabled","trigger","reference","placement","strategy","offsetX","offsetY","teleport","sameWidth","elevation","popoverClass","closeOnClickReference","onOpen","onOpened","onClose","onClosed","onClickOutside","onUpdate:show"])},A=Symbol("MENU_SELECT_BIND_MENU_OPTION_KEY");function Oe(){const{length:l,childProviders:u,bindChildren:d}=x(A);return{length:l,menuOptions:u,bindMenuOptions:d}}const{name:Me,n:ke,classes:he}=H("menu-select"),Ue=T({name:Me,components:{VarMenu:q},props:Ce,setup(l){const u=b(null),d=j(l,"show"),{menuOptions:y,length:g,bindMenuOptions:S}=Oe(),{computeLabel:m,getSelectedValue:v}=ie({modelValue:()=>l.modelValue,multiple:()=>l.multiple,optionProviders:()=>y,optionProvidersLength:()=>g.value}),c={size:$(()=>l.size),multiple:$(()=>l.multiple),computeLabel:m,onSelect:V};S(c);function V(s){const{multiple:i,closeOnSelect:N}=l;J(l["onUpdate:modelValue"],v(s)),!i&&N&&(d.value=!1)}function f(){var s;(s=u.value)==null||s.open()}function U(){var s;(s=u.value)==null||s.close()}function M(){var s;(s=u.value)==null||s.resize()}return{show:d,menu:u,n:ke,classes:he,formatElevation:Z,open:f,close:U,resize:M}}});function $e(l,u,d,y,g,S){const m=w("var-menu");return h(),D(m,{ref:"menu",class:z(l.n()),disabled:l.disabled,trigger:l.trigger,reference:l.reference,placement:l.placement,strategy:l.strategy,"offset-x":l.offsetX,"offset-y":l.offsetY,teleport:l.teleport,"same-width":l.sameWidth,elevation:l.elevation,"default-style":!1,"popover-class":l.popoverClass,"close-on-click-reference":l.closeOnClickReference,show:l.show,"onUpdate:show":u[0]||(u[0]=v=>l.show=v),onOpen:l.onOpen,onOpened:l.onOpened,onClose:l.onClose,onClosed:l.onClosed,onClickOutside:l.onClickOutside},{menu:o(()=>[P("div",{class:z(l.classes(l.n("menu"),l.formatElevation(l.elevation,3),[l.scrollable,l.n("--scrollable")]))},[E(l.$slots,"options")],2)]),default:o(()=>[E(l.$slots,"default")]),_:3},8,["class","disabled","trigger","reference","placement","strategy","offset-x","offset-y","teleport","same-width","elevation","popover-class","close-on-click-reference","show","onOpen","onOpened","onClose","onClosed","onClickOutside"])}const C=I(Ue,[["render",$e]]);R(C);function ze(){const{index:l,parentProvider:u,bindParent:d}=ee(A);return d||fe("MenuOption"," must in "),{index:l,menuSelect:u,bindMenuSelect:d}}const Ne={label:{},value:{},disabled:Boolean},{name:we,n:Pe,classes:Ee}=H("menu-option"),Be=T({name:we,directives:{Ripple:de,Hover:pe},components:{VarCheckbox:re,VarHoverOverlay:me},props:Ne,setup(l){const u=b(!1),d=$(()=>u.value),y=$(()=>l.label),g=$(()=>l.value),{menuSelect:S,bindMenuSelect:m}=ze(),{size:v,multiple:c,onSelect:V,computeLabel:f}=S,{hovering:U,handleHovering:M}=ve(),s={label:y,value:g,selected:d,sync:K};le([()=>l.label,()=>l.value],f),m(s);function i(){l.disabled||N()}function N(){c.value&&(u.value=!u.value),V(s)}function K(W){u.value=W}return{optionSelected:u,size:v,multiple:c,hovering:U,n:Pe,classes:Ee,handleHovering:M,handleClick:i,handleSelect:N}}});function De(l,u,d,y,g,S){const m=w("var-checkbox"),v=w("var-hover-overlay"),c=L("ripple"),V=L("hover");return ae((h(),B("div",{class:z(l.classes(l.n(),l.n("$--box"),l.n(`--${l.size}`),[l.optionSelected,l.n("--selected-color")],[l.disabled,l.n("--disabled")])),onClick:u[2]||(u[2]=(...f)=>l.handleClick&&l.handleClick(...f))},[P("div",{class:z(l.classes(l.n("cover"),[l.optionSelected,l.n("--selected-background")]))},null,2),l.multiple?(h(),D(m,{key:0,ref:"checkbox",modelValue:l.optionSelected,"onUpdate:modelValue":u[0]||(u[0]=f=>l.optionSelected=f),disabled:l.disabled,onClick:u[1]||(u[1]=ne(()=>{},["stop"])),onChange:l.handleSelect},null,8,["modelValue","disabled","onChange"])):oe("",!0),E(l.$slots,"default",{},()=>[P("div",{class:z(l.classes(l.n("text"),l.n("$--ellipsis")))},r(l.label),3)]),a(v,{hovering:l.hovering&&!l.disabled},null,8,["hovering"])],2)),[[c,{disabled:l.disabled}],[V,l.handleHovering,"desktop"]])}const t=I(Be,[["render",De]]);R(t);const Le={basicUsage:"基本使用",size:"尺寸",eat:"吃饭",sleep:"睡觉",play:"打游戏",coding:"写代码",rest:"摸鱼",please:"请选择",normal:"常规尺寸",small:"小型尺寸",mini:"迷你尺寸",large:"大型尺寸",optionDisabled:"选项禁用",valueMapping:"值映射",scrollable:"可滚动",multiple:"多选",closeOnSelect:"选择选项时禁止关闭菜单"},_e={basicUsage:"Basic Usage",size:"Size",eat:"Eat",sleep:"Sleep",play:"Play game",coding:"Coding",rest:"Rest",please:"Please Select",normal:"Normal Size",small:"Small Size",mini:"Mini Size",large:"Large Size",optionDisabled:"Option Disabled",valueMapping:"Value Mapping",scrollable:"Scrollable",multiple:"Multiple",closeOnSelect:"Disable Close On Select"},{add:F,use:He,pack:n,packs:ul,merge:il}=ye(),Re=l=>{Ve(l),He(l)};Y("zh-CN",ge);Y("en-US",Se);F("zh-CN",Le);F("en-US",_e);const rl={__name:"index",setup(l){const u=b(),d=b(),y=b(),g=b(),S=b(),m=b(),v=b(),c=b(),V=b(),f=b([]),U=b(Array.from({length:30},(M,s)=>({label:`Option ${s+1}`,value:s})));return se(M=>{Re(M),u.value=void 0,d.value=void 0,y.value=void 0,S.value=void 0,g.value=void 0,m.value=void 0,v.value=void 0,c.value=void 0,V.value=void 0,f.value=[]}),te(ce),(M,s)=>(h(),B(_,null,[a(e(k),null,{default:o(()=>[p(r(e(n).basicUsage),1)]),_:1}),a(e(C),{modelValue:u.value,"onUpdate:modelValue":s[0]||(s[0]=i=>u.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(u.value?u.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).size),1)]),_:1}),a(e(be),{align:"center",size:[20,60]},{default:o(()=>[a(e(C),{modelValue:d.value,"onUpdate:modelValue":s[1]||(s[1]=i=>d.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(d.value?d.value:e(n).normal),1)]),_:1})]),_:1},8,["modelValue"]),a(e(C),{size:"small",modelValue:y.value,"onUpdate:modelValue":s[2]||(s[2]=i=>y.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(y.value?y.value:e(n).small),1)]),_:1})]),_:1},8,["modelValue"]),a(e(C),{size:"mini",modelValue:g.value,"onUpdate:modelValue":s[3]||(s[3]=i=>g.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(g.value?g.value:e(n).mini),1)]),_:1})]),_:1},8,["modelValue"]),a(e(C),{size:"large",modelValue:S.value,"onUpdate:modelValue":s[4]||(s[4]=i=>S.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(S.value?S.value:e(n).large),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(e(k),null,{default:o(()=>[p(r(e(n).valueMapping),1)]),_:1}),a(e(C),{modelValue:v.value,"onUpdate:modelValue":s[5]||(s[5]=i=>v.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat,value:1},null,8,["label"]),a(e(t),{label:e(n).sleep,value:2},null,8,["label"]),a(e(t),{label:e(n).play,value:3},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(v.value?`value: ${v.value}`:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).scrollable),1)]),_:1}),a(e(C),{scrollable:"",modelValue:c.value,"onUpdate:modelValue":s[6]||(s[6]=i=>c.value=i)},{options:o(()=>[(h(!0),B(_,null,ue(U.value,i=>(h(),D(e(t),{key:i.value,label:i.label},null,8,["label"]))),128))]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(c.value?c.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).optionDisabled),1)]),_:1}),a(e(C),{modelValue:m.value,"onUpdate:modelValue":s[7]||(s[7]=i=>m.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play,disabled:""},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(m.value?m.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).multiple),1)]),_:1}),a(e(C),{multiple:"",modelValue:f.value,"onUpdate:modelValue":s[8]||(s[8]=i=>f.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"]),a(e(t),{label:e(n).coding},null,8,["label"]),a(e(t),{label:e(n).rest},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(f.value.length?f.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).closeOnSelect),1)]),_:1}),a(e(C),{"close-on-select":!1,modelValue:V.value,"onUpdate:modelValue":s[9]||(s[9]=i=>V.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(V.value?V.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"])],64))}};export{rl as default}; +import{p as X,M as q}from"./index-5540406a.js";import{d as G,p as Q,g as j,a as J,f as Z,c as H,w as R}from"./components-a5332e66.js";import{a1 as x,d as T,r as b,D as $,_ as I,b as w,e as h,f as D,w as o,p as P,x as z,v as E,a3 as ee,G as le,L,P as ae,m as B,M as ne,t as oe,R as r,q as a,F as se,al as te,U as e,N as _,Q as p,O as ue}from"./index-0bd4ebfc.js";import{u as ie}from"./useSelectController-4200caca.js";import{C as re}from"./index-9fe788b6.js";import{v as de}from"./index-28dcc9be.js";import{H as pe}from"./index-27fcaf7d.js";import{H as me,u as ve}from"./index-d956da3f.js";import{e as fe}from"./logger-525ef361.js";import{B as O}from"./index-1f1d0c91.js";import{S as be}from"./index-65cffe90.js";import{d as ce}from"./index-d8fbf18c.js";import{u as ye,b as Y,_ as ge,c as Se,a as Ve}from"./index-4a9c2ae2.js";import{A as k}from"./appType-a8f87391.js";import"./usePopover-1ef39509.js";import"./elements-23c82371.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-2c5b74fa.js";import"./provide-4fc67263.js";/* empty css */import"./index-1e0bee81.js";const Ce={modelValue:{default:void 0},size:{type:String,default:"normal"},multiple:Boolean,scrollable:Boolean,closeOnSelect:{type:Boolean,default:!0},"onUpdate:modelValue":G(),...Q(X,["show","disabled","trigger","reference","placement","strategy","offsetX","offsetY","teleport","sameWidth","elevation","popoverClass","closeOnClickReference","onOpen","onOpened","onClose","onClosed","onClickOutside","onUpdate:show"])},A=Symbol("MENU_SELECT_BIND_MENU_OPTION_KEY");function Oe(){const{length:l,childProviders:u,bindChildren:d}=x(A);return{length:l,menuOptions:u,bindMenuOptions:d}}const{name:Me,n:ke,classes:he}=H("menu-select"),Ue=T({name:Me,components:{VarMenu:q},props:Ce,setup(l){const u=b(null),d=j(l,"show"),{menuOptions:y,length:g,bindMenuOptions:S}=Oe(),{computeLabel:m,getSelectedValue:v}=ie({modelValue:()=>l.modelValue,multiple:()=>l.multiple,optionProviders:()=>y,optionProvidersLength:()=>g.value}),c={size:$(()=>l.size),multiple:$(()=>l.multiple),computeLabel:m,onSelect:V};S(c);function V(s){const{multiple:i,closeOnSelect:N}=l;J(l["onUpdate:modelValue"],v(s)),!i&&N&&(d.value=!1)}function f(){var s;(s=u.value)==null||s.open()}function U(){var s;(s=u.value)==null||s.close()}function M(){var s;(s=u.value)==null||s.resize()}return{show:d,menu:u,n:ke,classes:he,formatElevation:Z,open:f,close:U,resize:M}}});function $e(l,u,d,y,g,S){const m=w("var-menu");return h(),D(m,{ref:"menu",class:z(l.n()),disabled:l.disabled,trigger:l.trigger,reference:l.reference,placement:l.placement,strategy:l.strategy,"offset-x":l.offsetX,"offset-y":l.offsetY,teleport:l.teleport,"same-width":l.sameWidth,elevation:l.elevation,"default-style":!1,"popover-class":l.popoverClass,"close-on-click-reference":l.closeOnClickReference,show:l.show,"onUpdate:show":u[0]||(u[0]=v=>l.show=v),onOpen:l.onOpen,onOpened:l.onOpened,onClose:l.onClose,onClosed:l.onClosed,onClickOutside:l.onClickOutside},{menu:o(()=>[P("div",{class:z(l.classes(l.n("menu"),l.formatElevation(l.elevation,3),[l.scrollable,l.n("--scrollable")]))},[E(l.$slots,"options")],2)]),default:o(()=>[E(l.$slots,"default")]),_:3},8,["class","disabled","trigger","reference","placement","strategy","offset-x","offset-y","teleport","same-width","elevation","popover-class","close-on-click-reference","show","onOpen","onOpened","onClose","onClosed","onClickOutside"])}const C=I(Ue,[["render",$e]]);R(C);function ze(){const{index:l,parentProvider:u,bindParent:d}=ee(A);return d||fe("MenuOption"," must in "),{index:l,menuSelect:u,bindMenuSelect:d}}const Ne={label:{},value:{},disabled:Boolean},{name:we,n:Pe,classes:Ee}=H("menu-option"),Be=T({name:we,directives:{Ripple:de,Hover:pe},components:{VarCheckbox:re,VarHoverOverlay:me},props:Ne,setup(l){const u=b(!1),d=$(()=>u.value),y=$(()=>l.label),g=$(()=>l.value),{menuSelect:S,bindMenuSelect:m}=ze(),{size:v,multiple:c,onSelect:V,computeLabel:f}=S,{hovering:U,handleHovering:M}=ve(),s={label:y,value:g,selected:d,sync:K};le([()=>l.label,()=>l.value],f),m(s);function i(){l.disabled||N()}function N(){c.value&&(u.value=!u.value),V(s)}function K(W){u.value=W}return{optionSelected:u,size:v,multiple:c,hovering:U,n:Pe,classes:Ee,handleHovering:M,handleClick:i,handleSelect:N}}});function De(l,u,d,y,g,S){const m=w("var-checkbox"),v=w("var-hover-overlay"),c=L("ripple"),V=L("hover");return ae((h(),B("div",{class:z(l.classes(l.n(),l.n("$--box"),l.n(`--${l.size}`),[l.optionSelected,l.n("--selected-color")],[l.disabled,l.n("--disabled")])),onClick:u[2]||(u[2]=(...f)=>l.handleClick&&l.handleClick(...f))},[P("div",{class:z(l.classes(l.n("cover"),[l.optionSelected,l.n("--selected-background")]))},null,2),l.multiple?(h(),D(m,{key:0,ref:"checkbox",modelValue:l.optionSelected,"onUpdate:modelValue":u[0]||(u[0]=f=>l.optionSelected=f),disabled:l.disabled,onClick:u[1]||(u[1]=ne(()=>{},["stop"])),onChange:l.handleSelect},null,8,["modelValue","disabled","onChange"])):oe("",!0),E(l.$slots,"default",{},()=>[P("div",{class:z(l.classes(l.n("text"),l.n("$--ellipsis")))},r(l.label),3)]),a(v,{hovering:l.hovering&&!l.disabled},null,8,["hovering"])],2)),[[c,{disabled:l.disabled}],[V,l.handleHovering,"desktop"]])}const t=I(Be,[["render",De]]);R(t);const Le={basicUsage:"基本使用",size:"尺寸",eat:"吃饭",sleep:"睡觉",play:"打游戏",coding:"写代码",rest:"摸鱼",please:"请选择",normal:"常规尺寸",small:"小型尺寸",mini:"迷你尺寸",large:"大型尺寸",optionDisabled:"选项禁用",valueMapping:"值映射",scrollable:"可滚动",multiple:"多选",closeOnSelect:"选择选项时禁止关闭菜单"},_e={basicUsage:"Basic Usage",size:"Size",eat:"Eat",sleep:"Sleep",play:"Play game",coding:"Coding",rest:"Rest",please:"Please Select",normal:"Normal Size",small:"Small Size",mini:"Mini Size",large:"Large Size",optionDisabled:"Option Disabled",valueMapping:"Value Mapping",scrollable:"Scrollable",multiple:"Multiple",closeOnSelect:"Disable Close On Select"},{add:F,use:He,pack:n,packs:ul,merge:il}=ye(),Re=l=>{Ve(l),He(l)};Y("zh-CN",ge);Y("en-US",Se);F("zh-CN",Le);F("en-US",_e);const rl={__name:"index",setup(l){const u=b(),d=b(),y=b(),g=b(),S=b(),m=b(),v=b(),c=b(),V=b(),f=b([]),U=b(Array.from({length:30},(M,s)=>({label:`Option ${s+1}`,value:s})));return se(M=>{Re(M),u.value=void 0,d.value=void 0,y.value=void 0,S.value=void 0,g.value=void 0,m.value=void 0,v.value=void 0,c.value=void 0,V.value=void 0,f.value=[]}),te(ce),(M,s)=>(h(),B(_,null,[a(e(k),null,{default:o(()=>[p(r(e(n).basicUsage),1)]),_:1}),a(e(C),{modelValue:u.value,"onUpdate:modelValue":s[0]||(s[0]=i=>u.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(u.value?u.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).size),1)]),_:1}),a(e(be),{align:"center",size:[20,60]},{default:o(()=>[a(e(C),{modelValue:d.value,"onUpdate:modelValue":s[1]||(s[1]=i=>d.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(d.value?d.value:e(n).normal),1)]),_:1})]),_:1},8,["modelValue"]),a(e(C),{size:"small",modelValue:y.value,"onUpdate:modelValue":s[2]||(s[2]=i=>y.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(y.value?y.value:e(n).small),1)]),_:1})]),_:1},8,["modelValue"]),a(e(C),{size:"mini",modelValue:g.value,"onUpdate:modelValue":s[3]||(s[3]=i=>g.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(g.value?g.value:e(n).mini),1)]),_:1})]),_:1},8,["modelValue"]),a(e(C),{size:"large",modelValue:S.value,"onUpdate:modelValue":s[4]||(s[4]=i=>S.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(S.value?S.value:e(n).large),1)]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(e(k),null,{default:o(()=>[p(r(e(n).valueMapping),1)]),_:1}),a(e(C),{modelValue:v.value,"onUpdate:modelValue":s[5]||(s[5]=i=>v.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat,value:1},null,8,["label"]),a(e(t),{label:e(n).sleep,value:2},null,8,["label"]),a(e(t),{label:e(n).play,value:3},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(v.value?`value: ${v.value}`:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).scrollable),1)]),_:1}),a(e(C),{scrollable:"",modelValue:c.value,"onUpdate:modelValue":s[6]||(s[6]=i=>c.value=i)},{options:o(()=>[(h(!0),B(_,null,ue(U.value,i=>(h(),D(e(t),{key:i.value,label:i.label},null,8,["label"]))),128))]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(c.value?c.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).optionDisabled),1)]),_:1}),a(e(C),{modelValue:m.value,"onUpdate:modelValue":s[7]||(s[7]=i=>m.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play,disabled:""},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(m.value?m.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).multiple),1)]),_:1}),a(e(C),{multiple:"",modelValue:f.value,"onUpdate:modelValue":s[8]||(s[8]=i=>f.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"]),a(e(t),{label:e(n).coding},null,8,["label"]),a(e(t),{label:e(n).rest},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(f.value.length?f.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"]),a(e(k),null,{default:o(()=>[p(r(e(n).closeOnSelect),1)]),_:1}),a(e(C),{"close-on-select":!1,modelValue:V.value,"onUpdate:modelValue":s[9]||(s[9]=i=>V.value=i)},{options:o(()=>[a(e(t),{label:e(n).eat},null,8,["label"]),a(e(t),{label:e(n).sleep},null,8,["label"]),a(e(t),{label:e(n).play},null,8,["label"])]),default:o(()=>[a(e(O),{type:"primary"},{default:o(()=>[p(r(V.value?V.value:e(n).please),1)]),_:1})]),_:1},8,["modelValue"])],64))}};export{rl as default}; diff --git a/assets/index-9fe07c8e.js b/assets/index-e4246741.js similarity index 90% rename from assets/index-9fe07c8e.js rename to assets/index-e4246741.js index 9a52fb3af81..2b2ceae7672 100644 --- a/assets/index-9fe07c8e.js +++ b/assets/index-e4246741.js @@ -1 +1 @@ -import{d as n,u as k,c as z,w as P}from"./components-3ae053cb.js";import{a as B}from"./elements-68ad626b.js";import{u as H}from"./usePopover-33bac0d8.js";import{d as $,_ as T,e as i,m as N,v as p,f as O,q as A,w as D,P as I,p as u,x as t,y as f,M as E,Q as L,R as U,Y as V,T as R,au as W}from"./index-af5fec45.js";const Y={type:{type:String,default:"default"},color:String,content:String,show:Boolean,disabled:Boolean,trigger:{type:String,default:"hover"},reference:String,placement:{type:String,default:"bottom"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,closeOnClickReference:Boolean,onOpen:n(),onOpened:n(),onClose:n(),onClosed:n(),onClickOutside:n(),"onUpdate:show":n()},{name:j,n:q,classes:Q}=z("tooltip"),X=$({name:j,props:Y,setup(e){const{disabled:o}=k(),{popover:a,host:l,hostSize:r,show:d,zIndex:s,handleHostClick:v,handleHostMouseenter:h,handleHostMouseleave:m,handlePopoverMouseenter:M,handlePopoverMouseleave:y,handlePopoverClose:S,handleClosed:g,open:b,close:C,resize:w}=H(e);return{popover:a,host:l,hostSize:r,show:d,zIndex:s,teleportDisabled:o,toSizeUnit:B,n:q,classes:Q,handleHostClick:v,handlePopoverClose:S,handleHostMouseenter:h,handleHostMouseleave:m,handlePopoverMouseenter:M,handlePopoverMouseleave:y,handleClosed:g,resize:w,open:b,close:C}}});function F(e,o,a,l,r,d){return i(),N("div",{ref:"host",class:t(e.classes(e.n(),e.n("$--box"))),onClick:o[3]||(o[3]=(...s)=>e.handleHostClick&&e.handleHostClick(...s)),onMouseenter:o[4]||(o[4]=(...s)=>e.handleHostMouseenter&&e.handleHostMouseenter(...s)),onMouseleave:o[5]||(o[5]=(...s)=>e.handleHostMouseleave&&e.handleHostMouseleave(...s))},[p(e.$slots,"default"),(i(),O(W,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[A(R,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed},{default:D(()=>[I(u("div",{ref:"popover",class:t(e.classes(e.n("tooltip"),e.n("$--box"))),style:f({zIndex:e.zIndex}),onClick:o[0]||(o[0]=E(()=>{},["stop"])),onMouseenter:o[1]||(o[1]=(...s)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...s)),onMouseleave:o[2]||(o[2]=(...s)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...s))},[u("div",{style:f({background:e.color,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:t(e.classes(e.n("content-container"),e.n(`--${e.type}`)))},[p(e.$slots,"content",{},()=>[L(U(e.content),1)])],6)],38),[[V,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const G=T(X,[["render",F]]);P(G);export{G as T}; +import{d as n,u as k,c as z,w as P}from"./components-a5332e66.js";import{a as B}from"./elements-23c82371.js";import{u as H}from"./usePopover-1ef39509.js";import{d as $,_ as T,e as i,m as N,v as p,f as O,q as A,w as D,P as I,p as u,x as t,y as f,M as E,Q as L,R as U,Y as V,T as R,au as W}from"./index-0bd4ebfc.js";const Y={type:{type:String,default:"default"},color:String,content:String,show:Boolean,disabled:Boolean,trigger:{type:String,default:"hover"},reference:String,placement:{type:String,default:"bottom"},strategy:{type:String,default:"absolute"},offsetX:{type:[Number,String],default:0},offsetY:{type:[Number,String],default:0},teleport:{type:[String,Object,Boolean],default:"body"},sameWidth:Boolean,closeOnClickReference:Boolean,onOpen:n(),onOpened:n(),onClose:n(),onClosed:n(),onClickOutside:n(),"onUpdate:show":n()},{name:j,n:q,classes:Q}=z("tooltip"),X=$({name:j,props:Y,setup(e){const{disabled:o}=k(),{popover:a,host:l,hostSize:r,show:d,zIndex:s,handleHostClick:v,handleHostMouseenter:h,handleHostMouseleave:m,handlePopoverMouseenter:M,handlePopoverMouseleave:y,handlePopoverClose:S,handleClosed:g,open:b,close:C,resize:w}=H(e);return{popover:a,host:l,hostSize:r,show:d,zIndex:s,teleportDisabled:o,toSizeUnit:B,n:q,classes:Q,handleHostClick:v,handlePopoverClose:S,handleHostMouseenter:h,handleHostMouseleave:m,handlePopoverMouseenter:M,handlePopoverMouseleave:y,handleClosed:g,resize:w,open:b,close:C}}});function F(e,o,a,l,r,d){return i(),N("div",{ref:"host",class:t(e.classes(e.n(),e.n("$--box"))),onClick:o[3]||(o[3]=(...s)=>e.handleHostClick&&e.handleHostClick(...s)),onMouseenter:o[4]||(o[4]=(...s)=>e.handleHostMouseenter&&e.handleHostMouseenter(...s)),onMouseleave:o[5]||(o[5]=(...s)=>e.handleHostMouseleave&&e.handleHostMouseleave(...s))},[p(e.$slots,"default"),(i(),O(W,{to:e.teleport===!1?void 0:e.teleport,disabled:e.teleportDisabled||e.teleport===!1},[A(R,{name:e.n(),onAfterEnter:e.onOpened,onAfterLeave:e.handleClosed},{default:D(()=>[I(u("div",{ref:"popover",class:t(e.classes(e.n("tooltip"),e.n("$--box"))),style:f({zIndex:e.zIndex}),onClick:o[0]||(o[0]=E(()=>{},["stop"])),onMouseenter:o[1]||(o[1]=(...s)=>e.handlePopoverMouseenter&&e.handlePopoverMouseenter(...s)),onMouseleave:o[2]||(o[2]=(...s)=>e.handlePopoverMouseleave&&e.handlePopoverMouseleave(...s))},[u("div",{style:f({background:e.color,width:e.sameWidth?e.toSizeUnit(Math.ceil(e.hostSize.width)):void 0}),class:t(e.classes(e.n("content-container"),e.n(`--${e.type}`)))},[p(e.$slots,"content",{},()=>[L(U(e.content),1)])],6)],38),[[V,e.show]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"]))],34)}const G=T(X,[["render",F]]);P(G);export{G as T}; diff --git a/assets/index-85b78525.js b/assets/index-e6df479c.js similarity index 85% rename from assets/index-85b78525.js rename to assets/index-e6df479c.js index 19642286dc0..b233cb24f6d 100644 --- a/assets/index-85b78525.js +++ b/assets/index-e6df479c.js @@ -1 +1 @@ -import{d as m,c as p,a as g,w as C}from"./components-3ae053cb.js";import{a1 as y,d as h,D as v,a2 as S,G as u,_ as k,e as _,m as $,v as b,x as w,y as P}from"./index-af5fec45.js";import{t as c,p as N}from"./elements-68ad626b.js";const R={gutter:{type:[String,Number,Array],default:0},justify:{type:String,default:"flex-start"},align:{type:String,default:"flex-start"},onClick:m()},B=Symbol("ROW_BIND_COL_KEY");function E(){const{bindChildren:e,childProviders:t,length:s}=y(B);return{length:s,cols:t,bindCols:e}}const{name:I,n:O,classes:j}=p("row"),x=h({name:I,props:R,setup(e){const t=v(()=>S(e.gutter)?e.gutter.map(n=>c(n)/2):[0,c(e.gutter)/2]),{cols:s,bindCols:o,length:r}=E(),l={computePadding:a};u(()=>r.value,a),u(()=>e.gutter,a),o(l);function a(){s.forEach(n=>{const[i,d]=t.value;n.setPadding({left:d,right:d,top:i,bottom:i})})}function f(n){g(e.onClick,n)}return{average:t,n:O,classes:j,handleClick:f,padStartFlex:N}}});function D(e,t,s,o,r,l){return _(),$("div",{class:w(e.classes(e.n(),e.n("$--box"))),style:P({justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),margin:`${-e.average[0]}px ${-e.average[1]}px`}),onClick:t[0]||(t[0]=(...a)=>e.handleClick&&e.handleClick(...a))},[b(e.$slots,"default")],6)}const F=k(x,[["render",D]]);C(F);export{F as R,B as a}; +import{d as m,c as p,a as g,w as C}from"./components-a5332e66.js";import{a1 as y,d as h,D as v,a2 as S,G as u,_ as k,e as _,m as $,v as b,x as w,y as P}from"./index-0bd4ebfc.js";import{t as c,p as N}from"./elements-23c82371.js";const R={gutter:{type:[String,Number,Array],default:0},justify:{type:String,default:"flex-start"},align:{type:String,default:"flex-start"},onClick:m()},B=Symbol("ROW_BIND_COL_KEY");function E(){const{bindChildren:e,childProviders:t,length:s}=y(B);return{length:s,cols:t,bindCols:e}}const{name:I,n:O,classes:j}=p("row"),x=h({name:I,props:R,setup(e){const t=v(()=>S(e.gutter)?e.gutter.map(n=>c(n)/2):[0,c(e.gutter)/2]),{cols:s,bindCols:o,length:r}=E(),l={computePadding:a};u(()=>r.value,a),u(()=>e.gutter,a),o(l);function a(){s.forEach(n=>{const[i,d]=t.value;n.setPadding({left:d,right:d,top:i,bottom:i})})}function f(n){g(e.onClick,n)}return{average:t,n:O,classes:j,handleClick:f,padStartFlex:N}}});function D(e,t,s,o,r,l){return _(),$("div",{class:w(e.classes(e.n(),e.n("$--box"))),style:P({justifyContent:e.padStartFlex(e.justify),alignItems:e.padStartFlex(e.align),margin:`${-e.average[0]}px ${-e.average[1]}px`}),onClick:t[0]||(t[0]=(...a)=>e.handleClick&&e.handleClick(...a))},[b(e.$slots,"default")],6)}const F=k(x,[["render",D]]);C(F);export{F as R,B as a}; diff --git a/assets/index-e95cf05b.js b/assets/index-e95cf05b.js deleted file mode 100644 index fbfcc4650cb..00000000000 --- a/assets/index-e95cf05b.js +++ /dev/null @@ -1 +0,0 @@ -import{W as e}from"./index-af5fec45.js";const t={locks:{},zIndex:2e3,enableRipple:!0};e(t);const c=e(t);export{c}; diff --git a/assets/index-46c65ed8.js b/assets/index-e9f13537.js similarity index 91% rename from assets/index-46c65ed8.js rename to assets/index-e9f13537.js index 130a5ead6f1..78e95098135 100644 --- a/assets/index-46c65ed8.js +++ b/assets/index-e9f13537.js @@ -1 +1 @@ -import{B as fe}from"./index-84d96475.js";import{d as U,c as H,a as $,w as x,p as Y}from"./components-3ae053cb.js";import{a1 as ge,d as ee,r as d,D as T,G as V,at as pe,aB as Ce,aU as he,ae as Ne,_ as ae,b as R,e as S,m as F,v as O,f as w,w as m,as as le,t as _,x as L,y as ne,a3 as Be,L as ye,P as ke,p as Ie,N as oe,Q as y,R as k,F as $e,al as Se,q as l,U as e}from"./index-af5fec45.js";import{v as Pe}from"./index-2b41cfe8.js";import{B as Ae}from"./index-6eedc20f.js";import{p as Q,I as te}from"./index-057aa4ba.js";import{e as Ee}from"./logger-525ef361.js";import{S as J}from"./index-0ad054ca.js";import{d as Ue}from"./index-d8fbf18c.js";import{u as Te,b as ie,_ as _e,c as Le,a as Fe}from"./index-2b61c8d0.js";import{A}from"./appType-53211ea9.js";import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-e95cf05b.js";/* empty css */import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const Oe={active:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:1},fixed:Boolean,border:Boolean,safeArea:Boolean,activeColor:String,inactiveColor:String,fabProps:Object,onChange:U(),onBeforeChange:U(),onFabClick:U(),"onUpdate:active":U()},se=Symbol("BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY");function we(){const{childProviders:a,length:s,bindChildren:r}=ge(se);return{length:s,bottomNavigationItems:a,bindBottomNavigationItem:r}}const{name:Me,n:ze,classes:De}=H("bottom-navigation"),{n:M}=H("bottom-navigation-item"),W=M("--right-half-space"),X=M("--left-half-space"),Z=M("--right-space"),Ge={type:"primary"},Ve=ee({name:Me,components:{VarButton:fe},props:Oe,setup(a,{slots:s}){const r=d(null),b=T(()=>a.active),f=T(()=>a.activeColor),p=T(()=>a.inactiveColor),v=d({}),{length:c,bottomNavigationItems:C,bindBottomNavigationItem:h}=we();h({active:b,activeColor:f,inactiveColor:p,onToggle:ce}),V(()=>c.value,N),V(()=>a.fabProps,i=>{v.value={...Ge,...i}},{immediate:!0,deep:!0}),pe(()=>{s.fab&&q(c.value)}),Ce(()=>{me(),s.fab&&q(c.value)});function N(){c.value===0||B()||t()||u()}function B(){return C.find(({name:i})=>b.value===i.value)}function t(){return C.find(({index:i})=>b.value===i.value)}function u(){Ne(b.value)&&(b.value<0?$(a["onUpdate:active"],0):b.value>c.value-1&&$(a["onUpdate:active"],c.value-1))}function ce(i){b.value!==i&&(a.onBeforeChange?ue(i):j(i))}function ue(i){const g=he($(a.onBeforeChange,i));Promise.all(g).then(P=>{P.every(Boolean)&&j(i)})}function j(i){$(a["onUpdate:active"],i),$(a.onChange,i)}function me(){K().forEach(g=>{g.classList.remove(W,X,Z)})}function q(i){const g=K(),P=g.length,E=i%2===0;g.forEach((D,G)=>{be(E,D,G,P)})}function be(i,g,P,E){const D=P===E-1;if(!i&&D){g.classList.add(Z);return}const G=P===E/2-1,de=P===E/2;G?g.classList.add(W):de&&g.classList.add(X)}function K(){return Array.from(r.value.querySelectorAll(`.${M()}`))}function ve(){$(a.onFabClick)}return{length:c,bottomNavigationDom:r,fabProps:v,n:ze,classes:De,handleFabClick:ve}}});function Re(a,s,r,b,f,p){const v=R("var-button");return S(),F("div",{class:L(a.classes(a.n(),a.n("$--box"),[a.fixed,a.n("--fixed")],[a.border,a.n("--border")],[a.safeArea,a.n("--safe-area")])),ref:"bottomNavigationDom",style:ne(`z-index:${a.zIndex}`)},[O(a.$slots,"default"),a.$slots.fab?(S(),w(v,le({key:0,class:a.classes(a.n("fab"),[a.length%2,a.n("--fab-right"),a.n("--fab-center")]),"var-bottom-navigation__fab":"",onClick:a.handleFabClick},a.fabProps,{round:""}),{default:m(()=>[O(a.$slots,"fab")]),_:3},16,["class","onClick"])):_("",!0)],6)}const I=ae(Ve,[["render",Re]]);x(I);const He={name:String,label:String,icon:Y(Q,"name"),namespace:Y(Q,"namespace"),badge:{type:[Boolean,Object],default:!1},onClick:U()};function je(){const{parentProvider:a,index:s,bindParent:r}=Be(se);return r||Ee("BottomNavigationItem"," must in "),{index:s,bottomNavigation:a,bindBottomNavigation:r}}const{name:qe,n:Ke,classes:Ye}=H("bottom-navigation-item"),Qe={type:"danger",dot:!0},Je=ee({name:qe,components:{VarBadge:Ae,VarIcon:te},directives:{Ripple:Pe},props:He,setup(a){const s=T(()=>a.name),r=T(()=>a.badge),b=d({}),{index:f,bottomNavigation:p,bindBottomNavigation:v}=je(),{active:c,activeColor:C,inactiveColor:h}=p;v({name:s,index:f}),V(()=>r.value,t=>{b.value=t===!0?Qe:r.value},{immediate:!0});function N(){return c.value===s.value||c.value===f.value?C.value:h.value}function B(){const t=s.value??f.value;$(a.onClick,t),$(p.onToggle,t)}return{index:f,active:c,badge:r,badgeProps:b,n:Ke,classes:Ye,computeColorStyle:N,handleClick:B}}});function We(a,s,r,b,f,p){const v=R("var-icon"),c=R("var-badge"),C=ye("ripple");return ke((S(),F("button",{class:L(a.classes(a.n(),a.n("$--box"),[a.active===a.index||a.active===a.name,a.n("--active")])),style:ne({color:a.computeColorStyle()}),onClick:s[0]||(s[0]=(...h)=>a.handleClick&&a.handleClick(...h))},[a.icon&&!a.$slots.icon?(S(),w(v,{key:0,name:a.icon,namespace:a.namespace,class:L(a.n("icon")),"var-bottom-navigation-item-cover":""},null,8,["name","namespace","class"])):_("",!0),O(a.$slots,"icon",{active:a.active===a.index||a.active===a.name}),a.badge?(S(),w(c,le({key:1},a.badgeProps,{class:a.n("badge"),"var-bottom-navigation-item-cover":""}),null,16,["class"])):_("",!0),Ie("span",{class:L(a.n("label"))},[a.$slots.default?_("",!0):(S(),F(oe,{key:0},[y(k(a.label),1)],64)),O(a.$slots,"default")],2)],6)),[[C]])}const o=ae(Je,[["render",We]]);x(o);const Xe={basicUsage:"基本使用",matchByName:"通过名称匹配",showBadge:"徽标提示",customColor:"自定义颜色",changeEvent:"监听切换事件",clickEvent:"监听点击事件",fab:"悬浮按钮",label:"标签"},Ze={basicUsage:"Basic Usage",matchByName:"Match By Name",showBadge:"Show Badge",customColor:"Custom Color",changeEvent:"Change Event",clickEvent:"Click Event",fab:"Fab",label:"label"},{add:re,use:xe,pack:n,packs:Na,merge:Ba}=Te(),ea=a=>{Fe(a),xe(a)};ie("zh-CN",_e);ie("en-US",Le);re("zh-CN",Xe);re("en-US",Ze);const ya={__name:"index",setup(a){const s=d(0),r=d("home"),b=d(0),f={type:"primary",value:"66"},p=d(0),v=d(0),c=d(0),C=d(0),h=d(!0);function z(B){J.info(`changed to ${B}`)}function N(B){J.success(`clicked ${B}`)}return $e(ea),Se(Ue),(B,t)=>(S(),F(oe,null,[l(e(A),null,{default:m(()=>[y(k(e(n).basicUsage),1)]),_:1}),l(e(I),{active:s.value,"onUpdate:active":t[0]||(t[0]=u=>s.value=u)},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).matchByName),1)]),_:1}),l(e(I),{active:r.value,"onUpdate:active":t[1]||(t[1]=u=>r.value=u)},{default:m(()=>[l(e(o),{name:"home",label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{name:"search",label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{name:"heart",label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{name:"user",label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).showBadge),1)]),_:1}),l(e(I),{active:b.value,"onUpdate:active":t[2]||(t[2]=u=>b.value=u)},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify",badge:""},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart",badge:f},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).customColor),1)]),_:1}),l(e(I),{"active-color":"#ba68c8",active:p.value,"onUpdate:active":t[3]||(t[3]=u=>p.value=u)},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).changeEvent),1)]),_:1}),l(e(I),{active:v.value,"onUpdate:active":t[4]||(t[4]=u=>v.value=u),onChange:z},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).clickEvent),1)]),_:1}),l(e(I),{active:c.value,"onUpdate:active":t[5]||(t[5]=u=>c.value=u)},{default:m(()=>[l(e(o),{onClick:N,label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{onClick:N,label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{onClick:N,label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{onClick:N,label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).fab),1)]),_:1}),l(e(I),{active:C.value,"onUpdate:active":t[6]||(t[6]=u=>C.value=u),onFabClick:t[7]||(t[7]=u=>h.value=!h.value),style:{"margin-top":"10px"}},{fab:m(()=>[l(e(te),{name:"heart"})]),default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"bell"},null,8,["label"]),h.value?_("",!0):(S(),w(e(o),{key:0,label:e(n).label,icon:"account-circle"},null,8,["label"]))]),_:1},8,["active"])],64))}};export{ya as default}; +import{B as fe}from"./index-1f1d0c91.js";import{d as U,c as H,a as $,w as x,p as Y}from"./components-a5332e66.js";import{a1 as ge,d as ee,r as d,D as T,G as V,at as pe,aB as Ce,aU as he,ae as Ne,_ as ae,b as R,e as S,m as F,v as O,f as w,w as m,as as le,t as _,x as L,y as ne,a3 as Be,L as ye,P as ke,p as Ie,N as oe,Q as y,R as k,F as $e,al as Se,q as l,U as e}from"./index-0bd4ebfc.js";import{v as Pe}from"./index-28dcc9be.js";import{B as Ae}from"./index-aa14e311.js";import{p as Q,I as te}from"./index-2c5b74fa.js";import{e as Ee}from"./logger-525ef361.js";import{S as J}from"./index-1ed406cf.js";import{d as Ue}from"./index-d8fbf18c.js";import{u as Te,b as ie,_ as _e,c as Le,a as Fe}from"./index-4a9c2ae2.js";import{A}from"./appType-a8f87391.js";import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-9eb15296.js";/* empty css */import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const Oe={active:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:1},fixed:Boolean,border:Boolean,safeArea:Boolean,activeColor:String,inactiveColor:String,fabProps:Object,onChange:U(),onBeforeChange:U(),onFabClick:U(),"onUpdate:active":U()},se=Symbol("BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY");function we(){const{childProviders:a,length:s,bindChildren:r}=ge(se);return{length:s,bottomNavigationItems:a,bindBottomNavigationItem:r}}const{name:Me,n:ze,classes:De}=H("bottom-navigation"),{n:M}=H("bottom-navigation-item"),W=M("--right-half-space"),X=M("--left-half-space"),Z=M("--right-space"),Ge={type:"primary"},Ve=ee({name:Me,components:{VarButton:fe},props:Oe,setup(a,{slots:s}){const r=d(null),b=T(()=>a.active),f=T(()=>a.activeColor),p=T(()=>a.inactiveColor),v=d({}),{length:c,bottomNavigationItems:C,bindBottomNavigationItem:h}=we();h({active:b,activeColor:f,inactiveColor:p,onToggle:ce}),V(()=>c.value,N),V(()=>a.fabProps,i=>{v.value={...Ge,...i}},{immediate:!0,deep:!0}),pe(()=>{s.fab&&q(c.value)}),Ce(()=>{me(),s.fab&&q(c.value)});function N(){c.value===0||B()||t()||u()}function B(){return C.find(({name:i})=>b.value===i.value)}function t(){return C.find(({index:i})=>b.value===i.value)}function u(){Ne(b.value)&&(b.value<0?$(a["onUpdate:active"],0):b.value>c.value-1&&$(a["onUpdate:active"],c.value-1))}function ce(i){b.value!==i&&(a.onBeforeChange?ue(i):j(i))}function ue(i){const g=he($(a.onBeforeChange,i));Promise.all(g).then(P=>{P.every(Boolean)&&j(i)})}function j(i){$(a["onUpdate:active"],i),$(a.onChange,i)}function me(){K().forEach(g=>{g.classList.remove(W,X,Z)})}function q(i){const g=K(),P=g.length,E=i%2===0;g.forEach((D,G)=>{be(E,D,G,P)})}function be(i,g,P,E){const D=P===E-1;if(!i&&D){g.classList.add(Z);return}const G=P===E/2-1,de=P===E/2;G?g.classList.add(W):de&&g.classList.add(X)}function K(){return Array.from(r.value.querySelectorAll(`.${M()}`))}function ve(){$(a.onFabClick)}return{length:c,bottomNavigationDom:r,fabProps:v,n:ze,classes:De,handleFabClick:ve}}});function Re(a,s,r,b,f,p){const v=R("var-button");return S(),F("div",{class:L(a.classes(a.n(),a.n("$--box"),[a.fixed,a.n("--fixed")],[a.border,a.n("--border")],[a.safeArea,a.n("--safe-area")])),ref:"bottomNavigationDom",style:ne(`z-index:${a.zIndex}`)},[O(a.$slots,"default"),a.$slots.fab?(S(),w(v,le({key:0,class:a.classes(a.n("fab"),[a.length%2,a.n("--fab-right"),a.n("--fab-center")]),"var-bottom-navigation__fab":"",onClick:a.handleFabClick},a.fabProps,{round:""}),{default:m(()=>[O(a.$slots,"fab")]),_:3},16,["class","onClick"])):_("",!0)],6)}const I=ae(Ve,[["render",Re]]);x(I);const He={name:String,label:String,icon:Y(Q,"name"),namespace:Y(Q,"namespace"),badge:{type:[Boolean,Object],default:!1},onClick:U()};function je(){const{parentProvider:a,index:s,bindParent:r}=Be(se);return r||Ee("BottomNavigationItem"," must in "),{index:s,bottomNavigation:a,bindBottomNavigation:r}}const{name:qe,n:Ke,classes:Ye}=H("bottom-navigation-item"),Qe={type:"danger",dot:!0},Je=ee({name:qe,components:{VarBadge:Ae,VarIcon:te},directives:{Ripple:Pe},props:He,setup(a){const s=T(()=>a.name),r=T(()=>a.badge),b=d({}),{index:f,bottomNavigation:p,bindBottomNavigation:v}=je(),{active:c,activeColor:C,inactiveColor:h}=p;v({name:s,index:f}),V(()=>r.value,t=>{b.value=t===!0?Qe:r.value},{immediate:!0});function N(){return c.value===s.value||c.value===f.value?C.value:h.value}function B(){const t=s.value??f.value;$(a.onClick,t),$(p.onToggle,t)}return{index:f,active:c,badge:r,badgeProps:b,n:Ke,classes:Ye,computeColorStyle:N,handleClick:B}}});function We(a,s,r,b,f,p){const v=R("var-icon"),c=R("var-badge"),C=ye("ripple");return ke((S(),F("button",{class:L(a.classes(a.n(),a.n("$--box"),[a.active===a.index||a.active===a.name,a.n("--active")])),style:ne({color:a.computeColorStyle()}),onClick:s[0]||(s[0]=(...h)=>a.handleClick&&a.handleClick(...h))},[a.icon&&!a.$slots.icon?(S(),w(v,{key:0,name:a.icon,namespace:a.namespace,class:L(a.n("icon")),"var-bottom-navigation-item-cover":""},null,8,["name","namespace","class"])):_("",!0),O(a.$slots,"icon",{active:a.active===a.index||a.active===a.name}),a.badge?(S(),w(c,le({key:1},a.badgeProps,{class:a.n("badge"),"var-bottom-navigation-item-cover":""}),null,16,["class"])):_("",!0),Ie("span",{class:L(a.n("label"))},[a.$slots.default?_("",!0):(S(),F(oe,{key:0},[y(k(a.label),1)],64)),O(a.$slots,"default")],2)],6)),[[C]])}const o=ae(Je,[["render",We]]);x(o);const Xe={basicUsage:"基本使用",matchByName:"通过名称匹配",showBadge:"徽标提示",customColor:"自定义颜色",changeEvent:"监听切换事件",clickEvent:"监听点击事件",fab:"悬浮按钮",label:"标签"},Ze={basicUsage:"Basic Usage",matchByName:"Match By Name",showBadge:"Show Badge",customColor:"Custom Color",changeEvent:"Change Event",clickEvent:"Click Event",fab:"Fab",label:"label"},{add:re,use:xe,pack:n,packs:Na,merge:Ba}=Te(),ea=a=>{Fe(a),xe(a)};ie("zh-CN",_e);ie("en-US",Le);re("zh-CN",Xe);re("en-US",Ze);const ya={__name:"index",setup(a){const s=d(0),r=d("home"),b=d(0),f={type:"primary",value:"66"},p=d(0),v=d(0),c=d(0),C=d(0),h=d(!0);function z(B){J.info(`changed to ${B}`)}function N(B){J.success(`clicked ${B}`)}return $e(ea),Se(Ue),(B,t)=>(S(),F(oe,null,[l(e(A),null,{default:m(()=>[y(k(e(n).basicUsage),1)]),_:1}),l(e(I),{active:s.value,"onUpdate:active":t[0]||(t[0]=u=>s.value=u)},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).matchByName),1)]),_:1}),l(e(I),{active:r.value,"onUpdate:active":t[1]||(t[1]=u=>r.value=u)},{default:m(()=>[l(e(o),{name:"home",label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{name:"search",label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{name:"heart",label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{name:"user",label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).showBadge),1)]),_:1}),l(e(I),{active:b.value,"onUpdate:active":t[2]||(t[2]=u=>b.value=u)},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify",badge:""},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart",badge:f},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).customColor),1)]),_:1}),l(e(I),{"active-color":"#ba68c8",active:p.value,"onUpdate:active":t[3]||(t[3]=u=>p.value=u)},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).changeEvent),1)]),_:1}),l(e(I),{active:v.value,"onUpdate:active":t[4]||(t[4]=u=>v.value=u),onChange:z},{default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).clickEvent),1)]),_:1}),l(e(I),{active:c.value,"onUpdate:active":t[5]||(t[5]=u=>c.value=u)},{default:m(()=>[l(e(o),{onClick:N,label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{onClick:N,label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{onClick:N,label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{onClick:N,label:e(n).label,icon:"account-circle"},null,8,["label"])]),_:1},8,["active"]),l(e(A),null,{default:m(()=>[y(k(e(n).fab),1)]),_:1}),l(e(I),{active:C.value,"onUpdate:active":t[6]||(t[6]=u=>C.value=u),onFabClick:t[7]||(t[7]=u=>h.value=!h.value),style:{"margin-top":"10px"}},{fab:m(()=>[l(e(te),{name:"heart"})]),default:m(()=>[l(e(o),{label:e(n).label,icon:"home"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"magnify"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"heart"},null,8,["label"]),l(e(o),{label:e(n).label,icon:"bell"},null,8,["label"]),h.value?_("",!0):(S(),w(e(o),{key:0,label:e(n).label,icon:"account-circle"},null,8,["label"]))]),_:1},8,["active"])],64))}};export{ya as default}; diff --git a/assets/index-14283e2f.js b/assets/index-ec7f9f1c.js similarity index 86% rename from assets/index-14283e2f.js rename to assets/index-ec7f9f1c.js index 5f84dc96d1b..cca3f2b3be6 100644 --- a/assets/index-14283e2f.js +++ b/assets/index-ec7f9f1c.js @@ -1 +1 @@ -import{d as P,c as J,a as R,h as K,w as X}from"./components-3ae053cb.js";import{a as Z,u as ee,F as ae}from"./provide-c979a783.js";import{d as le,D as B,aO as z,b7 as oe,_ as F,e as E,m as I,v as Y,x as G,p as q,q as t,U as e,n as te,W as se,r as T,F as re,al as ne,w as n,N as de,Q as m,R as i,$ as ue,a0 as me}from"./index-af5fec45.js";import{g as ie,e as D,t as pe,s as ce}from"./elements-68ad626b.js";import{l as fe}from"./shared-de177aa1.js";import{I as L}from"./index-ba1a9006.js";import{S as O,O as k}from"./index-b08b685e.js";import{C as ge}from"./index-ebb3fb01.js";import{C as w}from"./index-64160362.js";import{a as ve,R as A}from"./index-76cdf136.js";import{B as C}from"./index-84d96475.js";import{S as Ve}from"./index-e47c1801.js";import{S as be}from"./index-eb9351e0.js";import{U as ye}from"./index-5b2dac91.js";import{C as Me}from"./index-f12dbe46.js";import{R as ke}from"./index-c4d1ad92.js";import{S as W}from"./index-90c41552.js";import{I as _e}from"./index-057aa4ba.js";import{d as Ce}from"./index-d8fbf18c.js";import{u as xe,b as Q,_ as Ue,c as $e,a as Se}from"./index-2b61c8d0.js";import{A as h}from"./appType-53211ea9.js";import"./logger-525ef361.js";import"./index-939959a8.js";import"./index-3f206173.js";import"./usePopover-33bac0d8.js";import"./zIndex-a2732bb2.js";import"./index-e95cf05b.js";import"./index-83ee7fa7.js";import"./useSelectController-4054913f.js";import"./index-2b41cfe8.js";/* empty css */import"./index-8bbf4ef8.js";import"./index-2c1498a1.js";import"./index-a6f8e46a.js";import"./index-d24e7e49.js";import"./lock-7a098446.js";import"./provide-c3581da5.js";import"./index-2096471a.js";import"./index-d408e6ab.js";import"./provide-521cd214.js";import"./index-8c96e01f.js";const Te={disabled:Boolean,readonly:Boolean,scrollToError:String,scrollToErrorOffsetY:{type:[String,Number],default:0},onSubmit:P(),onReset:P()},{name:we,n:he}=J("form"),Fe=le({name:we,props:Te,setup(r){const s=B(()=>r.disabled),p=B(()=>r.readonly),{formItems:d,bindFormItems:v}=Z();v({disabled:s,readonly:p});function l(u){setTimeout(()=>{const c=ie(u),f=c===window?0:D(c),y=D(u)-f-pe(r.scrollToErrorOffsetY);ce(c,{top:y,animation:fe})},300)}async function a(u){z(u);const c=await _();R(r.onSubmit,c)}function $(u){z(u),b(),R(r.onReset)}async function _(){var c;const u=await Promise.all(d.map(({validate:f})=>f()));if(r.scrollToError){const[,f]=oe(u,M=>M===!1,r.scrollToError),y=f>-1;if(y){const M=(c=d[f].instance.proxy)==null?void 0:c.$el;l(M)}return!y}return u.every(f=>f===!0)}function b(){return d.forEach(({reset:u})=>u())}function g(){return d.forEach(({resetValidation:u})=>u())}return{n:he,handleSubmit:a,handleReset:$,validate:_,reset:b,resetValidation:g}}});function Ee(r,s,p,d,v,V){return E(),I("form",{class:G(r.n()),onSubmit:s[0]||(s[0]=(...l)=>r.handleSubmit&&r.handleSubmit(...l)),onReset:s[1]||(s[1]=(...l)=>r.handleReset&&r.handleReset(...l))},[Y(r.$slots,"default")],34)}const x=F(Fe,[["render",Ee]]);x.useValidation=K;x.useForm=ee;X(x);const Ie={__name:"CustomFormComponent",props:{modelValue:{type:Boolean},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},rules:{type:Array},validateTrigger:{type:Array,default:()=>["onToggle"]},extraMessage:{type:String}},emits:["update:modelValue"],setup(r,{expose:s,emit:p}){const d=r,{useForm:v,useValidation:V}=x,{errorMessage:l,validateWithTrigger:a,validate:$,resetValidation:_}=V(),{bindForm:b,form:g}=v(),u=()=>$(d.rules,d.modelValue);function c(){p("update:modelValue",!1),_()}function f(S){te(()=>{const{validateTrigger:N,rules:U,modelValue:H}=d;a(N,S,U,H)})}function y(){d.readonly||d.disabled||g!=null&&g.readonly.value||g!=null&&g.disabled.value||(p("update:modelValue",!d.modelValue),f("onToggle"))}const M={reset:c,validate:u,resetValidation:_};return s(M),b==null||b(M),(S,N)=>{var U;return E(),I("div",{class:G(["var-custom-form-component",{"var-custom-form-component--disabled":r.disabled||((U=e(g))==null?void 0:U.disabled.value),"var-custom-form-component--error":e(l)}])},[q("div",{class:"var-custom-form-component__container",onClick:y},[t(e(_e),{class:"var-custom-form-component__icon",name:r.modelValue?"checkbox-marked-circle":"close-circle",transition:250},null,8,["name"]),Y(S.$slots,"default",{},void 0,!0)]),t(e(ae),{"error-message":e(l),"extra-message":r.extraMessage},null,8,["error-message","extra-message"])],2)}}},Ne=F(Ie,[["__scopeId","data-v-235f566f"]]),Pe={example:"表单示例",username:"请输入用户名",usernameMessage:"用户名不能为空",password:"请输入密码",passwordMessage:"请输入密码",department:"请选择部门",departmentMessage:"必须选一个部门",eat:"吃饭",sleep:"睡觉",play:"打游戏",departmentUnit:"部",group:"请选择组织",groupMessage:"至少选择一个组织",groupUnit:"组",genderMessage:"必须选择一个性别",male:"男",female:"女",rateMessage:"必须大于2",likeMessage:"至少选择一个爱好",licenseMessage:"您必须开启",countMessage:"必须大于10",rangeMessage:"必须大于10",filesMessage:"至少上传一张图片",customFormComponent:"自定义表单组件",customLabel:"点我切换",customErrorMessage:"必须是对勾",customExtraMessage:"附加信息",controller:"表单控制",reset:"清空表单",resetValidation:"清空验证",validate:"触发验证",disabled:"表单禁用",readonly:"表单只读"},Re={example:"Form Example",username:"Please input username",usernameMessage:"The username cannot be empty",password:"Please input password",passwordMessage:"The password cannot be empty",department:"Please select department",departmentMessage:"The select cannot be empty",eat:"Eat",sleep:"Sleep",play:"Play game",departmentUnit:" department",group:"Please select group",groupMessage:"The select cannot be empty",groupUnit:" group",genderMessage:"The gender cannot be empty",male:"Male",female:"Female",rateMessage:"It has to be greater than 2",likeMessage:"The select cannot be empty",licenseMessage:"You must turn on",countMessage:"It has to be greater than 10",rangeMessage:"It has to be greater than 10",filesMessage:"Upload at least one picture",customFormComponent:"Custom Form Component",customLabel:"Click toggle",customErrorMessage:"Please check it",customExtraMessage:"Extra message",controller:"Form control",reset:"Empty form",resetValidation:"Empty the validation",validate:"Trigger validation",disabled:"Form disabled",readonly:"Form readonly"},{add:j,use:Be,pack:o,packs:wa,merge:ha}=xe(),ze=r=>{Se(r),Be(r)};Q("zh-CN",Ue);Q("en-US",$e);j("zh-CN",Pe);j("en-US",Re);const De=r=>(ue("data-v-9da29a7c"),r=r(),me(),r),Le=De(()=>q("div",{class:"space"},null,-1)),Oe={__name:"index",setup(r){const s=se({username:"",password:"",department:"",gender:void 0,license:!1,range:0,count:0,group:[],score:0,like:[],files:[],custom:!1}),p=T(null),d=T(!1),v=T(!1);return re(V=>{var l;ze(V),(l=p.value)==null||l.reset()}),ne(Ce),(V,l)=>(E(),I(de,null,[t(e(h),null,{default:n(()=>[m(i(e(o).example),1)]),_:1}),t(e(x),{ref_key:"form",ref:p,disabled:d.value,readonly:v.value,"scroll-to-error":"start","scroll-to-error-offset-y":"14.4vmin"},{default:n(()=>[t(e(W),{direction:"column",size:["4vmin",0]},{default:n(()=>[t(e(L),{placeholder:e(o).username,rules:[a=>!!a||e(o).usernameMessage],modelValue:s.username,"onUpdate:modelValue":l[0]||(l[0]=a=>s.username=a)},null,8,["placeholder","rules","modelValue"]),t(e(L),{type:"password",placeholder:e(o).password,rules:[a=>!!a||e(o).passwordMessage],modelValue:s.password,"onUpdate:modelValue":l[1]||(l[1]=a=>s.password=a)},null,8,["placeholder","rules","modelValue"]),t(e(O),{placeholder:e(o).department,rules:[a=>!!a||e(o).departmentMessage],modelValue:s.department,"onUpdate:modelValue":l[2]||(l[2]=a=>s.department=a)},{default:n(()=>[t(e(k),{label:`${e(o).eat}${e(o).departmentUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).sleep}${e(o).departmentUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).play}${e(o).departmentUnit}`},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),t(e(O),{multiple:"",placeholder:e(o).group,rules:[a=>a.length>=1||e(o).groupMessage],modelValue:s.group,"onUpdate:modelValue":l[3]||(l[3]=a=>s.group=a)},{default:n(()=>[t(e(k),{label:`${e(o).eat}${e(o).groupUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).sleep}${e(o).groupUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).play}${e(o).groupUnit}`},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),t(e(ve),{rules:[a=>!!a||e(o).genderMessage],modelValue:s.gender,"onUpdate:modelValue":l[4]||(l[4]=a=>s.gender=a)},{default:n(()=>[t(e(A),{"checked-value":1},{default:n(()=>[m(i(e(o).male),1)]),_:1}),t(e(A),{"checked-value":2},{default:n(()=>[m(i(e(o).female),1)]),_:1})]),_:1},8,["rules","modelValue"]),t(e(ge),{rules:[a=>a.length>0||e(o).likeMessage],modelValue:s.like,"onUpdate:modelValue":l[5]||(l[5]=a=>s.like=a)},{default:n(()=>[t(e(w),{"checked-value":1},{default:n(()=>[m(i(e(o).eat),1)]),_:1}),t(e(w),{"checked-value":2},{default:n(()=>[m(i(e(o).sleep),1)]),_:1}),t(e(w),{"checked-value":3},{default:n(()=>[m(i(e(o).play),1)]),_:1})]),_:1},8,["rules","modelValue"]),t(e(ke),{rules:[a=>a>=3||e(o).rateMessage],modelValue:s.score,"onUpdate:modelValue":l[6]||(l[6]=a=>s.score=a)},null,8,["rules","modelValue"]),t(e(Ve),{rules:[a=>!!a||e(o).licenseMessage],modelValue:s.license,"onUpdate:modelValue":l[7]||(l[7]=a=>s.license=a)},null,8,["rules","modelValue"]),t(e(Me),{rules:[a=>a>10||e(o).countMessage],modelValue:s.count,"onUpdate:modelValue":l[8]||(l[8]=a=>s.count=a)},null,8,["rules","modelValue"]),t(e(be),{rules:[a=>a>10||e(o).rangeMessage],modelValue:s.range,"onUpdate:modelValue":l[9]||(l[9]=a=>s.range=a)},null,8,["rules","modelValue"]),t(e(ye),{rules:[a=>a.length>=1||e(o).filesMessage],modelValue:s.files,"onUpdate:modelValue":l[10]||(l[10]=a=>s.files=a)},null,8,["rules","modelValue"])]),_:1}),t(e(h),null,{default:n(()=>[m(i(e(o).customFormComponent),1)]),_:1}),t(e(Ne),{"extra-message":e(o).customExtraMessage,rules:[a=>!!a||e(o).customErrorMessage],modelValue:s.custom,"onUpdate:modelValue":l[11]||(l[11]=a=>s.custom=a)},{default:n(()=>[m(i(e(o).customLabel),1)]),_:1},8,["extra-message","rules","modelValue"])]),_:1},8,["disabled","readonly"]),t(e(h),null,{default:n(()=>[m(i(e(o).controller),1)]),_:1}),t(e(W),{direction:"column",size:["4vmin",0]},{default:n(()=>[t(e(C),{block:"",type:"danger",onClick:l[12]||(l[12]=a=>p.value.reset())},{default:n(()=>[m(i(e(o).reset),1)]),_:1}),t(e(C),{block:"",type:"warning",onClick:l[13]||(l[13]=a=>p.value.resetValidation())},{default:n(()=>[m(i(e(o).resetValidation),1)]),_:1}),t(e(C),{block:"",type:"success",onClick:l[14]||(l[14]=a=>p.value.validate())},{default:n(()=>[m(i(e(o).validate),1)]),_:1}),t(e(C),{block:"",type:"info",onClick:l[15]||(l[15]=a=>d.value=!d.value)},{default:n(()=>[m(i(e(o).disabled),1)]),_:1}),t(e(C),{block:"",type:"primary",onClick:l[16]||(l[16]=a=>v.value=!v.value)},{default:n(()=>[m(i(e(o).readonly),1)]),_:1})]),_:1}),Le],64))}},Fa=F(Oe,[["__scopeId","data-v-9da29a7c"]]);export{Fa as default}; +import{d as P,c as J,a as R,h as K,w as X}from"./components-a5332e66.js";import{a as Z,u as ee,F as ae}from"./provide-4fc67263.js";import{d as le,D as B,aO as z,b7 as oe,_ as F,e as E,m as I,v as Y,x as G,p as q,q as t,U as e,n as te,W as se,r as T,F as re,al as ne,w as n,N as de,Q as m,R as i,$ as ue,a0 as me}from"./index-0bd4ebfc.js";import{g as ie,e as D,t as pe,s as ce}from"./elements-23c82371.js";import{l as fe}from"./shared-a3ff1edc.js";import{I as L}from"./index-bae97d31.js";import{S as O,O as k}from"./index-0c036f3e.js";import{C as ge}from"./index-60111656.js";import{C as w}from"./index-9fe788b6.js";import{a as ve,R as A}from"./index-1ec6d5a5.js";import{B as C}from"./index-1f1d0c91.js";import{S as Ve}from"./index-0fd7c0ec.js";import{S as be}from"./index-1128f16a.js";import{U as ye}from"./index-3c549829.js";import{C as Me}from"./index-b3f25360.js";import{R as ke}from"./index-e122297f.js";import{S as W}from"./index-65cffe90.js";import{I as _e}from"./index-2c5b74fa.js";import{d as Ce}from"./index-d8fbf18c.js";import{u as xe,b as Q,_ as Ue,c as $e,a as Se}from"./index-4a9c2ae2.js";import{A as h}from"./appType-a8f87391.js";import"./logger-525ef361.js";import"./index-d5ac26b6.js";import"./index-5540406a.js";import"./usePopover-1ef39509.js";import"./zIndex-976ced0e.js";import"./index-9eb15296.js";import"./index-123e4258.js";import"./useSelectController-4200caca.js";import"./index-28dcc9be.js";/* empty css */import"./index-27fcaf7d.js";import"./index-d956da3f.js";import"./index-1e0bee81.js";import"./index-0e439e92.js";import"./lock-e6f4e779.js";import"./provide-f823f5cd.js";import"./index-b7d082cd.js";import"./index-67cbdf85.js";import"./provide-e4d73c18.js";import"./index-f71140ae.js";const Te={disabled:Boolean,readonly:Boolean,scrollToError:String,scrollToErrorOffsetY:{type:[String,Number],default:0},onSubmit:P(),onReset:P()},{name:we,n:he}=J("form"),Fe=le({name:we,props:Te,setup(r){const s=B(()=>r.disabled),p=B(()=>r.readonly),{formItems:d,bindFormItems:v}=Z();v({disabled:s,readonly:p});function l(u){setTimeout(()=>{const c=ie(u),f=c===window?0:D(c),y=D(u)-f-pe(r.scrollToErrorOffsetY);ce(c,{top:y,animation:fe})},300)}async function a(u){z(u);const c=await _();R(r.onSubmit,c)}function $(u){z(u),b(),R(r.onReset)}async function _(){var c;const u=await Promise.all(d.map(({validate:f})=>f()));if(r.scrollToError){const[,f]=oe(u,M=>M===!1,r.scrollToError),y=f>-1;if(y){const M=(c=d[f].instance.proxy)==null?void 0:c.$el;l(M)}return!y}return u.every(f=>f===!0)}function b(){return d.forEach(({reset:u})=>u())}function g(){return d.forEach(({resetValidation:u})=>u())}return{n:he,handleSubmit:a,handleReset:$,validate:_,reset:b,resetValidation:g}}});function Ee(r,s,p,d,v,V){return E(),I("form",{class:G(r.n()),onSubmit:s[0]||(s[0]=(...l)=>r.handleSubmit&&r.handleSubmit(...l)),onReset:s[1]||(s[1]=(...l)=>r.handleReset&&r.handleReset(...l))},[Y(r.$slots,"default")],34)}const x=F(Fe,[["render",Ee]]);x.useValidation=K;x.useForm=ee;X(x);const Ie={__name:"CustomFormComponent",props:{modelValue:{type:Boolean},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},rules:{type:Array},validateTrigger:{type:Array,default:()=>["onToggle"]},extraMessage:{type:String}},emits:["update:modelValue"],setup(r,{expose:s,emit:p}){const d=r,{useForm:v,useValidation:V}=x,{errorMessage:l,validateWithTrigger:a,validate:$,resetValidation:_}=V(),{bindForm:b,form:g}=v(),u=()=>$(d.rules,d.modelValue);function c(){p("update:modelValue",!1),_()}function f(S){te(()=>{const{validateTrigger:N,rules:U,modelValue:H}=d;a(N,S,U,H)})}function y(){d.readonly||d.disabled||g!=null&&g.readonly.value||g!=null&&g.disabled.value||(p("update:modelValue",!d.modelValue),f("onToggle"))}const M={reset:c,validate:u,resetValidation:_};return s(M),b==null||b(M),(S,N)=>{var U;return E(),I("div",{class:G(["var-custom-form-component",{"var-custom-form-component--disabled":r.disabled||((U=e(g))==null?void 0:U.disabled.value),"var-custom-form-component--error":e(l)}])},[q("div",{class:"var-custom-form-component__container",onClick:y},[t(e(_e),{class:"var-custom-form-component__icon",name:r.modelValue?"checkbox-marked-circle":"close-circle",transition:250},null,8,["name"]),Y(S.$slots,"default",{},void 0,!0)]),t(e(ae),{"error-message":e(l),"extra-message":r.extraMessage},null,8,["error-message","extra-message"])],2)}}},Ne=F(Ie,[["__scopeId","data-v-235f566f"]]),Pe={example:"表单示例",username:"请输入用户名",usernameMessage:"用户名不能为空",password:"请输入密码",passwordMessage:"请输入密码",department:"请选择部门",departmentMessage:"必须选一个部门",eat:"吃饭",sleep:"睡觉",play:"打游戏",departmentUnit:"部",group:"请选择组织",groupMessage:"至少选择一个组织",groupUnit:"组",genderMessage:"必须选择一个性别",male:"男",female:"女",rateMessage:"必须大于2",likeMessage:"至少选择一个爱好",licenseMessage:"您必须开启",countMessage:"必须大于10",rangeMessage:"必须大于10",filesMessage:"至少上传一张图片",customFormComponent:"自定义表单组件",customLabel:"点我切换",customErrorMessage:"必须是对勾",customExtraMessage:"附加信息",controller:"表单控制",reset:"清空表单",resetValidation:"清空验证",validate:"触发验证",disabled:"表单禁用",readonly:"表单只读"},Re={example:"Form Example",username:"Please input username",usernameMessage:"The username cannot be empty",password:"Please input password",passwordMessage:"The password cannot be empty",department:"Please select department",departmentMessage:"The select cannot be empty",eat:"Eat",sleep:"Sleep",play:"Play game",departmentUnit:" department",group:"Please select group",groupMessage:"The select cannot be empty",groupUnit:" group",genderMessage:"The gender cannot be empty",male:"Male",female:"Female",rateMessage:"It has to be greater than 2",likeMessage:"The select cannot be empty",licenseMessage:"You must turn on",countMessage:"It has to be greater than 10",rangeMessage:"It has to be greater than 10",filesMessage:"Upload at least one picture",customFormComponent:"Custom Form Component",customLabel:"Click toggle",customErrorMessage:"Please check it",customExtraMessage:"Extra message",controller:"Form control",reset:"Empty form",resetValidation:"Empty the validation",validate:"Trigger validation",disabled:"Form disabled",readonly:"Form readonly"},{add:j,use:Be,pack:o,packs:wa,merge:ha}=xe(),ze=r=>{Se(r),Be(r)};Q("zh-CN",Ue);Q("en-US",$e);j("zh-CN",Pe);j("en-US",Re);const De=r=>(ue("data-v-9da29a7c"),r=r(),me(),r),Le=De(()=>q("div",{class:"space"},null,-1)),Oe={__name:"index",setup(r){const s=se({username:"",password:"",department:"",gender:void 0,license:!1,range:0,count:0,group:[],score:0,like:[],files:[],custom:!1}),p=T(null),d=T(!1),v=T(!1);return re(V=>{var l;ze(V),(l=p.value)==null||l.reset()}),ne(Ce),(V,l)=>(E(),I(de,null,[t(e(h),null,{default:n(()=>[m(i(e(o).example),1)]),_:1}),t(e(x),{ref_key:"form",ref:p,disabled:d.value,readonly:v.value,"scroll-to-error":"start","scroll-to-error-offset-y":"14.4vmin"},{default:n(()=>[t(e(W),{direction:"column",size:["4vmin",0]},{default:n(()=>[t(e(L),{placeholder:e(o).username,rules:[a=>!!a||e(o).usernameMessage],modelValue:s.username,"onUpdate:modelValue":l[0]||(l[0]=a=>s.username=a)},null,8,["placeholder","rules","modelValue"]),t(e(L),{type:"password",placeholder:e(o).password,rules:[a=>!!a||e(o).passwordMessage],modelValue:s.password,"onUpdate:modelValue":l[1]||(l[1]=a=>s.password=a)},null,8,["placeholder","rules","modelValue"]),t(e(O),{placeholder:e(o).department,rules:[a=>!!a||e(o).departmentMessage],modelValue:s.department,"onUpdate:modelValue":l[2]||(l[2]=a=>s.department=a)},{default:n(()=>[t(e(k),{label:`${e(o).eat}${e(o).departmentUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).sleep}${e(o).departmentUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).play}${e(o).departmentUnit}`},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),t(e(O),{multiple:"",placeholder:e(o).group,rules:[a=>a.length>=1||e(o).groupMessage],modelValue:s.group,"onUpdate:modelValue":l[3]||(l[3]=a=>s.group=a)},{default:n(()=>[t(e(k),{label:`${e(o).eat}${e(o).groupUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).sleep}${e(o).groupUnit}`},null,8,["label"]),t(e(k),{label:`${e(o).play}${e(o).groupUnit}`},null,8,["label"])]),_:1},8,["placeholder","rules","modelValue"]),t(e(ve),{rules:[a=>!!a||e(o).genderMessage],modelValue:s.gender,"onUpdate:modelValue":l[4]||(l[4]=a=>s.gender=a)},{default:n(()=>[t(e(A),{"checked-value":1},{default:n(()=>[m(i(e(o).male),1)]),_:1}),t(e(A),{"checked-value":2},{default:n(()=>[m(i(e(o).female),1)]),_:1})]),_:1},8,["rules","modelValue"]),t(e(ge),{rules:[a=>a.length>0||e(o).likeMessage],modelValue:s.like,"onUpdate:modelValue":l[5]||(l[5]=a=>s.like=a)},{default:n(()=>[t(e(w),{"checked-value":1},{default:n(()=>[m(i(e(o).eat),1)]),_:1}),t(e(w),{"checked-value":2},{default:n(()=>[m(i(e(o).sleep),1)]),_:1}),t(e(w),{"checked-value":3},{default:n(()=>[m(i(e(o).play),1)]),_:1})]),_:1},8,["rules","modelValue"]),t(e(ke),{rules:[a=>a>=3||e(o).rateMessage],modelValue:s.score,"onUpdate:modelValue":l[6]||(l[6]=a=>s.score=a)},null,8,["rules","modelValue"]),t(e(Ve),{rules:[a=>!!a||e(o).licenseMessage],modelValue:s.license,"onUpdate:modelValue":l[7]||(l[7]=a=>s.license=a)},null,8,["rules","modelValue"]),t(e(Me),{rules:[a=>a>10||e(o).countMessage],modelValue:s.count,"onUpdate:modelValue":l[8]||(l[8]=a=>s.count=a)},null,8,["rules","modelValue"]),t(e(be),{rules:[a=>a>10||e(o).rangeMessage],modelValue:s.range,"onUpdate:modelValue":l[9]||(l[9]=a=>s.range=a)},null,8,["rules","modelValue"]),t(e(ye),{rules:[a=>a.length>=1||e(o).filesMessage],modelValue:s.files,"onUpdate:modelValue":l[10]||(l[10]=a=>s.files=a)},null,8,["rules","modelValue"])]),_:1}),t(e(h),null,{default:n(()=>[m(i(e(o).customFormComponent),1)]),_:1}),t(e(Ne),{"extra-message":e(o).customExtraMessage,rules:[a=>!!a||e(o).customErrorMessage],modelValue:s.custom,"onUpdate:modelValue":l[11]||(l[11]=a=>s.custom=a)},{default:n(()=>[m(i(e(o).customLabel),1)]),_:1},8,["extra-message","rules","modelValue"])]),_:1},8,["disabled","readonly"]),t(e(h),null,{default:n(()=>[m(i(e(o).controller),1)]),_:1}),t(e(W),{direction:"column",size:["4vmin",0]},{default:n(()=>[t(e(C),{block:"",type:"danger",onClick:l[12]||(l[12]=a=>p.value.reset())},{default:n(()=>[m(i(e(o).reset),1)]),_:1}),t(e(C),{block:"",type:"warning",onClick:l[13]||(l[13]=a=>p.value.resetValidation())},{default:n(()=>[m(i(e(o).resetValidation),1)]),_:1}),t(e(C),{block:"",type:"success",onClick:l[14]||(l[14]=a=>p.value.validate())},{default:n(()=>[m(i(e(o).validate),1)]),_:1}),t(e(C),{block:"",type:"info",onClick:l[15]||(l[15]=a=>d.value=!d.value)},{default:n(()=>[m(i(e(o).disabled),1)]),_:1}),t(e(C),{block:"",type:"primary",onClick:l[16]||(l[16]=a=>v.value=!v.value)},{default:n(()=>[m(i(e(o).readonly),1)]),_:1})]),_:1}),Le],64))}},Fa=F(Oe,[["__scopeId","data-v-9da29a7c"]]);export{Fa as default}; diff --git a/assets/index-8c96e01f.js b/assets/index-f71140ae.js similarity index 78% rename from assets/index-8c96e01f.js rename to assets/index-f71140ae.js index fe161a1f2a4..1bcea2da346 100644 --- a/assets/index-8c96e01f.js +++ b/assets/index-f71140ae.js @@ -1 +1 @@ -import{a3 as p,d as l,r as m,_ as c,e as d,m as v,v as w,x as f,y as u}from"./index-af5fec45.js";import{e as S}from"./logger-525ef361.js";import{S as _}from"./provide-521cd214.js";import{c as I,w as $}from"./components-3ae053cb.js";function P(){const{bindParent:e,index:s,parentProvider:t}=p(_);return e||S("SwipeItem"," must in "),{index:s,swipe:t,bindSwipe:e}}const{name:h,n:y}=I("swipe-item"),z=l({name:h,setup(){const e=m(0),{swipe:s,bindSwipe:t,index:r}=P(),{size:i,vertical:a}=s;t({index:r,setTranslate:n});function n(o){e.value=o}return{n:y,size:i,vertical:a,translate:e}}});function E(e,s,t,r,i,a){return d(),v("div",{class:f(e.n()),style:u({width:e.vertical?void 0:`${e.size}px`,height:e.vertical?`${e.size}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.translate}px)`})},[w(e.$slots,"default")],6)}const b=c(z,[["render",E]]);$(b);export{b as S}; +import{a3 as p,d as l,r as m,_ as c,e as d,m as v,v as w,x as f,y as u}from"./index-0bd4ebfc.js";import{e as S}from"./logger-525ef361.js";import{S as _}from"./provide-e4d73c18.js";import{c as I,w as $}from"./components-a5332e66.js";function P(){const{bindParent:e,index:s,parentProvider:t}=p(_);return e||S("SwipeItem"," must in "),{index:s,swipe:t,bindSwipe:e}}const{name:h,n:y}=I("swipe-item"),z=l({name:h,setup(){const e=m(0),{swipe:s,bindSwipe:t,index:r}=P(),{size:i,vertical:a}=s;t({index:r,setTranslate:n});function n(o){e.value=o}return{n:y,size:i,vertical:a,translate:e}}});function E(e,s,t,r,i,a){return d(),v("div",{class:f(e.n()),style:u({width:e.vertical?void 0:`${e.size}px`,height:e.vertical?`${e.size}px`:void 0,transform:`translate${e.vertical?"Y":"X"}(${e.translate}px)`})},[w(e.$slots,"default")],6)}const b=c(z,[["render",E]]);$(b);export{b as S}; diff --git a/assets/index-8ffed91e.js b/assets/index-f748fb96.js similarity index 93% rename from assets/index-8ffed91e.js rename to assets/index-f748fb96.js index 7fbe533885a..ee42480f9a3 100644 --- a/assets/index-8ffed91e.js +++ b/assets/index-f748fb96.js @@ -1 +1 @@ -import{M as ee}from"./index-3f206173.js";import{v as ae}from"./index-2b41cfe8.js";import{I as le}from"./index-057aa4ba.js";import{C as ie}from"./index-4237591d.js";import{I as se}from"./index-ba1a9006.js";import{d as T,f as ne,c as oe,a as U,w as ue}from"./components-3ae053cb.js";import{d as re,r as V,a4 as u,D as N,G as K,ae as H,_ as te,b as B,L as de,e as d,m as f,P as S,x as r,v as O,q as y,b9 as Q,p as $,Q as q,R as b,N as R,O as F,w as L,f as me,M as pe,t as D}from"./index-af5fec45.js";import{p as ve}from"./index-2b61c8d0.js";const fe={current:[Number,String],size:{type:[Number,String],default:10},total:{type:[Number,String],default:0},elevation:{type:[Boolean,Number,String],default:!0},maxPagerCount:{type:Number,default:3},disabled:Boolean,simple:{type:Boolean,default:!0},showSizeChanger:{type:Boolean,default:!0},showQuickJumper:Boolean,sizeOption:{type:Array,default:()=>[10,20,50,100]},showTotal:Function,onChange:T(),"onUpdate:current":T(),"onUpdate:size":T()},{name:be,n:ge,classes:ke}=oe("pagination"),Ve=re({name:be,components:{VarMenu:ee,VarIcon:le,VarCell:ie,VarInput:se},directives:{Ripple:ae},props:fe,setup(e){const i=V(!1),E=V(""),h=V("1"),C=V(!1),z=V(!1),s=V(u(e.current)||1),m=V(u(e.size)||10),M=V([]),c=N(()=>Math.ceil(e.maxPagerCount/2)),p=N(()=>Math.ceil(u(e.total)/u(m.value))),l=N(()=>{const a=m.value*(s.value-1)+1,o=Math.min(m.value*s.value,u(e.total));return[a,o]}),k=N(()=>e.showTotal?e.showTotal(u(e.total),l.value):"");K([()=>e.current,()=>e.size],([a,o])=>{s.value=u(a)||1,m.value=u(o||10)}),K([s,m,p],([a,o,g],[P,Y])=>{let t=[];const{maxPagerCount:v,total:Z,onChange:x}=e,_=Math.ceil(u(Z)/u(Y)),J=g-(v-c.value)-1;if(h.value=`${a}`,g-2>v){if(P===void 0||g!==_)for(let n=2;nv&&a=J){t=[];for(let n=1;n0&&U(x,a,o),U(e["onUpdate:current"],a),U(e["onUpdate:size"],o)},{immediate:!0});function w(a,o){return H(a)?!1:o===1?C.value:z.value}function A(a,o){return H(a)?"basic":o===1?"head":"tail"}function G(a,o){if(!(a===s.value||e.disabled)){if(a==="..."){s.value=o===1?Math.max(s.value-e.maxPagerCount,1):Math.min(s.value+e.maxPagerCount,p.value);return}if(a==="prev"){s.value=I(s.value-1);return}if(a==="next"){s.value=I(s.value+1);return}H(a)&&(s.value=a)}}function j(){e.disabled||(i.value=!0)}function W(a){m.value=a,i.value=!1;const o=I(s.value);h.value=String(o),s.value=o}function I(a){return a>p.value?p.value:a<1?1:a}function X(a,o,g){g.target.blur();const P=I(u(o));h.value=String(P),s.value=P,a==="quick"&&(E.value="")}return{pack:ve,current:s,menuVisible:i,size:m,pageCount:p,pageList:M,quickJumperValue:E,simpleCurrentValue:h,totalText:k,n:ge,classes:ke,getMode:A,isHideEllipsis:w,clickItem:G,showMenu:j,clickSize:W,setPage:X,toNumber:u,formatElevation:ne}}});const ye=["item-mode","onClick"];function he(e,i,E,h,C,z){const s=B("var-icon"),m=B("var-input"),M=B("var-cell"),c=B("var-menu"),p=de("ripple");return d(),f("ul",{class:r(e.n())},[S((d(),f("li",{class:r(e.classes(e.n("item"),e.n("prev"),[e.current<=1||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:i[0]||(i[0]=l=>e.clickItem("prev"))},[O(e.$slots,"prev",{},()=>[y(s,{name:"chevron-left"})])],2)),[[p,{disabled:e.current<=1||e.disabled}]]),e.simple?(d(),f("li",{key:0,class:r(e.classes(e.n("simple"),[e.disabled,e.n("item--disabled")]))},[y(m,{"var-pagination-cover":"",hint:!1,disabled:e.disabled,modelValue:e.simpleCurrentValue,"onUpdate:modelValue":i[1]||(i[1]=l=>e.simpleCurrentValue=l),onBlur:i[2]||(i[2]=l=>e.setPage("simple",e.simpleCurrentValue,l)),onKeydown:i[3]||(i[3]=Q(l=>e.setPage("simple",e.simpleCurrentValue,l),["enter"]))},null,8,["disabled","modelValue"]),$("span",null,[q(" / "+b(e.pageCount)+" ",1),$("div",{class:r(e.n("simple-line"))},null,2)])],2)):(d(!0),f(R,{key:1},F(e.pageList,(l,k)=>S((d(),f("li",{key:k,"item-mode":e.getMode(l,k),class:r(e.classes(e.n("item"),e.formatElevation(e.elevation,2),[l===e.current&&!e.disabled,e.n("item--active")],[e.isHideEllipsis(l,k),e.n("item--hide")],[e.disabled,e.n("item--disabled")],[l===e.current&&e.disabled,e.n("item--disabled--active")])),onClick:w=>e.clickItem(l,k)},[q(b(l),1)],10,ye)),[[p,{disabled:e.disabled}]])),128)),S((d(),f("li",{class:r(e.classes(e.n("item"),e.n("next"),[e.current>=e.pageCount||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:i[4]||(i[4]=l=>e.clickItem("next"))},[O(e.$slots,"next",{},()=>[y(s,{name:"chevron-right"})])],2)),[[p,{disabled:e.current>=e.pageCount||e.disabled}]]),e.showSizeChanger?(d(),f("li",{key:2,class:r(e.classes(e.n("size"),[e.disabled,e.n("item--disabled")]))},[y(c,{placement:"cover-top",disabled:e.disabled,show:e.menuVisible,"onUpdate:show":i[6]||(i[6]=l=>e.menuVisible=l)},{menu:L(()=>[(d(!0),f(R,null,F(e.sizeOption,(l,k)=>S((d(),me(M,{class:r(e.classes(e.n("list"),[e.size===l,e.n("list--active")])),key:k,onClick:w=>e.clickSize(l)},{default:L(()=>[q(b(l)+b(e.pack.paginationItem)+" / "+b(e.pack.paginationPage),1)]),_:2},1032,["class","onClick"])),[[p]])),128))]),default:L(()=>[$("div",{class:r(e.classes(e.n("size--open"),[e.current<=1||e.disabled,e.n("size--open--disabled")])),onClick:i[5]||(i[5]=pe((...l)=>e.showMenu&&e.showMenu(...l),["stop"]))},[$("span",null,b(e.size)+b(e.pack.paginationItem)+" / "+b(e.pack.paginationPage),1),y(s,{class:r(e.n("size--open-icon")),"var-pagination-cover":"",name:"menu-down"},null,8,["class"])],2)]),_:1},8,["disabled","show"])],2)):D("",!0),e.showQuickJumper&&!e.simple?(d(),f("li",{key:3,class:r(e.classes(e.n("quickly"),[e.disabled,e.n("item--disabled")]))},[q(b(e.pack.paginationJump)+" ",1),y(m,{modelValue:e.quickJumperValue,"onUpdate:modelValue":i[7]||(i[7]=l=>e.quickJumperValue=l),disabled:e.disabled,"var-pagination-cover":"",onBlur:i[8]||(i[8]=l=>e.setPage("quick",e.quickJumperValue,l)),onKeydown:i[9]||(i[9]=Q(l=>e.setPage("quick",e.quickJumperValue,l),["enter"]))},null,8,["modelValue","disabled"])],2)):D("",!0),e.totalText?(d(),f("li",{key:4,class:r(e.classes(e.n("total"),[e.disabled,e.n("item--disabled")]))},b(e.totalText),3)):D("",!0)],2)}const Ce=te(Ve,[["render",he]]);ue(Ce);export{Ce as P}; +import{M as ee}from"./index-5540406a.js";import{v as ae}from"./index-28dcc9be.js";import{I as le}from"./index-2c5b74fa.js";import{C as ie}from"./index-3f170ae4.js";import{I as se}from"./index-bae97d31.js";import{d as T,f as ne,c as oe,a as U,w as ue}from"./components-a5332e66.js";import{d as re,r as V,a4 as u,D as N,G as K,ae as H,_ as te,b as B,L as de,e as d,m as f,P as S,x as r,v as O,q as y,b9 as Q,p as $,Q as q,R as b,N as R,O as F,w as L,f as me,M as pe,t as D}from"./index-0bd4ebfc.js";import{p as ve}from"./index-4a9c2ae2.js";const fe={current:[Number,String],size:{type:[Number,String],default:10},total:{type:[Number,String],default:0},elevation:{type:[Boolean,Number,String],default:!0},maxPagerCount:{type:Number,default:3},disabled:Boolean,simple:{type:Boolean,default:!0},showSizeChanger:{type:Boolean,default:!0},showQuickJumper:Boolean,sizeOption:{type:Array,default:()=>[10,20,50,100]},showTotal:Function,onChange:T(),"onUpdate:current":T(),"onUpdate:size":T()},{name:be,n:ge,classes:ke}=oe("pagination"),Ve=re({name:be,components:{VarMenu:ee,VarIcon:le,VarCell:ie,VarInput:se},directives:{Ripple:ae},props:fe,setup(e){const i=V(!1),E=V(""),h=V("1"),C=V(!1),z=V(!1),s=V(u(e.current)||1),m=V(u(e.size)||10),M=V([]),c=N(()=>Math.ceil(e.maxPagerCount/2)),p=N(()=>Math.ceil(u(e.total)/u(m.value))),l=N(()=>{const a=m.value*(s.value-1)+1,o=Math.min(m.value*s.value,u(e.total));return[a,o]}),k=N(()=>e.showTotal?e.showTotal(u(e.total),l.value):"");K([()=>e.current,()=>e.size],([a,o])=>{s.value=u(a)||1,m.value=u(o||10)}),K([s,m,p],([a,o,g],[P,Y])=>{let t=[];const{maxPagerCount:v,total:Z,onChange:x}=e,_=Math.ceil(u(Z)/u(Y)),J=g-(v-c.value)-1;if(h.value=`${a}`,g-2>v){if(P===void 0||g!==_)for(let n=2;nv&&a=J){t=[];for(let n=1;n0&&U(x,a,o),U(e["onUpdate:current"],a),U(e["onUpdate:size"],o)},{immediate:!0});function w(a,o){return H(a)?!1:o===1?C.value:z.value}function A(a,o){return H(a)?"basic":o===1?"head":"tail"}function G(a,o){if(!(a===s.value||e.disabled)){if(a==="..."){s.value=o===1?Math.max(s.value-e.maxPagerCount,1):Math.min(s.value+e.maxPagerCount,p.value);return}if(a==="prev"){s.value=I(s.value-1);return}if(a==="next"){s.value=I(s.value+1);return}H(a)&&(s.value=a)}}function j(){e.disabled||(i.value=!0)}function W(a){m.value=a,i.value=!1;const o=I(s.value);h.value=String(o),s.value=o}function I(a){return a>p.value?p.value:a<1?1:a}function X(a,o,g){g.target.blur();const P=I(u(o));h.value=String(P),s.value=P,a==="quick"&&(E.value="")}return{pack:ve,current:s,menuVisible:i,size:m,pageCount:p,pageList:M,quickJumperValue:E,simpleCurrentValue:h,totalText:k,n:ge,classes:ke,getMode:A,isHideEllipsis:w,clickItem:G,showMenu:j,clickSize:W,setPage:X,toNumber:u,formatElevation:ne}}});const ye=["item-mode","onClick"];function he(e,i,E,h,C,z){const s=B("var-icon"),m=B("var-input"),M=B("var-cell"),c=B("var-menu"),p=de("ripple");return d(),f("ul",{class:r(e.n())},[S((d(),f("li",{class:r(e.classes(e.n("item"),e.n("prev"),[e.current<=1||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:i[0]||(i[0]=l=>e.clickItem("prev"))},[O(e.$slots,"prev",{},()=>[y(s,{name:"chevron-left"})])],2)),[[p,{disabled:e.current<=1||e.disabled}]]),e.simple?(d(),f("li",{key:0,class:r(e.classes(e.n("simple"),[e.disabled,e.n("item--disabled")]))},[y(m,{"var-pagination-cover":"",hint:!1,disabled:e.disabled,modelValue:e.simpleCurrentValue,"onUpdate:modelValue":i[1]||(i[1]=l=>e.simpleCurrentValue=l),onBlur:i[2]||(i[2]=l=>e.setPage("simple",e.simpleCurrentValue,l)),onKeydown:i[3]||(i[3]=Q(l=>e.setPage("simple",e.simpleCurrentValue,l),["enter"]))},null,8,["disabled","modelValue"]),$("span",null,[q(" / "+b(e.pageCount)+" ",1),$("div",{class:r(e.n("simple-line"))},null,2)])],2)):(d(!0),f(R,{key:1},F(e.pageList,(l,k)=>S((d(),f("li",{key:k,"item-mode":e.getMode(l,k),class:r(e.classes(e.n("item"),e.formatElevation(e.elevation,2),[l===e.current&&!e.disabled,e.n("item--active")],[e.isHideEllipsis(l,k),e.n("item--hide")],[e.disabled,e.n("item--disabled")],[l===e.current&&e.disabled,e.n("item--disabled--active")])),onClick:w=>e.clickItem(l,k)},[q(b(l),1)],10,ye)),[[p,{disabled:e.disabled}]])),128)),S((d(),f("li",{class:r(e.classes(e.n("item"),e.n("next"),[e.current>=e.pageCount||e.disabled,e.n("item--disabled")],[e.simple,e.n("item--simple"),e.formatElevation(e.elevation,2)])),onClick:i[4]||(i[4]=l=>e.clickItem("next"))},[O(e.$slots,"next",{},()=>[y(s,{name:"chevron-right"})])],2)),[[p,{disabled:e.current>=e.pageCount||e.disabled}]]),e.showSizeChanger?(d(),f("li",{key:2,class:r(e.classes(e.n("size"),[e.disabled,e.n("item--disabled")]))},[y(c,{placement:"cover-top",disabled:e.disabled,show:e.menuVisible,"onUpdate:show":i[6]||(i[6]=l=>e.menuVisible=l)},{menu:L(()=>[(d(!0),f(R,null,F(e.sizeOption,(l,k)=>S((d(),me(M,{class:r(e.classes(e.n("list"),[e.size===l,e.n("list--active")])),key:k,onClick:w=>e.clickSize(l)},{default:L(()=>[q(b(l)+b(e.pack.paginationItem)+" / "+b(e.pack.paginationPage),1)]),_:2},1032,["class","onClick"])),[[p]])),128))]),default:L(()=>[$("div",{class:r(e.classes(e.n("size--open"),[e.current<=1||e.disabled,e.n("size--open--disabled")])),onClick:i[5]||(i[5]=pe((...l)=>e.showMenu&&e.showMenu(...l),["stop"]))},[$("span",null,b(e.size)+b(e.pack.paginationItem)+" / "+b(e.pack.paginationPage),1),y(s,{class:r(e.n("size--open-icon")),"var-pagination-cover":"",name:"menu-down"},null,8,["class"])],2)]),_:1},8,["disabled","show"])],2)):D("",!0),e.showQuickJumper&&!e.simple?(d(),f("li",{key:3,class:r(e.classes(e.n("quickly"),[e.disabled,e.n("item--disabled")]))},[q(b(e.pack.paginationJump)+" ",1),y(m,{modelValue:e.quickJumperValue,"onUpdate:modelValue":i[7]||(i[7]=l=>e.quickJumperValue=l),disabled:e.disabled,"var-pagination-cover":"",onBlur:i[8]||(i[8]=l=>e.setPage("quick",e.quickJumperValue,l)),onKeydown:i[9]||(i[9]=Q(l=>e.setPage("quick",e.quickJumperValue,l),["enter"]))},null,8,["modelValue","disabled"])],2)):D("",!0),e.totalText?(d(),f("li",{key:4,class:r(e.classes(e.n("total"),[e.disabled,e.n("item--disabled")]))},b(e.totalText),3)):D("",!0)],2)}const Ce=te(Ve,[["render",he]]);ue(Ce);export{Ce as P}; diff --git a/assets/index-2a46eb17.js b/assets/index-f92ac5ca.js similarity index 92% rename from assets/index-2a46eb17.js rename to assets/index-f92ac5ca.js index 68ef880ab6d..f88b4530ed7 100644 --- a/assets/index-2a46eb17.js +++ b/assets/index-f92ac5ca.js @@ -1 +1 @@ -import{v as $}from"./index-2b41cfe8.js";import{p as b,P as R}from"./index-d24e7e49.js";import{I as B}from"./index-057aa4ba.js";import{d as f,p as U,c as z,a as t,m as I,w as g}from"./components-3ae053cb.js";import{p as D}from"./index-2b61c8d0.js";import{d as N,r as V,G as L,_ as T,b as y,L as E,e as p,f as C,w as F,p as m,as as S,v as w,x as c,R as O,m as k,N as G,O as W,P as j,y as q,t as H,af as J,W as K,n as M}from"./index-af5fec45.js";const Q={show:Boolean,title:String,actions:{type:Array,default:()=>[]},closeOnClickAction:{type:Boolean,default:!0},onSelect:f(),"onUpdate:show":f(),...U(b,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","safeArea","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])},{name:X,n:Y,classes:Z}=z("action-sheet"),_=N({name:X,directives:{Ripple:$},components:{VarPopup:R,VarIcon:B},inheritAttrs:!1,props:Q,setup(e){const l=V(!1);L(()=>e.show,n=>{l.value=n},{immediate:!0});function o(n){if(n.disabled)return;const{closeOnClickAction:h,onSelect:u}=e;t(u,n),h&&t(e["onUpdate:show"],!1)}function i(n){t(e["onUpdate:show"],n)}return{popupShow:l,pack:D,n:Y,classes:Z,handlePopupUpdateShow:i,handleSelect:o}}});const x=["onClick"];function ee(e,l,o,i,n,h){const u=y("var-icon"),A=y("var-popup"),P=E("ripple");return p(),C(A,S({class:e.n("popup-radius"),position:"bottom",show:e.popupShow,overlay:e.overlay,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,teleport:e.teleport,"safe-area":e.safeArea},{"onUpdate:show":e.handlePopupUpdateShow},{onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange}),{default:F(()=>[m("div",S({class:e.classes(e.n(),e.n("$--box"))},e.$attrs),[w(e.$slots,"title",{},()=>[m("div",{class:c(e.n("title"))},O(e.title??e.pack.actionSheetTitle),3)]),w(e.$slots,"actions",{},()=>[(p(!0),k(G,null,W(e.actions,s=>j((p(),k("div",{class:c(e.classes(e.n("action-item"),s.className,[s.disabled,e.n("--disabled")])),key:s.name,style:q({color:s.color}),onClick:ne=>e.handleSelect(s)},[s.icon?(p(),C(u,{key:0,class:c(e.n("action-icon")),"var-action-sheet-cover":"",namespace:s.namespace,name:s.icon,size:s.iconSize},null,8,["class","namespace","name","size"])):H("",!0),m("div",{class:c(e.n("action-name"))},O(s.name),3)],14,x)),[[P,{disabled:s.disabled}]])),128))])],16)]),_:3},16,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","safe-area","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const d=T(_,[["render",ee]]);let a,v={};function oe(e={}){return{...v,...e}}function r(e){return J()?new Promise(l=>{r.close();const o=K(oe(e));o.teleport="body",a=o;const{unmountInstance:i}=I(d,o,{onSelect:n=>{t(o.onSelect,n),l(n)},onClose:()=>{t(o.onClose),l("close")},onClosed:()=>{t(o.onClosed),i(),a===o&&(a=null)},onRouteChange:()=>{i(),a===o&&(a=null)},"onUpdate:show":n=>{o.show=n}});o.show=!0}):Promise.resolve()}r.setDefaultOptions=function(e){v=e};r.resetDefaultOptions=function(){v={}};r.close=function(){if(a!=null){const e=a;a=null,M().then(()=>{e.show=!1})}};r.Component=d;g(d);g(d,r);export{r as A}; +import{v as $}from"./index-28dcc9be.js";import{p as b,P as R}from"./index-0e439e92.js";import{I as B}from"./index-2c5b74fa.js";import{d as f,p as U,c as z,a as t,m as I,w as g}from"./components-a5332e66.js";import{p as D}from"./index-4a9c2ae2.js";import{d as N,r as V,G as L,_ as T,b as y,L as E,e as p,f as C,w as F,p as m,as as S,v as w,x as c,R as O,m as k,N as G,O as W,P as j,y as q,t as H,af as J,W as K,n as M}from"./index-0bd4ebfc.js";const Q={show:Boolean,title:String,actions:{type:Array,default:()=>[]},closeOnClickAction:{type:Boolean,default:!0},onSelect:f(),"onUpdate:show":f(),...U(b,["overlay","overlayClass","overlayStyle","lockScroll","closeOnClickOverlay","safeArea","teleport","onOpen","onClose","onOpened","onClosed","onClickOverlay","onRouteChange"])},{name:X,n:Y,classes:Z}=z("action-sheet"),_=N({name:X,directives:{Ripple:$},components:{VarPopup:R,VarIcon:B},inheritAttrs:!1,props:Q,setup(e){const l=V(!1);L(()=>e.show,n=>{l.value=n},{immediate:!0});function o(n){if(n.disabled)return;const{closeOnClickAction:h,onSelect:u}=e;t(u,n),h&&t(e["onUpdate:show"],!1)}function i(n){t(e["onUpdate:show"],n)}return{popupShow:l,pack:D,n:Y,classes:Z,handlePopupUpdateShow:i,handleSelect:o}}});const x=["onClick"];function ee(e,l,o,i,n,h){const u=y("var-icon"),A=y("var-popup"),P=E("ripple");return p(),C(A,S({class:e.n("popup-radius"),position:"bottom",show:e.popupShow,overlay:e.overlay,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,teleport:e.teleport,"safe-area":e.safeArea},{"onUpdate:show":e.handlePopupUpdateShow},{onOpen:e.onOpen,onClose:e.onClose,onClosed:e.onClosed,onOpened:e.onOpened,onRouteChange:e.onRouteChange}),{default:F(()=>[m("div",S({class:e.classes(e.n(),e.n("$--box"))},e.$attrs),[w(e.$slots,"title",{},()=>[m("div",{class:c(e.n("title"))},O(e.title??e.pack.actionSheetTitle),3)]),w(e.$slots,"actions",{},()=>[(p(!0),k(G,null,W(e.actions,s=>j((p(),k("div",{class:c(e.classes(e.n("action-item"),s.className,[s.disabled,e.n("--disabled")])),key:s.name,style:q({color:s.color}),onClick:ne=>e.handleSelect(s)},[s.icon?(p(),C(u,{key:0,class:c(e.n("action-icon")),"var-action-sheet-cover":"",namespace:s.namespace,name:s.icon,size:s.iconSize},null,8,["class","namespace","name","size"])):H("",!0),m("div",{class:c(e.n("action-name"))},O(s.name),3)],14,x)),[[P,{disabled:s.disabled}]])),128))])],16)]),_:3},16,["class","show","overlay","overlay-class","overlay-style","lock-scroll","close-on-click-overlay","teleport","safe-area","onOpen","onClose","onClosed","onOpened","onRouteChange"])}const d=T(_,[["render",ee]]);let a,v={};function oe(e={}){return{...v,...e}}function r(e){return J()?new Promise(l=>{r.close();const o=K(oe(e));o.teleport="body",a=o;const{unmountInstance:i}=I(d,o,{onSelect:n=>{t(o.onSelect,n),l(n)},onClose:()=>{t(o.onClose),l("close")},onClosed:()=>{t(o.onClosed),i(),a===o&&(a=null)},onRouteChange:()=>{i(),a===o&&(a=null)},"onUpdate:show":n=>{o.show=n}});o.show=!0}):Promise.resolve()}r.setDefaultOptions=function(e){v=e};r.resetDefaultOptions=function(){v={}};r.close=function(){if(a!=null){const e=a;a=null,M().then(()=>{e.show=!1})}};r.Component=d;g(d);g(d,r);export{r as A}; diff --git a/assets/index-7000f71c.js b/assets/index-f96199bf.js similarity index 63% rename from assets/index-7000f71c.js rename to assets/index-f96199bf.js index e071cc18dfb..001614b867a 100644 --- a/assets/index-7000f71c.js +++ b/assets/index-f96199bf.js @@ -1 +1 @@ -import{F as n,b as r,e as c,m,q as a,w as p,U as u,N as _,Q as l}from"./index-af5fec45.js";import{u as d,a as h,b as s,_ as N,c as b}from"./index-2b61c8d0.js";import{A as f}from"./appType-53211ea9.js";const i={},x={},{add:o,use:C,pack:g,packs:A,merge:B}=d(),U=e=>{h(e),C(e)};s("zh-CN",N);s("en-US",b);o("zh-CN",i);o("en-US",x);const F={__name:"index",setup(e){return n(U),(k,z)=>{const t=r("var-breadcrumb");return c(),m(_,null,[a(u(f),null,{default:p(()=>[l("Mobile phone example code")]),_:1}),a(t)],64)}}};export{F as default}; +import{F as n,b as r,e as c,m,q as a,w as p,U as u,N as _,Q as l}from"./index-0bd4ebfc.js";import{u as d,a as h,b as s,_ as N,c as b}from"./index-4a9c2ae2.js";import{A as f}from"./appType-a8f87391.js";const i={},x={},{add:o,use:C,pack:g,packs:A,merge:B}=d(),U=e=>{h(e),C(e)};s("zh-CN",N);s("en-US",b);o("zh-CN",i);o("en-US",x);const F={__name:"index",setup(e){return n(U),(k,z)=>{const t=r("var-breadcrumb");return c(),m(_,null,[a(u(f),null,{default:p(()=>[l("Mobile phone example code")]),_:1}),a(t)],64)}}};export{F as default}; diff --git a/assets/index-a16307e6.js b/assets/index-faab79ab.js similarity index 87% rename from assets/index-a16307e6.js rename to assets/index-faab79ab.js index 46f4dc618c2..48f80213845 100644 --- a/assets/index-a16307e6.js +++ b/assets/index-faab79ab.js @@ -1 +1 @@ -import{S as o}from"./index-d408e6ab.js";import{S as i}from"./index-8c96e01f.js";import{S as b}from"./index-0ad054ca.js";import{_ as x,F as y,e as d,m as g,q as l,w as e,U as t,N as h,Q as n,R as u,p as a,O as N,x as I,$ as U,a0 as k}from"./index-af5fec45.js";import{u as L,b as f,_ as z,c as B,a as V}from"./index-2b61c8d0.js";import{A as p}from"./appType-53211ea9.js";import"./index-84d96475.js";import"./index-2b41cfe8.js";import"./index-e95cf05b.js";import"./components-3ae053cb.js";/* empty css */import"./index-a6f8e46a.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-2c1498a1.js";import"./index-8bbf4ef8.js";import"./index-057aa4ba.js";import"./provide-521cd214.js";import"./provide-c3581da5.js";import"./zIndex-a2732bb2.js";import"./lock-7a098446.js";const $={basicUsage:"基本使用",forbidLoop:"禁止循环轮播",autoplay:"开启自动播放",vertical:"垂直轮播",navigation:"导航",handleChange:"监听切换",customIndicator:"自定义指示器"},A={basicUsage:"Basic Usage",forbidLoop:"Forbid Loop",autoplay:"Autoplay",vertical:"Vertical Swipe",navigation:"Navigation",handleChange:"Handle Change",customIndicator:"Custom Indicator"},{add:w,use:F,pack:r,packs:At,merge:Ft}=L(),T=c=>{V(c),F(c)};f("zh-CN",z);f("en-US",B);w("zh-CN",$);w("en-US",A);const s=c=>(U("data-v-a78d2bc7"),c=c(),k(),c),q=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),D=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),E=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),H=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),O=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),Q=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),R=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),G=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),J=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),K=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),M=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),P=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),W=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),X=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),Y=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),Z=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),tt=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),et=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),lt=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),at=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),st=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),it=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},null,-1)),ot=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg"},null,-1)),ct=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg"},null,-1)),nt={class:"swipe-indicators"},ut=["onClick"],pt=s(()=>a("div",{class:"space"},null,-1)),rt={__name:"index",setup(c){return y(T),(_t,m)=>(d(),g(h,null,[l(t(p),null,{default:e(()=>[n(u(t(r).basicUsage),1)]),_:1}),l(t(o),{class:"swipe"},{default:e(()=>[l(t(i),null,{default:e(()=>[q]),_:1}),l(t(i),null,{default:e(()=>[D]),_:1}),l(t(i),null,{default:e(()=>[E]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).forbidLoop),1)]),_:1}),l(t(o),{class:"swipe",loop:!1},{default:e(()=>[l(t(i),null,{default:e(()=>[H]),_:1}),l(t(i),null,{default:e(()=>[O]),_:1}),l(t(i),null,{default:e(()=>[Q]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).autoplay),1)]),_:1}),l(t(o),{class:"swipe",autoplay:2e3},{default:e(()=>[l(t(i),null,{default:e(()=>[R]),_:1}),l(t(i),null,{default:e(()=>[G]),_:1}),l(t(i),null,{default:e(()=>[J]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).vertical),1)]),_:1}),l(t(o),{class:"swipe",vertical:""},{default:e(()=>[l(t(i),null,{default:e(()=>[K]),_:1}),l(t(i),null,{default:e(()=>[M]),_:1}),l(t(i),null,{default:e(()=>[P]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).navigation),1)]),_:1}),l(t(o),{class:"swipe",navigation:""},{default:e(()=>[l(t(i),null,{default:e(()=>[W]),_:1}),l(t(i),null,{default:e(()=>[X]),_:1}),l(t(i),null,{default:e(()=>[Y]),_:1})]),_:1}),l(t(o),{class:"swipe",style:{"margin-top":"12px"},navigation:"hover"},{default:e(()=>[l(t(i),null,{default:e(()=>[Z]),_:1}),l(t(i),null,{default:e(()=>[tt]),_:1}),l(t(i),null,{default:e(()=>[et]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).handleChange),1)]),_:1}),l(t(o),{class:"swipe",onChange:m[0]||(m[0]=_=>t(b)(String(_)))},{default:e(()=>[l(t(i),null,{default:e(()=>[lt]),_:1}),l(t(i),null,{default:e(()=>[at]),_:1}),l(t(i),null,{default:e(()=>[st]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).customIndicator),1)]),_:1}),l(t(o),{class:"swipe-example"},{indicator:e(({index:_,length:j,to:C})=>[a("div",nt,[(d(!0),g(h,null,N(j,(S,v)=>(d(),g("div",{class:I(["swipe-indicator",{"swipe-active-indicator":v===_}]),key:S,onClick:dt=>C(v)},null,10,ut))),128))])]),default:e(()=>[l(t(i),null,{default:e(()=>[it]),_:1}),l(t(i),null,{default:e(()=>[ot]),_:1}),l(t(i),null,{default:e(()=>[ct]),_:1})]),_:1}),pt],64))}},Tt=x(rt,[["__scopeId","data-v-a78d2bc7"]]);export{Tt as default}; +import{S as o}from"./index-67cbdf85.js";import{S as i}from"./index-f71140ae.js";import{S as b}from"./index-1ed406cf.js";import{_ as x,F as y,e as d,m as g,q as l,w as e,U as t,N as h,Q as n,R as u,p as a,O as N,x as I,$ as U,a0 as k}from"./index-0bd4ebfc.js";import{u as L,b as f,_ as z,c as B,a as V}from"./index-4a9c2ae2.js";import{A as p}from"./appType-a8f87391.js";import"./index-1f1d0c91.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./provide-e4d73c18.js";import"./provide-f823f5cd.js";import"./zIndex-976ced0e.js";import"./lock-e6f4e779.js";const $={basicUsage:"基本使用",forbidLoop:"禁止循环轮播",autoplay:"开启自动播放",vertical:"垂直轮播",navigation:"导航",handleChange:"监听切换",customIndicator:"自定义指示器"},A={basicUsage:"Basic Usage",forbidLoop:"Forbid Loop",autoplay:"Autoplay",vertical:"Vertical Swipe",navigation:"Navigation",handleChange:"Handle Change",customIndicator:"Custom Indicator"},{add:w,use:F,pack:r,packs:At,merge:Ft}=L(),T=c=>{V(c),F(c)};f("zh-CN",z);f("en-US",B);w("zh-CN",$);w("en-US",A);const s=c=>(U("data-v-a78d2bc7"),c=c(),k(),c),q=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),D=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),E=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),H=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),O=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),Q=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),R=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),G=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),J=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),K=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),M=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),P=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),W=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),X=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),Y=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),Z=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),tt=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),et=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),lt=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg",alt:""},null,-1)),at=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg",alt:""},null,-1)),st=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg",alt:""},null,-1)),it=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat.jpg"},null,-1)),ot=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat2.jpg"},null,-1)),ct=s(()=>a("img",{class:"swipe-item",src:"https://varlet.gitee.io/varlet-ui/cat3.jpg"},null,-1)),nt={class:"swipe-indicators"},ut=["onClick"],pt=s(()=>a("div",{class:"space"},null,-1)),rt={__name:"index",setup(c){return y(T),(_t,m)=>(d(),g(h,null,[l(t(p),null,{default:e(()=>[n(u(t(r).basicUsage),1)]),_:1}),l(t(o),{class:"swipe"},{default:e(()=>[l(t(i),null,{default:e(()=>[q]),_:1}),l(t(i),null,{default:e(()=>[D]),_:1}),l(t(i),null,{default:e(()=>[E]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).forbidLoop),1)]),_:1}),l(t(o),{class:"swipe",loop:!1},{default:e(()=>[l(t(i),null,{default:e(()=>[H]),_:1}),l(t(i),null,{default:e(()=>[O]),_:1}),l(t(i),null,{default:e(()=>[Q]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).autoplay),1)]),_:1}),l(t(o),{class:"swipe",autoplay:2e3},{default:e(()=>[l(t(i),null,{default:e(()=>[R]),_:1}),l(t(i),null,{default:e(()=>[G]),_:1}),l(t(i),null,{default:e(()=>[J]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).vertical),1)]),_:1}),l(t(o),{class:"swipe",vertical:""},{default:e(()=>[l(t(i),null,{default:e(()=>[K]),_:1}),l(t(i),null,{default:e(()=>[M]),_:1}),l(t(i),null,{default:e(()=>[P]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).navigation),1)]),_:1}),l(t(o),{class:"swipe",navigation:""},{default:e(()=>[l(t(i),null,{default:e(()=>[W]),_:1}),l(t(i),null,{default:e(()=>[X]),_:1}),l(t(i),null,{default:e(()=>[Y]),_:1})]),_:1}),l(t(o),{class:"swipe",style:{"margin-top":"12px"},navigation:"hover"},{default:e(()=>[l(t(i),null,{default:e(()=>[Z]),_:1}),l(t(i),null,{default:e(()=>[tt]),_:1}),l(t(i),null,{default:e(()=>[et]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).handleChange),1)]),_:1}),l(t(o),{class:"swipe",onChange:m[0]||(m[0]=_=>t(b)(String(_)))},{default:e(()=>[l(t(i),null,{default:e(()=>[lt]),_:1}),l(t(i),null,{default:e(()=>[at]),_:1}),l(t(i),null,{default:e(()=>[st]),_:1})]),_:1}),l(t(p),null,{default:e(()=>[n(u(t(r).customIndicator),1)]),_:1}),l(t(o),{class:"swipe-example"},{indicator:e(({index:_,length:j,to:C})=>[a("div",nt,[(d(!0),g(h,null,N(j,(S,v)=>(d(),g("div",{class:I(["swipe-indicator",{"swipe-active-indicator":v===_}]),key:S,onClick:dt=>C(v)},null,10,ut))),128))])]),default:e(()=>[l(t(i),null,{default:e(()=>[it]),_:1}),l(t(i),null,{default:e(()=>[ot]),_:1}),l(t(i),null,{default:e(()=>[ct]),_:1})]),_:1}),pt],64))}},Tt=x(rt,[["__scopeId","data-v-a78d2bc7"]]);export{Tt as default}; diff --git a/assets/index-e257c0f2.js b/assets/index-fb489409.js similarity index 66% rename from assets/index-e257c0f2.js rename to assets/index-fb489409.js index 5157ff2d913..d0b60cf1e06 100644 --- a/assets/index-e257c0f2.js +++ b/assets/index-fb489409.js @@ -1 +1 @@ -import{S as m}from"./index-90c41552.js";import{d as n}from"./index-d8fbf18c.js";import{r as _,al as c,e as t,f as p,w as u,U as o,m as l,O as d,x as f,y as v,R as x,N as y}from"./index-af5fec45.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";/* empty css */const C={__name:"index",setup(k){const i=Array.from({length:25}).map((e,s)=>s),r=_(n);return c(n,e=>{r.value=e==="darkTheme"?"#303030":"#fff"}),(e,s)=>(t(),p(o(m),{class:"elevation-example-list",size:["10vmin",0],justify:"space-between"},{default:u(()=>[(t(!0),l(y,null,d(o(i),a=>(t(),l("div",{class:f(["elevation-example-item",`var-elevation--${a}`]),style:v({background:r.value}),key:a},x(a),7))),128))]),_:1}))}};export{C as default}; +import{S as m}from"./index-65cffe90.js";import{d as n}from"./index-d8fbf18c.js";import{r as _,al as c,e as t,f as p,w as u,U as o,m as l,O as d,x as f,y as v,R as x,N as y}from"./index-0bd4ebfc.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";/* empty css */const C={__name:"index",setup(k){const i=Array.from({length:25}).map((e,s)=>s),r=_(n);return c(n,e=>{r.value=e==="darkTheme"?"#303030":"#fff"}),(e,s)=>(t(),p(o(m),{class:"elevation-example-list",size:["10vmin",0],justify:"space-between"},{default:u(()=>[(t(!0),l(y,null,d(o(i),a=>(t(),l("div",{class:f(["elevation-example-item",`var-elevation--${a}`]),style:v({background:r.value}),key:a},x(a),7))),128))]),_:1}))}};export{C as default}; diff --git a/assets/index-ff9903a9.js b/assets/index-ff9903a9.js new file mode 100644 index 00000000000..72272dfa286 --- /dev/null +++ b/assets/index-ff9903a9.js @@ -0,0 +1 @@ +import{T as o}from"./index-5a594378.js";import{d as r}from"./index-d8fbf18c.js";import{d as m,al as e,_ as p,b as s,e as a,f as i}from"./index-0bd4ebfc.js";import"./index-67cbdf85.js";import"./index-1f1d0c91.js";import"./index-28dcc9be.js";import"./index-9eb15296.js";import"./components-a5332e66.js";/* empty css */import"./index-1e0bee81.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-d956da3f.js";import"./index-27fcaf7d.js";import"./index-2c5b74fa.js";import"./provide-e4d73c18.js";import"./provide-f823f5cd.js";import"./provide-90c65717.js";const n=m({name:"TabsItemsExample",components:{VarTabsItems:o},setup(){e(r)}});function c(_,d,f,b,l,u){const t=s("var-tabs-items");return a(),i(t)}const z=p(n,[["render",c]]);export{z as default}; diff --git a/assets/lock-7a098446.js b/assets/lock-e6f4e779.js similarity index 78% rename from assets/lock-7a098446.js rename to assets/lock-e6f4e779.js index c3c969e73a7..91be1b71d38 100644 --- a/assets/lock-7a098446.js +++ b/assets/lock-e6f4e779.js @@ -1 +1 @@ -import{c as e}from"./index-e95cf05b.js";import{G as l,ay as r,az as d,a8 as c,a9 as k,aA as m}from"./index-af5fec45.js";function s(){Object.keys(e.locks).length<=0?document.body.classList.remove("var--lock"):document.body.classList.add("var--lock")}function i(a){e.locks[a]=1,s()}function o(a){delete e.locks[a],s()}function y(a,t){const{uid:n}=m();t&&l(t,f=>{f===!1?o(n):f===!0&&a()===!0&&i(n)}),l(a,f=>{t&&t()===!1||(f===!0?i(n):o(n))}),r(()=>{t&&t()===!1||a()===!0&&i(n)}),d(()=>{t&&t()===!1||a()===!0&&o(n)}),c(()=>{t&&t()===!1||a()===!0&&i(n)}),k(()=>{t&&t()===!1||a()===!0&&o(n)})}export{y as u}; +import{c as e}from"./index-9eb15296.js";import{G as l,ay as r,az as d,a8 as c,a9 as k,aA as m}from"./index-0bd4ebfc.js";function s(){Object.keys(e.locks).length<=0?document.body.classList.remove("var--lock"):document.body.classList.add("var--lock")}function i(a){e.locks[a]=1,s()}function o(a){delete e.locks[a],s()}function y(a,t){const{uid:n}=m();t&&l(t,f=>{f===!1?o(n):f===!0&&a()===!0&&i(n)}),l(a,f=>{t&&t()===!1||(f===!0?i(n):o(n))}),r(()=>{t&&t()===!1||a()===!0&&i(n)}),d(()=>{t&&t()===!1||a()===!0&&o(n)}),c(()=>{t&&t()===!1||a()===!0&&i(n)}),k(()=>{t&&t()===!1||a()===!0&&o(n)})}export{y as u}; diff --git a/assets/main-a2875ca0.js b/assets/main-a2875ca0.js new file mode 100644 index 00000000000..e12ec309c91 --- /dev/null +++ b/assets/main-a2875ca0.js @@ -0,0 +1 @@ +import{d as g,r as m,g as i,c as n,o as N,a as S,i as k,_ as U,b as V,e as d,f as s,h as t,s as f,n as $,j as O,k as x,u as H,l as B,m as M,p as D,w as R,q as A,t as L,v as j,x as F,y as q,z as G,A as J,B as W,V as K}from"./index-0bd4ebfc.js";import{C as Q}from"./clipboard-dfb26261.js";const X=g({setup(){const o=m(i(n,"useMobile")),e=i(n,"defaultLanguage");N(()=>{const{language:_,menuName:u}=S();if(k()&&o.value){window.location.href=`./mobile.html#/${u}?language=${_||e}&platform=mobile`;return}})}});function Y(o,e,p,_,u,h){const r=V("router-view");return d(),s(r)}const Z=U(X,[["render",Y]]),b=[{path:"/en-US/index",component:()=>t(()=>import("./index-465ac1c8.js"),["./index-465ac1c8.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./AppHeader-bdf22c34.js","./AppHeader-073cf0aa.css","./index-8f3fac6b.css"],import.meta.url)},{path:"/zh-CN/index",component:()=>t(()=>import("./index-465ac1c8.js"),["./index-465ac1c8.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./AppHeader-bdf22c34.js","./AppHeader-073cf0aa.css","./index-8f3fac6b.css"],import.meta.url)},{path:"/layout",component:()=>t(()=>import("./Layout-38123783.js"),["./Layout-38123783.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./AppHeader-bdf22c34.js","./AppHeader-073cf0aa.css","./Layout-9094ba59.css"],import.meta.url),children:[{path:"/en-US/action-sheet",component:()=>t(()=>import("./en-US-8ef43eb0.js"),["./en-US-8ef43eb0.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/action-sheet",component:()=>t(()=>import("./zh-CN-518deff5.js"),["./zh-CN-518deff5.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/app-bar",component:()=>t(()=>import("./en-US-645c03fc.js"),["./en-US-645c03fc.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/app-bar",component:()=>t(()=>import("./zh-CN-f4c20823.js"),["./zh-CN-f4c20823.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/avatar-group",component:()=>t(()=>import("./en-US-48205723.js"),["./en-US-48205723.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/avatar-group",component:()=>t(()=>import("./zh-CN-8c63f933.js"),["./zh-CN-8c63f933.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/avatar",component:()=>t(()=>import("./en-US-73e45c21.js"),["./en-US-73e45c21.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/avatar",component:()=>t(()=>import("./zh-CN-1ba57368.js"),["./zh-CN-1ba57368.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/back-top",component:()=>t(()=>import("./en-US-81f7fd3e.js"),["./en-US-81f7fd3e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/back-top",component:()=>t(()=>import("./zh-CN-de24466c.js"),["./zh-CN-de24466c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/badge",component:()=>t(()=>import("./en-US-138ac735.js"),["./en-US-138ac735.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/badge",component:()=>t(()=>import("./zh-CN-32a63b5d.js"),["./zh-CN-32a63b5d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/bottom-navigation-item",component:()=>t(()=>import("./en-US-be61f065.js"),["./en-US-be61f065.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/bottom-navigation-item",component:()=>t(()=>import("./zh-CN-14a27e1c.js"),["./zh-CN-14a27e1c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/bottom-navigation",component:()=>t(()=>import("./en-US-7926d82d.js"),["./en-US-7926d82d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/bottom-navigation",component:()=>t(()=>import("./zh-CN-f09c03ee.js"),["./zh-CN-f09c03ee.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/breadcrumb",component:()=>t(()=>import("./en-US-815d8981.js"),["./en-US-815d8981.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/breadcrumb",component:()=>t(()=>import("./zh-CN-ca73bdf9.js"),["./zh-CN-ca73bdf9.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/breadcrumbs",component:()=>t(()=>import("./en-US-3cbaca17.js"),["./en-US-3cbaca17.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/breadcrumbs",component:()=>t(()=>import("./zh-CN-c647473c.js"),["./zh-CN-c647473c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/button-group",component:()=>t(()=>import("./en-US-9d219371.js"),["./en-US-9d219371.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/button-group",component:()=>t(()=>import("./zh-CN-d3ab763a.js"),["./zh-CN-d3ab763a.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/button",component:()=>t(()=>import("./en-US-d3eaf86b.js"),["./en-US-d3eaf86b.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/button",component:()=>t(()=>import("./zh-CN-adedc7ee.js"),["./zh-CN-adedc7ee.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/card",component:()=>t(()=>import("./en-US-d2f95613.js"),["./en-US-d2f95613.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/card",component:()=>t(()=>import("./zh-CN-7457f15f.js"),["./zh-CN-7457f15f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/cell",component:()=>t(()=>import("./en-US-b6951db9.js"),["./en-US-b6951db9.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/cell",component:()=>t(()=>import("./zh-CN-56fb5367.js"),["./zh-CN-56fb5367.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/checkbox-group",component:()=>t(()=>import("./en-US-9f9584de.js"),["./en-US-9f9584de.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/checkbox-group",component:()=>t(()=>import("./zh-CN-84e039fd.js"),["./zh-CN-84e039fd.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/checkbox",component:()=>t(()=>import("./en-US-7e0b9807.js"),["./en-US-7e0b9807.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/checkbox",component:()=>t(()=>import("./zh-CN-e84c63c5.js"),["./zh-CN-e84c63c5.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/chip",component:()=>t(()=>import("./en-US-be7afe55.js"),["./en-US-be7afe55.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/chip",component:()=>t(()=>import("./zh-CN-98163921.js"),["./zh-CN-98163921.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/col",component:()=>t(()=>import("./en-US-c044405e.js"),["./en-US-c044405e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/col",component:()=>t(()=>import("./zh-CN-ce1cbd3d.js"),["./zh-CN-ce1cbd3d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/collapse-item",component:()=>t(()=>import("./en-US-13da3420.js"),["./en-US-13da3420.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/collapse-item",component:()=>t(()=>import("./zh-CN-2710d689.js"),["./zh-CN-2710d689.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/collapse",component:()=>t(()=>import("./en-US-55e4584b.js"),["./en-US-55e4584b.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/collapse",component:()=>t(()=>import("./zh-CN-5bd47ca0.js"),["./zh-CN-5bd47ca0.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/countdown",component:()=>t(()=>import("./en-US-835e52ab.js"),["./en-US-835e52ab.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/countdown",component:()=>t(()=>import("./zh-CN-936fbf0c.js"),["./zh-CN-936fbf0c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/counter",component:()=>t(()=>import("./en-US-25941360.js"),["./en-US-25941360.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/counter",component:()=>t(()=>import("./zh-CN-e4cba91a.js"),["./zh-CN-e4cba91a.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/date-picker",component:()=>t(()=>import("./en-US-41708928.js"),["./en-US-41708928.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/date-picker",component:()=>t(()=>import("./zh-CN-28fd16cf.js"),["./zh-CN-28fd16cf.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/dialog",component:()=>t(()=>import("./en-US-86f8855e.js"),["./en-US-86f8855e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/dialog",component:()=>t(()=>import("./zh-CN-7b9dc6e6.js"),["./zh-CN-7b9dc6e6.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/divider",component:()=>t(()=>import("./en-US-81ebbd7d.js"),["./en-US-81ebbd7d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/divider",component:()=>t(()=>import("./zh-CN-c09268be.js"),["./zh-CN-c09268be.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/drag",component:()=>t(()=>import("./en-US-d1831c6a.js"),["./en-US-d1831c6a.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/drag",component:()=>t(()=>import("./zh-CN-2fba6790.js"),["./zh-CN-2fba6790.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/ellipsis",component:()=>t(()=>import("./en-US-64bf0a0f.js"),["./en-US-64bf0a0f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/ellipsis",component:()=>t(()=>import("./zh-CN-46979f74.js"),["./zh-CN-46979f74.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/fab",component:()=>t(()=>import("./en-US-86813373.js"),["./en-US-86813373.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/fab",component:()=>t(()=>import("./zh-CN-d9449191.js"),["./zh-CN-d9449191.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/floating-panel",component:()=>t(()=>import("./en-US-206e123f.js"),["./en-US-206e123f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/floating-panel",component:()=>t(()=>import("./zh-CN-c37985d6.js"),["./zh-CN-c37985d6.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/form-details",component:()=>t(()=>import("./en-US-6b3fa015.js"),["./en-US-6b3fa015.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/form-details",component:()=>t(()=>import("./zh-CN-fecb8015.js"),["./zh-CN-fecb8015.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/form",component:()=>t(()=>import("./en-US-33e1ec1c.js"),["./en-US-33e1ec1c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/form",component:()=>t(()=>import("./zh-CN-decd9fc4.js"),["./zh-CN-decd9fc4.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/hover",component:()=>t(()=>import("./en-US-f3b73053.js"),["./en-US-f3b73053.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/hover",component:()=>t(()=>import("./zh-CN-2d98653c.js"),["./zh-CN-2d98653c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/icon",component:()=>t(()=>import("./en-US-d9d2ba55.js"),["./en-US-d9d2ba55.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/icon",component:()=>t(()=>import("./zh-CN-5097dfa1.js"),["./zh-CN-5097dfa1.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/image-preview",component:()=>t(()=>import("./en-US-89f15cd8.js"),["./en-US-89f15cd8.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/image-preview",component:()=>t(()=>import("./zh-CN-a48f0767.js"),["./zh-CN-a48f0767.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/image",component:()=>t(()=>import("./en-US-b96518c6.js"),["./en-US-b96518c6.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/image",component:()=>t(()=>import("./zh-CN-2a160b04.js"),["./zh-CN-2a160b04.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/index-anchor",component:()=>t(()=>import("./en-US-8ecbdffa.js"),["./en-US-8ecbdffa.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/index-anchor",component:()=>t(()=>import("./zh-CN-9a3e0e1f.js"),["./zh-CN-9a3e0e1f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/index-bar",component:()=>t(()=>import("./en-US-50f7a798.js"),["./en-US-50f7a798.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/index-bar",component:()=>t(()=>import("./zh-CN-17bc38b5.js"),["./zh-CN-17bc38b5.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/input",component:()=>t(()=>import("./en-US-d7613dfc.js"),["./en-US-d7613dfc.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/input",component:()=>t(()=>import("./zh-CN-9938531c.js"),["./zh-CN-9938531c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/lazy",component:()=>t(()=>import("./en-US-0b626b7d.js"),["./en-US-0b626b7d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/lazy",component:()=>t(()=>import("./zh-CN-7636cf51.js"),["./zh-CN-7636cf51.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/link",component:()=>t(()=>import("./en-US-01877ad3.js"),["./en-US-01877ad3.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/link",component:()=>t(()=>import("./zh-CN-c340dd9f.js"),["./zh-CN-c340dd9f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/list",component:()=>t(()=>import("./en-US-fcabee24.js"),["./en-US-fcabee24.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/list",component:()=>t(()=>import("./zh-CN-e15d5e1d.js"),["./zh-CN-e15d5e1d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/loading-bar",component:()=>t(()=>import("./en-US-fc1b5b7b.js"),["./en-US-fc1b5b7b.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/loading-bar",component:()=>t(()=>import("./zh-CN-63fc00d1.js"),["./zh-CN-63fc00d1.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/loading",component:()=>t(()=>import("./en-US-ec88bb94.js"),["./en-US-ec88bb94.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/loading",component:()=>t(()=>import("./zh-CN-4a9cf0ac.js"),["./zh-CN-4a9cf0ac.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/locale",component:()=>t(()=>import("./en-US-ffdc9f07.js"),["./en-US-ffdc9f07.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/locale",component:()=>t(()=>import("./zh-CN-97ba7b7c.js"),["./zh-CN-97ba7b7c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/menu-option",component:()=>t(()=>import("./en-US-8be70f0a.js"),["./en-US-8be70f0a.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/menu-option",component:()=>t(()=>import("./zh-CN-8a06d9fb.js"),["./zh-CN-8a06d9fb.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/menu-select",component:()=>t(()=>import("./en-US-8b336f53.js"),["./en-US-8b336f53.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/menu-select",component:()=>t(()=>import("./zh-CN-6b89cef4.js"),["./zh-CN-6b89cef4.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/menu",component:()=>t(()=>import("./en-US-1db7e084.js"),["./en-US-1db7e084.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/menu",component:()=>t(()=>import("./zh-CN-eb3bc1f5.js"),["./zh-CN-eb3bc1f5.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/option",component:()=>t(()=>import("./en-US-5852f3f2.js"),["./en-US-5852f3f2.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/option",component:()=>t(()=>import("./zh-CN-6c4b80db.js"),["./zh-CN-6c4b80db.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/overlay",component:()=>t(()=>import("./en-US-743ace4c.js"),["./en-US-743ace4c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/overlay",component:()=>t(()=>import("./zh-CN-f95bb602.js"),["./zh-CN-f95bb602.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/pagination",component:()=>t(()=>import("./en-US-5cdd31e8.js"),["./en-US-5cdd31e8.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/pagination",component:()=>t(()=>import("./zh-CN-1ffbc573.js"),["./zh-CN-1ffbc573.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/paper",component:()=>t(()=>import("./en-US-a7dd79be.js"),["./en-US-a7dd79be.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/paper",component:()=>t(()=>import("./zh-CN-ea407ab4.js"),["./zh-CN-ea407ab4.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/picker",component:()=>t(()=>import("./en-US-e609ffe2.js"),["./en-US-e609ffe2.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/picker",component:()=>t(()=>import("./zh-CN-1362c6a9.js"),["./zh-CN-1362c6a9.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/popup",component:()=>t(()=>import("./en-US-d9f30a45.js"),["./en-US-d9f30a45.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/popup",component:()=>t(()=>import("./zh-CN-53a5dbdd.js"),["./zh-CN-53a5dbdd.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/progress",component:()=>t(()=>import("./en-US-1d6e0e09.js"),["./en-US-1d6e0e09.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/progress",component:()=>t(()=>import("./zh-CN-4d1ce762.js"),["./zh-CN-4d1ce762.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/pull-refresh",component:()=>t(()=>import("./en-US-ec03b5bd.js"),["./en-US-ec03b5bd.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/pull-refresh",component:()=>t(()=>import("./zh-CN-950661c0.js"),["./zh-CN-950661c0.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/radio-group",component:()=>t(()=>import("./en-US-c827e56e.js"),["./en-US-c827e56e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/radio-group",component:()=>t(()=>import("./zh-CN-8548efcd.js"),["./zh-CN-8548efcd.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/radio",component:()=>t(()=>import("./en-US-93ebde80.js"),["./en-US-93ebde80.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/radio",component:()=>t(()=>import("./zh-CN-4a791aed.js"),["./zh-CN-4a791aed.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/rate",component:()=>t(()=>import("./en-US-a003d6d9.js"),["./en-US-a003d6d9.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/rate",component:()=>t(()=>import("./zh-CN-e559b36c.js"),["./zh-CN-e559b36c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/result",component:()=>t(()=>import("./en-US-6307c0db.js"),["./en-US-6307c0db.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/result",component:()=>t(()=>import("./zh-CN-48b5a302.js"),["./zh-CN-48b5a302.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/ripple",component:()=>t(()=>import("./en-US-b18e1734.js"),["./en-US-b18e1734.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/ripple",component:()=>t(()=>import("./zh-CN-4cc48955.js"),["./zh-CN-4cc48955.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/row",component:()=>t(()=>import("./en-US-5b42bec6.js"),["./en-US-5b42bec6.js","./ResponsiveObject-f1121469.js","./index-e6df479c.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-dc663e72.css","./index-79c63a4e.js","./index-6227f113.css","./ResponsiveObject-53ca0b68.css"],import.meta.url)},{path:"/zh-CN/row",component:()=>t(()=>import("./zh-CN-27764c64.js"),["./zh-CN-27764c64.js","./ResponsiveObject-f1121469.js","./index-e6df479c.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-dc663e72.css","./index-79c63a4e.js","./index-6227f113.css","./ResponsiveObject-53ca0b68.css"],import.meta.url)},{path:"/en-US/select",component:()=>t(()=>import("./en-US-a20971d8.js"),["./en-US-a20971d8.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/select",component:()=>t(()=>import("./zh-CN-bdc3bccc.js"),["./zh-CN-bdc3bccc.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/skeleton",component:()=>t(()=>import("./en-US-2344e143.js"),["./en-US-2344e143.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/skeleton",component:()=>t(()=>import("./zh-CN-5a6576a8.js"),["./zh-CN-5a6576a8.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/slider",component:()=>t(()=>import("./en-US-4ffd7b80.js"),["./en-US-4ffd7b80.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/slider",component:()=>t(()=>import("./zh-CN-c363c72f.js"),["./zh-CN-c363c72f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/snackbar",component:()=>t(()=>import("./en-US-5f3eb38c.js"),["./en-US-5f3eb38c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/snackbar",component:()=>t(()=>import("./zh-CN-f709454c.js"),["./zh-CN-f709454c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/space",component:()=>t(()=>import("./en-US-22a9b9ad.js"),["./en-US-22a9b9ad.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/space",component:()=>t(()=>import("./zh-CN-65f82e9c.js"),["./zh-CN-65f82e9c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/step",component:()=>t(()=>import("./en-US-16bb4b1d.js"),["./en-US-16bb4b1d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/step",component:()=>t(()=>import("./zh-CN-99716c5e.js"),["./zh-CN-99716c5e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/steps",component:()=>t(()=>import("./en-US-4b8a2020.js"),["./en-US-4b8a2020.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/steps",component:()=>t(()=>import("./zh-CN-daa2c04b.js"),["./zh-CN-daa2c04b.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/sticky",component:()=>t(()=>import("./en-US-5ebd2180.js"),["./en-US-5ebd2180.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/sticky",component:()=>t(()=>import("./zh-CN-4e809540.js"),["./zh-CN-4e809540.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/style-provider",component:()=>t(()=>import("./en-US-f9c707c8.js"),["./en-US-f9c707c8.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/style-provider",component:()=>t(()=>import("./zh-CN-f37ec584.js"),["./zh-CN-f37ec584.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/styles",component:()=>t(()=>import("./en-US-801b1dbc.js"),["./en-US-801b1dbc.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/styles",component:()=>t(()=>import("./zh-CN-ceac951f.js"),["./zh-CN-ceac951f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/swipe-item",component:()=>t(()=>import("./en-US-67be8b12.js"),["./en-US-67be8b12.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/swipe-item",component:()=>t(()=>import("./zh-CN-a5d731da.js"),["./zh-CN-a5d731da.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/swipe",component:()=>t(()=>import("./en-US-32b21d56.js"),["./en-US-32b21d56.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/swipe",component:()=>t(()=>import("./zh-CN-f349b83a.js"),["./zh-CN-f349b83a.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/switch",component:()=>t(()=>import("./en-US-703e284b.js"),["./en-US-703e284b.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/switch",component:()=>t(()=>import("./zh-CN-4f2ff8ea.js"),["./zh-CN-4f2ff8ea.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/tab-item",component:()=>t(()=>import("./en-US-56069f71.js"),["./en-US-56069f71.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/tab-item",component:()=>t(()=>import("./zh-CN-21840dc0.js"),["./zh-CN-21840dc0.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/tab",component:()=>t(()=>import("./en-US-c3b18ffd.js"),["./en-US-c3b18ffd.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/tab",component:()=>t(()=>import("./zh-CN-a01acafc.js"),["./zh-CN-a01acafc.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/table",component:()=>t(()=>import("./en-US-467104ae.js"),["./en-US-467104ae.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/table",component:()=>t(()=>import("./zh-CN-19207a3b.js"),["./zh-CN-19207a3b.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/tabs-items",component:()=>t(()=>import("./en-US-204ddd07.js"),["./en-US-204ddd07.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/tabs-items",component:()=>t(()=>import("./zh-CN-fb22ed32.js"),["./zh-CN-fb22ed32.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/tabs",component:()=>t(()=>import("./en-US-e2493af1.js"),["./en-US-e2493af1.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/tabs",component:()=>t(()=>import("./zh-CN-9d5cfb5c.js"),["./zh-CN-9d5cfb5c.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/themes",component:()=>t(()=>import("./en-US-73a6b7ee.js"),["./en-US-73a6b7ee.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/themes",component:()=>t(()=>import("./zh-CN-97b72611.js"),["./zh-CN-97b72611.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/time-picker",component:()=>t(()=>import("./en-US-3b9cbeb8.js"),["./en-US-3b9cbeb8.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/time-picker",component:()=>t(()=>import("./zh-CN-7792773e.js"),["./zh-CN-7792773e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/tooltip",component:()=>t(()=>import("./en-US-03984a35.js"),["./en-US-03984a35.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/tooltip",component:()=>t(()=>import("./zh-CN-f5874366.js"),["./zh-CN-f5874366.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/uploader",component:()=>t(()=>import("./en-US-c599d50d.js"),["./en-US-c599d50d.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/uploader",component:()=>t(()=>import("./zh-CN-f6cccde7.js"),["./zh-CN-f6cccde7.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/watermark",component:()=>t(()=>import("./en-US-9bd2a20f.js"),["./en-US-9bd2a20f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/watermark",component:()=>t(()=>import("./zh-CN-9f3d35cf.js"),["./zh-CN-9f3d35cf.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/browserAdaptation",component:()=>t(()=>import("./browserAdaptation.en-US-b3612ffc.js"),["./browserAdaptation.en-US-b3612ffc.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/browserAdaptation",component:()=>t(()=>import("./browserAdaptation.zh-CN-c5c3c404.js"),["./browserAdaptation.zh-CN-c5c3c404.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/cli",component:()=>t(()=>import("./cli.en-US-7df39d5e.js"),["./cli.en-US-7df39d5e.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/cli",component:()=>t(()=>import("./cli.zh-CN-32407670.js"),["./cli.zh-CN-32407670.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/designResources",component:()=>t(()=>import("./designResources.en-US-d48797eb.js"),["./designResources.en-US-d48797eb.js","./IconResourcesDownload-eba5b540.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-d8fbf18c.js","./index-4a9c2ae2.js"],import.meta.url)},{path:"/zh-CN/designResources",component:()=>t(()=>import("./designResources.zh-CN-e6e086bb.js"),["./designResources.zh-CN-e6e086bb.js","./IconResourcesDownload-eba5b540.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-d8fbf18c.js","./index-4a9c2ae2.js"],import.meta.url)},{path:"/en-US/extension",component:()=>t(()=>import("./extension.en-US-7518e1b3.js"),["./extension.en-US-7518e1b3.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/extension",component:()=>t(()=>import("./extension.zh-CN-c8ac8730.js"),["./extension.zh-CN-c8ac8730.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/home",component:()=>t(()=>import("./home.en-US-96abd46f.js"),["./home.en-US-96abd46f.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/home",component:()=>t(()=>import("./home.zh-CN-af5dd794.js"),["./home.zh-CN-af5dd794.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/importOnDemand",component:()=>t(()=>import("./importOnDemand.en-US-89c98138.js"),["./importOnDemand.en-US-89c98138.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/importOnDemand",component:()=>t(()=>import("./importOnDemand.zh-CN-39629250.js"),["./importOnDemand.zh-CN-39629250.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/migrationGuide",component:()=>t(()=>import("./migrationGuide.en-US-f2c3ff39.js"),["./migrationGuide.en-US-f2c3ff39.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/migrationGuide",component:()=>t(()=>import("./migrationGuide.zh-CN-b2567cab.js"),["./migrationGuide.zh-CN-b2567cab.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/quickstart",component:()=>t(()=>import("./quickstart.en-US-2ff915fa.js"),["./quickstart.en-US-2ff915fa.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/quickstart",component:()=>t(()=>import("./quickstart.zh-CN-701e5f94.js"),["./quickstart.zh-CN-701e5f94.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/en-US/serverSideRendering",component:()=>t(()=>import("./serverSideRendering.en-US-5d2fcafd.js"),["./serverSideRendering.en-US-5d2fcafd.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)},{path:"/zh-CN/serverSideRendering",component:()=>t(()=>import("./serverSideRendering.zh-CN-4fa6b2ca.js"),["./serverSideRendering.zh-CN-4fa6b2ca.js","./index-0bd4ebfc.js","./index-c3c035e0.css"],import.meta.url)}]}],C=B;let tt=0;const ot=10,et=g({name:"VarSiteCodeExample",props:{playgroundIgnore:{type:Boolean,default:!1}},setup(o){const e=m(null),p=m(tt++),_=m(i(n,"pc.fold")),u=m(!1),h=m(i(n,"pc.clipboard",{})),r=m(-1),l=m(o.playgroundIgnore?void 0:i(n,"pc.header.playground"));let I=null;const y=async()=>{const E=_.value.foldHeight;if(r.value===E){r.value=-1,await $();const{offsetHeight:a}=e.value;r.value=E,await O(),r.value=a,I=setTimeout(()=>{r.value=-1},250)}else{clearTimeout(I);const{offsetHeight:a}=e.value;r.value=a,await O(),r.value=E}},w=()=>{var c;const a={"App.vue":((c=e.value)==null?void 0:c.innerText)??""},v=x().replace("Theme","");C.showPlayground=!0,C.playgroundURL=`${l.value}/?initialTheme=${v}#${H(JSON.stringify(a))}`};return N(()=>{var v,c;new Q(`#clip-trigger-${p.value}`).on("success",()=>{f.success(h.value[S().language])});const{offsetHeight:a}=e.value;u.value=a-_.value.foldHeight[A(r,{name:"xml",size:"18"})]),_:1},8,["onClick"])):L("",!0),o.clipboard?(d(),s(l,{key:1,id:`clip-trigger-${o.cid}`,"data-clipboard-target":`#clip-target-${o.cid}`,text:"",round:""},{default:R(()=>[A(r,{name:"content-copy",size:"18"})]),_:1},8,["id","data-clipboard-target"])):L("",!0),o.playground?(d(),s(l,{key:2,text:"",round:"",onClick:o.toPlayground},{default:R(()=>[A(r,{name:"code-json",size:"18"})]),_:1},8,["onClick"])):L("",!0)]),D("div",{id:`clip-target-${o.cid}`,class:F(["var-site-code-example__code",[o.disabledFold?"var-site-code-example--scroller":null]]),ref:"code",style:q({height:o.height>=0?`${o.height}px`:void 0})},[j(o.$slots,"default")],14,pt)])}const T=U(et,[["render",mt]]);T.install=function(o){o.component(T.name,T)};const it=i(n,"defaultLanguage"),z=i(n,"pc.redirect"),nt=i(n,"mobile.redirect");f.allowMultiple(!0);z&&b.push({path:"/:pathMatch(.*)*",redirect:`/${it}${z}`});const P=G({history:J(),routes:b,scrollBehavior(o){return o.hash?{el:o.hash,behavior:"smooth",top:100}:{top:0}}});P.beforeEach((o,e)=>{if(o.fullPath===e.fullPath)return!1;window._hmt&&o.path&&window._hmt.push(["_trackPageview",`/#${o.fullPath}`])});Object.defineProperty(window,"onMobileRouteChange",{value:(o,e,p,_)=>{if(o===nt){P.replace(`/${e}/${p}${_}`);return}P.replace(`/${e}${o}${_}`)}});Object.defineProperty(window,"scrollToMenu",{value:o=>{setTimeout(()=>{const e=document.getElementById(o),p=e.parentNode;p.scrollTo({top:e.offsetTop-p.offsetHeight/2})})}});W(Z).use(K).use(P).use(T).mount("#app"); diff --git a/assets/main-ccd125db.js b/assets/main-ccd125db.js deleted file mode 100644 index a60d2ec665b..00000000000 --- a/assets/main-ccd125db.js +++ /dev/null @@ -1 +0,0 @@ -import{d as g,r as m,g as i,c as n,o as N,a as S,i as k,_ as U,b as V,e as d,f as s,h as t,s as f,n as $,j as O,k as x,u as H,l as B,m as M,p as D,w as R,q as A,t as L,v as j,x as F,y as q,z as G,A as J,B as W,V as K}from"./index-af5fec45.js";import{C as Q}from"./clipboard-dfb26261.js";const X=g({setup(){const o=m(i(n,"useMobile")),e=i(n,"defaultLanguage");N(()=>{const{language:_,menuName:u}=S();if(k()&&o.value){window.location.href=`./mobile.html#/${u}?language=${_||e}&platform=mobile`;return}})}});function Y(o,e,p,_,u,h){const r=V("router-view");return d(),s(r)}const Z=U(X,[["render",Y]]),b=[{path:"/en-US/index",component:()=>t(()=>import("./index-d471de6f.js"),["./index-d471de6f.js","./index-af5fec45.js","./index-f6b4cf21.css","./AppHeader-e7fd0bdd.js","./AppHeader-073cf0aa.css","./index-8f3fac6b.css"],import.meta.url)},{path:"/zh-CN/index",component:()=>t(()=>import("./index-d471de6f.js"),["./index-d471de6f.js","./index-af5fec45.js","./index-f6b4cf21.css","./AppHeader-e7fd0bdd.js","./AppHeader-073cf0aa.css","./index-8f3fac6b.css"],import.meta.url)},{path:"/layout",component:()=>t(()=>import("./Layout-c32f23c7.js"),["./Layout-c32f23c7.js","./index-af5fec45.js","./index-f6b4cf21.css","./AppHeader-e7fd0bdd.js","./AppHeader-073cf0aa.css","./Layout-9094ba59.css"],import.meta.url),children:[{path:"/en-US/action-sheet",component:()=>t(()=>import("./en-US-719efbbf.js"),["./en-US-719efbbf.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/action-sheet",component:()=>t(()=>import("./zh-CN-a1ba60da.js"),["./zh-CN-a1ba60da.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/app-bar",component:()=>t(()=>import("./en-US-946db47c.js"),["./en-US-946db47c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/app-bar",component:()=>t(()=>import("./zh-CN-188d4436.js"),["./zh-CN-188d4436.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/avatar-group",component:()=>t(()=>import("./en-US-c6c3e7f2.js"),["./en-US-c6c3e7f2.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/avatar-group",component:()=>t(()=>import("./zh-CN-78ffafff.js"),["./zh-CN-78ffafff.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/avatar",component:()=>t(()=>import("./en-US-b31ccd2f.js"),["./en-US-b31ccd2f.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/avatar",component:()=>t(()=>import("./zh-CN-f9e018d8.js"),["./zh-CN-f9e018d8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/back-top",component:()=>t(()=>import("./en-US-6ae24d76.js"),["./en-US-6ae24d76.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/back-top",component:()=>t(()=>import("./zh-CN-201ce521.js"),["./zh-CN-201ce521.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/badge",component:()=>t(()=>import("./en-US-f2b8361a.js"),["./en-US-f2b8361a.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/badge",component:()=>t(()=>import("./zh-CN-b052a918.js"),["./zh-CN-b052a918.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/bottom-navigation-item",component:()=>t(()=>import("./en-US-b1f43181.js"),["./en-US-b1f43181.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/bottom-navigation-item",component:()=>t(()=>import("./zh-CN-1278dfbb.js"),["./zh-CN-1278dfbb.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/bottom-navigation",component:()=>t(()=>import("./en-US-0616fb71.js"),["./en-US-0616fb71.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/bottom-navigation",component:()=>t(()=>import("./zh-CN-c7f5cf02.js"),["./zh-CN-c7f5cf02.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/breadcrumb",component:()=>t(()=>import("./en-US-bea58cd8.js"),["./en-US-bea58cd8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/breadcrumb",component:()=>t(()=>import("./zh-CN-b87f350a.js"),["./zh-CN-b87f350a.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/breadcrumbs",component:()=>t(()=>import("./en-US-d66a47cd.js"),["./en-US-d66a47cd.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/breadcrumbs",component:()=>t(()=>import("./zh-CN-beb59d24.js"),["./zh-CN-beb59d24.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/button-group",component:()=>t(()=>import("./en-US-f7ef786c.js"),["./en-US-f7ef786c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/button-group",component:()=>t(()=>import("./zh-CN-6b2e6b71.js"),["./zh-CN-6b2e6b71.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/button",component:()=>t(()=>import("./en-US-7727d792.js"),["./en-US-7727d792.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/button",component:()=>t(()=>import("./zh-CN-81b512e5.js"),["./zh-CN-81b512e5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/card",component:()=>t(()=>import("./en-US-2d3b28f5.js"),["./en-US-2d3b28f5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/card",component:()=>t(()=>import("./zh-CN-42004dbd.js"),["./zh-CN-42004dbd.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/cell",component:()=>t(()=>import("./en-US-c43b0f28.js"),["./en-US-c43b0f28.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/cell",component:()=>t(()=>import("./zh-CN-c639aecd.js"),["./zh-CN-c639aecd.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/checkbox-group",component:()=>t(()=>import("./en-US-ffdcecb9.js"),["./en-US-ffdcecb9.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/checkbox-group",component:()=>t(()=>import("./zh-CN-3d798a09.js"),["./zh-CN-3d798a09.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/checkbox",component:()=>t(()=>import("./en-US-4acc8860.js"),["./en-US-4acc8860.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/checkbox",component:()=>t(()=>import("./zh-CN-025ad66f.js"),["./zh-CN-025ad66f.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/chip",component:()=>t(()=>import("./en-US-a604e335.js"),["./en-US-a604e335.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/chip",component:()=>t(()=>import("./zh-CN-b74c1400.js"),["./zh-CN-b74c1400.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/col",component:()=>t(()=>import("./en-US-21ec1aa5.js"),["./en-US-21ec1aa5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/col",component:()=>t(()=>import("./zh-CN-c0fb04b7.js"),["./zh-CN-c0fb04b7.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/collapse-item",component:()=>t(()=>import("./en-US-181b16b3.js"),["./en-US-181b16b3.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/collapse-item",component:()=>t(()=>import("./zh-CN-a103a656.js"),["./zh-CN-a103a656.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/collapse",component:()=>t(()=>import("./en-US-28e13891.js"),["./en-US-28e13891.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/collapse",component:()=>t(()=>import("./zh-CN-d3a58060.js"),["./zh-CN-d3a58060.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/countdown",component:()=>t(()=>import("./en-US-0be7928c.js"),["./en-US-0be7928c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/countdown",component:()=>t(()=>import("./zh-CN-429f7402.js"),["./zh-CN-429f7402.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/counter",component:()=>t(()=>import("./en-US-077ab761.js"),["./en-US-077ab761.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/counter",component:()=>t(()=>import("./zh-CN-db1d4491.js"),["./zh-CN-db1d4491.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/date-picker",component:()=>t(()=>import("./en-US-28f27883.js"),["./en-US-28f27883.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/date-picker",component:()=>t(()=>import("./zh-CN-2ccbb704.js"),["./zh-CN-2ccbb704.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/dialog",component:()=>t(()=>import("./en-US-4e46f056.js"),["./en-US-4e46f056.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/dialog",component:()=>t(()=>import("./zh-CN-97f37369.js"),["./zh-CN-97f37369.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/divider",component:()=>t(()=>import("./en-US-7e9080b2.js"),["./en-US-7e9080b2.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/divider",component:()=>t(()=>import("./zh-CN-84d47631.js"),["./zh-CN-84d47631.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/drag",component:()=>t(()=>import("./en-US-a738b2ce.js"),["./en-US-a738b2ce.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/drag",component:()=>t(()=>import("./zh-CN-4e354d8a.js"),["./zh-CN-4e354d8a.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/ellipsis",component:()=>t(()=>import("./en-US-6dcc3b33.js"),["./en-US-6dcc3b33.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/ellipsis",component:()=>t(()=>import("./zh-CN-b2b54bf6.js"),["./zh-CN-b2b54bf6.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/fab",component:()=>t(()=>import("./en-US-330ea8ae.js"),["./en-US-330ea8ae.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/fab",component:()=>t(()=>import("./zh-CN-2d8c0bdc.js"),["./zh-CN-2d8c0bdc.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/floating-panel",component:()=>t(()=>import("./en-US-5b1b345e.js"),["./en-US-5b1b345e.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/floating-panel",component:()=>t(()=>import("./zh-CN-768a30af.js"),["./zh-CN-768a30af.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/form-details",component:()=>t(()=>import("./en-US-3a646437.js"),["./en-US-3a646437.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/form-details",component:()=>t(()=>import("./zh-CN-eb07ff17.js"),["./zh-CN-eb07ff17.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/form",component:()=>t(()=>import("./en-US-9a77638d.js"),["./en-US-9a77638d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/form",component:()=>t(()=>import("./zh-CN-5f80609e.js"),["./zh-CN-5f80609e.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/hover",component:()=>t(()=>import("./en-US-139ddbe0.js"),["./en-US-139ddbe0.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/hover",component:()=>t(()=>import("./zh-CN-4a875d5b.js"),["./zh-CN-4a875d5b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/icon",component:()=>t(()=>import("./en-US-9326ca0e.js"),["./en-US-9326ca0e.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/icon",component:()=>t(()=>import("./zh-CN-dbab7007.js"),["./zh-CN-dbab7007.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/image-preview",component:()=>t(()=>import("./en-US-0d6e175d.js"),["./en-US-0d6e175d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/image-preview",component:()=>t(()=>import("./zh-CN-be454239.js"),["./zh-CN-be454239.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/image",component:()=>t(()=>import("./en-US-64f7e5e3.js"),["./en-US-64f7e5e3.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/image",component:()=>t(()=>import("./zh-CN-0aace0e3.js"),["./zh-CN-0aace0e3.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/index-anchor",component:()=>t(()=>import("./en-US-62602047.js"),["./en-US-62602047.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/index-anchor",component:()=>t(()=>import("./zh-CN-cdfd0270.js"),["./zh-CN-cdfd0270.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/index-bar",component:()=>t(()=>import("./en-US-54b2cb21.js"),["./en-US-54b2cb21.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/index-bar",component:()=>t(()=>import("./zh-CN-55cd544f.js"),["./zh-CN-55cd544f.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/input",component:()=>t(()=>import("./en-US-67fb5413.js"),["./en-US-67fb5413.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/input",component:()=>t(()=>import("./zh-CN-b384b261.js"),["./zh-CN-b384b261.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/lazy",component:()=>t(()=>import("./en-US-e0ee1690.js"),["./en-US-e0ee1690.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/lazy",component:()=>t(()=>import("./zh-CN-ddb01456.js"),["./zh-CN-ddb01456.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/link",component:()=>t(()=>import("./en-US-2ca79b6f.js"),["./en-US-2ca79b6f.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/link",component:()=>t(()=>import("./zh-CN-fb03ca04.js"),["./zh-CN-fb03ca04.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/list",component:()=>t(()=>import("./en-US-50e88f01.js"),["./en-US-50e88f01.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/list",component:()=>t(()=>import("./zh-CN-bfcb62fd.js"),["./zh-CN-bfcb62fd.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/loading-bar",component:()=>t(()=>import("./en-US-25c8c2d2.js"),["./en-US-25c8c2d2.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/loading-bar",component:()=>t(()=>import("./zh-CN-6730151c.js"),["./zh-CN-6730151c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/loading",component:()=>t(()=>import("./en-US-123017aa.js"),["./en-US-123017aa.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/loading",component:()=>t(()=>import("./zh-CN-3ffcc4c8.js"),["./zh-CN-3ffcc4c8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/locale",component:()=>t(()=>import("./en-US-750cb24c.js"),["./en-US-750cb24c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/locale",component:()=>t(()=>import("./zh-CN-a7a4d33c.js"),["./zh-CN-a7a4d33c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/menu-option",component:()=>t(()=>import("./en-US-c4e304cd.js"),["./en-US-c4e304cd.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/menu-option",component:()=>t(()=>import("./zh-CN-1295c43d.js"),["./zh-CN-1295c43d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/menu-select",component:()=>t(()=>import("./en-US-12f97830.js"),["./en-US-12f97830.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/menu-select",component:()=>t(()=>import("./zh-CN-47716034.js"),["./zh-CN-47716034.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/menu",component:()=>t(()=>import("./en-US-77be88de.js"),["./en-US-77be88de.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/menu",component:()=>t(()=>import("./zh-CN-2d36e4c8.js"),["./zh-CN-2d36e4c8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/option",component:()=>t(()=>import("./en-US-850c4b56.js"),["./en-US-850c4b56.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/option",component:()=>t(()=>import("./zh-CN-0cbfb910.js"),["./zh-CN-0cbfb910.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/overlay",component:()=>t(()=>import("./en-US-bbe0359d.js"),["./en-US-bbe0359d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/overlay",component:()=>t(()=>import("./zh-CN-a8ff345b.js"),["./zh-CN-a8ff345b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/pagination",component:()=>t(()=>import("./en-US-4f67d8c7.js"),["./en-US-4f67d8c7.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/pagination",component:()=>t(()=>import("./zh-CN-e14ccf53.js"),["./zh-CN-e14ccf53.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/paper",component:()=>t(()=>import("./en-US-9161167e.js"),["./en-US-9161167e.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/paper",component:()=>t(()=>import("./zh-CN-6cf4effc.js"),["./zh-CN-6cf4effc.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/picker",component:()=>t(()=>import("./en-US-05f4fa26.js"),["./en-US-05f4fa26.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/picker",component:()=>t(()=>import("./zh-CN-23bdbbc8.js"),["./zh-CN-23bdbbc8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/popup",component:()=>t(()=>import("./en-US-1af9c01d.js"),["./en-US-1af9c01d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/popup",component:()=>t(()=>import("./zh-CN-e8d8cc15.js"),["./zh-CN-e8d8cc15.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/progress",component:()=>t(()=>import("./en-US-075c3db8.js"),["./en-US-075c3db8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/progress",component:()=>t(()=>import("./zh-CN-88b7e63b.js"),["./zh-CN-88b7e63b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/pull-refresh",component:()=>t(()=>import("./en-US-ee09886e.js"),["./en-US-ee09886e.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/pull-refresh",component:()=>t(()=>import("./zh-CN-e05d3700.js"),["./zh-CN-e05d3700.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/radio-group",component:()=>t(()=>import("./en-US-1a1f5d34.js"),["./en-US-1a1f5d34.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/radio-group",component:()=>t(()=>import("./zh-CN-27dee8ab.js"),["./zh-CN-27dee8ab.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/radio",component:()=>t(()=>import("./en-US-369dcfa2.js"),["./en-US-369dcfa2.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/radio",component:()=>t(()=>import("./zh-CN-43b87802.js"),["./zh-CN-43b87802.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/rate",component:()=>t(()=>import("./en-US-cb66d09c.js"),["./en-US-cb66d09c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/rate",component:()=>t(()=>import("./zh-CN-3ecff50f.js"),["./zh-CN-3ecff50f.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/result",component:()=>t(()=>import("./en-US-be0b3efc.js"),["./en-US-be0b3efc.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/result",component:()=>t(()=>import("./zh-CN-6746f4ea.js"),["./zh-CN-6746f4ea.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/ripple",component:()=>t(()=>import("./en-US-284b4ea6.js"),["./en-US-284b4ea6.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/ripple",component:()=>t(()=>import("./zh-CN-e422600b.js"),["./zh-CN-e422600b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/row",component:()=>t(()=>import("./en-US-3b949234.js"),["./en-US-3b949234.js","./ResponsiveObject-b269cecd.js","./index-85b78525.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-dc663e72.css","./index-5689d3e2.js","./index-6227f113.css","./ResponsiveObject-53ca0b68.css"],import.meta.url)},{path:"/zh-CN/row",component:()=>t(()=>import("./zh-CN-7d05a265.js"),["./zh-CN-7d05a265.js","./ResponsiveObject-b269cecd.js","./index-85b78525.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-dc663e72.css","./index-5689d3e2.js","./index-6227f113.css","./ResponsiveObject-53ca0b68.css"],import.meta.url)},{path:"/en-US/select",component:()=>t(()=>import("./en-US-7098d1ca.js"),["./en-US-7098d1ca.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/select",component:()=>t(()=>import("./zh-CN-ff57d055.js"),["./zh-CN-ff57d055.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/skeleton",component:()=>t(()=>import("./en-US-dd2c741b.js"),["./en-US-dd2c741b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/skeleton",component:()=>t(()=>import("./zh-CN-f8d848cb.js"),["./zh-CN-f8d848cb.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/slider",component:()=>t(()=>import("./en-US-e90ddad5.js"),["./en-US-e90ddad5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/slider",component:()=>t(()=>import("./zh-CN-fce9d8d2.js"),["./zh-CN-fce9d8d2.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/snackbar",component:()=>t(()=>import("./en-US-1c7a0417.js"),["./en-US-1c7a0417.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/snackbar",component:()=>t(()=>import("./zh-CN-0d7baf41.js"),["./zh-CN-0d7baf41.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/space",component:()=>t(()=>import("./en-US-e62638a5.js"),["./en-US-e62638a5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/space",component:()=>t(()=>import("./zh-CN-5628896d.js"),["./zh-CN-5628896d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/step",component:()=>t(()=>import("./en-US-a6e87167.js"),["./en-US-a6e87167.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/step",component:()=>t(()=>import("./zh-CN-2bb44500.js"),["./zh-CN-2bb44500.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/steps",component:()=>t(()=>import("./en-US-5e5b0477.js"),["./en-US-5e5b0477.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/steps",component:()=>t(()=>import("./zh-CN-b1d8b174.js"),["./zh-CN-b1d8b174.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/sticky",component:()=>t(()=>import("./en-US-ef0562eb.js"),["./en-US-ef0562eb.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/sticky",component:()=>t(()=>import("./zh-CN-a9cf31be.js"),["./zh-CN-a9cf31be.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/style-provider",component:()=>t(()=>import("./en-US-782789d6.js"),["./en-US-782789d6.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/style-provider",component:()=>t(()=>import("./zh-CN-df0c4274.js"),["./zh-CN-df0c4274.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/styles",component:()=>t(()=>import("./en-US-5f58f4d4.js"),["./en-US-5f58f4d4.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/styles",component:()=>t(()=>import("./zh-CN-39e88d13.js"),["./zh-CN-39e88d13.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/swipe-item",component:()=>t(()=>import("./en-US-98d36fd0.js"),["./en-US-98d36fd0.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/swipe-item",component:()=>t(()=>import("./zh-CN-bd4f9e17.js"),["./zh-CN-bd4f9e17.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/swipe",component:()=>t(()=>import("./en-US-eec75ad0.js"),["./en-US-eec75ad0.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/swipe",component:()=>t(()=>import("./zh-CN-8c4980a3.js"),["./zh-CN-8c4980a3.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/switch",component:()=>t(()=>import("./en-US-b71addee.js"),["./en-US-b71addee.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/switch",component:()=>t(()=>import("./zh-CN-4a12695c.js"),["./zh-CN-4a12695c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/tab-item",component:()=>t(()=>import("./en-US-48ab98bb.js"),["./en-US-48ab98bb.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/tab-item",component:()=>t(()=>import("./zh-CN-8039eefc.js"),["./zh-CN-8039eefc.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/tab",component:()=>t(()=>import("./en-US-088e6784.js"),["./en-US-088e6784.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/tab",component:()=>t(()=>import("./zh-CN-b1bbb685.js"),["./zh-CN-b1bbb685.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/table",component:()=>t(()=>import("./en-US-59cf7397.js"),["./en-US-59cf7397.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/table",component:()=>t(()=>import("./zh-CN-62b34cf5.js"),["./zh-CN-62b34cf5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/tabs-items",component:()=>t(()=>import("./en-US-37c2a86d.js"),["./en-US-37c2a86d.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/tabs-items",component:()=>t(()=>import("./zh-CN-2f82853c.js"),["./zh-CN-2f82853c.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/tabs",component:()=>t(()=>import("./en-US-2b0b6dc0.js"),["./en-US-2b0b6dc0.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/tabs",component:()=>t(()=>import("./zh-CN-1178414a.js"),["./zh-CN-1178414a.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/themes",component:()=>t(()=>import("./en-US-978bfd98.js"),["./en-US-978bfd98.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/themes",component:()=>t(()=>import("./zh-CN-ce4c6cdf.js"),["./zh-CN-ce4c6cdf.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/time-picker",component:()=>t(()=>import("./en-US-792e46e8.js"),["./en-US-792e46e8.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/time-picker",component:()=>t(()=>import("./zh-CN-03920187.js"),["./zh-CN-03920187.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/tooltip",component:()=>t(()=>import("./en-US-55f7ff5b.js"),["./en-US-55f7ff5b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/tooltip",component:()=>t(()=>import("./zh-CN-05018ed3.js"),["./zh-CN-05018ed3.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/uploader",component:()=>t(()=>import("./en-US-77859244.js"),["./en-US-77859244.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/uploader",component:()=>t(()=>import("./zh-CN-a3872d71.js"),["./zh-CN-a3872d71.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/watermark",component:()=>t(()=>import("./en-US-38df38b5.js"),["./en-US-38df38b5.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/watermark",component:()=>t(()=>import("./zh-CN-cbd28d89.js"),["./zh-CN-cbd28d89.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/browserAdaptation",component:()=>t(()=>import("./browserAdaptation.en-US-ebc05e45.js"),["./browserAdaptation.en-US-ebc05e45.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/browserAdaptation",component:()=>t(()=>import("./browserAdaptation.zh-CN-21f1ccb3.js"),["./browserAdaptation.zh-CN-21f1ccb3.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/cli",component:()=>t(()=>import("./cli.en-US-f158562e.js"),["./cli.en-US-f158562e.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/cli",component:()=>t(()=>import("./cli.zh-CN-53c9b590.js"),["./cli.zh-CN-53c9b590.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/designResources",component:()=>t(()=>import("./designResources.en-US-226fc9db.js"),["./designResources.en-US-226fc9db.js","./IconResourcesDownload-ed11000d.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./index-d8fbf18c.js","./index-2b61c8d0.js"],import.meta.url)},{path:"/zh-CN/designResources",component:()=>t(()=>import("./designResources.zh-CN-58d9807e.js"),["./designResources.zh-CN-58d9807e.js","./IconResourcesDownload-ed11000d.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./index-d8fbf18c.js","./index-2b61c8d0.js"],import.meta.url)},{path:"/en-US/extension",component:()=>t(()=>import("./extension.en-US-d29b332b.js"),["./extension.en-US-d29b332b.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/extension",component:()=>t(()=>import("./extension.zh-CN-d50c11f0.js"),["./extension.zh-CN-d50c11f0.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/home",component:()=>t(()=>import("./home.en-US-27931061.js"),["./home.en-US-27931061.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/home",component:()=>t(()=>import("./home.zh-CN-7df18227.js"),["./home.zh-CN-7df18227.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/importOnDemand",component:()=>t(()=>import("./importOnDemand.en-US-8a862ce0.js"),["./importOnDemand.en-US-8a862ce0.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/importOnDemand",component:()=>t(()=>import("./importOnDemand.zh-CN-44caf171.js"),["./importOnDemand.zh-CN-44caf171.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/migrationGuide",component:()=>t(()=>import("./migrationGuide.en-US-dc977315.js"),["./migrationGuide.en-US-dc977315.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/migrationGuide",component:()=>t(()=>import("./migrationGuide.zh-CN-3eff3638.js"),["./migrationGuide.zh-CN-3eff3638.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/quickstart",component:()=>t(()=>import("./quickstart.en-US-4a9ddb51.js"),["./quickstart.en-US-4a9ddb51.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/quickstart",component:()=>t(()=>import("./quickstart.zh-CN-16643e09.js"),["./quickstart.zh-CN-16643e09.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/en-US/serverSideRendering",component:()=>t(()=>import("./serverSideRendering.en-US-3241ca49.js"),["./serverSideRendering.en-US-3241ca49.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)},{path:"/zh-CN/serverSideRendering",component:()=>t(()=>import("./serverSideRendering.zh-CN-b06f1f16.js"),["./serverSideRendering.zh-CN-b06f1f16.js","./index-af5fec45.js","./index-f6b4cf21.css"],import.meta.url)}]}],C=B;let tt=0;const ot=10,et=g({name:"VarSiteCodeExample",props:{playgroundIgnore:{type:Boolean,default:!1}},setup(o){const e=m(null),p=m(tt++),_=m(i(n,"pc.fold")),u=m(!1),h=m(i(n,"pc.clipboard",{})),r=m(-1),l=m(o.playgroundIgnore?void 0:i(n,"pc.header.playground"));let I=null;const y=async()=>{const E=_.value.foldHeight;if(r.value===E){r.value=-1,await $();const{offsetHeight:a}=e.value;r.value=E,await O(),r.value=a,I=setTimeout(()=>{r.value=-1},250)}else{clearTimeout(I);const{offsetHeight:a}=e.value;r.value=a,await O(),r.value=E}},w=()=>{var c;const a={"App.vue":((c=e.value)==null?void 0:c.innerText)??""},v=x().replace("Theme","");C.showPlayground=!0,C.playgroundURL=`${l.value}/?initialTheme=${v}#${H(JSON.stringify(a))}`};return N(()=>{var v,c;new Q(`#clip-trigger-${p.value}`).on("success",()=>{f.success(h.value[S().language])});const{offsetHeight:a}=e.value;u.value=a-_.value.foldHeight[A(r,{name:"xml",size:"18"})]),_:1},8,["onClick"])):L("",!0),o.clipboard?(d(),s(l,{key:1,id:`clip-trigger-${o.cid}`,"data-clipboard-target":`#clip-target-${o.cid}`,text:"",round:""},{default:R(()=>[A(r,{name:"content-copy",size:"18"})]),_:1},8,["id","data-clipboard-target"])):L("",!0),o.playground?(d(),s(l,{key:2,text:"",round:"",onClick:o.toPlayground},{default:R(()=>[A(r,{name:"code-json",size:"18"})]),_:1},8,["onClick"])):L("",!0)]),D("div",{id:`clip-target-${o.cid}`,class:F(["var-site-code-example__code",[o.disabledFold?"var-site-code-example--scroller":null]]),ref:"code",style:q({height:o.height>=0?`${o.height}px`:void 0})},[j(o.$slots,"default")],14,pt)])}const T=U(et,[["render",mt]]);T.install=function(o){o.component(T.name,T)};const it=i(n,"defaultLanguage"),z=i(n,"pc.redirect"),nt=i(n,"mobile.redirect");f.allowMultiple(!0);z&&b.push({path:"/:pathMatch(.*)*",redirect:`/${it}${z}`});const P=G({history:J(),routes:b,scrollBehavior(o){return o.hash?{el:o.hash,behavior:"smooth",top:100}:{top:0}}});P.beforeEach((o,e)=>{if(o.fullPath===e.fullPath)return!1;window._hmt&&o.path&&window._hmt.push(["_trackPageview",`/#${o.fullPath}`])});Object.defineProperty(window,"onMobileRouteChange",{value:(o,e,p,_)=>{if(o===nt){P.replace(`/${e}/${p}${_}`);return}P.replace(`/${e}${o}${_}`)}});Object.defineProperty(window,"scrollToMenu",{value:o=>{setTimeout(()=>{const e=document.getElementById(o),p=e.parentNode;p.scrollTo({top:e.offsetTop-p.offsetHeight/2})})}});W(Z).use(K).use(P).use(T).mount("#app"); diff --git a/assets/migrationGuide.en-US-dc977315.js b/assets/migrationGuide.en-US-f2c3ff39.js similarity index 99% rename from assets/migrationGuide.en-US-dc977315.js rename to assets/migrationGuide.en-US-f2c3ff39.js index 3a7b4542dc9..70708384413 100644 --- a/assets/migrationGuide.en-US-dc977315.js +++ b/assets/migrationGuide.en-US-f2c3ff39.js @@ -1,4 +1,4 @@ -import{_ as c,b as d,e as i,m as r,p as e,q as t,w as n,Q as o,Z as a}from"./index-af5fec45.js";const p={components:{}},h={class:"varlet-site-doc"},m=e("h1",null,"Migration Guide",-1),u={class:"card"},_={id:"Introduce"},g=e("p",null,[o("This section mainly introduces the main changes of the "),e("code",null,"2.x"),o(" version compared to the "),e("code",null,"1.x"),o(" version and the considerations for migration.")],-1),f=e("h2",null,"Components Library(@varlet/ui)",-1),v={class:"card"},y={id:"Component-refactoring"},k=a('
  • The Menu component has been reworked, the api has been optimized to make it easier to use, and it has better boundary detection capabilities and performance on the desktop side. For specific usage, please refer to Menu documentation,
  • The drop-down menu of the Select component is replaced by the new Menu component
  • The drop-down menu of the Pagination component is replaced by the new Menu component
  • Default color of Loading component changed from currentColor to var(--color-primary)
  • The Loading component exposes var(--loading-color)
  • Added loadingColor property to Button component
  • Added loadingColor property to Snackbar component
  • Added labelClass property to Progress component
  • Added tag property to StyleProvider component to allow custom container tags
  • Cell component renamed part of api desc -> description, descClass -> descriptionClass
  • DatePicker component renamed part of api shadow -> elevation
  • TimePicker component renamed part of api shadow -> elevation
  • Card component renamed parts of api height -> image-height, content -> floating-content
  • Added direction property to Col component
  • Added width property to Dialog component
  • Added useForm and useValidation static methods to the Form component to provide the ability to customize form components
',1),w={class:"card"},b={id:"Component-style-variable-changes"},j=a("
  • Menu component variable added --menu-background-color
  • Select component variable added --select-select-min-height, --select-menu-margin-top
  • Pagination component variable added --pagination-simple-padding
  • Loading component variable added --loading-color
  • Rate component variable added --rate-color
  • Counter component variable added --counter-disabled-opacity
  • Slider component variable added --slider-disabled-opacity
  • Switch component variable added --switch-disabled-opacity
  • Cell component variable renamed --cell-desc-font-size -> --cell-description-font-size, --cell-desc-color -> --cell-description-color
  • Form component variable renamed --form-details-error-color -> --form-details-error-message-color--form-details-length-color -> --form-details-extra-message-color
",1),x={class:"card"},C={id:"UMD-module-exports-Chinese-and-English-language-packages"},S=e("p",null,[o("In the "),e("code",null,"1.x"),o(" version, the UMD module did not export the Chinese and English language packs. In the "),e("code",null,"2.x"),o(" version, we exported the Chinese and English language packs by default. Non-UMD modules now have two ways to use language packs.")],-1),D=e("pre",{class:"hljs"},[e("code",null,[e("span",{class:"hljs-keyword"},"import"),o(" { Locale } "),e("span",{class:"hljs-keyword"},"from"),o(),e("span",{class:"hljs-string"},"'@varlet/ui'"),o(` +import{_ as c,b as d,e as i,m as r,p as e,q as t,w as n,Q as o,Z as a}from"./index-0bd4ebfc.js";const p={components:{}},h={class:"varlet-site-doc"},m=e("h1",null,"Migration Guide",-1),u={class:"card"},_={id:"Introduce"},g=e("p",null,[o("This section mainly introduces the main changes of the "),e("code",null,"2.x"),o(" version compared to the "),e("code",null,"1.x"),o(" version and the considerations for migration.")],-1),f=e("h2",null,"Components Library(@varlet/ui)",-1),v={class:"card"},y={id:"Component-refactoring"},k=a('
  • The Menu component has been reworked, the api has been optimized to make it easier to use, and it has better boundary detection capabilities and performance on the desktop side. For specific usage, please refer to Menu documentation,
  • The drop-down menu of the Select component is replaced by the new Menu component
  • The drop-down menu of the Pagination component is replaced by the new Menu component
  • Default color of Loading component changed from currentColor to var(--color-primary)
  • The Loading component exposes var(--loading-color)
  • Added loadingColor property to Button component
  • Added loadingColor property to Snackbar component
  • Added labelClass property to Progress component
  • Added tag property to StyleProvider component to allow custom container tags
  • Cell component renamed part of api desc -> description, descClass -> descriptionClass
  • DatePicker component renamed part of api shadow -> elevation
  • TimePicker component renamed part of api shadow -> elevation
  • Card component renamed parts of api height -> image-height, content -> floating-content
  • Added direction property to Col component
  • Added width property to Dialog component
  • Added useForm and useValidation static methods to the Form component to provide the ability to customize form components
',1),w={class:"card"},b={id:"Component-style-variable-changes"},j=a("
  • Menu component variable added --menu-background-color
  • Select component variable added --select-select-min-height, --select-menu-margin-top
  • Pagination component variable added --pagination-simple-padding
  • Loading component variable added --loading-color
  • Rate component variable added --rate-color
  • Counter component variable added --counter-disabled-opacity
  • Slider component variable added --slider-disabled-opacity
  • Switch component variable added --switch-disabled-opacity
  • Cell component variable renamed --cell-desc-font-size -> --cell-description-font-size, --cell-desc-color -> --cell-description-color
  • Form component variable renamed --form-details-error-color -> --form-details-error-message-color--form-details-length-color -> --form-details-extra-message-color
",1),x={class:"card"},C={id:"UMD-module-exports-Chinese-and-English-language-packages"},S=e("p",null,[o("In the "),e("code",null,"1.x"),o(" version, the UMD module did not export the Chinese and English language packs. In the "),e("code",null,"2.x"),o(" version, we exported the Chinese and English language packs by default. Non-UMD modules now have two ways to use language packs.")],-1),D=e("pre",{class:"hljs"},[e("code",null,[e("span",{class:"hljs-keyword"},"import"),o(" { Locale } "),e("span",{class:"hljs-keyword"},"from"),o(),e("span",{class:"hljs-string"},"'@varlet/ui'"),o(` `),e("span",{class:"hljs-keyword"},"import"),o(" enUS "),e("span",{class:"hljs-keyword"},"from"),o(),e("span",{class:"hljs-string"},"'@varlet/ui/es/locale/en-US'"),o(` Locale.add(`),e("span",{class:"hljs-string"},"'en-US'"),o(`, enUS) diff --git a/assets/migrationGuide.zh-CN-3eff3638.js b/assets/migrationGuide.zh-CN-b2567cab.js similarity index 99% rename from assets/migrationGuide.zh-CN-3eff3638.js rename to assets/migrationGuide.zh-CN-b2567cab.js index e2ef703b984..d44ee8eaf86 100644 --- a/assets/migrationGuide.zh-CN-3eff3638.js +++ b/assets/migrationGuide.zh-CN-b2567cab.js @@ -1,4 +1,4 @@ -import{_ as a,b as n,e as t,m as r,p as o,q as l,w as s,Q as e,Z as d}from"./index-af5fec45.js";const h={components:{}},u={class:"varlet-site-doc"},_=o("h1",null,"迁移指南",-1),p={class:"card"},g={id:"jie4-shao4"},m=o("p",null,[e("本节主要介绍 "),o("code",null,"2.x"),e(" 版本相对于 "),o("code",null,"1.x"),e(" 版本的主要变化以及迁移的注意事项。")],-1),y=o("h2",null,"组件库(@varlet/ui)",-1),j={class:"card"},f={id:"zu3-jian4-zhong4-gou4"},v=d('
  • Menu 组件进行了重做,优化了 api 使其变得更易使用,在桌面端也有更优秀的边界检测能力和性能。具体使用方式参考 Menu 文档
  • Select 组件的下拉菜单替换成了新版 Menu 组件
  • Pagination 组件的下拉菜单替换成了新版 Menu 组件
  • Loading 组件的默认颜色从 currentColor 更改为 var(--color-primary)
  • Loading 组件暴露出 var(--loading-color)
  • Button 组件新增 loadingColor 属性
  • Snackbar 组件新增 loadingColor 属性
  • Progress 组件新增 labelClass 属性
  • StyleProvider 组件新增 tag 属性,允许自定义容器标签
  • Cell 组件重命名了部分 api desc -> descriptiondescClass -> descriptionClass
  • DatePicker 组件重命名了部分 api shadow -> elevation
  • TimePicker 组件重命名了部分 api shadow -> elevation
  • Card 组件重命名了部分 api height -> image-heightcontent -> floating-content
  • Col 组件新增 direction 属性
  • Dialog 组件新增 width 属性
  • Form 组件新增 useFormuseValidation 静态方法以提供自定义表单组件的能力
',1),k={class:"card"},w={id:"zu3-jian4-yang4-shi4-bian4-liang2-bian4-geng1"},z=d("
  • Menu 组件变量新增 --menu-background-color
  • Select 组件变量新增 --select-select-min-height--select-menu-margin-top
  • Pagination 组件变量新增 --pagination-simple-padding
  • Loading 组件变量新增 --loading-color
  • Rate 组件变量新增 --rate-color
  • Counter 组件变量新增 --counter-disabled-opacity
  • Slider 组件变量新增 --slider-disabled-opacity
  • Switch 组件变量新增 --switch-disabled-opacity
  • Cell 组件变量重命名 --cell-desc-font-size -> --cell-description-font-size--cell-desc-color -> --cell-description-color
  • Form 组件变量重命名 --form-details-error-color -> --form-details-error-message-color--form-details-length-color -> --form-details-extra-message-color
",1),x={class:"card"},b={id:"UMD--mo2-kuai4-dao3-chu1-zhong1-ying1-wen2-yu3-yan2-bao1"},S=o("p",null,[e("在 "),o("code",null,"1.x"),e(" 版本中,UMD 模块不导出中英文语言包,在 "),o("code",null,"2.x"),e(" 版本中,我们将中英文语言包进行了导出, 非 UMD 模块现在有两种使用语言包的方式。")],-1),M=o("pre",{class:"hljs"},[o("code",null,[o("span",{class:"hljs-keyword"},"import"),e(" { Locale } "),o("span",{class:"hljs-keyword"},"from"),e(),o("span",{class:"hljs-string"},"'@varlet/ui'"),e(` +import{_ as a,b as n,e as t,m as r,p as o,q as l,w as s,Q as e,Z as d}from"./index-0bd4ebfc.js";const h={components:{}},u={class:"varlet-site-doc"},_=o("h1",null,"迁移指南",-1),p={class:"card"},g={id:"jie4-shao4"},m=o("p",null,[e("本节主要介绍 "),o("code",null,"2.x"),e(" 版本相对于 "),o("code",null,"1.x"),e(" 版本的主要变化以及迁移的注意事项。")],-1),y=o("h2",null,"组件库(@varlet/ui)",-1),j={class:"card"},f={id:"zu3-jian4-zhong4-gou4"},v=d('
  • Menu 组件进行了重做,优化了 api 使其变得更易使用,在桌面端也有更优秀的边界检测能力和性能。具体使用方式参考 Menu 文档
  • Select 组件的下拉菜单替换成了新版 Menu 组件
  • Pagination 组件的下拉菜单替换成了新版 Menu 组件
  • Loading 组件的默认颜色从 currentColor 更改为 var(--color-primary)
  • Loading 组件暴露出 var(--loading-color)
  • Button 组件新增 loadingColor 属性
  • Snackbar 组件新增 loadingColor 属性
  • Progress 组件新增 labelClass 属性
  • StyleProvider 组件新增 tag 属性,允许自定义容器标签
  • Cell 组件重命名了部分 api desc -> descriptiondescClass -> descriptionClass
  • DatePicker 组件重命名了部分 api shadow -> elevation
  • TimePicker 组件重命名了部分 api shadow -> elevation
  • Card 组件重命名了部分 api height -> image-heightcontent -> floating-content
  • Col 组件新增 direction 属性
  • Dialog 组件新增 width 属性
  • Form 组件新增 useFormuseValidation 静态方法以提供自定义表单组件的能力
',1),k={class:"card"},w={id:"zu3-jian4-yang4-shi4-bian4-liang2-bian4-geng1"},z=d("
  • Menu 组件变量新增 --menu-background-color
  • Select 组件变量新增 --select-select-min-height--select-menu-margin-top
  • Pagination 组件变量新增 --pagination-simple-padding
  • Loading 组件变量新增 --loading-color
  • Rate 组件变量新增 --rate-color
  • Counter 组件变量新增 --counter-disabled-opacity
  • Slider 组件变量新增 --slider-disabled-opacity
  • Switch 组件变量新增 --switch-disabled-opacity
  • Cell 组件变量重命名 --cell-desc-font-size -> --cell-description-font-size--cell-desc-color -> --cell-description-color
  • Form 组件变量重命名 --form-details-error-color -> --form-details-error-message-color--form-details-length-color -> --form-details-extra-message-color
",1),x={class:"card"},b={id:"UMD--mo2-kuai4-dao3-chu1-zhong1-ying1-wen2-yu3-yan2-bao1"},S=o("p",null,[e("在 "),o("code",null,"1.x"),e(" 版本中,UMD 模块不导出中英文语言包,在 "),o("code",null,"2.x"),e(" 版本中,我们将中英文语言包进行了导出, 非 UMD 模块现在有两种使用语言包的方式。")],-1),M=o("pre",{class:"hljs"},[o("code",null,[o("span",{class:"hljs-keyword"},"import"),e(" { Locale } "),o("span",{class:"hljs-keyword"},"from"),e(),o("span",{class:"hljs-string"},"'@varlet/ui'"),e(` `),o("span",{class:"hljs-keyword"},"import"),e(" enUS "),o("span",{class:"hljs-keyword"},"from"),e(),o("span",{class:"hljs-string"},"'@varlet/ui/es/locale/en-US'"),e(` Locale.add(`),o("span",{class:"hljs-string"},"'en-US'"),e(`, enUS) diff --git a/assets/mobile-b4446865.js b/assets/mobile-b4446865.js new file mode 100644 index 00000000000..74832c0d0a3 --- /dev/null +++ b/assets/mobile-b4446865.js @@ -0,0 +1 @@ +import{h as t,d as x,r as n,C as q,g as d,c as m,D as G,E as H,k as S,F,G as K,H as M,I as X,i as E,J as v,K as $,_ as J,b as V,L as Q,e as l,m as w,p as B,q as u,w as c,f as P,t as A,y as W,M as j,N as U,O as Y,P as Z,x as tt,Q as et,R as ot,T as rt,z as at,A as pt,B as it,V as _t}from"./index-0bd4ebfc.js";const b=[{path:"/action-sheet",component:()=>t(()=>import("./index-6457f840.js"),["./index-6457f840.js","./index-f92ac5ca.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-0e439e92.js","./lock-e6f4e779.js","./zIndex-976ced0e.js","./provide-f823f5cd.js","./index-35f46e3e.css","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-4a9c2ae2.js","./index-072586ea.css","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-1ed406cf.js","./index-98bedc2d.css","./index-d8fbf18c.js","./appType-a8f87391.js"],import.meta.url)},{path:"/app-bar",component:()=>t(()=>import("./index-a0dce8b8.js"),["./index-a0dce8b8.js","./index-d8fbf18c.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-5540406a.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-bf94e46f.js","./index-482a9388.js","./index-0a48dc20.css","./shared-a3ff1edc.js","./index-4e399406.css","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-06d1aac0.css"],import.meta.url)},{path:"/avatar",component:()=>t(()=>import("./index-750419f7.js"),["./index-750419f7.js","./index-817b7dbd.js","./elements-23c82371.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./shared-a3ff1edc.js","./components-a5332e66.js","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-bae97d31.js","./provide-4fc67263.js","./provide-f0891a4b.css","./index-d5ac26b6.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-4f14f999.css"],import.meta.url)},{path:"/back-top",component:()=>t(()=>import("./index-d722112a.js"),["./index-d722112a.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./shared-a3ff1edc.js","./index-3f170ae4.js","./index-3181a6f7.css","./index-d8fbf18c.js","./index-d638d4f2.css"],import.meta.url)},{path:"/badge",component:()=>t(()=>import("./index-8478439b.js"),["./index-8478439b.js","./index-aa14e311.js","./index-2c5b74fa.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-de0142e6.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-123e4258.js","./index-9c69d68e.css","./index-65cffe90.js","./index-721bca57.css","./index-0dba4f4e.js","./index-e4246741.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-dc8f64ea.css","./index-7e1b2d34.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/bottom-navigation",component:()=>t(()=>import("./index-e9f13537.js"),["./index-e9f13537.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-aa14e311.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-de0142e6.css","./index-1ed406cf.js","./zIndex-976ced0e.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-67c1b4a2.css"],import.meta.url)},{path:"/breadcrumb",component:()=>t(()=>import("./index-f96199bf.js"),["./index-f96199bf.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/breadcrumbs",component:()=>t(()=>import("./index-3e82c7e6.js"),["./index-3e82c7e6.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./logger-525ef361.js","./index-2c5b74fa.js","./elements-23c82371.js","./index-7cf59957.css","./index-1ed406cf.js","./index-1e0bee81.js","./index-6687696f.css","./zIndex-976ced0e.js","./index-9eb15296.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-13be8695.css"],import.meta.url)},{path:"/button",component:()=>t(()=>import("./index-3c57012d.js"),["./index-3c57012d.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-65cffe90.js","./index-721bca57.css","./index-5540406a.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-0ef13767.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-1ed406cf.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-5b977fda.css"],import.meta.url)},{path:"/card",component:()=>t(()=>import("./index-60e01842.js"),["./index-60e01842.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-8ac50940.js","./index-504fdb5a.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-5ae829a8.js","./zIndex-976ced0e.js","./lock-e6f4e779.js","./index-2538831e.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-3553cccb.css"],import.meta.url)},{path:"/cell",component:()=>t(()=>import("./index-69767522.js"),["./index-69767522.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-2c5b74fa.js","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-2b5c6686.js","./Paper-e2cdc119.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./Paper-ef66a213.css","./index-0fd7c0ec.js","./provide-4fc67263.js","./provide-f0891a4b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./index-ed8c1033.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/checkbox-group",component:()=>t(()=>import("./index-416077d8.js"),["./index-416077d8.js","./index-60111656.js","./provide-4fc67263.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./provide-f0891a4b.css","./index-9fe788b6.js","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./index-5772dc5f.css","./index-e79af78c.css","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-d247dc48.css"],import.meta.url)},{path:"/chip",component:()=>t(()=>import("./index-5ad325ff.js"),["./index-5ad325ff.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-123e4258.js","./index-2c5b74fa.js","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-9c69d68e.css","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/collapse",component:()=>t(()=>import("./index-04bf1a39.js"),["./index-04bf1a39.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-eecaa7fb.css"],import.meta.url)},{path:"/countdown",component:()=>t(()=>import("./index-b21d5822.js"),["./index-b21d5822.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./shared-a3ff1edc.js","./index-1ed406cf.js","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-2c5b74fa.js","./index-7cf59957.css","./zIndex-976ced0e.js","./index-9eb15296.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-e6df479c.js","./index-dc663e72.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-e77a118c.css"],import.meta.url)},{path:"/counter",component:()=>t(()=>import("./index-dbacaf00.js"),["./index-dbacaf00.js","./index-b3f25360.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./provide-4fc67263.js","./provide-f0891a4b.css","./index-679724b2.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-6ad06f91.css"],import.meta.url)},{path:"/date-picker",component:()=>t(()=>import("./index-007fb83e.js"),["./index-007fb83e.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-4a9c2ae2.js","./shared-a3ff1edc.js","./index-d8fbf18c.js","./appType-a8f87391.js","./index-ba79edbc.css"],import.meta.url)},{path:"/dialog",component:()=>t(()=>import("./index-d4b32961.js"),["./index-d4b32961.js","./index-0770059a.js","./index-0e439e92.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./lock-e6f4e779.js","./index-9eb15296.js","./zIndex-976ced0e.js","./provide-f823f5cd.js","./index-35f46e3e.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-4a9c2ae2.js","./index-a7ac489a.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-1ed406cf.js","./index-98bedc2d.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-d8fbf18c.js","./appType-a8f87391.js","./index-003d4df0.css"],import.meta.url)},{path:"/divider",component:()=>t(()=>import("./index-23f219be.js"),["./index-23f219be.js","./index-8ac50940.js","./elements-23c82371.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./components-a5332e66.js","./index-504fdb5a.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-b95d0be1.css"],import.meta.url)},{path:"/drag",component:()=>t(()=>import("./index-847faa84.js"),["./index-847faa84.js","./index-7e655bd3.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-c8f8cb89.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/ellipsis",component:()=>t(()=>import("./index-4ea5fc06.js"),["./index-4ea5fc06.js","./index-0dba4f4e.js","./index-e4246741.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-dc8f64ea.css","./index-7e1b2d34.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/fab",component:()=>t(()=>import("./index-6f504879.js"),["./index-6f504879.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-7e655bd3.js","./index-c8f8cb89.css","./index-1ec6d5a5.js","./provide-4fc67263.js","./provide-f0891a4b.css","./index-07098396.css","./index-0fd7c0ec.js","./index-ed8c1033.css","./index-0c036f3e.js","./index-5540406a.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-0ef13767.css","./index-123e4258.js","./index-9c69d68e.css","./index-d5ac26b6.js","./index-49f4d7da.css","./useSelectController-4200caca.js","./index-9fe788b6.js","./index-5772dc5f.css","./index-8a8ad09a.css","./index-d8fbf18c.js","./index-1128f16a.js","./index-23325e82.css","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-745cfeb2.css"],import.meta.url)},{path:"/floating-panel",component:()=>t(()=>import("./index-dd126943.js"),["./index-dd126943.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./lock-e6f4e779.js","./index-9eb15296.js","./elements-23c82371.js","./logger-525ef361.js","./index-bf94e46f.js","./index-482a9388.js","./index-0a48dc20.css","./shared-a3ff1edc.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-4e399406.css","./index-5a594378.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./provide-e4d73c18.js","./provide-f823f5cd.js","./index-fecaf467.css","./provide-90c65717.js","./index-872482af.css","./index-72aad0a2.js","./index-f71140ae.js","./index-9c8a0b69.css","./index-b8be1990.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-4a9c2ae2.js","./index-d8fbf18c.js","./index-35bbc140.css"],import.meta.url)},{path:"/form",component:()=>t(()=>import("./index-ec7f9f1c.js"),["./index-ec7f9f1c.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./provide-4fc67263.js","./provide-f0891a4b.css","./elements-23c82371.js","./logger-525ef361.js","./shared-a3ff1edc.js","./index-bae97d31.js","./index-d5ac26b6.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-49f4d7da.css","./index-e0d788c7.css","./index-0c036f3e.js","./index-5540406a.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./index-123e4258.js","./index-9c69d68e.css","./useSelectController-4200caca.js","./index-9fe788b6.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./index-5772dc5f.css","./index-8a8ad09a.css","./index-60111656.js","./index-e79af78c.css","./index-1ec6d5a5.js","./index-07098396.css","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-9e03b378.css","./index-0fd7c0ec.js","./index-ed8c1033.css","./index-1128f16a.js","./index-23325e82.css","./index-3c549829.js","./index-0e439e92.js","./lock-e6f4e779.js","./provide-f823f5cd.js","./index-35f46e3e.css","./index-b7d082cd.js","./index-67cbdf85.js","./provide-e4d73c18.js","./index-fecaf467.css","./index-f71140ae.js","./index-9c8a0b69.css","./index-8d779e4f.css","./index-66ba0f4e.css","./index-b3f25360.js","./index-679724b2.css","./index-e122297f.js","./index-1a9bf711.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-278f3d0e.css"],import.meta.url)},{path:"/hover",component:()=>t(()=>import("./index-7000591b.js"),["./index-7000591b.js","./index-27fcaf7d.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-3bea2fce.js","./index-28dcc9be.js","./index-9eb15296.js","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-817b7dbd.js","./elements-23c82371.js","./logger-525ef361.js","./shared-a3ff1edc.js","./index-bc2cf4e9.css","./index-2b5c6686.js","./Paper-e2cdc119.js","./Paper-ef66a213.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-5ed89d2e.css"],import.meta.url)},{path:"/icon",component:()=>t(()=>import("./index-24e48932.js"),["./index-24e48932.js","./index-2c5b74fa.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-bae97d31.js","./provide-4fc67263.js","./provide-f0891a4b.css","./index-d5ac26b6.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1ed406cf.js","./index-1e0bee81.js","./index-6687696f.css","./zIndex-976ced0e.js","./lock-e6f4e779.js","./index-98bedc2d.css","./clipboard-dfb26261.js","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-45204d25.css"],import.meta.url)},{path:"/image-preview",component:()=>t(()=>import("./index-a41d76fa.js"),["./index-a41d76fa.js","./index-b7d082cd.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./provide-e4d73c18.js","./provide-f823f5cd.js","./index-fecaf467.css","./index-f71140ae.js","./index-9c8a0b69.css","./index-0e439e92.js","./lock-e6f4e779.js","./zIndex-976ced0e.js","./index-35f46e3e.css","./index-8d779e4f.css","./index-f92ac5ca.js","./index-4a9c2ae2.js","./index-072586ea.css","./index-1ed406cf.js","./index-98bedc2d.css","./index-d8fbf18c.js","./appType-a8f87391.js","./index-47701f74.css"],import.meta.url)},{path:"/image",component:()=>t(()=>import("./index-b2769476.js"),["./index-b2769476.js","./index-3bea2fce.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-817b7dbd.js","./elements-23c82371.js","./logger-525ef361.js","./shared-a3ff1edc.js","./index-bc2cf4e9.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-3cede4a4.css"],import.meta.url)},{path:"/index-bar",component:()=>t(()=>import("./index-102c8be6.js"),["./index-102c8be6.js","./index-482a9388.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-0a48dc20.css","./shared-a3ff1edc.js","./index-3f170ae4.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-3181a6f7.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./index-cb246228.css"],import.meta.url)},{path:"/input",component:()=>t(()=>import("./index-579ecfad.js"),["./index-579ecfad.js","./index-bae97d31.js","./provide-4fc67263.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./provide-f0891a4b.css","./index-d5ac26b6.js","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-49f4d7da.css","./index-e0d788c7.css","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-f43c5fd1.css"],import.meta.url)},{path:"/lazy",component:()=>t(()=>import("./index-d1d3bbd5.js"),["./index-d1d3bbd5.js","./index-817b7dbd.js","./elements-23c82371.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./shared-a3ff1edc.js","./components-a5332e66.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-b6e1fb94.css"],import.meta.url)},{path:"/link",component:()=>t(()=>import("./index-c97018b9.js"),["./index-c97018b9.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-60282f96.css"],import.meta.url)},{path:"/list",component:()=>t(()=>import("./index-0c35e674.js"),["./index-0c35e674.js","./index-1e0bee81.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-4a9c2ae2.js","./index-72aad0a2.js","./index-f71140ae.js","./provide-e4d73c18.js","./index-9c8a0b69.css","./provide-90c65717.js","./index-b8be1990.css","./index-3f170ae4.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-3181a6f7.css","./index-bf94e46f.js","./index-482a9388.js","./index-0a48dc20.css","./shared-a3ff1edc.js","./index-4e399406.css","./index-5a594378.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./provide-f823f5cd.js","./index-fecaf467.css","./index-872482af.css","./index-d8fbf18c.js","./index-ed79b709.css"],import.meta.url)},{path:"/loading-bar",component:()=>t(()=>import("./index-855ecd52.js"),["./index-855ecd52.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-f62255f7.css"],import.meta.url)},{path:"/loading",component:()=>t(()=>import("./index-843c5053.js"),["./index-843c5053.js","./index-1e0bee81.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-5ae829a8.js","./index-2c5b74fa.js","./index-7cf59957.css","./zIndex-976ced0e.js","./lock-e6f4e779.js","./index-2538831e.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-6bb4ac16.css"],import.meta.url)},{path:"/menu-select",component:()=>t(()=>import("./index-e354956c.js"),["./index-e354956c.js","./index-5540406a.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./usePopover-1ef39509.js","./elements-23c82371.js","./logger-525ef361.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./useSelectController-4200caca.js","./index-9fe788b6.js","./index-2c5b74fa.js","./index-7cf59957.css","./provide-4fc67263.js","./provide-f0891a4b.css","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./index-5772dc5f.css","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-a0123d66.css"],import.meta.url)},{path:"/menu",component:()=>t(()=>import("./index-9f75b4ae.js"),["./index-9f75b4ae.js","./index-5540406a.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./usePopover-1ef39509.js","./elements-23c82371.js","./logger-525ef361.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-0c036f3e.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-123e4258.js","./index-9c69d68e.css","./index-d5ac26b6.js","./index-49f4d7da.css","./provide-4fc67263.js","./provide-f0891a4b.css","./useSelectController-4200caca.js","./index-9fe788b6.js","./index-5772dc5f.css","./index-8a8ad09a.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-1ed406cf.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-e2dada0d.css"],import.meta.url)},{path:"/overlay",component:()=>t(()=>import("./index-561638eb.js"),["./index-561638eb.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./lock-e6f4e779.js","./index-9eb15296.js","./zIndex-976ced0e.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-1ed406cf.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-c6d03e83.css"],import.meta.url)},{path:"/pagination",component:()=>t(()=>import("./index-2b33b811.js"),["./index-2b33b811.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-f748fb96.js","./index-5540406a.js","./components-a5332e66.js","./usePopover-1ef39509.js","./elements-23c82371.js","./logger-525ef361.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-bae97d31.js","./provide-4fc67263.js","./provide-f0891a4b.css","./index-d5ac26b6.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-4a9c2ae2.js","./index-b54e87b1.css","./index-d8fbf18c.js","./appType-a8f87391.js","./index-860a6437.css"],import.meta.url)},{path:"/paper",component:()=>t(()=>import("./index-5956c13b.js"),["./index-5956c13b.js","./Paper-e2cdc119.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./elements-23c82371.js","./logger-525ef361.js","./Paper-ef66a213.css","./index-3f170ae4.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-3181a6f7.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/picker",component:()=>t(()=>import("./index-d63aa168.js"),["./index-d63aa168.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-0e439e92.js","./lock-e6f4e779.js","./zIndex-976ced0e.js","./provide-f823f5cd.js","./index-35f46e3e.css","./index-4a9c2ae2.js","./index-1ed406cf.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-98bedc2d.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./appType-a8f87391.js","./index-47e0ab2a.css"],import.meta.url)},{path:"/popup",component:()=>t(()=>import("./index-a669e219.js"),["./index-a669e219.js","./index-0e439e92.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./lock-e6f4e779.js","./index-9eb15296.js","./zIndex-976ced0e.js","./provide-f823f5cd.js","./index-35f46e3e.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-1ed406cf.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-c243f1bf.css"],import.meta.url)},{path:"/progress",component:()=>t(()=>import("./index-db4ef305.js"),["./index-db4ef305.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./components-a5332e66.js","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-9468a008.css"],import.meta.url)},{path:"/pull-refresh",component:()=>t(()=>import("./index-51fa972a.js"),["./index-51fa972a.js","./index-2c5b74fa.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-3f170ae4.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-3181a6f7.css","./index-d8fbf18c.js","./index-928e31fe.css"],import.meta.url)},{path:"/radio-group",component:()=>t(()=>import("./index-b9b5d07e.js"),["./index-b9b5d07e.js","./index-1ec6d5a5.js","./provide-4fc67263.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./provide-f0891a4b.css","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./index-07098396.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-03126c6f.css"],import.meta.url)},{path:"/rate",component:()=>t(()=>import("./index-d2b5357e.js"),["./index-d2b5357e.js","./index-e122297f.js","./index-2c5b74fa.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./provide-4fc67263.js","./provide-f0891a4b.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-1a9bf711.css","./index-1ed406cf.js","./index-1e0bee81.js","./index-6687696f.css","./zIndex-976ced0e.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/result",component:()=>t(()=>import("./index-ac0323f3.js"),["./index-ac0323f3.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-0e439e92.js","./lock-e6f4e779.js","./zIndex-976ced0e.js","./provide-f823f5cd.js","./index-35f46e3e.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-f2d90102.css"],import.meta.url)},{path:"/ripple",component:()=>t(()=>import("./index-23a115eb.js"),["./index-23a115eb.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-5a8249ae.css"],import.meta.url)},{path:"/row",component:()=>t(()=>import("./index-7a6fd2cb.js"),["./index-7a6fd2cb.js","./index-e6df479c.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-dc663e72.css","./index-79c63a4e.js","./index-6227f113.css","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-9151fc0c.css"],import.meta.url)},{path:"/select",component:()=>t(()=>import("./index-2341c7df.js"),["./index-2341c7df.js","./index-0c036f3e.js","./index-2c5b74fa.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-5540406a.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./index-123e4258.js","./index-9c69d68e.css","./index-d5ac26b6.js","./index-49f4d7da.css","./provide-4fc67263.js","./provide-f0891a4b.css","./useSelectController-4200caca.js","./index-9fe788b6.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./index-5772dc5f.css","./index-8a8ad09a.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-3296ef4a.css"],import.meta.url)},{path:"/skeleton",component:()=>t(()=>import("./index-93a4577c.js"),["./index-93a4577c.js","./elements-23c82371.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./components-a5332e66.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-190029f3.css"],import.meta.url)},{path:"/slider",component:()=>t(()=>import("./index-86ac835d.js"),["./index-86ac835d.js","./index-1128f16a.js","./provide-4fc67263.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./provide-f0891a4b.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./elements-23c82371.js","./logger-525ef361.js","./index-23325e82.css","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-94db68e6.css"],import.meta.url)},{path:"/snackbar",component:()=>t(()=>import("./index-a64baa34.js"),["./index-a64baa34.js","./index-1ed406cf.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-1e0bee81.js","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-2c5b74fa.js","./index-7cf59957.css","./zIndex-976ced0e.js","./index-9eb15296.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/space",component:()=>t(()=>import("./index-9e0ad07e.js"),["./index-9e0ad07e.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-65cffe90.js","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-721bca57.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/steps",component:()=>t(()=>import("./index-90dd8486.js"),["./index-90dd8486.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-5ac0ca5a.css"],import.meta.url)},{path:"/sticky",component:()=>t(()=>import("./index-1851cb52.js"),["./index-1851cb52.js","./index-482a9388.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./index-0a48dc20.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-0ef15e26.css"],import.meta.url)},{path:"/style-provider",component:()=>t(()=>import("./index-255350e3.js"),["./index-255350e3.js","./elements-23c82371.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./components-a5332e66.js","./index-e122297f.js","./index-2c5b74fa.js","./index-7cf59957.css","./provide-4fc67263.js","./provide-f0891a4b.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-1a9bf711.css","./index-0fd7c0ec.js","./index-ed8c1033.css","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/styles",component:()=>t(()=>import("./index-fb489409.js"),["./index-fb489409.js","./index-65cffe90.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-49012093.css"],import.meta.url)},{path:"/swipe",component:()=>t(()=>import("./index-faab79ab.js"),["./index-faab79ab.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./provide-e4d73c18.js","./provide-f823f5cd.js","./index-fecaf467.css","./index-f71140ae.js","./index-9c8a0b69.css","./index-1ed406cf.js","./zIndex-976ced0e.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-da2cdc24.css"],import.meta.url)},{path:"/switch",component:()=>t(()=>import("./index-88db3b86.js"),["./index-88db3b86.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-0fd7c0ec.js","./provide-4fc67263.js","./components-a5332e66.js","./provide-f0891a4b.css","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-27fcaf7d.js","./index-d956da3f.js","./index-b91f7648.css","./elements-23c82371.js","./logger-525ef361.js","./index-ed8c1033.css","./index-65cffe90.js","./index-721bca57.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/tab-item",component:()=>t(()=>import("./index-1a836fc4.js"),["./index-1a836fc4.js","./index-72aad0a2.js","./index-f71140ae.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./provide-e4d73c18.js","./components-a5332e66.js","./index-9c8a0b69.css","./provide-90c65717.js","./index-b8be1990.css","./index-d8fbf18c.js"],import.meta.url)},{path:"/table",component:()=>t(()=>import("./index-9d835d66.js"),["./index-9d835d66.js","./elements-23c82371.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./logger-525ef361.js","./components-a5332e66.js","./index-f748fb96.js","./index-5540406a.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-0ef13767.css","./index-28dcc9be.js","./index-c898189a.css","./common-8d347b6b.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-3f170ae4.js","./index-3181a6f7.css","./index-bae97d31.js","./provide-4fc67263.js","./provide-f0891a4b.css","./index-d5ac26b6.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-4a9c2ae2.js","./index-b54e87b1.css","./index-d8fbf18c.js","./appType-a8f87391.js","./index-eb41ce60.css"],import.meta.url)},{path:"/tabs-items",component:()=>t(()=>import("./index-ff9903a9.js"),["./index-ff9903a9.js","./index-5a594378.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-2c5b74fa.js","./index-7cf59957.css","./provide-e4d73c18.js","./provide-f823f5cd.js","./index-fecaf467.css","./provide-90c65717.js","./index-872482af.css","./index-d8fbf18c.js"],import.meta.url)},{path:"/tabs",component:()=>t(()=>import("./index-73e67b89.js"),["./index-73e67b89.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-bf94e46f.js","./index-482a9388.js","./components-a5332e66.js","./elements-23c82371.js","./logger-525ef361.js","./index-0a48dc20.css","./shared-a3ff1edc.js","./index-28dcc9be.js","./index-9eb15296.js","./index-c898189a.css","./common-8d347b6b.css","./index-4e399406.css","./index-2c5b74fa.js","./index-7cf59957.css","./index-5a594378.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./provide-e4d73c18.js","./provide-f823f5cd.js","./index-fecaf467.css","./provide-90c65717.js","./index-872482af.css","./index-72aad0a2.js","./index-f71140ae.js","./index-9c8a0b69.css","./index-b8be1990.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-bae5b2fa.css"],import.meta.url)},{path:"/themes",component:()=>t(()=>import("./index-dd98f8a4.js"),["./index-dd98f8a4.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-9eb15296.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./index-c898189a.css","./common-8d347b6b.css","./index-1e0bee81.js","./elements-23c82371.js","./logger-525ef361.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js"],import.meta.url)},{path:"/time-picker",component:()=>t(()=>import("./index-742acba2.js"),["./index-742acba2.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./components-a5332e66.js","./shared-a3ff1edc.js","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-71485ccf.css"],import.meta.url)},{path:"/tooltip",component:()=>t(()=>import("./index-d73e443e.js"),["./index-d73e443e.js","./index-e4246741.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./elements-23c82371.js","./logger-525ef361.js","./usePopover-1ef39509.js","./zIndex-976ced0e.js","./index-9eb15296.js","./index-dc8f64ea.css","./index-65cffe90.js","./index-721bca57.css","./common-8d347b6b.css","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./index-1e0bee81.js","./index-6687696f.css","./index-d956da3f.js","./index-b91f7648.css","./index-27fcaf7d.js","./index-9e03b378.css","./index-0c036f3e.js","./index-2c5b74fa.js","./index-7cf59957.css","./index-5540406a.js","./index-0ef13767.css","./index-123e4258.js","./index-9c69d68e.css","./index-d5ac26b6.js","./index-49f4d7da.css","./provide-4fc67263.js","./provide-f0891a4b.css","./useSelectController-4200caca.js","./index-9fe788b6.js","./index-5772dc5f.css","./index-8a8ad09a.css","./index-1ed406cf.js","./lock-e6f4e779.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-dfb84dd6.css"],import.meta.url)},{path:"/uploader",component:()=>t(()=>import("./index-b366e7a7.js"),["./index-b366e7a7.js","./index-3c549829.js","./index-d956da3f.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-b91f7648.css","./provide-4fc67263.js","./provide-f0891a4b.css","./index-2c5b74fa.js","./elements-23c82371.js","./logger-525ef361.js","./index-7cf59957.css","./index-0e439e92.js","./lock-e6f4e779.js","./index-9eb15296.js","./zIndex-976ced0e.js","./provide-f823f5cd.js","./index-35f46e3e.css","./common-8d347b6b.css","./index-b7d082cd.js","./index-67cbdf85.js","./index-1f1d0c91.js","./index-28dcc9be.js","./index-c898189a.css","./index-1e0bee81.js","./index-6687696f.css","./index-27fcaf7d.js","./index-9e03b378.css","./provide-e4d73c18.js","./index-fecaf467.css","./index-f71140ae.js","./index-9c8a0b69.css","./index-8d779e4f.css","./shared-a3ff1edc.js","./index-66ba0f4e.css","./index-65cffe90.js","./index-721bca57.css","./index-0770059a.js","./index-4a9c2ae2.js","./index-a7ac489a.css","./index-1ed406cf.js","./index-98bedc2d.css","./index-d8fbf18c.js","./appType-a8f87391.js","./index-a5d2ef79.css"],import.meta.url)},{path:"/watermark",component:()=>t(()=>import("./index-da5adf53.js"),["./index-da5adf53.js","./components-a5332e66.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./index-d8fbf18c.js","./index-4a9c2ae2.js","./appType-a8f87391.js","./index-76933cf3.css"],import.meta.url)}],mt=x({setup(){const e=n(""),o=q(),s=n(!1),h=n(!1),a=n(""),g=n(d(m,"mobile.header.i18n")),p=G(()=>H(g.value)),r=d(m,"mobile.redirect",""),T=n(d(m,"mobile.header.github")),O=n(d(m,"mobile.header.darkMode")),i=n(S()),f=_=>{a.value=_,h.value=!1,window.location.href=`./mobile.html#${o.path}?language=${a.value}&replace=${o.query.replace}`,!E()&&v()&&window.top.scrollToMenu(r.slice(1))},D=()=>{window.location.href=`./mobile.html#${r}?language=${a.value}&replace=${r.slice(1)}`,!E()&&v()&&window.top.scrollToMenu(r.slice(1))},L=()=>{v()&&!E()?window.top.open(T.value):window.location.href=T.value};F(_=>{a.value=_}),K(()=>o.path,_=>{const I=$(_.slice(1)),C=$(r.slice(1));e.value=I===C?"":I,s.value=I!==C});const R=()=>({action:"theme-change",from:"mobile",data:i.value}),k=_=>{i.value=_,M(m,i.value),window.localStorage.setItem(d(m,"themeKey"),i.value)},y=()=>{k(i.value==="darkTheme"?"lightTheme":"darkTheme"),window.postMessage(R(),"*"),!E()&&v()&&window.top.postMessage(R(),"*")};return window.toggleTheme=y,M(m,i.value),window.postMessage(R(),"*"),document.body.addEventListener("click",()=>{h.value=!1}),X((_,I)=>{I==="pc"&&k(_)}),{bigCamelizeComponentName:e,showBackIcon:s,github:T,showMenu:h,languages:g,language:a,nonEmptyLanguages:p,currentTheme:i,darkMode:O,toGithub:L,back:D,changeLanguage:f,toggleTheme:y}}});const nt={style:{position:"relative"}},lt={class:"router-view__block"},ut={key:0,class:"settings var-elevation--3"};function ct(e,o,s,h,a,g){const p=V("var-icon"),r=V("var-button"),T=V("var-app-bar"),O=V("router-view"),i=V("var-cell"),f=Q("ripple");return l(),w("div",nt,[B("header",null,[u(T,{class:"app-bar","title-position":"left",title:e.bigCamelizeComponentName},{left:c(()=>[e.showBackIcon?(l(),P(r,{key:0,style:{"margin-right":"6px"},text:"",round:"",onClick:e.back,color:"transparent","text-color":"#fff"},{default:c(()=>[u(p,{name:"chevron-left",class:"arrow-left",style:{"margin-top":"1px"}})]),_:1},8,["onClick"])):A("",!0),!e.showBackIcon&&e.github?(l(),P(r,{key:1,style:{"margin-left":"2px","margin-right":"6px"},text:"",round:"",color:"transparent","text-color":"#fff",onClick:e.toGithub},{default:c(()=>[u(p,{name:"github",class:"github",style:{"margin-top":"1px"}})]),_:1},8,["onClick"])):A("",!0)]),right:c(()=>[e.darkMode?(l(),P(r,{key:0,text:"",round:"",color:"transparent","text-color":"#fff",style:W({transform:e.languages?"translateX(-4px)":"translateX(-6px)"}),onClick:e.toggleTheme},{default:c(()=>[u(p,{class:"theme",color:"#fff",size:24,name:e.currentTheme==="lightTheme"?"white-balance-sunny":"weather-night"},null,8,["name"])]),_:1},8,["style","onClick"])):A("",!0),e.languages?(l(),P(r,{key:1,class:"i18n-button",text:"",color:"transparent","text-color":"#fff",onClick:o[0]||(o[0]=j(D=>e.showMenu=!0,["stop"]))},{default:c(()=>[u(p,{name:"translate",class:"i18n"}),u(p,{name:"chevron-down",class:"arrow-down"})]),_:1})):A("",!0)]),_:1},8,["title"])]),B("div",lt,[u(O)]),u(rt,{name:"site-menu"},{default:c(()=>[e.showMenu?(l(),w("div",ut,[(l(!0),w(U,null,Y(e.nonEmptyLanguages,(D,L)=>Z((l(),P(i,{key:L,class:tt(["mobile-language-cell",[e.language===L&&"mobile-language-cell--active"]]),onClick:R=>e.changeLanguage(L)},{default:c(()=>[et(ot(D),1)]),_:2},1032,["class","onClick"])),[[f]])),128))])):A("",!0)]),_:1})])}const st=J(mt,[["render",ct]]),N=d(m,"mobile.redirect"),ht=d(m,"defaultLanguage");N&&b.push({path:"/:pathMatch(.*)",redirect:N});b.push({path:"/home",component:()=>t(()=>import("./AppHome-0fe82e26.js"),["./AppHome-0fe82e26.js","./index-0bd4ebfc.js","./index-c3c035e0.css","./AppHome-facc8d8c.css"],import.meta.url)});const z=at({history:pt(),scrollBehavior:(e,o,s)=>s||{left:0,top:0},routes:b});z.beforeEach(e=>{const{path:o,hash:s,query:h}=e,a=h.language??ht,g=h.replace;if(!E()&&!v()&&(window.location.href=`./#/${a}${o}`),!E()&&v())try{window.parent.onMobileRouteChange(o,a,g,s)}catch(p){console.log(p)}window._hmt&&e.path&&window._hmt.push(["_trackPageview",`/#${e.fullPath}`])});it(st).use(z).use(_t).mount("#app"); diff --git a/assets/mobile-b8488950.js b/assets/mobile-b8488950.js deleted file mode 100644 index 75ad922b1fa..00000000000 --- a/assets/mobile-b8488950.js +++ /dev/null @@ -1 +0,0 @@ -import{h as t,d as x,r as n,C as q,g as d,c as m,D as G,E as H,k as S,F,G as K,H as M,I as X,i as E,J as v,K as $,_ as J,b as V,L as Q,e as l,m as w,p as B,q as u,w as c,f as P,t as A,y as W,M as j,N as U,O as Y,P as Z,x as tt,Q as et,R as ot,T as rt,z as at,A as pt,B as it,V as _t}from"./index-af5fec45.js";const b=[{path:"/action-sheet",component:()=>t(()=>import("./index-b0a03cfa.js"),["./index-b0a03cfa.js","./index-2a46eb17.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-d24e7e49.js","./lock-7a098446.js","./zIndex-a2732bb2.js","./provide-c3581da5.js","./index-35f46e3e.css","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-2b61c8d0.js","./index-072586ea.css","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-0ad054ca.js","./index-98bedc2d.css","./index-d8fbf18c.js","./appType-53211ea9.js"],import.meta.url)},{path:"/app-bar",component:()=>t(()=>import("./index-0bc61210.js"),["./index-0bc61210.js","./index-d8fbf18c.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-3f206173.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-4237591d.js","./index-3181a6f7.css","./index-50f6abd4.js","./index-2684e5c7.js","./index-0a48dc20.css","./shared-de177aa1.js","./index-4e399406.css","./index-2b61c8d0.js","./appType-53211ea9.js","./index-06d1aac0.css"],import.meta.url)},{path:"/avatar",component:()=>t(()=>import("./index-06e17ae5.js"),["./index-06e17ae5.js","./index-237d061b.js","./elements-68ad626b.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./shared-de177aa1.js","./components-3ae053cb.js","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-057aa4ba.js","./index-7cf59957.css","./index-ba1a9006.js","./provide-c979a783.js","./provide-f0891a4b.css","./index-939959a8.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-4f14f999.css"],import.meta.url)},{path:"/back-top",component:()=>t(()=>import("./index-facfdebf.js"),["./index-facfdebf.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./shared-de177aa1.js","./index-4237591d.js","./index-3181a6f7.css","./index-d8fbf18c.js","./index-d638d4f2.css"],import.meta.url)},{path:"/badge",component:()=>t(()=>import("./index-3ebad8cf.js"),["./index-3ebad8cf.js","./index-6eedc20f.js","./index-057aa4ba.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-de0142e6.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-83ee7fa7.js","./index-9c69d68e.css","./index-90c41552.js","./index-721bca57.css","./index-801ce3ba.js","./index-9fe07c8e.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-dc8f64ea.css","./index-7e1b2d34.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/bottom-navigation",component:()=>t(()=>import("./index-46c65ed8.js"),["./index-46c65ed8.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-6eedc20f.js","./index-057aa4ba.js","./index-7cf59957.css","./index-de0142e6.css","./index-0ad054ca.js","./zIndex-a2732bb2.js","./lock-7a098446.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-67c1b4a2.css"],import.meta.url)},{path:"/breadcrumb",component:()=>t(()=>import("./index-7000f71c.js"),["./index-7000f71c.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/breadcrumbs",component:()=>t(()=>import("./index-c4265e8a.js"),["./index-c4265e8a.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./logger-525ef361.js","./index-057aa4ba.js","./elements-68ad626b.js","./index-7cf59957.css","./index-0ad054ca.js","./index-a6f8e46a.js","./index-6687696f.css","./zIndex-a2732bb2.js","./index-e95cf05b.js","./lock-7a098446.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-13be8695.css"],import.meta.url)},{path:"/button",component:()=>t(()=>import("./index-25b1a365.js"),["./index-25b1a365.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./index-90c41552.js","./index-721bca57.css","./index-3f206173.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-0ef13767.css","./index-4237591d.js","./index-3181a6f7.css","./index-0ad054ca.js","./lock-7a098446.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-5b977fda.css"],import.meta.url)},{path:"/card",component:()=>t(()=>import("./index-f3b8d0a3.js"),["./index-f3b8d0a3.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-414ec72d.js","./index-504fdb5a.css","./index-057aa4ba.js","./index-7cf59957.css","./index-37b2a953.js","./zIndex-a2732bb2.js","./lock-7a098446.js","./index-2538831e.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-3553cccb.css"],import.meta.url)},{path:"/cell",component:()=>t(()=>import("./index-3bba4878.js"),["./index-3bba4878.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-057aa4ba.js","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-42977d64.js","./Paper-4d3d3dd5.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./Paper-ef66a213.css","./index-e47c1801.js","./provide-c979a783.js","./provide-f0891a4b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./index-ed8c1033.css","./index-4237591d.js","./index-3181a6f7.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/checkbox-group",component:()=>t(()=>import("./index-03117f29.js"),["./index-03117f29.js","./index-ebb3fb01.js","./provide-c979a783.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./provide-f0891a4b.css","./index-64160362.js","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./index-5772dc5f.css","./index-e79af78c.css","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-d247dc48.css"],import.meta.url)},{path:"/chip",component:()=>t(()=>import("./index-828775f1.js"),["./index-828775f1.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-83ee7fa7.js","./index-057aa4ba.js","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-9c69d68e.css","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/collapse",component:()=>t(()=>import("./index-cc76fe06.js"),["./index-cc76fe06.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-eecaa7fb.css"],import.meta.url)},{path:"/countdown",component:()=>t(()=>import("./index-234da283.js"),["./index-234da283.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./shared-de177aa1.js","./index-0ad054ca.js","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-057aa4ba.js","./index-7cf59957.css","./zIndex-a2732bb2.js","./index-e95cf05b.js","./lock-7a098446.js","./index-98bedc2d.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-85b78525.js","./index-dc663e72.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-e77a118c.css"],import.meta.url)},{path:"/counter",component:()=>t(()=>import("./index-46c981a5.js"),["./index-46c981a5.js","./index-f12dbe46.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./provide-c979a783.js","./provide-f0891a4b.css","./index-679724b2.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-6ad06f91.css"],import.meta.url)},{path:"/date-picker",component:()=>t(()=>import("./index-7a2f2c25.js"),["./index-7a2f2c25.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./index-2b61c8d0.js","./shared-de177aa1.js","./index-d8fbf18c.js","./appType-53211ea9.js","./index-ba79edbc.css"],import.meta.url)},{path:"/dialog",component:()=>t(()=>import("./index-914cca28.js"),["./index-914cca28.js","./index-57d211a2.js","./index-d24e7e49.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./lock-7a098446.js","./index-e95cf05b.js","./zIndex-a2732bb2.js","./provide-c3581da5.js","./index-35f46e3e.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-2b61c8d0.js","./index-a7ac489a.css","./index-057aa4ba.js","./index-7cf59957.css","./index-0ad054ca.js","./index-98bedc2d.css","./index-4237591d.js","./index-3181a6f7.css","./index-d8fbf18c.js","./appType-53211ea9.js","./index-003d4df0.css"],import.meta.url)},{path:"/divider",component:()=>t(()=>import("./index-8f352069.js"),["./index-8f352069.js","./index-414ec72d.js","./elements-68ad626b.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./components-3ae053cb.js","./index-504fdb5a.css","./index-057aa4ba.js","./index-7cf59957.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-b95d0be1.css"],import.meta.url)},{path:"/drag",component:()=>t(()=>import("./index-09274fe1.js"),["./index-09274fe1.js","./index-6f3dff2b.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-c8f8cb89.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/ellipsis",component:()=>t(()=>import("./index-167744da.js"),["./index-167744da.js","./index-801ce3ba.js","./index-9fe07c8e.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-dc8f64ea.css","./index-7e1b2d34.css","./index-057aa4ba.js","./index-7cf59957.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/fab",component:()=>t(()=>import("./index-08f96192.js"),["./index-08f96192.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./index-6f3dff2b.js","./index-c8f8cb89.css","./index-76cdf136.js","./provide-c979a783.js","./provide-f0891a4b.css","./index-07098396.css","./index-e47c1801.js","./index-ed8c1033.css","./index-b08b685e.js","./index-3f206173.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-0ef13767.css","./index-83ee7fa7.js","./index-9c69d68e.css","./index-939959a8.js","./index-49f4d7da.css","./useSelectController-4054913f.js","./index-64160362.js","./index-5772dc5f.css","./index-8a8ad09a.css","./index-d8fbf18c.js","./index-eb9351e0.js","./index-23325e82.css","./index-2b61c8d0.js","./appType-53211ea9.js","./index-745cfeb2.css"],import.meta.url)},{path:"/floating-panel",component:()=>t(()=>import("./index-826117d6.js"),["./index-826117d6.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./lock-7a098446.js","./index-e95cf05b.js","./elements-68ad626b.js","./logger-525ef361.js","./index-50f6abd4.js","./index-2684e5c7.js","./index-0a48dc20.css","./shared-de177aa1.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-4e399406.css","./index-d250de60.js","./index-d408e6ab.js","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./provide-521cd214.js","./provide-c3581da5.js","./index-fecaf467.css","./provide-0e472439.js","./index-872482af.css","./index-10aaf98b.js","./index-8c96e01f.js","./index-9c8a0b69.css","./index-b8be1990.css","./index-4237591d.js","./index-3181a6f7.css","./index-2b61c8d0.js","./index-d8fbf18c.js","./index-35bbc140.css"],import.meta.url)},{path:"/form",component:()=>t(()=>import("./index-14283e2f.js"),["./index-14283e2f.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./provide-c979a783.js","./provide-f0891a4b.css","./elements-68ad626b.js","./logger-525ef361.js","./shared-de177aa1.js","./index-ba1a9006.js","./index-939959a8.js","./index-057aa4ba.js","./index-7cf59957.css","./index-49f4d7da.css","./index-e0d788c7.css","./index-b08b685e.js","./index-3f206173.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./index-83ee7fa7.js","./index-9c69d68e.css","./useSelectController-4054913f.js","./index-64160362.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./index-5772dc5f.css","./index-8a8ad09a.css","./index-ebb3fb01.js","./index-e79af78c.css","./index-76cdf136.js","./index-07098396.css","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-9e03b378.css","./index-e47c1801.js","./index-ed8c1033.css","./index-eb9351e0.js","./index-23325e82.css","./index-5b2dac91.js","./index-d24e7e49.js","./lock-7a098446.js","./provide-c3581da5.js","./index-35f46e3e.css","./index-2096471a.js","./index-d408e6ab.js","./provide-521cd214.js","./index-fecaf467.css","./index-8c96e01f.js","./index-9c8a0b69.css","./index-8d779e4f.css","./index-66ba0f4e.css","./index-f12dbe46.js","./index-679724b2.css","./index-c4d1ad92.js","./index-1a9bf711.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-278f3d0e.css"],import.meta.url)},{path:"/hover",component:()=>t(()=>import("./index-1fb7ffa0.js"),["./index-1fb7ffa0.js","./index-8bbf4ef8.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-dcc84b7e.js","./index-2b41cfe8.js","./index-e95cf05b.js","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-237d061b.js","./elements-68ad626b.js","./logger-525ef361.js","./shared-de177aa1.js","./index-bc2cf4e9.css","./index-42977d64.js","./Paper-4d3d3dd5.js","./Paper-ef66a213.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-5ed89d2e.css"],import.meta.url)},{path:"/icon",component:()=>t(()=>import("./index-378711a2.js"),["./index-378711a2.js","./index-057aa4ba.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-ba1a9006.js","./provide-c979a783.js","./provide-f0891a4b.css","./index-939959a8.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-0ad054ca.js","./index-a6f8e46a.js","./index-6687696f.css","./zIndex-a2732bb2.js","./lock-7a098446.js","./index-98bedc2d.css","./clipboard-dfb26261.js","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-45204d25.css"],import.meta.url)},{path:"/image-preview",component:()=>t(()=>import("./index-64b19c48.js"),["./index-64b19c48.js","./index-2096471a.js","./index-d408e6ab.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./provide-521cd214.js","./provide-c3581da5.js","./index-fecaf467.css","./index-8c96e01f.js","./index-9c8a0b69.css","./index-d24e7e49.js","./lock-7a098446.js","./zIndex-a2732bb2.js","./index-35f46e3e.css","./index-8d779e4f.css","./index-2a46eb17.js","./index-2b61c8d0.js","./index-072586ea.css","./index-0ad054ca.js","./index-98bedc2d.css","./index-d8fbf18c.js","./appType-53211ea9.js","./index-47701f74.css"],import.meta.url)},{path:"/image",component:()=>t(()=>import("./index-26369084.js"),["./index-26369084.js","./index-dcc84b7e.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-237d061b.js","./elements-68ad626b.js","./logger-525ef361.js","./shared-de177aa1.js","./index-bc2cf4e9.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-3cede4a4.css"],import.meta.url)},{path:"/index-bar",component:()=>t(()=>import("./index-08205967.js"),["./index-08205967.js","./index-2684e5c7.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-0a48dc20.css","./shared-de177aa1.js","./index-4237591d.js","./index-057aa4ba.js","./index-7cf59957.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-3181a6f7.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./index-cb246228.css"],import.meta.url)},{path:"/input",component:()=>t(()=>import("./index-6dc8ef8e.js"),["./index-6dc8ef8e.js","./index-ba1a9006.js","./provide-c979a783.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./provide-f0891a4b.css","./index-939959a8.js","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-49f4d7da.css","./index-e0d788c7.css","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-f43c5fd1.css"],import.meta.url)},{path:"/lazy",component:()=>t(()=>import("./index-15a53841.js"),["./index-15a53841.js","./index-237d061b.js","./elements-68ad626b.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./shared-de177aa1.js","./components-3ae053cb.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-b6e1fb94.css"],import.meta.url)},{path:"/link",component:()=>t(()=>import("./index-09def4dc.js"),["./index-09def4dc.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-60282f96.css"],import.meta.url)},{path:"/list",component:()=>t(()=>import("./index-845ea230.js"),["./index-845ea230.js","./index-a6f8e46a.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-2b61c8d0.js","./index-10aaf98b.js","./index-8c96e01f.js","./provide-521cd214.js","./index-9c8a0b69.css","./provide-0e472439.js","./index-b8be1990.css","./index-4237591d.js","./index-057aa4ba.js","./index-7cf59957.css","./index-3181a6f7.css","./index-50f6abd4.js","./index-2684e5c7.js","./index-0a48dc20.css","./shared-de177aa1.js","./index-4e399406.css","./index-d250de60.js","./index-d408e6ab.js","./index-84d96475.js","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./provide-c3581da5.js","./index-fecaf467.css","./index-872482af.css","./index-d8fbf18c.js","./index-ed79b709.css"],import.meta.url)},{path:"/loading-bar",component:()=>t(()=>import("./index-fd85f3bc.js"),["./index-fd85f3bc.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-f62255f7.css"],import.meta.url)},{path:"/loading",component:()=>t(()=>import("./index-a213ba19.js"),["./index-a213ba19.js","./index-a6f8e46a.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-37b2a953.js","./index-057aa4ba.js","./index-7cf59957.css","./zIndex-a2732bb2.js","./lock-7a098446.js","./index-2538831e.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-6bb4ac16.css"],import.meta.url)},{path:"/menu-select",component:()=>t(()=>import("./index-ed3dfe88.js"),["./index-ed3dfe88.js","./index-3f206173.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./usePopover-33bac0d8.js","./elements-68ad626b.js","./logger-525ef361.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./useSelectController-4054913f.js","./index-64160362.js","./index-057aa4ba.js","./index-7cf59957.css","./provide-c979a783.js","./provide-f0891a4b.css","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./index-5772dc5f.css","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-a0123d66.css"],import.meta.url)},{path:"/menu",component:()=>t(()=>import("./index-e67c1117.js"),["./index-e67c1117.js","./index-3f206173.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./usePopover-33bac0d8.js","./elements-68ad626b.js","./logger-525ef361.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-b08b685e.js","./index-057aa4ba.js","./index-7cf59957.css","./index-83ee7fa7.js","./index-9c69d68e.css","./index-939959a8.js","./index-49f4d7da.css","./provide-c979a783.js","./provide-f0891a4b.css","./useSelectController-4054913f.js","./index-64160362.js","./index-5772dc5f.css","./index-8a8ad09a.css","./index-4237591d.js","./index-3181a6f7.css","./index-0ad054ca.js","./lock-7a098446.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-e2dada0d.css"],import.meta.url)},{path:"/overlay",component:()=>t(()=>import("./index-806df826.js"),["./index-806df826.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./lock-7a098446.js","./index-e95cf05b.js","./zIndex-a2732bb2.js","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-0ad054ca.js","./index-057aa4ba.js","./index-7cf59957.css","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-c6d03e83.css"],import.meta.url)},{path:"/pagination",component:()=>t(()=>import("./index-b37d063e.js"),["./index-b37d063e.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-8ffed91e.js","./index-3f206173.js","./components-3ae053cb.js","./usePopover-33bac0d8.js","./elements-68ad626b.js","./logger-525ef361.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-057aa4ba.js","./index-7cf59957.css","./index-4237591d.js","./index-3181a6f7.css","./index-ba1a9006.js","./provide-c979a783.js","./provide-f0891a4b.css","./index-939959a8.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-2b61c8d0.js","./index-b54e87b1.css","./index-d8fbf18c.js","./appType-53211ea9.js","./index-860a6437.css"],import.meta.url)},{path:"/paper",component:()=>t(()=>import("./index-7ebf9b5b.js"),["./index-7ebf9b5b.js","./Paper-4d3d3dd5.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./elements-68ad626b.js","./logger-525ef361.js","./Paper-ef66a213.css","./index-4237591d.js","./index-057aa4ba.js","./index-7cf59957.css","./index-3181a6f7.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/picker",component:()=>t(()=>import("./index-1c255254.js"),["./index-1c255254.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d24e7e49.js","./lock-7a098446.js","./zIndex-a2732bb2.js","./provide-c3581da5.js","./index-35f46e3e.css","./index-2b61c8d0.js","./index-0ad054ca.js","./index-057aa4ba.js","./index-7cf59957.css","./index-98bedc2d.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./appType-53211ea9.js","./index-47e0ab2a.css"],import.meta.url)},{path:"/popup",component:()=>t(()=>import("./index-6f612481.js"),["./index-6f612481.js","./index-d24e7e49.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./lock-7a098446.js","./index-e95cf05b.js","./zIndex-a2732bb2.js","./provide-c3581da5.js","./index-35f46e3e.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-0ad054ca.js","./index-057aa4ba.js","./index-7cf59957.css","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-c243f1bf.css"],import.meta.url)},{path:"/progress",component:()=>t(()=>import("./index-55bbcca0.js"),["./index-55bbcca0.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./components-3ae053cb.js","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-9468a008.css"],import.meta.url)},{path:"/pull-refresh",component:()=>t(()=>import("./index-2d44aaa4.js"),["./index-2d44aaa4.js","./index-057aa4ba.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-4237591d.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-3181a6f7.css","./index-d8fbf18c.js","./index-928e31fe.css"],import.meta.url)},{path:"/radio-group",component:()=>t(()=>import("./index-38011882.js"),["./index-38011882.js","./index-76cdf136.js","./provide-c979a783.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./provide-f0891a4b.css","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./index-07098396.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-03126c6f.css"],import.meta.url)},{path:"/rate",component:()=>t(()=>import("./index-b8aa2ddd.js"),["./index-b8aa2ddd.js","./index-c4d1ad92.js","./index-057aa4ba.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./provide-c979a783.js","./provide-f0891a4b.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-1a9bf711.css","./index-0ad054ca.js","./index-a6f8e46a.js","./index-6687696f.css","./zIndex-a2732bb2.js","./lock-7a098446.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/result",component:()=>t(()=>import("./index-4990fecf.js"),["./index-4990fecf.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d24e7e49.js","./lock-7a098446.js","./zIndex-a2732bb2.js","./provide-c3581da5.js","./index-35f46e3e.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-f2d90102.css"],import.meta.url)},{path:"/ripple",component:()=>t(()=>import("./index-12b82603.js"),["./index-12b82603.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-2b61c8d0.js","./appType-53211ea9.js","./index-5a8249ae.css"],import.meta.url)},{path:"/row",component:()=>t(()=>import("./index-45370678.js"),["./index-45370678.js","./index-85b78525.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-dc663e72.css","./index-5689d3e2.js","./index-6227f113.css","./index-2b61c8d0.js","./appType-53211ea9.js","./index-9151fc0c.css"],import.meta.url)},{path:"/select",component:()=>t(()=>import("./index-7e38b018.js"),["./index-7e38b018.js","./index-b08b685e.js","./index-057aa4ba.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-3f206173.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./index-83ee7fa7.js","./index-9c69d68e.css","./index-939959a8.js","./index-49f4d7da.css","./provide-c979a783.js","./provide-f0891a4b.css","./useSelectController-4054913f.js","./index-64160362.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./index-5772dc5f.css","./index-8a8ad09a.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-3296ef4a.css"],import.meta.url)},{path:"/skeleton",component:()=>t(()=>import("./index-1cda0856.js"),["./index-1cda0856.js","./elements-68ad626b.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./components-3ae053cb.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-190029f3.css"],import.meta.url)},{path:"/slider",component:()=>t(()=>import("./index-5a914002.js"),["./index-5a914002.js","./index-eb9351e0.js","./provide-c979a783.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./provide-f0891a4b.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./elements-68ad626b.js","./logger-525ef361.js","./index-23325e82.css","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-94db68e6.css"],import.meta.url)},{path:"/snackbar",component:()=>t(()=>import("./index-b840a1bd.js"),["./index-b840a1bd.js","./index-0ad054ca.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-a6f8e46a.js","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-057aa4ba.js","./index-7cf59957.css","./zIndex-a2732bb2.js","./index-e95cf05b.js","./lock-7a098446.js","./index-98bedc2d.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/space",component:()=>t(()=>import("./index-86ddb917.js"),["./index-86ddb917.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-90c41552.js","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-721bca57.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/steps",component:()=>t(()=>import("./index-71baae3a.js"),["./index-71baae3a.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-5ac0ca5a.css"],import.meta.url)},{path:"/sticky",component:()=>t(()=>import("./index-35911569.js"),["./index-35911569.js","./index-2684e5c7.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./index-0a48dc20.css","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-2b61c8d0.js","./appType-53211ea9.js","./index-0ef15e26.css"],import.meta.url)},{path:"/style-provider",component:()=>t(()=>import("./index-b68883e5.js"),["./index-b68883e5.js","./elements-68ad626b.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./components-3ae053cb.js","./index-c4d1ad92.js","./index-057aa4ba.js","./index-7cf59957.css","./provide-c979a783.js","./provide-f0891a4b.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-1a9bf711.css","./index-e47c1801.js","./index-ed8c1033.css","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/styles",component:()=>t(()=>import("./index-e257c0f2.js"),["./index-e257c0f2.js","./index-90c41552.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-721bca57.css","./common-8d347b6b.css","./index-d8fbf18c.js","./index-49012093.css"],import.meta.url)},{path:"/swipe",component:()=>t(()=>import("./index-a16307e6.js"),["./index-a16307e6.js","./index-d408e6ab.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./provide-521cd214.js","./provide-c3581da5.js","./index-fecaf467.css","./index-8c96e01f.js","./index-9c8a0b69.css","./index-0ad054ca.js","./zIndex-a2732bb2.js","./lock-7a098446.js","./index-98bedc2d.css","./index-2b61c8d0.js","./appType-53211ea9.js","./index-da2cdc24.css"],import.meta.url)},{path:"/switch",component:()=>t(()=>import("./index-d2e2fbd5.js"),["./index-d2e2fbd5.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-e47c1801.js","./provide-c979a783.js","./components-3ae053cb.js","./provide-f0891a4b.css","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-8bbf4ef8.js","./index-2c1498a1.js","./index-b91f7648.css","./elements-68ad626b.js","./logger-525ef361.js","./index-ed8c1033.css","./index-90c41552.js","./index-721bca57.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/tab-item",component:()=>t(()=>import("./index-0c8eb836.js"),["./index-0c8eb836.js","./index-10aaf98b.js","./index-8c96e01f.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./provide-521cd214.js","./components-3ae053cb.js","./index-9c8a0b69.css","./provide-0e472439.js","./index-b8be1990.css","./index-d8fbf18c.js"],import.meta.url)},{path:"/table",component:()=>t(()=>import("./index-79c914e1.js"),["./index-79c914e1.js","./elements-68ad626b.js","./index-af5fec45.js","./index-f6b4cf21.css","./logger-525ef361.js","./components-3ae053cb.js","./index-8ffed91e.js","./index-3f206173.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-0ef13767.css","./index-2b41cfe8.js","./index-c898189a.css","./common-8d347b6b.css","./index-057aa4ba.js","./index-7cf59957.css","./index-4237591d.js","./index-3181a6f7.css","./index-ba1a9006.js","./provide-c979a783.js","./provide-f0891a4b.css","./index-939959a8.js","./index-49f4d7da.css","./index-e0d788c7.css","./index-2b61c8d0.js","./index-b54e87b1.css","./index-d8fbf18c.js","./appType-53211ea9.js","./index-eb41ce60.css"],import.meta.url)},{path:"/tabs-items",component:()=>t(()=>import("./index-aa6a03ef.js"),["./index-aa6a03ef.js","./index-d250de60.js","./index-d408e6ab.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-057aa4ba.js","./index-7cf59957.css","./provide-521cd214.js","./provide-c3581da5.js","./index-fecaf467.css","./provide-0e472439.js","./index-872482af.css","./index-d8fbf18c.js"],import.meta.url)},{path:"/tabs",component:()=>t(()=>import("./index-ff6a5529.js"),["./index-ff6a5529.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-50f6abd4.js","./index-2684e5c7.js","./components-3ae053cb.js","./elements-68ad626b.js","./logger-525ef361.js","./index-0a48dc20.css","./shared-de177aa1.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-c898189a.css","./common-8d347b6b.css","./index-4e399406.css","./index-057aa4ba.js","./index-7cf59957.css","./index-d250de60.js","./index-d408e6ab.js","./index-84d96475.js","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./provide-521cd214.js","./provide-c3581da5.js","./index-fecaf467.css","./provide-0e472439.js","./index-872482af.css","./index-10aaf98b.js","./index-8c96e01f.js","./index-9c8a0b69.css","./index-b8be1990.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-bae5b2fa.css"],import.meta.url)},{path:"/themes",component:()=>t(()=>import("./index-22bf8b8c.js"),["./index-22bf8b8c.js","./index-84d96475.js","./index-2b41cfe8.js","./index-e95cf05b.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./index-c898189a.css","./common-8d347b6b.css","./index-a6f8e46a.js","./elements-68ad626b.js","./logger-525ef361.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js"],import.meta.url)},{path:"/time-picker",component:()=>t(()=>import("./index-97ae07be.js"),["./index-97ae07be.js","./index-af5fec45.js","./index-f6b4cf21.css","./components-3ae053cb.js","./shared-de177aa1.js","./index-2b61c8d0.js","./index-d8fbf18c.js","./appType-53211ea9.js","./index-3d2efd8d.css"],import.meta.url)},{path:"/tooltip",component:()=>t(()=>import("./index-dc16b728.js"),["./index-dc16b728.js","./index-9fe07c8e.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./elements-68ad626b.js","./logger-525ef361.js","./usePopover-33bac0d8.js","./zIndex-a2732bb2.js","./index-e95cf05b.js","./index-dc8f64ea.css","./index-90c41552.js","./index-721bca57.css","./common-8d347b6b.css","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./index-a6f8e46a.js","./index-6687696f.css","./index-2c1498a1.js","./index-b91f7648.css","./index-8bbf4ef8.js","./index-9e03b378.css","./index-b08b685e.js","./index-057aa4ba.js","./index-7cf59957.css","./index-3f206173.js","./index-0ef13767.css","./index-83ee7fa7.js","./index-9c69d68e.css","./index-939959a8.js","./index-49f4d7da.css","./provide-c979a783.js","./provide-f0891a4b.css","./useSelectController-4054913f.js","./index-64160362.js","./index-5772dc5f.css","./index-8a8ad09a.css","./index-0ad054ca.js","./lock-7a098446.js","./index-98bedc2d.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-dfb84dd6.css"],import.meta.url)},{path:"/uploader",component:()=>t(()=>import("./index-5808f8d0.js"),["./index-5808f8d0.js","./index-5b2dac91.js","./index-2c1498a1.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-b91f7648.css","./provide-c979a783.js","./provide-f0891a4b.css","./index-057aa4ba.js","./elements-68ad626b.js","./logger-525ef361.js","./index-7cf59957.css","./index-d24e7e49.js","./lock-7a098446.js","./index-e95cf05b.js","./zIndex-a2732bb2.js","./provide-c3581da5.js","./index-35f46e3e.css","./common-8d347b6b.css","./index-2096471a.js","./index-d408e6ab.js","./index-84d96475.js","./index-2b41cfe8.js","./index-c898189a.css","./index-a6f8e46a.js","./index-6687696f.css","./index-8bbf4ef8.js","./index-9e03b378.css","./provide-521cd214.js","./index-fecaf467.css","./index-8c96e01f.js","./index-9c8a0b69.css","./index-8d779e4f.css","./shared-de177aa1.js","./index-66ba0f4e.css","./index-90c41552.js","./index-721bca57.css","./index-57d211a2.js","./index-2b61c8d0.js","./index-a7ac489a.css","./index-0ad054ca.js","./index-98bedc2d.css","./index-d8fbf18c.js","./appType-53211ea9.js","./index-a5d2ef79.css"],import.meta.url)},{path:"/watermark",component:()=>t(()=>import("./index-113dd3ae.js"),["./index-113dd3ae.js","./components-3ae053cb.js","./index-af5fec45.js","./index-f6b4cf21.css","./index-d8fbf18c.js","./index-2b61c8d0.js","./appType-53211ea9.js","./index-76933cf3.css"],import.meta.url)}],mt=x({setup(){const e=n(""),o=q(),s=n(!1),h=n(!1),a=n(""),g=n(d(m,"mobile.header.i18n")),p=G(()=>H(g.value)),r=d(m,"mobile.redirect",""),T=n(d(m,"mobile.header.github")),O=n(d(m,"mobile.header.darkMode")),i=n(S()),f=_=>{a.value=_,h.value=!1,window.location.href=`./mobile.html#${o.path}?language=${a.value}&replace=${o.query.replace}`,!E()&&v()&&window.top.scrollToMenu(r.slice(1))},D=()=>{window.location.href=`./mobile.html#${r}?language=${a.value}&replace=${r.slice(1)}`,!E()&&v()&&window.top.scrollToMenu(r.slice(1))},L=()=>{v()&&!E()?window.top.open(T.value):window.location.href=T.value};F(_=>{a.value=_}),K(()=>o.path,_=>{const I=$(_.slice(1)),C=$(r.slice(1));e.value=I===C?"":I,s.value=I!==C});const R=()=>({action:"theme-change",from:"mobile",data:i.value}),k=_=>{i.value=_,M(m,i.value),window.localStorage.setItem(d(m,"themeKey"),i.value)},y=()=>{k(i.value==="darkTheme"?"lightTheme":"darkTheme"),window.postMessage(R(),"*"),!E()&&v()&&window.top.postMessage(R(),"*")};return window.toggleTheme=y,M(m,i.value),window.postMessage(R(),"*"),document.body.addEventListener("click",()=>{h.value=!1}),X((_,I)=>{I==="pc"&&k(_)}),{bigCamelizeComponentName:e,showBackIcon:s,github:T,showMenu:h,languages:g,language:a,nonEmptyLanguages:p,currentTheme:i,darkMode:O,toGithub:L,back:D,changeLanguage:f,toggleTheme:y}}});const nt={style:{position:"relative"}},lt={class:"router-view__block"},ut={key:0,class:"settings var-elevation--3"};function ct(e,o,s,h,a,g){const p=V("var-icon"),r=V("var-button"),T=V("var-app-bar"),O=V("router-view"),i=V("var-cell"),f=Q("ripple");return l(),w("div",nt,[B("header",null,[u(T,{class:"app-bar","title-position":"left",title:e.bigCamelizeComponentName},{left:c(()=>[e.showBackIcon?(l(),P(r,{key:0,style:{"margin-right":"6px"},text:"",round:"",onClick:e.back,color:"transparent","text-color":"#fff"},{default:c(()=>[u(p,{name:"chevron-left",class:"arrow-left",style:{"margin-top":"1px"}})]),_:1},8,["onClick"])):A("",!0),!e.showBackIcon&&e.github?(l(),P(r,{key:1,style:{"margin-left":"2px","margin-right":"6px"},text:"",round:"",color:"transparent","text-color":"#fff",onClick:e.toGithub},{default:c(()=>[u(p,{name:"github",class:"github",style:{"margin-top":"1px"}})]),_:1},8,["onClick"])):A("",!0)]),right:c(()=>[e.darkMode?(l(),P(r,{key:0,text:"",round:"",color:"transparent","text-color":"#fff",style:W({transform:e.languages?"translateX(-4px)":"translateX(-6px)"}),onClick:e.toggleTheme},{default:c(()=>[u(p,{class:"theme",color:"#fff",size:24,name:e.currentTheme==="lightTheme"?"white-balance-sunny":"weather-night"},null,8,["name"])]),_:1},8,["style","onClick"])):A("",!0),e.languages?(l(),P(r,{key:1,class:"i18n-button",text:"",color:"transparent","text-color":"#fff",onClick:o[0]||(o[0]=j(D=>e.showMenu=!0,["stop"]))},{default:c(()=>[u(p,{name:"translate",class:"i18n"}),u(p,{name:"chevron-down",class:"arrow-down"})]),_:1})):A("",!0)]),_:1},8,["title"])]),B("div",lt,[u(O)]),u(rt,{name:"site-menu"},{default:c(()=>[e.showMenu?(l(),w("div",ut,[(l(!0),w(U,null,Y(e.nonEmptyLanguages,(D,L)=>Z((l(),P(i,{key:L,class:tt(["mobile-language-cell",[e.language===L&&"mobile-language-cell--active"]]),onClick:R=>e.changeLanguage(L)},{default:c(()=>[et(ot(D),1)]),_:2},1032,["class","onClick"])),[[f]])),128))])):A("",!0)]),_:1})])}const st=J(mt,[["render",ct]]),N=d(m,"mobile.redirect"),ht=d(m,"defaultLanguage");N&&b.push({path:"/:pathMatch(.*)",redirect:N});b.push({path:"/home",component:()=>t(()=>import("./AppHome-3fc853b3.js"),["./AppHome-3fc853b3.js","./index-af5fec45.js","./index-f6b4cf21.css","./AppHome-facc8d8c.css"],import.meta.url)});const z=at({history:pt(),scrollBehavior:(e,o,s)=>s||{left:0,top:0},routes:b});z.beforeEach(e=>{const{path:o,hash:s,query:h}=e,a=h.language??ht,g=h.replace;if(!E()&&!v()&&(window.location.href=`./#/${a}${o}`),!E()&&v())try{window.parent.onMobileRouteChange(o,a,g,s)}catch(p){console.log(p)}window._hmt&&e.path&&window._hmt.push(["_trackPageview",`/#${e.fullPath}`])});it(st).use(z).use(_t).mount("#app"); diff --git a/assets/provide-c979a783.js b/assets/provide-4fc67263.js similarity index 85% rename from assets/provide-c979a783.js rename to assets/provide-4fc67263.js index 9eaf2d2d08c..3d2440cba69 100644 --- a/assets/provide-c979a783.js +++ b/assets/provide-4fc67263.js @@ -1 +1 @@ -import{c as _,w as M}from"./components-3ae053cb.js";import{d as F,_ as v,e as r,f as h,w as n,m as t,x as o,p as u,q as c,T as i,R as g,t as m,v as y,a3 as I,a1 as C,aA as b}from"./index-af5fec45.js";const k={errorMessage:{type:String,default:""},extraMessage:{type:String,default:""}},{name:B,n:N}=_("form-details"),$=F({name:B,props:k,setup:()=>({n:N})});const D={key:0},E={key:0};function R(e,a,s,d,f,l){return r(),h(i,{name:e.n()},{default:n(()=>[e.errorMessage||e.extraMessage||e.$slots["extra-message"]?(r(),t("div",{key:0,class:o(e.n())},[u("div",{class:o(e.n("error-message"))},[c(i,{name:e.n("message")},{default:n(()=>[e.errorMessage?(r(),t("div",D,g(e.errorMessage),1)):m("",!0)]),_:1},8,["name"])],2),u("div",{class:o(e.n("extra-message"))},[c(i,{name:e.n("message")},{default:n(()=>[y(e.$slots,"extra-message",{},()=>[e.extraMessage?(r(),t("div",E,g(e.extraMessage),1)):m("",!0)])]),_:3},8,["name"])],2)],2)):m("",!0)]),_:3},8,["name"])}const S=v($,[["render",R]]);M(S);const p=Symbol("FORM_BIND_FORM_ITEM_KEY");function P(){const{parentProvider:e,index:a,bindParent:s}=I(p),d=b();return{index:a,form:e,bindForm:s?l=>{s({...l,instance:d})}:null}}function T(){const{childProviders:e,length:a,bindChildren:s}=C(p);return{length:a,formItems:e,bindFormItems:s}}export{S as F,T as a,P as u}; +import{c as _,w as M}from"./components-a5332e66.js";import{d as F,_ as v,e as r,f as h,w as n,m as t,x as o,p as u,q as c,T as i,R as g,t as m,v as y,a3 as I,a1 as C,aA as b}from"./index-0bd4ebfc.js";const k={errorMessage:{type:String,default:""},extraMessage:{type:String,default:""}},{name:B,n:N}=_("form-details"),$=F({name:B,props:k,setup:()=>({n:N})});const D={key:0},E={key:0};function R(e,a,s,d,f,l){return r(),h(i,{name:e.n()},{default:n(()=>[e.errorMessage||e.extraMessage||e.$slots["extra-message"]?(r(),t("div",{key:0,class:o(e.n())},[u("div",{class:o(e.n("error-message"))},[c(i,{name:e.n("message")},{default:n(()=>[e.errorMessage?(r(),t("div",D,g(e.errorMessage),1)):m("",!0)]),_:1},8,["name"])],2),u("div",{class:o(e.n("extra-message"))},[c(i,{name:e.n("message")},{default:n(()=>[y(e.$slots,"extra-message",{},()=>[e.extraMessage?(r(),t("div",E,g(e.extraMessage),1)):m("",!0)])]),_:3},8,["name"])],2)],2)):m("",!0)]),_:3},8,["name"])}const S=v($,[["render",R]]);M(S);const p=Symbol("FORM_BIND_FORM_ITEM_KEY");function P(){const{parentProvider:e,index:a,bindParent:s}=I(p),d=b();return{index:a,form:e,bindForm:s?l=>{s({...l,instance:d})}:null}}function T(){const{childProviders:e,length:a,bindChildren:s}=C(p);return{length:a,formItems:e,bindFormItems:s}}export{S as F,T as a,P as u}; diff --git a/assets/provide-0e472439.js b/assets/provide-90c65717.js similarity index 71% rename from assets/provide-0e472439.js rename to assets/provide-90c65717.js index bee3efd7bbf..98b45cd44db 100644 --- a/assets/provide-0e472439.js +++ b/assets/provide-90c65717.js @@ -1 +1 @@ -import{a1 as n}from"./index-af5fec45.js";const _=Symbol("TABS_ITEMS_BIND_TAB_ITEM_KEY");function r(){const{bindChildren:t,childProviders:e,length:T}=n(_);return{length:T,tabItemList:e,bindTabItem:t}}export{_ as T,r as u}; +import{a1 as n}from"./index-0bd4ebfc.js";const _=Symbol("TABS_ITEMS_BIND_TAB_ITEM_KEY");function r(){const{bindChildren:t,childProviders:e,length:T}=n(_);return{length:T,tabItemList:e,bindTabItem:t}}export{_ as T,r as u}; diff --git a/assets/provide-521cd214.js b/assets/provide-e4d73c18.js similarity index 71% rename from assets/provide-521cd214.js rename to assets/provide-e4d73c18.js index 4bc0d2d5c81..524638ffae8 100644 --- a/assets/provide-521cd214.js +++ b/assets/provide-e4d73c18.js @@ -1 +1 @@ -import{a1 as I}from"./index-af5fec45.js";const n=Symbol("SWIPE_BIND_SWIPE_ITEM_KEY");function r(){const{childProviders:e,length:s,bindChildren:i}=I(n);return{length:s,swipeItems:e,bindSwipeItems:i}}export{n as S,r as u}; +import{a1 as I}from"./index-0bd4ebfc.js";const n=Symbol("SWIPE_BIND_SWIPE_ITEM_KEY");function r(){const{childProviders:e,length:s,bindChildren:i}=I(n);return{length:s,swipeItems:e,bindSwipeItems:i}}export{n as S,r as u}; diff --git a/assets/provide-c3581da5.js b/assets/provide-f823f5cd.js similarity index 80% rename from assets/provide-c3581da5.js rename to assets/provide-f823f5cd.js index 93397c74a98..30369fa20a7 100644 --- a/assets/provide-c3581da5.js +++ b/assets/provide-f823f5cd.js @@ -1 +1 @@ -import{a3 as p,a1 as r}from"./index-af5fec45.js";const o=Symbol("POPUP_BIND_POPUP_ITEM_KEY");function s(){const{bindParent:n,parentProvider:P,index:e}=p(o);return{index:e,popup:P,bindPopup:n}}function u(){const{bindChildren:n,childProviders:P,length:e}=r(o);return{length:e,popupItems:P,bindPopupItems:n}}export{s as a,u}; +import{a3 as p,a1 as r}from"./index-0bd4ebfc.js";const o=Symbol("POPUP_BIND_POPUP_ITEM_KEY");function s(){const{bindParent:n,parentProvider:P,index:e}=p(o);return{index:e,popup:P,bindPopup:n}}function u(){const{bindChildren:n,childProviders:P,length:e}=r(o);return{length:e,popupItems:P,bindPopupItems:n}}export{s as a,u}; diff --git a/assets/quickstart.en-US-4a9ddb51.js b/assets/quickstart.en-US-2ff915fa.js similarity index 98% rename from assets/quickstart.en-US-4a9ddb51.js rename to assets/quickstart.en-US-2ff915fa.js index fd634033ba2..c135e27f430 100644 --- a/assets/quickstart.en-US-4a9ddb51.js +++ b/assets/quickstart.en-US-2ff915fa.js @@ -1,4 +1,4 @@ -import{_ as c,b as o,e as p,m as r,p as s,q as n,w as t,Q as a}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},d=s("h1",null,"Quickstart",-1),u={class:"card"},_={id:"Intro"},m=s("p",null,"Here are the most basic ways to access component libraries in common development patterns.",-1),j={class:"card"},g={id:"Install"},v=s("h4",null,"CDN",-1),y=s("p",null,[s("code",null,"varlet.js"),a(" contain all the styles and logic of the component library, and you can import them.")],-1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"div"),a(),s("span",{class:"hljs-attr"},"id"),a("="),s("span",{class:"hljs-string"},'"app"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` +import{_ as c,b as o,e as p,m as r,p as s,q as n,w as t,Q as a}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},d=s("h1",null,"Quickstart",-1),u={class:"card"},_={id:"Intro"},m=s("p",null,"Here are the most basic ways to access component libraries in common development patterns.",-1),j={class:"card"},g={id:"Install"},v=s("h4",null,"CDN",-1),y=s("p",null,[s("code",null,"varlet.js"),a(" contain all the styles and logic of the component library, and you can import them.")],-1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"div"),a(),s("span",{class:"hljs-attr"},"id"),a("="),s("span",{class:"hljs-string"},'"app"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"src"),a("="),s("span",{class:"hljs-string"},'"https://cdn.jsdelivr.net/npm/vue"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"src"),a("="),s("span",{class:"hljs-string"},'"https://cdn.jsdelivr.net/npm/@varlet/ui/umd/varlet.js"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(">")]),s("span",{class:"javascript"},[a(` diff --git a/assets/quickstart.zh-CN-16643e09.js b/assets/quickstart.zh-CN-701e5f94.js similarity index 98% rename from assets/quickstart.zh-CN-16643e09.js rename to assets/quickstart.zh-CN-701e5f94.js index b64e587a393..243d6c41f95 100644 --- a/assets/quickstart.zh-CN-16643e09.js +++ b/assets/quickstart.zh-CN-701e5f94.js @@ -1,4 +1,4 @@ -import{_ as p,b as c,e as o,m as r,p as s,q as n,w as l,Q as a}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},d=s("h1",null,"快速开始",-1),_={class:"card"},j={id:"jie4-shao4"},u=s("p",null,"这里为您介绍常见开发模式下接入组件库的最基本方式。",-1),m={class:"card"},g={id:"an1-zhuang1"},v=s("h4",null,"CDN",-1),y=s("p",null,[s("code",null,"varlet.js"),a(" 包含组件库的所有样式和逻辑, 引入即可。")],-1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"div"),a(),s("span",{class:"hljs-attr"},"id"),a("="),s("span",{class:"hljs-string"},'"app"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` +import{_ as p,b as c,e as o,m as r,p as s,q as n,w as l,Q as a}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},d=s("h1",null,"快速开始",-1),_={class:"card"},j={id:"jie4-shao4"},u=s("p",null,"这里为您介绍常见开发模式下接入组件库的最基本方式。",-1),m={class:"card"},g={id:"an1-zhuang1"},v=s("h4",null,"CDN",-1),y=s("p",null,[s("code",null,"varlet.js"),a(" 包含组件库的所有样式和逻辑, 引入即可。")],-1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"div"),a(),s("span",{class:"hljs-attr"},"id"),a("="),s("span",{class:"hljs-string"},'"app"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"src"),a("="),s("span",{class:"hljs-string"},'"https://cdn.jsdelivr.net/npm/vue"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"src"),a("="),s("span",{class:"hljs-string"},'"https://cdn.jsdelivr.net/npm/@varlet/ui/umd/varlet.js"'),a(">")]),s("span",{class:"hljs-tag"},[a("")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(">")]),s("span",{class:"javascript"},[a(` diff --git a/assets/serverSideRendering.en-US-3241ca49.js b/assets/serverSideRendering.en-US-5d2fcafd.js similarity index 98% rename from assets/serverSideRendering.en-US-3241ca49.js rename to assets/serverSideRendering.en-US-5d2fcafd.js index 70641673fa6..0faa1b81dcf 100644 --- a/assets/serverSideRendering.en-US-3241ca49.js +++ b/assets/serverSideRendering.en-US-5d2fcafd.js @@ -1,4 +1,4 @@ -import{_ as r,b as l,e as p,m as c,p as s,q as t,w as e,Q as n}from"./index-af5fec45.js";const i={components:{}},u={class:"varlet-site-doc"},d=s("h1",null,"Server side rendering",-1),h={class:"card"},m={id:"Intro"},_=s("p",null,[n("Here is the basic way to install "),s("code",null,"Varlet"),n(" in "),s("code",null,"Nuxt"),n(".")],-1),j={class:"card"},g={id:"Create-Nuxt-project"},v=s("p",null,[s("code",null,"Nuxt.js"),n(" is a server-side rendering application framework based on "),s("code",null,"Vue.js"),n(", please go to "),s("a",{href:"https://nuxt.com"},"Nuxt"),n(" for a detailed tutorial.")],-1),f={class:"card"},x={id:"Import-On-Demand"},y=s("p",null,[n("via plugin "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" and "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" Realize the automatic on-demand import of components.")],-1),k=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," Install the plugin"),n(` +import{_ as r,b as l,e as p,m as c,p as s,q as t,w as e,Q as n}from"./index-0bd4ebfc.js";const i={components:{}},u={class:"varlet-site-doc"},d=s("h1",null,"Server side rendering",-1),h={class:"card"},m={id:"Intro"},_=s("p",null,[n("Here is the basic way to install "),s("code",null,"Varlet"),n(" in "),s("code",null,"Nuxt"),n(".")],-1),j={class:"card"},g={id:"Create-Nuxt-project"},v=s("p",null,[s("code",null,"Nuxt.js"),n(" is a server-side rendering application framework based on "),s("code",null,"Vue.js"),n(", please go to "),s("a",{href:"https://nuxt.com"},"Nuxt"),n(" for a detailed tutorial.")],-1),f={class:"card"},x={id:"Import-On-Demand"},y=s("p",null,[n("via plugin "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" and "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" Realize the automatic on-demand import of components.")],-1),k=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," Install the plugin"),n(` `),s("span",{class:"hljs-meta"},` #`),s("span",{class:"bash"}," npm"),n(` npm i unplugin-vue-components unplugin-auto-import -D diff --git a/assets/serverSideRendering.zh-CN-b06f1f16.js b/assets/serverSideRendering.zh-CN-4fa6b2ca.js similarity index 98% rename from assets/serverSideRendering.zh-CN-b06f1f16.js rename to assets/serverSideRendering.zh-CN-4fa6b2ca.js index a4dfc79eaf4..3c15216cb46 100644 --- a/assets/serverSideRendering.zh-CN-b06f1f16.js +++ b/assets/serverSideRendering.zh-CN-4fa6b2ca.js @@ -1,4 +1,4 @@ -import{_ as c,b as o,e as r,m as p,p as s,q as t,w as a,Q as n}from"./index-af5fec45.js";const u={components:{}},i={class:"varlet-site-doc"},h=s("h1",null,"服务端渲染",-1),d={class:"card"},m={id:"jie4-shao4"},_=s("p",null,[n("这里为您介绍在 "),s("code",null,"Nuxt"),n(" 中引入 "),s("code",null,"Varlet"),n(" 的基本方式。")],-1),j={class:"card"},g={id:"chuang4-jian4--Nuxt--xiang4-mu4"},v=s("p",null,[s("code",null,"Nuxt.js"),n(" 是一个基于 "),s("code",null,"Vue.js"),n(" 的服务端渲染应用框架,详细教程请移步 "),s("a",{href:"https://nuxt.com"},"Nuxt"),n("。")],-1),f={class:"card"},x={id:"an4-xu1-yin3-ru4"},k=s("p",null,[n("通过插件 "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" 和 "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" 实现组件自动按需导入。")],-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," 安装插件"),n(` +import{_ as c,b as o,e as r,m as p,p as s,q as t,w as a,Q as n}from"./index-0bd4ebfc.js";const u={components:{}},i={class:"varlet-site-doc"},h=s("h1",null,"服务端渲染",-1),d={class:"card"},m={id:"jie4-shao4"},_=s("p",null,[n("这里为您介绍在 "),s("code",null,"Nuxt"),n(" 中引入 "),s("code",null,"Varlet"),n(" 的基本方式。")],-1),j={class:"card"},g={id:"chuang4-jian4--Nuxt--xiang4-mu4"},v=s("p",null,[s("code",null,"Nuxt.js"),n(" 是一个基于 "),s("code",null,"Vue.js"),n(" 的服务端渲染应用框架,详细教程请移步 "),s("a",{href:"https://nuxt.com"},"Nuxt"),n("。")],-1),f={class:"card"},x={id:"an4-xu1-yin3-ru4"},k=s("p",null,[n("通过插件 "),s("a",{href:"https://github.com/antfu/unplugin-vue-components"},"unplugin-vue-components"),n(" 和 "),s("a",{href:"https://github.com/antfu/unplugin-auto-import"},"unplugin-auto-import"),n(" 实现组件自动按需导入。")],-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-meta"},"#"),s("span",{class:"bash"}," 安装插件"),n(` `),s("span",{class:"hljs-meta"},` #`),s("span",{class:"bash"}," npm"),n(` npm i unplugin-vue-components unplugin-auto-import -D diff --git a/assets/shared-de177aa1.js b/assets/shared-a3ff1edc.js similarity index 90% rename from assets/shared-de177aa1.js rename to assets/shared-a3ff1edc.js index aa1d224815e..12aafa37ab1 100644 --- a/assets/shared-de177aa1.js +++ b/assets/shared-a3ff1edc.js @@ -1 +1 @@ -import{ac as r,aL as h}from"./index-af5fec45.js";const o=t=>r(t)?t.startsWith("data:image")||/\.(png|jpg|gif|jpeg|svg|webp|ico)$/i.test(t):!1,p=t=>r(t)?t.startsWith("data:video")||/\.(mp4|webm|ogg)$/.test(t):!1,u=t=>{const s=[];return{cache:s,has(e){return this.cache.includes(e)},add(e){this.has(e)||(this.cache.length===t&&s.shift(),this.cache.push(e))},remove(e){this.has(e)&&h(this.cache,e)},clear(){this.cache.length=0}}},g=t=>t,c=t=>t**3,d=t=>t<.5?c(t*2)/2:1-c((1-t)*2)/2,m=(t="",s,e="")=>{if(t.length>=s)return t;const a=s-t.length,n=Math.floor(a/e.length);return e.repeat(n)+e.slice(0,a%e.length)+t};export{o as a,u as c,d as e,p as i,g as l,m as p}; +import{ac as r,aL as h}from"./index-0bd4ebfc.js";const o=t=>r(t)?t.startsWith("data:image")||/\.(png|jpg|gif|jpeg|svg|webp|ico)$/i.test(t):!1,p=t=>r(t)?t.startsWith("data:video")||/\.(mp4|webm|ogg)$/.test(t):!1,u=t=>{const s=[];return{cache:s,has(e){return this.cache.includes(e)},add(e){this.has(e)||(this.cache.length===t&&s.shift(),this.cache.push(e))},remove(e){this.has(e)&&h(this.cache,e)},clear(){this.cache.length=0}}},g=t=>t,c=t=>t**3,d=t=>t<.5?c(t*2)/2:1-c((1-t)*2)/2,m=(t="",s,e="")=>{if(t.length>=s)return t;const a=s-t.length,n=Math.floor(a/e.length);return e.repeat(n)+e.slice(0,a%e.length)+t};export{o as a,u as c,d as e,p as i,g as l,m as p}; diff --git a/assets/usePopover-33bac0d8.js b/assets/usePopover-1ef39509.js similarity index 94% rename from assets/usePopover-33bac0d8.js rename to assets/usePopover-1ef39509.js index b1e36681472..145c723901b 100644 --- a/assets/usePopover-33bac0d8.js +++ b/assets/usePopover-1ef39509.js @@ -1 +1 @@ -import{r as m,aE as V,G as x,o as X,aF as Y,az as j,j as w,aG as q,aH as A,aI as E,ab as F}from"./index-af5fec45.js";import{t as u}from"./elements-68ad626b.js";import{g as N,a as l}from"./components-3ae053cb.js";import{u as W}from"./zIndex-a2732bb2.js";function K(t){const i=m(null),p=m(null),a=m({width:0,height:0}),r=N(t,"show",{passive:!0,defaultValue:!1,emit(s,n){n?(d(),l(t.onOpen)):l(t.onClose)}}),{zIndex:O}=W(()=>r.value,1);let f=null,g=!1,h=!1;const C=()=>{const{width:s,height:n}=F(i.value);a.value={width:u(s),height:u(n)}},P=()=>{switch(t.placement){case"top":case"cover-bottom":return"bottom";case"top-start":case"right-end":case"cover-bottom-start":return"bottom left";case"top-end":case"left-end":case"cover-bottom-end":return"bottom right";case"bottom":case"cover-top":return"top";case"bottom-start":case"right-start":case"cover-top-start":return"top left";case"bottom-end":case"left-start":case"cover-top-end":return"top right";case"left":case"cover-right":return"right";case"right":case"cover-left":return"left"}},H=()=>{t.trigger==="hover"&&(h=!0,v())},M=async()=>{t.trigger==="hover"&&(h=!1,await w(),!g&&c())},z=()=>{t.trigger==="hover"&&(g=!0)},S=async()=>{t.trigger==="hover"&&(g=!1,await w(),!h&&c())},I=()=>{t.closeOnClickReference&&r.value?c():v()},b=()=>{c()},R=s=>{t.trigger==="click"&&(b(),l(t.onClickOutside,s))},U=()=>{d(),l(t.onClosed)},G=()=>{const{offsetX:s,offsetY:n,placement:o}=t;C();const e={x:u(s),y:u(n)};switch(o){case"cover-top":return{placement:"bottom",skidding:e.x,distance:e.y-a.value.height};case"cover-top-start":return{placement:"bottom-start",skidding:e.x,distance:e.y-a.value.height};case"cover-top-end":return{placement:"bottom-end",skidding:e.x,distance:e.y-a.value.height};case"cover-bottom":return{placement:"top",skidding:e.x,distance:-e.y-a.value.height};case"cover-bottom-start":return{placement:"top-start",skidding:e.x,distance:-e.y-a.value.height};case"cover-bottom-end":return{placement:"top-end",skidding:e.x,distance:-e.y-a.value.height};case"cover-left":return{placement:"right",skidding:e.y,distance:e.x-a.value.width};case"cover-right":return{placement:"left",skidding:e.y,distance:-e.x-a.value.width};case"left":case"left-start":case"left-end":return{placement:o,skidding:e.y,distance:-e.x};case"top":case"top-start":case"top-end":return{placement:o,skidding:e.x,distance:-e.y};case"bottom":case"bottom-start":case"bottom-end":return{placement:o,skidding:e.x,distance:e.y};case"right":case"right-start":case"right-end":return{placement:o,skidding:e.y,distance:e.x}}},y=()=>{const{placement:s,skidding:n,distance:o}=G(),e=[{...q,enabled:r.value},{...A,options:{offset:[n,o]}},{...E,options:{adaptive:!1,gpuAcceleration:!1},enabled:r.value},{name:"applyTransformOrigin",enabled:r.value,phase:"beforeWrite",fn({state:T}){T.styles.popper.transformOrigin=P()}}];return{placement:s,modifiers:e,strategy:t.strategy}},k=()=>t.reference?i.value.querySelector(t.reference):i.value,d=()=>{f.setOptions(y())},v=()=>{const{disabled:s}=t;s||(r.value=!0,l(t["onUpdate:show"],!0))},c=()=>{r.value=!1,l(t["onUpdate:show"],!1)};return V(k,"click",R),x(()=>[t.offsetX,t.offsetY,t.placement,t.strategy],d),x(()=>t.disabled,c),X(()=>{f=Y(k()??i.value,p.value,y())}),j(()=>{f.destroy()}),{show:r,popover:p,zIndex:O,host:i,hostSize:a,handleHostClick:I,handleHostMouseenter:H,handleHostMouseleave:M,handlePopoverClose:b,handlePopoverMouseenter:z,handlePopoverMouseleave:S,handleClosed:U,resize:d,open:v,close:c}}export{K as u}; +import{r as m,aE as V,G as x,o as X,aF as Y,az as j,j as w,aG as q,aH as A,aI as E,ab as F}from"./index-0bd4ebfc.js";import{t as u}from"./elements-23c82371.js";import{g as N,a as l}from"./components-a5332e66.js";import{u as W}from"./zIndex-976ced0e.js";function K(t){const i=m(null),p=m(null),a=m({width:0,height:0}),r=N(t,"show",{passive:!0,defaultValue:!1,emit(s,n){n?(d(),l(t.onOpen)):l(t.onClose)}}),{zIndex:O}=W(()=>r.value,1);let f=null,g=!1,h=!1;const C=()=>{const{width:s,height:n}=F(i.value);a.value={width:u(s),height:u(n)}},P=()=>{switch(t.placement){case"top":case"cover-bottom":return"bottom";case"top-start":case"right-end":case"cover-bottom-start":return"bottom left";case"top-end":case"left-end":case"cover-bottom-end":return"bottom right";case"bottom":case"cover-top":return"top";case"bottom-start":case"right-start":case"cover-top-start":return"top left";case"bottom-end":case"left-start":case"cover-top-end":return"top right";case"left":case"cover-right":return"right";case"right":case"cover-left":return"left"}},H=()=>{t.trigger==="hover"&&(h=!0,v())},M=async()=>{t.trigger==="hover"&&(h=!1,await w(),!g&&c())},z=()=>{t.trigger==="hover"&&(g=!0)},S=async()=>{t.trigger==="hover"&&(g=!1,await w(),!h&&c())},I=()=>{t.closeOnClickReference&&r.value?c():v()},b=()=>{c()},R=s=>{t.trigger==="click"&&(b(),l(t.onClickOutside,s))},U=()=>{d(),l(t.onClosed)},G=()=>{const{offsetX:s,offsetY:n,placement:o}=t;C();const e={x:u(s),y:u(n)};switch(o){case"cover-top":return{placement:"bottom",skidding:e.x,distance:e.y-a.value.height};case"cover-top-start":return{placement:"bottom-start",skidding:e.x,distance:e.y-a.value.height};case"cover-top-end":return{placement:"bottom-end",skidding:e.x,distance:e.y-a.value.height};case"cover-bottom":return{placement:"top",skidding:e.x,distance:-e.y-a.value.height};case"cover-bottom-start":return{placement:"top-start",skidding:e.x,distance:-e.y-a.value.height};case"cover-bottom-end":return{placement:"top-end",skidding:e.x,distance:-e.y-a.value.height};case"cover-left":return{placement:"right",skidding:e.y,distance:e.x-a.value.width};case"cover-right":return{placement:"left",skidding:e.y,distance:-e.x-a.value.width};case"left":case"left-start":case"left-end":return{placement:o,skidding:e.y,distance:-e.x};case"top":case"top-start":case"top-end":return{placement:o,skidding:e.x,distance:-e.y};case"bottom":case"bottom-start":case"bottom-end":return{placement:o,skidding:e.x,distance:e.y};case"right":case"right-start":case"right-end":return{placement:o,skidding:e.y,distance:e.x}}},y=()=>{const{placement:s,skidding:n,distance:o}=G(),e=[{...q,enabled:r.value},{...A,options:{offset:[n,o]}},{...E,options:{adaptive:!1,gpuAcceleration:!1},enabled:r.value},{name:"applyTransformOrigin",enabled:r.value,phase:"beforeWrite",fn({state:T}){T.styles.popper.transformOrigin=P()}}];return{placement:s,modifiers:e,strategy:t.strategy}},k=()=>t.reference?i.value.querySelector(t.reference):i.value,d=()=>{f.setOptions(y())},v=()=>{const{disabled:s}=t;s||(r.value=!0,l(t["onUpdate:show"],!0))},c=()=>{r.value=!1,l(t["onUpdate:show"],!1)};return V(k,"click",R),x(()=>[t.offsetX,t.offsetY,t.placement,t.strategy],d),x(()=>t.disabled,c),X(()=>{f=Y(k()??i.value,p.value,y())}),j(()=>{f.destroy()}),{show:r,popover:p,zIndex:O,host:i,hostSize:a,handleHostClick:I,handleHostMouseenter:H,handleHostMouseleave:M,handlePopoverClose:b,handlePopoverMouseenter:z,handlePopoverMouseleave:S,handleClosed:U,resize:d,open:v,close:c}}export{K as u}; diff --git a/assets/useSelectController-4054913f.js b/assets/useSelectController-4200caca.js similarity index 91% rename from assets/useSelectController-4054913f.js rename to assets/useSelectController-4200caca.js index 7209f7dc5d6..4b4de52afb2 100644 --- a/assets/useSelectController-4054913f.js +++ b/assets/useSelectController-4200caca.js @@ -1 +1 @@ -import{r as d,G as m,aN as v}from"./index-af5fec45.js";function V(b){const{multiple:u,modelValue:i,optionProviders:r,optionProvidersLength:h}=b,a=d(""),s=d([]);m(i,p,{deep:!0}),m(h,p);function c(){const t=u(),e=i();t&&(s.value=e.map(f)),!t&&!v(e)&&(a.value=f(e)),!t&&v(e)&&(a.value="")}function f(t){const e=r();let n=e.find(({value:l})=>l.value===t);return n||(n=e.find(({label:l})=>l.value===t)),(n==null?void 0:n.label.value)??""}function o({value:t,label:e}){return t.value!=null?t.value:e.value}function G(t){const e=u(),n=r();return e?n.filter(({selected:l})=>l.value).map(o):o(t)}function p(){const t=u(),e=i(),n=r();t?n.forEach(l=>l.sync(e.includes(o(l)))):n.forEach(l=>l.sync(e===o(l))),c()}return{label:a,labels:s,computeLabel:c,getSelectedValue:G}}export{V as u}; +import{r as d,G as m,aN as v}from"./index-0bd4ebfc.js";function V(b){const{multiple:u,modelValue:i,optionProviders:r,optionProvidersLength:h}=b,a=d(""),s=d([]);m(i,p,{deep:!0}),m(h,p);function c(){const t=u(),e=i();t&&(s.value=e.map(f)),!t&&!v(e)&&(a.value=f(e)),!t&&v(e)&&(a.value="")}function f(t){const e=r();let n=e.find(({value:l})=>l.value===t);return n||(n=e.find(({label:l})=>l.value===t)),(n==null?void 0:n.label.value)??""}function o({value:t,label:e}){return t.value!=null?t.value:e.value}function G(t){const e=u(),n=r();return e?n.filter(({selected:l})=>l.value).map(o):o(t)}function p(){const t=u(),e=i(),n=r();t?n.forEach(l=>l.sync(e.includes(o(l)))):n.forEach(l=>l.sync(e===o(l))),c()}return{label:a,labels:s,computeLabel:c,getSelectedValue:G}}export{V as u}; diff --git a/assets/zIndex-976ced0e.js b/assets/zIndex-976ced0e.js new file mode 100644 index 00000000000..69c96c2be44 --- /dev/null +++ b/assets/zIndex-976ced0e.js @@ -0,0 +1 @@ +import{c as e}from"./index-9eb15296.js";import{r as a,G as x}from"./index-0bd4ebfc.js";function m(n,r){const t=a(e.zIndex);return x(n,o=>{o&&(e.zIndex+=r,t.value=e.zIndex)},{immediate:!0}),{zIndex:t}}export{m as u}; diff --git a/assets/zIndex-a2732bb2.js b/assets/zIndex-a2732bb2.js deleted file mode 100644 index a4b4058e042..00000000000 --- a/assets/zIndex-a2732bb2.js +++ /dev/null @@ -1 +0,0 @@ -import{c as e}from"./index-e95cf05b.js";import{r as a,G as x}from"./index-af5fec45.js";function m(n,r){const t=a(e.zIndex);return x(n,o=>{o&&(e.zIndex+=r,t.value=e.zIndex)},{immediate:!0}),{zIndex:t}}export{m as u}; diff --git a/assets/zh-CN-03920187.js b/assets/zh-CN-03920187.js deleted file mode 100644 index 14dda5ecbdb..00000000000 --- a/assets/zh-CN-03920187.js +++ /dev/null @@ -1,80 +0,0 @@ -import{_ as n,b as l,e as r,m as i,p as t,q as e,w as d,Q as s,Z as o}from"./index-af5fec45.js";const p={components:{}},h={class:"varlet-site-doc"},m=t("h1",null,"时间选择器",-1),j={class:"card"},u={id:"jie4-shao4"},_=t("p",null,"用于选择时间。",-1),g={class:"card"},k={id:"ji1-ben3-shi3-yong4"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` -`),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` - -`),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'11:20'"),s(`) -`)]),t("span",{class:"hljs-tag"},[s("")]),s(` - -`),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` - `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(" />")]),s(` -`),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),v={class:"card"},b={id:"24-xiao3-shi2-ge2-shi4"},x=t("p",null,[s("使用 "),t("code",null,"format"),s(" 属性切换选择器的时间格式,"),t("code",null,"format"),s(" 默认值为 "),t("code",null,"ampm"),s("。")],-1),y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` -`),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` - -`),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'15:20'"),s(`) -`)]),t("span",{class:"hljs-tag"},[s("")]),s(` - -`),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` - `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(),t("span",{class:"hljs-attr"},"format"),s("="),t("span",{class:"hljs-string"},'"24hr"'),s(),t("span",{class:"hljs-attr"},"elevation"),s(" />")]),s(` -`),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),w={class:"card"},z={id:"xian3-shi4-miao3"},T=t("p",null,[s("使用 "),t("code",null,"use-seconds"),s(" 属性显示秒。")],-1),N=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` -`),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` - -`),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'17:36:22'"),s(`) -`)]),t("span",{class:"hljs-tag"},[s("")]),s(` - -`),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` - `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(),t("span",{class:"hljs-attr"},"format"),s("="),t("span",{class:"hljs-string"},'"24hr"'),s(),t("span",{class:"hljs-attr"},"use-seconds"),s(" />")]),s(` -`),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),A={class:"card"},P={id:"zhi1-du2"},S=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` -`),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` - -`),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'07:10'"),s(`) -`)]),t("span",{class:"hljs-tag"},[s("")]),s(` - -`),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` - `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(),t("span",{class:"hljs-attr"},"readonly"),s(),t("span",{class:"hljs-attr"},"elevation"),s(" />")]),s(` -`),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),C={class:"card"},H={id:"shi2-jian1-xian4-zhi4"},I=t("p",null,[s("通过 "),t("code",null,"min"),s("、"),t("code",null,"max"),s(" 和 "),t("code",null,"allowed-time"),s(" 属性来控制可选择的时间范围。")],-1),V=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` -`),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` - -`),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'07:10:12'"),s(`) - -`),t("span",{class:"hljs-keyword"},"const"),s(` allowedTime = { - `),t("span",{class:"hljs-attr"},"hours"),s(": "),t("span",{class:"hljs-function"},[s("("),t("span",{class:"hljs-params"},"hour"),s(") =>")]),s(" hour % "),t("span",{class:"hljs-number"},"2"),s(" === "),t("span",{class:"hljs-number"},"0"),s(`, - `),t("span",{class:"hljs-attr"},"minutes"),s(": "),t("span",{class:"hljs-function"},[s("("),t("span",{class:"hljs-params"},"minute"),s(") =>")]),s(" minute % "),t("span",{class:"hljs-number"},"15"),s(" !== "),t("span",{class:"hljs-number"},"0"),s(`, - `),t("span",{class:"hljs-attr"},"seconds"),s(": "),t("span",{class:"hljs-function"},[s("("),t("span",{class:"hljs-params"},"second"),s(") =>")]),s(" second % "),t("span",{class:"hljs-number"},"2"),s(" !== "),t("span",{class:"hljs-number"},"0"),s(`, -} -`)]),t("span",{class:"hljs-tag"},[s("")]),s(` - -`),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` - `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(` - `),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(` - `),t("span",{class:"hljs-attr"},"format"),s("="),t("span",{class:"hljs-string"},'"24hr"'),s(` - `),t("span",{class:"hljs-attr"},"use-seconds"),s(` - `),t("span",{class:"hljs-attr"},"min"),s("="),t("span",{class:"hljs-string"},'"2:28:38"'),s(` - `),t("span",{class:"hljs-attr"},"max"),s("="),t("span",{class:"hljs-string"},'"19:40:22"'),s(` - `),t("span",{class:"hljs-attr"},":allowed-time"),s("="),t("span",{class:"hljs-string"},'"allowedTime"'),s(` - />`)]),s(` -`),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),$={class:"card"},B={id:"zi4-ding4-yi4"},F=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` -`),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` - -`),t("span",{class:"hljs-keyword"},"const"),s(" date = ref("),t("span",{class:"hljs-string"},"'05:10'"),s(`) - -`),t("span",{class:"hljs-function"},[t("span",{class:"hljs-keyword"},"function"),s(),t("span",{class:"hljs-title"},"change"),s("("),t("span",{class:"hljs-params"},"time"),s(") ")]),s(`{ - `),t("span",{class:"hljs-built_in"},"console"),s(`.log(time) -} -`)]),t("span",{class:"hljs-tag"},[s("")]),s(` - -`),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` - `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-time-picker"),s(` - `),t("span",{class:"hljs-attr"},"v-model"),s("="),t("span",{class:"hljs-string"},'"date"'),s(` - `),t("span",{class:"hljs-attr"},"header-color"),s("="),t("span",{class:"hljs-string"},'"purple"'),s(` - `),t("span",{class:"hljs-attr"},"color"),s("="),t("span",{class:"hljs-string"},'"#7bb872"'),s(` - `),t("span",{class:"hljs-attr"},"min"),s("="),t("span",{class:"hljs-string"},'"2:28:38"'),s(` - `),t("span",{class:"hljs-attr"},"max"),s("="),t("span",{class:"hljs-string"},'"19:40:22"'),s(` - `),t("span",{class:"hljs-attr"},"elevation"),s(` - @`),t("span",{class:"hljs-attr"},"change"),s("="),t("span",{class:"hljs-string"},'"change"'),s(` - />`)]),s(` -`),t("span",{class:"hljs-tag"},[s("")]),s(` -`)])],-1),O=t("h2",null,"API",-1),q={class:"card"},E={id:"shu3-xing4"},Q=o("
参数说明类型默认值
v-model被选择的时间(ISO 8601 格式,HH:mmHH:mm:ssstring-
format选择器时间格式,可选值为 ampm 24hrstringampm
color选择器的颜色string-
title-color选择器标题栏背景色,如果未指定,将使用 color 属性或默认颜色。string-
hint选择器提示语string选择时间
elevation海拔高度,可选值为 true false0-24 的等级string | number | booleanfalse
min允许的最小时间(ISO 8601格式)string-
max允许的最大时间(ISO 8601格式)string-
allowed-time限制可以选择的时间AllowedTime-
readonly是否只读booleanfalse
use-seconds是否显示秒booleanfalse
",1),Z={class:"card"},D={id:"TimePicker-AllowedTime"},G=o("
参数说明类型默认值
hours限制可选的 hourFunction: hour => boolean-
minutes限制可选的 minuteFunction: minute => boolean-
seconds限制可选的 secondFunction: second => boolean-
",1),J={class:"card"},K={id:"shi4-jian4"},L=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"回调参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"change")]),t("td",null,"时间变化时触发"),t("td",null,[t("code",null,"value: string")])])])],-1),M={class:"card"},R={id:"yang4-shi4-bian4-liang2"},U=o('

以下为组件使用的 css 变量,可以使用 StyleProvider 组件 进行样式定制。

变量名默认值
--time-picker-border-radius4px
--time-picker-font-sizevar(--font-size-md)
--time-picker-min-width290px
--time-picker-height385px
--time-picker-title-height105px
--time-picker-title-padding16px
--time-picker-title-color#fff
--time-picker-title-margin-bottom8px
--time-picker-title-hint-font-size16px
--time-picker-title-backgroundvar(--color-primary)
--time-picker-title-time-font-size50px
--time-picker-title-time-margin0 5px
--time-picker-title-ampm-margin-left5px
--time-picker-clock-left27px
--time-picker-clock-right27px
--time-picker-clock-top27px
--time-picker-clock-bottom27px
--time-picker-clock-container-width256px
--time-picker-clock-container-height256px
--time-picker-clock-container-background#e0e0e0
--time-picker-clock-hand-heightcalc(50% - 4px)
--time-picker-clock-hand-width2px
--time-picker-clock-hand-bottom50%
--time-picker-clock-hand-leftcalc(50% - 1px)
--time-picker-clock-hand-backgroundvar(--color-primary)
--time-picker-clock-hand-border-colorvar(--color-primary)
--time-picker-clock-hand-before-width10px
--time-picker-clock-hand-before-height10px
--time-picker-clock-hand-before-border-width2px
--time-picker-clock-hand-after-width4px
--time-picker-clock-hand-after-height4px
--time-picker-clock-item-height32px
--time-picker-clock-item-width32px
--time-picker-clock-item-active-backgroundvar(--color-primary)
--time-picker-clock-item-active-color#fff
--time-picker-clock-item-disable-colorrgba(0, 0, 0, 0.26)
--time-picker-clock-item-text-color#555
--time-picker-inner-left36px
--time-picker-inner-right36px
--time-picker-inner-top36px
--time-picker-inner-bottom36px
--time-picker-body-background#fff
',2);function W(X,Y,tt,st,et,dt){const c=l("router-link"),a=l("var-site-code-example");return r(),i("div",h,[m,t("div",j,[t("h3",u,[e(c,{to:"#jie4-shao4"},{default:d(()=>[s("#")]),_:1}),s("介绍")]),_]),t("div",g,[t("h3",k,[e(c,{to:"#ji1-ben3-shi3-yong4"},{default:d(()=>[s("#")]),_:1}),s("基本使用")]),e(a,null,{default:d(()=>[f]),_:1})]),t("div",v,[t("h3",b,[e(c,{to:"#24-xiao3-shi2-ge2-shi4"},{default:d(()=>[s("#")]),_:1}),s("24小时格式")]),x,e(a,null,{default:d(()=>[y]),_:1})]),t("div",w,[t("h3",z,[e(c,{to:"#xian3-shi4-miao3"},{default:d(()=>[s("#")]),_:1}),s("显示秒")]),T,e(a,null,{default:d(()=>[N]),_:1})]),t("div",A,[t("h3",P,[e(c,{to:"#zhi1-du2"},{default:d(()=>[s("#")]),_:1}),s("只读")]),e(a,null,{default:d(()=>[S]),_:1})]),t("div",C,[t("h3",H,[e(c,{to:"#shi2-jian1-xian4-zhi4"},{default:d(()=>[s("#")]),_:1}),s("时间限制")]),I,e(a,null,{default:d(()=>[V]),_:1})]),t("div",$,[t("h3",B,[e(c,{to:"#zi4-ding4-yi4"},{default:d(()=>[s("#")]),_:1}),s("自定义")]),e(a,null,{default:d(()=>[F]),_:1})]),O,t("div",q,[t("h3",E,[e(c,{to:"#shu3-xing4"},{default:d(()=>[s("#")]),_:1}),s("属性")]),Q]),t("div",Z,[t("h3",D,[e(c,{to:"#TimePicker-AllowedTime"},{default:d(()=>[s("#")]),_:1}),s("TimePicker AllowedTime")]),G]),t("div",J,[t("h3",K,[e(c,{to:"#shi4-jian4"},{default:d(()=>[s("#")]),_:1}),s("事件")]),L]),t("div",M,[t("h3",R,[e(c,{to:"#yang4-shi4-bian4-liang2"},{default:d(()=>[s("#")]),_:1}),s("样式变量")]),U])])}const at=n(p,[["render",W]]);export{at as default}; diff --git a/assets/zh-CN-23bdbbc8.js b/assets/zh-CN-1362c6a9.js similarity index 99% rename from assets/zh-CN-23bdbbc8.js rename to assets/zh-CN-1362c6a9.js index 06a533f730c..bfb8472abe7 100644 --- a/assets/zh-CN-23bdbbc8.js +++ b/assets/zh-CN-1362c6a9.js @@ -1,4 +1,4 @@ -import{_ as r,b as d,e as h,m as o,p as a,q as t,w as n,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"多列选择器",-1),u={class:"card"},g={id:"jie4-shao4"},m=a("p",null,"提供了函数和组件两种调用方式。同时支持级联模式,可以处理多级联动。",-1),x={class:"card"},_={id:"zhu4-yi4"},k=a("p",null,[s("为了使 api 更加友好,该组件重构于 "),a("code",null,"2.17.0"),s(",但引入了破坏性变更,老版本文档请 "),a("a",{href:"https://github.com/varletjs/varlet/blob/main/packages/varlet-ui/src/picker/docs/zh-CN.md"},"查看这里"),s("。")],-1),v=a("h2",null,"函数调用",-1),b={class:"card"},y={id:"dan1-lie4-xuan3-ze2"},f=a("p",null,[s("函数会返回用户选择的信息和用户最后的动作 "),a("code",null,"state"),s("。 "),a("code",null,"state"),s(" 可能是 "),a("code",null,"confirm"),s(", "),a("code",null,"cancel"),s(", "),a("code",null,"close"),s("。")],-1),w=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as r,b as d,e as h,m as o,p as a,q as t,w as n,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"多列选择器",-1),u={class:"card"},g={id:"jie4-shao4"},m=a("p",null,"提供了函数和组件两种调用方式。同时支持级联模式,可以处理多级联动。",-1),x={class:"card"},_={id:"zhu4-yi4"},k=a("p",null,[s("为了使 api 更加友好,该组件重构于 "),a("code",null,"2.17.0"),s(",但引入了破坏性变更,老版本文档请 "),a("a",{href:"https://github.com/varletjs/varlet/blob/main/packages/varlet-ui/src/picker/docs/zh-CN.md"},"查看这里"),s("。")],-1),v=a("h2",null,"函数调用",-1),b={class:"card"},y={id:"dan1-lie4-xuan3-ze2"},f=a("p",null,[s("函数会返回用户选择的信息和用户最后的动作 "),a("code",null,"state"),s("。 "),a("code",null,"state"),s(" 可能是 "),a("code",null,"confirm"),s(", "),a("code",null,"cancel"),s(", "),a("code",null,"close"),s("。")],-1),w=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { Picker, Snackbar } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `),a("span",{class:"hljs-keyword"},"async"),s(),a("span",{class:"hljs-function"},[a("span",{class:"hljs-keyword"},"function"),s(),a("span",{class:"hljs-title"},"picker"),s("("),a("span",{class:"hljs-params"}),s(") ")]),s(`{ diff --git a/assets/zh-CN-1278dfbb.js b/assets/zh-CN-14a27e1c.js similarity index 97% rename from assets/zh-CN-1278dfbb.js rename to assets/zh-CN-14a27e1c.js index 159ec9f77ff..9cc2ec15351 100644 --- a/assets/zh-CN-1278dfbb.js +++ b/assets/zh-CN-14a27e1c.js @@ -1 +1 @@ -import{_ as n,b as s,e as l,m as r,p as t,q as o,w as c,Q as d,Z as a}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},b=a('
参数说明类型默认值
name标签名称,作为匹配的标识符string-
icon图标名称,等同于 Icon 组件的 name 属性string-
label标签文字内容string-
namespace图标的命名空间, 可扩展自定义图标库,等同于 Icon 组件的 namespace 属性stringvar-icon
badge图标右上角徽标boolean | BadgePropsfalse
',1),p={class:"card"},f={id:"shi4-jian4"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"回调参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"点击时触发"),t("td",null,[t("code",null,"active: number | string")])])])],-1),v={class:"card"},x={id:"cha1-cao2"},N=a("
名称说明参数
default自定义标签文字内容,会覆盖 label 的内容-
icon自定义图标active: boolean
",1);function k(y,C,B,V,$,z){const e=s("router-link");return l(),r("div",i,[_,t("div",u,[t("h3",m,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",p,[t("h3",f,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),g]),t("div",v,[t("h3",x,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),N])])}const j=n(h,[["render",k]]);export{j as default}; +import{_ as n,b as s,e as l,m as r,p as t,q as o,w as c,Q as d,Z as a}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},b=a('
参数说明类型默认值
name标签名称,作为匹配的标识符string-
icon图标名称,等同于 Icon 组件的 name 属性string-
label标签文字内容string-
namespace图标的命名空间, 可扩展自定义图标库,等同于 Icon 组件的 namespace 属性stringvar-icon
badge图标右上角徽标boolean | BadgePropsfalse
',1),p={class:"card"},f={id:"shi4-jian4"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"回调参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"点击时触发"),t("td",null,[t("code",null,"active: number | string")])])])],-1),v={class:"card"},x={id:"cha1-cao2"},N=a("
名称说明参数
default自定义标签文字内容,会覆盖 label 的内容-
icon自定义图标active: boolean
",1);function k(y,C,B,V,$,z){const e=s("router-link");return l(),r("div",i,[_,t("div",u,[t("h3",m,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",p,[t("h3",f,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),g]),t("div",v,[t("h3",x,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),N])])}const j=n(h,[["render",k]]);export{j as default}; diff --git a/assets/zh-CN-55cd544f.js b/assets/zh-CN-17bc38b5.js similarity index 99% rename from assets/zh-CN-55cd544f.js rename to assets/zh-CN-17bc38b5.js index a68a7dd93b9..65f1920fa37 100644 --- a/assets/zh-CN-55cd544f.js +++ b/assets/zh-CN-17bc38b5.js @@ -1,4 +1,4 @@ -import{_ as l,b as c,e as h,m as r,p as s,q as d,w as e,Q as t,Z as n}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=s("h1",null,"索引栏",-1),m={class:"card"},b={id:"jie4-shao4"},_=s("p",null,"用于跳转到页面指定位置。",-1),u={class:"card"},g={id:"ji1-ben3-shi3-yong4"},x=s("p",null,[t("点击索引栏时,会自动跳转到对应的 "),s("code",null,"IndexAnchor"),t(" 锚点位置。")],-1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +import{_ as l,b as c,e as h,m as r,p as s,q as d,w as e,Q as t,Z as n}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=s("h1",null,"索引栏",-1),m={class:"card"},b={id:"jie4-shao4"},_=s("p",null,"用于跳转到页面指定位置。",-1),u={class:"card"},g={id:"ji1-ben3-shi3-yong4"},x=s("p",null,[t("点击索引栏时,会自动跳转到对应的 "),s("code",null,"IndexAnchor"),t(" 锚点位置。")],-1),f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` `),s("span",{class:"hljs-keyword"},"import"),t(" { ref, onMounted } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` `),s("span",{class:"hljs-keyword"},"const"),t(` list = ref([]) diff --git a/assets/zh-CN-62b34cf5.js b/assets/zh-CN-19207a3b.js similarity index 99% rename from assets/zh-CN-62b34cf5.js rename to assets/zh-CN-19207a3b.js index 37f137318ee..1c6c7216616 100644 --- a/assets/zh-CN-62b34cf5.js +++ b/assets/zh-CN-19207a3b.js @@ -1,4 +1,4 @@ -import{_ as h,b as d,e as o,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"表格",-1),m={class:"card"},g={id:"jie4-shao4"},b=a("p",null,"一个极简的表格,当你需要以表格的形式展示一些数据的时候,可能会用的上它。",-1),_={class:"card"},u={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as d,e as o,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"表格",-1),m={class:"card"},g={id:"jie4-shao4"},b=a("p",null,"一个极简的表格,当你需要以表格的形式展示一些数据的时候,可能会用的上它。",-1),_={class:"card"},u={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-table"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"thead"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"tr"),s(">")]),s(` diff --git a/assets/zh-CN-f9e018d8.js b/assets/zh-CN-1ba57368.js similarity index 99% rename from assets/zh-CN-f9e018d8.js rename to assets/zh-CN-1ba57368.js index 53407cbcfe9..9c9cc6445d7 100644 --- a/assets/zh-CN-f9e018d8.js +++ b/assets/zh-CN-1ba57368.js @@ -1,4 +1,4 @@ -import{_ as h,b as r,e as d,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"头像",-1),g={class:"card"},v={id:"jie4-shao4"},m=a("p",null,"用作头像显示,支持图片、图标和字符。",-1),u={class:"card"},_={id:"tou2-xiang4-chi3-cun4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as r,e as d,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"头像",-1),g={class:"card"},v={id:"jie4-shao4"},m=a("p",null,"用作头像显示,支持图片、图标和字符。",-1),u={class:"card"},_={id:"tou2-xiang4-chi3-cun4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},"align"),s("="),a("span",{class:"hljs-string"},'"center"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-avatar"),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(),a("span",{class:"hljs-attr"},"size"),s("="),a("span",{class:"hljs-string"},'"mini"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-avatar"),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(),a("span",{class:"hljs-attr"},"size"),s("="),a("span",{class:"hljs-string"},'"small"'),s(" />")]),s(` diff --git a/assets/zh-CN-e14ccf53.js b/assets/zh-CN-1ffbc573.js similarity index 99% rename from assets/zh-CN-e14ccf53.js rename to assets/zh-CN-1ffbc573.js index 564158827d9..6f3d8ddfd65 100644 --- a/assets/zh-CN-e14ccf53.js +++ b/assets/zh-CN-1ffbc573.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as i,m as h,p as t,q as a,w as n,Q as s,Z as d}from"./index-af5fec45.js";const r={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"分页",-1),_={class:"card"},g={id:"jie4-shao4"},u=t("p",null,"当你需要处理大量数据的时候,可能需要用到它。",-1),m=t("h2",null,"简约模式",-1),f={class:"card"},v={id:"jie4-shao4"},b=t("p",null,"默认的一种显示模式,推荐在小屏设备上使用,组件预览见右侧手机模拟器。",-1),z={class:"card"},y={id:"ji1-ben3-shi3-yong4"},x=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as i,m as h,p as t,q as a,w as n,Q as s,Z as d}from"./index-0bd4ebfc.js";const r={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"分页",-1),_={class:"card"},g={id:"jie4-shao4"},u=t("p",null,"当你需要处理大量数据的时候,可能需要用到它。",-1),m=t("h2",null,"简约模式",-1),f={class:"card"},v={id:"jie4-shao4"},b=t("p",null,"默认的一种显示模式,推荐在小屏设备上使用,组件预览见右侧手机模拟器。",-1),z={class:"card"},y={id:"ji1-ben3-shi3-yong4"},x=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-pagination"),s(),t("span",{class:"hljs-attr"},":current"),s("="),t("span",{class:"hljs-string"},'"3"'),s(),t("span",{class:"hljs-attr"},":total"),s("="),t("span",{class:"hljs-string"},'"120"'),s(" />")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),w={class:"card"},k={id:"yin3-cang2--size--kong4-zhi4-qi4"},$=t("p",null,[s("使用 "),t("code",null,"show-size-changer"),s(" 可以控制 "),t("code",null,"size"),s(" 控制器的显示和隐藏。")],-1),q=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/zh-CN-8039eefc.js b/assets/zh-CN-21840dc0.js similarity index 93% rename from assets/zh-CN-8039eefc.js rename to assets/zh-CN-21840dc0.js index fed76d6a736..68e3ee05158 100644 --- a/assets/zh-CN-8039eefc.js +++ b/assets/zh-CN-21840dc0.js @@ -1 +1 @@ -import{_ as n,b as l,e as a,m as c,p as t,q as d,w as s,Q as e,Z as h}from"./index-af5fec45.js";const r={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},p={id:"shu3-xing4"},m=h("
参数说明类型默认值
name视图的名字_string \\number_
",1),f={class:"card"},b={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"视图的内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(N,k,V,$,g,y){const o=l("router-link");return a(),c("div",_,[u,t("div",i,[t("h3",p,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),m]),t("div",f,[t("h3",b,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),x])])}const C=n(r,[["render",v]]);export{C as default}; +import{_ as n,b as l,e as a,m as c,p as t,q as d,w as s,Q as e,Z as h}from"./index-0bd4ebfc.js";const r={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},p={id:"shu3-xing4"},m=h("
参数说明类型默认值
name视图的名字_string \\number_
",1),f={class:"card"},b={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"视图的内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(N,k,V,$,g,y){const o=l("router-link");return a(),c("div",_,[u,t("div",i,[t("h3",p,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),m]),t("div",f,[t("h3",b,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),x])])}const C=n(r,[["render",v]]);export{C as default}; diff --git a/assets/zh-CN-a103a656.js b/assets/zh-CN-2710d689.js similarity index 95% rename from assets/zh-CN-a103a656.js rename to assets/zh-CN-2710d689.js index d979b9f3870..8ada9dcd387 100644 --- a/assets/zh-CN-a103a656.js +++ b/assets/zh-CN-2710d689.js @@ -1 +1 @@ -import{_ as r,b as a,e as n,m as h,p as t,q as o,w as c,Q as d,Z as s}from"./index-af5fec45.js";const i={components:{}},_={class:"varlet-site-doc"},l=t("h2",null,"API",-1),m={class:"card"},u={id:"shu3-xing4"},b=s("
参数说明类型默认值
name唯一标识符,默认为索引值number | stringindex
title面板标题number | string-
iconicon的名称stringchevron-down
disabled是否禁用面板booleanfalse
",1),p={class:"card"},f={id:"cha1-cao2"},x=s("
名称说明参数
default面板的内容-
title面板的标题-
icon自定义右侧icon-
",1);function v(g,N,k,y,V,$){const e=a("router-link");return n(),h("div",_,[l,t("div",m,[t("h3",u,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",p,[t("h3",f,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),x])])}const B=r(i,[["render",v]]);export{B as default}; +import{_ as r,b as a,e as n,m as h,p as t,q as o,w as c,Q as d,Z as s}from"./index-0bd4ebfc.js";const i={components:{}},_={class:"varlet-site-doc"},l=t("h2",null,"API",-1),m={class:"card"},u={id:"shu3-xing4"},b=s("
参数说明类型默认值
name唯一标识符,默认为索引值number | stringindex
title面板标题number | string-
iconicon的名称stringchevron-down
disabled是否禁用面板booleanfalse
",1),p={class:"card"},f={id:"cha1-cao2"},x=s("
名称说明参数
default面板的内容-
title面板的标题-
icon自定义右侧icon-
",1);function v(g,N,k,y,V,$){const e=a("router-link");return n(),h("div",_,[l,t("div",m,[t("h3",u,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",p,[t("h3",f,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),x])])}const B=r(i,[["render",v]]);export{B as default}; diff --git a/assets/zh-CN-7d05a265.js b/assets/zh-CN-27764c64.js similarity index 99% rename from assets/zh-CN-7d05a265.js rename to assets/zh-CN-27764c64.js index d3b2ce7f2c7..6f1ec46b4fd 100644 --- a/assets/zh-CN-7d05a265.js +++ b/assets/zh-CN-27764c64.js @@ -1,4 +1,4 @@ -import{B as r,O as d}from"./ResponsiveObject-b269cecd.js";import{_ as o,b as e,e as i,m as g,p as a,q as l,w as n,Q as s,Z as p}from"./index-af5fec45.js";import"./index-85b78525.js";import"./components-3ae053cb.js";import"./elements-68ad626b.js";import"./logger-525ef361.js";import"./index-5689d3e2.js";const m={components:{BasicExample:r,ObjectExample:d}},u={class:"varlet-site-doc"},v=a("h1",null,"布局",-1),f={class:"card"},b={id:"jie4-shao4"},_=a("p",null,[s("组件库提供了 "),a("code",null,""),s(" 和 "),a("code",null,""),s(" 两个辅助布局的组件,使您更有效率的进行布局。")],-1),x={class:"card"},y={id:"zha4-ge2-xi4-tong3"},w=a("p",null,[a("code",null,""),s(" 组件把一行平均划分为 24列 栅格( 24份 ),"),a("code",null,""),s(" 提供 "),a("code",null,"span"),s(" 属性设置一列所占的份数,"),a("code",null,"offset"),s(" 属性设置一列偏移的份数, "),a("code",null,"gutter"),s(" 属性设置列间距。")],-1),k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{B as r,O as d}from"./ResponsiveObject-f1121469.js";import{_ as o,b as e,e as i,m as g,p as a,q as l,w as n,Q as s,Z as p}from"./index-0bd4ebfc.js";import"./index-e6df479c.js";import"./components-a5332e66.js";import"./elements-23c82371.js";import"./logger-525ef361.js";import"./index-79c63a4e.js";const m={components:{BasicExample:r,ObjectExample:d}},u={class:"varlet-site-doc"},v=a("h1",null,"布局",-1),f={class:"card"},b={id:"jie4-shao4"},_=a("p",null,[s("组件库提供了 "),a("code",null,""),s(" 和 "),a("code",null,""),s(" 两个辅助布局的组件,使您更有效率的进行布局。")],-1),x={class:"card"},y={id:"zha4-ge2-xi4-tong3"},w=a("p",null,[a("code",null,""),s(" 组件把一行平均划分为 24列 栅格( 24份 ),"),a("code",null,""),s(" 提供 "),a("code",null,"span"),s(" 属性设置一列所占的份数,"),a("code",null,"offset"),s(" 属性设置一列偏移的份数, "),a("code",null,"gutter"),s(" 属性设置列间距。")],-1),k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-row"),s(),a("span",{class:"hljs-attr"},":gutter"),s("="),a("span",{class:"hljs-string"},'"[10, 10]"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-col"),s(),a("span",{class:"hljs-attr"},":span"),s("="),a("span",{class:"hljs-string"},'"8"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"item"'),s(">")]),s("span: 8"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-2ccbb704.js b/assets/zh-CN-28fd16cf.js similarity index 99% rename from assets/zh-CN-2ccbb704.js rename to assets/zh-CN-28fd16cf.js index 0f0b888742d..b57f5213268 100644 --- a/assets/zh-CN-2ccbb704.js +++ b/assets/zh-CN-28fd16cf.js @@ -1,4 +1,4 @@ -import{_ as o,b as l,e as r,m as p,p as s,q as e,w as d,Q as t,Z as n}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"日期选择器",-1),m={class:"card"},g={id:"jie4-shao4"},u=s("p",null,"用于选择日期或日期范围。",-1),_={class:"card"},f={id:"ji1-ben3-shi3-yong4"},y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +import{_ as o,b as l,e as r,m as p,p as s,q as e,w as d,Q as t,Z as n}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"日期选择器",-1),m={class:"card"},g={id:"jie4-shao4"},u=s("p",null,"用于选择日期或日期范围。",-1),_={class:"card"},f={id:"ji1-ben3-shi3-yong4"},y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` `),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` `),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'2021-04-08'"),t(`) diff --git a/assets/zh-CN-0aace0e3.js b/assets/zh-CN-2a160b04.js similarity index 99% rename from assets/zh-CN-0aace0e3.js rename to assets/zh-CN-2a160b04.js index 74f7786fbf9..a10d3d9b2f7 100644 --- a/assets/zh-CN-0aace0e3.js +++ b/assets/zh-CN-2a160b04.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as p,m as i,p as a,q as t,w as l,Q as s,Z as h}from"./index-af5fec45.js";const r={components:{}},o={class:"varlet-site-doc"},j=a("h1",null,"图片",-1),g={class:"card"},m={id:"jie4-shao4"},_=a("p",null,[s("组件提供了更方便的尺寸,填充模式,圆角的设置方式,水波效果增强图片点击交互体验。 支持 "),a("code",null,"懒加载"),s("、 "),a("code",null,"loading 图片"),s("、 "),a("code",null,"error 图片"),s("、应用 "),a("code",null,"Lazy"),s(" 指令的默认设置。")],-1),u={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as c,e as p,m as i,p as a,q as t,w as l,Q as s,Z as h}from"./index-0bd4ebfc.js";const r={components:{}},o={class:"varlet-site-doc"},j=a("h1",null,"图片",-1),g={class:"card"},m={id:"jie4-shao4"},_=a("p",null,[s("组件提供了更方便的尺寸,填充模式,圆角的设置方式,水波效果增强图片点击交互体验。 支持 "),a("code",null,"懒加载"),s("、 "),a("code",null,"loading 图片"),s("、 "),a("code",null,"error 图片"),s("、应用 "),a("code",null,"Lazy"),s(" 指令的默认设置。")],-1),u={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-image"),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),x={class:"card"},b={id:"tian2-chong1-mo2-shi4"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/zh-CN-4a875d5b.js b/assets/zh-CN-2d98653c.js similarity index 99% rename from assets/zh-CN-4a875d5b.js rename to assets/zh-CN-2d98653c.js index 4ffac82ef5f..5e6df09efe0 100644 --- a/assets/zh-CN-4a875d5b.js +++ b/assets/zh-CN-2d98653c.js @@ -1,4 +1,4 @@ -import{_ as p,b as c,e as r,m as h,p as a,q as n,w as l,Q as s}from"./index-af5fec45.js";const o={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"悬停指令",-1),d={class:"card"},u={id:"jie4-shao4"},g=a("p",null,"指针悬停在绑定元素上时进行样式绑定,也可以通过函数获得当前悬停的状态,支持在桌面端或移动端中选择性启用。",-1),_={class:"card"},m={id:"yang4-shi4-bang3-ding4"},b=a("p",null,"指针悬停在绑定元素上时进行样式绑定, 离开元素时取消样式绑定。",-1),v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as p,b as c,e as r,m as h,p as a,q as n,w as l,Q as s}from"./index-0bd4ebfc.js";const o={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"悬停指令",-1),d={class:"card"},u={id:"jie4-shao4"},g=a("p",null,"指针悬停在绑定元素上时进行样式绑定,也可以通过函数获得当前悬停的状态,支持在桌面端或移动端中选择性启用。",-1),_={class:"card"},m={id:"yang4-shi4-bang3-ding4"},b=a("p",null,"指针悬停在绑定元素上时进行样式绑定, 离开元素时取消样式绑定。",-1),v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-paper"),s(` `),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"paper"'),s(` `),a("span",{class:"hljs-attr"},"ripple"),s(` diff --git a/assets/zh-CN-4e354d8a.js b/assets/zh-CN-2fba6790.js similarity index 99% rename from assets/zh-CN-4e354d8a.js rename to assets/zh-CN-2fba6790.js index 4996c715104..39e44360042 100644 --- a/assets/zh-CN-4e354d8a.js +++ b/assets/zh-CN-2fba6790.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as h,m as r,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"拖拽",-1),u={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"使元素可以自由拖拽。",-1),m={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as h,m as r,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"拖拽",-1),u={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"使元素可以自由拖拽。",-1),m={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-drag"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("基本使用"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-b052a918.js b/assets/zh-CN-32a63b5d.js similarity index 99% rename from assets/zh-CN-b052a918.js rename to assets/zh-CN-32a63b5d.js index 67a65776d93..1af297cdcf3 100644 --- a/assets/zh-CN-b052a918.js +++ b/assets/zh-CN-32a63b5d.js @@ -1,4 +1,4 @@ -import{_ as h,b as d,e as o,m as p,p as a,q as l,w as t,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"徽标",-1),g={class:"card"},m={id:"hui1-biao1-lei4-xing2"},u=a("p",null,[s("通过 "),a("code",null,"type"),s(" 属性设置徽标的类型。")],-1),_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as d,e as o,m as p,p as a,q as l,w as t,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"徽标",-1),g={class:"card"},m={id:"hui1-biao1-lei4-xing2"},u=a("p",null,[s("通过 "),a("code",null,"type"),s(" 属性设置徽标的类型。")],-1),_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-badge"),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-badge"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(" />")]),s(` diff --git a/assets/zh-CN-b2b54bf6.js b/assets/zh-CN-46979f74.js similarity index 99% rename from assets/zh-CN-b2b54bf6.js rename to assets/zh-CN-46979f74.js index 858b6251c03..c3496f57ee9 100644 --- a/assets/zh-CN-b2b54bf6.js +++ b/assets/zh-CN-46979f74.js @@ -1,4 +1,4 @@ -import{_ as h,b as c,e as o,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const i={components:{}},r={class:"varlet-site-doc"},j=a("h1",null,"文本省略",-1),_={class:"card"},m={id:"jie4-shao4"},g=a("p",null,"主要用于省略单行文字和多行文字。",-1),u={class:"card"},v={id:"dan1-hang2-sheng3-lve4"},x=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as c,e as o,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const i={components:{}},r={class:"varlet-site-doc"},j=a("h1",null,"文本省略",-1),_={class:"card"},m={id:"jie4-shao4"},g=a("p",null,"主要用于省略单行文字和多行文字。",-1),u={class:"card"},v={id:"dan1-hang2-sheng3-lve4"},x=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-ellipsis"),s(),a("span",{class:"hljs-attr"},"style"),s("="),a("span",{class:"hljs-string"},'"max-width: 170px"'),s(">")]),s(` 其实没有什么事情是不可能的,我都拿到世界冠军了,真的没有什么事情是不可能的。 `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-6746f4ea.js b/assets/zh-CN-48b5a302.js similarity index 99% rename from assets/zh-CN-6746f4ea.js rename to assets/zh-CN-48b5a302.js index 2d92ee39431..89d3ef86eb5 100644 --- a/assets/zh-CN-6746f4ea.js +++ b/assets/zh-CN-48b5a302.js @@ -1,4 +1,4 @@ -import{_ as o,b as r,e as p,m as d,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"结果",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"用于向用户展示结果。",-1),f={class:"card"},v={id:"ji1-ben3-shi3-yong4"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as r,e as p,m as d,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"结果",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"用于向用户展示结果。",-1),f={class:"card"},v={id:"ji1-ben3-shi3-yong4"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-result"),s(` `),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"success"'),s(` `),a("span",{class:"hljs-attr"},"title"),s("="),a("span",{class:"hljs-string"},'"成功"'),s(` diff --git a/assets/zh-CN-43b87802.js b/assets/zh-CN-4a791aed.js similarity index 97% rename from assets/zh-CN-43b87802.js rename to assets/zh-CN-4a791aed.js index 1d6962756f1..f2cf6d88ea7 100644 --- a/assets/zh-CN-43b87802.js +++ b/assets/zh-CN-4a791aed.js @@ -1 +1 @@ -import{_ as r,b as s,e as n,m as h,p as t,q as o,w as c,Q as d,Z as a}from"./index-af5fec45.js";const l={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"shu3-xing4"},b=a("
参数说明类型默认值
v-model绑定的值anyfalse
checked-value选中状态的值anytrue
unchecked-value未选中状态的值anyfalse
checked-color选中状态的颜色any-
unchecked-color未选中状态的颜色any-
icon-size图标尺寸_string\\ number_
disabled是否禁用booleanfalse
readonly是否只读booleanfalse
ripple是否开启水波纹booleantrue
rules验证规则,返回 true 表示验证通过,其余的值则转换为文本作为用户提示Array<(value: any) => any>-
",1),y={class:"card"},f={id:"shi4-jian4"},p=a("
事件名说明参数
click点击时触发e: Event
change状态变更时触发value: any
",1),v={class:"card"},k={id:"cha1-cao2"},x=a("
插槽名说明参数
checked-icon选中图标-
unchecked-icon未选中图标-
default显示的文本-
",1);function g(N,V,$,B,C,j){const e=s("router-link");return n(),h("div",i,[_,t("div",m,[t("h3",u,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",y,[t("h3",f,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),p]),t("div",v,[t("h3",k,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),x])])}const z=r(l,[["render",g]]);export{z as default}; +import{_ as r,b as s,e as n,m as h,p as t,q as o,w as c,Q as d,Z as a}from"./index-0bd4ebfc.js";const l={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"shu3-xing4"},b=a("
参数说明类型默认值
v-model绑定的值anyfalse
checked-value选中状态的值anytrue
unchecked-value未选中状态的值anyfalse
checked-color选中状态的颜色any-
unchecked-color未选中状态的颜色any-
icon-size图标尺寸_string\\ number_
disabled是否禁用booleanfalse
readonly是否只读booleanfalse
ripple是否开启水波纹booleantrue
rules验证规则,返回 true 表示验证通过,其余的值则转换为文本作为用户提示Array<(value: any) => any>-
",1),y={class:"card"},f={id:"shi4-jian4"},p=a("
事件名说明参数
click点击时触发e: Event
change状态变更时触发value: any
",1),v={class:"card"},k={id:"cha1-cao2"},x=a("
插槽名说明参数
checked-icon选中图标-
unchecked-icon未选中图标-
default显示的文本-
",1);function g(N,V,$,B,C,j){const e=s("router-link");return n(),h("div",i,[_,t("div",m,[t("h3",u,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",y,[t("h3",f,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),p]),t("div",v,[t("h3",k,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),x])])}const z=r(l,[["render",g]]);export{z as default}; diff --git a/assets/zh-CN-3ffcc4c8.js b/assets/zh-CN-4a9cf0ac.js similarity index 99% rename from assets/zh-CN-3ffcc4c8.js rename to assets/zh-CN-4a9cf0ac.js index bc4ea421a77..34a59a16d18 100644 --- a/assets/zh-CN-3ffcc4c8.js +++ b/assets/zh-CN-4a9cf0ac.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"加载",-1),g={class:"card"},_={id:"jie4-shao4"},m=a("p",null,"加载组件,用于数据加载时执行动画。",-1),u={class:"card"},v={id:"Loading--lei4-xing2"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"加载",-1),g={class:"card"},_={id:"jie4-shao4"},m=a("p",null,"加载组件,用于数据加载时执行动画。",-1),u={class:"card"},v={id:"Loading--lei4-xing2"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},"align"),s("="),a("span",{class:"hljs-string"},'"center"'),s(),a("span",{class:"hljs-attr"},"justify"),s("="),a("span",{class:"hljs-string"},'"space-between"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-loading"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"circle"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-loading"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"cube"'),s(" />")]),s(` diff --git a/assets/zh-CN-e422600b.js b/assets/zh-CN-4cc48955.js similarity index 99% rename from assets/zh-CN-e422600b.js rename to assets/zh-CN-4cc48955.js index a43e3cfd585..952e7ceb9da 100644 --- a/assets/zh-CN-e422600b.js +++ b/assets/zh-CN-4cc48955.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as p,p as a,q as l,w as t,Q as s,Z as h}from"./index-af5fec45.js";const i={components:{}},d={class:"varlet-site-doc"},j=a("h1",null,"水波指令",-1),u={class:"card"},b={id:"jie4-shao4"},_=a("p",null,"使元素点击时生成一个水波扩散的效果。",-1),m={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as r,m as p,p as a,q as l,w as t,Q as s,Z as h}from"./index-0bd4ebfc.js";const i={components:{}},d={class:"varlet-site-doc"},j=a("h1",null,"水波指令",-1),u={class:"card"},b={id:"jie4-shao4"},_=a("p",null,"使元素点击时生成一个水波扩散的效果。",-1),m={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"ripple-example-block var-elevation--2"'),s(),a("span",{class:"hljs-attr"},"v-ripple"),s(">")]),s("点击"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-88b7e63b.js b/assets/zh-CN-4d1ce762.js similarity index 99% rename from assets/zh-CN-88b7e63b.js rename to assets/zh-CN-4d1ce762.js index 427c332a75d..ea6000e8648 100644 --- a/assets/zh-CN-88b7e63b.js +++ b/assets/zh-CN-4d1ce762.js @@ -1,4 +1,4 @@ -import{_ as r,b as c,e as o,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"进度条",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"展示操作的当前进度。",-1),_={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as r,b as c,e as o,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"进度条",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"展示操作的当前进度。",-1),_={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref, onMounted, onUnmounted } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/zh-CN-a9cf31be.js b/assets/zh-CN-4e809540.js similarity index 99% rename from assets/zh-CN-a9cf31be.js rename to assets/zh-CN-4e809540.js index 31f7569df69..4600b5d8192 100644 --- a/assets/zh-CN-a9cf31be.js +++ b/assets/zh-CN-4e809540.js @@ -1,4 +1,4 @@ -import{_ as h,b as d,e as o,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const i={components:{}},r={class:"varlet-site-doc"},j=a("h1",null,"粘性布局",-1),_={class:"card"},u={id:"jie4-shao4"},m=a("p",null,[s("粘性布局默认使用监听容器滚动事件的 "),a("code",null,"scroll"),s(" 模式,如有需要可以切换成基于 "),a("code",null,"css sticky"),s(" 的模式来提升性能。")],-1),b={class:"card"},g={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as d,e as o,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const i={components:{}},r={class:"varlet-site-doc"},j=a("h1",null,"粘性布局",-1),_={class:"card"},u={id:"jie4-shao4"},m=a("p",null,[s("粘性布局默认使用监听容器滚动事件的 "),a("code",null,"scroll"),s(" 模式,如有需要可以切换成基于 "),a("code",null,"css sticky"),s(" 的模式来提升性能。")],-1),b={class:"card"},g={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"sticky-example"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-sticky"),s(),a("span",{class:"hljs-attr"},":offset-top"),s("="),a("span",{class:"hljs-string"},'"54"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("基本使用"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-4a12695c.js b/assets/zh-CN-4f2ff8ea.js similarity index 99% rename from assets/zh-CN-4a12695c.js rename to assets/zh-CN-4f2ff8ea.js index 0f234348001..e44bc8786a5 100644 --- a/assets/zh-CN-4a12695c.js +++ b/assets/zh-CN-4f2ff8ea.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"开关",-1),m={class:"card"},_={id:"jie4-shao4"},u=a("p",null,"开关选择器。",-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"开关",-1),m={class:"card"},_={id:"jie4-shao4"},u=a("p",null,"开关选择器。",-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-literal"},"true"),s(`) diff --git a/assets/zh-CN-dbab7007.js b/assets/zh-CN-5097dfa1.js similarity index 99% rename from assets/zh-CN-dbab7007.js rename to assets/zh-CN-5097dfa1.js index 5c8ec945a50..f1d7686e68f 100644 --- a/assets/zh-CN-dbab7007.js +++ b/assets/zh-CN-5097dfa1.js @@ -1,4 +1,4 @@ -import{_ as h,b as e,e as i,m as r,p as s,q as n,w as l,Q as a,Z as o}from"./index-af5fec45.js";const d={components:{}},p={class:"varlet-site-doc"},j=s("h1",null,"图标",-1),m={class:"card"},u={id:"jie4-shao4"},_=s("p",null,[a("基于字体的图标库,也支持网络图片。 字体图标来自 "),s("a",{href:"https://materialdesignicons.com/"},"Material Design Icon")],-1),g={class:"card"},y={id:"tu2-biao1-chi3-cun4"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"template"),a(">")]),a(` +import{_ as h,b as e,e as i,m as r,p as s,q as n,w as l,Q as a,Z as o}from"./index-0bd4ebfc.js";const d={components:{}},p={class:"varlet-site-doc"},j=s("h1",null,"图标",-1),m={class:"card"},u={id:"jie4-shao4"},_=s("p",null,[a("基于字体的图标库,也支持网络图片。 字体图标来自 "),s("a",{href:"https://materialdesignicons.com/"},"Material Design Icon")],-1),g={class:"card"},y={id:"tu2-biao1-chi3-cun4"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"template"),a(">")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"var-icon"),a(),s("span",{class:"hljs-attr"},"name"),a("="),s("span",{class:"hljs-string"},'"checkbox-marked-circle"'),a(" />")]),a(` `),s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"var-icon"),a(),s("span",{class:"hljs-attr"},"name"),a("="),s("span",{class:"hljs-string"},'"checkbox-marked-circle"'),a(),s("span",{class:"hljs-attr"},":size"),a("="),s("span",{class:"hljs-string"},'"26"'),a("/>")]),a(` `),s("span",{class:"hljs-tag"},[a("")]),a(` diff --git a/assets/zh-CN-a1ba60da.js b/assets/zh-CN-518deff5.js similarity index 99% rename from assets/zh-CN-a1ba60da.js rename to assets/zh-CN-518deff5.js index b8daec4a1e3..58a05186835 100644 --- a/assets/zh-CN-a1ba60da.js +++ b/assets/zh-CN-518deff5.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as r,p as a,q as t,w as n,Q as s,Z as e}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"动作面板",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,[s("弹出一个动作面板提供用户选择选项的能力。 "),a("code",null,"ActionSheet"),s(" 提供了函数式和组件式两种使用方式,两种使用效果和参数并没有本质区别。 函数返回一个 "),a("code",null,"Promise"),s(",选择时返回 "),a("code",null,"当前选择的 action"),s(",点击遮罩层关闭返回 "),a("code",null,"close"),s("。")],-1),_=a("h2",null,"函数调用",-1),b={class:"card"},y={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as h,m as r,p as a,q as t,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"动作面板",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,[s("弹出一个动作面板提供用户选择选项的能力。 "),a("code",null,"ActionSheet"),s(" 提供了函数式和组件式两种使用方式,两种使用效果和参数并没有本质区别。 函数返回一个 "),a("code",null,"Promise"),s(",选择时返回 "),a("code",null,"当前选择的 action"),s(",点击遮罩层关闭返回 "),a("code",null,"close"),s("。")],-1),_=a("h2",null,"函数调用",-1),b={class:"card"},y={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { Snackbar, ActionSheet } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `),a("span",{class:"hljs-keyword"},"async"),s(),a("span",{class:"hljs-function"},[a("span",{class:"hljs-keyword"},"function"),s(),a("span",{class:"hljs-title"},"createBasic"),s("("),a("span",{class:"hljs-params"}),s(") ")]),s(`{ diff --git a/assets/zh-CN-e8d8cc15.js b/assets/zh-CN-53a5dbdd.js similarity index 99% rename from assets/zh-CN-e8d8cc15.js rename to assets/zh-CN-53a5dbdd.js index ce1b4d0bdbf..cd56c4c1ef7 100644 --- a/assets/zh-CN-e8d8cc15.js +++ b/assets/zh-CN-53a5dbdd.js @@ -1,4 +1,4 @@ -import{_ as o,b as p,e as h,m as r,p as a,q as l,w as n,Q as s,Z as e}from"./index-af5fec45.js";const d={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"弹出层",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,[s("创建一个可以从上、下、左、右、中心弹出的容器,用于展示信息。默认使用 "),a("code",null,"teleport"),s(" 插入到 "),a("code",null,"body"),s(" 尾部。")],-1),v={class:"card"},b={id:"dan4-chu1-wei4-zhi4"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as p,e as h,m as r,p as a,q as l,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const d={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"弹出层",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,[s("创建一个可以从上、下、左、右、中心弹出的容器,用于展示信息。默认使用 "),a("code",null,"teleport"),s(" 插入到 "),a("code",null,"body"),s(" 尾部。")],-1),v={class:"card"},b={id:"dan4-chu1-wei4-zhi4"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" center = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/zh-CN-c639aecd.js b/assets/zh-CN-56fb5367.js similarity index 99% rename from assets/zh-CN-c639aecd.js rename to assets/zh-CN-56fb5367.js index 992433c5c2e..24de5c515c3 100644 --- a/assets/zh-CN-c639aecd.js +++ b/assets/zh-CN-56fb5367.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as t,q as a,w as e,Q as s,Z as n}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"单元格",-1),m={class:"card"},_={id:"jie4-shao4"},g=t("p",null,"单元格为列表中的单个展示项。",-1),u={class:"card"},b={id:"ji1-ben3-shi3-yong4"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as r,m as h,p as t,q as a,w as e,Q as s,Z as n}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"单元格",-1),m={class:"card"},_={id:"jie4-shao4"},g=t("p",null,"单元格为列表中的单个展示项。",-1),u={class:"card"},b={id:"ji1-ben3-shi3-yong4"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-cell"),s(">")]),s("这是单元格"),t("span",{class:"hljs-tag"},[s("")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),v={class:"card"},x={id:"xian3-shi4-tu2-biao1"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/zh-CN-f8d848cb.js b/assets/zh-CN-5a6576a8.js similarity index 99% rename from assets/zh-CN-f8d848cb.js rename to assets/zh-CN-5a6576a8.js index 93bd9f3b871..c10a6b37268 100644 --- a/assets/zh-CN-f8d848cb.js +++ b/assets/zh-CN-5a6576a8.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"骨架屏",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"显示一些带过渡效果的占位元素,优化加载过程。",-1),_={class:"card"},k={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"骨架屏",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"显示一些带过渡效果的占位元素,优化加载过程。",-1),_={class:"card"},k={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" loading = ref("),a("span",{class:"hljs-literal"},"true"),s(`) diff --git a/assets/zh-CN-d3a58060.js b/assets/zh-CN-5bd47ca0.js similarity index 99% rename from assets/zh-CN-d3a58060.js rename to assets/zh-CN-5bd47ca0.js index 4bebd27e1c0..917a9833c97 100644 --- a/assets/zh-CN-d3a58060.js +++ b/assets/zh-CN-5bd47ca0.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as p,p as a,q as l,w as t,Q as s,Z as c}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"折叠面板",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"可以折叠/展开的内容区域。",-1),v={class:"card"},u={id:"ji1-ben3-shi3-yong4"},f=a("p",null,[s("通过 "),a("code",null,"v-model"),s(" 控制展开的面板列表,"),a("code",null,"value"),s(" 为数组格式。")],-1),b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as h,m as p,p as a,q as l,w as t,Q as s,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"折叠面板",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"可以折叠/展开的内容区域。",-1),v={class:"card"},u={id:"ji1-ben3-shi3-yong4"},f=a("p",null,[s("通过 "),a("code",null,"v-model"),s(" 控制展开的面板列表,"),a("code",null,"value"),s(" 为数组格式。")],-1),b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref(["),a("span",{class:"hljs-string"},"'1'"),s(`]) diff --git a/assets/zh-CN-6730151c.js b/assets/zh-CN-63fc00d1.js similarity index 99% rename from assets/zh-CN-6730151c.js rename to assets/zh-CN-63fc00d1.js index 13e6d90b4f6..c671dce860a 100644 --- a/assets/zh-CN-6730151c.js +++ b/assets/zh-CN-63fc00d1.js @@ -1,4 +1,4 @@ -import{_ as c,b as d,e as r,m as h,p as t,q as a,w as n,Q as s,Z as l}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"加载条",-1),m={class:"card"},g={id:"jie4-shao4"},_=t("p",null,"页面顶部显示加载进度。",-1),u={class:"card"},f={id:"ji1-ben3-shi3-yong4"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as c,b as d,e as r,m as h,p as t,q as a,w as n,Q as s,Z as l}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"加载条",-1),m={class:"card"},g={id:"jie4-shao4"},_=t("p",null,"页面顶部显示加载进度。",-1),u={class:"card"},f={id:"ji1-ben3-shi3-yong4"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { LoadingBar } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` diff --git a/assets/zh-CN-5628896d.js b/assets/zh-CN-65f82e9c.js similarity index 99% rename from assets/zh-CN-5628896d.js rename to assets/zh-CN-65f82e9c.js index 0789ad032b0..08b4cfbebed 100644 --- a/assets/zh-CN-5628896d.js +++ b/assets/zh-CN-65f82e9c.js @@ -1,4 +1,4 @@ -import{_ as d,b as c,e as h,m as p,p as a,q as t,w as n,Q as s,Z as o}from"./index-af5fec45.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Space 间隔",-1),u={class:"card"},m={id:"jie4-shao4"},_=a("p",null,[s("组件库提供了 "),a("code",null,""),s(" 布局的组件,使您更有效率的进行 flex 布局。")],-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as d,b as c,e as h,m as p,p as a,q as t,w as n,Q as s,Z as o}from"./index-0bd4ebfc.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"Space 间隔",-1),u={class:"card"},m={id:"jie4-shao4"},_=a("p",null,[s("组件库提供了 "),a("code",null,""),s(" 布局的组件,使您更有效率的进行 flex 布局。")],-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(">")]),s("Button1"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(">")]),s("Button2"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-47716034.js b/assets/zh-CN-6b89cef4.js similarity index 99% rename from assets/zh-CN-47716034.js rename to assets/zh-CN-6b89cef4.js index faaa1dd22bd..2057b9a7673 100644 --- a/assets/zh-CN-47716034.js +++ b/assets/zh-CN-6b89cef4.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as p,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"菜单选择器",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,[s("具有选择器功能的菜单,部分功能的使用方式与 "),a("a",{href:"#/zh-CN/menu"},"菜单"),s(" 一致。")],-1),v={class:"card"},_={id:"ji1-ben3-shi3-yong4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as p,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const h={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"菜单选择器",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,[s("具有选择器功能的菜单,部分功能的使用方式与 "),a("a",{href:"#/zh-CN/menu"},"菜单"),s(" 一致。")],-1),v={class:"card"},_={id:"ji1-ben3-shi3-yong4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` value = ref() diff --git a/assets/zh-CN-0cbfb910.js b/assets/zh-CN-6c4b80db.js similarity index 95% rename from assets/zh-CN-0cbfb910.js rename to assets/zh-CN-6c4b80db.js index 0f65d4a8417..1a3fd4c9539 100644 --- a/assets/zh-CN-0cbfb910.js +++ b/assets/zh-CN-6c4b80db.js @@ -1 +1 @@ -import{_ as l,b as s,e as a,m as n,p as t,q as o,w as c,Q as e,Z as r}from"./index-af5fec45.js";const h={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},m={id:"shu3-xing4"},p=r("
参数说明类型默认值
label选项显示的文本any-
value选项绑定的值any-
disabled是否禁用booleanfalse
",1),b={class:"card"},f={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"选项显示的内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(y,N,k,V,$,B){const d=s("router-link");return a(),n("div",_,[u,t("div",i,[t("h3",m,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",b,[t("h3",f,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),x])])}const g=l(h,[["render",v]]);export{g as default}; +import{_ as l,b as s,e as a,m as n,p as t,q as o,w as c,Q as e,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},m={id:"shu3-xing4"},p=r("
参数说明类型默认值
label选项显示的文本any-
value选项绑定的值any-
disabled是否禁用booleanfalse
",1),b={class:"card"},f={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"选项显示的内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(y,N,k,V,$,B){const d=s("router-link");return a(),n("div",_,[u,t("div",i,[t("h3",m,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",b,[t("h3",f,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),x])])}const g=l(h,[["render",v]]);export{g as default}; diff --git a/assets/zh-CN-42004dbd.js b/assets/zh-CN-7457f15f.js similarity index 99% rename from assets/zh-CN-42004dbd.js rename to assets/zh-CN-7457f15f.js index 5fd04608d54..3d7ae0c5b2a 100644 --- a/assets/zh-CN-42004dbd.js +++ b/assets/zh-CN-7457f15f.js @@ -1,4 +1,4 @@ -import{_ as o,b as n,e as r,m as h,p as t,q as a,w as d,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"卡片",-1),g={class:"card"},m={id:"ji1-ben3-shi3-yong4"},u=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as n,e as r,m as h,p as t,q as a,w as d,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"卡片",-1),g={class:"card"},m={id:"ji1-ben3-shi3-yong4"},u=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-card"),s(` `),t("span",{class:"hljs-attr"},"title"),s("="),t("span",{class:"hljs-string"},'"本草纲目"'),s(` `),t("span",{class:"hljs-attr"},"description"),s("="),t("span",{class:"hljs-string"},'"如果华佗再世,崇洋都被医治,外邦来学汉字,激发我民族意识。马钱子、决明子、苍耳子,还有莲子;黄药子、苦豆子、川楝子,我要面子。用我的方式,改写一部历史。没什么别的事,跟着我念几个字。山药当归枸杞 GO,山药 当归 枸杞 GO,看我抓一把中药,服下一帖骄傲~"'),s(` diff --git a/assets/zh-CN-ddb01456.js b/assets/zh-CN-7636cf51.js similarity index 99% rename from assets/zh-CN-ddb01456.js rename to assets/zh-CN-7636cf51.js index bc3ae8a7ac9..fa822a9dcf7 100644 --- a/assets/zh-CN-ddb01456.js +++ b/assets/zh-CN-7636cf51.js @@ -1,4 +1,4 @@ -import{_ as h,b as c,e as o,m as p,p as a,q as t,w as n,Q as s,Z as r}from"./index-af5fec45.js";const d={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"图片懒加载",-1),g={class:"card"},m={id:"jie4-shao4"},u=a("p",null,"在图片可见时进行加载。",-1),_={class:"card"},b={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as c,e as o,m as p,p as a,q as t,w as n,Q as s,Z as r}from"./index-0bd4ebfc.js";const d={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"图片懒加载",-1),g={class:"card"},m={id:"jie4-shao4"},u=a("p",null,"在图片可见时进行加载。",-1),_={class:"card"},b={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"img"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"lazy-example-cat"'),s(),a("span",{class:"hljs-attr"},"v-lazy"),s("="),a("span",{class:"hljs-string"},`"'https://varlet.gitee.io/varlet-ui/cat.jpg'"`),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-7792773e.js b/assets/zh-CN-7792773e.js new file mode 100644 index 00000000000..98b96064e9a --- /dev/null +++ b/assets/zh-CN-7792773e.js @@ -0,0 +1,80 @@ +import{_ as n,b as o,e as r,m as i,p as s,q as e,w as d,Q as t,Z as l}from"./index-0bd4ebfc.js";const p={components:{}},h={class:"varlet-site-doc"},m=s("h1",null,"时间选择器",-1),j={class:"card"},u={id:"jie4-shao4"},_=s("p",null,"用于选择时间。",-1),g={class:"card"},k={id:"ji1-ben3-shi3-yong4"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +`),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` + +`),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'11:20'"),t(`) +`)]),s("span",{class:"hljs-tag"},[t("")]),t(` + +`),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` + `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-time-picker"),t(),s("span",{class:"hljs-attr"},"v-model"),t("="),s("span",{class:"hljs-string"},'"date"'),t(" />")]),t(` +`),s("span",{class:"hljs-tag"},[t("")]),t(` +`)])],-1),v={class:"card"},b={id:"24-xiao3-shi2-ge2-shi4"},x=s("p",null,[t("使用 "),s("code",null,"format"),t(" 属性切换选择器的时间格式,"),s("code",null,"format"),t(" 默认值为 "),s("code",null,"ampm"),t("。")],-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +`),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` + +`),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'15:20'"),t(`) +`)]),s("span",{class:"hljs-tag"},[t("")]),t(` + +`),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` + `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-time-picker"),t(),s("span",{class:"hljs-attr"},"v-model"),t("="),s("span",{class:"hljs-string"},'"date"'),t(),s("span",{class:"hljs-attr"},"format"),t("="),s("span",{class:"hljs-string"},'"24hr"'),t(),s("span",{class:"hljs-attr"},"elevation"),t(" />")]),t(` +`),s("span",{class:"hljs-tag"},[t("")]),t(` +`)])],-1),w={class:"card"},z={id:"xian3-shi4-miao3"},T=s("p",null,[t("使用 "),s("code",null,"use-seconds"),t(" 属性显示秒。")],-1),N=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +`),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` + +`),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'17:36:22'"),t(`) +`)]),s("span",{class:"hljs-tag"},[t("")]),t(` + +`),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` + `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-time-picker"),t(),s("span",{class:"hljs-attr"},"v-model"),t("="),s("span",{class:"hljs-string"},'"date"'),t(),s("span",{class:"hljs-attr"},"format"),t("="),s("span",{class:"hljs-string"},'"24hr"'),t(),s("span",{class:"hljs-attr"},"use-seconds"),t(" />")]),t(` +`),s("span",{class:"hljs-tag"},[t("")]),t(` +`)])],-1),A={class:"card"},P={id:"zhi1-du2"},S=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +`),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` + +`),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'07:10'"),t(`) +`)]),s("span",{class:"hljs-tag"},[t("")]),t(` + +`),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` + `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-time-picker"),t(),s("span",{class:"hljs-attr"},"v-model"),t("="),s("span",{class:"hljs-string"},'"date"'),t(),s("span",{class:"hljs-attr"},"readonly"),t(),s("span",{class:"hljs-attr"},"elevation"),t(" />")]),t(` +`),s("span",{class:"hljs-tag"},[t("")]),t(` +`)])],-1),C={class:"card"},H={id:"shi2-jian1-xian4-zhi4"},I=s("p",null,[t("通过 "),s("code",null,"min"),t("、"),s("code",null,"max"),t(" 和 "),s("code",null,"allowed-time"),t(" 属性来控制可选择的时间范围。")],-1),V=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +`),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` + +`),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'07:10:12'"),t(`) + +`),s("span",{class:"hljs-keyword"},"const"),t(` allowedTime = { + `),s("span",{class:"hljs-attr"},"hours"),t(": "),s("span",{class:"hljs-function"},[t("("),s("span",{class:"hljs-params"},"hour"),t(") =>")]),t(" hour % "),s("span",{class:"hljs-number"},"2"),t(" === "),s("span",{class:"hljs-number"},"0"),t(`, + `),s("span",{class:"hljs-attr"},"minutes"),t(": "),s("span",{class:"hljs-function"},[t("("),s("span",{class:"hljs-params"},"minute"),t(") =>")]),t(" minute % "),s("span",{class:"hljs-number"},"15"),t(" !== "),s("span",{class:"hljs-number"},"0"),t(`, + `),s("span",{class:"hljs-attr"},"seconds"),t(": "),s("span",{class:"hljs-function"},[t("("),s("span",{class:"hljs-params"},"second"),t(") =>")]),t(" second % "),s("span",{class:"hljs-number"},"2"),t(" !== "),s("span",{class:"hljs-number"},"0"),t(`, +} +`)]),s("span",{class:"hljs-tag"},[t("")]),t(` + +`),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` + `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-time-picker"),t(` + `),s("span",{class:"hljs-attr"},"v-model"),t("="),s("span",{class:"hljs-string"},'"date"'),t(` + `),s("span",{class:"hljs-attr"},"format"),t("="),s("span",{class:"hljs-string"},'"24hr"'),t(` + `),s("span",{class:"hljs-attr"},"use-seconds"),t(` + `),s("span",{class:"hljs-attr"},"min"),t("="),s("span",{class:"hljs-string"},'"2:28:38"'),t(` + `),s("span",{class:"hljs-attr"},"max"),t("="),s("span",{class:"hljs-string"},'"19:40:22"'),t(` + `),s("span",{class:"hljs-attr"},":allowed-time"),t("="),s("span",{class:"hljs-string"},'"allowedTime"'),t(` + />`)]),t(` +`),s("span",{class:"hljs-tag"},[t("")]),t(` +`)])],-1),$={class:"card"},B={id:"zi4-ding4-yi4"},F=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"script"),t(),s("span",{class:"hljs-attr"},"setup"),t(">")]),s("span",{class:"javascript"},[t(` +`),s("span",{class:"hljs-keyword"},"import"),t(" { ref } "),s("span",{class:"hljs-keyword"},"from"),t(),s("span",{class:"hljs-string"},"'vue'"),t(` + +`),s("span",{class:"hljs-keyword"},"const"),t(" date = ref("),s("span",{class:"hljs-string"},"'05:10'"),t(`) + +`),s("span",{class:"hljs-function"},[s("span",{class:"hljs-keyword"},"function"),t(),s("span",{class:"hljs-title"},"change"),t("("),s("span",{class:"hljs-params"},"time"),t(") ")]),t(`{ + `),s("span",{class:"hljs-built_in"},"console"),t(`.log(time) +} +`)]),s("span",{class:"hljs-tag"},[t("")]),t(` + +`),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` + `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-time-picker"),t(` + `),s("span",{class:"hljs-attr"},"v-model"),t("="),s("span",{class:"hljs-string"},'"date"'),t(` + `),s("span",{class:"hljs-attr"},"header-color"),t("="),s("span",{class:"hljs-string"},'"purple"'),t(` + `),s("span",{class:"hljs-attr"},"color"),t("="),s("span",{class:"hljs-string"},'"#7bb872"'),t(` + `),s("span",{class:"hljs-attr"},"min"),t("="),s("span",{class:"hljs-string"},'"2:28:38"'),t(` + `),s("span",{class:"hljs-attr"},"max"),t("="),s("span",{class:"hljs-string"},'"19:40:22"'),t(` + `),s("span",{class:"hljs-attr"},"elevation"),t(` + @`),s("span",{class:"hljs-attr"},"change"),t("="),s("span",{class:"hljs-string"},'"change"'),t(` + />`)]),t(` +`),s("span",{class:"hljs-tag"},[t("")]),t(` +`)])],-1),O=s("h2",null,"API",-1),q={class:"card"},E={id:"shu3-xing4"},Q=l("
参数说明类型默认值
v-model被选择的时间(ISO 8601 格式,HH:mmHH:mm:ssstring-
format选择器时间格式,可选值为 ampm 24hrstringampm
color选择器的颜色string-
title-color选择器标题栏背景色,如果未指定,将使用 color 属性或默认颜色。string-
elevation海拔高度,可选值为 true false0-24 的等级string | number | booleanfalse
min允许的最小时间(ISO 8601格式)string-
max允许的最大时间(ISO 8601格式)string-
allowed-time限制可以选择的时间AllowedTime-
readonly是否只读booleanfalse
use-seconds是否显示秒booleanfalse
",1),Z={class:"card"},D={id:"TimePicker-AllowedTime"},G=l("
参数说明类型默认值
hours限制可选的 hourFunction: hour => boolean-
minutes限制可选的 minuteFunction: minute => boolean-
seconds限制可选的 secondFunction: second => boolean-
",1),J={class:"card"},K={id:"shi4-jian4"},L=s("table",null,[s("thead",null,[s("tr",null,[s("th",null,"事件名"),s("th",null,"说明"),s("th",null,"回调参数")])]),s("tbody",null,[s("tr",null,[s("td",null,[s("code",null,"change")]),s("td",null,"时间变化时触发"),s("td",null,[s("code",null,"value: string")])])])],-1),M={class:"card"},R={id:"yang4-shi4-bian4-liang2"},U=l('

以下为组件使用的 css 变量,可以使用 StyleProvider 组件 进行样式定制。

变量名默认值
--time-picker-border-radius4px
--time-picker-font-sizevar(--font-size-md)
--time-picker-min-width290px
--time-picker-height385px
--time-picker-title-height105px
--time-picker-title-padding16px
--time-picker-title-color#fff
--time-picker-title-backgroundvar(--color-primary)
--time-picker-title-time-font-size50px
--time-picker-title-time-margin0 5px
--time-picker-title-ampm-margin-left5px
--time-picker-clock-left27px
--time-picker-clock-right27px
--time-picker-clock-top27px
--time-picker-clock-bottom27px
--time-picker-clock-container-width256px
--time-picker-clock-container-height256px
--time-picker-clock-container-background#e0e0e0
--time-picker-clock-hand-heightcalc(50% - 4px)
--time-picker-clock-hand-width2px
--time-picker-clock-hand-bottom50%
--time-picker-clock-hand-leftcalc(50% - 1px)
--time-picker-clock-hand-backgroundvar(--color-primary)
--time-picker-clock-hand-border-colorvar(--color-primary)
--time-picker-clock-hand-before-width10px
--time-picker-clock-hand-before-height10px
--time-picker-clock-hand-before-border-width2px
--time-picker-clock-hand-after-width4px
--time-picker-clock-hand-after-height4px
--time-picker-clock-item-height32px
--time-picker-clock-item-width32px
--time-picker-clock-item-active-backgroundvar(--color-primary)
--time-picker-clock-item-active-color#fff
--time-picker-clock-item-disable-colorrgba(0, 0, 0, 0.26)
--time-picker-clock-item-text-color#555
--time-picker-inner-left36px
--time-picker-inner-right36px
--time-picker-inner-top36px
--time-picker-inner-bottom36px
--time-picker-body-background#fff
',2);function W(X,Y,ss,ts,es,ds){const c=o("router-link"),a=o("var-site-code-example");return r(),i("div",h,[m,s("div",j,[s("h3",u,[e(c,{to:"#jie4-shao4"},{default:d(()=>[t("#")]),_:1}),t("介绍")]),_]),s("div",g,[s("h3",k,[e(c,{to:"#ji1-ben3-shi3-yong4"},{default:d(()=>[t("#")]),_:1}),t("基本使用")]),e(a,null,{default:d(()=>[f]),_:1})]),s("div",v,[s("h3",b,[e(c,{to:"#24-xiao3-shi2-ge2-shi4"},{default:d(()=>[t("#")]),_:1}),t("24小时格式")]),x,e(a,null,{default:d(()=>[y]),_:1})]),s("div",w,[s("h3",z,[e(c,{to:"#xian3-shi4-miao3"},{default:d(()=>[t("#")]),_:1}),t("显示秒")]),T,e(a,null,{default:d(()=>[N]),_:1})]),s("div",A,[s("h3",P,[e(c,{to:"#zhi1-du2"},{default:d(()=>[t("#")]),_:1}),t("只读")]),e(a,null,{default:d(()=>[S]),_:1})]),s("div",C,[s("h3",H,[e(c,{to:"#shi2-jian1-xian4-zhi4"},{default:d(()=>[t("#")]),_:1}),t("时间限制")]),I,e(a,null,{default:d(()=>[V]),_:1})]),s("div",$,[s("h3",B,[e(c,{to:"#zi4-ding4-yi4"},{default:d(()=>[t("#")]),_:1}),t("自定义")]),e(a,null,{default:d(()=>[F]),_:1})]),O,s("div",q,[s("h3",E,[e(c,{to:"#shu3-xing4"},{default:d(()=>[t("#")]),_:1}),t("属性")]),Q]),s("div",Z,[s("h3",D,[e(c,{to:"#TimePicker-AllowedTime"},{default:d(()=>[t("#")]),_:1}),t("TimePicker AllowedTime")]),G]),s("div",J,[s("h3",K,[e(c,{to:"#shi4-jian4"},{default:d(()=>[t("#")]),_:1}),t("事件")]),L]),s("div",M,[s("h3",R,[e(c,{to:"#yang4-shi4-bian4-liang2"},{default:d(()=>[t("#")]),_:1}),t("样式变量")]),U])])}const as=n(p,[["render",W]]);export{as as default}; diff --git a/assets/zh-CN-97f37369.js b/assets/zh-CN-7b9dc6e6.js similarity index 99% rename from assets/zh-CN-97f37369.js rename to assets/zh-CN-7b9dc6e6.js index d2a1560b6d8..3499dc85a58 100644 --- a/assets/zh-CN-97f37369.js +++ b/assets/zh-CN-7b9dc6e6.js @@ -1,4 +1,4 @@ -import{_ as o,b as n,e as r,m as h,p as t,q as a,w as d,Q as s,Z as e}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"对话框",-1),m={class:"card"},g={id:"jie4-shao4"},u=t("p",null,[s("弹出一个对话框展示内容并处理用户交互。 "),t("code",null,"Dialog"),s(" 提供了函数式和组件式两种使用方式,两种使用效果和参数并没有本质区别。")],-1),_=t("h2",null,"函数调用",-1),f={class:"card"},b={id:"ji1-ben3-shi3-yong4"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as n,e as r,m as h,p as t,q as a,w as d,Q as s,Z as e}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"对话框",-1),m={class:"card"},g={id:"jie4-shao4"},u=t("p",null,[s("弹出一个对话框展示内容并处理用户交互。 "),t("code",null,"Dialog"),s(" 提供了函数式和组件式两种使用方式,两种使用效果和参数并没有本质区别。")],-1),_=t("h2",null,"函数调用",-1),f={class:"card"},b={id:"ji1-ben3-shi3-yong4"},y=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { Dialog } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `)]),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-3d798a09.js b/assets/zh-CN-84e039fd.js similarity index 99% rename from assets/zh-CN-3d798a09.js rename to assets/zh-CN-84e039fd.js index 552484a8385..b81ec10ec5e 100644 --- a/assets/zh-CN-3d798a09.js +++ b/assets/zh-CN-84e039fd.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as r,p as a,q as t,w as l,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"复选框",-1),u={class:"card"},m={id:"jie4-shao4"},g=a("p",null,"在一组备选项中进行多选。",-1),v={class:"card"},_={id:"ji1-ben3-shi3-yong4"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as h,m as r,p as a,q as t,w as l,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"复选框",-1),u={class:"card"},m={id:"jie4-shao4"},g=a("p",null,"在一组备选项中进行多选。",-1),v={class:"card"},_={id:"ji1-ben3-shi3-yong4"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/zh-CN-27dee8ab.js b/assets/zh-CN-8548efcd.js similarity index 99% rename from assets/zh-CN-27dee8ab.js rename to assets/zh-CN-8548efcd.js index 80eb546cca2..e420fde029a 100644 --- a/assets/zh-CN-27dee8ab.js +++ b/assets/zh-CN-8548efcd.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as h,m as r,p as a,q as t,w as l,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"单选框",-1),u={class:"card"},m={id:"jie4-shao4"},g=a("p",null,"在一组备选项中进行单选。",-1),v={class:"card"},_={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as h,m as r,p as a,q as t,w as l,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"单选框",-1),u={class:"card"},m={id:"jie4-shao4"},g=a("p",null,"在一组备选项中进行单选。",-1),v={class:"card"},_={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/zh-CN-1295c43d.js b/assets/zh-CN-8a06d9fb.js similarity index 95% rename from assets/zh-CN-1295c43d.js rename to assets/zh-CN-8a06d9fb.js index 0f65d4a8417..1a3fd4c9539 100644 --- a/assets/zh-CN-1295c43d.js +++ b/assets/zh-CN-8a06d9fb.js @@ -1 +1 @@ -import{_ as l,b as s,e as a,m as n,p as t,q as o,w as c,Q as e,Z as r}from"./index-af5fec45.js";const h={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},m={id:"shu3-xing4"},p=r("
参数说明类型默认值
label选项显示的文本any-
value选项绑定的值any-
disabled是否禁用booleanfalse
",1),b={class:"card"},f={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"选项显示的内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(y,N,k,V,$,B){const d=s("router-link");return a(),n("div",_,[u,t("div",i,[t("h3",m,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",b,[t("h3",f,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),x])])}const g=l(h,[["render",v]]);export{g as default}; +import{_ as l,b as s,e as a,m as n,p as t,q as o,w as c,Q as e,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},_={class:"varlet-site-doc"},u=t("h2",null,"API",-1),i={class:"card"},m={id:"shu3-xing4"},p=r("
参数说明类型默认值
label选项显示的文本any-
value选项绑定的值any-
disabled是否禁用booleanfalse
",1),b={class:"card"},f={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"选项显示的内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(y,N,k,V,$,B){const d=s("router-link");return a(),n("div",_,[u,t("div",i,[t("h3",m,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",b,[t("h3",f,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),x])])}const g=l(h,[["render",v]]);export{g as default}; diff --git a/assets/zh-CN-78ffafff.js b/assets/zh-CN-8c63f933.js similarity index 94% rename from assets/zh-CN-78ffafff.js rename to assets/zh-CN-8c63f933.js index 6c76373a352..17b78821a89 100644 --- a/assets/zh-CN-78ffafff.js +++ b/assets/zh-CN-8c63f933.js @@ -1 +1 @@ -import{_ as c,b as l,e as n,m as a,p as t,q as d,w as s,Q as e,Z as r}from"./index-af5fec45.js";const h={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},f=r("
参数说明类型默认值
offset组内头像的头像偏移量number | string-
vertical组内头像是否垂直排列booleanfalse
",1),p={class:"card"},b={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"头像组内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(N,k,V,$,g,y){const o=l("router-link");return n(),a("div",_,[i,t("div",u,[t("h3",m,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),f]),t("div",p,[t("h3",b,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),x])])}const C=c(h,[["render",v]]);export{C as default}; +import{_ as c,b as l,e as n,m as a,p as t,q as d,w as s,Q as e,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},f=r("
参数说明类型默认值
offset组内头像的头像偏移量number | string-
vertical组内头像是否垂直排列booleanfalse
",1),p={class:"card"},b={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"头像组内容"),t("td",null,[t("code",null,"-")])])])],-1);function v(N,k,V,$,g,y){const o=l("router-link");return n(),a("div",_,[i,t("div",u,[t("h3",m,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),f]),t("div",p,[t("h3",b,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),x])])}const C=c(h,[["render",v]]);export{C as default}; diff --git a/assets/zh-CN-429f7402.js b/assets/zh-CN-936fbf0c.js similarity index 99% rename from assets/zh-CN-429f7402.js rename to assets/zh-CN-936fbf0c.js index c95f243264b..fce63a657da 100644 --- a/assets/zh-CN-429f7402.js +++ b/assets/zh-CN-936fbf0c.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as r,p as a,q as t,w as n,Q as s,Z as e}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"倒计时",-1),m={class:"card"},u={id:"jie4-shao4"},_=a("p",null,"用于实时展示倒计时数值,支持毫秒精度。",-1),g={class:"card"},b={id:"ji1-ben3-shi3-yong4"},f=a("p",null,[a("code",null,"time"),s(" 属性表示倒计时总时长,单位为毫秒。")],-1),y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as h,m as r,p as a,q as t,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"倒计时",-1),m={class:"card"},u={id:"jie4-shao4"},_=a("p",null,"用于实时展示倒计时数值,支持毫秒精度。",-1),g={class:"card"},b={id:"ji1-ben3-shi3-yong4"},f=a("p",null,[a("code",null,"time"),s(" 属性表示倒计时总时长,单位为毫秒。")],-1),y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" time = ref("),a("span",{class:"hljs-number"},"30"),s(" * "),a("span",{class:"hljs-number"},"60"),s(" * "),a("span",{class:"hljs-number"},"60"),s(" * "),a("span",{class:"hljs-number"},"1000"),s(`) diff --git a/assets/zh-CN-e05d3700.js b/assets/zh-CN-950661c0.js similarity index 99% rename from assets/zh-CN-e05d3700.js rename to assets/zh-CN-950661c0.js index 129cd7944e2..1fffd271b3c 100644 --- a/assets/zh-CN-e05d3700.js +++ b/assets/zh-CN-950661c0.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as s,q as a,w as t,Q as l,Z as d}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"下拉刷新",-1),u={class:"card"},m={id:"jie4-shao4"},f=s("p",null,"用于提供下拉刷新的交互操作。",-1),_={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=s("p",null,[l("下拉到刷新位置时松开会触发 "),s("code",null,"refresh"),l(" 事件, 在事件开始时将 "),s("code",null,"v-model"),l(" 设置为 "),s("code",null,"true"),l(" 表示正在加载,完成后将 "),s("code",null,"v-model"),l(" 设置为 "),s("code",null,"false"),l(" 表示加载结束。")],-1),b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[l("<"),s("span",{class:"hljs-name"},"script"),l(),s("span",{class:"hljs-attr"},"setup"),l(">")]),s("span",{class:"javascript"},[l(` +import{_ as o,b as c,e as r,m as h,p as s,q as a,w as t,Q as l,Z as d}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"下拉刷新",-1),u={class:"card"},m={id:"jie4-shao4"},f=s("p",null,"用于提供下拉刷新的交互操作。",-1),_={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=s("p",null,[l("下拉到刷新位置时松开会触发 "),s("code",null,"refresh"),l(" 事件, 在事件开始时将 "),s("code",null,"v-model"),l(" 设置为 "),s("code",null,"true"),l(" 表示正在加载,完成后将 "),s("code",null,"v-model"),l(" 设置为 "),s("code",null,"false"),l(" 表示加载结束。")],-1),b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[l("<"),s("span",{class:"hljs-name"},"script"),l(),s("span",{class:"hljs-attr"},"setup"),l(">")]),s("span",{class:"javascript"},[l(` `),s("span",{class:"hljs-keyword"},"import"),l(" { ref } "),s("span",{class:"hljs-keyword"},"from"),l(),s("span",{class:"hljs-string"},"'vue'"),l(` `),s("span",{class:"hljs-keyword"},"const"),l(" data1 = "),s("span",{class:"hljs-built_in"},"Array"),l("("),s("span",{class:"hljs-number"},"30"),l(").fill("),s("span",{class:"hljs-string"},"'List Item'"),l(`) diff --git a/assets/zh-CN-ce4c6cdf.js b/assets/zh-CN-97b72611.js similarity index 97% rename from assets/zh-CN-ce4c6cdf.js rename to assets/zh-CN-97b72611.js index 2fa27ceb88f..b1c145761e0 100644 --- a/assets/zh-CN-ce4c6cdf.js +++ b/assets/zh-CN-97b72611.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as s,q as l,w as n,Q as a}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},d=s("h1",null,"暗黑模式",-1),u={class:"card"},_={id:"jie4-shao4"},j=s("p",null,"组件库第一方提供了暗黑模式的主题,暗黑模式的优势在于在弱光环境下具有更高的可读性。",-1),m={class:"card"},g={id:"qie1-huan4-zhu3-ti2"},b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` +import{_ as o,b as c,e as r,m as h,p as s,q as l,w as n,Q as a}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},d=s("h1",null,"暗黑模式",-1),u={class:"card"},_={id:"jie4-shao4"},j=s("p",null,"组件库第一方提供了暗黑模式的主题,暗黑模式的优势在于在弱光环境下具有更高的可读性。",-1),m={class:"card"},g={id:"qie1-huan4-zhu3-ti2"},b=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` `),s("span",{class:"hljs-keyword"},"import"),a(" { StyleProvider, Themes } "),s("span",{class:"hljs-keyword"},"from"),a(),s("span",{class:"hljs-string"},"'@varlet/ui'"),a(` `),s("span",{class:"hljs-keyword"},"let"),a(" currentTheme = "),s("span",{class:"hljs-literal"},"null"),a(` diff --git a/assets/zh-CN-a7a4d33c.js b/assets/zh-CN-97ba7b7c.js similarity index 97% rename from assets/zh-CN-a7a4d33c.js rename to assets/zh-CN-97ba7b7c.js index d754857878c..6e32ade13fa 100644 --- a/assets/zh-CN-a7a4d33c.js +++ b/assets/zh-CN-97ba7b7c.js @@ -1,4 +1,4 @@ -import{_ as n,b as a,e as l,m as r,p as e,q as o,w as d,Q as t,Z as h}from"./index-af5fec45.js";const i={components:{}},_={class:"varlet-site-doc"},u=e("h1",null,"国际化",-1),p={class:"card"},m={id:"jie4-shao4"},y=e("p",null,"组件库使用中文作为默认语言,支持多语言切换。",-1),g={class:"card"},f={id:"duo1-yu3-yan2-qie1-huan4"},j=e("p",null,[t("引入 "),e("code",null,"Locale"),t(" 组件实现多语言切换,使用 "),e("code",null,"Locale.add"),t(" 进行语言扩展。")],-1),v=e("pre",{class:"hljs"},[e("code",null,[e("span",{class:"hljs-keyword"},"import"),t(" { Locale } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'@varlet/ui'"),t(` +import{_ as n,b as a,e as l,m as r,p as e,q as o,w as d,Q as t,Z as h}from"./index-0bd4ebfc.js";const i={components:{}},_={class:"varlet-site-doc"},u=e("h1",null,"国际化",-1),p={class:"card"},m={id:"jie4-shao4"},y=e("p",null,"组件库使用中文作为默认语言,支持多语言切换。",-1),g={class:"card"},f={id:"duo1-yu3-yan2-qie1-huan4"},j=e("p",null,[t("引入 "),e("code",null,"Locale"),t(" 组件实现多语言切换,使用 "),e("code",null,"Locale.add"),t(" 进行语言扩展。")],-1),v=e("pre",{class:"hljs"},[e("code",null,[e("span",{class:"hljs-keyword"},"import"),t(" { Locale } "),e("span",{class:"hljs-keyword"},"from"),t(),e("span",{class:"hljs-string"},"'@varlet/ui'"),t(` Locale.add(`),e("span",{class:"hljs-string"},"'en-US'"),t(`, Locale.enUS) `)])],-1),L=e("p",null,[t("使用 "),e("code",null,"Locale.use"),t(" 进行切换语言。")],-1),z=e("pre",{class:"hljs"},[e("code",null,[t("Locale.use("),e("span",{class:"hljs-string"},"'en-US'"),t(`) diff --git a/assets/zh-CN-b74c1400.js b/assets/zh-CN-98163921.js similarity index 99% rename from assets/zh-CN-b74c1400.js rename to assets/zh-CN-98163921.js index 4cc75eda8b8..f294ca4dc7d 100644 --- a/assets/zh-CN-b74c1400.js +++ b/assets/zh-CN-98163921.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"纸片",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"纸片组件,用于显示一些条目,并且支持关闭条目。",-1),u={class:"card"},v={id:"zhi3-pian4-lei4-xing2"},f=a("p",null,[s("通过 "),a("code",null,"type"),s(" 属性设置纸片的类型。")],-1),y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as h,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"纸片",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"纸片组件,用于显示一些条目,并且支持关闭条目。",-1),u={class:"card"},v={id:"zhi3-pian4-lei4-xing2"},f=a("p",null,[s("通过 "),a("code",null,"type"),s(" 属性设置纸片的类型。")],-1),y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-chip"),s(">")]),s("默认纸片"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-chip"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("主要纸片"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-b384b261.js b/assets/zh-CN-9938531c.js similarity index 99% rename from assets/zh-CN-b384b261.js rename to assets/zh-CN-9938531c.js index 0200389de49..c48f0d52c45 100644 --- a/assets/zh-CN-b384b261.js +++ b/assets/zh-CN-9938531c.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"输入框",-1),g={class:"card"},m={id:"jie4-shao4"},u=a("p",null,[s("输入框的行为和基本原生一致,用户输入时始终获得一个符合 "),a("code",null,"type"),s(" 规则的字符串,可选择 "),a("code",null,"standard"),s(" 和 "),a("code",null,"outlined"),s(" 两种风格,默认为 "),a("code",null,"standard"),s("。")],-1),v={class:"card"},f={id:"biao1-zhun3-wai4-guan1"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as p,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"输入框",-1),g={class:"card"},m={id:"jie4-shao4"},u=a("p",null,[s("输入框的行为和基本原生一致,用户输入时始终获得一个符合 "),a("code",null,"type"),s(" 规则的字符串,可选择 "),a("code",null,"standard"),s(" 和 "),a("code",null,"outlined"),s(" 两种风格,默认为 "),a("code",null,"standard"),s("。")],-1),v={class:"card"},f={id:"biao1-zhun3-wai4-guan1"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-string"},"''"),s(`) diff --git a/assets/zh-CN-2bb44500.js b/assets/zh-CN-99716c5e.js similarity index 96% rename from assets/zh-CN-2bb44500.js rename to assets/zh-CN-99716c5e.js index 2b638463734..37d894c2050 100644 --- a/assets/zh-CN-2bb44500.js +++ b/assets/zh-CN-99716c5e.js @@ -1 +1 @@ -import{_ as n,b as s,e as a,m as r,p as t,q as o,w as c,Q as d,Z as i}from"./index-af5fec45.js";const l={components:{}},h={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=i("
参数说明类型默认值
active-icon激活状态图标stringcheck
current-icon当前步骤时的图标string-
inactive-icon未激活状态图标string-
active-icon-namespace激活状态图标命名空间stringvar-icon
current-icon-namespace当前步骤时的图标命名空间stringvar-icon
inactive-icon-namespace未激活状态图标命名空间stringvar-icon
",1),v={class:"card"},f={id:"cha1-cao2"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"step 的内容"),t("td",null,"-")])])],-1);function b(x,k,N,V,$,y){const e=s("router-link");return a(),r("div",h,[_,t("div",u,[t("h3",m,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),p]),t("div",v,[t("h3",f,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),g])])}const C=n(l,[["render",b]]);export{C as default}; +import{_ as n,b as s,e as a,m as r,p as t,q as o,w as c,Q as d,Z as i}from"./index-0bd4ebfc.js";const l={components:{}},h={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=i("
参数说明类型默认值
active-icon激活状态图标stringcheck
current-icon当前步骤时的图标string-
inactive-icon未激活状态图标string-
active-icon-namespace激活状态图标命名空间stringvar-icon
current-icon-namespace当前步骤时的图标命名空间stringvar-icon
inactive-icon-namespace未激活状态图标命名空间stringvar-icon
",1),v={class:"card"},f={id:"cha1-cao2"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"step 的内容"),t("td",null,"-")])])],-1);function b(x,k,N,V,$,y){const e=s("router-link");return a(),r("div",h,[_,t("div",u,[t("h3",m,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),p]),t("div",v,[t("h3",f,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),g])])}const C=n(l,[["render",b]]);export{C as default}; diff --git a/assets/zh-CN-cdfd0270.js b/assets/zh-CN-9a3e0e1f.js similarity index 93% rename from assets/zh-CN-cdfd0270.js rename to assets/zh-CN-9a3e0e1f.js index 96ace260bff..10ef87ea4aa 100644 --- a/assets/zh-CN-cdfd0270.js +++ b/assets/zh-CN-9a3e0e1f.js @@ -1 +1 @@ -import{_ as n,b as l,e as a,m as c,p as t,q as d,w as s,Q as e,Z as h}from"./index-af5fec45.js";const r={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=h("
参数说明类型默认值
index索引字符number | string-
",1),f={class:"card"},b={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"自定义索引字符"),t("td",null,"-")])])],-1);function v(N,k,V,$,g,y){const o=l("router-link");return a(),c("div",_,[i,t("div",u,[t("h3",m,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",f,[t("h3",b,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),x])])}const C=n(r,[["render",v]]);export{C as default}; +import{_ as n,b as l,e as a,m as c,p as t,q as d,w as s,Q as e,Z as h}from"./index-0bd4ebfc.js";const r={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=h("
参数说明类型默认值
index索引字符number | string-
",1),f={class:"card"},b={id:"cha1-cao2"},x=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"自定义索引字符"),t("td",null,"-")])])],-1);function v(N,k,V,$,g,y){const o=l("router-link");return a(),c("div",_,[i,t("div",u,[t("h3",m,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",f,[t("h3",b,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),x])])}const C=n(r,[["render",v]]);export{C as default}; diff --git a/assets/zh-CN-1178414a.js b/assets/zh-CN-9d5cfb5c.js similarity index 99% rename from assets/zh-CN-1178414a.js rename to assets/zh-CN-9d5cfb5c.js index 119a9abef46..87ef3fac4ca 100644 --- a/assets/zh-CN-1178414a.js +++ b/assets/zh-CN-9d5cfb5c.js @@ -1,4 +1,4 @@ -import{_ as h,b as d,e as r,m as o,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const p={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"选项卡组",-1),m={class:"card"},g={id:"jie4-shao4"},v=a("p",null,[s("使用 "),a("code",null,"Tabs"),s("、"),a("code",null,"Tab"),s(" 实现选项卡组的切换。使用 "),a("code",null,"TabsItems"),s("、"),a("code",null,"TabItem"),s(" 实现和选项卡组的视图联动。")],-1),b={class:"card"},u={id:"ji1-ben3-shi3-yong4"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as h,b as d,e as r,m as o,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const p={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"选项卡组",-1),m={class:"card"},g={id:"jie4-shao4"},v=a("p",null,[s("使用 "),a("code",null,"Tabs"),s("、"),a("code",null,"Tab"),s(" 实现选项卡组的切换。使用 "),a("code",null,"TabsItems"),s("、"),a("code",null,"TabItem"),s(" 实现和选项卡组的视图联动。")],-1),b={class:"card"},u={id:"ji1-ben3-shi3-yong4"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" active = ref("),a("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/zh-CN-cbd28d89.js b/assets/zh-CN-9f3d35cf.js similarity index 99% rename from assets/zh-CN-cbd28d89.js rename to assets/zh-CN-9f3d35cf.js index 3964d49adc5..007d98ffdd4 100644 --- a/assets/zh-CN-cbd28d89.js +++ b/assets/zh-CN-9f3d35cf.js @@ -1,4 +1,4 @@ -import{_ as h,b as d,e as r,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const o={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"水印",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"给页面的某个区域加上文字或者图片水印,可用于标识版权,防止信息盗用。",-1),u={class:"card"},f={id:"wen2-zi4-shui3-yin4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as d,e as r,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const o={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"水印",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"给页面的某个区域加上文字或者图片水印,可用于标识版权,防止信息盗用。",-1),u={class:"card"},f={id:"wen2-zi4-shui3-yin4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-watermark"),s(),a("span",{class:"hljs-attr"},"content"),s("="),a("span",{class:"hljs-string"},'"Varlet"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"watermark-wrapper"'),s(">")]),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-b1bbb685.js b/assets/zh-CN-a01acafc.js similarity index 95% rename from assets/zh-CN-b1bbb685.js rename to assets/zh-CN-a01acafc.js index 7337d90cc24..2a0a6fb6f5e 100644 --- a/assets/zh-CN-b1bbb685.js +++ b/assets/zh-CN-a01acafc.js @@ -1 +1 @@ -import{_ as a,b as n,e as l,m as h,p as t,q as o,w as c,Q as e,Z as s}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},b={id:"shu3-xing4"},m=s("
参数说明类型默认值
name选项卡的名字string | numberindex
disabled是否禁用选项卡booleanfalse
",1),p={class:"card"},f={id:"shi4-jian4"},x=s("
事件名说明参数
click点击选项卡时触发, 在 disabled 状态为 true 时不触发`active: string
",1),v={class:"card"},k={id:"cha1-cao2"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"选项卡内容"),t("td",null,[t("code",null,"-")])])])],-1);function N(g,V,$,B,C,j){const d=n("router-link");return l(),h("div",i,[_,t("div",u,[t("h3",b,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),m]),t("div",p,[t("h3",f,[o(d,{to:"#shi4-jian4"},{default:c(()=>[e("#")]),_:1}),e("事件")]),x]),t("div",v,[t("h3",k,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),y])])}const q=a(r,[["render",N]]);export{q as default}; +import{_ as a,b as n,e as l,m as h,p as t,q as o,w as c,Q as e,Z as s}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},_=t("h2",null,"API",-1),u={class:"card"},b={id:"shu3-xing4"},m=s("
参数说明类型默认值
name选项卡的名字string | numberindex
disabled是否禁用选项卡booleanfalse
",1),p={class:"card"},f={id:"shi4-jian4"},x=s("
事件名说明参数
click点击选项卡时触发, 在 disabled 状态为 true 时不触发`active: string
",1),v={class:"card"},k={id:"cha1-cao2"},y=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"选项卡内容"),t("td",null,[t("code",null,"-")])])])],-1);function N(g,V,$,B,C,j){const d=n("router-link");return l(),h("div",i,[_,t("div",u,[t("h3",b,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),m]),t("div",p,[t("h3",f,[o(d,{to:"#shi4-jian4"},{default:c(()=>[e("#")]),_:1}),e("事件")]),x]),t("div",v,[t("h3",k,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),y])])}const q=a(r,[["render",N]]);export{q as default}; diff --git a/assets/zh-CN-be454239.js b/assets/zh-CN-a48f0767.js similarity index 99% rename from assets/zh-CN-be454239.js rename to assets/zh-CN-a48f0767.js index c4461ce8db9..3725158d41c 100644 --- a/assets/zh-CN-be454239.js +++ b/assets/zh-CN-a48f0767.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as t,q as a,w as e,Q as s,Z as d}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"图片预览",-1),g={class:"card"},m={id:"jie4-shao4"},u=t("p",null,"图片放大预览,支持双击倍数放大,支持函数调用和组件调用两种方式。",-1),v=t("h2",null,"函数调用",-1),_={class:"card"},w={id:"ji1-ben3-shi3-yong4"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as h,p as t,q as a,w as e,Q as s,Z as d}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=t("h1",null,"图片预览",-1),g={class:"card"},m={id:"jie4-shao4"},u=t("p",null,"图片放大预览,支持双击倍数放大,支持函数调用和组件调用两种方式。",-1),v=t("h2",null,"函数调用",-1),_={class:"card"},w={id:"ji1-ben3-shi3-yong4"},f=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ImagePreview } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'@varlet/ui'"),s(` `),t("span",{class:"hljs-function"},[t("span",{class:"hljs-keyword"},"function"),s(),t("span",{class:"hljs-title"},"preview"),s("("),t("span",{class:"hljs-params"}),s(") ")]),s(`{ diff --git a/assets/zh-CN-bd4f9e17.js b/assets/zh-CN-a5d731da.js similarity index 91% rename from assets/zh-CN-bd4f9e17.js rename to assets/zh-CN-a5d731da.js index 88e82f34258..9fbced8faee 100644 --- a/assets/zh-CN-bd4f9e17.js +++ b/assets/zh-CN-a5d731da.js @@ -1 +1 @@ -import{_ as l,b as n,e as s,m as c,p as t,q as a,w as d,Q as e}from"./index-af5fec45.js";const _={components:{}},r={class:"varlet-site-doc"},u=t("h1",null,"轮播项",-1),h=t("h2",null,"API",-1),i={class:"card"},p={id:"cha1-cao2"},f=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"轮播项内容"),t("td",null,[t("code",null,"-")])])])],-1);function m(x,k,v,N,$,b){const o=n("router-link");return s(),c("div",r,[u,h,t("div",i,[t("h3",p,[a(o,{to:"#cha1-cao2"},{default:d(()=>[e("#")]),_:1}),e("插槽")]),f])])}const C=l(_,[["render",m]]);export{C as default}; +import{_ as l,b as n,e as s,m as c,p as t,q as a,w as d,Q as e}from"./index-0bd4ebfc.js";const _={components:{}},r={class:"varlet-site-doc"},u=t("h1",null,"轮播项",-1),h=t("h2",null,"API",-1),i={class:"card"},p={id:"cha1-cao2"},f=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"轮播项内容"),t("td",null,[t("code",null,"-")])])])],-1);function m(x,k,v,N,$,b){const o=n("router-link");return s(),c("div",r,[u,h,t("div",i,[t("h3",p,[a(o,{to:"#cha1-cao2"},{default:d(()=>[e("#")]),_:1}),e("插槽")]),f])])}const C=l(_,[["render",m]]);export{C as default}; diff --git a/assets/zh-CN-81b512e5.js b/assets/zh-CN-adedc7ee.js similarity index 99% rename from assets/zh-CN-81b512e5.js rename to assets/zh-CN-adedc7ee.js index f71b4e60c2a..161b3cb3712 100644 --- a/assets/zh-CN-81b512e5.js +++ b/assets/zh-CN-adedc7ee.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as p,m as h,p as a,q as t,w as n,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"按钮",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"按钮组件,用于触发操作。",-1),b={class:"card"},v={id:"zhu3-ti2-se4-an4-niu3"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as p,m as h,p as a,q as t,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"按钮",-1),g={class:"card"},u={id:"jie4-shao4"},m=a("p",null,"按钮组件,用于触发操作。",-1),b={class:"card"},v={id:"zhu3-ti2-se4-an4-niu3"},_=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},":size"),s("="),a("span",{class:"hljs-string"},'"[10, 10]"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(">")]),s("默认按钮"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("主要按钮"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-ff57d055.js b/assets/zh-CN-bdc3bccc.js similarity index 99% rename from assets/zh-CN-ff57d055.js rename to assets/zh-CN-bdc3bccc.js index 01f62fd71bd..b46cf0c4a2c 100644 --- a/assets/zh-CN-ff57d055.js +++ b/assets/zh-CN-bdc3bccc.js @@ -1,4 +1,4 @@ -import{_ as p,b as d,e as r,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-af5fec45.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"选择框",-1),g={class:"card"},m={id:"jie4-shao4"},v=a("p",null,"通过下拉菜单展示并选择内容。",-1),u={class:"card"},b={id:"biao1-zhun3-wai4-guan1"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as p,b as d,e as r,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-0bd4ebfc.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"选择框",-1),g={class:"card"},m={id:"jie4-shao4"},v=a("p",null,"通过下拉菜单展示并选择内容。",-1),u={class:"card"},b={id:"biao1-zhun3-wai4-guan1"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` value = ref() diff --git a/assets/zh-CN-84d47631.js b/assets/zh-CN-c09268be.js similarity index 99% rename from assets/zh-CN-84d47631.js rename to assets/zh-CN-c09268be.js index f7f91da6660..fcc68cdd420 100644 --- a/assets/zh-CN-84d47631.js +++ b/assets/zh-CN-c09268be.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as i,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const r={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"分割线",-1),_={class:"card"},m={id:"jie4-shao4"},u=a("p",null,"用于分隔列表或布局的各个部分。",-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as h,m as i,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"分割线",-1),_={class:"card"},m={id:"jie4-shao4"},u=a("p",null,"用于分隔列表或布局的各个部分。",-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-divider"),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),x={class:"card"},b={id:"xu1-xian4"},y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/zh-CN-fb03ca04.js b/assets/zh-CN-c340dd9f.js similarity index 99% rename from assets/zh-CN-fb03ca04.js rename to assets/zh-CN-c340dd9f.js index 8e83991db8f..265586226d3 100644 --- a/assets/zh-CN-fb03ca04.js +++ b/assets/zh-CN-c340dd9f.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"链接",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"链接组件,用于页面跳转。",-1),u={class:"card"},v={id:"zhu3-ti2-se4-lian4-jie1"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as c,e as r,m as h,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"链接",-1),m={class:"card"},g={id:"jie4-shao4"},_=a("p",null,"链接组件,用于页面跳转。",-1),u={class:"card"},v={id:"zhu3-ti2-se4-lian4-jie1"},k=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},":size"),s("="),a("span",{class:"hljs-string"},'"[10, 10]"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-link"),s(">")]),s("默认链接"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-link"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("主要链接"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-fce9d8d2.js b/assets/zh-CN-c363c72f.js similarity index 99% rename from assets/zh-CN-fce9d8d2.js rename to assets/zh-CN-c363c72f.js index adb2b67a728..32789d0cfdd 100644 --- a/assets/zh-CN-fce9d8d2.js +++ b/assets/zh-CN-c363c72f.js @@ -1,4 +1,4 @@ -import{_ as r,b as d,e as o,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"滑块",-1),m={class:"card"},u={id:"jie4-shao4"},g=a("p",null,"用于在给定范围内取值。",-1),_={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as r,b as d,e as o,m as h,p as a,q as l,w as t,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"滑块",-1),m={class:"card"},u={id:"jie4-shao4"},g=a("p",null,"用于在给定范围内取值。",-1),_={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" value = ref("),a("span",{class:"hljs-number"},"3"),s(`) diff --git a/assets/zh-CN-768a30af.js b/assets/zh-CN-c37985d6.js similarity index 99% rename from assets/zh-CN-768a30af.js rename to assets/zh-CN-c37985d6.js index 076d9af0f42..0b55bec2e48 100644 --- a/assets/zh-CN-768a30af.js +++ b/assets/zh-CN-c37985d6.js @@ -1,4 +1,4 @@ -import{_ as c,b as d,e as h,m as r,p as s,q as a,w as l,Q as t,Z as o}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},u=s("h1",null,"浮动面板",-1),_={class:"card"},j={id:"jie4-shao4"},g=s("p",null,"浮动在页面底部的面板,常用于提供额外的功能或信息,用户可灵活上下滑动浏览内容。",-1),m={class:"card"},f={id:"ji1-ben3-shi3-yong4"},b=s("p",null,[t("FloatingPanel 的默认高度为 "),s("code",null,"100px"),t(",允许拖动来展开或者收缩面板,默认展开的最大高度为屏幕的 "),s("code",null,"60%"),t("。")],-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` +import{_ as c,b as d,e as h,m as r,p as s,q as a,w as l,Q as t,Z as o}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},u=s("h1",null,"浮动面板",-1),_={class:"card"},j={id:"jie4-shao4"},g=s("p",null,"浮动在页面底部的面板,常用于提供额外的功能或信息,用户可灵活上下滑动浏览内容。",-1),m={class:"card"},f={id:"ji1-ben3-shi3-yong4"},b=s("p",null,[t("FloatingPanel 的默认高度为 "),s("code",null,"100px"),t(",允许拖动来展开或者收缩面板,默认展开的最大高度为屏幕的 "),s("code",null,"60%"),t("。")],-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-floating-panel"),t(">")]),t(` `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"div"),t(),s("span",{class:"hljs-attr"},"style"),t("="),s("span",{class:"hljs-string"},'"text-align: center; padding: 5px 15px"'),t(">")]),t(` `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"p"),t(">")]),t("拖拽面板"),s("span",{class:"hljs-tag"},[t("")]),t(` diff --git a/assets/zh-CN-beb59d24.js b/assets/zh-CN-c647473c.js similarity index 99% rename from assets/zh-CN-beb59d24.js rename to assets/zh-CN-c647473c.js index 86e7cc99cdc..03faee51b4e 100644 --- a/assets/zh-CN-beb59d24.js +++ b/assets/zh-CN-c647473c.js @@ -1,4 +1,4 @@ -import{_ as h,b as r,e as d,m as o,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const p={components:{}},j={class:"varlet-site-doc"},m=a("h1",null,"面包屑",-1),i={class:"card"},b={id:"jie4-shao4"},u=a("p",null,"用于分级展示信息。",-1),_={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as r,e as d,m as o,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const p={components:{}},j={class:"varlet-site-doc"},m=a("h1",null,"面包屑",-1),i={class:"card"},b={id:"jie4-shao4"},u=a("p",null,"用于分级展示信息。",-1),_={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-breadcrumbs"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-breadcrumb"),s(">")]),s("首页"),a("span",{class:"hljs-tag"},[s("")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-breadcrumb"),s(">")]),s("一级"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-b87f350a.js b/assets/zh-CN-ca73bdf9.js similarity index 95% rename from assets/zh-CN-b87f350a.js rename to assets/zh-CN-ca73bdf9.js index ff9ace5b136..cbdf19cfce4 100644 --- a/assets/zh-CN-b87f350a.js +++ b/assets/zh-CN-ca73bdf9.js @@ -1 +1 @@ -import{_ as a,b as n,e as l,m as h,p as t,q as o,w as s,Q as e,Z as c}from"./index-af5fec45.js";const r={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},p={id:"shu3-xing4"},b=c("
参数说明类型默认值
separator分隔符string-
",1),f={class:"card"},m={id:"shi4-jian4"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"点击面包屑时触发"),t("td",null,[t("code",null,"event: Event")])])])],-1),x={class:"card"},k={id:"cha1-cao2"},y=c("
参数说明参数
default自定义默认内容-
separator自定义分隔符内容-
",1);function N(V,$,g,B,C,j){const d=n("router-link");return l(),h("div",_,[i,t("div",u,[t("h3",p,[o(d,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),b]),t("div",f,[t("h3",m,[o(d,{to:"#shi4-jian4"},{default:s(()=>[e("#")]),_:1}),e("事件")]),v]),t("div",x,[t("h3",k,[o(d,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),y])])}const E=a(r,[["render",N]]);export{E as default}; +import{_ as a,b as n,e as l,m as h,p as t,q as o,w as s,Q as e,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},p={id:"shu3-xing4"},b=c("
参数说明类型默认值
separator分隔符string-
",1),f={class:"card"},m={id:"shi4-jian4"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"点击面包屑时触发"),t("td",null,[t("code",null,"event: Event")])])])],-1),x={class:"card"},k={id:"cha1-cao2"},y=c("
参数说明参数
default自定义默认内容-
separator自定义分隔符内容-
",1);function N(V,$,g,B,C,j){const d=n("router-link");return l(),h("div",_,[i,t("div",u,[t("h3",p,[o(d,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),b]),t("div",f,[t("h3",m,[o(d,{to:"#shi4-jian4"},{default:s(()=>[e("#")]),_:1}),e("事件")]),v]),t("div",x,[t("h3",k,[o(d,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),y])])}const E=a(r,[["render",N]]);export{E as default}; diff --git a/assets/zh-CN-c0fb04b7.js b/assets/zh-CN-ce1cbd3d.js similarity index 98% rename from assets/zh-CN-c0fb04b7.js rename to assets/zh-CN-ce1cbd3d.js index 934a61e16b0..928f44a5805 100644 --- a/assets/zh-CN-c0fb04b7.js +++ b/assets/zh-CN-ce1cbd3d.js @@ -1 +1 @@ -import{_ as n,b as s,e as r,m as l,p as t,q as o,w as c,Q as d,Z as a}from"./index-af5fec45.js";const i={components:{}},u={class:"varlet-site-doc"},m=t("h2",null,"API",-1),h={class:"card"},_={id:"shu3-xing4"},b=a("
参数说明类型默认值
span列占据的栅格数number | string24
offset列偏移的栅格数number | string0
direction布局方向 可选值为 row columnstringrow
justify主轴排列方式 可选值为 flex-start flex-end center space-around space-betweenstring-
align交叉轴排列方式 可选值为 stretch center flex-start flex-end baselinestring-
xs<768px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
sm≥768px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
md≥992px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
lg≥1200px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
xl≥1920px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
",1),f={class:"card"},p={id:"shi4-jian4"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"点击 Col 时触发"),t("td",null,[t("code",null,"event: Event")])])])],-1),x={class:"card"},v={id:"cha1-cao2"},k=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Col 内容"),t("td",null,[t("code",null,"-")])])])],-1);function w(y,C,N,V,$,j){const e=s("router-link");return r(),l("div",u,[m,t("div",h,[t("h3",_,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",f,[t("h3",p,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),g]),t("div",x,[t("h3",v,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),k])])}const E=n(i,[["render",w]]);export{E as default}; +import{_ as n,b as s,e as r,m as l,p as t,q as o,w as c,Q as d,Z as a}from"./index-0bd4ebfc.js";const i={components:{}},u={class:"varlet-site-doc"},m=t("h2",null,"API",-1),h={class:"card"},_={id:"shu3-xing4"},b=a("
参数说明类型默认值
span列占据的栅格数number | string24
offset列偏移的栅格数number | string0
direction布局方向 可选值为 row columnstringrow
justify主轴排列方式 可选值为 flex-start flex-end center space-around space-betweenstring-
align交叉轴排列方式 可选值为 stretch center flex-start flex-end baselinestring-
xs<768px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
sm≥768px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
md≥992px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
lg≥1200px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
xl≥1920px 响应式栅格数或者栅格属性对象string | number | { span?: number | string, offset?: number | string }-
",1),f={class:"card"},p={id:"shi4-jian4"},g=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"事件名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"click")]),t("td",null,"点击 Col 时触发"),t("td",null,[t("code",null,"event: Event")])])])],-1),x={class:"card"},v={id:"cha1-cao2"},k=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"Col 内容"),t("td",null,[t("code",null,"-")])])])],-1);function w(y,C,N,V,$,j){const e=s("router-link");return r(),l("div",u,[m,t("div",h,[t("h3",_,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",f,[t("h3",p,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),g]),t("div",x,[t("h3",v,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),k])])}const E=n(i,[["render",w]]);export{E as default}; diff --git a/assets/zh-CN-39e88d13.js b/assets/zh-CN-ceac951f.js similarity index 98% rename from assets/zh-CN-39e88d13.js rename to assets/zh-CN-ceac951f.js index efa979cff5f..a111c0bc288 100644 --- a/assets/zh-CN-39e88d13.js +++ b/assets/zh-CN-ceac951f.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as p,m as i,p as a,q as n,w as l,Q as s}from"./index-af5fec45.js";const h={components:{}},r={class:"varlet-site-doc"},j=a("h1",null,"海拔效果",-1),d={class:"card"},_={id:"jie4-shao4"},u=a("p",null,[s("组件库提供了基于 "),a("code",null,"Material"),s(" 规范的阴影海拔效果,用来表现元素的立体感。")],-1),m={class:"card"},g={id:"yin3-ru4-yang4-shi4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-keyword"},"import"),s(),a("span",{class:"hljs-string"},"'@varlet/ui/es/styles/elevation.css'"),s(` +import{_ as o,b as c,e as p,m as i,p as a,q as n,w as l,Q as s}from"./index-0bd4ebfc.js";const h={components:{}},r={class:"varlet-site-doc"},j=a("h1",null,"海拔效果",-1),d={class:"card"},_={id:"jie4-shao4"},u=a("p",null,[s("组件库提供了基于 "),a("code",null,"Material"),s(" 规范的阴影海拔效果,用来表现元素的立体感。")],-1),m={class:"card"},g={id:"yin3-ru4-yang4-shi4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-keyword"},"import"),s(),a("span",{class:"hljs-string"},"'@varlet/ui/es/styles/elevation.css'"),s(` `)])],-1),b={class:"card"},x={id:"ji1-ben3-shi3-yong4"},f=a("p",null,[s("阴影程度划分为 "),a("code",null,"0-24"),s(" 个等级,等级越高海拔越高。")],-1),y=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-space"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"elevation-example-list"'),s(),a("span",{class:"hljs-attr"},":size"),s("="),a("span",{class:"hljs-string"},'"[40, 0]"'),s(),a("span",{class:"hljs-attr"},"justify"),s("="),a("span",{class:"hljs-string"},'"space-between"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"div"),s(` diff --git a/assets/zh-CN-6b2e6b71.js b/assets/zh-CN-d3ab763a.js similarity index 97% rename from assets/zh-CN-6b2e6b71.js rename to assets/zh-CN-d3ab763a.js index 287a6b65775..4a023e20053 100644 --- a/assets/zh-CN-6b2e6b71.js +++ b/assets/zh-CN-d3ab763a.js @@ -1 +1 @@ -import{_ as n,b as l,e as r,m as s,p as t,q as o,w as c,Q as d,Z as a}from"./index-af5fec45.js";const i={components:{}},h={class:"varlet-site-doc"},u=t("h2",null,"API",-1),m={class:"card"},_={id:"shu3-xing4"},f=a("
参数说明类型默认值
type按钮组类型,可选值为 default primary info success warning dangerstringdefault
size按钮组尺寸,可选值为 normal mini small largestringnormal
mode按钮组模式,可选值为 normal text outlinestringnormal
vertical按钮组是否竖直排列booleanfalse
elevation按钮组海拔高度,可选值为 truefalse0-24 的等级string | number | booleantrue
color按钮组背景颜色string-
text-color按钮组文字颜色string-
",1),p={class:"card"},g={id:"cha1-cao2"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"按钮组内容"),t("td",null,[t("code",null,"-")])])])],-1);function x(v,y,N,k,V,$){const e=l("router-link");return r(),s("div",h,[u,t("div",m,[t("h3",_,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),f]),t("div",p,[t("h3",g,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),b])])}const B=n(i,[["render",x]]);export{B as default}; +import{_ as n,b as l,e as r,m as s,p as t,q as o,w as c,Q as d,Z as a}from"./index-0bd4ebfc.js";const i={components:{}},h={class:"varlet-site-doc"},u=t("h2",null,"API",-1),m={class:"card"},_={id:"shu3-xing4"},f=a("
参数说明类型默认值
type按钮组类型,可选值为 default primary info success warning dangerstringdefault
size按钮组尺寸,可选值为 normal mini small largestringnormal
mode按钮组模式,可选值为 normal text outlinestringnormal
vertical按钮组是否竖直排列booleanfalse
elevation按钮组海拔高度,可选值为 truefalse0-24 的等级string | number | booleantrue
color按钮组背景颜色string-
text-color按钮组文字颜色string-
",1),p={class:"card"},g={id:"cha1-cao2"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"名称"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"按钮组内容"),t("td",null,[t("code",null,"-")])])])],-1);function x(v,y,N,k,V,$){const e=l("router-link");return r(),s("div",h,[u,t("div",m,[t("h3",_,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),f]),t("div",p,[t("h3",g,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),b])])}const B=n(i,[["render",x]]);export{B as default}; diff --git a/assets/zh-CN-2d8c0bdc.js b/assets/zh-CN-d9449191.js similarity index 99% rename from assets/zh-CN-2d8c0bdc.js rename to assets/zh-CN-d9449191.js index 5ed2fc535d9..cdcb72e08a4 100644 --- a/assets/zh-CN-2d8c0bdc.js +++ b/assets/zh-CN-d9449191.js @@ -1,4 +1,4 @@ -import{_ as r,b as p,e as h,m as d,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"悬浮动作按钮",-1),g={class:"card"},m={id:"jie4-shao4"},u=a("p",null,"悬浮动作按钮组件,按下可显示一组动作按钮。",-1),v={class:"card"},b={id:"zhu3-ti2-se4-an4-niu3"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as r,b as p,e as h,m as d,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"悬浮动作按钮",-1),g={class:"card"},m={id:"jie4-shao4"},u=a("p",null,"悬浮动作按钮组件,按下可显示一组动作按钮。",-1),v={class:"card"},b={id:"zhu3-ti2-se4-an4-niu3"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" type = ref("),a("span",{class:"hljs-string"},"'primary'"),s(`) diff --git a/assets/zh-CN-b1d8b174.js b/assets/zh-CN-daa2c04b.js similarity index 99% rename from assets/zh-CN-b1d8b174.js rename to assets/zh-CN-daa2c04b.js index d61a55603e8..36de40ed54e 100644 --- a/assets/zh-CN-b1d8b174.js +++ b/assets/zh-CN-daa2c04b.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as r,m as h,p as t,q as a,w as e,Q as s,Z as n}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"步骤条",-1),m={class:"card"},g={id:"jie4-shao4"},v=t("p",null,"引导用户按照流程完成任务的导航条。",-1),_={class:"card"},u={id:"ji1-ben3-shi3-yong4"},f=t("p",null,[s("通过 "),t("code",null,"active"),s(" 属性控制当前步骤条的进度,值为当前 "),t("code",null,"step"),s(" 的索引,从 "),t("code",null,"0"),s(" 起计。")],-1),b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as r,m as h,p as t,q as a,w as e,Q as s,Z as n}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"步骤条",-1),m={class:"card"},g={id:"jie4-shao4"},v=t("p",null,"引导用户按照流程完成任务的导航条。",-1),_={class:"card"},u={id:"ji1-ben3-shi3-yong4"},f=t("p",null,[s("通过 "),t("code",null,"active"),s(" 属性控制当前步骤条的进度,值为当前 "),t("code",null,"step"),s(" 的索引,从 "),t("code",null,"0"),s(" 起计。")],-1),b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" active = ref("),t("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/zh-CN-201ce521.js b/assets/zh-CN-de24466c.js similarity index 98% rename from assets/zh-CN-201ce521.js rename to assets/zh-CN-de24466c.js index 486e1a92e28..005927fd95f 100644 --- a/assets/zh-CN-201ce521.js +++ b/assets/zh-CN-de24466c.js @@ -1,4 +1,4 @@ -import{_ as c,b as l,e as h,m as r,p as t,q as e,w as d,Q as s,Z as o}from"./index-af5fec45.js";const i={components:{}},_={class:"varlet-site-doc"},p=t("h1",null,"回到顶部",-1),u={class:"card"},m={id:"jie4-shao4"},j=t("p",null,"返回页面顶部的操作按钮。",-1),b={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as c,b as l,e as h,m as r,p as t,q as e,w as d,Q as s,Z as o}from"./index-0bd4ebfc.js";const i={components:{}},_={class:"varlet-site-doc"},p=t("h1",null,"回到顶部",-1),u={class:"card"},m={id:"jie4-shao4"},j=t("p",null,"返回页面顶部的操作按钮。",-1),b={class:"card"},g={id:"ji1-ben3-shi3-yong4"},v=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"const"),s(" lists = [...Array("),t("span",{class:"hljs-number"},"100"),s(`).keys()] `)]),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-5f80609e.js b/assets/zh-CN-decd9fc4.js similarity index 99% rename from assets/zh-CN-5f80609e.js rename to assets/zh-CN-decd9fc4.js index 391c00acab3..59ad588eadb 100644 --- a/assets/zh-CN-5f80609e.js +++ b/assets/zh-CN-decd9fc4.js @@ -1,4 +1,4 @@ -import{_ as h,b as r,e as p,m as o,p as a,q as l,w as n,Q as s,Z as c}from"./index-af5fec45.js";const d={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"表单",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,"提供了对所有表单组件进行控制的能力。",-1),v={class:"card"},b={id:"biao3-dan1-shi4-li4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as h,b as r,e as p,m as o,p as a,q as l,w as n,Q as s,Z as c}from"./index-0bd4ebfc.js";const d={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"表单",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,"提供了对所有表单组件进行控制的能力。",-1),v={class:"card"},b={id:"biao3-dan1-shi4-li4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { reactive, ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` formData = reactive({ diff --git a/assets/zh-CN-bfcb62fd.js b/assets/zh-CN-e15d5e1d.js similarity index 99% rename from assets/zh-CN-bfcb62fd.js rename to assets/zh-CN-e15d5e1d.js index 0211f71e5e8..77c5fdba9fd 100644 --- a/assets/zh-CN-bfcb62fd.js +++ b/assets/zh-CN-e15d5e1d.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as r,p as l,q as a,w as t,Q as s,Z as e}from"./index-af5fec45.js";const i={components:{}},p={class:"varlet-site-doc"},j=l("h1",null,"无限滚动列表",-1),u={class:"card"},m={id:"jie4-shao4"},f=l("p",null,"无限滚动加载列表、触底加载,支持手动检查位置并加载。支持自定义加载状态、错误状态、数据加载完成状态。",-1),g={class:"card"},_={id:"ji1-ben3-shi3-yong4"},v=l("p",null,[s("当检测到滚动容器滚动到底部底部时会触发 "),l("code",null,"load"),s(" 事件,并会设置 "),l("code",null,"loading"),s(" 为 "),l("code",null,"true"),s(",在加载结束时您需要手动设置 "),l("code",null,"loading"),s(" 为 "),l("code",null,"false"),s(",表示加载结束。")],-1),y=l("pre",{class:"hljs"},[l("code",null,[l("span",{class:"hljs-tag"},[s("<"),l("span",{class:"hljs-name"},"script"),s(),l("span",{class:"hljs-attr"},"setup"),s(">")]),l("span",{class:"javascript"},[s(` +import{_ as o,b as d,e as h,m as r,p as l,q as a,w as t,Q as s,Z as e}from"./index-0bd4ebfc.js";const i={components:{}},p={class:"varlet-site-doc"},j=l("h1",null,"无限滚动列表",-1),u={class:"card"},m={id:"jie4-shao4"},f=l("p",null,"无限滚动加载列表、触底加载,支持手动检查位置并加载。支持自定义加载状态、错误状态、数据加载完成状态。",-1),g={class:"card"},_={id:"ji1-ben3-shi3-yong4"},v=l("p",null,[s("当检测到滚动容器滚动到底部底部时会触发 "),l("code",null,"load"),s(" 事件,并会设置 "),l("code",null,"loading"),s(" 为 "),l("code",null,"true"),s(",在加载结束时您需要手动设置 "),l("code",null,"loading"),s(" 为 "),l("code",null,"false"),s(",表示加载结束。")],-1),y=l("pre",{class:"hljs"},[l("code",null,[l("span",{class:"hljs-tag"},[s("<"),l("span",{class:"hljs-name"},"script"),s(),l("span",{class:"hljs-attr"},"setup"),s(">")]),l("span",{class:"javascript"},[s(` `),l("span",{class:"hljs-keyword"},"import"),s(" { ref } "),l("span",{class:"hljs-keyword"},"from"),s(),l("span",{class:"hljs-string"},"'vue'"),s(` `),l("span",{class:"hljs-keyword"},"const"),s(" loading = ref("),l("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/zh-CN-db1d4491.js b/assets/zh-CN-e4cba91a.js similarity index 99% rename from assets/zh-CN-db1d4491.js rename to assets/zh-CN-e4cba91a.js index 1914b8a2d86..3153c9df5f1 100644 --- a/assets/zh-CN-db1d4491.js +++ b/assets/zh-CN-e4cba91a.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as h,p as t,q as a,w as e,Q as s,Z as l}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"计数器",-1),u={class:"card"},m={id:"ji1-ben3-shi3-yong4"},g=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as h,p as t,q as a,w as e,Q as s,Z as l}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"计数器",-1),u={class:"card"},m={id:"ji1-ben3-shi3-yong4"},g=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"script"),s(),t("span",{class:"hljs-attr"},"setup"),s(">")]),t("span",{class:"javascript"},[s(` `),t("span",{class:"hljs-keyword"},"import"),s(" { ref } "),t("span",{class:"hljs-keyword"},"from"),s(),t("span",{class:"hljs-string"},"'vue'"),s(` `),t("span",{class:"hljs-keyword"},"const"),s(" value = ref("),t("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/zh-CN-3ecff50f.js b/assets/zh-CN-e559b36c.js similarity index 99% rename from assets/zh-CN-3ecff50f.js rename to assets/zh-CN-e559b36c.js index 87db0539bb1..2a9bd5dd560 100644 --- a/assets/zh-CN-3ecff50f.js +++ b/assets/zh-CN-e559b36c.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"评分",-1),m={class:"card"},u={id:"ji1-ben3-shi3-yong4"},g=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"评分",-1),m={class:"card"},u={id:"ji1-ben3-shi3-yong4"},g=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" score = ref("),a("span",{class:"hljs-number"},"3"),s(`) diff --git a/assets/zh-CN-025ad66f.js b/assets/zh-CN-e84c63c5.js similarity index 97% rename from assets/zh-CN-025ad66f.js rename to assets/zh-CN-e84c63c5.js index d35f7f0c5ae..e09cffc278f 100644 --- a/assets/zh-CN-025ad66f.js +++ b/assets/zh-CN-e84c63c5.js @@ -1 +1 @@ -import{_ as r,b as s,e as n,m as h,p as t,q as o,w as c,Q as d,Z as a}from"./index-af5fec45.js";const i={components:{}},l={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"shu3-xing4"},b=a("
参数说明类型默认值
v-model绑定的值anyfalse
checked-value选中状态的值anytrue
unchecked-value未选中状态的值anyfalse
checked-color选中状态的颜色any-
unchecked-color未选中状态的颜色any-
icon-size图标尺寸string | number-
disabled是否禁用booleanfalse
readonly是否只读booleanfalse
indeterminate是否为不确定状态(样式优先级最高)booleanfalse
ripple是否开启水波纹booleantrue
rules验证规则,返回 true 表示验证通过,其余的值则转换为文本作为用户提示Array<(value: any) => any>-
",1),y={class:"card"},f={id:"shi4-jian4"},p=a("
事件名说明参数
click点击时触发e: Event
change状态变更时触发value: any
",1),v={class:"card"},k={id:"cha1-cao2"},x=a("
插槽名说明参数
checked-icon选中图标-
unchecked-icon未选中图标-
indeterminate-icon不确定状态图标-
default显示的文本-
",1);function g(N,V,$,B,C,j){const e=s("router-link");return n(),h("div",l,[_,t("div",m,[t("h3",u,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",y,[t("h3",f,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),p]),t("div",v,[t("h3",k,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),x])])}const z=r(i,[["render",g]]);export{z as default}; +import{_ as r,b as s,e as n,m as h,p as t,q as o,w as c,Q as d,Z as a}from"./index-0bd4ebfc.js";const i={components:{}},l={class:"varlet-site-doc"},_=t("h2",null,"API",-1),m={class:"card"},u={id:"shu3-xing4"},b=a("
参数说明类型默认值
v-model绑定的值anyfalse
checked-value选中状态的值anytrue
unchecked-value未选中状态的值anyfalse
checked-color选中状态的颜色any-
unchecked-color未选中状态的颜色any-
icon-size图标尺寸string | number-
disabled是否禁用booleanfalse
readonly是否只读booleanfalse
indeterminate是否为不确定状态(样式优先级最高)booleanfalse
ripple是否开启水波纹booleantrue
rules验证规则,返回 true 表示验证通过,其余的值则转换为文本作为用户提示Array<(value: any) => any>-
",1),y={class:"card"},f={id:"shi4-jian4"},p=a("
事件名说明参数
click点击时触发e: Event
change状态变更时触发value: any
",1),v={class:"card"},k={id:"cha1-cao2"},x=a("
插槽名说明参数
checked-icon选中图标-
unchecked-icon未选中图标-
indeterminate-icon不确定状态图标-
default显示的文本-
",1);function g(N,V,$,B,C,j){const e=s("router-link");return n(),h("div",l,[_,t("div",m,[t("h3",u,[o(e,{to:"#shu3-xing4"},{default:c(()=>[d("#")]),_:1}),d("属性")]),b]),t("div",y,[t("h3",f,[o(e,{to:"#shi4-jian4"},{default:c(()=>[d("#")]),_:1}),d("事件")]),p]),t("div",v,[t("h3",k,[o(e,{to:"#cha1-cao2"},{default:c(()=>[d("#")]),_:1}),d("插槽")]),x])])}const z=r(i,[["render",g]]);export{z as default}; diff --git a/assets/zh-CN-6cf4effc.js b/assets/zh-CN-ea407ab4.js similarity index 99% rename from assets/zh-CN-6cf4effc.js rename to assets/zh-CN-ea407ab4.js index c00f6b16d62..34cc1888db8 100644 --- a/assets/zh-CN-6cf4effc.js +++ b/assets/zh-CN-ea407ab4.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as h,m as i,p as s,q as a,w as l,Q as t,Z as c}from"./index-af5fec45.js";const r={components:{}},p={class:"varlet-site-doc"},_=s("h1",null,"纸张",-1),j={class:"card"},u={id:"jie4-shao4"},g=s("p",null,"一个易于使用海拔效果和水波效果的容器。",-1),m={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` +import{_ as o,b as d,e as h,m as i,p as s,q as a,w as l,Q as t,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},p={class:"varlet-site-doc"},_=s("h1",null,"纸张",-1),j={class:"card"},u={id:"jie4-shao4"},g=s("p",null,"一个易于使用海拔效果和水波效果的容器。",-1),m={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` `),s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"var-paper"),t(),s("span",{class:"hljs-attr"},":elevation"),t("="),s("span",{class:"hljs-string"},'"2"'),t(),s("span",{class:"hljs-attr"},":width"),t("="),s("span",{class:"hljs-string"},'"100"'),t(),s("span",{class:"hljs-attr"},":height"),t("="),s("span",{class:"hljs-string"},'"100"'),t(" />")]),t(` `),s("span",{class:"hljs-tag"},[t("")]),t(` `)])],-1),b={class:"card"},y={id:"shui3-bo1-xiao4-guo3"},x=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[t("<"),s("span",{class:"hljs-name"},"template"),t(">")]),t(` diff --git a/assets/zh-CN-2d36e4c8.js b/assets/zh-CN-eb3bc1f5.js similarity index 99% rename from assets/zh-CN-2d36e4c8.js rename to assets/zh-CN-eb3bc1f5.js index cc44f0dc795..f7b9364e594 100644 --- a/assets/zh-CN-2d36e4c8.js +++ b/assets/zh-CN-eb3bc1f5.js @@ -1,4 +1,4 @@ -import{_ as h,b as d,e as o,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"菜单",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,"当元素点击时显示一个菜单,通过控制弹出位置和偏移量改变菜单的显示位置。",-1),_={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as d,e as o,m as p,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const r={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"菜单",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,"当元素点击时显示一个菜单,通过控制弹出位置和偏移量改变菜单的显示位置。",-1),_={class:"card"},v={id:"ji1-ben3-shi3-yong4"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-menu"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-button"),s(),a("span",{class:"hljs-attr"},"type"),s("="),a("span",{class:"hljs-string"},'"primary"'),s(">")]),s("基本使用"),a("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-c7f5cf02.js b/assets/zh-CN-f09c03ee.js similarity index 99% rename from assets/zh-CN-c7f5cf02.js rename to assets/zh-CN-f09c03ee.js index 7079fbb7c63..197056cf81d 100644 --- a/assets/zh-CN-c7f5cf02.js +++ b/assets/zh-CN-f09c03ee.js @@ -1,4 +1,4 @@ -import{_ as h,b as o,e as i,m as d,p as a,q as t,w as n,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"底部导航栏",-1),m={class:"card"},g={id:"ji1-chu3-yong4-fa3"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as h,b as o,e as i,m as d,p as a,q as t,w as n,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},p={class:"varlet-site-doc"},j=a("h1",null,"底部导航栏",-1),m={class:"card"},g={id:"ji1-chu3-yong4-fa3"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" active = ref("),a("span",{class:"hljs-number"},"0"),s(`) diff --git a/assets/zh-CN-8c4980a3.js b/assets/zh-CN-f349b83a.js similarity index 99% rename from assets/zh-CN-8c4980a3.js rename to assets/zh-CN-f349b83a.js index 4b96e87d0ea..93b10096af6 100644 --- a/assets/zh-CN-8c4980a3.js +++ b/assets/zh-CN-f349b83a.js @@ -1,4 +1,4 @@ -import{_ as h,b as p,e as i,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-af5fec45.js";const d={components:{}},j={class:"varlet-site-doc"},o=a("h1",null,"轮播",-1),m={class:"card"},g={id:"ji1-ben3-shi3-yong4"},u=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as h,b as p,e as i,m as r,p as a,q as t,w as l,Q as s,Z as c}from"./index-0bd4ebfc.js";const d={components:{}},j={class:"varlet-site-doc"},o=a("h1",null,"轮播",-1),m={class:"card"},g={id:"ji1-ben3-shi3-yong4"},u=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-swipe"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"swipe-example"'),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-swipe-item"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"img"),s(),a("span",{class:"hljs-attr"},"class"),s("="),a("span",{class:"hljs-string"},'"swipe-example-image"'),s(),a("span",{class:"hljs-attr"},"src"),s("="),a("span",{class:"hljs-string"},'"https://varlet.gitee.io/varlet-ui/cat.jpg"'),s(">")]),s(` diff --git a/assets/zh-CN-df0c4274.js b/assets/zh-CN-f37ec584.js similarity index 99% rename from assets/zh-CN-df0c4274.js rename to assets/zh-CN-f37ec584.js index 2f4e1364028..e8284be4bfd 100644 --- a/assets/zh-CN-df0c4274.js +++ b/assets/zh-CN-f37ec584.js @@ -1,4 +1,4 @@ -import{_ as r,b as c,e as o,m as h,p as s,q as l,w as n,Q as a,Z as p}from"./index-af5fec45.js";const i={components:{}},d={class:"varlet-site-doc"},j=s("h1",null,"样式定制",-1),u={class:"card"},m={id:"jie4-shao4"},_=s("p",null,[a("组件库通过 "),s("a",{href:"https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties"},"css 变量"),a(" 来组织样式,每个组件都有对应的样式变量, 您可以通过 css 文件覆盖的方式直接替换根节点上的样式变量, 或者使用 StyleProvider 组件。")],-1),g={class:"card"},b={id:"ji1-ben3-yang4-shi4-bian4-liang2"},y=s("p",null,"以下是组件库一些基本的样式变量。",-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-selector-pseudo"},":root"),a(` { +import{_ as r,b as c,e as o,m as h,p as s,q as l,w as n,Q as a,Z as p}from"./index-0bd4ebfc.js";const i={components:{}},d={class:"varlet-site-doc"},j=s("h1",null,"样式定制",-1),u={class:"card"},m={id:"jie4-shao4"},_=s("p",null,[a("组件库通过 "),s("a",{href:"https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties"},"css 变量"),a(" 来组织样式,每个组件都有对应的样式变量, 您可以通过 css 文件覆盖的方式直接替换根节点上的样式变量, 或者使用 StyleProvider 组件。")],-1),g={class:"card"},b={id:"ji1-ben3-yang4-shi4-bian4-liang2"},y=s("p",null,"以下是组件库一些基本的样式变量。",-1),v=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-selector-pseudo"},":root"),a(` { --`),s("span",{class:"hljs-attribute"},"font-size"),a("-xs: "),s("span",{class:"hljs-number"},"10px"),a(`; --`),s("span",{class:"hljs-attribute"},"font-size"),a("-sm: "),s("span",{class:"hljs-number"},"12px"),a(`; --`),s("span",{class:"hljs-attribute"},"font-size"),a("-md: "),s("span",{class:"hljs-number"},"14px"),a(`; diff --git a/assets/zh-CN-188d4436.js b/assets/zh-CN-f4c20823.js similarity index 99% rename from assets/zh-CN-188d4436.js rename to assets/zh-CN-f4c20823.js index c606874973b..e133104abc9 100644 --- a/assets/zh-CN-188d4436.js +++ b/assets/zh-CN-f4c20823.js @@ -1,4 +1,4 @@ -import{_ as p,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as e}from"./index-af5fec45.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"导航栏",-1),g={class:"card"},m={id:"ji1-chu3-dao3-hang2-lan2"},_=a("p",null,[s("通过 "),a("code",null,"title"),s(" 属性设置导航栏标题。")],-1),u=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as p,b as d,e as r,m as h,p as a,q as t,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const o={components:{}},j={class:"varlet-site-doc"},i=a("h1",null,"导航栏",-1),g={class:"card"},m={id:"ji1-chu3-dao3-hang2-lan2"},_=a("p",null,[s("通过 "),a("code",null,"title"),s(" 属性设置导航栏标题。")],-1),u=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` `),a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"var-app-bar"),s(),a("span",{class:"hljs-attr"},"title"),s("="),a("span",{class:"hljs-string"},'"标题"'),s(" />")]),s(` `),a("span",{class:"hljs-tag"},[s("")]),s(` `)])],-1),v={class:"card"},b={id:"tian1-jia1-biao1-ti2-chu3-cha1-cao2"},f=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"template"),s(">")]),s(` diff --git a/assets/zh-CN-05018ed3.js b/assets/zh-CN-f5874366.js similarity index 99% rename from assets/zh-CN-05018ed3.js rename to assets/zh-CN-f5874366.js index 031afcf9841..9f7bbba2996 100644 --- a/assets/zh-CN-05018ed3.js +++ b/assets/zh-CN-f5874366.js @@ -1,4 +1,4 @@ -import{_ as o,b as d,e as p,m as h,p as t,q as a,w as l,Q as s,Z as e}from"./index-af5fec45.js";const r={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"提示",-1),g={class:"card"},m={id:"jie4-shao4"},_=t("p",null,"当元素点击或悬停时显示一个提示,通过控制弹出位置和偏移量改变提示的显示位置。",-1),u={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` +import{_ as o,b as d,e as p,m as h,p as t,q as a,w as l,Q as s,Z as e}from"./index-0bd4ebfc.js";const r={components:{}},i={class:"varlet-site-doc"},j=t("h1",null,"提示",-1),g={class:"card"},m={id:"jie4-shao4"},_=t("p",null,"当元素点击或悬停时显示一个提示,通过控制弹出位置和偏移量改变提示的显示位置。",-1),u={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=t("pre",{class:"hljs"},[t("code",null,[t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"template"),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-tooltip"),s(),t("span",{class:"hljs-attr"},"content"),s("="),t("span",{class:"hljs-string"},'"Tooltip"'),s(">")]),s(` `),t("span",{class:"hljs-tag"},[s("<"),t("span",{class:"hljs-name"},"var-button"),s(),t("span",{class:"hljs-attr"},"type"),s("="),t("span",{class:"hljs-string"},'"primary"'),s(">")]),s("基本使用"),t("span",{class:"hljs-tag"},[s("")]),s(` `),t("span",{class:"hljs-tag"},[s("")]),s(` diff --git a/assets/zh-CN-a3872d71.js b/assets/zh-CN-f6cccde7.js similarity index 99% rename from assets/zh-CN-a3872d71.js rename to assets/zh-CN-f6cccde7.js index d07e51f6785..08c298e2fda 100644 --- a/assets/zh-CN-a3872d71.js +++ b/assets/zh-CN-f6cccde7.js @@ -1,4 +1,4 @@ -import{_ as o,b as c,e as r,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-af5fec45.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"文件上传",-1),u={class:"card"},g={id:"jie4-shao4"},m=a("p",null,[s("提供了文件读取、图片/视频预览能力。 通过监听 "),a("code",null,"after-read"),s(" 事件获取文件上传服务器。")],-1),f={class:"card"},_={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as c,e as r,m as p,p as a,q as t,w as l,Q as s,Z as d}from"./index-0bd4ebfc.js";const h={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"文件上传",-1),u={class:"card"},g={id:"jie4-shao4"},m=a("p",null,[s("提供了文件读取、图片/视频预览能力。 通过监听 "),a("code",null,"after-read"),s(" 事件获取文件上传服务器。")],-1),f={class:"card"},_={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(` files = ref([]) diff --git a/assets/zh-CN-0d7baf41.js b/assets/zh-CN-f709454c.js similarity index 99% rename from assets/zh-CN-0d7baf41.js rename to assets/zh-CN-f709454c.js index 9a7da629b7e..9c367868e27 100644 --- a/assets/zh-CN-0d7baf41.js +++ b/assets/zh-CN-f709454c.js @@ -1,4 +1,4 @@ -import{_ as o,b as e,e as r,m as h,p as a,q as t,w as n,Q as s,Z as d}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"消息条",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,"用于向用户显示快速消息。",-1),b=a("h2",null,"组件调用",-1),k={class:"card"},_={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` +import{_ as o,b as e,e as r,m as h,p as a,q as t,w as n,Q as s,Z as d}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=a("h1",null,"消息条",-1),m={class:"card"},g={id:"jie4-shao4"},u=a("p",null,"用于向用户显示快速消息。",-1),b=a("h2",null,"组件调用",-1),k={class:"card"},_={id:"ji1-ben3-shi3-yong4"},v=a("pre",{class:"hljs"},[a("code",null,[a("span",{class:"hljs-tag"},[s("<"),a("span",{class:"hljs-name"},"script"),s(),a("span",{class:"hljs-attr"},"setup"),s(">")]),a("span",{class:"javascript"},[s(` `),a("span",{class:"hljs-keyword"},"import"),s(" { ref } "),a("span",{class:"hljs-keyword"},"from"),s(),a("span",{class:"hljs-string"},"'vue'"),s(` `),a("span",{class:"hljs-keyword"},"const"),s(" show = ref("),a("span",{class:"hljs-literal"},"false"),s(`) diff --git a/assets/zh-CN-a8ff345b.js b/assets/zh-CN-f95bb602.js similarity index 99% rename from assets/zh-CN-a8ff345b.js rename to assets/zh-CN-f95bb602.js index a837322aae5..ffd49f28bf4 100644 --- a/assets/zh-CN-a8ff345b.js +++ b/assets/zh-CN-f95bb602.js @@ -1,4 +1,4 @@ -import{_ as h,b as e,e as r,m as d,p as s,q as l,w as t,Q as a,Z as o}from"./index-af5fec45.js";const p={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"遮罩层",-1),u={class:"card"},_={id:"jie4-shao4"},m=s("p",null,"创建一个遮罩层,用于强调特定的页面元素。",-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=s("p",null,[a("通过 "),s("code",null,"show"),a(" 控制遮罩层显示,点击遮罩时自动将 "),s("code",null,"show"),a(" 设置为 "),s("code",null,"false"),a(" 以关闭遮罩层。")],-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` +import{_ as h,b as e,e as r,m as d,p as s,q as l,w as t,Q as a,Z as o}from"./index-0bd4ebfc.js";const p={components:{}},i={class:"varlet-site-doc"},j=s("h1",null,"遮罩层",-1),u={class:"card"},_={id:"jie4-shao4"},m=s("p",null,"创建一个遮罩层,用于强调特定的页面元素。",-1),g={class:"card"},v={id:"ji1-ben3-shi3-yong4"},b=s("p",null,[a("通过 "),s("code",null,"show"),a(" 控制遮罩层显示,点击遮罩时自动将 "),s("code",null,"show"),a(" 设置为 "),s("code",null,"false"),a(" 以关闭遮罩层。")],-1),y=s("pre",{class:"hljs"},[s("code",null,[s("span",{class:"hljs-tag"},[a("<"),s("span",{class:"hljs-name"},"script"),a(),s("span",{class:"hljs-attr"},"setup"),a(">")]),s("span",{class:"javascript"},[a(` `),s("span",{class:"hljs-keyword"},"import"),a(" { ref } "),s("span",{class:"hljs-keyword"},"from"),a(),s("span",{class:"hljs-string"},"'vue'"),a(` `),s("span",{class:"hljs-keyword"},"const"),a(" show = ref("),s("span",{class:"hljs-literal"},"false"),a(`) diff --git a/assets/zh-CN-2f82853c.js b/assets/zh-CN-fb22ed32.js similarity index 96% rename from assets/zh-CN-2f82853c.js rename to assets/zh-CN-fb22ed32.js index 3cd83b20680..8f0b1d0bb67 100644 --- a/assets/zh-CN-2f82853c.js +++ b/assets/zh-CN-fb22ed32.js @@ -1 +1 @@ -import{_ as a,b as l,e as n,m as h,p as t,q as o,w as c,Q as e,Z as s}from"./index-af5fec45.js";const r={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=s("
参数说明类型默认值
v-model:active激活的选项卡的名字string | number-
can-swipe是否允许滑动切换booleantrue
loop是否允许循环切换booleanfalse
",1),f={class:"card"},b={id:"cha1-cao2"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"视图组的内容"),t("td",null,[t("code",null,"-")])])])],-1),x={class:"card"},g={id:"fang1-fa3"},w=s("
方法名说明参数返回值
getSwipe获取 swipe 组件实例--
",1);function y(N,k,V,$,B,C){const d=l("router-link");return n(),h("div",_,[i,t("div",u,[t("h3",m,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",f,[t("h3",b,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),v]),t("div",x,[t("h3",g,[o(d,{to:"#fang1-fa3"},{default:c(()=>[e("#")]),_:1}),e("方法")]),w])])}const q=a(r,[["render",y]]);export{q as default}; +import{_ as a,b as l,e as n,m as h,p as t,q as o,w as c,Q as e,Z as s}from"./index-0bd4ebfc.js";const r={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=s("
参数说明类型默认值
v-model:active激活的选项卡的名字string | number-
can-swipe是否允许滑动切换booleantrue
loop是否允许循环切换booleanfalse
",1),f={class:"card"},b={id:"cha1-cao2"},v=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"default")]),t("td",null,"视图组的内容"),t("td",null,[t("code",null,"-")])])])],-1),x={class:"card"},g={id:"fang1-fa3"},w=s("
方法名说明参数返回值
getSwipe获取 swipe 组件实例--
",1);function y(N,k,V,$,B,C){const d=l("router-link");return n(),h("div",_,[i,t("div",u,[t("h3",m,[o(d,{to:"#shu3-xing4"},{default:c(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",f,[t("h3",b,[o(d,{to:"#cha1-cao2"},{default:c(()=>[e("#")]),_:1}),e("插槽")]),v]),t("div",x,[t("h3",g,[o(d,{to:"#fang1-fa3"},{default:c(()=>[e("#")]),_:1}),e("方法")]),w])])}const q=a(r,[["render",y]]);export{q as default}; diff --git a/assets/zh-CN-eb07ff17.js b/assets/zh-CN-fecb8015.js similarity index 94% rename from assets/zh-CN-eb07ff17.js rename to assets/zh-CN-fecb8015.js index f552f9f190a..0ffcc87f8de 100644 --- a/assets/zh-CN-eb07ff17.js +++ b/assets/zh-CN-fecb8015.js @@ -1 +1 @@ -import{_ as c,b as n,e as a,m as l,p as t,q as d,w as s,Q as e,Z as r}from"./index-af5fec45.js";const h={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=r("
参数说明类型默认值
error-message错误信息string-
extra-message附加信息string-
",1),x={class:"card"},f={id:"cha1-cao2"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"extra-message")]),t("td",null,"附加信息"),t("td",null,[t("code",null,"-")])])])],-1);function g(v,N,k,V,$,y){const o=n("router-link");return a(),l("div",_,[i,t("div",u,[t("h3",m,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",x,[t("h3",f,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),b])])}const C=c(h,[["render",g]]);export{C as default}; +import{_ as c,b as n,e as a,m as l,p as t,q as d,w as s,Q as e,Z as r}from"./index-0bd4ebfc.js";const h={components:{}},_={class:"varlet-site-doc"},i=t("h2",null,"API",-1),u={class:"card"},m={id:"shu3-xing4"},p=r("
参数说明类型默认值
error-message错误信息string-
extra-message附加信息string-
",1),x={class:"card"},f={id:"cha1-cao2"},b=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"插槽名"),t("th",null,"说明"),t("th",null,"参数")])]),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"extra-message")]),t("td",null,"附加信息"),t("td",null,[t("code",null,"-")])])])],-1);function g(v,N,k,V,$,y){const o=n("router-link");return a(),l("div",_,[i,t("div",u,[t("h3",m,[d(o,{to:"#shu3-xing4"},{default:s(()=>[e("#")]),_:1}),e("属性")]),p]),t("div",x,[t("h3",f,[d(o,{to:"#cha1-cao2"},{default:s(()=>[e("#")]),_:1}),e("插槽")]),b])])}const C=c(h,[["render",g]]);export{C as default}; diff --git a/index.html b/index.html index ac80d906c8f..9decb9ad9f7 100644 --- a/index.html +++ b/index.html @@ -57,10 +57,10 @@ } }) - - + + - + diff --git a/mobile.html b/mobile.html index 4b8dbdb34b3..6d19e33b60f 100644 --- a/mobile.html +++ b/mobile.html @@ -35,9 +35,9 @@ })() } - - - + + +