{"version":3,"file":"button-icon.mjs","sources":["../../../../../../packages/components/button/src/button-icon.ts"],"sourcesContent":["import { buildProps, definePropType } from \"@xplus/utils/props\";\nimport { useSizeProp } from \"@xplus/hooks\";\nimport type { ExtractPropTypes, Component } from \"vue\";\n\nexport const ButtonIconProps = buildProps({\n  icon: {\n    type: definePropType<string | Component>([String, Object]),\n    default: \"\",\n  },\n  disabled: {\n    type: Boolean,\n    default: false,\n  },\n  loading: {\n    type: Boolean,\n    default: false,\n  },\n  size: useSizeProp,\n} as const);\n\nexport type XButtonIconProps = ExtractPropTypes<typeof ButtonIconProps>;\n"],"names":[],"mappings":";;;;AAEY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE,WAAW;AACnB,CAAC;;;;"}