{"version":3,"file":"type.mjs","sources":["../../../../../packages/components/action/src/type.ts"],"sourcesContent":["import type { ComponentSize } from '@element-ultra/shared'\nimport type { Component, ExtractPropTypes, PropType } from 'vue'\nimport type { ButtonType } from '@element-ultra/components/button'\n\nexport const actionProps = {\n  needConfirm: {\n    type: Boolean,\n    default: false\n  },\n  size: {\n    type: String as PropType<ComponentSize>,\n    default: 'default'\n  },\n  icon: {\n    type: Object as PropType<Component>\n  },\n  isDrop: {\n    type: Boolean,\n    default: false\n  },\n  type: {\n    type: String as PropType<ButtonType>,\n    default: 'primary'\n  }\n} as const\n\nexport const actionGroupProps = {\n  size: {\n    type: String as PropType<ComponentSize>,\n    default: 'default'\n  },\n  max: {\n    type: Number,\n    default: 3\n  },\n\n  type: {\n    type: String as PropType<ButtonType>,\n    default: 'primary'\n  }\n} as const\n\nexport type ActionProps = ExtractPropTypes<typeof actionProps>\n\nexport type ActionGroupProps = ExtractPropTypes<typeof actionGroupProps>\n"],"names":[],"mappings":"AAIO,MAAM,WAAc,GAAA;AAAA,EACzB,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,SAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,SAAA;AAAA,GACX;AACF,EAAA;AAEO,MAAM,gBAAmB,GAAA;AAAA,EAC9B,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,SAAA;AAAA,GACX;AAAA,EACA,GAAK,EAAA;AAAA,IACH,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,CAAA;AAAA,GACX;AAAA,EAEA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,SAAA;AAAA,GACX;AACF;;;;"}