1 |
- {"version":3,"file":"VListItemMedia.mjs","names":["makeComponentProps","makeTagProps","genericComponent","propsFactory","useRender","makeVListItemMediaProps","start","Boolean","end","VListItemMedia","name","props","setup","_ref","slots","_createVNode","tag","class","style"],"sources":["../../../src/components/VList/VListItemMedia.tsx"],"sourcesContent":["// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeTagProps } from '@/composables/tag'\n\n// Utilities\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\nexport const makeVListItemMediaProps = propsFactory({\n start: Boolean,\n end: Boolean,\n\n ...makeComponentProps(),\n ...makeTagProps(),\n}, 'VListItemMedia')\n\nexport const VListItemMedia = genericComponent()({\n name: 'VListItemMedia',\n\n props: makeVListItemMediaProps(),\n\n setup (props, { slots }) {\n useRender(() => {\n return (\n <props.tag\n class={[\n 'v-list-item-media',\n {\n 'v-list-item-media--start': props.start,\n 'v-list-item-media--end': props.end,\n },\n props.class,\n ]}\n style={ props.style }\n v-slots={ slots }\n />\n )\n })\n\n return {}\n },\n})\n\nexport type VListItemMedia = InstanceType<typeof VListItemMedia>\n"],"mappings":";AAAA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,YAAY,qCAErB;AAAA,SACSC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS;AAElD,OAAO,MAAMC,uBAAuB,GAAGF,YAAY,CAAC;EAClDG,KAAK,EAAEC,OAAO;EACdC,GAAG,EAAED,OAAO;EAEZ,GAAGP,kBAAkB,EAAE;EACvB,GAAGC,YAAY;AACjB,CAAC,EAAE,gBAAgB,CAAC;AAEpB,OAAO,MAAMQ,cAAc,GAAGP,gBAAgB,EAAE,CAAC;EAC/CQ,IAAI,EAAE,gBAAgB;EAEtBC,KAAK,EAAEN,uBAAuB,EAAE;EAEhCO,KAAKA,CAAED,KAAK,EAAAE,IAAA,EAAa;IAAA,IAAX;MAAEC;IAAM,CAAC,GAAAD,IAAA;IACrBT,SAAS,CAAC,MAAM;MACd,OAAAW,YAAA,CAAAJ,KAAA,CAAAK,GAAA;QAAA,SAEW,CACL,mBAAmB,EACnB;UACE,0BAA0B,EAAEL,KAAK,CAACL,KAAK;UACvC,wBAAwB,EAAEK,KAAK,CAACH;QAClC,CAAC,EACDG,KAAK,CAACM,KAAK,CACZ;QAAA,SACON,KAAK,CAACO;MAAK,GACTJ,KAAK;IAGrB,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
|