@nuxt/ui 3.0.0-alpha.0 → 3.0.0-alpha.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 (170) hide show
  1. package/README.md +1 -1
  2. package/cli/node_modules/.ignored/citty/LICENSE +36 -0
  3. package/cli/node_modules/.ignored/citty/README.md +134 -0
  4. package/cli/node_modules/.ignored/citty/dist/index.cjs +475 -0
  5. package/cli/node_modules/.ignored/citty/dist/index.d.cts +80 -0
  6. package/cli/node_modules/.ignored/citty/dist/index.d.mts +80 -0
  7. package/cli/node_modules/.ignored/citty/dist/index.d.ts +80 -0
  8. package/cli/node_modules/.ignored/citty/dist/index.mjs +463 -0
  9. package/cli/node_modules/.ignored/citty/package.json +49 -0
  10. package/cli/node_modules/.ignored/consola/LICENSE +47 -0
  11. package/cli/node_modules/.ignored/consola/README.md +318 -0
  12. package/cli/node_modules/.ignored/consola/core.d.ts +1 -0
  13. package/cli/node_modules/.ignored/consola/dist/basic.cjs +32 -0
  14. package/cli/node_modules/.ignored/consola/dist/basic.d.ts +9 -0
  15. package/cli/node_modules/.ignored/consola/dist/basic.mjs +24 -0
  16. package/cli/node_modules/.ignored/consola/dist/browser.cjs +80 -0
  17. package/cli/node_modules/.ignored/consola/dist/browser.d.ts +7 -0
  18. package/cli/node_modules/.ignored/consola/dist/browser.mjs +72 -0
  19. package/cli/node_modules/.ignored/consola/dist/chunks/prompt.cjs +436 -0
  20. package/cli/node_modules/.ignored/consola/dist/chunks/prompt.mjs +429 -0
  21. package/cli/node_modules/.ignored/consola/dist/core.cjs +415 -0
  22. package/cli/node_modules/.ignored/consola/dist/core.d.ts +124 -0
  23. package/cli/node_modules/.ignored/consola/dist/core.mjs +410 -0
  24. package/cli/node_modules/.ignored/consola/dist/index.cjs +21 -0
  25. package/cli/node_modules/.ignored/consola/dist/index.d.ts +9 -0
  26. package/cli/node_modules/.ignored/consola/dist/index.mjs +8 -0
  27. package/cli/node_modules/.ignored/consola/dist/shared/consola.06ad8a64.mjs +62 -0
  28. package/cli/node_modules/.ignored/consola/dist/shared/consola.36c0034f.mjs +636 -0
  29. package/cli/node_modules/.ignored/consola/dist/shared/consola.4bbae468.cjs +645 -0
  30. package/cli/node_modules/.ignored/consola/dist/shared/consola.deac7d5a.cjs +65 -0
  31. package/cli/node_modules/.ignored/consola/dist/utils.cjs +308 -0
  32. package/cli/node_modules/.ignored/consola/dist/utils.d.ts +169 -0
  33. package/cli/node_modules/.ignored/consola/dist/utils.mjs +284 -0
  34. package/cli/node_modules/.ignored/consola/lib/index.cjs +9 -0
  35. package/cli/node_modules/.ignored/consola/package.json +101 -0
  36. package/cli/node_modules/.ignored/consola/utils.d.ts +1 -0
  37. package/cli/node_modules/.ignored/pathe/LICENSE +44 -0
  38. package/cli/node_modules/.ignored/pathe/README.md +69 -0
  39. package/cli/node_modules/.ignored/pathe/dist/index.cjs +23 -0
  40. package/cli/node_modules/.ignored/pathe/dist/index.d.cts +36 -0
  41. package/cli/node_modules/.ignored/pathe/dist/index.d.mts +36 -0
  42. package/cli/node_modules/.ignored/pathe/dist/index.d.ts +36 -0
  43. package/cli/node_modules/.ignored/pathe/dist/index.mjs +1 -0
  44. package/cli/node_modules/.ignored/pathe/dist/shared/pathe.1f0a373c.cjs +238 -0
  45. package/cli/node_modules/.ignored/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
  46. package/cli/node_modules/.ignored/pathe/dist/utils.cjs +58 -0
  47. package/cli/node_modules/.ignored/pathe/dist/utils.d.cts +5 -0
  48. package/cli/node_modules/.ignored/pathe/dist/utils.d.mts +5 -0
  49. package/cli/node_modules/.ignored/pathe/dist/utils.d.ts +5 -0
  50. package/cli/node_modules/.ignored/pathe/dist/utils.mjs +54 -0
  51. package/cli/node_modules/.ignored/pathe/package.json +48 -0
  52. package/cli/node_modules/.ignored/pathe/utils.d.ts +1 -0
  53. package/cli/node_modules/.ignored/scule/LICENSE +21 -0
  54. package/cli/node_modules/.ignored/scule/README.md +149 -0
  55. package/cli/node_modules/.ignored/scule/dist/index.cjs +92 -0
  56. package/cli/node_modules/.ignored/scule/dist/index.d.cts +57 -0
  57. package/cli/node_modules/.ignored/scule/dist/index.d.mts +57 -0
  58. package/cli/node_modules/.ignored/scule/dist/index.d.ts +57 -0
  59. package/cli/node_modules/.ignored/scule/dist/index.mjs +80 -0
  60. package/cli/node_modules/.ignored/scule/package.json +43 -0
  61. package/cli/node_modules/.package-lock.json +33 -0
  62. package/dist/module.json +3 -3
  63. package/dist/module.mjs +7 -55
  64. package/dist/runtime/components/Accordion.vue +49 -6
  65. package/dist/runtime/components/Alert.vue +58 -6
  66. package/dist/runtime/components/App.vue +12 -2
  67. package/dist/runtime/components/Avatar.vue +27 -6
  68. package/dist/runtime/components/AvatarGroup.vue +30 -6
  69. package/dist/runtime/components/Badge.vue +28 -6
  70. package/dist/runtime/components/Breadcrumb.vue +44 -6
  71. package/dist/runtime/components/Button.vue +33 -6
  72. package/dist/runtime/components/ButtonGroup.vue +30 -6
  73. package/dist/runtime/components/Card.vue +25 -6
  74. package/dist/runtime/components/Checkbox.vue +45 -6
  75. package/dist/runtime/components/Chip.vue +39 -6
  76. package/dist/runtime/components/Collapsible.vue +27 -6
  77. package/dist/runtime/components/CommandPalette.vue +99 -6
  78. package/dist/runtime/components/Container.vue +22 -6
  79. package/dist/runtime/components/ContextMenu.vue +58 -6
  80. package/dist/runtime/components/ContextMenuContent.vue +18 -4
  81. package/dist/runtime/components/Drawer.vue +48 -6
  82. package/dist/runtime/components/DropdownMenu.vue +66 -6
  83. package/dist/runtime/components/DropdownMenuContent.vue +22 -4
  84. package/dist/runtime/components/Form.vue +34 -13
  85. package/dist/runtime/components/FormField.vue +41 -16
  86. package/dist/runtime/components/Icon.vue +12 -2
  87. package/dist/runtime/components/Input.vue +46 -6
  88. package/dist/runtime/components/InputMenu.vue +113 -6
  89. package/dist/runtime/components/Kbd.vue +28 -6
  90. package/dist/runtime/components/Link.vue +81 -17
  91. package/dist/runtime/components/LinkBase.vue +12 -2
  92. package/dist/runtime/components/Modal.vue +69 -6
  93. package/dist/runtime/components/NavigationMenu.vue +76 -6
  94. package/dist/runtime/components/Pagination.vue +99 -6
  95. package/dist/runtime/components/Popover.vue +42 -6
  96. package/dist/runtime/components/Progress.vue +44 -6
  97. package/dist/runtime/components/RadioGroup.vue +55 -7
  98. package/dist/runtime/components/Select.vue +88 -6
  99. package/dist/runtime/components/SelectMenu.vue +104 -6
  100. package/dist/runtime/components/Separator.vue +41 -6
  101. package/dist/runtime/components/Skeleton.vue +18 -6
  102. package/dist/runtime/components/Slideover.vue +67 -6
  103. package/dist/runtime/components/Slider.vue +36 -6
  104. package/dist/runtime/components/Switch.vue +50 -6
  105. package/dist/runtime/components/Tabs.vue +59 -6
  106. package/dist/runtime/components/Textarea.vue +46 -6
  107. package/dist/runtime/components/Toast.vue +55 -6
  108. package/dist/runtime/components/Toaster.vue +27 -6
  109. package/dist/runtime/components/Tooltip.vue +42 -6
  110. package/dist/runtime/composables/useAvatarGroup.d.ts +2 -2
  111. package/dist/runtime/composables/useButtonGroup.d.ts +3 -3
  112. package/dist/runtime/composables/useFormField.d.ts +6 -3
  113. package/dist/runtime/composables/useFormField.js +11 -7
  114. package/dist/runtime/composables/useModal.d.ts +1 -1
  115. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  116. package/dist/runtime/composables/useToast.d.ts +1 -1
  117. package/dist/runtime/index.css +1 -0
  118. package/dist/runtime/plugins/colors.d.ts +2 -0
  119. package/dist/runtime/plugins/modal.d.ts +2 -0
  120. package/dist/runtime/plugins/slideover.d.ts +2 -0
  121. package/dist/runtime/types/form.d.ts +1 -2
  122. package/dist/runtime/utils/link.d.ts +23 -55
  123. package/package.json +13 -14
  124. package/dist/runtime/assets/css/animations.css +0 -1
  125. package/dist/runtime/components/Accordion.vue.d.ts +0 -492
  126. package/dist/runtime/components/Alert.vue.d.ts +0 -548
  127. package/dist/runtime/components/App.vue.d.ts +0 -25
  128. package/dist/runtime/components/Avatar.vue.d.ts +0 -384
  129. package/dist/runtime/components/AvatarGroup.vue.d.ts +0 -381
  130. package/dist/runtime/components/Badge.vue.d.ts +0 -422
  131. package/dist/runtime/components/Breadcrumb.vue.d.ts +0 -307
  132. package/dist/runtime/components/Button.vue.d.ts +0 -949
  133. package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -182
  134. package/dist/runtime/components/Card.vue.d.ts +0 -191
  135. package/dist/runtime/components/Checkbox.vue.d.ts +0 -819
  136. package/dist/runtime/components/Chip.vue.d.ts +0 -590
  137. package/dist/runtime/components/Collapsible.vue.d.ts +0 -159
  138. package/dist/runtime/components/CommandPalette.vue.d.ts +0 -684
  139. package/dist/runtime/components/Container.vue.d.ts +0 -27
  140. package/dist/runtime/components/ContextMenu.vue.d.ts +0 -796
  141. package/dist/runtime/components/ContextMenuContent.vue.d.ts +0 -0
  142. package/dist/runtime/components/Drawer.vue.d.ts +0 -343
  143. package/dist/runtime/components/DropdownMenu.vue.d.ts +0 -815
  144. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -0
  145. package/dist/runtime/components/Form.vue.d.ts +0 -39
  146. package/dist/runtime/components/FormField.vue.d.ts +0 -356
  147. package/dist/runtime/components/Icon.vue.d.ts +0 -17
  148. package/dist/runtime/components/Input.vue.d.ts +0 -1137
  149. package/dist/runtime/components/InputMenu.vue.d.ts +0 -2121
  150. package/dist/runtime/components/Kbd.vue.d.ts +0 -169
  151. package/dist/runtime/components/Link.vue.d.ts +0 -76
  152. package/dist/runtime/components/LinkBase.vue.d.ts +0 -49
  153. package/dist/runtime/components/Modal.vue.d.ts +0 -319
  154. package/dist/runtime/components/NavigationMenu.vue.d.ts +0 -1789
  155. package/dist/runtime/components/Pagination.vue.d.ts +0 -295
  156. package/dist/runtime/components/Popover.vue.d.ts +0 -197
  157. package/dist/runtime/components/Progress.vue.d.ts +0 -1781
  158. package/dist/runtime/components/RadioGroup.vue.d.ts +0 -1715
  159. package/dist/runtime/components/Select.vue.d.ts +0 -1569
  160. package/dist/runtime/components/SelectMenu.vue.d.ts +0 -1661
  161. package/dist/runtime/components/Separator.vue.d.ts +0 -0
  162. package/dist/runtime/components/Skeleton.vue.d.ts +0 -26
  163. package/dist/runtime/components/Slideover.vue.d.ts +0 -375
  164. package/dist/runtime/components/Slider.vue.d.ts +0 -0
  165. package/dist/runtime/components/Switch.vue.d.ts +0 -1676
  166. package/dist/runtime/components/Tabs.vue.d.ts +0 -934
  167. package/dist/runtime/components/Textarea.vue.d.ts +0 -1133
  168. package/dist/runtime/components/Toast.vue.d.ts +0 -0
  169. package/dist/runtime/components/Toaster.vue.d.ts +0 -362
  170. package/dist/runtime/components/Tooltip.vue.d.ts +0 -248
