@volverjs/ui-vue 0.0.10-beta.41 → 0.0.10-beta.43

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.
Files changed (81) hide show
  1. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +12 -12
  2. package/dist/components/VvAccordionGroup/index.d.ts +4 -4
  3. package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
  4. package/dist/components/VvAction/index.d.ts +1 -1
  5. package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
  6. package/dist/components/VvAlert/index.d.ts +4 -3
  7. package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -9
  8. package/dist/components/VvAlertGroup/index.d.ts +4 -4
  9. package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +4 -4
  10. package/dist/components/VvAvatarGroup/index.d.ts +2 -2
  11. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +13 -13
  12. package/dist/components/VvBreadcrumb/index.d.ts +1 -1
  13. package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
  14. package/dist/components/VvButton/index.d.ts +2 -2
  15. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
  16. package/dist/components/VvButtonGroup/index.d.ts +2 -2
  17. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
  18. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +3 -3
  19. package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
  20. package/dist/components/VvCombobox/VvCombobox.es.js +4 -1
  21. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  22. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
  23. package/dist/components/VvCombobox/index.d.ts +21 -241
  24. package/dist/components/VvDialog/VvDialog.es.js +41 -165
  25. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  26. package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
  27. package/dist/components/VvDialog/index.d.ts +7 -0
  28. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
  29. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
  30. package/dist/components/VvDropdown/index.d.ts +9 -117
  31. package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
  32. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +22 -105
  33. package/dist/components/VvInputFile/index.d.ts +7 -28
  34. package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
  35. package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
  36. package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
  37. package/dist/components/VvInputText/index.d.ts +4 -9
  38. package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
  39. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
  40. package/dist/components/VvRadioGroup/index.d.ts +1 -1
  41. package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
  42. package/dist/components/VvSelect/index.d.ts +4 -4
  43. package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
  44. package/dist/components/VvTab/index.d.ts +2 -2
  45. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
  46. package/dist/components/VvTextarea/index.d.ts +1 -1
  47. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
  48. package/dist/components/VvTooltip/index.d.ts +1 -1
  49. package/dist/components/index.es.js +27 -26
  50. package/dist/components/index.umd.js +1 -1
  51. package/dist/composables/alert/useAlert.d.ts +47 -77
  52. package/dist/composables/index.es.js +1 -2
  53. package/dist/composables/useBlurhash.d.ts +1 -1
  54. package/dist/composables/useOptions.d.ts +3 -3
  55. package/dist/icons.es.js +3 -3
  56. package/dist/icons.umd.js +1 -1
  57. package/dist/index.es.js +1 -4
  58. package/dist/index.umd.js +1 -1
  59. package/dist/props/index.d.ts +14 -121
  60. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
  61. package/dist/test/expect.d.ts +0 -1
  62. package/dist/types/input-file.d.ts +2 -9
  63. package/dist/utils/ObjectUtilities.d.ts +1 -1
  64. package/package.json +29 -30
  65. package/src/Volver.ts +6 -6
  66. package/src/assets/icons/detailed.json +1 -1
  67. package/src/assets/icons/normal.json +1 -1
  68. package/src/assets/icons/simple.json +1 -1
  69. package/src/components/VvButtonGroup/index.ts +1 -1
  70. package/src/components/VvCombobox/VvCombobox.vue +4 -1
  71. package/src/components/VvCombobox/index.ts +6 -6
  72. package/src/components/VvDialog/VvDialog.vue +3 -5
  73. package/src/components/VvDialog/index.ts +4 -0
  74. package/src/components/VvInputText/VvInputText.vue +18 -18
  75. package/src/components/common/HintSlot.ts +2 -2
  76. package/src/composables/group/useInjectedGroupState.ts +3 -3
  77. package/src/composables/group/useProvideGroupState.ts +3 -3
  78. package/src/composables/useDefaults.ts +4 -4
  79. package/src/props/index.ts +1 -1
  80. package/src/types/group.ts +1 -1
  81. package/src/types/input-file.ts +10 -18
