@volverjs/ui-vue 0.0.10-beta.2 → 0.0.10-beta.21
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 +98 -3
- package/auto-imports.d.ts +6 -2
- package/bin/icons.cjs +1 -1
- package/bin/icons.js +23 -16
- package/dist/Volver.d.ts +1 -1
- package/dist/components/VvAccordion/VvAccordion.es.js +70 -14
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +13 -6
- package/dist/components/VvAccordion/index.d.ts +4 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +117 -38
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +15 -8
- package/dist/components/VvAccordionGroup/index.d.ts +4 -1
- package/dist/components/VvAction/VvAction.es.js +58 -13
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +59 -12
- package/dist/components/VvAction/index.d.ts +25 -4
- package/dist/components/VvAlert/VvAlert.es.js +195 -152
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +18 -8
- package/dist/components/VvAlert/index.d.ts +9 -5
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +240 -174
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +13 -6
- package/dist/components/VvAlertGroup/index.d.ts +6 -2
- package/dist/components/VvAvatar/VvAvatar.es.js +54 -9
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +12 -4
- package/dist/components/VvAvatar/index.d.ts +4 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +111 -36
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +10 -3
- package/dist/components/VvAvatarGroup/index.d.ts +4 -1
- package/dist/components/VvBadge/VvBadge.es.js +73 -17
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +12 -4
- package/dist/components/VvBadge/index.d.ts +4 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +259 -49
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +27 -7
- package/dist/components/VvBreadcrumb/index.d.ts +6 -10
- package/dist/components/VvButton/VvButton.es.js +187 -141
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +101 -27
- package/dist/components/VvButton/index.d.ts +41 -14
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +69 -16
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +23 -10
- package/dist/components/VvButtonGroup/index.d.ts +8 -2
- package/dist/components/VvCard/VvCard.es.js +84 -25
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +12 -4
- package/dist/components/VvCard/index.d.ts +4 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +91 -22
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +104 -32
- package/dist/components/VvCheckbox/index.d.ts +45 -12
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +180 -67
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +100 -29
- package/dist/components/VvCheckboxGroup/index.d.ts +45 -12
- package/dist/components/VvCombobox/VvCombobox.es.js +758 -531
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +181 -108
- package/dist/components/VvCombobox/index.d.ts +53 -22
- package/dist/components/VvDialog/VvDialog.es.js +136 -141
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +4 -4
- package/dist/components/VvDropdown/VvDropdown.es.js +121 -55
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +101 -75
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +72 -11
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +12 -4
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +26 -7
- package/dist/components/VvDropdown/index.d.ts +16 -11
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +82 -22
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +13 -7
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +56 -8
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +76 -17
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +23 -96
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +23 -66
- package/dist/components/VvIcon/index.d.ts +33 -48
- package/dist/components/VvInputFile/VvInputFile.es.js +1734 -0
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -0
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +313 -0
- package/dist/components/VvInputFile/index.d.ts +179 -0
- package/dist/components/VvInputText/VvInputClearAction.d.ts +7 -5
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +10 -8
- package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +331 -293
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +162 -55
- package/dist/components/VvInputText/index.d.ts +71 -29
- package/dist/components/VvNav/VvNav.es.js +151 -73
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +41 -14
- package/dist/components/VvNav/VvNavItem.vue.d.ts +9 -0
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +2 -0
- package/dist/components/VvNav/index.d.ts +5 -13
- package/dist/components/VvNavItem/VvNavItem.es.js +436 -0
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -0
- package/dist/components/VvNavSeparator/VvNavSeparator.es.js +24 -0
- package/dist/components/VvNavSeparator/VvNavSeparator.umd.js +1 -0
- package/dist/components/VvProgress/VvProgress.es.js +65 -14
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +10 -3
- package/dist/components/VvProgress/index.d.ts +4 -1
- package/dist/components/VvRadio/VvRadio.es.js +89 -21
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +102 -30
- package/dist/components/VvRadio/index.d.ts +44 -11
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +180 -66
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +100 -29
- package/dist/components/VvRadioGroup/index.d.ts +45 -12
- package/dist/components/VvSelect/VvSelect.es.js +248 -226
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +112 -39
- package/dist/components/VvSelect/index.d.ts +48 -14
- package/dist/components/VvTab/VvTab.es.js +256 -110
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +50 -13
- package/dist/components/VvTab/index.d.ts +13 -4
- package/dist/components/VvTextarea/VvTextarea.es.js +229 -212
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +155 -48
- package/dist/components/VvTextarea/index.d.ts +68 -19
- package/dist/components/VvTooltip/VvTooltip.es.js +72 -17
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +10 -3
- package/dist/components/VvTooltip/index.d.ts +4 -1
- package/dist/components/common/HintSlot.d.ts +1 -1
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.es.js +2902 -1329
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +37 -4
- package/dist/composables/dropdown/useProvideDropdown.d.ts +1 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.es.js +88 -1
- package/dist/composables/index.umd.js +1 -1
- package/dist/composables/useBlurhash.d.ts +7 -0
- package/dist/composables/useComponentIcon.d.ts +9 -8
- package/dist/composables/useVolver.d.ts +1 -1
- package/dist/directives/index.d.ts +3 -5
- package/dist/directives/index.es.js +92 -31
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +90 -26
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +210 -210
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +81 -16
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +287 -73
- package/dist/resolvers/unplugin.d.ts +6 -1
- package/dist/resolvers/unplugin.es.js +78 -10
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +72 -84
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +623 -461
- package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +1 -1
- package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
- package/dist/stories/Combobox/Combobox.settings.d.ts +8 -0
- package/dist/stories/Icon/Icon.settings.d.ts +1 -0
- package/dist/stories/InputFile/InputFile.settings.d.ts +56 -0
- package/dist/stories/InputFile/InputFile.stories.d.ts +12 -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/Tab/Tab.settings.d.ts +4 -37
- package/dist/types/alert.d.ts +13 -0
- package/dist/types/blurhash.d.ts +12 -0
- package/dist/types/floating-ui.d.ts +6 -0
- package/dist/types/generic.d.ts +4 -0
- package/dist/types/group.d.ts +37 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/input-file.d.ts +16 -0
- package/dist/types/nav.d.ts +18 -0
- package/dist/utils/ObjectUtilities.d.ts +0 -1
- package/dist/workers/blurhash.d.ts +1 -0
- package/package.json +97 -80
- package/src/Volver.ts +31 -20
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAccordion/VvAccordion.vue +2 -2
- package/src/components/VvAction/VvAction.vue +5 -2
- package/src/components/VvAlert/index.ts +1 -3
- package/src/components/VvAlertGroup/index.ts +2 -1
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +20 -19
- package/src/components/VvBreadcrumb/index.ts +2 -8
- package/src/components/VvButton/VvButton.vue +6 -6
- package/src/components/VvButton/index.ts +2 -4
- package/src/components/VvCombobox/VvCombobox.vue +24 -16
- package/src/components/VvCombobox/index.ts +4 -0
- package/src/components/VvIcon/VvIcon.vue +2 -2
- package/src/components/VvIcon/index.ts +35 -48
- package/src/components/VvInputFile/VvInputFile.vue +365 -0
- package/src/components/VvInputFile/index.ts +116 -0
- package/src/components/VvInputText/VvInputClearAction.ts +10 -6
- package/src/components/VvInputText/VvInputPasswordAction.ts +13 -9
- package/src/components/VvInputText/VvInputText.vue +17 -18
- package/src/components/VvInputText/index.ts +7 -15
- package/src/components/VvNav/VvNav.vue +30 -50
- package/src/components/VvNav/VvNavItem.vue +18 -0
- package/src/components/VvNav/VvNavSeparator.vue +11 -0
- package/src/components/VvNav/index.ts +2 -15
- package/src/components/VvSelect/VvSelect.vue +5 -8
- package/src/components/VvTab/VvTab.vue +63 -35
- package/src/components/VvTab/index.ts +10 -4
- package/src/components/VvTextarea/VvTextarea.vue +6 -9
- package/src/components/index.ts +10 -0
- package/src/composables/index.ts +1 -0
- package/src/composables/useBlurhash.ts +76 -0
- package/src/composables/useComponentIcon.ts +15 -14
- package/src/composables/useUniqueId.ts +2 -2
- package/src/directives/index.ts +3 -6
- package/src/directives/v-tooltip.ts +19 -10
- package/src/index.ts +3 -1
- package/src/props/index.ts +115 -27
- package/src/resolvers/unplugin.ts +24 -14
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +2 -2
- package/src/stories/Blurhash/BlurhashComposable.stories.ts +195 -0
- package/src/stories/Combobox/Combobox.settings.ts +8 -0
- package/src/stories/Icon/Icon.settings.ts +3 -3
- package/src/stories/InputFile/InputFile.settings.ts +36 -0
- package/src/stories/InputFile/InputFile.stories.ts +89 -0
- package/src/stories/InputFile/InputFileDropArea.stories.ts +56 -0
- package/src/stories/InputFile/InputFileIconPosition.stories.ts +43 -0
- package/src/stories/InputFile/InputFileSlots.stories.ts +33 -0
- package/src/stories/Nav/Nav.settings.ts +3 -4
- package/src/stories/Nav/Nav.test.ts +4 -15
- package/src/stories/Tab/Tab.settings.ts +9 -9
- package/src/stories/Tab/Tab.stories.ts +2 -2
- package/src/stories/Tab/Tab.test.ts +6 -14
- package/src/stories/argTypes.ts +1 -1
- package/src/types/blurhash.ts +21 -0
- package/src/types/generic.ts +6 -0
- package/src/types/index.ts +7 -0
- package/src/types/input-file.ts +18 -0
- package/src/types/nav.ts +20 -0
- package/src/utils/ObjectUtilities.ts +0 -11
- package/src/workers/blurhash.ts +9 -0
- package/dist/components/VvNav/VvNavItemTitle.vue.d.ts +0 -6
- package/dist/components/VvNav/VvNavSeparator.d.ts +0 -2
- package/dist/components/VvNavItemTitle/VvNavItemTitle.es.js +0 -19
- package/dist/components/VvNavItemTitle/VvNavItemTitle.umd.js +0 -1
- package/src/components/VvNav/VvNavItemTitle.vue +0 -11
- package/src/components/VvNav/VvNavSeparator.ts +0 -8
- package/src/types/generic.d.ts +0 -6
- /package/src/types/{alert.d.ts → alert.ts} +0 -0
- /package/src/types/{floating-ui.d.ts → floating-ui.ts} +0 -0
- /package/src/types/{group.d.ts → group.ts} +0 -0
|
@@ -14,7 +14,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
default: import("../../constants").DropdownRole;
|
|
15
15
|
validator: (value: import("../../constants").DropdownRole) => boolean;
|
|
16
16
|
};
|
|
17
|
-
modifiers:
|
|
17
|
+
modifiers: {
|
|
18
|
+
type: globalThis.PropType<string | string[]>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
18
21
|
placement: {
|
|
19
22
|
type: globalThis.PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
20
23
|
default: Side;
|
|
@@ -27,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
30
|
};
|
|
28
31
|
transitionName: {
|
|
29
32
|
type: StringConstructor;
|
|
33
|
+
default: undefined;
|
|
30
34
|
};
|
|
31
35
|
offset: {
|
|
32
36
|
type: globalThis.PropType<string | import("@floating-ui/vue").OffsetOptions | undefined>;
|
|
@@ -34,24 +38,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
38
|
};
|
|
35
39
|
shift: {
|
|
36
40
|
type: globalThis.PropType<boolean | {
|
|
37
|
-
mainAxis?: boolean | undefined;
|
|
38
|
-
crossAxis?: boolean | undefined;
|
|
39
41
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
40
42
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
41
43
|
altBoundary?: boolean | undefined;
|
|
42
44
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
45
|
+
crossAxis?: boolean | undefined;
|
|
46
|
+
mainAxis?: boolean | undefined;
|
|
43
47
|
limiter?: {
|
|
44
48
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
45
49
|
options?: any;
|
|
46
50
|
} | undefined;
|
|
47
51
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
48
52
|
} | import("@floating-ui/dom").Derivable<{
|
|
49
|
-
mainAxis?: boolean | undefined;
|
|
50
|
-
crossAxis?: boolean | undefined;
|
|
51
53
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
52
54
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
53
55
|
altBoundary?: boolean | undefined;
|
|
54
56
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
57
|
+
crossAxis?: boolean | undefined;
|
|
58
|
+
mainAxis?: boolean | undefined;
|
|
55
59
|
limiter?: {
|
|
56
60
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
57
61
|
options?: any;
|
|
@@ -62,24 +66,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
66
|
};
|
|
63
67
|
flip: {
|
|
64
68
|
type: globalThis.PropType<boolean | {
|
|
65
|
-
mainAxis?: boolean | undefined;
|
|
66
|
-
crossAxis?: boolean | undefined;
|
|
67
69
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
68
70
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
69
71
|
altBoundary?: boolean | undefined;
|
|
70
72
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
73
|
+
crossAxis?: boolean | undefined;
|
|
74
|
+
mainAxis?: boolean | undefined;
|
|
71
75
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
72
76
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
73
77
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
74
78
|
flipAlignment?: boolean | undefined;
|
|
75
79
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
76
80
|
} | import("@floating-ui/dom").Derivable<{
|
|
77
|
-
mainAxis?: boolean | undefined;
|
|
78
|
-
crossAxis?: boolean | undefined;
|
|
79
81
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
80
82
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
81
83
|
altBoundary?: boolean | undefined;
|
|
82
84
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
85
|
+
crossAxis?: boolean | undefined;
|
|
86
|
+
mainAxis?: boolean | undefined;
|
|
83
87
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
84
88
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
85
89
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
@@ -136,21 +140,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
136
140
|
};
|
|
137
141
|
autoPlacement: {
|
|
138
142
|
type: globalThis.PropType<boolean | {
|
|
139
|
-
crossAxis?: boolean | undefined;
|
|
140
143
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
141
144
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
142
145
|
altBoundary?: boolean | undefined;
|
|
143
146
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
147
|
+
crossAxis?: boolean | undefined;
|
|
144
148
|
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
145
149
|
autoAlignment?: boolean | undefined;
|
|
146
150
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
147
151
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
148
152
|
} | import("@floating-ui/dom").Derivable<{
|
|
149
|
-
crossAxis?: boolean | undefined;
|
|
150
153
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
151
154
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
152
155
|
altBoundary?: boolean | undefined;
|
|
153
156
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
157
|
+
crossAxis?: boolean | undefined;
|
|
154
158
|
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
155
159
|
autoAlignment?: boolean | undefined;
|
|
156
160
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
@@ -172,6 +176,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
172
176
|
};
|
|
173
177
|
triggerWidth: {
|
|
174
178
|
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
175
180
|
};
|
|
176
181
|
id: (StringConstructor | NumberConstructor)[];
|
|
177
182
|
}, {
|
|
@@ -180,7 +185,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
180
185
|
hide: () => void;
|
|
181
186
|
init: (el: HTMLElement) => void;
|
|
182
187
|
customPosition: Ref<boolean>;
|
|
183
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
188
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
189
|
+
"update:modelValue": (...args: any[]) => void;
|
|
190
|
+
"before-enter": (...args: any[]) => void;
|
|
191
|
+
"after-leave": (...args: any[]) => void;
|
|
192
|
+
enter: (...args: any[]) => void;
|
|
193
|
+
"after-enter": (...args: any[]) => void;
|
|
194
|
+
"enter-cancelled": (...args: any[]) => void;
|
|
195
|
+
"before-leave": (...args: any[]) => void;
|
|
196
|
+
leave: (...args: any[]) => void;
|
|
197
|
+
"leave-cancelled": (...args: any[]) => void;
|
|
198
|
+
beforeExpand: (...args: any[]) => void;
|
|
199
|
+
beforeCollapse: (...args: any[]) => void;
|
|
200
|
+
afterExpand: (...args: any[]) => void;
|
|
201
|
+
afterCollapse: (...args: any[]) => void;
|
|
202
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
184
203
|
modelValue: {
|
|
185
204
|
type: BooleanConstructor;
|
|
186
205
|
default: undefined;
|
|
@@ -194,7 +213,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
194
213
|
default: import("../../constants").DropdownRole;
|
|
195
214
|
validator: (value: import("../../constants").DropdownRole) => boolean;
|
|
196
215
|
};
|
|
197
|
-
modifiers:
|
|
216
|
+
modifiers: {
|
|
217
|
+
type: globalThis.PropType<string | string[]>;
|
|
218
|
+
default: undefined;
|
|
219
|
+
};
|
|
198
220
|
placement: {
|
|
199
221
|
type: globalThis.PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
200
222
|
default: Side;
|
|
@@ -207,6 +229,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
207
229
|
};
|
|
208
230
|
transitionName: {
|
|
209
231
|
type: StringConstructor;
|
|
232
|
+
default: undefined;
|
|
210
233
|
};
|
|
211
234
|
offset: {
|
|
212
235
|
type: globalThis.PropType<string | import("@floating-ui/vue").OffsetOptions | undefined>;
|
|
@@ -214,24 +237,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
214
237
|
};
|
|
215
238
|
shift: {
|
|
216
239
|
type: globalThis.PropType<boolean | {
|
|
217
|
-
mainAxis?: boolean | undefined;
|
|
218
|
-
crossAxis?: boolean | undefined;
|
|
219
240
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
220
241
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
221
242
|
altBoundary?: boolean | undefined;
|
|
222
243
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
244
|
+
crossAxis?: boolean | undefined;
|
|
245
|
+
mainAxis?: boolean | undefined;
|
|
223
246
|
limiter?: {
|
|
224
247
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
225
248
|
options?: any;
|
|
226
249
|
} | undefined;
|
|
227
250
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
228
251
|
} | import("@floating-ui/dom").Derivable<{
|
|
229
|
-
mainAxis?: boolean | undefined;
|
|
230
|
-
crossAxis?: boolean | undefined;
|
|
231
252
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
232
253
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
233
254
|
altBoundary?: boolean | undefined;
|
|
234
255
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
256
|
+
crossAxis?: boolean | undefined;
|
|
257
|
+
mainAxis?: boolean | undefined;
|
|
235
258
|
limiter?: {
|
|
236
259
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
237
260
|
options?: any;
|
|
@@ -242,24 +265,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
242
265
|
};
|
|
243
266
|
flip: {
|
|
244
267
|
type: globalThis.PropType<boolean | {
|
|
245
|
-
mainAxis?: boolean | undefined;
|
|
246
|
-
crossAxis?: boolean | undefined;
|
|
247
268
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
248
269
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
249
270
|
altBoundary?: boolean | undefined;
|
|
250
271
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
272
|
+
crossAxis?: boolean | undefined;
|
|
273
|
+
mainAxis?: boolean | undefined;
|
|
251
274
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
252
275
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
253
276
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
254
277
|
flipAlignment?: boolean | undefined;
|
|
255
278
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
256
279
|
} | import("@floating-ui/dom").Derivable<{
|
|
257
|
-
mainAxis?: boolean | undefined;
|
|
258
|
-
crossAxis?: boolean | undefined;
|
|
259
280
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
260
281
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
261
282
|
altBoundary?: boolean | undefined;
|
|
262
283
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
284
|
+
crossAxis?: boolean | undefined;
|
|
285
|
+
mainAxis?: boolean | undefined;
|
|
263
286
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
264
287
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
265
288
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
@@ -316,21 +339,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
316
339
|
};
|
|
317
340
|
autoPlacement: {
|
|
318
341
|
type: globalThis.PropType<boolean | {
|
|
319
|
-
crossAxis?: boolean | undefined;
|
|
320
342
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
321
343
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
322
344
|
altBoundary?: boolean | undefined;
|
|
323
345
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
346
|
+
crossAxis?: boolean | undefined;
|
|
324
347
|
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
325
348
|
autoAlignment?: boolean | undefined;
|
|
326
349
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
327
350
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
328
351
|
} | import("@floating-ui/dom").Derivable<{
|
|
329
|
-
crossAxis?: boolean | undefined;
|
|
330
352
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
331
353
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
332
354
|
altBoundary?: boolean | undefined;
|
|
333
355
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
356
|
+
crossAxis?: boolean | undefined;
|
|
334
357
|
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
335
358
|
autoAlignment?: boolean | undefined;
|
|
336
359
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
@@ -352,6 +375,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
352
375
|
};
|
|
353
376
|
triggerWidth: {
|
|
354
377
|
type: BooleanConstructor;
|
|
378
|
+
default: boolean;
|
|
355
379
|
};
|
|
356
380
|
id: (StringConstructor | NumberConstructor)[];
|
|
357
381
|
}>> & {
|
|
@@ -369,29 +393,71 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
369
393
|
onAfterExpand?: ((...args: any[]) => any) | undefined;
|
|
370
394
|
onAfterCollapse?: ((...args: any[]) => any) | undefined;
|
|
371
395
|
}, {
|
|
396
|
+
modelValue: boolean;
|
|
397
|
+
modifiers: string | string[];
|
|
398
|
+
size: boolean | {
|
|
399
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
400
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
401
|
+
altBoundary?: boolean | undefined;
|
|
402
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
403
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
404
|
+
apply?: ((args: {
|
|
405
|
+
x: number;
|
|
406
|
+
y: number;
|
|
407
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
408
|
+
placement: import("@floating-ui/utils").Placement;
|
|
409
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
410
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
411
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
412
|
+
platform: import("@floating-ui/core").Platform;
|
|
413
|
+
elements: import("@floating-ui/dom").Elements;
|
|
414
|
+
} & {
|
|
415
|
+
availableWidth: number;
|
|
416
|
+
availableHeight: number;
|
|
417
|
+
}) => void | Promise<void>) | undefined;
|
|
418
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
419
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
420
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
421
|
+
altBoundary?: boolean | undefined;
|
|
422
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
423
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
424
|
+
apply?: ((args: {
|
|
425
|
+
x: number;
|
|
426
|
+
y: number;
|
|
427
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
428
|
+
placement: import("@floating-ui/utils").Placement;
|
|
429
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
430
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
431
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
432
|
+
platform: import("@floating-ui/core").Platform;
|
|
433
|
+
elements: import("@floating-ui/dom").Elements;
|
|
434
|
+
} & {
|
|
435
|
+
availableWidth: number;
|
|
436
|
+
availableHeight: number;
|
|
437
|
+
}) => void | Promise<void>) | undefined;
|
|
438
|
+
}> | undefined;
|
|
372
439
|
reference: HTMLElement | null;
|
|
373
440
|
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
374
441
|
strategy: "absolute" | "fixed";
|
|
375
|
-
modelValue: boolean;
|
|
376
442
|
shift: boolean | {
|
|
377
|
-
mainAxis?: boolean | undefined;
|
|
378
|
-
crossAxis?: boolean | undefined;
|
|
379
443
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
380
444
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
381
445
|
altBoundary?: boolean | undefined;
|
|
382
446
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
447
|
+
crossAxis?: boolean | undefined;
|
|
448
|
+
mainAxis?: boolean | undefined;
|
|
383
449
|
limiter?: {
|
|
384
450
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
385
451
|
options?: any;
|
|
386
452
|
} | undefined;
|
|
387
453
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
388
454
|
} | import("@floating-ui/dom").Derivable<{
|
|
389
|
-
mainAxis?: boolean | undefined;
|
|
390
|
-
crossAxis?: boolean | undefined;
|
|
391
455
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
392
456
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
393
457
|
altBoundary?: boolean | undefined;
|
|
394
458
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
459
|
+
crossAxis?: boolean | undefined;
|
|
460
|
+
mainAxis?: boolean | undefined;
|
|
395
461
|
limiter?: {
|
|
396
462
|
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
397
463
|
options?: any;
|
|
@@ -400,88 +466,48 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
400
466
|
}> | undefined;
|
|
401
467
|
role: "listbox" | "menu";
|
|
402
468
|
flip: boolean | {
|
|
403
|
-
mainAxis?: boolean | undefined;
|
|
404
|
-
crossAxis?: boolean | undefined;
|
|
405
469
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
406
470
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
407
471
|
altBoundary?: boolean | undefined;
|
|
408
472
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
473
|
+
crossAxis?: boolean | undefined;
|
|
474
|
+
mainAxis?: boolean | undefined;
|
|
409
475
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
410
476
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
411
477
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
412
478
|
flipAlignment?: boolean | undefined;
|
|
413
479
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
414
480
|
} | import("@floating-ui/dom").Derivable<{
|
|
415
|
-
mainAxis?: boolean | undefined;
|
|
416
|
-
crossAxis?: boolean | undefined;
|
|
417
481
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
418
482
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
419
483
|
altBoundary?: boolean | undefined;
|
|
420
484
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
485
|
+
crossAxis?: boolean | undefined;
|
|
486
|
+
mainAxis?: boolean | undefined;
|
|
421
487
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
422
488
|
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
423
489
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
424
490
|
flipAlignment?: boolean | undefined;
|
|
425
491
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
426
492
|
}> | undefined;
|
|
427
|
-
|
|
428
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
429
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
430
|
-
altBoundary?: boolean | undefined;
|
|
431
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
432
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
433
|
-
apply?: ((args: {
|
|
434
|
-
x: number;
|
|
435
|
-
y: number;
|
|
436
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
437
|
-
placement: import("@floating-ui/utils").Placement;
|
|
438
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
439
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
440
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
441
|
-
platform: import("@floating-ui/core").Platform;
|
|
442
|
-
elements: import("@floating-ui/dom").Elements;
|
|
443
|
-
} & {
|
|
444
|
-
availableWidth: number;
|
|
445
|
-
availableHeight: number;
|
|
446
|
-
}) => void | Promise<void>) | undefined;
|
|
447
|
-
} | import("@floating-ui/dom").Derivable<{
|
|
448
|
-
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
449
|
-
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
450
|
-
altBoundary?: boolean | undefined;
|
|
451
|
-
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
452
|
-
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
453
|
-
apply?: ((args: {
|
|
454
|
-
x: number;
|
|
455
|
-
y: number;
|
|
456
|
-
initialPlacement: import("@floating-ui/utils").Placement;
|
|
457
|
-
placement: import("@floating-ui/utils").Placement;
|
|
458
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
459
|
-
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
460
|
-
rects: import("@floating-ui/utils").ElementRects;
|
|
461
|
-
platform: import("@floating-ui/core").Platform;
|
|
462
|
-
elements: import("@floating-ui/dom").Elements;
|
|
463
|
-
} & {
|
|
464
|
-
availableWidth: number;
|
|
465
|
-
availableHeight: number;
|
|
466
|
-
}) => void | Promise<void>) | undefined;
|
|
467
|
-
}> | undefined;
|
|
493
|
+
transitionName: string;
|
|
468
494
|
offset: string | import("@floating-ui/vue").OffsetOptions | undefined;
|
|
469
495
|
autoPlacement: boolean | {
|
|
470
|
-
crossAxis?: boolean | undefined;
|
|
471
496
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
472
497
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
473
498
|
altBoundary?: boolean | undefined;
|
|
474
499
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
500
|
+
crossAxis?: boolean | undefined;
|
|
475
501
|
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
476
502
|
autoAlignment?: boolean | undefined;
|
|
477
503
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
478
504
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
479
505
|
} | import("@floating-ui/dom").Derivable<{
|
|
480
|
-
crossAxis?: boolean | undefined;
|
|
481
506
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
482
507
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
483
508
|
altBoundary?: boolean | undefined;
|
|
484
509
|
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
510
|
+
crossAxis?: boolean | undefined;
|
|
485
511
|
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
486
512
|
autoAlignment?: boolean | undefined;
|
|
487
513
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
modifiers:
|
|
2
|
+
modifiers: {
|
|
3
|
+
type: globalThis.PropType<string | string[]>;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
3
6
|
type: {
|
|
4
7
|
type: globalThis.PropType<"button" | "submit" | "reset">;
|
|
5
8
|
default: import("../../constants").ButtonType;
|
|
@@ -9,24 +12,52 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
12
|
type: StringConstructor;
|
|
10
13
|
default: undefined;
|
|
11
14
|
};
|
|
15
|
+
defaultTag: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: import("../../constants").ActionTag;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @description Define component classes with BEM style.
|
|
21
|
+
* @returns {Array} The component classes.
|
|
22
|
+
*/
|
|
12
23
|
to: {
|
|
13
24
|
type: (ObjectConstructor | StringConstructor)[];
|
|
14
25
|
};
|
|
15
26
|
href: StringConstructor;
|
|
16
27
|
target: {
|
|
17
28
|
type: globalThis.PropType<"_blank" | "_self" | "_parent" | "_top">;
|
|
29
|
+
default: undefined;
|
|
18
30
|
validator: (value: import("../../constants").AnchorTarget) => boolean;
|
|
19
31
|
};
|
|
20
32
|
rel: {
|
|
21
33
|
type: StringConstructor;
|
|
22
34
|
default: string;
|
|
23
35
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
current: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
active: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
pressed: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
label: {
|
|
49
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
57
|
+
modifiers: {
|
|
58
|
+
type: globalThis.PropType<string | string[]>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
30
61
|
type: {
|
|
31
62
|
type: globalThis.PropType<"button" | "submit" | "reset">;
|
|
32
63
|
default: import("../../constants").ButtonType;
|
|
@@ -36,27 +67,57 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
36
67
|
type: StringConstructor;
|
|
37
68
|
default: undefined;
|
|
38
69
|
};
|
|
70
|
+
defaultTag: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: import("../../constants").ActionTag;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @description Define component classes with BEM style.
|
|
76
|
+
* @returns {Array} The component classes.
|
|
77
|
+
*/
|
|
39
78
|
to: {
|
|
40
79
|
type: (ObjectConstructor | StringConstructor)[];
|
|
41
80
|
};
|
|
42
81
|
href: StringConstructor;
|
|
43
82
|
target: {
|
|
44
83
|
type: globalThis.PropType<"_blank" | "_self" | "_parent" | "_top">;
|
|
84
|
+
default: undefined;
|
|
45
85
|
validator: (value: import("../../constants").AnchorTarget) => boolean;
|
|
46
86
|
};
|
|
47
87
|
rel: {
|
|
48
88
|
type: StringConstructor;
|
|
49
89
|
default: string;
|
|
50
90
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
91
|
+
current: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
active: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
pressed: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
label: {
|
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
55
111
|
}>>, {
|
|
56
112
|
disabled: boolean;
|
|
113
|
+
modifiers: string | string[];
|
|
114
|
+
label: string | number;
|
|
57
115
|
type: "button" | "submit" | "reset";
|
|
116
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
58
117
|
ariaLabel: string;
|
|
118
|
+
defaultTag: string;
|
|
59
119
|
rel: string;
|
|
120
|
+
current: boolean;
|
|
60
121
|
active: boolean;
|
|
61
122
|
pressed: boolean;
|
|
62
123
|
}, {}>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
}>;
|
|
4
4
|
export default _default;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
label:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
2
|
+
label: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
label: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
label: string | number;
|
|
13
|
+
}, {}>;
|
|
6
14
|
export default _default;
|
|
@@ -8,14 +8,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
selectedHintLabel: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
};
|
|
11
|
-
modifiers:
|
|
11
|
+
modifiers: {
|
|
12
|
+
type: globalThis.PropType<string | string[]>;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
12
15
|
unselectable: {
|
|
13
16
|
type: BooleanConstructor;
|
|
14
17
|
default: boolean;
|
|
15
18
|
};
|
|
16
|
-
selected:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
selected: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
19
28
|
deselectHintLabel: {
|
|
20
29
|
type: StringConstructor;
|
|
21
30
|
};
|
|
@@ -25,16 +34,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
34
|
selectedHintLabel: {
|
|
26
35
|
type: StringConstructor;
|
|
27
36
|
};
|
|
28
|
-
modifiers:
|
|
37
|
+
modifiers: {
|
|
38
|
+
type: globalThis.PropType<string | string[]>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
29
41
|
unselectable: {
|
|
30
42
|
type: BooleanConstructor;
|
|
31
43
|
default: boolean;
|
|
32
44
|
};
|
|
33
|
-
selected:
|
|
34
|
-
|
|
45
|
+
selected: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
disabled: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
35
53
|
}>>, {
|
|
36
54
|
disabled: boolean;
|
|
37
55
|
unselectable: boolean;
|
|
56
|
+
modifiers: string | string[];
|
|
38
57
|
selected: boolean;
|
|
39
58
|
}, {}>, {
|
|
40
59
|
default?(_: {}): any;
|