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