@@ -1,4 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
+ import type { AutoPlacementOptions, FlipOptions, OffsetOptions, ShiftOptions, SizeOptions } from '../../types/floating-ui';
2
3
  import { Side, Strategy } from '../../constants';
3
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
5
  modelValue: {
@@ -10,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
11
  default: null;
11
12
  };
12
13
  role: {
13
- type: globalThis.PropType<"listbox" | "menu">;
14
+ type: globalThis.PropType<`${import("../../constants").DropdownRole}`>;
14
15
  default: import("../../constants").DropdownRole;
15
16
  validator: (value: import("../../constants").DropdownRole) => boolean;
16
17
  };
@@ -19,12 +20,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
19
20
  default: undefined;
20
21
  };
21
22
  placement: {
22
- type: globalThis.PropType<"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
23
+ type: globalThis.PropType<`${Side}` | `${import("../../constants").Placement}`>;
23
24
  default: Side;
24
- validator: (value: never) => boolean;
25
+ validator: (value: Side & import("../../constants").Placement) => boolean;
25
26
  };
26
27
  strategy: {
27
- type: globalThis.PropType<"absolute" | "fixed">;
28
+ type: globalThis.PropType<`${Strategy}`>;
28
29
  default: undefined;
29
30
  validator: (value: Strategy) => boolean;
30
31
  };
@@ -33,133 +34,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
33
34
  default: undefined;
34
35
  };
35
36
  offset: {
36
- type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
37
+ type: globalThis.PropType<OffsetOptions | number | string>;
37
38
  default: number;
38
39
  };
39
40
  shift: {
40
- type: globalThis.PropType<boolean | {
41
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
42
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
43
- altBoundary?: boolean | undefined;
44
- padding?: import("@floating-ui/utils").Padding | undefined;
45
- crossAxis?: boolean | undefined;
46
- mainAxis?: boolean | undefined;
47
- limiter?: {
48
- fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
49
- options?: any;
50
- } | undefined;
51
- boundary?: import("@floating-ui/dom").Boundary | undefined;
52
- } | import("@floating-ui/core").Derivable<{
53
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
54
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
55
- altBoundary?: boolean | undefined;
56
- padding?: import("@floating-ui/utils").Padding | undefined;
57
- crossAxis?: boolean | undefined;
58
- mainAxis?: boolean | undefined;
59
- limiter?: {
60
- fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
61
- options?: any;
62
- } | undefined;
63
- boundary?: import("@floating-ui/dom").Boundary | undefined;
64
- }> | undefined>;
41
+ type: globalThis.PropType<ShiftOptions | boolean>;
65
42
  default: boolean;
66
43
  };
67
44
  flip: {
68
- type: globalThis.PropType<boolean | {
69
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
70
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
71
- altBoundary?: boolean | undefined;
72
- padding?: import("@floating-ui/utils").Padding | undefined;
73
- crossAxis?: boolean | undefined;
74
- mainAxis?: boolean | undefined;
75
- fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
76
- fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
77
- fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
78
- flipAlignment?: boolean | undefined;
79
- boundary?: import("@floating-ui/dom").Boundary | undefined;
80
- } | import("@floating-ui/core").Derivable<{
81
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
82
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
83
- altBoundary?: boolean | undefined;
84
- padding?: import("@floating-ui/utils").Padding | undefined;
85
- crossAxis?: boolean | undefined;
86
- mainAxis?: boolean | undefined;
87
- fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
88
- fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
89
- fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
90
- flipAlignment?: boolean | undefined;
91
- boundary?: import("@floating-ui/dom").Boundary | undefined;
92
- }> | undefined>;
45
+ type: globalThis.PropType<FlipOptions | boolean>;
93
46
  default: boolean;
94
47
  };
