{"version":3,"file":"component.mjs","names":["propsFactory","makeComponentProps","String","Array","style","type","Object"],"sources":["../../src/composables/component.ts"],"sourcesContent":["// Utilities\nimport { propsFactory } from '@/utils/propsFactory'\n\n// Types\nimport type { PropType, StyleValue } from 'vue'\n\nexport type ClassValue = any\n\nexport interface ComponentProps {\n  class?: ClassValue\n  style: StyleValue | undefined\n}\n\n// Composables\nexport const makeComponentProps = propsFactory(\n  {\n    class: [String, Array] as PropType<ClassValue>,\n    style: {\n      type: [String, Array, Object] as PropType<StyleValue>,\n      default: null,\n    },\n  },\n  'component'\n)\n"],"mappings":"AAAA;AAAA,SACSA,YAAY,qCAErB;AAUA;AACA,OAAO,IAAMC,kBAAkB,GAAGD,YAAY,CAC5C;EACE,SAAO,CAACE,MAAM,EAAEC,KAAK,CAAyB;EAC9CC,KAAK,EAAE;IACLC,IAAI,EAAE,CAACH,MAAM,EAAEC,KAAK,EAAEG,MAAM,CAAyB;IACrD,WAAS;EACX;AACF,CAAC,EACD,WACF,CAAC"}