@volverjs/ui-vue 0.0.9-beta.9 → 0.0.9
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/auto-imports.d.ts +2 -2
- package/dist/components/VvAccordion/VvAccordion.es.js +8 -7
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +8 -7
- package/dist/components/VvAction/VvAction.es.js +8 -7
- package/dist/components/VvAlert/VvAlert.es.js +8 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +8 -7
- 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 +8 -7
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +8 -7
- package/dist/components/VvBadge/VvBadge.es.js +8 -7
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +8 -7
- package/dist/components/VvButton/VvButton.es.js +8 -7
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +8 -7
- package/dist/components/VvCard/VvCard.es.js +8 -7
- package/dist/components/VvCheckbox/VvCheckbox.es.js +8 -7
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +8 -7
- package/dist/components/VvCombobox/VvCombobox.es.js +145 -116
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +306 -90
- package/dist/components/VvCombobox/index.d.ts +108 -31
- package/dist/components/VvDialog/VvDialog.es.js +16 -11
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +19 -16
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +299 -91
- package/dist/components/VvDropdown/index.d.ts +99 -30
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +8 -7
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +8 -7
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +8 -7
- package/dist/components/VvInputText/VvInputText.es.js +193 -103
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +19 -37
- package/dist/components/VvInputText/index.d.ts +15 -33
- package/dist/components/VvNav/VvNav.es.js +8 -7
- package/dist/components/VvProgress/VvProgress.es.js +8 -7
- package/dist/components/VvRadio/VvRadio.es.js +8 -7
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +8 -7
- package/dist/components/VvSelect/VvSelect.es.js +8 -7
- package/dist/components/VvSelect/VvSelect.vue.d.ts +1 -1
- package/dist/components/VvTab/VvTab.es.js +8 -7
- package/dist/components/VvTextarea/VvTextarea.es.js +16 -12
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +8 -7
- package/dist/components/index.es.js +346 -221
- package/dist/components/index.umd.js +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/directives/index.es.js +8 -7
- package/dist/directives/v-tooltip.es.js +8 -7
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +100 -31
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -2
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +18 -18
- package/dist/stories/Combobox/Combobox.settings.d.ts +8 -0
- 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/package.json +60 -59
- 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/VvCombobox/VvCombobox.vue +40 -19
- package/src/components/VvCombobox/index.ts +13 -0
- package/src/components/VvDialog/VvDialog.vue +6 -2
- package/src/components/VvDropdown/VvDropdown.vue +18 -16
- package/src/components/VvInputText/VvInputText.vue +170 -55
- package/src/components/VvInputText/index.ts +32 -34
- package/src/components/VvTextarea/VvTextarea.vue +8 -5
- package/src/constants.ts +5 -0
- package/src/props/index.ts +7 -11
- package/src/stories/Combobox/Combobox.settings.ts +8 -0
- 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
|
@@ -38,6 +38,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
};
|
|
39
39
|
placeholder: StringConstructor;
|
|
40
40
|
searchable: BooleanConstructor;
|
|
41
|
+
searchFunction: {
|
|
42
|
+
type: globalThis.PropType<(search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>>;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
41
45
|
searchPlaceholder: {
|
|
42
46
|
type: StringConstructor;
|
|
43
47
|
default: string;
|
|
@@ -81,42 +85,103 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
81
85
|
validator: (value: never) => boolean;
|
|
82
86
|
};
|
|
83
87
|
strategy: {
|
|
84
|
-
type: globalThis.PropType<"
|
|
85
|
-
default:
|
|
86
|
-
validator: (value: "
|
|
88
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
89
|
+
default: undefined;
|
|
90
|
+
validator: (value: import("../../constants").Strategy) => boolean;
|
|
87
91
|
};
|
|
88
92
|
offset: {
|
|
89
93
|
type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
|
|
90
94
|
default: number;
|
|
91
95
|
};
|
|
92
96
|
shift: {
|
|
93
|
-
type: globalThis.PropType<boolean |
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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;
|
|
99
121
|
}> | undefined>;
|
|
100
122
|
default: boolean;
|
|
101
123
|
};
|
|
102
124
|
flip: {
|
|
103
|
-
type: globalThis.PropType<boolean |
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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;
|
|
109
149
|
}> | undefined>;
|
|
110
150
|
default: boolean;
|
|
111
151
|
};
|
|
112
152
|
size: {
|
|
113
|
-
type: globalThis.PropType<boolean |
|
|
114
|
-
|
|
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: {
|
|
115
160
|
x: number;
|
|
116
161
|
y: number;
|
|
162
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
117
163
|
placement: import("@floating-ui/core").Placement;
|
|
118
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;
|
|
119
182
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
183
|
+
placement: import("@floating-ui/core").Placement;
|
|
184
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
120
185
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
121
186
|
rects: import("@floating-ui/core").ElementRects;
|
|
122
187
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -124,25 +189,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
124
189
|
} & {
|
|
125
190
|
availableWidth: number;
|
|
126
191
|
availableHeight: number;
|
|
127
|
-
}) => void | Promise<void
|
|
128
|
-
} & {
|
|
129
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
130
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
131
|
-
altBoundary: boolean;
|
|
132
|
-
padding: import("@floating-ui/core").Padding;
|
|
133
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
192
|
+
}) => void | Promise<void>) | undefined;
|
|
134
193
|
}> | undefined>;
|
|
135
194
|
default: () => {
|
|
136
195
|
padding: number;
|
|
137
196
|
};
|
|
138
197
|
};
|
|
139
198
|
autoPlacement: {
|
|
140
|
-
type: globalThis.PropType<boolean |
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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;
|
|
146
219
|
}> | undefined>;
|
|
147
220
|
default: boolean;
|
|
148
221
|
};
|
|
@@ -247,6 +320,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
247
320
|
};
|
|
248
321
|
placeholder: StringConstructor;
|
|
249
322
|
searchable: BooleanConstructor;
|
|
323
|
+
searchFunction: {
|
|
324
|
+
type: globalThis.PropType<(search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>>;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
250
327
|
searchPlaceholder: {
|
|
251
328
|
type: StringConstructor;
|
|
252
329
|
default: string;
|
|
@@ -290,42 +367,103 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
290
367
|
validator: (value: never) => boolean;
|
|
291
368
|
};
|
|
292
369
|
strategy: {
|
|
293
|
-
type: globalThis.PropType<"
|
|
294
|
-
default:
|
|
295
|
-
validator: (value: "
|
|
370
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
371
|
+
default: undefined;
|
|
372
|
+
validator: (value: import("../../constants").Strategy) => boolean;
|
|
296
373
|
};
|
|
297
374
|
offset: {
|
|
298
375
|
type: globalThis.PropType<string | import("@floating-ui/core").OffsetOptions | undefined>;
|
|
299
376
|
default: number;
|
|
300
377
|
};
|
|
301
378
|
shift: {
|
|
302
|
-
type: globalThis.PropType<boolean |
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
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;
|
|
308
403
|
}> | undefined>;
|
|
309
404
|
default: boolean;
|
|
310
405
|
};
|
|
311
406
|
flip: {
|
|
312
|
-
type: globalThis.PropType<boolean |
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
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;
|
|
318
431
|
}> | undefined>;
|
|
319
432
|
default: boolean;
|
|
320
433
|
};
|
|
321
434
|
size: {
|
|
322
|
-
type: globalThis.PropType<boolean |
|
|
323
|
-
|
|
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: {
|
|
324
442
|
x: number;
|
|
325
443
|
y: number;
|
|
444
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
326
445
|
placement: import("@floating-ui/core").Placement;
|
|
327
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;
|
|
328
464
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
465
|
+
placement: import("@floating-ui/core").Placement;
|
|
466
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
329
467
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
330
468
|
rects: import("@floating-ui/core").ElementRects;
|
|
331
469
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -333,25 +471,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
333
471
|
} & {
|
|
334
472
|
availableWidth: number;
|
|
335
473
|
availableHeight: number;
|
|
336
|
-
}) => void | Promise<void
|
|
337
|
-
} & {
|
|
338
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
339
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
340
|
-
altBoundary: boolean;
|
|
341
|
-
padding: import("@floating-ui/core").Padding;
|
|
342
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
474
|
+
}) => void | Promise<void>) | undefined;
|
|
343
475
|
}> | undefined>;
|
|
344
476
|
default: () => {
|
|
345
477
|
padding: number;
|
|
346
478
|
};
|
|
347
479
|
};
|
|
348
480
|
autoPlacement: {
|
|
349
|
-
type: globalThis.PropType<boolean |
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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;
|
|
355
501
|
}> | undefined>;
|
|
356
502
|
default: boolean;
|
|
357
503
|
};
|
|
@@ -421,24 +567,62 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
421
567
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
422
568
|
}, {
|
|
423
569
|
disabled: boolean;
|
|
424
|
-
options: (string | Option)[];
|
|
425
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";
|
|
426
574
|
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
427
|
-
shift: boolean |
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
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;
|
|
433
599
|
}> | undefined;
|
|
434
600
|
tabindex: string | number;
|
|
435
601
|
unselectable: boolean;
|
|
436
|
-
flip: boolean |
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
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;
|
|
442
626
|
}> | undefined;
|
|
443
627
|
closeLabel: string;
|
|
444
628
|
iconPosition: "before" | "after";
|
|
@@ -449,13 +633,38 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
449
633
|
hintLabel: string;
|
|
450
634
|
invalid: boolean;
|
|
451
635
|
valid: boolean;
|
|
452
|
-
size: boolean |
|
|
453
|
-
|
|
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: {
|
|
454
643
|
x: number;
|
|
455
644
|
y: number;
|
|
645
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
456
646
|
placement: import("@floating-ui/core").Placement;
|
|
457
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;
|
|
458
665
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
666
|
+
placement: import("@floating-ui/core").Placement;
|
|
667
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
459
668
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
460
669
|
rects: import("@floating-ui/core").ElementRects;
|
|
461
670
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -463,27 +672,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
463
672
|
} & {
|
|
464
673
|
availableWidth: number;
|
|
465
674
|
availableHeight: number;
|
|
466
|
-
}) => void | Promise<void
|
|
467
|
-
} & {
|
|
468
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
469
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
470
|
-
altBoundary: boolean;
|
|
471
|
-
padding: import("@floating-ui/core").Padding;
|
|
472
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
675
|
+
}) => void | Promise<void>) | undefined;
|
|
473
676
|
}> | undefined;
|
|
474
677
|
labelKey: string | Function;
|
|
475
678
|
valueKey: string | Function;
|
|
476
679
|
disabledKey: string | Function;
|
|
477
|
-
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
478
|
-
strategy: "fixed" | "absolute";
|
|
479
680
|
transitionName: string;
|
|
480
681
|
offset: string | import("@floating-ui/core").OffsetOptions | undefined;
|
|
481
|
-
autoPlacement: boolean |
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
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;
|
|
487
702
|
}> | undefined;
|
|
488
703
|
arrow: boolean;
|
|
489
704
|
keepOpen: boolean;
|
|
@@ -496,6 +711,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
496
711
|
noOptionsLabel: string;
|
|
497
712
|
deselectActionLabel: string;
|
|
498
713
|
searchable: boolean;
|
|
714
|
+
searchFunction: (search: string, options: (string | Option)[]) => (string | Option)[] | Promise<(string | Option)[]>;
|
|
499
715
|
searchPlaceholder: string;
|
|
500
716
|
debounceSearch: string | number;
|
|
501
717
|
separator: string;
|