import{c as b}from"./index-2a45336b.js";import{a as B,b as o,o as g,c as x,w as r,e as a,E as p}from"./ant-design-vue-710243d9.js";import"./tinymce-3184e0f1.js";import"./echarts-ca5d9323.js";import"./cropper-47c8e461.js";import"./lodash-es-7cb071db.js";import"./qrcode-bec2257a.js";import"./jschardet-bd496279.js";const C=()=>{const s=b();function e(u,l){s.setBadge({name:u,count:l})}return{setBadge:e}},E=Object.assign({name:"otherBadge"},{__name:"index",setup(s){const e=B({name:"home",count:10}),{setBadge:u}=C();function l(){var n,t;u((n=e.value)==null?void 0:n.name,(t=e.value)==null?void 0:t.count)}function _(){var n;u((n=e.value)==null?void 0:n.name,0)}return(n,t)=>{const i=o("a-input"),d=o("a-input-number"),m=o("a-button"),v=o("a-space"),f=o("a-card");return g(),x(f,{title:"基础示例"},{default:r(()=>[a(v,null,{default:r(()=>[a(i,{value:e.value.name,"onUpdate:value":t[0]||(t[0]=c=>e.value.name=c)},null,8,["value"]),a(d,{value:e.value.count,"onUpdate:value":t[1]||(t[1]=c=>e.value.count=c),min:0},null,8,["value"]),a(m,{onClick:l},{default:r(()=>[p("设置")]),_:1}),a(m,{onClick:_},{default:r(()=>[p("清除")]),_:1})]),_:1})]),_:1})}}});export{E as default};
