{"version":3,"file":"radio-group.mjs","sources":["../../../../../../packages/components/radio/src/radio-group.ts"],"sourcesContent":["import { buildProps, definePropType } from '@sgui-plus/utils/props'\r\nimport { useSizeProp } from '@sgui-plus/hooks'\r\nimport { radioEmits } from './radio'\r\nimport type { ExtractPropTypes } from 'vue'\r\n\r\nexport const radioGroupProps = buildProps({\r\n  size: useSizeProp,\r\n  disabled: Boolean,\r\n  modelValue: {\r\n    type: [String, Number, Boolean],\r\n    default: '',\r\n  },\r\n  beforeChange: {\r\n    type: definePropType<() => Promise<boolean> | boolean>(Function),\r\n  },\r\n  validateEvent: {\r\n    type: Boolean,\r\n    default: true,\r\n  },\r\n} as const)\r\n\r\nexport type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>\r\n\r\nexport const radioGroupEmits = radioEmits\r\nexport type RadioGroupEmits = typeof radioGroupEmits\r\n"],"names":[],"mappings":";;;;;AAGY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;AACnC,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,eAAe,GAAG;;;;"}