Update npm dependencies

This commit is contained in:
Bubka
2024-03-31 16:06:46 +02:00
parent f43fc97523
commit 5fb1d60636
7 changed files with 690 additions and 614 deletions

View File

@ -5,8 +5,6 @@
inheritAttrs: false
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
const props = defineProps({
modelValue: [String, Number, Boolean],
label: {
@ -47,6 +45,8 @@
leftIcon: '',
rightIcon: '',
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
</script>
<template>

View File

@ -5,9 +5,7 @@
defineOptions({
inheritAttrs: false
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
const props = defineProps({
modelValue: String,
modelModifiers: { default: () => ({}) },
@ -55,6 +53,8 @@
}
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
const fieldIsLocked = ref(props.isDisabled || props.isEditMode)
const hasBeenTrimmed = ref(false)
const componentKey = ref(0);

View File

@ -5,10 +5,6 @@
inheritAttrs: true
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
const currentType = ref(props.inputType)
const hasCapsLockOn = ref(false)
const props = defineProps({
modelValue: [String],
label: {
@ -47,6 +43,10 @@
},
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
const currentType = ref(props.inputType)
const hasCapsLockOn = ref(false)
const hasLowerCase = computed(() => {
return /[a-z]/.test(props.modelValue)
})

View File

@ -5,8 +5,6 @@
inheritAttrs: false
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
const props = defineProps({
modelValue: [String, Number, Boolean],
label: {
@ -45,6 +43,8 @@
},
isIndented: Boolean,
})
const { inputId } = useIdGenerator(props.inputType, props.fieldName)
</script>
<template>