@volverjs/ui-vue 0.0.10-beta.38 → 0.0.10-beta.39
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/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +12 -5
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +49 -25
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +2 -0
- package/dist/components/VvInputFile/VvInputFile.es.js +15 -9
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +12 -5
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +30 -11
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/index.es.js +66 -34
- 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/VvCombobox/VvCombobox.vue.d.ts +698 -0
- package/dist/{components/VvCombobox/VvCombobox.vue.d.ts → src/components/VvCombobox/index.d.ts} +201 -262
- package/dist/{components → src/components}/VvDialog/index.d.ts +1 -0
- package/dist/{components → src/components}/VvInputFile/VvInputFile.vue.d.ts +40 -8
- package/dist/{components → src/components}/VvInputFile/index.d.ts +17 -7
- package/dist/src/components/VvSelect/VvSelect.vue.d.ts +230 -0
- package/dist/{components/VvSelect/VvSelect.vue.d.ts → src/components/VvSelect/index.d.ts} +64 -82
- package/dist/{composables → src/composables}/useComponentFocus.d.ts +1 -1
- package/dist/src/composables/useOptions.d.ts +8 -0
- package/dist/{types → src/types}/input-file.d.ts +2 -2
- package/package.json +7 -7
- 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/VvCombobox/VvCombobox.vue +17 -19
- package/src/components/VvCombobox/index.ts +29 -8
- package/src/components/VvDialog/VvDialog.vue +1 -0
- package/src/components/VvDialog/index.ts +1 -0
- package/src/components/VvInputFile/VvInputFile.vue +15 -12
- package/src/components/VvInputFile/index.ts +6 -0
- package/src/components/VvSelect/VvSelect.vue +11 -10
- package/src/components/VvSelect/index.ts +19 -1
- package/src/composables/useComponentFocus.ts +1 -1
- package/src/composables/useOptions.ts +19 -13
- package/src/stories/Combobox/Combobox.stories.ts +1 -0
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +1 -0
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +1 -0
- package/src/stories/Combobox/ComboboxOptions.stories.ts +1 -0
- package/src/stories/Combobox/ComboboxSlots.stories.ts +1 -0
- package/src/stories/Select/Select.stories.ts +1 -0
- package/src/stories/Select/SelectIconPosition.stories.ts +1 -0
- package/src/stories/Select/SelectOptions.stories.ts +1 -0
- package/src/stories/Select/SelectSlots.stories.ts +1 -0
- package/src/types/input-file.ts +2 -2
- package/dist/components/VvCombobox/index.d.ts +0 -391
- package/dist/components/VvSelect/index.d.ts +0 -127
- package/dist/composables/useOptions.d.ts +0 -8
- /package/dist/{Volver.d.ts → src/Volver.d.ts} +0 -0
- /package/dist/{components → src/components}/VvAccordion/VvAccordion.vue.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 +0 -0
- /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 +0 -0
- /package/dist/{components → src/components}/VvCheckbox/index.d.ts +0 -0
- /package/dist/{components → src/components}/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +0 -0
- /package/dist/{components → src/components}/VvCheckboxGroup/index.d.ts +0 -0
- /package/dist/{components → src/components}/VvDialog/VvDialog.vue.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}/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 +0 -0
- /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 +0 -0
- /package/dist/{components → src/components}/VvRadio/index.d.ts +0 -0
- /package/dist/{components → src/components}/VvRadioGroup/VvRadioGroup.vue.d.ts +0 -0
- /package/dist/{components → src/components}/VvRadioGroup/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 +0 -0
- /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/useInjectedGroupState.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}/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}/usePersistence.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/DialogModifiers.stories.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}/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
|
@@ -4,14 +4,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
4
4
|
name: string;
|
|
5
5
|
size: number;
|
|
6
6
|
type: string;
|
|
7
|
-
url
|
|
7
|
+
url?: string | undefined;
|
|
8
8
|
thumbnailUrl?: string | undefined;
|
|
9
9
|
lastModified?: number | undefined;
|
|
10
10
|
} | File | ({
|
|
11
11
|
name: string;
|
|
12
12
|
size: number;
|
|
13
13
|
type: string;
|
|
14
|
-
url
|
|
14
|
+
url?: string | undefined;
|
|
15
15
|
thumbnailUrl?: string | undefined;
|
|
16
16
|
lastModified?: number | undefined;
|
|
17
17
|
} | File)[]>;
|
|
@@ -132,35 +132,51 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
132
132
|
};
|
|
133
133
|
id: (StringConstructor | NumberConstructor)[];
|
|
134
134
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
135
|
+
download: (args_0: {
|
|
136
|
+
name: string;
|
|
137
|
+
size: number;
|
|
138
|
+
type: string;
|
|
139
|
+
url?: string | undefined;
|
|
140
|
+
thumbnailUrl?: string | undefined;
|
|
141
|
+
lastModified?: number | undefined;
|
|
142
|
+
} | File) => void;
|
|
135
143
|
"update:modelValue": (args_0: {
|
|
136
144
|
name: string;
|
|
137
145
|
size: number;
|
|
138
146
|
type: string;
|
|
139
|
-
url
|
|
147
|
+
url?: string | undefined;
|
|
140
148
|
thumbnailUrl?: string | undefined;
|
|
141
149
|
lastModified?: number | undefined;
|
|
142
150
|
} | File | ({
|
|
143
151
|
name: string;
|
|
144
152
|
size: number;
|
|
145
153
|
type: string;
|
|
146
|
-
url
|
|
154
|
+
url?: string | undefined;
|
|
147
155
|
thumbnailUrl?: string | undefined;
|
|
148
156
|
lastModified?: number | undefined;
|
|
149
157
|
} | File)[] | undefined) => void;
|
|
158
|
+
remove: (args_0: {
|
|
159
|
+
name: string;
|
|
160
|
+
size: number;
|
|
161
|
+
type: string;
|
|
162
|
+
url?: string | undefined;
|
|
163
|
+
thumbnailUrl?: string | undefined;
|
|
164
|
+
lastModified?: number | undefined;
|
|
165
|
+
} | File) => void;
|
|
150
166
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
151
167
|
modelValue: {
|
|
152
168
|
type: globalThis.PropType<{
|
|
153
169
|
name: string;
|
|
154
170
|
size: number;
|
|
155
171
|
type: string;
|
|
156
|
-
url
|
|
172
|
+
url?: string | undefined;
|
|
157
173
|
thumbnailUrl?: string | undefined;
|
|
158
174
|
lastModified?: number | undefined;
|
|
159
175
|
} | File | ({
|
|
160
176
|
name: string;
|
|
161
177
|
size: number;
|
|
162
178
|
type: string;
|
|
163
|
-
url
|
|
179
|
+
url?: string | undefined;
|
|
164
180
|
thumbnailUrl?: string | undefined;
|
|
165
181
|
lastModified?: number | undefined;
|
|
166
182
|
} | File)[]>;
|
|
@@ -285,17 +301,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
285
301
|
name: string;
|
|
286
302
|
size: number;
|
|
287
303
|
type: string;
|
|
288
|
-
url
|
|
304
|
+
url?: string | undefined;
|
|
289
305
|
thumbnailUrl?: string | undefined;
|
|
290
306
|
lastModified?: number | undefined;
|
|
291
307
|
} | File | ({
|
|
292
308
|
name: string;
|
|
293
309
|
size: number;
|
|
294
310
|
type: string;
|
|
295
|
-
url
|
|
311
|
+
url?: string | undefined;
|
|
296
312
|
thumbnailUrl?: string | undefined;
|
|
297
313
|
lastModified?: number | undefined;
|
|
298
314
|
} | File)[] | undefined) => any) | undefined;
|
|
315
|
+
onDownload?: ((args_0: {
|
|
316
|
+
name: string;
|
|
317
|
+
size: number;
|
|
318
|
+
type: string;
|
|
319
|
+
url?: string | undefined;
|
|
320
|
+
thumbnailUrl?: string | undefined;
|
|
321
|
+
lastModified?: number | undefined;
|
|
322
|
+
} | File) => any) | undefined;
|
|
323
|
+
onRemove?: ((args_0: {
|
|
324
|
+
name: string;
|
|
325
|
+
size: number;
|
|
326
|
+
type: string;
|
|
327
|
+
url?: string | undefined;
|
|
328
|
+
thumbnailUrl?: string | undefined;
|
|
329
|
+
lastModified?: number | undefined;
|
|
330
|
+
} | File) => any) | undefined;
|
|
299
331
|
}, {
|
|
300
332
|
label: string | number;
|
|
301
333
|
modifiers: string | string[];
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { type VvIconProps } from '../VvIcon';
|
|
2
2
|
import type { UploadedFile } from '@/types';
|
|
3
3
|
export type VvInputFileEvents = {
|
|
4
|
+
'remove': [
|
|
5
|
+
File | UploadedFile
|
|
6
|
+
];
|
|
7
|
+
'download': [
|
|
8
|
+
File | UploadedFile
|
|
9
|
+
];
|
|
4
10
|
'update:modelValue': [
|
|
5
11
|
File | UploadedFile | (File | UploadedFile)[] | undefined
|
|
6
12
|
];
|
|
@@ -14,14 +20,14 @@ export declare const VvInputFileProps: {
|
|
|
14
20
|
name: string;
|
|
15
21
|
size: number;
|
|
16
22
|
type: string;
|
|
17
|
-
url
|
|
23
|
+
url?: string | undefined;
|
|
18
24
|
thumbnailUrl?: string | undefined;
|
|
19
25
|
lastModified?: number | undefined;
|
|
20
26
|
} | File | ({
|
|
21
27
|
name: string;
|
|
22
28
|
size: number;
|
|
23
29
|
type: string;
|
|
24
|
-
url
|
|
30
|
+
url?: string | undefined;
|
|
25
31
|
thumbnailUrl?: string | undefined;
|
|
26
32
|
lastModified?: number | undefined;
|
|
27
33
|
} | File)[]>;
|
|
@@ -155,6 +161,10 @@ export declare const VvInputFileProps: {
|
|
|
155
161
|
};
|
|
156
162
|
loading: {
|
|
157
163
|
type: BooleanConstructor;
|
|
164
|
+
/**
|
|
165
|
+
* Front or rear camera
|
|
166
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
|
|
167
|
+
*/
|
|
158
168
|
default: boolean;
|
|
159
169
|
};
|
|
160
170
|
loadingLabel: {
|
|
@@ -162,10 +172,7 @@ export declare const VvInputFileProps: {
|
|
|
162
172
|
default: string;
|
|
163
173
|
};
|
|
164
174
|
label: {
|
|
165
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
166
|
-
* VvIcon name for replace button
|
|
167
|
-
* @see VVIcon
|
|
168
|
-
*/
|
|
175
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
169
176
|
default: undefined;
|
|
170
177
|
};
|
|
171
178
|
hintLabel: {
|
|
@@ -186,7 +193,10 @@ export declare const VvInputFileProps: {
|
|
|
186
193
|
};
|
|
187
194
|
validLabel: {
|
|
188
195
|
type: (ArrayConstructor | StringConstructor)[];
|
|
189
|
-
default: undefined;
|
|
196
|
+
default: undefined; /**
|
|
197
|
+
* File types to accept
|
|
198
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
199
|
+
*/
|
|
190
200
|
};
|
|
191
201
|
modifiers: {
|
|
192
202
|
type: globalThis.PropType<string | string[]>;
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import type { Option } from '../../types/generic';
|
|
2
|
+
declare const _default: <T extends string | Option>(__VLS_props: {
|
|
3
|
+
floating?: boolean | undefined;
|
|
4
|
+
readonly name?: string | undefined;
|
|
5
|
+
options?: T[] | undefined;
|
|
6
|
+
readonly size?: string | number | undefined;
|
|
7
|
+
label?: string | number | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
10
|
+
modifiers?: string | string[] | undefined;
|
|
11
|
+
readonly?: boolean | undefined;
|
|
12
|
+
readonly id?: string | number | undefined;
|
|
13
|
+
onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
14
|
+
onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
|
|
17
|
+
iconPosition?: "before" | "after" | undefined;
|
|
18
|
+
loading?: boolean | undefined;
|
|
19
|
+
loadingLabel?: string | undefined;
|
|
20
|
+
unselectable?: boolean | undefined;
|
|
21
|
+
multiple?: boolean | undefined;
|
|
22
|
+
hintLabel?: string | undefined;
|
|
23
|
+
valid?: boolean | undefined;
|
|
24
|
+
validLabel?: string | unknown[] | undefined;
|
|
25
|
+
invalid?: boolean | undefined;
|
|
26
|
+
invalidLabel?: string | unknown[] | undefined;
|
|
27
|
+
tabindex?: string | number | undefined;
|
|
28
|
+
labelKey?: string | Function | undefined;
|
|
29
|
+
valueKey?: string | Function | undefined;
|
|
30
|
+
disabledKey?: string | Function | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
|
|
32
|
+
readonly placeholder?: string | undefined;
|
|
33
|
+
autocomplete?: string | undefined;
|
|
34
|
+
autofocus?: boolean | undefined;
|
|
35
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
36
|
+
slots: {
|
|
37
|
+
before?(_: {
|
|
38
|
+
valid: boolean;
|
|
39
|
+
invalid: boolean;
|
|
40
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
41
|
+
}): any;
|
|
42
|
+
after?(_: {
|
|
43
|
+
valid: boolean;
|
|
44
|
+
invalid: boolean;
|
|
45
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
46
|
+
}): any;
|
|
47
|
+
hint?(_: {
|
|
48
|
+
modelValue: unknown;
|
|
49
|
+
valid: boolean;
|
|
50
|
+
invalid: boolean;
|
|
51
|
+
loading: boolean;
|
|
52
|
+
}): any;
|
|
53
|
+
loading?(_: {
|
|
54
|
+
modelValue: unknown;
|
|
55
|
+
valid: boolean;
|
|
56
|
+
invalid: boolean;
|
|
57
|
+
loading: boolean;
|
|
58
|
+
}): any;
|
|
59
|
+
valid?(_: {
|
|
60
|
+
modelValue: unknown;
|
|
61
|
+
valid: boolean;
|
|
62
|
+
invalid: boolean;
|
|
63
|
+
loading: boolean;
|
|
64
|
+
}): any;
|
|
65
|
+
invalid?(_: {
|
|
66
|
+
modelValue: unknown;
|
|
67
|
+
valid: boolean;
|
|
68
|
+
invalid: boolean;
|
|
69
|
+
loading: boolean;
|
|
70
|
+
}): any;
|
|
71
|
+
};
|
|
72
|
+
attrs: any;
|
|
73
|
+
emit: ((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void);
|
|
74
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
75
|
+
props: {
|
|
76
|
+
floating?: boolean | undefined;
|
|
77
|
+
readonly name?: string | undefined;
|
|
78
|
+
options?: T[] | undefined;
|
|
79
|
+
readonly size?: string | number | undefined;
|
|
80
|
+
label?: string | number | undefined;
|
|
81
|
+
disabled?: boolean | undefined;
|
|
82
|
+
modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
83
|
+
modifiers?: string | string[] | undefined;
|
|
84
|
+
readonly?: boolean | undefined;
|
|
85
|
+
readonly id?: string | number | undefined;
|
|
86
|
+
onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
87
|
+
onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
88
|
+
required?: boolean | undefined;
|
|
89
|
+
icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
|
|
90
|
+
iconPosition?: "before" | "after" | undefined;
|
|
91
|
+
loading?: boolean | undefined;
|
|
92
|
+
loadingLabel?: string | undefined;
|
|
93
|
+
unselectable?: boolean | undefined;
|
|
94
|
+
multiple?: boolean | undefined;
|
|
95
|
+
hintLabel?: string | undefined;
|
|
96
|
+
valid?: boolean | undefined;
|
|
97
|
+
validLabel?: string | unknown[] | undefined;
|
|
98
|
+
invalid?: boolean | undefined;
|
|
99
|
+
invalidLabel?: string | unknown[] | undefined;
|
|
100
|
+
tabindex?: string | number | undefined;
|
|
101
|
+
labelKey?: string | Function | undefined;
|
|
102
|
+
valueKey?: string | Function | undefined;
|
|
103
|
+
disabledKey?: string | Function | undefined;
|
|
104
|
+
"onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
|
|
105
|
+
readonly placeholder?: string | undefined;
|
|
106
|
+
autocomplete?: string | undefined;
|
|
107
|
+
autofocus?: boolean | undefined;
|
|
108
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
109
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
110
|
+
attrs: any;
|
|
111
|
+
slots: {
|
|
112
|
+
before?(_: {
|
|
113
|
+
valid: boolean;
|
|
114
|
+
invalid: boolean;
|
|
115
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
116
|
+
}): any;
|
|
117
|
+
after?(_: {
|
|
118
|
+
valid: boolean;
|
|
119
|
+
invalid: boolean;
|
|
120
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
121
|
+
}): any;
|
|
122
|
+
hint?(_: {
|
|
123
|
+
modelValue: unknown;
|
|
124
|
+
valid: boolean;
|
|
125
|
+
invalid: boolean;
|
|
126
|
+
loading: boolean;
|
|
127
|
+
}): any;
|
|
128
|
+
loading?(_: {
|
|
129
|
+
modelValue: unknown;
|
|
130
|
+
valid: boolean;
|
|
131
|
+
invalid: boolean;
|
|
132
|
+
loading: boolean;
|
|
133
|
+
}): any;
|
|
134
|
+
valid?(_: {
|
|
135
|
+
modelValue: unknown;
|
|
136
|
+
valid: boolean;
|
|
137
|
+
invalid: boolean;
|
|
138
|
+
loading: boolean;
|
|
139
|
+
}): any;
|
|
140
|
+
invalid?(_: {
|
|
141
|
+
modelValue: unknown;
|
|
142
|
+
valid: boolean;
|
|
143
|
+
invalid: boolean;
|
|
144
|
+
loading: boolean;
|
|
145
|
+
}): any;
|
|
146
|
+
};
|
|
147
|
+
emit: ((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void);
|
|
148
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
}> & {
|
|
151
|
+
__ctx?: {
|
|
152
|
+
props: {
|
|
153
|
+
floating?: boolean | undefined;
|
|
154
|
+
readonly name?: string | undefined;
|
|
155
|
+
options?: T[] | undefined;
|
|
156
|
+
readonly size?: string | number | undefined;
|
|
157
|
+
label?: string | number | undefined;
|
|
158
|
+
disabled?: boolean | undefined;
|
|
159
|
+
modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
160
|
+
modifiers?: string | string[] | undefined;
|
|
161
|
+
readonly?: boolean | undefined;
|
|
162
|
+
readonly id?: string | number | undefined;
|
|
163
|
+
onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
164
|
+
onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
165
|
+
required?: boolean | undefined;
|
|
166
|
+
icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
|
|
167
|
+
iconPosition?: "before" | "after" | undefined;
|
|
168
|
+
loading?: boolean | undefined;
|
|
169
|
+
loadingLabel?: string | undefined;
|
|
170
|
+
unselectable?: boolean | undefined;
|
|
171
|
+
multiple?: boolean | undefined;
|
|
172
|
+
hintLabel?: string | undefined;
|
|
173
|
+
valid?: boolean | undefined;
|
|
174
|
+
validLabel?: string | unknown[] | undefined;
|
|
175
|
+
invalid?: boolean | undefined;
|
|
176
|
+
invalidLabel?: string | unknown[] | undefined;
|
|
177
|
+
tabindex?: string | number | undefined;
|
|
178
|
+
labelKey?: string | Function | undefined;
|
|
179
|
+
valueKey?: string | Function | undefined;
|
|
180
|
+
disabledKey?: string | Function | undefined;
|
|
181
|
+
"onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
|
|
182
|
+
readonly placeholder?: string | undefined;
|
|
183
|
+
autocomplete?: string | undefined;
|
|
184
|
+
autofocus?: boolean | undefined;
|
|
185
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
186
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
187
|
+
attrs: any;
|
|
188
|
+
slots: {
|
|
189
|
+
before?(_: {
|
|
190
|
+
valid: boolean;
|
|
191
|
+
invalid: boolean;
|
|
192
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
193
|
+
}): any;
|
|
194
|
+
after?(_: {
|
|
195
|
+
valid: boolean;
|
|
196
|
+
invalid: boolean;
|
|
197
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
198
|
+
}): any;
|
|
199
|
+
hint?(_: {
|
|
200
|
+
modelValue: unknown;
|
|
201
|
+
valid: boolean;
|
|
202
|
+
invalid: boolean;
|
|
203
|
+
loading: boolean;
|
|
204
|
+
}): any;
|
|
205
|
+
loading?(_: {
|
|
206
|
+
modelValue: unknown;
|
|
207
|
+
valid: boolean;
|
|
208
|
+
invalid: boolean;
|
|
209
|
+
loading: boolean;
|
|
210
|
+
}): any;
|
|
211
|
+
valid?(_: {
|
|
212
|
+
modelValue: unknown;
|
|
213
|
+
valid: boolean;
|
|
214
|
+
invalid: boolean;
|
|
215
|
+
loading: boolean;
|
|
216
|
+
}): any;
|
|
217
|
+
invalid?(_: {
|
|
218
|
+
modelValue: unknown;
|
|
219
|
+
valid: boolean;
|
|
220
|
+
invalid: boolean;
|
|
221
|
+
loading: boolean;
|
|
222
|
+
}): any;
|
|
223
|
+
};
|
|
224
|
+
emit: ((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void);
|
|
225
|
+
} | undefined;
|
|
226
|
+
};
|
|
227
|
+
export default _default;
|
|
228
|
+
type __VLS_Prettify<T> = {
|
|
229
|
+
[K in keyof T]: T[K];
|
|
230
|
+
} & {};
|
|
@@ -1,12 +1,40 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { MaybeElement } from '@vueuse/core';
|
|
2
|
+
import type { Option } from '../../types/generic';
|
|
3
|
+
export type VvSelectEmits = {
|
|
4
|
+
'update:modelValue': [any];
|
|
5
|
+
'focus': [MaybeElement];
|
|
6
|
+
'blur': [MaybeElement];
|
|
7
|
+
};
|
|
8
|
+
export declare const VvSelectProps: {
|
|
9
|
+
/**
|
|
10
|
+
* This Boolean attribute indicates that multiple options can be selected in the list.
|
|
11
|
+
* If it is not specified, then only one option can be selected at a time.
|
|
12
|
+
* When multiple is specified, most browsers will show a scrolling list box instead of a single line dropdown.
|
|
13
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
|
|
14
|
+
*/
|
|
3
15
|
multiple: BooleanConstructor;
|
|
16
|
+
/**
|
|
17
|
+
* A Boolean attribute indicating that an option with a non-empty string value must be selected.
|
|
18
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-required
|
|
19
|
+
*/
|
|
4
20
|
required: BooleanConstructor;
|
|
21
|
+
/**
|
|
22
|
+
* If the control is presented as a scrolling list box (e.g. when multiple is specified),
|
|
23
|
+
* this attribute represents the number of rows in the list that should be visible at one time.
|
|
24
|
+
* Browsers are not required to present a select element as a scrolled list box. The default value is 0.
|
|
25
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-size
|
|
26
|
+
*/
|
|
5
27
|
size: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
/**
|
|
29
|
+
* modelValue can be a string, number, boolean, object or array of string, number, boolean, object
|
|
30
|
+
*/
|
|
6
31
|
modelValue: {
|
|
7
32
|
type: (ObjectConstructor | ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
8
33
|
default: undefined;
|
|
9
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Select placeholder
|
|
37
|
+
*/
|
|
10
38
|
placeholder: StringConstructor;
|
|
11
39
|
label: {
|
|
12
40
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -21,13 +49,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
49
|
default: boolean;
|
|
22
50
|
};
|
|
23
51
|
icon: {
|
|
24
|
-
type: globalThis.PropType<string | import("../VvIcon
|
|
52
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
25
53
|
default: undefined;
|
|
26
54
|
};
|
|
27
55
|
iconPosition: {
|
|
28
56
|
type: globalThis.PropType<"before" | "after">;
|
|
29
|
-
default: import("../../constants
|
|
30
|
-
validation: (value: import("../../constants
|
|
57
|
+
default: import("../../constants").Position;
|
|
58
|
+
validation: (value: import("../../constants").Position) => boolean;
|
|
31
59
|
};
|
|
32
60
|
options: {
|
|
33
61
|
type: globalThis.PropType<(string | Option)[]>;
|
|
@@ -102,16 +130,41 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
102
130
|
required: boolean;
|
|
103
131
|
};
|
|
104
132
|
id: (StringConstructor | NumberConstructor)[];
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
133
|
+
};
|
|
134
|
+
export declare function useVvSelectProps<T extends Option | string>(): {
|
|
135
|
+
options: {
|
|
136
|
+
type: globalThis.PropType<T[]>;
|
|
137
|
+
default: () => never[];
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* This Boolean attribute indicates that multiple options can be selected in the list.
|
|
141
|
+
* If it is not specified, then only one option can be selected at a time.
|
|
142
|
+
* When multiple is specified, most browsers will show a scrolling list box instead of a single line dropdown.
|
|
143
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
|
|
144
|
+
*/
|
|
108
145
|
multiple: BooleanConstructor;
|
|
146
|
+
/**
|
|
147
|
+
* A Boolean attribute indicating that an option with a non-empty string value must be selected.
|
|
148
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-required
|
|
149
|
+
*/
|
|
109
150
|
required: BooleanConstructor;
|
|
151
|
+
/**
|
|
152
|
+
* If the control is presented as a scrolling list box (e.g. when multiple is specified),
|
|
153
|
+
* this attribute represents the number of rows in the list that should be visible at one time.
|
|
154
|
+
* Browsers are not required to present a select element as a scrolled list box. The default value is 0.
|
|
155
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-size
|
|
156
|
+
*/
|
|
110
157
|
size: (StringConstructor | NumberConstructor)[];
|
|
158
|
+
/**
|
|
159
|
+
* modelValue can be a string, number, boolean, object or array of string, number, boolean, object
|
|
160
|
+
*/
|
|
111
161
|
modelValue: {
|
|
112
162
|
type: (ObjectConstructor | ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
113
163
|
default: undefined;
|
|
114
164
|
};
|
|
165
|
+
/**
|
|
166
|
+
* Select placeholder
|
|
167
|
+
*/
|
|
115
168
|
placeholder: StringConstructor;
|
|
116
169
|
label: {
|
|
117
170
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -126,17 +179,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
126
179
|
default: boolean;
|
|
127
180
|
};
|
|
128
181
|
icon: {
|
|
129
|
-
type: globalThis.PropType<string | import("../VvIcon
|
|
182
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
130
183
|
default: undefined;
|
|
131
184
|
};
|
|
132
185
|
iconPosition: {
|
|
133
186
|
type: globalThis.PropType<"before" | "after">;
|
|
134
|
-
default: import("../../constants
|
|
135
|
-
validation: (value: import("../../constants
|
|
136
|
-
};
|
|
137
|
-
options: {
|
|
138
|
-
type: globalThis.PropType<(string | Option)[]>;
|
|
139
|
-
default: () => never[];
|
|
187
|
+
default: import("../../constants").Position;
|
|
188
|
+
validation: (value: import("../../constants").Position) => boolean;
|
|
140
189
|
};
|
|
141
190
|
labelKey: {
|
|
142
191
|
type: (StringConstructor | FunctionConstructor)[];
|
|
@@ -207,71 +256,4 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
207
256
|
required: boolean;
|
|
208
257
|
};
|
|
209
258
|
id: (StringConstructor | NumberConstructor)[];
|
|
210
|
-
}>>, {
|
|
211
|
-
floating: boolean;
|
|
212
|
-
options: (string | Option)[];
|
|
213
|
-
label: string | number;
|
|
214
|
-
disabled: boolean;
|
|
215
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
216
|
-
modifiers: string | string[];
|
|
217
|
-
readonly: boolean;
|
|
218
|
-
required: boolean;
|
|
219
|
-
icon: string | import("../VvIcon/index.js").VvIconProps;
|
|
220
|
-
iconPosition: "before" | "after";
|
|
221
|
-
loading: boolean;
|
|
222
|
-
loadingLabel: string;
|
|
223
|
-
unselectable: boolean;
|
|
224
|
-
multiple: boolean;
|
|
225
|
-
hintLabel: string;
|
|
226
|
-
valid: boolean;
|
|
227
|
-
validLabel: string | unknown[];
|
|
228
|
-
invalid: boolean;
|
|
229
|
-
invalidLabel: string | unknown[];
|
|
230
|
-
tabindex: string | number;
|
|
231
|
-
labelKey: string | Function;
|
|
232
|
-
valueKey: string | Function;
|
|
233
|
-
disabledKey: string | Function;
|
|
234
|
-
autocomplete: string;
|
|
235
|
-
autofocus: boolean;
|
|
236
|
-
}, {}>, {
|
|
237
|
-
before?(_: {
|
|
238
|
-
valid: boolean;
|
|
239
|
-
invalid: boolean;
|
|
240
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
241
|
-
}): any;
|
|
242
|
-
after?(_: {
|
|
243
|
-
valid: boolean;
|
|
244
|
-
invalid: boolean;
|
|
245
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
246
|
-
}): any;
|
|
247
|
-
hint?(_: {
|
|
248
|
-
modelValue: unknown;
|
|
249
|
-
valid: boolean;
|
|
250
|
-
invalid: boolean;
|
|
251
|
-
loading: boolean;
|
|
252
|
-
}): any;
|
|
253
|
-
loading?(_: {
|
|
254
|
-
modelValue: unknown;
|
|
255
|
-
valid: boolean;
|
|
256
|
-
invalid: boolean;
|
|
257
|
-
loading: boolean;
|
|
258
|
-
}): any;
|
|
259
|
-
valid?(_: {
|
|
260
|
-
modelValue: unknown;
|
|
261
|
-
valid: boolean;
|
|
262
|
-
invalid: boolean;
|
|
263
|
-
loading: boolean;
|
|
264
|
-
}): any;
|
|
265
|
-
invalid?(_: {
|
|
266
|
-
modelValue: unknown;
|
|
267
|
-
valid: boolean;
|
|
268
|
-
invalid: boolean;
|
|
269
|
-
loading: boolean;
|
|
270
|
-
}): any;
|
|
271
|
-
}>;
|
|
272
|
-
export default _default;
|
|
273
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
274
|
-
new (): {
|
|
275
|
-
$slots: S;
|
|
276
|
-
};
|
|
277
259
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { MaybeElement, MaybeElementRef } from '@vueuse/core';
|
|
2
|
-
export declare function useComponentFocus(inputTemplateRef: MaybeElementRef<MaybeElement>, emit: (
|
|
2
|
+
export declare function useComponentFocus(inputTemplateRef: MaybeElementRef<MaybeElement>, emit: ((name: 'blur', ...args: any[]) => void) & ((name: 'focus', ...args: any[]) => void) & ((name: any, ...args: any[]) => void)): {
|
|
3
3
|
focused: globalThis.Ref<boolean>;
|
|
4
4
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Option } from '../types/generic';
|
|
2
|
+
export declare function useOptions(props: any): {
|
|
3
|
+
options: globalThis.Ref<any>;
|
|
4
|
+
getOptionLabel: <T extends string | Option>(option: T) => string;
|
|
5
|
+
getOptionValue: <T_1 extends string | Option>(option: T_1) => any;
|
|
6
|
+
isOptionDisabled: <T_2 extends string | Option>(option: T_2) => boolean;
|
|
7
|
+
getOptionGrouped: <T_3 extends string | Option>(option: T_3) => T_3[];
|
|
8
|
+
};
|
|
@@ -2,14 +2,14 @@ export type UploadedFile<Source = undefined> = Source extends undefined ? {
|
|
|
2
2
|
name: string;
|
|
3
3
|
size: number;
|
|
4
4
|
type: string;
|
|
5
|
-
url
|
|
5
|
+
url?: string;
|
|
6
6
|
thumbnailUrl?: string;
|
|
7
7
|
lastModified?: number;
|
|
8
8
|
} : {
|
|
9
9
|
name: string;
|
|
10
10
|
size: number;
|
|
11
11
|
type: string;
|
|
12
|
-
url
|
|
12
|
+
url?: string;
|
|
13
13
|
thumbnailUrl?: string;
|
|
14
14
|
lastModified?: number;
|
|
15
15
|
source: Source;
|