@bitrix24/b24ui-nuxt 0.5.10 → 0.5.11

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 (190) hide show
  1. package/dist/meta.cjs +72112 -0
  2. package/dist/meta.d.cts +72110 -0
  3. package/dist/meta.d.mts +5060 -5060
  4. package/dist/meta.d.ts +72110 -0
  5. package/dist/meta.mjs +5060 -5060
  6. package/dist/module.cjs +63 -0
  7. package/dist/module.d.cts +15 -0
  8. package/dist/module.d.ts +15 -0
  9. package/dist/module.json +3 -3
  10. package/dist/module.mjs +1 -1
  11. package/dist/runtime/components/Advice.vue +54 -47
  12. package/dist/runtime/components/Alert.vue +96 -71
  13. package/dist/runtime/components/App.vue +34 -37
  14. package/dist/runtime/components/Avatar.vue +81 -69
  15. package/dist/runtime/components/AvatarGroup.vue +76 -53
  16. package/dist/runtime/components/Badge.vue +83 -83
  17. package/dist/runtime/components/Button.vue +157 -220
  18. package/dist/runtime/components/ButtonGroup.vue +51 -35
  19. package/dist/runtime/components/Calendar.vue +152 -186
  20. package/dist/runtime/components/Checkbox.vue +73 -84
  21. package/dist/runtime/components/Chip.vue +74 -59
  22. package/dist/runtime/components/Collapsible.vue +41 -44
  23. package/dist/runtime/components/Container.vue +27 -18
  24. package/dist/runtime/components/Countdown.vue +378 -198
  25. package/dist/runtime/components/DescriptionList.vue +149 -102
  26. package/dist/runtime/components/DropdownMenu.vue +139 -83
  27. package/dist/runtime/components/DropdownMenuContent.vue +84 -137
  28. package/dist/runtime/components/Form.vue +216 -162
  29. package/dist/runtime/components/FormField.vue +80 -76
  30. package/dist/runtime/components/Input.vue +179 -160
  31. package/dist/runtime/components/InputMenu.vue +380 -300
  32. package/dist/runtime/components/InputNumber.vue +175 -178
  33. package/dist/runtime/components/Kbd.vue +45 -33
  34. package/dist/runtime/components/Link.vue +173 -179
  35. package/dist/runtime/components/LinkBase.vue +42 -64
  36. package/dist/runtime/components/Modal.vue +127 -105
  37. package/dist/runtime/components/ModalDialogClose.vue +8 -4
  38. package/dist/runtime/components/Navbar.vue +33 -24
  39. package/dist/runtime/components/NavbarDivider.vue +33 -24
  40. package/dist/runtime/components/NavbarSection.vue +33 -24
  41. package/dist/runtime/components/NavbarSpacer.vue +33 -24
  42. package/dist/runtime/components/NavigationMenu.vue +210 -144
  43. package/dist/runtime/components/OverlayProvider.vue +17 -13
  44. package/dist/runtime/components/Popover.vue +81 -81
  45. package/dist/runtime/components/Progress.vue +136 -109
  46. package/dist/runtime/components/RadioGroup.vue +134 -120
  47. package/dist/runtime/components/Range.vue +85 -94
  48. package/dist/runtime/components/Select.vue +260 -212
  49. package/dist/runtime/components/SelectMenu.vue +365 -272
  50. package/dist/runtime/components/Separator.vue +71 -61
  51. package/dist/runtime/components/Sidebar.vue +33 -24
  52. package/dist/runtime/components/SidebarBody.vue +38 -30
  53. package/dist/runtime/components/SidebarFooter.vue +33 -24
  54. package/dist/runtime/components/SidebarHeader.vue +33 -24
  55. package/dist/runtime/components/SidebarHeading.vue +33 -24
  56. package/dist/runtime/components/SidebarLayout.vue +70 -40
  57. package/dist/runtime/components/SidebarSection.vue +33 -24
  58. package/dist/runtime/components/SidebarSpacer.vue +33 -24
  59. package/dist/runtime/components/Skeleton.vue +22 -17
  60. package/dist/runtime/components/Slideover.vue +131 -108
  61. package/dist/runtime/components/StackedLayout.vue +73 -40
  62. package/dist/runtime/components/Switch.vue +95 -100
  63. package/dist/runtime/components/Tabs.vue +107 -81
  64. package/dist/runtime/components/Textarea.vue +201 -177
  65. package/dist/runtime/components/Toast.vue +105 -94
  66. package/dist/runtime/components/Toaster.vue +116 -94
  67. package/dist/runtime/components/Tooltip.vue +64 -78
  68. package/dist/runtime/components/content/TableWrapper.vue +70 -58
  69. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  70. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  71. package/dist/runtime/composables/useComponentIcons.d.ts +3 -3
  72. package/dist/runtime/composables/useFormField.d.ts +1 -1
  73. package/dist/runtime/prose/A.vue +23 -18
  74. package/dist/runtime/prose/Blockquote.vue +23 -18
  75. package/dist/runtime/prose/Code.vue +31 -23
  76. package/dist/runtime/prose/Em.vue +23 -18
  77. package/dist/runtime/prose/H1.vue +23 -18
  78. package/dist/runtime/prose/H2.vue +23 -18
  79. package/dist/runtime/prose/H3.vue +23 -18
  80. package/dist/runtime/prose/H4.vue +23 -18
  81. package/dist/runtime/prose/H5.vue +23 -18
  82. package/dist/runtime/prose/H6.vue +23 -18
  83. package/dist/runtime/prose/Hr.vue +19 -18
  84. package/dist/runtime/prose/Img.vue +23 -18
  85. package/dist/runtime/prose/Li.vue +23 -18
  86. package/dist/runtime/prose/Ol.vue +23 -18
  87. package/dist/runtime/prose/P.vue +23 -18
  88. package/dist/runtime/prose/Pre.vue +33 -28
  89. package/dist/runtime/prose/Strong.vue +23 -18
  90. package/dist/runtime/prose/Table.vue +54 -44
  91. package/dist/runtime/prose/Tbody.vue +23 -18
  92. package/dist/runtime/prose/Td.vue +23 -18
  93. package/dist/runtime/prose/Th.vue +23 -18
  94. package/dist/runtime/prose/Thead.vue +23 -18
  95. package/dist/runtime/prose/Tr.vue +23 -18
  96. package/dist/runtime/prose/Ul.vue +23 -18
  97. package/dist/runtime/vue/components/Link.vue +202 -201
  98. package/dist/shared/b24ui-nuxt.DrKwIWoc.cjs +7721 -0
  99. package/dist/types.d.mts +5 -3
  100. package/dist/types.d.ts +7 -0
  101. package/dist/unplugin.cjs +236 -0
  102. package/dist/unplugin.d.cts +33 -0
  103. package/dist/unplugin.d.ts +33 -0
  104. package/dist/vite.cjs +21 -0
  105. package/dist/vite.d.cts +14 -0
  106. package/dist/vite.d.ts +14 -0
  107. package/package.json +25 -13
  108. package/dist/runtime/components/Advice.vue.d.ts +0 -170
  109. package/dist/runtime/components/Alert.vue.d.ts +0 -464
  110. package/dist/runtime/components/App.vue.d.ts +0 -23
  111. package/dist/runtime/components/Avatar.vue.d.ts +0 -281
  112. package/dist/runtime/components/AvatarGroup.vue.d.ts +0 -204
  113. package/dist/runtime/components/Badge.vue.d.ts +0 -517
  114. package/dist/runtime/components/Button.vue.d.ts +0 -640
  115. package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -116
  116. package/dist/runtime/components/Calendar.vue.d.ts +0 -437
  117. package/dist/runtime/components/Checkbox.vue.d.ts +0 -354
  118. package/dist/runtime/components/Chip.vue.d.ts +0 -271
  119. package/dist/runtime/components/Collapsible.vue.d.ts +0 -118
  120. package/dist/runtime/components/Container.vue.d.ts +0 -27
  121. package/dist/runtime/components/Countdown.vue.d.ts +0 -356
  122. package/dist/runtime/components/DescriptionList.vue.d.ts +0 -379
  123. package/dist/runtime/components/DropdownMenu.vue.d.ts +0 -533
  124. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -228
  125. package/dist/runtime/components/Form.vue.d.ts +0 -55
  126. package/dist/runtime/components/FormField.vue.d.ts +0 -282
  127. package/dist/runtime/components/Input.vue.d.ts +0 -755
  128. package/dist/runtime/components/InputMenu.vue.d.ts +0 -1504
  129. package/dist/runtime/components/InputNumber.vue.d.ts +0 -658
  130. package/dist/runtime/components/Kbd.vue.d.ts +0 -109
  131. package/dist/runtime/components/Link.vue.d.ts +0 -129
  132. package/dist/runtime/components/LinkBase.vue.d.ts +0 -48
  133. package/dist/runtime/components/Modal.vue.d.ts +0 -327
  134. package/dist/runtime/components/ModalDialogClose.vue.d.ts +0 -10
  135. package/dist/runtime/components/Navbar.vue.d.ts +0 -101
  136. package/dist/runtime/components/NavbarDivider.vue.d.ts +0 -101
  137. package/dist/runtime/components/NavbarSection.vue.d.ts +0 -101
  138. package/dist/runtime/components/NavbarSpacer.vue.d.ts +0 -101
  139. package/dist/runtime/components/NavigationMenu.vue.d.ts +0 -824
  140. package/dist/runtime/components/OverlayProvider.vue.d.ts +0 -2
  141. package/dist/runtime/components/Popover.vue.d.ts +0 -147
  142. package/dist/runtime/components/Progress.vue.d.ts +0 -592
  143. package/dist/runtime/components/RadioGroup.vue.d.ts +0 -723
  144. package/dist/runtime/components/Range.vue.d.ts +0 -417
  145. package/dist/runtime/components/Select.vue.d.ts +0 -1200
  146. package/dist/runtime/components/SelectMenu.vue.d.ts +0 -1298
  147. package/dist/runtime/components/Separator.vue.d.ts +0 -400
  148. package/dist/runtime/components/Sidebar.vue.d.ts +0 -101
  149. package/dist/runtime/components/SidebarBody.vue.d.ts +0 -90
  150. package/dist/runtime/components/SidebarFooter.vue.d.ts +0 -101
  151. package/dist/runtime/components/SidebarHeader.vue.d.ts +0 -101
  152. package/dist/runtime/components/SidebarHeading.vue.d.ts +0 -101
  153. package/dist/runtime/components/SidebarLayout.vue.d.ts +0 -222
  154. package/dist/runtime/components/SidebarSection.vue.d.ts +0 -101
  155. package/dist/runtime/components/SidebarSpacer.vue.d.ts +0 -101
  156. package/dist/runtime/components/Skeleton.vue.d.ts +0 -26
  157. package/dist/runtime/components/Slideover.vue.d.ts +0 -360
  158. package/dist/runtime/components/StackedLayout.vue.d.ts +0 -192
  159. package/dist/runtime/components/Switch.vue.d.ts +0 -587
  160. package/dist/runtime/components/Tabs.vue.d.ts +0 -453
  161. package/dist/runtime/components/Textarea.vue.d.ts +0 -601
  162. package/dist/runtime/components/Toast.vue.d.ts +0 -438
  163. package/dist/runtime/components/Toaster.vue.d.ts +0 -219
  164. package/dist/runtime/components/Tooltip.vue.d.ts +0 -186
  165. package/dist/runtime/components/content/TableWrapper.vue.d.ts +0 -237
  166. package/dist/runtime/prose/A.vue.d.ts +0 -84
  167. package/dist/runtime/prose/Blockquote.vue.d.ts +0 -84
  168. package/dist/runtime/prose/Code.vue.d.ts +0 -97
  169. package/dist/runtime/prose/Em.vue.d.ts +0 -84
  170. package/dist/runtime/prose/H1.vue.d.ts +0 -97
  171. package/dist/runtime/prose/H2.vue.d.ts +0 -123
  172. package/dist/runtime/prose/H3.vue.d.ts +0 -123
  173. package/dist/runtime/prose/H4.vue.d.ts +0 -123
  174. package/dist/runtime/prose/H5.vue.d.ts +0 -123
  175. package/dist/runtime/prose/H6.vue.d.ts +0 -123
  176. package/dist/runtime/prose/Hr.vue.d.ts +0 -74
  177. package/dist/runtime/prose/Img.vue.d.ts +0 -77
  178. package/dist/runtime/prose/Li.vue.d.ts +0 -84
  179. package/dist/runtime/prose/Ol.vue.d.ts +0 -84
  180. package/dist/runtime/prose/P.vue.d.ts +0 -84
  181. package/dist/runtime/prose/Pre.vue.d.ts +0 -117
  182. package/dist/runtime/prose/Strong.vue.d.ts +0 -84
  183. package/dist/runtime/prose/Table.vue.d.ts +0 -144
  184. package/dist/runtime/prose/Tbody.vue.d.ts +0 -84
  185. package/dist/runtime/prose/Td.vue.d.ts +0 -84
  186. package/dist/runtime/prose/Th.vue.d.ts +0 -84
  187. package/dist/runtime/prose/Thead.vue.d.ts +0 -84
  188. package/dist/runtime/prose/Tr.vue.d.ts +0 -84
  189. package/dist/runtime/prose/Ul.vue.d.ts +0 -84
  190. package/dist/runtime/vue/components/Link.vue.d.ts +0 -129
@@ -1,438 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { ToastRootProps, ToastRootEmits } from 'reka-ui';
3
- import type { AvatarProps, ButtonProps, IconComponent } from '../types';
4
- import type { StringOrVNode } from '../types/utils';
5
- declare const toast: import("tailwind-variants").TVReturnType<{
6
- color: {
7
- default: {
8
- root: string;
9
- icon: string;
10
- progress: string;
11
- };
12
- danger: {
13
- root: string;
14
- icon: string;
15
- progress: string;
16
- };
17
- success: {
18
- root: string;
19
- icon: string;
20
- progress: string;
21
- };
22
- warning: {
23
- root: string;
24
- icon: string;
25
- progress: string;
26
- };
27
- primary: {
28
- root: string;
29
- icon: string;
30
- progress: string;
31
- };
32
- secondary: {
33
- root: string;
34
- icon: string;
35
- progress: string;
36
- };
37
- collab: {
38
- root: string;
39
- icon: string;
40
- progress: string;
41
- };
42
- ai: {
43
- root: string;
44
- icon: string;
45
- progress: string;
46
- };
47
- };
48
- orientation: {
49
- horizontal: {
50
- root: string;
51
- actions: string;
52
- };
53
- vertical: {
54
- root: string;
55
- actions: string;
56
- };
57
- };
58
- title: {
59
- true: {
60
- description: string;
61
- };
62
- };
63
- }, {
64
- root: string;
65
- wrapper: string;
66
- title: string;
67
- description: string;
68
- icon: string;
69
- avatar: string;
70
- avatarSize: string;
71
- actions: string;
72
- progress: string;
73
- close: string;
74
- }, undefined, {
75
- color: {
76
- default: {
77
- root: string;
78
- icon: string;
79
- progress: string;
80
- };
81
- danger: {
82
- root: string;
83
- icon: string;
84
- progress: string;
85
- };
86
- success: {
87
- root: string;
88
- icon: string;
89
- progress: string;
90
- };
91
- warning: {
92
- root: string;
93
- icon: string;
94
- progress: string;
95
- };
96
- primary: {
97
- root: string;
98
- icon: string;
99
- progress: string;
100
- };
101
- secondary: {
102
- root: string;
103
- icon: string;
104
- progress: string;
105
- };
106
- collab: {
107
- root: string;
108
- icon: string;
109
- progress: string;
110
- };
111
- ai: {
112
- root: string;
113
- icon: string;
114
- progress: string;
115
- };
116
- };
117
- orientation: {
118
- horizontal: {
119
- root: string;
120
- actions: string;
121
- };
122
- vertical: {
123
- root: string;
124
- actions: string;
125
- };
126
- };
127
- title: {
128
- true: {
129
- description: string;
130
- };
131
- };
132
- }, {
133
- root: string;
134
- wrapper: string;
135
- title: string;
136
- description: string;
137
- icon: string;
138
- avatar: string;
139
- avatarSize: string;
140
- actions: string;
141
- progress: string;
142
- close: string;
143
- }, import("tailwind-variants").TVReturnType<{
144
- color: {
145
- default: {
146
- root: string;
147
- icon: string;
148
- progress: string;
149
- };
150
- danger: {
151
- root: string;
152
- icon: string;
153
- progress: string;
154
- };
155
- success: {
156
- root: string;
157
- icon: string;
158
- progress: string;
159
- };
160
- warning: {
161
- root: string;
162
- icon: string;
163
- progress: string;
164
- };
165
- primary: {
166
- root: string;
167
- icon: string;
168
- progress: string;
169
- };
170
- secondary: {
171
- root: string;
172
- icon: string;
173
- progress: string;
174
- };
175
- collab: {
176
- root: string;
177
- icon: string;
178
- progress: string;
179
- };
180
- ai: {
181
- root: string;
182
- icon: string;
183
- progress: string;
184
- };
185
- };
186
- orientation: {
187
- horizontal: {
188
- root: string;
189
- actions: string;
190
- };
191
- vertical: {
192
- root: string;
193
- actions: string;
194
- };
195
- };
196
- title: {
197
- true: {
198
- description: string;
199
- };
200
- };
201
- }, {
202
- root: string;
203
- wrapper: string;
204
- title: string;
205
- description: string;
206
- icon: string;
207
- avatar: string;
208
- avatarSize: string;
209
- actions: string;
210
- progress: string;
211
- close: string;
212
- }, undefined, {
213
- color: {
214
- default: {
215
- root: string;
216
- icon: string;
217
- progress: string;
218
- };
219
- danger: {
220
- root: string;
221
- icon: string;
222
- progress: string;
223
- };
224
- success: {
225
- root: string;
226
- icon: string;
227
- progress: string;
228
- };
229
- warning: {
230
- root: string;
231
- icon: string;
232
- progress: string;
233
- };
234
- primary: {
235
- root: string;
236
- icon: string;
237
- progress: string;
238
- };
239
- secondary: {
240
- root: string;
241
- icon: string;
242
- progress: string;
243
- };
244
- collab: {
245
- root: string;
246
- icon: string;
247
- progress: string;
248
- };
249
- ai: {
250
- root: string;
251
- icon: string;
252
- progress: string;
253
- };
254
- };
255
- orientation: {
256
- horizontal: {
257
- root: string;
258
- actions: string;
259
- };
260
- vertical: {
261
- root: string;
262
- actions: string;
263
- };
264
- };
265
- title: {
266
- true: {
267
- description: string;
268
- };
269
- };
270
- }, {
271
- root: string;
272
- wrapper: string;
273
- title: string;
274
- description: string;
275
- icon: string;
276
- avatar: string;
277
- avatarSize: string;
278
- actions: string;
279
- progress: string;
280
- close: string;
281
- }, import("tailwind-variants").TVReturnType<{
282
- color: {
283
- default: {
284
- root: string;
285
- icon: string;
286
- progress: string;
287
- };
288
- danger: {
289
- root: string;
290
- icon: string;
291
- progress: string;
292
- };
293
- success: {
294
- root: string;
295
- icon: string;
296
- progress: string;
297
- };
298
- warning: {
299
- root: string;
300
- icon: string;
301
- progress: string;
302
- };
303
- primary: {
304
- root: string;
305
- icon: string;
306
- progress: string;
307
- };
308
- secondary: {
309
- root: string;
310
- icon: string;
311
- progress: string;
312
- };
313
- collab: {
314
- root: string;
315
- icon: string;
316
- progress: string;
317
- };
318
- ai: {
319
- root: string;
320
- icon: string;
321
- progress: string;
322
- };
323
- };
324
- orientation: {
325
- horizontal: {
326
- root: string;
327
- actions: string;
328
- };
329
- vertical: {
330
- root: string;
331
- actions: string;
332
- };
333
- };
334
- title: {
335
- true: {
336
- description: string;
337
- };
338
- };
339
- }, {
340
- root: string;
341
- wrapper: string;
342
- title: string;
343
- description: string;
344
- icon: string;
345
- avatar: string;
346
- avatarSize: string;
347
- actions: string;
348
- progress: string;
349
- close: string;
350
- }, undefined, unknown, unknown, undefined>>>;
351
- type ToastVariants = VariantProps<typeof toast>;
352
- export interface ToastProps extends Pick<ToastRootProps, 'defaultOpen' | 'open' | 'type' | 'duration'> {
353
- /**
354
- * The element or component this component should render as.
355
- * @defaultValue 'li'
356
- */
357
- as?: any;
358
- title?: StringOrVNode;
359
- description?: StringOrVNode;
360
- /**
361
- * @IconComponent
362
- */
363
- icon?: IconComponent;
364
- avatar?: AvatarProps;
365
- /**
366
- * @defaultValue 'default'
367
- */
368
- color?: ToastVariants['color'];
369
- /**
370
- * The orientation between the content and the actions
371
- * @defaultValue 'vertical'
372
- */
373
- orientation?: ToastVariants['orientation'];
374
- /**
375
- * Display a list of actions:
376
- * - under the title and description when orientation is `vertical`
377
- * - next to the close button when orientation is `horizontal`
378
- * `{ size: 'xs' }`{lang="ts"}
379
- */
380
- actions?: ButtonProps[];
381
- /**
382
- * Display a close button to dismiss the toast.
383
- * `{ size: 'md', color: 'neutral', variant: 'link' }`{lang="ts"}
384
- * @defaultValue true
385
- */
386
- close?: boolean | Partial<ButtonProps>;
387
- /**
388
- * The icon displayed in the close button.
389
- * @defaultValue icons.close
390
- * @IconComponent
391
- */
392
- closeIcon?: IconComponent;
393
- class?: any;
394
- b24ui?: Partial<typeof toast.slots>;
395
- }
396
- export interface ToastEmits extends ToastRootEmits {
397
- }
398
- export interface ToastSlots {
399
- leading(props?: {}): any;
400
- title(props?: {}): any;
401
- description(props?: {}): any;
402
- actions(props?: {}): any;
403
- close(props: {
404
- b24ui: ReturnType<typeof toast>;
405
- }): any;
406
- }
407
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ToastProps>, {
408
- close: boolean;
409
- orientation: string;
410
- }>>, {
411
- height: import("vue").Ref<number, number>;
412
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
413
- close: boolean | Partial<ButtonProps>;
414
- orientation: "horizontal" | "vertical";
415
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ToastSlots> & ToastSlots>;
416
- export default _default;
417
- type __VLS_WithDefaults<P, D> = {
418
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
419
- default: D[K];
420
- }> : P[K];
421
- };
422
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
423
- type __VLS_TypePropsToOption<T> = {
424
- [K in keyof T]-?: {} extends Pick<T, K> ? {
425
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
426
- } : {
427
- type: import('vue').PropType<T[K]>;
428
- required: true;
429
- };
430
- };
431
- type __VLS_WithTemplateSlots<T, S> = T & {
432
- new (): {
433
- $slots: S;
434
- };
435
- };
436
- type __VLS_PrettifyLocal<T> = {
437
- [K in keyof T]: T[K];
438
- } & {};
@@ -1,219 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { ToastProviderProps } from 'reka-ui';
3
- declare const toaster: import("tailwind-variants").TVReturnType<{
4
- position: {
5
- "top-left": {
6
- viewport: string;
7
- };
8
- "top-center": {
9
- viewport: string;
10
- };
11
- "top-right": {
12
- viewport: string;
13
- };
14
- "bottom-left": {
15
- viewport: string;
16
- };
17
- "bottom-center": {
18
- viewport: string;
19
- };
20
- "bottom-right": {
21
- viewport: string;
22
- };
23
- };
24
- swipeDirection: {
25
- up: string;
26
- right: string;
27
- down: string;
28
- left: string;
29
- };
30
- }, {
31
- viewport: string;
32
- base: string;
33
- }, undefined, {
34
- position: {
35
- "top-left": {
36
- viewport: string;
37
- };
38
- "top-center": {
39
- viewport: string;
40
- };
41
- "top-right": {
42
- viewport: string;
43
- };
44
- "bottom-left": {
45
- viewport: string;
46
- };
47
- "bottom-center": {
48
- viewport: string;
49
- };
50
- "bottom-right": {
51
- viewport: string;
52
- };
53
- };
54
- swipeDirection: {
55
- up: string;
56
- right: string;
57
- down: string;
58
- left: string;
59
- };
60
- }, {
61
- viewport: string;
62
- base: string;
63
- }, import("tailwind-variants").TVReturnType<{
64
- position: {
65
- "top-left": {
66
- viewport: string;
67
- };
68
- "top-center": {
69
- viewport: string;
70
- };
71
- "top-right": {
72
- viewport: string;
73
- };
74
- "bottom-left": {
75
- viewport: string;
76
- };
77
- "bottom-center": {
78
- viewport: string;
79
- };
80
- "bottom-right": {
81
- viewport: string;
82
- };
83
- };
84
- swipeDirection: {
85
- up: string;
86
- right: string;
87
- down: string;
88
- left: string;
89
- };
90
- }, {
91
- viewport: string;
92
- base: string;
93
- }, undefined, {
94
- position: {
95
- "top-left": {
96
- viewport: string;
97
- };
98
- "top-center": {
99
- viewport: string;
100
- };
101
- "top-right": {
102
- viewport: string;
103
- };
104
- "bottom-left": {
105
- viewport: string;
106
- };
107
- "bottom-center": {
108
- viewport: string;
109
- };
110
- "bottom-right": {
111
- viewport: string;
112
- };
113
- };
114
- swipeDirection: {
115
- up: string;
116
- right: string;
117
- down: string;
118
- left: string;
119
- };
120
- }, {
121
- viewport: string;
122
- base: string;
123
- }, import("tailwind-variants").TVReturnType<{
124
- position: {
125
- "top-left": {
126
- viewport: string;
127
- };
128
- "top-center": {
129
- viewport: string;
130
- };
131
- "top-right": {
132
- viewport: string;
133
- };
134
- "bottom-left": {
135
- viewport: string;
136
- };
137
- "bottom-center": {
138
- viewport: string;
139
- };
140
- "bottom-right": {
141
- viewport: string;
142
- };
143
- };
144
- swipeDirection: {
145
- up: string;
146
- right: string;
147
- down: string;
148
- left: string;
149
- };
150
- }, {
151
- viewport: string;
152
- base: string;
153
- }, undefined, unknown, unknown, undefined>>>;
154
- type ToasterVariants = VariantProps<typeof toaster>;
155
- export interface ToasterProps extends Omit<ToastProviderProps, 'swipeDirection'> {
156
- /**
157
- * The position on the screen to display the toasts.
158
- * @defaultValue 'top-right'
159
- */
160
- position?: ToasterVariants['position'];
161
- /**
162
- * Expand the toasts to show multiple toasts at once.
163
- * @defaultValue true
164
- */
165
- expand?: boolean;
166
- /**
167
- * Render the toaster in a portal.
168
- * @defaultValue true
169
- */
170
- portal?: boolean;
171
- /**
172
- * @defaultValue 5000
173
- */
174
- duration?: number;
175
- class?: any;
176
- b24ui?: Partial<typeof toaster.slots>;
177
- }
178
- export interface ToasterSlots {
179
- default(props?: {}): any;
180
- }
181
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ToasterProps>, {
182
- position: "top-right";
183
- expand: boolean;
184
- duration: number;
185
- portal: boolean;
186
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ToasterProps>, {
187
- position: "top-right";
188
- expand: boolean;
189
- duration: number;
190
- portal: boolean;
191
- }>>> & Readonly<{}>, {
192
- duration: number;
193
- position: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
194
- expand: boolean;
195
- portal: boolean;
196
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ToasterSlots> & ToasterSlots>;
197
- export default _default;
198
- type __VLS_WithDefaults<P, D> = {
199
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
200
- default: D[K];
201
- }> : P[K];
202
- };
203
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
204
- type __VLS_TypePropsToOption<T> = {
205
- [K in keyof T]-?: {} extends Pick<T, K> ? {
206
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
207
- } : {
208
- type: import('vue').PropType<T[K]>;
209
- required: true;
210
- };
211
- };
212
- type __VLS_WithTemplateSlots<T, S> = T & {
213
- new (): {
214
- $slots: S;
215
- };
216
- };
217
- type __VLS_PrettifyLocal<T> = {
218
- [K in keyof T]: T[K];
219
- } & {};