@central-design-system/components 3.10.7 → 3.11.0
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/UPGRADE.md +146 -0
- package/dist/cds.d.ts +4 -0
- package/dist/cds.es.js +7838 -7476
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +5 -5
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsAutocomplete/CdsAutocomplete.d.ts +21 -3
- package/dist/components/CdsBadge/CdsBadge.d.ts +1 -1
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.d.ts +15 -0
- package/dist/components/CdsCard/CdsCard.d.ts +20 -1
- package/dist/components/CdsCheckbox/CdsCheckbox.d.ts +43 -2
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.d.ts +48 -0
- package/dist/components/CdsCombobox/CdsCombobox.d.ts +366 -23
- package/dist/components/CdsDropdown/CdsDropdown.d.ts +381 -26
- package/dist/components/CdsInput/CdsDescription.d.ts +31 -0
- package/dist/components/CdsInput/CdsInput.d.ts +18 -0
- package/dist/components/CdsInput/CdsLabel.d.ts +48 -0
- package/dist/components/CdsInput/index.d.ts +2 -0
- package/dist/components/CdsList/CdsListGroup.d.ts +1 -1
- package/dist/components/CdsList/CdsListItem.d.ts +19 -0
- package/dist/components/CdsNotification/CdsNotification.d.ts +1 -1
- package/dist/components/CdsNotification/CdsNotificationAlert.d.ts +1 -1
- package/dist/components/CdsNotification/composable/notification.d.ts +4 -2
- package/dist/components/CdsProgress/CdsProgressBar.d.ts +158 -0
- package/dist/components/CdsProgress/index.d.ts +1 -0
- package/dist/components/CdsRadioButton/CdsRadio.d.ts +84 -0
- package/dist/components/CdsRadioButton/CdsRadioButton.d.ts +48 -0
- package/dist/components/CdsRadioButton/CdsRadioGroup.d.ts +681 -0
- package/dist/components/CdsRadioButton/index.d.ts +1 -0
- package/dist/components/CdsSelect/CdsSelect.d.ts +90 -6
- package/dist/components/CdsSlideGroup/CdsSlideGroup.d.ts +59 -29
- package/dist/components/CdsStatus/CdsStatus.d.ts +23 -1
- package/dist/components/CdsTable/CdsTable.d.ts +3 -1
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +3 -1
- package/dist/components/CdsTable/components/TableProvider.d.ts +3 -1
- package/dist/components/CdsTabsV2/CdsTabsV2.d.ts +30 -0
- package/dist/components/CdsTag/CdsTag.d.ts +26 -0
- package/dist/components/CdsTextArea/CdsTextArea.d.ts +93 -6
- package/dist/components/CdsTextInput/CdsTextInput.d.ts +93 -6
- package/dist/components/CdsToggle/CdsToggle.d.ts +18 -0
- package/dist/components/CdsTooltip/CdsTooltip.d.ts +21 -0
- package/dist/components/CdsUploader/CdsUploader.d.ts +18 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/composable/field.d.ts +5 -3
- package/dist/composable/input.d.ts +20 -0
- package/dist/composable/status.d.ts +14 -2
- package/dist/utils/compat.d.ts +33 -0
- package/dist/utils/dom/warn.d.ts +42 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +4 -2
|
@@ -0,0 +1,681 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `CdsRadioGroup` доступен с 3.11.0 — полный алиас `CdsRadioButton`: API
|
|
3
|
+
* совпадает, дочерние `CdsRadio` не меняются.
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
theme: {
|
|
7
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
8
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
readonly: {
|
|
12
|
+
type: import('vue').PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
direction: Omit<{
|
|
20
|
+
type: import('vue').PropType<import('../../composable').TDirection>;
|
|
21
|
+
default: string;
|
|
22
|
+
available: readonly ["horizontal", "vertical"];
|
|
23
|
+
validator: (value: import('../../composable').TDirection) => boolean;
|
|
24
|
+
}, "default" | "type"> & {
|
|
25
|
+
type: import('vue').PropType<NonNullable<"horizontal" | "vertical">>;
|
|
26
|
+
default: NonNullable<"horizontal" | "vertical">;
|
|
27
|
+
};
|
|
28
|
+
error: {
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
errorMessages: {
|
|
33
|
+
type: import('vue').PropType<string | string[]>;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
maxErrors: {
|
|
37
|
+
type: import('vue').PropType<string | number>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
name: {
|
|
41
|
+
type: import('vue').PropType<string | undefined>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
rules: {
|
|
45
|
+
type: import('vue').PropType<import('../../composable').TValidationRule[]>;
|
|
46
|
+
default: () => never[];
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: import('vue').PropType<any>;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
validateOn: {
|
|
53
|
+
type: import('vue').PropType<import('../../composable').TValidationOn>;
|
|
54
|
+
default: string;
|
|
55
|
+
available: readonly ["blur", "input", "submit"];
|
|
56
|
+
validator: (value: import('../../composable').TValidationOn) => boolean;
|
|
57
|
+
};
|
|
58
|
+
validationValue: {
|
|
59
|
+
type: import('vue').PropType<any>;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
hideMessages: {
|
|
63
|
+
type: import('vue').PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
id: {
|
|
67
|
+
type: import('vue').PropType<string>;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: import('vue').PropType<string>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
description: {
|
|
75
|
+
type: import('vue').PropType<string>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
value: {
|
|
79
|
+
type: import('vue').PropType<any>;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
82
|
+
messages: {
|
|
83
|
+
type: import('vue').PropType<string[] | string>;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
86
|
+
persistentMessages: {
|
|
87
|
+
type: import('vue').PropType<boolean>;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
hint: {
|
|
91
|
+
type: import('vue').PropType<string>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
persistentHint: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
}>, {
|
|
99
|
+
inputProps: import('vue').Ref<{
|
|
100
|
+
readonly error?: boolean | undefined;
|
|
101
|
+
readonly disabled?: boolean | undefined;
|
|
102
|
+
readonly readonly?: boolean | undefined;
|
|
103
|
+
readonly value?: any;
|
|
104
|
+
readonly messages?: string | string[] | undefined;
|
|
105
|
+
readonly persistentMessages?: boolean | undefined;
|
|
106
|
+
readonly persistentHint?: boolean | undefined;
|
|
107
|
+
readonly errorMessages?: string | string[] | undefined;
|
|
108
|
+
readonly maxErrors?: string | number | undefined;
|
|
109
|
+
readonly rules?: (import('../../composable').TValidationResult | ((value: any) => import('../../composable').TValidationResult) | ((value: any) => PromiseLike<import('../../composable').TValidationResult>) | {
|
|
110
|
+
then: <TResult1 = import('../../composable').TValidationResult, TResult2 = never>(onfulfilled?: ((value: import('../../composable').TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
|
|
111
|
+
})[] | undefined;
|
|
112
|
+
readonly modelValue?: any;
|
|
113
|
+
readonly validateOn?: "input" | "blur" | "submit" | undefined;
|
|
114
|
+
readonly hideMessages?: boolean | undefined;
|
|
115
|
+
readonly direction?: NonNullable<"horizontal" | "vertical"> | undefined;
|
|
116
|
+
readonly name?: string | undefined;
|
|
117
|
+
readonly description?: string | undefined;
|
|
118
|
+
readonly id?: string | undefined;
|
|
119
|
+
readonly label?: string | undefined;
|
|
120
|
+
readonly hint?: string | undefined;
|
|
121
|
+
readonly validationValue?: any;
|
|
122
|
+
readonly theme?: string | undefined;
|
|
123
|
+
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
124
|
+
}, Partial<import('@vue/shared').LooseRequired<Readonly<import('vue').ExtractPropTypes<{
|
|
125
|
+
theme: {
|
|
126
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
127
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
readonly: {
|
|
131
|
+
type: import('vue').PropType<boolean>;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
disabled: {
|
|
135
|
+
type: import('vue').PropType<boolean>;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
direction: Omit<{
|
|
139
|
+
type: import('vue').PropType<import('../../composable').TDirection>;
|
|
140
|
+
default: string;
|
|
141
|
+
available: readonly ["horizontal", "vertical"];
|
|
142
|
+
validator: (value: import('../../composable').TDirection) => boolean;
|
|
143
|
+
}, "default" | "type"> & {
|
|
144
|
+
type: import('vue').PropType<NonNullable<"horizontal" | "vertical">>;
|
|
145
|
+
default: NonNullable<"horizontal" | "vertical">;
|
|
146
|
+
};
|
|
147
|
+
error: {
|
|
148
|
+
type: import('vue').PropType<boolean>;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
errorMessages: {
|
|
152
|
+
type: import('vue').PropType<string | string[]>;
|
|
153
|
+
default: () => never[];
|
|
154
|
+
};
|
|
155
|
+
maxErrors: {
|
|
156
|
+
type: import('vue').PropType<string | number>;
|
|
157
|
+
default: number;
|
|
158
|
+
};
|
|
159
|
+
name: {
|
|
160
|
+
type: import('vue').PropType<string | undefined>;
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
163
|
+
rules: {
|
|
164
|
+
type: import('vue').PropType<import('../../composable').TValidationRule[]>;
|
|
165
|
+
default: () => never[];
|
|
166
|
+
};
|
|
167
|
+
modelValue: {
|
|
168
|
+
type: import('vue').PropType<any>;
|
|
169
|
+
default: null;
|
|
170
|
+
};
|
|
171
|
+
validateOn: {
|
|
172
|
+
type: import('vue').PropType<import('../../composable').TValidationOn>;
|
|
173
|
+
default: string;
|
|
174
|
+
available: readonly ["blur", "input", "submit"];
|
|
175
|
+
validator: (value: import('../../composable').TValidationOn) => boolean;
|
|
176
|
+
};
|
|
177
|
+
validationValue: {
|
|
178
|
+
type: import('vue').PropType<any>;
|
|
179
|
+
default: undefined;
|
|
180
|
+
};
|
|
181
|
+
hideMessages: {
|
|
182
|
+
type: import('vue').PropType<boolean>;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
id: {
|
|
186
|
+
type: import('vue').PropType<string>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
189
|
+
label: {
|
|
190
|
+
type: import('vue').PropType<string>;
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
description: {
|
|
194
|
+
type: import('vue').PropType<string>;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
value: {
|
|
198
|
+
type: import('vue').PropType<any>;
|
|
199
|
+
default: null;
|
|
200
|
+
};
|
|
201
|
+
messages: {
|
|
202
|
+
type: import('vue').PropType<string[] | string>;
|
|
203
|
+
default: () => never[];
|
|
204
|
+
};
|
|
205
|
+
persistentMessages: {
|
|
206
|
+
type: import('vue').PropType<boolean>;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
hint: {
|
|
210
|
+
type: import('vue').PropType<string>;
|
|
211
|
+
default: undefined;
|
|
212
|
+
};
|
|
213
|
+
persistentHint: {
|
|
214
|
+
type: import('vue').PropType<boolean>;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
}>> & Readonly<{
|
|
218
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
219
|
+
}> & {}>> | {
|
|
220
|
+
readonly error?: boolean | undefined;
|
|
221
|
+
readonly disabled?: boolean | undefined;
|
|
222
|
+
readonly readonly?: boolean | undefined;
|
|
223
|
+
readonly value?: any;
|
|
224
|
+
readonly messages?: string | string[] | undefined;
|
|
225
|
+
readonly persistentMessages?: boolean | undefined;
|
|
226
|
+
readonly persistentHint?: boolean | undefined;
|
|
227
|
+
readonly errorMessages?: string | string[] | undefined;
|
|
228
|
+
readonly maxErrors?: string | number | undefined;
|
|
229
|
+
readonly rules?: (import('../../composable').TValidationResult | ((value: any) => import('../../composable').TValidationResult) | ((value: any) => PromiseLike<import('../../composable').TValidationResult>) | {
|
|
230
|
+
then: <TResult1 = import('../../composable').TValidationResult, TResult2 = never>(onfulfilled?: ((value: import('../../composable').TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
|
|
231
|
+
})[] | undefined;
|
|
232
|
+
readonly modelValue?: any;
|
|
233
|
+
readonly validateOn?: "input" | "blur" | "submit" | undefined;
|
|
234
|
+
readonly hideMessages?: boolean | undefined;
|
|
235
|
+
readonly direction?: NonNullable<"horizontal" | "vertical"> | undefined;
|
|
236
|
+
readonly name?: string | undefined;
|
|
237
|
+
readonly description?: string | undefined;
|
|
238
|
+
readonly id?: string | undefined;
|
|
239
|
+
readonly label?: string | undefined;
|
|
240
|
+
readonly hint?: string | undefined;
|
|
241
|
+
readonly validationValue?: any;
|
|
242
|
+
readonly theme?: string | undefined;
|
|
243
|
+
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
244
|
+
}>;
|
|
245
|
+
hasLabel: import('vue').ComputedRef<boolean>;
|
|
246
|
+
hasDescription: import('vue').ComputedRef<boolean>;
|
|
247
|
+
directionClasses: import('vue').ComputedRef<string>;
|
|
248
|
+
themeClasses: Readonly<import('vue').ComputedRef<string | undefined>>;
|
|
249
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
250
|
+
'update:modelValue': (value: string[]) => true;
|
|
251
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
252
|
+
theme: {
|
|
253
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
254
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
|
|
255
|
+
default: undefined;
|
|
256
|
+
};
|
|
257
|
+
readonly: {
|
|
258
|
+
type: import('vue').PropType<boolean>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
disabled: {
|
|
262
|
+
type: import('vue').PropType<boolean>;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
direction: Omit<{
|
|
266
|
+
type: import('vue').PropType<import('../../composable').TDirection>;
|
|
267
|
+
default: string;
|
|
268
|
+
available: readonly ["horizontal", "vertical"];
|
|
269
|
+
validator: (value: import('../../composable').TDirection) => boolean;
|
|
270
|
+
}, "default" | "type"> & {
|
|
271
|
+
type: import('vue').PropType<NonNullable<"horizontal" | "vertical">>;
|
|
272
|
+
default: NonNullable<"horizontal" | "vertical">;
|
|
273
|
+
};
|
|
274
|
+
error: {
|
|
275
|
+
type: import('vue').PropType<boolean>;
|
|
276
|
+
default: boolean;
|
|
277
|
+
};
|
|
278
|
+
errorMessages: {
|
|
279
|
+
type: import('vue').PropType<string | string[]>;
|
|
280
|
+
default: () => never[];
|
|
281
|
+
};
|
|
282
|
+
maxErrors: {
|
|
283
|
+
type: import('vue').PropType<string | number>;
|
|
284
|
+
default: number;
|
|
285
|
+
};
|
|
286
|
+
name: {
|
|
287
|
+
type: import('vue').PropType<string | undefined>;
|
|
288
|
+
default: undefined;
|
|
289
|
+
};
|
|
290
|
+
rules: {
|
|
291
|
+
type: import('vue').PropType<import('../../composable').TValidationRule[]>;
|
|
292
|
+
default: () => never[];
|
|
293
|
+
};
|
|
294
|
+
modelValue: {
|
|
295
|
+
type: import('vue').PropType<any>;
|
|
296
|
+
default: null;
|
|
297
|
+
};
|
|
298
|
+
validateOn: {
|
|
299
|
+
type: import('vue').PropType<import('../../composable').TValidationOn>;
|
|
300
|
+
default: string;
|
|
301
|
+
available: readonly ["blur", "input", "submit"];
|
|
302
|
+
validator: (value: import('../../composable').TValidationOn) => boolean;
|
|
303
|
+
};
|
|
304
|
+
validationValue: {
|
|
305
|
+
type: import('vue').PropType<any>;
|
|
306
|
+
default: undefined;
|
|
307
|
+
};
|
|
308
|
+
hideMessages: {
|
|
309
|
+
type: import('vue').PropType<boolean>;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
312
|
+
id: {
|
|
313
|
+
type: import('vue').PropType<string>;
|
|
314
|
+
default: undefined;
|
|
315
|
+
};
|
|
316
|
+
label: {
|
|
317
|
+
type: import('vue').PropType<string>;
|
|
318
|
+
default: undefined;
|
|
319
|
+
};
|
|
320
|
+
description: {
|
|
321
|
+
type: import('vue').PropType<string>;
|
|
322
|
+
default: undefined;
|
|
323
|
+
};
|
|
324
|
+
value: {
|
|
325
|
+
type: import('vue').PropType<any>;
|
|
326
|
+
default: null;
|
|
327
|
+
};
|
|
328
|
+
messages: {
|
|
329
|
+
type: import('vue').PropType<string[] | string>;
|
|
330
|
+
default: () => never[];
|
|
331
|
+
};
|
|
332
|
+
persistentMessages: {
|
|
333
|
+
type: import('vue').PropType<boolean>;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
hint: {
|
|
337
|
+
type: import('vue').PropType<string>;
|
|
338
|
+
default: undefined;
|
|
339
|
+
};
|
|
340
|
+
persistentHint: {
|
|
341
|
+
type: import('vue').PropType<boolean>;
|
|
342
|
+
default: boolean;
|
|
343
|
+
};
|
|
344
|
+
}>> & Readonly<{
|
|
345
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
346
|
+
}>, {
|
|
347
|
+
name: string | undefined;
|
|
348
|
+
error: boolean;
|
|
349
|
+
disabled: boolean;
|
|
350
|
+
readonly: boolean;
|
|
351
|
+
description: string;
|
|
352
|
+
value: any;
|
|
353
|
+
id: string;
|
|
354
|
+
label: string;
|
|
355
|
+
messages: string | string[];
|
|
356
|
+
persistentMessages: boolean;
|
|
357
|
+
hint: string;
|
|
358
|
+
persistentHint: boolean;
|
|
359
|
+
errorMessages: string | string[];
|
|
360
|
+
maxErrors: string | number;
|
|
361
|
+
rules: import('../../composable').TValidationRule[];
|
|
362
|
+
modelValue: any;
|
|
363
|
+
validateOn: "input" | "blur" | "submit";
|
|
364
|
+
validationValue: any;
|
|
365
|
+
hideMessages: boolean;
|
|
366
|
+
direction: NonNullable<"horizontal" | "vertical">;
|
|
367
|
+
theme: string;
|
|
368
|
+
}, {}, {
|
|
369
|
+
CdsInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
370
|
+
'onClick:prepend': import('vue').PropType<import('../../utils').EventProp>;
|
|
371
|
+
'onClick:append': import('vue').PropType<import('../../utils').EventProp>;
|
|
372
|
+
theme: {
|
|
373
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
374
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
|
|
375
|
+
default: undefined;
|
|
376
|
+
};
|
|
377
|
+
size: {
|
|
378
|
+
type: import('vue').PropType<import('../../composable').TSize>;
|
|
379
|
+
default: string;
|
|
380
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
381
|
+
validator: (value: import('../../composable').TSize) => boolean;
|
|
382
|
+
};
|
|
383
|
+
readonly: {
|
|
384
|
+
type: import('vue').PropType<boolean>;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
disabled: {
|
|
388
|
+
type: import('vue').PropType<boolean>;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
focused: {
|
|
392
|
+
type: import('vue').PropType<boolean>;
|
|
393
|
+
default: boolean;
|
|
394
|
+
};
|
|
395
|
+
error: {
|
|
396
|
+
type: import('vue').PropType<boolean>;
|
|
397
|
+
default: boolean;
|
|
398
|
+
};
|
|
399
|
+
errorMessages: {
|
|
400
|
+
type: import('vue').PropType<string | string[]>;
|
|
401
|
+
default: () => never[];
|
|
402
|
+
};
|
|
403
|
+
maxErrors: {
|
|
404
|
+
type: import('vue').PropType<string | number>;
|
|
405
|
+
default: number;
|
|
406
|
+
};
|
|
407
|
+
name: {
|
|
408
|
+
type: import('vue').PropType<string | undefined>;
|
|
409
|
+
default: undefined;
|
|
410
|
+
};
|
|
411
|
+
rules: {
|
|
412
|
+
type: import('vue').PropType<import('../../composable').TValidationRule[]>;
|
|
413
|
+
default: () => never[];
|
|
414
|
+
};
|
|
415
|
+
modelValue: {
|
|
416
|
+
type: import('vue').PropType<any>;
|
|
417
|
+
default: null;
|
|
418
|
+
};
|
|
419
|
+
validateOn: {
|
|
420
|
+
type: import('vue').PropType<import('../../composable').TValidationOn>;
|
|
421
|
+
default: string;
|
|
422
|
+
available: readonly ["blur", "input", "submit"];
|
|
423
|
+
validator: (value: import('../../composable').TValidationOn) => boolean;
|
|
424
|
+
};
|
|
425
|
+
validationValue: {
|
|
426
|
+
type: import('vue').PropType<any>;
|
|
427
|
+
default: undefined;
|
|
428
|
+
};
|
|
429
|
+
hideMessages: {
|
|
430
|
+
type: import('vue').PropType<boolean>;
|
|
431
|
+
default: boolean;
|
|
432
|
+
};
|
|
433
|
+
prependIcon: {
|
|
434
|
+
type: import('vue').PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
435
|
+
default: undefined;
|
|
436
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
437
|
+
};
|
|
438
|
+
appendIcon: {
|
|
439
|
+
type: import('vue').PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
440
|
+
default: undefined;
|
|
441
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
442
|
+
};
|
|
443
|
+
id: {
|
|
444
|
+
type: import('vue').PropType<string>;
|
|
445
|
+
default: undefined;
|
|
446
|
+
};
|
|
447
|
+
label: {
|
|
448
|
+
type: import('vue').PropType<string>;
|
|
449
|
+
default: undefined;
|
|
450
|
+
};
|
|
451
|
+
description: {
|
|
452
|
+
type: import('vue').PropType<string>;
|
|
453
|
+
default: undefined;
|
|
454
|
+
};
|
|
455
|
+
value: {
|
|
456
|
+
type: import('vue').PropType<any>;
|
|
457
|
+
default: null;
|
|
458
|
+
};
|
|
459
|
+
messages: {
|
|
460
|
+
type: import('vue').PropType<string[] | string>;
|
|
461
|
+
default: () => never[];
|
|
462
|
+
};
|
|
463
|
+
persistentMessages: {
|
|
464
|
+
type: import('vue').PropType<boolean>;
|
|
465
|
+
default: boolean;
|
|
466
|
+
};
|
|
467
|
+
hint: {
|
|
468
|
+
type: import('vue').PropType<string>;
|
|
469
|
+
default: undefined;
|
|
470
|
+
};
|
|
471
|
+
persistentHint: {
|
|
472
|
+
type: import('vue').PropType<boolean>;
|
|
473
|
+
default: boolean;
|
|
474
|
+
};
|
|
475
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
476
|
+
'update:modelValue': (value: any) => true;
|
|
477
|
+
'click:control': (event: MouseEvent) => true;
|
|
478
|
+
'mousedown:control': (event: MouseEvent) => true;
|
|
479
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
480
|
+
'onClick:prepend': import('vue').PropType<import('../../utils').EventProp>;
|
|
481
|
+
'onClick:append': import('vue').PropType<import('../../utils').EventProp>;
|
|
482
|
+
theme: {
|
|
483
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
484
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark", "promoLight", "promoDark"];
|
|
485
|
+
default: undefined;
|
|
486
|
+
};
|
|
487
|
+
size: {
|
|
488
|
+
type: import('vue').PropType<import('../../composable').TSize>;
|
|
489
|
+
default: string;
|
|
490
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
491
|
+
validator: (value: import('../../composable').TSize) => boolean;
|
|
492
|
+
};
|
|
493
|
+
readonly: {
|
|
494
|
+
type: import('vue').PropType<boolean>;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
497
|
+
disabled: {
|
|
498
|
+
type: import('vue').PropType<boolean>;
|
|
499
|
+
default: boolean;
|
|
500
|
+
};
|
|
501
|
+
focused: {
|
|
502
|
+
type: import('vue').PropType<boolean>;
|
|
503
|
+
default: boolean;
|
|
504
|
+
};
|
|
505
|
+
error: {
|
|
506
|
+
type: import('vue').PropType<boolean>;
|
|
507
|
+
default: boolean;
|
|
508
|
+
};
|
|
509
|
+
errorMessages: {
|
|
510
|
+
type: import('vue').PropType<string | string[]>;
|
|
511
|
+
default: () => never[];
|
|
512
|
+
};
|
|
513
|
+
maxErrors: {
|
|
514
|
+
type: import('vue').PropType<string | number>;
|
|
515
|
+
default: number;
|
|
516
|
+
};
|
|
517
|
+
name: {
|
|
518
|
+
type: import('vue').PropType<string | undefined>;
|
|
519
|
+
default: undefined;
|
|
520
|
+
};
|
|
521
|
+
rules: {
|
|
522
|
+
type: import('vue').PropType<import('../../composable').TValidationRule[]>;
|
|
523
|
+
default: () => never[];
|
|
524
|
+
};
|
|
525
|
+
modelValue: {
|
|
526
|
+
type: import('vue').PropType<any>;
|
|
527
|
+
default: null;
|
|
528
|
+
};
|
|
529
|
+
validateOn: {
|
|
530
|
+
type: import('vue').PropType<import('../../composable').TValidationOn>;
|
|
531
|
+
default: string;
|
|
532
|
+
available: readonly ["blur", "input", "submit"];
|
|
533
|
+
validator: (value: import('../../composable').TValidationOn) => boolean;
|
|
534
|
+
};
|
|
535
|
+
validationValue: {
|
|
536
|
+
type: import('vue').PropType<any>;
|
|
537
|
+
default: undefined;
|
|
538
|
+
};
|
|
539
|
+
hideMessages: {
|
|
540
|
+
type: import('vue').PropType<boolean>;
|
|
541
|
+
default: boolean;
|
|
542
|
+
};
|
|
543
|
+
prependIcon: {
|
|
544
|
+
type: import('vue').PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
545
|
+
default: undefined;
|
|
546
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
547
|
+
};
|
|
548
|
+
appendIcon: {
|
|
549
|
+
type: import('vue').PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
550
|
+
default: undefined;
|
|
551
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
552
|
+
};
|
|
553
|
+
id: {
|
|
554
|
+
type: import('vue').PropType<string>;
|
|
555
|
+
default: undefined;
|
|
556
|
+
};
|
|
557
|
+
label: {
|
|
558
|
+
type: import('vue').PropType<string>;
|
|
559
|
+
default: undefined;
|
|
560
|
+
};
|
|
561
|
+
description: {
|
|
562
|
+
type: import('vue').PropType<string>;
|
|
563
|
+
default: undefined;
|
|
564
|
+
};
|
|
565
|
+
value: {
|
|
566
|
+
type: import('vue').PropType<any>;
|
|
567
|
+
default: null;
|
|
568
|
+
};
|
|
569
|
+
messages: {
|
|
570
|
+
type: import('vue').PropType<string[] | string>;
|
|
571
|
+
default: () => never[];
|
|
572
|
+
};
|
|
573
|
+
persistentMessages: {
|
|
574
|
+
type: import('vue').PropType<boolean>;
|
|
575
|
+
default: boolean;
|
|
576
|
+
};
|
|
577
|
+
hint: {
|
|
578
|
+
type: import('vue').PropType<string>;
|
|
579
|
+
default: undefined;
|
|
580
|
+
};
|
|
581
|
+
persistentHint: {
|
|
582
|
+
type: import('vue').PropType<boolean>;
|
|
583
|
+
default: boolean;
|
|
584
|
+
};
|
|
585
|
+
}>> & Readonly<{
|
|
586
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
587
|
+
"onClick:control"?: ((event: MouseEvent) => any) | undefined;
|
|
588
|
+
"onMousedown:control"?: ((event: MouseEvent) => any) | undefined;
|
|
589
|
+
}>, {
|
|
590
|
+
name: string | undefined;
|
|
591
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
592
|
+
error: boolean;
|
|
593
|
+
prependIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "ai" | "alert-fill" | "alert" | "analog" | "archive-fill" | "archive" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock-fill" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "education" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "moon" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "scale-left" | "scale-right" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "sun" | "tab-backward" | "tab-forward" | "telegram" | "thumb-down-fill" | "thumb-down" | "thumb-up-fill" | "thumb-up" | "timer" | "tool" | "truck" | "underline" | "unlocked-left" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
594
|
+
appendIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "ai" | "alert-fill" | "alert" | "analog" | "archive-fill" | "archive" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock-fill" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "education" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "moon" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "scale-left" | "scale-right" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "sun" | "tab-backward" | "tab-forward" | "telegram" | "thumb-down-fill" | "thumb-down" | "thumb-up-fill" | "thumb-up" | "timer" | "tool" | "truck" | "underline" | "unlocked-left" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
595
|
+
disabled: boolean;
|
|
596
|
+
readonly: boolean;
|
|
597
|
+
description: string;
|
|
598
|
+
value: any;
|
|
599
|
+
focused: boolean;
|
|
600
|
+
id: string;
|
|
601
|
+
label: string;
|
|
602
|
+
messages: string | string[];
|
|
603
|
+
persistentMessages: boolean;
|
|
604
|
+
hint: string;
|
|
605
|
+
persistentHint: boolean;
|
|
606
|
+
errorMessages: string | string[];
|
|
607
|
+
maxErrors: string | number;
|
|
608
|
+
rules: import('../../composable').TValidationRule[];
|
|
609
|
+
modelValue: any;
|
|
610
|
+
validateOn: "input" | "blur" | "submit";
|
|
611
|
+
validationValue: any;
|
|
612
|
+
hideMessages: boolean;
|
|
613
|
+
theme: string;
|
|
614
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
615
|
+
CdsInputLabel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
616
|
+
tag: Omit<{
|
|
617
|
+
type: import('vue').PropType<string>;
|
|
618
|
+
default: string;
|
|
619
|
+
description: string;
|
|
620
|
+
}, "default" | "type"> & {
|
|
621
|
+
type: import('vue').PropType<string>;
|
|
622
|
+
default: string;
|
|
623
|
+
};
|
|
624
|
+
disabled: {
|
|
625
|
+
type: import('vue').PropType<boolean>;
|
|
626
|
+
default: boolean;
|
|
627
|
+
};
|
|
628
|
+
text: {
|
|
629
|
+
type: import('vue').PropType<string | number>;
|
|
630
|
+
default: undefined;
|
|
631
|
+
};
|
|
632
|
+
}>, {
|
|
633
|
+
disabledClasses: import('vue').ComputedRef<string | undefined>;
|
|
634
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
635
|
+
tag: Omit<{
|
|
636
|
+
type: import('vue').PropType<string>;
|
|
637
|
+
default: string;
|
|
638
|
+
description: string;
|
|
639
|
+
}, "default" | "type"> & {
|
|
640
|
+
type: import('vue').PropType<string>;
|
|
641
|
+
default: string;
|
|
642
|
+
};
|
|
643
|
+
disabled: {
|
|
644
|
+
type: import('vue').PropType<boolean>;
|
|
645
|
+
default: boolean;
|
|
646
|
+
};
|
|
647
|
+
text: {
|
|
648
|
+
type: import('vue').PropType<string | number>;
|
|
649
|
+
default: undefined;
|
|
650
|
+
};
|
|
651
|
+
}>> & Readonly<{}>, {
|
|
652
|
+
text: string | number;
|
|
653
|
+
tag: string;
|
|
654
|
+
disabled: boolean;
|
|
655
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
656
|
+
CdsInputDescription: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
657
|
+
tag: {
|
|
658
|
+
type: import('vue').PropType<string>;
|
|
659
|
+
default: string;
|
|
660
|
+
description: string;
|
|
661
|
+
};
|
|
662
|
+
text: {
|
|
663
|
+
type: import('vue').PropType<string | number>;
|
|
664
|
+
default: undefined;
|
|
665
|
+
};
|
|
666
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
667
|
+
tag: {
|
|
668
|
+
type: import('vue').PropType<string>;
|
|
669
|
+
default: string;
|
|
670
|
+
description: string;
|
|
671
|
+
};
|
|
672
|
+
text: {
|
|
673
|
+
type: import('vue').PropType<string | number>;
|
|
674
|
+
default: undefined;
|
|
675
|
+
};
|
|
676
|
+
}>> & Readonly<{}>, {
|
|
677
|
+
text: string | number;
|
|
678
|
+
tag: string;
|
|
679
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
680
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
681
|
+
export default _default;
|