{"version":3,"file":"component.mjs","names":["propsFactory","makeComponentProps","class","String","Array","style","type","Object","default"],"sources":["../../src/composables/component.ts"],"sourcesContent":["// Utilities\nimport { propsFactory } from '@/util/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 class: [String, Array] as PropType,\n style: {\n type: [String, Array, Object] as PropType,\n default: null,\n },\n}, 'component')\n"],"mappings":"AAAA;AAAA,SACSA,YAAY,oCAErB;AAUA;AACA,OAAO,MAAMC,kBAAkB,GAAGD,YAAY,CAAC;EAC7CE,KAAK,EAAE,CAACC,MAAM,EAAEC,KAAK,CAAyB;EAC9CC,KAAK,EAAE;IACLC,IAAI,EAAE,CAACH,MAAM,EAAEC,KAAK,EAAEG,MAAM,CAAyB;IACrDC,OAAO,EAAE;EACX;AACF,CAAC,EAAE,WAAW,CAAC"}