@volverjs/ui-vue 0.0.10-beta.29 → 0.0.10-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/icons.js +1 -1
- package/dist/.storybook/main.d.ts +3 -0
- package/dist/.storybook/preview.d.ts +89 -0
- package/dist/components/VvInputText/VvInputText.es.js +23 -8
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/index.es.js +23 -8
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/src/components/VvAccordion/VvAccordion.vue.d.ts +194 -0
- package/dist/{composables → src/composables}/group/useInjectedGroupState.d.ts +1 -1
- package/dist/{composables → src/composables}/usePersistence.d.ts +0 -1
- package/package.json +32 -32
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvInputText/VvInputText.vue +24 -12
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +0 -63
- package/dist/{Volver.d.ts → src/Volver.d.ts} +0 -0
- package/dist/{components → src/components}/VvAccordion/index.d.ts +0 -0
- package/dist/{components → src/components}/VvAccordionGroup/VvAccordionGroup.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvAccordionGroup/index.d.ts +0 -0
- package/dist/{components → src/components}/VvAction/VvAction.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvAction/index.d.ts +0 -0
- package/dist/{components → src/components}/VvAlert/VvAlert.vue.d.ts +1 -1
- package/dist/{components → src/components}/VvAlert/index.d.ts +0 -0
- package/dist/{components → src/components}/VvAlertGroup/VvAlertGroup.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvAlertGroup/index.d.ts +0 -0
- package/dist/{components → src/components}/VvAvatar/VvAvatar.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvAvatar/index.d.ts +0 -0
- package/dist/{components → src/components}/VvAvatarGroup/VvAvatarGroup.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvAvatarGroup/index.d.ts +0 -0
- package/dist/{components → src/components}/VvBadge/VvBadge.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvBadge/index.d.ts +0 -0
- package/dist/{components → src/components}/VvBreadcrumb/VvBreadcrumb.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvBreadcrumb/index.d.ts +0 -0
- package/dist/{components → src/components}/VvButton/VvButton.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvButton/index.d.ts +0 -0
- package/dist/{components → src/components}/VvButtonGroup/VvButtonGroup.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvButtonGroup/index.d.ts +0 -0
- package/dist/{components → src/components}/VvCard/VvCard.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvCard/index.d.ts +0 -0
- package/dist/{components → src/components}/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
- package/dist/{components → src/components}/VvCheckbox/index.d.ts +0 -0
- package/dist/{components → src/components}/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +1 -1
- package/dist/{components → src/components}/VvCheckboxGroup/index.d.ts +0 -0
- package/dist/{components → src/components}/VvCombobox/VvCombobox.vue.d.ts +4 -4
- package/dist/{components → src/components}/VvCombobox/index.d.ts +0 -0
- package/dist/{components → src/components}/VvDialog/VvDialog.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvDialog/index.d.ts +0 -0
- package/dist/{components → src/components}/VvDropdown/VvDropdown.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvDropdown/VvDropdownAction.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvDropdown/VvDropdownItem.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvDropdown/VvDropdownOptgroup.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvDropdown/VvDropdownOption.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvDropdown/index.d.ts +0 -0
- package/dist/{components → src/components}/VvIcon/VvIcon.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvIcon/index.d.ts +0 -0
- package/dist/{components → src/components}/VvInputFile/VvInputFile.vue.d.ts +2 -2
- package/dist/{components → src/components}/VvInputFile/index.d.ts +0 -0
- package/dist/{components → src/components}/VvInputText/VvInputClearAction.d.ts +0 -0
- package/dist/{components → src/components}/VvInputText/VvInputPasswordAction.d.ts +0 -0
- package/dist/{components → src/components}/VvInputText/VvInputStepAction.d.ts +0 -0
- package/dist/{components → src/components}/VvInputText/VvInputText.vue.d.ts +2 -2
- package/dist/{components → src/components}/VvInputText/VvInputTextActions.d.ts +0 -0
- package/dist/{components → src/components}/VvInputText/index.d.ts +0 -0
- package/dist/{components → src/components}/VvNav/VvNav.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvNav/VvNavItem.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvNav/VvNavSeparator.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvNav/index.d.ts +0 -0
- package/dist/{components → src/components}/VvProgress/VvProgress.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvProgress/index.d.ts +0 -0
- package/dist/{components → src/components}/VvRadio/VvRadio.vue.d.ts +1 -1
- package/dist/{components → src/components}/VvRadio/index.d.ts +0 -0
- package/dist/{components → src/components}/VvRadioGroup/VvRadioGroup.vue.d.ts +1 -1
- package/dist/{components → src/components}/VvRadioGroup/index.d.ts +0 -0
- package/dist/{components → src/components}/VvSelect/VvSelect.vue.d.ts +2 -2
- package/dist/{components → src/components}/VvSelect/index.d.ts +0 -0
- package/dist/{components → src/components}/VvTab/VvTab.vue.d.ts +0 -0
- package/dist/{components → src/components}/VvTab/index.d.ts +0 -0
- package/dist/{components → src/components}/VvTextarea/VvTextarea.vue.d.ts +2 -2
- /package/dist/{components → src/components}/VvTextarea/index.d.ts +0 -0
- /package/dist/{components → src/components}/VvTooltip/VvTooltip.vue.d.ts +0 -0
- /package/dist/{components → src/components}/VvTooltip/index.d.ts +0 -0
- /package/dist/{components → src/components}/common/HintSlot.d.ts +0 -0
- /package/dist/{components → src/components}/index.d.ts +0 -0
- /package/dist/{composables → src/composables}/alert/useAlert.d.ts +0 -0
- /package/dist/{composables → src/composables}/alert/useInjectAlert.d.ts +0 -0
- /package/dist/{composables → src/composables}/alert/useProvideAlert.d.ts +0 -0
- /package/dist/{composables → src/composables}/dropdown/useInjectDropdown.d.ts +0 -0
- /package/dist/{composables → src/composables}/dropdown/useProvideDropdown.d.ts +0 -0
- /package/dist/{composables → src/composables}/group/useProvideGroupState.d.ts +0 -0
- /package/dist/{composables → src/composables}/index.d.ts +0 -0
- /package/dist/{composables → src/composables}/useBlurhash.d.ts +0 -0
- /package/dist/{composables → src/composables}/useComponentFocus.d.ts +0 -0
- /package/dist/{composables → src/composables}/useComponentIcon.d.ts +0 -0
- /package/dist/{composables → src/composables}/useDebouncedInput.d.ts +0 -0
- /package/dist/{composables → src/composables}/useDefaults.d.ts +0 -0
- /package/dist/{composables → src/composables}/useModifiers.d.ts +0 -0
- /package/dist/{composables → src/composables}/useOptions.d.ts +0 -0
- /package/dist/{composables → src/composables}/useTextCount.d.ts +0 -0
- /package/dist/{composables → src/composables}/useUniqueId.d.ts +0 -0
- /package/dist/{composables → src/composables}/useVolver.d.ts +0 -0
- /package/dist/{constants.d.ts → src/constants.d.ts} +0 -0
- /package/dist/{directives → src/directives}/index.d.ts +0 -0
- /package/dist/{directives → src/directives}/v-contextmenu.d.ts +0 -0
- /package/dist/{directives → src/directives}/v-tooltip.d.ts +0 -0
- /package/dist/{icons.d.ts → src/icons.d.ts} +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{props → src/props}/index.d.ts +0 -0
- /package/dist/{resolvers → src/resolvers}/unplugin.d.ts +0 -0
- /package/dist/{stories → src/stories}/Accordion/Accordion.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Accordion/Accordion.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Accordion/Accordion.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Accordion/AccordionSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AccordionGroup/AccordionGroup.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/AccordionGroup/AccordionGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AccordionGroup/AccordionGroup.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/AccordionGroup/AccordionGroupSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Alert/Alert.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Alert/Alert.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Alert/Alert.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Alert/AlertModifiers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Alert/AlertSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AlertGroup/AlertGroup.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/AlertGroup/AlertGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AlertGroup/AlertGroup.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/AlertGroup/AlertGroupPosition.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AlertGroup/AlertGroupSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AlertGroup/AlertGroupWithComposable.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Avatar/Avatar.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Avatar/Avatar.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Avatar/Avatar.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Avatar/AvatarBadge.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Avatar/AvatarModifiers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Avatar/AvatarSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AvatarGroup/AvatarGroup.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/AvatarGroup/AvatarGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AvatarGroup/AvatarGroup.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/AvatarGroup/AvatarGroupModifiers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/AvatarGroup/AvatarGroupSlotDefault.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Badge/Badge.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Badge/Badge.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Badge/Badge.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Badge/BadgeSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Blurhash/BlurhashComposable.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Breadcrumb/Breadcrumb.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Breadcrumb/Breadcrumb.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Breadcrumb/Breadcrumb.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Breadcrumb/BreadcrumbSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/Button.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/Button.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/Button.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonIcon.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonLink.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonLoading.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonModifiers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonState.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Button/ButtonToggle.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/ButtonGroup/ButtonGroup.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/ButtonGroup/ButtonGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/ButtonGroup/ButtonGroup.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/ButtonGroup/ButtonGroupModifiers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/ButtonGroup/ButtonGroupSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/ButtonGroup/ButtonGroupToggle.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Card/Card.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Card/Card.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Card/Card.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Card/CardSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Checkbox/Checkbox.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Checkbox/Checkbox.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Checkbox/Checkbox.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Checkbox/CheckboxBinary.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Checkbox/CheckboxSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/CheckboxGroup/CheckboxGroup.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/CheckboxGroup/CheckboxGroup.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/CheckboxGroup/CheckboxGroupOptions.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/CheckboxGroup/CheckboxGroupSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/Combobox.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/Combobox.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/Combobox.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/ComboboxIconPosition.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/ComboboxMultiple.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/ComboboxOptions.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Combobox/ComboboxSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dialog/Dialog.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dialog/Dialog.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dialog/Dialog.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dialog/DialogSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dropdown/Dropdown.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dropdown/Dropdown.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dropdown/Dropdown.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dropdown/DropdownContextmenuDirective.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dropdown/DropdownMultilevel.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Dropdown/DropdownSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Icon/Icon.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Icon/Icon.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Icon/IconsCollection.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputFile/InputFile.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputFile/InputFile.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputFile/InputFileDropArea.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputFile/InputFileIconPosition.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputFile/InputFileSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputText.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputText.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputText.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputTextIconPosition.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputTextLength.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputTextMask.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputTextMinMax.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputTextSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/InputText/InputTextType.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Nav/Nav.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Nav/Nav.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Nav/Nav.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Nav/NavModifiers.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Progress/Progress.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Progress/Progress.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Progress/Progress.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Radio/Radio.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Radio/Radio.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Radio/Radio.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Radio/RadioSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/RadioGroup/RadioGroup.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/RadioGroup/RadioGroup.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/RadioGroup/RadioGroup.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/RadioGroup/RadioGroupOptions.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/RadioGroup/RadioGroupSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Select/Select.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Select/Select.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Select/Select.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Select/SelectIconPosition.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Select/SelectOptions.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Select/SelectSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tab/Tab.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tab/Tab.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tab/Tab.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Textarea/Textarea.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Textarea/Textarea.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Textarea/Textarea.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Textarea/TextareaLength.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Textarea/TextareaSlots.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Textarea/TextareatIconPosition.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tooltip/Tooltip.settings.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tooltip/Tooltip.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tooltip/Tooltip.test.d.ts +0 -0
- /package/dist/{stories → src/stories}/Tooltip/TooltipDirective.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/argTypes.d.ts +0 -0
- /package/dist/{test → src/test}/expect.d.ts +0 -0
- /package/dist/{test → src/test}/options.d.ts +0 -0
- /package/dist/{test → src/test}/sleep.d.ts +0 -0
- /package/dist/{types → src/types}/alert.d.ts +0 -0
- /package/dist/{types → src/types}/blurhash.d.ts +0 -0
- /package/dist/{types → src/types}/floating-ui.d.ts +0 -0
- /package/dist/{types → src/types}/generic.d.ts +0 -0
- /package/dist/{types → src/types}/group.d.ts +0 -0
- /package/dist/{types → src/types}/index.d.ts +0 -0
- /package/dist/{types → src/types}/input-file.d.ts +0 -0
- /package/dist/{types → src/types}/nav.d.ts +0 -0
- /package/dist/{utils → src/utils}/ObjectUtilities.d.ts +0 -0
- /package/dist/{workers → src/workers}/blurhash.d.ts +0 -0
|
@@ -59,6 +59,13 @@
|
|
|
59
59
|
props.floating && isEmpty(props.placeholder) ? ' ' : props.placeholder,
|
|
60
60
|
)
|
|
61
61
|
|
|
62
|
+
// debounce
|
|
63
|
+
const localModelValue = useDebouncedInput(
|
|
64
|
+
modelValue,
|
|
65
|
+
emit,
|
|
66
|
+
debounce?.value ?? 0,
|
|
67
|
+
)
|
|
68
|
+
|
|
62
69
|
// mask
|
|
63
70
|
const maskReady = ref(false)
|
|
64
71
|
const { el, mask, typed, masked, unmasked } = useIMask(
|
|
@@ -152,20 +159,32 @@
|
|
|
152
159
|
},
|
|
153
160
|
},
|
|
154
161
|
)
|
|
162
|
+
const updateMaskValue = (newValue: string | number | undefined) => {
|
|
163
|
+
if (iMask) {
|
|
164
|
+
if (newValue === undefined) {
|
|
165
|
+
typed.value = ''
|
|
166
|
+
unmasked.value = ''
|
|
167
|
+
return
|
|
168
|
+
}
|
|
169
|
+
if (iMask.value?.mask === Date) {
|
|
170
|
+
typed.value = new Date(newValue)
|
|
171
|
+
return
|
|
172
|
+
}
|
|
173
|
+
typed.value = newValue
|
|
174
|
+
unmasked.value = `${typed.value}`
|
|
175
|
+
}
|
|
176
|
+
}
|
|
155
177
|
onMounted(() => {
|
|
156
178
|
if (mask.value) {
|
|
157
179
|
maskReady.value = true
|
|
158
|
-
|
|
180
|
+
updateMaskValue(props.modelValue)
|
|
159
181
|
}
|
|
160
182
|
})
|
|
161
183
|
watch(
|
|
162
184
|
() => props.modelValue,
|
|
163
185
|
(newValue) => {
|
|
164
186
|
if (mask.value) {
|
|
165
|
-
|
|
166
|
-
newValue && iMask?.value?.mask === Date
|
|
167
|
-
? new Date(newValue)
|
|
168
|
-
: newValue ?? ''
|
|
187
|
+
updateMaskValue(newValue)
|
|
169
188
|
}
|
|
170
189
|
},
|
|
171
190
|
)
|
|
@@ -184,13 +203,6 @@
|
|
|
184
203
|
|
|
185
204
|
defineExpose({ $inner: innerEl })
|
|
186
205
|
|
|
187
|
-
// debounce
|
|
188
|
-
const localModelValue = useDebouncedInput(
|
|
189
|
-
modelValue,
|
|
190
|
-
emit,
|
|
191
|
-
debounce?.value ?? 0,
|
|
192
|
-
)
|
|
193
|
-
|
|
194
206
|
// focus
|
|
195
207
|
const { focused } = useComponentFocus(inputEl, emit)
|
|
196
208
|
const isFocused = computed(
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
name: StringConstructor;
|
|
3
|
-
title: StringConstructor;
|
|
4
|
-
content: StringConstructor;
|
|
5
|
-
modelValue: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
disabled: BooleanConstructor;
|
|
10
|
-
not: BooleanConstructor;
|
|
11
|
-
modifiers: {
|
|
12
|
-
type: globalThis.PropType<string | string[]>;
|
|
13
|
-
default: undefined;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
isExpanded: globalThis.Ref<boolean>;
|
|
17
|
-
expand: () => void;
|
|
18
|
-
collapse: () => void;
|
|
19
|
-
groupExpand: (name?: string | string[]) => void;
|
|
20
|
-
groupCollapse: (name?: string | string[]) => void;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
[x: string]: (...args: any[]) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
|
-
name: StringConstructor;
|
|
25
|
-
title: StringConstructor;
|
|
26
|
-
content: StringConstructor;
|
|
27
|
-
modelValue: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: undefined;
|
|
30
|
-
};
|
|
31
|
-
disabled: BooleanConstructor;
|
|
32
|
-
not: BooleanConstructor;
|
|
33
|
-
modifiers: {
|
|
34
|
-
type: globalThis.PropType<string | string[]>;
|
|
35
|
-
default: undefined;
|
|
36
|
-
};
|
|
37
|
-
}>>, {
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
modelValue: boolean;
|
|
40
|
-
not: boolean;
|
|
41
|
-
modifiers: string | string[];
|
|
42
|
-
}, {}>, {
|
|
43
|
-
summary?(_: {
|
|
44
|
-
isExpanded: boolean;
|
|
45
|
-
expand: () => void;
|
|
46
|
-
collapse: () => void;
|
|
47
|
-
groupExpand: (name?: string | string[]) => void;
|
|
48
|
-
groupCollapse: (name?: string | string[]) => void;
|
|
49
|
-
}): any;
|
|
50
|
-
default?(_: {
|
|
51
|
-
isExpanded: boolean;
|
|
52
|
-
expand: () => void;
|
|
53
|
-
collapse: () => void;
|
|
54
|
-
groupExpand: (name?: string | string[]) => void;
|
|
55
|
-
groupCollapse: (name?: string | string[]) => void;
|
|
56
|
-
}): any;
|
|
57
|
-
}>;
|
|
58
|
-
export default _default;
|
|
59
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
-
new (): {
|
|
61
|
-
$slots: S;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
94
94
|
modifiers: string | string[];
|
|
95
95
|
footer: string;
|
|
96
96
|
role: "alert" | "alertdialog";
|
|
97
|
+
icon: string | import("../VvIcon/index.js").VvIconProps;
|
|
97
98
|
dismissable: boolean;
|
|
98
99
|
autoClose: number;
|
|
99
100
|
closeLabel: string;
|
|
100
|
-
icon: string | import("../VvIcon/index.js").VvIconProps;
|
|
101
101
|
iconPosition: "before" | "after";
|
|
102
102
|
}, {}>, {
|
|
103
103
|
header?(_: {}): any;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -137,10 +137,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
137
137
|
modelValue: string | number | boolean | Record<string, any>;
|
|
138
138
|
modifiers: string | string[];
|
|
139
139
|
switch: boolean;
|
|
140
|
+
readonly: boolean;
|
|
140
141
|
loading: boolean;
|
|
141
142
|
loadingLabel: string;
|
|
142
143
|
indeterminate: boolean;
|
|
143
|
-
readonly: boolean;
|
|
144
144
|
hintLabel: string;
|
|
145
145
|
invalid: boolean;
|
|
146
146
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
@@ -153,9 +153,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
153
153
|
disabled: boolean;
|
|
154
154
|
modelValue: string | number | boolean | symbol | unknown[];
|
|
155
155
|
modifiers: string | string[];
|
|
156
|
+
readonly: boolean;
|
|
156
157
|
loading: boolean;
|
|
157
158
|
loadingLabel: string;
|
|
158
|
-
readonly: boolean;
|
|
159
159
|
hintLabel: string;
|
|
160
160
|
invalid: boolean;
|
|
161
161
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
@@ -700,9 +700,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
700
700
|
} | undefined;
|
|
701
701
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
702
702
|
}> | undefined;
|
|
703
|
-
|
|
704
|
-
icon: string | import("../VvIcon").VvIconProps;
|
|
705
|
-
iconPosition: "before" | "after";
|
|
703
|
+
readonly: boolean;
|
|
706
704
|
flip: boolean | {
|
|
707
705
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
708
706
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
@@ -728,11 +726,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
728
726
|
flipAlignment?: boolean | undefined;
|
|
729
727
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
730
728
|
}> | undefined;
|
|
729
|
+
icon: string | import("../VvIcon").VvIconProps;
|
|
730
|
+
closeLabel: string;
|
|
731
|
+
iconPosition: "before" | "after";
|
|
731
732
|
loading: boolean;
|
|
732
733
|
loadingLabel: string;
|
|
733
734
|
unselectable: boolean;
|
|
734
735
|
multiple: boolean;
|
|
735
|
-
readonly: boolean;
|
|
736
736
|
hintLabel: string;
|
|
737
737
|
invalid: boolean;
|
|
738
738
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -300,12 +300,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
300
300
|
label: string | number;
|
|
301
301
|
modifiers: string | string[];
|
|
302
302
|
progress: string | number;
|
|
303
|
+
readonly: boolean;
|
|
303
304
|
icon: string | import("../VvIcon").VvIconProps;
|
|
304
305
|
iconPosition: "before" | "after";
|
|
305
306
|
loading: boolean;
|
|
306
307
|
loadingLabel: string;
|
|
307
308
|
multiple: boolean;
|
|
308
|
-
readonly: boolean;
|
|
309
309
|
hintLabel: string;
|
|
310
310
|
invalid: boolean;
|
|
311
311
|
invalidLabel: string | unknown[];
|
|
@@ -313,8 +313,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
313
313
|
validLabel: string | unknown[];
|
|
314
314
|
placeholder: string;
|
|
315
315
|
accept: string;
|
|
316
|
-
capture: "user" | "environment";
|
|
317
316
|
max: string | number;
|
|
317
|
+
capture: "user" | "environment";
|
|
318
318
|
dropArea: boolean;
|
|
319
319
|
sortable: boolean;
|
|
320
320
|
labelAdd: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -382,14 +382,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
382
382
|
disabled: boolean;
|
|
383
383
|
modifiers: string | string[];
|
|
384
384
|
type: import("../VvInputText").InputType;
|
|
385
|
+
readonly: boolean;
|
|
385
386
|
storageType: "local" | "session";
|
|
387
|
+
required: boolean;
|
|
386
388
|
icon: string | import("../VvIcon").VvIconProps;
|
|
387
389
|
iconPosition: "before" | "after";
|
|
388
|
-
required: boolean;
|
|
389
390
|
loading: boolean;
|
|
390
391
|
loadingLabel: string;
|
|
391
392
|
multiple: boolean;
|
|
392
|
-
readonly: boolean;
|
|
393
393
|
hintLabel: string;
|
|
394
394
|
invalid: boolean;
|
|
395
395
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -130,9 +130,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
130
130
|
disabled: boolean;
|
|
131
131
|
modelValue: string | number | boolean | Record<string, any>;
|
|
132
132
|
modifiers: string | string[];
|
|
133
|
+
readonly: boolean;
|
|
133
134
|
loading: boolean;
|
|
134
135
|
loadingLabel: string;
|
|
135
|
-
readonly: boolean;
|
|
136
136
|
hintLabel: string;
|
|
137
137
|
invalid: boolean;
|
|
138
138
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
@@ -153,9 +153,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
153
153
|
disabled: boolean;
|
|
154
154
|
modelValue: string | number | boolean | symbol | unknown[];
|
|
155
155
|
modifiers: string | string[];
|
|
156
|
+
readonly: boolean;
|
|
156
157
|
loading: boolean;
|
|
157
158
|
loadingLabel: string;
|
|
158
|
-
readonly: boolean;
|
|
159
159
|
hintLabel: string;
|
|
160
160
|
invalid: boolean;
|
|
161
161
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
@@ -214,14 +214,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
214
214
|
disabled: boolean;
|
|
215
215
|
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
216
216
|
modifiers: string | string[];
|
|
217
|
+
readonly: boolean;
|
|
218
|
+
required: boolean;
|
|
217
219
|
icon: string | import("../VvIcon/index.js").VvIconProps;
|
|
218
220
|
iconPosition: "before" | "after";
|
|
219
|
-
required: boolean;
|
|
220
221
|
loading: boolean;
|
|
221
222
|
loadingLabel: string;
|
|
222
223
|
unselectable: boolean;
|
|
223
224
|
multiple: boolean;
|
|
224
|
-
readonly: boolean;
|
|
225
225
|
hintLabel: string;
|
|
226
226
|
invalid: boolean;
|
|
227
227
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -241,12 +241,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
241
241
|
label: string | number;
|
|
242
242
|
disabled: boolean;
|
|
243
243
|
modifiers: string | string[];
|
|
244
|
+
readonly: boolean;
|
|
245
|
+
required: boolean;
|
|
244
246
|
icon: string | import("../VvIcon").VvIconProps;
|
|
245
247
|
iconPosition: "before" | "after";
|
|
246
|
-
required: boolean;
|
|
247
248
|
loading: boolean;
|
|
248
249
|
loadingLabel: string;
|
|
249
|
-
readonly: boolean;
|
|
250
250
|
hintLabel: string;
|
|
251
251
|
invalid: boolean;
|
|
252
252
|
invalidLabel: string | unknown[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|