You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.4 KiB

{"ast":null,"code":"import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { radioEmits } from './radio.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { useAriaProps } from '../../../hooks/use-aria/index.mjs';\nconst radioGroupProps = buildProps({\n id: {\n type: String,\n default: void 0\n },\n size: useSizeProp,\n disabled: Boolean,\n modelValue: {\n type: [String, Number, Boolean],\n default: void 0\n },\n fill: {\n type: String,\n default: \"\"\n },\n textColor: {\n type: String,\n default: \"\"\n },\n name: {\n type: String,\n default: void 0\n },\n validateEvent: {\n type: Boolean,\n default: true\n },\n ...useAriaProps([\"ariaLabel\"])\n});\nconst radioGroupEmits = radioEmits;\nexport { radioGroupEmits, radioGroupProps };","map":{"version":3,"names":["radioGroupProps","buildProps","id","type","String","default","size","useSizeProp","disabled","Boolean","modelValue","Number","fill","textColor","name","validateEvent","useAriaProps","radioGroupEmits","radioEmits"],"sources":["../../../../../../packages/components/radio/src/radio-group.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { useAriaProps, useSizeProp } from '@element-plus/hooks'\nimport { radioEmits } from './radio'\nimport type { ExtractPropTypes } from '@vue/runtime-core'\nimport type RadioGroup from './radio-group.vue'\n\nexport const radioGroupProps = buildProps({\n /**\n * @description native `id` attribute\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description the size of radio buttons or bordered radios\n */\n size: useSizeProp,\n /**\n * @description whether the nesting radios are disabled\n */\n disabled: Boolean,\n /**\n * @description binding value\n */\n modelValue: {\n type: [String, Number, Boolean],\n default: undefined,\n },\n /**\n * @description border and background color when button is active\n */\n fill: {\n type: String,\n default: '',\n },\n /**\n * @description font color when button is active\n */\n textColor: {\n type: String,\n default: '',\n },\n /**\n * @description native `name` attribute\n */\n name: {\n type: String,\n default: undefined,\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n ...useAriaProps(['ariaLabel']),\n} as const)\nexport type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>\n\nexport const radioGroupEmits = radioEmits\nexport type RadioGroupEmits = typeof radioGroupEmits\nexport type RadioGroupInstance = InstanceType<typeof RadioGroup>\n"],"mappings":";;;;;;AAGY,MAACA,eAAe,GAAGC,UAAU,CAAC;EACxCC,EAAE,EAAE;IACFC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE,KAAK;EAClB,CAAG;EACDC,IAAI,EAAEC,WAAW;EACjBC,QAAQ,EAAEC,OAAO;EACjBC,UAAU,EAAE;IACVP,IAAI,EAAE,CAACC,MAAM,EAAEO,MAAM,EAAEF,OAAO,CAAC;IAC/BJ,OAAO,EAAE,KAAK;EAClB,CAAG;EACDO,IAAI,EAAE;IACJT,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDQ,SAAS,EAAE;IACTV,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDS,IAAI,EAAE;IACJX,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE,KAAK;EAClB,CAAG;EACDU,aAAa,EAAE;IACbZ,IAAI,EAAEM,OAAO;IACbJ,OAAO,EAAE;EACb,CAAG;EACD,GAAGW,YAAY,CAAC,CAAC,WAAW,CAAC;AAC/B,CAAC;AACW,MAACC,eAAe,GAAGC,UAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}