@1337exp/taoui 4.0.1 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +321 -220
- package/MIGRATION-5.md +133 -0
- package/README.md +828 -682
- package/README.ru.md +828 -687
- package/dist/index.d.ts +2026 -701
- package/dist/{index.mjs → index.js} +3908 -2844
- package/dist/index.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +100 -90
- package/skills/taoui/SKILL.md +131 -0
- package/skills/taoui/references/components.md +1106 -0
- package/src/styles/base.css +81 -81
- package/src/styles/contexts/atmosphere.css +29 -0
- package/src/styles/contexts/size.css +125 -0
- package/src/styles/{surface.css → contexts/surface.css} +68 -4
- package/src/styles/contexts/tone.css +118 -0
- package/src/styles/date-popup.css +2 -2
- package/src/styles/index.css +12 -5
- package/src/styles/palettes/index.css +11 -0
- package/src/styles/palettes/lagoon.css +105 -0
- package/src/styles/palettes/marple.css +105 -0
- package/src/styles/palettes/ocean-blue.css +105 -0
- package/src/styles/palettes/pinheiro.css +105 -0
- package/src/styles/palettes/sunset.css +105 -0
- package/src/styles/palettes/tokyo-night.css +105 -0
- package/src/styles/palettes/violet-dusk.css +105 -0
- package/src/styles/{semantic.css → themes/dark.css} +95 -93
- package/src/styles/themes/light.css +86 -74
- package/src/styles/{primitives.css → tokens/primitives.css} +162 -139
- package/src/styles/tokens/semantic.css +33 -0
- package/src/styles/typography.css +220 -0
- package/dist/index.cjs +0 -10572
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/src/styles/size.css +0 -57
package/dist/index.d.ts
CHANGED
|
@@ -12,33 +12,36 @@ import { WritableComputedRef } from 'vue';
|
|
|
12
12
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
13
13
|
type: string;
|
|
14
14
|
variant: string;
|
|
15
|
-
tone:
|
|
15
|
+
tone: undefined;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
loading: boolean;
|
|
18
18
|
block: boolean;
|
|
19
19
|
icon: string;
|
|
20
|
+
iconEnd: string;
|
|
20
21
|
minWidth: undefined;
|
|
21
22
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
23
|
click: (...args: any[]) => void;
|
|
23
24
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
24
25
|
type: string;
|
|
25
26
|
variant: string;
|
|
26
|
-
tone:
|
|
27
|
+
tone: undefined;
|
|
27
28
|
disabled: boolean;
|
|
28
29
|
loading: boolean;
|
|
29
30
|
block: boolean;
|
|
30
31
|
icon: string;
|
|
32
|
+
iconEnd: string;
|
|
31
33
|
minWidth: undefined;
|
|
32
34
|
}>>> & Readonly<{
|
|
33
35
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
34
36
|
}>, {
|
|
35
37
|
type: "button" | "submit" | "reset";
|
|
36
38
|
icon: string;
|
|
37
|
-
tone:
|
|
39
|
+
tone: TaoToneName;
|
|
38
40
|
disabled: boolean;
|
|
39
|
-
variant: "primary" | "secondary" | "ghost" | "text"
|
|
41
|
+
variant: "primary" | "secondary" | "ghost" | "text";
|
|
40
42
|
loading: boolean;
|
|
41
43
|
block: boolean;
|
|
44
|
+
iconEnd: string;
|
|
42
45
|
minWidth: number | string;
|
|
43
46
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
44
47
|
|
|
@@ -130,8 +133,8 @@ onRestart?: (() => any) | undefined;
|
|
|
130
133
|
onSeek?: ((time: number) => any) | undefined;
|
|
131
134
|
}>, {
|
|
132
135
|
disabled: boolean;
|
|
133
|
-
step: number;
|
|
134
136
|
variant: "bar" | "thin";
|
|
137
|
+
step: number;
|
|
135
138
|
playing: boolean;
|
|
136
139
|
marksSide: "start" | "end";
|
|
137
140
|
pauseOnScrub: boolean;
|
|
@@ -141,44 +144,48 @@ showTime: boolean;
|
|
|
141
144
|
|
|
142
145
|
declare const __VLS_component_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<{
|
|
143
146
|
content: string;
|
|
144
|
-
|
|
147
|
+
/** Side and alignment against the trigger; flips when there is no room. / Сторона и выравнивание; при нехватке места переворачивается. */
|
|
148
|
+
placement?: TaoPlacement;
|
|
145
149
|
}>, {
|
|
146
|
-
|
|
150
|
+
placement: string;
|
|
147
151
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_11<{
|
|
148
152
|
content: string;
|
|
149
|
-
|
|
153
|
+
/** Side and alignment against the trigger; flips when there is no room. / Сторона и выравнивание; при нехватке места переворачивается. */
|
|
154
|
+
placement?: TaoPlacement;
|
|
150
155
|
}>, {
|
|
151
|
-
|
|
156
|
+
placement: string;
|
|
152
157
|
}>>> & Readonly<{}>, {
|
|
153
|
-
|
|
158
|
+
placement: TaoPlacement;
|
|
154
159
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
155
160
|
|
|
156
161
|
declare const __VLS_component_12: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<{
|
|
157
162
|
modelValue?: boolean;
|
|
158
|
-
|
|
163
|
+
/** Side and alignment against the trigger; flips when there is no room. / Сторона и выравнивание; при нехватке места переворачивается. */
|
|
164
|
+
placement?: TaoPlacement;
|
|
159
165
|
disabled?: boolean;
|
|
160
166
|
}>, {
|
|
161
167
|
modelValue: undefined;
|
|
162
|
-
|
|
168
|
+
placement: string;
|
|
163
169
|
disabled: boolean;
|
|
164
170
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
165
|
-
"update:modelValue": (value: boolean) => void;
|
|
166
171
|
change: (value: boolean) => void;
|
|
172
|
+
"update:modelValue": (value: boolean) => void;
|
|
167
173
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<{
|
|
168
174
|
modelValue?: boolean;
|
|
169
|
-
|
|
175
|
+
/** Side and alignment against the trigger; flips when there is no room. / Сторона и выравнивание; при нехватке места переворачивается. */
|
|
176
|
+
placement?: TaoPlacement;
|
|
170
177
|
disabled?: boolean;
|
|
171
178
|
}>, {
|
|
172
179
|
modelValue: undefined;
|
|
173
|
-
|
|
180
|
+
placement: string;
|
|
174
181
|
disabled: boolean;
|
|
175
182
|
}>>> & Readonly<{
|
|
176
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
177
183
|
onChange?: ((value: boolean) => any) | undefined;
|
|
184
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
178
185
|
}>, {
|
|
179
|
-
position: TaoPopoverPosition;
|
|
180
186
|
disabled: boolean;
|
|
181
187
|
modelValue: boolean;
|
|
188
|
+
placement: TaoPlacement;
|
|
182
189
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
183
190
|
|
|
184
191
|
declare const __VLS_component_13: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<{
|
|
@@ -193,8 +200,8 @@ defaultOpen: boolean;
|
|
|
193
200
|
modelValue: undefined;
|
|
194
201
|
name: undefined;
|
|
195
202
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
196
|
-
"update:modelValue": (value: boolean) => void;
|
|
197
203
|
change: (value: boolean) => void;
|
|
204
|
+
"update:modelValue": (value: boolean) => void;
|
|
198
205
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_13<{
|
|
199
206
|
title?: string;
|
|
200
207
|
defaultOpen?: boolean;
|
|
@@ -207,8 +214,8 @@ defaultOpen: boolean;
|
|
|
207
214
|
modelValue: undefined;
|
|
208
215
|
name: undefined;
|
|
209
216
|
}>>> & Readonly<{
|
|
210
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
211
217
|
onChange?: ((value: boolean) => any) | undefined;
|
|
218
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
212
219
|
}>, {
|
|
213
220
|
name: string | number;
|
|
214
221
|
title: string;
|
|
@@ -219,44 +226,37 @@ defaultOpen: boolean;
|
|
|
219
226
|
declare const __VLS_component_14: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_14<{
|
|
220
227
|
modelValue?: TaoSpoilerName | null;
|
|
221
228
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
222
|
-
"update:modelValue": (value: TaoSpoilerName | null) => void;
|
|
223
229
|
change: (value: TaoSpoilerName | null) => void;
|
|
230
|
+
"update:modelValue": (value: TaoSpoilerName | null) => void;
|
|
224
231
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_14<{
|
|
225
232
|
modelValue?: TaoSpoilerName | null;
|
|
226
233
|
}>>> & Readonly<{
|
|
227
|
-
"onUpdate:modelValue"?: ((value: TaoSpoilerName | null) => any) | undefined;
|
|
228
234
|
onChange?: ((value: TaoSpoilerName | null) => any) | undefined;
|
|
235
|
+
"onUpdate:modelValue"?: ((value: TaoSpoilerName | null) => any) | undefined;
|
|
229
236
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
230
237
|
|
|
231
238
|
declare const __VLS_component_15: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<{
|
|
232
239
|
text: string;
|
|
233
240
|
/** Visible text after copying. / Видимый текст после копирования. */
|
|
234
241
|
successText?: string;
|
|
235
|
-
/** @deprecated Use `successText`: visible texts are `*Text`, aria texts are `*Label`. / Используйте `successText`. */
|
|
236
|
-
successMessage?: string;
|
|
237
242
|
copyLabel?: string;
|
|
238
243
|
/** Показать подсказку над кнопкой после копирования. */
|
|
239
244
|
tip?: boolean;
|
|
240
245
|
}>, {
|
|
241
246
|
successText: undefined;
|
|
242
|
-
successMessage: undefined;
|
|
243
247
|
tip: boolean;
|
|
244
248
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_15<{
|
|
245
249
|
text: string;
|
|
246
250
|
/** Visible text after copying. / Видимый текст после копирования. */
|
|
247
251
|
successText?: string;
|
|
248
|
-
/** @deprecated Use `successText`: visible texts are `*Text`, aria texts are `*Label`. / Используйте `successText`. */
|
|
249
|
-
successMessage?: string;
|
|
250
252
|
copyLabel?: string;
|
|
251
253
|
/** Показать подсказку над кнопкой после копирования. */
|
|
252
254
|
tip?: boolean;
|
|
253
255
|
}>, {
|
|
254
256
|
successText: undefined;
|
|
255
|
-
successMessage: undefined;
|
|
256
257
|
tip: boolean;
|
|
257
258
|
}>>> & Readonly<{}>, {
|
|
258
259
|
successText: string;
|
|
259
|
-
successMessage: string;
|
|
260
260
|
tip: boolean;
|
|
261
261
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
262
262
|
|
|
@@ -287,92 +287,147 @@ tag: string;
|
|
|
287
287
|
gap: TaoLength;
|
|
288
288
|
align: "stretch" | "flex-start" | "center" | "flex-end" | "baseline";
|
|
289
289
|
wrap: "nowrap" | "wrap" | "wrap-reverse";
|
|
290
|
-
justify:
|
|
290
|
+
justify: TaoJustify;
|
|
291
291
|
direction: "row" | "row-reverse" | "column" | "column-reverse";
|
|
292
292
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
293
293
|
|
|
294
294
|
declare const __VLS_component_18: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<Props_8>, {
|
|
295
295
|
block: boolean;
|
|
296
296
|
expand: boolean;
|
|
297
|
-
direction:
|
|
298
|
-
vertical: boolean;
|
|
297
|
+
direction: string;
|
|
299
298
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<Props_8>, {
|
|
300
299
|
block: boolean;
|
|
301
300
|
expand: boolean;
|
|
302
|
-
direction:
|
|
303
|
-
vertical: boolean;
|
|
301
|
+
direction: string;
|
|
304
302
|
}>>> & Readonly<{}>, {
|
|
305
303
|
block: boolean;
|
|
306
|
-
vertical: boolean;
|
|
307
304
|
direction: "row" | "column";
|
|
308
305
|
expand: boolean;
|
|
309
306
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
310
307
|
|
|
311
308
|
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<{
|
|
312
|
-
/**
|
|
309
|
+
/** The smallest tile width of a catalog (auto-fill). Ignored with `cols`. / Минимальная ширина плитки каталога. */
|
|
313
310
|
min?: TaoLength;
|
|
314
|
-
/**
|
|
315
|
-
|
|
311
|
+
/**
|
|
312
|
+
* The columns of a bento: a number (one column below 600px, as a phone wants), or a number per width class,
|
|
313
|
+
* `{ compact: 3, expanded: 6 }` (a class without a value takes the smaller one). 0 is the catalog.
|
|
314
|
+
* Колонки bento: число (одна колонка уже 600px) или число по классам ширины. 0 — каталог.
|
|
315
|
+
*/
|
|
316
|
+
cols?: TaoResponsive<number>;
|
|
316
317
|
/** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
|
|
317
318
|
gap?: TaoLength;
|
|
319
|
+
/**
|
|
320
|
+
* The height of every row, as a mosaic wants: the grid keeps its proportions and a picture in a tile is cropped,
|
|
321
|
+
* not stretching the row. Without it the rows follow the content.
|
|
322
|
+
* Высота каждого ряда, как нужно мозаике: сетка держит пропорции, картинка в плитке обрезается, а не растягивает
|
|
323
|
+
* ряд. Без него ряды идут по содержимому.
|
|
324
|
+
*/
|
|
325
|
+
rowHeight?: TaoLength;
|
|
318
326
|
}>, {
|
|
319
327
|
min: string;
|
|
320
328
|
cols: number;
|
|
321
329
|
gap: string;
|
|
330
|
+
rowHeight: undefined;
|
|
322
331
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<{
|
|
323
|
-
/**
|
|
332
|
+
/** The smallest tile width of a catalog (auto-fill). Ignored with `cols`. / Минимальная ширина плитки каталога. */
|
|
324
333
|
min?: TaoLength;
|
|
325
|
-
/**
|
|
326
|
-
|
|
334
|
+
/**
|
|
335
|
+
* The columns of a bento: a number (one column below 600px, as a phone wants), or a number per width class,
|
|
336
|
+
* `{ compact: 3, expanded: 6 }` (a class without a value takes the smaller one). 0 is the catalog.
|
|
337
|
+
* Колонки bento: число (одна колонка уже 600px) или число по классам ширины. 0 — каталог.
|
|
338
|
+
*/
|
|
339
|
+
cols?: TaoResponsive<number>;
|
|
327
340
|
/** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
|
|
328
341
|
gap?: TaoLength;
|
|
342
|
+
/**
|
|
343
|
+
* The height of every row, as a mosaic wants: the grid keeps its proportions and a picture in a tile is cropped,
|
|
344
|
+
* not stretching the row. Without it the rows follow the content.
|
|
345
|
+
* Высота каждого ряда, как нужно мозаике: сетка держит пропорции, картинка в плитке обрезается, а не растягивает
|
|
346
|
+
* ряд. Без него ряды идут по содержимому.
|
|
347
|
+
*/
|
|
348
|
+
rowHeight?: TaoLength;
|
|
329
349
|
}>, {
|
|
330
350
|
min: string;
|
|
331
351
|
cols: number;
|
|
332
352
|
gap: string;
|
|
353
|
+
rowHeight: undefined;
|
|
333
354
|
}>>> & Readonly<{}>, {
|
|
334
|
-
gap: TaoLength;
|
|
335
355
|
min: TaoLength;
|
|
336
|
-
|
|
356
|
+
gap: TaoLength;
|
|
357
|
+
cols: TaoResponsive<number>;
|
|
358
|
+
rowHeight: TaoLength;
|
|
337
359
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
338
360
|
|
|
339
361
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<Props_2>, {
|
|
340
|
-
padding:
|
|
341
|
-
radius:
|
|
362
|
+
padding: undefined;
|
|
363
|
+
radius: undefined;
|
|
342
364
|
shadow: boolean;
|
|
343
365
|
hover: boolean;
|
|
344
366
|
surface: string;
|
|
367
|
+
stripe: undefined;
|
|
368
|
+
stripeTone: string;
|
|
345
369
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<Props_2>, {
|
|
346
|
-
padding:
|
|
347
|
-
radius:
|
|
370
|
+
padding: undefined;
|
|
371
|
+
radius: undefined;
|
|
348
372
|
shadow: boolean;
|
|
349
373
|
hover: boolean;
|
|
350
374
|
surface: string;
|
|
375
|
+
stripe: undefined;
|
|
376
|
+
stripeTone: string;
|
|
351
377
|
}>>> & Readonly<{}>, {
|
|
352
378
|
surface: TaoSurface;
|
|
353
|
-
padding: TaoLength | TaoLength[];
|
|
354
379
|
radius: TaoLength;
|
|
380
|
+
padding: TaoLength | TaoLength[];
|
|
355
381
|
shadow: boolean;
|
|
356
382
|
hover: boolean;
|
|
383
|
+
stripe: TaoStripe;
|
|
384
|
+
stripeTone: TaoStripeTone;
|
|
357
385
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
358
386
|
|
|
359
387
|
declare const __VLS_component_20: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<{
|
|
360
|
-
/**
|
|
361
|
-
|
|
362
|
-
|
|
388
|
+
/**
|
|
389
|
+
* Columns to take: a number or `'full'`, or one per width class, `{ compact: 'full', expanded: 4 }`.
|
|
390
|
+
* Сколько колонок: число или `'full'`, или по классам ширины.
|
|
391
|
+
*/
|
|
392
|
+
col?: TaoResponsive<TaoGridSpan>;
|
|
393
|
+
/**
|
|
394
|
+
* Rows to take. A plain number is one row on compact (a phone column), the number from medium on.
|
|
395
|
+
* Сколько рядов. Простое число — один ряд в compact, это число начиная с medium.
|
|
396
|
+
*/
|
|
397
|
+
row?: TaoResponsive<number>;
|
|
398
|
+
/**
|
|
399
|
+
* The place in the flow (CSS order), per width class: `{ compact: 9 }` moves a side block to the end on a phone.
|
|
400
|
+
* Место в потоке (CSS order) по классам ширины: `{ compact: 9 }` уводит боковой блок вниз на телефоне.
|
|
401
|
+
*/
|
|
402
|
+
order?: TaoResponsive<number>;
|
|
363
403
|
}>, {
|
|
364
404
|
col: number;
|
|
365
405
|
row: number;
|
|
406
|
+
order: number;
|
|
366
407
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<{
|
|
367
|
-
/**
|
|
368
|
-
|
|
369
|
-
|
|
408
|
+
/**
|
|
409
|
+
* Columns to take: a number or `'full'`, or one per width class, `{ compact: 'full', expanded: 4 }`.
|
|
410
|
+
* Сколько колонок: число или `'full'`, или по классам ширины.
|
|
411
|
+
*/
|
|
412
|
+
col?: TaoResponsive<TaoGridSpan>;
|
|
413
|
+
/**
|
|
414
|
+
* Rows to take. A plain number is one row on compact (a phone column), the number from medium on.
|
|
415
|
+
* Сколько рядов. Простое число — один ряд в compact, это число начиная с medium.
|
|
416
|
+
*/
|
|
417
|
+
row?: TaoResponsive<number>;
|
|
418
|
+
/**
|
|
419
|
+
* The place in the flow (CSS order), per width class: `{ compact: 9 }` moves a side block to the end on a phone.
|
|
420
|
+
* Место в потоке (CSS order) по классам ширины: `{ compact: 9 }` уводит боковой блок вниз на телефоне.
|
|
421
|
+
*/
|
|
422
|
+
order?: TaoResponsive<number>;
|
|
370
423
|
}>, {
|
|
371
424
|
col: number;
|
|
372
425
|
row: number;
|
|
426
|
+
order: number;
|
|
373
427
|
}>>> & Readonly<{}>, {
|
|
374
|
-
col:
|
|
375
|
-
row: number
|
|
428
|
+
col: TaoResponsive<TaoGridSpan>;
|
|
429
|
+
row: TaoResponsive<number>;
|
|
430
|
+
order: TaoResponsive<number>;
|
|
376
431
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
377
432
|
|
|
378
433
|
declare const __VLS_component_21: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_21<{
|
|
@@ -392,8 +447,8 @@ min: number;
|
|
|
392
447
|
minEnd: number;
|
|
393
448
|
resizable: boolean;
|
|
394
449
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
395
|
-
"update:modelValue": (value: number) => void;
|
|
396
450
|
change: (value: number) => void;
|
|
451
|
+
"update:modelValue": (value: number) => void;
|
|
397
452
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_21<{
|
|
398
453
|
modelValue?: number;
|
|
399
454
|
direction?: TaoSplitDirection;
|
|
@@ -411,8 +466,8 @@ min: number;
|
|
|
411
466
|
minEnd: number;
|
|
412
467
|
resizable: boolean;
|
|
413
468
|
}>>> & Readonly<{
|
|
414
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
415
469
|
onChange?: ((value: number) => any) | undefined;
|
|
470
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
416
471
|
}>, {
|
|
417
472
|
modelValue: number;
|
|
418
473
|
min: number;
|
|
@@ -457,11 +512,6 @@ placeholderText: string;
|
|
|
457
512
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
458
513
|
|
|
459
514
|
declare const __VLS_component_24: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_25<{
|
|
460
|
-
/**
|
|
461
|
-
* @deprecated Use `checked` (or v-model). `value` will mean the option value, as in TaoRadio.
|
|
462
|
-
* Используйте `checked` (или v-model). `value` станет значением опции, как у TaoRadio.
|
|
463
|
-
*/
|
|
464
|
-
value?: boolean;
|
|
465
515
|
/** Checked state without v-model. / Состояние без v-model. */
|
|
466
516
|
checked?: boolean;
|
|
467
517
|
modelValue?: boolean;
|
|
@@ -473,7 +523,6 @@ error?: boolean;
|
|
|
473
523
|
/** Частично выбран: черта вместо квадрата. Клик ставит checked — indeterminate снимает родитель. */
|
|
474
524
|
indeterminate?: boolean;
|
|
475
525
|
}>, {
|
|
476
|
-
value: undefined;
|
|
477
526
|
checked: undefined;
|
|
478
527
|
modelValue: undefined;
|
|
479
528
|
label: string;
|
|
@@ -481,14 +530,9 @@ disabled: boolean;
|
|
|
481
530
|
error: boolean;
|
|
482
531
|
indeterminate: boolean;
|
|
483
532
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
484
|
-
"update:modelValue": (value: boolean) => void;
|
|
485
533
|
change: (value: boolean) => void;
|
|
534
|
+
"update:modelValue": (value: boolean) => void;
|
|
486
535
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_25<{
|
|
487
|
-
/**
|
|
488
|
-
* @deprecated Use `checked` (or v-model). `value` will mean the option value, as in TaoRadio.
|
|
489
|
-
* Используйте `checked` (или v-model). `value` станет значением опции, как у TaoRadio.
|
|
490
|
-
*/
|
|
491
|
-
value?: boolean;
|
|
492
536
|
/** Checked state without v-model. / Состояние без v-model. */
|
|
493
537
|
checked?: boolean;
|
|
494
538
|
modelValue?: boolean;
|
|
@@ -500,7 +544,6 @@ error?: boolean;
|
|
|
500
544
|
/** Частично выбран: черта вместо квадрата. Клик ставит checked — indeterminate снимает родитель. */
|
|
501
545
|
indeterminate?: boolean;
|
|
502
546
|
}>, {
|
|
503
|
-
value: undefined;
|
|
504
547
|
checked: undefined;
|
|
505
548
|
modelValue: undefined;
|
|
506
549
|
label: string;
|
|
@@ -508,13 +551,12 @@ disabled: boolean;
|
|
|
508
551
|
error: boolean;
|
|
509
552
|
indeterminate: boolean;
|
|
510
553
|
}>>> & Readonly<{
|
|
511
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
512
554
|
onChange?: ((value: boolean) => any) | undefined;
|
|
555
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
513
556
|
}>, {
|
|
514
557
|
label: string;
|
|
515
|
-
error: boolean;
|
|
516
|
-
value: boolean;
|
|
517
558
|
disabled: boolean;
|
|
559
|
+
error: boolean;
|
|
518
560
|
modelValue: boolean;
|
|
519
561
|
checked: boolean;
|
|
520
562
|
indeterminate: boolean;
|
|
@@ -522,36 +564,30 @@ indeterminate: boolean;
|
|
|
522
564
|
|
|
523
565
|
declare const __VLS_component_25: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_26<Props_12>, {
|
|
524
566
|
tone: undefined;
|
|
525
|
-
type: undefined;
|
|
526
567
|
clickable: boolean;
|
|
527
|
-
pointer: boolean;
|
|
528
568
|
closable: boolean;
|
|
529
569
|
flat: boolean;
|
|
530
570
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
531
571
|
close: (event: MouseEvent) => void;
|
|
532
572
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_26<Props_12>, {
|
|
533
573
|
tone: undefined;
|
|
534
|
-
type: undefined;
|
|
535
574
|
clickable: boolean;
|
|
536
|
-
pointer: boolean;
|
|
537
575
|
closable: boolean;
|
|
538
576
|
flat: boolean;
|
|
539
577
|
}>>> & Readonly<{
|
|
540
578
|
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
541
579
|
}>, {
|
|
542
580
|
flat: boolean;
|
|
543
|
-
type: TaoTone | "error" | "";
|
|
544
581
|
closable: boolean;
|
|
545
|
-
tone: TaoTone
|
|
582
|
+
tone: TaoTone;
|
|
546
583
|
clickable: boolean;
|
|
547
|
-
pointer: boolean;
|
|
548
584
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
549
585
|
|
|
550
586
|
declare const __VLS_component_26: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<{
|
|
551
587
|
/** `solid` — обычная линия. `dashed` — пунктир. `colored` — акцент. `gap` — пустой отступ. */
|
|
552
588
|
variant?: "solid" | "dashed" | "colored" | "gap";
|
|
553
|
-
/** Height of `gap`. Spacing, not a control: does not inherit.
|
|
554
|
-
size?: TaoSize
|
|
589
|
+
/** Height of `gap`. Spacing, not a control: does not inherit. / Высота `gap`. Отступ, не контрол: не наследуется. */
|
|
590
|
+
size?: TaoSize;
|
|
555
591
|
/** Подпись посередине. Не меняет стиль линии — для этого `variant`. */
|
|
556
592
|
text?: string;
|
|
557
593
|
/** Плавные края линии. У `gap` ничего не делает. */
|
|
@@ -564,8 +600,8 @@ fade: boolean;
|
|
|
564
600
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<{
|
|
565
601
|
/** `solid` — обычная линия. `dashed` — пунктир. `colored` — акцент. `gap` — пустой отступ. */
|
|
566
602
|
variant?: "solid" | "dashed" | "colored" | "gap";
|
|
567
|
-
/** Height of `gap`. Spacing, not a control: does not inherit.
|
|
568
|
-
size?: TaoSize
|
|
603
|
+
/** Height of `gap`. Spacing, not a control: does not inherit. / Высота `gap`. Отступ, не контрол: не наследуется. */
|
|
604
|
+
size?: TaoSize;
|
|
569
605
|
/** Подпись посередине. Не меняет стиль линии — для этого `variant`. */
|
|
570
606
|
text?: string;
|
|
571
607
|
/** Плавные края линии. У `gap` ничего не делает. */
|
|
@@ -576,8 +612,8 @@ size: string;
|
|
|
576
612
|
text: string;
|
|
577
613
|
fade: boolean;
|
|
578
614
|
}>>> & Readonly<{}>, {
|
|
615
|
+
size: TaoSize;
|
|
579
616
|
text: string;
|
|
580
|
-
size: TaoSize | "big";
|
|
581
617
|
variant: "solid" | "dashed" | "colored" | "gap";
|
|
582
618
|
fade: boolean;
|
|
583
619
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -602,20 +638,32 @@ align: "start" | "center" | "end";
|
|
|
602
638
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
603
639
|
|
|
604
640
|
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_29<Props_13>, {
|
|
641
|
+
variant: string;
|
|
642
|
+
tone: undefined;
|
|
643
|
+
colors: undefined;
|
|
605
644
|
borderWidth: number;
|
|
606
645
|
speed: number;
|
|
607
646
|
glow: number;
|
|
608
647
|
light: boolean;
|
|
648
|
+
radius: undefined;
|
|
609
649
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_29<Props_13>, {
|
|
650
|
+
variant: string;
|
|
651
|
+
tone: undefined;
|
|
652
|
+
colors: undefined;
|
|
610
653
|
borderWidth: number;
|
|
611
654
|
speed: number;
|
|
612
655
|
glow: number;
|
|
613
656
|
light: boolean;
|
|
657
|
+
radius: undefined;
|
|
614
658
|
}>>> & Readonly<{}>, {
|
|
659
|
+
tone: TaoToneName;
|
|
660
|
+
variant: "rainbow" | "tone";
|
|
661
|
+
colors: string[];
|
|
615
662
|
borderWidth: number;
|
|
616
663
|
speed: number;
|
|
617
664
|
glow: number;
|
|
618
665
|
light: boolean;
|
|
666
|
+
radius: TaoLength;
|
|
619
667
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
620
668
|
|
|
621
669
|
declare const __VLS_component_29: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<Props_14>, {
|
|
@@ -630,8 +678,6 @@ bottom: number;
|
|
|
630
678
|
zIndex: number;
|
|
631
679
|
boundary: number;
|
|
632
680
|
outline: undefined;
|
|
633
|
-
hasOutline: undefined;
|
|
634
|
-
tabindex: number;
|
|
635
681
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<Props_14>, {
|
|
636
682
|
variant: string;
|
|
637
683
|
side: string;
|
|
@@ -644,13 +690,10 @@ bottom: number;
|
|
|
644
690
|
zIndex: number;
|
|
645
691
|
boundary: number;
|
|
646
692
|
outline: undefined;
|
|
647
|
-
hasOutline: undefined;
|
|
648
|
-
tabindex: number;
|
|
649
693
|
}>>> & Readonly<{}>, {
|
|
650
|
-
label: string;
|
|
651
694
|
size: number;
|
|
695
|
+
label: string;
|
|
652
696
|
variant: "solid" | "ghost" | "text";
|
|
653
|
-
tabindex: number;
|
|
654
697
|
bottom: string | number;
|
|
655
698
|
right: string | number;
|
|
656
699
|
side: "left" | "right";
|
|
@@ -659,7 +702,6 @@ labelSide: "left" | "right";
|
|
|
659
702
|
zIndex: number;
|
|
660
703
|
boundary: number;
|
|
661
704
|
outline: boolean;
|
|
662
|
-
hasOutline: boolean;
|
|
663
705
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
664
706
|
|
|
665
707
|
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<Props_3>, {
|
|
@@ -668,41 +710,31 @@ type: string;
|
|
|
668
710
|
placeholder: string;
|
|
669
711
|
disabled: boolean;
|
|
670
712
|
error: boolean;
|
|
671
|
-
errorMessage: string;
|
|
672
|
-
label: string;
|
|
673
713
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
674
|
-
"update:modelValue": (...args: any[]) => void;
|
|
675
714
|
blur: (...args: any[]) => void;
|
|
676
715
|
focus: (...args: any[]) => void;
|
|
716
|
+
"update:modelValue": (...args: any[]) => void;
|
|
677
717
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<Props_3>, {
|
|
678
718
|
modelValue: string;
|
|
679
719
|
type: string;
|
|
680
720
|
placeholder: string;
|
|
681
721
|
disabled: boolean;
|
|
682
722
|
error: boolean;
|
|
683
|
-
errorMessage: string;
|
|
684
|
-
label: string;
|
|
685
723
|
}>>> & Readonly<{
|
|
686
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
687
724
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
688
725
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
726
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
689
727
|
}>, {
|
|
690
|
-
label: string;
|
|
691
|
-
error: boolean;
|
|
692
728
|
type: "text" | "password" | "email" | "number" | "tel";
|
|
693
729
|
disabled: boolean;
|
|
694
730
|
placeholder: string;
|
|
731
|
+
error: boolean;
|
|
695
732
|
modelValue: string | number;
|
|
696
|
-
errorMessage: string;
|
|
697
733
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
698
734
|
|
|
699
735
|
declare const __VLS_component_30: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
|
|
700
736
|
minWidth?: number;
|
|
701
737
|
maxWidth?: number;
|
|
702
|
-
/** @deprecated используйте minWidth */
|
|
703
|
-
min?: number;
|
|
704
|
-
/** @deprecated используйте maxWidth */
|
|
705
|
-
max?: number;
|
|
706
738
|
progress?: number;
|
|
707
739
|
height?: number;
|
|
708
740
|
/** `true` / `top` — по центру над полосой, `right` — справа. Если есть `#right`, процент справа в скобках. `false` — скрыть. */
|
|
@@ -711,8 +743,6 @@ animated?: boolean;
|
|
|
711
743
|
}>, {
|
|
712
744
|
minWidth: undefined;
|
|
713
745
|
maxWidth: undefined;
|
|
714
|
-
min: undefined;
|
|
715
|
-
max: undefined;
|
|
716
746
|
progress: number;
|
|
717
747
|
height: number;
|
|
718
748
|
showPercentage: boolean;
|
|
@@ -720,10 +750,6 @@ animated: boolean;
|
|
|
720
750
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
|
|
721
751
|
minWidth?: number;
|
|
722
752
|
maxWidth?: number;
|
|
723
|
-
/** @deprecated используйте minWidth */
|
|
724
|
-
min?: number;
|
|
725
|
-
/** @deprecated используйте maxWidth */
|
|
726
|
-
max?: number;
|
|
727
753
|
progress?: number;
|
|
728
754
|
height?: number;
|
|
729
755
|
/** `true` / `top` — по центру над полосой, `right` — справа. Если есть `#right`, процент справа в скобках. `false` — скрыть. */
|
|
@@ -732,18 +758,14 @@ animated?: boolean;
|
|
|
732
758
|
}>, {
|
|
733
759
|
minWidth: undefined;
|
|
734
760
|
maxWidth: undefined;
|
|
735
|
-
min: undefined;
|
|
736
|
-
max: undefined;
|
|
737
761
|
progress: number;
|
|
738
762
|
height: number;
|
|
739
763
|
showPercentage: boolean;
|
|
740
764
|
animated: boolean;
|
|
741
765
|
}>>> & Readonly<{}>, {
|
|
742
766
|
progress: number;
|
|
743
|
-
max: number;
|
|
744
|
-
minWidth: number;
|
|
745
767
|
height: number;
|
|
746
|
-
|
|
768
|
+
minWidth: number;
|
|
747
769
|
maxWidth: number;
|
|
748
770
|
showPercentage: boolean | "top" | "right";
|
|
749
771
|
animated: boolean;
|
|
@@ -752,25 +774,25 @@ animated: boolean;
|
|
|
752
774
|
declare const __VLS_component_31: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_33<TaoSliderBaseProps & {
|
|
753
775
|
modelValue: number;
|
|
754
776
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
755
|
-
"update:modelValue": (value: number) => void;
|
|
756
777
|
change: (value: number) => void;
|
|
778
|
+
"update:modelValue": (value: number) => void;
|
|
757
779
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_33<TaoSliderBaseProps & {
|
|
758
780
|
modelValue: number;
|
|
759
781
|
}>>> & Readonly<{
|
|
760
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
761
782
|
onChange?: ((value: number) => any) | undefined;
|
|
783
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
762
784
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
763
785
|
|
|
764
786
|
declare const __VLS_component_32: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_34<TaoSliderBaseProps & {
|
|
765
787
|
modelValue: [number, number];
|
|
766
788
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
767
|
-
"update:modelValue": (value: [number, number]) => void;
|
|
768
789
|
change: (value: [number, number]) => void;
|
|
790
|
+
"update:modelValue": (value: [number, number]) => void;
|
|
769
791
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_34<TaoSliderBaseProps & {
|
|
770
792
|
modelValue: [number, number];
|
|
771
793
|
}>>> & Readonly<{
|
|
772
|
-
"onUpdate:modelValue"?: ((value: [number, number]) => any) | undefined;
|
|
773
794
|
onChange?: ((value: [number, number]) => any) | undefined;
|
|
795
|
+
"onUpdate:modelValue"?: ((value: [number, number]) => any) | undefined;
|
|
774
796
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
775
797
|
|
|
776
798
|
declare const __VLS_component_33: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_35<Props_15>, {
|
|
@@ -780,9 +802,8 @@ multiple: boolean;
|
|
|
780
802
|
showClear: boolean;
|
|
781
803
|
list: boolean;
|
|
782
804
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
783
|
-
"update:modelValue": (files: File[]) => void;
|
|
784
805
|
change: (files: File[]) => void;
|
|
785
|
-
|
|
806
|
+
"update:modelValue": (files: File[]) => void;
|
|
786
807
|
"clear-request": () => void;
|
|
787
808
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_35<Props_15>, {
|
|
788
809
|
modelValue: () => never[];
|
|
@@ -791,9 +812,8 @@ multiple: boolean;
|
|
|
791
812
|
showClear: boolean;
|
|
792
813
|
list: boolean;
|
|
793
814
|
}>>> & Readonly<{
|
|
794
|
-
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
795
815
|
onChange?: ((files: File[]) => any) | undefined;
|
|
796
|
-
|
|
816
|
+
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
797
817
|
"onClear-request"?: (() => any) | undefined;
|
|
798
818
|
}>, {
|
|
799
819
|
list: boolean;
|
|
@@ -804,52 +824,506 @@ showClear: boolean;
|
|
|
804
824
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
805
825
|
|
|
806
826
|
declare const __VLS_component_34: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_36<{
|
|
807
|
-
|
|
827
|
+
/** Entries: items, submenus, checkboxes, radios, separators (see TaoMenuItem). / Пункты: обычные, подменю, чекбоксы, радио, разделители. */
|
|
828
|
+
items?: TaoMenuItem[];
|
|
829
|
+
/** Where the list opens against the button; flips when there is no room. / Где открывается список; при нехватке места переворачивается. */
|
|
830
|
+
placement?: TaoPlacement;
|
|
808
831
|
menuLabel?: string;
|
|
832
|
+
/** Close when the page scrolls (the menu otherwise follows its button). / Закрывать при прокрутке страницы (иначе меню едет за кнопкой). */
|
|
833
|
+
closeOnScroll?: boolean;
|
|
809
834
|
}>, {
|
|
810
|
-
|
|
835
|
+
items: () => never[];
|
|
836
|
+
placement: string;
|
|
837
|
+
closeOnScroll: boolean;
|
|
811
838
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
812
839
|
select: (id: string) => void;
|
|
813
|
-
selected: (id: string) => void;
|
|
814
840
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_36<{
|
|
815
|
-
|
|
841
|
+
/** Entries: items, submenus, checkboxes, radios, separators (see TaoMenuItem). / Пункты: обычные, подменю, чекбоксы, радио, разделители. */
|
|
842
|
+
items?: TaoMenuItem[];
|
|
843
|
+
/** Where the list opens against the button; flips when there is no room. / Где открывается список; при нехватке места переворачивается. */
|
|
844
|
+
placement?: TaoPlacement;
|
|
845
|
+
menuLabel?: string;
|
|
846
|
+
/** Close when the page scrolls (the menu otherwise follows its button). / Закрывать при прокрутке страницы (иначе меню едет за кнопкой). */
|
|
847
|
+
closeOnScroll?: boolean;
|
|
848
|
+
}>, {
|
|
849
|
+
items: () => never[];
|
|
850
|
+
placement: string;
|
|
851
|
+
closeOnScroll: boolean;
|
|
852
|
+
}>>> & Readonly<{
|
|
853
|
+
onSelect?: ((id: string) => any) | undefined;
|
|
854
|
+
}>, {
|
|
855
|
+
items: TaoMenuItem[];
|
|
856
|
+
placement: TaoPlacement;
|
|
857
|
+
closeOnScroll: boolean;
|
|
858
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
859
|
+
|
|
860
|
+
declare const __VLS_component_35: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_37<{
|
|
861
|
+
items: TaoMenuItem[];
|
|
862
|
+
open: boolean;
|
|
863
|
+
/** What the panel hangs from: a button, or the item a submenu opens from. / К чему крепится панель. */
|
|
864
|
+
anchor: HTMLElement | null;
|
|
865
|
+
placement?: TaoPlacement;
|
|
866
|
+
/** Accessible name of the menu. / Имя меню для скринридера. */
|
|
867
|
+
label?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Close when the page (or a scroll container) scrolls; scrolling inside the menu does not count. A root menu only.
|
|
870
|
+
* Закрывать при прокрутке страницы (или контейнера); прокрутка внутри меню не считается. Только корневое меню.
|
|
871
|
+
*/
|
|
872
|
+
closeOnScroll?: boolean;
|
|
873
|
+
}>, {
|
|
874
|
+
placement: string;
|
|
875
|
+
label: undefined;
|
|
876
|
+
closeOnScroll: boolean;
|
|
877
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
878
|
+
close: (reason: TaoMenuCloseReason) => void;
|
|
879
|
+
select: (id: string) => void;
|
|
880
|
+
enter: () => void;
|
|
881
|
+
edge: (direction: "prev" | "next") => void;
|
|
882
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_37<{
|
|
883
|
+
items: TaoMenuItem[];
|
|
884
|
+
open: boolean;
|
|
885
|
+
/** What the panel hangs from: a button, or the item a submenu opens from. / К чему крепится панель. */
|
|
886
|
+
anchor: HTMLElement | null;
|
|
887
|
+
placement?: TaoPlacement;
|
|
888
|
+
/** Accessible name of the menu. / Имя меню для скринридера. */
|
|
889
|
+
label?: string;
|
|
890
|
+
/**
|
|
891
|
+
* Close when the page (or a scroll container) scrolls; scrolling inside the menu does not count. A root menu only.
|
|
892
|
+
* Закрывать при прокрутке страницы (или контейнера); прокрутка внутри меню не считается. Только корневое меню.
|
|
893
|
+
*/
|
|
894
|
+
closeOnScroll?: boolean;
|
|
895
|
+
}>, {
|
|
896
|
+
placement: string;
|
|
897
|
+
label: undefined;
|
|
898
|
+
closeOnScroll: boolean;
|
|
899
|
+
}>>> & Readonly<{
|
|
900
|
+
onClose?: ((reason: TaoMenuCloseReason) => any) | undefined;
|
|
901
|
+
onSelect?: ((id: string) => any) | undefined;
|
|
902
|
+
onEnter?: (() => any) | undefined;
|
|
903
|
+
onEdge?: ((direction: "prev" | "next") => any) | undefined;
|
|
904
|
+
}>, {
|
|
905
|
+
label: string;
|
|
906
|
+
placement: TaoPlacement;
|
|
907
|
+
closeOnScroll: boolean;
|
|
908
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
909
|
+
|
|
910
|
+
declare const __VLS_component_36: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_38<{
|
|
911
|
+
/** The top entries: `{ id, label, items }` for a menu, `{ id, label }` for a plain action. / Верхние пункты. */
|
|
912
|
+
items: TaoMenuItem[];
|
|
913
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
914
|
+
size?: TaoSize;
|
|
915
|
+
/** Accessible name of the bar. / Имя полосы для скринридера. */
|
|
916
|
+
ariaLabel?: string;
|
|
917
|
+
/** Close an open menu when the page scrolls (otherwise it follows its entry). / Закрывать меню при прокрутке (иначе оно едет за пунктом). */
|
|
918
|
+
closeOnScroll?: boolean;
|
|
919
|
+
}>, {
|
|
920
|
+
size: undefined;
|
|
921
|
+
ariaLabel: undefined;
|
|
922
|
+
closeOnScroll: boolean;
|
|
923
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
924
|
+
select: (id: string) => void;
|
|
925
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_38<{
|
|
926
|
+
/** The top entries: `{ id, label, items }` for a menu, `{ id, label }` for a plain action. / Верхние пункты. */
|
|
927
|
+
items: TaoMenuItem[];
|
|
928
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
929
|
+
size?: TaoSize;
|
|
930
|
+
/** Accessible name of the bar. / Имя полосы для скринридера. */
|
|
931
|
+
ariaLabel?: string;
|
|
932
|
+
/** Close an open menu when the page scrolls (otherwise it follows its entry). / Закрывать меню при прокрутке (иначе оно едет за пунктом). */
|
|
933
|
+
closeOnScroll?: boolean;
|
|
934
|
+
}>, {
|
|
935
|
+
size: undefined;
|
|
936
|
+
ariaLabel: undefined;
|
|
937
|
+
closeOnScroll: boolean;
|
|
938
|
+
}>>> & Readonly<{
|
|
939
|
+
onSelect?: ((id: string) => any) | undefined;
|
|
940
|
+
}>, {
|
|
941
|
+
size: TaoSize;
|
|
942
|
+
ariaLabel: string;
|
|
943
|
+
closeOnScroll: boolean;
|
|
944
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
945
|
+
|
|
946
|
+
declare const __VLS_component_37: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_39<{
|
|
947
|
+
items: TaoNavItem[];
|
|
948
|
+
/** The id of the current section (`aria-current="page"`). / id текущего раздела. */
|
|
949
|
+
modelValue?: string;
|
|
950
|
+
layout?: TaoNavLayout;
|
|
951
|
+
/** The bar holds this many; with more items the last place is «More» with a menu. / Столько помещается в bar. */
|
|
952
|
+
maxBarItems?: number;
|
|
953
|
+
/** Accessible name of the navigation. / Имя навигации для скринридера. */
|
|
954
|
+
ariaLabel?: string;
|
|
955
|
+
/** The «More» entry of the bar. / Пункт «Ещё» нижней панели. */
|
|
956
|
+
moreLabel?: string;
|
|
957
|
+
}>, {
|
|
958
|
+
modelValue: undefined;
|
|
959
|
+
layout: string;
|
|
960
|
+
maxBarItems: number;
|
|
961
|
+
ariaLabel: undefined;
|
|
962
|
+
moreLabel: undefined;
|
|
963
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
964
|
+
select: (id: string, event: Event) => void;
|
|
965
|
+
"update:modelValue": (id: string) => void;
|
|
966
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_39<{
|
|
967
|
+
items: TaoNavItem[];
|
|
968
|
+
/** The id of the current section (`aria-current="page"`). / id текущего раздела. */
|
|
969
|
+
modelValue?: string;
|
|
970
|
+
layout?: TaoNavLayout;
|
|
971
|
+
/** The bar holds this many; with more items the last place is «More» with a menu. / Столько помещается в bar. */
|
|
972
|
+
maxBarItems?: number;
|
|
973
|
+
/** Accessible name of the navigation. / Имя навигации для скринридера. */
|
|
974
|
+
ariaLabel?: string;
|
|
975
|
+
/** The «More» entry of the bar. / Пункт «Ещё» нижней панели. */
|
|
976
|
+
moreLabel?: string;
|
|
977
|
+
}>, {
|
|
978
|
+
modelValue: undefined;
|
|
979
|
+
layout: string;
|
|
980
|
+
maxBarItems: number;
|
|
981
|
+
ariaLabel: undefined;
|
|
982
|
+
moreLabel: undefined;
|
|
983
|
+
}>>> & Readonly<{
|
|
984
|
+
onSelect?: ((id: string, event: Event) => any) | undefined;
|
|
985
|
+
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
986
|
+
}>, {
|
|
987
|
+
ariaLabel: string;
|
|
988
|
+
modelValue: string;
|
|
989
|
+
layout: TaoNavLayout;
|
|
990
|
+
maxBarItems: number;
|
|
991
|
+
moreLabel: string;
|
|
992
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
993
|
+
|
|
994
|
+
declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_40<{
|
|
995
|
+
nodes: TaoTreeNode[];
|
|
996
|
+
/** Ids of the expanded nodes (`v-model:expanded`); without it the tree keeps them itself. / id раскрытых узлов. */
|
|
997
|
+
expanded?: string[];
|
|
998
|
+
selection?: TaoTreeSelection;
|
|
999
|
+
/** `v-model:selected`: an id (single) or a list of ids (multiple). / id или список id. */
|
|
1000
|
+
selected?: string | string[] | null;
|
|
1001
|
+
/** Checkboxes; a parent is checked, unchecked or mixed by its leaves. / Чекбоксы; родитель по своим листьям. */
|
|
1002
|
+
checkable?: boolean;
|
|
1003
|
+
/** `v-model:checked`: the ids of the checked nodes without children. / id отмеченных узлов без детей. */
|
|
1004
|
+
checked?: string[];
|
|
1005
|
+
/** Loads the children of a node with `hasChildren`. / Подгружает детей узла с `hasChildren`. */
|
|
1006
|
+
load?: (node: TaoTreeNode) => Promise<TaoTreeNode[]>;
|
|
1007
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1008
|
+
size?: TaoSize;
|
|
1009
|
+
/** Accessible name of the tree. / Имя дерева для скринридера. */
|
|
1010
|
+
ariaLabel?: string;
|
|
1011
|
+
loadingLabel?: string;
|
|
1012
|
+
}>, {
|
|
1013
|
+
expanded: undefined;
|
|
1014
|
+
selection: string;
|
|
1015
|
+
selected: undefined;
|
|
1016
|
+
checkable: boolean;
|
|
1017
|
+
checked: undefined;
|
|
1018
|
+
load: undefined;
|
|
1019
|
+
size: undefined;
|
|
1020
|
+
ariaLabel: undefined;
|
|
1021
|
+
loadingLabel: undefined;
|
|
1022
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1023
|
+
select: (node: TaoTreeNode) => void;
|
|
1024
|
+
"update:expanded": (ids: string[]) => void;
|
|
1025
|
+
"update:selected": (value: string | string[] | null) => void;
|
|
1026
|
+
"update:checked": (ids: string[]) => void;
|
|
1027
|
+
"load-error": (node: TaoTreeNode, error: unknown) => void;
|
|
1028
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_40<{
|
|
1029
|
+
nodes: TaoTreeNode[];
|
|
1030
|
+
/** Ids of the expanded nodes (`v-model:expanded`); without it the tree keeps them itself. / id раскрытых узлов. */
|
|
1031
|
+
expanded?: string[];
|
|
1032
|
+
selection?: TaoTreeSelection;
|
|
1033
|
+
/** `v-model:selected`: an id (single) or a list of ids (multiple). / id или список id. */
|
|
1034
|
+
selected?: string | string[] | null;
|
|
1035
|
+
/** Checkboxes; a parent is checked, unchecked or mixed by its leaves. / Чекбоксы; родитель по своим листьям. */
|
|
1036
|
+
checkable?: boolean;
|
|
1037
|
+
/** `v-model:checked`: the ids of the checked nodes without children. / id отмеченных узлов без детей. */
|
|
1038
|
+
checked?: string[];
|
|
1039
|
+
/** Loads the children of a node with `hasChildren`. / Подгружает детей узла с `hasChildren`. */
|
|
1040
|
+
load?: (node: TaoTreeNode) => Promise<TaoTreeNode[]>;
|
|
1041
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1042
|
+
size?: TaoSize;
|
|
1043
|
+
/** Accessible name of the tree. / Имя дерева для скринридера. */
|
|
1044
|
+
ariaLabel?: string;
|
|
1045
|
+
loadingLabel?: string;
|
|
1046
|
+
}>, {
|
|
1047
|
+
expanded: undefined;
|
|
1048
|
+
selection: string;
|
|
1049
|
+
selected: undefined;
|
|
1050
|
+
checkable: boolean;
|
|
1051
|
+
checked: undefined;
|
|
1052
|
+
load: undefined;
|
|
1053
|
+
size: undefined;
|
|
1054
|
+
ariaLabel: undefined;
|
|
1055
|
+
loadingLabel: undefined;
|
|
1056
|
+
}>>> & Readonly<{
|
|
1057
|
+
onSelect?: ((node: TaoTreeNode) => any) | undefined;
|
|
1058
|
+
"onUpdate:expanded"?: ((ids: string[]) => any) | undefined;
|
|
1059
|
+
"onUpdate:selected"?: ((value: string | string[] | null) => any) | undefined;
|
|
1060
|
+
"onUpdate:checked"?: ((ids: string[]) => any) | undefined;
|
|
1061
|
+
"onLoad-error"?: ((node: TaoTreeNode, error: unknown) => any) | undefined;
|
|
1062
|
+
}>, {
|
|
1063
|
+
size: TaoSize;
|
|
1064
|
+
ariaLabel: string;
|
|
1065
|
+
load: (node: TaoTreeNode) => Promise<TaoTreeNode[]>;
|
|
1066
|
+
checked: string[];
|
|
1067
|
+
selected: string | string[] | null;
|
|
1068
|
+
expanded: string[];
|
|
1069
|
+
selection: TaoTreeSelection;
|
|
1070
|
+
checkable: boolean;
|
|
1071
|
+
loadingLabel: string;
|
|
1072
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1073
|
+
|
|
1074
|
+
declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_41<{
|
|
1075
|
+
items: TaoChecklistItem[];
|
|
1076
|
+
modelValue?: (string | number)[];
|
|
1077
|
+
legend?: string;
|
|
1078
|
+
/** A «Select all» checkbox on top, mixed when some are checked. / «Выбрать всё» сверху. */
|
|
1079
|
+
selectAll?: boolean;
|
|
1080
|
+
/** «3 of 5» next to the legend. / «3 из 5» рядом с подписью. */
|
|
1081
|
+
counter?: boolean;
|
|
1082
|
+
/** Strike the checked items through (a to-do list). / Зачёркивать отмеченные (список дел). */
|
|
1083
|
+
strike?: boolean;
|
|
1084
|
+
disabled?: boolean;
|
|
1085
|
+
/** Red frames; the message goes to TaoFormField `error`. / Красные рамки; текст ошибки — в `error` у TaoFormField. */
|
|
1086
|
+
error?: boolean;
|
|
1087
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1088
|
+
size?: TaoSize;
|
|
1089
|
+
selectAllLabel?: string;
|
|
1090
|
+
/** `{checked}`, `{total}`. */
|
|
1091
|
+
counterText?: string;
|
|
1092
|
+
}>, {
|
|
1093
|
+
modelValue: () => never[];
|
|
1094
|
+
legend: undefined;
|
|
1095
|
+
selectAll: boolean;
|
|
1096
|
+
counter: boolean;
|
|
1097
|
+
strike: boolean;
|
|
1098
|
+
disabled: boolean;
|
|
1099
|
+
error: boolean;
|
|
1100
|
+
size: undefined;
|
|
1101
|
+
selectAllLabel: undefined;
|
|
1102
|
+
counterText: undefined;
|
|
1103
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1104
|
+
change: (values: (string | number)[]) => void;
|
|
1105
|
+
"update:modelValue": (values: (string | number)[]) => void;
|
|
1106
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_41<{
|
|
1107
|
+
items: TaoChecklistItem[];
|
|
1108
|
+
modelValue?: (string | number)[];
|
|
1109
|
+
legend?: string;
|
|
1110
|
+
/** A «Select all» checkbox on top, mixed when some are checked. / «Выбрать всё» сверху. */
|
|
1111
|
+
selectAll?: boolean;
|
|
1112
|
+
/** «3 of 5» next to the legend. / «3 из 5» рядом с подписью. */
|
|
1113
|
+
counter?: boolean;
|
|
1114
|
+
/** Strike the checked items through (a to-do list). / Зачёркивать отмеченные (список дел). */
|
|
1115
|
+
strike?: boolean;
|
|
1116
|
+
disabled?: boolean;
|
|
1117
|
+
/** Red frames; the message goes to TaoFormField `error`. / Красные рамки; текст ошибки — в `error` у TaoFormField. */
|
|
1118
|
+
error?: boolean;
|
|
1119
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1120
|
+
size?: TaoSize;
|
|
1121
|
+
selectAllLabel?: string;
|
|
1122
|
+
/** `{checked}`, `{total}`. */
|
|
1123
|
+
counterText?: string;
|
|
1124
|
+
}>, {
|
|
1125
|
+
modelValue: () => never[];
|
|
1126
|
+
legend: undefined;
|
|
1127
|
+
selectAll: boolean;
|
|
1128
|
+
counter: boolean;
|
|
1129
|
+
strike: boolean;
|
|
1130
|
+
disabled: boolean;
|
|
1131
|
+
error: boolean;
|
|
1132
|
+
size: undefined;
|
|
1133
|
+
selectAllLabel: undefined;
|
|
1134
|
+
counterText: undefined;
|
|
1135
|
+
}>>> & Readonly<{
|
|
1136
|
+
onChange?: ((values: (string | number)[]) => any) | undefined;
|
|
1137
|
+
"onUpdate:modelValue"?: ((values: (string | number)[]) => any) | undefined;
|
|
1138
|
+
}>, {
|
|
1139
|
+
size: TaoSize;
|
|
1140
|
+
strike: boolean;
|
|
1141
|
+
legend: string;
|
|
1142
|
+
disabled: boolean;
|
|
1143
|
+
error: boolean;
|
|
1144
|
+
modelValue: (string | number)[];
|
|
1145
|
+
selectAll: boolean;
|
|
1146
|
+
counter: boolean;
|
|
1147
|
+
selectAllLabel: string;
|
|
1148
|
+
counterText: string;
|
|
1149
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1150
|
+
|
|
1151
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
|
|
1152
|
+
/** Size of the whole group: addons, field and buttons inside. / Размер всей группы: аддоны, поле и кнопки внутри. */
|
|
1153
|
+
size?: TaoSize;
|
|
1154
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
|
|
1155
|
+
/** Size of the whole group: addons, field and buttons inside. / Размер всей группы: аддоны, поле и кнопки внутри. */
|
|
1156
|
+
size?: TaoSize;
|
|
1157
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1158
|
+
|
|
1159
|
+
declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_42<{
|
|
1160
|
+
items: TaoTimelineItem[];
|
|
1161
|
+
/** The id of the current event. / id текущего события. */
|
|
1162
|
+
active?: string;
|
|
1163
|
+
/** `alternate` folds into `start` below 480px of its own width. / `alternate` складывается в `start` уже 480px. */
|
|
1164
|
+
align?: TaoTimelineAlign;
|
|
1165
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1166
|
+
size?: TaoSize;
|
|
1167
|
+
}>, {
|
|
1168
|
+
active: undefined;
|
|
1169
|
+
align: string;
|
|
1170
|
+
size: undefined;
|
|
1171
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_42<{
|
|
1172
|
+
items: TaoTimelineItem[];
|
|
1173
|
+
/** The id of the current event. / id текущего события. */
|
|
1174
|
+
active?: string;
|
|
1175
|
+
/** `alternate` folds into `start` below 480px of its own width. / `alternate` складывается в `start` уже 480px. */
|
|
1176
|
+
align?: TaoTimelineAlign;
|
|
1177
|
+
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1178
|
+
size?: TaoSize;
|
|
1179
|
+
}>, {
|
|
1180
|
+
active: undefined;
|
|
1181
|
+
align: string;
|
|
1182
|
+
size: undefined;
|
|
1183
|
+
}>>> & Readonly<{}>, {
|
|
1184
|
+
size: TaoSize;
|
|
1185
|
+
active: string;
|
|
1186
|
+
align: TaoTimelineAlign;
|
|
1187
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1188
|
+
|
|
1189
|
+
declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_43<{
|
|
1190
|
+
/** The line; or put anything inline into the default slot. / Строка; или что угодно строчное в слот. */
|
|
1191
|
+
text?: string;
|
|
1192
|
+
/** Pixels per second. / Пикселей в секунду. */
|
|
1193
|
+
speed?: number;
|
|
1194
|
+
/** The gap between the end of the line and its next round, px. / Зазор между концом строки и следующим кругом. */
|
|
1195
|
+
gap?: number;
|
|
1196
|
+
/**
|
|
1197
|
+
* The width of the fading edges, px. The left fade lives in a padding outside the text, so at rest the line
|
|
1198
|
+
* starts where it would without the marquee; the parent needs that much room on the left (its padding), or the
|
|
1199
|
+
* running text shows past its edge. 0 is no left fade.
|
|
1200
|
+
* Ширина гаснущих краёв. Левое затухание лежит в отступе за пределами текста: в покое строка стоит на своём месте;
|
|
1201
|
+
* родителю нужно столько места слева (его padding), иначе бегущий текст покажется за его краем. 0 — без затухания.
|
|
1202
|
+
*/
|
|
1203
|
+
fade?: number;
|
|
1204
|
+
pauseOnHover?: boolean;
|
|
1205
|
+
/** Stopped by the app. / Остановлена приложением. */
|
|
1206
|
+
paused?: boolean;
|
|
1207
|
+
}>, {
|
|
1208
|
+
text: string;
|
|
1209
|
+
speed: number;
|
|
1210
|
+
gap: number;
|
|
1211
|
+
fade: number;
|
|
1212
|
+
pauseOnHover: boolean;
|
|
1213
|
+
paused: boolean;
|
|
1214
|
+
}>>, {
|
|
1215
|
+
/** Measures again (after the content changed in a way the marquee cannot see). / Перемерить. */
|
|
1216
|
+
measure: typeof measure;
|
|
1217
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_43<{
|
|
1218
|
+
/** The line; or put anything inline into the default slot. / Строка; или что угодно строчное в слот. */
|
|
1219
|
+
text?: string;
|
|
1220
|
+
/** Pixels per second. / Пикселей в секунду. */
|
|
1221
|
+
speed?: number;
|
|
1222
|
+
/** The gap between the end of the line and its next round, px. / Зазор между концом строки и следующим кругом. */
|
|
1223
|
+
gap?: number;
|
|
1224
|
+
/**
|
|
1225
|
+
* The width of the fading edges, px. The left fade lives in a padding outside the text, so at rest the line
|
|
1226
|
+
* starts where it would without the marquee; the parent needs that much room on the left (its padding), or the
|
|
1227
|
+
* running text shows past its edge. 0 is no left fade.
|
|
1228
|
+
* Ширина гаснущих краёв. Левое затухание лежит в отступе за пределами текста: в покое строка стоит на своём месте;
|
|
1229
|
+
* родителю нужно столько места слева (его padding), иначе бегущий текст покажется за его краем. 0 — без затухания.
|
|
1230
|
+
*/
|
|
1231
|
+
fade?: number;
|
|
1232
|
+
pauseOnHover?: boolean;
|
|
1233
|
+
/** Stopped by the app. / Остановлена приложением. */
|
|
1234
|
+
paused?: boolean;
|
|
1235
|
+
}>, {
|
|
1236
|
+
text: string;
|
|
1237
|
+
speed: number;
|
|
1238
|
+
gap: number;
|
|
1239
|
+
fade: number;
|
|
1240
|
+
pauseOnHover: boolean;
|
|
1241
|
+
paused: boolean;
|
|
1242
|
+
}>>> & Readonly<{}>, {
|
|
1243
|
+
text: string;
|
|
1244
|
+
speed: number;
|
|
1245
|
+
gap: number;
|
|
1246
|
+
paused: boolean;
|
|
1247
|
+
fade: number;
|
|
1248
|
+
pauseOnHover: boolean;
|
|
1249
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1250
|
+
|
|
1251
|
+
declare const __VLS_component_42: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_44<{
|
|
1252
|
+
items: TaoMenuItem[];
|
|
1253
|
+
/** Leave the browser's own menu alone. / Не трогать меню браузера. */
|
|
1254
|
+
disabled?: boolean;
|
|
1255
|
+
/** Accessible name of the menu. / Имя меню для скринридера. */
|
|
816
1256
|
menuLabel?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Close when the page (or a scroll container) scrolls: the point the menu was opened for moves away under it.
|
|
1259
|
+
* false keeps it at the screen point. Scrolling inside the menu never closes it.
|
|
1260
|
+
* Закрывать при прокрутке страницы (или контейнера): точка, для которой открыли меню, уезжает из-под него.
|
|
1261
|
+
* false оставляет его в точке экрана. Прокрутка внутри самого меню его не закрывает.
|
|
1262
|
+
*/
|
|
1263
|
+
closeOnScroll?: boolean;
|
|
1264
|
+
}>, {
|
|
1265
|
+
disabled: boolean;
|
|
1266
|
+
menuLabel: undefined;
|
|
1267
|
+
closeOnScroll: boolean;
|
|
1268
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1269
|
+
select: (id: string) => void;
|
|
1270
|
+
open: (point: {
|
|
1271
|
+
x: number;
|
|
1272
|
+
y: number;
|
|
1273
|
+
}) => void;
|
|
1274
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_44<{
|
|
1275
|
+
items: TaoMenuItem[];
|
|
1276
|
+
/** Leave the browser's own menu alone. / Не трогать меню браузера. */
|
|
1277
|
+
disabled?: boolean;
|
|
1278
|
+
/** Accessible name of the menu. / Имя меню для скринридера. */
|
|
1279
|
+
menuLabel?: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* Close when the page (or a scroll container) scrolls: the point the menu was opened for moves away under it.
|
|
1282
|
+
* false keeps it at the screen point. Scrolling inside the menu never closes it.
|
|
1283
|
+
* Закрывать при прокрутке страницы (или контейнера): точка, для которой открыли меню, уезжает из-под него.
|
|
1284
|
+
* false оставляет его в точке экрана. Прокрутка внутри самого меню его не закрывает.
|
|
1285
|
+
*/
|
|
1286
|
+
closeOnScroll?: boolean;
|
|
817
1287
|
}>, {
|
|
818
|
-
|
|
1288
|
+
disabled: boolean;
|
|
1289
|
+
menuLabel: undefined;
|
|
1290
|
+
closeOnScroll: boolean;
|
|
819
1291
|
}>>> & Readonly<{
|
|
820
1292
|
onSelect?: ((id: string) => any) | undefined;
|
|
821
|
-
|
|
1293
|
+
onOpen?: ((point: {
|
|
1294
|
+
x: number;
|
|
1295
|
+
y: number;
|
|
1296
|
+
}) => any) | undefined;
|
|
822
1297
|
}>, {
|
|
823
|
-
|
|
1298
|
+
disabled: boolean;
|
|
1299
|
+
closeOnScroll: boolean;
|
|
1300
|
+
menuLabel: string;
|
|
824
1301
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
825
1302
|
|
|
826
|
-
declare const
|
|
1303
|
+
declare const __VLS_component_43: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_46<Props_16>, {
|
|
827
1304
|
to: undefined;
|
|
828
1305
|
newTab: boolean;
|
|
829
|
-
asNewTab: boolean;
|
|
830
1306
|
private: boolean;
|
|
831
1307
|
exactPath: boolean;
|
|
832
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1308
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_46<Props_16>, {
|
|
833
1309
|
to: undefined;
|
|
834
1310
|
newTab: boolean;
|
|
835
|
-
asNewTab: boolean;
|
|
836
1311
|
private: boolean;
|
|
837
1312
|
exactPath: boolean;
|
|
838
1313
|
}>>> & Readonly<{}>, {
|
|
839
1314
|
to: string | Record<string, unknown>;
|
|
840
1315
|
newTab: boolean;
|
|
841
|
-
asNewTab: boolean;
|
|
842
1316
|
private: boolean;
|
|
843
1317
|
exactPath: boolean;
|
|
844
1318
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
845
1319
|
|
|
846
|
-
declare const
|
|
1320
|
+
declare const __VLS_component_44: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_47<{
|
|
847
1321
|
label?: string;
|
|
848
1322
|
hint?: string;
|
|
849
1323
|
error?: string;
|
|
850
1324
|
/** Size of the control inside. / Размер контрола внутри. */
|
|
851
1325
|
size?: TaoSize;
|
|
852
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1326
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_47<{
|
|
853
1327
|
label?: string;
|
|
854
1328
|
hint?: string;
|
|
855
1329
|
error?: string;
|
|
@@ -857,7 +1331,7 @@ error?: string;
|
|
|
857
1331
|
size?: TaoSize;
|
|
858
1332
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
859
1333
|
|
|
860
|
-
declare const
|
|
1334
|
+
declare const __VLS_component_45: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_48<{
|
|
861
1335
|
modelValue?: string | number | null;
|
|
862
1336
|
options?: TaoSelectOption[];
|
|
863
1337
|
placeholder?: string;
|
|
@@ -881,9 +1355,9 @@ disabled: boolean;
|
|
|
881
1355
|
error: boolean;
|
|
882
1356
|
clearable: boolean;
|
|
883
1357
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
884
|
-
"update:modelValue": (value: string | number | null) => void;
|
|
885
1358
|
change: (value: string | number | null) => void;
|
|
886
|
-
|
|
1359
|
+
"update:modelValue": (value: string | number | null) => void;
|
|
1360
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_48<{
|
|
887
1361
|
modelValue?: string | number | null;
|
|
888
1362
|
options?: TaoSelectOption[];
|
|
889
1363
|
placeholder?: string;
|
|
@@ -907,17 +1381,17 @@ disabled: boolean;
|
|
|
907
1381
|
error: boolean;
|
|
908
1382
|
clearable: boolean;
|
|
909
1383
|
}>>> & Readonly<{
|
|
910
|
-
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
911
1384
|
onChange?: ((value: string | number | null) => any) | undefined;
|
|
1385
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
912
1386
|
}>, {
|
|
913
|
-
error: boolean;
|
|
914
1387
|
disabled: boolean;
|
|
1388
|
+
error: boolean;
|
|
915
1389
|
modelValue: string | number | null;
|
|
916
1390
|
options: TaoSelectOption[];
|
|
917
1391
|
clearable: boolean;
|
|
918
1392
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
919
1393
|
|
|
920
|
-
declare const
|
|
1394
|
+
declare const __VLS_component_46: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_51<{
|
|
921
1395
|
modelValue?: string | number | null;
|
|
922
1396
|
options?: TaoSelectOption[];
|
|
923
1397
|
placeholder?: string;
|
|
@@ -940,10 +1414,10 @@ error: boolean;
|
|
|
940
1414
|
clearable: boolean;
|
|
941
1415
|
allowCreate: boolean;
|
|
942
1416
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
943
|
-
"update:modelValue": (value: string | number | null) => void;
|
|
944
1417
|
change: (value: string | number | null) => void;
|
|
1418
|
+
"update:modelValue": (value: string | number | null) => void;
|
|
945
1419
|
create: (value: string) => void;
|
|
946
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1420
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_51<{
|
|
947
1421
|
modelValue?: string | number | null;
|
|
948
1422
|
options?: TaoSelectOption[];
|
|
949
1423
|
placeholder?: string;
|
|
@@ -966,19 +1440,68 @@ error: boolean;
|
|
|
966
1440
|
clearable: boolean;
|
|
967
1441
|
allowCreate: boolean;
|
|
968
1442
|
}>>> & Readonly<{
|
|
969
|
-
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
970
1443
|
onChange?: ((value: string | number | null) => any) | undefined;
|
|
1444
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
971
1445
|
onCreate?: ((value: string) => any) | undefined;
|
|
972
1446
|
}>, {
|
|
973
|
-
error: boolean;
|
|
974
1447
|
disabled: boolean;
|
|
1448
|
+
error: boolean;
|
|
975
1449
|
modelValue: string | number | null;
|
|
976
1450
|
options: TaoSelectOption[];
|
|
977
1451
|
clearable: boolean;
|
|
978
1452
|
allowCreate: boolean;
|
|
979
1453
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
980
1454
|
|
|
981
|
-
declare const
|
|
1455
|
+
declare const __VLS_component_47: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_52<{
|
|
1456
|
+
/** `single`: `v-model` is `YYYY-MM-DD`; `range`: `{ start, end }`. / `single` — строка `YYYY-MM-DD`; `range` — `{ start, end }`. */
|
|
1457
|
+
mode?: "single" | "range";
|
|
1458
|
+
modelValue?: string | TaoDateRangeValue | null;
|
|
1459
|
+
min?: string;
|
|
1460
|
+
max?: string;
|
|
1461
|
+
locale?: string;
|
|
1462
|
+
todayText?: string;
|
|
1463
|
+
clearText?: string;
|
|
1464
|
+
prevMonthLabel?: string;
|
|
1465
|
+
nextMonthLabel?: string;
|
|
1466
|
+
}>, {
|
|
1467
|
+
mode: string;
|
|
1468
|
+
modelValue: null;
|
|
1469
|
+
min: undefined;
|
|
1470
|
+
max: undefined;
|
|
1471
|
+
}>>, {
|
|
1472
|
+
focus: () => Promise<void>;
|
|
1473
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1474
|
+
view: () => void;
|
|
1475
|
+
change: (value: string | TaoDateRangeValue | null) => void;
|
|
1476
|
+
"update:modelValue": (value: string | TaoDateRangeValue | null) => void;
|
|
1477
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_52<{
|
|
1478
|
+
/** `single`: `v-model` is `YYYY-MM-DD`; `range`: `{ start, end }`. / `single` — строка `YYYY-MM-DD`; `range` — `{ start, end }`. */
|
|
1479
|
+
mode?: "single" | "range";
|
|
1480
|
+
modelValue?: string | TaoDateRangeValue | null;
|
|
1481
|
+
min?: string;
|
|
1482
|
+
max?: string;
|
|
1483
|
+
locale?: string;
|
|
1484
|
+
todayText?: string;
|
|
1485
|
+
clearText?: string;
|
|
1486
|
+
prevMonthLabel?: string;
|
|
1487
|
+
nextMonthLabel?: string;
|
|
1488
|
+
}>, {
|
|
1489
|
+
mode: string;
|
|
1490
|
+
modelValue: null;
|
|
1491
|
+
min: undefined;
|
|
1492
|
+
max: undefined;
|
|
1493
|
+
}>>> & Readonly<{
|
|
1494
|
+
onView?: (() => any) | undefined;
|
|
1495
|
+
onChange?: ((value: string | TaoDateRangeValue | null) => any) | undefined;
|
|
1496
|
+
"onUpdate:modelValue"?: ((value: string | TaoDateRangeValue | null) => any) | undefined;
|
|
1497
|
+
}>, {
|
|
1498
|
+
max: string;
|
|
1499
|
+
mode: "single" | "range";
|
|
1500
|
+
modelValue: string | TaoDateRangeValue | null;
|
|
1501
|
+
min: string;
|
|
1502
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1503
|
+
|
|
1504
|
+
declare const __VLS_component_48: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_53<{
|
|
982
1505
|
modelValue?: string | null;
|
|
983
1506
|
placeholder?: string;
|
|
984
1507
|
disabled?: boolean;
|
|
@@ -999,9 +1522,9 @@ error: boolean;
|
|
|
999
1522
|
min: undefined;
|
|
1000
1523
|
max: undefined;
|
|
1001
1524
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1002
|
-
"update:modelValue": (value: string | null) => void;
|
|
1003
1525
|
change: (value: string | null) => void;
|
|
1004
|
-
|
|
1526
|
+
"update:modelValue": (value: string | null) => void;
|
|
1527
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_53<{
|
|
1005
1528
|
modelValue?: string | null;
|
|
1006
1529
|
placeholder?: string;
|
|
1007
1530
|
disabled?: boolean;
|
|
@@ -1022,25 +1545,17 @@ error: boolean;
|
|
|
1022
1545
|
min: undefined;
|
|
1023
1546
|
max: undefined;
|
|
1024
1547
|
}>>> & Readonly<{
|
|
1025
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
1026
1548
|
onChange?: ((value: string | null) => any) | undefined;
|
|
1549
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
1027
1550
|
}>, {
|
|
1028
|
-
error: boolean;
|
|
1029
1551
|
disabled: boolean;
|
|
1030
1552
|
max: string;
|
|
1553
|
+
error: boolean;
|
|
1031
1554
|
modelValue: string | null;
|
|
1032
1555
|
min: string;
|
|
1033
1556
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1034
1557
|
|
|
1035
|
-
declare const
|
|
1036
|
-
/** Size of the whole group: addons, field and buttons inside. / Размер всей группы: аддоны, поле и кнопки внутри. */
|
|
1037
|
-
size?: TaoSize;
|
|
1038
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
|
|
1039
|
-
/** Size of the whole group: addons, field and buttons inside. / Размер всей группы: аддоны, поле и кнопки внутри. */
|
|
1040
|
-
size?: TaoSize;
|
|
1041
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1042
|
-
|
|
1043
|
-
declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_45<{
|
|
1558
|
+
declare const __VLS_component_49: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_54<{
|
|
1044
1559
|
modelValue?: TaoDateRangeValue | null;
|
|
1045
1560
|
placeholder?: string;
|
|
1046
1561
|
disabled?: boolean;
|
|
@@ -1061,9 +1576,9 @@ error: boolean;
|
|
|
1061
1576
|
min: undefined;
|
|
1062
1577
|
max: undefined;
|
|
1063
1578
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1064
|
-
"update:modelValue": (value: TaoDateRangeValue | null) => void;
|
|
1065
1579
|
change: (value: TaoDateRangeValue | null) => void;
|
|
1066
|
-
|
|
1580
|
+
"update:modelValue": (value: TaoDateRangeValue | null) => void;
|
|
1581
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_54<{
|
|
1067
1582
|
modelValue?: TaoDateRangeValue | null;
|
|
1068
1583
|
placeholder?: string;
|
|
1069
1584
|
disabled?: boolean;
|
|
@@ -1084,17 +1599,80 @@ error: boolean;
|
|
|
1084
1599
|
min: undefined;
|
|
1085
1600
|
max: undefined;
|
|
1086
1601
|
}>>> & Readonly<{
|
|
1087
|
-
"onUpdate:modelValue"?: ((value: TaoDateRangeValue | null) => any) | undefined;
|
|
1088
1602
|
onChange?: ((value: TaoDateRangeValue | null) => any) | undefined;
|
|
1603
|
+
"onUpdate:modelValue"?: ((value: TaoDateRangeValue | null) => any) | undefined;
|
|
1089
1604
|
}>, {
|
|
1090
|
-
error: boolean;
|
|
1091
1605
|
disabled: boolean;
|
|
1092
1606
|
max: string;
|
|
1607
|
+
error: boolean;
|
|
1093
1608
|
modelValue: TaoDateRangeValue | null;
|
|
1094
1609
|
min: string;
|
|
1095
1610
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1096
1611
|
|
|
1097
|
-
declare const
|
|
1612
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<{
|
|
1613
|
+
modelValue?: number | null;
|
|
1614
|
+
min?: number;
|
|
1615
|
+
max?: number;
|
|
1616
|
+
step?: number;
|
|
1617
|
+
precision?: number;
|
|
1618
|
+
disabled?: boolean;
|
|
1619
|
+
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1620
|
+
error?: boolean;
|
|
1621
|
+
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1622
|
+
size?: TaoSize;
|
|
1623
|
+
placeholder?: string;
|
|
1624
|
+
controls?: boolean;
|
|
1625
|
+
incrementLabel?: string;
|
|
1626
|
+
decrementLabel?: string;
|
|
1627
|
+
}>, {
|
|
1628
|
+
modelValue: null;
|
|
1629
|
+
step: number;
|
|
1630
|
+
disabled: boolean;
|
|
1631
|
+
error: boolean;
|
|
1632
|
+
placeholder: string;
|
|
1633
|
+
controls: boolean;
|
|
1634
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1635
|
+
blur: (event: FocusEvent) => void;
|
|
1636
|
+
focus: (event: FocusEvent) => void;
|
|
1637
|
+
"update:modelValue": (value: number | null) => void;
|
|
1638
|
+
commit: (value: number | null) => void;
|
|
1639
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_5<{
|
|
1640
|
+
modelValue?: number | null;
|
|
1641
|
+
min?: number;
|
|
1642
|
+
max?: number;
|
|
1643
|
+
step?: number;
|
|
1644
|
+
precision?: number;
|
|
1645
|
+
disabled?: boolean;
|
|
1646
|
+
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1647
|
+
error?: boolean;
|
|
1648
|
+
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1649
|
+
size?: TaoSize;
|
|
1650
|
+
placeholder?: string;
|
|
1651
|
+
controls?: boolean;
|
|
1652
|
+
incrementLabel?: string;
|
|
1653
|
+
decrementLabel?: string;
|
|
1654
|
+
}>, {
|
|
1655
|
+
modelValue: null;
|
|
1656
|
+
step: number;
|
|
1657
|
+
disabled: boolean;
|
|
1658
|
+
error: boolean;
|
|
1659
|
+
placeholder: string;
|
|
1660
|
+
controls: boolean;
|
|
1661
|
+
}>>> & Readonly<{
|
|
1662
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1663
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1664
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
1665
|
+
onCommit?: ((value: number | null) => any) | undefined;
|
|
1666
|
+
}>, {
|
|
1667
|
+
disabled: boolean;
|
|
1668
|
+
placeholder: string;
|
|
1669
|
+
error: boolean;
|
|
1670
|
+
step: number;
|
|
1671
|
+
modelValue: number | null;
|
|
1672
|
+
controls: boolean;
|
|
1673
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1674
|
+
|
|
1675
|
+
declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
|
|
1098
1676
|
modelValue?: boolean;
|
|
1099
1677
|
label?: string;
|
|
1100
1678
|
disabled?: boolean;
|
|
@@ -1102,15 +1680,23 @@ disabled?: boolean;
|
|
|
1102
1680
|
error?: boolean;
|
|
1103
1681
|
/** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1104
1682
|
size?: TaoSize;
|
|
1683
|
+
/**
|
|
1684
|
+
* The change is being applied (a request is on its way): a spinner on the thumb, a click does nothing, and it is
|
|
1685
|
+
* not greyed out like a disabled switch. A screen reader hears it busy.
|
|
1686
|
+
* Изменение применяется (запрос в пути): на бегунке крутится кольцо, щелчок ничего не делает, и переключатель не
|
|
1687
|
+
* гаснет, как недоступный. Скринридер слышит «занят».
|
|
1688
|
+
*/
|
|
1689
|
+
loading?: boolean;
|
|
1105
1690
|
}>, {
|
|
1106
1691
|
modelValue: boolean;
|
|
1107
1692
|
label: string;
|
|
1108
1693
|
disabled: boolean;
|
|
1109
1694
|
error: boolean;
|
|
1695
|
+
loading: boolean;
|
|
1110
1696
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1111
|
-
"update:modelValue": (value: boolean) => void;
|
|
1112
1697
|
change: (value: boolean) => void;
|
|
1113
|
-
|
|
1698
|
+
"update:modelValue": (value: boolean) => void;
|
|
1699
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
|
|
1114
1700
|
modelValue?: boolean;
|
|
1115
1701
|
label?: string;
|
|
1116
1702
|
disabled?: boolean;
|
|
@@ -1118,22 +1704,31 @@ disabled?: boolean;
|
|
|
1118
1704
|
error?: boolean;
|
|
1119
1705
|
/** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1120
1706
|
size?: TaoSize;
|
|
1707
|
+
/**
|
|
1708
|
+
* The change is being applied (a request is on its way): a spinner on the thumb, a click does nothing, and it is
|
|
1709
|
+
* not greyed out like a disabled switch. A screen reader hears it busy.
|
|
1710
|
+
* Изменение применяется (запрос в пути): на бегунке крутится кольцо, щелчок ничего не делает, и переключатель не
|
|
1711
|
+
* гаснет, как недоступный. Скринридер слышит «занят».
|
|
1712
|
+
*/
|
|
1713
|
+
loading?: boolean;
|
|
1121
1714
|
}>, {
|
|
1122
1715
|
modelValue: boolean;
|
|
1123
1716
|
label: string;
|
|
1124
1717
|
disabled: boolean;
|
|
1125
1718
|
error: boolean;
|
|
1719
|
+
loading: boolean;
|
|
1126
1720
|
}>>> & Readonly<{
|
|
1127
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1128
1721
|
onChange?: ((value: boolean) => any) | undefined;
|
|
1722
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1129
1723
|
}>, {
|
|
1130
1724
|
label: string;
|
|
1131
|
-
error: boolean;
|
|
1132
1725
|
disabled: boolean;
|
|
1726
|
+
error: boolean;
|
|
1727
|
+
loading: boolean;
|
|
1133
1728
|
modelValue: boolean;
|
|
1134
1729
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1135
1730
|
|
|
1136
|
-
declare const
|
|
1731
|
+
declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
|
|
1137
1732
|
value: TaoRadioValue;
|
|
1138
1733
|
modelValue?: TaoRadioValue;
|
|
1139
1734
|
name?: string;
|
|
@@ -1148,9 +1743,9 @@ label: string;
|
|
|
1148
1743
|
disabled: boolean;
|
|
1149
1744
|
error: boolean;
|
|
1150
1745
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1151
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1152
1746
|
change: (value: TaoRadioValue) => void;
|
|
1153
|
-
|
|
1747
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1748
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
|
|
1154
1749
|
value: TaoRadioValue;
|
|
1155
1750
|
modelValue?: TaoRadioValue;
|
|
1156
1751
|
name?: string;
|
|
@@ -1165,15 +1760,15 @@ label: string;
|
|
|
1165
1760
|
disabled: boolean;
|
|
1166
1761
|
error: boolean;
|
|
1167
1762
|
}>>> & Readonly<{
|
|
1168
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1169
1763
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1764
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1170
1765
|
}>, {
|
|
1171
1766
|
label: string;
|
|
1172
|
-
error: boolean;
|
|
1173
1767
|
disabled: boolean;
|
|
1768
|
+
error: boolean;
|
|
1174
1769
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1175
1770
|
|
|
1176
|
-
declare const
|
|
1771
|
+
declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
|
|
1177
1772
|
modelValue?: TaoRadioValue;
|
|
1178
1773
|
name?: string;
|
|
1179
1774
|
legend?: string;
|
|
@@ -1188,9 +1783,9 @@ disabled: boolean;
|
|
|
1188
1783
|
error: boolean;
|
|
1189
1784
|
direction: string;
|
|
1190
1785
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1191
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1192
1786
|
change: (value: TaoRadioValue) => void;
|
|
1193
|
-
|
|
1787
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1788
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
|
|
1194
1789
|
modelValue?: TaoRadioValue;
|
|
1195
1790
|
name?: string;
|
|
1196
1791
|
legend?: string;
|
|
@@ -1205,15 +1800,15 @@ disabled: boolean;
|
|
|
1205
1800
|
error: boolean;
|
|
1206
1801
|
direction: string;
|
|
1207
1802
|
}>>> & Readonly<{
|
|
1208
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1209
1803
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1804
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1210
1805
|
}>, {
|
|
1211
|
-
error: boolean;
|
|
1212
1806
|
disabled: boolean;
|
|
1807
|
+
error: boolean;
|
|
1213
1808
|
direction: "row" | "column";
|
|
1214
1809
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1215
1810
|
|
|
1216
|
-
declare const
|
|
1811
|
+
declare const __VLS_component_53: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
|
|
1217
1812
|
modelValue?: TaoRadioValue;
|
|
1218
1813
|
name?: string;
|
|
1219
1814
|
legend?: string;
|
|
@@ -1230,9 +1825,9 @@ disabled: boolean;
|
|
|
1230
1825
|
error: boolean;
|
|
1231
1826
|
block: boolean;
|
|
1232
1827
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1233
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1234
1828
|
change: (value: TaoRadioValue) => void;
|
|
1235
|
-
|
|
1829
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1830
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
|
|
1236
1831
|
modelValue?: TaoRadioValue;
|
|
1237
1832
|
name?: string;
|
|
1238
1833
|
legend?: string;
|
|
@@ -1249,15 +1844,15 @@ disabled: boolean;
|
|
|
1249
1844
|
error: boolean;
|
|
1250
1845
|
block: boolean;
|
|
1251
1846
|
}>>> & Readonly<{
|
|
1252
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1253
1847
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1848
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1254
1849
|
}>, {
|
|
1255
|
-
error: boolean;
|
|
1256
1850
|
disabled: boolean;
|
|
1851
|
+
error: boolean;
|
|
1257
1852
|
block: boolean;
|
|
1258
1853
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1259
1854
|
|
|
1260
|
-
declare const
|
|
1855
|
+
declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
|
|
1261
1856
|
value: TaoRadioValue;
|
|
1262
1857
|
modelValue?: TaoRadioValue;
|
|
1263
1858
|
name?: string;
|
|
@@ -1271,9 +1866,9 @@ label: string;
|
|
|
1271
1866
|
icon: string;
|
|
1272
1867
|
disabled: boolean;
|
|
1273
1868
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1274
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1275
1869
|
change: (value: TaoRadioValue) => void;
|
|
1276
|
-
|
|
1870
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1871
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
|
|
1277
1872
|
value: TaoRadioValue;
|
|
1278
1873
|
modelValue?: TaoRadioValue;
|
|
1279
1874
|
name?: string;
|
|
@@ -1287,52 +1882,74 @@ label: string;
|
|
|
1287
1882
|
icon: string;
|
|
1288
1883
|
disabled: boolean;
|
|
1289
1884
|
}>>> & Readonly<{
|
|
1290
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1291
1885
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1886
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1292
1887
|
}>, {
|
|
1293
1888
|
label: string;
|
|
1294
1889
|
icon: string;
|
|
1295
1890
|
disabled: boolean;
|
|
1296
1891
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1297
1892
|
|
|
1298
|
-
declare const
|
|
1299
|
-
/** Status color
|
|
1300
|
-
tone?: TaoTone
|
|
1301
|
-
/** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
|
|
1302
|
-
type?: TaoTone | "error";
|
|
1893
|
+
declare const __VLS_component_55: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
|
|
1894
|
+
/** Status color. / Цвет статуса. */
|
|
1895
|
+
tone?: TaoTone;
|
|
1303
1896
|
title?: string;
|
|
1304
1897
|
closable?: boolean;
|
|
1305
1898
|
closeLabel?: string;
|
|
1899
|
+
/**
|
|
1900
|
+
* The body folds under the title; the title and the tone stay. Start folded with `v-model:collapsed="true"`.
|
|
1901
|
+
* Тело сворачивается под заголовок; заголовок и тон остаются. Свёрнутым с начала — `v-model:collapsed="true"`.
|
|
1902
|
+
*/
|
|
1903
|
+
collapsible?: boolean;
|
|
1904
|
+
/** `v-model:collapsed`; without it the alert keeps the state itself. / Без него алерт хранит состояние сам. */
|
|
1905
|
+
collapsed?: boolean;
|
|
1906
|
+
/** The toggle text when there is no title. / Текст переключателя, когда нет заголовка. */
|
|
1907
|
+
detailsLabel?: string;
|
|
1306
1908
|
}>, {
|
|
1307
|
-
tone:
|
|
1308
|
-
type: undefined;
|
|
1909
|
+
tone: string;
|
|
1309
1910
|
title: string;
|
|
1310
1911
|
closable: boolean;
|
|
1912
|
+
collapsible: boolean;
|
|
1913
|
+
collapsed: undefined;
|
|
1914
|
+
detailsLabel: undefined;
|
|
1311
1915
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1312
1916
|
close: () => void;
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
type?: TaoTone | "error";
|
|
1917
|
+
"update:collapsed": (value: boolean) => void;
|
|
1918
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
|
|
1919
|
+
/** Status color. / Цвет статуса. */
|
|
1920
|
+
tone?: TaoTone;
|
|
1318
1921
|
title?: string;
|
|
1319
1922
|
closable?: boolean;
|
|
1320
1923
|
closeLabel?: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* The body folds under the title; the title and the tone stay. Start folded with `v-model:collapsed="true"`.
|
|
1926
|
+
* Тело сворачивается под заголовок; заголовок и тон остаются. Свёрнутым с начала — `v-model:collapsed="true"`.
|
|
1927
|
+
*/
|
|
1928
|
+
collapsible?: boolean;
|
|
1929
|
+
/** `v-model:collapsed`; without it the alert keeps the state itself. / Без него алерт хранит состояние сам. */
|
|
1930
|
+
collapsed?: boolean;
|
|
1931
|
+
/** The toggle text when there is no title. / Текст переключателя, когда нет заголовка. */
|
|
1932
|
+
detailsLabel?: string;
|
|
1321
1933
|
}>, {
|
|
1322
|
-
tone:
|
|
1323
|
-
type: undefined;
|
|
1934
|
+
tone: string;
|
|
1324
1935
|
title: string;
|
|
1325
1936
|
closable: boolean;
|
|
1937
|
+
collapsible: boolean;
|
|
1938
|
+
collapsed: undefined;
|
|
1939
|
+
detailsLabel: undefined;
|
|
1326
1940
|
}>>> & Readonly<{
|
|
1327
1941
|
onClose?: (() => any) | undefined;
|
|
1942
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
1328
1943
|
}>, {
|
|
1329
1944
|
title: string;
|
|
1330
|
-
type: TaoTone | "error";
|
|
1331
1945
|
closable: boolean;
|
|
1332
|
-
|
|
1946
|
+
detailsLabel: string;
|
|
1947
|
+
tone: TaoTone;
|
|
1948
|
+
collapsible: boolean;
|
|
1949
|
+
collapsed: boolean;
|
|
1333
1950
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1334
1951
|
|
|
1335
|
-
declare const
|
|
1952
|
+
declare const __VLS_component_56: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
|
|
1336
1953
|
columns: TaoTableColumn[];
|
|
1337
1954
|
rows?: Record<string, unknown>[];
|
|
1338
1955
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -1342,8 +1959,6 @@ emptyText?: string;
|
|
|
1342
1959
|
striped?: boolean | "odd" | "even";
|
|
1343
1960
|
/** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
|
|
1344
1961
|
size?: TaoSize;
|
|
1345
|
-
/** @deprecated Use size="small". / Используйте size="small". */
|
|
1346
|
-
compact?: boolean;
|
|
1347
1962
|
hover?: boolean;
|
|
1348
1963
|
/** Подсветка шапки. */
|
|
1349
1964
|
head?: boolean;
|
|
@@ -1360,7 +1975,6 @@ rows: () => never[];
|
|
|
1360
1975
|
rowKey: string;
|
|
1361
1976
|
loading: boolean;
|
|
1362
1977
|
striped: boolean;
|
|
1363
|
-
compact: boolean;
|
|
1364
1978
|
hover: boolean;
|
|
1365
1979
|
head: boolean;
|
|
1366
1980
|
lines: boolean;
|
|
@@ -1370,11 +1984,10 @@ clickable: boolean;
|
|
|
1370
1984
|
sort: null;
|
|
1371
1985
|
caption: string;
|
|
1372
1986
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1373
|
-
sort: (value: TaoTableSort | null) => void;
|
|
1374
1987
|
change: (value: TaoTableSort | null) => void;
|
|
1375
1988
|
"update:sort": (value: TaoTableSort | null) => void;
|
|
1376
1989
|
"row-click": (row: Record<string, unknown>, index: number) => void;
|
|
1377
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1990
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
|
|
1378
1991
|
columns: TaoTableColumn[];
|
|
1379
1992
|
rows?: Record<string, unknown>[];
|
|
1380
1993
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -1384,8 +1997,6 @@ emptyText?: string;
|
|
|
1384
1997
|
striped?: boolean | "odd" | "even";
|
|
1385
1998
|
/** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
|
|
1386
1999
|
size?: TaoSize;
|
|
1387
|
-
/** @deprecated Use size="small". / Используйте size="small". */
|
|
1388
|
-
compact?: boolean;
|
|
1389
2000
|
hover?: boolean;
|
|
1390
2001
|
/** Подсветка шапки. */
|
|
1391
2002
|
head?: boolean;
|
|
@@ -1402,7 +2013,6 @@ rows: () => never[];
|
|
|
1402
2013
|
rowKey: string;
|
|
1403
2014
|
loading: boolean;
|
|
1404
2015
|
striped: boolean;
|
|
1405
|
-
compact: boolean;
|
|
1406
2016
|
hover: boolean;
|
|
1407
2017
|
head: boolean;
|
|
1408
2018
|
lines: boolean;
|
|
@@ -1412,27 +2022,25 @@ clickable: boolean;
|
|
|
1412
2022
|
sort: null;
|
|
1413
2023
|
caption: string;
|
|
1414
2024
|
}>>> & Readonly<{
|
|
1415
|
-
onSort?: ((value: TaoTableSort | null) => any) | undefined;
|
|
1416
2025
|
onChange?: ((value: TaoTableSort | null) => any) | undefined;
|
|
1417
2026
|
"onUpdate:sort"?: ((value: TaoTableSort | null) => any) | undefined;
|
|
1418
2027
|
"onRow-click"?: ((row: Record<string, unknown>, index: number) => any) | undefined;
|
|
1419
2028
|
}>, {
|
|
2029
|
+
sort: TaoTableSort | null;
|
|
1420
2030
|
caption: string;
|
|
1421
2031
|
head: boolean;
|
|
1422
|
-
sort: TaoTableSort | null;
|
|
1423
2032
|
hover: boolean;
|
|
1424
2033
|
loading: boolean;
|
|
2034
|
+
sticky: boolean;
|
|
1425
2035
|
rows: Record<string, unknown>[];
|
|
1426
2036
|
maxHeight: TaoLength;
|
|
1427
2037
|
clickable: boolean;
|
|
1428
2038
|
lines: boolean;
|
|
1429
2039
|
rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
1430
2040
|
striped: boolean | "odd" | "even";
|
|
1431
|
-
compact: boolean;
|
|
1432
|
-
sticky: boolean;
|
|
1433
2041
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1434
2042
|
|
|
1435
|
-
declare const
|
|
2043
|
+
declare const __VLS_component_57: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
|
|
1436
2044
|
page?: number;
|
|
1437
2045
|
total?: number;
|
|
1438
2046
|
pageSize?: number;
|
|
@@ -1443,6 +2051,13 @@ showTotal?: boolean;
|
|
|
1443
2051
|
size?: TaoSize;
|
|
1444
2052
|
/** Click ellipsis to skip this many pages. 0 keeps … decorative. */
|
|
1445
2053
|
jump?: number;
|
|
2054
|
+
/**
|
|
2055
|
+
* A field to type a page in: `true` always, a number — from this many pages on (hundreds of pages are not
|
|
2056
|
+
* walked by clicks), `false` never.
|
|
2057
|
+
* Поле для ввода страницы: `true` всегда, число — начиная с такого числа страниц (сотни страниц кликами
|
|
2058
|
+
* не пролистать), `false` никогда.
|
|
2059
|
+
*/
|
|
2060
|
+
pageInput?: boolean | number;
|
|
1446
2061
|
ariaLabel?: string;
|
|
1447
2062
|
prevLabel?: string;
|
|
1448
2063
|
nextLabel?: string;
|
|
@@ -1451,6 +2066,8 @@ pageLabel?: string;
|
|
|
1451
2066
|
/** `{n}` — сколько страниц перескакивает «…». */
|
|
1452
2067
|
jumpPrevLabel?: string;
|
|
1453
2068
|
jumpNextLabel?: string;
|
|
2069
|
+
goToText?: string;
|
|
2070
|
+
goToLabel?: string;
|
|
1454
2071
|
}>, {
|
|
1455
2072
|
page: number;
|
|
1456
2073
|
total: number;
|
|
@@ -1459,10 +2076,11 @@ siblingCount: number;
|
|
|
1459
2076
|
disabled: boolean;
|
|
1460
2077
|
showTotal: boolean;
|
|
1461
2078
|
jump: number;
|
|
2079
|
+
pageInput: boolean;
|
|
1462
2080
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1463
2081
|
change: (value: number) => void;
|
|
1464
2082
|
"update:page": (value: number) => void;
|
|
1465
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2083
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
|
|
1466
2084
|
page?: number;
|
|
1467
2085
|
total?: number;
|
|
1468
2086
|
pageSize?: number;
|
|
@@ -1473,6 +2091,13 @@ showTotal?: boolean;
|
|
|
1473
2091
|
size?: TaoSize;
|
|
1474
2092
|
/** Click ellipsis to skip this many pages. 0 keeps … decorative. */
|
|
1475
2093
|
jump?: number;
|
|
2094
|
+
/**
|
|
2095
|
+
* A field to type a page in: `true` always, a number — from this many pages on (hundreds of pages are not
|
|
2096
|
+
* walked by clicks), `false` never.
|
|
2097
|
+
* Поле для ввода страницы: `true` всегда, число — начиная с такого числа страниц (сотни страниц кликами
|
|
2098
|
+
* не пролистать), `false` никогда.
|
|
2099
|
+
*/
|
|
2100
|
+
pageInput?: boolean | number;
|
|
1476
2101
|
ariaLabel?: string;
|
|
1477
2102
|
prevLabel?: string;
|
|
1478
2103
|
nextLabel?: string;
|
|
@@ -1481,6 +2106,8 @@ pageLabel?: string;
|
|
|
1481
2106
|
/** `{n}` — сколько страниц перескакивает «…». */
|
|
1482
2107
|
jumpPrevLabel?: string;
|
|
1483
2108
|
jumpNextLabel?: string;
|
|
2109
|
+
goToText?: string;
|
|
2110
|
+
goToLabel?: string;
|
|
1484
2111
|
}>, {
|
|
1485
2112
|
page: number;
|
|
1486
2113
|
total: number;
|
|
@@ -1489,6 +2116,7 @@ siblingCount: number;
|
|
|
1489
2116
|
disabled: boolean;
|
|
1490
2117
|
showTotal: boolean;
|
|
1491
2118
|
jump: number;
|
|
2119
|
+
pageInput: boolean;
|
|
1492
2120
|
}>>> & Readonly<{
|
|
1493
2121
|
onChange?: ((value: number) => any) | undefined;
|
|
1494
2122
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
@@ -1500,119 +2128,126 @@ pageSize: number;
|
|
|
1500
2128
|
siblingCount: number;
|
|
1501
2129
|
showTotal: boolean;
|
|
1502
2130
|
jump: number;
|
|
2131
|
+
pageInput: boolean | number;
|
|
1503
2132
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1504
2133
|
|
|
1505
|
-
declare const
|
|
2134
|
+
declare const __VLS_component_58: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
|
|
1506
2135
|
title?: string;
|
|
1507
|
-
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2136
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
|
|
1508
2137
|
title?: string;
|
|
1509
2138
|
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1510
2139
|
|
|
1511
|
-
declare const
|
|
1512
|
-
|
|
2140
|
+
declare const __VLS_component_59: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
|
|
2141
|
+
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
2142
|
+
size?: TaoSize;
|
|
2143
|
+
/** Рамка, как у списка файлов. */
|
|
2144
|
+
bordered?: boolean;
|
|
2145
|
+
/** Линии между строками. */
|
|
2146
|
+
divided?: boolean;
|
|
2147
|
+
/** Скролл, если строки не влезают. Число — пиксели. */
|
|
2148
|
+
maxHeight?: TaoLength;
|
|
2149
|
+
/** Показать `#empty` вместо строк. */
|
|
2150
|
+
empty?: boolean;
|
|
2151
|
+
ariaLabel?: string;
|
|
2152
|
+
}>, {
|
|
2153
|
+
bordered: boolean;
|
|
2154
|
+
divided: boolean;
|
|
2155
|
+
empty: boolean;
|
|
2156
|
+
ariaLabel: string;
|
|
2157
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
|
|
2158
|
+
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
2159
|
+
size?: TaoSize;
|
|
2160
|
+
/** Рамка, как у списка файлов. */
|
|
2161
|
+
bordered?: boolean;
|
|
2162
|
+
/** Линии между строками. */
|
|
2163
|
+
divided?: boolean;
|
|
2164
|
+
/** Скролл, если строки не влезают. Число — пиксели. */
|
|
2165
|
+
maxHeight?: TaoLength;
|
|
2166
|
+
/** Показать `#empty` вместо строк. */
|
|
2167
|
+
empty?: boolean;
|
|
2168
|
+
ariaLabel?: string;
|
|
2169
|
+
}>, {
|
|
2170
|
+
bordered: boolean;
|
|
2171
|
+
divided: boolean;
|
|
2172
|
+
empty: boolean;
|
|
2173
|
+
ariaLabel: string;
|
|
2174
|
+
}>>> & Readonly<{}>, {
|
|
2175
|
+
empty: boolean;
|
|
2176
|
+
ariaLabel: string;
|
|
2177
|
+
bordered: boolean;
|
|
2178
|
+
divided: boolean;
|
|
2179
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2180
|
+
|
|
2181
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
|
|
2182
|
+
modelValue?: number;
|
|
1513
2183
|
min?: number;
|
|
1514
2184
|
max?: number;
|
|
1515
|
-
step?: number;
|
|
1516
|
-
precision?: number;
|
|
1517
2185
|
disabled?: boolean;
|
|
1518
2186
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1519
2187
|
error?: boolean;
|
|
1520
2188
|
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1521
2189
|
size?: TaoSize;
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
2190
|
+
/** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
|
|
2191
|
+
allowRemove?: boolean;
|
|
2192
|
+
/** Clamp to max on blur and when the incoming value is above stock. */
|
|
2193
|
+
forceMaxLimit?: boolean;
|
|
1525
2194
|
decrementLabel?: string;
|
|
2195
|
+
removeLabel?: string;
|
|
2196
|
+
incrementLabel?: string;
|
|
1526
2197
|
}>, {
|
|
1527
|
-
modelValue:
|
|
1528
|
-
|
|
2198
|
+
modelValue: number;
|
|
2199
|
+
min: number;
|
|
1529
2200
|
disabled: boolean;
|
|
1530
2201
|
error: boolean;
|
|
1531
|
-
|
|
1532
|
-
|
|
2202
|
+
allowRemove: boolean;
|
|
2203
|
+
forceMaxLimit: boolean;
|
|
1533
2204
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1534
|
-
|
|
1535
|
-
|
|
2205
|
+
blur: (value: number) => void;
|
|
2206
|
+
change: (value: number, source: TaoQuantityChangeSource) => void;
|
|
1536
2207
|
focus: (event: FocusEvent) => void;
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
2208
|
+
"update:modelValue": (value: number) => void;
|
|
2209
|
+
dec: (value: number) => void;
|
|
2210
|
+
inc: (value: number) => void;
|
|
2211
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
|
|
2212
|
+
modelValue?: number;
|
|
1540
2213
|
min?: number;
|
|
1541
2214
|
max?: number;
|
|
1542
|
-
step?: number;
|
|
1543
|
-
precision?: number;
|
|
1544
2215
|
disabled?: boolean;
|
|
1545
2216
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1546
2217
|
error?: boolean;
|
|
1547
2218
|
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1548
2219
|
size?: TaoSize;
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
2220
|
+
/** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
|
|
2221
|
+
allowRemove?: boolean;
|
|
2222
|
+
/** Clamp to max on blur and when the incoming value is above stock. */
|
|
2223
|
+
forceMaxLimit?: boolean;
|
|
1552
2224
|
decrementLabel?: string;
|
|
2225
|
+
removeLabel?: string;
|
|
2226
|
+
incrementLabel?: string;
|
|
1553
2227
|
}>, {
|
|
1554
|
-
modelValue:
|
|
1555
|
-
|
|
2228
|
+
modelValue: number;
|
|
2229
|
+
min: number;
|
|
1556
2230
|
disabled: boolean;
|
|
1557
2231
|
error: boolean;
|
|
1558
|
-
|
|
1559
|
-
|
|
2232
|
+
allowRemove: boolean;
|
|
2233
|
+
forceMaxLimit: boolean;
|
|
1560
2234
|
}>>> & Readonly<{
|
|
1561
|
-
|
|
1562
|
-
|
|
2235
|
+
onBlur?: ((value: number) => any) | undefined;
|
|
2236
|
+
onChange?: ((value: number, source: TaoQuantityChangeSource) => any) | undefined;
|
|
1563
2237
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1564
|
-
|
|
2238
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2239
|
+
onDec?: ((value: number) => any) | undefined;
|
|
2240
|
+
onInc?: ((value: number) => any) | undefined;
|
|
1565
2241
|
}>, {
|
|
1566
|
-
error: boolean;
|
|
1567
2242
|
disabled: boolean;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
|
|
1575
|
-
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
1576
|
-
size?: TaoSize;
|
|
1577
|
-
/** Рамка, как у списка файлов. */
|
|
1578
|
-
bordered?: boolean;
|
|
1579
|
-
/** Линии между строками. */
|
|
1580
|
-
divided?: boolean;
|
|
1581
|
-
/** Скролл, если строки не влезают. Число — пиксели. */
|
|
1582
|
-
maxHeight?: TaoLength;
|
|
1583
|
-
/** Показать `#empty` вместо строк. */
|
|
1584
|
-
empty?: boolean;
|
|
1585
|
-
ariaLabel?: string;
|
|
1586
|
-
}>, {
|
|
1587
|
-
bordered: boolean;
|
|
1588
|
-
divided: boolean;
|
|
1589
|
-
empty: boolean;
|
|
1590
|
-
ariaLabel: string;
|
|
1591
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
|
|
1592
|
-
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
1593
|
-
size?: TaoSize;
|
|
1594
|
-
/** Рамка, как у списка файлов. */
|
|
1595
|
-
bordered?: boolean;
|
|
1596
|
-
/** Линии между строками. */
|
|
1597
|
-
divided?: boolean;
|
|
1598
|
-
/** Скролл, если строки не влезают. Число — пиксели. */
|
|
1599
|
-
maxHeight?: TaoLength;
|
|
1600
|
-
/** Показать `#empty` вместо строк. */
|
|
1601
|
-
empty?: boolean;
|
|
1602
|
-
ariaLabel?: string;
|
|
1603
|
-
}>, {
|
|
1604
|
-
bordered: boolean;
|
|
1605
|
-
divided: boolean;
|
|
1606
|
-
empty: boolean;
|
|
1607
|
-
ariaLabel: string;
|
|
1608
|
-
}>>> & Readonly<{}>, {
|
|
1609
|
-
empty: boolean;
|
|
1610
|
-
ariaLabel: string;
|
|
1611
|
-
bordered: boolean;
|
|
1612
|
-
divided: boolean;
|
|
2243
|
+
error: boolean;
|
|
2244
|
+
modelValue: number;
|
|
2245
|
+
min: number;
|
|
2246
|
+
allowRemove: boolean;
|
|
2247
|
+
forceMaxLimit: boolean;
|
|
1613
2248
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1614
2249
|
|
|
1615
|
-
declare const
|
|
2250
|
+
declare const __VLS_component_60: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
|
|
1616
2251
|
title?: string;
|
|
1617
2252
|
description?: string;
|
|
1618
2253
|
selected?: boolean;
|
|
@@ -1635,7 +2270,7 @@ clickable: boolean;
|
|
|
1635
2270
|
actionAlways: boolean;
|
|
1636
2271
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1637
2272
|
click: (event: MouseEvent) => void;
|
|
1638
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2273
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
|
|
1639
2274
|
title?: string;
|
|
1640
2275
|
description?: string;
|
|
1641
2276
|
selected?: boolean;
|
|
@@ -1668,7 +2303,7 @@ clickable: boolean;
|
|
|
1668
2303
|
actionAlways: boolean;
|
|
1669
2304
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1670
2305
|
|
|
1671
|
-
declare const
|
|
2306
|
+
declare const __VLS_component_61: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
|
|
1672
2307
|
modelValue: boolean;
|
|
1673
2308
|
title?: string;
|
|
1674
2309
|
side?: "left" | "right";
|
|
@@ -1681,7 +2316,7 @@ closable: boolean;
|
|
|
1681
2316
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1682
2317
|
close: (...args: any[]) => void;
|
|
1683
2318
|
"update:modelValue": (...args: any[]) => void;
|
|
1684
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2319
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
|
|
1685
2320
|
modelValue: boolean;
|
|
1686
2321
|
title?: string;
|
|
1687
2322
|
side?: "left" | "right";
|
|
@@ -1700,17 +2335,29 @@ closable: boolean;
|
|
|
1700
2335
|
side: "left" | "right";
|
|
1701
2336
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1702
2337
|
|
|
1703
|
-
declare const
|
|
2338
|
+
declare const __VLS_component_62: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
|
|
1704
2339
|
modelValue?: number;
|
|
1705
2340
|
peek?: number;
|
|
1706
2341
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
1707
2342
|
perView?: number;
|
|
1708
2343
|
controls?: boolean;
|
|
1709
|
-
/**
|
|
2344
|
+
/**
|
|
2345
|
+
* Time per slide in ms. 0 — off. The current indicator fills over this time and the slide changes when it is full.
|
|
2346
|
+
* Pauses on hover, keyboard focus, touch / drag and a hidden tab; off with reduced motion.
|
|
2347
|
+
* Время на слайд в мс. 0 — выключено. Текущий индикатор заливается за это время, по заполнении слайд меняется.
|
|
2348
|
+
*/
|
|
1710
2349
|
autoplay?: number;
|
|
1711
2350
|
loop?: boolean;
|
|
1712
|
-
/**
|
|
1713
|
-
dots
|
|
2351
|
+
/**
|
|
2352
|
+
* Under the track, one mark per snap: `dots` (the current one stretches into a pill), `bars` (equal bars),
|
|
2353
|
+
* `progress` (one bar: the fill of the current slide, or the position when there is no autoplay).
|
|
2354
|
+
* Под лентой, по метке на каждую позицию: `dots`, `bars` (полоски), `progress` (одна полоска).
|
|
2355
|
+
*/
|
|
2356
|
+
indicator?: "dots" | "bars" | "progress";
|
|
2357
|
+
/** With autoplay: a button that stops and resumes it (autoplay that moves for more than 5 s must be stoppable). / С autoplay: кнопка остановки и запуска. */
|
|
2358
|
+
pausable?: boolean;
|
|
2359
|
+
pauseLabel?: string;
|
|
2360
|
+
playLabel?: string;
|
|
1714
2361
|
ariaLabel?: string;
|
|
1715
2362
|
prevLabel?: string;
|
|
1716
2363
|
nextLabel?: string;
|
|
@@ -1724,21 +2371,34 @@ perView: number;
|
|
|
1724
2371
|
controls: boolean;
|
|
1725
2372
|
autoplay: number;
|
|
1726
2373
|
loop: boolean;
|
|
1727
|
-
|
|
2374
|
+
indicator: undefined;
|
|
2375
|
+
pausable: boolean;
|
|
1728
2376
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1729
|
-
"update:modelValue": (value: number) => void;
|
|
1730
2377
|
change: (value: number) => void;
|
|
1731
|
-
|
|
2378
|
+
"update:modelValue": (value: number) => void;
|
|
2379
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
|
|
1732
2380
|
modelValue?: number;
|
|
1733
2381
|
peek?: number;
|
|
1734
2382
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
1735
2383
|
perView?: number;
|
|
1736
2384
|
controls?: boolean;
|
|
1737
|
-
/**
|
|
2385
|
+
/**
|
|
2386
|
+
* Time per slide in ms. 0 — off. The current indicator fills over this time and the slide changes when it is full.
|
|
2387
|
+
* Pauses on hover, keyboard focus, touch / drag and a hidden tab; off with reduced motion.
|
|
2388
|
+
* Время на слайд в мс. 0 — выключено. Текущий индикатор заливается за это время, по заполнении слайд меняется.
|
|
2389
|
+
*/
|
|
1738
2390
|
autoplay?: number;
|
|
1739
2391
|
loop?: boolean;
|
|
1740
|
-
/**
|
|
1741
|
-
dots
|
|
2392
|
+
/**
|
|
2393
|
+
* Under the track, one mark per snap: `dots` (the current one stretches into a pill), `bars` (equal bars),
|
|
2394
|
+
* `progress` (one bar: the fill of the current slide, or the position when there is no autoplay).
|
|
2395
|
+
* Под лентой, по метке на каждую позицию: `dots`, `bars` (полоски), `progress` (одна полоска).
|
|
2396
|
+
*/
|
|
2397
|
+
indicator?: "dots" | "bars" | "progress";
|
|
2398
|
+
/** With autoplay: a button that stops and resumes it (autoplay that moves for more than 5 s must be stoppable). / С autoplay: кнопка остановки и запуска. */
|
|
2399
|
+
pausable?: boolean;
|
|
2400
|
+
pauseLabel?: string;
|
|
2401
|
+
playLabel?: string;
|
|
1742
2402
|
ariaLabel?: string;
|
|
1743
2403
|
prevLabel?: string;
|
|
1744
2404
|
nextLabel?: string;
|
|
@@ -1752,10 +2412,11 @@ perView: number;
|
|
|
1752
2412
|
controls: boolean;
|
|
1753
2413
|
autoplay: number;
|
|
1754
2414
|
loop: boolean;
|
|
1755
|
-
|
|
2415
|
+
indicator: undefined;
|
|
2416
|
+
pausable: boolean;
|
|
1756
2417
|
}>>> & Readonly<{
|
|
1757
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1758
2418
|
onChange?: ((value: number) => any) | undefined;
|
|
2419
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1759
2420
|
}>, {
|
|
1760
2421
|
modelValue: number;
|
|
1761
2422
|
peek: number;
|
|
@@ -1763,114 +2424,39 @@ perView: number;
|
|
|
1763
2424
|
controls: boolean;
|
|
1764
2425
|
autoplay: number;
|
|
1765
2426
|
loop: boolean;
|
|
1766
|
-
|
|
2427
|
+
indicator: "dots" | "bars" | "progress";
|
|
2428
|
+
pausable: boolean;
|
|
1767
2429
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1768
2430
|
|
|
1769
|
-
declare const
|
|
2431
|
+
declare const __VLS_component_63: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
|
|
1770
2432
|
items?: TaoStageItem[];
|
|
1771
2433
|
/** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
|
|
1772
2434
|
direction?: "row" | "column";
|
|
1773
|
-
/** @deprecated Use `direction`. / Используйте `direction`. */
|
|
1774
|
-
vertical?: boolean;
|
|
1775
2435
|
ariaLabel?: string;
|
|
1776
2436
|
statusLabels?: Partial<Record<TaoStageStatus, string>>;
|
|
1777
2437
|
}>, {
|
|
1778
2438
|
items: () => never[];
|
|
1779
|
-
direction:
|
|
1780
|
-
vertical: undefined;
|
|
2439
|
+
direction: string;
|
|
1781
2440
|
statusLabels: () => {};
|
|
1782
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2441
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
|
|
1783
2442
|
items?: TaoStageItem[];
|
|
1784
2443
|
/** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
|
|
1785
2444
|
direction?: "row" | "column";
|
|
1786
|
-
/** @deprecated Use `direction`. / Используйте `direction`. */
|
|
1787
|
-
vertical?: boolean;
|
|
1788
2445
|
ariaLabel?: string;
|
|
1789
2446
|
statusLabels?: Partial<Record<TaoStageStatus, string>>;
|
|
1790
2447
|
}>, {
|
|
1791
2448
|
items: () => never[];
|
|
1792
|
-
direction:
|
|
1793
|
-
vertical: undefined;
|
|
2449
|
+
direction: string;
|
|
1794
2450
|
statusLabels: () => {};
|
|
1795
2451
|
}>>> & Readonly<{}>, {
|
|
1796
2452
|
items: TaoStageItem[];
|
|
1797
|
-
vertical: boolean;
|
|
1798
2453
|
direction: "row" | "column";
|
|
1799
2454
|
statusLabels: Partial<Record<TaoStageStatus, string>>;
|
|
1800
2455
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1801
2456
|
|
|
1802
|
-
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
|
|
1803
|
-
modelValue?: number;
|
|
1804
|
-
min?: number;
|
|
1805
|
-
max?: number;
|
|
1806
|
-
disabled?: boolean;
|
|
1807
|
-
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1808
|
-
error?: boolean;
|
|
1809
|
-
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1810
|
-
size?: TaoSize;
|
|
1811
|
-
/** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
|
|
1812
|
-
allowRemove?: boolean;
|
|
1813
|
-
/** Clamp to max on blur and when the incoming value is above stock. */
|
|
1814
|
-
forceMaxLimit?: boolean;
|
|
1815
|
-
decrementLabel?: string;
|
|
1816
|
-
removeLabel?: string;
|
|
1817
|
-
incrementLabel?: string;
|
|
1818
|
-
}>, {
|
|
1819
|
-
modelValue: number;
|
|
1820
|
-
min: number;
|
|
1821
|
-
disabled: boolean;
|
|
1822
|
-
error: boolean;
|
|
1823
|
-
allowRemove: boolean;
|
|
1824
|
-
forceMaxLimit: boolean;
|
|
1825
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1826
|
-
"update:modelValue": (value: number) => void;
|
|
1827
|
-
change: (value: number, source: TaoQuantityChangeSource) => void;
|
|
1828
|
-
blur: (value: number) => void;
|
|
1829
|
-
focus: (event: FocusEvent) => void;
|
|
1830
|
-
dec: (value: number) => void;
|
|
1831
|
-
inc: (value: number) => void;
|
|
1832
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
|
|
1833
|
-
modelValue?: number;
|
|
1834
|
-
min?: number;
|
|
1835
|
-
max?: number;
|
|
1836
|
-
disabled?: boolean;
|
|
1837
|
-
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1838
|
-
error?: boolean;
|
|
1839
|
-
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1840
|
-
size?: TaoSize;
|
|
1841
|
-
/** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
|
|
1842
|
-
allowRemove?: boolean;
|
|
1843
|
-
/** Clamp to max on blur and when the incoming value is above stock. */
|
|
1844
|
-
forceMaxLimit?: boolean;
|
|
1845
|
-
decrementLabel?: string;
|
|
1846
|
-
removeLabel?: string;
|
|
1847
|
-
incrementLabel?: string;
|
|
1848
|
-
}>, {
|
|
1849
|
-
modelValue: number;
|
|
1850
|
-
min: number;
|
|
1851
|
-
disabled: boolean;
|
|
1852
|
-
error: boolean;
|
|
1853
|
-
allowRemove: boolean;
|
|
1854
|
-
forceMaxLimit: boolean;
|
|
1855
|
-
}>>> & Readonly<{
|
|
1856
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1857
|
-
onChange?: ((value: number, source: TaoQuantityChangeSource) => any) | undefined;
|
|
1858
|
-
onBlur?: ((value: number) => any) | undefined;
|
|
1859
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1860
|
-
onDec?: ((value: number) => any) | undefined;
|
|
1861
|
-
onInc?: ((value: number) => any) | undefined;
|
|
1862
|
-
}>, {
|
|
1863
|
-
error: boolean;
|
|
1864
|
-
disabled: boolean;
|
|
1865
|
-
modelValue: number;
|
|
1866
|
-
min: number;
|
|
1867
|
-
allowRemove: boolean;
|
|
1868
|
-
forceMaxLimit: boolean;
|
|
1869
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1870
|
-
|
|
1871
2457
|
declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
1872
|
-
padding:
|
|
1873
|
-
radius:
|
|
2458
|
+
padding: undefined;
|
|
2459
|
+
radius: undefined;
|
|
1874
2460
|
shadow: boolean;
|
|
1875
2461
|
shadowBottomOnly: boolean;
|
|
1876
2462
|
hover: boolean;
|
|
@@ -1878,9 +2464,14 @@ active: boolean;
|
|
|
1878
2464
|
overflow: boolean;
|
|
1879
2465
|
flush: boolean;
|
|
1880
2466
|
surface: string;
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
2467
|
+
closable: boolean;
|
|
2468
|
+
stripe: undefined;
|
|
2469
|
+
stripeTone: string;
|
|
2470
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2471
|
+
close: () => void;
|
|
2472
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
2473
|
+
padding: undefined;
|
|
2474
|
+
radius: undefined;
|
|
1884
2475
|
shadow: boolean;
|
|
1885
2476
|
shadowBottomOnly: boolean;
|
|
1886
2477
|
hover: boolean;
|
|
@@ -1888,12 +2479,20 @@ active: boolean;
|
|
|
1888
2479
|
overflow: boolean;
|
|
1889
2480
|
flush: boolean;
|
|
1890
2481
|
surface: string;
|
|
1891
|
-
|
|
2482
|
+
closable: boolean;
|
|
2483
|
+
stripe: undefined;
|
|
2484
|
+
stripeTone: string;
|
|
2485
|
+
}>>> & Readonly<{
|
|
2486
|
+
onClose?: (() => any) | undefined;
|
|
2487
|
+
}>, {
|
|
1892
2488
|
surface: TaoSurface;
|
|
1893
|
-
|
|
2489
|
+
closable: boolean;
|
|
1894
2490
|
radius: TaoLength;
|
|
2491
|
+
padding: TaoLength | TaoLength[];
|
|
1895
2492
|
shadow: boolean;
|
|
1896
2493
|
hover: boolean;
|
|
2494
|
+
stripe: TaoStripe;
|
|
2495
|
+
stripeTone: TaoStripeTone;
|
|
1897
2496
|
shadowBottomOnly: boolean;
|
|
1898
2497
|
active: boolean;
|
|
1899
2498
|
overflow: boolean;
|
|
@@ -1920,41 +2519,34 @@ closable: boolean;
|
|
|
1920
2519
|
declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
|
|
1921
2520
|
/** Tabs: `{ value, label, disabled? }`, same shape as Select options. / Вкладки, как опции Select. */
|
|
1922
2521
|
items?: TaoTabItem[];
|
|
1923
|
-
/** @deprecated Use `items`, same as TaoBreadcrumb / TaoStages. / Используйте `items`. */
|
|
1924
|
-
tabs?: TaoTabItem[];
|
|
1925
2522
|
modelValue: string;
|
|
1926
|
-
/**
|
|
1927
|
-
justify?:
|
|
2523
|
+
/** Where the tabs sit along the row, as in TaoFlex; without it they start at the left. / Где вкладки стоят в ряду, как у TaoFlex; без него — слева. */
|
|
2524
|
+
justify?: TaoJustify;
|
|
1928
2525
|
/** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1929
2526
|
size?: TaoSize;
|
|
1930
2527
|
}>, {
|
|
1931
2528
|
items: undefined;
|
|
1932
|
-
|
|
1933
|
-
justify: string;
|
|
2529
|
+
justify: undefined;
|
|
1934
2530
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1935
|
-
"update:modelValue": (value: string) => void;
|
|
1936
2531
|
change: (value: string) => void;
|
|
2532
|
+
"update:modelValue": (value: string) => void;
|
|
1937
2533
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
|
|
1938
2534
|
/** Tabs: `{ value, label, disabled? }`, same shape as Select options. / Вкладки, как опции Select. */
|
|
1939
2535
|
items?: TaoTabItem[];
|
|
1940
|
-
/** @deprecated Use `items`, same as TaoBreadcrumb / TaoStages. / Используйте `items`. */
|
|
1941
|
-
tabs?: TaoTabItem[];
|
|
1942
2536
|
modelValue: string;
|
|
1943
|
-
/**
|
|
1944
|
-
justify?:
|
|
2537
|
+
/** Where the tabs sit along the row, as in TaoFlex; without it they start at the left. / Где вкладки стоят в ряду, как у TaoFlex; без него — слева. */
|
|
2538
|
+
justify?: TaoJustify;
|
|
1945
2539
|
/** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1946
2540
|
size?: TaoSize;
|
|
1947
2541
|
}>, {
|
|
1948
2542
|
items: undefined;
|
|
1949
|
-
|
|
1950
|
-
justify: string;
|
|
2543
|
+
justify: undefined;
|
|
1951
2544
|
}>>> & Readonly<{
|
|
1952
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1953
2545
|
onChange?: ((value: string) => any) | undefined;
|
|
2546
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1954
2547
|
}>, {
|
|
1955
2548
|
items: TaoTabItem[];
|
|
1956
|
-
justify:
|
|
1957
|
-
tabs: TaoTabItem[];
|
|
2549
|
+
justify: TaoJustify;
|
|
1958
2550
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1959
2551
|
|
|
1960
2552
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -2077,8 +2669,26 @@ declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
|
|
|
2077
2669
|
|
|
2078
2670
|
declare type __VLS_NonUndefinedable_63<T> = T extends undefined ? never : T;
|
|
2079
2671
|
|
|
2672
|
+
declare type __VLS_NonUndefinedable_64<T> = T extends undefined ? never : T;
|
|
2673
|
+
|
|
2674
|
+
declare type __VLS_NonUndefinedable_65<T> = T extends undefined ? never : T;
|
|
2675
|
+
|
|
2676
|
+
declare type __VLS_NonUndefinedable_66<T> = T extends undefined ? never : T;
|
|
2677
|
+
|
|
2678
|
+
declare type __VLS_NonUndefinedable_67<T> = T extends undefined ? never : T;
|
|
2679
|
+
|
|
2680
|
+
declare type __VLS_NonUndefinedable_68<T> = T extends undefined ? never : T;
|
|
2681
|
+
|
|
2682
|
+
declare type __VLS_NonUndefinedable_69<T> = T extends undefined ? never : T;
|
|
2683
|
+
|
|
2080
2684
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
2081
2685
|
|
|
2686
|
+
declare type __VLS_NonUndefinedable_70<T> = T extends undefined ? never : T;
|
|
2687
|
+
|
|
2688
|
+
declare type __VLS_NonUndefinedable_71<T> = T extends undefined ? never : T;
|
|
2689
|
+
|
|
2690
|
+
declare type __VLS_NonUndefinedable_72<T> = T extends undefined ? never : T;
|
|
2691
|
+
|
|
2082
2692
|
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
2083
2693
|
|
|
2084
2694
|
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
|
@@ -2299,10 +2909,46 @@ declare type __VLS_Prettify_58<T> = {
|
|
|
2299
2909
|
[K in keyof T]: T[K];
|
|
2300
2910
|
} & {};
|
|
2301
2911
|
|
|
2912
|
+
declare type __VLS_Prettify_59<T> = {
|
|
2913
|
+
[K in keyof T]: T[K];
|
|
2914
|
+
} & {};
|
|
2915
|
+
|
|
2302
2916
|
declare type __VLS_Prettify_6<T> = {
|
|
2303
2917
|
[K in keyof T]: T[K];
|
|
2304
2918
|
} & {};
|
|
2305
2919
|
|
|
2920
|
+
declare type __VLS_Prettify_60<T> = {
|
|
2921
|
+
[K in keyof T]: T[K];
|
|
2922
|
+
} & {};
|
|
2923
|
+
|
|
2924
|
+
declare type __VLS_Prettify_61<T> = {
|
|
2925
|
+
[K in keyof T]: T[K];
|
|
2926
|
+
} & {};
|
|
2927
|
+
|
|
2928
|
+
declare type __VLS_Prettify_62<T> = {
|
|
2929
|
+
[K in keyof T]: T[K];
|
|
2930
|
+
} & {};
|
|
2931
|
+
|
|
2932
|
+
declare type __VLS_Prettify_63<T> = {
|
|
2933
|
+
[K in keyof T]: T[K];
|
|
2934
|
+
} & {};
|
|
2935
|
+
|
|
2936
|
+
declare type __VLS_Prettify_64<T> = {
|
|
2937
|
+
[K in keyof T]: T[K];
|
|
2938
|
+
} & {};
|
|
2939
|
+
|
|
2940
|
+
declare type __VLS_Prettify_65<T> = {
|
|
2941
|
+
[K in keyof T]: T[K];
|
|
2942
|
+
} & {};
|
|
2943
|
+
|
|
2944
|
+
declare type __VLS_Prettify_66<T> = {
|
|
2945
|
+
[K in keyof T]: T[K];
|
|
2946
|
+
} & {};
|
|
2947
|
+
|
|
2948
|
+
declare type __VLS_Prettify_67<T> = {
|
|
2949
|
+
[K in keyof T]: T[K];
|
|
2950
|
+
} & {};
|
|
2951
|
+
|
|
2306
2952
|
declare type __VLS_Prettify_7<T> = {
|
|
2307
2953
|
[K in keyof T]: T[K];
|
|
2308
2954
|
} & {};
|
|
@@ -2454,72 +3100,222 @@ declare function __VLS_template_30(): {
|
|
|
2454
3100
|
right?(_: {}): any;
|
|
2455
3101
|
};
|
|
2456
3102
|
|
|
2457
|
-
declare function __VLS_template_31(): Readonly<{
|
|
2458
|
-
/** Caption of a mark. / Подпись метки. */
|
|
2459
|
-
mark?(props: {
|
|
2460
|
-
mark: TaoSliderMark;
|
|
2461
|
-
active: boolean;
|
|
3103
|
+
declare function __VLS_template_31(): Readonly<{
|
|
3104
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3105
|
+
mark?(props: {
|
|
3106
|
+
mark: TaoSliderMark;
|
|
3107
|
+
active: boolean;
|
|
3108
|
+
}): unknown;
|
|
3109
|
+
'pre-value'?(): unknown;
|
|
3110
|
+
'post-value'?(): unknown;
|
|
3111
|
+
}> & {
|
|
3112
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3113
|
+
mark?(props: {
|
|
3114
|
+
mark: TaoSliderMark;
|
|
3115
|
+
active: boolean;
|
|
3116
|
+
}): unknown;
|
|
3117
|
+
'pre-value'?(): unknown;
|
|
3118
|
+
'post-value'?(): unknown;
|
|
3119
|
+
};
|
|
3120
|
+
|
|
3121
|
+
declare function __VLS_template_32(): Readonly<{
|
|
3122
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3123
|
+
mark?(props: {
|
|
3124
|
+
mark: TaoSliderMark;
|
|
3125
|
+
active: boolean;
|
|
3126
|
+
}): unknown;
|
|
3127
|
+
'pre-value'?(): unknown;
|
|
3128
|
+
'post-value'?(): unknown;
|
|
3129
|
+
}> & {
|
|
3130
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3131
|
+
mark?(props: {
|
|
3132
|
+
mark: TaoSliderMark;
|
|
3133
|
+
active: boolean;
|
|
3134
|
+
}): unknown;
|
|
3135
|
+
'pre-value'?(): unknown;
|
|
3136
|
+
'post-value'?(): unknown;
|
|
3137
|
+
};
|
|
3138
|
+
|
|
3139
|
+
declare function __VLS_template_33(): {
|
|
3140
|
+
"clear-icon"?(_: {}): any;
|
|
3141
|
+
default?(_: {}): any;
|
|
3142
|
+
"remove-icon"?(_: {}): any;
|
|
3143
|
+
};
|
|
3144
|
+
|
|
3145
|
+
declare function __VLS_template_34(): Readonly<{
|
|
3146
|
+
/** The whole trigger content, replaces the button face. / Всё содержимое кнопки. */
|
|
3147
|
+
button?(): unknown;
|
|
3148
|
+
/** The default button face (three dots). / Вид кнопки по умолчанию. */
|
|
3149
|
+
icon?(): unknown;
|
|
3150
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3151
|
+
item?(props: {
|
|
3152
|
+
item: TaoMenuItem;
|
|
3153
|
+
id: string;
|
|
3154
|
+
label: string;
|
|
3155
|
+
icon?: string;
|
|
3156
|
+
}): unknown;
|
|
3157
|
+
}> & {
|
|
3158
|
+
/** The whole trigger content, replaces the button face. / Всё содержимое кнопки. */
|
|
3159
|
+
button?(): unknown;
|
|
3160
|
+
/** The default button face (three dots). / Вид кнопки по умолчанию. */
|
|
3161
|
+
icon?(): unknown;
|
|
3162
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3163
|
+
item?(props: {
|
|
3164
|
+
item: TaoMenuItem;
|
|
3165
|
+
id: string;
|
|
3166
|
+
label: string;
|
|
3167
|
+
icon?: string;
|
|
3168
|
+
}): unknown;
|
|
3169
|
+
};
|
|
3170
|
+
|
|
3171
|
+
declare function __VLS_template_35(): Readonly<{
|
|
3172
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3173
|
+
item?(props: {
|
|
3174
|
+
item: TaoMenuItem;
|
|
3175
|
+
id: string;
|
|
3176
|
+
label: string;
|
|
3177
|
+
icon?: string;
|
|
3178
|
+
}): unknown;
|
|
3179
|
+
}> & {
|
|
3180
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3181
|
+
item?(props: {
|
|
3182
|
+
item: TaoMenuItem;
|
|
3183
|
+
id: string;
|
|
3184
|
+
label: string;
|
|
3185
|
+
icon?: string;
|
|
3186
|
+
}): unknown;
|
|
3187
|
+
};
|
|
3188
|
+
|
|
3189
|
+
declare function __VLS_template_36(): Readonly<{
|
|
3190
|
+
/** Replaces the text of one item inside the menus. / Заменяет содержимое пункта в меню. */
|
|
3191
|
+
item?(props: {
|
|
3192
|
+
item: TaoMenuItem;
|
|
3193
|
+
id: string;
|
|
3194
|
+
label: string;
|
|
3195
|
+
icon?: string;
|
|
2462
3196
|
}): unknown;
|
|
2463
|
-
'pre-value'?(): unknown;
|
|
2464
|
-
'post-value'?(): unknown;
|
|
2465
3197
|
}> & {
|
|
2466
|
-
/**
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
3198
|
+
/** Replaces the text of one item inside the menus. / Заменяет содержимое пункта в меню. */
|
|
3199
|
+
item?(props: {
|
|
3200
|
+
item: TaoMenuItem;
|
|
3201
|
+
id: string;
|
|
3202
|
+
label: string;
|
|
3203
|
+
icon?: string;
|
|
2470
3204
|
}): unknown;
|
|
2471
|
-
'pre-value'?(): unknown;
|
|
2472
|
-
'post-value'?(): unknown;
|
|
2473
3205
|
};
|
|
2474
3206
|
|
|
2475
|
-
declare function
|
|
2476
|
-
/**
|
|
2477
|
-
|
|
2478
|
-
|
|
3207
|
+
declare function __VLS_template_37(): Readonly<{
|
|
3208
|
+
/** The page: TaoNav lays it out next to the navigation. / Страница: TaoNav раскладывает её рядом с навигацией. */
|
|
3209
|
+
default?(): unknown;
|
|
3210
|
+
/** Replaces the label of one item. / Заменяет подпись пункта. */
|
|
3211
|
+
label?(props: {
|
|
3212
|
+
item: TaoNavItem;
|
|
2479
3213
|
active: boolean;
|
|
2480
3214
|
}): unknown;
|
|
2481
|
-
'pre-value'?(): unknown;
|
|
2482
|
-
'post-value'?(): unknown;
|
|
2483
3215
|
}> & {
|
|
2484
|
-
/**
|
|
2485
|
-
|
|
2486
|
-
|
|
3216
|
+
/** The page: TaoNav lays it out next to the navigation. / Страница: TaoNav раскладывает её рядом с навигацией. */
|
|
3217
|
+
default?(): unknown;
|
|
3218
|
+
/** Replaces the label of one item. / Заменяет подпись пункта. */
|
|
3219
|
+
label?(props: {
|
|
3220
|
+
item: TaoNavItem;
|
|
2487
3221
|
active: boolean;
|
|
2488
3222
|
}): unknown;
|
|
2489
|
-
'pre-value'?(): unknown;
|
|
2490
|
-
'post-value'?(): unknown;
|
|
2491
3223
|
};
|
|
2492
3224
|
|
|
2493
|
-
declare function
|
|
2494
|
-
|
|
3225
|
+
declare function __VLS_template_38(): Readonly<{
|
|
3226
|
+
/** The icon before the label. / Иконка перед подписью. */
|
|
3227
|
+
icon?(props: NodeSlot): unknown;
|
|
3228
|
+
/** The label. / Подпись. */
|
|
3229
|
+
label?(props: NodeSlot): unknown;
|
|
3230
|
+
/** Buttons at the end of the row, shown on hover and focus. / Кнопки в конце строки, видны при наведении и фокусе. */
|
|
3231
|
+
actions?(props: NodeSlot): unknown;
|
|
3232
|
+
}> & {
|
|
3233
|
+
/** The icon before the label. / Иконка перед подписью. */
|
|
3234
|
+
icon?(props: NodeSlot): unknown;
|
|
3235
|
+
/** The label. / Подпись. */
|
|
3236
|
+
label?(props: NodeSlot): unknown;
|
|
3237
|
+
/** Buttons at the end of the row, shown on hover and focus. / Кнопки в конце строки, видны при наведении и фокусе. */
|
|
3238
|
+
actions?(props: NodeSlot): unknown;
|
|
3239
|
+
};
|
|
3240
|
+
|
|
3241
|
+
declare function __VLS_template_39(): Readonly<{
|
|
3242
|
+
/** The text of one item. / Текст пункта. */
|
|
3243
|
+
item?(props: {
|
|
3244
|
+
item: TaoChecklistItem;
|
|
3245
|
+
checked: boolean;
|
|
3246
|
+
}): unknown;
|
|
3247
|
+
}> & {
|
|
3248
|
+
/** The text of one item. / Текст пункта. */
|
|
3249
|
+
item?(props: {
|
|
3250
|
+
item: TaoChecklistItem;
|
|
3251
|
+
checked: boolean;
|
|
3252
|
+
}): unknown;
|
|
3253
|
+
};
|
|
3254
|
+
|
|
3255
|
+
declare function __VLS_template_4(): {
|
|
3256
|
+
before?(_: {}): any;
|
|
2495
3257
|
default?(_: {}): any;
|
|
2496
|
-
|
|
3258
|
+
after?(_: {}): any;
|
|
2497
3259
|
};
|
|
2498
3260
|
|
|
2499
|
-
declare function
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
3261
|
+
declare function __VLS_template_40(): Readonly<{
|
|
3262
|
+
/** The marker on the line. / Маркер на линии. */
|
|
3263
|
+
marker?(props: ItemSlot): unknown;
|
|
3264
|
+
/** The title line. / Строка заголовка. */
|
|
3265
|
+
title?(props: ItemSlot): unknown;
|
|
3266
|
+
/** Anything under the description: links, a card, buttons. / Что угодно под описанием. */
|
|
3267
|
+
content?(props: ItemSlot): unknown;
|
|
3268
|
+
}> & {
|
|
3269
|
+
/** The marker on the line. / Маркер на линии. */
|
|
3270
|
+
marker?(props: ItemSlot): unknown;
|
|
3271
|
+
/** The title line. / Строка заголовка. */
|
|
3272
|
+
title?(props: ItemSlot): unknown;
|
|
3273
|
+
/** Anything under the description: links, a card, buttons. / Что угодно под описанием. */
|
|
3274
|
+
content?(props: ItemSlot): unknown;
|
|
3275
|
+
};
|
|
3276
|
+
|
|
3277
|
+
declare function __VLS_template_41(): Readonly<{
|
|
3278
|
+
/** The content of the line (a link, an icon, words). / Содержимое строки. */
|
|
3279
|
+
default?(): unknown;
|
|
3280
|
+
}> & {
|
|
3281
|
+
/** The content of the line (a link, an icon, words). / Содержимое строки. */
|
|
3282
|
+
default?(): unknown;
|
|
3283
|
+
};
|
|
3284
|
+
|
|
3285
|
+
declare function __VLS_template_42(): Readonly<{
|
|
3286
|
+
default?(): unknown;
|
|
3287
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3288
|
+
item?(props: {
|
|
3289
|
+
item: TaoMenuItem;
|
|
2503
3290
|
id: string;
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
}):
|
|
3291
|
+
label: string;
|
|
3292
|
+
icon?: string;
|
|
3293
|
+
}): unknown;
|
|
3294
|
+
}> & {
|
|
3295
|
+
default?(): unknown;
|
|
3296
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3297
|
+
item?(props: {
|
|
3298
|
+
item: TaoMenuItem;
|
|
3299
|
+
id: string;
|
|
3300
|
+
label: string;
|
|
3301
|
+
icon?: string;
|
|
3302
|
+
}): unknown;
|
|
2507
3303
|
};
|
|
2508
3304
|
|
|
2509
|
-
declare function
|
|
3305
|
+
declare function __VLS_template_43(): {
|
|
2510
3306
|
default?(_: {}): any;
|
|
2511
3307
|
};
|
|
2512
3308
|
|
|
2513
|
-
declare function
|
|
3309
|
+
declare function __VLS_template_44(): {
|
|
2514
3310
|
default?(_: {}): any;
|
|
2515
3311
|
};
|
|
2516
3312
|
|
|
2517
|
-
declare function
|
|
3313
|
+
declare function __VLS_template_45(): {
|
|
2518
3314
|
chevron?(_: {}): any;
|
|
2519
3315
|
clear?(_: {}): any;
|
|
2520
3316
|
};
|
|
2521
3317
|
|
|
2522
|
-
declare function
|
|
3318
|
+
declare function __VLS_template_46(): {
|
|
2523
3319
|
chevron?(_: {}): any;
|
|
2524
3320
|
empty?(_: {}): any;
|
|
2525
3321
|
create?(_: {
|
|
@@ -2528,7 +3324,19 @@ declare function __VLS_template_38(): {
|
|
|
2528
3324
|
clear?(_: {}): any;
|
|
2529
3325
|
};
|
|
2530
3326
|
|
|
2531
|
-
declare function
|
|
3327
|
+
declare function __VLS_template_47(): Readonly<{
|
|
3328
|
+
'prev-icon'?(): unknown;
|
|
3329
|
+
'next-icon'?(): unknown;
|
|
3330
|
+
today?(): unknown;
|
|
3331
|
+
clear?(): unknown;
|
|
3332
|
+
}> & {
|
|
3333
|
+
'prev-icon'?(): unknown;
|
|
3334
|
+
'next-icon'?(): unknown;
|
|
3335
|
+
today?(): unknown;
|
|
3336
|
+
clear?(): unknown;
|
|
3337
|
+
};
|
|
3338
|
+
|
|
3339
|
+
declare function __VLS_template_48(): {
|
|
2532
3340
|
icon?(_: {}): any;
|
|
2533
3341
|
"prev-icon"?(_: {}): any;
|
|
2534
3342
|
"next-icon"?(_: {}): any;
|
|
@@ -2536,13 +3344,7 @@ declare function __VLS_template_39(): {
|
|
|
2536
3344
|
clear?(_: {}): any;
|
|
2537
3345
|
};
|
|
2538
3346
|
|
|
2539
|
-
declare function
|
|
2540
|
-
before?(_: {}): any;
|
|
2541
|
-
default?(_: {}): any;
|
|
2542
|
-
after?(_: {}): any;
|
|
2543
|
-
};
|
|
2544
|
-
|
|
2545
|
-
declare function __VLS_template_40(): {
|
|
3347
|
+
declare function __VLS_template_49(): {
|
|
2546
3348
|
icon?(_: {}): any;
|
|
2547
3349
|
"prev-icon"?(_: {}): any;
|
|
2548
3350
|
"next-icon"?(_: {}): any;
|
|
@@ -2550,33 +3352,38 @@ declare function __VLS_template_40(): {
|
|
|
2550
3352
|
clear?(_: {}): any;
|
|
2551
3353
|
};
|
|
2552
3354
|
|
|
2553
|
-
declare function
|
|
3355
|
+
declare function __VLS_template_5(): {
|
|
3356
|
+
"increment-icon"?(_: {}): any;
|
|
3357
|
+
"decrement-icon"?(_: {}): any;
|
|
3358
|
+
};
|
|
3359
|
+
|
|
3360
|
+
declare function __VLS_template_50(): {
|
|
2554
3361
|
default?(_: {}): any;
|
|
2555
3362
|
};
|
|
2556
3363
|
|
|
2557
|
-
declare function
|
|
3364
|
+
declare function __VLS_template_51(): {
|
|
2558
3365
|
default?(_: {}): any;
|
|
2559
3366
|
};
|
|
2560
3367
|
|
|
2561
|
-
declare function
|
|
3368
|
+
declare function __VLS_template_52(): {
|
|
2562
3369
|
default?(_: {}): any;
|
|
2563
3370
|
};
|
|
2564
3371
|
|
|
2565
|
-
declare function
|
|
3372
|
+
declare function __VLS_template_53(): {
|
|
2566
3373
|
default?(_: {}): any;
|
|
2567
3374
|
};
|
|
2568
3375
|
|
|
2569
|
-
declare function
|
|
3376
|
+
declare function __VLS_template_54(): {
|
|
2570
3377
|
icon?(_: {}): any;
|
|
2571
3378
|
default?(_: {}): any;
|
|
2572
3379
|
};
|
|
2573
3380
|
|
|
2574
|
-
declare function
|
|
3381
|
+
declare function __VLS_template_55(): {
|
|
2575
3382
|
default?(_: {}): any;
|
|
2576
3383
|
"close-icon"?(_: {}): any;
|
|
2577
3384
|
};
|
|
2578
3385
|
|
|
2579
|
-
declare function
|
|
3386
|
+
declare function __VLS_template_56(): Partial<Record<`cell-${string}`, (_: {
|
|
2580
3387
|
row: Record<string, unknown>;
|
|
2581
3388
|
column: TaoTableColumn<Record<string, unknown>>;
|
|
2582
3389
|
value: unknown;
|
|
@@ -2592,7 +3399,7 @@ declare function __VLS_template_47(): Partial<Record<`cell-${string}`, (_: {
|
|
|
2592
3399
|
loading?(_: {}): any;
|
|
2593
3400
|
};
|
|
2594
3401
|
|
|
2595
|
-
declare function
|
|
3402
|
+
declare function __VLS_template_57(): {
|
|
2596
3403
|
total?(_: {
|
|
2597
3404
|
from: number;
|
|
2598
3405
|
to: number;
|
|
@@ -2602,23 +3409,23 @@ declare function __VLS_template_48(): {
|
|
|
2602
3409
|
"next-icon"?(_: {}): any;
|
|
2603
3410
|
};
|
|
2604
3411
|
|
|
2605
|
-
declare function
|
|
3412
|
+
declare function __VLS_template_58(): {
|
|
2606
3413
|
icon?(_: {}): any;
|
|
2607
3414
|
default?(_: {}): any;
|
|
2608
3415
|
action?(_: {}): any;
|
|
2609
3416
|
};
|
|
2610
3417
|
|
|
2611
|
-
declare function
|
|
2612
|
-
"increment-icon"?(_: {}): any;
|
|
2613
|
-
"decrement-icon"?(_: {}): any;
|
|
2614
|
-
};
|
|
2615
|
-
|
|
2616
|
-
declare function __VLS_template_50(): {
|
|
3418
|
+
declare function __VLS_template_59(): {
|
|
2617
3419
|
empty?(_: {}): any;
|
|
2618
3420
|
default?(_: {}): any;
|
|
2619
3421
|
};
|
|
2620
3422
|
|
|
2621
|
-
declare function
|
|
3423
|
+
declare function __VLS_template_6(): {
|
|
3424
|
+
"decrement-icon"?(_: {}): any;
|
|
3425
|
+
"increment-icon"?(_: {}): any;
|
|
3426
|
+
};
|
|
3427
|
+
|
|
3428
|
+
declare function __VLS_template_60(): {
|
|
2622
3429
|
prefix?(_: {}): any;
|
|
2623
3430
|
default?(_: {}): any;
|
|
2624
3431
|
description?(_: {}): any;
|
|
@@ -2626,13 +3433,13 @@ declare function __VLS_template_51(): {
|
|
|
2626
3433
|
action?(_: {}): any;
|
|
2627
3434
|
};
|
|
2628
3435
|
|
|
2629
|
-
declare function
|
|
3436
|
+
declare function __VLS_template_61(): {
|
|
2630
3437
|
"close-icon"?(_: {}): any;
|
|
2631
3438
|
default?(_: {}): any;
|
|
2632
3439
|
footer?(_: {}): any;
|
|
2633
3440
|
};
|
|
2634
3441
|
|
|
2635
|
-
declare function
|
|
3442
|
+
declare function __VLS_template_62(): Readonly<{
|
|
2636
3443
|
default(): unknown;
|
|
2637
3444
|
prev(props: {
|
|
2638
3445
|
disabled: boolean;
|
|
@@ -2678,7 +3485,7 @@ declare function __VLS_template_53(): Readonly<{
|
|
|
2678
3485
|
}): unknown;
|
|
2679
3486
|
};
|
|
2680
3487
|
|
|
2681
|
-
declare function
|
|
3488
|
+
declare function __VLS_template_63(): Readonly<{
|
|
2682
3489
|
default(props: {
|
|
2683
3490
|
item: TaoStageItem;
|
|
2684
3491
|
index: number;
|
|
@@ -2702,21 +3509,32 @@ declare function __VLS_template_54(): Readonly<{
|
|
|
2702
3509
|
}): unknown;
|
|
2703
3510
|
};
|
|
2704
3511
|
|
|
2705
|
-
declare function
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
title
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
3512
|
+
declare function __VLS_template_7(): Readonly<{
|
|
3513
|
+
/** A picture or a carousel at the top. / Картинка или карусель сверху. */
|
|
3514
|
+
media?(): unknown;
|
|
3515
|
+
/** A scrim over the media (or over the whole tile). / Подложка поверх media (или всей плитки). */
|
|
3516
|
+
overlay?(): unknown;
|
|
3517
|
+
/** The top row: anything, laid out as you like. / Верхняя строка: что угодно, раскладка ваша. */
|
|
3518
|
+
header?(): unknown;
|
|
3519
|
+
title?(): unknown;
|
|
3520
|
+
sub?(): unknown;
|
|
3521
|
+
default?(): unknown;
|
|
3522
|
+
footer?(): unknown;
|
|
3523
|
+
/** The top right corner of the card (a tag, a menu button); the title leaves room for it. / Правый верхний угол (тег, кнопка меню); заголовок оставляет ему место. */
|
|
3524
|
+
corner?(): unknown;
|
|
3525
|
+
}> & {
|
|
3526
|
+
/** A picture or a carousel at the top. / Картинка или карусель сверху. */
|
|
3527
|
+
media?(): unknown;
|
|
3528
|
+
/** A scrim over the media (or over the whole tile). / Подложка поверх media (или всей плитки). */
|
|
3529
|
+
overlay?(): unknown;
|
|
3530
|
+
/** The top row: anything, laid out as you like. / Верхняя строка: что угодно, раскладка ваша. */
|
|
3531
|
+
header?(): unknown;
|
|
3532
|
+
title?(): unknown;
|
|
3533
|
+
sub?(): unknown;
|
|
3534
|
+
default?(): unknown;
|
|
3535
|
+
footer?(): unknown;
|
|
3536
|
+
/** The top right corner of the card (a tag, a menu button); the title leaves room for it. / Правый верхний угол (тег, кнопка меню); заголовок оставляет ему место. */
|
|
3537
|
+
corner?(): unknown;
|
|
2720
3538
|
};
|
|
2721
3539
|
|
|
2722
3540
|
declare function __VLS_template_8(): {
|
|
@@ -3276,6 +4094,60 @@ declare type __VLS_TypePropsToRuntimeProps_63<T> = {
|
|
|
3276
4094
|
};
|
|
3277
4095
|
};
|
|
3278
4096
|
|
|
4097
|
+
declare type __VLS_TypePropsToRuntimeProps_64<T> = {
|
|
4098
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4099
|
+
type: PropType<__VLS_NonUndefinedable_64<T[K]>>;
|
|
4100
|
+
} : {
|
|
4101
|
+
type: PropType<T[K]>;
|
|
4102
|
+
required: true;
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
4105
|
+
|
|
4106
|
+
declare type __VLS_TypePropsToRuntimeProps_65<T> = {
|
|
4107
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4108
|
+
type: PropType<__VLS_NonUndefinedable_65<T[K]>>;
|
|
4109
|
+
} : {
|
|
4110
|
+
type: PropType<T[K]>;
|
|
4111
|
+
required: true;
|
|
4112
|
+
};
|
|
4113
|
+
};
|
|
4114
|
+
|
|
4115
|
+
declare type __VLS_TypePropsToRuntimeProps_66<T> = {
|
|
4116
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4117
|
+
type: PropType<__VLS_NonUndefinedable_66<T[K]>>;
|
|
4118
|
+
} : {
|
|
4119
|
+
type: PropType<T[K]>;
|
|
4120
|
+
required: true;
|
|
4121
|
+
};
|
|
4122
|
+
};
|
|
4123
|
+
|
|
4124
|
+
declare type __VLS_TypePropsToRuntimeProps_67<T> = {
|
|
4125
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4126
|
+
type: PropType<__VLS_NonUndefinedable_67<T[K]>>;
|
|
4127
|
+
} : {
|
|
4128
|
+
type: PropType<T[K]>;
|
|
4129
|
+
required: true;
|
|
4130
|
+
};
|
|
4131
|
+
};
|
|
4132
|
+
|
|
4133
|
+
declare type __VLS_TypePropsToRuntimeProps_68<T> = {
|
|
4134
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4135
|
+
type: PropType<__VLS_NonUndefinedable_68<T[K]>>;
|
|
4136
|
+
} : {
|
|
4137
|
+
type: PropType<T[K]>;
|
|
4138
|
+
required: true;
|
|
4139
|
+
};
|
|
4140
|
+
};
|
|
4141
|
+
|
|
4142
|
+
declare type __VLS_TypePropsToRuntimeProps_69<T> = {
|
|
4143
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4144
|
+
type: PropType<__VLS_NonUndefinedable_69<T[K]>>;
|
|
4145
|
+
} : {
|
|
4146
|
+
type: PropType<T[K]>;
|
|
4147
|
+
required: true;
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
4150
|
+
|
|
3279
4151
|
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
3280
4152
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
3281
4153
|
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
@@ -3285,6 +4157,33 @@ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
|
3285
4157
|
};
|
|
3286
4158
|
};
|
|
3287
4159
|
|
|
4160
|
+
declare type __VLS_TypePropsToRuntimeProps_70<T> = {
|
|
4161
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4162
|
+
type: PropType<__VLS_NonUndefinedable_70<T[K]>>;
|
|
4163
|
+
} : {
|
|
4164
|
+
type: PropType<T[K]>;
|
|
4165
|
+
required: true;
|
|
4166
|
+
};
|
|
4167
|
+
};
|
|
4168
|
+
|
|
4169
|
+
declare type __VLS_TypePropsToRuntimeProps_71<T> = {
|
|
4170
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4171
|
+
type: PropType<__VLS_NonUndefinedable_71<T[K]>>;
|
|
4172
|
+
} : {
|
|
4173
|
+
type: PropType<T[K]>;
|
|
4174
|
+
required: true;
|
|
4175
|
+
};
|
|
4176
|
+
};
|
|
4177
|
+
|
|
4178
|
+
declare type __VLS_TypePropsToRuntimeProps_72<T> = {
|
|
4179
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4180
|
+
type: PropType<__VLS_NonUndefinedable_72<T[K]>>;
|
|
4181
|
+
} : {
|
|
4182
|
+
type: PropType<T[K]>;
|
|
4183
|
+
required: true;
|
|
4184
|
+
};
|
|
4185
|
+
};
|
|
4186
|
+
|
|
3288
4187
|
declare type __VLS_TypePropsToRuntimeProps_8<T> = {
|
|
3289
4188
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
3290
4189
|
type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
|
|
@@ -3627,12 +4526,66 @@ declare type __VLS_WithDefaults_58<P, D> = {
|
|
|
3627
4526
|
}> : P[K];
|
|
3628
4527
|
};
|
|
3629
4528
|
|
|
4529
|
+
declare type __VLS_WithDefaults_59<P, D> = {
|
|
4530
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_59<P[K] & {
|
|
4531
|
+
default: D[K];
|
|
4532
|
+
}> : P[K];
|
|
4533
|
+
};
|
|
4534
|
+
|
|
3630
4535
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
3631
4536
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
|
|
3632
4537
|
default: D[K];
|
|
3633
4538
|
}> : P[K];
|
|
3634
4539
|
};
|
|
3635
4540
|
|
|
4541
|
+
declare type __VLS_WithDefaults_60<P, D> = {
|
|
4542
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_60<P[K] & {
|
|
4543
|
+
default: D[K];
|
|
4544
|
+
}> : P[K];
|
|
4545
|
+
};
|
|
4546
|
+
|
|
4547
|
+
declare type __VLS_WithDefaults_61<P, D> = {
|
|
4548
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_61<P[K] & {
|
|
4549
|
+
default: D[K];
|
|
4550
|
+
}> : P[K];
|
|
4551
|
+
};
|
|
4552
|
+
|
|
4553
|
+
declare type __VLS_WithDefaults_62<P, D> = {
|
|
4554
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_62<P[K] & {
|
|
4555
|
+
default: D[K];
|
|
4556
|
+
}> : P[K];
|
|
4557
|
+
};
|
|
4558
|
+
|
|
4559
|
+
declare type __VLS_WithDefaults_63<P, D> = {
|
|
4560
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_63<P[K] & {
|
|
4561
|
+
default: D[K];
|
|
4562
|
+
}> : P[K];
|
|
4563
|
+
};
|
|
4564
|
+
|
|
4565
|
+
declare type __VLS_WithDefaults_64<P, D> = {
|
|
4566
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_64<P[K] & {
|
|
4567
|
+
default: D[K];
|
|
4568
|
+
}> : P[K];
|
|
4569
|
+
};
|
|
4570
|
+
|
|
4571
|
+
declare type __VLS_WithDefaults_65<P, D> = {
|
|
4572
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_65<P[K] & {
|
|
4573
|
+
default: D[K];
|
|
4574
|
+
}> : P[K];
|
|
4575
|
+
};
|
|
4576
|
+
|
|
4577
|
+
declare type __VLS_WithDefaults_66<P, D> = {
|
|
4578
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_66<P[K] & {
|
|
4579
|
+
default: D[K];
|
|
4580
|
+
}> : P[K];
|
|
4581
|
+
};
|
|
4582
|
+
|
|
4583
|
+
declare type __VLS_WithDefaults_67<P, D> = {
|
|
4584
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_67<P[K] & {
|
|
4585
|
+
default: D[K];
|
|
4586
|
+
}> : P[K];
|
|
4587
|
+
};
|
|
4588
|
+
|
|
3636
4589
|
declare type __VLS_WithDefaults_7<P, D> = {
|
|
3637
4590
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
|
|
3638
4591
|
default: D[K];
|
|
@@ -3873,85 +4826,139 @@ declare type __VLS_WithTemplateSlots_42<T, S> = T & {
|
|
|
3873
4826
|
};
|
|
3874
4827
|
};
|
|
3875
4828
|
|
|
3876
|
-
declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
4829
|
+
declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
4830
|
+
new (): {
|
|
4831
|
+
$slots: S;
|
|
4832
|
+
};
|
|
4833
|
+
};
|
|
4834
|
+
|
|
4835
|
+
declare type __VLS_WithTemplateSlots_44<T, S> = T & {
|
|
4836
|
+
new (): {
|
|
4837
|
+
$slots: S;
|
|
4838
|
+
};
|
|
4839
|
+
};
|
|
4840
|
+
|
|
4841
|
+
declare type __VLS_WithTemplateSlots_45<T, S> = T & {
|
|
4842
|
+
new (): {
|
|
4843
|
+
$slots: S;
|
|
4844
|
+
};
|
|
4845
|
+
};
|
|
4846
|
+
|
|
4847
|
+
declare type __VLS_WithTemplateSlots_46<T, S> = T & {
|
|
4848
|
+
new (): {
|
|
4849
|
+
$slots: S;
|
|
4850
|
+
};
|
|
4851
|
+
};
|
|
4852
|
+
|
|
4853
|
+
declare type __VLS_WithTemplateSlots_47<T, S> = T & {
|
|
4854
|
+
new (): {
|
|
4855
|
+
$slots: S;
|
|
4856
|
+
};
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
declare type __VLS_WithTemplateSlots_48<T, S> = T & {
|
|
4860
|
+
new (): {
|
|
4861
|
+
$slots: S;
|
|
4862
|
+
};
|
|
4863
|
+
};
|
|
4864
|
+
|
|
4865
|
+
declare type __VLS_WithTemplateSlots_49<T, S> = T & {
|
|
4866
|
+
new (): {
|
|
4867
|
+
$slots: S;
|
|
4868
|
+
};
|
|
4869
|
+
};
|
|
4870
|
+
|
|
4871
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
4872
|
+
new (): {
|
|
4873
|
+
$slots: S;
|
|
4874
|
+
};
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
declare type __VLS_WithTemplateSlots_50<T, S> = T & {
|
|
4878
|
+
new (): {
|
|
4879
|
+
$slots: S;
|
|
4880
|
+
};
|
|
4881
|
+
};
|
|
4882
|
+
|
|
4883
|
+
declare type __VLS_WithTemplateSlots_51<T, S> = T & {
|
|
3877
4884
|
new (): {
|
|
3878
4885
|
$slots: S;
|
|
3879
4886
|
};
|
|
3880
4887
|
};
|
|
3881
4888
|
|
|
3882
|
-
declare type
|
|
4889
|
+
declare type __VLS_WithTemplateSlots_52<T, S> = T & {
|
|
3883
4890
|
new (): {
|
|
3884
4891
|
$slots: S;
|
|
3885
4892
|
};
|
|
3886
4893
|
};
|
|
3887
4894
|
|
|
3888
|
-
declare type
|
|
4895
|
+
declare type __VLS_WithTemplateSlots_53<T, S> = T & {
|
|
3889
4896
|
new (): {
|
|
3890
4897
|
$slots: S;
|
|
3891
4898
|
};
|
|
3892
4899
|
};
|
|
3893
4900
|
|
|
3894
|
-
declare type
|
|
4901
|
+
declare type __VLS_WithTemplateSlots_54<T, S> = T & {
|
|
3895
4902
|
new (): {
|
|
3896
4903
|
$slots: S;
|
|
3897
4904
|
};
|
|
3898
4905
|
};
|
|
3899
4906
|
|
|
3900
|
-
declare type
|
|
4907
|
+
declare type __VLS_WithTemplateSlots_55<T, S> = T & {
|
|
3901
4908
|
new (): {
|
|
3902
4909
|
$slots: S;
|
|
3903
4910
|
};
|
|
3904
4911
|
};
|
|
3905
4912
|
|
|
3906
|
-
declare type
|
|
4913
|
+
declare type __VLS_WithTemplateSlots_56<T, S> = T & {
|
|
3907
4914
|
new (): {
|
|
3908
4915
|
$slots: S;
|
|
3909
4916
|
};
|
|
3910
4917
|
};
|
|
3911
4918
|
|
|
3912
|
-
declare type
|
|
4919
|
+
declare type __VLS_WithTemplateSlots_57<T, S> = T & {
|
|
3913
4920
|
new (): {
|
|
3914
4921
|
$slots: S;
|
|
3915
4922
|
};
|
|
3916
4923
|
};
|
|
3917
4924
|
|
|
3918
|
-
declare type
|
|
4925
|
+
declare type __VLS_WithTemplateSlots_58<T, S> = T & {
|
|
3919
4926
|
new (): {
|
|
3920
4927
|
$slots: S;
|
|
3921
4928
|
};
|
|
3922
4929
|
};
|
|
3923
4930
|
|
|
3924
|
-
declare type
|
|
4931
|
+
declare type __VLS_WithTemplateSlots_59<T, S> = T & {
|
|
3925
4932
|
new (): {
|
|
3926
4933
|
$slots: S;
|
|
3927
4934
|
};
|
|
3928
4935
|
};
|
|
3929
4936
|
|
|
3930
|
-
declare type
|
|
4937
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
3931
4938
|
new (): {
|
|
3932
4939
|
$slots: S;
|
|
3933
4940
|
};
|
|
3934
4941
|
};
|
|
3935
4942
|
|
|
3936
|
-
declare type
|
|
4943
|
+
declare type __VLS_WithTemplateSlots_60<T, S> = T & {
|
|
3937
4944
|
new (): {
|
|
3938
4945
|
$slots: S;
|
|
3939
4946
|
};
|
|
3940
4947
|
};
|
|
3941
4948
|
|
|
3942
|
-
declare type
|
|
4949
|
+
declare type __VLS_WithTemplateSlots_61<T, S> = T & {
|
|
3943
4950
|
new (): {
|
|
3944
4951
|
$slots: S;
|
|
3945
4952
|
};
|
|
3946
4953
|
};
|
|
3947
4954
|
|
|
3948
|
-
declare type
|
|
4955
|
+
declare type __VLS_WithTemplateSlots_62<T, S> = T & {
|
|
3949
4956
|
new (): {
|
|
3950
4957
|
$slots: S;
|
|
3951
4958
|
};
|
|
3952
4959
|
};
|
|
3953
4960
|
|
|
3954
|
-
declare type
|
|
4961
|
+
declare type __VLS_WithTemplateSlots_63<T, S> = T & {
|
|
3955
4962
|
new (): {
|
|
3956
4963
|
$slots: S;
|
|
3957
4964
|
};
|
|
@@ -3975,6 +4982,22 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
3975
4982
|
};
|
|
3976
4983
|
};
|
|
3977
4984
|
|
|
4985
|
+
/**
|
|
4986
|
+
* APCA lightness contrast (Lc, 0.0.98G): how well a text reads on a background, as the eye sees it. Positive for dark
|
|
4987
|
+
* text on a light background, negative the other way; |Lc| 75 is body text, 60 a label, 45 a large heading.
|
|
4988
|
+
* WCAG 2 contrast overrates black on mid-tone colours (a teal button gets black text it reads worse with); APCA does not.
|
|
4989
|
+
* Контраст APCA: как текст читается на фоне глазом. WCAG 2 переоценивает чёрный на средних по яркости цветах.
|
|
4990
|
+
*/
|
|
4991
|
+
export declare function apcaContrast(text: string, background: string): number;
|
|
4992
|
+
|
|
4993
|
+
/**
|
|
4994
|
+
* Puts a palette on an element (the page by default) at run time, for a palette of your own or a colour a user picked:
|
|
4995
|
+
* the same roles the preset files carry, as inline custom properties. Returns a function that takes them off.
|
|
4996
|
+
* Кладёт палитру на элемент (по умолчанию на страницу) в рантайме: те же роли, что в файлах пресетов, как inline-переменные.
|
|
4997
|
+
* Возвращает функцию, которая их снимает.
|
|
4998
|
+
*/
|
|
4999
|
+
export declare function applyTaoPalette(def: TaoPaletteDef, mode: TaoPaletteMode, el?: HTMLElement): () => void;
|
|
5000
|
+
|
|
3978
5001
|
/** Способ ввода цвета в палитре: строка hex, числа RGB или числа HSL. */
|
|
3979
5002
|
export declare type ColorMode = 'hex' | 'rgb' | 'hsl';
|
|
3980
5003
|
|
|
@@ -4001,6 +5024,9 @@ export declare interface ColorModelOptions {
|
|
|
4001
5024
|
declare const confirm_2: TaoConfirmApi;
|
|
4002
5025
|
export { confirm_2 as confirm }
|
|
4003
5026
|
|
|
5027
|
+
/** WCAG contrast ratio, 1…21. */
|
|
5028
|
+
export declare function contrastRatio(a: string, b: string): number;
|
|
5029
|
+
|
|
4004
5030
|
declare function copy(): Promise<void>;
|
|
4005
5031
|
|
|
4006
5032
|
declare type DeepPartial<T> = T extends string | unknown[] ? T : {
|
|
@@ -4030,6 +5056,13 @@ export declare interface Hsva {
|
|
|
4030
5056
|
|
|
4031
5057
|
export declare const hsvaToRgba: (c: Hsva) => Rgba;
|
|
4032
5058
|
|
|
5059
|
+
declare interface ItemSlot {
|
|
5060
|
+
item: TaoTimelineItem;
|
|
5061
|
+
index: number;
|
|
5062
|
+
state: TaoTimelineState;
|
|
5063
|
+
active: boolean;
|
|
5064
|
+
}
|
|
5065
|
+
|
|
4033
5066
|
/** Линейный цвет (0…1) в sRGB (0…1). */
|
|
4034
5067
|
export declare const linearToSrgb: (c: number) => number;
|
|
4035
5068
|
|
|
@@ -4038,6 +5071,21 @@ export declare const localeEn: TaoLocale;
|
|
|
4038
5071
|
/** Default locale. / Локаль по умолчанию. */
|
|
4039
5072
|
export declare const localeRu: TaoLocale;
|
|
4040
5073
|
|
|
5074
|
+
declare function measure(): void;
|
|
5075
|
+
|
|
5076
|
+
/**
|
|
5077
|
+
* Should the owner give the focus back to its trigger? Not when the user went elsewhere (a press, a scroll).
|
|
5078
|
+
* Возвращать ли фокус на кнопку? Нет, если пользователь ушёл в другое место (нажатие, прокрутка).
|
|
5079
|
+
*/
|
|
5080
|
+
export declare function menuReturnsFocus(reason: TaoMenuCloseReason): boolean;
|
|
5081
|
+
|
|
5082
|
+
declare interface NodeSlot {
|
|
5083
|
+
node: TaoTreeNode;
|
|
5084
|
+
level: number;
|
|
5085
|
+
expanded: boolean;
|
|
5086
|
+
selected: boolean;
|
|
5087
|
+
}
|
|
5088
|
+
|
|
4041
5089
|
/** Нормализует строку из поля ввода к `#rrggbb` / `#rrggbbaa`; не цвет: null. */
|
|
4042
5090
|
export declare function normalizeHex(input: string, alpha?: boolean): string | null;
|
|
4043
5091
|
|
|
@@ -4051,17 +5099,22 @@ export declare function parseTaoDate(value: string | null | undefined): TaoDateP
|
|
|
4051
5099
|
|
|
4052
5100
|
export declare function parseTaoDateRange(value: TaoDateRangeValue | null | undefined): TaoDateRangeValue | null;
|
|
4053
5101
|
|
|
5102
|
+
declare function play(): void;
|
|
5103
|
+
|
|
4054
5104
|
declare interface Props {
|
|
4055
5105
|
type?: 'button' | 'submit' | 'reset';
|
|
4056
5106
|
/** Without it the button takes the size of its ancestors (medium by default). / Без него — размер предков (по умолчанию medium). */
|
|
4057
5107
|
size?: TaoSize;
|
|
4058
|
-
variant?: 'primary' | 'secondary' | 'ghost' | 'text'
|
|
4059
|
-
/**
|
|
4060
|
-
tone?:
|
|
5108
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'text';
|
|
5109
|
+
/** Colour of the button, on any `variant`: `danger` / `success` / `warning` / `info` / `neutral`; without it the theme accent. / Цвет кнопки на любом `variant`; без него — акцент темы. */
|
|
5110
|
+
tone?: TaoToneName;
|
|
4061
5111
|
disabled?: boolean;
|
|
4062
5112
|
loading?: boolean;
|
|
4063
5113
|
block?: boolean;
|
|
5114
|
+
/** Icon before the text: a name for TaoIcon (`tao-plus`, a registered or font icon). Without text the button is a square. / Иконка перед текстом: имя для TaoIcon. Без текста кнопка квадратная. */
|
|
4064
5115
|
icon?: string;
|
|
5116
|
+
/** Icon after the text. / Иконка после текста. */
|
|
5117
|
+
iconEnd?: string;
|
|
4065
5118
|
/** Minimum width (number = px). Same as the `--tao-button-min-width` variable. / Минимальная ширина (число = px). То же, что переменная `--tao-button-min-width`. */
|
|
4066
5119
|
minWidth?: number | string;
|
|
4067
5120
|
}
|
|
@@ -4082,17 +5135,13 @@ declare interface Props_11 {
|
|
|
4082
5135
|
}
|
|
4083
5136
|
|
|
4084
5137
|
declare interface Props_12 {
|
|
4085
|
-
/** Status color
|
|
4086
|
-
tone?: TaoTone
|
|
4087
|
-
/** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
|
|
4088
|
-
type?: TaoTone | 'error' | '';
|
|
5138
|
+
/** Status color. / Цвет статуса. */
|
|
5139
|
+
tone?: TaoTone;
|
|
4089
5140
|
color?: string;
|
|
4090
5141
|
background?: string;
|
|
4091
5142
|
borderColor?: string;
|
|
4092
5143
|
/** Pointer cursor, same as TaoListItem / TaoTable. / Курсор-рука, как у TaoListItem / TaoTable. */
|
|
4093
5144
|
clickable?: boolean;
|
|
4094
|
-
/** @deprecated Use `clickable`. / Используйте `clickable`. */
|
|
4095
|
-
pointer?: boolean;
|
|
4096
5145
|
closable?: boolean;
|
|
4097
5146
|
closeLabel?: string;
|
|
4098
5147
|
/** Без рамки, заливка остаётся. Высота как у обычного тега. */
|
|
@@ -4102,6 +5151,14 @@ declare interface Props_12 {
|
|
|
4102
5151
|
}
|
|
4103
5152
|
|
|
4104
5153
|
declare interface Props_13 {
|
|
5154
|
+
/**
|
|
5155
|
+
* What the border runs through: `rainbow` (the default) or the colours of a tone (`tone`, the accent without it).
|
|
5156
|
+
* Из чего состоит рамка: `rainbow` (по умолчанию) или цвета тона (`tone`, без него — акцент).
|
|
5157
|
+
*/
|
|
5158
|
+
variant?: 'rainbow' | 'tone';
|
|
5159
|
+
tone?: TaoToneName;
|
|
5160
|
+
/** Your own colours, any CSS colour; they win over `variant`. / Свои цвета, любые CSS-цвета; главнее `variant`. */
|
|
5161
|
+
colors?: string[];
|
|
4105
5162
|
borderWidth?: number;
|
|
4106
5163
|
speed?: number;
|
|
4107
5164
|
/** Радиус размытия glow-эффекта позади рамки, px. Работает только при light. */
|
|
@@ -4110,6 +5167,8 @@ declare interface Props_13 {
|
|
|
4110
5167
|
* компонент остаётся именно рамкой (переливается только контур),
|
|
4111
5168
|
* без "света", выходящего за её пределы. */
|
|
4112
5169
|
light?: boolean;
|
|
5170
|
+
/** Corner radius of the content; the border outside it is that plus its width. Number — px, string — CSS. / Скругление содержимого; рамка снаружи — оно плюс её ширина. */
|
|
5171
|
+
radius?: TaoLength;
|
|
4113
5172
|
}
|
|
4114
5173
|
|
|
4115
5174
|
declare interface Props_14 {
|
|
@@ -4142,10 +5201,6 @@ declare interface Props_14 {
|
|
|
4142
5201
|
boundary?: number;
|
|
4143
5202
|
/** Focus outline. / Обводка фокуса. */
|
|
4144
5203
|
outline?: boolean;
|
|
4145
|
-
/** @deprecated Use `outline`. / Используйте `outline`. */
|
|
4146
|
-
hasOutline?: boolean;
|
|
4147
|
-
/** @deprecated Pass `tabindex` as a plain attribute: it lands on the button anyway. / Передавайте как обычный атрибут — он и так попадёт на кнопку. */
|
|
4148
|
-
tabindex?: number;
|
|
4149
5204
|
ariaLabel?: string;
|
|
4150
5205
|
}
|
|
4151
5206
|
|
|
@@ -4172,8 +5227,6 @@ declare interface Props_16 {
|
|
|
4172
5227
|
to?: string | Record<string, unknown>;
|
|
4173
5228
|
/** Open in a new tab. / Открыть в новой вкладке. */
|
|
4174
5229
|
newTab?: boolean;
|
|
4175
|
-
/** @deprecated Use `newTab`. / Используйте `newTab`. */
|
|
4176
|
-
asNewTab?: boolean;
|
|
4177
5230
|
private?: boolean;
|
|
4178
5231
|
exactPath?: boolean;
|
|
4179
5232
|
}
|
|
@@ -4187,6 +5240,10 @@ declare interface Props_2 {
|
|
|
4187
5240
|
hover?: boolean;
|
|
4188
5241
|
/** `flat` fill, `grain` film grain, `glass` blurred translucent. / Из чего сделана панель. */
|
|
4189
5242
|
surface?: TaoSurface;
|
|
5243
|
+
/** A coloured stripe on one side; the corners clip it. / Цветная полоса с одной стороны; углы её обрезают. */
|
|
5244
|
+
stripe?: TaoStripe;
|
|
5245
|
+
/** The stripe colour: a tone or `gradient`; accent by default. / Цвет полосы: тон или `gradient`. */
|
|
5246
|
+
stripeTone?: TaoStripeTone;
|
|
4190
5247
|
}
|
|
4191
5248
|
|
|
4192
5249
|
declare interface Props_3 {
|
|
@@ -4198,10 +5255,6 @@ declare interface Props_3 {
|
|
|
4198
5255
|
size?: TaoSize;
|
|
4199
5256
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
4200
5257
|
error?: boolean;
|
|
4201
|
-
/** @deprecated Use TaoFormField `error` — same as every other field. / Используйте `error` у TaoFormField — как у всех полей. */
|
|
4202
|
-
errorMessage?: string;
|
|
4203
|
-
/** @deprecated Use TaoFormField `label` — same as every other field. / Используйте `label` у TaoFormField — как у всех полей. */
|
|
4204
|
-
label?: string;
|
|
4205
5258
|
id?: string;
|
|
4206
5259
|
}
|
|
4207
5260
|
|
|
@@ -4219,6 +5272,14 @@ declare interface Props_4 {
|
|
|
4219
5272
|
flush?: boolean;
|
|
4220
5273
|
/** `flat` fill, `grain` film grain, `glass` blurred translucent. / Из чего сделана панель. */
|
|
4221
5274
|
surface?: TaoSurface;
|
|
5275
|
+
/** A close button in the top right corner; the parent removes the card on `close`. / Кнопка закрытия в правом верхнем углу; карточку убирает родитель по `close`. */
|
|
5276
|
+
closable?: boolean;
|
|
5277
|
+
/** Screen-reader name of the close button. / Имя кнопки закрытия для скринридера. */
|
|
5278
|
+
closeLabel?: string;
|
|
5279
|
+
/** A coloured stripe on one side, over the media too; the corners clip it. / Цветная полоса с одной стороны, поверх media тоже. */
|
|
5280
|
+
stripe?: TaoStripe;
|
|
5281
|
+
/** The stripe colour: a tone or `gradient`; accent by default. / Цвет полосы: тон или `gradient`. */
|
|
5282
|
+
stripeTone?: TaoStripeTone;
|
|
4222
5283
|
}
|
|
4223
5284
|
|
|
4224
5285
|
declare interface Props_5 {
|
|
@@ -4231,15 +5292,13 @@ declare interface Props_5 {
|
|
|
4231
5292
|
declare interface Props_6 {
|
|
4232
5293
|
/** max-width: 1120 / 500 / 400px. */
|
|
4233
5294
|
width?: TaoContainerWidth;
|
|
4234
|
-
/** @deprecated Use `width` — this is a width, not a size. / Используйте `width` — это ширина, не размер. */
|
|
4235
|
-
size?: TaoContainerWidth;
|
|
4236
5295
|
/** "свободно" болтается в разметке, без авто-центровки по горизонтали */
|
|
4237
5296
|
free?: boolean;
|
|
4238
5297
|
}
|
|
4239
5298
|
|
|
4240
5299
|
declare interface Props_7 {
|
|
4241
5300
|
tag?: string;
|
|
4242
|
-
justify?:
|
|
5301
|
+
justify?: TaoJustify;
|
|
4243
5302
|
align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
|
|
4244
5303
|
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4245
5304
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
@@ -4252,17 +5311,35 @@ declare interface Props_8 {
|
|
|
4252
5311
|
expand?: boolean;
|
|
4253
5312
|
/** Same as TaoFlex / TaoRadioGroup. / Как у TaoFlex / TaoRadioGroup. */
|
|
4254
5313
|
direction?: 'row' | 'column';
|
|
4255
|
-
/** @deprecated Use `direction="column"`. / Используйте `direction="column"`. */
|
|
4256
|
-
vertical?: boolean;
|
|
4257
5314
|
}
|
|
4258
5315
|
|
|
4259
5316
|
declare interface Props_9 {
|
|
5317
|
+
/**
|
|
5318
|
+
* `tao-check` and the rest of the built-in set; a name registered with `registerTaoIcons`;
|
|
5319
|
+
* any other name is the `icon-<name>` class of your own icon font.
|
|
5320
|
+
* `tao-check` и остальной встроенный набор; имя из `registerTaoIcons`; любое другое — класс `icon-<name>` вашего шрифта.
|
|
5321
|
+
*/
|
|
4260
5322
|
name: string;
|
|
4261
5323
|
margin?: string;
|
|
5324
|
+
/** Pixels. Without it an SVG icon is 1em (follows the font size), a font icon keeps its own size. / Пиксели; без него SVG-иконка 1em. */
|
|
4262
5325
|
size?: number;
|
|
4263
5326
|
invert?: boolean;
|
|
4264
5327
|
}
|
|
4265
5328
|
|
|
5329
|
+
/**
|
|
5330
|
+
* Gives the components below the calling one another language, without touching the global one:
|
|
5331
|
+
* `provideTaoLocale(localeRu)` in the setup of a bilingual block.
|
|
5332
|
+
* Даёт компонентам ниже другой язык, не трогая глобальный: `provideTaoLocale(localeRu)` в setup двуязычного блока.
|
|
5333
|
+
*/
|
|
5334
|
+
export declare function provideTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocale): void;
|
|
5335
|
+
|
|
5336
|
+
/**
|
|
5337
|
+
* Registers your own SVG icons: `registerTaoIcons({ rocket: { body: '<path d="..."/>' } })`, then `<TaoIcon name="rocket" />`.
|
|
5338
|
+
* The names must not start with `tao-`: that prefix belongs to the built-in set.
|
|
5339
|
+
* Регистрирует ваши SVG-иконки. Имена не должны начинаться с `tao-`: приставка принадлежит встроенному набору.
|
|
5340
|
+
*/
|
|
5341
|
+
export declare function registerTaoIcons(icons: Record<string, TaoIconDef>): void;
|
|
5342
|
+
|
|
4266
5343
|
/** Цвет: r, g, b от 0 до 255, a (прозрачность) от 0 до 1. Это обычный sRGB, как в CSS. */
|
|
4267
5344
|
export declare interface Rgba {
|
|
4268
5345
|
r: number;
|
|
@@ -4292,19 +5369,19 @@ export declare function setTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocal
|
|
|
4292
5369
|
/** sRGB (0…1) в линейный цвет (0…1). */
|
|
4293
5370
|
export declare const srgbToLinear: (c: number) => number;
|
|
4294
5371
|
|
|
4295
|
-
export declare const TaoAlert:
|
|
5372
|
+
export declare const TaoAlert: __VLS_WithTemplateSlots_55<typeof __VLS_component_55, ReturnType<typeof __VLS_template_55>>;
|
|
4296
5373
|
|
|
4297
5374
|
export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, ReturnType<typeof __VLS_template_28>>;
|
|
4298
5375
|
|
|
4299
|
-
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<
|
|
5376
|
+
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
|
|
4300
5377
|
src?: string;
|
|
4301
5378
|
name?: string;
|
|
4302
5379
|
alt?: string;
|
|
4303
5380
|
/**
|
|
4304
|
-
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
5381
|
+
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
4305
5382
|
* Контент, не контрол: размер предков не наследует. `s` / `m` / `l` устарели.
|
|
4306
5383
|
*/
|
|
4307
|
-
size?: TaoSize
|
|
5384
|
+
size?: TaoSize;
|
|
4308
5385
|
/** Точка статуса. `true` = success (в сети). */
|
|
4309
5386
|
dot?: boolean | TaoAvatarDot;
|
|
4310
5387
|
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
@@ -4312,7 +5389,7 @@ count?: number | string;
|
|
|
4312
5389
|
fallbackLabel?: string;
|
|
4313
5390
|
/** `{count}` — число в бейдже. */
|
|
4314
5391
|
notificationsLabel?: string;
|
|
4315
|
-
dotLabels?: Partial<Record<
|
|
5392
|
+
dotLabels?: Partial<Record<TaoAvatarDot, string>>;
|
|
4316
5393
|
}>, {
|
|
4317
5394
|
src: string;
|
|
4318
5395
|
name: string;
|
|
@@ -4321,15 +5398,15 @@ size: string;
|
|
|
4321
5398
|
dot: boolean;
|
|
4322
5399
|
count: undefined;
|
|
4323
5400
|
dotLabels: () => {};
|
|
4324
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5401
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
|
|
4325
5402
|
src?: string;
|
|
4326
5403
|
name?: string;
|
|
4327
5404
|
alt?: string;
|
|
4328
5405
|
/**
|
|
4329
|
-
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
5406
|
+
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
4330
5407
|
* Контент, не контрол: размер предков не наследует. `s` / `m` / `l` устарели.
|
|
4331
5408
|
*/
|
|
4332
|
-
size?: TaoSize
|
|
5409
|
+
size?: TaoSize;
|
|
4333
5410
|
/** Точка статуса. `true` = success (в сети). */
|
|
4334
5411
|
dot?: boolean | TaoAvatarDot;
|
|
4335
5412
|
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
@@ -4337,7 +5414,7 @@ count?: number | string;
|
|
|
4337
5414
|
fallbackLabel?: string;
|
|
4338
5415
|
/** `{count}` — число в бейдже. */
|
|
4339
5416
|
notificationsLabel?: string;
|
|
4340
|
-
dotLabels?: Partial<Record<
|
|
5417
|
+
dotLabels?: Partial<Record<TaoAvatarDot, string>>;
|
|
4341
5418
|
}>, {
|
|
4342
5419
|
src: string;
|
|
4343
5420
|
name: string;
|
|
@@ -4348,22 +5425,22 @@ count: undefined;
|
|
|
4348
5425
|
dotLabels: () => {};
|
|
4349
5426
|
}>>> & Readonly<{}>, {
|
|
4350
5427
|
name: string;
|
|
5428
|
+
size: TaoSize;
|
|
4351
5429
|
src: string;
|
|
4352
5430
|
alt: string;
|
|
4353
|
-
size: TaoSize | "s" | "m" | "l";
|
|
4354
5431
|
dot: boolean | TaoAvatarDot;
|
|
4355
5432
|
count: number | string;
|
|
4356
|
-
dotLabels: Partial<Record<
|
|
5433
|
+
dotLabels: Partial<Record<TaoAvatarDot, string>>;
|
|
4357
5434
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4358
5435
|
|
|
4359
|
-
declare type TaoAvatarDot =
|
|
5436
|
+
declare type TaoAvatarDot = TaoTone;
|
|
4360
5437
|
|
|
4361
5438
|
export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
4362
5439
|
|
|
4363
|
-
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<
|
|
5440
|
+
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
|
|
4364
5441
|
items: TaoBreadcrumbItem[];
|
|
4365
5442
|
ariaLabel?: string;
|
|
4366
|
-
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5443
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
|
|
4367
5444
|
items: TaoBreadcrumbItem[];
|
|
4368
5445
|
ariaLabel?: string;
|
|
4369
5446
|
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -4375,13 +5452,26 @@ export declare interface TaoBreadcrumbItem {
|
|
|
4375
5452
|
|
|
4376
5453
|
export declare const TaoButton: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4377
5454
|
|
|
5455
|
+
export declare const TaoCalendar: __VLS_WithTemplateSlots_47<typeof __VLS_component_47, ReturnType<typeof __VLS_template_47>>;
|
|
5456
|
+
|
|
4378
5457
|
export declare const TaoCard: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, ReturnType<typeof __VLS_template_7>>;
|
|
4379
5458
|
|
|
4380
|
-
export declare const TaoCarousel:
|
|
5459
|
+
export declare const TaoCarousel: __VLS_WithTemplateSlots_62<typeof __VLS_component_62, ReturnType<typeof __VLS_template_62>>;
|
|
4381
5460
|
|
|
4382
5461
|
export declare const TaoCheckbox: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, ReturnType<typeof __VLS_template_24>>;
|
|
4383
5462
|
|
|
4384
|
-
export declare const
|
|
5463
|
+
export declare const TaoChecklist: __VLS_WithTemplateSlots_39<typeof __VLS_component_39, ReturnType<typeof __VLS_template_39>>;
|
|
5464
|
+
|
|
5465
|
+
/** One line of TaoChecklist. / Одна строка TaoChecklist. */
|
|
5466
|
+
export declare interface TaoChecklistItem {
|
|
5467
|
+
value: string | number;
|
|
5468
|
+
label: string;
|
|
5469
|
+
/** A second, quieter line. / Вторая, тихая строка. */
|
|
5470
|
+
description?: string;
|
|
5471
|
+
disabled?: boolean;
|
|
5472
|
+
}
|
|
5473
|
+
|
|
5474
|
+
export declare const TaoColorInput: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
|
|
4385
5475
|
/** Color as a hex string. / Цвет строкой hex. */
|
|
4386
5476
|
modelValue: string;
|
|
4387
5477
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4395,7 +5485,7 @@ eyedropper?: boolean;
|
|
|
4395
5485
|
disabled?: boolean;
|
|
4396
5486
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
4397
5487
|
error?: boolean;
|
|
4398
|
-
|
|
5488
|
+
placement?: TaoPlacement;
|
|
4399
5489
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
4400
5490
|
size?: TaoSize;
|
|
4401
5491
|
chooseLabel?: string;
|
|
@@ -4405,12 +5495,12 @@ modes: () => string[];
|
|
|
4405
5495
|
eyedropper: boolean;
|
|
4406
5496
|
disabled: boolean;
|
|
4407
5497
|
error: boolean;
|
|
4408
|
-
|
|
5498
|
+
placement: string;
|
|
4409
5499
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4410
|
-
"update:modelValue": (hex: string) => void;
|
|
4411
5500
|
change: (hex: string) => void;
|
|
5501
|
+
"update:modelValue": (hex: string) => void;
|
|
4412
5502
|
"update:mode": (mode: ColorMode) => void;
|
|
4413
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5503
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
|
|
4414
5504
|
/** Color as a hex string. / Цвет строкой hex. */
|
|
4415
5505
|
modelValue: string;
|
|
4416
5506
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4424,7 +5514,7 @@ eyedropper?: boolean;
|
|
|
4424
5514
|
disabled?: boolean;
|
|
4425
5515
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
4426
5516
|
error?: boolean;
|
|
4427
|
-
|
|
5517
|
+
placement?: TaoPlacement;
|
|
4428
5518
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
4429
5519
|
size?: TaoSize;
|
|
4430
5520
|
chooseLabel?: string;
|
|
@@ -4434,21 +5524,21 @@ modes: () => string[];
|
|
|
4434
5524
|
eyedropper: boolean;
|
|
4435
5525
|
disabled: boolean;
|
|
4436
5526
|
error: boolean;
|
|
4437
|
-
|
|
5527
|
+
placement: string;
|
|
4438
5528
|
}>>> & Readonly<{
|
|
4439
|
-
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4440
5529
|
onChange?: ((hex: string) => any) | undefined;
|
|
5530
|
+
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4441
5531
|
"onUpdate:mode"?: ((mode: ColorMode) => any) | undefined;
|
|
4442
5532
|
}>, {
|
|
4443
|
-
error: boolean;
|
|
4444
|
-
position: "top" | "bottom" | "left" | "right";
|
|
4445
5533
|
disabled: boolean;
|
|
5534
|
+
error: boolean;
|
|
5535
|
+
placement: TaoPlacement;
|
|
4446
5536
|
alpha: boolean;
|
|
4447
5537
|
modes: readonly ColorMode[];
|
|
4448
5538
|
eyedropper: boolean;
|
|
4449
5539
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4450
5540
|
|
|
4451
|
-
export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<
|
|
5541
|
+
export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
|
|
4452
5542
|
/** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
|
|
4453
5543
|
modelValue: string;
|
|
4454
5544
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4477,10 +5567,10 @@ modes: () => string[];
|
|
|
4477
5567
|
eyedropper: boolean;
|
|
4478
5568
|
disabled: boolean;
|
|
4479
5569
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4480
|
-
"update:modelValue": (hex: string) => void;
|
|
4481
5570
|
change: (hex: string) => void;
|
|
5571
|
+
"update:modelValue": (hex: string) => void;
|
|
4482
5572
|
"update:mode": (mode: ColorMode) => void;
|
|
4483
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5573
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
|
|
4484
5574
|
/** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
|
|
4485
5575
|
modelValue: string;
|
|
4486
5576
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4509,8 +5599,8 @@ modes: () => string[];
|
|
|
4509
5599
|
eyedropper: boolean;
|
|
4510
5600
|
disabled: boolean;
|
|
4511
5601
|
}>>> & Readonly<{
|
|
4512
|
-
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4513
5602
|
onChange?: ((hex: string) => any) | undefined;
|
|
5603
|
+
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4514
5604
|
"onUpdate:mode"?: ((mode: ColorMode) => any) | undefined;
|
|
4515
5605
|
}>, {
|
|
4516
5606
|
disabled: boolean;
|
|
@@ -4519,7 +5609,7 @@ modes: readonly ColorMode[];
|
|
|
4519
5609
|
eyedropper: boolean;
|
|
4520
5610
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4521
5611
|
|
|
4522
|
-
export declare const TaoCombobox:
|
|
5612
|
+
export declare const TaoCombobox: __VLS_WithTemplateSlots_46<typeof __VLS_component_46, ReturnType<typeof __VLS_template_46>>;
|
|
4523
5613
|
|
|
4524
5614
|
export declare interface TaoConfirmApi {
|
|
4525
5615
|
(): TaoConfirmBuilder;
|
|
@@ -4570,15 +5660,17 @@ export declare const TaoContainer: __VLS_WithTemplateSlots_16<typeof __VLS_compo
|
|
|
4570
5660
|
|
|
4571
5661
|
declare type TaoContainerWidth = 'wide' | 'slim' | 'ultra-slim';
|
|
4572
5662
|
|
|
5663
|
+
export declare const TaoContextMenu: __VLS_WithTemplateSlots_42<typeof __VLS_component_42, ReturnType<typeof __VLS_template_42>>;
|
|
5664
|
+
|
|
4573
5665
|
export declare const TaoCopy: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, ReturnType<typeof __VLS_template_15>>;
|
|
4574
5666
|
|
|
4575
|
-
export declare const TaoCounter: DefineComponent<ExtractPropTypes<
|
|
5667
|
+
export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
|
|
4576
5668
|
value?: number;
|
|
4577
5669
|
maxDigits?: number;
|
|
4578
5670
|
}>, {
|
|
4579
5671
|
value: number;
|
|
4580
5672
|
maxDigits: number;
|
|
4581
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5673
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
|
|
4582
5674
|
value?: number;
|
|
4583
5675
|
maxDigits?: number;
|
|
4584
5676
|
}>, {
|
|
@@ -4589,7 +5681,7 @@ value: number;
|
|
|
4589
5681
|
maxDigits: number;
|
|
4590
5682
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4591
5683
|
|
|
4592
|
-
export declare const TaoDate:
|
|
5684
|
+
export declare const TaoDate: __VLS_WithTemplateSlots_48<typeof __VLS_component_48, ReturnType<typeof __VLS_template_48>>;
|
|
4593
5685
|
|
|
4594
5686
|
export declare interface TaoDateCell {
|
|
4595
5687
|
iso: string;
|
|
@@ -4603,26 +5695,28 @@ export declare interface TaoDateParts {
|
|
|
4603
5695
|
d: number;
|
|
4604
5696
|
}
|
|
4605
5697
|
|
|
4606
|
-
export declare const TaoDateRange:
|
|
5698
|
+
export declare const TaoDateRange: __VLS_WithTemplateSlots_49<typeof __VLS_component_49, ReturnType<typeof __VLS_template_49>>;
|
|
4607
5699
|
|
|
4608
5700
|
export declare interface TaoDateRangeValue {
|
|
4609
5701
|
start: string;
|
|
4610
5702
|
end: string;
|
|
4611
5703
|
}
|
|
4612
5704
|
|
|
4613
|
-
|
|
5705
|
+
/**
|
|
5706
|
+
* How roomy the controls are, on top of their size: `compact` for dense tools and tables, `comfortable` for touch,
|
|
5707
|
+
* `auto` — comfortable on a touch screen and default with a mouse. A context: set it on a container.
|
|
5708
|
+
* Насколько просторны контролы поверх их размера: `compact` для плотных инструментов и таблиц, `comfortable` под палец,
|
|
5709
|
+
* `auto` — comfortable на сенсорном экране и обычная с мышью. Это контекст: ставится на контейнер.
|
|
5710
|
+
*/
|
|
5711
|
+
export declare type TaoDensity = 'compact' | 'default' | 'comfortable' | 'auto';
|
|
4614
5712
|
|
|
4615
|
-
export declare const
|
|
5713
|
+
export declare const TaoDivider: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, ReturnType<typeof __VLS_template_26>>;
|
|
4616
5714
|
|
|
4617
|
-
export declare
|
|
4618
|
-
id: string;
|
|
4619
|
-
name: string;
|
|
4620
|
-
ico?: string;
|
|
4621
|
-
}
|
|
5715
|
+
export declare const TaoDrawer: __VLS_WithTemplateSlots_61<typeof __VLS_component_61, ReturnType<typeof __VLS_template_61>>;
|
|
4622
5716
|
|
|
4623
5717
|
export declare const TaoDropdownMenu: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, ReturnType<typeof __VLS_template_34>>;
|
|
4624
5718
|
|
|
4625
|
-
export declare const TaoEmpty:
|
|
5719
|
+
export declare const TaoEmpty: __VLS_WithTemplateSlots_58<typeof __VLS_component_58, ReturnType<typeof __VLS_template_58>>;
|
|
4626
5720
|
|
|
4627
5721
|
export declare const TaoFieldset: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, ReturnType<typeof __VLS_template_27>>;
|
|
4628
5722
|
|
|
@@ -4630,7 +5724,7 @@ export declare const TaoFileDrop: __VLS_WithTemplateSlots_33<typeof __VLS_compon
|
|
|
4630
5724
|
|
|
4631
5725
|
export declare const TaoFlex: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, ReturnType<typeof __VLS_template_17>>;
|
|
4632
5726
|
|
|
4633
|
-
export declare const TaoFormField:
|
|
5727
|
+
export declare const TaoFormField: __VLS_WithTemplateSlots_44<typeof __VLS_component_44, ReturnType<typeof __VLS_template_44>>;
|
|
4634
5728
|
|
|
4635
5729
|
export declare interface TaoFormFieldContext {
|
|
4636
5730
|
id: string;
|
|
@@ -4642,8 +5736,44 @@ export declare const TaoGrid: __VLS_WithTemplateSlots_19<typeof __VLS_component_
|
|
|
4642
5736
|
|
|
4643
5737
|
export declare const TaoGridItem: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, ReturnType<typeof __VLS_template_20>>;
|
|
4644
5738
|
|
|
5739
|
+
/**
|
|
5740
|
+
* The width classes of TaoGrid, by the width of the grid itself (not of the window): compact below 600px, medium below
|
|
5741
|
+
* 840px, expanded from 840px — the same as TaoNav.
|
|
5742
|
+
* Классы ширины TaoGrid по ширине самой сетки (не окна): compact до 600px, medium до 840px, expanded от 840px — как у TaoNav.
|
|
5743
|
+
*/
|
|
5744
|
+
export declare type TaoGridSize = 'compact' | 'medium' | 'expanded';
|
|
5745
|
+
|
|
5746
|
+
/** How many columns an item takes: a number, or `'full'` for the whole row. / Сколько колонок: число или `'full'` — весь ряд. */
|
|
5747
|
+
export declare type TaoGridSpan = number | 'full';
|
|
5748
|
+
|
|
4645
5749
|
export declare const TaoIcon: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, ReturnType<typeof __VLS_template_22>>;
|
|
4646
5750
|
|
|
5751
|
+
/**
|
|
5752
|
+
* Built-in icons: 24x24, a 2px round stroke, `currentColor`, so an icon follows the text colour and the font size.
|
|
5753
|
+
* They live under the reserved prefix `tao-` (`<TaoIcon name="tao-check" />`), so they never clash with the names of
|
|
5754
|
+
* your own icon font (`name="check"` still means `icon-check` of your font) or with icons you register.
|
|
5755
|
+
*
|
|
5756
|
+
* Встроенные иконки: 24x24, обводка 2px со скруглениями, `currentColor`: иконка следует цвету и размеру текста.
|
|
5757
|
+
* Живут под зарезервированной приставкой `tao-` (`<TaoIcon name="tao-check" />`), поэтому не пересекаются с именами
|
|
5758
|
+
* вашего шрифта (`name="check"` по-прежнему значит `icon-check` из вашего шрифта) и с зарегистрированными иконками.
|
|
5759
|
+
*/
|
|
5760
|
+
export declare interface TaoIconDef {
|
|
5761
|
+
/** The inner markup of the `<svg>` (paths, circles). Trusted: it is written by the library or by your app. / Внутренняя разметка `<svg>`. */
|
|
5762
|
+
body: string;
|
|
5763
|
+
/** `0 0 24 24` unless the icon is drawn on another grid. / `0 0 24 24`, если не другая сетка. */
|
|
5764
|
+
viewBox?: string;
|
|
5765
|
+
/**
|
|
5766
|
+
* Only straight horizontal and vertical lines through the middle (a plus, a minus). Scaled down, such a line falls
|
|
5767
|
+
* between two pixels and goes soft; with `grid` it is drawn 2 screen pixels wide and snapped to the pixel grid.
|
|
5768
|
+
* Только прямые линии через середину (плюс, минус). При уменьшении такая линия ложится между пикселями и мылится;
|
|
5769
|
+
* с `grid` она рисуется шириной 2 экранных пикселя и привязывается к пиксельной сетке.
|
|
5770
|
+
*/
|
|
5771
|
+
grid?: boolean;
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5774
|
+
/** Names of the built-in icons, with the prefix. / Имена встроенных иконок с приставкой. */
|
|
5775
|
+
export declare const taoIconNames: string[];
|
|
5776
|
+
|
|
4647
5777
|
export declare const TaoImage: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, ReturnType<typeof __VLS_template_23>>;
|
|
4648
5778
|
|
|
4649
5779
|
export declare const TaoInput: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, ReturnType<typeof __VLS_template_3>>;
|
|
@@ -4652,17 +5782,17 @@ export declare const TaoInputGroup: __VLS_WithTemplateSlots_4<typeof __VLS_compo
|
|
|
4652
5782
|
|
|
4653
5783
|
export declare const TaoInputNumber: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
|
|
4654
5784
|
|
|
5785
|
+
/** The `justify-content` keywords the library accepts, same for TaoFlex and TaoTabs. / Ключевые слова `justify-content`, общие для TaoFlex и TaoTabs. */
|
|
5786
|
+
export declare type TaoJustify = 'flex-start' | 'flex-end' | 'center' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5787
|
+
|
|
4655
5788
|
/** Length prop: a number is pixels, a string goes to CSS as is (`1rem`, `50%`, `var(--tao-space-4)`). / Число — пиксели, строка уходит в CSS как есть. */
|
|
4656
5789
|
export declare type TaoLength = number | string;
|
|
4657
5790
|
|
|
4658
|
-
export declare const TaoLink:
|
|
4659
|
-
|
|
4660
|
-
export declare const TaoList: __VLS_WithTemplateSlots_50<typeof __VLS_component_50, ReturnType<typeof __VLS_template_50>>;
|
|
5791
|
+
export declare const TaoLink: __VLS_WithTemplateSlots_43<typeof __VLS_component_43, ReturnType<typeof __VLS_template_43>>;
|
|
4661
5792
|
|
|
4662
|
-
export declare const
|
|
5793
|
+
export declare const TaoList: __VLS_WithTemplateSlots_59<typeof __VLS_component_59, ReturnType<typeof __VLS_template_59>>;
|
|
4663
5794
|
|
|
4664
|
-
|
|
4665
|
-
export declare type TaoListSize = TaoSize;
|
|
5795
|
+
export declare const TaoListItem: __VLS_WithTemplateSlots_60<typeof __VLS_component_60, ReturnType<typeof __VLS_template_60>>;
|
|
4666
5796
|
|
|
4667
5797
|
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_23<Props_10>, {
|
|
4668
5798
|
color: string;
|
|
@@ -4690,6 +5820,12 @@ export declare interface TaoLocale {
|
|
|
4690
5820
|
code: string;
|
|
4691
5821
|
alert: {
|
|
4692
5822
|
closeLabel: string;
|
|
5823
|
+
detailsLabel: string;
|
|
5824
|
+
};
|
|
5825
|
+
/** What a screen reader hears when the status of TaoPinCode changes. / Что слышит скринридер при смене статуса. */
|
|
5826
|
+
pinCode: {
|
|
5827
|
+
successText: string;
|
|
5828
|
+
errorText: string;
|
|
4693
5829
|
};
|
|
4694
5830
|
avatar: {
|
|
4695
5831
|
fallbackLabel: string;
|
|
@@ -4700,11 +5836,16 @@ export declare interface TaoLocale {
|
|
|
4700
5836
|
breadcrumb: {
|
|
4701
5837
|
ariaLabel: string;
|
|
4702
5838
|
};
|
|
5839
|
+
card: {
|
|
5840
|
+
closeLabel: string;
|
|
5841
|
+
};
|
|
4703
5842
|
carousel: {
|
|
4704
5843
|
ariaLabel: string;
|
|
4705
5844
|
prevLabel: string;
|
|
4706
5845
|
nextLabel: string;
|
|
4707
5846
|
dotsLabel: string;
|
|
5847
|
+
pauseLabel: string;
|
|
5848
|
+
playLabel: string;
|
|
4708
5849
|
/** `{n}`, `{count}`. */
|
|
4709
5850
|
slideLabel: string;
|
|
4710
5851
|
};
|
|
@@ -4743,6 +5884,25 @@ export declare interface TaoLocale {
|
|
|
4743
5884
|
dropdownMenu: {
|
|
4744
5885
|
menuLabel: string;
|
|
4745
5886
|
};
|
|
5887
|
+
menubar: {
|
|
5888
|
+
ariaLabel: string;
|
|
5889
|
+
};
|
|
5890
|
+
nav: {
|
|
5891
|
+
ariaLabel: string;
|
|
5892
|
+
moreLabel: string;
|
|
5893
|
+
};
|
|
5894
|
+
tree: {
|
|
5895
|
+
ariaLabel: string;
|
|
5896
|
+
loadingLabel: string;
|
|
5897
|
+
};
|
|
5898
|
+
/** `counterText`: `{checked}`, `{total}`. */
|
|
5899
|
+
checklist: {
|
|
5900
|
+
selectAllLabel: string;
|
|
5901
|
+
counterText: string;
|
|
5902
|
+
};
|
|
5903
|
+
contextMenu: {
|
|
5904
|
+
menuLabel: string;
|
|
5905
|
+
};
|
|
4746
5906
|
empty: {
|
|
4747
5907
|
title: string;
|
|
4748
5908
|
};
|
|
@@ -4775,6 +5935,10 @@ export declare interface TaoLocale {
|
|
|
4775
5935
|
/** `{n}` — pages skipped by «…». / сколько страниц перескакивает «…». */
|
|
4776
5936
|
jumpPrevLabel: string;
|
|
4777
5937
|
jumpNextLabel: string;
|
|
5938
|
+
/** The text before the page field. / Текст перед полем страницы. */
|
|
5939
|
+
goToText: string;
|
|
5940
|
+
/** `{count}` — the number of pages. / число страниц. */
|
|
5941
|
+
goToLabel: string;
|
|
4778
5942
|
/** `{from}`, `{to}`, `{total}`. */
|
|
4779
5943
|
totalText: string;
|
|
4780
5944
|
/** When there are no rows. / Когда строк нет. */
|
|
@@ -4815,7 +5979,7 @@ export declare interface TaoLocale {
|
|
|
4815
5979
|
/** Trigger of TaoColorInput. / Кнопка TaoColorInput. */
|
|
4816
5980
|
chooseLabel: string;
|
|
4817
5981
|
};
|
|
4818
|
-
|
|
5982
|
+
scrubber: {
|
|
4819
5983
|
playLabel: string;
|
|
4820
5984
|
pauseLabel: string;
|
|
4821
5985
|
restartLabel: string;
|
|
@@ -4831,9 +5995,98 @@ export declare function taoLocale(): TaoLocale;
|
|
|
4831
5995
|
/** Any subset of a locale, at any depth; the rest comes from the base. / Любая часть локали на любой глубине; остальное — из базовой. */
|
|
4832
5996
|
export declare type TaoLocaleOverrides = DeepPartial<TaoLocale>;
|
|
4833
5997
|
|
|
5998
|
+
export declare const TaoMarquee: __VLS_WithTemplateSlots_41<typeof __VLS_component_41, ReturnType<typeof __VLS_template_41>>;
|
|
5999
|
+
|
|
6000
|
+
export declare const TaoMenu: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, ReturnType<typeof __VLS_template_35>>;
|
|
6001
|
+
|
|
6002
|
+
/**
|
|
6003
|
+
* One entry of a menu. A plain data tree: TaoMenu / TaoDropdownMenu know nothing about commands or editors.
|
|
6004
|
+
* `type` tells what the entry is, so a checkbox can be told from a plain item and radios can be grouped.
|
|
6005
|
+
* Один пункт меню. Простое дерево данных: меню ничего не знает о командах и редакторах.
|
|
6006
|
+
* `type` говорит, что это за пункт: чекбокс отличается от обычного, радио группируются.
|
|
6007
|
+
*/
|
|
6008
|
+
export declare interface TaoMenuActionItem {
|
|
6009
|
+
type?: 'item';
|
|
6010
|
+
id: string;
|
|
6011
|
+
label: string;
|
|
6012
|
+
/** Icon name for TaoIcon. / Имя иконки для TaoIcon. */
|
|
6013
|
+
icon?: string;
|
|
6014
|
+
/** Shortcut as a ready string to show («Ctrl+S», «⌘S»); the menu does not parse or listen to it. / Готовая строка для показа. */
|
|
6015
|
+
shortcut?: string;
|
|
6016
|
+
disabled?: boolean;
|
|
6017
|
+
/** A submenu. / Подменю. */
|
|
6018
|
+
items?: TaoMenuItem[];
|
|
6019
|
+
}
|
|
6020
|
+
|
|
6021
|
+
export declare const TaoMenubar: __VLS_WithTemplateSlots_36<typeof __VLS_component_36, ReturnType<typeof __VLS_template_36>>;
|
|
6022
|
+
|
|
6023
|
+
export declare interface TaoMenuCheckboxItem {
|
|
6024
|
+
type: 'checkbox';
|
|
6025
|
+
id: string;
|
|
6026
|
+
label: string;
|
|
6027
|
+
checked: boolean;
|
|
6028
|
+
shortcut?: string;
|
|
6029
|
+
disabled?: boolean;
|
|
6030
|
+
}
|
|
6031
|
+
|
|
6032
|
+
/**
|
|
6033
|
+
* Why a menu closed: `outside` is a press elsewhere, `scroll` the page scrolled (`closeOnScroll`).
|
|
6034
|
+
* Почему меню закрылось: `outside` — нажатие в другом месте, `scroll` — прокрутка страницы (`closeOnScroll`).
|
|
6035
|
+
*/
|
|
6036
|
+
export declare type TaoMenuCloseReason = 'escape' | 'select' | 'outside' | 'tab' | 'scroll';
|
|
6037
|
+
|
|
6038
|
+
export declare type TaoMenuItem = TaoMenuActionItem | TaoMenuCheckboxItem | TaoMenuRadioItem | TaoMenuLabelItem | TaoMenuSeparatorItem;
|
|
6039
|
+
|
|
6040
|
+
/** A non-interactive caption of the group that follows. / Подпись следующей группы. */
|
|
6041
|
+
export declare interface TaoMenuLabelItem {
|
|
6042
|
+
type: 'label';
|
|
6043
|
+
label: string;
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
export declare interface TaoMenuRadioItem {
|
|
6047
|
+
type: 'radio';
|
|
6048
|
+
id: string;
|
|
6049
|
+
/** Radios of one group: the checked one is the value. / Радио одной группы. */
|
|
6050
|
+
group: string;
|
|
6051
|
+
label: string;
|
|
6052
|
+
checked: boolean;
|
|
6053
|
+
shortcut?: string;
|
|
6054
|
+
disabled?: boolean;
|
|
6055
|
+
}
|
|
6056
|
+
|
|
6057
|
+
export declare interface TaoMenuSeparatorItem {
|
|
6058
|
+
type: 'separator';
|
|
6059
|
+
}
|
|
6060
|
+
|
|
4834
6061
|
export declare const TaoModal: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, ReturnType<typeof __VLS_template_8>>;
|
|
4835
6062
|
|
|
4836
|
-
export declare const
|
|
6063
|
+
export declare const TaoNav: __VLS_WithTemplateSlots_37<typeof __VLS_component_37, ReturnType<typeof __VLS_template_37>>;
|
|
6064
|
+
|
|
6065
|
+
/**
|
|
6066
|
+
* One section of the app in TaoNav. The same data for every layout: a bottom bar, a rail, a drawer.
|
|
6067
|
+
* Один раздел приложения в TaoNav. Одни данные для всех видов: нижняя панель, рейка, боковая панель.
|
|
6068
|
+
*/
|
|
6069
|
+
export declare interface TaoNavItem {
|
|
6070
|
+
id: string;
|
|
6071
|
+
label: string;
|
|
6072
|
+
/** Icon name for TaoIcon (the bar and the rail show it above the label). / Имя иконки для TaoIcon. */
|
|
6073
|
+
icon?: string;
|
|
6074
|
+
/** A link: rendered as `<a href>`; without it a button. / Ссылка: рендерится как `<a href>`, без неё кнопка. */
|
|
6075
|
+
href?: string;
|
|
6076
|
+
/** A count (`3`, `'99+'`) or `true` for a dot. / Счётчик или `true` для точки. */
|
|
6077
|
+
badge?: number | string | boolean;
|
|
6078
|
+
disabled?: boolean;
|
|
6079
|
+
}
|
|
6080
|
+
|
|
6081
|
+
/**
|
|
6082
|
+
* `bar` — a bottom bar for 3–5 sections, `rail` — a narrow side rail with icons, `drawer` — a side panel with labels,
|
|
6083
|
+
* `auto` — chosen by the width of TaoNav itself: bar below 600px, rail below 840px, drawer from 840px.
|
|
6084
|
+
* `bar` — нижняя панель на 3–5 разделов, `rail` — узкая боковая рейка с иконками, `drawer` — боковая панель с подписями,
|
|
6085
|
+
* `auto` — по ширине самого TaoNav: bar до 600px, rail до 840px, drawer от 840px.
|
|
6086
|
+
*/
|
|
6087
|
+
export declare type TaoNavLayout = 'auto' | 'bar' | 'rail' | 'drawer';
|
|
6088
|
+
|
|
6089
|
+
export declare const TaoPagination: __VLS_WithTemplateSlots_57<typeof __VLS_component_57, ReturnType<typeof __VLS_template_57>>;
|
|
4837
6090
|
|
|
4838
6091
|
export declare type TaoPaginationItem = {
|
|
4839
6092
|
type: 'page';
|
|
@@ -4843,7 +6096,37 @@ export declare type TaoPaginationItem = {
|
|
|
4843
6096
|
id: 'left' | 'right';
|
|
4844
6097
|
};
|
|
4845
6098
|
|
|
4846
|
-
|
|
6099
|
+
/**
|
|
6100
|
+
* The CSS of a palette: `[data-tao-theme="name"]` is its dark mode, `[data-tao-theme="name"][data-tao-mode="light"]` the
|
|
6101
|
+
* light one. Only what the palette decides: the neutral roles come from the dark / light theme underneath.
|
|
6102
|
+
* CSS палитры: `[data-tao-theme="name"]` — тёмный режим, с `[data-tao-mode="light"]` — светлый. Только то, что решает
|
|
6103
|
+
* палитра: нейтральные роли приходят из тёмной / светлой темы под ней.
|
|
6104
|
+
*/
|
|
6105
|
+
export declare function taoPaletteCss(def: TaoPaletteDef): string;
|
|
6106
|
+
|
|
6107
|
+
export declare interface TaoPaletteDef {
|
|
6108
|
+
/** The value of `data-tao-theme`. / Значение `data-tao-theme`. */
|
|
6109
|
+
name: string;
|
|
6110
|
+
/** What a picker shows. / Что показывает выбор. */
|
|
6111
|
+
label: string;
|
|
6112
|
+
/** Four stops, from the darkest to the lightest. / Четыре стопа от тёмного к светлому. */
|
|
6113
|
+
stops: readonly [string, string, string, string];
|
|
6114
|
+
/** Which stop is the accent (0–3). By default it is picked by lightness. / Какой стоп акцентный; по умолчанию выбирается по яркости. */
|
|
6115
|
+
accent?: 0 | 1 | 2 | 3;
|
|
6116
|
+
/** Your own colour (dark mode fill) for a status, when the automatic one does not suit. / Свой цвет статуса, если автоматический не подошёл. */
|
|
6117
|
+
status?: Partial<Record<TaoStatusName, string>>;
|
|
6118
|
+
}
|
|
6119
|
+
|
|
6120
|
+
export declare type TaoPaletteMode = 'dark' | 'light';
|
|
6121
|
+
|
|
6122
|
+
/**
|
|
6123
|
+
* The ready-made palettes. `data-tao-theme="<name>"` turns one on (dark); add `data-tao-mode="light"` for its light twin.
|
|
6124
|
+
* The CSS is `@1337exp/taoui/styles/palettes/<name>.css` (or `index.css` for all), generated from these stops.
|
|
6125
|
+
* Готовые палитры. `data-tao-theme="<name>"` включает палитру (тёмную), `data-tao-mode="light"` — её светлую версию.
|
|
6126
|
+
*/
|
|
6127
|
+
export declare const taoPalettes: readonly TaoPaletteDef[];
|
|
6128
|
+
|
|
6129
|
+
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
|
|
4847
6130
|
/** Number of cells. Not needed with `format` (it is counted from the mask). / Число ячеек. С `format` не нужно (считается по маске). */
|
|
4848
6131
|
length?: number;
|
|
4849
6132
|
/**
|
|
@@ -4855,8 +6138,6 @@ length?: number;
|
|
|
4855
6138
|
format?: string;
|
|
4856
6139
|
/** Cells show dots instead of characters. / Ячейки показывают точки вместо символов. */
|
|
4857
6140
|
masked?: boolean;
|
|
4858
|
-
/** @deprecated Use `masked` — `hidden` is a native attribute. / Используйте `masked` — `hidden` это нативный атрибут. */
|
|
4859
|
-
hidden?: boolean;
|
|
4860
6141
|
placeholder?: string;
|
|
4861
6142
|
disabled?: boolean;
|
|
4862
6143
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
@@ -4868,22 +6149,36 @@ numbersOnly?: boolean;
|
|
|
4868
6149
|
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
4869
6150
|
* `input` — цифра остаётся, пока не введут новую. */
|
|
4870
6151
|
clearOn?: "focus" | "input";
|
|
6152
|
+
/**
|
|
6153
|
+
* The result of the check, set by the app: `error` shakes the cells and paints them red, `success` runs a soft
|
|
6154
|
+
* glow over them and paints them green; a screen reader hears it too. Set `idle` again when the user edits.
|
|
6155
|
+
* Результат проверки, его ставит приложение: `error` встряхивает ячейки и красит красным, `success` проводит по
|
|
6156
|
+
* ним мягкое свечение и красит зелёным; скринридер тоже слышит. Верните `idle`, когда пользователь правит код.
|
|
6157
|
+
*/
|
|
6158
|
+
status?: "idle" | "success" | "error";
|
|
6159
|
+
successText?: string;
|
|
6160
|
+
errorText?: string;
|
|
4871
6161
|
}>, {
|
|
4872
6162
|
masked: boolean;
|
|
4873
|
-
hidden: boolean;
|
|
4874
6163
|
placeholder: string;
|
|
4875
6164
|
disabled: boolean;
|
|
4876
6165
|
error: boolean;
|
|
4877
6166
|
modelValue: string;
|
|
4878
6167
|
numbersOnly: boolean;
|
|
4879
6168
|
clearOn: string;
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
6169
|
+
status: string;
|
|
6170
|
+
successText: undefined;
|
|
6171
|
+
errorText: undefined;
|
|
6172
|
+
}>>, {
|
|
6173
|
+
/** Plays the status animation again (a second wrong code). / Проигрывает анимацию статуса ещё раз. */
|
|
6174
|
+
play: typeof play;
|
|
6175
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4884
6176
|
blur: () => void;
|
|
6177
|
+
change: (value: string) => void;
|
|
6178
|
+
"update:modelValue": (value: string) => void;
|
|
6179
|
+
active: (el: HTMLInputElement | null, index: number) => void;
|
|
4885
6180
|
complete: (value: string) => void;
|
|
4886
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
6181
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
|
|
4887
6182
|
/** Number of cells. Not needed with `format` (it is counted from the mask). / Число ячеек. С `format` не нужно (считается по маске). */
|
|
4888
6183
|
length?: number;
|
|
4889
6184
|
/**
|
|
@@ -4895,8 +6190,6 @@ length?: number;
|
|
|
4895
6190
|
format?: string;
|
|
4896
6191
|
/** Cells show dots instead of characters. / Ячейки показывают точки вместо символов. */
|
|
4897
6192
|
masked?: boolean;
|
|
4898
|
-
/** @deprecated Use `masked` — `hidden` is a native attribute. / Используйте `masked` — `hidden` это нативный атрибут. */
|
|
4899
|
-
hidden?: boolean;
|
|
4900
6193
|
placeholder?: string;
|
|
4901
6194
|
disabled?: boolean;
|
|
4902
6195
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
@@ -4908,35 +6201,53 @@ numbersOnly?: boolean;
|
|
|
4908
6201
|
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
4909
6202
|
* `input` — цифра остаётся, пока не введут новую. */
|
|
4910
6203
|
clearOn?: "focus" | "input";
|
|
6204
|
+
/**
|
|
6205
|
+
* The result of the check, set by the app: `error` shakes the cells and paints them red, `success` runs a soft
|
|
6206
|
+
* glow over them and paints them green; a screen reader hears it too. Set `idle` again when the user edits.
|
|
6207
|
+
* Результат проверки, его ставит приложение: `error` встряхивает ячейки и красит красным, `success` проводит по
|
|
6208
|
+
* ним мягкое свечение и красит зелёным; скринридер тоже слышит. Верните `idle`, когда пользователь правит код.
|
|
6209
|
+
*/
|
|
6210
|
+
status?: "idle" | "success" | "error";
|
|
6211
|
+
successText?: string;
|
|
6212
|
+
errorText?: string;
|
|
4911
6213
|
}>, {
|
|
4912
6214
|
masked: boolean;
|
|
4913
|
-
hidden: boolean;
|
|
4914
6215
|
placeholder: string;
|
|
4915
6216
|
disabled: boolean;
|
|
4916
6217
|
error: boolean;
|
|
4917
6218
|
modelValue: string;
|
|
4918
6219
|
numbersOnly: boolean;
|
|
4919
6220
|
clearOn: string;
|
|
6221
|
+
status: string;
|
|
6222
|
+
successText: undefined;
|
|
6223
|
+
errorText: undefined;
|
|
4920
6224
|
}>>> & Readonly<{
|
|
4921
|
-
onActive?: ((el: HTMLInputElement | null, index: number) => any) | undefined;
|
|
4922
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4923
|
-
onChange?: ((value: string) => any) | undefined;
|
|
4924
6225
|
onBlur?: (() => any) | undefined;
|
|
6226
|
+
onChange?: ((value: string) => any) | undefined;
|
|
6227
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6228
|
+
onActive?: ((el: HTMLInputElement | null, index: number) => any) | undefined;
|
|
4925
6229
|
onComplete?: ((value: string) => any) | undefined;
|
|
4926
6230
|
}>, {
|
|
4927
|
-
|
|
6231
|
+
status: "idle" | "success" | "error";
|
|
4928
6232
|
disabled: boolean;
|
|
4929
6233
|
placeholder: string;
|
|
6234
|
+
error: boolean;
|
|
4930
6235
|
modelValue: string;
|
|
4931
|
-
|
|
6236
|
+
successText: string;
|
|
4932
6237
|
masked: boolean;
|
|
4933
6238
|
numbersOnly: boolean;
|
|
4934
6239
|
clearOn: "focus" | "input";
|
|
6240
|
+
errorText: string;
|
|
4935
6241
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4936
6242
|
|
|
4937
|
-
|
|
6243
|
+
/**
|
|
6244
|
+
* Where a floating panel sits against its anchor: a side, optionally aligned to the start or the end of it
|
|
6245
|
+
* (`bottom-start` = below, left edges aligned; `bottom-end` = below, right edges aligned; `top` = above, centred).
|
|
6246
|
+
* Где панель стоит относительно якоря: сторона и, при желании, выравнивание по началу или концу.
|
|
6247
|
+
*/
|
|
6248
|
+
export declare type TaoPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
4938
6249
|
|
|
4939
|
-
declare
|
|
6250
|
+
export declare const TaoPopover: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, ReturnType<typeof __VLS_template_12>>;
|
|
4940
6251
|
|
|
4941
6252
|
export declare const TaoProgress: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, ReturnType<typeof __VLS_template_30>>;
|
|
4942
6253
|
|
|
@@ -4944,24 +6255,29 @@ export declare const TaoQuantity: __VLS_WithTemplateSlots_6<typeof __VLS_compone
|
|
|
4944
6255
|
|
|
4945
6256
|
export declare type TaoQuantityChangeSource = 'input' | 'dec' | 'inc';
|
|
4946
6257
|
|
|
4947
|
-
export declare const TaoRadio:
|
|
6258
|
+
export declare const TaoRadio: __VLS_WithTemplateSlots_51<typeof __VLS_component_51, ReturnType<typeof __VLS_template_51>>;
|
|
4948
6259
|
|
|
4949
|
-
export declare const TaoRadioGroup:
|
|
6260
|
+
export declare const TaoRadioGroup: __VLS_WithTemplateSlots_52<typeof __VLS_component_52, ReturnType<typeof __VLS_template_52>>;
|
|
4950
6261
|
|
|
4951
6262
|
export declare type TaoRadioValue = string | number | boolean;
|
|
4952
6263
|
|
|
4953
6264
|
export declare const TaoRangeSlider: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, ReturnType<typeof __VLS_template_32>>;
|
|
4954
6265
|
|
|
6266
|
+
/** What `--tao-density` can hold: `auto` resolves to one of these. / Что лежит в `--tao-density`. */
|
|
6267
|
+
export declare type TaoResolvedDensity = Exclude<TaoDensity, 'auto'>;
|
|
6268
|
+
|
|
6269
|
+
/** One value for every width, or a value per width class. / Одно значение на все ширины или по классам ширины. */
|
|
6270
|
+
export declare type TaoResponsive<T> = T | Partial<Record<TaoGridSize, T>>;
|
|
6271
|
+
|
|
4955
6272
|
export declare const TaoScrollTop: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, ReturnType<typeof __VLS_template_29>>;
|
|
4956
6273
|
|
|
4957
|
-
export declare const
|
|
6274
|
+
export declare const TaoScrubber: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, ReturnType<typeof __VLS_template_10>>;
|
|
4958
6275
|
|
|
4959
|
-
export declare const
|
|
6276
|
+
export declare const TaoSegmented: __VLS_WithTemplateSlots_53<typeof __VLS_component_53, ReturnType<typeof __VLS_template_53>>;
|
|
4960
6277
|
|
|
4961
|
-
|
|
4962
|
-
export declare type TaoSegmentedSize = TaoSize;
|
|
6278
|
+
export declare const TaoSegmentedOption: __VLS_WithTemplateSlots_54<typeof __VLS_component_54, ReturnType<typeof __VLS_template_54>>;
|
|
4963
6279
|
|
|
4964
|
-
export declare const TaoSelect:
|
|
6280
|
+
export declare const TaoSelect: __VLS_WithTemplateSlots_45<typeof __VLS_component_45, ReturnType<typeof __VLS_template_45>>;
|
|
4965
6281
|
|
|
4966
6282
|
export declare interface TaoSelectOption {
|
|
4967
6283
|
value: string | number;
|
|
@@ -4972,7 +6288,7 @@ export declare interface TaoSelectOption {
|
|
|
4972
6288
|
/** One size scale for every control. / Единая шкала размеров для всех контролов. */
|
|
4973
6289
|
export declare type TaoSize = 'small' | 'medium' | 'large';
|
|
4974
6290
|
|
|
4975
|
-
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<
|
|
6291
|
+
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
|
|
4976
6292
|
variant?: "text" | "title" | "circle" | "rect";
|
|
4977
6293
|
lines?: number;
|
|
4978
6294
|
width?: string;
|
|
@@ -4982,7 +6298,7 @@ variant: string;
|
|
|
4982
6298
|
lines: number;
|
|
4983
6299
|
width: string;
|
|
4984
6300
|
height: string;
|
|
4985
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
6301
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
|
|
4986
6302
|
variant?: "text" | "title" | "circle" | "rect";
|
|
4987
6303
|
lines?: number;
|
|
4988
6304
|
width?: string;
|
|
@@ -4993,9 +6309,9 @@ lines: number;
|
|
|
4993
6309
|
width: string;
|
|
4994
6310
|
height: string;
|
|
4995
6311
|
}>>> & Readonly<{}>, {
|
|
4996
|
-
variant: "text" | "title" | "circle" | "rect";
|
|
4997
6312
|
width: string;
|
|
4998
6313
|
height: string;
|
|
6314
|
+
variant: "text" | "title" | "circle" | "rect";
|
|
4999
6315
|
lines: number;
|
|
5000
6316
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5001
6317
|
|
|
@@ -5071,41 +6387,40 @@ export declare type TaoSpoilerName = string | number;
|
|
|
5071
6387
|
export declare interface TaoStageItem {
|
|
5072
6388
|
key: string;
|
|
5073
6389
|
label?: string;
|
|
5074
|
-
|
|
5075
|
-
status?: TaoStageStatus | 'danger';
|
|
6390
|
+
status?: TaoStageStatus;
|
|
5076
6391
|
}
|
|
5077
6392
|
|
|
5078
|
-
export declare const TaoStages:
|
|
6393
|
+
export declare const TaoStages: __VLS_WithTemplateSlots_63<typeof __VLS_component_63, ReturnType<typeof __VLS_template_63>>;
|
|
5079
6394
|
|
|
5080
6395
|
export declare type TaoStageStatus = 'wait' | 'work' | 'ok' | 'bad';
|
|
5081
6396
|
|
|
6397
|
+
export declare type TaoStatusName = 'danger' | 'warning' | 'success' | 'info';
|
|
6398
|
+
|
|
6399
|
+
/** Which side of a panel the stripe is on. / С какой стороны панели полоса. */
|
|
6400
|
+
export declare type TaoStripe = 'top' | 'left' | 'bottom';
|
|
6401
|
+
|
|
6402
|
+
/** The stripe colour: a tone (the accent by default) or the palette gradient. / Цвет полосы: тон или градиент палитры. */
|
|
6403
|
+
export declare type TaoStripeTone = TaoToneName | 'gradient';
|
|
6404
|
+
|
|
5082
6405
|
/**
|
|
5083
6406
|
* What a panel is made of: `flat` fill, `grain` (film grain), `glass` (blurred, translucent).
|
|
5084
6407
|
* Из чего сделана панель: `flat` — заливка, `grain` — плёночное зерно, `glass` — размытое стекло.
|
|
5085
6408
|
*/
|
|
5086
6409
|
export declare type TaoSurface = 'flat' | 'grain' | 'glass';
|
|
5087
6410
|
|
|
5088
|
-
export declare const TaoSwitch:
|
|
5089
|
-
|
|
5090
|
-
declare interface TaoTabBase {
|
|
5091
|
-
label: string;
|
|
5092
|
-
disabled?: boolean;
|
|
5093
|
-
}
|
|
6411
|
+
export declare const TaoSwitch: __VLS_WithTemplateSlots_50<typeof __VLS_component_50, ReturnType<typeof __VLS_template_50>>;
|
|
5094
6412
|
|
|
5095
6413
|
/**
|
|
5096
|
-
* One tab. `value` is what v-model holds, same as TaoSelectOption
|
|
5097
|
-
* Одна вкладка. `value` — то, что хранит v-model, как у TaoSelectOption
|
|
6414
|
+
* One tab. `value` is what v-model holds, same as TaoSelectOption.
|
|
6415
|
+
* Одна вкладка. `value` — то, что хранит v-model, как у TaoSelectOption.
|
|
5098
6416
|
*/
|
|
5099
|
-
export declare
|
|
6417
|
+
export declare interface TaoTabItem {
|
|
5100
6418
|
value: string;
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
key: string;
|
|
5105
|
-
value?: never;
|
|
5106
|
-
});
|
|
6419
|
+
label: string;
|
|
6420
|
+
disabled?: boolean;
|
|
6421
|
+
}
|
|
5107
6422
|
|
|
5108
|
-
export declare const TaoTable:
|
|
6423
|
+
export declare const TaoTable: __VLS_WithTemplateSlots_56<typeof __VLS_component_56, ReturnType<typeof __VLS_template_56>>;
|
|
5109
6424
|
|
|
5110
6425
|
export declare type TaoTableAlign = 'left' | 'center' | 'right';
|
|
5111
6426
|
|
|
@@ -5145,38 +6460,25 @@ variant?: TaoTextareaVariant;
|
|
|
5145
6460
|
readonly?: boolean;
|
|
5146
6461
|
/** Spaces are not entered: neither typed nor pasted. / Пробелы не вводятся — ни с клавиатуры, ни вставкой. */
|
|
5147
6462
|
noSpace?: boolean;
|
|
5148
|
-
/** @deprecated Use `readonly`. Renders the text instead of the field. / Используйте `readonly`. */
|
|
5149
|
-
dummy?: boolean;
|
|
5150
6463
|
rows?: number;
|
|
5151
6464
|
resize?: boolean;
|
|
5152
6465
|
modelValue?: string;
|
|
5153
|
-
/** @deprecated Use `variant="filled"` (or `"plain"` together with noBackground). / Используйте `variant="filled"`. */
|
|
5154
|
-
noBorder?: boolean;
|
|
5155
|
-
/** @deprecated Use `variant="plain"`. / Используйте `variant="plain"`. */
|
|
5156
|
-
noBackground?: boolean;
|
|
5157
6466
|
/** Focus on mount. / Фокус при монтировании. */
|
|
5158
6467
|
autofocus?: boolean;
|
|
5159
|
-
/** @deprecated Use `autofocus`, same as the native attribute. / Используйте `autofocus`, как нативный атрибут. */
|
|
5160
|
-
autoFocus?: boolean;
|
|
5161
|
-
/** @deprecated The bar on the right. Will be removed. / Полоса справа. Будет удалено. */
|
|
5162
|
-
borderInverse?: boolean;
|
|
5163
6468
|
/** Text alignment. / Выравнивание текста. */
|
|
5164
6469
|
align?: "start" | "center" | "end";
|
|
5165
|
-
/** @deprecated Use `align="center"`. / Используйте `align="center"`. */
|
|
5166
|
-
textCenter?: boolean;
|
|
5167
6470
|
/**
|
|
5168
6471
|
* Enter leaves the field instead of a new line (Shift+Enter still breaks the line); `keydown` is emitted first.
|
|
5169
6472
|
* Enter снимает фокус вместо переноса (Shift+Enter переносит); `keydown` уходит раньше.
|
|
5170
6473
|
*/
|
|
5171
6474
|
blurOnEnter?: boolean;
|
|
5172
|
-
/** @deprecated It never submitted anything — use `blurOnEnter`. / Ничего не отправлял — используйте `blurOnEnter`. */
|
|
5173
|
-
submitOnEnter?: boolean;
|
|
5174
6475
|
error?: boolean;
|
|
5175
6476
|
id?: string;
|
|
5176
6477
|
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
5177
6478
|
count?: boolean;
|
|
5178
6479
|
}>, {
|
|
5179
6480
|
placeholder: string;
|
|
6481
|
+
variant: string;
|
|
5180
6482
|
spellcheck: boolean;
|
|
5181
6483
|
autocomplete: string;
|
|
5182
6484
|
minlength: number;
|
|
@@ -5184,27 +6486,20 @@ maxlength: undefined;
|
|
|
5184
6486
|
disabled: boolean;
|
|
5185
6487
|
readonly: boolean;
|
|
5186
6488
|
noSpace: boolean;
|
|
5187
|
-
dummy: boolean;
|
|
5188
6489
|
rows: number;
|
|
5189
6490
|
resize: boolean;
|
|
5190
6491
|
modelValue: string;
|
|
5191
|
-
noBorder: boolean;
|
|
5192
|
-
noBackground: boolean;
|
|
5193
6492
|
autofocus: boolean;
|
|
5194
|
-
|
|
5195
|
-
borderInverse: boolean;
|
|
5196
|
-
align: undefined;
|
|
5197
|
-
textCenter: boolean;
|
|
6493
|
+
align: string;
|
|
5198
6494
|
blurOnEnter: boolean;
|
|
5199
|
-
submitOnEnter: boolean;
|
|
5200
6495
|
error: boolean;
|
|
5201
6496
|
count: boolean;
|
|
5202
6497
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5203
|
-
"update:modelValue": (...args: any[]) => void;
|
|
5204
|
-
change: (...args: any[]) => void;
|
|
5205
|
-
keydown: (...args: any[]) => void;
|
|
5206
6498
|
blur: (...args: any[]) => void;
|
|
6499
|
+
change: (...args: any[]) => void;
|
|
5207
6500
|
focus: (...args: any[]) => void;
|
|
6501
|
+
keydown: (...args: any[]) => void;
|
|
6502
|
+
"update:modelValue": (...args: any[]) => void;
|
|
5208
6503
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_30<{
|
|
5209
6504
|
placeholder?: string;
|
|
5210
6505
|
spellcheck?: boolean;
|
|
@@ -5223,38 +6518,25 @@ variant?: TaoTextareaVariant;
|
|
|
5223
6518
|
readonly?: boolean;
|
|
5224
6519
|
/** Spaces are not entered: neither typed nor pasted. / Пробелы не вводятся — ни с клавиатуры, ни вставкой. */
|
|
5225
6520
|
noSpace?: boolean;
|
|
5226
|
-
/** @deprecated Use `readonly`. Renders the text instead of the field. / Используйте `readonly`. */
|
|
5227
|
-
dummy?: boolean;
|
|
5228
6521
|
rows?: number;
|
|
5229
6522
|
resize?: boolean;
|
|
5230
6523
|
modelValue?: string;
|
|
5231
|
-
/** @deprecated Use `variant="filled"` (or `"plain"` together with noBackground). / Используйте `variant="filled"`. */
|
|
5232
|
-
noBorder?: boolean;
|
|
5233
|
-
/** @deprecated Use `variant="plain"`. / Используйте `variant="plain"`. */
|
|
5234
|
-
noBackground?: boolean;
|
|
5235
6524
|
/** Focus on mount. / Фокус при монтировании. */
|
|
5236
6525
|
autofocus?: boolean;
|
|
5237
|
-
/** @deprecated Use `autofocus`, same as the native attribute. / Используйте `autofocus`, как нативный атрибут. */
|
|
5238
|
-
autoFocus?: boolean;
|
|
5239
|
-
/** @deprecated The bar on the right. Will be removed. / Полоса справа. Будет удалено. */
|
|
5240
|
-
borderInverse?: boolean;
|
|
5241
6526
|
/** Text alignment. / Выравнивание текста. */
|
|
5242
6527
|
align?: "start" | "center" | "end";
|
|
5243
|
-
/** @deprecated Use `align="center"`. / Используйте `align="center"`. */
|
|
5244
|
-
textCenter?: boolean;
|
|
5245
6528
|
/**
|
|
5246
6529
|
* Enter leaves the field instead of a new line (Shift+Enter still breaks the line); `keydown` is emitted first.
|
|
5247
6530
|
* Enter снимает фокус вместо переноса (Shift+Enter переносит); `keydown` уходит раньше.
|
|
5248
6531
|
*/
|
|
5249
6532
|
blurOnEnter?: boolean;
|
|
5250
|
-
/** @deprecated It never submitted anything — use `blurOnEnter`. / Ничего не отправлял — используйте `blurOnEnter`. */
|
|
5251
|
-
submitOnEnter?: boolean;
|
|
5252
6533
|
error?: boolean;
|
|
5253
6534
|
id?: string;
|
|
5254
6535
|
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
5255
6536
|
count?: boolean;
|
|
5256
6537
|
}>, {
|
|
5257
6538
|
placeholder: string;
|
|
6539
|
+
variant: string;
|
|
5258
6540
|
spellcheck: boolean;
|
|
5259
6541
|
autocomplete: string;
|
|
5260
6542
|
minlength: number;
|
|
@@ -5262,56 +6544,67 @@ maxlength: undefined;
|
|
|
5262
6544
|
disabled: boolean;
|
|
5263
6545
|
readonly: boolean;
|
|
5264
6546
|
noSpace: boolean;
|
|
5265
|
-
dummy: boolean;
|
|
5266
6547
|
rows: number;
|
|
5267
6548
|
resize: boolean;
|
|
5268
6549
|
modelValue: string;
|
|
5269
|
-
noBorder: boolean;
|
|
5270
|
-
noBackground: boolean;
|
|
5271
6550
|
autofocus: boolean;
|
|
5272
|
-
|
|
5273
|
-
borderInverse: boolean;
|
|
5274
|
-
align: undefined;
|
|
5275
|
-
textCenter: boolean;
|
|
6551
|
+
align: string;
|
|
5276
6552
|
blurOnEnter: boolean;
|
|
5277
|
-
submitOnEnter: boolean;
|
|
5278
6553
|
error: boolean;
|
|
5279
6554
|
count: boolean;
|
|
5280
6555
|
}>>> & Readonly<{
|
|
5281
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
5282
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
5283
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
5284
6556
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
6557
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5285
6558
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
6559
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
6560
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
5286
6561
|
}>, {
|
|
5287
|
-
error: boolean;
|
|
5288
|
-
count: boolean;
|
|
5289
6562
|
disabled: boolean;
|
|
5290
6563
|
placeholder: string;
|
|
5291
|
-
|
|
6564
|
+
variant: TaoTextareaVariant;
|
|
6565
|
+
count: boolean;
|
|
6566
|
+
error: boolean;
|
|
5292
6567
|
resize: boolean;
|
|
6568
|
+
modelValue: string;
|
|
6569
|
+
align: "start" | "center" | "end";
|
|
5293
6570
|
autocomplete: string;
|
|
5294
6571
|
rows: number;
|
|
5295
|
-
align: "start" | "center" | "end";
|
|
5296
6572
|
maxlength: number;
|
|
5297
6573
|
spellcheck: boolean;
|
|
5298
6574
|
minlength: number;
|
|
5299
6575
|
readonly: boolean;
|
|
5300
6576
|
noSpace: boolean;
|
|
5301
|
-
dummy: boolean;
|
|
5302
|
-
noBorder: boolean;
|
|
5303
|
-
noBackground: boolean;
|
|
5304
6577
|
autofocus: boolean;
|
|
5305
|
-
autoFocus: boolean;
|
|
5306
|
-
borderInverse: boolean;
|
|
5307
|
-
textCenter: boolean;
|
|
5308
6578
|
blurOnEnter: boolean;
|
|
5309
|
-
submitOnEnter: boolean;
|
|
5310
6579
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5311
6580
|
|
|
5312
6581
|
declare type TaoTextareaVariant = 'bar' | 'outline' | 'filled' | 'plain';
|
|
5313
6582
|
|
|
5314
|
-
export declare const TaoTimeline:
|
|
6583
|
+
export declare const TaoTimeline: __VLS_WithTemplateSlots_40<typeof __VLS_component_40, ReturnType<typeof __VLS_template_40>>;
|
|
6584
|
+
|
|
6585
|
+
/** `start` — every event on one side, `alternate` — on both sides of the line. / По одну или по обе стороны линии. */
|
|
6586
|
+
export declare type TaoTimelineAlign = 'start' | 'alternate';
|
|
6587
|
+
|
|
6588
|
+
/**
|
|
6589
|
+
* One event of TaoTimeline: an order step, a release, a log line.
|
|
6590
|
+
* Одно событие TaoTimeline: шаг заказа, релиз, строка журнала.
|
|
6591
|
+
*/
|
|
6592
|
+
export declare interface TaoTimelineItem {
|
|
6593
|
+
id: string;
|
|
6594
|
+
title: string;
|
|
6595
|
+
/** The time to show: «12 May, 14:03», «2 hours ago». / Время для показа. */
|
|
6596
|
+
time?: string;
|
|
6597
|
+
/** The machine-readable time for `<time datetime>`: `2026-05-12T14:03`. / Время для машины. */
|
|
6598
|
+
datetime?: string;
|
|
6599
|
+
description?: string;
|
|
6600
|
+
/** Icon name for TaoIcon inside the marker. / Имя иконки для TaoIcon в маркере. */
|
|
6601
|
+
icon?: string;
|
|
6602
|
+
/** Colours the marker by status; without it the accent. / Красит маркер по статусу; без него — акцент. */
|
|
6603
|
+
tone?: TaoTone;
|
|
6604
|
+
}
|
|
6605
|
+
|
|
6606
|
+
/** Where an event stands against the current one. / Где событие относительно текущего. */
|
|
6607
|
+
export declare type TaoTimelineState = 'done' | 'current' | 'upcoming';
|
|
5315
6608
|
|
|
5316
6609
|
export declare interface TaoToastAction {
|
|
5317
6610
|
label: string;
|
|
@@ -5321,7 +6614,6 @@ export declare interface TaoToastAction {
|
|
|
5321
6614
|
export declare interface TaoToastApi {
|
|
5322
6615
|
(): TaoToastBuilder;
|
|
5323
6616
|
success(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5324
|
-
error(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5325
6617
|
danger(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5326
6618
|
warning(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5327
6619
|
info(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
@@ -5336,7 +6628,6 @@ export declare interface TaoToastApi {
|
|
|
5336
6628
|
|
|
5337
6629
|
export declare interface TaoToastBuilder {
|
|
5338
6630
|
success(): TaoToastBuilder;
|
|
5339
|
-
error(): TaoToastBuilder;
|
|
5340
6631
|
danger(): TaoToastBuilder;
|
|
5341
6632
|
warning(): TaoToastBuilder;
|
|
5342
6633
|
info(): TaoToastBuilder;
|
|
@@ -5411,16 +6702,43 @@ export declare interface TaoToastShortcutOptions {
|
|
|
5411
6702
|
onClosed?: () => void;
|
|
5412
6703
|
}
|
|
5413
6704
|
|
|
5414
|
-
export declare type TaoToastType = 'success' | '
|
|
6705
|
+
export declare type TaoToastType = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
5415
6706
|
|
|
5416
6707
|
export declare const TaoToastViewport: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5417
6708
|
|
|
5418
|
-
/** Status color shared by Alert, Tag, Button `tone`, Avatar `dot
|
|
6709
|
+
/** Status color shared by Alert, Tag, Button `tone`, Avatar `dot`, toast. / Цвет статуса, общий для Alert, Tag, Button `tone`, Avatar `dot`, toast. */
|
|
5419
6710
|
export declare type TaoTone = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
5420
6711
|
|
|
6712
|
+
/** A tone, or the theme's own accent (what a component uses when no tone is given). / Тон или акцент темы (то, что берёт компонент без тона). */
|
|
6713
|
+
export declare type TaoToneName = TaoTone | 'accent';
|
|
6714
|
+
|
|
5421
6715
|
export declare const TaoTooltip: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, ReturnType<typeof __VLS_template_11>>;
|
|
5422
6716
|
|
|
5423
|
-
declare
|
|
6717
|
+
export declare const TaoTree: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, ReturnType<typeof __VLS_template_38>>;
|
|
6718
|
+
|
|
6719
|
+
/** The state of a checkbox: `mixed` is a parent with only some of its leaves checked. / Состояние чекбокса. */
|
|
6720
|
+
export declare type TaoTreeCheckState = 'checked' | 'unchecked' | 'mixed';
|
|
6721
|
+
|
|
6722
|
+
/**
|
|
6723
|
+
* One node of TaoTree: a file, a folder, an object. A plain data tree; the tree never changes it.
|
|
6724
|
+
* Один узел TaoTree: файл, папка, объект. Простое дерево данных; TaoTree его не меняет.
|
|
6725
|
+
*/
|
|
6726
|
+
export declare interface TaoTreeNode {
|
|
6727
|
+
id: string;
|
|
6728
|
+
label: string;
|
|
6729
|
+
/** Icon name for TaoIcon. / Имя иконки для TaoIcon. */
|
|
6730
|
+
icon?: string;
|
|
6731
|
+
children?: TaoTreeNode[];
|
|
6732
|
+
/**
|
|
6733
|
+
* It has children that are not here yet: the tree calls `load(node)` when it opens.
|
|
6734
|
+
* У узла есть дети, которых ещё нет: дерево зовёт `load(node)` при раскрытии.
|
|
6735
|
+
*/
|
|
6736
|
+
hasChildren?: boolean;
|
|
6737
|
+
disabled?: boolean;
|
|
6738
|
+
}
|
|
6739
|
+
|
|
6740
|
+
/** `none` — nothing to select, `single` — one node, `multiple` — a set. / Режим выбора. */
|
|
6741
|
+
export declare type TaoTreeSelection = 'none' | 'single' | 'multiple';
|
|
5424
6742
|
|
|
5425
6743
|
declare const TaoUI: Plugin_2<[TaoUIOptions?]>;
|
|
5426
6744
|
export { TaoUI }
|
|
@@ -5443,4 +6761,11 @@ declare function toggle(): void;
|
|
|
5443
6761
|
/** Строка hex: `#rrggbb`, а с `alpha` и `#rrggbbaa`. Значения вне диапазона зажимаются, дробные округляются. */
|
|
5444
6762
|
export declare function toHex(color: Rgba, alpha?: boolean): string;
|
|
5445
6763
|
|
|
6764
|
+
/**
|
|
6765
|
+
* Class that sets the `--tao-tone*` tokens on an element (see styles/contexts/tone.css).
|
|
6766
|
+
* Unlike a size, a tone does not inherit: no tone → the accent.
|
|
6767
|
+
* Класс с токенами тона для элемента (см. styles/contexts/tone.css). В отличие от размера, тон не наследуется: без тона — акцент.
|
|
6768
|
+
*/
|
|
6769
|
+
export declare function toneClass(tone?: TaoToneName | null): string;
|
|
6770
|
+
|
|
5446
6771
|
export { }
|