@volverjs/ui-vue 0.0.9-beta.2 → 0.0.9-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/README.md +3 -3
- package/auto-imports.d.ts +2 -0
- package/dist/components/VvAccordion/VvAccordion.es.js +15 -7
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +15 -7
- package/dist/components/VvAction/VvAction.es.js +17 -8
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +9 -0
- package/dist/components/VvAction/index.d.ts +4 -0
- package/dist/components/VvAlert/VvAlert.es.js +22 -13
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
- package/dist/components/VvAlert/index.d.ts +3 -3
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +22 -13
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +6 -6
- package/dist/components/VvAlertGroup/index.d.ts +2 -2
- package/dist/components/VvAvatar/VvAvatar.es.js +15 -7
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +15 -7
- package/dist/components/VvBadge/VvBadge.es.js +15 -7
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +15 -7
- package/dist/components/VvButton/VvButton.es.js +19 -9
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +9 -0
- package/dist/components/VvButton/index.d.ts +4 -0
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +15 -7
- package/dist/components/VvCard/VvCard.es.js +15 -7
- package/dist/components/VvCheckbox/VvCheckbox.es.js +99 -21
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +4 -4
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +105 -22
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/VvCombobox/VvCombobox.es.js +256 -191
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +329 -101
- package/dist/components/VvCombobox/index.d.ts +123 -37
- package/dist/components/VvDialog/VvDialog.es.js +50 -37
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +32 -18
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +300 -92
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +9 -0
- package/dist/components/VvDropdown/index.d.ts +99 -30
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +17 -8
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +15 -7
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +15 -7
- package/dist/components/VvInputText/VvInputText.es.js +279 -116
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +23 -41
- package/dist/components/VvInputText/index.d.ts +15 -33
- package/dist/components/VvNav/VvNav.es.js +18 -9
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/index.d.ts +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +15 -7
- package/dist/components/VvRadio/VvRadio.es.js +99 -21
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +4 -4
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +105 -22
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +4 -4
- package/dist/components/VvSelect/VvSelect.es.js +95 -21
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +5 -5
- package/dist/components/VvTab/VvTab.es.js +18 -9
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +103 -26
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +4 -4
- package/dist/components/VvTooltip/VvTooltip.es.js +15 -7
- package/dist/components/common/HintSlot.d.ts +4 -3
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.es.js +1212 -626
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +27 -0
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.es.js +81 -0
- package/dist/composables/index.umd.js +1 -0
- package/dist/constants.d.ts +14 -0
- package/dist/directives/index.es.js +15 -7
- package/dist/directives/v-tooltip.es.js +15 -7
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +107 -31
- package/dist/resolvers/unplugin.es.js +3 -0
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -2
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +54 -269
- package/dist/stories/Alert/Alert.settings.d.ts +3 -7
- package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +2 -2
- package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +6 -0
- package/dist/stories/Button/Button.settings.d.ts +3 -13
- package/dist/stories/Combobox/Combobox.settings.d.ts +117 -19
- package/dist/stories/InputText/InputText.settings.d.ts +31 -9
- package/dist/stories/InputText/InputText.stories.d.ts +0 -1
- package/dist/stories/InputText/InputTextMask.stories.d.ts +12 -0
- package/dist/stories/Nav/Nav.settings.d.ts +3 -21
- package/package.json +75 -66
- 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/VvAction/VvAction.vue +2 -1
- package/src/components/VvAlert/VvAlert.vue +5 -1
- package/src/components/VvAlert/index.ts +3 -3
- package/src/components/VvAlertGroup/VvAlertGroup.vue +2 -0
- package/src/components/VvButton/VvButton.vue +1 -0
- package/src/components/VvCheckbox/VvCheckbox.vue +8 -1
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +8 -1
- package/src/components/VvCombobox/VvCombobox.vue +43 -23
- package/src/components/VvCombobox/index.ts +24 -0
- package/src/components/VvDialog/VvDialog.vue +22 -19
- package/src/components/VvDropdown/VvDropdown.vue +24 -18
- package/src/components/VvInputText/VvInputText.vue +177 -55
- package/src/components/VvInputText/index.ts +32 -34
- package/src/components/VvNav/VvNav.vue +1 -1
- package/src/components/VvNav/index.ts +1 -1
- package/src/components/VvRadio/VvRadio.vue +8 -1
- package/src/components/VvRadioGroup/VvRadioGroup.vue +8 -1
- package/src/components/VvSelect/VvSelect.vue +8 -1
- package/src/components/VvTextarea/VvTextarea.vue +16 -6
- package/src/components/common/HintSlot.ts +26 -13
- package/src/components/index.ts +5 -0
- package/src/composables/alert/useAlert.ts +103 -0
- package/src/composables/index.ts +1 -0
- package/src/constants.ts +26 -0
- package/src/props/index.ts +14 -11
- package/src/resolvers/unplugin.ts +3 -0
- package/src/stories/Alert/Alert.settings.ts +3 -1
- package/src/stories/AlertGroup/AlertGroup.test.ts +13 -0
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +3 -3
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +118 -0
- package/src/stories/Button/Button.settings.ts +5 -3
- package/src/stories/Combobox/Combobox.settings.ts +119 -2
- package/src/stories/Combobox/Combobox.test.ts +1 -1
- package/src/stories/InputText/InputText.settings.ts +36 -15
- package/src/stories/InputText/InputText.stories.ts +4 -12
- package/src/stories/InputText/InputText.test.ts +31 -15
- package/src/stories/InputText/InputTextMask.stories.ts +122 -0
- package/src/stories/Nav/Nav.settings.ts +3 -1
- package/src/stories/Tab/Tab.stories.ts +3 -3
- package/src/stories/Textarea/TextareaLength.stories.ts +1 -1
- package/src/types/alert.d.ts +20 -0
- /package/dist/components/{VvNavItemTitle → VvNav}/VvNavItemTitle.vue.d.ts +0 -0
- /package/dist/components/{VvNavSeparator → VvNav}/VvNavSeparator.d.ts +0 -0
- /package/src/components/{VvNavItemTitle → VvNav}/VvNavItemTitle.vue +0 -0
- /package/src/components/{VvNavSeparator → VvNav}/VvNavSeparator.ts +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
+
import { Side, Strategy } from '../../constants';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
4
|
modelValue: {
|
|
4
5
|
type: BooleanConstructor;
|
|
@@ -16,13 +17,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
16
17
|
modifiers: globalThis.PropType<string | string[]>;
|
|
17
18
|
placement: {
|
|
18
19
|
type: globalThis.PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
19
|
-
default:
|
|
20
|
+
default: Side;
|
|
20
21
|
validator: (value: never) => boolean;
|
|
21
22
|
};
|
|
22
23
|
strategy: {
|
|
23
|
-
type: globalThis.PropType<"
|
|
24
|
-
default:
|
|
25
|
-
validator: (value:
|
|
24
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
25
|
+
default: undefined;
|
|
26
|
+
validator: (value: Strategy) => boolean;
|
|
26
27
|
};
|
|
27
28
|
transitionName: {
|
|
28
29
|
type: StringConstructor;
|
|
@@ -32,33 +33,94 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
33
|
default: number;
|
|
33
34
|
};
|
|
34
35
|
shift: {
|
|
35
|
-
type: globalThis.PropType<boolean |
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
type: globalThis.PropType<boolean | {
|
|
37
|
+
mainAxis?: boolean | undefined;
|
|
38
|
+
crossAxis?: boolean | undefined;
|
|
39
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
40
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
41
|
+
altBoundary?: boolean | undefined;
|
|
42
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
43
|
+
limiter?: {
|
|
44
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/vue").Coords;
|
|
45
|
+
options?: any;
|
|
46
|
+
} | undefined;
|
|
47
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
48
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
49
|
+
mainAxis?: boolean | undefined;
|
|
50
|
+
crossAxis?: boolean | undefined;
|
|
51
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
52
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
53
|
+
altBoundary?: boolean | undefined;
|
|
54
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
55
|
+
limiter?: {
|
|
56
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/vue").Coords;
|
|
57
|
+
options?: any;
|
|
58
|
+
} | undefined;
|
|
59
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
41
60
|
}> | undefined>;
|
|
42
61
|
default: boolean;
|
|
43
62
|
};
|
|
44
63
|
flip: {
|
|
45
|
-
type: globalThis.PropType<boolean |
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
64
|
+
type: globalThis.PropType<boolean | {
|
|
65
|
+
mainAxis?: boolean | undefined;
|
|
66
|
+
crossAxis?: boolean | undefined;
|
|
67
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
68
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
69
|
+
altBoundary?: boolean | undefined;
|
|
70
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
71
|
+
fallbackPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
72
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
73
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
74
|
+
flipAlignment?: boolean | undefined;
|
|
75
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
76
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
77
|
+
mainAxis?: boolean | undefined;
|
|
78
|
+
crossAxis?: boolean | undefined;
|
|
79
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
80
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
81
|
+
altBoundary?: boolean | undefined;
|
|
82
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
83
|
+
fallbackPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
84
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
85
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
86
|
+
flipAlignment?: boolean | undefined;
|
|
87
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
51
88
|
}> | undefined>;
|
|
52
89
|
default: boolean;
|
|
53
90
|
};
|
|
54
91
|
size: {
|
|
55
|
-
type: globalThis.PropType<boolean |
|
|
56
|
-
|
|
92
|
+
type: globalThis.PropType<boolean | {
|
|
93
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
94
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
95
|
+
altBoundary?: boolean | undefined;
|
|
96
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
97
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
98
|
+
apply?: ((args: {
|
|
57
99
|
x: number;
|
|
58
100
|
y: number;
|
|
101
|
+
initialPlacement: import("@floating-ui/vue").Placement;
|
|
59
102
|
placement: import("@floating-ui/vue").Placement;
|
|
60
103
|
strategy: import("@floating-ui/vue").Strategy;
|
|
104
|
+
middlewareData: import("@floating-ui/vue").MiddlewareData;
|
|
105
|
+
rects: import("@floating-ui/vue").ElementRects;
|
|
106
|
+
platform: import("@floating-ui/core").Platform;
|
|
107
|
+
elements: import("@floating-ui/vue").Elements;
|
|
108
|
+
} & {
|
|
109
|
+
availableWidth: number;
|
|
110
|
+
availableHeight: number;
|
|
111
|
+
}) => void | Promise<void>) | undefined;
|
|
112
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
113
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
114
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
115
|
+
altBoundary?: boolean | undefined;
|
|
116
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
117
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
118
|
+
apply?: ((args: {
|
|
119
|
+
x: number;
|
|
120
|
+
y: number;
|
|
61
121
|
initialPlacement: import("@floating-ui/vue").Placement;
|
|
122
|
+
placement: import("@floating-ui/vue").Placement;
|
|
123
|
+
strategy: import("@floating-ui/vue").Strategy;
|
|
62
124
|
middlewareData: import("@floating-ui/vue").MiddlewareData;
|
|
63
125
|
rects: import("@floating-ui/vue").ElementRects;
|
|
64
126
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -66,25 +128,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
128
|
} & {
|
|
67
129
|
availableWidth: number;
|
|
68
130
|
availableHeight: number;
|
|
69
|
-
}) => void | Promise<void
|
|
70
|
-
} & {
|
|
71
|
-
rootBoundary: import("@floating-ui/vue").RootBoundary;
|
|
72
|
-
elementContext: import("@floating-ui/vue").ElementContext;
|
|
73
|
-
altBoundary: boolean;
|
|
74
|
-
padding: import("@floating-ui/vue").Padding;
|
|
75
|
-
boundary: import("@floating-ui/vue").Boundary;
|
|
131
|
+
}) => void | Promise<void>) | undefined;
|
|
76
132
|
}> | undefined>;
|
|
77
133
|
default: () => {
|
|
78
134
|
padding: number;
|
|
79
135
|
};
|
|
80
136
|
};
|
|
81
137
|
autoPlacement: {
|
|
82
|
-
type: globalThis.PropType<boolean |
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
138
|
+
type: globalThis.PropType<boolean | {
|
|
139
|
+
crossAxis?: boolean | undefined;
|
|
140
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
141
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
142
|
+
altBoundary?: boolean | undefined;
|
|
143
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
144
|
+
alignment?: import("@floating-ui/vue").Alignment | null | undefined;
|
|
145
|
+
autoAlignment?: boolean | undefined;
|
|
146
|
+
allowedPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
147
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
148
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
149
|
+
crossAxis?: boolean | undefined;
|
|
150
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
151
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
152
|
+
altBoundary?: boolean | undefined;
|
|
153
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
154
|
+
alignment?: import("@floating-ui/vue").Alignment | null | undefined;
|
|
155
|
+
autoAlignment?: boolean | undefined;
|
|
156
|
+
allowedPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
157
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
88
158
|
}> | undefined>;
|
|
89
159
|
default: boolean;
|
|
90
160
|
};
|
|
@@ -127,13 +197,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
127
197
|
modifiers: globalThis.PropType<string | string[]>;
|
|
128
198
|
placement: {
|
|
129
199
|
type: globalThis.PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
130
|
-
default:
|
|
200
|
+
default: Side;
|
|
131
201
|
validator: (value: never) => boolean;
|
|
132
202
|
};
|
|
133
203
|
strategy: {
|
|
134
|
-
type: globalThis.PropType<"
|
|
135
|
-
default:
|
|
136
|
-
validator: (value:
|
|
204
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
205
|
+
default: undefined;
|
|
206
|
+
validator: (value: Strategy) => boolean;
|
|
137
207
|
};
|
|
138
208
|
transitionName: {
|
|
139
209
|
type: StringConstructor;
|
|
@@ -143,33 +213,94 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
143
213
|
default: number;
|
|
144
214
|
};
|
|
145
215
|
shift: {
|
|
146
|
-
type: globalThis.PropType<boolean |
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
216
|
+
type: globalThis.PropType<boolean | {
|
|
217
|
+
mainAxis?: boolean | undefined;
|
|
218
|
+
crossAxis?: boolean | undefined;
|
|
219
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
220
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
221
|
+
altBoundary?: boolean | undefined;
|
|
222
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
223
|
+
limiter?: {
|
|
224
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/vue").Coords;
|
|
225
|
+
options?: any;
|
|
226
|
+
} | undefined;
|
|
227
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
228
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
229
|
+
mainAxis?: boolean | undefined;
|
|
230
|
+
crossAxis?: boolean | undefined;
|
|
231
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
232
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
233
|
+
altBoundary?: boolean | undefined;
|
|
234
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
235
|
+
limiter?: {
|
|
236
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/vue").Coords;
|
|
237
|
+
options?: any;
|
|
238
|
+
} | undefined;
|
|
239
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
152
240
|
}> | undefined>;
|
|
153
241
|
default: boolean;
|
|
154
242
|
};
|
|
155
243
|
flip: {
|
|
156
|
-
type: globalThis.PropType<boolean |
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
244
|
+
type: globalThis.PropType<boolean | {
|
|
245
|
+
mainAxis?: boolean | undefined;
|
|
246
|
+
crossAxis?: boolean | undefined;
|
|
247
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
248
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
249
|
+
altBoundary?: boolean | undefined;
|
|
250
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
251
|
+
fallbackPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
252
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
253
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
254
|
+
flipAlignment?: boolean | undefined;
|
|
255
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
256
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
257
|
+
mainAxis?: boolean | undefined;
|
|
258
|
+
crossAxis?: boolean | undefined;
|
|
259
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
260
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
261
|
+
altBoundary?: boolean | undefined;
|
|
262
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
263
|
+
fallbackPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
264
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
265
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
266
|
+
flipAlignment?: boolean | undefined;
|
|
267
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
162
268
|
}> | undefined>;
|
|
163
269
|
default: boolean;
|
|
164
270
|
};
|
|
165
271
|
size: {
|
|
166
|
-
type: globalThis.PropType<boolean |
|
|
167
|
-
|
|
272
|
+
type: globalThis.PropType<boolean | {
|
|
273
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
274
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
275
|
+
altBoundary?: boolean | undefined;
|
|
276
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
277
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
278
|
+
apply?: ((args: {
|
|
168
279
|
x: number;
|
|
169
280
|
y: number;
|
|
281
|
+
initialPlacement: import("@floating-ui/vue").Placement;
|
|
170
282
|
placement: import("@floating-ui/vue").Placement;
|
|
171
283
|
strategy: import("@floating-ui/vue").Strategy;
|
|
284
|
+
middlewareData: import("@floating-ui/vue").MiddlewareData;
|
|
285
|
+
rects: import("@floating-ui/vue").ElementRects;
|
|
286
|
+
platform: import("@floating-ui/core").Platform;
|
|
287
|
+
elements: import("@floating-ui/vue").Elements;
|
|
288
|
+
} & {
|
|
289
|
+
availableWidth: number;
|
|
290
|
+
availableHeight: number;
|
|
291
|
+
}) => void | Promise<void>) | undefined;
|
|
292
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
293
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
294
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
295
|
+
altBoundary?: boolean | undefined;
|
|
296
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
297
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
298
|
+
apply?: ((args: {
|
|
299
|
+
x: number;
|
|
300
|
+
y: number;
|
|
172
301
|
initialPlacement: import("@floating-ui/vue").Placement;
|
|
302
|
+
placement: import("@floating-ui/vue").Placement;
|
|
303
|
+
strategy: import("@floating-ui/vue").Strategy;
|
|
173
304
|
middlewareData: import("@floating-ui/vue").MiddlewareData;
|
|
174
305
|
rects: import("@floating-ui/vue").ElementRects;
|
|
175
306
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -177,25 +308,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
177
308
|
} & {
|
|
178
309
|
availableWidth: number;
|
|
179
310
|
availableHeight: number;
|
|
180
|
-
}) => void | Promise<void
|
|
181
|
-
} & {
|
|
182
|
-
rootBoundary: import("@floating-ui/vue").RootBoundary;
|
|
183
|
-
elementContext: import("@floating-ui/vue").ElementContext;
|
|
184
|
-
altBoundary: boolean;
|
|
185
|
-
padding: import("@floating-ui/vue").Padding;
|
|
186
|
-
boundary: import("@floating-ui/vue").Boundary;
|
|
311
|
+
}) => void | Promise<void>) | undefined;
|
|
187
312
|
}> | undefined>;
|
|
188
313
|
default: () => {
|
|
189
314
|
padding: number;
|
|
190
315
|
};
|
|
191
316
|
};
|
|
192
317
|
autoPlacement: {
|
|
193
|
-
type: globalThis.PropType<boolean |
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
318
|
+
type: globalThis.PropType<boolean | {
|
|
319
|
+
crossAxis?: boolean | undefined;
|
|
320
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
321
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
322
|
+
altBoundary?: boolean | undefined;
|
|
323
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
324
|
+
alignment?: import("@floating-ui/vue").Alignment | null | undefined;
|
|
325
|
+
autoAlignment?: boolean | undefined;
|
|
326
|
+
allowedPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
327
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
328
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
329
|
+
crossAxis?: boolean | undefined;
|
|
330
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
331
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
332
|
+
altBoundary?: boolean | undefined;
|
|
333
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
334
|
+
alignment?: import("@floating-ui/vue").Alignment | null | undefined;
|
|
335
|
+
autoAlignment?: boolean | undefined;
|
|
336
|
+
allowedPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
337
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
199
338
|
}> | undefined>;
|
|
200
339
|
default: boolean;
|
|
201
340
|
};
|
|
@@ -230,30 +369,93 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
230
369
|
onAfterExpand?: ((...args: any[]) => any) | undefined;
|
|
231
370
|
onAfterCollapse?: ((...args: any[]) => any) | undefined;
|
|
232
371
|
}, {
|
|
233
|
-
shift: boolean | Partial<import("@floating-ui/vue").ShiftOptions & {
|
|
234
|
-
rootBoundary: import("@floating-ui/vue").RootBoundary;
|
|
235
|
-
elementContext: import("@floating-ui/vue").ElementContext;
|
|
236
|
-
altBoundary: boolean;
|
|
237
|
-
padding: import("@floating-ui/vue").Padding;
|
|
238
|
-
boundary: import("@floating-ui/vue").Boundary;
|
|
239
|
-
}> | undefined;
|
|
240
372
|
reference: HTMLElement | null;
|
|
373
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
374
|
+
strategy: "absolute" | "fixed";
|
|
241
375
|
modelValue: boolean;
|
|
376
|
+
shift: boolean | {
|
|
377
|
+
mainAxis?: boolean | undefined;
|
|
378
|
+
crossAxis?: boolean | undefined;
|
|
379
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
380
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
381
|
+
altBoundary?: boolean | undefined;
|
|
382
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
383
|
+
limiter?: {
|
|
384
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/vue").Coords;
|
|
385
|
+
options?: any;
|
|
386
|
+
} | undefined;
|
|
387
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
388
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
389
|
+
mainAxis?: boolean | undefined;
|
|
390
|
+
crossAxis?: boolean | undefined;
|
|
391
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
392
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
393
|
+
altBoundary?: boolean | undefined;
|
|
394
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
395
|
+
limiter?: {
|
|
396
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/vue").Coords;
|
|
397
|
+
options?: any;
|
|
398
|
+
} | undefined;
|
|
399
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
400
|
+
}> | undefined;
|
|
242
401
|
role: "listbox" | "menu";
|
|
243
|
-
flip: boolean |
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
402
|
+
flip: boolean | {
|
|
403
|
+
mainAxis?: boolean | undefined;
|
|
404
|
+
crossAxis?: boolean | undefined;
|
|
405
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
406
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
407
|
+
altBoundary?: boolean | undefined;
|
|
408
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
409
|
+
fallbackPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
410
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
411
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
412
|
+
flipAlignment?: boolean | undefined;
|
|
413
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
414
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
415
|
+
mainAxis?: boolean | undefined;
|
|
416
|
+
crossAxis?: boolean | undefined;
|
|
417
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
418
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
419
|
+
altBoundary?: boolean | undefined;
|
|
420
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
421
|
+
fallbackPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
422
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
423
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
424
|
+
flipAlignment?: boolean | undefined;
|
|
425
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
249
426
|
}> | undefined;
|
|
250
|
-
size: boolean |
|
|
251
|
-
|
|
427
|
+
size: boolean | {
|
|
428
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
429
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
430
|
+
altBoundary?: boolean | undefined;
|
|
431
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
432
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
433
|
+
apply?: ((args: {
|
|
252
434
|
x: number;
|
|
253
435
|
y: number;
|
|
436
|
+
initialPlacement: import("@floating-ui/vue").Placement;
|
|
254
437
|
placement: import("@floating-ui/vue").Placement;
|
|
255
438
|
strategy: import("@floating-ui/vue").Strategy;
|
|
439
|
+
middlewareData: import("@floating-ui/vue").MiddlewareData;
|
|
440
|
+
rects: import("@floating-ui/vue").ElementRects;
|
|
441
|
+
platform: import("@floating-ui/core").Platform;
|
|
442
|
+
elements: import("@floating-ui/vue").Elements;
|
|
443
|
+
} & {
|
|
444
|
+
availableWidth: number;
|
|
445
|
+
availableHeight: number;
|
|
446
|
+
}) => void | Promise<void>) | undefined;
|
|
447
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
448
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
449
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
450
|
+
altBoundary?: boolean | undefined;
|
|
451
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
452
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
453
|
+
apply?: ((args: {
|
|
454
|
+
x: number;
|
|
455
|
+
y: number;
|
|
256
456
|
initialPlacement: import("@floating-ui/vue").Placement;
|
|
457
|
+
placement: import("@floating-ui/vue").Placement;
|
|
458
|
+
strategy: import("@floating-ui/vue").Strategy;
|
|
257
459
|
middlewareData: import("@floating-ui/vue").MiddlewareData;
|
|
258
460
|
rects: import("@floating-ui/vue").ElementRects;
|
|
259
461
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -261,23 +463,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
261
463
|
} & {
|
|
262
464
|
availableWidth: number;
|
|
263
465
|
availableHeight: number;
|
|
264
|
-
}) => void | Promise<void
|
|
265
|
-
} & {
|
|
266
|
-
rootBoundary: import("@floating-ui/vue").RootBoundary;
|
|
267
|
-
elementContext: import("@floating-ui/vue").ElementContext;
|
|
268
|
-
altBoundary: boolean;
|
|
269
|
-
padding: import("@floating-ui/vue").Padding;
|
|
270
|
-
boundary: import("@floating-ui/vue").Boundary;
|
|
466
|
+
}) => void | Promise<void>) | undefined;
|
|
271
467
|
}> | undefined;
|
|
272
|
-
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
273
|
-
strategy: "fixed" | "absolute";
|
|
274
468
|
offset: string | import("@floating-ui/vue").OffsetOptions | undefined;
|
|
275
|
-
autoPlacement: boolean |
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
469
|
+
autoPlacement: boolean | {
|
|
470
|
+
crossAxis?: boolean | undefined;
|
|
471
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
472
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
473
|
+
altBoundary?: boolean | undefined;
|
|
474
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
475
|
+
alignment?: import("@floating-ui/vue").Alignment | null | undefined;
|
|
476
|
+
autoAlignment?: boolean | undefined;
|
|
477
|
+
allowedPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
478
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
479
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
480
|
+
crossAxis?: boolean | undefined;
|
|
481
|
+
rootBoundary?: import("@floating-ui/vue").RootBoundary | undefined;
|
|
482
|
+
elementContext?: import("@floating-ui/vue").ElementContext | undefined;
|
|
483
|
+
altBoundary?: boolean | undefined;
|
|
484
|
+
padding?: import("@floating-ui/vue").Padding | undefined;
|
|
485
|
+
alignment?: import("@floating-ui/vue").Alignment | null | undefined;
|
|
486
|
+
autoAlignment?: boolean | undefined;
|
|
487
|
+
allowedPlacements?: import("@floating-ui/vue").Placement[] | undefined;
|
|
488
|
+
boundary?: import("@floating-ui/vue").Boundary | undefined;
|
|
281
489
|
}> | undefined;
|
|
282
490
|
arrow: boolean;
|
|
283
491
|
keepOpen: boolean;
|
|
@@ -5,6 +5,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
default: import("../../constants").ButtonType;
|
|
6
6
|
validator: (value: import("../../constants").ButtonType) => boolean;
|
|
7
7
|
};
|
|
8
|
+
ariaLabel: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
8
12
|
to: {
|
|
9
13
|
type: (ObjectConstructor | StringConstructor)[];
|
|
10
14
|
};
|
|
@@ -28,6 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
32
|
default: import("../../constants").ButtonType;
|
|
29
33
|
validator: (value: import("../../constants").ButtonType) => boolean;
|
|
30
34
|
};
|
|
35
|
+
ariaLabel: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
31
39
|
to: {
|
|
32
40
|
type: (ObjectConstructor | StringConstructor)[];
|
|
33
41
|
};
|
|
@@ -47,6 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
47
55
|
}>>, {
|
|
48
56
|
disabled: boolean;
|
|
49
57
|
type: "button" | "submit" | "reset";
|
|
58
|
+
ariaLabel: string;
|
|
50
59
|
rel: string;
|
|
51
60
|
active: boolean;
|
|
52
61
|
pressed: boolean;
|