@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,5 +1,9 @@
|
|
|
1
1
|
import type { Option } from '../../types/generic';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
transitionName: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
3
7
|
modelValue: {
|
|
4
8
|
type: (ObjectConstructor | ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
5
9
|
default: undefined;
|
|
@@ -28,8 +32,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
32
|
type: StringConstructor;
|
|
29
33
|
default: string;
|
|
30
34
|
};
|
|
35
|
+
closeLabel: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
31
39
|
placeholder: StringConstructor;
|
|
32
40
|
searchable: BooleanConstructor;
|
|
41
|
+
searchFunction: {
|
|
42
|
+
type: globalThis.PropType<(search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>>;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
33
45
|
searchPlaceholder: {
|
|
34
46
|
type: StringConstructor;
|
|
35
47
|
default: string;
|
|
@@ -73,45 +85,103 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
73
85
|
validator: (value: never) => boolean;
|
|
74
86
|
};
|
|
75
87
|
strategy: {
|
|
76
|
-
type: globalThis.PropType<"
|
|
77
|
-
default:
|
|
78
|
-
validator: (value: "
|
|
79
|
-
};
|
|
80
|
-
transitionName: {
|
|
81
|
-
type: StringConstructor;
|
|
88
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
89
|
+
default: undefined;
|
|
90
|
+
validator: (value: import("../../constants").Strategy) => boolean;
|
|
82
91
|
};
|
|
83
92
|
offset: {
|
|
84
93
|
type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
|
|
85
94
|
default: number;
|
|
86
95
|
};
|
|
87
96
|
shift: {
|
|
88
|
-
type: globalThis.PropType<boolean |
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
type: globalThis.PropType<boolean | {
|
|
98
|
+
mainAxis?: boolean | undefined;
|
|
99
|
+
crossAxis?: boolean | undefined;
|
|
100
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
101
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
102
|
+
altBoundary?: boolean | undefined;
|
|
103
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
104
|
+
limiter?: {
|
|
105
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
106
|
+
options?: any;
|
|
107
|
+
} | undefined;
|
|
108
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
109
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
110
|
+
mainAxis?: boolean | undefined;
|
|
111
|
+
crossAxis?: boolean | undefined;
|
|
112
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
113
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
114
|
+
altBoundary?: boolean | undefined;
|
|
115
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
116
|
+
limiter?: {
|
|
117
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
118
|
+
options?: any;
|
|
119
|
+
} | undefined;
|
|
120
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
94
121
|
}> | undefined>;
|
|
95
122
|
default: boolean;
|
|
96
123
|
};
|
|
97
124
|
flip: {
|
|
98
|
-
type: globalThis.PropType<boolean |
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
125
|
+
type: globalThis.PropType<boolean | {
|
|
126
|
+
mainAxis?: boolean | undefined;
|
|
127
|
+
crossAxis?: boolean | undefined;
|
|
128
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
129
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
130
|
+
altBoundary?: boolean | undefined;
|
|
131
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
132
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
133
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
134
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
135
|
+
flipAlignment?: boolean | undefined;
|
|
136
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
137
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
138
|
+
mainAxis?: boolean | undefined;
|
|
139
|
+
crossAxis?: boolean | undefined;
|
|
140
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
141
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
142
|
+
altBoundary?: boolean | undefined;
|
|
143
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
144
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
145
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
146
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
147
|
+
flipAlignment?: boolean | undefined;
|
|
148
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
104
149
|
}> | undefined>;
|
|
105
150
|
default: boolean;
|
|
106
151
|
};
|
|
107
152
|
size: {
|
|
108
|
-
type: globalThis.PropType<boolean |
|
|
109
|
-
|
|
153
|
+
type: globalThis.PropType<boolean | {
|
|
154
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
155
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
156
|
+
altBoundary?: boolean | undefined;
|
|
157
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
158
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
159
|
+
apply?: ((args: {
|
|
110
160
|
x: number;
|
|
111
161
|
y: number;
|
|
162
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
112
163
|
placement: import("@floating-ui/core").Placement;
|
|
113
164
|
strategy: import("@floating-ui/core").Strategy;
|
|
165
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
166
|
+
rects: import("@floating-ui/core").ElementRects;
|
|
167
|
+
platform: import("@floating-ui/core").Platform;
|
|
168
|
+
elements: import("@floating-ui/dom").Elements;
|
|
169
|
+
} & {
|
|
170
|
+
availableWidth: number;
|
|
171
|
+
availableHeight: number;
|
|
172
|
+
}) => void | Promise<void>) | undefined;
|
|
173
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
174
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
175
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
176
|
+
altBoundary?: boolean | undefined;
|
|
177
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
178
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
179
|
+
apply?: ((args: {
|
|
180
|
+
x: number;
|
|
181
|
+
y: number;
|
|
114
182
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
183
|
+
placement: import("@floating-ui/core").Placement;
|
|
184
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
115
185
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
116
186
|
rects: import("@floating-ui/core").ElementRects;
|
|
117
187
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -119,25 +189,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
119
189
|
} & {
|
|
120
190
|
availableWidth: number;
|
|
121
191
|
availableHeight: number;
|
|
122
|
-
}) => void | Promise<void
|
|
123
|
-
} & {
|
|
124
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
125
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
126
|
-
altBoundary: boolean;
|
|
127
|
-
padding: import("@floating-ui/core").Padding;
|
|
128
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
192
|
+
}) => void | Promise<void>) | undefined;
|
|
129
193
|
}> | undefined>;
|
|
130
194
|
default: () => {
|
|
131
195
|
padding: number;
|
|
132
196
|
};
|
|
133
197
|
};
|
|
134
198
|
autoPlacement: {
|
|
135
|
-
type: globalThis.PropType<boolean |
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
199
|
+
type: globalThis.PropType<boolean | {
|
|
200
|
+
crossAxis?: boolean | undefined;
|
|
201
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
202
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
203
|
+
altBoundary?: boolean | undefined;
|
|
204
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
205
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
206
|
+
autoAlignment?: boolean | undefined;
|
|
207
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
208
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
209
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
210
|
+
crossAxis?: boolean | undefined;
|
|
211
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
212
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
213
|
+
altBoundary?: boolean | undefined;
|
|
214
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
215
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
216
|
+
autoAlignment?: boolean | undefined;
|
|
217
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
218
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
141
219
|
}> | undefined>;
|
|
142
220
|
default: boolean;
|
|
143
221
|
};
|
|
@@ -204,6 +282,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
204
282
|
};
|
|
205
283
|
id: (StringConstructor | NumberConstructor)[];
|
|
206
284
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
285
|
+
transitionName: {
|
|
286
|
+
type: StringConstructor;
|
|
287
|
+
default: string;
|
|
288
|
+
};
|
|
207
289
|
modelValue: {
|
|
208
290
|
type: (ObjectConstructor | ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
209
291
|
default: undefined;
|
|
@@ -232,8 +314,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
232
314
|
type: StringConstructor;
|
|
233
315
|
default: string;
|
|
234
316
|
};
|
|
317
|
+
closeLabel: {
|
|
318
|
+
type: StringConstructor;
|
|
319
|
+
default: string;
|
|
320
|
+
};
|
|
235
321
|
placeholder: StringConstructor;
|
|
236
322
|
searchable: BooleanConstructor;
|
|
323
|
+
searchFunction: {
|
|
324
|
+
type: globalThis.PropType<(search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>>;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
237
327
|
searchPlaceholder: {
|
|
238
328
|
type: StringConstructor;
|
|
239
329
|
default: string;
|
|
@@ -277,45 +367,103 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
277
367
|
validator: (value: never) => boolean;
|
|
278
368
|
};
|
|
279
369
|
strategy: {
|
|
280
|
-
type: globalThis.PropType<"
|
|
281
|
-
default:
|
|
282
|
-
validator: (value: "
|
|
283
|
-
};
|
|
284
|
-
transitionName: {
|
|
285
|
-
type: StringConstructor;
|
|
370
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
371
|
+
default: undefined;
|
|
372
|
+
validator: (value: import("../../constants").Strategy) => boolean;
|
|
286
373
|
};
|
|
287
374
|
offset: {
|
|
288
375
|
type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
|
|
289
376
|
default: number;
|
|
290
377
|
};
|
|
291
378
|
shift: {
|
|
292
|
-
type: globalThis.PropType<boolean |
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
379
|
+
type: globalThis.PropType<boolean | {
|
|
380
|
+
mainAxis?: boolean | undefined;
|
|
381
|
+
crossAxis?: boolean | undefined;
|
|
382
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
383
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
384
|
+
altBoundary?: boolean | undefined;
|
|
385
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
386
|
+
limiter?: {
|
|
387
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
388
|
+
options?: any;
|
|
389
|
+
} | undefined;
|
|
390
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
391
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
392
|
+
mainAxis?: boolean | undefined;
|
|
393
|
+
crossAxis?: boolean | undefined;
|
|
394
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
395
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
396
|
+
altBoundary?: boolean | undefined;
|
|
397
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
398
|
+
limiter?: {
|
|
399
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
400
|
+
options?: any;
|
|
401
|
+
} | undefined;
|
|
402
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
298
403
|
}> | undefined>;
|
|
299
404
|
default: boolean;
|
|
300
405
|
};
|
|
301
406
|
flip: {
|
|
302
|
-
type: globalThis.PropType<boolean |
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
407
|
+
type: globalThis.PropType<boolean | {
|
|
408
|
+
mainAxis?: boolean | undefined;
|
|
409
|
+
crossAxis?: boolean | undefined;
|
|
410
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
411
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
412
|
+
altBoundary?: boolean | undefined;
|
|
413
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
414
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
415
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
416
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
417
|
+
flipAlignment?: boolean | undefined;
|
|
418
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
419
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
420
|
+
mainAxis?: boolean | undefined;
|
|
421
|
+
crossAxis?: boolean | undefined;
|
|
422
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
423
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
424
|
+
altBoundary?: boolean | undefined;
|
|
425
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
426
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
427
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
428
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
429
|
+
flipAlignment?: boolean | undefined;
|
|
430
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
308
431
|
}> | undefined>;
|
|
309
432
|
default: boolean;
|
|
310
433
|
};
|
|
311
434
|
size: {
|
|
312
|
-
type: globalThis.PropType<boolean |
|
|
313
|
-
|
|
435
|
+
type: globalThis.PropType<boolean | {
|
|
436
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
437
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
438
|
+
altBoundary?: boolean | undefined;
|
|
439
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
440
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
441
|
+
apply?: ((args: {
|
|
314
442
|
x: number;
|
|
315
443
|
y: number;
|
|
444
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
316
445
|
placement: import("@floating-ui/core").Placement;
|
|
317
446
|
strategy: import("@floating-ui/core").Strategy;
|
|
447
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
448
|
+
rects: import("@floating-ui/core").ElementRects;
|
|
449
|
+
platform: import("@floating-ui/core").Platform;
|
|
450
|
+
elements: import("@floating-ui/dom").Elements;
|
|
451
|
+
} & {
|
|
452
|
+
availableWidth: number;
|
|
453
|
+
availableHeight: number;
|
|
454
|
+
}) => void | Promise<void>) | undefined;
|
|
455
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
456
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
457
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
458
|
+
altBoundary?: boolean | undefined;
|
|
459
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
460
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
461
|
+
apply?: ((args: {
|
|
462
|
+
x: number;
|
|
463
|
+
y: number;
|
|
318
464
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
465
|
+
placement: import("@floating-ui/core").Placement;
|
|
466
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
319
467
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
320
468
|
rects: import("@floating-ui/core").ElementRects;
|
|
321
469
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -323,25 +471,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
323
471
|
} & {
|
|
324
472
|
availableWidth: number;
|
|
325
473
|
availableHeight: number;
|
|
326
|
-
}) => void | Promise<void
|
|
327
|
-
} & {
|
|
328
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
329
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
330
|
-
altBoundary: boolean;
|
|
331
|
-
padding: import("@floating-ui/core").Padding;
|
|
332
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
474
|
+
}) => void | Promise<void>) | undefined;
|
|
333
475
|
}> | undefined>;
|
|
334
476
|
default: () => {
|
|
335
477
|
padding: number;
|
|
336
478
|
};
|
|
337
479
|
};
|
|
338
480
|
autoPlacement: {
|
|
339
|
-
type: globalThis.PropType<boolean |
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
481
|
+
type: globalThis.PropType<boolean | {
|
|
482
|
+
crossAxis?: boolean | undefined;
|
|
483
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
484
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
485
|
+
altBoundary?: boolean | undefined;
|
|
486
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
487
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
488
|
+
autoAlignment?: boolean | undefined;
|
|
489
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
490
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
491
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
492
|
+
crossAxis?: boolean | undefined;
|
|
493
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
494
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
495
|
+
altBoundary?: boolean | undefined;
|
|
496
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
497
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
498
|
+
autoAlignment?: boolean | undefined;
|
|
499
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
500
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
345
501
|
}> | undefined>;
|
|
346
502
|
default: boolean;
|
|
347
503
|
};
|
|
@@ -410,26 +566,65 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
410
566
|
}>> & {
|
|
411
567
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
412
568
|
}, {
|
|
413
|
-
shift: boolean | Partial<import("@floating-ui/core").ShiftOptions & {
|
|
414
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
415
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
416
|
-
altBoundary: boolean;
|
|
417
|
-
padding: import("@floating-ui/core").Padding;
|
|
418
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
419
|
-
}> | undefined;
|
|
420
569
|
disabled: boolean;
|
|
421
|
-
options: (string | Option)[];
|
|
422
570
|
floating: boolean;
|
|
571
|
+
options: (string | Option)[];
|
|
572
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
573
|
+
strategy: "absolute" | "fixed";
|
|
423
574
|
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
575
|
+
shift: boolean | {
|
|
576
|
+
mainAxis?: boolean | undefined;
|
|
577
|
+
crossAxis?: boolean | undefined;
|
|
578
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
579
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
580
|
+
altBoundary?: boolean | undefined;
|
|
581
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
582
|
+
limiter?: {
|
|
583
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
584
|
+
options?: any;
|
|
585
|
+
} | undefined;
|
|
586
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
587
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
588
|
+
mainAxis?: boolean | undefined;
|
|
589
|
+
crossAxis?: boolean | undefined;
|
|
590
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
591
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
592
|
+
altBoundary?: boolean | undefined;
|
|
593
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
594
|
+
limiter?: {
|
|
595
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
596
|
+
options?: any;
|
|
597
|
+
} | undefined;
|
|
598
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
599
|
+
}> | undefined;
|
|
424
600
|
tabindex: string | number;
|
|
425
601
|
unselectable: boolean;
|
|
426
|
-
flip: boolean |
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
602
|
+
flip: boolean | {
|
|
603
|
+
mainAxis?: boolean | undefined;
|
|
604
|
+
crossAxis?: boolean | undefined;
|
|
605
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
606
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
607
|
+
altBoundary?: boolean | undefined;
|
|
608
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
609
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
610
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
611
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
612
|
+
flipAlignment?: boolean | undefined;
|
|
613
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
614
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
615
|
+
mainAxis?: boolean | undefined;
|
|
616
|
+
crossAxis?: boolean | undefined;
|
|
617
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
618
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
619
|
+
altBoundary?: boolean | undefined;
|
|
620
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
621
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
622
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
623
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
624
|
+
flipAlignment?: boolean | undefined;
|
|
625
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
432
626
|
}> | undefined;
|
|
627
|
+
closeLabel: string;
|
|
433
628
|
iconPosition: "before" | "after";
|
|
434
629
|
loading: boolean;
|
|
435
630
|
loadingLabel: string;
|
|
@@ -438,13 +633,38 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
438
633
|
hintLabel: string;
|
|
439
634
|
invalid: boolean;
|
|
440
635
|
valid: boolean;
|
|
441
|
-
size: boolean |
|
|
442
|
-
|
|
636
|
+
size: boolean | {
|
|
637
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
638
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
639
|
+
altBoundary?: boolean | undefined;
|
|
640
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
641
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
642
|
+
apply?: ((args: {
|
|
443
643
|
x: number;
|
|
444
644
|
y: number;
|
|
645
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
445
646
|
placement: import("@floating-ui/core").Placement;
|
|
446
647
|
strategy: import("@floating-ui/core").Strategy;
|
|
648
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
649
|
+
rects: import("@floating-ui/core").ElementRects;
|
|
650
|
+
platform: import("@floating-ui/core").Platform;
|
|
651
|
+
elements: import("@floating-ui/dom").Elements;
|
|
652
|
+
} & {
|
|
653
|
+
availableWidth: number;
|
|
654
|
+
availableHeight: number;
|
|
655
|
+
}) => void | Promise<void>) | undefined;
|
|
656
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
657
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
658
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
659
|
+
altBoundary?: boolean | undefined;
|
|
660
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
661
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
662
|
+
apply?: ((args: {
|
|
663
|
+
x: number;
|
|
664
|
+
y: number;
|
|
447
665
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
666
|
+
placement: import("@floating-ui/core").Placement;
|
|
667
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
448
668
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
449
669
|
rects: import("@floating-ui/core").ElementRects;
|
|
450
670
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -452,26 +672,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
452
672
|
} & {
|
|
453
673
|
availableWidth: number;
|
|
454
674
|
availableHeight: number;
|
|
455
|
-
}) => void | Promise<void
|
|
456
|
-
} & {
|
|
457
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
458
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
459
|
-
altBoundary: boolean;
|
|
460
|
-
padding: import("@floating-ui/core").Padding;
|
|
461
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
675
|
+
}) => void | Promise<void>) | undefined;
|
|
462
676
|
}> | undefined;
|
|
463
677
|
labelKey: string | Function;
|
|
464
678
|
valueKey: string | Function;
|
|
465
679
|
disabledKey: string | Function;
|
|
466
|
-
|
|
467
|
-
strategy: "fixed" | "absolute";
|
|
680
|
+
transitionName: string;
|
|
468
681
|
offset: string | import("@floating-ui/core").OffsetOptions | undefined;
|
|
469
|
-
autoPlacement: boolean |
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
682
|
+
autoPlacement: boolean | {
|
|
683
|
+
crossAxis?: boolean | undefined;
|
|
684
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
685
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
686
|
+
altBoundary?: boolean | undefined;
|
|
687
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
688
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
689
|
+
autoAlignment?: boolean | undefined;
|
|
690
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
691
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
692
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
693
|
+
crossAxis?: boolean | undefined;
|
|
694
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
695
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
696
|
+
altBoundary?: boolean | undefined;
|
|
697
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
698
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
699
|
+
autoAlignment?: boolean | undefined;
|
|
700
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
701
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
475
702
|
}> | undefined;
|
|
476
703
|
arrow: boolean;
|
|
477
704
|
keepOpen: boolean;
|
|
@@ -484,6 +711,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
484
711
|
noOptionsLabel: string;
|
|
485
712
|
deselectActionLabel: string;
|
|
486
713
|
searchable: boolean;
|
|
714
|
+
searchFunction: (search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>;
|
|
487
715
|
searchPlaceholder: string;
|
|
488
716
|
debounceSearch: string | number;
|
|
489
717
|
separator: string;
|
|
@@ -518,25 +746,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
518
746
|
"no-results"?(_: {}): any;
|
|
519
747
|
"dropdown::after"?(_: {}): any;
|
|
520
748
|
hint?(_: {
|
|
521
|
-
modelValue:
|
|
749
|
+
modelValue: unknown;
|
|
522
750
|
valid: boolean;
|
|
523
751
|
invalid: boolean;
|
|
524
752
|
loading: boolean;
|
|
525
753
|
}): any;
|
|
526
754
|
loading?(_: {
|
|
527
|
-
modelValue:
|
|
755
|
+
modelValue: unknown;
|
|
528
756
|
valid: boolean;
|
|
529
757
|
invalid: boolean;
|
|
530
758
|
loading: boolean;
|
|
531
759
|
}): any;
|
|
532
760
|
valid?(_: {
|
|
533
|
-
modelValue:
|
|
761
|
+
modelValue: unknown;
|
|
534
762
|
valid: boolean;
|
|
535
763
|
invalid: boolean;
|
|
536
764
|
loading: boolean;
|
|
537
765
|
}): any;
|
|
538
766
|
invalid?(_: {
|
|
539
|
-
modelValue:
|
|
767
|
+
modelValue: unknown;
|
|
540
768
|
valid: boolean;
|
|
541
769
|
invalid: boolean;
|
|
542
770
|
loading: boolean;
|