95
48
  size: {
96
- type: globalThis.PropType<boolean | {
97
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
98
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
99
- altBoundary?: boolean | undefined;
100
- padding?: import("@floating-ui/utils").Padding | undefined;
101
- boundary?: import("@floating-ui/dom").Boundary | undefined;
102
- apply?: ((args: {
103
- x: number;
104
- y: number;
105
- initialPlacement: import("@floating-ui/utils").Placement;
106
- placement: import("@floating-ui/utils").Placement;
107
- strategy: import("@floating-ui/utils").Strategy;
108
- middlewareData: import("@floating-ui/core").MiddlewareData;
109
- rects: import("@floating-ui/utils").ElementRects;
110
- platform: import("@floating-ui/core").Platform;
111
- elements: import("@floating-ui/dom").Elements;
112
- } & {
113
- availableWidth: number;
114
- availableHeight: number;
115
- }) => void | Promise<void>) | undefined;
116
- } | import("@floating-ui/core").Derivable<{
117
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
118
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
119
- altBoundary?: boolean | undefined;
120
- padding?: import("@floating-ui/utils").Padding | undefined;
121
- boundary?: import("@floating-ui/dom").Boundary | undefined;
122
- apply?: ((args: {
123
- x: number;
124
- y: number;
125
- initialPlacement: import("@floating-ui/utils").Placement;
126
- placement: import("@floating-ui/utils").Placement;
127
- strategy: import("@floating-ui/utils").Strategy;
128
- middlewareData: import("@floating-ui/core").MiddlewareData;
129
- rects: import("@floating-ui/utils").ElementRects;
130
- platform: import("@floating-ui/core").Platform;
131
- elements: import("@floating-ui/dom").Elements;
132
- } & {
133
- availableWidth: number;
134
- availableHeight: number;
135
- }) => void | Promise<void>) | undefined;
136
- }> | undefined>;
49
+ type: globalThis.PropType<SizeOptions | boolean>;
137
50
  default: () => {
138
51
  padding: number;
139
52
  };
140
53
  };
141
54
  autoPlacement: {
142
- type: globalThis.PropType<boolean | {
143
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
144
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
145
- altBoundary?: boolean | undefined;
146
- padding?: import("@floating-ui/utils").Padding | undefined;
147
- crossAxis?: boolean | undefined;
148
- alignment?: import("@floating-ui/utils").Alignment | null | undefined;
149
- autoAlignment?: boolean | undefined;
150
- allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
151
- boundary?: import("@floating-ui/dom").Boundary | undefined;
152
- } | import("@floating-ui/core").Derivable<{
153
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
154
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
155
- altBoundary?: boolean | undefined;
156
- padding?: import("@floating-ui/utils").Padding | undefined;
157
- crossAxis?: boolean | undefined;
158
- alignment?: import("@floating-ui/utils").Alignment | null | undefined;
159
- autoAlignment?: boolean | undefined;
160
- allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
161
- boundary?: import("@floating-ui/dom").Boundary | undefined;
162
- }> | undefined>;
55
+ type: globalThis.PropType<AutoPlacementOptions | boolean>;
163
56
  default: boolean;
164
57
  };
165
58
  arrow: {
@@ -211,7 +104,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
211
104
  default: null;
212
105
  };
213
106
  role: {
214
- type: globalThis.PropType<"listbox" | "menu">;
107
+ type: globalThis.PropType<`${import("../../constants").DropdownRole}`>;
215
108
  default: import("../../constants").DropdownRole;
216
109
  validator: (value: import("../../constants").DropdownRole) => boolean;
217
110
  };
@@ -220,12 +113,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
220
113
  default: undefined;
221
114
  };
222
115
  placement: {
223
- type: globalThis.PropType<"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
116
+ type: globalThis.PropType<`${Side}` | `${import("../../constants").Placement}`>;
224
117
  default: Side;
225
- validator: (value: never) => boolean;
118
+ validator: (value: Side & import("../../constants").Placement) => boolean;
226
119
  };
