@bitrix24/b24ui-nuxt 0.5.9 → 0.5.10
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/.nuxt/b24ui/navigation-menu.ts +0 -2
- package/.nuxt/b24ui/popover.ts +1 -1
- package/dist/meta.d.mts +4789 -4897
- package/dist/meta.mjs +4789 -4897
- package/dist/module.json +5 -5
- package/dist/module.mjs +11 -7
- package/dist/runtime/components/Advice.vue +47 -54
- package/dist/runtime/components/Advice.vue.d.ts +170 -0
- package/dist/runtime/components/Alert.vue +71 -96
- package/dist/runtime/components/Alert.vue.d.ts +464 -0
- package/dist/runtime/components/App.vue +37 -34
- package/dist/runtime/components/App.vue.d.ts +23 -0
- package/dist/runtime/components/Avatar.vue +69 -81
- package/dist/runtime/components/Avatar.vue.d.ts +281 -0
- package/dist/runtime/components/AvatarGroup.vue +53 -76
- package/dist/runtime/components/AvatarGroup.vue.d.ts +204 -0
- package/dist/runtime/components/Badge.vue +83 -83
- package/dist/runtime/components/Badge.vue.d.ts +517 -0
- package/dist/runtime/components/Button.vue +219 -149
- package/dist/runtime/components/Button.vue.d.ts +640 -0
- package/dist/runtime/components/ButtonGroup.vue +35 -51
- package/dist/runtime/components/ButtonGroup.vue.d.ts +116 -0
- package/dist/runtime/components/Calendar.vue +186 -152
- package/dist/runtime/components/Calendar.vue.d.ts +437 -0
- package/dist/runtime/components/Checkbox.vue +84 -73
- package/dist/runtime/components/Checkbox.vue.d.ts +354 -0
- package/dist/runtime/components/Chip.vue +59 -74
- package/dist/runtime/components/Chip.vue.d.ts +271 -0
- package/dist/runtime/components/Collapsible.vue +44 -41
- package/dist/runtime/components/Collapsible.vue.d.ts +118 -0
- package/dist/runtime/components/Container.vue +18 -27
- package/dist/runtime/components/Container.vue.d.ts +27 -0
- package/dist/runtime/components/Countdown.vue +198 -378
- package/dist/runtime/components/Countdown.vue.d.ts +356 -0
- package/dist/runtime/components/DescriptionList.vue +102 -149
- package/dist/runtime/components/DescriptionList.vue.d.ts +379 -0
- package/dist/runtime/components/DropdownMenu.vue +83 -139
- package/dist/runtime/components/DropdownMenu.vue.d.ts +533 -0
- package/dist/runtime/components/DropdownMenuContent.vue +137 -81
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +228 -0
- package/dist/runtime/components/Form.vue +162 -216
- package/dist/runtime/components/Form.vue.d.ts +55 -0
- package/dist/runtime/components/FormField.vue +76 -80
- package/dist/runtime/components/FormField.vue.d.ts +282 -0
- package/dist/runtime/components/Input.vue +160 -179
- package/dist/runtime/components/Input.vue.d.ts +755 -0
- package/dist/runtime/components/InputMenu.vue +300 -381
- package/dist/runtime/components/InputMenu.vue.d.ts +1504 -0
- package/dist/runtime/components/InputNumber.vue +178 -175
- package/dist/runtime/components/InputNumber.vue.d.ts +658 -0
- package/dist/runtime/components/Kbd.vue +33 -45
- package/dist/runtime/components/Kbd.vue.d.ts +109 -0
- package/dist/runtime/components/Link.vue +179 -173
- package/dist/runtime/components/Link.vue.d.ts +129 -0
- package/dist/runtime/components/LinkBase.vue +64 -42
- package/dist/runtime/components/LinkBase.vue.d.ts +48 -0
- package/dist/runtime/components/Modal.vue +105 -127
- package/dist/runtime/components/Modal.vue.d.ts +327 -0
- package/dist/runtime/components/ModalDialogClose.vue +4 -8
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +10 -0
- package/dist/runtime/components/Navbar.vue +24 -33
- package/dist/runtime/components/Navbar.vue.d.ts +101 -0
- package/dist/runtime/components/NavbarDivider.vue +24 -33
- package/dist/runtime/components/NavbarDivider.vue.d.ts +101 -0
- package/dist/runtime/components/NavbarSection.vue +24 -33
- package/dist/runtime/components/NavbarSection.vue.d.ts +101 -0
- package/dist/runtime/components/NavbarSpacer.vue +24 -33
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +101 -0
- package/dist/runtime/components/NavigationMenu.vue +152 -216
- package/dist/runtime/components/NavigationMenu.vue.d.ts +824 -0
- package/dist/runtime/components/OverlayProvider.vue +13 -17
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
- package/dist/runtime/components/Popover.vue +81 -81
- package/dist/runtime/components/Popover.vue.d.ts +147 -0
- package/dist/runtime/components/Progress.vue +109 -136
- package/dist/runtime/components/Progress.vue.d.ts +592 -0
- package/dist/runtime/components/RadioGroup.vue +120 -134
- package/dist/runtime/components/RadioGroup.vue.d.ts +723 -0
- package/dist/runtime/components/Range.vue +94 -85
- package/dist/runtime/components/Range.vue.d.ts +417 -0
- package/dist/runtime/components/Select.vue +212 -260
- package/dist/runtime/components/Select.vue.d.ts +1200 -0
- package/dist/runtime/components/SelectMenu.vue +272 -366
- package/dist/runtime/components/SelectMenu.vue.d.ts +1298 -0
- package/dist/runtime/components/Separator.vue +61 -71
- package/dist/runtime/components/Separator.vue.d.ts +400 -0
- package/dist/runtime/components/Sidebar.vue +24 -33
- package/dist/runtime/components/Sidebar.vue.d.ts +101 -0
- package/dist/runtime/components/SidebarBody.vue +30 -38
- package/dist/runtime/components/SidebarBody.vue.d.ts +90 -0
- package/dist/runtime/components/SidebarFooter.vue +24 -33
- package/dist/runtime/components/SidebarFooter.vue.d.ts +101 -0
- package/dist/runtime/components/SidebarHeader.vue +24 -33
- package/dist/runtime/components/SidebarHeader.vue.d.ts +101 -0
- package/dist/runtime/components/SidebarHeading.vue +24 -33
- package/dist/runtime/components/SidebarHeading.vue.d.ts +101 -0
- package/dist/runtime/components/SidebarLayout.vue +40 -70
- package/dist/runtime/components/SidebarLayout.vue.d.ts +222 -0
- package/dist/runtime/components/SidebarSection.vue +24 -33
- package/dist/runtime/components/SidebarSection.vue.d.ts +101 -0
- package/dist/runtime/components/SidebarSpacer.vue +24 -33
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +101 -0
- package/dist/runtime/components/Skeleton.vue +17 -22
- package/dist/runtime/components/Skeleton.vue.d.ts +26 -0
- package/dist/runtime/components/Slideover.vue +108 -131
- package/dist/runtime/components/Slideover.vue.d.ts +360 -0
- package/dist/runtime/components/StackedLayout.vue +40 -73
- package/dist/runtime/components/StackedLayout.vue.d.ts +192 -0
- package/dist/runtime/components/Switch.vue +100 -95
- package/dist/runtime/components/Switch.vue.d.ts +587 -0
- package/dist/runtime/components/Tabs.vue +83 -105
- package/dist/runtime/components/Tabs.vue.d.ts +453 -0
- package/dist/runtime/components/Textarea.vue +177 -201
- package/dist/runtime/components/Textarea.vue.d.ts +601 -0
- package/dist/runtime/components/Toast.vue +94 -105
- package/dist/runtime/components/Toast.vue.d.ts +438 -0
- package/dist/runtime/components/Toaster.vue +94 -111
- package/dist/runtime/components/Toaster.vue.d.ts +219 -0
- package/dist/runtime/components/Tooltip.vue +78 -64
- package/dist/runtime/components/Tooltip.vue.d.ts +186 -0
- package/dist/runtime/components/content/TableWrapper.vue +58 -70
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +237 -0
- 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 +1 -1
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/prose/A.vue +18 -23
- package/dist/runtime/prose/A.vue.d.ts +84 -0
- package/dist/runtime/prose/Blockquote.vue +18 -23
- package/dist/runtime/prose/Blockquote.vue.d.ts +84 -0
- package/dist/runtime/prose/Code.vue +23 -31
- package/dist/runtime/prose/Code.vue.d.ts +97 -0
- package/dist/runtime/prose/Em.vue +18 -23
- package/dist/runtime/prose/Em.vue.d.ts +84 -0
- package/dist/runtime/prose/H1.vue +18 -23
- package/dist/runtime/prose/H1.vue.d.ts +97 -0
- package/dist/runtime/prose/H2.vue +18 -23
- package/dist/runtime/prose/H2.vue.d.ts +123 -0
- package/dist/runtime/prose/H3.vue +18 -23
- package/dist/runtime/prose/H3.vue.d.ts +123 -0
- package/dist/runtime/prose/H4.vue +18 -23
- package/dist/runtime/prose/H4.vue.d.ts +123 -0
- package/dist/runtime/prose/H5.vue +18 -23
- package/dist/runtime/prose/H5.vue.d.ts +123 -0
- package/dist/runtime/prose/H6.vue +18 -23
- package/dist/runtime/prose/H6.vue.d.ts +123 -0
- package/dist/runtime/prose/Hr.vue +18 -19
- package/dist/runtime/prose/Hr.vue.d.ts +74 -0
- package/dist/runtime/prose/Img.vue +18 -23
- package/dist/runtime/prose/Img.vue.d.ts +77 -0
- package/dist/runtime/prose/Li.vue +18 -23
- package/dist/runtime/prose/Li.vue.d.ts +84 -0
- package/dist/runtime/prose/Ol.vue +18 -23
- package/dist/runtime/prose/Ol.vue.d.ts +84 -0
- package/dist/runtime/prose/P.vue +18 -23
- package/dist/runtime/prose/P.vue.d.ts +84 -0
- package/dist/runtime/prose/Pre.vue +28 -33
- package/dist/runtime/prose/Pre.vue.d.ts +117 -0
- package/dist/runtime/prose/Strong.vue +18 -23
- package/dist/runtime/prose/Strong.vue.d.ts +84 -0
- package/dist/runtime/prose/Table.vue +44 -54
- package/dist/runtime/prose/Table.vue.d.ts +144 -0
- package/dist/runtime/prose/Tbody.vue +18 -23
- package/dist/runtime/prose/Tbody.vue.d.ts +84 -0
- package/dist/runtime/prose/Td.vue +18 -23
- package/dist/runtime/prose/Td.vue.d.ts +84 -0
- package/dist/runtime/prose/Th.vue +18 -23
- package/dist/runtime/prose/Th.vue.d.ts +84 -0
- package/dist/runtime/prose/Thead.vue +18 -23
- package/dist/runtime/prose/Thead.vue.d.ts +84 -0
- package/dist/runtime/prose/Tr.vue +18 -23
- package/dist/runtime/prose/Tr.vue.d.ts +84 -0
- package/dist/runtime/prose/Ul.vue +18 -23
- package/dist/runtime/prose/Ul.vue.d.ts +84 -0
- package/dist/runtime/vue/components/Link.vue +201 -202
- package/dist/runtime/vue/components/Link.vue.d.ts +129 -0
- package/dist/runtime/vue/stubs.d.ts +3 -3
- package/dist/shared/{b24ui-nuxt.C1lGF53R.mjs → b24ui-nuxt.CS9Lf0os.mjs} +4 -3
- package/dist/types.d.mts +3 -5
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +59 -32
- package/dist/meta.cjs +0 -72220
- package/dist/meta.d.cts +0 -72218
- package/dist/meta.d.ts +0 -72218
- package/dist/module.cjs +0 -59
- package/dist/module.d.cts +0 -15
- package/dist/module.d.ts +0 -15
- package/dist/shared/b24ui-nuxt.BVg3rkkG.cjs +0 -7720
- package/dist/types.d.ts +0 -7
- package/dist/unplugin.cjs +0 -236
- package/dist/unplugin.d.cts +0 -33
- package/dist/unplugin.d.ts +0 -33
- package/dist/vite.cjs +0 -21
- package/dist/vite.d.cts +0 -14
- package/dist/vite.d.ts +0 -14
|
@@ -0,0 +1,755 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from 'vue';
|
|
2
|
+
import type { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
|
|
4
|
+
import type { PartialString } from '../types/utils';
|
|
5
|
+
declare const input: import("tailwind-variants").TVReturnType<{
|
|
6
|
+
buttonGroup: {
|
|
7
|
+
horizontal: {
|
|
8
|
+
root: string;
|
|
9
|
+
base: string;
|
|
10
|
+
};
|
|
11
|
+
vertical: {
|
|
12
|
+
root: string;
|
|
13
|
+
base: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
noSplit: {
|
|
17
|
+
false: string;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
xs: {
|
|
21
|
+
base: string;
|
|
22
|
+
leading: string;
|
|
23
|
+
trailing: string;
|
|
24
|
+
leadingIcon: string;
|
|
25
|
+
leadingAvatarSize: string;
|
|
26
|
+
trailingIcon: string;
|
|
27
|
+
};
|
|
28
|
+
sm: {
|
|
29
|
+
base: string;
|
|
30
|
+
leading: string;
|
|
31
|
+
trailing: string;
|
|
32
|
+
leadingIcon: string;
|
|
33
|
+
leadingAvatarSize: string;
|
|
34
|
+
trailingIcon: string;
|
|
35
|
+
};
|
|
36
|
+
md: {
|
|
37
|
+
base: string;
|
|
38
|
+
leading: string;
|
|
39
|
+
trailing: string;
|
|
40
|
+
leadingIcon: string;
|
|
41
|
+
leadingAvatarSize: string;
|
|
42
|
+
trailingIcon: string;
|
|
43
|
+
};
|
|
44
|
+
lg: {
|
|
45
|
+
base: string;
|
|
46
|
+
leading: string;
|
|
47
|
+
trailing: string;
|
|
48
|
+
leadingIcon: string;
|
|
49
|
+
leadingAvatarSize: string;
|
|
50
|
+
trailingIcon: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
default: string;
|
|
55
|
+
danger: string;
|
|
56
|
+
success: string;
|
|
57
|
+
warning: string;
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
collab: string;
|
|
61
|
+
ai: string;
|
|
62
|
+
};
|
|
63
|
+
tagColor: {
|
|
64
|
+
default: {
|
|
65
|
+
tag: string;
|
|
66
|
+
};
|
|
67
|
+
danger: {
|
|
68
|
+
tag: string;
|
|
69
|
+
};
|
|
70
|
+
success: {
|
|
71
|
+
tag: string;
|
|
72
|
+
};
|
|
73
|
+
warning: {
|
|
74
|
+
tag: string;
|
|
75
|
+
};
|
|
76
|
+
primary: {
|
|
77
|
+
tag: string;
|
|
78
|
+
};
|
|
79
|
+
secondary: {
|
|
80
|
+
tag: string;
|
|
81
|
+
};
|
|
82
|
+
collab: {
|
|
83
|
+
tag: string;
|
|
84
|
+
};
|
|
85
|
+
ai: {
|
|
86
|
+
tag: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
rounded: {
|
|
90
|
+
true: string;
|
|
91
|
+
false: string;
|
|
92
|
+
};
|
|
93
|
+
noPadding: {
|
|
94
|
+
true: {
|
|
95
|
+
base: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
noBorder: {
|
|
99
|
+
true: string;
|
|
100
|
+
};
|
|
101
|
+
underline: {
|
|
102
|
+
true: string;
|
|
103
|
+
};
|
|
104
|
+
leading: {
|
|
105
|
+
true: string;
|
|
106
|
+
};
|
|
107
|
+
trailing: {
|
|
108
|
+
true: string;
|
|
109
|
+
};
|
|
110
|
+
loading: {
|
|
111
|
+
true: string;
|
|
112
|
+
};
|
|
113
|
+
highlight: {
|
|
114
|
+
true: string;
|
|
115
|
+
};
|
|
116
|
+
type: {
|
|
117
|
+
file: string;
|
|
118
|
+
};
|
|
119
|
+
}, {
|
|
120
|
+
root: string;
|
|
121
|
+
base: string;
|
|
122
|
+
leading: string;
|
|
123
|
+
leadingIcon: string;
|
|
124
|
+
leadingAvatar: string;
|
|
125
|
+
leadingAvatarSize: string;
|
|
126
|
+
trailing: string;
|
|
127
|
+
trailingIcon: string;
|
|
128
|
+
tag: string;
|
|
129
|
+
}, undefined, {
|
|
130
|
+
buttonGroup: {
|
|
131
|
+
horizontal: {
|
|
132
|
+
root: string;
|
|
133
|
+
base: string;
|
|
134
|
+
};
|
|
135
|
+
vertical: {
|
|
136
|
+
root: string;
|
|
137
|
+
base: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
noSplit: {
|
|
141
|
+
false: string;
|
|
142
|
+
};
|
|
143
|
+
size: {
|
|
144
|
+
xs: {
|
|
145
|
+
base: string;
|
|
146
|
+
leading: string;
|
|
147
|
+
trailing: string;
|
|
148
|
+
leadingIcon: string;
|
|
149
|
+
leadingAvatarSize: string;
|
|
150
|
+
trailingIcon: string;
|
|
151
|
+
};
|
|
152
|
+
sm: {
|
|
153
|
+
base: string;
|
|
154
|
+
leading: string;
|
|
155
|
+
trailing: string;
|
|
156
|
+
leadingIcon: string;
|
|
157
|
+
leadingAvatarSize: string;
|
|
158
|
+
trailingIcon: string;
|
|
159
|
+
};
|
|
160
|
+
md: {
|
|
161
|
+
base: string;
|
|
162
|
+
leading: string;
|
|
163
|
+
trailing: string;
|
|
164
|
+
leadingIcon: string;
|
|
165
|
+
leadingAvatarSize: string;
|
|
166
|
+
trailingIcon: string;
|
|
167
|
+
};
|
|
168
|
+
lg: {
|
|
169
|
+
base: string;
|
|
170
|
+
leading: string;
|
|
171
|
+
trailing: string;
|
|
172
|
+
leadingIcon: string;
|
|
173
|
+
leadingAvatarSize: string;
|
|
174
|
+
trailingIcon: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
color: {
|
|
178
|
+
default: string;
|
|
179
|
+
danger: string;
|
|
180
|
+
success: string;
|
|
181
|
+
warning: string;
|
|
182
|
+
primary: string;
|
|
183
|
+
secondary: string;
|
|
184
|
+
collab: string;
|
|
185
|
+
ai: string;
|
|
186
|
+
};
|
|
187
|
+
tagColor: {
|
|
188
|
+
default: {
|
|
189
|
+
tag: string;
|
|
190
|
+
};
|
|
191
|
+
danger: {
|
|
192
|
+
tag: string;
|
|
193
|
+
};
|
|
194
|
+
success: {
|
|
195
|
+
tag: string;
|
|
196
|
+
};
|
|
197
|
+
warning: {
|
|
198
|
+
tag: string;
|
|
199
|
+
};
|
|
200
|
+
primary: {
|
|
201
|
+
tag: string;
|
|
202
|
+
};
|
|
203
|
+
secondary: {
|
|
204
|
+
tag: string;
|
|
205
|
+
};
|
|
206
|
+
collab: {
|
|
207
|
+
tag: string;
|
|
208
|
+
};
|
|
209
|
+
ai: {
|
|
210
|
+
tag: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
rounded: {
|
|
214
|
+
true: string;
|
|
215
|
+
false: string;
|
|
216
|
+
};
|
|
217
|
+
noPadding: {
|
|
218
|
+
true: {
|
|
219
|
+
base: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
noBorder: {
|
|
223
|
+
true: string;
|
|
224
|
+
};
|
|
225
|
+
underline: {
|
|
226
|
+
true: string;
|
|
227
|
+
};
|
|
228
|
+
leading: {
|
|
229
|
+
true: string;
|
|
230
|
+
};
|
|
231
|
+
trailing: {
|
|
232
|
+
true: string;
|
|
233
|
+
};
|
|
234
|
+
loading: {
|
|
235
|
+
true: string;
|
|
236
|
+
};
|
|
237
|
+
highlight: {
|
|
238
|
+
true: string;
|
|
239
|
+
};
|
|
240
|
+
type: {
|
|
241
|
+
file: string;
|
|
242
|
+
};
|
|
243
|
+
}, {
|
|
244
|
+
root: string;
|
|
245
|
+
base: string;
|
|
246
|
+
leading: string;
|
|
247
|
+
leadingIcon: string;
|
|
248
|
+
leadingAvatar: string;
|
|
249
|
+
leadingAvatarSize: string;
|
|
250
|
+
trailing: string;
|
|
251
|
+
trailingIcon: string;
|
|
252
|
+
tag: string;
|
|
253
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
254
|
+
buttonGroup: {
|
|
255
|
+
horizontal: {
|
|
256
|
+
root: string;
|
|
257
|
+
base: string;
|
|
258
|
+
};
|
|
259
|
+
vertical: {
|
|
260
|
+
root: string;
|
|
261
|
+
base: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
noSplit: {
|
|
265
|
+
false: string;
|
|
266
|
+
};
|
|
267
|
+
size: {
|
|
268
|
+
xs: {
|
|
269
|
+
base: string;
|
|
270
|
+
leading: string;
|
|
271
|
+
trailing: string;
|
|
272
|
+
leadingIcon: string;
|
|
273
|
+
leadingAvatarSize: string;
|
|
274
|
+
trailingIcon: string;
|
|
275
|
+
};
|
|
276
|
+
sm: {
|
|
277
|
+
base: string;
|
|
278
|
+
leading: string;
|
|
279
|
+
trailing: string;
|
|
280
|
+
leadingIcon: string;
|
|
281
|
+
leadingAvatarSize: string;
|
|
282
|
+
trailingIcon: string;
|
|
283
|
+
};
|
|
284
|
+
md: {
|
|
285
|
+
base: string;
|
|
286
|
+
leading: string;
|
|
287
|
+
trailing: string;
|
|
288
|
+
leadingIcon: string;
|
|
289
|
+
leadingAvatarSize: string;
|
|
290
|
+
trailingIcon: string;
|
|
291
|
+
};
|
|
292
|
+
lg: {
|
|
293
|
+
base: string;
|
|
294
|
+
leading: string;
|
|
295
|
+
trailing: string;
|
|
296
|
+
leadingIcon: string;
|
|
297
|
+
leadingAvatarSize: string;
|
|
298
|
+
trailingIcon: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
color: {
|
|
302
|
+
default: string;
|
|
303
|
+
danger: string;
|
|
304
|
+
success: string;
|
|
305
|
+
warning: string;
|
|
306
|
+
primary: string;
|
|
307
|
+
secondary: string;
|
|
308
|
+
collab: string;
|
|
309
|
+
ai: string;
|
|
310
|
+
};
|
|
311
|
+
tagColor: {
|
|
312
|
+
default: {
|
|
313
|
+
tag: string;
|
|
314
|
+
};
|
|
315
|
+
danger: {
|
|
316
|
+
tag: string;
|
|
317
|
+
};
|
|
318
|
+
success: {
|
|
319
|
+
tag: string;
|
|
320
|
+
};
|
|
321
|
+
warning: {
|
|
322
|
+
tag: string;
|
|
323
|
+
};
|
|
324
|
+
primary: {
|
|
325
|
+
tag: string;
|
|
326
|
+
};
|
|
327
|
+
secondary: {
|
|
328
|
+
tag: string;
|
|
329
|
+
};
|
|
330
|
+
collab: {
|
|
331
|
+
tag: string;
|
|
332
|
+
};
|
|
333
|
+
ai: {
|
|
334
|
+
tag: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
rounded: {
|
|
338
|
+
true: string;
|
|
339
|
+
false: string;
|
|
340
|
+
};
|
|
341
|
+
noPadding: {
|
|
342
|
+
true: {
|
|
343
|
+
base: string;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
noBorder: {
|
|
347
|
+
true: string;
|
|
348
|
+
};
|
|
349
|
+
underline: {
|
|
350
|
+
true: string;
|
|
351
|
+
};
|
|
352
|
+
leading: {
|
|
353
|
+
true: string;
|
|
354
|
+
};
|
|
355
|
+
trailing: {
|
|
356
|
+
true: string;
|
|
357
|
+
};
|
|
358
|
+
loading: {
|
|
359
|
+
true: string;
|
|
360
|
+
};
|
|
361
|
+
highlight: {
|
|
362
|
+
true: string;
|
|
363
|
+
};
|
|
364
|
+
type: {
|
|
365
|
+
file: string;
|
|
366
|
+
};
|
|
367
|
+
}, {
|
|
368
|
+
root: string;
|
|
369
|
+
base: string;
|
|
370
|
+
leading: string;
|
|
371
|
+
leadingIcon: string;
|
|
372
|
+
leadingAvatar: string;
|
|
373
|
+
leadingAvatarSize: string;
|
|
374
|
+
trailing: string;
|
|
375
|
+
trailingIcon: string;
|
|
376
|
+
tag: string;
|
|
377
|
+
}, undefined, {
|
|
378
|
+
buttonGroup: {
|
|
379
|
+
horizontal: {
|
|
380
|
+
root: string;
|
|
381
|
+
base: string;
|
|
382
|
+
};
|
|
383
|
+
vertical: {
|
|
384
|
+
root: string;
|
|
385
|
+
base: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
noSplit: {
|
|
389
|
+
false: string;
|
|
390
|
+
};
|
|
391
|
+
size: {
|
|
392
|
+
xs: {
|
|
393
|
+
base: string;
|
|
394
|
+
leading: string;
|
|
395
|
+
trailing: string;
|
|
396
|
+
leadingIcon: string;
|
|
397
|
+
leadingAvatarSize: string;
|
|
398
|
+
trailingIcon: string;
|
|
399
|
+
};
|
|
400
|
+
sm: {
|
|
401
|
+
base: string;
|
|
402
|
+
leading: string;
|
|
403
|
+
trailing: string;
|
|
404
|
+
leadingIcon: string;
|
|
405
|
+
leadingAvatarSize: string;
|
|
406
|
+
trailingIcon: string;
|
|
407
|
+
};
|
|
408
|
+
md: {
|
|
409
|
+
base: string;
|
|
410
|
+
leading: string;
|
|
411
|
+
trailing: string;
|
|
412
|
+
leadingIcon: string;
|
|
413
|
+
leadingAvatarSize: string;
|
|
414
|
+
trailingIcon: string;
|
|
415
|
+
};
|
|
416
|
+
lg: {
|
|
417
|
+
base: string;
|
|
418
|
+
leading: string;
|
|
419
|
+
trailing: string;
|
|
420
|
+
leadingIcon: string;
|
|
421
|
+
leadingAvatarSize: string;
|
|
422
|
+
trailingIcon: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
color: {
|
|
426
|
+
default: string;
|
|
427
|
+
danger: string;
|
|
428
|
+
success: string;
|
|
429
|
+
warning: string;
|
|
430
|
+
primary: string;
|
|
431
|
+
secondary: string;
|
|
432
|
+
collab: string;
|
|
433
|
+
ai: string;
|
|
434
|
+
};
|
|
435
|
+
tagColor: {
|
|
436
|
+
default: {
|
|
437
|
+
tag: string;
|
|
438
|
+
};
|
|
439
|
+
danger: {
|
|
440
|
+
tag: string;
|
|
441
|
+
};
|
|
442
|
+
success: {
|
|
443
|
+
tag: string;
|
|
444
|
+
};
|
|
445
|
+
warning: {
|
|
446
|
+
tag: string;
|
|
447
|
+
};
|
|
448
|
+
primary: {
|
|
449
|
+
tag: string;
|
|
450
|
+
};
|
|
451
|
+
secondary: {
|
|
452
|
+
tag: string;
|
|
453
|
+
};
|
|
454
|
+
collab: {
|
|
455
|
+
tag: string;
|
|
456
|
+
};
|
|
457
|
+
ai: {
|
|
458
|
+
tag: string;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
rounded: {
|
|
462
|
+
true: string;
|
|
463
|
+
false: string;
|
|
464
|
+
};
|
|
465
|
+
noPadding: {
|
|
466
|
+
true: {
|
|
467
|
+
base: string;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
noBorder: {
|
|
471
|
+
true: string;
|
|
472
|
+
};
|
|
473
|
+
underline: {
|
|
474
|
+
true: string;
|
|
475
|
+
};
|
|
476
|
+
leading: {
|
|
477
|
+
true: string;
|
|
478
|
+
};
|
|
479
|
+
trailing: {
|
|
480
|
+
true: string;
|
|
481
|
+
};
|
|
482
|
+
loading: {
|
|
483
|
+
true: string;
|
|
484
|
+
};
|
|
485
|
+
highlight: {
|
|
486
|
+
true: string;
|
|
487
|
+
};
|
|
488
|
+
type: {
|
|
489
|
+
file: string;
|
|
490
|
+
};
|
|
491
|
+
}, {
|
|
492
|
+
root: string;
|
|
493
|
+
base: string;
|
|
494
|
+
leading: string;
|
|
495
|
+
leadingIcon: string;
|
|
496
|
+
leadingAvatar: string;
|
|
497
|
+
leadingAvatarSize: string;
|
|
498
|
+
trailing: string;
|
|
499
|
+
trailingIcon: string;
|
|
500
|
+
tag: string;
|
|
501
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
502
|
+
buttonGroup: {
|
|
503
|
+
horizontal: {
|
|
504
|
+
root: string;
|
|
505
|
+
base: string;
|
|
506
|
+
};
|
|
507
|
+
vertical: {
|
|
508
|
+
root: string;
|
|
509
|
+
base: string;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
noSplit: {
|
|
513
|
+
false: string;
|
|
514
|
+
};
|
|
515
|
+
size: {
|
|
516
|
+
xs: {
|
|
517
|
+
base: string;
|
|
518
|
+
leading: string;
|
|
519
|
+
trailing: string;
|
|
520
|
+
leadingIcon: string;
|
|
521
|
+
leadingAvatarSize: string;
|
|
522
|
+
trailingIcon: string;
|
|
523
|
+
};
|
|
524
|
+
sm: {
|
|
525
|
+
base: string;
|
|
526
|
+
leading: string;
|
|
527
|
+
trailing: string;
|
|
528
|
+
leadingIcon: string;
|
|
529
|
+
leadingAvatarSize: string;
|
|
530
|
+
trailingIcon: string;
|
|
531
|
+
};
|
|
532
|
+
md: {
|
|
533
|
+
base: string;
|
|
534
|
+
leading: string;
|
|
535
|
+
trailing: string;
|
|
536
|
+
leadingIcon: string;
|
|
537
|
+
leadingAvatarSize: string;
|
|
538
|
+
trailingIcon: string;
|
|
539
|
+
};
|
|
540
|
+
lg: {
|
|
541
|
+
base: string;
|
|
542
|
+
leading: string;
|
|
543
|
+
trailing: string;
|
|
544
|
+
leadingIcon: string;
|
|
545
|
+
leadingAvatarSize: string;
|
|
546
|
+
trailingIcon: string;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
color: {
|
|
550
|
+
default: string;
|
|
551
|
+
danger: string;
|
|
552
|
+
success: string;
|
|
553
|
+
warning: string;
|
|
554
|
+
primary: string;
|
|
555
|
+
secondary: string;
|
|
556
|
+
collab: string;
|
|
557
|
+
ai: string;
|
|
558
|
+
};
|
|
559
|
+
tagColor: {
|
|
560
|
+
default: {
|
|
561
|
+
tag: string;
|
|
562
|
+
};
|
|
563
|
+
danger: {
|
|
564
|
+
tag: string;
|
|
565
|
+
};
|
|
566
|
+
success: {
|
|
567
|
+
tag: string;
|
|
568
|
+
};
|
|
569
|
+
warning: {
|
|
570
|
+
tag: string;
|
|
571
|
+
};
|
|
572
|
+
primary: {
|
|
573
|
+
tag: string;
|
|
574
|
+
};
|
|
575
|
+
secondary: {
|
|
576
|
+
tag: string;
|
|
577
|
+
};
|
|
578
|
+
collab: {
|
|
579
|
+
tag: string;
|
|
580
|
+
};
|
|
581
|
+
ai: {
|
|
582
|
+
tag: string;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
rounded: {
|
|
586
|
+
true: string;
|
|
587
|
+
false: string;
|
|
588
|
+
};
|
|
589
|
+
noPadding: {
|
|
590
|
+
true: {
|
|
591
|
+
base: string;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
noBorder: {
|
|
595
|
+
true: string;
|
|
596
|
+
};
|
|
597
|
+
underline: {
|
|
598
|
+
true: string;
|
|
599
|
+
};
|
|
600
|
+
leading: {
|
|
601
|
+
true: string;
|
|
602
|
+
};
|
|
603
|
+
trailing: {
|
|
604
|
+
true: string;
|
|
605
|
+
};
|
|
606
|
+
loading: {
|
|
607
|
+
true: string;
|
|
608
|
+
};
|
|
609
|
+
highlight: {
|
|
610
|
+
true: string;
|
|
611
|
+
};
|
|
612
|
+
type: {
|
|
613
|
+
file: string;
|
|
614
|
+
};
|
|
615
|
+
}, {
|
|
616
|
+
root: string;
|
|
617
|
+
base: string;
|
|
618
|
+
leading: string;
|
|
619
|
+
leadingIcon: string;
|
|
620
|
+
leadingAvatar: string;
|
|
621
|
+
leadingAvatarSize: string;
|
|
622
|
+
trailing: string;
|
|
623
|
+
trailingIcon: string;
|
|
624
|
+
tag: string;
|
|
625
|
+
}, undefined, unknown, unknown, undefined>>>;
|
|
626
|
+
type InputVariants = VariantProps<typeof input>;
|
|
627
|
+
export interface InputProps extends UseComponentIconsProps {
|
|
628
|
+
/**
|
|
629
|
+
* The element or component this component should render as.
|
|
630
|
+
* @defaultValue 'div'
|
|
631
|
+
*/
|
|
632
|
+
as?: any;
|
|
633
|
+
id?: string;
|
|
634
|
+
name?: string;
|
|
635
|
+
/**
|
|
636
|
+
* @defaultValue 'text'
|
|
637
|
+
*/
|
|
638
|
+
type?: InputHTMLAttributes['type'];
|
|
639
|
+
/**
|
|
640
|
+
* The placeholder text when the input is empty.
|
|
641
|
+
*/
|
|
642
|
+
placeholder?: string;
|
|
643
|
+
/**
|
|
644
|
+
* @defaultValue 'primary'
|
|
645
|
+
*/
|
|
646
|
+
color?: InputVariants['color'];
|
|
647
|
+
/**
|
|
648
|
+
* @defaultValue 'md'
|
|
649
|
+
*/
|
|
650
|
+
size?: InputVariants['size'];
|
|
651
|
+
/**
|
|
652
|
+
* Removes padding from input
|
|
653
|
+
* @defaultValue false
|
|
654
|
+
*/
|
|
655
|
+
noPadding?: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* Removes all borders (rings)
|
|
658
|
+
* @defaultValue false
|
|
659
|
+
*/
|
|
660
|
+
noBorder?: boolean;
|
|
661
|
+
/**
|
|
662
|
+
* Removes all borders (rings) except the bottom one
|
|
663
|
+
* @defaultValue false
|
|
664
|
+
*/
|
|
665
|
+
underline?: boolean;
|
|
666
|
+
/**
|
|
667
|
+
* Rounds the corners of the button
|
|
668
|
+
* @defaultValue false
|
|
669
|
+
*/
|
|
670
|
+
rounded?: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* @defaultValue false
|
|
673
|
+
*/
|
|
674
|
+
required?: boolean;
|
|
675
|
+
/**
|
|
676
|
+
* @defaultValue 'off'
|
|
677
|
+
*/
|
|
678
|
+
autocomplete?: InputHTMLAttributes['autocomplete'];
|
|
679
|
+
/**
|
|
680
|
+
* @defaultValue false
|
|
681
|
+
*/
|
|
682
|
+
autofocus?: boolean;
|
|
683
|
+
/**
|
|
684
|
+
* @defaultValue 0
|
|
685
|
+
*/
|
|
686
|
+
autofocusDelay?: number;
|
|
687
|
+
/**
|
|
688
|
+
* @defaultValue false
|
|
689
|
+
*/
|
|
690
|
+
disabled?: boolean;
|
|
691
|
+
tag?: string;
|
|
692
|
+
/**
|
|
693
|
+
* @defaultValue 'primary'
|
|
694
|
+
*/
|
|
695
|
+
tagColor?: InputVariants['tagColor'];
|
|
696
|
+
/**
|
|
697
|
+
* Highlight the ring color like a focus state
|
|
698
|
+
* @defaultValue false
|
|
699
|
+
*/
|
|
700
|
+
highlight?: boolean;
|
|
701
|
+
class?: any;
|
|
702
|
+
b24ui?: PartialString<typeof input.slots>;
|
|
703
|
+
}
|
|
704
|
+
export interface InputEmits {
|
|
705
|
+
(e: 'update:modelValue', payload: string | number): void;
|
|
706
|
+
(e: 'blur', event: FocusEvent): void;
|
|
707
|
+
(e: 'change', event: Event): void;
|
|
708
|
+
}
|
|
709
|
+
export interface InputSlots {
|
|
710
|
+
leading(props?: {}): any;
|
|
711
|
+
default(props?: {}): any;
|
|
712
|
+
trailing(props?: {}): any;
|
|
713
|
+
}
|
|
714
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
715
|
+
modelValue?: string | number | null;
|
|
716
|
+
} & InputProps>, {
|
|
717
|
+
type: string;
|
|
718
|
+
autocomplete: string;
|
|
719
|
+
autofocusDelay: number;
|
|
720
|
+
}>>, {
|
|
721
|
+
inputRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
722
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
723
|
+
modelValue?: string | number | null;
|
|
724
|
+
} & InputProps>, {
|
|
725
|
+
type: string;
|
|
726
|
+
autocomplete: string;
|
|
727
|
+
autofocusDelay: number;
|
|
728
|
+
}>>> & Readonly<{}>, {
|
|
729
|
+
type: import("vue").InputTypeHTMLAttribute;
|
|
730
|
+
autocomplete: string;
|
|
731
|
+
autofocusDelay: number;
|
|
732
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<InputSlots> & InputSlots>;
|
|
733
|
+
export default _default;
|
|
734
|
+
type __VLS_WithDefaults<P, D> = {
|
|
735
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
736
|
+
default: D[K];
|
|
737
|
+
}> : P[K];
|
|
738
|
+
};
|
|
739
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
740
|
+
type __VLS_TypePropsToOption<T> = {
|
|
741
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
742
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
743
|
+
} : {
|
|
744
|
+
type: import('vue').PropType<T[K]>;
|
|
745
|
+
required: true;
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
749
|
+
new (): {
|
|
750
|
+
$slots: S;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
type __VLS_PrettifyLocal<T> = {
|
|
754
|
+
[K in keyof T]: T[K];
|
|
755
|
+
} & {};
|