import{d as B,S as L,i as O,G as S,r as C,u as D,c as Z,o as I,g as P,_ as T,a as m,b as o,t as i,e as _,f as a,w as n,F as w,h as g,j as r,k as c,l as y,m as $,n as z}from"./index.3fe853a6.js";const U=B({name:"ComponentOverview",components:{SearchOutlined:L},setup(){const e=O(S),s=C(""),v=C(),{dataSource:h}=D(),f=Z(()=>[{children:[{category:"Components",cols:1,cover:"https://gw.alipayobjects.com/zos/alicdn/f-SbcX2Lx/Table.svg",path:"https://surely.cool/",subtitle:"\u66F4\u5F3A\u5927\u7684\u8868\u683C",title:"Surely Table",type:"Advanced And Powerful",target:"_blank"},{category:"Components",cols:1,cover:"https://aliyuncdn.antdv.com/form/static/assets/landing-config.4f9d5425.png",path:"https://form.antdv.com/",subtitle:"\u5728\u7EBF\u8868\u5355",title:"Surely Form",type:"Advanced And Powerful",target:"_blank"}],enTitle:"Advanced And Powerful",title:"\u66F4\u5F3A\u5927",order:0}].concat(h.value.filter(l=>l.order>-1).map(l=>{const d=l.children.filter(p=>!s.value.trim()||p.title.toLowerCase().includes(s.value.trim().toLowerCase())||(p.subtitle||"").toLowerCase().includes(s.value.trim().toLowerCase()));return{...l,children:d}}).filter(l=>l.children.length)));return I(()=>{v.value.focus()}),{globalConfig:e,search:s,menuItems:f,getLocalizedPathname:P,inputRef:v,isZhCN:e==null?void 0:e.isZhCN}}});const j={class:"markdown"},G={class:"markdown"},V={class:"ant-typography components-overview-group-title"},M={class:"components-overview-title"},R={class:"components-overview-img"},x=["src","alt"];function W(e,s,v,h,f,l){const d=r("a-divider"),p=r("SearchOutlined"),F=r("a-input"),E=r("a-tag"),A=r("a-space"),b=r("a-card"),k=r("a-col"),N=r("a-row");return c(),m("section",j,[o("h1",null,i(e.isZhCN?"\u7EC4\u4EF6\u603B\u89C8":"Overview"),1),o("section",G,[o("p",null,[s[1]||(s[1]=o("code",null,"ant-design-vue",-1)),_(" "+i(e.isZhCN?"\u4E3A Web \u5E94\u7528\u63D0\u4F9B\u4E86\u4E30\u5BCC\u7684\u57FA\u7840 UI \u7EC4\u4EF6\uFF0C\u6211\u4EEC\u8FD8\u5C06\u6301\u7EED\u63A2\u7D22\u4F01\u4E1A\u7EA7\u5E94\u7528\u7684\u6700\u4F73 UI \u5B9E\u8DF5\u3002":"provides plenty of UI components to enrich your web applications, and we will improve components experience consistently. "),1)])]),a(d),a(F,{ref:"inputRef",value:e.search,"onUpdate:value":s[0]||(s[0]=u=>e.search=u),placeholder:e.$t("app.components.overview.search"),class:"components-overview-search","auto-focus":""},{suffix:n(()=>[a(p)]),_:1},8,["value","placeholder"]),a(d),(c(!0),m(w,null,g(e.menuItems,u=>(c(),m("div",{key:u.title,class:"components-overview"},[o("h2",V,[a(A,{align:"center"},{default:n(()=>[_(i(e.isZhCN?u.title:u.enTitle)+" ",1),a(E,{style:{display:"block"}},{default:n(()=>[_(i(u.children.length),1)]),_:2},1024)]),_:2},1024)]),a(N,{gutter:[24,24]},{default:n(()=>[(c(!0),m(w,null,g(u.children,t=>(c(),y(k,{key:t.title,xs:24,sm:12,lg:8,xl:6},{default:n(()=>[(c(),y($(t.target?"a":"router-link"),z({ref_for:!0},t.target?{href:t.path,target:t.target}:{to:e.getLocalizedPathname(t.path,e.isZhCN)}),{default:n(()=>[a(b,{size:"small",class:"components-overview-card"},{title:n(()=>[o("div",M,i(t.title)+" "+i(e.isZhCN?t.subtitle:""),1)]),default:n(()=>[o("div",R,[o("img",{src:t.cover,alt:t.title},null,8,x)])]),_:2},1024)]),_:2},1040))]),_:2},1024))),128))]),_:2},1024)]))),128))])}const q=T(U,[["render",W]]);export{q as default};