init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

20
node_modules/buetify/lib/composables/labelId/useLabelId.js generated vendored Executable file
View File

@@ -0,0 +1,20 @@
import { computed, toRef } from 'vue';
let numId = 0;
export const UseLabelIdPropsDefinition = {
labelFor: String,
label: {
type: String,
default: ''
}
};
export function useLabelId(props, prefix) {
const newId = numId++;
const id = computed(() => props.labelFor ? props.labelFor : `${prefix}-${newId}`);
const labelId = computed(() => `label-for-${id.value}`);
return {
id,
labelId,
label: toRef(props, 'label')
};
}
//# sourceMappingURL=useLabelId.js.map