227
120
  strategy: {
228
- type: globalThis.PropType<"absolute" | "fixed">;
121
+ type: globalThis.PropType<`${Strategy}`>;
229
122
  default: undefined;
230
123
  validator: (value: Strategy) => boolean;
231
124
  };
@@ -234,133 +127,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
234
127
  default: undefined;
235
128
  };
236
129
  offset: {
237
- type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
130
+ type: globalThis.PropType<OffsetOptions | number | string>;
238
131
  default: number;
239
132
  };
240
133
  shift: {
241
- type: globalThis.PropType<boolean | {
242
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
243
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
244
- altBoundary?: boolean | undefined;
245
- padding?: import("@floating-ui/utils").Padding | undefined;
246
- crossAxis?: boolean | undefined;
247
- mainAxis?: boolean | undefined;
248
- limiter?: {
249
- fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
250
- options?: any;
251
- } | undefined;
252
- boundary?: import("@floating-ui/dom").Boundary | undefined;
253
- } | import("@floating-ui/core").Derivable<{
254
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
255
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
256
- altBoundary?: boolean | undefined;
257
- padding?: import("@floating-ui/utils").Padding | undefined;
258
- crossAxis?: boolean | undefined;
259
- mainAxis?: boolean | undefined;
260
- limiter?: {
261
- fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
262
- options?: any;
263
- } | undefined;
264
- boundary?: import("@floating-ui/dom").Boundary | undefined;
265
- }> | undefined>;
134
+ type: globalThis.PropType<ShiftOptions | boolean>;
266
135
  default: boolean;
267
136
  };
268
137
  flip: {
269
- type: globalThis.PropType<boolean | {
270
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
271
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
272
- altBoundary?: boolean | undefined;
273
- padding?: import("@floating-ui/utils").Padding | undefined;
274
- crossAxis?: boolean | undefined;
275
- mainAxis?: boolean | undefined;
276
- fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
277
- fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
278
- fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
279
- flipAlignment?: boolean | undefined;
280
- boundary?: import("@floating-ui/dom").Boundary | undefined;
281
- } | import("@floating-ui/core").Derivable<{
282
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
283
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
284
- altBoundary?: boolean | undefined;
285
- padding?: import("@floating-ui/utils").Padding | undefined;
286
- crossAxis?: boolean | undefined;
287
- mainAxis?: boolean | undefined;
288
- fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
289
- fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
290
- fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
291
- flipAlignment?: boolean | undefined;
292
- boundary?: import("@floating-ui/dom").Boundary | undefined;
293
- }> | undefined>;
138
+ type: globalThis.PropType<FlipOptions | boolean>;
294
139
  default: boolean;
295
140
  };
296
141
  size: {
297
- type: globalThis.PropType<boolean | {
298
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
299
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
300
- altBoundary?: boolean | undefined;
301
- padding?: import("@floating-ui/utils").Padding | undefined;
302
- boundary?: import("@floating-ui/dom").Boundary | undefined;
303
- apply?: ((args: {
304
- x: number;
305
- y: number;
306
- initialPlacement: import("@floating-ui/utils").Placement;
307
- placement: import("@floating-ui/utils").Placement;
308
- strategy: import("@floating-ui/utils").Strategy;
309
- middlewareData: import("@floating-ui/core").MiddlewareData;
310
- rects: import("@floating-ui/utils").ElementRects;
311
- platform: import("@floating-ui/core").Platform;
312
- elements: import("@floating-ui/dom").Elements;
313
- } & {
314
- availableWidth: number;
315
- availableHeight: number;
316
- }) => void | Promise<void>) | undefined;
317
- } | import("@floating-ui/core").Derivable<{
318
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
319
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
320
- altBoundary?: boolean | undefined;
321
- padding?: import("@floating-ui/utils").Padding | undefined;
322
- boundary?: import("@floating-ui/dom").Boundary | undefined;
323
- apply?: ((args: {
324
- x: number;
325
- y: number;
326
- initialPlacement: import("@floating-ui/utils").Placement;
327
- placement: import("@floating-ui/utils").Placement;
328
- strategy: import("@floating-ui/utils").Strategy;
329
- middlewareData: import("@floating-ui/core").MiddlewareData;
330
- rects: import("@floating-ui/utils").ElementRects;
331
- platform: import("@floating-ui/core").Platform;
332
- elements: import("@floating-ui/dom").Elements;
333
- } & {
334
- availableWidth: number;
335
- availableHeight: number;
336
- }) => void | Promise<void>) | undefined;
337
- }> | undefined>;
142
+ type: globalThis.PropType<SizeOptions | boolean>;
338
143
  default: () => {
339
144
  padding: number;
340
145
  };
341
146
  };
