@volverjs/ui-vue 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Volver.d.ts +121 -0
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +68 -0
- package/dist/components/VvAccordion/index.d.ts +47 -0
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +98 -0
- package/dist/components/VvAccordionGroup/index.d.ts +54 -0
- package/dist/components/VvAction/VvAction.vue.d.ts +110 -0
- package/dist/components/VvAction/index.d.ts +45 -0
- package/dist/components/VvAlert/VvAlert.vue.d.ts +124 -0
- package/dist/components/VvAlert/index.d.ts +104 -0
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +97 -0
- package/dist/components/VvAlertGroup/index.d.ts +47 -0
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +24 -0
- package/dist/components/VvAvatar/index.d.ts +10 -0
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +50 -0
- package/dist/components/VvAvatarGroup/index.d.ts +28 -0
- package/dist/components/VvBadge/VvBadge.vue.d.ts +24 -0
- package/dist/components/VvBadge/index.d.ts +7 -0
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +39 -0
- package/dist/components/VvBreadcrumb/index.d.ts +8 -0
- package/dist/components/VvButton/VvButton.vue.d.ts +221 -0
- package/dist/components/VvButton/index.d.ts +131 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +84 -0
- package/dist/components/VvButtonGroup/index.d.ts +37 -0
- package/dist/components/VvCard/VvCard.vue.d.ts +30 -0
- package/dist/components/VvCard/index.d.ts +7 -0
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +187 -0
- package/dist/components/VvCheckbox/index.d.ts +94 -0
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +212 -0
- package/dist/components/VvCheckboxGroup/index.d.ts +79 -0
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +346 -0
- package/dist/components/VvCombobox/index.d.ts +694 -0
- package/dist/components/VvDialog/VvDialog.vue.d.ts +73 -0
- package/dist/components/VvDialog/index.d.ts +45 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +258 -0
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +118 -0
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +22 -0
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +22 -0
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +82 -0
- package/dist/components/VvDropdown/index.d.ts +120 -0
- package/dist/components/VvIcon/VvIcon.vue.d.ts +6 -0
- package/dist/components/VvIcon/index.d.ts +86 -0
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +361 -0
- package/dist/components/VvInputFile/index.d.ts +204 -0
- package/dist/components/VvInputText/VvInputText.vue.d.ts +524 -0
- package/dist/components/VvInputText/VvInputTextActions.d.ts +4 -0
- package/dist/components/VvInputText/index.d.ts +313 -0
- package/dist/components/VvNav/VvNav.vue.d.ts +48 -0
- package/dist/components/VvNav/VvNavItem.vue.d.ts +14 -0
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +3 -0
- package/dist/components/VvNav/index.d.ts +11 -0
- package/dist/components/VvProgress/VvProgress.vue.d.ts +38 -0
- package/dist/components/VvProgress/index.d.ts +33 -0
- package/dist/components/VvRadio/VvRadio.vue.d.ts +179 -0
- package/dist/components/VvRadio/index.d.ts +80 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +212 -0
- package/dist/components/VvRadioGroup/index.d.ts +79 -0
- package/dist/components/VvSelect/VvSelect.vue.d.ts +183 -0
- package/dist/components/VvSelect/index.d.ts +298 -0
- package/dist/components/VvTab/VvTab.vue.d.ts +64 -0
- package/dist/components/VvTab/index.d.ts +19 -0
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +384 -0
- package/dist/components/VvTextarea/index.d.ts +190 -0
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +37 -0
- package/dist/components/VvTooltip/index.d.ts +19 -0
- package/dist/components/VvVirtualScroll/VvVirtualScroll.vue.d.ts +51 -0
- package/dist/components/common/HintSlot.d.ts +57 -0
- package/dist/components/common/VvInputClearAction.d.ts +52 -0
- package/dist/components/common/VvInputPasswordAction.d.ts +71 -0
- package/dist/components/common/VvInputStepAction.d.ts +50 -0
- package/dist/components/index.d.ts +34 -0
- package/dist/composables/alert/useAlerInject.d.ts +4 -0
- package/dist/composables/alert/useAlert.d.ts +92 -0
- package/dist/composables/alert/useAlertProvide.d.ts +10 -0
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +18 -0
- package/dist/composables/dropdown/useDropdownInject.d.ts +12 -0
- package/dist/composables/dropdown/useDropdownProvide.d.ts +40 -0
- 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 +5 -0
- package/dist/composables/useBlurhash.d.ts +7 -0
- package/dist/composables/useComponentFocus.d.ts +4 -0
- package/dist/composables/useComponentIcon.d.ts +11 -0
- package/dist/composables/useDebouncedInput.d.ts +5 -0
- package/dist/composables/useDefaults.d.ts +2 -0
- package/dist/composables/useModifiers.d.ts +2 -0
- package/dist/composables/useOptions.d.ts +8 -0
- package/dist/composables/usePersistence.d.ts +3 -0
- package/dist/composables/useTextCount.d.ts +10 -0
- package/dist/composables/useUniqueId.d.ts +2 -0
- package/dist/composables/useVirtualScroll.d.ts +35 -0
- package/dist/composables/useVolver.d.ts +4 -0
- package/dist/constants.d.ts +104 -0
- package/dist/directives/index.d.ts +3 -0
- package/dist/directives/v-contextmenu.d.ts +3 -0
- package/dist/directives/v-tooltip.d.ts +3 -0
- package/dist/icons.d.ts +1889 -0
- package/dist/index.d.ts +10 -0
- package/dist/json-render/catalog.d.ts +395 -0
- package/dist/json-render/components.d.ts +111 -0
- package/dist/json-render/definitions.d.ts +697 -0
- package/dist/json-render/index.d.ts +55 -0
- package/dist/json-render/registry.d.ts +34 -0
- package/dist/props/index.d.ts +959 -0
- package/dist/resolvers/unplugin.d.ts +38 -0
- package/dist/stories/Accordion/Accordion.settings.d.ts +9 -0
- package/dist/stories/Accordion/Accordion.stories.d.ts +7 -0
- package/dist/stories/Accordion/Accordion.test.d.ts +2 -0
- package/dist/stories/Accordion/AccordionSlots.stories.d.ts +7 -0
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +13 -0
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +9 -0
- package/dist/stories/AccordionGroup/AccordionGroup.test.d.ts +2 -0
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +1788 -0
- package/dist/stories/Alert/Alert.settings.d.ts +4 -0
- package/dist/stories/Alert/Alert.stories.d.ts +9 -0
- package/dist/stories/Alert/Alert.test.d.ts +2 -0
- package/dist/stories/Alert/AlertModifiers.stories.d.ts +13 -0
- package/dist/stories/Alert/AlertSlots.stories.d.ts +10 -0
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +14 -0
- package/dist/stories/AlertGroup/AlertGroup.stories.d.ts +8 -0
- package/dist/stories/AlertGroup/AlertGroup.test.d.ts +2 -0
- package/dist/stories/AlertGroup/AlertGroupPosition.stories.d.ts +14 -0
- package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +8 -0
- package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +4 -0
- package/dist/stories/Avatar/Avatar.settings.d.ts +5 -0
- package/dist/stories/Avatar/Avatar.stories.d.ts +7 -0
- package/dist/stories/Avatar/Avatar.test.d.ts +2 -0
- package/dist/stories/Avatar/AvatarBadge.stories.d.ts +6 -0
- package/dist/stories/Avatar/AvatarModifiers.stories.d.ts +13 -0
- package/dist/stories/Avatar/AvatarSlots.stories.d.ts +6 -0
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +14 -0
- package/dist/stories/AvatarGroup/AvatarGroup.stories.d.ts +6 -0
- package/dist/stories/AvatarGroup/AvatarGroup.test.d.ts +2 -0
- package/dist/stories/AvatarGroup/AvatarGroupModifiers.stories.d.ts +7 -0
- package/dist/stories/AvatarGroup/AvatarGroupSlotDefault.stories.d.ts +6 -0
- package/dist/stories/Badge/Badge.settings.d.ts +5 -0
- package/dist/stories/Badge/Badge.stories.d.ts +7 -0
- package/dist/stories/Badge/Badge.test.d.ts +2 -0
- package/dist/stories/Badge/BadgeSlots.stories.d.ts +6 -0
- package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +13 -0
- package/dist/stories/Breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +2 -0
- package/dist/stories/Breadcrumb/BreadcrumbSlots.stories.d.ts +6 -0
- package/dist/stories/Button/Button.settings.d.ts +4 -0
- package/dist/stories/Button/Button.stories.d.ts +6 -0
- package/dist/stories/Button/Button.test.d.ts +2 -0
- package/dist/stories/Button/ButtonIcon.stories.d.ts +10 -0
- package/dist/stories/Button/ButtonLink.stories.d.ts +7 -0
- package/dist/stories/Button/ButtonLoading.stories.d.ts +8 -0
- package/dist/stories/Button/ButtonModifiers.stories.d.ts +17 -0
- package/dist/stories/Button/ButtonSlots.stories.d.ts +9 -0
- package/dist/stories/Button/ButtonState.stories.d.ts +8 -0
- package/dist/stories/Button/ButtonToggle.stories.d.ts +9 -0
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +5 -0
- package/dist/stories/ButtonGroup/ButtonGroup.stories.d.ts +6 -0
- package/dist/stories/ButtonGroup/ButtonGroup.test.d.ts +2 -0
- package/dist/stories/ButtonGroup/ButtonGroupModifiers.stories.d.ts +8 -0
- package/dist/stories/ButtonGroup/ButtonGroupSlots.stories.d.ts +6 -0
- package/dist/stories/ButtonGroup/ButtonGroupToggle.stories.d.ts +8 -0
- package/dist/stories/Card/Card.settings.d.ts +6 -0
- package/dist/stories/Card/Card.stories.d.ts +6 -0
- package/dist/stories/Card/Card.test.d.ts +2 -0
- package/dist/stories/Card/CardSlots.stories.d.ts +9 -0
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +15 -0
- package/dist/stories/Checkbox/Checkbox.stories.d.ts +13 -0
- package/dist/stories/Checkbox/Checkbox.test.d.ts +2 -0
- package/dist/stories/Checkbox/CheckboxBinary.stories.d.ts +7 -0
- package/dist/stories/Checkbox/CheckboxSlots.stories.d.ts +7 -0
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +12 -0
- package/dist/stories/CheckboxGroup/CheckboxGroup.stories.d.ts +12 -0
- package/dist/stories/CheckboxGroup/CheckboxGroup.test.d.ts +2 -0
- package/dist/stories/CheckboxGroup/CheckboxGroupOptions.stories.d.ts +8 -0
- package/dist/stories/CheckboxGroup/CheckboxGroupSlots.stories.d.ts +7 -0
- package/dist/stories/Combobox/Combobox.settings.d.ts +4 -0
- package/dist/stories/Combobox/Combobox.stories.d.ts +24 -0
- package/dist/stories/Combobox/Combobox.test.d.ts +2 -0
- package/dist/stories/Combobox/ComboboxIconPosition.stories.d.ts +8 -0
- package/dist/stories/Combobox/ComboboxMultiple.stories.d.ts +9 -0
- package/dist/stories/Combobox/ComboboxOptions.stories.d.ts +11 -0
- package/dist/stories/Combobox/ComboboxSlots.stories.d.ts +10 -0
- package/dist/stories/Dialog/Dialog.settings.d.ts +10 -0
- package/dist/stories/Dialog/Dialog.stories.d.ts +7 -0
- package/dist/stories/Dialog/Dialog.test.d.ts +2 -0
- package/dist/stories/Dialog/DialogModifiers.stories.d.ts +8 -0
- package/dist/stories/Dialog/DialogSlots.stories.d.ts +8 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +5 -0
- package/dist/stories/Dropdown/Dropdown.stories.d.ts +9 -0
- package/dist/stories/Dropdown/Dropdown.test.d.ts +2 -0
- package/dist/stories/Dropdown/DropdownContextmenuDirective.stories.d.ts +6 -0
- package/dist/stories/Dropdown/DropdownMultilevel.stories.d.ts +6 -0
- package/dist/stories/Dropdown/DropdownSlots.stories.d.ts +8 -0
- package/dist/stories/Icon/Icon.settings.d.ts +7 -0
- package/dist/stories/Icon/Icon.stories.d.ts +8 -0
- package/dist/stories/Icon/IconsCollection.stories.d.ts +6 -0
- 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 +11 -0
- package/dist/stories/InputText/InputText.stories.d.ts +16 -0
- package/dist/stories/InputText/InputText.test.d.ts +5 -0
- package/dist/stories/InputText/InputTextIconPosition.stories.d.ts +8 -0
- package/dist/stories/InputText/InputTextIso.stories.d.ts +10 -0
- package/dist/stories/InputText/InputTextLength.stories.d.ts +10 -0
- package/dist/stories/InputText/InputTextMask.stories.d.ts +12 -0
- package/dist/stories/InputText/InputTextMinMax.stories.d.ts +9 -0
- package/dist/stories/InputText/InputTextSlots.stories.d.ts +8 -0
- package/dist/stories/InputText/InputTextSuggestions.stories.d.ts +8 -0
- package/dist/stories/InputText/InputTextType.stories.d.ts +18 -0
- package/dist/stories/Nav/Nav.settings.d.ts +4 -0
- package/dist/stories/Nav/Nav.stories.d.ts +6 -0
- package/dist/stories/Nav/Nav.test.d.ts +2 -0
- package/dist/stories/Nav/NavModifiers.stories.d.ts +9 -0
- package/dist/stories/Progress/Progress.settings.d.ts +7 -0
- package/dist/stories/Progress/Progress.stories.d.ts +7 -0
- package/dist/stories/Progress/Progress.test.d.ts +2 -0
- package/dist/stories/Radio/Radio.settings.d.ts +12 -0
- package/dist/stories/Radio/Radio.stories.d.ts +11 -0
- package/dist/stories/Radio/Radio.test.d.ts +2 -0
- package/dist/stories/Radio/RadioSlots.stories.d.ts +7 -0
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +12 -0
- package/dist/stories/RadioGroup/RadioGroup.stories.d.ts +12 -0
- package/dist/stories/RadioGroup/RadioGroup.test.d.ts +2 -0
- package/dist/stories/RadioGroup/RadioGroupOptions.stories.d.ts +8 -0
- package/dist/stories/RadioGroup/RadioGroupSlots.stories.d.ts +7 -0
- package/dist/stories/Select/Select.settings.d.ts +8 -0
- package/dist/stories/Select/Select.stories.d.ts +16 -0
- package/dist/stories/Select/Select.test.d.ts +2 -0
- package/dist/stories/Select/SelectIconPosition.stories.d.ts +8 -0
- package/dist/stories/Select/SelectOptions.stories.d.ts +9 -0
- package/dist/stories/Select/SelectSlots.stories.d.ts +8 -0
- package/dist/stories/Tab/Tab.settings.d.ts +4 -0
- package/dist/stories/Tab/Tab.stories.d.ts +6 -0
- package/dist/stories/Tab/Tab.test.d.ts +2 -0
- package/dist/stories/Textarea/Textarea.settings.d.ts +9 -0
- package/dist/stories/Textarea/Textarea.stories.d.ts +14 -0
- package/dist/stories/Textarea/Textarea.test.d.ts +2 -0
- package/dist/stories/Textarea/TextareaLength.stories.d.ts +10 -0
- package/dist/stories/Textarea/TextareaSlots.stories.d.ts +8 -0
- package/dist/stories/Textarea/TextareatIconPosition.stories.d.ts +8 -0
- package/dist/stories/Tooltip/Tooltip.settings.d.ts +5 -0
- package/dist/stories/Tooltip/Tooltip.stories.d.ts +6 -0
- package/dist/stories/Tooltip/Tooltip.test.d.ts +2 -0
- package/dist/stories/Tooltip/TooltipDirective.stories.d.ts +10 -0
- package/dist/stories/VirtualScroll/VirtualScroll.settings.d.ts +5 -0
- package/dist/stories/VirtualScroll/VirtualScroll.stories.d.ts +7 -0
- package/dist/stories/VirtualScroll/VirtualScroll.test.d.ts +2 -0
- package/dist/stories/VirtualScroll/VirtualScrollWithComposable.stories.d.ts +4 -0
- package/dist/stories/argTypes.d.ts +56 -0
- package/dist/test/expect.d.ts +18 -0
- package/dist/test/options.d.ts +1 -0
- package/dist/test/sleep.d.ts +1 -0
- package/dist/types/alert.d.ts +15 -0
- package/dist/types/blurhash.d.ts +12 -0
- package/dist/types/floating-ui.d.ts +15 -0
- package/dist/types/generic.d.ts +4 -0
- package/dist/types/group.d.ts +59 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/input-file.d.ts +9 -0
- package/dist/types/nav.d.ts +17 -0
- package/dist/utils/DateUtilities.d.ts +14 -0
- package/dist/utils/DomUtilities.d.ts +1 -0
- package/dist/utils/FileUtilities.d.ts +14 -0
- package/dist/utils/ObjectUtilities.d.ts +82 -0
- package/dist/workers/blurhash.d.ts +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,959 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { VvIconProps } from '@/components/VvIcon';
|
|
3
|
+
import type { AutoPlacementOptions, FlipOptions, OffsetOptions, ShiftOptions, SizeOptions } from '@/types/floating-ui';
|
|
4
|
+
import type { Option } from '@/types/generic';
|
|
5
|
+
import type { NavItem } from '@/types/nav';
|
|
6
|
+
import { ActionTag, ButtonType, Placement, Position, Side, StorageType, Strategy } from '@/constants';
|
|
7
|
+
export declare const LinkProps: {
|
|
8
|
+
/**
|
|
9
|
+
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
10
|
+
* @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
|
|
11
|
+
*/
|
|
12
|
+
to: {
|
|
13
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Anchor href
|
|
17
|
+
*/
|
|
18
|
+
href: StringConstructor;
|
|
19
|
+
/**
|
|
20
|
+
* Anchor target
|
|
21
|
+
*/
|
|
22
|
+
target: StringConstructor;
|
|
23
|
+
/**
|
|
24
|
+
* Anchor rel
|
|
25
|
+
*/
|
|
26
|
+
rel: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const ValidProps: {
|
|
32
|
+
/**
|
|
33
|
+
* Valid status
|
|
34
|
+
*/
|
|
35
|
+
valid: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Valid label
|
|
41
|
+
*/
|
|
42
|
+
validLabel: {
|
|
43
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const InvalidProps: {
|
|
48
|
+
/**
|
|
49
|
+
* Invalid status
|
|
50
|
+
*/
|
|
51
|
+
invalid: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Invalid label
|
|
57
|
+
*/
|
|
58
|
+
invalidLabel: {
|
|
59
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export declare const LoadingProps: {
|
|
64
|
+
/**
|
|
65
|
+
* Loading status
|
|
66
|
+
*/
|
|
67
|
+
loading: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Loading label
|
|
73
|
+
*/
|
|
74
|
+
loadingLabel: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const DisabledProps: {
|
|
80
|
+
/**
|
|
81
|
+
* Whether the form control is disabled
|
|
82
|
+
*/
|
|
83
|
+
disabled: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare const RequiredProps: {
|
|
89
|
+
/**
|
|
90
|
+
* Whether the form control is required
|
|
91
|
+
*/
|
|
92
|
+
required: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export declare const SelectedProps: {
|
|
98
|
+
/**
|
|
99
|
+
* Whether the item is selected
|
|
100
|
+
*/
|
|
101
|
+
selected: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export declare const ActiveProps: {
|
|
107
|
+
/**
|
|
108
|
+
* Whether the item is active
|
|
109
|
+
*/
|
|
110
|
+
active: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export declare const CurrentProps: {
|
|
116
|
+
/**
|
|
117
|
+
* Whether the item is current
|
|
118
|
+
*/
|
|
119
|
+
current: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare const ClearProps: {
|
|
125
|
+
/**
|
|
126
|
+
* If true, the clear button will be shown
|
|
127
|
+
*/
|
|
128
|
+
showClearAction: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* VvIcon name for clear button
|
|
134
|
+
* @see VvIcon
|
|
135
|
+
*/
|
|
136
|
+
iconClear: {
|
|
137
|
+
type: PropType<string | VvIconProps>;
|
|
138
|
+
default: "close";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Label for clear button
|
|
142
|
+
*/
|
|
143
|
+
labelClear: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
export declare const PressedProps: {
|
|
149
|
+
/**
|
|
150
|
+
* Whether the item is pressed
|
|
151
|
+
*/
|
|
152
|
+
pressed: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
export declare const LabelProps: {
|
|
158
|
+
/**
|
|
159
|
+
* The item label
|
|
160
|
+
*/
|
|
161
|
+
label: {
|
|
162
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
export declare const ReadonlyProps: {
|
|
167
|
+
/**
|
|
168
|
+
* The value is not editable
|
|
169
|
+
*/
|
|
170
|
+
readonly: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
export declare const ModifiersProps: {
|
|
176
|
+
/**
|
|
177
|
+
* Component BEM modifiers
|
|
178
|
+
*/
|
|
179
|
+
modifiers: {
|
|
180
|
+
type: PropType<string | string[]>;
|
|
181
|
+
default: undefined;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
export declare const HintProps: {
|
|
185
|
+
hintLabel: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
export declare const OptionsProps: {
|
|
191
|
+
/**
|
|
192
|
+
* List of options, can be string[] or object[]
|
|
193
|
+
*/
|
|
194
|
+
options: {
|
|
195
|
+
type: PropType<(Option | string)[]>;
|
|
196
|
+
default: () => never[];
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Used when options are objects: key to use for option label
|
|
200
|
+
*/
|
|
201
|
+
labelKey: {
|
|
202
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Used when options are objects: key to use for option label
|
|
207
|
+
*/
|
|
208
|
+
valueKey: {
|
|
209
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
210
|
+
default: string;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Used when options are objects: key to use for option disabled
|
|
214
|
+
*/
|
|
215
|
+
disabledKey: {
|
|
216
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
export declare const CountProps: {
|
|
221
|
+
/**
|
|
222
|
+
* Show character limit
|
|
223
|
+
*/
|
|
224
|
+
count: {
|
|
225
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
226
|
+
default: boolean;
|
|
227
|
+
validator: (value: string) => boolean;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
export declare const DebounceProps: {
|
|
231
|
+
/**
|
|
232
|
+
* Milliseconds to wait before emitting the input event
|
|
233
|
+
*/
|
|
234
|
+
debounce: {
|
|
235
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
236
|
+
default: undefined;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
export declare const IconProps: {
|
|
240
|
+
/**
|
|
241
|
+
* VvIcon name or props
|
|
242
|
+
* @see VvIcon
|
|
243
|
+
*/
|
|
244
|
+
icon: {
|
|
245
|
+
type: PropType<string | VvIconProps>;
|
|
246
|
+
default: undefined;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* VvIcon position
|
|
250
|
+
*/
|
|
251
|
+
iconPosition: {
|
|
252
|
+
type: PropType<`${Position}`>;
|
|
253
|
+
default: Position;
|
|
254
|
+
validation: (value: Position) => boolean;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
export declare const TabindexProps: {
|
|
258
|
+
/**
|
|
259
|
+
* Global attribute tabindex
|
|
260
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
|
|
261
|
+
*/
|
|
262
|
+
tabindex: {
|
|
263
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
264
|
+
default: number;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
export declare const FloatingLabelProps: {
|
|
268
|
+
/**
|
|
269
|
+
* If true the label will be floating
|
|
270
|
+
*/
|
|
271
|
+
floating: {
|
|
272
|
+
type: BooleanConstructor;
|
|
273
|
+
default: boolean;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
export declare const UnselectableProps: {
|
|
277
|
+
/**
|
|
278
|
+
* If true the input will be unselectable
|
|
279
|
+
*/
|
|
280
|
+
unselectable: {
|
|
281
|
+
type: BooleanConstructor;
|
|
282
|
+
default: boolean;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
export declare const IdProps: {
|
|
286
|
+
/**
|
|
287
|
+
* Global attribute id
|
|
288
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
289
|
+
*/
|
|
290
|
+
id: (NumberConstructor | StringConstructor)[];
|
|
291
|
+
};
|
|
292
|
+
export declare const DropdownProps: {
|
|
293
|
+
/**
|
|
294
|
+
* Dropdown placement
|
|
295
|
+
*/
|
|
296
|
+
placement: {
|
|
297
|
+
type: PropType<`${Side}` | `${Placement}`>;
|
|
298
|
+
default: Side;
|
|
299
|
+
validator: (value: Side & Placement) => boolean;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Dropdown strategy
|
|
303
|
+
*/
|
|
304
|
+
strategy: {
|
|
305
|
+
type: PropType<`${Strategy}`>;
|
|
306
|
+
default: undefined;
|
|
307
|
+
validator: (value: Strategy) => boolean;
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* Dropdown show / hide transition name
|
|
311
|
+
*/
|
|
312
|
+
transitionName: {
|
|
313
|
+
type: StringConstructor;
|
|
314
|
+
default: undefined;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Offset of the dropdown from the trigger
|
|
318
|
+
* @see https://floating-ui.com/docs/offset
|
|
319
|
+
*/
|
|
320
|
+
offset: {
|
|
321
|
+
type: PropType<OffsetOptions | number | string>;
|
|
322
|
+
default: number;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Move dropdown to the side if there is no space in the default position
|
|
326
|
+
* @see https://floating-ui.com/docs/shift
|
|
327
|
+
*/
|
|
328
|
+
shift: {
|
|
329
|
+
type: PropType<ShiftOptions | boolean>;
|
|
330
|
+
default: boolean;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* Flip dropdown position if there is no space in the default position
|
|
334
|
+
* @see https://floating-ui.com/docs/flip
|
|
335
|
+
*/
|
|
336
|
+
flip: {
|
|
337
|
+
type: PropType<FlipOptions | boolean>;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Size of the dropdown
|
|
342
|
+
* @see https://floating-ui.com/docs/size
|
|
343
|
+
*/
|
|
344
|
+
size: {
|
|
345
|
+
type: PropType<SizeOptions | boolean>;
|
|
346
|
+
default: () => {
|
|
347
|
+
padding: number;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Automatically change the position of the dropdown
|
|
352
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
353
|
+
*/
|
|
354
|
+
autoPlacement: {
|
|
355
|
+
type: PropType<AutoPlacementOptions | boolean>;
|
|
356
|
+
default: boolean;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Add arrow to the dropdown
|
|
360
|
+
* @see https://floating-ui.com/docs/arrow
|
|
361
|
+
*/
|
|
362
|
+
arrow: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Keep open dropdown on click outside
|
|
368
|
+
*/
|
|
369
|
+
keepOpen: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Autofocus first item on dropdown open
|
|
375
|
+
*/
|
|
376
|
+
autofocusFirst: {
|
|
377
|
+
type: BooleanConstructor;
|
|
378
|
+
default: boolean;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Set dropdown width to the same as the trigger
|
|
382
|
+
*/
|
|
383
|
+
triggerWidth: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
export declare const IdNameProps: {
|
|
389
|
+
/**
|
|
390
|
+
* Input / Textarea name
|
|
391
|
+
* Name of the form control. Submitted with the form as part of a name/value pair
|
|
392
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
|
|
393
|
+
*/
|
|
394
|
+
name: {
|
|
395
|
+
type: StringConstructor;
|
|
396
|
+
required: boolean;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* Global attribute id
|
|
400
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
401
|
+
*/
|
|
402
|
+
id: (NumberConstructor | StringConstructor)[];
|
|
403
|
+
};
|
|
404
|
+
export declare const AutofocusProps: {
|
|
405
|
+
/**
|
|
406
|
+
* Global attribute autofocus
|
|
407
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
|
|
408
|
+
*/
|
|
409
|
+
autofocus: {
|
|
410
|
+
type: BooleanConstructor;
|
|
411
|
+
default: boolean;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
export declare const AutocompleteProps: {
|
|
415
|
+
/**
|
|
416
|
+
* Global attribute autocomplete
|
|
417
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
418
|
+
*/
|
|
419
|
+
autocomplete: {
|
|
420
|
+
type: StringConstructor;
|
|
421
|
+
default: string;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
export declare const InputTextareaProps: {
|
|
425
|
+
/**
|
|
426
|
+
* Whether the form control is required
|
|
427
|
+
*/
|
|
428
|
+
required: {
|
|
429
|
+
type: BooleanConstructor;
|
|
430
|
+
default: boolean;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* Input / Textarea minlength
|
|
434
|
+
* Minimum length (number of characters) of value
|
|
435
|
+
* Available for input types: text, search, url, tel, email, password
|
|
436
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
|
|
437
|
+
*/
|
|
438
|
+
minlength: {
|
|
439
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
440
|
+
default: undefined;
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Input / Textarea maxlength
|
|
444
|
+
* Maximum length (number of characters) of value
|
|
445
|
+
* Available for input types: text, search, url, tel, email, password
|
|
446
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
|
|
447
|
+
*/
|
|
448
|
+
maxlength: {
|
|
449
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
450
|
+
default: undefined;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* Input / Textarea placeholder
|
|
454
|
+
* Text that appears in the form control when it has no value set
|
|
455
|
+
* Available for input types: text, search, url, tel, email, password, number
|
|
456
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
|
|
457
|
+
*/
|
|
458
|
+
placeholder: {
|
|
459
|
+
type: StringConstructor;
|
|
460
|
+
default: undefined;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* The item label
|
|
464
|
+
*/
|
|
465
|
+
label: {
|
|
466
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
467
|
+
default: undefined;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* If true the label will be floating
|
|
471
|
+
*/
|
|
472
|
+
floating: {
|
|
473
|
+
type: BooleanConstructor;
|
|
474
|
+
default: boolean;
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* VvIcon name or props
|
|
478
|
+
* @see VvIcon
|
|
479
|
+
*/
|
|
480
|
+
icon: {
|
|
481
|
+
type: PropType<string | VvIconProps>;
|
|
482
|
+
default: undefined;
|
|
483
|
+
};
|
|
484
|
+
/**
|
|
485
|
+
* VvIcon position
|
|
486
|
+
*/
|
|
487
|
+
iconPosition: {
|
|
488
|
+
type: PropType<`${Position}`>;
|
|
489
|
+
default: Position;
|
|
490
|
+
validation: (value: Position) => boolean;
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* Milliseconds to wait before emitting the input event
|
|
494
|
+
*/
|
|
495
|
+
debounce: {
|
|
496
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
497
|
+
default: undefined;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Show character limit
|
|
501
|
+
*/
|
|
502
|
+
count: {
|
|
503
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
504
|
+
default: boolean;
|
|
505
|
+
validator: (value: string) => boolean;
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* Component BEM modifiers
|
|
509
|
+
*/
|
|
510
|
+
modifiers: {
|
|
511
|
+
type: PropType<string | string[]>;
|
|
512
|
+
default: undefined;
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* Loading status
|
|
516
|
+
*/
|
|
517
|
+
loading: {
|
|
518
|
+
type: BooleanConstructor;
|
|
519
|
+
default: boolean;
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Loading label
|
|
523
|
+
*/
|
|
524
|
+
loadingLabel: {
|
|
525
|
+
type: StringConstructor;
|
|
526
|
+
default: string;
|
|
527
|
+
};
|
|
528
|
+
hintLabel: {
|
|
529
|
+
type: StringConstructor;
|
|
530
|
+
default: string;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Invalid status
|
|
534
|
+
*/
|
|
535
|
+
invalid: {
|
|
536
|
+
type: BooleanConstructor;
|
|
537
|
+
default: boolean;
|
|
538
|
+
};
|
|
539
|
+
/**
|
|
540
|
+
* Invalid label
|
|
541
|
+
*/
|
|
542
|
+
invalidLabel: {
|
|
543
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
544
|
+
default: undefined;
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* Valid status
|
|
548
|
+
*/
|
|
549
|
+
valid: {
|
|
550
|
+
type: BooleanConstructor;
|
|
551
|
+
default: boolean;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* Valid label
|
|
555
|
+
*/
|
|
556
|
+
validLabel: {
|
|
557
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
558
|
+
default: undefined;
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* The value is not editable
|
|
562
|
+
*/
|
|
563
|
+
readonly: {
|
|
564
|
+
type: BooleanConstructor;
|
|
565
|
+
default: boolean;
|
|
566
|
+
};
|
|
567
|
+
/**
|
|
568
|
+
* Whether the form control is disabled
|
|
569
|
+
*/
|
|
570
|
+
disabled: {
|
|
571
|
+
type: BooleanConstructor;
|
|
572
|
+
default: boolean;
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* Global attribute tabindex
|
|
576
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
|
|
577
|
+
*/
|
|
578
|
+
tabindex: {
|
|
579
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
580
|
+
default: number;
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* Global attribute autocomplete
|
|
584
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
585
|
+
*/
|
|
586
|
+
autocomplete: {
|
|
587
|
+
type: StringConstructor;
|
|
588
|
+
default: string;
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* Global attribute autofocus
|
|
592
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
|
|
593
|
+
*/
|
|
594
|
+
autofocus: {
|
|
595
|
+
type: BooleanConstructor;
|
|
596
|
+
default: boolean;
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* Input / Textarea name
|
|
600
|
+
* Name of the form control. Submitted with the form as part of a name/value pair
|
|
601
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
|
|
602
|
+
*/
|
|
603
|
+
name: {
|
|
604
|
+
type: StringConstructor;
|
|
605
|
+
required: boolean;
|
|
606
|
+
};
|
|
607
|
+
/**
|
|
608
|
+
* Global attribute id
|
|
609
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
610
|
+
*/
|
|
611
|
+
id: (NumberConstructor | StringConstructor)[];
|
|
612
|
+
};
|
|
613
|
+
export declare const CheckboxRadioProps: {
|
|
614
|
+
/**
|
|
615
|
+
* Input value
|
|
616
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
|
|
617
|
+
*/
|
|
618
|
+
value: {
|
|
619
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
620
|
+
default: undefined;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Input value
|
|
624
|
+
*/
|
|
625
|
+
modelValue: {
|
|
626
|
+
type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor)[];
|
|
627
|
+
default: undefined;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* Loading status
|
|
631
|
+
*/
|
|
632
|
+
loading: {
|
|
633
|
+
type: BooleanConstructor;
|
|
634
|
+
default: boolean;
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* Loading label
|
|
638
|
+
*/
|
|
639
|
+
loadingLabel: {
|
|
640
|
+
type: StringConstructor;
|
|
641
|
+
default: string;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* The item label
|
|
645
|
+
*/
|
|
646
|
+
label: {
|
|
647
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
648
|
+
default: undefined;
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* Component BEM modifiers
|
|
652
|
+
*/
|
|
653
|
+
modifiers: {
|
|
654
|
+
type: PropType<string | string[]>;
|
|
655
|
+
default: undefined;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* The value is not editable
|
|
659
|
+
*/
|
|
660
|
+
readonly: {
|
|
661
|
+
type: BooleanConstructor;
|
|
662
|
+
default: boolean;
|
|
663
|
+
};
|
|
664
|
+
/**
|
|
665
|
+
* Whether the form control is disabled
|
|
666
|
+
*/
|
|
667
|
+
disabled: {
|
|
668
|
+
type: BooleanConstructor;
|
|
669
|
+
default: boolean;
|
|
670
|
+
};
|
|
671
|
+
hintLabel: {
|
|
672
|
+
type: StringConstructor;
|
|
673
|
+
default: string;
|
|
674
|
+
};
|
|
675
|
+
/**
|
|
676
|
+
* Invalid status
|
|
677
|
+
*/
|
|
678
|
+
invalid: {
|
|
679
|
+
type: BooleanConstructor;
|
|
680
|
+
default: boolean;
|
|
681
|
+
};
|
|
682
|
+
/**
|
|
683
|
+
* Invalid label
|
|
684
|
+
*/
|
|
685
|
+
invalidLabel: {
|
|
686
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
687
|
+
default: undefined;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Valid status
|
|
691
|
+
*/
|
|
692
|
+
valid: {
|
|
693
|
+
type: BooleanConstructor;
|
|
694
|
+
default: boolean;
|
|
695
|
+
};
|
|
696
|
+
/**
|
|
697
|
+
* Valid label
|
|
698
|
+
*/
|
|
699
|
+
validLabel: {
|
|
700
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
701
|
+
default: undefined;
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* Global attribute tabindex
|
|
705
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
|
|
706
|
+
*/
|
|
707
|
+
tabindex: {
|
|
708
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
709
|
+
default: number;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Input / Textarea name
|
|
713
|
+
* Name of the form control. Submitted with the form as part of a name/value pair
|
|
714
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
|
|
715
|
+
*/
|
|
716
|
+
name: {
|
|
717
|
+
type: StringConstructor;
|
|
718
|
+
required: boolean;
|
|
719
|
+
};
|
|
720
|
+
/**
|
|
721
|
+
* Global attribute id
|
|
722
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
|
|
723
|
+
*/
|
|
724
|
+
id: (NumberConstructor | StringConstructor)[];
|
|
725
|
+
};
|
|
726
|
+
export declare const CheckboxRadioGroupProps: {
|
|
727
|
+
/**
|
|
728
|
+
* Input value
|
|
729
|
+
*/
|
|
730
|
+
modelValue: {
|
|
731
|
+
type: (SymbolConstructor | ArrayConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
732
|
+
default: undefined;
|
|
733
|
+
};
|
|
734
|
+
/**
|
|
735
|
+
* Input name
|
|
736
|
+
*/
|
|
737
|
+
name: {
|
|
738
|
+
type: StringConstructor;
|
|
739
|
+
required: boolean;
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* If true, the group will be displayed in a vertical column
|
|
743
|
+
*/
|
|
744
|
+
vertical: {
|
|
745
|
+
type: BooleanConstructor;
|
|
746
|
+
default: boolean;
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* Whether the form control is required
|
|
750
|
+
*/
|
|
751
|
+
required: {
|
|
752
|
+
type: BooleanConstructor;
|
|
753
|
+
default: boolean;
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* Loading status
|
|
757
|
+
*/
|
|
758
|
+
loading: {
|
|
759
|
+
type: BooleanConstructor;
|
|
760
|
+
default: boolean;
|
|
761
|
+
};
|
|
762
|
+
/**
|
|
763
|
+
* Loading label
|
|
764
|
+
*/
|
|
765
|
+
loadingLabel: {
|
|
766
|
+
type: StringConstructor;
|
|
767
|
+
default: string;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* The item label
|
|
771
|
+
*/
|
|
772
|
+
label: {
|
|
773
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
774
|
+
default: undefined;
|
|
775
|
+
};
|
|
776
|
+
/**
|
|
777
|
+
* Component BEM modifiers
|
|
778
|
+
*/
|
|
779
|
+
modifiers: {
|
|
780
|
+
type: PropType<string | string[]>;
|
|
781
|
+
default: undefined;
|
|
782
|
+
};
|
|
783
|
+
/**
|
|
784
|
+
* The value is not editable
|
|
785
|
+
*/
|
|
786
|
+
readonly: {
|
|
787
|
+
type: BooleanConstructor;
|
|
788
|
+
default: boolean;
|
|
789
|
+
};
|
|
790
|
+
/**
|
|
791
|
+
* Whether the form control is disabled
|
|
792
|
+
*/
|
|
793
|
+
disabled: {
|
|
794
|
+
type: BooleanConstructor;
|
|
795
|
+
default: boolean;
|
|
796
|
+
};
|
|
797
|
+
hintLabel: {
|
|
798
|
+
type: StringConstructor;
|
|
799
|
+
default: string;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* List of options, can be string[] or object[]
|
|
803
|
+
*/
|
|
804
|
+
options: {
|
|
805
|
+
type: PropType<(Option | string)[]>;
|
|
806
|
+
default: () => never[];
|
|
807
|
+
};
|
|
808
|
+
/**
|
|
809
|
+
* Used when options are objects: key to use for option label
|
|
810
|
+
*/
|
|
811
|
+
labelKey: {
|
|
812
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
813
|
+
default: string;
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* Used when options are objects: key to use for option label
|
|
817
|
+
*/
|
|
818
|
+
valueKey: {
|
|
819
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
820
|
+
default: string;
|
|
821
|
+
};
|
|
822
|
+
/**
|
|
823
|
+
* Used when options are objects: key to use for option disabled
|
|
824
|
+
*/
|
|
825
|
+
disabledKey: {
|
|
826
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
827
|
+
default: string;
|
|
828
|
+
};
|
|
829
|
+
/**
|
|
830
|
+
* Invalid status
|
|
831
|
+
*/
|
|
832
|
+
invalid: {
|
|
833
|
+
type: BooleanConstructor;
|
|
834
|
+
default: boolean;
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* Invalid label
|
|
838
|
+
*/
|
|
839
|
+
invalidLabel: {
|
|
840
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
841
|
+
default: undefined;
|
|
842
|
+
};
|
|
843
|
+
/**
|
|
844
|
+
* Valid status
|
|
845
|
+
*/
|
|
846
|
+
valid: {
|
|
847
|
+
type: BooleanConstructor;
|
|
848
|
+
default: boolean;
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* Valid label
|
|
852
|
+
*/
|
|
853
|
+
validLabel: {
|
|
854
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
855
|
+
default: undefined;
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
export declare const ActionProps: {
|
|
859
|
+
/**
|
|
860
|
+
* Button type
|
|
861
|
+
*/
|
|
862
|
+
type: {
|
|
863
|
+
type: PropType<`${ButtonType}`>;
|
|
864
|
+
default: ButtonType;
|
|
865
|
+
validator: (value: ButtonType) => boolean;
|
|
866
|
+
};
|
|
867
|
+
/**
|
|
868
|
+
* Button aria-label
|
|
869
|
+
*/
|
|
870
|
+
ariaLabel: {
|
|
871
|
+
type: StringConstructor;
|
|
872
|
+
default: undefined;
|
|
873
|
+
};
|
|
874
|
+
/**
|
|
875
|
+
* Default tag for the action
|
|
876
|
+
*/
|
|
877
|
+
defaultTag: {
|
|
878
|
+
type: StringConstructor;
|
|
879
|
+
default: ActionTag;
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
883
|
+
* @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
|
|
884
|
+
*/
|
|
885
|
+
to: {
|
|
886
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* Anchor href
|
|
890
|
+
*/
|
|
891
|
+
href: StringConstructor;
|
|
892
|
+
/**
|
|
893
|
+
* Anchor target
|
|
894
|
+
*/
|
|
895
|
+
target: StringConstructor;
|
|
896
|
+
/**
|
|
897
|
+
* Anchor rel
|
|
898
|
+
*/
|
|
899
|
+
rel: {
|
|
900
|
+
type: StringConstructor;
|
|
901
|
+
default: string;
|
|
902
|
+
};
|
|
903
|
+
/**
|
|
904
|
+
* Whether the item is current
|
|
905
|
+
*/
|
|
906
|
+
current: {
|
|
907
|
+
type: BooleanConstructor;
|
|
908
|
+
default: boolean;
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* Whether the item is active
|
|
912
|
+
*/
|
|
913
|
+
active: {
|
|
914
|
+
type: BooleanConstructor;
|
|
915
|
+
default: boolean;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* Whether the item is pressed
|
|
919
|
+
*/
|
|
920
|
+
pressed: {
|
|
921
|
+
type: BooleanConstructor;
|
|
922
|
+
default: boolean;
|
|
923
|
+
};
|
|
924
|
+
/**
|
|
925
|
+
* The item label
|
|
926
|
+
*/
|
|
927
|
+
label: {
|
|
928
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
929
|
+
default: undefined;
|
|
930
|
+
};
|
|
931
|
+
/**
|
|
932
|
+
* Whether the form control is disabled
|
|
933
|
+
*/
|
|
934
|
+
disabled: {
|
|
935
|
+
type: BooleanConstructor;
|
|
936
|
+
default: boolean;
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
export declare const NavProps: {
|
|
940
|
+
items: {
|
|
941
|
+
type: PropType<NavItem[]>;
|
|
942
|
+
default: () => never[];
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
export declare const StorageProps: {
|
|
946
|
+
/**
|
|
947
|
+
* Storage type
|
|
948
|
+
* @default StorageType.local
|
|
949
|
+
*/
|
|
950
|
+
storageType: {
|
|
951
|
+
type: PropType<`${StorageType}`>;
|
|
952
|
+
default: StorageType;
|
|
953
|
+
validator: (value: StorageType) => boolean;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Storage key
|
|
957
|
+
*/
|
|
958
|
+
storageKey: StringConstructor;
|
|
959
|
+
};
|