@1337exp/taoui 1.13.1 → 2.1.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/dist/index.d.ts CHANGED
@@ -9,7 +9,6 @@ import { PublicProps } from 'vue';
9
9
 
10
10
  declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
11
  type: string;
12
- size: string;
13
12
  variant: string;
14
13
  tone: string;
15
14
  disabled: boolean;
@@ -20,7 +19,6 @@ icon: string;
20
19
  click: (...args: any[]) => void;
21
20
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
22
21
  type: string;
23
- size: string;
24
22
  variant: string;
25
23
  tone: string;
26
24
  disabled: boolean;
@@ -31,21 +29,20 @@ icon: string;
31
29
  onClick?: ((...args: any[]) => any) | undefined;
32
30
  }>, {
33
31
  type: "button" | "submit" | "reset";
32
+ icon: string;
34
33
  tone: "danger" | "success" | "warning" | "info" | "";
35
- size: "small" | "medium" | "large";
36
34
  disabled: boolean;
37
35
  variant: "primary" | "secondary" | "ghost" | "text" | "danger";
38
36
  loading: boolean;
39
37
  block: boolean;
40
- icon: string;
41
38
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
42
39
 
43
- declare const __VLS_component_10: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
40
+ declare const __VLS_component_10: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<{
44
41
  content: string;
45
42
  position?: TaoTooltipPosition;
46
43
  }>, {
47
44
  position: string;
48
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
45
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_10<{
49
46
  content: string;
50
47
  position?: TaoTooltipPosition;
51
48
  }>, {
@@ -54,7 +51,7 @@ position: string;
54
51
  position: TaoTooltipPosition;
55
52
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
56
53
 
57
- declare const __VLS_component_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<{
54
+ declare const __VLS_component_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<{
58
55
  modelValue?: boolean;
59
56
  position?: TaoPopoverPosition;
60
57
  disabled?: boolean;
@@ -65,7 +62,7 @@ disabled: boolean;
65
62
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
66
63
  "update:modelValue": (value: boolean) => void;
67
64
  change: (value: boolean) => void;
68
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<{
65
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<{
69
66
  modelValue?: boolean;
70
67
  position?: TaoPopoverPosition;
71
68
  disabled?: boolean;
@@ -77,12 +74,12 @@ disabled: boolean;
77
74
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
78
75
  onChange?: ((value: boolean) => any) | undefined;
79
76
  }>, {
77
+ position: TaoPopoverPosition;
80
78
  disabled: boolean;
81
79
  modelValue: boolean;
82
- position: TaoPopoverPosition;
83
80
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
84
81
 
85
- declare const __VLS_component_12: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<{
82
+ declare const __VLS_component_12: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<{
86
83
  title?: string;
87
84
  defaultOpen?: boolean;
88
85
  modelValue?: boolean;
@@ -95,7 +92,8 @@ modelValue: undefined;
95
92
  name: undefined;
96
93
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
97
94
  "update:modelValue": (value: boolean) => void;
98
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<{
95
+ change: (value: boolean) => void;
96
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<{
99
97
  title?: string;
100
98
  defaultOpen?: boolean;
101
99
  modelValue?: boolean;
@@ -108,6 +106,7 @@ modelValue: undefined;
108
106
  name: undefined;
109
107
  }>>> & Readonly<{
110
108
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
109
+ onChange?: ((value: boolean) => any) | undefined;
111
110
  }>, {
112
111
  name: string | number;
113
112
  title: string;
@@ -115,63 +114,66 @@ modelValue: boolean;
115
114
  defaultOpen: boolean;
116
115
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
117
116
 
118
- declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<{
117
+ declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_13<{
119
118
  modelValue?: TaoSpoilerName | null;
120
119
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
121
120
  "update:modelValue": (value: TaoSpoilerName | null) => void;
122
121
  change: (value: TaoSpoilerName | null) => void;
123
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<{
122
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_13<{
124
123
  modelValue?: TaoSpoilerName | null;
125
124
  }>>> & Readonly<{
126
125
  "onUpdate:modelValue"?: ((value: TaoSpoilerName | null) => any) | undefined;
127
126
  onChange?: ((value: TaoSpoilerName | null) => any) | undefined;
128
127
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
129
128
 
130
- declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<{
129
+ declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_14<{
131
130
  text: string;
131
+ /** Visible text after copying. / Видимый текст после копирования. */
132
+ successText?: string;
133
+ /** @deprecated Use `successText`: visible texts are `*Text`, aria texts are `*Label`. / Используйте `successText`. */
132
134
  successMessage?: string;
133
135
  copyLabel?: string;
134
136
  /** Показать подсказку над кнопкой после копирования. */
135
137
  tip?: boolean;
136
138
  }>, {
137
- successMessage: string;
138
- copyLabel: string;
139
+ successText: undefined;
140
+ successMessage: undefined;
139
141
  tip: boolean;
140
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<{
142
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_14<{
141
143
  text: string;
144
+ /** Visible text after copying. / Видимый текст после копирования. */
145
+ successText?: string;
146
+ /** @deprecated Use `successText`: visible texts are `*Text`, aria texts are `*Label`. / Используйте `successText`. */
142
147
  successMessage?: string;
143
148
  copyLabel?: string;
144
149
  /** Показать подсказку над кнопкой после копирования. */
145
150
  tip?: boolean;
146
151
  }>, {
147
- successMessage: string;
148
- copyLabel: string;
152
+ successText: undefined;
153
+ successMessage: undefined;
149
154
  tip: boolean;
150
155
  }>>> & Readonly<{}>, {
156
+ successText: string;
151
157
  successMessage: string;
152
- copyLabel: string;
153
158
  tip: boolean;
154
159
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
155
160
 
156
- declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_6>, {
157
- size: string;
161
+ declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<Props_6>, {
158
162
  free: boolean;
159
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_14<Props_6>, {
160
- size: string;
163
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<Props_6>, {
161
164
  free: boolean;
162
165
  }>>> & Readonly<{}>, {
163
- size: "wide" | "slim" | "ultra-slim";
164
166
  free: boolean;
165
167
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
166
168
 
167
- declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<Props_7>, {
169
+ declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<Props_7>, {
168
170
  tag: string;
169
171
  justify: string;
170
172
  align: string;
171
173
  direction: string;
172
174
  wrap: string;
173
175
  gap: string;
174
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<Props_7>, {
176
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<Props_7>, {
175
177
  tag: string;
176
178
  justify: string;
177
179
  align: string;
@@ -180,61 +182,66 @@ wrap: string;
180
182
  gap: string;
181
183
  }>>> & Readonly<{}>, {
182
184
  tag: string;
183
- gap: string;
185
+ gap: TaoLength;
184
186
  align: "stretch" | "flex-start" | "center" | "flex-end" | "baseline";
185
187
  wrap: "nowrap" | "wrap" | "wrap-reverse";
186
188
  justify: "flex-start" | "flex-end" | "center" | "normal" | "space-between" | "space-around" | "space-evenly";
187
189
  direction: "row" | "row-reverse" | "column" | "column-reverse";
188
190
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
189
191
 
190
- declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_8>, {
192
+ declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_17<Props_8>, {
191
193
  block: boolean;
192
194
  expand: boolean;
195
+ direction: undefined;
193
196
  vertical: boolean;
194
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_16<Props_8>, {
197
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_17<Props_8>, {
195
198
  block: boolean;
196
199
  expand: boolean;
200
+ direction: undefined;
197
201
  vertical: boolean;
198
202
  }>>> & Readonly<{}>, {
199
203
  block: boolean;
204
+ direction: "row" | "column";
200
205
  expand: boolean;
201
206
  vertical: boolean;
202
207
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
203
208
 
204
- declare const __VLS_component_18: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<{
209
+ declare const __VLS_component_18: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<{
205
210
  /** Минимальная ширина плитки (auto-fill). Каталог. Игнорируется, если задан cols. */
206
- min?: string;
211
+ min?: TaoLength;
207
212
  /** Фиксированное число колонок (bento). 0 — режим min. */
208
213
  cols?: number;
209
- gap?: string;
214
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
215
+ gap?: TaoLength;
210
216
  }>, {
211
217
  min: string;
212
218
  cols: number;
213
219
  gap: string;
214
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_17<{
220
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<{
215
221
  /** Минимальная ширина плитки (auto-fill). Каталог. Игнорируется, если задан cols. */
216
- min?: string;
222
+ min?: TaoLength;
217
223
  /** Фиксированное число колонок (bento). 0 — режим min. */
218
224
  cols?: number;
219
- gap?: string;
225
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
226
+ gap?: TaoLength;
220
227
  }>, {
221
228
  min: string;
222
229
  cols: number;
223
230
  gap: string;
224
231
  }>>> & Readonly<{}>, {
225
- gap: string;
226
- min: string;
232
+ gap: TaoLength;
233
+ min: TaoLength;
227
234
  cols: number;
228
235
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
229
236
 
230
- declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<{
237
+ declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<{
231
238
  /** Сколько колонок занять. Для bento (`cols`), не для каталога (`min`). */
232
239
  col?: number;
233
240
  row?: number;
234
241
  }>, {
235
242
  col: number;
236
243
  row: number;
237
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<{
244
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<{
238
245
  /** Сколько колонок занять. Для bento (`cols`), не для каталога (`min`). */
239
246
  col?: number;
240
247
  row?: number;
@@ -251,19 +258,22 @@ padding: number;
251
258
  radius: number;
252
259
  shadow: boolean;
253
260
  hover: boolean;
261
+ surface: string;
254
262
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<Props_2>, {
255
263
  padding: number;
256
264
  radius: number;
257
265
  shadow: boolean;
258
266
  hover: boolean;
267
+ surface: string;
259
268
  }>>> & Readonly<{}>, {
260
- padding: number | number[];
261
- radius: number;
269
+ surface: TaoSurface;
270
+ padding: TaoLength | TaoLength[];
271
+ radius: TaoLength;
262
272
  shadow: boolean;
263
273
  hover: boolean;
264
274
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
265
275
 
266
- declare const __VLS_component_20: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<{
276
+ declare const __VLS_component_20: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<{
267
277
  modelValue?: number;
268
278
  direction?: TaoSplitDirection;
269
279
  unit?: TaoSplitUnit;
@@ -281,7 +291,8 @@ minEnd: number;
281
291
  resizable: boolean;
282
292
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
283
293
  "update:modelValue": (value: number) => void;
284
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_19<{
294
+ change: (value: number) => void;
295
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<{
285
296
  modelValue?: number;
286
297
  direction?: TaoSplitDirection;
287
298
  unit?: TaoSplitUnit;
@@ -299,6 +310,7 @@ minEnd: number;
299
310
  resizable: boolean;
300
311
  }>>> & Readonly<{
301
312
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
313
+ onChange?: ((value: number) => any) | undefined;
302
314
  }>, {
303
315
  modelValue: number;
304
316
  min: number;
@@ -308,15 +320,15 @@ minEnd: number;
308
320
  resizable: boolean;
309
321
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
310
322
 
311
- declare const __VLS_component_21: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<Props_9>, {
323
+ declare const __VLS_component_21: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_21<Props_9>, {
312
324
  margin: string;
313
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_20<Props_9>, {
325
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_21<Props_9>, {
314
326
  margin: string;
315
327
  }>>> & Readonly<{}>, {
316
328
  margin: string;
317
329
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
318
330
 
319
- declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<Props_11>, {
331
+ declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_23<Props_11>, {
320
332
  src: string;
321
333
  alt: string;
322
334
  pixelated: boolean;
@@ -325,7 +337,7 @@ placeholderText: string;
325
337
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
326
338
  error: (...args: any[]) => void;
327
339
  load: (...args: any[]) => void;
328
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<Props_11>, {
340
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_23<Props_11>, {
329
341
  src: string;
330
342
  alt: string;
331
343
  pixelated: boolean;
@@ -342,16 +354,25 @@ lazy: boolean;
342
354
  placeholderText: string;
343
355
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
344
356
 
345
- declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<{
357
+ declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_24<{
358
+ /**
359
+ * @deprecated Use `checked` (or v-model). `value` will mean the option value, as in TaoRadio.
360
+ * Используйте `checked` (или v-model). `value` станет значением опции, как у TaoRadio.
361
+ */
346
362
  value?: boolean;
363
+ /** Checked state without v-model. / Состояние без v-model. */
364
+ checked?: boolean;
347
365
  modelValue?: boolean;
348
366
  label?: string;
349
367
  disabled?: boolean;
368
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
369
+ size?: TaoSize;
350
370
  error?: boolean;
351
371
  /** Частично выбран: черта вместо квадрата. Клик ставит checked — indeterminate снимает родитель. */
352
372
  indeterminate?: boolean;
353
373
  }>, {
354
374
  value: undefined;
375
+ checked: undefined;
355
376
  modelValue: undefined;
356
377
  label: string;
357
378
  disabled: boolean;
@@ -360,16 +381,25 @@ indeterminate: boolean;
360
381
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
361
382
  "update:modelValue": (value: boolean) => void;
362
383
  change: (value: boolean) => void;
363
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_23<{
384
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_24<{
385
+ /**
386
+ * @deprecated Use `checked` (or v-model). `value` will mean the option value, as in TaoRadio.
387
+ * Используйте `checked` (или v-model). `value` станет значением опции, как у TaoRadio.
388
+ */
364
389
  value?: boolean;
390
+ /** Checked state without v-model. / Состояние без v-model. */
391
+ checked?: boolean;
365
392
  modelValue?: boolean;
366
393
  label?: string;
367
394
  disabled?: boolean;
395
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
396
+ size?: TaoSize;
368
397
  error?: boolean;
369
398
  /** Частично выбран: черта вместо квадрата. Клик ставит checked — indeterminate снимает родитель. */
370
399
  indeterminate?: boolean;
371
400
  }>, {
372
401
  value: undefined;
402
+ checked: undefined;
373
403
  modelValue: undefined;
374
404
  label: string;
375
405
  disabled: boolean;
@@ -379,42 +409,47 @@ indeterminate: boolean;
379
409
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
380
410
  onChange?: ((value: boolean) => any) | undefined;
381
411
  }>, {
382
- error: boolean;
383
412
  label: string;
384
- disabled: boolean;
413
+ error: boolean;
385
414
  value: boolean;
415
+ disabled: boolean;
386
416
  modelValue: boolean;
417
+ checked: boolean;
387
418
  indeterminate: boolean;
388
419
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
389
420
 
390
- declare const __VLS_component_24: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<Props_12>, {
391
- type: string;
421
+ declare const __VLS_component_24: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_25<Props_12>, {
422
+ tone: undefined;
423
+ type: undefined;
424
+ clickable: boolean;
392
425
  pointer: boolean;
393
426
  closable: boolean;
394
- closeLabel: string;
395
427
  flat: boolean;
396
428
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
397
429
  close: (event: MouseEvent) => void;
398
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_24<Props_12>, {
399
- type: string;
430
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_25<Props_12>, {
431
+ tone: undefined;
432
+ type: undefined;
433
+ clickable: boolean;
400
434
  pointer: boolean;
401
435
  closable: boolean;
402
- closeLabel: string;
403
436
  flat: boolean;
404
437
  }>>> & Readonly<{
405
438
  onClose?: ((event: MouseEvent) => any) | undefined;
406
439
  }>, {
407
440
  flat: boolean;
408
- type: "neutral" | "success" | "danger" | "error" | "warning" | "info" | "";
441
+ type: TaoTone | "error" | "";
409
442
  closable: boolean;
410
- closeLabel: string;
443
+ tone: TaoTone | "error" | "";
444
+ clickable: boolean;
411
445
  pointer: boolean;
412
446
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
413
447
 
414
- declare const __VLS_component_25: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<{
448
+ declare const __VLS_component_25: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_26<{
415
449
  /** `solid` — обычная линия. `dashed` — пунктир. `colored` — акцент. `gap` — пустой отступ. */
416
450
  variant?: "solid" | "dashed" | "colored" | "gap";
417
- size?: "small" | "medium" | "large" | "big";
451
+ /** Height of `gap`. Spacing, not a control: does not inherit. `big` is a deprecated alias of `large`. / Высота `gap`. Отступ, не контрол: не наследуется. `big` — устаревший алиас `large`. */
452
+ size?: TaoSize | "big";
418
453
  /** Подпись посередине. Не меняет стиль линии — для этого `variant`. */
419
454
  text?: string;
420
455
  /** Плавные края линии. У `gap` ничего не делает. */
@@ -424,10 +459,11 @@ variant: string;
424
459
  size: string;
425
460
  text: string;
426
461
  fade: boolean;
427
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<{
462
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_26<{
428
463
  /** `solid` — обычная линия. `dashed` — пунктир. `colored` — акцент. `gap` — пустой отступ. */
429
464
  variant?: "solid" | "dashed" | "colored" | "gap";
430
- size?: "small" | "medium" | "large" | "big";
465
+ /** Height of `gap`. Spacing, not a control: does not inherit. `big` is a deprecated alias of `large`. / Высота `gap`. Отступ, не контрол: не наследуется. `big` — устаревший алиас `large`. */
466
+ size?: TaoSize | "big";
431
467
  /** Подпись посередине. Не меняет стиль линии — для этого `variant`. */
432
468
  text?: string;
433
469
  /** Плавные края линии. У `gap` ничего не делает. */
@@ -439,19 +475,19 @@ text: string;
439
475
  fade: boolean;
440
476
  }>>> & Readonly<{}>, {
441
477
  text: string;
442
- size: "small" | "medium" | "large" | "big";
478
+ size: TaoSize | "big";
443
479
  variant: "solid" | "dashed" | "colored" | "gap";
444
480
  fade: boolean;
445
481
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
446
482
 
447
- declare const __VLS_component_26: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<{
483
+ declare const __VLS_component_26: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<{
448
484
  legend?: string;
449
485
  /** Подпись на верхней рамке. */
450
486
  align?: "start" | "center" | "end";
451
487
  }>, {
452
488
  legend: string;
453
489
  align: string;
454
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_26<{
490
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<{
455
491
  legend?: string;
456
492
  /** Подпись на верхней рамке. */
457
493
  align?: "start" | "center" | "end";
@@ -463,12 +499,12 @@ legend: string;
463
499
  align: "start" | "center" | "end";
464
500
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
465
501
 
466
- declare const __VLS_component_27: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_27<Props_13>, {
502
+ declare const __VLS_component_27: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<Props_13>, {
467
503
  borderWidth: number;
468
504
  speed: number;
469
505
  glow: number;
470
506
  light: boolean;
471
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_27<Props_13>, {
507
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<Props_13>, {
472
508
  borderWidth: number;
473
509
  speed: number;
474
510
  glow: number;
@@ -480,36 +516,36 @@ glow: number;
480
516
  light: boolean;
481
517
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
482
518
 
483
- declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<Props_14>, {
519
+ declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_30<Props_14>, {
484
520
  size: number;
485
521
  right: number;
486
522
  bottom: number;
487
523
  zIndex: number;
488
524
  boundary: number;
489
- hasOutline: boolean;
525
+ outline: undefined;
526
+ hasOutline: undefined;
490
527
  tabindex: number;
491
- ariaLabel: string;
492
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_29<Props_14>, {
528
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_30<Props_14>, {
493
529
  size: number;
494
530
  right: number;
495
531
  bottom: number;
496
532
  zIndex: number;
497
533
  boundary: number;
498
- hasOutline: boolean;
534
+ outline: undefined;
535
+ hasOutline: undefined;
499
536
  tabindex: number;
500
- ariaLabel: string;
501
537
  }>>> & Readonly<{}>, {
502
538
  size: number;
503
- ariaLabel: string;
504
539
  tabindex: number;
505
540
  right: string | number;
506
541
  bottom: string | number;
507
542
  zIndex: number;
508
543
  boundary: number;
544
+ outline: boolean;
509
545
  hasOutline: boolean;
510
546
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
511
547
 
512
- declare const __VLS_component_29: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_30<{
548
+ declare const __VLS_component_29: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<{
513
549
  minWidth?: number;
514
550
  maxWidth?: number;
515
551
  /** @deprecated используйте minWidth */
@@ -530,7 +566,7 @@ progress: number;
530
566
  height: number;
531
567
  showPercentage: boolean;
532
568
  animated: boolean;
533
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_30<{
569
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<{
534
570
  minWidth?: number;
535
571
  maxWidth?: number;
536
572
  /** @deprecated используйте minWidth */
@@ -587,16 +623,16 @@ label: string;
587
623
  onBlur?: ((...args: any[]) => any) | undefined;
588
624
  onFocus?: ((...args: any[]) => any) | undefined;
589
625
  }>, {
626
+ label: string;
590
627
  error: boolean;
591
628
  type: "text" | "password" | "email" | "number" | "tel";
592
- label: string;
593
629
  disabled: boolean;
594
630
  placeholder: string;
595
631
  modelValue: string | number;
596
632
  errorMessage: string;
597
633
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
598
634
 
599
- declare const __VLS_component_30: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_31<{
635
+ declare const __VLS_component_30: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
600
636
  min?: number;
601
637
  max?: number;
602
638
  step?: number;
@@ -604,8 +640,12 @@ showValue?: boolean;
604
640
  placeholder?: string;
605
641
  modelValue: number | string;
606
642
  disabled?: boolean;
607
- /** `medium` — форм-контрол. `small` — тонкий трек (seek, громкость). */
608
- size?: "small" | "medium";
643
+ /** Red track outline. The message goes to TaoFormField `error`. / Красная обводка трека. Текст ошибки — в `error` у TaoFormField. */
644
+ error?: boolean;
645
+ /** `bar` — thick track, a form control. `thin` — thin track (seek, volume). / `bar` — толстый трек, форм-контрол. `thin` — тонкий (seek, громкость). */
646
+ variant?: "bar" | "thin";
647
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
648
+ size?: TaoSize;
609
649
  /** Шаг изменения значения при прокрутке колёсика мыши. 0 — отключено. */
610
650
  wheel?: number;
611
651
  }>, {
@@ -615,11 +655,13 @@ step: number;
615
655
  showValue: boolean;
616
656
  placeholder: string;
617
657
  disabled: boolean;
618
- size: string;
658
+ error: boolean;
659
+ variant: string;
619
660
  wheel: number;
620
661
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
621
- "update:modelValue": (...args: any[]) => void;
622
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_31<{
662
+ "update:modelValue": (value: string | number) => void;
663
+ change: (value: string | number) => void;
664
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
623
665
  min?: number;
624
666
  max?: number;
625
667
  step?: number;
@@ -627,8 +669,12 @@ showValue?: boolean;
627
669
  placeholder?: string;
628
670
  modelValue: number | string;
629
671
  disabled?: boolean;
630
- /** `medium` — форм-контрол. `small` — тонкий трек (seek, громкость). */
631
- size?: "small" | "medium";
672
+ /** Red track outline. The message goes to TaoFormField `error`. / Красная обводка трека. Текст ошибки — в `error` у TaoFormField. */
673
+ error?: boolean;
674
+ /** `bar` — thick track, a form control. `thin` — thin track (seek, volume). / `bar` — толстый трек, форм-контрол. `thin` — тонкий (seek, громкость). */
675
+ variant?: "bar" | "thin";
676
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
677
+ size?: TaoSize;
632
678
  /** Шаг изменения значения при прокрутке колёсика мыши. 0 — отключено. */
633
679
  wheel?: number;
634
680
  }>, {
@@ -638,107 +684,109 @@ step: number;
638
684
  showValue: boolean;
639
685
  placeholder: string;
640
686
  disabled: boolean;
641
- size: string;
687
+ error: boolean;
688
+ variant: string;
642
689
  wheel: number;
643
690
  }>>> & Readonly<{
644
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
691
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
692
+ onChange?: ((value: string | number) => any) | undefined;
645
693
  }>, {
646
- size: "small" | "medium";
694
+ error: boolean;
647
695
  disabled: boolean;
648
696
  max: number;
649
697
  step: number;
650
698
  placeholder: string;
699
+ variant: "bar" | "thin";
651
700
  wheel: number;
652
701
  min: number;
653
702
  showValue: boolean;
654
703
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
655
704
 
656
- declare const __VLS_component_31: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_32<Props_15>, {
705
+ declare const __VLS_component_31: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_33<Props_15>, {
657
706
  modelValue: () => never[];
658
- size: string;
659
707
  accept: string;
660
708
  multiple: boolean;
661
709
  showClear: boolean;
662
- clearLabel: string;
663
- removeLabel: string;
664
710
  list: boolean;
665
711
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
666
712
  "update:modelValue": (files: File[]) => void;
713
+ change: (files: File[]) => void;
667
714
  files: (files: File[]) => void;
668
715
  "clear-request": () => void;
669
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_32<Props_15>, {
716
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_33<Props_15>, {
670
717
  modelValue: () => never[];
671
- size: string;
672
718
  accept: string;
673
719
  multiple: boolean;
674
720
  showClear: boolean;
675
- clearLabel: string;
676
- removeLabel: string;
677
721
  list: boolean;
678
722
  }>>> & Readonly<{
679
723
  "onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
724
+ onChange?: ((files: File[]) => any) | undefined;
680
725
  onFiles?: ((files: File[]) => any) | undefined;
681
726
  "onClear-request"?: (() => any) | undefined;
682
727
  }>, {
683
- size: "small" | "medium" | "large";
684
- modelValue: File[];
685
728
  list: boolean;
729
+ modelValue: File[];
686
730
  accept: string;
687
731
  multiple: boolean;
688
732
  showClear: boolean;
689
- clearLabel: string;
690
- removeLabel: string;
691
733
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
692
734
 
693
- declare const __VLS_component_32: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_33<{
735
+ declare const __VLS_component_32: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
694
736
  actions?: TaoDropdownAction[];
695
737
  menuLabel?: string;
696
738
  }>, {
697
739
  actions: () => never[];
698
- menuLabel: string;
699
740
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
700
- selected: (...args: any[]) => void;
701
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_33<{
741
+ select: (id: string) => void;
742
+ selected: (id: string) => void;
743
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
702
744
  actions?: TaoDropdownAction[];
703
745
  menuLabel?: string;
704
746
  }>, {
705
747
  actions: () => never[];
706
- menuLabel: string;
707
748
  }>>> & Readonly<{
708
- onSelected?: ((...args: any[]) => any) | undefined;
749
+ onSelect?: ((id: string) => any) | undefined;
750
+ onSelected?: ((id: string) => any) | undefined;
709
751
  }>, {
710
752
  actions: TaoDropdownAction[];
711
- menuLabel: string;
712
753
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
713
754
 
714
- declare const __VLS_component_33: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_35<Props_16>, {
755
+ declare const __VLS_component_33: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<Props_16>, {
715
756
  to: undefined;
757
+ newTab: boolean;
716
758
  asNewTab: boolean;
717
759
  private: boolean;
718
760
  exactPath: boolean;
719
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_35<Props_16>, {
761
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<Props_16>, {
720
762
  to: undefined;
763
+ newTab: boolean;
721
764
  asNewTab: boolean;
722
765
  private: boolean;
723
766
  exactPath: boolean;
724
767
  }>>> & Readonly<{}>, {
725
768
  to: string | Record<string, unknown>;
769
+ newTab: boolean;
726
770
  asNewTab: boolean;
727
771
  private: boolean;
728
772
  exactPath: boolean;
729
773
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
730
774
 
731
- declare const __VLS_component_34: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_36<{
775
+ declare const __VLS_component_34: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_37<{
732
776
  label?: string;
733
777
  hint?: string;
734
778
  error?: string;
735
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_36<{
779
+ /** Size of the control inside. / Размер контрола внутри. */
780
+ size?: TaoSize;
781
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_37<{
736
782
  label?: string;
737
783
  hint?: string;
738
784
  error?: string;
785
+ /** Size of the control inside. / Размер контрола внутри. */
786
+ size?: TaoSize;
739
787
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
740
788
 
741
- declare const __VLS_component_35: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_37<{
789
+ declare const __VLS_component_35: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_38<{
742
790
  modelValue?: string | number | null;
743
791
  options?: TaoSelectOption[];
744
792
  placeholder?: string;
@@ -753,21 +801,18 @@ clearText?: string;
753
801
  * Выключайте, когда null не допустим (шаг сетки, порядок сортировки).
754
802
  */
755
803
  clearable?: boolean;
756
- /** Control size, same scale as TaoButton. / Размер контрола, шкала как у TaoButton. */
757
- size?: "small" | "medium" | "large";
804
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. Also scales the open list. / Размер контрола, шкала как у TaoButton; без него — размер предков. Масштабирует и список. */
805
+ size?: TaoSize;
758
806
  }>, {
759
807
  modelValue: null;
760
808
  options: () => never[];
761
- placeholder: string;
762
809
  disabled: boolean;
763
810
  error: boolean;
764
- clearText: string;
765
811
  clearable: boolean;
766
- size: string;
767
812
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
768
813
  "update:modelValue": (value: string | number | null) => void;
769
814
  change: (value: string | number | null) => void;
770
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_37<{
815
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_38<{
771
816
  modelValue?: string | number | null;
772
817
  options?: TaoSelectOption[];
773
818
  placeholder?: string;
@@ -782,32 +827,26 @@ clearText?: string;
782
827
  * Выключайте, когда null не допустим (шаг сетки, порядок сортировки).
783
828
  */
784
829
  clearable?: boolean;
785
- /** Control size, same scale as TaoButton. / Размер контрола, шкала как у TaoButton. */
786
- size?: "small" | "medium" | "large";
830
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. Also scales the open list. / Размер контрола, шкала как у TaoButton; без него — размер предков. Масштабирует и список. */
831
+ size?: TaoSize;
787
832
  }>, {
788
833
  modelValue: null;
789
834
  options: () => never[];
790
- placeholder: string;
791
835
  disabled: boolean;
792
836
  error: boolean;
793
- clearText: string;
794
837
  clearable: boolean;
795
- size: string;
796
838
  }>>> & Readonly<{
797
839
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
798
840
  onChange?: ((value: string | number | null) => any) | undefined;
799
841
  }>, {
800
842
  error: boolean;
801
- size: "small" | "medium" | "large";
802
843
  disabled: boolean;
803
- placeholder: string;
804
844
  modelValue: string | number | null;
805
845
  options: TaoSelectOption[];
806
- clearText: string;
807
846
  clearable: boolean;
808
847
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
809
848
 
810
- declare const __VLS_component_36: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_38<{
849
+ declare const __VLS_component_36: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
811
850
  modelValue?: string | number | null;
812
851
  options?: TaoSelectOption[];
813
852
  placeholder?: string;
@@ -818,26 +857,22 @@ emptyText?: string;
818
857
  clearText?: string;
819
858
  /** Whether the value can be cleared: shows the clear row. Turn off when null is not valid. / Можно ли очистить значение: показывает пункт сброса. Выключайте, когда null не допустим. */
820
859
  clearable?: boolean;
821
- /** Control size, same scale as TaoButton and TaoSelect. / Размер контрола, шкала как у TaoButton и TaoSelect. */
822
- size?: "small" | "medium" | "large";
860
+ /** Control size, same scale as TaoButton and TaoSelect; without it — the size of ancestors. / Размер контрола, шкала как у TaoButton и TaoSelect; без него — размер предков. */
861
+ size?: TaoSize;
823
862
  /** Можно оставить то, чего нет в списке. */
824
863
  allowCreate?: boolean;
825
864
  }>, {
826
865
  modelValue: null;
827
866
  options: () => never[];
828
- placeholder: string;
829
867
  disabled: boolean;
830
868
  error: boolean;
831
- emptyText: string;
832
- clearText: string;
833
869
  clearable: boolean;
834
- size: string;
835
870
  allowCreate: boolean;
836
871
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
837
872
  "update:modelValue": (value: string | number | null) => void;
838
873
  change: (value: string | number | null) => void;
839
874
  create: (value: string) => void;
840
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_38<{
875
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_39<{
841
876
  modelValue?: string | number | null;
842
877
  options?: TaoSelectOption[];
843
878
  placeholder?: string;
@@ -848,20 +883,16 @@ emptyText?: string;
848
883
  clearText?: string;
849
884
  /** Whether the value can be cleared: shows the clear row. Turn off when null is not valid. / Можно ли очистить значение: показывает пункт сброса. Выключайте, когда null не допустим. */
850
885
  clearable?: boolean;
851
- /** Control size, same scale as TaoButton and TaoSelect. / Размер контрола, шкала как у TaoButton и TaoSelect. */
852
- size?: "small" | "medium" | "large";
886
+ /** Control size, same scale as TaoButton and TaoSelect; without it — the size of ancestors. / Размер контрола, шкала как у TaoButton и TaoSelect; без него — размер предков. */
887
+ size?: TaoSize;
853
888
  /** Можно оставить то, чего нет в списке. */
854
889
  allowCreate?: boolean;
855
890
  }>, {
856
891
  modelValue: null;
857
892
  options: () => never[];
858
- placeholder: string;
859
893
  disabled: boolean;
860
894
  error: boolean;
861
- emptyText: string;
862
- clearText: string;
863
895
  clearable: boolean;
864
- size: string;
865
896
  allowCreate: boolean;
866
897
  }>>> & Readonly<{
867
898
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
@@ -869,21 +900,19 @@ onChange?: ((value: string | number | null) => any) | undefined;
869
900
  onCreate?: ((value: string) => any) | undefined;
870
901
  }>, {
871
902
  error: boolean;
872
- size: "small" | "medium" | "large";
873
903
  disabled: boolean;
874
- placeholder: string;
875
904
  modelValue: string | number | null;
876
905
  options: TaoSelectOption[];
877
- emptyText: string;
878
- clearText: string;
879
906
  clearable: boolean;
880
907
  allowCreate: boolean;
881
908
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
882
909
 
883
- declare const __VLS_component_37: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_39<{
910
+ declare const __VLS_component_37: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_40<{
884
911
  modelValue?: string | null;
885
912
  placeholder?: string;
886
913
  disabled?: boolean;
914
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
915
+ size?: TaoSize;
887
916
  error?: boolean;
888
917
  min?: string;
889
918
  max?: string;
@@ -894,23 +923,19 @@ prevMonthLabel?: string;
894
923
  nextMonthLabel?: string;
895
924
  }>, {
896
925
  modelValue: null;
897
- placeholder: string;
898
926
  disabled: boolean;
899
927
  error: boolean;
900
928
  min: undefined;
901
929
  max: undefined;
902
- locale: string;
903
- todayText: string;
904
- clearText: string;
905
- prevMonthLabel: string;
906
- nextMonthLabel: string;
907
930
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
908
931
  "update:modelValue": (value: string | null) => void;
909
932
  change: (value: string | null) => void;
910
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_39<{
933
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_40<{
911
934
  modelValue?: string | null;
912
935
  placeholder?: string;
913
936
  disabled?: boolean;
937
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
938
+ size?: TaoSize;
914
939
  error?: boolean;
915
940
  min?: string;
916
941
  max?: string;
@@ -921,16 +946,10 @@ prevMonthLabel?: string;
921
946
  nextMonthLabel?: string;
922
947
  }>, {
923
948
  modelValue: null;
924
- placeholder: string;
925
949
  disabled: boolean;
926
950
  error: boolean;
927
951
  min: undefined;
928
952
  max: undefined;
929
- locale: string;
930
- todayText: string;
931
- clearText: string;
932
- prevMonthLabel: string;
933
- nextMonthLabel: string;
934
953
  }>>> & Readonly<{
935
954
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
936
955
  onChange?: ((value: string | null) => any) | undefined;
@@ -938,20 +957,16 @@ onChange?: ((value: string | null) => any) | undefined;
938
957
  error: boolean;
939
958
  disabled: boolean;
940
959
  max: string;
941
- placeholder: string;
942
960
  modelValue: string | null;
943
- clearText: string;
944
961
  min: string;
945
- locale: string;
946
- todayText: string;
947
- prevMonthLabel: string;
948
- nextMonthLabel: string;
949
962
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
950
963
 
951
- declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_40<{
964
+ declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_41<{
952
965
  modelValue?: TaoDateRangeValue | null;
953
966
  placeholder?: string;
954
967
  disabled?: boolean;
968
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
969
+ size?: TaoSize;
955
970
  error?: boolean;
956
971
  min?: string;
957
972
  max?: string;
@@ -962,23 +977,19 @@ prevMonthLabel?: string;
962
977
  nextMonthLabel?: string;
963
978
  }>, {
964
979
  modelValue: null;
965
- placeholder: string;
966
980
  disabled: boolean;
967
981
  error: boolean;
968
982
  min: undefined;
969
983
  max: undefined;
970
- locale: string;
971
- todayText: string;
972
- clearText: string;
973
- prevMonthLabel: string;
974
- nextMonthLabel: string;
975
984
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
976
985
  "update:modelValue": (value: TaoDateRangeValue | null) => void;
977
986
  change: (value: TaoDateRangeValue | null) => void;
978
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_40<{
987
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_41<{
979
988
  modelValue?: TaoDateRangeValue | null;
980
989
  placeholder?: string;
981
990
  disabled?: boolean;
991
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
992
+ size?: TaoSize;
982
993
  error?: boolean;
983
994
  min?: string;
984
995
  max?: string;
@@ -989,16 +1000,10 @@ prevMonthLabel?: string;
989
1000
  nextMonthLabel?: string;
990
1001
  }>, {
991
1002
  modelValue: null;
992
- placeholder: string;
993
1003
  disabled: boolean;
994
1004
  error: boolean;
995
1005
  min: undefined;
996
1006
  max: undefined;
997
- locale: string;
998
- todayText: string;
999
- clearText: string;
1000
- prevMonthLabel: string;
1001
- nextMonthLabel: string;
1002
1007
  }>>> & Readonly<{
1003
1008
  "onUpdate:modelValue"?: ((value: TaoDateRangeValue | null) => any) | undefined;
1004
1009
  onChange?: ((value: TaoDateRangeValue | null) => any) | undefined;
@@ -1006,139 +1011,178 @@ onChange?: ((value: TaoDateRangeValue | null) => any) | undefined;
1006
1011
  error: boolean;
1007
1012
  disabled: boolean;
1008
1013
  max: string;
1009
- placeholder: string;
1010
1014
  modelValue: TaoDateRangeValue | null;
1011
- clearText: string;
1012
1015
  min: string;
1013
- locale: string;
1014
- todayText: string;
1015
- prevMonthLabel: string;
1016
- nextMonthLabel: string;
1017
1016
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1018
1017
 
1019
- declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_41<{
1018
+ declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_42<{
1020
1019
  modelValue?: boolean;
1021
1020
  label?: string;
1022
1021
  disabled?: boolean;
1022
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1023
+ error?: boolean;
1024
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1025
+ size?: TaoSize;
1023
1026
  }>, {
1024
1027
  modelValue: boolean;
1025
1028
  label: string;
1026
1029
  disabled: boolean;
1030
+ error: boolean;
1027
1031
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1028
1032
  "update:modelValue": (value: boolean) => void;
1029
1033
  change: (value: boolean) => void;
1030
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_41<{
1034
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_42<{
1031
1035
  modelValue?: boolean;
1032
1036
  label?: string;
1033
1037
  disabled?: boolean;
1038
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1039
+ error?: boolean;
1040
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1041
+ size?: TaoSize;
1034
1042
  }>, {
1035
1043
  modelValue: boolean;
1036
1044
  label: string;
1037
1045
  disabled: boolean;
1046
+ error: boolean;
1038
1047
  }>>> & Readonly<{
1039
1048
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1040
1049
  onChange?: ((value: boolean) => any) | undefined;
1041
1050
  }>, {
1042
1051
  label: string;
1052
+ error: boolean;
1043
1053
  disabled: boolean;
1044
1054
  modelValue: boolean;
1045
1055
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1046
1056
 
1047
- declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1057
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
1058
+ /** Size of the whole group: addons, field and buttons inside. / Размер всей группы: аддоны, поле и кнопки внутри. */
1059
+ size?: TaoSize;
1060
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
1061
+ /** Size of the whole group: addons, field and buttons inside. / Размер всей группы: аддоны, поле и кнопки внутри. */
1062
+ size?: TaoSize;
1063
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1048
1064
 
1049
- declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
1065
+ declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_43<{
1050
1066
  value: TaoRadioValue;
1051
1067
  modelValue?: TaoRadioValue;
1052
1068
  name?: string;
1053
1069
  label?: string;
1054
1070
  disabled?: boolean;
1071
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1072
+ error?: boolean;
1073
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1074
+ size?: TaoSize;
1055
1075
  }>, {
1056
1076
  label: string;
1057
1077
  disabled: boolean;
1078
+ error: boolean;
1058
1079
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1059
1080
  "update:modelValue": (value: TaoRadioValue) => void;
1060
1081
  change: (value: TaoRadioValue) => void;
1061
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
1082
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_43<{
1062
1083
  value: TaoRadioValue;
1063
1084
  modelValue?: TaoRadioValue;
1064
1085
  name?: string;
1065
1086
  label?: string;
1066
1087
  disabled?: boolean;
1088
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1089
+ error?: boolean;
1090
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1091
+ size?: TaoSize;
1067
1092
  }>, {
1068
1093
  label: string;
1069
1094
  disabled: boolean;
1095
+ error: boolean;
1070
1096
  }>>> & Readonly<{
1071
1097
  "onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
1072
1098
  onChange?: ((value: TaoRadioValue) => any) | undefined;
1073
1099
  }>, {
1074
1100
  label: string;
1101
+ error: boolean;
1075
1102
  disabled: boolean;
1076
1103
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1077
1104
 
1078
- declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_43<{
1105
+ declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<{
1079
1106
  modelValue?: TaoRadioValue;
1080
1107
  name?: string;
1081
1108
  legend?: string;
1082
1109
  disabled?: boolean;
1110
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1111
+ error?: boolean;
1083
1112
  direction?: "row" | "column";
1113
+ /** Size of every radio inside. / Размер всех радио внутри. */
1114
+ size?: TaoSize;
1084
1115
  }>, {
1085
1116
  disabled: boolean;
1117
+ error: boolean;
1086
1118
  direction: string;
1087
1119
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1088
1120
  "update:modelValue": (value: TaoRadioValue) => void;
1089
1121
  change: (value: TaoRadioValue) => void;
1090
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_43<{
1122
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<{
1091
1123
  modelValue?: TaoRadioValue;
1092
1124
  name?: string;
1093
1125
  legend?: string;
1094
1126
  disabled?: boolean;
1127
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1128
+ error?: boolean;
1095
1129
  direction?: "row" | "column";
1130
+ /** Size of every radio inside. / Размер всех радио внутри. */
1131
+ size?: TaoSize;
1096
1132
  }>, {
1097
1133
  disabled: boolean;
1134
+ error: boolean;
1098
1135
  direction: string;
1099
1136
  }>>> & Readonly<{
1100
1137
  "onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
1101
1138
  onChange?: ((value: TaoRadioValue) => any) | undefined;
1102
1139
  }>, {
1140
+ error: boolean;
1103
1141
  disabled: boolean;
1104
1142
  direction: "row" | "column";
1105
1143
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1106
1144
 
1107
- declare const __VLS_component_42: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
1145
+ declare const __VLS_component_42: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
1108
1146
  modelValue?: TaoRadioValue;
1109
1147
  name?: string;
1110
1148
  legend?: string;
1111
1149
  disabled?: boolean;
1112
- size?: TaoSegmentedSize;
1150
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1151
+ error?: boolean;
1152
+ /** Without it the group takes the size of its ancestors. / Без него — размер предков. */
1153
+ size?: TaoSize;
1113
1154
  block?: boolean;
1114
1155
  }>, {
1115
1156
  disabled: boolean;
1116
- size: string;
1157
+ error: boolean;
1117
1158
  block: boolean;
1118
1159
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1119
1160
  "update:modelValue": (value: TaoRadioValue) => void;
1120
1161
  change: (value: TaoRadioValue) => void;
1121
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
1162
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<{
1122
1163
  modelValue?: TaoRadioValue;
1123
1164
  name?: string;
1124
1165
  legend?: string;
1125
1166
  disabled?: boolean;
1126
- size?: TaoSegmentedSize;
1167
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1168
+ error?: boolean;
1169
+ /** Without it the group takes the size of its ancestors. / Без него — размер предков. */
1170
+ size?: TaoSize;
1127
1171
  block?: boolean;
1128
1172
  }>, {
1129
1173
  disabled: boolean;
1130
- size: string;
1174
+ error: boolean;
1131
1175
  block: boolean;
1132
1176
  }>>> & Readonly<{
1133
1177
  "onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
1134
1178
  onChange?: ((value: TaoRadioValue) => any) | undefined;
1135
1179
  }>, {
1136
- size: TaoSegmentedSize;
1180
+ error: boolean;
1137
1181
  disabled: boolean;
1138
1182
  block: boolean;
1139
1183
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1140
1184
 
1141
- declare const __VLS_component_43: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_45<{
1185
+ declare const __VLS_component_43: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
1142
1186
  value: TaoRadioValue;
1143
1187
  modelValue?: TaoRadioValue;
1144
1188
  name?: string;
@@ -1154,7 +1198,7 @@ disabled: boolean;
1154
1198
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1155
1199
  "update:modelValue": (value: TaoRadioValue) => void;
1156
1200
  change: (value: TaoRadioValue) => void;
1157
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_45<{
1201
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<{
1158
1202
  value: TaoRadioValue;
1159
1203
  modelValue?: TaoRadioValue;
1160
1204
  name?: string;
@@ -1172,42 +1216,48 @@ disabled: boolean;
1172
1216
  onChange?: ((value: TaoRadioValue) => any) | undefined;
1173
1217
  }>, {
1174
1218
  label: string;
1175
- disabled: boolean;
1176
1219
  icon: string;
1220
+ disabled: boolean;
1177
1221
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1178
1222
 
1179
- declare const __VLS_component_44: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_46<{
1180
- type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
1223
+ declare const __VLS_component_44: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
1224
+ /** Status color; `error` is an alias of `danger`. / Цвет статуса; `error` — алиас `danger`. */
1225
+ tone?: TaoTone | "error";
1226
+ /** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
1227
+ type?: TaoTone | "error";
1181
1228
  title?: string;
1182
1229
  closable?: boolean;
1183
1230
  closeLabel?: string;
1184
1231
  }>, {
1185
- type: string;
1232
+ tone: undefined;
1233
+ type: undefined;
1186
1234
  title: string;
1187
1235
  closable: boolean;
1188
- closeLabel: string;
1189
1236
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1190
1237
  close: () => void;
1191
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_46<{
1192
- type?: "success" | "error" | "danger" | "warning" | "info" | "neutral";
1238
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<{
1239
+ /** Status color; `error` is an alias of `danger`. / Цвет статуса; `error` — алиас `danger`. */
1240
+ tone?: TaoTone | "error";
1241
+ /** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
1242
+ type?: TaoTone | "error";
1193
1243
  title?: string;
1194
1244
  closable?: boolean;
1195
1245
  closeLabel?: string;
1196
1246
  }>, {
1197
- type: string;
1247
+ tone: undefined;
1248
+ type: undefined;
1198
1249
  title: string;
1199
1250
  closable: boolean;
1200
- closeLabel: string;
1201
1251
  }>>> & Readonly<{
1202
1252
  onClose?: (() => any) | undefined;
1203
1253
  }>, {
1204
- type: "success" | "error" | "danger" | "warning" | "info" | "neutral";
1205
1254
  title: string;
1255
+ type: TaoTone | "error";
1206
1256
  closable: boolean;
1207
- closeLabel: string;
1257
+ tone: TaoTone | "error";
1208
1258
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1209
1259
 
1210
- declare const __VLS_component_45: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_47<{
1260
+ declare const __VLS_component_45: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<{
1211
1261
  columns: TaoTableColumn[];
1212
1262
  rows?: Record<string, unknown>[];
1213
1263
  rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -1215,6 +1265,9 @@ loading?: boolean;
1215
1265
  emptyText?: string;
1216
1266
  /** Зебра. `true` / `odd` — с первой строки, `even` — со второй. */
1217
1267
  striped?: boolean | "odd" | "even";
1268
+ /** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
1269
+ size?: TaoSize;
1270
+ /** @deprecated Use size="small". / Используйте size="small". */
1218
1271
  compact?: boolean;
1219
1272
  hover?: boolean;
1220
1273
  /** Подсветка шапки. */
@@ -1222,7 +1275,8 @@ head?: boolean;
1222
1275
  /** Горизонтальные линии между рядами. */
1223
1276
  lines?: boolean;
1224
1277
  sticky?: boolean;
1225
- maxHeight?: string;
1278
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
1279
+ maxHeight?: TaoLength;
1226
1280
  clickable?: boolean;
1227
1281
  sort?: TaoTableSort | null;
1228
1282
  caption?: string;
@@ -1230,7 +1284,6 @@ caption?: string;
1230
1284
  rows: () => never[];
1231
1285
  rowKey: string;
1232
1286
  loading: boolean;
1233
- emptyText: string;
1234
1287
  striped: boolean;
1235
1288
  compact: boolean;
1236
1289
  hover: boolean;
@@ -1243,9 +1296,10 @@ sort: null;
1243
1296
  caption: string;
1244
1297
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1245
1298
  sort: (value: TaoTableSort | null) => void;
1299
+ change: (value: TaoTableSort | null) => void;
1246
1300
  "update:sort": (value: TaoTableSort | null) => void;
1247
1301
  "row-click": (row: Record<string, unknown>, index: number) => void;
1248
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_47<{
1302
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<{
1249
1303
  columns: TaoTableColumn[];
1250
1304
  rows?: Record<string, unknown>[];
1251
1305
  rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -1253,6 +1307,9 @@ loading?: boolean;
1253
1307
  emptyText?: string;
1254
1308
  /** Зебра. `true` / `odd` — с первой строки, `even` — со второй. */
1255
1309
  striped?: boolean | "odd" | "even";
1310
+ /** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
1311
+ size?: TaoSize;
1312
+ /** @deprecated Use size="small". / Используйте size="small". */
1256
1313
  compact?: boolean;
1257
1314
  hover?: boolean;
1258
1315
  /** Подсветка шапки. */
@@ -1260,7 +1317,8 @@ head?: boolean;
1260
1317
  /** Горизонтальные линии между рядами. */
1261
1318
  lines?: boolean;
1262
1319
  sticky?: boolean;
1263
- maxHeight?: string;
1320
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
1321
+ maxHeight?: TaoLength;
1264
1322
  clickable?: boolean;
1265
1323
  sort?: TaoTableSort | null;
1266
1324
  caption?: string;
@@ -1268,7 +1326,6 @@ caption?: string;
1268
1326
  rows: () => never[];
1269
1327
  rowKey: string;
1270
1328
  loading: boolean;
1271
- emptyText: string;
1272
1329
  striped: boolean;
1273
1330
  compact: boolean;
1274
1331
  hover: boolean;
@@ -1281,17 +1338,17 @@ sort: null;
1281
1338
  caption: string;
1282
1339
  }>>> & Readonly<{
1283
1340
  onSort?: ((value: TaoTableSort | null) => any) | undefined;
1341
+ onChange?: ((value: TaoTableSort | null) => any) | undefined;
1284
1342
  "onUpdate:sort"?: ((value: TaoTableSort | null) => any) | undefined;
1285
1343
  "onRow-click"?: ((row: Record<string, unknown>, index: number) => any) | undefined;
1286
1344
  }>, {
1287
- sort: TaoTableSort | null;
1288
1345
  caption: string;
1289
1346
  head: boolean;
1347
+ sort: TaoTableSort | null;
1290
1348
  hover: boolean;
1291
1349
  loading: boolean;
1292
- emptyText: string;
1293
1350
  rows: Record<string, unknown>[];
1294
- maxHeight: string;
1351
+ maxHeight: TaoLength;
1295
1352
  clickable: boolean;
1296
1353
  lines: boolean;
1297
1354
  rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -1300,14 +1357,15 @@ compact: boolean;
1300
1357
  sticky: boolean;
1301
1358
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1302
1359
 
1303
- declare const __VLS_component_46: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_48<{
1360
+ declare const __VLS_component_46: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<{
1304
1361
  page?: number;
1305
1362
  total?: number;
1306
1363
  pageSize?: number;
1307
1364
  siblingCount?: number;
1308
1365
  disabled?: boolean;
1309
1366
  showTotal?: boolean;
1310
- size?: "small" | "medium";
1367
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1368
+ size?: TaoSize;
1311
1369
  /** Click ellipsis to skip this many pages. 0 keeps … decorative. */
1312
1370
  jump?: number;
1313
1371
  ariaLabel?: string;
@@ -1325,25 +1383,19 @@ pageSize: number;
1325
1383
  siblingCount: number;
1326
1384
  disabled: boolean;
1327
1385
  showTotal: boolean;
1328
- size: string;
1329
1386
  jump: number;
1330
- ariaLabel: string;
1331
- prevLabel: string;
1332
- nextLabel: string;
1333
- pageLabel: string;
1334
- jumpPrevLabel: string;
1335
- jumpNextLabel: string;
1336
1387
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1337
1388
  change: (value: number) => void;
1338
1389
  "update:page": (value: number) => void;
1339
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_48<{
1390
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<{
1340
1391
  page?: number;
1341
1392
  total?: number;
1342
1393
  pageSize?: number;
1343
1394
  siblingCount?: number;
1344
1395
  disabled?: boolean;
1345
1396
  showTotal?: boolean;
1346
- size?: "small" | "medium";
1397
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1398
+ size?: TaoSize;
1347
1399
  /** Click ellipsis to skip this many pages. 0 keeps … decorative. */
1348
1400
  jump?: number;
1349
1401
  ariaLabel?: string;
@@ -1361,89 +1413,68 @@ pageSize: number;
1361
1413
  siblingCount: number;
1362
1414
  disabled: boolean;
1363
1415
  showTotal: boolean;
1364
- size: string;
1365
1416
  jump: number;
1366
- ariaLabel: string;
1367
- prevLabel: string;
1368
- nextLabel: string;
1369
- pageLabel: string;
1370
- jumpPrevLabel: string;
1371
- jumpNextLabel: string;
1372
1417
  }>>> & Readonly<{
1373
1418
  onChange?: ((value: number) => any) | undefined;
1374
1419
  "onUpdate:page"?: ((value: number) => any) | undefined;
1375
1420
  }>, {
1376
- size: "small" | "medium";
1377
- ariaLabel: string;
1378
1421
  disabled: boolean;
1379
1422
  page: number;
1380
- prevLabel: string;
1381
- nextLabel: string;
1382
1423
  total: number;
1383
1424
  pageSize: number;
1384
1425
  siblingCount: number;
1385
1426
  showTotal: boolean;
1386
1427
  jump: number;
1387
- pageLabel: string;
1388
- jumpPrevLabel: string;
1389
- jumpNextLabel: string;
1390
1428
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1391
1429
 
1392
- declare const __VLS_component_47: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_49<{
1430
+ declare const __VLS_component_47: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<{
1393
1431
  title?: string;
1394
- }>, {
1395
- title: string;
1396
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_49<{
1432
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<{
1397
1433
  title?: string;
1398
- }>, {
1399
- title: string;
1400
- }>>> & Readonly<{}>, {
1401
- title: string;
1402
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1434
+ }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1403
1435
 
1404
- declare const __VLS_component_48: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
1405
- size?: TaoListSize;
1436
+ declare const __VLS_component_48: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
1437
+ /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
1438
+ size?: TaoSize;
1406
1439
  /** Рамка, как у списка файлов. */
1407
1440
  bordered?: boolean;
1408
1441
  /** Линии между строками. */
1409
1442
  divided?: boolean;
1410
1443
  /** Скролл, если строки не влезают. Число — пиксели. */
1411
- maxHeight?: number | string;
1444
+ maxHeight?: TaoLength;
1412
1445
  /** Показать `#empty` вместо строк. */
1413
1446
  empty?: boolean;
1414
1447
  ariaLabel?: string;
1415
1448
  }>, {
1416
- size: string;
1417
1449
  bordered: boolean;
1418
1450
  divided: boolean;
1419
1451
  empty: boolean;
1420
1452
  ariaLabel: string;
1421
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
1422
- size?: TaoListSize;
1453
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
1454
+ /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
1455
+ size?: TaoSize;
1423
1456
  /** Рамка, как у списка файлов. */
1424
1457
  bordered?: boolean;
1425
1458
  /** Линии между строками. */
1426
1459
  divided?: boolean;
1427
1460
  /** Скролл, если строки не влезают. Число — пиксели. */
1428
- maxHeight?: number | string;
1461
+ maxHeight?: TaoLength;
1429
1462
  /** Показать `#empty` вместо строк. */
1430
1463
  empty?: boolean;
1431
1464
  ariaLabel?: string;
1432
1465
  }>, {
1433
- size: string;
1434
1466
  bordered: boolean;
1435
1467
  divided: boolean;
1436
1468
  empty: boolean;
1437
1469
  ariaLabel: string;
1438
1470
  }>>> & Readonly<{}>, {
1439
- size: TaoListSize;
1471
+ empty: boolean;
1440
1472
  ariaLabel: string;
1441
1473
  bordered: boolean;
1442
1474
  divided: boolean;
1443
- empty: boolean;
1444
1475
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1445
1476
 
1446
- declare const __VLS_component_49: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_51<{
1477
+ declare const __VLS_component_49: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
1447
1478
  title?: string;
1448
1479
  description?: string;
1449
1480
  selected?: boolean;
@@ -1452,7 +1483,8 @@ disabled?: boolean;
1452
1483
  active?: boolean;
1453
1484
  /** Строка-кнопка: Enter/Space, курсор pointer. */
1454
1485
  clickable?: boolean;
1455
- size?: TaoListSize;
1486
+ /** Overrides the list size. / Перебивает размер списка. */
1487
+ size?: TaoSize;
1456
1488
  /** `#action` всегда на виду, не только по ховеру. */
1457
1489
  actionAlways?: boolean;
1458
1490
  }>, {
@@ -1465,7 +1497,7 @@ clickable: boolean;
1465
1497
  actionAlways: boolean;
1466
1498
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1467
1499
  click: (event: MouseEvent) => void;
1468
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_51<{
1500
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
1469
1501
  title?: string;
1470
1502
  description?: string;
1471
1503
  selected?: boolean;
@@ -1474,7 +1506,8 @@ disabled?: boolean;
1474
1506
  active?: boolean;
1475
1507
  /** Строка-кнопка: Enter/Space, курсор pointer. */
1476
1508
  clickable?: boolean;
1477
- size?: TaoListSize;
1509
+ /** Overrides the list size. / Перебивает размер списка. */
1510
+ size?: TaoSize;
1478
1511
  /** `#action` всегда на виду, не только по ховеру. */
1479
1512
  actionAlways?: boolean;
1480
1513
  }>, {
@@ -1497,13 +1530,17 @@ clickable: boolean;
1497
1530
  actionAlways: boolean;
1498
1531
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1499
1532
 
1500
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
1533
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<{
1501
1534
  modelValue?: number | null;
1502
1535
  min?: number;
1503
1536
  max?: number;
1504
1537
  step?: number;
1505
1538
  precision?: number;
1506
1539
  disabled?: boolean;
1540
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1541
+ error?: boolean;
1542
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1543
+ size?: TaoSize;
1507
1544
  placeholder?: string;
1508
1545
  controls?: boolean;
1509
1546
  incrementLabel?: string;
@@ -1512,22 +1549,25 @@ decrementLabel?: string;
1512
1549
  modelValue: null;
1513
1550
  step: number;
1514
1551
  disabled: boolean;
1552
+ error: boolean;
1515
1553
  placeholder: string;
1516
1554
  controls: boolean;
1517
- incrementLabel: string;
1518
- decrementLabel: string;
1519
1555
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1520
1556
  "update:modelValue": (value: number | null) => void;
1521
1557
  blur: (event: FocusEvent) => void;
1522
1558
  focus: (event: FocusEvent) => void;
1523
1559
  commit: (value: number | null) => void;
1524
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
1560
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<{
1525
1561
  modelValue?: number | null;
1526
1562
  min?: number;
1527
1563
  max?: number;
1528
1564
  step?: number;
1529
1565
  precision?: number;
1530
1566
  disabled?: boolean;
1567
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1568
+ error?: boolean;
1569
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1570
+ size?: TaoSize;
1531
1571
  placeholder?: string;
1532
1572
  controls?: boolean;
1533
1573
  incrementLabel?: string;
@@ -1536,26 +1576,24 @@ decrementLabel?: string;
1536
1576
  modelValue: null;
1537
1577
  step: number;
1538
1578
  disabled: boolean;
1579
+ error: boolean;
1539
1580
  placeholder: string;
1540
1581
  controls: boolean;
1541
- incrementLabel: string;
1542
- decrementLabel: string;
1543
1582
  }>>> & Readonly<{
1544
1583
  "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
1545
1584
  onBlur?: ((event: FocusEvent) => any) | undefined;
1546
1585
  onFocus?: ((event: FocusEvent) => any) | undefined;
1547
1586
  onCommit?: ((value: number | null) => any) | undefined;
1548
1587
  }>, {
1588
+ error: boolean;
1549
1589
  disabled: boolean;
1550
1590
  step: number;
1551
1591
  placeholder: string;
1552
1592
  modelValue: number | null;
1553
1593
  controls: boolean;
1554
- incrementLabel: string;
1555
- decrementLabel: string;
1556
1594
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1557
1595
 
1558
- declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_53<{
1596
+ declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<{
1559
1597
  modelValue: boolean;
1560
1598
  title?: string;
1561
1599
  side?: "left" | "right";
@@ -1565,11 +1603,10 @@ closeLabel?: string;
1565
1603
  title: string;
1566
1604
  side: string;
1567
1605
  closable: boolean;
1568
- closeLabel: string;
1569
1606
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1570
1607
  close: (...args: any[]) => void;
1571
1608
  "update:modelValue": (...args: any[]) => void;
1572
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_53<{
1609
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<{
1573
1610
  modelValue: boolean;
1574
1611
  title?: string;
1575
1612
  side?: "left" | "right";
@@ -1579,18 +1616,16 @@ closeLabel?: string;
1579
1616
  title: string;
1580
1617
  side: string;
1581
1618
  closable: boolean;
1582
- closeLabel: string;
1583
1619
  }>>> & Readonly<{
1584
1620
  onClose?: ((...args: any[]) => any) | undefined;
1585
1621
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1586
1622
  }>, {
1587
1623
  title: string;
1588
1624
  closable: boolean;
1589
- closeLabel: string;
1590
1625
  side: "left" | "right";
1591
1626
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1592
1627
 
1593
- declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_57<{
1628
+ declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<{
1594
1629
  modelValue?: number;
1595
1630
  peek?: number;
1596
1631
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
@@ -1615,15 +1650,10 @@ controls: boolean;
1615
1650
  autoplay: number;
1616
1651
  loop: boolean;
1617
1652
  dots: boolean;
1618
- ariaLabel: string;
1619
- prevLabel: string;
1620
- nextLabel: string;
1621
- dotsLabel: string;
1622
- slideLabel: string;
1623
1653
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1624
1654
  "update:modelValue": (value: number) => void;
1625
1655
  change: (value: number) => void;
1626
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_57<{
1656
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<{
1627
1657
  modelValue?: number;
1628
1658
  peek?: number;
1629
1659
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
@@ -1648,16 +1678,10 @@ controls: boolean;
1648
1678
  autoplay: number;
1649
1679
  loop: boolean;
1650
1680
  dots: boolean;
1651
- ariaLabel: string;
1652
- prevLabel: string;
1653
- nextLabel: string;
1654
- dotsLabel: string;
1655
- slideLabel: string;
1656
1681
  }>>> & Readonly<{
1657
1682
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
1658
1683
  onChange?: ((value: number) => any) | undefined;
1659
1684
  }>, {
1660
- ariaLabel: string;
1661
1685
  modelValue: number;
1662
1686
  peek: number;
1663
1687
  perView: number;
@@ -1665,44 +1689,50 @@ controls: boolean;
1665
1689
  autoplay: number;
1666
1690
  loop: boolean;
1667
1691
  dots: boolean;
1668
- prevLabel: string;
1669
- nextLabel: string;
1670
- dotsLabel: string;
1671
- slideLabel: string;
1672
1692
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1673
1693
 
1674
- declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_58<{
1694
+ declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<{
1675
1695
  items?: TaoStageItem[];
1696
+ /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
1697
+ direction?: "row" | "column";
1698
+ /** @deprecated Use `direction`. / Используйте `direction`. */
1676
1699
  vertical?: boolean;
1677
1700
  ariaLabel?: string;
1678
1701
  statusLabels?: Partial<Record<TaoStageStatus, string>>;
1679
1702
  }>, {
1680
1703
  items: () => never[];
1681
- vertical: boolean;
1682
- ariaLabel: string;
1704
+ direction: undefined;
1705
+ vertical: undefined;
1683
1706
  statusLabels: () => {};
1684
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_58<{
1707
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<{
1685
1708
  items?: TaoStageItem[];
1709
+ /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
1710
+ direction?: "row" | "column";
1711
+ /** @deprecated Use `direction`. / Используйте `direction`. */
1686
1712
  vertical?: boolean;
1687
1713
  ariaLabel?: string;
1688
1714
  statusLabels?: Partial<Record<TaoStageStatus, string>>;
1689
1715
  }>, {
1690
1716
  items: () => never[];
1691
- vertical: boolean;
1692
- ariaLabel: string;
1717
+ direction: undefined;
1718
+ vertical: undefined;
1693
1719
  statusLabels: () => {};
1694
1720
  }>>> & Readonly<{}>, {
1695
1721
  items: TaoStageItem[];
1696
- ariaLabel: string;
1722
+ direction: "row" | "column";
1697
1723
  vertical: boolean;
1698
1724
  statusLabels: Partial<Record<TaoStageStatus, string>>;
1699
1725
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1700
1726
 
1701
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<{
1727
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
1702
1728
  modelValue?: number;
1703
1729
  min?: number;
1704
1730
  max?: number;
1705
1731
  disabled?: boolean;
1732
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1733
+ error?: boolean;
1734
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1735
+ size?: TaoSize;
1706
1736
  /** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
1707
1737
  allowRemove?: boolean;
1708
1738
  /** Clamp to max on blur and when the incoming value is above stock. */
@@ -1714,11 +1744,9 @@ incrementLabel?: string;
1714
1744
  modelValue: number;
1715
1745
  min: number;
1716
1746
  disabled: boolean;
1747
+ error: boolean;
1717
1748
  allowRemove: boolean;
1718
1749
  forceMaxLimit: boolean;
1719
- decrementLabel: string;
1720
- removeLabel: string;
1721
- incrementLabel: string;
1722
1750
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1723
1751
  "update:modelValue": (value: number) => void;
1724
1752
  change: (value: number, source: TaoQuantityChangeSource) => void;
@@ -1726,11 +1754,15 @@ blur: (value: number) => void;
1726
1754
  focus: (event: FocusEvent) => void;
1727
1755
  dec: (value: number) => void;
1728
1756
  inc: (value: number) => void;
1729
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<{
1757
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
1730
1758
  modelValue?: number;
1731
1759
  min?: number;
1732
1760
  max?: number;
1733
1761
  disabled?: boolean;
1762
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
1763
+ error?: boolean;
1764
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1765
+ size?: TaoSize;
1734
1766
  /** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
1735
1767
  allowRemove?: boolean;
1736
1768
  /** Clamp to max on blur and when the incoming value is above stock. */
@@ -1742,11 +1774,9 @@ incrementLabel?: string;
1742
1774
  modelValue: number;
1743
1775
  min: number;
1744
1776
  disabled: boolean;
1777
+ error: boolean;
1745
1778
  allowRemove: boolean;
1746
1779
  forceMaxLimit: boolean;
1747
- decrementLabel: string;
1748
- removeLabel: string;
1749
- incrementLabel: string;
1750
1780
  }>>> & Readonly<{
1751
1781
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
1752
1782
  onChange?: ((value: number, source: TaoQuantityChangeSource) => any) | undefined;
@@ -1755,17 +1785,15 @@ onFocus?: ((event: FocusEvent) => any) | undefined;
1755
1785
  onDec?: ((value: number) => any) | undefined;
1756
1786
  onInc?: ((value: number) => any) | undefined;
1757
1787
  }>, {
1788
+ error: boolean;
1758
1789
  disabled: boolean;
1759
1790
  modelValue: number;
1760
1791
  min: number;
1761
- removeLabel: string;
1762
- incrementLabel: string;
1763
- decrementLabel: string;
1764
1792
  allowRemove: boolean;
1765
1793
  forceMaxLimit: boolean;
1766
1794
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1767
1795
 
1768
- declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<Props_4>, {
1796
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
1769
1797
  padding: number;
1770
1798
  radius: number;
1771
1799
  shadow: boolean;
@@ -1774,7 +1802,8 @@ hover: boolean;
1774
1802
  active: boolean;
1775
1803
  overflow: boolean;
1776
1804
  flush: boolean;
1777
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<Props_4>, {
1805
+ surface: string;
1806
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
1778
1807
  padding: number;
1779
1808
  radius: number;
1780
1809
  shadow: boolean;
@@ -1783,9 +1812,11 @@ hover: boolean;
1783
1812
  active: boolean;
1784
1813
  overflow: boolean;
1785
1814
  flush: boolean;
1815
+ surface: string;
1786
1816
  }>>> & Readonly<{}>, {
1787
- padding: number | number[];
1788
- radius: number;
1817
+ surface: TaoSurface;
1818
+ padding: TaoLength | TaoLength[];
1819
+ radius: TaoLength;
1789
1820
  shadow: boolean;
1790
1821
  hover: boolean;
1791
1822
  shadowBottomOnly: boolean;
@@ -1794,46 +1825,61 @@ overflow: boolean;
1794
1825
  flush: boolean;
1795
1826
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1796
1827
 
1797
- declare const __VLS_component_8: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_5>, {
1828
+ declare const __VLS_component_8: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<Props_5>, {
1798
1829
  title: string;
1799
1830
  closable: boolean;
1800
- closeLabel: string;
1801
1831
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1802
1832
  close: (...args: any[]) => void;
1803
1833
  "update:modelValue": (...args: any[]) => void;
1804
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_5>, {
1834
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<Props_5>, {
1805
1835
  title: string;
1806
1836
  closable: boolean;
1807
- closeLabel: string;
1808
1837
  }>>> & Readonly<{
1809
1838
  onClose?: ((...args: any[]) => any) | undefined;
1810
1839
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1811
1840
  }>, {
1812
1841
  title: string;
1813
1842
  closable: boolean;
1814
- closeLabel: string;
1815
1843
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1816
1844
 
1817
- declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
1818
- tabs: Tab[];
1845
+ declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
1846
+ /** Tabs: `{ value, label, disabled? }`, same shape as Select options. / Вкладки, как опции Select. */
1847
+ items?: TaoTabItem[];
1848
+ /** @deprecated Use `items`, same as TaoBreadcrumb / TaoStages. / Используйте `items`. */
1849
+ tabs?: TaoTabItem[];
1819
1850
  modelValue: string;
1820
1851
  /** Выравнивание вкладок по горизонтали (CSS justify-content). */
1821
1852
  justify?: string;
1853
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1854
+ size?: TaoSize;
1822
1855
  }>, {
1856
+ items: undefined;
1857
+ tabs: undefined;
1823
1858
  justify: string;
1824
1859
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1825
- "update:modelValue": (...args: any[]) => void;
1826
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
1827
- tabs: Tab[];
1860
+ "update:modelValue": (value: string) => void;
1861
+ change: (value: string) => void;
1862
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
1863
+ /** Tabs: `{ value, label, disabled? }`, same shape as Select options. / Вкладки, как опции Select. */
1864
+ items?: TaoTabItem[];
1865
+ /** @deprecated Use `items`, same as TaoBreadcrumb / TaoStages. / Используйте `items`. */
1866
+ tabs?: TaoTabItem[];
1828
1867
  modelValue: string;
1829
1868
  /** Выравнивание вкладок по горизонтали (CSS justify-content). */
1830
1869
  justify?: string;
1870
+ /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
1871
+ size?: TaoSize;
1831
1872
  }>, {
1873
+ items: undefined;
1874
+ tabs: undefined;
1832
1875
  justify: string;
1833
1876
  }>>> & Readonly<{
1834
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1877
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1878
+ onChange?: ((value: string) => any) | undefined;
1835
1879
  }>, {
1880
+ items: TaoTabItem[];
1836
1881
  justify: string;
1882
+ tabs: TaoTabItem[];
1837
1883
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1838
1884
 
1839
1885
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1944,6 +1990,8 @@ declare type __VLS_NonUndefinedable_57<T> = T extends undefined ? never : T;
1944
1990
 
1945
1991
  declare type __VLS_NonUndefinedable_58<T> = T extends undefined ? never : T;
1946
1992
 
1993
+ declare type __VLS_NonUndefinedable_59<T> = T extends undefined ? never : T;
1994
+
1947
1995
  declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
1948
1996
 
1949
1997
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
@@ -3026,6 +3074,15 @@ declare type __VLS_TypePropsToRuntimeProps_58<T> = {
3026
3074
  };
3027
3075
  };
3028
3076
 
3077
+ declare type __VLS_TypePropsToRuntimeProps_59<T> = {
3078
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
3079
+ type: PropType<__VLS_NonUndefinedable_59<T[K]>>;
3080
+ } : {
3081
+ type: PropType<T[K]>;
3082
+ required: true;
3083
+ };
3084
+ };
3085
+
3029
3086
  declare type __VLS_TypePropsToRuntimeProps_6<T> = {
3030
3087
  [K in keyof T]-?: {} extends Pick<T, K> ? {
3031
3088
  type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
@@ -3715,19 +3772,29 @@ export { confirm_2 as confirm }
3715
3772
 
3716
3773
  declare function copy(): Promise<void>;
3717
3774
 
3775
+ declare type DeepPartial<T> = T extends string | unknown[] ? T : {
3776
+ [K in keyof T]?: DeepPartial<T[K]>;
3777
+ };
3778
+
3718
3779
  export declare function formatTaoDateIso(parts: TaoDateParts): string;
3719
3780
 
3720
3781
  export declare function formatTaoDateLabel(iso: string, locale?: string): string;
3721
3782
 
3722
3783
  export declare function formatTaoDateRangeLabel(start: string, end: string, locale?: string): string;
3723
3784
 
3785
+ export declare const localeEn: TaoLocale;
3786
+
3787
+ /** Default locale. / Локаль по умолчанию. */
3788
+ export declare const localeRu: TaoLocale;
3789
+
3724
3790
  export declare function parseTaoDate(value: string | null | undefined): TaoDateParts | null;
3725
3791
 
3726
3792
  export declare function parseTaoDateRange(value: TaoDateRangeValue | null | undefined): TaoDateRangeValue | null;
3727
3793
 
3728
3794
  declare interface Props {
3729
3795
  type?: 'button' | 'submit' | 'reset';
3730
- size?: 'small' | 'medium' | 'large';
3796
+ /** Without it the button takes the size of its ancestors (medium by default). / Без него — размер предков (по умолчанию medium). */
3797
+ size?: TaoSize;
3731
3798
  variant?: 'primary' | 'secondary' | 'ghost' | 'text' | 'danger';
3732
3799
  /** Красит кнопку: danger / success / warning / info. Не вместо variant. */
3733
3800
  tone?: 'danger' | 'success' | 'warning' | 'info' | '';
@@ -3753,15 +3820,23 @@ declare interface Props_11 {
3753
3820
  }
3754
3821
 
3755
3822
  declare interface Props_12 {
3756
- type?: 'neutral' | 'success' | 'danger' | 'error' | 'warning' | 'info' | '';
3823
+ /** Status color; `error` is an alias of `danger`. / Цвет статуса; `error` — алиас `danger`. */
3824
+ tone?: TaoTone | 'error' | '';
3825
+ /** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
3826
+ type?: TaoTone | 'error' | '';
3757
3827
  color?: string;
3758
3828
  background?: string;
3759
3829
  borderColor?: string;
3830
+ /** Pointer cursor, same as TaoListItem / TaoTable. / Курсор-рука, как у TaoListItem / TaoTable. */
3831
+ clickable?: boolean;
3832
+ /** @deprecated Use `clickable`. / Используйте `clickable`. */
3760
3833
  pointer?: boolean;
3761
3834
  closable?: boolean;
3762
3835
  closeLabel?: string;
3763
3836
  /** Без рамки, заливка остаётся. Высота как у обычного тега. */
3764
3837
  flat?: boolean;
3838
+ /** Size; without it — the size of ancestors. / Размер; без него — размер предков. */
3839
+ size?: TaoSize;
3765
3840
  }
3766
3841
 
3767
3842
  declare interface Props_13 {
@@ -3781,7 +3856,11 @@ declare interface Props_14 {
3781
3856
  bottom?: string | number;
3782
3857
  zIndex?: number;
3783
3858
  boundary?: number;
3859
+ /** Focus outline. / Обводка фокуса. */
3860
+ outline?: boolean;
3861
+ /** @deprecated Use `outline`. / Используйте `outline`. */
3784
3862
  hasOutline?: boolean;
3863
+ /** @deprecated Pass `tabindex` as a plain attribute: it lands on the button anyway. / Передавайте как обычный атрибут — он и так попадёт на кнопку. */
3785
3864
  tabindex?: number;
3786
3865
  ariaLabel?: string;
3787
3866
  }
@@ -3792,7 +3871,8 @@ declare interface Props_15 {
3792
3871
  * Это и даёт возможность подтверждения: родитель решает, когда
3793
3872
  * именно менять modelValue (сразу или после ответа в модалке). */
3794
3873
  modelValue?: File[];
3795
- size?: 'small' | 'medium' | 'large';
3874
+ /** Zone height and file rows; without it — the size of ancestors. / Высота зоны и строк файлов; без него — размер предков. */
3875
+ size?: TaoSize;
3796
3876
  accept?: string;
3797
3877
  multiple?: boolean;
3798
3878
  showClear?: boolean;
@@ -3806,16 +3886,23 @@ declare interface Props_15 {
3806
3886
 
3807
3887
  declare interface Props_16 {
3808
3888
  to?: string | Record<string, unknown>;
3889
+ /** Open in a new tab. / Открыть в новой вкладке. */
3890
+ newTab?: boolean;
3891
+ /** @deprecated Use `newTab`. / Используйте `newTab`. */
3809
3892
  asNewTab?: boolean;
3810
3893
  private?: boolean;
3811
3894
  exactPath?: boolean;
3812
3895
  }
3813
3896
 
3814
3897
  declare interface Props_2 {
3815
- padding?: number | number[];
3816
- radius?: number;
3898
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3899
+ padding?: TaoLength | TaoLength[];
3900
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3901
+ radius?: TaoLength;
3817
3902
  shadow?: boolean;
3818
3903
  hover?: boolean;
3904
+ /** `flat` fill, `grain` film grain, `glass` blurred translucent. / Из чего сделана панель. */
3905
+ surface?: TaoSurface;
3819
3906
  }
3820
3907
 
3821
3908
  declare interface Props_3 {
@@ -3823,15 +3910,22 @@ declare interface Props_3 {
3823
3910
  type?: 'text' | 'password' | 'email' | 'number' | 'tel';
3824
3911
  placeholder?: string;
3825
3912
  disabled?: boolean;
3913
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
3914
+ size?: TaoSize;
3915
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
3826
3916
  error?: boolean;
3917
+ /** @deprecated Use TaoFormField `error` — same as every other field. / Используйте `error` у TaoFormField — как у всех полей. */
3827
3918
  errorMessage?: string;
3919
+ /** @deprecated Use TaoFormField `label` — same as every other field. / Используйте `label` у TaoFormField — как у всех полей. */
3828
3920
  label?: string;
3829
3921
  id?: string;
3830
3922
  }
3831
3923
 
3832
3924
  declare interface Props_4 {
3833
- padding?: number | number[];
3834
- radius?: number;
3925
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3926
+ padding?: TaoLength | TaoLength[];
3927
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3928
+ radius?: TaoLength;
3835
3929
  shadow?: boolean;
3836
3930
  shadowBottomOnly?: boolean;
3837
3931
  hover?: boolean;
@@ -3839,6 +3933,8 @@ declare interface Props_4 {
3839
3933
  overflow?: boolean;
3840
3934
  /** Плитка: без отступа и без тени, cover/body тянутся на ячейку. */
3841
3935
  flush?: boolean;
3936
+ /** `flat` fill, `grain` film grain, `glass` blurred translucent. / Из чего сделана панель. */
3937
+ surface?: TaoSurface;
3842
3938
  }
3843
3939
 
3844
3940
  declare interface Props_5 {
@@ -3849,7 +3945,10 @@ declare interface Props_5 {
3849
3945
  }
3850
3946
 
3851
3947
  declare interface Props_6 {
3852
- size?: 'wide' | 'slim' | 'ultra-slim';
3948
+ /** max-width: 1120 / 500 / 400px. */
3949
+ width?: TaoContainerWidth;
3950
+ /** @deprecated Use `width` — this is a width, not a size. / Используйте `width` — это ширина, не размер. */
3951
+ size?: TaoContainerWidth;
3853
3952
  /** "свободно" болтается в разметке, без авто-центровки по горизонтали */
3854
3953
  free?: boolean;
3855
3954
  }
@@ -3860,12 +3959,16 @@ declare interface Props_7 {
3860
3959
  align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
3861
3960
  direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
3862
3961
  wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
3863
- gap?: string;
3962
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3963
+ gap?: TaoLength;
3864
3964
  }
3865
3965
 
3866
3966
  declare interface Props_8 {
3867
3967
  block?: boolean;
3868
3968
  expand?: boolean;
3969
+ /** Same as TaoFlex / TaoRadioGroup. / Как у TaoFlex / TaoRadioGroup. */
3970
+ direction?: 'row' | 'column';
3971
+ /** @deprecated Use `direction="column"`. / Используйте `direction="column"`. */
3869
3972
  vertical?: boolean;
3870
3973
  }
3871
3974
 
@@ -3876,21 +3979,28 @@ declare interface Props_9 {
3876
3979
  invert?: boolean;
3877
3980
  }
3878
3981
 
3879
- declare interface Tab {
3880
- key: string;
3881
- label: string;
3882
- disabled?: boolean;
3883
- }
3982
+ /**
3983
+ * Sets the language of built-in texts: a whole locale (`localeEn`) or a few keys on top of `base`
3984
+ * (Russian by default). Works at any moment: components already on the page switch at once.
3985
+ *
3986
+ * Задаёт язык встроенных текстов: целую локаль (`localeEn`) или несколько ключей поверх `base`
3987
+ * (по умолчанию русской). Работает в любой момент: уже показанные компоненты переключаются сразу.
3988
+ */
3989
+ export declare function setTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocale): void;
3884
3990
 
3885
3991
  export declare const TaoAlert: __VLS_WithTemplateSlots_44<typeof __VLS_component_44, ReturnType<typeof __VLS_template_44>>;
3886
3992
 
3887
3993
  export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, ReturnType<typeof __VLS_template_27>>;
3888
3994
 
3889
- export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_54<{
3995
+ export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<{
3890
3996
  src?: string;
3891
3997
  name?: string;
3892
3998
  alt?: string;
3893
- size?: "small" | "medium" | "large" | "s" | "m" | "l";
3999
+ /**
4000
+ * 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors. `s` / `m` / `l` are deprecated.
4001
+ * Контент, не контрол: размер предков не наследует. `s` / `m` / `l` устарели.
4002
+ */
4003
+ size?: TaoSize | "s" | "m" | "l";
3894
4004
  /** Точка статуса. `true` = success (в сети). */
3895
4005
  dot?: boolean | TaoAvatarDot;
3896
4006
  /** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
@@ -3906,14 +4016,16 @@ alt: string;
3906
4016
  size: string;
3907
4017
  dot: boolean;
3908
4018
  count: undefined;
3909
- fallbackLabel: string;
3910
- notificationsLabel: string;
3911
4019
  dotLabels: () => {};
3912
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_54<{
4020
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<{
3913
4021
  src?: string;
3914
4022
  name?: string;
3915
4023
  alt?: string;
3916
- size?: "small" | "medium" | "large" | "s" | "m" | "l";
4024
+ /**
4025
+ * 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors. `s` / `m` / `l` are deprecated.
4026
+ * Контент, не контрол: размер предков не наследует. `s` / `m` / `l` устарели.
4027
+ */
4028
+ size?: TaoSize | "s" | "m" | "l";
3917
4029
  /** Точка статуса. `true` = success (в сети). */
3918
4030
  dot?: boolean | TaoAvatarDot;
3919
4031
  /** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
@@ -3929,18 +4041,14 @@ alt: string;
3929
4041
  size: string;
3930
4042
  dot: boolean;
3931
4043
  count: undefined;
3932
- fallbackLabel: string;
3933
- notificationsLabel: string;
3934
4044
  dotLabels: () => {};
3935
4045
  }>>> & Readonly<{}>, {
3936
4046
  name: string;
3937
4047
  src: string;
3938
4048
  alt: string;
3939
- size: "small" | "medium" | "large" | "s" | "m" | "l";
4049
+ size: TaoSize | "s" | "m" | "l";
3940
4050
  dot: boolean | TaoAvatarDot;
3941
4051
  count: number | string;
3942
- fallbackLabel: string;
3943
- notificationsLabel: string;
3944
4052
  dotLabels: Partial<Record<Exclude<TaoAvatarDot, "error">, string>>;
3945
4053
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3946
4054
 
@@ -3948,19 +4056,13 @@ declare type TaoAvatarDot = 'success' | 'danger' | 'warning' | 'info' | 'neutral
3948
4056
 
3949
4057
  export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
3950
4058
 
3951
- export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_55<{
4059
+ export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<{
3952
4060
  items: TaoBreadcrumbItem[];
3953
4061
  ariaLabel?: string;
3954
- }>, {
3955
- ariaLabel: string;
3956
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_55<{
4062
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<{
3957
4063
  items: TaoBreadcrumbItem[];
3958
4064
  ariaLabel?: string;
3959
- }>, {
3960
- ariaLabel: string;
3961
- }>>> & Readonly<{}>, {
3962
- ariaLabel: string;
3963
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4065
+ }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3964
4066
 
3965
4067
  export declare interface TaoBreadcrumbItem {
3966
4068
  label: string;
@@ -3990,11 +4092,15 @@ export declare interface TaoConfirmBuilder extends PromiseLike<boolean> {
3990
4092
  ok(label: string): TaoConfirmBuilder;
3991
4093
  cancel(label: string): TaoConfirmBuilder;
3992
4094
  danger(value?: boolean): TaoConfirmBuilder;
4095
+ /** `glass` (default) or `flat`. */
4096
+ surface(value: TaoSurface): TaoConfirmBuilder;
3993
4097
  }
3994
4098
 
3995
4099
  export declare interface TaoConfirmDefaults {
3996
4100
  ok: string;
3997
4101
  cancel: string;
4102
+ /** `glass` by default; `flat` turns it off. / По умолчанию `glass`; `flat` выключает. */
4103
+ surface: TaoSurface;
3998
4104
  }
3999
4105
 
4000
4106
  export declare const TaoConfirmHost: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -4006,6 +4112,7 @@ export declare interface TaoConfirmRecord {
4006
4112
  okLabel: string;
4007
4113
  cancelLabel: string;
4008
4114
  danger: boolean;
4115
+ surface: TaoSurface;
4009
4116
  resolve: (value: boolean) => void;
4010
4117
  }
4011
4118
 
@@ -4014,19 +4121,22 @@ export declare interface TaoConfirmShortcutOptions {
4014
4121
  ok?: string;
4015
4122
  cancel?: string;
4016
4123
  danger?: boolean;
4124
+ surface?: TaoSurface;
4017
4125
  }
4018
4126
 
4019
4127
  export declare const TaoContainer: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, ReturnType<typeof __VLS_template_15>>;
4020
4128
 
4129
+ declare type TaoContainerWidth = 'wide' | 'slim' | 'ultra-slim';
4130
+
4021
4131
  export declare const TaoCopy: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, ReturnType<typeof __VLS_template_14>>;
4022
4132
 
4023
- export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_56<{
4133
+ export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<{
4024
4134
  value?: number;
4025
4135
  maxDigits?: number;
4026
4136
  }>, {
4027
4137
  value: number;
4028
4138
  maxDigits: number;
4029
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_56<{
4139
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<{
4030
4140
  value?: number;
4031
4141
  maxDigits?: number;
4032
4142
  }>, {
@@ -4100,19 +4210,23 @@ export declare const TaoInputGroup: __VLS_WithTemplateSlots_4<typeof __VLS_compo
4100
4210
 
4101
4211
  export declare const TaoInputNumber: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
4102
4212
 
4213
+ /** Length prop: a number is pixels, a string goes to CSS as is (`1rem`, `50%`, `var(--tao-space-4)`). / Число — пиксели, строка уходит в CSS как есть. */
4214
+ export declare type TaoLength = number | string;
4215
+
4103
4216
  export declare const TaoLink: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, ReturnType<typeof __VLS_template_33>>;
4104
4217
 
4105
4218
  export declare const TaoList: __VLS_WithTemplateSlots_48<typeof __VLS_component_48, ReturnType<typeof __VLS_template_48>>;
4106
4219
 
4107
4220
  export declare const TaoListItem: __VLS_WithTemplateSlots_49<typeof __VLS_component_49, ReturnType<typeof __VLS_template_49>>;
4108
4221
 
4109
- export declare type TaoListSize = 'small' | 'medium' | 'large';
4222
+ /** Same scale as TaoSize. / Та же шкала, что TaoSize. */
4223
+ export declare type TaoListSize = TaoSize;
4110
4224
 
4111
- export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<Props_10>, {
4225
+ export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_22<Props_10>, {
4112
4226
  color: string;
4113
4227
  size: number;
4114
4228
  inline: boolean;
4115
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<Props_10>, {
4229
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_22<Props_10>, {
4116
4230
  color: string;
4117
4231
  size: number;
4118
4232
  inline: boolean;
@@ -4122,6 +4236,141 @@ color: string;
4122
4236
  inline: boolean;
4123
4237
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4124
4238
 
4239
+ /**
4240
+ * Every built-in text of the library. Keys repeat prop names: `locale.select.placeholder`
4241
+ * is the default of TaoSelect `placeholder`; a prop passed by hand always wins.
4242
+ *
4243
+ * Все встроенные тексты библиотеки. Ключи повторяют имена пропсов: `locale.select.placeholder` —
4244
+ * значение по умолчанию для `placeholder` у TaoSelect; переданный руками проп всегда главнее.
4245
+ */
4246
+ export declare interface TaoLocale {
4247
+ /** BCP 47 tag for dates (Intl), e.g. `ru-RU`, `en-US`. / Тег языка для дат. */
4248
+ code: string;
4249
+ alert: {
4250
+ closeLabel: string;
4251
+ };
4252
+ avatar: {
4253
+ fallbackLabel: string;
4254
+ /** `{count}` — the number in the badge. / число в бейдже. */
4255
+ notificationsLabel: string;
4256
+ dotLabels: Record<'success' | 'danger' | 'warning' | 'info' | 'neutral', string>;
4257
+ };
4258
+ breadcrumb: {
4259
+ ariaLabel: string;
4260
+ };
4261
+ carousel: {
4262
+ ariaLabel: string;
4263
+ prevLabel: string;
4264
+ nextLabel: string;
4265
+ dotsLabel: string;
4266
+ /** `{n}`, `{count}`. */
4267
+ slideLabel: string;
4268
+ };
4269
+ combobox: {
4270
+ placeholder: string;
4271
+ emptyText: string;
4272
+ clearText: string;
4273
+ /** Row that adds a new value; `{text}` — what was typed. / Строка «добавить»; `{text}` — введённое. */
4274
+ createText: string;
4275
+ };
4276
+ confirm: {
4277
+ ok: string;
4278
+ cancel: string;
4279
+ };
4280
+ copy: {
4281
+ copyLabel: string;
4282
+ successText: string;
4283
+ };
4284
+ date: {
4285
+ placeholder: string;
4286
+ todayText: string;
4287
+ clearText: string;
4288
+ prevMonthLabel: string;
4289
+ nextMonthLabel: string;
4290
+ };
4291
+ dateRange: {
4292
+ placeholder: string;
4293
+ todayText: string;
4294
+ clearText: string;
4295
+ prevMonthLabel: string;
4296
+ nextMonthLabel: string;
4297
+ };
4298
+ drawer: {
4299
+ closeLabel: string;
4300
+ };
4301
+ dropdownMenu: {
4302
+ menuLabel: string;
4303
+ };
4304
+ empty: {
4305
+ title: string;
4306
+ };
4307
+ fileDrop: {
4308
+ clearLabel: string;
4309
+ /** `{name}` — file name. / имя файла. */
4310
+ removeLabel: string;
4311
+ /** Default text inside the zone. / Текст зоны по умолчанию. */
4312
+ zoneText: string;
4313
+ /** Bytes, kilobytes, megabytes. / Байты, килобайты, мегабайты. */
4314
+ units: [string, string, string];
4315
+ decimalSeparator: string;
4316
+ };
4317
+ inputNumber: {
4318
+ incrementLabel: string;
4319
+ decrementLabel: string;
4320
+ };
4321
+ list: {
4322
+ emptyText: string;
4323
+ };
4324
+ modal: {
4325
+ closeLabel: string;
4326
+ };
4327
+ pagination: {
4328
+ ariaLabel: string;
4329
+ prevLabel: string;
4330
+ nextLabel: string;
4331
+ /** `{page}`. */
4332
+ pageLabel: string;
4333
+ /** `{n}` — pages skipped by «…». / сколько страниц перескакивает «…». */
4334
+ jumpPrevLabel: string;
4335
+ jumpNextLabel: string;
4336
+ /** `{from}`, `{to}`, `{total}`. */
4337
+ totalText: string;
4338
+ /** When there are no rows. / Когда строк нет. */
4339
+ emptyTotalText: string;
4340
+ };
4341
+ quantity: {
4342
+ decrementLabel: string;
4343
+ removeLabel: string;
4344
+ incrementLabel: string;
4345
+ };
4346
+ scrollTop: {
4347
+ ariaLabel: string;
4348
+ };
4349
+ select: {
4350
+ placeholder: string;
4351
+ clearText: string;
4352
+ };
4353
+ stages: {
4354
+ ariaLabel: string;
4355
+ statusLabels: Record<TaoStageStatus, string>;
4356
+ };
4357
+ table: {
4358
+ emptyText: string;
4359
+ };
4360
+ tag: {
4361
+ closeLabel: string;
4362
+ };
4363
+ toast: {
4364
+ closeLabel: string;
4365
+ };
4366
+ }
4367
+
4368
+ /** The active locale. / Активная локаль. */
4369
+ export declare function taoLocale(): TaoLocale;
4370
+
4371
+ /** Any subset of a locale, at any depth; the rest comes from the base. / Любая часть локали на любой глубине; остальное — из базовой. */
4372
+ export declare type TaoLocaleOverrides = DeepPartial<TaoLocale>;
4373
+
4125
4374
  export declare const TaoModal: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, ReturnType<typeof __VLS_template_8>>;
4126
4375
 
4127
4376
  export declare const TaoPagination: __VLS_WithTemplateSlots_46<typeof __VLS_component_46, ReturnType<typeof __VLS_template_46>>;
@@ -4134,18 +4383,29 @@ export declare type TaoPaginationItem = {
4134
4383
  id: 'left' | 'right';
4135
4384
  };
4136
4385
 
4137
- export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_34<{
4386
+ export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_35<{
4138
4387
  length: number;
4388
+ /** Cells show dots instead of characters. / Ячейки показывают точки вместо символов. */
4389
+ masked?: boolean;
4390
+ /** @deprecated Use `masked` — `hidden` is a native attribute. / Используйте `masked` — `hidden` это нативный атрибут. */
4139
4391
  hidden?: boolean;
4140
4392
  placeholder?: string;
4393
+ disabled?: boolean;
4394
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
4395
+ error?: boolean;
4396
+ /** Cell size; without it — the size of ancestors. / Размер ячеек; без него — размер предков. */
4397
+ size?: TaoSize;
4141
4398
  modelValue?: string;
4142
4399
  numbersOnly?: boolean;
4143
4400
  /** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
4144
4401
  * `input` — цифра остаётся, пока не введут новую. */
4145
4402
  clearOn?: "focus" | "input";
4146
4403
  }>, {
4404
+ masked: boolean;
4147
4405
  hidden: boolean;
4148
4406
  placeholder: string;
4407
+ disabled: boolean;
4408
+ error: boolean;
4149
4409
  modelValue: string;
4150
4410
  numbersOnly: boolean;
4151
4411
  clearOn: string;
@@ -4155,18 +4415,29 @@ active: (el: HTMLInputElement | null, index: number) => void;
4155
4415
  change: (value: string) => void;
4156
4416
  blur: () => void;
4157
4417
  complete: (value: string) => void;
4158
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_34<{
4418
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_35<{
4159
4419
  length: number;
4420
+ /** Cells show dots instead of characters. / Ячейки показывают точки вместо символов. */
4421
+ masked?: boolean;
4422
+ /** @deprecated Use `masked` — `hidden` is a native attribute. / Используйте `masked` — `hidden` это нативный атрибут. */
4160
4423
  hidden?: boolean;
4161
4424
  placeholder?: string;
4425
+ disabled?: boolean;
4426
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
4427
+ error?: boolean;
4428
+ /** Cell size; without it — the size of ancestors. / Размер ячеек; без него — размер предков. */
4429
+ size?: TaoSize;
4162
4430
  modelValue?: string;
4163
4431
  numbersOnly?: boolean;
4164
4432
  /** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
4165
4433
  * `input` — цифра остаётся, пока не введут новую. */
4166
4434
  clearOn?: "focus" | "input";
4167
4435
  }>, {
4436
+ masked: boolean;
4168
4437
  hidden: boolean;
4169
4438
  placeholder: string;
4439
+ disabled: boolean;
4440
+ error: boolean;
4170
4441
  modelValue: string;
4171
4442
  numbersOnly: boolean;
4172
4443
  clearOn: string;
@@ -4177,9 +4448,12 @@ onChange?: ((value: string) => any) | undefined;
4177
4448
  onBlur?: (() => any) | undefined;
4178
4449
  onComplete?: ((value: string) => any) | undefined;
4179
4450
  }>, {
4451
+ error: boolean;
4452
+ disabled: boolean;
4180
4453
  placeholder: string;
4181
4454
  modelValue: string;
4182
4455
  hidden: boolean;
4456
+ masked: boolean;
4183
4457
  numbersOnly: boolean;
4184
4458
  clearOn: "focus" | "input";
4185
4459
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -4206,7 +4480,8 @@ export declare const TaoSegmented: __VLS_WithTemplateSlots_42<typeof __VLS_compo
4206
4480
 
4207
4481
  export declare const TaoSegmentedOption: __VLS_WithTemplateSlots_43<typeof __VLS_component_43, ReturnType<typeof __VLS_template_43>>;
4208
4482
 
4209
- export declare type TaoSegmentedSize = 'small' | 'medium' | 'large';
4483
+ /** @deprecated Use TaoSize. / Используйте TaoSize. */
4484
+ export declare type TaoSegmentedSize = TaoSize;
4210
4485
 
4211
4486
  export declare const TaoSelect: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, ReturnType<typeof __VLS_template_35>>;
4212
4487
 
@@ -4216,7 +4491,10 @@ export declare interface TaoSelectOption {
4216
4491
  disabled?: boolean;
4217
4492
  }
4218
4493
 
4219
- export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_52<{
4494
+ /** One size scale for every control. / Единая шкала размеров для всех контролов. */
4495
+ export declare type TaoSize = 'small' | 'medium' | 'large';
4496
+
4497
+ export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
4220
4498
  variant?: "text" | "title" | "circle" | "rect";
4221
4499
  lines?: number;
4222
4500
  width?: string;
@@ -4226,7 +4504,7 @@ variant: string;
4226
4504
  lines: number;
4227
4505
  width: string;
4228
4506
  height: string;
4229
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_52<{
4507
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
4230
4508
  variant?: "text" | "title" | "circle" | "rect";
4231
4509
  lines?: number;
4232
4510
  width?: string;
@@ -4270,8 +4548,32 @@ export declare const TaoStages: __VLS_WithTemplateSlots_52<typeof __VLS_componen
4270
4548
 
4271
4549
  export declare type TaoStageStatus = 'wait' | 'work' | 'ok' | 'bad';
4272
4550
 
4551
+ /**
4552
+ * What a panel is made of: `flat` fill, `grain` (film grain), `glass` (blurred, translucent).
4553
+ * Из чего сделана панель: `flat` — заливка, `grain` — плёночное зерно, `glass` — размытое стекло.
4554
+ */
4555
+ export declare type TaoSurface = 'flat' | 'grain' | 'glass';
4556
+
4273
4557
  export declare const TaoSwitch: __VLS_WithTemplateSlots_39<typeof __VLS_component_39, ReturnType<typeof __VLS_template_39>>;
4274
4558
 
4559
+ declare interface TaoTabBase {
4560
+ label: string;
4561
+ disabled?: boolean;
4562
+ }
4563
+
4564
+ /**
4565
+ * One tab. `value` is what v-model holds, same as TaoSelectOption; `key` is the deprecated name.
4566
+ * Одна вкладка. `value` — то, что хранит v-model, как у TaoSelectOption; `key` — устаревшее имя.
4567
+ */
4568
+ export declare type TaoTabItem = TaoTabBase & ({
4569
+ value: string;
4570
+ key?: never;
4571
+ } | {
4572
+ /** @deprecated Use `value`. / Используйте `value`. */
4573
+ key: string;
4574
+ value?: never;
4575
+ });
4576
+
4275
4577
  export declare const TaoTable: __VLS_WithTemplateSlots_45<typeof __VLS_component_45, ReturnType<typeof __VLS_template_45>>;
4276
4578
 
4277
4579
  export declare type TaoTableAlign = 'left' | 'center' | 'right';
@@ -4294,23 +4596,49 @@ export declare const TaoTabs: __VLS_WithTemplateSlots_9<typeof __VLS_component_9
4294
4596
 
4295
4597
  export declare const TaoTag: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, ReturnType<typeof __VLS_template_24>>;
4296
4598
 
4297
- export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<{
4599
+ export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_29<{
4298
4600
  placeholder?: string;
4299
4601
  spellcheck?: boolean;
4300
4602
  autocomplete?: string;
4301
4603
  minlength?: number;
4302
4604
  maxlength?: number;
4303
4605
  disabled?: boolean;
4606
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
4607
+ size?: TaoSize;
4608
+ /**
4609
+ * `bar` — accent bar on the left, `outline` — frame like TaoInput, `filled` — fill only, `plain` — no frame, no fill.
4610
+ * `bar` — полоса слева, `outline` — рамка как у TaoInput, `filled` — только заливка, `plain` — без рамки и заливки.
4611
+ */
4612
+ variant?: TaoTextareaVariant;
4613
+ /** Text can be read and selected, not edited. / Текст читается и выделяется, но не правится. */
4614
+ readonly?: boolean;
4615
+ /** Spaces are not entered: neither typed nor pasted. / Пробелы не вводятся — ни с клавиатуры, ни вставкой. */
4304
4616
  noSpace?: boolean;
4617
+ /** @deprecated Use `readonly`. Renders the text instead of the field. / Используйте `readonly`. */
4305
4618
  dummy?: boolean;
4306
4619
  rows?: number;
4307
4620
  resize?: boolean;
4308
4621
  modelValue?: string;
4622
+ /** @deprecated Use `variant="filled"` (or `"plain"` together with noBackground). / Используйте `variant="filled"`. */
4309
4623
  noBorder?: boolean;
4624
+ /** @deprecated Use `variant="plain"`. / Используйте `variant="plain"`. */
4310
4625
  noBackground?: boolean;
4626
+ /** Focus on mount. / Фокус при монтировании. */
4627
+ autofocus?: boolean;
4628
+ /** @deprecated Use `autofocus`, same as the native attribute. / Используйте `autofocus`, как нативный атрибут. */
4311
4629
  autoFocus?: boolean;
4630
+ /** @deprecated The bar on the right. Will be removed. / Полоса справа. Будет удалено. */
4312
4631
  borderInverse?: boolean;
4632
+ /** Text alignment. / Выравнивание текста. */
4633
+ align?: "start" | "center" | "end";
4634
+ /** @deprecated Use `align="center"`. / Используйте `align="center"`. */
4313
4635
  textCenter?: boolean;
4636
+ /**
4637
+ * Enter leaves the field instead of a new line (Shift+Enter still breaks the line); `keydown` is emitted first.
4638
+ * Enter снимает фокус вместо переноса (Shift+Enter переносит); `keydown` уходит раньше.
4639
+ */
4640
+ blurOnEnter?: boolean;
4641
+ /** @deprecated It never submitted anything — use `blurOnEnter`. / Ничего не отправлял — используйте `blurOnEnter`. */
4314
4642
  submitOnEnter?: boolean;
4315
4643
  error?: boolean;
4316
4644
  id?: string;
@@ -4323,6 +4651,7 @@ autocomplete: string;
4323
4651
  minlength: number;
4324
4652
  maxlength: undefined;
4325
4653
  disabled: boolean;
4654
+ readonly: boolean;
4326
4655
  noSpace: boolean;
4327
4656
  dummy: boolean;
4328
4657
  rows: number;
@@ -4330,9 +4659,12 @@ resize: boolean;
4330
4659
  modelValue: string;
4331
4660
  noBorder: boolean;
4332
4661
  noBackground: boolean;
4662
+ autofocus: boolean;
4333
4663
  autoFocus: boolean;
4334
4664
  borderInverse: boolean;
4665
+ align: undefined;
4335
4666
  textCenter: boolean;
4667
+ blurOnEnter: boolean;
4336
4668
  submitOnEnter: boolean;
4337
4669
  error: boolean;
4338
4670
  count: boolean;
@@ -4342,23 +4674,49 @@ change: (...args: any[]) => void;
4342
4674
  keydown: (...args: any[]) => void;
4343
4675
  blur: (...args: any[]) => void;
4344
4676
  focus: (...args: any[]) => void;
4345
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_28<{
4677
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_29<{
4346
4678
  placeholder?: string;
4347
4679
  spellcheck?: boolean;
4348
4680
  autocomplete?: string;
4349
4681
  minlength?: number;
4350
4682
  maxlength?: number;
4351
4683
  disabled?: boolean;
4684
+ /** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
4685
+ size?: TaoSize;
4686
+ /**
4687
+ * `bar` — accent bar on the left, `outline` — frame like TaoInput, `filled` — fill only, `plain` — no frame, no fill.
4688
+ * `bar` — полоса слева, `outline` — рамка как у TaoInput, `filled` — только заливка, `plain` — без рамки и заливки.
4689
+ */
4690
+ variant?: TaoTextareaVariant;
4691
+ /** Text can be read and selected, not edited. / Текст читается и выделяется, но не правится. */
4692
+ readonly?: boolean;
4693
+ /** Spaces are not entered: neither typed nor pasted. / Пробелы не вводятся — ни с клавиатуры, ни вставкой. */
4352
4694
  noSpace?: boolean;
4695
+ /** @deprecated Use `readonly`. Renders the text instead of the field. / Используйте `readonly`. */
4353
4696
  dummy?: boolean;
4354
4697
  rows?: number;
4355
4698
  resize?: boolean;
4356
4699
  modelValue?: string;
4700
+ /** @deprecated Use `variant="filled"` (or `"plain"` together with noBackground). / Используйте `variant="filled"`. */
4357
4701
  noBorder?: boolean;
4702
+ /** @deprecated Use `variant="plain"`. / Используйте `variant="plain"`. */
4358
4703
  noBackground?: boolean;
4704
+ /** Focus on mount. / Фокус при монтировании. */
4705
+ autofocus?: boolean;
4706
+ /** @deprecated Use `autofocus`, same as the native attribute. / Используйте `autofocus`, как нативный атрибут. */
4359
4707
  autoFocus?: boolean;
4708
+ /** @deprecated The bar on the right. Will be removed. / Полоса справа. Будет удалено. */
4360
4709
  borderInverse?: boolean;
4710
+ /** Text alignment. / Выравнивание текста. */
4711
+ align?: "start" | "center" | "end";
4712
+ /** @deprecated Use `align="center"`. / Используйте `align="center"`. */
4361
4713
  textCenter?: boolean;
4714
+ /**
4715
+ * Enter leaves the field instead of a new line (Shift+Enter still breaks the line); `keydown` is emitted first.
4716
+ * Enter снимает фокус вместо переноса (Shift+Enter переносит); `keydown` уходит раньше.
4717
+ */
4718
+ blurOnEnter?: boolean;
4719
+ /** @deprecated It never submitted anything — use `blurOnEnter`. / Ничего не отправлял — используйте `blurOnEnter`. */
4362
4720
  submitOnEnter?: boolean;
4363
4721
  error?: boolean;
4364
4722
  id?: string;
@@ -4371,6 +4729,7 @@ autocomplete: string;
4371
4729
  minlength: number;
4372
4730
  maxlength: undefined;
4373
4731
  disabled: boolean;
4732
+ readonly: boolean;
4374
4733
  noSpace: boolean;
4375
4734
  dummy: boolean;
4376
4735
  rows: number;
@@ -4378,9 +4737,12 @@ resize: boolean;
4378
4737
  modelValue: string;
4379
4738
  noBorder: boolean;
4380
4739
  noBackground: boolean;
4740
+ autofocus: boolean;
4381
4741
  autoFocus: boolean;
4382
4742
  borderInverse: boolean;
4743
+ align: undefined;
4383
4744
  textCenter: boolean;
4745
+ blurOnEnter: boolean;
4384
4746
  submitOnEnter: boolean;
4385
4747
  error: boolean;
4386
4748
  count: boolean;
@@ -4399,19 +4761,25 @@ modelValue: string;
4399
4761
  resize: boolean;
4400
4762
  rows: number;
4401
4763
  autocomplete: string;
4764
+ align: "start" | "center" | "end";
4402
4765
  maxlength: number;
4403
4766
  spellcheck: boolean;
4404
4767
  minlength: number;
4768
+ readonly: boolean;
4405
4769
  noSpace: boolean;
4406
4770
  dummy: boolean;
4407
4771
  noBorder: boolean;
4408
4772
  noBackground: boolean;
4773
+ autofocus: boolean;
4409
4774
  autoFocus: boolean;
4410
4775
  borderInverse: boolean;
4411
4776
  textCenter: boolean;
4777
+ blurOnEnter: boolean;
4412
4778
  submitOnEnter: boolean;
4413
4779
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4414
4780
 
4781
+ declare type TaoTextareaVariant = 'bar' | 'outline' | 'filled' | 'plain';
4782
+
4415
4783
  export declare interface TaoToastAction {
4416
4784
  label: string;
4417
4785
  onClick: () => void;
@@ -4455,6 +4823,8 @@ export declare interface TaoToastBuilder {
4455
4823
  byBottomCenter(): TaoToastBuilder;
4456
4824
  closable(value?: boolean): TaoToastBuilder;
4457
4825
  progress(value?: boolean): TaoToastBuilder;
4826
+ /** `glass` (default) or `flat`. */
4827
+ surface(value: TaoSurface): TaoToastBuilder;
4458
4828
  id(value: string): TaoToastBuilder;
4459
4829
  once(): TaoToastBuilder;
4460
4830
  replace(): TaoToastBuilder;
@@ -4468,6 +4838,8 @@ export declare interface TaoToastDefaults {
4468
4838
  closable: boolean;
4469
4839
  progress: boolean;
4470
4840
  closeLabel: string;
4841
+ /** `glass` by default; `flat` turns it off. / По умолчанию `glass`; `flat` выключает. */
4842
+ surface: TaoSurface;
4471
4843
  }
4472
4844
 
4473
4845
  export declare type TaoToastDisplayMode = 'once' | 'replace';
@@ -4484,6 +4856,7 @@ export declare interface TaoToastRecord {
4484
4856
  position: TaoToastPosition;
4485
4857
  closable: boolean;
4486
4858
  progress: boolean;
4859
+ surface: TaoSurface;
4487
4860
  displayMode?: TaoToastDisplayMode;
4488
4861
  dedupeId?: string;
4489
4862
  actions: TaoToastAction[];
@@ -4497,6 +4870,7 @@ export declare interface TaoToastShortcutOptions {
4497
4870
  icon?: string;
4498
4871
  closable?: boolean;
4499
4872
  progress?: boolean;
4873
+ surface?: TaoSurface;
4500
4874
  id?: string;
4501
4875
  once?: boolean;
4502
4876
  replace?: boolean;
@@ -4508,14 +4882,25 @@ export declare type TaoToastType = 'success' | 'error' | 'danger' | 'warning' |
4508
4882
 
4509
4883
  export declare const TaoToastViewport: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4510
4884
 
4885
+ /** Status color shared by Alert, Tag, Button `tone`, Avatar `dot`. / Цвет статуса, общий для Alert, Tag, Button `tone`, Avatar `dot`. */
4886
+ export declare type TaoTone = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
4887
+
4511
4888
  export declare const TaoTooltip: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, ReturnType<typeof __VLS_template_10>>;
4512
4889
 
4513
4890
  declare type TaoTooltipPosition = 'top' | 'bottom' | 'left' | 'right';
4514
4891
 
4515
- declare const TaoUI: Plugin_2;
4892
+ declare const TaoUI: Plugin_2<[TaoUIOptions?]>;
4516
4893
  export { TaoUI }
4517
4894
  export default TaoUI;
4518
4895
 
4896
+ export declare interface TaoUIOptions {
4897
+ /**
4898
+ * Language of built-in texts: `localeEn`, or a few keys on top of Russian (the default).
4899
+ * Язык встроенных текстов: `localeEn` или несколько ключей поверх русской (по умолчанию).
4900
+ */
4901
+ locale?: TaoLocale | TaoLocaleOverrides;
4902
+ }
4903
+
4519
4904
  export declare const toast: TaoToastApi;
4520
4905
 
4521
4906
  export declare function todayTaoDate(): string;