{"version":3,"file":"radio.mjs","sources":["../../../../../../../packages/components/radio/src/radio.ts"],"sourcesContent":["/*\n * @LastEditTime: 2025-02-26 15:44:29\n */\nimport { buildProps, extend } from '@xzx-design/utils'\n\nimport { checkerProps } from '@xzx-design/components/checkbox/src/checker'\nimport type { ExtractPropTypes } from 'vue'\nimport type Radio from './radio.tsx'\n\nimport type { PropType } from 'vue/dist/vue'\nimport type { RadioShape } from './types'\n\nexport const radioProps = extend(\n  {},\n  checkerProps,\n  buildProps({\n    shape: {\n      type: String as PropType<RadioShape>,\n    },\n  })\n)\n\nexport const radioEmits = {\n  'update:modelValue': (value: string) => true,\n}\n\nexport type RadioProps = ExtractPropTypes<typeof radioProps>\nexport type RadioInstance = InstanceType<typeof Radio>\nexport type RadioEmits = typeof radioEmits\n"],"names":[],"mappings":";;;;;AAYO,MAAM,UAAa,GAAA,MAAA;AAAA,EACxB,EAAC;AAAA,EACD,YAAA;AAAA,EACA,UAAW,CAAA;AAAA,IACT,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,MAAA;AAAA,KACR;AAAA,GACD,CAAA;AACH,EAAA;AAEO,MAAM,UAAa,GAAA;AAAA,EACxB,mBAAA,EAAqB,CAAC,KAAkB,KAAA,IAAA;AAC1C;;;;"}