vuetify
Version:
Vue Material Component Framework
1 lines • 1.29 kB
Source Map (JSON)
{"version":3,"file":"VFieldLabel.mjs","names":["VLabel","genericComponent","useRender","VFieldLabel","name","props","floating","Boolean","setup","slots","undefined"],"sources":["../../../src/components/VField/VFieldLabel.tsx"],"sourcesContent":["// Components\nimport { VLabel } from '@/components/VLabel'\n\n// Utilities\nimport { genericComponent, useRender } from '@/util'\n\nexport const VFieldLabel = genericComponent()({\n name: 'VFieldLabel',\n\n props: {\n floating: Boolean,\n },\n\n setup (props, { slots }) {\n useRender(() => (\n <VLabel\n class={[\n 'v-field-label',\n { 'v-field-label--floating': props.floating },\n ]}\n aria-hidden={ props.floating || undefined }\n v-slots={ slots }\n />\n ))\n\n return {}\n },\n})\n\nexport type VFieldLabel = InstanceType<typeof VFieldLabel>\n"],"mappings":";AAAA;AAAA,SACSA,MAAM,+BAEf;AAAA,SACSC,gBAAgB,EAAEC,SAAS;AAEpC,OAAO,MAAMC,WAAW,GAAGF,gBAAgB,EAAE,CAAC;EAC5CG,IAAI,EAAE,aAAa;EAEnBC,KAAK,EAAE;IACLC,QAAQ,EAAEC;EACZ,CAAC;EAEDC,KAAK,CAAEH,KAAK,QAAa;IAAA,IAAX;MAAEI;IAAM,CAAC;IACrBP,SAAS,CAAC;MAAA,SAEC,CACL,eAAe,EACf;QAAE,yBAAyB,EAAEG,KAAK,CAACC;MAAS,CAAC,CAC9C;MAAA,eACaD,KAAK,CAACC,QAAQ,IAAII;IAAS,GAC/BD,KAAK,CAElB,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}