@@ -1,548 +0,0 @@
1
- import { type VariantProps } from 'tailwind-variants';
2
- import type { AvatarProps, ButtonProps } from '../types.js';
3
- declare const alert: import("tailwind-variants").TVReturnType<{
4
- color: {
5
- primary: string;
6
- error: string;
7
- red: string;
8
- orange: string;
9
- amber: string;
10
- yellow: string;
11
- lime: string;
12
- green: string;
13
- emerald: string;
14
- teal: string;
15
- cyan: string;
16
- sky: string;
17
- blue: string;
18
- indigo: string;
19
- violet: string;
20
- purple: string;
21
- fuchsia: string;
22
- pink: string;
23
- rose: string;
24
- gray: string;
25
- };
26
- variant: {
27
- solid: string;
28
- outline: string;
29
- soft: string;
30
- subtle: string;
31
- };
32
- multiline: {
33
- true: {
34
- root: string;
35
- actions: string;
36
- };
37
- false: {
38
- root: string;
39
- actions: string;
40
- };
41
- };
42
- }, {
43
- root: string;
44
- wrapper: string;
45
- title: string;
46
- description: string;
47
- icon: string;
48
- avatar: string;
49
- avatarSize: string;
50
- actions: string;
51
- close: string;
52
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
53
- color: {
54
- primary: string;
55
- error: string;
56
- red: string;
57
- orange: string;
58
- amber: string;
59
- yellow: string;
60
- lime: string;
61
- green: string;
62
- emerald: string;
63
- teal: string;
64
- cyan: string;
65
- sky: string;
66
- blue: string;
67
- indigo: string;
68
- violet: string;
69
- purple: string;
70
- fuchsia: string;
71
- pink: string;
72
- rose: string;
73
- gray: string;
74
- };
75
- variant: {
76
- solid: string;
77
- outline: string;
78
- soft: string;
79
- subtle: string;
80
- };
81
- multiline: {
82
- true: {
83
- root: string;
84
- actions: string;
85
- };
86
- false: {
87
- root: string;
88
- actions: string;
89
- };
90
- };
91
- }, {
92
- color: {
93
- primary: string;
94
- error: string;
95
- red: string;
96
- orange: string;
97
- amber: string;
98
- yellow: string;
99
- lime: string;
100
- green: string;
101
- emerald: string;
102
- teal: string;
103
- cyan: string;
104
- sky: string;
105
- blue: string;
106
- indigo: string;
107
- violet: string;
108
- purple: string;
109
- fuchsia: string;
110
- pink: string;
111
- rose: string;
112
- gray: string;
113
- };
114
- variant: {
115
- solid: string;
116
- outline: string;
117
- soft: string;
118
- subtle: string;
119
- };
120
- multiline: {
121
- true: {
122
- root: string;
123
- actions: string;
124
- };
125
- false: {
126
- root: string;
127
- actions: string;
128
- };
129
- };
130
- }>, {
131
- color: {
132
- primary: string;
133
- error: string;
134
- red: string;
135
- orange: string;
136
- amber: string;
137
- yellow: string;
138
- lime: string;
139
- green: string;
140
- emerald: string;
141
- teal: string;
142
- cyan: string;
143
- sky: string;
144
- blue: string;
145
- indigo: string;
146
- violet: string;
147
- purple: string;
148
- fuchsia: string;
149
- pink: string;
150
- rose: string;
151
- gray: string;
152
- };
153
- variant: {
154
- solid: string;
155
- outline: string;
156
- soft: string;
157
- subtle: string;
158
- };
159
- multiline: {
160
- true: {
161
- root: string;
162
- actions: string;
163
- };
164
- false: {
165
- root: string;
166
- actions: string;
167
- };
168
- };
169
- }, {
170
- root: string;
171
- wrapper: string;
172
- title: string;
173
- description: string;
174
- icon: string;
175
- avatar: string;
176
- avatarSize: string;
177
- actions: string;
178
- close: string;
179
- }, import("tailwind-variants").TVReturnType<{
180
- color: {
181
- primary: string;
182
- error: string;
183
- red: string;
184
- orange: string;
185
- amber: string;
186
- yellow: string;
187
- lime: string;
188
- green: string;
189
- emerald: string;
190
- teal: string;
191
- cyan: string;
192
- sky: string;
193
- blue: string;
194
- indigo: string;
195
- violet: string;
196
- purple: string;
197
- fuchsia: string;
198
- pink: string;
199
- rose: string;
200
- gray: string;
201
- };
202
- variant: {
203
- solid: string;
204
- outline: string;
205
- soft: string;
206
- subtle: string;
207
- };
208
- multiline: {
209
- true: {
210
- root: string;
211
- actions: string;
212
- };
213
- false: {
214
- root: string;
215
- actions: string;
216
- };
217
- };
218
- }, {
219
- root: string;
220
- wrapper: string;
221
- title: string;
222
- description: string;
223
- icon: string;
224
- avatar: string;
225
- avatarSize: string;
226
- actions: string;
227
- close: string;
228
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
229
- color: {
230
- primary: string;
231
- error: string;
232
- red: string;
233
- orange: string;
234
- amber: string;
235
- yellow: string;
236
- lime: string;
237
- green: string;
238
- emerald: string;
239
- teal: string;
240
- cyan: string;
241
- sky: string;
242
- blue: string;
243
- indigo: string;
244
- violet: string;
245
- purple: string;
246
- fuchsia: string;
247
- pink: string;
248
- rose: string;
249
- gray: string;
250
- };
251
- variant: {
252
- solid: string;
253
- outline: string;
254
- soft: string;
255
- subtle: string;
256
- };
257
- multiline: {
258
- true: {
259
- root: string;
260
- actions: string;
261
- };
262
- false: {
263
- root: string;
264
- actions: string;
265
- };
266
- };
267
- }, {
268
- color: {
269
- primary: string;
270
- error: string;
271
- red: string;
272
- orange: string;
273
- amber: string;
274
- yellow: string;
275
- lime: string;
276
- green: string;
277
- emerald: string;
278
- teal: string;
279
- cyan: string;
280
- sky: string;
281
- blue: string;
282
- indigo: string;
283
- violet: string;
284
- purple: string;
285
- fuchsia: string;
286
- pink: string;
287
- rose: string;
288
- gray: string;
289
- };
290
- variant: {
291
- solid: string;
292
- outline: string;
293
- soft: string;
294
- subtle: string;
295
- };
296
- multiline: {
297
- true: {
298
- root: string;
299
- actions: string;
300
- };
301
- false: {
302
- root: string;
303
- actions: string;
304
- };
305
- };
306
- }>, {
307
- color: {
308
- primary: string;
309
- error: string;
310
- red: string;
311
- orange: string;
312
- amber: string;
313
- yellow: string;
314
- lime: string;
315
- green: string;
316
- emerald: string;
317
- teal: string;
318
- cyan: string;
319
- sky: string;
320
- blue: string;
321
- indigo: string;
322
- violet: string;
323
- purple: string;
324
- fuchsia: string;
325
- pink: string;
326
- rose: string;
327
- gray: string;
328
- };
329
- variant: {
330
- solid: string;
331
- outline: string;
332
- soft: string;
333
- subtle: string;
334
- };
335
- multiline: {
336
- true: {
337
- root: string;
338
- actions: string;
339
- };
340
- false: {
341
- root: string;
342
- actions: string;
343
- };
344
- };
345
- }, {
346
- root: string;
347
- wrapper: string;
348
- title: string;
349
- description: string;
350
- icon: string;
351
- avatar: string;
352
- avatarSize: string;
353
- actions: string;
354
- close: string;
355
- }, import("tailwind-variants").TVReturnType<{
356
- color: {
357
- primary: string;
358
- error: string;
359
- red: string;
360
- orange: string;
361
- amber: string;
362
- yellow: string;
363
- lime: string;
364
- green: string;
365
- emerald: string;
366
- teal: string;
367
- cyan: string;
368
- sky: string;
369
- blue: string;
370
- indigo: string;
371
- violet: string;
372
- purple: string;
373
- fuchsia: string;
374
- pink: string;
375
- rose: string;
376
- gray: string;
377
- };
378
- variant: {
379
- solid: string;
380
- outline: string;
381
- soft: string;
382
- subtle: string;
383
- };
384
- multiline: {
385
- true: {
386
- root: string;
387
- actions: string;
388
- };
389
- false: {
390
- root: string;
391
- actions: string;
392
- };
393
- };
394
- }, {
395
- root: string;
396
- wrapper: string;
397
- title: string;
398
- description: string;
399
- icon: string;
400
- avatar: string;
401
- avatarSize: string;
402
- actions: string;
403
- close: string;
404
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
405
- color: {
406
- primary: string;
407
- error: string;
408
- red: string;
409
- orange: string;
410
- amber: string;
411
- yellow: string;
412
- lime: string;
413
- green: string;
414
- emerald: string;
415
- teal: string;
416
- cyan: string;
417
- sky: string;
418
- blue: string;
419
- indigo: string;
420
- violet: string;
421
- purple: string;
422
- fuchsia: string;
423
- pink: string;
424
- rose: string;
425
- gray: string;
426
- };
427
- variant: {
428
- solid: string;
429
- outline: string;
430
- soft: string;
431
- subtle: string;
432
- };
433
- multiline: {
434
- true: {
435
- root: string;
436
- actions: string;
437
- };
438
- false: {
439
- root: string;
440
- actions: string;
441
- };
442
- };
443
- }, {
444
- color: {
445
- primary: string;
446
- error: string;
447
- red: string;
448
- orange: string;
449
- amber: string;
450
- yellow: string;
451
- lime: string;
452
- green: string;
453
- emerald: string;
454
- teal: string;
455
- cyan: string;
456
- sky: string;
457
- blue: string;
458
- indigo: string;
459
- violet: string;
460
- purple: string;
461
- fuchsia: string;
462
- pink: string;
463
- rose: string;
464
- gray: string;
465
- };
466
- variant: {
467
- solid: string;
468
- outline: string;
469
- soft: string;
470
- subtle: string;
471
- };
472
- multiline: {
473
- true: {
474
- root: string;
475
- actions: string;
476
- };
477
- false: {
478
- root: string;
479
- actions: string;
480
- };
481
- };
482
- }>, unknown, unknown, undefined>>>;
483
- type AlertVariants = VariantProps<typeof alert>;
484
- export interface AlertProps {
485
- /**
486
- * The element or component this component should render as.
487
- * @defaultValue 'div'
488
- */
489
- as?: any;
490
- title?: string;
491
- description?: string;
492
- icon?: string;
493
- avatar?: AvatarProps;
494
- color?: AlertVariants['color'];
495
- variant?: AlertVariants['variant'];
496
- /**
497
- * Display a list of actions:
498
- * - under the title and description if multiline
499
- * - next to the close button if not multiline
500
- */
501
- actions?: ButtonProps[];
502
- /**
503
- * Display a close button to dismiss the alert.
504
- * `{ size: 'md', color: 'gray', variant: 'link' }`{lang="ts-type"}
505
- * @emits `close`
506
- * @defaultValue false
507
- */
508
- close?: ButtonProps | boolean;
509
- /**
510
- * The icon displayed in the close button.
511
- * @defaultValue appConfig.ui.icons.close
512
- */
513
- closeIcon?: string;
514
- class?: any;
515
- ui?: Partial<typeof alert.slots>;
516
- }
517
- export interface AlertEmits {
518
- (e: 'close'): void;
519
- }
520
- export interface AlertSlots {
521
- leading(props?: {}): any;
522
- title(props?: {}): any;
523
- description(props?: {}): any;
524
- actions(props?: {}): any;
525
- close(props: {
526
- ui: any;
527
- }): any;
528
- }
529
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AlertProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
530
- close: () => void;
531
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AlertProps>>> & Readonly<{
532
- onClose?: (() => any) | undefined;
533
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<AlertSlots> & AlertSlots>;
534
- export default _default;
535
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
536
- type __VLS_TypePropsToOption<T> = {
537
- [K in keyof T]-?: {} extends Pick<T, K> ? {
538
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
539
- } : {
540
- type: import('vue').PropType<T[K]>;
541
- required: true;
542
- };
543
- };
544
- type __VLS_WithTemplateSlots<T, S> = T & {
545
- new (): {
546
- $slots: S;
547
- };
548
- };
@@ -1,25 +0,0 @@
1
- import type { ConfigProviderProps, TooltipProviderProps } from 'radix-vue';
2
- import type { ToasterProps } from '../types.js';
3
- export interface AppProps extends Omit<ConfigProviderProps, 'useId'> {
4
- tooltip?: TooltipProviderProps;
5
- toaster?: ToasterProps | null;
6
- }
7
- export interface AppSlots {
8
- default(props?: {}): any;
9
- }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AppProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<AppProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<AppSlots> & AppSlots>;
11
- export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };