@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,360 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { DialogRootProps, DialogRootEmits, DialogContentProps, DialogContentEmits } from 'reka-ui';
3
- import type { ButtonProps, IconComponent } from '../types';
4
- import type { EmitsToProps } from '../types/utils';
5
- declare const slideover: import("tailwind-variants").TVReturnType<{
6
- overlayBlur: {
7
- auto: {
8
- overlay: string;
9
- };
10
- on: {
11
- overlay: string;
12
- };
13
- off: {
14
- overlay: string;
15
- };
16
- };
17
- side: {
18
- top: {
19
- content: string;
20
- };
21
- right: {
22
- content: string;
23
- };
24
- bottom: {
25
- content: string;
26
- };
27
- left: {
28
- content: string;
29
- };
30
- };
31
- transition: {
32
- true: {
33
- overlay: string;
34
- };
35
- };
36
- scrollbarThin: {
37
- true: {
38
- body: string;
39
- };
40
- };
41
- }, {
42
- overlay: string;
43
- content: string;
44
- header: string;
45
- wrapper: string;
46
- body: string;
47
- footer: string;
48
- title: string;
49
- description: string;
50
- close: string;
51
- safeList: string;
52
- }, undefined, {
53
- overlayBlur: {
54
- auto: {
55
- overlay: string;
56
- };
57
- on: {
58
- overlay: string;
59
- };
60
- off: {
61
- overlay: string;
62
- };
63
- };
64
- side: {
65
- top: {
66
- content: string;
67
- };
68
- right: {
69
- content: string;
70
- };
71
- bottom: {
72
- content: string;
73
- };
74
- left: {
75
- content: string;
76
- };
77
- };
78
- transition: {
79
- true: {
80
- overlay: string;
81
- };
82
- };
83
- scrollbarThin: {
84
- true: {
85
- body: string;
86
- };
87
- };
88
- }, {
89
- overlay: string;
90
- content: string;
91
- header: string;
92
- wrapper: string;
93
- body: string;
94
- footer: string;
95
- title: string;
96
- description: string;
97
- close: string;
98
- safeList: string;
99
- }, import("tailwind-variants").TVReturnType<{
100
- overlayBlur: {
101
- auto: {
102
- overlay: string;
103
- };
104
- on: {
105
- overlay: string;
106
- };
107
- off: {
108
- overlay: string;
109
- };
110
- };
111
- side: {
112
- top: {
113
- content: string;
114
- };
115
- right: {
116
- content: string;
117
- };
118
- bottom: {
119
- content: string;
120
- };
121
- left: {
122
- content: string;
123
- };
124
- };
125
- transition: {
126
- true: {
127
- overlay: string;
128
- };
129
- };
130
- scrollbarThin: {
131
- true: {
132
- body: string;
133
- };
134
- };
135
- }, {
136
- overlay: string;
137
- content: string;
138
- header: string;
139
- wrapper: string;
140
- body: string;
141
- footer: string;
142
- title: string;
143
- description: string;
144
- close: string;
145
- safeList: string;
146
- }, undefined, {
147
- overlayBlur: {
148
- auto: {
149
- overlay: string;
150
- };
151
- on: {
152
- overlay: string;
153
- };
154
- off: {
155
- overlay: string;
156
- };
157
- };
158
- side: {
159
- top: {
160
- content: string;
161
- };
162
- right: {
163
- content: string;
164
- };
165
- bottom: {
166
- content: string;
167
- };
168
- left: {
169
- content: string;
170
- };
171
- };
172
- transition: {
173
- true: {
174
- overlay: string;
175
- };
176
- };
177
- scrollbarThin: {
178
- true: {
179
- body: string;
180
- };
181
- };
182
- }, {
183
- overlay: string;
184
- content: string;
185
- header: string;
186
- wrapper: string;
187
- body: string;
188
- footer: string;
189
- title: string;
190
- description: string;
191
- close: string;
192
- safeList: string;
193
- }, import("tailwind-variants").TVReturnType<{
194
- overlayBlur: {
195
- auto: {
196
- overlay: string;
197
- };
198
- on: {
199
- overlay: string;
200
- };
201
- off: {
202
- overlay: string;
203
- };
204
- };
205
- side: {
206
- top: {
207
- content: string;
208
- };
209
- right: {
210
- content: string;
211
- };
212
- bottom: {
213
- content: string;
214
- };
215
- left: {
216
- content: string;
217
- };
218
- };
219
- transition: {
220
- true: {
221
- overlay: string;
222
- };
223
- };
224
- scrollbarThin: {
225
- true: {
226
- body: string;
227
- };
228
- };
229
- }, {
230
- overlay: string;
231
- content: string;
232
- header: string;
233
- wrapper: string;
234
- body: string;
235
- footer: string;
236
- title: string;
237
- description: string;
238
- close: string;
239
- safeList: string;
240
- }, undefined, unknown, unknown, undefined>>>;
241
- type SlideoverVariants = VariantProps<typeof slideover>;
242
- export interface SlideoverProps extends DialogRootProps {
243
- title?: string;
244
- description?: string;
245
- /**
246
- * The content of the slideover
247
- */
248
- content?: Omit<DialogContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<DialogContentEmits>>;
249
- /**
250
- * Render an overlay behind the slideover.
251
- * @defaultValue true
252
- */
253
- overlay?: boolean;
254
- /**
255
- * Render an overlay blur behind the slideover.
256
- * `auto` use `motion-safe`.
257
- * @defaultValue 'auto'
258
- */
259
- overlayBlur?: SlideoverVariants['overlayBlur'];
260
- /**
261
- * Animate the slideover when opening or closing.
262
- * @defaultValue true
263
- */
264
- transition?: boolean;
265
- /**
266
- * The side of the slideover.
267
- * @defaultValue 'right'
268
- */
269
- side?: SlideoverVariants['side'];
270
- /**
271
- * Render the slideover in a portal.
272
- * @defaultValue true
273
- */
274
- portal?: boolean;
275
- /**
276
- * Display a close button to dismiss the slideover.
277
- * `{ color: 'primary' }`{lang="ts"} for `left`, `right`
278
- * `{ color: 'link' }`{lang="ts"} for `top`, `bottom`
279
- * @defaultValue true
280
- */
281
- close?: boolean | Partial<ButtonProps>;
282
- /**
283
- * The icon displayed in the close button.
284
- * @defaultValue icons.close
285
- * @IconifyIcon
286
- */
287
- closeIcon?: IconComponent;
288
- /**
289
- * When `false`, the slideover will not close when clicking outside or pressing escape.
290
- * @defaultValue false
291
- */
292
- dismissible?: boolean;
293
- /**
294
- * @defaultValue true
295
- */
296
- scrollbarThin?: boolean;
297
- class?: any;
298
- b24ui?: Partial<typeof slideover.slots>;
299
- }
300
- export interface SlideoverEmits extends DialogRootEmits {
301
- 'after:leave': [];
302
- }
303
- export interface SlideoverSlots {
304
- default(props: {
305
- open: boolean;
306
- }): any;
307
- content(props?: {}): any;
308
- header(props?: {}): any;
309
- title(props?: {}): any;
310
- description(props?: {}): any;
311
- close(props: {
312
- b24ui: ReturnType<typeof slideover>;
313
- }): any;
314
- body(props?: {}): any;
315
- footer(props?: {}): any;
316
- }
317
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SlideoverProps>, {
318
- close: boolean;
319
- portal: boolean;
320
- overlay: boolean;
321
- transition: boolean;
322
- modal: boolean;
323
- dismissible: boolean;
324
- side: string;
325
- scrollbarThin: boolean;
326
- overlayBlur: string;
327
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
328
- modal: boolean;
329
- close: boolean | Partial<ButtonProps>;
330
- portal: boolean;
331
- overlay: boolean;
332
- side: "right" | "left" | "top" | "bottom";
333
- overlayBlur: "off" | "auto" | "on";
334
- transition: boolean;
335
- scrollbarThin: boolean;
336
- dismissible: boolean;
337
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<SlideoverSlots> & SlideoverSlots>;
338
- export default _default;
339
- type __VLS_WithDefaults<P, D> = {
340
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
341
- default: D[K];
342
- }> : P[K];
343
- };
344
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
345
- type __VLS_TypePropsToOption<T> = {
346
- [K in keyof T]-?: {} extends Pick<T, K> ? {
347
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
348
- } : {
349
- type: import('vue').PropType<T[K]>;
350
- required: true;
351
- };
352
- };
353
- type __VLS_WithTemplateSlots<T, S> = T & {
354
- new (): {
355
- $slots: S;
356
- };
357
- };
358
- type __VLS_PrettifyLocal<T> = {
359
- [K in keyof T]: T[K];
360
- } & {};
@@ -1,192 +0,0 @@
1
- declare const stackedLayout: import("tailwind-variants").TVReturnType<{
2
- useSidebar: {
3
- true: string;
4
- false: string;
5
- };
6
- useLightContent: {
7
- true: {
8
- root: string;
9
- containerWrapper: string;
10
- };
11
- false: {
12
- container: string;
13
- };
14
- };
15
- }, {
16
- root: string;
17
- sidebarSlideoverContainer: string;
18
- sidebarSlideover: string;
19
- sidebarSlideoverBtnClose: string;
20
- header: string;
21
- headerMenuIcon: string;
22
- headerPaddings: string;
23
- headerWrapper: string;
24
- container: string;
25
- containerWrapper: string;
26
- containerWrapperInner: string;
27
- }, undefined, {
28
- useSidebar: {
29
- true: string;
30
- false: string;
31
- };
32
- useLightContent: {
33
- true: {
34
- root: string;
35
- containerWrapper: string;
36
- };
37
- false: {
38
- container: string;
39
- };
40
- };
41
- }, {
42
- root: string;
43
- sidebarSlideoverContainer: string;
44
- sidebarSlideover: string;
45
- sidebarSlideoverBtnClose: string;
46
- header: string;
47
- headerMenuIcon: string;
48
- headerPaddings: string;
49
- headerWrapper: string;
50
- container: string;
51
- containerWrapper: string;
52
- containerWrapperInner: string;
53
- }, import("tailwind-variants").TVReturnType<{
54
- useSidebar: {
55
- true: string;
56
- false: string;
57
- };
58
- useLightContent: {
59
- true: {
60
- root: string;
61
- containerWrapper: string;
62
- };
63
- false: {
64
- container: string;
65
- };
66
- };
67
- }, {
68
- root: string;
69
- sidebarSlideoverContainer: string;
70
- sidebarSlideover: string;
71
- sidebarSlideoverBtnClose: string;
72
- header: string;
73
- headerMenuIcon: string;
74
- headerPaddings: string;
75
- headerWrapper: string;
76
- container: string;
77
- containerWrapper: string;
78
- containerWrapperInner: string;
79
- }, undefined, {
80
- useSidebar: {
81
- true: string;
82
- false: string;
83
- };
84
- useLightContent: {
85
- true: {
86
- root: string;
87
- containerWrapper: string;
88
- };
89
- false: {
90
- container: string;
91
- };
92
- };
93
- }, {
94
- root: string;
95
- sidebarSlideoverContainer: string;
96
- sidebarSlideover: string;
97
- sidebarSlideoverBtnClose: string;
98
- header: string;
99
- headerMenuIcon: string;
100
- headerPaddings: string;
101
- headerWrapper: string;
102
- container: string;
103
- containerWrapper: string;
104
- containerWrapperInner: string;
105
- }, import("tailwind-variants").TVReturnType<{
106
- useSidebar: {
107
- true: string;
108
- false: string;
109
- };
110
- useLightContent: {
111
- true: {
112
- root: string;
113
- containerWrapper: string;
114
- };
115
- false: {
116
- container: string;
117
- };
118
- };
119
- }, {
120
- root: string;
121
- sidebarSlideoverContainer: string;
122
- sidebarSlideover: string;
123
- sidebarSlideoverBtnClose: string;
124
- header: string;
125
- headerMenuIcon: string;
126
- headerPaddings: string;
127
- headerWrapper: string;
128
- container: string;
129
- containerWrapper: string;
130
- containerWrapperInner: string;
131
- }, undefined, unknown, unknown, undefined>>>;
132
- export interface StackedLayoutProps {
133
- /**
134
- * The element or component this component should render as.
135
- * @defaultValue 'div'
136
- */
137
- as?: any;
138
- useLightContent?: boolean;
139
- class?: any;
140
- b24ui?: Partial<typeof stackedLayout.slots>;
141
- }
142
- export interface StackedLayoutSlots {
143
- /**
144
- * Menu for mobile screen sizes.
145
- * @param props
146
- * @param props.handleClick - Handler for navigation click events
147
- */
148
- sidebar(props: {
149
- handleClick: () => void;
150
- }): any;
151
- /**
152
- * Menu for desktop screen sizes.
153
- */
154
- navbar(props?: {}): any;
155
- /**
156
- * The page content.
157
- */
158
- default(props?: {}): any;
159
- }
160
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<StackedLayoutProps>, {
161
- as: string;
162
- useLightContent: boolean;
163
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<StackedLayoutProps>, {
164
- as: string;
165
- useLightContent: boolean;
166
- }>>> & Readonly<{}>, {
167
- as: any;
168
- useLightContent: boolean;
169
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<StackedLayoutSlots> & StackedLayoutSlots>;
170
- export default _default;
171
- type __VLS_WithDefaults<P, D> = {
172
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
173
- default: D[K];
174
- }> : P[K];
175
- };
176
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
177
- type __VLS_TypePropsToOption<T> = {
178
- [K in keyof T]-?: {} extends Pick<T, K> ? {
179
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
180
- } : {
181
- type: import('vue').PropType<T[K]>;
182
- required: true;
183
- };
184
- };
185
- type __VLS_WithTemplateSlots<T, S> = T & {
186
- new (): {
187
- $slots: S;
188
- };
189
- };
190
- type __VLS_PrettifyLocal<T> = {
191
- [K in keyof T]: T[K];
192
- } & {};