@volverjs/ui-vue 0.0.10-beta.3 → 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/LICENSE +1 -1
- package/README.md +106 -10
- package/auto-imports.d.ts +7 -2
- package/bin/icons.cjs +1 -1
- package/bin/icons.js +22 -15
- package/dist/.storybook/main.d.ts +3 -0
- package/dist/.storybook/preview.d.ts +89 -0
- package/dist/components/VvAccordion/VvAccordion.es.js +192 -103
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +451 -172
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAction/VvAction.es.js +78 -27
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +204 -171
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +250 -188
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +61 -21
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +118 -48
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +78 -28
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +276 -60
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +291 -252
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +81 -40
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvCard/VvCard.es.js +86 -36
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +177 -120
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +190 -107
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +806 -581
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.es.js +140 -153
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +138 -71
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +152 -39
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +335 -8
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +63 -20
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +188 -80
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +23 -96
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +1777 -0
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -0
- package/dist/components/VvInputText/VvInputText.es.js +1237 -324
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +135 -56
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +91 -33
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +72 -26
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +160 -103
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +190 -107
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +251 -238
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +191 -75
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +232 -224
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +79 -29
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/index.es.js +3534 -1650
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/index.es.js +92 -3
- package/dist/composables/index.umd.js +1 -1
- package/dist/directives/index.es.js +99 -43
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +97 -38
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +267 -267
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +90 -16
- package/dist/index.umd.js +1 -1
- package/dist/resolvers/unplugin.es.js +87 -10
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/src/components/VvAccordion/VvAccordion.vue.d.ts +194 -0
- package/dist/{components → src/components}/VvAccordion/index.d.ts +8 -9
- package/dist/src/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +92 -0
- package/dist/{components → src/components}/VvAccordionGroup/index.d.ts +14 -6
- package/dist/{components → src/components}/VvAction/VvAction.vue.d.ts +57 -22
- package/dist/{components → src/components}/VvAction/index.d.ts +25 -9
- package/dist/{components → src/components}/VvAlert/VvAlert.vue.d.ts +24 -14
- package/dist/{components → src/components}/VvAlert/index.d.ts +17 -9
- package/dist/{components → src/components}/VvAlertGroup/VvAlertGroup.vue.d.ts +16 -9
- package/dist/{components → src/components}/VvAlertGroup/index.d.ts +6 -14
- package/dist/src/components/VvAvatar/VvAvatar.vue.d.ts +23 -0
- package/dist/{components → src/components}/VvAvatar/index.d.ts +4 -1
- package/dist/{components → src/components}/VvAvatarGroup/VvAvatarGroup.vue.d.ts +10 -3
- package/dist/{components → src/components}/VvAvatarGroup/index.d.ts +4 -1
- package/dist/{components → src/components}/VvBadge/VvBadge.vue.d.ts +12 -4
- package/dist/src/components/VvBadge/index.d.ts +7 -0
- package/dist/src/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +38 -0
- package/dist/src/components/VvBreadcrumb/index.d.ts +8 -0
- package/dist/{components → src/components}/VvButton/VvButton.vue.d.ts +94 -40
- package/dist/{components → src/components}/VvButton/index.d.ts +51 -29
- package/dist/{components → src/components}/VvButtonGroup/VvButtonGroup.vue.d.ts +24 -11
- package/dist/{components → src/components}/VvButtonGroup/index.d.ts +8 -2
- package/dist/{components → src/components}/VvCard/VvCard.vue.d.ts +12 -4
- package/dist/src/components/VvCard/index.d.ts +7 -0
- package/dist/src/components/VvCheckbox/VvCheckbox.vue.d.ts +184 -0
- package/dist/{components → src/components}/VvCheckbox/index.d.ts +47 -14
- package/dist/{components → src/components}/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +101 -30
- package/dist/src/components/VvCheckboxGroup/index.d.ts +75 -0
- package/dist/{components → src/components}/VvCombobox/VvCombobox.vue.d.ts +171 -104
- package/dist/{components → src/components}/VvCombobox/index.d.ts +62 -26
- package/dist/{components → src/components}/VvDialog/VvDialog.vue.d.ts +4 -4
- package/dist/{components → src/components}/VvDropdown/VvDropdown.vue.d.ts +101 -75
- package/dist/src/components/VvDropdown/VvDropdownAction.vue.d.ts +114 -0
- package/dist/src/components/VvDropdown/VvDropdownItem.vue.d.ts +21 -0
- package/dist/src/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +14 -0
- package/dist/{components → src/components}/VvDropdown/VvDropdownOption.vue.d.ts +35 -7
- package/dist/{components → src/components}/VvDropdown/index.d.ts +52 -10
- package/dist/src/components/VvIcon/VvIcon.vue.d.ts +26 -0
- package/dist/{components → src/components}/VvIcon/index.d.ts +33 -48
- package/dist/src/components/VvInputFile/VvInputFile.vue.d.ts +359 -0
- package/dist/src/components/VvInputFile/index.d.ts +200 -0
- package/dist/{components → src/components}/VvInputText/VvInputClearAction.d.ts +7 -5
- package/dist/{components → src/components}/VvInputText/VvInputPasswordAction.d.ts +10 -8
- package/dist/{components → src/components}/VvInputText/VvInputStepAction.d.ts +2 -2
- package/dist/{components → src/components}/VvInputText/VvInputText.vue.d.ts +207 -57
- package/dist/{components → src/components}/VvInputText/index.d.ts +99 -29
- package/dist/src/components/VvNav/VvNav.vue.d.ts +48 -0
- package/dist/{components → src/components}/VvNav/VvNavItem.vue.d.ts +1 -1
- package/dist/src/components/VvNav/VvNavSeparator.vue.d.ts +2 -0
- package/dist/src/components/VvNav/index.d.ts +11 -0
- package/dist/{components → src/components}/VvProgress/VvProgress.vue.d.ts +10 -3
- package/dist/{components → src/components}/VvProgress/index.d.ts +4 -1
- package/dist/src/components/VvRadio/VvRadio.vue.d.ts +176 -0
- package/dist/src/components/VvRadio/index.d.ts +80 -0
- package/dist/{components → src/components}/VvRadioGroup/VvRadioGroup.vue.d.ts +101 -30
- package/dist/src/components/VvRadioGroup/index.d.ts +75 -0
- package/dist/{components → src/components}/VvSelect/VvSelect.vue.d.ts +117 -44
- package/dist/{components → src/components}/VvSelect/index.d.ts +48 -14
- package/dist/src/components/VvTab/VvTab.vue.d.ts +63 -0
- package/dist/{components → src/components}/VvTab/index.d.ts +4 -1
- package/dist/{components → src/components}/VvTextarea/VvTextarea.vue.d.ts +156 -49
- package/dist/{components → src/components}/VvTextarea/index.d.ts +68 -19
- package/dist/src/components/VvTooltip/VvTooltip.vue.d.ts +36 -0
- package/dist/{components → src/components}/VvTooltip/index.d.ts +5 -2
- package/dist/{components → src/components}/common/HintSlot.d.ts +1 -1
- package/dist/{components → src/components}/index.d.ts +10 -0
- package/dist/src/composables/alert/useAlert.d.ts +122 -0
- package/dist/src/composables/alert/useInjectAlert.d.ts +4 -0
- package/dist/src/composables/dropdown/useInjectDropdown.d.ts +12 -0
- package/dist/{composables → src/composables}/dropdown/useProvideDropdown.d.ts +3 -4
- package/dist/src/composables/group/useInjectedGroupState.d.ts +9 -0
- package/dist/src/composables/group/useProvideGroupState.d.ts +6 -0
- package/dist/{composables → src/composables}/index.d.ts +1 -0
- package/dist/src/composables/useBlurhash.d.ts +7 -0
- package/dist/src/composables/useComponentIcon.d.ts +11 -0
- package/dist/src/composables/usePersistence.d.ts +2 -0
- package/dist/src/composables/useVolver.d.ts +1 -0
- package/dist/{constants.d.ts → src/constants.d.ts} +34 -32
- package/dist/src/directives/index.d.ts +3 -0
- package/dist/{index.d.ts → src/index.d.ts} +3 -1
- package/dist/{props → src/props}/index.d.ts +272 -81
- package/dist/{resolvers → src/resolvers}/unplugin.d.ts +6 -1
- package/dist/src/stories/AccordionGroup/AccordionGroup.stories.d.ts +188 -0
- package/dist/src/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +1262 -0
- package/dist/{stories → src/stories}/AlertGroup/AlertGroupWithComposable.stories.d.ts +1 -1
- package/dist/src/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
- package/dist/{stories → src/stories}/Button/Button.settings.d.ts +0 -1
- package/dist/{stories → src/stories}/Combobox/Combobox.settings.d.ts +8 -0
- package/dist/{stories → src/stories}/Icon/Icon.settings.d.ts +1 -0
- package/dist/src/stories/InputFile/InputFile.settings.d.ts +56 -0
- package/dist/src/stories/InputFile/InputFile.stories.d.ts +12 -0
- package/dist/src/stories/InputFile/InputFileDropArea.stories.d.ts +9 -0
- package/dist/src/stories/InputFile/InputFileIconPosition.stories.d.ts +8 -0
- package/dist/src/stories/InputFile/InputFileSlots.stories.d.ts +7 -0
- package/dist/src/stories/Tab/Tab.settings.d.ts +4 -0
- package/dist/{test → src/test}/expect.d.ts +1 -1
- package/dist/src/types/alert.d.ts +15 -0
- package/dist/src/types/blurhash.d.ts +12 -0
- package/dist/{types → src/types}/generic.d.ts +1 -2
- package/dist/src/types/group.d.ts +59 -0
- package/dist/src/types/index.d.ts +7 -0
- package/dist/src/types/input-file.d.ts +16 -0
- package/dist/{types → src/types}/nav.d.ts +2 -2
- package/dist/{utils → src/utils}/ObjectUtilities.d.ts +0 -1
- package/dist/src/workers/blurhash.d.ts +1 -0
- package/package.json +78 -78
- package/src/Volver.ts +31 -20
- 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/VvAccordion/VvAccordion.vue +121 -58
- package/src/components/VvAccordion/index.ts +8 -23
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +164 -47
- package/src/components/VvAccordionGroup/index.ts +6 -6
- package/src/components/VvAction/VvAction.vue +17 -5
- package/src/components/VvAlert/index.ts +14 -9
- package/src/components/VvAlertGroup/index.ts +3 -15
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +20 -19
- package/src/components/VvBreadcrumb/index.ts +2 -8
- package/src/components/VvButton/VvButton.vue +17 -7
- package/src/components/VvButton/index.ts +9 -16
- package/src/components/VvButtonGroup/VvButtonGroup.vue +1 -2
- package/src/components/VvCheckbox/index.ts +2 -2
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +1 -2
- package/src/components/VvCombobox/VvCombobox.vue +15 -12
- package/src/components/VvCombobox/index.ts +4 -0
- package/src/components/VvDropdown/VvDropdown.vue +11 -2
- package/src/components/VvDropdown/VvDropdownItem.vue +4 -1
- package/src/components/VvDropdown/VvDropdownOption.vue +4 -21
- package/src/components/VvDropdown/index.ts +35 -1
- package/src/components/VvIcon/VvIcon.vue +2 -2
- package/src/components/VvIcon/index.ts +35 -48
- package/src/components/VvInputFile/VvInputFile.vue +395 -0
- package/src/components/VvInputFile/index.ts +135 -0
- package/src/components/VvInputText/VvInputClearAction.ts +10 -6
- package/src/components/VvInputText/VvInputPasswordAction.ts +13 -9
- package/src/components/VvInputText/VvInputText.vue +141 -33
- package/src/components/VvInputText/index.ts +31 -16
- package/src/components/VvNav/VvNav.vue +4 -2
- package/src/components/VvRadio/index.ts +5 -5
- package/src/components/VvRadioGroup/VvRadioGroup.vue +1 -2
- package/src/components/VvSelect/VvSelect.vue +5 -8
- package/src/components/VvTab/VvTab.vue +5 -1
- package/src/components/VvTextarea/VvTextarea.vue +6 -9
- package/src/components/index.ts +10 -0
- package/src/composables/alert/useAlert.ts +12 -9
- package/src/composables/dropdown/useProvideDropdown.ts +4 -4
- package/src/composables/group/useInjectedGroupState.ts +20 -16
- package/src/composables/group/useProvideGroupState.ts +10 -15
- package/src/composables/index.ts +1 -0
- package/src/composables/useBlurhash.ts +76 -0
- package/src/composables/useComponentIcon.ts +15 -14
- package/src/composables/usePersistence.ts +76 -0
- package/src/composables/useUniqueId.ts +2 -2
- package/src/constants.ts +47 -32
- package/src/directives/index.ts +3 -6
- package/src/directives/v-tooltip.ts +19 -10
- package/src/index.ts +3 -1
- package/src/props/index.ts +108 -31
- package/src/resolvers/unplugin.ts +24 -14
- package/src/stories/Accordion/Accordion.test.ts +1 -1
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +2 -2
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +17 -11
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +1 -1
- package/src/stories/Alert/Alert.test.ts +1 -1
- package/src/stories/AlertGroup/AlertGroup.test.ts +1 -1
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +2 -2
- package/src/stories/Avatar/Avatar.test.ts +1 -1
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +1 -1
- package/src/stories/Badge/Badge.test.ts +1 -1
- package/src/stories/Blurhash/BlurhashComposable.stories.ts +195 -0
- package/src/stories/Button/Button.settings.ts +1 -4
- package/src/stories/Button/Button.test.ts +1 -1
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +1 -1
- package/src/stories/Card/Card.test.ts +1 -1
- package/src/stories/Checkbox/Checkbox.test.ts +1 -1
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +1 -1
- package/src/stories/Combobox/Combobox.settings.ts +8 -0
- package/src/stories/Combobox/Combobox.test.ts +1 -1
- package/src/stories/Dialog/Dialog.test.ts +2 -2
- package/src/stories/Dropdown/Dropdown.test.ts +1 -1
- package/src/stories/Icon/Icon.settings.ts +3 -3
- package/src/stories/InputFile/InputFile.settings.ts +36 -0
- package/src/stories/InputFile/InputFile.stories.ts +89 -0
- package/src/stories/InputFile/InputFileDropArea.stories.ts +56 -0
- package/src/stories/InputFile/InputFileIconPosition.stories.ts +43 -0
- package/src/stories/InputFile/InputFileSlots.stories.ts +33 -0
- package/src/stories/InputText/InputText.test.ts +1 -1
- package/src/stories/Nav/Nav.test.ts +1 -1
- package/src/stories/Progress/Progress.test.ts +1 -1
- package/src/stories/Radio/Radio.test.ts +1 -1
- package/src/stories/RadioGroup/RadioGroup.test.ts +1 -1
- package/src/stories/Select/Select.test.ts +1 -1
- package/src/stories/Tab/Tab.settings.ts +2 -2
- package/src/stories/Tab/Tab.test.ts +1 -1
- package/src/stories/Textarea/Textarea.test.ts +1 -1
- package/src/stories/Tooltip/Tooltip.test.ts +1 -1
- package/src/stories/argTypes.ts +1 -1
- package/src/test/expect.ts +2 -4
- package/src/types/alert.ts +11 -7
- package/src/types/blurhash.ts +21 -0
- package/src/types/generic.ts +3 -3
- package/src/types/group.ts +22 -14
- package/src/types/index.ts +7 -0
- package/src/types/input-file.ts +18 -0
- package/src/types/nav.ts +2 -3
- package/src/utils/ObjectUtilities.ts +0 -11
- package/src/workers/blurhash.ts +9 -0
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +0 -42
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +0 -47
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +0 -15
- package/dist/components/VvBadge/index.d.ts +0 -4
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +0 -18
- package/dist/components/VvBreadcrumb/index.d.ts +0 -12
- package/dist/components/VvCard/index.d.ts +0 -4
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +0 -112
- package/dist/components/VvCheckboxGroup/index.d.ts +0 -42
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +0 -73
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +0 -9
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +0 -6
- package/dist/components/VvIcon/VvIcon.vue.d.ts +0 -69
- package/dist/components/VvNav/VvNav.vue.d.ts +0 -25
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +0 -2
- package/dist/components/VvNav/index.d.ts +0 -8
- package/dist/components/VvRadio/VvRadio.vue.d.ts +0 -104
- package/dist/components/VvRadio/index.d.ts +0 -47
- package/dist/components/VvRadioGroup/index.d.ts +0 -42
- package/dist/components/VvTab/VvTab.vue.d.ts +0 -39
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +0 -29
- package/dist/composables/alert/useAlert.d.ts +0 -27
- package/dist/composables/alert/useInjectAlert.d.ts +0 -9
- package/dist/composables/dropdown/useInjectDropdown.d.ts +0 -32
- package/dist/composables/group/useInjectedGroupState.d.ts +0 -10
- package/dist/composables/group/useProvideGroupState.d.ts +0 -6
- package/dist/composables/useComponentIcon.d.ts +0 -10
- package/dist/composables/useVolver.d.ts +0 -1
- package/dist/directives/index.d.ts +0 -5
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +0 -134
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +0 -679
- package/dist/stories/Tab/Tab.settings.d.ts +0 -17
- package/dist/types/alert.d.ts +0 -13
- package/dist/types/group.d.ts +0 -37
- package/dist/{Volver.d.ts → src/Volver.d.ts} +1 -1
- /package/dist/{components → src/components}/VvDialog/index.d.ts +0 -0
- /package/dist/{components → src/components}/VvInputText/VvInputTextActions.d.ts +0 -0
- /package/dist/{composables → src/composables}/alert/useProvideAlert.d.ts +0 -0
- /package/dist/{composables → src/composables}/useComponentFocus.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/{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/{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.test.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}/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}/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.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.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.stories.d.ts +0 -0
- /package/dist/{stories → src/stories}/Icon/IconsCollection.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.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}/options.d.ts +0 -0
- /package/dist/{test → src/test}/sleep.d.ts +0 -0
- /package/dist/{types → src/types}/floating-ui.d.ts +0 -0
|
@@ -13,32 +13,60 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
spellcheck: {
|
|
16
|
-
type: (
|
|
16
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
resizable: BooleanConstructor;
|
|
20
|
-
minlength:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
minlength: {
|
|
21
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
maxlength: {
|
|
25
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
label: {
|
|
37
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
floating: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
26
44
|
icon: {
|
|
27
|
-
type:
|
|
45
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
46
|
+
default: undefined;
|
|
28
47
|
};
|
|
29
48
|
iconPosition: {
|
|
30
49
|
type: globalThis.PropType<"before" | "after">;
|
|
31
50
|
default: import("../../constants").Position;
|
|
32
51
|
validation: (value: import("../../constants").Position) => boolean;
|
|
33
52
|
};
|
|
34
|
-
debounce:
|
|
53
|
+
debounce: {
|
|
54
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
35
57
|
count: {
|
|
36
|
-
type: (
|
|
58
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
37
59
|
default: boolean;
|
|
38
60
|
validator: (value: string) => boolean;
|
|
39
61
|
};
|
|
40
|
-
modifiers:
|
|
41
|
-
|
|
62
|
+
modifiers: {
|
|
63
|
+
type: globalThis.PropType<string | string[]>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
loading: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
42
70
|
loadingLabel: {
|
|
43
71
|
type: StringConstructor;
|
|
44
72
|
default: string;
|
|
@@ -47,12 +75,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
47
75
|
type: StringConstructor;
|
|
48
76
|
default: string;
|
|
49
77
|
};
|
|
50
|
-
invalid:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
78
|
+
invalid: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
invalidLabel: {
|
|
83
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
valid: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
validLabel: {
|
|
91
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
readonly: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
disabled: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
56
102
|
tabindex: {
|
|
57
103
|
type: (StringConstructor | NumberConstructor)[];
|
|
58
104
|
default: number;
|
|
@@ -61,13 +107,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
61
107
|
type: StringConstructor;
|
|
62
108
|
default: string;
|
|
63
109
|
};
|
|
64
|
-
autofocus:
|
|
110
|
+
autofocus: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
65
114
|
name: {
|
|
66
115
|
type: StringConstructor;
|
|
67
116
|
required: boolean;
|
|
68
117
|
};
|
|
69
118
|
id: (StringConstructor | NumberConstructor)[];
|
|
70
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
119
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
120
|
+
[x: string]: (...args: any[]) => void;
|
|
121
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
71
122
|
modelValue: StringConstructor;
|
|
72
123
|
cols: {
|
|
73
124
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -82,32 +133,60 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
133
|
default: string;
|
|
83
134
|
};
|
|
84
135
|
spellcheck: {
|
|
85
|
-
type: (
|
|
136
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
86
137
|
default: string;
|
|
87
138
|
};
|
|
88
139
|
resizable: BooleanConstructor;
|
|
89
|
-
minlength:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
140
|
+
minlength: {
|
|
141
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
maxlength: {
|
|
145
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
placeholder: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: undefined;
|
|
151
|
+
};
|
|
152
|
+
required: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
label: {
|
|
157
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
158
|
+
default: undefined;
|
|
159
|
+
};
|
|
160
|
+
floating: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
95
164
|
icon: {
|
|
96
|
-
type:
|
|
165
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
166
|
+
default: undefined;
|
|
97
167
|
};
|
|
98
168
|
iconPosition: {
|
|
99
169
|
type: globalThis.PropType<"before" | "after">;
|
|
100
170
|
default: import("../../constants").Position;
|
|
101
171
|
validation: (value: import("../../constants").Position) => boolean;
|
|
102
172
|
};
|
|
103
|
-
debounce:
|
|
173
|
+
debounce: {
|
|
174
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
175
|
+
default: undefined;
|
|
176
|
+
};
|
|
104
177
|
count: {
|
|
105
|
-
type: (
|
|
178
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
106
179
|
default: boolean;
|
|
107
180
|
validator: (value: string) => boolean;
|
|
108
181
|
};
|
|
109
|
-
modifiers:
|
|
110
|
-
|
|
182
|
+
modifiers: {
|
|
183
|
+
type: globalThis.PropType<string | string[]>;
|
|
184
|
+
default: undefined;
|
|
185
|
+
};
|
|
186
|
+
loading: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
111
190
|
loadingLabel: {
|
|
112
191
|
type: StringConstructor;
|
|
113
192
|
default: string;
|
|
@@ -116,12 +195,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
116
195
|
type: StringConstructor;
|
|
117
196
|
default: string;
|
|
118
197
|
};
|
|
119
|
-
invalid:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
198
|
+
invalid: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
invalidLabel: {
|
|
203
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
valid: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
validLabel: {
|
|
211
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
212
|
+
default: undefined;
|
|
213
|
+
};
|
|
214
|
+
readonly: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
disabled: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
125
222
|
tabindex: {
|
|
126
223
|
type: (StringConstructor | NumberConstructor)[];
|
|
127
224
|
default: number;
|
|
@@ -130,29 +227,39 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
130
227
|
type: StringConstructor;
|
|
131
228
|
default: string;
|
|
132
229
|
};
|
|
133
|
-
autofocus:
|
|
230
|
+
autofocus: {
|
|
231
|
+
type: BooleanConstructor;
|
|
232
|
+
default: boolean;
|
|
233
|
+
};
|
|
134
234
|
name: {
|
|
135
235
|
type: StringConstructor;
|
|
136
236
|
required: boolean;
|
|
137
237
|
};
|
|
138
238
|
id: (StringConstructor | NumberConstructor)[];
|
|
139
|
-
}
|
|
140
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
readonly: boolean;
|
|
143
|
-
disabled: boolean;
|
|
144
|
-
valid: boolean;
|
|
145
|
-
invalid: boolean;
|
|
239
|
+
}>>, {
|
|
146
240
|
floating: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
241
|
+
label: string | number;
|
|
242
|
+
disabled: boolean;
|
|
243
|
+
modifiers: string | string[];
|
|
244
|
+
readonly: boolean;
|
|
149
245
|
required: boolean;
|
|
246
|
+
icon: string | import("../VvIcon").VvIconProps;
|
|
150
247
|
iconPosition: "before" | "after";
|
|
151
|
-
autofocus: boolean;
|
|
152
248
|
loading: boolean;
|
|
153
249
|
loadingLabel: string;
|
|
154
250
|
hintLabel: string;
|
|
251
|
+
invalid: boolean;
|
|
252
|
+
invalidLabel: string | unknown[];
|
|
253
|
+
valid: boolean;
|
|
254
|
+
validLabel: string | unknown[];
|
|
255
|
+
tabindex: string | number;
|
|
256
|
+
placeholder: string;
|
|
155
257
|
autocomplete: string;
|
|
258
|
+
autofocus: boolean;
|
|
259
|
+
spellcheck: string | boolean;
|
|
260
|
+
minlength: string | number;
|
|
261
|
+
maxlength: string | number;
|
|
262
|
+
debounce: string | number;
|
|
156
263
|
count: string | boolean;
|
|
157
264
|
cols: string | number;
|
|
158
265
|
rows: string | number;
|
|
@@ -44,35 +44,63 @@ export declare const VvTextareaProps: {
|
|
|
44
44
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#wrap
|
|
45
45
|
*/
|
|
46
46
|
spellcheck: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* If true, the textarea will be resizable
|
|
52
52
|
*/
|
|
53
53
|
resizable: BooleanConstructor;
|
|
54
|
-
minlength:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
minlength: {
|
|
55
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
maxlength: {
|
|
59
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
placeholder: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
required: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
floating: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
60
78
|
icon: {
|
|
61
|
-
type:
|
|
79
|
+
type: globalThis.PropType<string | import("../VvIcon").VvIconProps>;
|
|
80
|
+
default: undefined;
|
|
62
81
|
};
|
|
63
82
|
iconPosition: {
|
|
64
83
|
type: globalThis.PropType<"before" | "after">;
|
|
65
84
|
default: import("../../constants").Position;
|
|
66
85
|
validation: (value: import("../../constants").Position) => boolean;
|
|
67
86
|
};
|
|
68
|
-
debounce:
|
|
87
|
+
debounce: {
|
|
88
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
69
91
|
count: {
|
|
70
|
-
type: (
|
|
92
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
71
93
|
default: boolean;
|
|
72
94
|
validator: (value: string) => boolean;
|
|
73
95
|
};
|
|
74
|
-
modifiers:
|
|
75
|
-
|
|
96
|
+
modifiers: {
|
|
97
|
+
type: globalThis.PropType<string | string[]>;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
loading: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
76
104
|
loadingLabel: {
|
|
77
105
|
type: StringConstructor;
|
|
78
106
|
default: string;
|
|
@@ -81,12 +109,30 @@ export declare const VvTextareaProps: {
|
|
|
81
109
|
type: StringConstructor;
|
|
82
110
|
default: string;
|
|
83
111
|
};
|
|
84
|
-
invalid:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
112
|
+
invalid: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
invalidLabel: {
|
|
117
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
valid: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
validLabel: {
|
|
125
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
readonly: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
disabled: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
90
136
|
tabindex: {
|
|
91
137
|
type: (StringConstructor | NumberConstructor)[];
|
|
92
138
|
default: number;
|
|
@@ -95,7 +141,10 @@ export declare const VvTextareaProps: {
|
|
|
95
141
|
type: StringConstructor;
|
|
96
142
|
default: string;
|
|
97
143
|
};
|
|
98
|
-
autofocus:
|
|
144
|
+
autofocus: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
99
148
|
name: {
|
|
100
149
|
type: StringConstructor;
|
|
101
150
|
required: boolean;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
position: {
|
|
3
|
+
type: globalThis.PropType<"top" | "right" | "bottom" | "left">;
|
|
4
|
+
default: import("../../constants").Side;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
modifiers: {
|
|
10
|
+
type: globalThis.PropType<string | string[]>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
14
|
+
position: {
|
|
15
|
+
type: globalThis.PropType<"top" | "right" | "bottom" | "left">;
|
|
16
|
+
default: import("../../constants").Side;
|
|
17
|
+
};
|
|
18
|
+
value: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
modifiers: {
|
|
22
|
+
type: globalThis.PropType<string | string[]>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
modifiers: string | string[];
|
|
27
|
+
position: "top" | "right" | "bottom" | "left";
|
|
28
|
+
}, {}>, {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -6,11 +6,14 @@ export declare const VvTooltipProps: {
|
|
|
6
6
|
* @default Side.bottom
|
|
7
7
|
*/
|
|
8
8
|
position: {
|
|
9
|
-
type: PropType<"
|
|
9
|
+
type: PropType<"top" | "right" | "bottom" | "left">;
|
|
10
10
|
default: Side;
|
|
11
11
|
};
|
|
12
12
|
value: {
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
};
|
|
15
|
-
modifiers:
|
|
15
|
+
modifiers: {
|
|
16
|
+
type: PropType<string | string[]>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
16
19
|
};
|
|
@@ -46,7 +46,7 @@ export declare function HintSlotFactory(propsOrRef: HintSlotProps | Ref<HintSlot
|
|
|
46
46
|
hasValidLabelOrSlot: globalThis.ComputedRef<boolean>;
|
|
47
47
|
hasLoadingLabelOrSlot: globalThis.ComputedRef<boolean>;
|
|
48
48
|
hasHintLabelOrSlot: globalThis.ComputedRef<boolean>;
|
|
49
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
49
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
50
50
|
tag: {
|
|
51
51
|
type: StringConstructor;
|
|
52
52
|
default: string;
|
|
@@ -2,6 +2,9 @@ export { default as VvAccordion } from './VvAccordion/VvAccordion.vue';
|
|
|
2
2
|
export { default as VvAccordionGroup } from './VvAccordionGroup/VvAccordionGroup.vue';
|
|
3
3
|
export { default as VvAction } from './VvAction/VvAction.vue';
|
|
4
4
|
export { default as VvAlert } from './VvAlert/VvAlert.vue';
|
|
5
|
+
export { default as VvAlertGroup } from './VvAlertGroup/VvAlertGroup.vue';
|
|
6
|
+
export { default as VvAvatar } from './VvAvatar/VvAvatar.vue';
|
|
7
|
+
export { default as VvAvatarGroup } from './VvAvatarGroup/VvAvatarGroup.vue';
|
|
5
8
|
export { default as VvBadge } from './VvBadge/VvBadge.vue';
|
|
6
9
|
export { default as VvBreadcrumb } from './VvBreadcrumb/VvBreadcrumb.vue';
|
|
7
10
|
export { default as VvButton } from './VvButton/VvButton.vue';
|
|
@@ -12,9 +15,15 @@ export { default as VvCheckboxGroup } from './VvCheckboxGroup/VvCheckboxGroup.vu
|
|
|
12
15
|
export { default as VvCombobox } from './VvCombobox/VvCombobox.vue';
|
|
13
16
|
export { default as VvDialog } from './VvDialog/VvDialog.vue';
|
|
14
17
|
export { default as VvDropdown } from './VvDropdown/VvDropdown.vue';
|
|
18
|
+
export { default as VvDropdownAction } from './VvDropdown/VvDropdownAction.vue';
|
|
19
|
+
export { default as VvDropdownItem } from './VvDropdown/VvDropdownItem.vue';
|
|
20
|
+
export { default as VvDropdownOptgroup } from './VvDropdown/VvDropdownOptgroup.vue';
|
|
21
|
+
export { default as VvDropdownOption } from './VvDropdown/VvDropdownOption.vue';
|
|
15
22
|
export { default as VvIcon } from './VvIcon/VvIcon.vue';
|
|
16
23
|
export { default as VvInputText } from './VvInputText/VvInputText.vue';
|
|
17
24
|
export { default as VvNav } from './VvNav/VvNav.vue';
|
|
25
|
+
export { default as VvNavItem } from './VvNav/VvNavItem.vue';
|
|
26
|
+
export { default as VvNavSeparator } from './VvNav/VvNavSeparator.vue';
|
|
18
27
|
export { default as VvProgress } from './VvProgress/VvProgress.vue';
|
|
19
28
|
export { default as VvRadio } from './VvRadio/VvRadio.vue';
|
|
20
29
|
export { default as VvRadioGroup } from './VvRadioGroup/VvRadioGroup.vue';
|
|
@@ -22,3 +31,4 @@ export { default as VvSelect } from './VvSelect/VvSelect.vue';
|
|
|
22
31
|
export { default as VvTab } from './VvTab/VvTab.vue';
|
|
23
32
|
export { default as VvTextarea } from './VvTextarea/VvTextarea.vue';
|
|
24
33
|
export { default as VvTooltip } from './VvTooltip/VvTooltip.vue';
|
|
34
|
+
export { default as VvInputFile } from './VvInputFile/VvInputFile.vue';
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { Alert } from '@/types/alert';
|
|
2
|
+
type AlertInGroup = Alert & {
|
|
3
|
+
timestamp: number;
|
|
4
|
+
group: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @description Composable to access alert groups, alerts and functions to add, remove and get alerts by group.
|
|
8
|
+
* @example
|
|
9
|
+
* const { groups, alerts, addAlert, removeAlert, getAlerts } = useAlert()
|
|
10
|
+
* addAlert({
|
|
11
|
+
* title: 'Success!',
|
|
12
|
+
* modifiers: 'success',
|
|
13
|
+
* })
|
|
14
|
+
*
|
|
15
|
+
* `<vv-alert-group :items="alerts" :onClose="removeAlert" />`
|
|
16
|
+
*
|
|
17
|
+
* @returns {
|
|
18
|
+
* alerts: ComputedRef<Alert[]> reactive list of alerts default group,
|
|
19
|
+
* groups: ReactiveRef<Map<string, Map<string, Alert>>>,
|
|
20
|
+
* addAlert: Function to add alert,
|
|
21
|
+
* removeAlert: Function to remove alert,
|
|
22
|
+
* getAlerts: Function to get alerts by group
|
|
23
|
+
* }
|
|
24
|
+
*/
|
|
25
|
+
export declare const useAlert: () => {
|
|
26
|
+
groups: Map<string, Map<string, {
|
|
27
|
+
id: string | number;
|
|
28
|
+
title?: string | undefined;
|
|
29
|
+
icon?: string | {
|
|
30
|
+
name: string;
|
|
31
|
+
color?: string | undefined;
|
|
32
|
+
width?: string | number | undefined;
|
|
33
|
+
height?: string | number | undefined;
|
|
34
|
+
provider?: string | undefined;
|
|
35
|
+
prefix?: string | undefined;
|
|
36
|
+
src?: string | undefined;
|
|
37
|
+
horizontalFlip?: boolean | undefined;
|
|
38
|
+
verticalFlip?: boolean | undefined;
|
|
39
|
+
flip?: string | undefined;
|
|
40
|
+
mode?: import("@iconify/vue").IconifyRenderMode | undefined;
|
|
41
|
+
inline?: boolean | undefined;
|
|
42
|
+
rotate?: string | number | undefined;
|
|
43
|
+
onLoad?: import("@iconify/vue").IconifyIconOnLoad | undefined;
|
|
44
|
+
svg?: string | undefined;
|
|
45
|
+
modifiers?: string | string[] | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
content?: string | undefined;
|
|
48
|
+
footer?: string | undefined;
|
|
49
|
+
modifiers?: string | string[] | undefined;
|
|
50
|
+
dismissable?: boolean | undefined;
|
|
51
|
+
autoClose?: number | undefined;
|
|
52
|
+
closeLabel?: string | undefined;
|
|
53
|
+
role?: import("@/constants").AlertRole | undefined;
|
|
54
|
+
timestamp: number;
|
|
55
|
+
group: string;
|
|
56
|
+
}> & Omit<Map<string, AlertInGroup>, keyof Map<any, any>>> & Omit<Map<string, Map<string, AlertInGroup>>, keyof Map<any, any>>;
|
|
57
|
+
alerts: globalThis.ComputedRef<{
|
|
58
|
+
id: string | number;
|
|
59
|
+
title?: string | undefined;
|
|
60
|
+
icon?: string | {
|
|
61
|
+
name: string;
|
|
62
|
+
color?: string | undefined;
|
|
63
|
+
width?: string | number | undefined;
|
|
64
|
+
height?: string | number | undefined;
|
|
65
|
+
provider?: string | undefined;
|
|
66
|
+
prefix?: string | undefined;
|
|
67
|
+
src?: string | undefined;
|
|
68
|
+
horizontalFlip?: boolean | undefined;
|
|
69
|
+
verticalFlip?: boolean | undefined;
|
|
70
|
+
flip?: string | undefined;
|
|
71
|
+
mode?: import("@iconify/vue").IconifyRenderMode | undefined;
|
|
72
|
+
inline?: boolean | undefined;
|
|
73
|
+
rotate?: string | number | undefined;
|
|
74
|
+
onLoad?: import("@iconify/vue").IconifyIconOnLoad | undefined;
|
|
75
|
+
svg?: string | undefined;
|
|
76
|
+
modifiers?: string | string[] | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
content?: string | undefined;
|
|
79
|
+
footer?: string | undefined;
|
|
80
|
+
modifiers?: string | string[] | undefined;
|
|
81
|
+
dismissable?: boolean | undefined;
|
|
82
|
+
autoClose?: number | undefined;
|
|
83
|
+
closeLabel?: string | undefined;
|
|
84
|
+
role?: import("@/constants").AlertRole | undefined;
|
|
85
|
+
timestamp: number;
|
|
86
|
+
group: string;
|
|
87
|
+
}[]>;
|
|
88
|
+
addAlert: ({ id, group, title, icon, content, footer, modifiers, dismissable, autoClose, timestamp, }?: Partial<AlertInGroup>) => void;
|
|
89
|
+
removeAlert: (id: string | number, group?: string) => void;
|
|
90
|
+
getAlerts: (group?: string) => globalThis.ComputedRef<{
|
|
91
|
+
id: string | number;
|
|
92
|
+
title?: string | undefined;
|
|
93
|
+
icon?: string | {
|
|
94
|
+
name: string;
|
|
95
|
+
color?: string | undefined;
|
|
96
|
+
width?: string | number | undefined;
|
|
97
|
+
height?: string | number | undefined;
|
|
98
|
+
provider?: string | undefined;
|
|
99
|
+
prefix?: string | undefined;
|
|
100
|
+
src?: string | undefined;
|
|
101
|
+
horizontalFlip?: boolean | undefined;
|
|
102
|
+
verticalFlip?: boolean | undefined;
|
|
103
|
+
flip?: string | undefined;
|
|
104
|
+
mode?: import("@iconify/vue").IconifyRenderMode | undefined;
|
|
105
|
+
inline?: boolean | undefined;
|
|
106
|
+
rotate?: string | number | undefined;
|
|
107
|
+
onLoad?: import("@iconify/vue").IconifyIconOnLoad | undefined;
|
|
108
|
+
svg?: string | undefined;
|
|
109
|
+
modifiers?: string | string[] | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
content?: string | undefined;
|
|
112
|
+
footer?: string | undefined;
|
|
113
|
+
modifiers?: string | string[] | undefined;
|
|
114
|
+
dismissable?: boolean | undefined;
|
|
115
|
+
autoClose?: number | undefined;
|
|
116
|
+
closeLabel?: string | undefined;
|
|
117
|
+
role?: import("@/constants").AlertRole | undefined;
|
|
118
|
+
timestamp: number;
|
|
119
|
+
group: string;
|
|
120
|
+
}[]>;
|
|
121
|
+
};
|
|
122
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Injects dropdown reference and the event bus
|
|
3
|
+
*/
|
|
4
|
+
export declare function useInjectedDropdownTrigger(): import("../../constants").DropdownTriggerState;
|
|
5
|
+
/**
|
|
6
|
+
* Injects dropdown item role
|
|
7
|
+
*/
|
|
8
|
+
export declare function useInjectedDropdownItem(): import("../../constants").DropdownItemState;
|
|
9
|
+
/**
|
|
10
|
+
* Injects dropdown action role
|
|
11
|
+
*/
|
|
12
|
+
export declare function useInjectedDropdownAction(): import("../../constants").DropdownActionState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
import { DropdownRole, DropdownItemRole } from '../../constants';
|
|
2
|
+
import { type DropdownItemState, DropdownRole, DropdownItemRole } from '../../constants';
|
|
3
3
|
/**
|
|
4
4
|
* Share the dropdown reference and the event bus with all its children.
|
|
5
5
|
* @param {Ref<HTMLElement | null>} reference the dropdown reference
|
|
@@ -19,15 +19,14 @@ export declare function useProvideDropdownTrigger({ reference, id, expanded, ari
|
|
|
19
19
|
mouseover: Event;
|
|
20
20
|
mouseleave: Event;
|
|
21
21
|
}>;
|
|
22
|
-
component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
22
|
+
component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* Share the dropdown item role with all its children.
|
|
26
26
|
* @param {Ref<string>} role the dropdown item role
|
|
27
27
|
*/
|
|
28
|
-
export declare function useProvideDropdownItem({ role,
|
|
28
|
+
export declare function useProvideDropdownItem({ role, ...others }: Omit<DropdownItemState, 'role'> & {
|
|
29
29
|
role: Ref<`${DropdownRole}`>;
|
|
30
|
-
expanded: Ref<boolean>;
|
|
31
30
|
}): {
|
|
32
31
|
itemRole: globalThis.ComputedRef<DropdownItemRole>;
|
|
33
32
|
};
|