text: import{d as x,s as _,r as p,o as b,b as v,X as i,a5 as e,w as d,W as h,a9 as a,c as V,bc as f}from"./vendor.dce3d09c.js";const y=a("Option 1"),E=a("Option 2"),B=a("Option 1"),z=a("Option 2"),$=a("Option 1"),A=a("Option 2"),O=a("Option 1"),U=a("Option 2"),k=x({setup(g){const s=_("1"),r=_("1"),n=_("1");return(m,l)=>{const t=p("fz-radio");return b(),v(h,null,[i("div",null,[e(t,{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=o=>s.value=o),label:"1",size:"large"},{default:d(()=>[y]),_:1},8,["modelValue"]),e(t,{modelValue:s.value,"onUpdate:modelValue":l[1]||(l[1]=o=>s.value=o),label:"2",size:"large"},{default:d(()=>[E]),_:1},8,["modelValue"])]),i("div",null,[e(t,{modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=o=>r.value=o),label:"1"},{default:d(()=>[B]),_:1},8,["modelValue"]),e(t,{modelValue:r.value,"onUpdate:modelValue":l[3]||(l[3]=o=>r.value=o),label:"2"},{default:d(()=>[z]),_:1},8,["modelValue"])]),i("div",null,[e(t,{modelValue:n.value,"onUpdate:modelValue":l[4]||(l[4]=o=>n.value=o),label:"1",size:"small"},{default:d(()=>[$]),_:1},8,["modelValue"]),e(t,{modelValue:n.value,"onUpdate:modelValue":l[5]||(l[5]=o=>n.value=o),label:"2",size:"small"},{default:d(()=>[A]),_:1},8,["modelValue"])]),i("div",null,[e(t,{modelValue:n.value,"onUpdate:modelValue":l[6]||(l[6]=o=>n.value=o),label:"1",size:"small",disabled:""},{default:d(()=>[O]),_:1},8,["modelValue"]),e(t,{modelValue:n.value,"onUpdate:modelValue":l[7]||(l[7]=o=>n.value=o),label:"2",size:"small",disabled:""},{default:d(()=>[U]),_:1},8,["modelValue"])])],64)}}}),w=a("Option A"),N=a("Option B"),C=a("Option C"),Y=x({setup(g){const s=_(3);return(r,n)=>{const m=p("fz-radio"),l=p("fz-radio-group");return b(),V(l,{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=t=>s.value=t)},{default:d(()=>[e(m,{label:3},{default:d(()=>[w]),_:1}),e(m,{label:6},{default:d(()=>[N]),_:1}),e(m,{label:9},{default:d(()=>[C]),_:1})]),_:1},8,["modelValue"])}}}),F={style:{"margin-top":"20px"}},R={style:{"margin-top":"20px"}},W=x({setup(g){const s=_("New York"),r=_("New York"),n=_("New York");return(m,l)=>{const t=p("fz-radio-button"),o=p("fz-radio-group");return b(),v(h,null,[i("div",null,[e(o,{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c),size:"large"},{default:d(()=>[e(t,{label:"New York"}),e(t,{label:"Washington"}),e(t,{label:"Los Angeles"}),e(t,{label:"Chicago"})]),_:1},8,["modelValue"])]),i("div",F,[e(o,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=c=>r.value=c)},{default:d(()=>[e(t,{label:"New York"}),e(t,{label:"Washington"}),e(t,{label:"Los Angeles"}),e(t,{label:"Chicago"})]),_:1},8,["modelValue"])]),i("div",R,[e(o,{modelValue:n.value,"onUpdate:modelValue":l[2]||(l[2]=c=>n.value=c),size:"small"},{default:d(()=>[e(t,{label:"New York"}),e(t,{label:"Washington",disabled:""}),e(t,{label:"Los Angeles"}),e(t,{label:"Chicago"})]),_:1},8,["modelValue"])])],64)}}}),D=a("Option A"),L=a("Option B"),j={style:{"margin-top":"20px"}},S=a("Option A"),T=a("Option B"),X={style:{"margin-top":"20px"}},q=a("Option A"),G=a("Option B"),H={style:{"margin-top":"20px"}},I=a("Option A"),J=a("Option B"),K=x({setup(g){const s=_("1"),r=_("1"),n=_("1"),m=_("1");return(l,t)=>{const o=p("fz-radio"),c=p("fz-radio-group");return b(),v(h,null,[i("div",null,[e(o,{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=u=>s.value=u),label:"1",size:"large",border:""},{default:d(()=>[D]),_:1},8,["modelValue"]),e(o,{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=u=>s.value=u),label:"2",size:"large",border:""},{default:d(()=>[L]),_:1},8,["modelValue"])]),i("div",j,[e(o,{modelValue:r.value,"onUpdate:modelValue":t[2]||(t[2]=u=>r.value=u),label:"1",border:""},{default:d(()=>[S]),_:1},8,["modelValue"]),e(o,{modelValue:r.value,"onUpdate:modelValue":t[3]||(t[3]=u=>r.value=u),label:"2",border:""},{default:d(()=>[T]),_:1},8,["modelValue"])]),i("div",X,[e(c,{modelValue:n.value,"onUpdate:modelValue":t[4]||(t[4]=u=>n.value=u),size:"small"},{default:d(()=>[e(o,{label:"1",border:""},{default:d(()=>[q]),_:1}),e(o,{label:"2",border:"",disabled:""},{default:d(()=>[G]),_:1})]),_:1},8,["modelValue"])]),i("div",H,[e(c,{modelValue:m.value,"onUpdate:modelValue":t[5]||(t[5]=u=>m.value=u),size:"small",disabled:""},{default:d(()=>[e(o,{label:"1",border:""},{default:d(()=>[I]),_:1}),e(o,{label:"2",border:""},{default:d(()=>[J]),_:1})]),_:1},8,["modelValue"])])],64)}}}),M={class:"markdown-body"},P=i("h1",{id:"%E5%8D%95%E9%80%89%E6%A1%86",tabindex:"-1"},"\u5355\u9009\u6846",-1),Q=i("p",null,"\u5728\u4E00\u7EC4\u5907\u9009\u9879\u4E2D\u8FDB\u884C\u5355\u9009",-1),Z=i("h2",{id:"%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95",tabindex:"-1"},"\u57FA\u7840\u7528\u6CD5",-1),ee=i("h2",{id:"%E5%8D%95%E9%80%89%E6%A1%86%E7%BB%84",tabindex:"-1"},"\u5355\u9009\u6846\u7EC4",-1),te=i("h2",{id:"%E6%8C%89%E9%92%AE%E6%A0%B7%E5%BC%8F",tabindex:"-1"},"\u6309\u94AE\u6837\u5F0F",-1),le=i("h2",{id:"%E5%B8%A6%E8%BE%B9%E6%A1%86",tabindex:"-1"},"\u5E26\u8FB9\u6846",-1),de=f('<h2 id="%E5%B1%9E%E6%80%A7" tabindex="-1">\u5C5E\u6027</h2><div class="doc-table"><table><thead><tr><th style="text-align:center;">\u53C2\u6570</th><th style="text-align:center;">\u8BF4\u660E</th><th style="text-align:center;">\u7C7B\u578B</th><th style="text-align:center;">\u53EF\u9009\u503C</th><th style="text-align:center;">\u9ED8\u8BA4\u503C</th><th style="text-align:center;">\u662F\u5426\u5FC5\u586B</th></tr></thead><tbody><tr><td style="text-align:center;"><code>arg1</code></td><td style="text-align:center;">\u7B2C\u4E00\u4E2A\u53C2\u6570</td><td style="text-align:center;">string</td><td style="text-align:center;">-</td><td style="text-align:center;"><code>default</code></td><td style="text-align:center;">\u5426</td></tr><tr><td style="text-align:center;"><code>arg2</code></td><td style="text-align:center;">\u7B2C\u4E8C\u4E2A\u53C2\u6570</td><td style="text-align:center;">string</td><td style="text-align:center;">-</td><td style="text-align:center;"><code>default</code></td><td style="text-align:center;">\u5426</td></tr></tbody></table></div><h2 id="%E4%BA%8B%E4%BB%B6" tabindex="-1">\u4E8B\u4EF6</h2><div class="doc-table"><table><thead><tr><th style="text-align:center;">\u4E8B\u4EF6\u540D</th><th style="text-align:center;">\u8BF4\u660E</th><th style="text-align:center;">\u53C2\u6570\u5217\u8868</th><th style="text-align:center;">\u53C2\u6570\u8BF4\u660E</th></tr></thead><tbody><tr><td style="text-align:center;"><code>click</code></td><td style="text-align:center;">\u70B9\u51FB\u4E8B\u4EF6</td><td style="text-align:center;">$event</td><td style="text-align:center;">\u539F\u751F\u7684 dom event</td></tr><tr><td style="text-align:center;"><code>customEvent</code></td><td style="text-align:center;">\u81EA\u5B9A\u4E49\u4E8B\u4EF6</td><td style="text-align:center;">[a, b, c]</td><td style="text-align:center;">a\uFF1A\u53C2\u6570\u4E00\uFF1Bb\uFF1A\u53C2\u6570\u4E8C\uFF1Bc\uFF1A\u53C2\u6570\u4E09</td></tr></tbody></table></div><h2 id="%E6%96%B9%E6%B3%95" tabindex="-1">\u65B9\u6CD5</h2><div class="doc-table"><table><thead><tr><th style="text-align:center;">\u65B9\u6CD5\u540D</th><th style="text-align:center;">\u8BF4\u660E</th><th style="text-align:center;">\u53C2\u6570\u5217\u8868</th><th style="text-align:center;">\u53C2\u6570\u8BF4\u660E</th></tr></thead><tbody><tr><td style="text-align:center;"><code>update</code></td><td style="text-align:center;">\u624B\u52A8\u66F4\u65B0</td><td style="text-align:center;">-</td><td style="text-align:center;">-</td></tr></tbody></table></div><h2 id="%E6%8F%92%E6%A7%BD" tabindex="-1">\u63D2\u69FD</h2><div class="doc-table"><table><thead><tr><th style="text-align:center;">\u63D2\u69FD\u540D</th><th style="text-align:center;">\u8BF4\u660E</th></tr></thead><tbody><tr><td style="text-align:center;"><code>default</code></td><td style="text-align:center;">\u81EA\u5B9A\u4E49\u9ED8\u8BA4\u5185\u5BB9</td></tr></tbody></table></div>',8),ae={setup(g,{expose:s}){return s({frontmatter:{}}),(n,m)=>{const l=p("demo-preview");return b(),v("div",M,[P,Q,Z,e(l,{"comp-name":"Radio","demo-name":"demo"},{default:d(()=>[e(k)]),_:1}),ee,e(l,{"comp-name":"Radio","demo-name":"demo2"},{default:d(()=>[e(Y)]),_:1}),te,e(l,{"comp-name":"Radio","demo-name":"demo3"},{default:d(()=>[e(W)]),_:1}),le,e(l,{"comp-name":"Radio","demo-name":"demo4"},{default:d(()=>[e(K)]),_:1}),de])}}};export{ae as default};
  