@volverjs/ui-vue 0.0.10-beta.5 → 0.0.10-beta.51
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 +148 -51
- package/auto-imports.d.ts +25 -12
- package/bin/icons.cjs +1 -1
- package/bin/icons.js +28 -20
- package/dist/Volver.d.ts +11 -11
- package/dist/components/VvAccordion/VvAccordion.es.js +192 -104
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +29 -10
- package/dist/components/VvAccordion/index.d.ts +8 -9
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +485 -206
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +61 -18
- package/dist/components/VvAccordionGroup/index.d.ts +16 -8
- package/dist/components/VvAction/VvAction.es.js +84 -33
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +61 -28
- package/dist/components/VvAction/index.d.ts +26 -10
- package/dist/components/VvAlert/VvAlert.es.js +350 -318
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +25 -17
- package/dist/components/VvAlert/index.d.ts +20 -11
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +388 -327
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +22 -17
- package/dist/components/VvAlertGroup/index.d.ts +10 -18
- package/dist/components/VvAvatar/VvAvatar.es.js +66 -28
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +13 -5
- package/dist/components/VvAvatar/index.d.ts +4 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +147 -74
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +17 -10
- package/dist/components/VvAvatarGroup/index.d.ts +6 -3
- package/dist/components/VvBadge/VvBadge.es.js +78 -34
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +13 -5
- package/dist/components/VvBadge/index.d.ts +4 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +294 -83
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +28 -8
- package/dist/components/VvBreadcrumb/index.d.ts +6 -10
- package/dist/components/VvButton/VvButton.es.js +510 -488
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +97 -45
- package/dist/components/VvButton/index.d.ts +52 -30
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +95 -45
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +35 -17
- package/dist/components/VvButtonGroup/index.d.ts +13 -4
- package/dist/components/VvCard/VvCard.es.js +87 -42
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +13 -5
- package/dist/components/VvCard/index.d.ts +4 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +177 -136
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +105 -35
- package/dist/components/VvCheckbox/index.d.ts +52 -19
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +408 -322
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +103 -34
- package/dist/components/VvCheckboxGroup/index.d.ts +45 -12
- package/dist/components/VvCombobox/VvCombobox.es.js +1963 -1639
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +260 -672
- package/dist/components/VvCombobox/index.d.ts +385 -135
- package/dist/components/VvDialog/VvDialog.es.js +177 -297
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +23 -7
- package/dist/components/VvDialog/index.d.ts +12 -0
- package/dist/components/VvDropdown/VvDropdown.es.js +172 -102
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +110 -315
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +77 -28
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +13 -1
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +13 -5
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +38 -10
- package/dist/components/VvDropdown/index.d.ts +52 -118
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +165 -60
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +337 -10
- 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 +24 -102
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +4 -68
- package/dist/components/VvIcon/index.d.ts +33 -48
- package/dist/components/VvInputFile/VvInputFile.es.js +1777 -0
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -0
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +317 -0
- package/dist/components/VvInputFile/index.d.ts +193 -0
- package/dist/components/VvInputText/VvInputClearAction.d.ts +16 -10
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +20 -14
- package/dist/components/VvInputText/VvInputStepAction.d.ts +11 -7
- package/dist/components/VvInputText/VvInputText.es.js +1495 -548
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +216 -68
- package/dist/components/VvInputText/index.d.ts +101 -31
- package/dist/components/VvNav/VvNav.es.js +155 -75
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +32 -11
- package/dist/components/VvNav/VvNavItem.vue.d.ts +1 -1
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +1 -1
- package/dist/components/VvNav/index.d.ts +5 -2
- package/dist/components/VvNavItem/VvNavItem.es.js +100 -39
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +73 -27
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +13 -6
- package/dist/components/VvProgress/index.d.ts +4 -1
- package/dist/components/VvRadio/VvRadio.es.js +175 -135
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +103 -33
- package/dist/components/VvRadio/index.d.ts +50 -17
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +406 -321
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +103 -34
- package/dist/components/VvRadioGroup/index.d.ts +45 -12
- package/dist/components/VvSelect/VvSelect.es.js +677 -611
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +107 -199
- package/dist/components/VvSelect/index.d.ts +196 -16
- package/dist/components/VvTab/VvTab.es.js +230 -110
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +34 -12
- package/dist/components/VvTab/index.d.ts +6 -3
- package/dist/components/VvTextarea/VvTextarea.es.js +278 -255
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +159 -54
- package/dist/components/VvTextarea/index.d.ts +69 -20
- package/dist/components/VvTooltip/VvTooltip.es.js +83 -30
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +16 -9
- package/dist/components/VvTooltip/index.d.ts +5 -2
- package/dist/components/common/HintSlot.d.ts +8 -9
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.es.js +4303 -2228
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlerInject.d.ts +4 -0
- package/dist/composables/alert/useAlert.d.ts +71 -6
- package/dist/composables/alert/{useProvideAlert.d.ts → useAlertProvide.d.ts} +1 -1
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +18 -0
- package/dist/composables/dropdown/useDropdownInject.d.ts +12 -0
- package/dist/composables/dropdown/{useProvideDropdown.d.ts → useDropdownProvide.d.ts} +6 -7
- package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +17 -0
- package/dist/composables/group/useGroupStateInject.d.ts +9 -0
- package/dist/composables/group/useGroupStateProvide.d.ts +6 -0
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/index.es.js +178 -6
- package/dist/composables/index.umd.js +1 -1
- package/dist/composables/useBlurhash.d.ts +7 -0
- package/dist/composables/useComponentFocus.d.ts +2 -2
- package/dist/composables/useComponentIcon.d.ts +9 -8
- package/dist/composables/useOptions.d.ts +5 -5
- package/dist/composables/usePersistence.d.ts +3 -0
- package/dist/composables/useUniqueId.d.ts +2 -2
- package/dist/composables/useVolver.d.ts +1 -1
- package/dist/constants.d.ts +35 -33
- package/dist/directives/index.d.ts +3 -5
- package/dist/directives/index.es.js +247 -82
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-contextmenu.es.js +137 -31
- package/dist/directives/v-contextmenu.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +101 -39
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.d.ts +17 -17
- package/dist/icons.es.js +516 -516
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +74 -6
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +288 -198
- package/dist/resolvers/unplugin.d.ts +6 -1
- package/dist/resolvers/unplugin.es.js +87 -10
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/Accordion/Accordion.settings.d.ts +2 -57
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +2 -66
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -127
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +1304 -538
- package/dist/stories/Alert/Alert.settings.d.ts +2 -109
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +2 -85
- package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +1 -1
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +2 -38
- package/dist/stories/Badge/Badge.settings.d.ts +2 -26
- package/dist/stories/Badge/Badge.test.d.ts +1 -1
- package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +2 -18
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
- package/dist/stories/Button/Button.settings.d.ts +2 -194
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +2 -40
- package/dist/stories/Card/Card.settings.d.ts +2 -63
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +2 -132
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -141
- package/dist/stories/Combobox/Combobox.settings.d.ts +2 -609
- package/dist/stories/Combobox/Combobox.stories.d.ts +1 -0
- package/dist/stories/Combobox/ComboboxMultiple.stories.d.ts +1 -0
- package/dist/stories/Dialog/Dialog.settings.d.ts +2 -47
- package/dist/stories/Dialog/DialogModifiers.stories.d.ts +8 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +2 -205
- package/dist/stories/Icon/Icon.settings.d.ts +3 -68
- package/dist/stories/InputFile/InputFile.settings.d.ts +6 -0
- package/dist/stories/InputFile/InputFile.stories.d.ts +13 -0
- package/dist/stories/InputFile/InputFileDropArea.stories.d.ts +9 -0
- package/dist/stories/InputFile/InputFileIconPosition.stories.d.ts +8 -0
- package/dist/stories/InputFile/InputFileSlots.stories.d.ts +7 -0
- package/dist/stories/InputText/InputText.settings.d.ts +2 -438
- package/dist/stories/Nav/Nav.settings.d.ts +2 -10
- package/dist/stories/Progress/Progress.settings.d.ts +2 -27
- package/dist/stories/Radio/Radio.settings.d.ts +1 -110
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -141
- package/dist/stories/Select/Select.settings.d.ts +2 -246
- package/dist/stories/Select/Select.stories.d.ts +1 -0
- package/dist/stories/Tab/Tab.settings.d.ts +2 -15
- package/dist/stories/Textarea/Textarea.settings.d.ts +2 -287
- package/dist/stories/argTypes.d.ts +27 -866
- package/dist/test/expect.d.ts +1 -2
- package/dist/test/options.d.ts +1 -1
- package/dist/test/sleep.d.ts +1 -1
- package/dist/types/alert.d.ts +9 -7
- package/dist/types/blurhash.d.ts +12 -0
- package/dist/types/floating-ui.d.ts +1 -1
- package/dist/types/generic.d.ts +1 -2
- package/dist/types/group.d.ts +37 -15
- package/dist/types/index.d.ts +7 -0
- package/dist/types/input-file.d.ts +9 -0
- package/dist/types/nav.d.ts +2 -2
- package/dist/utils/DomUtilities.d.ts +1 -0
- package/dist/utils/ObjectUtilities.d.ts +8 -9
- package/dist/workers/blurhash.d.ts +1 -0
- package/package.json +238 -246
- package/src/Volver.ts +251 -246
- 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 +163 -100
- package/src/components/VvAccordion/index.ts +65 -80
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +224 -106
- package/src/components/VvAccordionGroup/index.ts +42 -42
- package/src/components/VvAction/VvAction.vue +144 -130
- package/src/components/VvAlert/VvAlert.vue +72 -70
- package/src/components/VvAlert/index.ts +149 -147
- package/src/components/VvAlertGroup/VvAlertGroup.vue +57 -56
- package/src/components/VvAlertGroup/index.ts +102 -118
- package/src/components/VvAvatar/VvAvatar.vue +20 -14
- package/src/components/VvAvatar/index.ts +5 -5
- package/src/components/VvAvatarGroup/VvAvatarGroup.vue +58 -53
- package/src/components/VvAvatarGroup/index.ts +21 -21
- package/src/components/VvBadge/VvBadge.vue +15 -14
- package/src/components/VvBadge/index.ts +2 -2
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +50 -48
- package/src/components/VvBreadcrumb/index.ts +3 -9
- package/src/components/VvButton/VvButton.vue +163 -152
- package/src/components/VvButton/index.ts +104 -111
- package/src/components/VvButtonGroup/VvButtonGroup.vue +73 -65
- package/src/components/VvButtonGroup/index.ts +23 -22
- package/src/components/VvCard/VvCard.vue +30 -30
- package/src/components/VvCard/index.ts +2 -2
- package/src/components/VvCheckbox/VvCheckbox.vue +186 -184
- package/src/components/VvCheckbox/index.ts +45 -45
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +88 -87
- package/src/components/VvCombobox/VvCombobox.vue +657 -619
- package/src/components/VvCombobox/index.ts +212 -168
- package/src/components/VvDialog/VvDialog.vue +139 -129
- package/src/components/VvDialog/index.ts +42 -36
- package/src/components/VvDropdown/VvDropdown.vue +466 -445
- package/src/components/VvDropdown/VvDropdownAction.vue +37 -39
- package/src/components/VvDropdown/VvDropdownItem.vue +30 -26
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +13 -12
- package/src/components/VvDropdown/VvDropdownOption.vue +47 -64
- package/src/components/VvDropdown/index.ts +61 -27
- package/src/components/VvIcon/README.md +1 -1
- package/src/components/VvIcon/VvIcon.vue +133 -133
- package/src/components/VvIcon/index.ts +84 -97
- package/src/components/VvInputFile/VvInputFile.vue +413 -0
- package/src/components/VvInputFile/index.ts +143 -0
- package/src/components/VvInputText/VvInputClearAction.ts +51 -47
- package/src/components/VvInputText/VvInputPasswordAction.ts +66 -62
- package/src/components/VvInputText/VvInputStepAction.ts +43 -43
- package/src/components/VvInputText/VvInputText.vue +653 -516
- package/src/components/VvInputText/VvInputTextActions.ts +87 -87
- package/src/components/VvInputText/index.ts +201 -186
- package/src/components/VvNav/VvNav.vue +40 -36
- package/src/components/VvNav/VvNavItem.vue +12 -12
- package/src/components/VvNav/VvNavSeparator.vue +6 -6
- package/src/components/VvNav/index.ts +2 -2
- package/src/components/VvProgress/VvProgress.vue +27 -27
- package/src/components/VvProgress/index.ts +28 -28
- package/src/components/VvRadio/VvRadio.vue +115 -112
- package/src/components/VvRadio/index.ts +29 -29
- package/src/components/VvRadioGroup/VvRadioGroup.vue +91 -90
- package/src/components/VvSelect/VvSelect.vue +262 -241
- package/src/components/VvSelect/index.ts +88 -63
- package/src/components/VvTab/VvTab.vue +79 -69
- package/src/components/VvTab/index.ts +13 -13
- package/src/components/VvTextarea/VvTextarea.vue +218 -219
- package/src/components/VvTextarea/index.ts +35 -35
- package/src/components/VvTooltip/VvTooltip.vue +22 -16
- package/src/components/VvTooltip/index.ts +12 -12
- package/src/components/common/HintSlot.ts +151 -152
- package/src/components/index.ts +10 -0
- package/src/composables/alert/{useInjectAlert.ts → useAlerInject.ts} +1 -1
- package/src/composables/alert/useAlert.ts +76 -73
- package/src/composables/alert/{useProvideAlert.ts → useAlertProvide.ts} +12 -12
- package/src/composables/dropdown/useDropdownContextmenu.ts +22 -0
- package/src/composables/dropdown/{useInjectDropdown.ts → useDropdownInject.ts} +6 -6
- package/src/composables/dropdown/useDropdownProvide.ts +94 -0
- package/src/composables/dropdown/useDropdownVirtualElement.ts +53 -0
- package/src/composables/group/useGroupStateInject.ts +55 -0
- package/src/composables/group/useGroupStateProvide.ts +14 -0
- package/src/composables/index.ts +3 -0
- package/src/composables/useBlurhash.ts +68 -0
- package/src/composables/useComponentFocus.ts +9 -9
- package/src/composables/useComponentIcon.ts +36 -35
- package/src/composables/useDebouncedInput.ts +25 -25
- package/src/composables/useDefaults.ts +81 -80
- package/src/composables/useModifiers.ts +29 -29
- package/src/composables/useOptions.ts +51 -42
- package/src/composables/usePersistence.ts +74 -0
- package/src/composables/useTextCount.ts +46 -46
- package/src/composables/useUniqueId.ts +4 -4
- package/src/composables/useVolver.ts +1 -1
- package/src/constants.ts +98 -83
- package/src/directives/index.ts +3 -6
- package/src/directives/v-contextmenu.ts +26 -34
- package/src/directives/v-tooltip.ts +20 -11
- package/src/icons.ts +2 -2
- package/src/index.ts +6 -4
- package/src/props/index.ts +467 -383
- package/src/resolvers/unplugin.ts +154 -144
- package/src/shims.d.ts +4 -5
- package/src/stories/Accordion/Accordion.settings.ts +51 -50
- package/src/stories/Accordion/Accordion.stories.ts +21 -21
- package/src/stories/Accordion/Accordion.test.ts +56 -54
- package/src/stories/Accordion/AccordionSlots.stories.ts +13 -13
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +70 -67
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +41 -39
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +49 -45
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +36 -36
- package/src/stories/Alert/Alert.settings.ts +117 -116
- package/src/stories/Alert/Alert.stories.ts +30 -30
- package/src/stories/Alert/Alert.test.ts +78 -80
- package/src/stories/Alert/AlertModifiers.stories.ts +45 -45
- package/src/stories/Alert/AlertSlots.stories.ts +35 -35
- package/src/stories/AlertGroup/AlertGroup.settings.ts +107 -105
- package/src/stories/AlertGroup/AlertGroup.stories.ts +25 -25
- package/src/stories/AlertGroup/AlertGroup.test.ts +69 -71
- package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +68 -68
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +23 -23
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +58 -58
- package/src/stories/Avatar/Avatar.settings.ts +29 -29
- package/src/stories/Avatar/Avatar.stories.ts +22 -22
- package/src/stories/Avatar/Avatar.test.ts +22 -24
- package/src/stories/Avatar/AvatarBadge.stories.ts +15 -15
- package/src/stories/Avatar/AvatarModifiers.stories.ts +60 -60
- package/src/stories/Avatar/AvatarSlots.stories.ts +17 -17
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +54 -53
- package/src/stories/AvatarGroup/AvatarGroup.stories.ts +17 -17
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +24 -26
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +15 -15
- package/src/stories/AvatarGroup/AvatarGroupSlotDefault.stories.ts +17 -17
- package/src/stories/Badge/Badge.settings.ts +21 -20
- package/src/stories/Badge/Badge.stories.ts +24 -24
- package/src/stories/Badge/Badge.test.ts +8 -8
- package/src/stories/Badge/BadgeSlots.stories.ts +10 -10
- package/src/stories/Blurhash/BlurhashComposable.stories.ts +116 -0
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +35 -34
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +23 -23
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +44 -43
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +19 -19
- package/src/stories/Button/Button.settings.ts +147 -151
- package/src/stories/Button/Button.stories.ts +19 -19
- package/src/stories/Button/Button.test.ts +41 -42
- package/src/stories/Button/ButtonIcon.stories.ts +42 -42
- package/src/stories/Button/ButtonLink.stories.ts +24 -24
- package/src/stories/Button/ButtonLoading.stories.ts +22 -22
- package/src/stories/Button/ButtonModifiers.stories.ts +91 -91
- package/src/stories/Button/ButtonSlots.stories.ts +47 -47
- package/src/stories/Button/ButtonState.stories.ts +23 -23
- package/src/stories/Button/ButtonToggle.stories.ts +30 -30
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +33 -24
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +19 -19
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +23 -26
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +20 -20
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +17 -17
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +22 -22
- package/src/stories/Card/Card.settings.ts +49 -48
- package/src/stories/Card/Card.stories.ts +22 -22
- package/src/stories/Card/Card.test.ts +14 -16
- package/src/stories/Card/CardSlots.stories.ts +42 -42
- package/src/stories/Checkbox/Checkbox.settings.ts +36 -35
- package/src/stories/Checkbox/Checkbox.stories.ts +57 -57
- package/src/stories/Checkbox/Checkbox.test.ts +63 -66
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +18 -18
- package/src/stories/Checkbox/CheckboxSlots.stories.ts +15 -15
- package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +9 -9
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +50 -50
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +64 -68
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +34 -34
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +23 -23
- package/src/stories/Combobox/Combobox.settings.ts +408 -385
- package/src/stories/Combobox/Combobox.stories.ts +116 -107
- package/src/stories/Combobox/Combobox.test.ts +92 -92
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +25 -24
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +32 -22
- package/src/stories/Combobox/ComboboxOptions.stories.ts +81 -84
- package/src/stories/Combobox/ComboboxSlots.stories.ts +55 -54
- package/src/stories/Dialog/Dialog.settings.ts +49 -40
- package/src/stories/Dialog/Dialog.stories.ts +28 -28
- package/src/stories/Dialog/Dialog.test.ts +49 -54
- package/src/stories/Dialog/DialogModifiers.stories.ts +42 -0
- package/src/stories/Dialog/DialogSlots.stories.ts +20 -20
- package/src/stories/Dropdown/Dropdown.settings.ts +62 -61
- package/src/stories/Dropdown/Dropdown.stories.ts +60 -60
- package/src/stories/Dropdown/Dropdown.test.ts +9 -13
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +18 -19
- package/src/stories/Dropdown/DropdownMultilevel.stories.ts +19 -19
- package/src/stories/Dropdown/DropdownSlots.stories.ts +51 -51
- package/src/stories/Icon/Icon.settings.ts +66 -65
- package/src/stories/Icon/Icon.stories.ts +29 -30
- package/src/stories/Icon/IconsCollection.stories.ts +24 -24
- package/src/stories/InputFile/InputFile.settings.ts +37 -0
- package/src/stories/InputFile/InputFile.stories.ts +97 -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.settings.ts +248 -246
- package/src/stories/InputText/InputText.stories.ts +68 -68
- package/src/stories/InputText/InputText.test.ts +119 -122
- package/src/stories/InputText/InputTextIconPosition.stories.ts +24 -24
- package/src/stories/InputText/InputTextLength.stories.ts +33 -33
- package/src/stories/InputText/InputTextMask.stories.ts +91 -91
- package/src/stories/InputText/InputTextMinMax.stories.ts +30 -30
- package/src/stories/InputText/InputTextSlots.stories.ts +20 -20
- package/src/stories/InputText/InputTextType.stories.ts +70 -70
- package/src/stories/Nav/Nav.settings.ts +27 -27
- package/src/stories/Nav/Nav.stories.ts +18 -18
- package/src/stories/Nav/Nav.test.ts +10 -12
- package/src/stories/Nav/NavModifiers.stories.ts +25 -25
- package/src/stories/Progress/Progress.settings.ts +24 -23
- package/src/stories/Progress/Progress.stories.ts +23 -23
- package/src/stories/Progress/Progress.test.ts +5 -5
- package/src/stories/Radio/Radio.settings.ts +9 -9
- package/src/stories/Radio/Radio.stories.ts +47 -47
- package/src/stories/Radio/Radio.test.ts +54 -57
- package/src/stories/Radio/RadioSlots.stories.ts +15 -15
- package/src/stories/RadioGroup/RadioGroup.settings.ts +9 -9
- package/src/stories/RadioGroup/RadioGroup.stories.ts +51 -52
- package/src/stories/RadioGroup/RadioGroup.test.ts +64 -68
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +35 -35
- package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +23 -23
- package/src/stories/Select/Select.settings.ts +72 -71
- package/src/stories/Select/Select.stories.ts +75 -66
- package/src/stories/Select/Select.test.ts +67 -70
- package/src/stories/Select/SelectIconPosition.stories.ts +27 -26
- package/src/stories/Select/SelectOptions.stories.ts +55 -55
- package/src/stories/Select/SelectSlots.stories.ts +21 -20
- package/src/stories/Tab/Tab.settings.ts +34 -34
- package/src/stories/Tab/Tab.stories.ts +16 -16
- package/src/stories/Tab/Tab.test.ts +17 -19
- package/src/stories/Textarea/Textarea.settings.ts +80 -78
- package/src/stories/Textarea/Textarea.stories.ts +63 -63
- package/src/stories/Textarea/Textarea.test.ts +70 -73
- package/src/stories/Textarea/TextareaLength.stories.ts +33 -33
- package/src/stories/Textarea/TextareaSlots.stories.ts +20 -20
- package/src/stories/Textarea/TextareatIconPosition.stories.ts +24 -24
- package/src/stories/Tooltip/Tooltip.settings.ts +16 -17
- package/src/stories/Tooltip/Tooltip.stories.ts +18 -18
- package/src/stories/Tooltip/Tooltip.test.ts +53 -54
- package/src/stories/Tooltip/TooltipDirective.stories.ts +37 -37
- package/src/stories/argTypes.ts +506 -505
- package/src/test/expect.ts +74 -79
- package/src/test/options.ts +17 -16
- package/src/test/sleep.ts +3 -2
- package/src/test/types.d.ts +12 -12
- package/src/types/alert.ts +21 -17
- package/src/types/blurhash.ts +21 -0
- package/src/types/floating-ui.ts +1 -1
- package/src/types/generic.ts +2 -3
- package/src/types/group.ts +35 -27
- package/src/types/index.ts +7 -0
- package/src/types/input-file.ts +10 -0
- package/src/types/nav.ts +13 -14
- package/src/utils/DomUtilities.ts +15 -0
- package/src/utils/ObjectUtilities.ts +192 -188
- package/src/workers/blurhash.ts +9 -0
- 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/src/composables/dropdown/useProvideDropdown.ts +0 -94
- package/src/composables/group/useInjectedGroupState.ts +0 -51
- package/src/composables/group/useProvideGroupState.ts +0 -20
- /package/src/assets/icons/normal/{dulicate.svg → duplicate.svg} +0 -0
|
@@ -1,778 +1,366 @@
|
|
|
1
1
|
import type { Option } from '../../types/generic';
|
|
2
|
-
declare const _default:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
selectedHintLabel: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
deselectActionLabel: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
selectHintLabel: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
deselectHintLabel: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
closeLabel: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
placeholder: StringConstructor;
|
|
40
|
-
searchable: BooleanConstructor;
|
|
41
|
-
searchFunction: {
|
|
42
|
-
type: globalThis.PropType<(search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>>;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
|
-
searchPlaceholder: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
debounceSearch: {
|
|
50
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
51
|
-
default: number;
|
|
52
|
-
};
|
|
53
|
-
multiple: BooleanConstructor;
|
|
54
|
-
maxValues: (StringConstructor | NumberConstructor)[];
|
|
55
|
-
separator: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
native: BooleanConstructor;
|
|
60
|
-
badges: BooleanConstructor;
|
|
61
|
-
badgeModifiers: {
|
|
62
|
-
type: globalThis.PropType<string | string[]>;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
triggerWidth: {
|
|
66
|
-
default: boolean;
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
};
|
|
69
|
-
dropdownModifiers: {
|
|
70
|
-
type: globalThis.PropType<string | string[]>;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
autoOpen: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
default: boolean;
|
|
76
|
-
};
|
|
77
|
-
keepOpen: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
label: (StringConstructor | NumberConstructor)[];
|
|
82
|
-
placement: {
|
|
83
|
-
type: globalThis.PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
84
|
-
default: import("../../constants").Side;
|
|
85
|
-
validator: (value: never) => boolean;
|
|
86
|
-
};
|
|
87
|
-
strategy: {
|
|
88
|
-
type: globalThis.PropType<"absolute" | "fixed">;
|
|
89
|
-
default: undefined;
|
|
90
|
-
validator: (value: import("../../constants").Strategy) => boolean;
|
|
91
|
-
};
|
|
92
|
-
offset: {
|
|
93
|
-
type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
|
|
94
|
-
default: number;
|
|
95
|
-
};
|
|
96
|
-
shift: {
|
|
97
|
-
type: globalThis.PropType<boolean | {
|
|
2
|
+
declare const _default: <T extends string | Option>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
4
|
+
floating: boolean;
|
|
5
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
6
|
+
strategy: "absolute" | "fixed";
|
|
7
|
+
size: boolean | {
|
|
8
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
9
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
10
|
+
altBoundary?: boolean | undefined;
|
|
11
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
12
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
13
|
+
apply?: ((args: import("@floating-ui/dom").MiddlewareState & {
|
|
14
|
+
availableWidth: number;
|
|
15
|
+
availableHeight: number;
|
|
16
|
+
}) => void | Promise<void>) | undefined;
|
|
17
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
98
18
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
99
19
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
100
20
|
altBoundary?: boolean | undefined;
|
|
101
21
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
22
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
23
|
+
apply?: ((args: import("@floating-ui/dom").MiddlewareState & {
|
|
24
|
+
availableWidth: number;
|
|
25
|
+
availableHeight: number;
|
|
26
|
+
}) => void | Promise<void>) | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
shift: boolean | {
|
|
102
29
|
crossAxis?: boolean | undefined;
|
|
30
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
31
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
32
|
+
altBoundary?: boolean | undefined;
|
|
33
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
103
34
|
mainAxis?: boolean | undefined;
|
|
104
35
|
limiter?: {
|
|
105
|
-
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/
|
|
36
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
106
37
|
options?: any;
|
|
107
38
|
} | undefined;
|
|
108
39
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
109
40
|
} | import("@floating-ui/dom").Derivable<{
|
|
41
|
+
crossAxis?: boolean | undefined;
|
|
110
42
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
111
43
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
112
44
|
altBoundary?: boolean | undefined;
|
|
113
45
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
114
|
-
crossAxis?: boolean | undefined;
|
|
115
46
|
mainAxis?: boolean | undefined;
|
|
116
47
|
limiter?: {
|
|
117
|
-
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/
|
|
48
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
118
49
|
options?: any;
|
|
119
50
|
} | undefined;
|
|
120
51
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
121
|
-
}> | undefined
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
52
|
+
}> | undefined;
|
|
53
|
+
label: string | number;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
56
|
+
modifiers: string | string[];
|
|
57
|
+
closeLabel: string;
|
|
58
|
+
icon: string | import("../VvIcon").VvIconProps;
|
|
59
|
+
iconPosition: "before" | "after";
|
|
60
|
+
flip: boolean | {
|
|
61
|
+
crossAxis?: boolean | undefined;
|
|
126
62
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
127
63
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
128
64
|
altBoundary?: boolean | undefined;
|
|
129
65
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
130
|
-
crossAxis?: boolean | undefined;
|
|
131
66
|
mainAxis?: boolean | undefined;
|
|
132
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement
|
|
133
|
-
fallbackStrategy?: "
|
|
134
|
-
fallbackAxisSideDirection?: "
|
|
67
|
+
fallbackPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
68
|
+
fallbackStrategy?: ("bestFit" | "initialPlacement") | undefined;
|
|
69
|
+
fallbackAxisSideDirection?: ("none" | "start" | "end") | undefined;
|
|
135
70
|
flipAlignment?: boolean | undefined;
|
|
136
71
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
137
72
|
} | import("@floating-ui/dom").Derivable<{
|
|
73
|
+
crossAxis?: boolean | undefined;
|
|
138
74
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
139
75
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
140
76
|
altBoundary?: boolean | undefined;
|
|
141
77
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
142
|
-
crossAxis?: boolean | undefined;
|
|
143
78
|
mainAxis?: boolean | undefined;
|
|
144
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement
|
|
145
|
-
fallbackStrategy?: "
|
|
146
|
-
fallbackAxisSideDirection?: "
|
|
79
|
+
fallbackPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
80
|
+
fallbackStrategy?: ("bestFit" | "initialPlacement") | undefined;
|
|
81
|
+
fallbackAxisSideDirection?: ("none" | "start" | "end") | undefined;
|
|
147
82
|
flipAlignment?: boolean | undefined;
|
|
148
83
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
149
|
-
}> | undefined
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
84
|
+
}> | undefined;
|
|
85
|
+
required: boolean;
|
|
86
|
+
loading: boolean;
|
|
87
|
+
loadingLabel: string;
|
|
88
|
+
unselectable: boolean;
|
|
89
|
+
multiple: boolean;
|
|
90
|
+
readonly: boolean;
|
|
91
|
+
hintLabel: string;
|
|
92
|
+
invalid: boolean;
|
|
93
|
+
invalidLabel: string | unknown[];
|
|
94
|
+
valid: boolean;
|
|
95
|
+
validLabel: string | unknown[];
|
|
96
|
+
tabindex: string | number;
|
|
97
|
+
options: T[];
|
|
98
|
+
labelKey: string | Function;
|
|
99
|
+
valueKey: string | Function;
|
|
100
|
+
disabledKey: string | Function;
|
|
101
|
+
transitionName: string;
|
|
102
|
+
offset: string | import("@floating-ui/dom").OffsetOptions | undefined;
|
|
103
|
+
autoPlacement: boolean | {
|
|
104
|
+
crossAxis?: boolean | undefined;
|
|
105
|
+
alignment?: (import("@floating-ui/utils").Alignment | null) | undefined;
|
|
106
|
+
autoAlignment?: boolean | undefined;
|
|
107
|
+
allowedPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
154
108
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
155
109
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
156
110
|
altBoundary?: boolean | undefined;
|
|
157
111
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
158
112
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
159
|
-
apply?: ((args: {
|
|
160
|
-
x: number;
|
|
161
|
-
y: number;
|
|
162
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
163
|
-
placement: import("@floating-ui/utils").Placement;
|
|
164
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
165
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
166
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
167
|
-
platform: import("@floating-ui/core").Platform;
|
|
168
|
-
elements: import("@floating-ui/dom").Elements;
|
|
169
|
-
} & {
|
|
170
|
-
availableWidth: number;
|
|
171
|
-
availableHeight: number;
|
|
172
|
-
}) => void | Promise<void>) | undefined;
|
|
173
113
|
} | import("@floating-ui/dom").Derivable<{
|
|
114
|
+
crossAxis?: boolean | undefined;
|
|
115
|
+
alignment?: (import("@floating-ui/utils").Alignment | null) | undefined;
|
|
116
|
+
autoAlignment?: boolean | undefined;
|
|
117
|
+
allowedPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
174
118
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
175
119
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
176
120
|
altBoundary?: boolean | undefined;
|
|
177
121
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
178
122
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
123
|
+
}> | undefined;
|
|
124
|
+
arrow: boolean;
|
|
125
|
+
keepOpen: boolean;
|
|
126
|
+
autofocusFirst: boolean;
|
|
127
|
+
triggerWidth: boolean;
|
|
128
|
+
deselectHintLabel: string;
|
|
129
|
+
selectHintLabel: string;
|
|
130
|
+
selectedHintLabel: string;
|
|
131
|
+
autoselectFirst: boolean;
|
|
132
|
+
searchFunction: (search: string, options: T[]) => T[] | Promise<T[]>;
|
|
133
|
+
noResultsLabel: string;
|
|
134
|
+
noOptionsLabel: string;
|
|
135
|
+
deselectActionLabel: string;
|
|
136
|
+
searchable: boolean;
|
|
137
|
+
searchPlaceholder: string;
|
|
138
|
+
debounceSearch: string | number;
|
|
139
|
+
minValues: string | number;
|
|
140
|
+
separator: string;
|
|
141
|
+
native: boolean;
|
|
142
|
+
badges: boolean;
|
|
143
|
+
badgeModifiers: string | string[];
|
|
144
|
+
dropdownModifiers: string | string[];
|
|
145
|
+
autoOpen: boolean;
|
|
146
|
+
}> & Omit<{
|
|
147
|
+
readonly floating: boolean;
|
|
148
|
+
readonly placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
149
|
+
readonly size: boolean | {
|
|
200
150
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
201
151
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
202
152
|
altBoundary?: boolean | undefined;
|
|
203
153
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
204
|
-
crossAxis?: boolean | undefined;
|
|
205
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
206
|
-
autoAlignment?: boolean | undefined;
|
|
207
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
208
154
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
155
|
+
apply?: ((args: import("@floating-ui/dom").MiddlewareState & {
|
|
156
|
+
availableWidth: number;
|
|
157
|
+
availableHeight: number;
|
|
158
|
+
}) => void | Promise<void>) | undefined;
|
|
209
159
|
} | import("@floating-ui/dom").Derivable<{
|
|
210
160
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
211
161
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
212
162
|
altBoundary?: boolean | undefined;
|
|
213
163
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
214
|
-
crossAxis?: boolean | undefined;
|
|
215
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
216
|
-
autoAlignment?: boolean | undefined;
|
|
217
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
218
164
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
autofocusFirst: {
|
|
227
|
-
type: BooleanConstructor;
|
|
228
|
-
default: boolean;
|
|
229
|
-
};
|
|
230
|
-
unselectable: {
|
|
231
|
-
type: BooleanConstructor;
|
|
232
|
-
default: boolean;
|
|
233
|
-
};
|
|
234
|
-
floating: BooleanConstructor;
|
|
235
|
-
icon: {
|
|
236
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
237
|
-
};
|
|
238
|
-
iconPosition: {
|
|
239
|
-
type: globalThis.PropType<"before" | "after">;
|
|
240
|
-
default: import("../../constants").Position;
|
|
241
|
-
validation: (value: import("../../constants").Position) => boolean;
|
|
242
|
-
};
|
|
243
|
-
options: {
|
|
244
|
-
type: globalThis.PropType<(string | Option)[]>;
|
|
245
|
-
default: () => never[];
|
|
246
|
-
};
|
|
247
|
-
labelKey: {
|
|
248
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
249
|
-
default: string;
|
|
250
|
-
};
|
|
251
|
-
valueKey: {
|
|
252
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
253
|
-
default: string;
|
|
254
|
-
};
|
|
255
|
-
disabledKey: {
|
|
256
|
-
type: (StringConstructor | FunctionConstructor)[];
|
|
257
|
-
default: string;
|
|
258
|
-
};
|
|
259
|
-
modifiers: globalThis.PropType<string | string[]>;
|
|
260
|
-
readonly: BooleanConstructor;
|
|
261
|
-
disabled: BooleanConstructor;
|
|
262
|
-
loading: BooleanConstructor;
|
|
263
|
-
loadingLabel: {
|
|
264
|
-
type: StringConstructor;
|
|
265
|
-
default: string;
|
|
266
|
-
};
|
|
267
|
-
hintLabel: {
|
|
268
|
-
type: StringConstructor;
|
|
269
|
-
default: string;
|
|
270
|
-
};
|
|
271
|
-
invalid: BooleanConstructor;
|
|
272
|
-
invalidLabel: (ArrayConstructor | StringConstructor)[];
|
|
273
|
-
valid: BooleanConstructor;
|
|
274
|
-
validLabel: (ArrayConstructor | StringConstructor)[];
|
|
275
|
-
tabindex: {
|
|
276
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
277
|
-
default: number;
|
|
278
|
-
};
|
|
279
|
-
name: {
|
|
280
|
-
type: StringConstructor;
|
|
281
|
-
required: boolean;
|
|
282
|
-
};
|
|
283
|
-
id: (StringConstructor | NumberConstructor)[];
|
|
284
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
285
|
-
transitionName: {
|
|
286
|
-
type: StringConstructor;
|
|
287
|
-
default: string;
|
|
288
|
-
};
|
|
289
|
-
modelValue: {
|
|
290
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
291
|
-
default: undefined;
|
|
292
|
-
};
|
|
293
|
-
noResultsLabel: {
|
|
294
|
-
type: StringConstructor;
|
|
295
|
-
default: string;
|
|
296
|
-
};
|
|
297
|
-
noOptionsLabel: {
|
|
298
|
-
type: StringConstructor;
|
|
299
|
-
default: string;
|
|
300
|
-
};
|
|
301
|
-
selectedHintLabel: {
|
|
302
|
-
type: StringConstructor;
|
|
303
|
-
default: string;
|
|
304
|
-
};
|
|
305
|
-
deselectActionLabel: {
|
|
306
|
-
type: StringConstructor;
|
|
307
|
-
default: string;
|
|
308
|
-
};
|
|
309
|
-
selectHintLabel: {
|
|
310
|
-
type: StringConstructor;
|
|
311
|
-
default: string;
|
|
312
|
-
};
|
|
313
|
-
deselectHintLabel: {
|
|
314
|
-
type: StringConstructor;
|
|
315
|
-
default: string;
|
|
316
|
-
};
|
|
317
|
-
closeLabel: {
|
|
318
|
-
type: StringConstructor;
|
|
319
|
-
default: string;
|
|
320
|
-
};
|
|
321
|
-
placeholder: StringConstructor;
|
|
322
|
-
searchable: BooleanConstructor;
|
|
323
|
-
searchFunction: {
|
|
324
|
-
type: globalThis.PropType<(search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>>;
|
|
325
|
-
default: undefined;
|
|
326
|
-
};
|
|
327
|
-
searchPlaceholder: {
|
|
328
|
-
type: StringConstructor;
|
|
329
|
-
default: string;
|
|
330
|
-
};
|
|
331
|
-
debounceSearch: {
|
|
332
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
333
|
-
default: number;
|
|
334
|
-
};
|
|
335
|
-
multiple: BooleanConstructor;
|
|
336
|
-
maxValues: (StringConstructor | NumberConstructor)[];
|
|
337
|
-
separator: {
|
|
338
|
-
type: StringConstructor;
|
|
339
|
-
default: string;
|
|
340
|
-
};
|
|
341
|
-
native: BooleanConstructor;
|
|
342
|
-
badges: BooleanConstructor;
|
|
343
|
-
badgeModifiers: {
|
|
344
|
-
type: globalThis.PropType<string | string[]>;
|
|
345
|
-
default: string;
|
|
346
|
-
};
|
|
347
|
-
triggerWidth: {
|
|
348
|
-
default: boolean;
|
|
349
|
-
type: BooleanConstructor;
|
|
350
|
-
};
|
|
351
|
-
dropdownModifiers: {
|
|
352
|
-
type: globalThis.PropType<string | string[]>;
|
|
353
|
-
default: string;
|
|
354
|
-
};
|
|
355
|
-
autoOpen: {
|
|
356
|
-
type: BooleanConstructor;
|
|
357
|
-
default: boolean;
|
|
358
|
-
};
|
|
359
|
-
keepOpen: {
|
|
360
|
-
type: BooleanConstructor;
|
|
361
|
-
default: boolean;
|
|
362
|
-
};
|
|
363
|
-
label: (StringConstructor | NumberConstructor)[];
|
|
364
|
-
placement: {
|
|
365
|
-
type: globalThis.PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
366
|
-
default: import("../../constants").Side;
|
|
367
|
-
validator: (value: never) => boolean;
|
|
368
|
-
};
|
|
369
|
-
strategy: {
|
|
370
|
-
type: globalThis.PropType<"absolute" | "fixed">;
|
|
371
|
-
default: undefined;
|
|
372
|
-
validator: (value: import("../../constants").Strategy) => boolean;
|
|
373
|
-
};
|
|
374
|
-
offset: {
|
|
375
|
-
type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
|
|
376
|
-
default: number;
|
|
377
|
-
};
|
|
378
|
-
shift: {
|
|
379
|
-
type: globalThis.PropType<boolean | {
|
|
165
|
+
apply?: ((args: import("@floating-ui/dom").MiddlewareState & {
|
|
166
|
+
availableWidth: number;
|
|
167
|
+
availableHeight: number;
|
|
168
|
+
}) => void | Promise<void>) | undefined;
|
|
169
|
+
}> | undefined;
|
|
170
|
+
readonly shift: boolean | {
|
|
171
|
+
crossAxis?: boolean | undefined;
|
|
380
172
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
381
173
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
382
174
|
altBoundary?: boolean | undefined;
|
|
383
175
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
384
|
-
crossAxis?: boolean | undefined;
|
|
385
176
|
mainAxis?: boolean | undefined;
|
|
386
177
|
limiter?: {
|
|
387
|
-
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/
|
|
178
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
388
179
|
options?: any;
|
|
389
180
|
} | undefined;
|
|
390
181
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
391
182
|
} | import("@floating-ui/dom").Derivable<{
|
|
183
|
+
crossAxis?: boolean | undefined;
|
|
392
184
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
393
185
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
394
186
|
altBoundary?: boolean | undefined;
|
|
395
187
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
396
|
-
crossAxis?: boolean | undefined;
|
|
397
188
|
mainAxis?: boolean | undefined;
|
|
398
189
|
limiter?: {
|
|
399
|
-
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/
|
|
190
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
400
191
|
options?: any;
|
|
401
192
|
} | undefined;
|
|
402
193
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
403
|
-
}> | undefined
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
194
|
+
}> | undefined;
|
|
195
|
+
readonly disabled: boolean;
|
|
196
|
+
readonly closeLabel: string;
|
|
197
|
+
readonly iconPosition: "before" | "after";
|
|
198
|
+
readonly flip: boolean | {
|
|
199
|
+
crossAxis?: boolean | undefined;
|
|
408
200
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
409
201
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
410
202
|
altBoundary?: boolean | undefined;
|
|
411
203
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
412
|
-
crossAxis?: boolean | undefined;
|
|
413
204
|
mainAxis?: boolean | undefined;
|
|
414
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement
|
|
415
|
-
fallbackStrategy?: "
|
|
416
|
-
fallbackAxisSideDirection?: "
|
|
205
|
+
fallbackPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
206
|
+
fallbackStrategy?: ("bestFit" | "initialPlacement") | undefined;
|
|
207
|
+
fallbackAxisSideDirection?: ("none" | "start" | "end") | undefined;
|
|
417
208
|
flipAlignment?: boolean | undefined;
|
|
418
209
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
419
210
|
} | import("@floating-ui/dom").Derivable<{
|
|
211
|
+
crossAxis?: boolean | undefined;
|
|
420
212
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
421
213
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
422
214
|
altBoundary?: boolean | undefined;
|
|
423
215
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
424
|
-
crossAxis?: boolean | undefined;
|
|
425
216
|
mainAxis?: boolean | undefined;
|
|
426
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement
|
|
427
|
-
fallbackStrategy?: "
|
|
428
|
-
fallbackAxisSideDirection?: "
|
|
217
|
+
fallbackPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
218
|
+
fallbackStrategy?: ("bestFit" | "initialPlacement") | undefined;
|
|
219
|
+
fallbackAxisSideDirection?: ("none" | "start" | "end") | undefined;
|
|
429
220
|
flipAlignment?: boolean | undefined;
|
|
430
221
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
431
|
-
}> | undefined
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
222
|
+
}> | undefined;
|
|
223
|
+
readonly required: boolean;
|
|
224
|
+
readonly loading: boolean;
|
|
225
|
+
readonly loadingLabel: string;
|
|
226
|
+
readonly unselectable: boolean;
|
|
227
|
+
readonly multiple: boolean;
|
|
228
|
+
readonly readonly: boolean;
|
|
229
|
+
readonly hintLabel: string;
|
|
230
|
+
readonly invalid: boolean;
|
|
231
|
+
readonly valid: boolean;
|
|
232
|
+
readonly tabindex: string | number;
|
|
233
|
+
readonly options: T[];
|
|
234
|
+
readonly labelKey: string | Function;
|
|
235
|
+
readonly valueKey: string | Function;
|
|
236
|
+
readonly disabledKey: string | Function;
|
|
237
|
+
readonly transitionName: string;
|
|
238
|
+
readonly offset: string | import("@floating-ui/dom").OffsetOptions | undefined;
|
|
239
|
+
readonly autoPlacement: boolean | {
|
|
240
|
+
crossAxis?: boolean | undefined;
|
|
241
|
+
alignment?: (import("@floating-ui/utils").Alignment | null) | undefined;
|
|
242
|
+
autoAlignment?: boolean | undefined;
|
|
243
|
+
allowedPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
436
244
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
437
245
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
438
246
|
altBoundary?: boolean | undefined;
|
|
439
247
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
440
248
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
441
|
-
apply?: ((args: {
|
|
442
|
-
x: number;
|
|
443
|
-
y: number;
|
|
444
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
445
|
-
placement: import("@floating-ui/utils").Placement;
|
|
446
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
447
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
448
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
449
|
-
platform: import("@floating-ui/core").Platform;
|
|
450
|
-
elements: import("@floating-ui/dom").Elements;
|
|
451
|
-
} & {
|
|
452
|
-
availableWidth: number;
|
|
453
|
-
availableHeight: number;
|
|
454
|
-
}) => void | Promise<void>) | undefined;
|
|
455
249
|
} | import("@floating-ui/dom").Derivable<{
|
|
456
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
457
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
458
|
-
altBoundary?: boolean | undefined;
|
|
459
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
460
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
461
|
-
apply?: ((args: {
|
|
462
|
-
x: number;
|
|
463
|
-
y: number;
|
|
464
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
465
|
-
placement: import("@floating-ui/utils").Placement;
|
|
466
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
467
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
468
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
469
|
-
platform: import("@floating-ui/core").Platform;
|
|
470
|
-
elements: import("@floating-ui/dom").Elements;
|
|
471
|
-
} & {
|
|
472
|
-
availableWidth: number;
|
|
473
|
-
availableHeight: number;
|
|
474
|
-
}) => void | Promise<void>) | undefined;
|
|
475
|
-
}> | undefined>;
|
|
476
|
-
default: () => {
|
|
477
|
-
padding: number;
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
autoPlacement: {
|
|
481
|
-
type: globalThis.PropType<boolean | {
|
|
482
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
483
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
484
|
-
altBoundary?: boolean | undefined;
|
|
485
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
486
250
|
crossAxis?: boolean | undefined;
|
|
487
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
251
|
+
alignment?: (import("@floating-ui/utils").Alignment | null) | undefined;
|
|
488
252
|
autoAlignment?: boolean | undefined;
|
|
489
|
-
allowedPlacements?: import("@floating-ui/utils").Placement
|
|
490
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
491
|
-
} | import("@floating-ui/dom").Derivable<{
|
|
253
|
+
allowedPlacements?: Array<import("@floating-ui/utils").Placement> | undefined;
|
|
492
254
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
493
255
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
494
256
|
altBoundary?: boolean | undefined;
|
|
495
257
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
496
|
-
crossAxis?: boolean | undefined;
|
|
497
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
498
|
-
autoAlignment?: boolean | undefined;
|
|
499
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
500
258
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
501
|
-
}> | undefined
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}> | undefined;
|
|
605
|
-
tabindex: string | number;
|
|
606
|
-
flip: boolean | {
|
|
607
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
608
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
609
|
-
altBoundary?: boolean | undefined;
|
|
610
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
611
|
-
crossAxis?: boolean | undefined;
|
|
612
|
-
mainAxis?: boolean | undefined;
|
|
613
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
614
|
-
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
615
|
-
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
616
|
-
flipAlignment?: boolean | undefined;
|
|
617
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
618
|
-
} | import("@floating-ui/dom").Derivable<{
|
|
619
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
620
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
621
|
-
altBoundary?: boolean | undefined;
|
|
622
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
623
|
-
crossAxis?: boolean | undefined;
|
|
624
|
-
mainAxis?: boolean | undefined;
|
|
625
|
-
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
626
|
-
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
627
|
-
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
628
|
-
flipAlignment?: boolean | undefined;
|
|
629
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
630
|
-
}> | undefined;
|
|
631
|
-
closeLabel: string;
|
|
632
|
-
iconPosition: "before" | "after";
|
|
633
|
-
loading: boolean;
|
|
634
|
-
loadingLabel: string;
|
|
635
|
-
hintLabel: string;
|
|
636
|
-
size: boolean | {
|
|
637
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
638
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
639
|
-
altBoundary?: boolean | undefined;
|
|
640
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
641
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
642
|
-
apply?: ((args: {
|
|
643
|
-
x: number;
|
|
644
|
-
y: number;
|
|
645
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
646
|
-
placement: import("@floating-ui/utils").Placement;
|
|
647
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
648
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
649
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
650
|
-
platform: import("@floating-ui/core").Platform;
|
|
651
|
-
elements: import("@floating-ui/dom").Elements;
|
|
652
|
-
} & {
|
|
653
|
-
availableWidth: number;
|
|
654
|
-
availableHeight: number;
|
|
655
|
-
}) => void | Promise<void>) | undefined;
|
|
656
|
-
} | import("@floating-ui/dom").Derivable<{
|
|
657
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
658
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
659
|
-
altBoundary?: boolean | undefined;
|
|
660
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
661
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
662
|
-
apply?: ((args: {
|
|
663
|
-
x: number;
|
|
664
|
-
y: number;
|
|
665
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
666
|
-
placement: import("@floating-ui/utils").Placement;
|
|
667
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
668
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
669
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
670
|
-
platform: import("@floating-ui/core").Platform;
|
|
671
|
-
elements: import("@floating-ui/dom").Elements;
|
|
672
|
-
} & {
|
|
673
|
-
availableWidth: number;
|
|
674
|
-
availableHeight: number;
|
|
675
|
-
}) => void | Promise<void>) | undefined;
|
|
676
|
-
}> | undefined;
|
|
677
|
-
labelKey: string | Function;
|
|
678
|
-
valueKey: string | Function;
|
|
679
|
-
disabledKey: string | Function;
|
|
680
|
-
transitionName: string;
|
|
681
|
-
offset: string | import("@floating-ui/core").OffsetOptions | undefined;
|
|
682
|
-
autoPlacement: boolean | {
|
|
683
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
684
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
685
|
-
altBoundary?: boolean | undefined;
|
|
686
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
687
|
-
crossAxis?: boolean | undefined;
|
|
688
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
689
|
-
autoAlignment?: boolean | undefined;
|
|
690
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
691
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
692
|
-
} | import("@floating-ui/dom").Derivable<{
|
|
693
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
694
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
695
|
-
altBoundary?: boolean | undefined;
|
|
696
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
697
|
-
crossAxis?: boolean | undefined;
|
|
698
|
-
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
699
|
-
autoAlignment?: boolean | undefined;
|
|
700
|
-
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
701
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
702
|
-
}> | undefined;
|
|
703
|
-
arrow: boolean;
|
|
704
|
-
keepOpen: boolean;
|
|
705
|
-
autofocusFirst: boolean;
|
|
706
|
-
triggerWidth: boolean;
|
|
707
|
-
deselectHintLabel: string;
|
|
708
|
-
selectHintLabel: string;
|
|
709
|
-
selectedHintLabel: string;
|
|
710
|
-
noResultsLabel: string;
|
|
711
|
-
noOptionsLabel: string;
|
|
712
|
-
deselectActionLabel: string;
|
|
713
|
-
searchable: boolean;
|
|
714
|
-
searchFunction: (search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>;
|
|
715
|
-
searchPlaceholder: string;
|
|
716
|
-
debounceSearch: string | number;
|
|
717
|
-
separator: string;
|
|
718
|
-
native: boolean;
|
|
719
|
-
badges: boolean;
|
|
720
|
-
badgeModifiers: string | string[];
|
|
721
|
-
dropdownModifiers: string | string[];
|
|
722
|
-
autoOpen: boolean;
|
|
723
|
-
}, {}>, {
|
|
724
|
-
"dropdown::before"?(_: {}): any;
|
|
725
|
-
before?(_: {
|
|
726
|
-
valid: boolean;
|
|
727
|
-
invalid: boolean;
|
|
728
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
729
|
-
}): any;
|
|
730
|
-
value?(_: {
|
|
731
|
-
selectedOptions: (string | Option)[];
|
|
732
|
-
onInput: (option: string | Option) => void;
|
|
733
|
-
}): any;
|
|
734
|
-
after?(_: {
|
|
735
|
-
valid: boolean;
|
|
736
|
-
invalid: boolean;
|
|
737
|
-
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
738
|
-
}): any;
|
|
739
|
-
option?(_: {
|
|
740
|
-
option: string | Option;
|
|
741
|
-
selectedOptions: (string | Option)[];
|
|
742
|
-
selected: boolean;
|
|
743
|
-
disabled: boolean;
|
|
744
|
-
}): any;
|
|
745
|
-
"no-options"?(_: {}): any;
|
|
746
|
-
"no-results"?(_: {}): any;
|
|
747
|
-
"dropdown::after"?(_: {}): any;
|
|
748
|
-
hint?(_: {
|
|
749
|
-
modelValue: unknown;
|
|
750
|
-
valid: boolean;
|
|
751
|
-
invalid: boolean;
|
|
752
|
-
loading: boolean;
|
|
753
|
-
}): any;
|
|
754
|
-
loading?(_: {
|
|
755
|
-
modelValue: unknown;
|
|
756
|
-
valid: boolean;
|
|
757
|
-
invalid: boolean;
|
|
758
|
-
loading: boolean;
|
|
759
|
-
}): any;
|
|
760
|
-
valid?(_: {
|
|
761
|
-
modelValue: unknown;
|
|
762
|
-
valid: boolean;
|
|
763
|
-
invalid: boolean;
|
|
764
|
-
loading: boolean;
|
|
765
|
-
}): any;
|
|
766
|
-
invalid?(_: {
|
|
767
|
-
modelValue: unknown;
|
|
768
|
-
valid: boolean;
|
|
769
|
-
invalid: boolean;
|
|
770
|
-
loading: boolean;
|
|
771
|
-
}): any;
|
|
772
|
-
}>;
|
|
773
|
-
export default _default;
|
|
774
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
775
|
-
new (): {
|
|
776
|
-
$slots: S;
|
|
777
|
-
};
|
|
259
|
+
}> | undefined;
|
|
260
|
+
readonly arrow: boolean;
|
|
261
|
+
readonly keepOpen: boolean;
|
|
262
|
+
readonly autofocusFirst: boolean;
|
|
263
|
+
readonly triggerWidth: boolean;
|
|
264
|
+
readonly deselectHintLabel: string;
|
|
265
|
+
readonly selectHintLabel: string;
|
|
266
|
+
readonly selectedHintLabel: string;
|
|
267
|
+
readonly autoselectFirst: boolean;
|
|
268
|
+
readonly noResultsLabel: string;
|
|
269
|
+
readonly noOptionsLabel: string;
|
|
270
|
+
readonly deselectActionLabel: string;
|
|
271
|
+
readonly searchable: boolean;
|
|
272
|
+
readonly searchPlaceholder: string;
|
|
273
|
+
readonly debounceSearch: string | number;
|
|
274
|
+
readonly minValues: string | number;
|
|
275
|
+
readonly separator: string;
|
|
276
|
+
readonly native: boolean;
|
|
277
|
+
readonly badges: boolean;
|
|
278
|
+
readonly badgeModifiers: string | string[];
|
|
279
|
+
readonly dropdownModifiers: string | string[];
|
|
280
|
+
readonly autoOpen: boolean;
|
|
281
|
+
readonly strategy?: "absolute" | "fixed" | undefined;
|
|
282
|
+
readonly name?: string | undefined;
|
|
283
|
+
readonly label?: string | number | undefined;
|
|
284
|
+
readonly modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
285
|
+
readonly modifiers?: string | string[] | undefined;
|
|
286
|
+
readonly id?: string | number | undefined;
|
|
287
|
+
readonly icon?: string | import("../VvIcon").VvIconProps | undefined;
|
|
288
|
+
readonly invalidLabel?: string | unknown[] | undefined;
|
|
289
|
+
readonly validLabel?: string | unknown[] | undefined;
|
|
290
|
+
readonly placeholder?: string | undefined;
|
|
291
|
+
readonly searchFunction?: ((search: string, options: T[]) => T[] | Promise<T[]>) | undefined;
|
|
292
|
+
readonly maxValues?: string | number | undefined;
|
|
293
|
+
readonly "onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
|
|
294
|
+
readonly onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
295
|
+
readonly onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
|
|
296
|
+
readonly "onUpdate:search"?: ((args_0: string) => any) | undefined;
|
|
297
|
+
readonly "onChange:search"?: ((args_0: string) => any) | undefined;
|
|
298
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "floating" | "placement" | "strategy" | "size" | "shift" | "label" | "disabled" | "modelValue" | "modifiers" | "closeLabel" | "icon" | "iconPosition" | "flip" | "required" | "loading" | "loadingLabel" | "unselectable" | "multiple" | "readonly" | "hintLabel" | "invalid" | "invalidLabel" | "valid" | "validLabel" | "tabindex" | "options" | "labelKey" | "valueKey" | "disabledKey" | "transitionName" | "offset" | "autoPlacement" | "arrow" | "keepOpen" | "autofocusFirst" | "triggerWidth" | "deselectHintLabel" | "selectHintLabel" | "selectedHintLabel" | "autoselectFirst" | "searchFunction" | "noResultsLabel" | "noOptionsLabel" | "deselectActionLabel" | "searchable" | "searchPlaceholder" | "debounceSearch" | "minValues" | "separator" | "native" | "badges" | "badgeModifiers" | "dropdownModifiers" | "autoOpen">, "name" | "id" | "onFocus" | "onBlur" | "onUpdate:modelValue" | "placeholder" | "maxValues" | "onUpdate:search" | "onChange:search" | ("floating" | "placement" | "strategy" | "size" | "shift" | "label" | "disabled" | "modelValue" | "modifiers" | "closeLabel" | "icon" | "iconPosition" | "flip" | "required" | "loading" | "loadingLabel" | "unselectable" | "multiple" | "readonly" | "hintLabel" | "invalid" | "invalidLabel" | "valid" | "validLabel" | "tabindex" | "options" | "labelKey" | "valueKey" | "disabledKey" | "transitionName" | "offset" | "autoPlacement" | "arrow" | "keepOpen" | "autofocusFirst" | "triggerWidth" | "deselectHintLabel" | "selectHintLabel" | "selectedHintLabel" | "autoselectFirst" | "searchFunction" | "noResultsLabel" | "noOptionsLabel" | "deselectActionLabel" | "searchable" | "searchPlaceholder" | "debounceSearch" | "minValues" | "separator" | "native" | "badges" | "badgeModifiers" | "dropdownModifiers" | "autoOpen")> & Partial<{}> & {}> & import("vue").PublicProps;
|
|
299
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
300
|
+
attrs: any;
|
|
301
|
+
slots: {
|
|
302
|
+
"dropdown::before"?(_: {}): any;
|
|
303
|
+
before?(_: {
|
|
304
|
+
valid: boolean;
|
|
305
|
+
invalid: boolean;
|
|
306
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
307
|
+
}): any;
|
|
308
|
+
value?(_: {
|
|
309
|
+
selectedOptions: T[];
|
|
310
|
+
onInput: (option: T) => void;
|
|
311
|
+
}): any;
|
|
312
|
+
after?(_: {
|
|
313
|
+
valid: boolean;
|
|
314
|
+
invalid: boolean;
|
|
315
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
316
|
+
}): any;
|
|
317
|
+
option?(_: {
|
|
318
|
+
option: T;
|
|
319
|
+
selectedOptions: T[];
|
|
320
|
+
selected: boolean;
|
|
321
|
+
disabled: boolean;
|
|
322
|
+
}): any;
|
|
323
|
+
option?(_: {
|
|
324
|
+
option: T;
|
|
325
|
+
selectedOptions: T[];
|
|
326
|
+
selected: boolean;
|
|
327
|
+
disabled: boolean;
|
|
328
|
+
}): any;
|
|
329
|
+
"no-options"?(_: {}): any;
|
|
330
|
+
"no-results"?(_: {}): any;
|
|
331
|
+
"dropdown::after"?(_: {}): any;
|
|
332
|
+
hint?(_: {
|
|
333
|
+
modelValue: unknown;
|
|
334
|
+
valid: boolean;
|
|
335
|
+
invalid: boolean;
|
|
336
|
+
loading: boolean;
|
|
337
|
+
}): any;
|
|
338
|
+
loading?(_: {
|
|
339
|
+
modelValue: unknown;
|
|
340
|
+
valid: boolean;
|
|
341
|
+
invalid: boolean;
|
|
342
|
+
loading: boolean;
|
|
343
|
+
}): any;
|
|
344
|
+
valid?(_: {
|
|
345
|
+
modelValue: unknown;
|
|
346
|
+
valid: boolean;
|
|
347
|
+
invalid: boolean;
|
|
348
|
+
loading: boolean;
|
|
349
|
+
}): any;
|
|
350
|
+
invalid?(_: {
|
|
351
|
+
modelValue: unknown;
|
|
352
|
+
valid: boolean;
|
|
353
|
+
invalid: boolean;
|
|
354
|
+
loading: boolean;
|
|
355
|
+
}): any;
|
|
356
|
+
};
|
|
357
|
+
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) & ((evt: "update:search", args_0: string) => void) & ((evt: "change:search", args_0: string) => void);
|
|
358
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
359
|
+
[key: string]: any;
|
|
360
|
+
}> & {
|
|
361
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
778
362
|
};
|
|
363
|
+
export default _default;
|
|
364
|
+
type __VLS_PrettifyLocal<T> = {
|
|
365
|
+
[K in keyof T]: T[K];
|
|
366
|
+
} & {};
|