342
147
  autoPlacement: {
343
- type: globalThis.PropType<boolean | {
344
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
345
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
346
- altBoundary?: boolean | undefined;
347
- padding?: import("@floating-ui/utils").Padding | undefined;
348
- crossAxis?: boolean | undefined;
349
- alignment?: import("@floating-ui/utils").Alignment | null | undefined;
350
- autoAlignment?: boolean | undefined;
351
- allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
352
- boundary?: import("@floating-ui/dom").Boundary | undefined;
353
- } | import("@floating-ui/core").Derivable<{
354
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
355
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
356
- altBoundary?: boolean | undefined;
357
- padding?: import("@floating-ui/utils").Padding | undefined;
358
- crossAxis?: boolean | undefined;
359
- alignment?: import("@floating-ui/utils").Alignment | null | undefined;
360
- autoAlignment?: boolean | undefined;
361
- allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
362
- boundary?: import("@floating-ui/dom").Boundary | undefined;
363
- }> | undefined>;
148
+ type: globalThis.PropType<AutoPlacementOptions | boolean>;
364
149
  default: boolean;
365
150
  };
366
151
  arrow: {
@@ -381,15 +166,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
381
166
  };
382
167
  id: (StringConstructor | NumberConstructor)[];
383
168
  }>> & {
169
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
384
170
  onBeforeEnter?: ((...args: any[]) => any) | undefined;
171
+ onAfterLeave?: ((...args: any[]) => any) | undefined;
385
172
  onEnter?: ((...args: any[]) => any) | undefined;
386
173
  onAfterEnter?: ((...args: any[]) => any) | undefined;
387
174
  onEnterCancelled?: ((...args: any[]) => any) | undefined;
388
175
  onBeforeLeave?: ((...args: any[]) => any) | undefined;
389
176
  onLeave?: ((...args: any[]) => any) | undefined;
390
- onAfterLeave?: ((...args: any[]) => any) | undefined;
391
177
  onLeaveCancelled?: ((...args: any[]) => any) | undefined;
392
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
393
178
  onBeforeExpand?: ((...args: any[]) => any) | undefined;
394
179
  onBeforeCollapse?: ((...args: any[]) => any) | undefined;
395
180
  onAfterExpand?: ((...args: any[]) => any) | undefined;
@@ -403,18 +188,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
403
188
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
404
189
  altBoundary?: boolean | undefined;
405
190
  padding?: import("@floating-ui/utils").Padding | undefined;
406
- boundary?: import("@floating-ui/dom").Boundary | undefined;
407
- apply?: ((args: {
408
- x: number;
409
- y: number;
410
- initialPlacement: import("@floating-ui/utils").Placement;
411
- placement: import("@floating-ui/utils").Placement;
412
- strategy: import("@floating-ui/utils").Strategy;
413
- middlewareData: import("@floating-ui/core").MiddlewareData;
414
- rects: import("@floating-ui/utils").ElementRects;
415
- platform: import("@floating-ui/core").Platform;
416
- elements: import("@floating-ui/dom").Elements;
417
- } & {
191
+ boundary?: import("@floating-ui/dom").Boundary;
192
+ apply?: ((args: import("@floating-ui/dom").MiddlewareState & {
418
193
  availableWidth: number;
419
194
  availableHeight: number;
420
195
  }) => void | Promise<void>) | undefined;
@@ -423,24 +198,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
423
198
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
424
199
  altBoundary?: boolean | undefined;
425
200
  padding?: import("@floating-ui/utils").Padding | undefined;
426
- boundary?: import("@floating-ui/dom").Boundary | undefined;
427
- apply?: ((args: {
428
- x: number;
429
- y: number;
430
- initialPlacement: import("@floating-ui/utils").Placement;
431
- placement: import("@floating-ui/utils").Placement;
432
- strategy: import("@floating-ui/utils").Strategy;
433
- middlewareData: import("@floating-ui/core").MiddlewareData;
434
- rects: import("@floating-ui/utils").ElementRects;
435
- platform: import("@floating-ui/core").Platform;
436
- elements: import("@floating-ui/dom").Elements;
437
- } & {
201
+ boundary?: import("@floating-ui/dom").Boundary;
202
+ apply?: ((args: import("@floating-ui/dom").MiddlewareState & {
438
203
  availableWidth: number;
439
204
  availableHeight: number;
440
205
  }) => void | Promise<void>) | undefined;
441
206
  }> | undefined;
442
- modelValue: boolean;
443
- modifiers: string | string[];
444
207
  shift: boolean | {
445
208
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
446
209
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
@@ -452,7 +215,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
452
215
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
453
216
  options?: any;
454
217
  } | undefined;
455
- boundary?: import("@floating-ui/dom").Boundary | undefined;
218
+ boundary?: import("@floating-ui/dom").Boundary;
456
219
  } | import("@floating-ui/core").Derivable<{
457
220
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
458
221
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
@@ -464,8 +227,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
464
227
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
465
228
  options?: any;
466
229
  } | undefined;
467
- boundary?: import("@floating-ui/dom").Boundary | undefined;
230
+ boundary?: import("@floating-ui/dom").Boundary;
468
231
  }> | undefined;
232
+ modelValue: boolean;
233
+ modifiers: string | string[];
469
234
  role: "listbox" | "menu";
470
235
  flip: boolean | {
471
236
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
@@ -478,7 +243,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
478
243
  fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
479
244
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
480
245
  flipAlignment?: boolean | undefined;
481
- boundary?: import("@floating-ui/dom").Boundary | undefined;
246
+ boundary?: import("@floating-ui/dom").Boundary;
482
247
  } | import("@floating-ui/core").Derivable<{
483
248
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
484
249
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
@@ -490,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
490
255
  fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
491
256
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
492
257
  flipAlignment?: boolean | undefined;
493
- boundary?: import("@floating-ui/dom").Boundary | undefined;
258
+ boundary?: import("@floating-ui/dom").Boundary;
494
259
  }> | undefined;
495
260
  placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
496
261
  strategy: "absolute" | "fixed";
@@ -505,7 +270,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
505
270
  alignment?: import("@floating-ui/utils").Alignment | null | undefined;
506
271
  autoAlignment?: boolean | undefined;
507
272
  allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
508
- boundary?: import("@floating-ui/dom").Boundary | undefined;
273
+ boundary?: import("@floating-ui/dom").Boundary;
509
274
  } | import("@floating-ui/core").Derivable<{
510
275
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
511
276
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
@@ -515,7 +280,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
515
280
  alignment?: import("@floating-ui/utils").Alignment | null | undefined;
516
281
  autoAlignment?: boolean | undefined;
517
282
  allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
518
- boundary?: import("@floating-ui/dom").Boundary | undefined;
283
+ boundary?: import("@floating-ui/dom").Boundary;
519
284
  }> | undefined;
520
285
  arrow: boolean;
521
286
  keepOpen: boolean;
@@ -1,10 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<{
2
5
  modifiers: {
3
6
  type: globalThis.PropType<string | string[]>;
4
7
  default: undefined;
5
8
  };
6
9
  type: {
7
- type: globalThis.PropType<"button" | "submit" | "reset">;
10
+ type: globalThis.PropType<`${import("../../constants.js").ButtonType}`>;
8
11
  default: import("../../constants.js").ButtonType;
9
12
  validator: (value: import("../../constants.js").ButtonType) => boolean;
10
13
  };
@@ -51,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
51
54
  default: undefined;
52
55
  };
53
56
  type: {
54
- type: globalThis.PropType<"button" | "submit" | "reset">;
57
+ type: globalThis.PropType<`${import("../../constants.js").ButtonType}`>;
55
58
  default: import("../../constants.js").ButtonType;
56
59
  validator: (value: import("../../constants.js").ButtonType) => boolean;
57
60
  };
@@ -103,9 +106,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
103
106
  current: boolean;
104
107
  active: boolean;
105
108
  pressed: boolean;
106
- }, {}>, {
107
- default?(_: {}): any;
108
- }>;
109
+ }, {}>;
110
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
109
111
  export default _default;
110
112
  type __VLS_WithTemplateSlots<T, S> = T & {
111
113
  new (): {
@@ -19,7 +19,7 @@ export declare const VvDropdownProps: {
19
19
  * Dropdown role
20
20
  */
21
21
  role: {
22
- type: PropType<"listbox" | "menu">;
22
+ type: PropType<`${DropdownRole}`>;
23
23
  default: DropdownRole;
24
24
  validator: (value: DropdownRole) => boolean;
25
25
  };
@@ -28,12 +28,12 @@ export declare const VvDropdownProps: {
28
28
  default: undefined;
29
29
  };
30
30
  placement: {
31
- type: PropType<"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
31
+ type: PropType<`${import("../../constants").Side}` | `${import("../../constants").Placement}`>;
32
32
  default: import("../../constants").Side;
33
- validator: (value: never) => boolean;
33
+ validator: (value: import("../../constants").Side & import("../../constants").Placement) => boolean;
34
34
  };
35
35
  strategy: {
36
- type: PropType<"absolute" | "fixed">;
36
+ type: PropType<`${import("../../constants").Strategy}`>;
37
37
  default: undefined;
38
38
  validator: (value: import("../../constants").Strategy) => boolean;
39
39
  };
@@ -42,133 +42,25 @@ export declare const VvDropdownProps: {
42
42
  default: undefined;
43
43
  };
44
44
  offset: {
45
- type: PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
45
+ type: PropType<import("../..").OffsetOptions | number | string>;
46
46
  default: number;
47
47
  };
48
48
  shift: {
49
- type: PropType<boolean | {
50
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
51
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
52
- altBoundary?: boolean | undefined;
53
- padding?: import("@floating-ui/utils").Padding | undefined;
54
- crossAxis?: boolean | undefined;
55
- mainAxis?: boolean | undefined;
56
- limiter?: {
57
- fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
58
- options?: any;
59
- } | undefined;
60
- boundary?: import("@floating-ui/dom").Boundary | undefined;
61
- } | import("@floating-ui/core").Derivable<{
62
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
63
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
64
- altBoundary?: boolean | undefined;
65
- padding?: import("@floating-ui/utils").Padding | undefined;
66
- crossAxis?: boolean | undefined;
67
- mainAxis?: boolean | undefined;
68
- limiter?: {
69
- fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
70
- options?: any;
71
- } | undefined;
72
- boundary?: import("@floating-ui/dom").Boundary | undefined;
73
- }> | undefined>;
49
+ type: PropType<import("../..").ShiftOptions | boolean>;
74
50
  default: boolean;
75
51
  };
76
52
  flip: {
77
- type: PropType<boolean | {
78
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
79
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
80
- altBoundary?: boolean | undefined;
81
- padding?: import("@floating-ui/utils").Padding | undefined;
82
- crossAxis?: boolean | undefined;
83
- mainAxis?: boolean | undefined;
84
- fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
85
- fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
86
- fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
87
- flipAlignment?: boolean | undefined;
88
- boundary?: import("@floating-ui/dom").Boundary | undefined;
89
- } | import("@floating-ui/core").Derivable<{
90
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
91
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
92
- altBoundary?: boolean | undefined;
93
- padding?: import("@floating-ui/utils").Padding | undefined;
94
- crossAxis?: boolean | undefined;
95
- mainAxis?: boolean | undefined;
96
- fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
97
- fallbackStrategy?: "bestFit" | "initialPlacement" | undefined;
98
- fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
99
- flipAlignment?: boolean | undefined;
100
- boundary?: import("@floating-ui/dom").Boundary | undefined;
101
- }> | undefined>;
53
+ type: PropType<import("../..").FlipOptions | boolean>;
102
54
  default: boolean;
103
55
  };
104
56
  size: {
105
- type: PropType<boolean | {
106
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
107
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
108
- altBoundary?: boolean | undefined;
109
- padding?: import("@floating-ui/utils").Padding | undefined;
110
- boundary?: import("@floating-ui/dom").Boundary | undefined;
111
- apply?: ((args: {
112
- x: number;
113
- y: number;
114
- initialPlacement: import("@floating-ui/utils").Placement;
115
- placement: import("@floating-ui/utils").Placement;
116
- strategy: import("@floating-ui/utils").Strategy;
117
- middlewareData: import("@floating-ui/core").MiddlewareData;
118
- rects: import("@floating-ui/utils").ElementRects;
119
- platform: import("@floating-ui/core").Platform;
120
- elements: import("@floating-ui/dom").Elements;
121
- } & {
122
- availableWidth: number;
123
- availableHeight: number;
124
- }) => void | Promise<void>) | undefined;
125
- } | import("@floating-ui/core").Derivable<{
126
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
127
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
128
- altBoundary?: boolean | undefined;
129
- padding?: import("@floating-ui/utils").Padding | undefined;
130
- boundary?: import("@floating-ui/dom").Boundary | undefined;
131
- apply?: ((args: {
132
- x: number;
133
- y: number;
134
- initialPlacement: import("@floating-ui/utils").Placement;
135
- placement: import("@floating-ui/utils").Placement;
136
- strategy: import("@floating-ui/utils").Strategy;
137
- middlewareData: import("@floating-ui/core").MiddlewareData;
138
- rects: import("@floating-ui/utils").ElementRects;
139
- platform: import("@floating-ui/core").Platform;
140
- elements: import("@floating-ui/dom").Elements;
141
- } & {
142
- availableWidth: number;
143
- availableHeight: number;
144
- }) => void | Promise<void>) | undefined;
145
- }> | undefined>;
57
+ type: PropType<import("../..").SizeOptions | boolean>;
146
58
  default: () => {
147
59
  padding: number;
148
60
  };
149
61
  };
150
62
  autoPlacement: {
151
- type: PropType<boolean | {
152
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
153
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
154
- altBoundary?: boolean | undefined;
155
- padding?: import("@floating-ui/utils").Padding | undefined;
156
- crossAxis?: boolean | undefined;
157
- alignment?: import("@floating-ui/utils").Alignment | null | undefined;
158
- autoAlignment?: boolean | undefined;
159
- allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
160
- boundary?: import("@floating-ui/dom").Boundary | undefined;
161
- } | import("@floating-ui/core").Derivable<{
162
- rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
163
- elementContext?: import("@floating-ui/core").ElementContext | undefined;
164
- altBoundary?: boolean | undefined;
165
- padding?: import("@floating-ui/utils").Padding | undefined;
166
- crossAxis?: boolean | undefined;
167
- alignment?: import("@floating-ui/utils").Alignment | null | undefined;
168
- autoAlignment?: boolean | undefined;
169
- allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
170
- boundary?: import("@floating-ui/dom").Boundary | undefined;
171
- }> | undefined>;
63
+ type: PropType<import("../..").AutoPlacementOptions | boolean>;
172
64
  default: boolean;
173
65
  };
174
66
  arrow: {