@lovince/ui-vue 0.0.0-stage → 0.1.1

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 (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +134 -2
  3. package/dist/components/accordion.d.ts +197 -0
  4. package/dist/components/avatar.d.ts +90 -0
  5. package/dist/components/calendar.d.ts +421 -0
  6. package/dist/components/carousel.d.ts +293 -0
  7. package/dist/components/combobox.d.ts +431 -0
  8. package/dist/components/command.d.ts +252 -0
  9. package/dist/components/dialog.d.ts +242 -0
  10. package/dist/components/disclosure.d.ts +120 -0
  11. package/dist/components/emoji-picker.d.ts +359 -0
  12. package/dist/components/menu.d.ts +493 -0
  13. package/dist/components/navigation-menu.d.ts +275 -0
  14. package/dist/components/number-field.d.ts +202 -0
  15. package/dist/components/pin-input.d.ts +174 -0
  16. package/dist/components/popover.d.ts +213 -0
  17. package/dist/components/progress.d.ts +82 -0
  18. package/dist/components/radio-group.d.ts +167 -0
  19. package/dist/components/select.d.ts +418 -0
  20. package/dist/components/slider.d.ts +222 -0
  21. package/dist/components/sortable.d.ts +140 -0
  22. package/dist/components/splitter.d.ts +167 -0
  23. package/dist/components/tabs.d.ts +183 -0
  24. package/dist/components/toast.d.ts +192 -0
  25. package/dist/components/toggle-group.d.ts +205 -0
  26. package/dist/components/toggles.d.ts +232 -0
  27. package/dist/components/tooltip.d.ts +370 -0
  28. package/dist/components/tree.d.ts +147 -0
  29. package/dist/composables/data-table.d.ts +25 -0
  30. package/dist/composables/observers.d.ts +42 -0
  31. package/dist/composables/presence.d.ts +7 -0
  32. package/dist/index.d.ts +37 -0
  33. package/dist/index.js +4094 -0
  34. package/dist/shared/context.d.ts +2 -0
  35. package/dist/shared/dismiss.d.ts +17 -0
  36. package/dist/shared/element.d.ts +6 -0
  37. package/dist/shared/floating-props.d.ts +27 -0
  38. package/dist/shared/list.d.ts +17 -0
  39. package/dist/shared/machine.d.ts +38 -0
  40. package/dist/shared/parts.d.ts +8 -0
  41. package/dist/shared/portal.d.ts +34 -0
  42. package/dist/shared/primitive.d.ts +57 -0
  43. package/package.json +68 -4
@@ -0,0 +1,431 @@
1
+ import { PropType } from 'vue';
2
+ /**
3
+ * A text input that filters a list of options, per the WAI-ARIA combobox
4
+ * pattern with list autocomplete. Focus stays in the input throughout; the
5
+ * highlighted option is announced through `aria-activedescendant`.
6
+ */
7
+ export declare const ComboboxRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: {
9
+ type: PropType<string | string[]>;
10
+ default: undefined;
11
+ };
12
+ defaultValue: {
13
+ type: PropType<string | string[]>;
14
+ default: undefined;
15
+ };
16
+ /** Pick several: `v-model` is an array, picking toggles, and the list stays open. */
17
+ multiple: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ open: {
22
+ type: BooleanConstructor;
23
+ default: undefined;
24
+ };
25
+ defaultOpen: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ searchTerm: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ disabled: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ required: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ /** Filter options by the typed text. Turn off when the server filters and you render the results. */
42
+ filter: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ /** Adds a hidden input so the value submits with a native form. */
47
+ name: {
48
+ type: StringConstructor;
49
+ default: undefined;
50
+ };
51
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
52
+ [key: string]: any;
53
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
+ 'update:modelValue': (value: string | string[] | undefined) => boolean;
55
+ 'update:open': (value: boolean) => boolean;
56
+ 'update:searchTerm': (value: string) => boolean;
57
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
58
+ modelValue: {
59
+ type: PropType<string | string[]>;
60
+ default: undefined;
61
+ };
62
+ defaultValue: {
63
+ type: PropType<string | string[]>;
64
+ default: undefined;
65
+ };
66
+ /** Pick several: `v-model` is an array, picking toggles, and the list stays open. */
67
+ multiple: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ open: {
72
+ type: BooleanConstructor;
73
+ default: undefined;
74
+ };
75
+ defaultOpen: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ searchTerm: {
80
+ type: StringConstructor;
81
+ default: undefined;
82
+ };
83
+ disabled: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ required: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ /** Filter options by the typed text. Turn off when the server filters and you render the results. */
92
+ filter: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ /** Adds a hidden input so the value submits with a native form. */
97
+ name: {
98
+ type: StringConstructor;
99
+ default: undefined;
100
+ };
101
+ }>> & Readonly<{
102
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
103
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
104
+ "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
105
+ }>, {
106
+ name: string;
107
+ filter: boolean;
108
+ disabled: boolean;
109
+ open: boolean;
110
+ required: boolean;
111
+ multiple: boolean;
112
+ defaultOpen: boolean;
113
+ modelValue: string | string[];
114
+ defaultValue: string | string[];
115
+ searchTerm: string;
116
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
117
+ /** What the list is positioned against: usually a wrapper round the input and its buttons. */
118
+ export declare const ComboboxAnchor: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
119
+ readonly as: {
120
+ readonly type: PropType<string | import('vue').Component>;
121
+ readonly default: "div";
122
+ };
123
+ readonly asChild: {
124
+ readonly type: BooleanConstructor;
125
+ readonly default: false;
126
+ };
127
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
128
+ [key: string]: any;
129
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
130
+ readonly as: {
131
+ readonly type: PropType<string | import('vue').Component>;
132
+ readonly default: "div";
133
+ };
134
+ readonly asChild: {
135
+ readonly type: BooleanConstructor;
136
+ readonly default: false;
137
+ };
138
+ }>> & Readonly<{}>, {
139
+ readonly as: string | import('vue').Component;
140
+ readonly asChild: boolean;
141
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
142
+ export declare const ComboboxInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
143
+ as: {
144
+ default: string;
145
+ type: PropType<string | import('vue').Component>;
146
+ };
147
+ asChild: {
148
+ readonly type: BooleanConstructor;
149
+ readonly default: false;
150
+ };
151
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
152
+ [key: string]: any;
153
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
154
+ as: {
155
+ default: string;
156
+ type: PropType<string | import('vue').Component>;
157
+ };
158
+ asChild: {
159
+ readonly type: BooleanConstructor;
160
+ readonly default: false;
161
+ };
162
+ }>> & Readonly<{}>, {
163
+ as: string | import('vue').Component;
164
+ asChild: boolean;
165
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
166
+ /** Toggles the list. Out of the tab order: the input is the one control. */
167
+ export declare const ComboboxTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
168
+ label: {
169
+ type: StringConstructor;
170
+ default: string;
171
+ };
172
+ as: {
173
+ readonly default: "button";
174
+ readonly type: PropType<string | import('vue').Component>;
175
+ };
176
+ asChild: {
177
+ readonly type: BooleanConstructor;
178
+ readonly default: false;
179
+ };
180
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
181
+ [key: string]: any;
182
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
183
+ label: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ as: {
188
+ readonly default: "button";
189
+ readonly type: PropType<string | import('vue').Component>;
190
+ };
191
+ asChild: {
192
+ readonly type: BooleanConstructor;
193
+ readonly default: false;
194
+ };
195
+ }>> & Readonly<{}>, {
196
+ as: string | import('vue').Component;
197
+ asChild: boolean;
198
+ label: string;
199
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
200
+ /** Clears the value and the text. Renders nothing while there is nothing to clear. */
201
+ export declare const ComboboxClear: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
202
+ label: {
203
+ type: StringConstructor;
204
+ default: string;
205
+ };
206
+ as: {
207
+ readonly default: "button";
208
+ readonly type: PropType<string | import('vue').Component>;
209
+ };
210
+ asChild: {
211
+ readonly type: BooleanConstructor;
212
+ readonly default: false;
213
+ };
214
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
215
+ [key: string]: any;
216
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
217
+ label: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ as: {
222
+ readonly default: "button";
223
+ readonly type: PropType<string | import('vue').Component>;
224
+ };
225
+ asChild: {
226
+ readonly type: BooleanConstructor;
227
+ readonly default: false;
228
+ };
229
+ }>> & Readonly<{}>, {
230
+ as: string | import('vue').Component;
231
+ asChild: boolean;
232
+ label: string;
233
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
234
+ export declare const ComboboxPortal: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
235
+ to: {
236
+ type: PropType<string | HTMLElement>;
237
+ default: string;
238
+ };
239
+ disabled: {
240
+ type: BooleanConstructor;
241
+ default: boolean;
242
+ };
243
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
244
+ [key: string]: any;
245
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
246
+ to: {
247
+ type: PropType<string | HTMLElement>;
248
+ default: string;
249
+ };
250
+ disabled: {
251
+ type: BooleanConstructor;
252
+ default: boolean;
253
+ };
254
+ }>> & Readonly<{}>, {
255
+ to: string | HTMLElement;
256
+ disabled: boolean;
257
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
258
+ export declare const ComboboxContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
259
+ align: {
260
+ default: string;
261
+ type: PropType<import('@lovince/ui-headless').Align>;
262
+ validator: (value: string) => boolean;
263
+ };
264
+ side: {
265
+ readonly type: PropType<import('@lovince/ui-headless').Side>;
266
+ readonly default: "bottom";
267
+ readonly validator: (value: string) => boolean;
268
+ };
269
+ sideOffset: {
270
+ readonly type: NumberConstructor;
271
+ readonly default: 4;
272
+ };
273
+ collisionPadding: {
274
+ readonly type: NumberConstructor;
275
+ readonly default: 8;
276
+ };
277
+ avoidCollisions: {
278
+ readonly type: BooleanConstructor;
279
+ readonly default: true;
280
+ };
281
+ as: {
282
+ readonly type: PropType<string | import('vue').Component>;
283
+ readonly default: "div";
284
+ };
285
+ asChild: {
286
+ readonly type: BooleanConstructor;
287
+ readonly default: false;
288
+ };
289
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
290
+ [key: string]: any;
291
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
292
+ align: {
293
+ default: string;
294
+ type: PropType<import('@lovince/ui-headless').Align>;
295
+ validator: (value: string) => boolean;
296
+ };
297
+ side: {
298
+ readonly type: PropType<import('@lovince/ui-headless').Side>;
299
+ readonly default: "bottom";
300
+ readonly validator: (value: string) => boolean;
301
+ };
302
+ sideOffset: {
303
+ readonly type: NumberConstructor;
304
+ readonly default: 4;
305
+ };
306
+ collisionPadding: {
307
+ readonly type: NumberConstructor;
308
+ readonly default: 8;
309
+ };
310
+ avoidCollisions: {
311
+ readonly type: BooleanConstructor;
312
+ readonly default: true;
313
+ };
314
+ as: {
315
+ readonly type: PropType<string | import('vue').Component>;
316
+ readonly default: "div";
317
+ };
318
+ asChild: {
319
+ readonly type: BooleanConstructor;
320
+ readonly default: false;
321
+ };
322
+ }>> & Readonly<{}>, {
323
+ as: string | import('vue').Component;
324
+ asChild: boolean;
325
+ side: "top" | "right" | "bottom" | "left";
326
+ align: "center" | "start" | "end";
327
+ sideOffset: number;
328
+ collisionPadding: number;
329
+ avoidCollisions: boolean;
330
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
331
+ export declare const ComboboxItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
332
+ value: {
333
+ type: StringConstructor;
334
+ required: true;
335
+ };
336
+ disabled: {
337
+ type: BooleanConstructor;
338
+ default: boolean;
339
+ };
340
+ /** Text used for matching and shown in the input; defaults to the item's text. */
341
+ textValue: {
342
+ type: StringConstructor;
343
+ default: undefined;
344
+ };
345
+ as: {
346
+ readonly type: PropType<string | import('vue').Component>;
347
+ readonly default: "div";
348
+ };
349
+ asChild: {
350
+ readonly type: BooleanConstructor;
351
+ readonly default: false;
352
+ };
353
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
354
+ [key: string]: any;
355
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
356
+ value: {
357
+ type: StringConstructor;
358
+ required: true;
359
+ };
360
+ disabled: {
361
+ type: BooleanConstructor;
362
+ default: boolean;
363
+ };
364
+ /** Text used for matching and shown in the input; defaults to the item's text. */
365
+ textValue: {
366
+ type: StringConstructor;
367
+ default: undefined;
368
+ };
369
+ as: {
370
+ readonly type: PropType<string | import('vue').Component>;
371
+ readonly default: "div";
372
+ };
373
+ asChild: {
374
+ readonly type: BooleanConstructor;
375
+ readonly default: false;
376
+ };
377
+ }>> & Readonly<{}>, {
378
+ as: string | import('vue').Component;
379
+ asChild: boolean;
380
+ disabled: boolean;
381
+ textValue: string;
382
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
383
+ export declare const ComboboxItemIndicator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
384
+ as: {
385
+ default: string;
386
+ type: PropType<string | import('vue').Component>;
387
+ };
388
+ asChild: {
389
+ readonly type: BooleanConstructor;
390
+ readonly default: false;
391
+ };
392
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
393
+ [key: string]: any;
394
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
395
+ as: {
396
+ default: string;
397
+ type: PropType<string | import('vue').Component>;
398
+ };
399
+ asChild: {
400
+ readonly type: BooleanConstructor;
401
+ readonly default: false;
402
+ };
403
+ }>> & Readonly<{}>, {
404
+ as: string | import('vue').Component;
405
+ asChild: boolean;
406
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
407
+ /** Shown when no option matches. A live region, so the result is announced. */
408
+ export declare const ComboboxEmpty: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
409
+ readonly as: {
410
+ readonly type: PropType<string | import('vue').Component>;
411
+ readonly default: "div";
412
+ };
413
+ readonly asChild: {
414
+ readonly type: BooleanConstructor;
415
+ readonly default: false;
416
+ };
417
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
418
+ [key: string]: any;
419
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
420
+ readonly as: {
421
+ readonly type: PropType<string | import('vue').Component>;
422
+ readonly default: "div";
423
+ };
424
+ readonly asChild: {
425
+ readonly type: BooleanConstructor;
426
+ readonly default: false;
427
+ };
428
+ }>> & Readonly<{}>, {
429
+ readonly as: string | import('vue').Component;
430
+ readonly asChild: boolean;
431
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,252 @@
1
+ import { PropType } from 'vue';
2
+ /**
3
+ * A command palette: a search field over a list of actions, filtered as you
4
+ * type. Focus stays in the field; Enter runs the highlighted action.
5
+ */
6
+ export declare const CommandRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ search: {
8
+ type: StringConstructor;
9
+ default: undefined;
10
+ };
11
+ /** Filter items by the search. Turn off when you render server results yourself. */
12
+ filter: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ as: {
17
+ readonly type: PropType<string | import('vue').Component>;
18
+ readonly default: "div";
19
+ };
20
+ asChild: {
21
+ readonly type: BooleanConstructor;
22
+ readonly default: false;
23
+ };
24
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
25
+ [key: string]: any;
26
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ 'update:search': (value: string) => boolean;
28
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
+ search: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ /** Filter items by the search. Turn off when you render server results yourself. */
34
+ filter: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ as: {
39
+ readonly type: PropType<string | import('vue').Component>;
40
+ readonly default: "div";
41
+ };
42
+ asChild: {
43
+ readonly type: BooleanConstructor;
44
+ readonly default: false;
45
+ };
46
+ }>> & Readonly<{
47
+ "onUpdate:search"?: ((value: string) => any) | undefined;
48
+ }>, {
49
+ filter: boolean;
50
+ as: string | import('vue').Component;
51
+ asChild: boolean;
52
+ search: string;
53
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
54
+ export declare const CommandInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
55
+ as: {
56
+ default: string;
57
+ type: PropType<string | import('vue').Component>;
58
+ };
59
+ asChild: {
60
+ readonly type: BooleanConstructor;
61
+ readonly default: false;
62
+ };
63
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
64
+ [key: string]: any;
65
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
66
+ as: {
67
+ default: string;
68
+ type: PropType<string | import('vue').Component>;
69
+ };
70
+ asChild: {
71
+ readonly type: BooleanConstructor;
72
+ readonly default: false;
73
+ };
74
+ }>> & Readonly<{}>, {
75
+ as: string | import('vue').Component;
76
+ asChild: boolean;
77
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
78
+ export declare const CommandList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
79
+ label: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ as: {
84
+ readonly type: PropType<string | import('vue').Component>;
85
+ readonly default: "div";
86
+ };
87
+ asChild: {
88
+ readonly type: BooleanConstructor;
89
+ readonly default: false;
90
+ };
91
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
92
+ [key: string]: any;
93
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
94
+ label: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ as: {
99
+ readonly type: PropType<string | import('vue').Component>;
100
+ readonly default: "div";
101
+ };
102
+ asChild: {
103
+ readonly type: BooleanConstructor;
104
+ readonly default: false;
105
+ };
106
+ }>> & Readonly<{}>, {
107
+ as: string | import('vue').Component;
108
+ asChild: boolean;
109
+ label: string;
110
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
111
+ /** A labelled set of items. Hidden while none of its items match. */
112
+ export declare const CommandGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
113
+ heading: {
114
+ type: StringConstructor;
115
+ default: undefined;
116
+ };
117
+ as: {
118
+ readonly type: PropType<string | import('vue').Component>;
119
+ readonly default: "div";
120
+ };
121
+ asChild: {
122
+ readonly type: BooleanConstructor;
123
+ readonly default: false;
124
+ };
125
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
126
+ [key: string]: any;
127
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
128
+ heading: {
129
+ type: StringConstructor;
130
+ default: undefined;
131
+ };
132
+ as: {
133
+ readonly type: PropType<string | import('vue').Component>;
134
+ readonly default: "div";
135
+ };
136
+ asChild: {
137
+ readonly type: BooleanConstructor;
138
+ readonly default: false;
139
+ };
140
+ }>> & Readonly<{}>, {
141
+ as: string | import('vue').Component;
142
+ asChild: boolean;
143
+ heading: string;
144
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
145
+ export declare const CommandItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
146
+ /** Passed to `@select`; defaults to the item's text. */
147
+ value: {
148
+ type: StringConstructor;
149
+ default: undefined;
150
+ };
151
+ /** Extra words that should find this item: synonyms, codes, old names. */
152
+ keywords: {
153
+ type: PropType<string[]>;
154
+ default: () => never[];
155
+ };
156
+ disabled: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ as: {
161
+ readonly type: PropType<string | import('vue').Component>;
162
+ readonly default: "div";
163
+ };
164
+ asChild: {
165
+ readonly type: BooleanConstructor;
166
+ readonly default: false;
167
+ };
168
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
169
+ [key: string]: any;
170
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
171
+ select: (value: string) => boolean;
172
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
173
+ /** Passed to `@select`; defaults to the item's text. */
174
+ value: {
175
+ type: StringConstructor;
176
+ default: undefined;
177
+ };
178
+ /** Extra words that should find this item: synonyms, codes, old names. */
179
+ keywords: {
180
+ type: PropType<string[]>;
181
+ default: () => never[];
182
+ };
183
+ disabled: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
187
+ as: {
188
+ readonly type: PropType<string | import('vue').Component>;
189
+ readonly default: "div";
190
+ };
191
+ asChild: {
192
+ readonly type: BooleanConstructor;
193
+ readonly default: false;
194
+ };
195
+ }>> & Readonly<{
196
+ onSelect?: ((value: string) => any) | undefined;
197
+ }>, {
198
+ as: string | import('vue').Component;
199
+ asChild: boolean;
200
+ value: string;
201
+ disabled: boolean;
202
+ keywords: string[];
203
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
204
+ export declare const CommandEmpty: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
205
+ readonly as: {
206
+ readonly type: PropType<string | import('vue').Component>;
207
+ readonly default: "div";
208
+ };
209
+ readonly asChild: {
210
+ readonly type: BooleanConstructor;
211
+ readonly default: false;
212
+ };
213
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
214
+ [key: string]: any;
215
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
216
+ readonly as: {
217
+ readonly type: PropType<string | import('vue').Component>;
218
+ readonly default: "div";
219
+ };
220
+ readonly asChild: {
221
+ readonly type: BooleanConstructor;
222
+ readonly default: false;
223
+ };
224
+ }>> & Readonly<{}>, {
225
+ readonly as: string | import('vue').Component;
226
+ readonly asChild: boolean;
227
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
228
+ /** Hidden while searching, when groups no longer sit in their usual order. */
229
+ export declare const CommandSeparator: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
230
+ readonly as: {
231
+ readonly type: PropType<string | import('vue').Component>;
232
+ readonly default: "div";
233
+ };
234
+ readonly asChild: {
235
+ readonly type: BooleanConstructor;
236
+ readonly default: false;
237
+ };
238
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
239
+ [key: string]: any;
240
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
241
+ readonly as: {
242
+ readonly type: PropType<string | import('vue').Component>;
243
+ readonly default: "div";
244
+ };
245
+ readonly asChild: {
246
+ readonly type: BooleanConstructor;
247
+ readonly default: false;
248
+ };
249
+ }>> & Readonly<{}>, {
250
+ readonly as: string | import('vue').Component;
251
+ readonly asChild: boolean;
252
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;