@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.
- package/dist/meta.cjs +72112 -0
- package/dist/meta.d.cts +72110 -0
- package/dist/meta.d.mts +5060 -5060
- package/dist/meta.d.ts +72110 -0
- package/dist/meta.mjs +5060 -5060
- package/dist/module.cjs +63 -0
- package/dist/module.d.cts +15 -0
- package/dist/module.d.ts +15 -0
- package/dist/module.json +3 -3
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Advice.vue +54 -47
- package/dist/runtime/components/Alert.vue +96 -71
- package/dist/runtime/components/App.vue +34 -37
- package/dist/runtime/components/Avatar.vue +81 -69
- package/dist/runtime/components/AvatarGroup.vue +76 -53
- package/dist/runtime/components/Badge.vue +83 -83
- package/dist/runtime/components/Button.vue +157 -220
- package/dist/runtime/components/ButtonGroup.vue +51 -35
- package/dist/runtime/components/Calendar.vue +152 -186
- package/dist/runtime/components/Checkbox.vue +73 -84
- package/dist/runtime/components/Chip.vue +74 -59
- package/dist/runtime/components/Collapsible.vue +41 -44
- package/dist/runtime/components/Container.vue +27 -18
- package/dist/runtime/components/Countdown.vue +378 -198
- package/dist/runtime/components/DescriptionList.vue +149 -102
- package/dist/runtime/components/DropdownMenu.vue +139 -83
- package/dist/runtime/components/DropdownMenuContent.vue +84 -137
- package/dist/runtime/components/Form.vue +216 -162
- package/dist/runtime/components/FormField.vue +80 -76
- package/dist/runtime/components/Input.vue +179 -160
- package/dist/runtime/components/InputMenu.vue +380 -300
- package/dist/runtime/components/InputNumber.vue +175 -178
- package/dist/runtime/components/Kbd.vue +45 -33
- package/dist/runtime/components/Link.vue +173 -179
- package/dist/runtime/components/LinkBase.vue +42 -64
- package/dist/runtime/components/Modal.vue +127 -105
- package/dist/runtime/components/ModalDialogClose.vue +8 -4
- package/dist/runtime/components/Navbar.vue +33 -24
- package/dist/runtime/components/NavbarDivider.vue +33 -24
- package/dist/runtime/components/NavbarSection.vue +33 -24
- package/dist/runtime/components/NavbarSpacer.vue +33 -24
- package/dist/runtime/components/NavigationMenu.vue +210 -144
- package/dist/runtime/components/OverlayProvider.vue +17 -13
- package/dist/runtime/components/Popover.vue +81 -81
- package/dist/runtime/components/Progress.vue +136 -109
- package/dist/runtime/components/RadioGroup.vue +134 -120
- package/dist/runtime/components/Range.vue +85 -94
- package/dist/runtime/components/Select.vue +260 -212
- package/dist/runtime/components/SelectMenu.vue +365 -272
- package/dist/runtime/components/Separator.vue +71 -61
- package/dist/runtime/components/Sidebar.vue +33 -24
- package/dist/runtime/components/SidebarBody.vue +38 -30
- package/dist/runtime/components/SidebarFooter.vue +33 -24
- package/dist/runtime/components/SidebarHeader.vue +33 -24
- package/dist/runtime/components/SidebarHeading.vue +33 -24
- package/dist/runtime/components/SidebarLayout.vue +70 -40
- package/dist/runtime/components/SidebarSection.vue +33 -24
- package/dist/runtime/components/SidebarSpacer.vue +33 -24
- package/dist/runtime/components/Skeleton.vue +22 -17
- package/dist/runtime/components/Slideover.vue +131 -108
- package/dist/runtime/components/StackedLayout.vue +73 -40
- package/dist/runtime/components/Switch.vue +95 -100
- package/dist/runtime/components/Tabs.vue +107 -81
- package/dist/runtime/components/Textarea.vue +201 -177
- package/dist/runtime/components/Toast.vue +105 -94
- package/dist/runtime/components/Toaster.vue +116 -94
- package/dist/runtime/components/Tooltip.vue +64 -78
- package/dist/runtime/components/content/TableWrapper.vue +70 -58
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
- package/dist/runtime/composables/useComponentIcons.d.ts +3 -3
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/prose/A.vue +23 -18
- package/dist/runtime/prose/Blockquote.vue +23 -18
- package/dist/runtime/prose/Code.vue +31 -23
- package/dist/runtime/prose/Em.vue +23 -18
- package/dist/runtime/prose/H1.vue +23 -18
- package/dist/runtime/prose/H2.vue +23 -18
- package/dist/runtime/prose/H3.vue +23 -18
- package/dist/runtime/prose/H4.vue +23 -18
- package/dist/runtime/prose/H5.vue +23 -18
- package/dist/runtime/prose/H6.vue +23 -18
- package/dist/runtime/prose/Hr.vue +19 -18
- package/dist/runtime/prose/Img.vue +23 -18
- package/dist/runtime/prose/Li.vue +23 -18
- package/dist/runtime/prose/Ol.vue +23 -18
- package/dist/runtime/prose/P.vue +23 -18
- package/dist/runtime/prose/Pre.vue +33 -28
- package/dist/runtime/prose/Strong.vue +23 -18
- package/dist/runtime/prose/Table.vue +54 -44
- package/dist/runtime/prose/Tbody.vue +23 -18
- package/dist/runtime/prose/Td.vue +23 -18
- package/dist/runtime/prose/Th.vue +23 -18
- package/dist/runtime/prose/Thead.vue +23 -18
- package/dist/runtime/prose/Tr.vue +23 -18
- package/dist/runtime/prose/Ul.vue +23 -18
- package/dist/runtime/vue/components/Link.vue +202 -201
- package/dist/shared/b24ui-nuxt.DrKwIWoc.cjs +7721 -0
- package/dist/types.d.mts +5 -3
- package/dist/types.d.ts +7 -0
- package/dist/unplugin.cjs +236 -0
- package/dist/unplugin.d.cts +33 -0
- package/dist/unplugin.d.ts +33 -0
- package/dist/vite.cjs +21 -0
- package/dist/vite.d.cts +14 -0
- package/dist/vite.d.ts +14 -0
- package/package.json +25 -13
- package/dist/runtime/components/Advice.vue.d.ts +0 -170
- package/dist/runtime/components/Alert.vue.d.ts +0 -464
- package/dist/runtime/components/App.vue.d.ts +0 -23
- package/dist/runtime/components/Avatar.vue.d.ts +0 -281
- package/dist/runtime/components/AvatarGroup.vue.d.ts +0 -204
- package/dist/runtime/components/Badge.vue.d.ts +0 -517
- package/dist/runtime/components/Button.vue.d.ts +0 -640
- package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -116
- package/dist/runtime/components/Calendar.vue.d.ts +0 -437
- package/dist/runtime/components/Checkbox.vue.d.ts +0 -354
- package/dist/runtime/components/Chip.vue.d.ts +0 -271
- package/dist/runtime/components/Collapsible.vue.d.ts +0 -118
- package/dist/runtime/components/Container.vue.d.ts +0 -27
- package/dist/runtime/components/Countdown.vue.d.ts +0 -356
- package/dist/runtime/components/DescriptionList.vue.d.ts +0 -379
- package/dist/runtime/components/DropdownMenu.vue.d.ts +0 -533
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -228
- package/dist/runtime/components/Form.vue.d.ts +0 -55
- package/dist/runtime/components/FormField.vue.d.ts +0 -282
- package/dist/runtime/components/Input.vue.d.ts +0 -755
- package/dist/runtime/components/InputMenu.vue.d.ts +0 -1504
- package/dist/runtime/components/InputNumber.vue.d.ts +0 -658
- package/dist/runtime/components/Kbd.vue.d.ts +0 -109
- package/dist/runtime/components/Link.vue.d.ts +0 -129
- package/dist/runtime/components/LinkBase.vue.d.ts +0 -48
- package/dist/runtime/components/Modal.vue.d.ts +0 -327
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +0 -10
- package/dist/runtime/components/Navbar.vue.d.ts +0 -101
- package/dist/runtime/components/NavbarDivider.vue.d.ts +0 -101
- package/dist/runtime/components/NavbarSection.vue.d.ts +0 -101
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +0 -101
- package/dist/runtime/components/NavigationMenu.vue.d.ts +0 -824
- package/dist/runtime/components/OverlayProvider.vue.d.ts +0 -2
- package/dist/runtime/components/Popover.vue.d.ts +0 -147
- package/dist/runtime/components/Progress.vue.d.ts +0 -592
- package/dist/runtime/components/RadioGroup.vue.d.ts +0 -723
- package/dist/runtime/components/Range.vue.d.ts +0 -417
- package/dist/runtime/components/Select.vue.d.ts +0 -1200
- package/dist/runtime/components/SelectMenu.vue.d.ts +0 -1298
- package/dist/runtime/components/Separator.vue.d.ts +0 -400
- package/dist/runtime/components/Sidebar.vue.d.ts +0 -101
- package/dist/runtime/components/SidebarBody.vue.d.ts +0 -90
- package/dist/runtime/components/SidebarFooter.vue.d.ts +0 -101
- package/dist/runtime/components/SidebarHeader.vue.d.ts +0 -101
- package/dist/runtime/components/SidebarHeading.vue.d.ts +0 -101
- package/dist/runtime/components/SidebarLayout.vue.d.ts +0 -222
- package/dist/runtime/components/SidebarSection.vue.d.ts +0 -101
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +0 -101
- package/dist/runtime/components/Skeleton.vue.d.ts +0 -26
- package/dist/runtime/components/Slideover.vue.d.ts +0 -360
- package/dist/runtime/components/StackedLayout.vue.d.ts +0 -192
- package/dist/runtime/components/Switch.vue.d.ts +0 -587
- package/dist/runtime/components/Tabs.vue.d.ts +0 -453
- package/dist/runtime/components/Textarea.vue.d.ts +0 -601
- package/dist/runtime/components/Toast.vue.d.ts +0 -438
- package/dist/runtime/components/Toaster.vue.d.ts +0 -219
- package/dist/runtime/components/Tooltip.vue.d.ts +0 -186
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +0 -237
- package/dist/runtime/prose/A.vue.d.ts +0 -84
- package/dist/runtime/prose/Blockquote.vue.d.ts +0 -84
- package/dist/runtime/prose/Code.vue.d.ts +0 -97
- package/dist/runtime/prose/Em.vue.d.ts +0 -84
- package/dist/runtime/prose/H1.vue.d.ts +0 -97
- package/dist/runtime/prose/H2.vue.d.ts +0 -123
- package/dist/runtime/prose/H3.vue.d.ts +0 -123
- package/dist/runtime/prose/H4.vue.d.ts +0 -123
- package/dist/runtime/prose/H5.vue.d.ts +0 -123
- package/dist/runtime/prose/H6.vue.d.ts +0 -123
- package/dist/runtime/prose/Hr.vue.d.ts +0 -74
- package/dist/runtime/prose/Img.vue.d.ts +0 -77
- package/dist/runtime/prose/Li.vue.d.ts +0 -84
- package/dist/runtime/prose/Ol.vue.d.ts +0 -84
- package/dist/runtime/prose/P.vue.d.ts +0 -84
- package/dist/runtime/prose/Pre.vue.d.ts +0 -117
- package/dist/runtime/prose/Strong.vue.d.ts +0 -84
- package/dist/runtime/prose/Table.vue.d.ts +0 -144
- package/dist/runtime/prose/Tbody.vue.d.ts +0 -84
- package/dist/runtime/prose/Td.vue.d.ts +0 -84
- package/dist/runtime/prose/Th.vue.d.ts +0 -84
- package/dist/runtime/prose/Thead.vue.d.ts +0 -84
- package/dist/runtime/prose/Tr.vue.d.ts +0 -84
- package/dist/runtime/prose/Ul.vue.d.ts +0 -84
- package/dist/runtime/vue/components/Link.vue.d.ts +0 -129
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
import type { VariantProps } from 'tailwind-variants';
|
|
2
|
-
import type { AvatarProps, ButtonProps, IconComponent } from '../types';
|
|
3
|
-
import type { DynamicSlots } from '../types/utils';
|
|
4
|
-
declare const descriptionList: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
size: {
|
|
6
|
-
sm: {
|
|
7
|
-
legend: string;
|
|
8
|
-
text: string;
|
|
9
|
-
container: string;
|
|
10
|
-
labelWrapper: string;
|
|
11
|
-
avatarSize: string;
|
|
12
|
-
label: string;
|
|
13
|
-
descriptionWrapper: string;
|
|
14
|
-
description: string;
|
|
15
|
-
footer: string;
|
|
16
|
-
};
|
|
17
|
-
md: {
|
|
18
|
-
legend: string;
|
|
19
|
-
text: string;
|
|
20
|
-
container: string;
|
|
21
|
-
labelWrapper: string;
|
|
22
|
-
avatarSize: string;
|
|
23
|
-
label: string;
|
|
24
|
-
descriptionWrapper: string;
|
|
25
|
-
description: string;
|
|
26
|
-
footer: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
orientation: {
|
|
30
|
-
horizontal: {
|
|
31
|
-
descriptionWrapper: string;
|
|
32
|
-
actions: string;
|
|
33
|
-
};
|
|
34
|
-
vertical: {
|
|
35
|
-
descriptionWrapper: string;
|
|
36
|
-
actions: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
title: {
|
|
40
|
-
true: {
|
|
41
|
-
description: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}, {
|
|
45
|
-
root: string;
|
|
46
|
-
legend: string;
|
|
47
|
-
text: string;
|
|
48
|
-
container: string;
|
|
49
|
-
labelWrapper: string;
|
|
50
|
-
icon: string;
|
|
51
|
-
avatar: string;
|
|
52
|
-
avatarSize: string;
|
|
53
|
-
label: string;
|
|
54
|
-
descriptionWrapper: string;
|
|
55
|
-
description: string;
|
|
56
|
-
actions: string;
|
|
57
|
-
footer: string;
|
|
58
|
-
}, undefined, {
|
|
59
|
-
size: {
|
|
60
|
-
sm: {
|
|
61
|
-
legend: string;
|
|
62
|
-
text: string;
|
|
63
|
-
container: string;
|
|
64
|
-
labelWrapper: string;
|
|
65
|
-
avatarSize: string;
|
|
66
|
-
label: string;
|
|
67
|
-
descriptionWrapper: string;
|
|
68
|
-
description: string;
|
|
69
|
-
footer: string;
|
|
70
|
-
};
|
|
71
|
-
md: {
|
|
72
|
-
legend: string;
|
|
73
|
-
text: string;
|
|
74
|
-
container: string;
|
|
75
|
-
labelWrapper: string;
|
|
76
|
-
avatarSize: string;
|
|
77
|
-
label: string;
|
|
78
|
-
descriptionWrapper: string;
|
|
79
|
-
description: string;
|
|
80
|
-
footer: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
orientation: {
|
|
84
|
-
horizontal: {
|
|
85
|
-
descriptionWrapper: string;
|
|
86
|
-
actions: string;
|
|
87
|
-
};
|
|
88
|
-
vertical: {
|
|
89
|
-
descriptionWrapper: string;
|
|
90
|
-
actions: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
title: {
|
|
94
|
-
true: {
|
|
95
|
-
description: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
}, {
|
|
99
|
-
root: string;
|
|
100
|
-
legend: string;
|
|
101
|
-
text: string;
|
|
102
|
-
container: string;
|
|
103
|
-
labelWrapper: string;
|
|
104
|
-
icon: string;
|
|
105
|
-
avatar: string;
|
|
106
|
-
avatarSize: string;
|
|
107
|
-
label: string;
|
|
108
|
-
descriptionWrapper: string;
|
|
109
|
-
description: string;
|
|
110
|
-
actions: string;
|
|
111
|
-
footer: string;
|
|
112
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
113
|
-
size: {
|
|
114
|
-
sm: {
|
|
115
|
-
legend: string;
|
|
116
|
-
text: string;
|
|
117
|
-
container: string;
|
|
118
|
-
labelWrapper: string;
|
|
119
|
-
avatarSize: string;
|
|
120
|
-
label: string;
|
|
121
|
-
descriptionWrapper: string;
|
|
122
|
-
description: string;
|
|
123
|
-
footer: string;
|
|
124
|
-
};
|
|
125
|
-
md: {
|
|
126
|
-
legend: string;
|
|
127
|
-
text: string;
|
|
128
|
-
container: string;
|
|
129
|
-
labelWrapper: string;
|
|
130
|
-
avatarSize: string;
|
|
131
|
-
label: string;
|
|
132
|
-
descriptionWrapper: string;
|
|
133
|
-
description: string;
|
|
134
|
-
footer: string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
orientation: {
|
|
138
|
-
horizontal: {
|
|
139
|
-
descriptionWrapper: string;
|
|
140
|
-
actions: string;
|
|
141
|
-
};
|
|
142
|
-
vertical: {
|
|
143
|
-
descriptionWrapper: string;
|
|
144
|
-
actions: string;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
title: {
|
|
148
|
-
true: {
|
|
149
|
-
description: string;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
}, {
|
|
153
|
-
root: string;
|
|
154
|
-
legend: string;
|
|
155
|
-
text: string;
|
|
156
|
-
container: string;
|
|
157
|
-
labelWrapper: string;
|
|
158
|
-
icon: string;
|
|
159
|
-
avatar: string;
|
|
160
|
-
avatarSize: string;
|
|
161
|
-
label: string;
|
|
162
|
-
descriptionWrapper: string;
|
|
163
|
-
description: string;
|
|
164
|
-
actions: string;
|
|
165
|
-
footer: string;
|
|
166
|
-
}, undefined, {
|
|
167
|
-
size: {
|
|
168
|
-
sm: {
|
|
169
|
-
legend: string;
|
|
170
|
-
text: string;
|
|
171
|
-
container: string;
|
|
172
|
-
labelWrapper: string;
|
|
173
|
-
avatarSize: string;
|
|
174
|
-
label: string;
|
|
175
|
-
descriptionWrapper: string;
|
|
176
|
-
description: string;
|
|
177
|
-
footer: string;
|
|
178
|
-
};
|
|
179
|
-
md: {
|
|
180
|
-
legend: string;
|
|
181
|
-
text: string;
|
|
182
|
-
container: string;
|
|
183
|
-
labelWrapper: string;
|
|
184
|
-
avatarSize: string;
|
|
185
|
-
label: string;
|
|
186
|
-
descriptionWrapper: string;
|
|
187
|
-
description: string;
|
|
188
|
-
footer: string;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
orientation: {
|
|
192
|
-
horizontal: {
|
|
193
|
-
descriptionWrapper: string;
|
|
194
|
-
actions: string;
|
|
195
|
-
};
|
|
196
|
-
vertical: {
|
|
197
|
-
descriptionWrapper: string;
|
|
198
|
-
actions: string;
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
title: {
|
|
202
|
-
true: {
|
|
203
|
-
description: string;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
}, {
|
|
207
|
-
root: string;
|
|
208
|
-
legend: string;
|
|
209
|
-
text: string;
|
|
210
|
-
container: string;
|
|
211
|
-
labelWrapper: string;
|
|
212
|
-
icon: string;
|
|
213
|
-
avatar: string;
|
|
214
|
-
avatarSize: string;
|
|
215
|
-
label: string;
|
|
216
|
-
descriptionWrapper: string;
|
|
217
|
-
description: string;
|
|
218
|
-
actions: string;
|
|
219
|
-
footer: string;
|
|
220
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
221
|
-
size: {
|
|
222
|
-
sm: {
|
|
223
|
-
legend: string;
|
|
224
|
-
text: string;
|
|
225
|
-
container: string;
|
|
226
|
-
labelWrapper: string;
|
|
227
|
-
avatarSize: string;
|
|
228
|
-
label: string;
|
|
229
|
-
descriptionWrapper: string;
|
|
230
|
-
description: string;
|
|
231
|
-
footer: string;
|
|
232
|
-
};
|
|
233
|
-
md: {
|
|
234
|
-
legend: string;
|
|
235
|
-
text: string;
|
|
236
|
-
container: string;
|
|
237
|
-
labelWrapper: string;
|
|
238
|
-
avatarSize: string;
|
|
239
|
-
label: string;
|
|
240
|
-
descriptionWrapper: string;
|
|
241
|
-
description: string;
|
|
242
|
-
footer: string;
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
orientation: {
|
|
246
|
-
horizontal: {
|
|
247
|
-
descriptionWrapper: string;
|
|
248
|
-
actions: string;
|
|
249
|
-
};
|
|
250
|
-
vertical: {
|
|
251
|
-
descriptionWrapper: string;
|
|
252
|
-
actions: string;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
title: {
|
|
256
|
-
true: {
|
|
257
|
-
description: string;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
}, {
|
|
261
|
-
root: string;
|
|
262
|
-
legend: string;
|
|
263
|
-
text: string;
|
|
264
|
-
container: string;
|
|
265
|
-
labelWrapper: string;
|
|
266
|
-
icon: string;
|
|
267
|
-
avatar: string;
|
|
268
|
-
avatarSize: string;
|
|
269
|
-
label: string;
|
|
270
|
-
descriptionWrapper: string;
|
|
271
|
-
description: string;
|
|
272
|
-
actions: string;
|
|
273
|
-
footer: string;
|
|
274
|
-
}, undefined, unknown, unknown, undefined>>>;
|
|
275
|
-
type DescriptionListVariants = VariantProps<typeof descriptionList>;
|
|
276
|
-
export interface DescriptionListItem {
|
|
277
|
-
label?: string;
|
|
278
|
-
/**
|
|
279
|
-
* Display an icon on the left side.
|
|
280
|
-
* @IconComponent
|
|
281
|
-
*/
|
|
282
|
-
icon?: IconComponent;
|
|
283
|
-
avatar?: AvatarProps;
|
|
284
|
-
slot?: string;
|
|
285
|
-
description?: string;
|
|
286
|
-
/**
|
|
287
|
-
* The orientation between the content and the actions.
|
|
288
|
-
* @defaultValue 'vertical'
|
|
289
|
-
*/
|
|
290
|
-
orientation?: DescriptionListVariants['orientation'];
|
|
291
|
-
/**
|
|
292
|
-
* Display a list of actions:
|
|
293
|
-
* - under the description when orientation is `vertical`
|
|
294
|
-
* - next to the description when orientation is `horizontal`
|
|
295
|
-
* `{ size: 'xs' }`{lang="ts"}
|
|
296
|
-
*/
|
|
297
|
-
actions?: ButtonProps[];
|
|
298
|
-
class?: any;
|
|
299
|
-
b24ui?: Partial<typeof descriptionList.slots>;
|
|
300
|
-
[key: string]: any;
|
|
301
|
-
}
|
|
302
|
-
export interface DescriptionListProps<T extends DescriptionListItem = DescriptionListItem> {
|
|
303
|
-
legend?: string;
|
|
304
|
-
text?: string;
|
|
305
|
-
/**
|
|
306
|
-
* The key used to get the label from the item.
|
|
307
|
-
* @defaultValue 'label'
|
|
308
|
-
*/
|
|
309
|
-
labelKey?: string;
|
|
310
|
-
/**
|
|
311
|
-
* The key used to get the description from the item.
|
|
312
|
-
* @defaultValue 'description'
|
|
313
|
-
*/
|
|
314
|
-
descriptionKey?: string;
|
|
315
|
-
items?: T[];
|
|
316
|
-
/**
|
|
317
|
-
* @defaultValue 'md'
|
|
318
|
-
*/
|
|
319
|
-
size?: DescriptionListVariants['size'];
|
|
320
|
-
class?: any;
|
|
321
|
-
b24ui?: Partial<typeof descriptionList.slots>;
|
|
322
|
-
}
|
|
323
|
-
type SlotProps<T extends DescriptionListItem> = (props: {
|
|
324
|
-
item: T;
|
|
325
|
-
index: number;
|
|
326
|
-
}) => any;
|
|
327
|
-
export type DescriptionListSlots<T extends DescriptionListItem = DescriptionListItem> = {
|
|
328
|
-
legend(props?: {}): any;
|
|
329
|
-
text(props?: {}): any;
|
|
330
|
-
leading: SlotProps<T>;
|
|
331
|
-
label: SlotProps<T>;
|
|
332
|
-
description: SlotProps<T>;
|
|
333
|
-
actions: SlotProps<T>;
|
|
334
|
-
content: SlotProps<T>;
|
|
335
|
-
footer(props?: {
|
|
336
|
-
b24ui: any;
|
|
337
|
-
}): any;
|
|
338
|
-
} & DynamicSlots<T, undefined, {
|
|
339
|
-
index: number;
|
|
340
|
-
}>;
|
|
341
|
-
declare const _default: <T extends DescriptionListItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
342
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & DescriptionListProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
343
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
344
|
-
attrs: any;
|
|
345
|
-
slots: Readonly<{
|
|
346
|
-
legend(props?: {}): any;
|
|
347
|
-
text(props?: {}): any;
|
|
348
|
-
leading: SlotProps<T>;
|
|
349
|
-
label: SlotProps<T>;
|
|
350
|
-
description: SlotProps<T>;
|
|
351
|
-
actions: SlotProps<T>;
|
|
352
|
-
content: SlotProps<T>;
|
|
353
|
-
footer(props?: {
|
|
354
|
-
b24ui: any;
|
|
355
|
-
}): any;
|
|
356
|
-
} & DynamicSlots<T, undefined, {
|
|
357
|
-
index: number;
|
|
358
|
-
}>> & {
|
|
359
|
-
legend(props?: {}): any;
|
|
360
|
-
text(props?: {}): any;
|
|
361
|
-
leading: SlotProps<T>;
|
|
362
|
-
label: SlotProps<T>;
|
|
363
|
-
description: SlotProps<T>;
|
|
364
|
-
actions: SlotProps<T>;
|
|
365
|
-
content: SlotProps<T>;
|
|
366
|
-
footer(props?: {
|
|
367
|
-
b24ui: any;
|
|
368
|
-
}): any;
|
|
369
|
-
} & DynamicSlots<T, undefined, {
|
|
370
|
-
index: number;
|
|
371
|
-
}>;
|
|
372
|
-
emit: {};
|
|
373
|
-
}>) => import("vue").VNode & {
|
|
374
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
375
|
-
};
|
|
376
|
-
export default _default;
|
|
377
|
-
type __VLS_PrettifyLocal<T> = {
|
|
378
|
-
[K in keyof T]: T[K];
|
|
379
|
-
} & {};
|