@1337exp/taoui 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +314 -216
- package/MIGRATION-5.md +133 -0
- package/README.md +828 -682
- package/README.ru.md +828 -687
- package/dist/index.d.ts +2009 -701
- package/dist/{index.mjs → index.js} +3865 -2836
- 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 +1105 -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 -10602
- 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;
|
|
@@ -1108,9 +1686,9 @@ label: string;
|
|
|
1108
1686
|
disabled: boolean;
|
|
1109
1687
|
error: boolean;
|
|
1110
1688
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1111
|
-
"update:modelValue": (value: boolean) => void;
|
|
1112
1689
|
change: (value: boolean) => void;
|
|
1113
|
-
|
|
1690
|
+
"update:modelValue": (value: boolean) => void;
|
|
1691
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
|
|
1114
1692
|
modelValue?: boolean;
|
|
1115
1693
|
label?: string;
|
|
1116
1694
|
disabled?: boolean;
|
|
@@ -1124,16 +1702,16 @@ label: string;
|
|
|
1124
1702
|
disabled: boolean;
|
|
1125
1703
|
error: boolean;
|
|
1126
1704
|
}>>> & Readonly<{
|
|
1127
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1128
1705
|
onChange?: ((value: boolean) => any) | undefined;
|
|
1706
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1129
1707
|
}>, {
|
|
1130
1708
|
label: string;
|
|
1131
|
-
error: boolean;
|
|
1132
1709
|
disabled: boolean;
|
|
1710
|
+
error: boolean;
|
|
1133
1711
|
modelValue: boolean;
|
|
1134
1712
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1135
1713
|
|
|
1136
|
-
declare const
|
|
1714
|
+
declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
|
|
1137
1715
|
value: TaoRadioValue;
|
|
1138
1716
|
modelValue?: TaoRadioValue;
|
|
1139
1717
|
name?: string;
|
|
@@ -1148,9 +1726,9 @@ label: string;
|
|
|
1148
1726
|
disabled: boolean;
|
|
1149
1727
|
error: boolean;
|
|
1150
1728
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1151
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1152
1729
|
change: (value: TaoRadioValue) => void;
|
|
1153
|
-
|
|
1730
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1731
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
|
|
1154
1732
|
value: TaoRadioValue;
|
|
1155
1733
|
modelValue?: TaoRadioValue;
|
|
1156
1734
|
name?: string;
|
|
@@ -1165,15 +1743,15 @@ label: string;
|
|
|
1165
1743
|
disabled: boolean;
|
|
1166
1744
|
error: boolean;
|
|
1167
1745
|
}>>> & Readonly<{
|
|
1168
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1169
1746
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1747
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1170
1748
|
}>, {
|
|
1171
1749
|
label: string;
|
|
1172
|
-
error: boolean;
|
|
1173
1750
|
disabled: boolean;
|
|
1751
|
+
error: boolean;
|
|
1174
1752
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1175
1753
|
|
|
1176
|
-
declare const
|
|
1754
|
+
declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
|
|
1177
1755
|
modelValue?: TaoRadioValue;
|
|
1178
1756
|
name?: string;
|
|
1179
1757
|
legend?: string;
|
|
@@ -1188,9 +1766,9 @@ disabled: boolean;
|
|
|
1188
1766
|
error: boolean;
|
|
1189
1767
|
direction: string;
|
|
1190
1768
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1191
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1192
1769
|
change: (value: TaoRadioValue) => void;
|
|
1193
|
-
|
|
1770
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1771
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
|
|
1194
1772
|
modelValue?: TaoRadioValue;
|
|
1195
1773
|
name?: string;
|
|
1196
1774
|
legend?: string;
|
|
@@ -1205,15 +1783,15 @@ disabled: boolean;
|
|
|
1205
1783
|
error: boolean;
|
|
1206
1784
|
direction: string;
|
|
1207
1785
|
}>>> & Readonly<{
|
|
1208
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1209
1786
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1787
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1210
1788
|
}>, {
|
|
1211
|
-
error: boolean;
|
|
1212
1789
|
disabled: boolean;
|
|
1790
|
+
error: boolean;
|
|
1213
1791
|
direction: "row" | "column";
|
|
1214
1792
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1215
1793
|
|
|
1216
|
-
declare const
|
|
1794
|
+
declare const __VLS_component_53: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
|
|
1217
1795
|
modelValue?: TaoRadioValue;
|
|
1218
1796
|
name?: string;
|
|
1219
1797
|
legend?: string;
|
|
@@ -1230,9 +1808,9 @@ disabled: boolean;
|
|
|
1230
1808
|
error: boolean;
|
|
1231
1809
|
block: boolean;
|
|
1232
1810
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1233
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1234
1811
|
change: (value: TaoRadioValue) => void;
|
|
1235
|
-
|
|
1812
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1813
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
|
|
1236
1814
|
modelValue?: TaoRadioValue;
|
|
1237
1815
|
name?: string;
|
|
1238
1816
|
legend?: string;
|
|
@@ -1249,15 +1827,15 @@ disabled: boolean;
|
|
|
1249
1827
|
error: boolean;
|
|
1250
1828
|
block: boolean;
|
|
1251
1829
|
}>>> & Readonly<{
|
|
1252
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1253
1830
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1831
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1254
1832
|
}>, {
|
|
1255
|
-
error: boolean;
|
|
1256
1833
|
disabled: boolean;
|
|
1834
|
+
error: boolean;
|
|
1257
1835
|
block: boolean;
|
|
1258
1836
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1259
1837
|
|
|
1260
|
-
declare const
|
|
1838
|
+
declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
|
|
1261
1839
|
value: TaoRadioValue;
|
|
1262
1840
|
modelValue?: TaoRadioValue;
|
|
1263
1841
|
name?: string;
|
|
@@ -1271,9 +1849,9 @@ label: string;
|
|
|
1271
1849
|
icon: string;
|
|
1272
1850
|
disabled: boolean;
|
|
1273
1851
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1274
|
-
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1275
1852
|
change: (value: TaoRadioValue) => void;
|
|
1276
|
-
|
|
1853
|
+
"update:modelValue": (value: TaoRadioValue) => void;
|
|
1854
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
|
|
1277
1855
|
value: TaoRadioValue;
|
|
1278
1856
|
modelValue?: TaoRadioValue;
|
|
1279
1857
|
name?: string;
|
|
@@ -1287,52 +1865,74 @@ label: string;
|
|
|
1287
1865
|
icon: string;
|
|
1288
1866
|
disabled: boolean;
|
|
1289
1867
|
}>>> & Readonly<{
|
|
1290
|
-
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1291
1868
|
onChange?: ((value: TaoRadioValue) => any) | undefined;
|
|
1869
|
+
"onUpdate:modelValue"?: ((value: TaoRadioValue) => any) | undefined;
|
|
1292
1870
|
}>, {
|
|
1293
1871
|
label: string;
|
|
1294
1872
|
icon: string;
|
|
1295
1873
|
disabled: boolean;
|
|
1296
1874
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1297
1875
|
|
|
1298
|
-
declare const
|
|
1299
|
-
/** Status color
|
|
1300
|
-
tone?: TaoTone
|
|
1301
|
-
/** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
|
|
1302
|
-
type?: TaoTone | "error";
|
|
1876
|
+
declare const __VLS_component_55: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
|
|
1877
|
+
/** Status color. / Цвет статуса. */
|
|
1878
|
+
tone?: TaoTone;
|
|
1303
1879
|
title?: string;
|
|
1304
1880
|
closable?: boolean;
|
|
1305
1881
|
closeLabel?: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* The body folds under the title; the title and the tone stay. Start folded with `v-model:collapsed="true"`.
|
|
1884
|
+
* Тело сворачивается под заголовок; заголовок и тон остаются. Свёрнутым с начала — `v-model:collapsed="true"`.
|
|
1885
|
+
*/
|
|
1886
|
+
collapsible?: boolean;
|
|
1887
|
+
/** `v-model:collapsed`; without it the alert keeps the state itself. / Без него алерт хранит состояние сам. */
|
|
1888
|
+
collapsed?: boolean;
|
|
1889
|
+
/** The toggle text when there is no title. / Текст переключателя, когда нет заголовка. */
|
|
1890
|
+
detailsLabel?: string;
|
|
1306
1891
|
}>, {
|
|
1307
|
-
tone:
|
|
1308
|
-
type: undefined;
|
|
1892
|
+
tone: string;
|
|
1309
1893
|
title: string;
|
|
1310
1894
|
closable: boolean;
|
|
1895
|
+
collapsible: boolean;
|
|
1896
|
+
collapsed: undefined;
|
|
1897
|
+
detailsLabel: undefined;
|
|
1311
1898
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1312
1899
|
close: () => void;
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
type?: TaoTone | "error";
|
|
1900
|
+
"update:collapsed": (value: boolean) => void;
|
|
1901
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
|
|
1902
|
+
/** Status color. / Цвет статуса. */
|
|
1903
|
+
tone?: TaoTone;
|
|
1318
1904
|
title?: string;
|
|
1319
1905
|
closable?: boolean;
|
|
1320
1906
|
closeLabel?: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* The body folds under the title; the title and the tone stay. Start folded with `v-model:collapsed="true"`.
|
|
1909
|
+
* Тело сворачивается под заголовок; заголовок и тон остаются. Свёрнутым с начала — `v-model:collapsed="true"`.
|
|
1910
|
+
*/
|
|
1911
|
+
collapsible?: boolean;
|
|
1912
|
+
/** `v-model:collapsed`; without it the alert keeps the state itself. / Без него алерт хранит состояние сам. */
|
|
1913
|
+
collapsed?: boolean;
|
|
1914
|
+
/** The toggle text when there is no title. / Текст переключателя, когда нет заголовка. */
|
|
1915
|
+
detailsLabel?: string;
|
|
1321
1916
|
}>, {
|
|
1322
|
-
tone:
|
|
1323
|
-
type: undefined;
|
|
1917
|
+
tone: string;
|
|
1324
1918
|
title: string;
|
|
1325
1919
|
closable: boolean;
|
|
1920
|
+
collapsible: boolean;
|
|
1921
|
+
collapsed: undefined;
|
|
1922
|
+
detailsLabel: undefined;
|
|
1326
1923
|
}>>> & Readonly<{
|
|
1327
1924
|
onClose?: (() => any) | undefined;
|
|
1925
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
1328
1926
|
}>, {
|
|
1329
1927
|
title: string;
|
|
1330
|
-
type: TaoTone | "error";
|
|
1331
1928
|
closable: boolean;
|
|
1332
|
-
|
|
1929
|
+
detailsLabel: string;
|
|
1930
|
+
tone: TaoTone;
|
|
1931
|
+
collapsible: boolean;
|
|
1932
|
+
collapsed: boolean;
|
|
1333
1933
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1334
1934
|
|
|
1335
|
-
declare const
|
|
1935
|
+
declare const __VLS_component_56: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
|
|
1336
1936
|
columns: TaoTableColumn[];
|
|
1337
1937
|
rows?: Record<string, unknown>[];
|
|
1338
1938
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -1342,8 +1942,6 @@ emptyText?: string;
|
|
|
1342
1942
|
striped?: boolean | "odd" | "even";
|
|
1343
1943
|
/** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
|
|
1344
1944
|
size?: TaoSize;
|
|
1345
|
-
/** @deprecated Use size="small". / Используйте size="small". */
|
|
1346
|
-
compact?: boolean;
|
|
1347
1945
|
hover?: boolean;
|
|
1348
1946
|
/** Подсветка шапки. */
|
|
1349
1947
|
head?: boolean;
|
|
@@ -1360,7 +1958,6 @@ rows: () => never[];
|
|
|
1360
1958
|
rowKey: string;
|
|
1361
1959
|
loading: boolean;
|
|
1362
1960
|
striped: boolean;
|
|
1363
|
-
compact: boolean;
|
|
1364
1961
|
hover: boolean;
|
|
1365
1962
|
head: boolean;
|
|
1366
1963
|
lines: boolean;
|
|
@@ -1370,11 +1967,10 @@ clickable: boolean;
|
|
|
1370
1967
|
sort: null;
|
|
1371
1968
|
caption: string;
|
|
1372
1969
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1373
|
-
sort: (value: TaoTableSort | null) => void;
|
|
1374
1970
|
change: (value: TaoTableSort | null) => void;
|
|
1375
1971
|
"update:sort": (value: TaoTableSort | null) => void;
|
|
1376
1972
|
"row-click": (row: Record<string, unknown>, index: number) => void;
|
|
1377
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1973
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
|
|
1378
1974
|
columns: TaoTableColumn[];
|
|
1379
1975
|
rows?: Record<string, unknown>[];
|
|
1380
1976
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -1384,8 +1980,6 @@ emptyText?: string;
|
|
|
1384
1980
|
striped?: boolean | "odd" | "even";
|
|
1385
1981
|
/** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
|
|
1386
1982
|
size?: TaoSize;
|
|
1387
|
-
/** @deprecated Use size="small". / Используйте size="small". */
|
|
1388
|
-
compact?: boolean;
|
|
1389
1983
|
hover?: boolean;
|
|
1390
1984
|
/** Подсветка шапки. */
|
|
1391
1985
|
head?: boolean;
|
|
@@ -1402,7 +1996,6 @@ rows: () => never[];
|
|
|
1402
1996
|
rowKey: string;
|
|
1403
1997
|
loading: boolean;
|
|
1404
1998
|
striped: boolean;
|
|
1405
|
-
compact: boolean;
|
|
1406
1999
|
hover: boolean;
|
|
1407
2000
|
head: boolean;
|
|
1408
2001
|
lines: boolean;
|
|
@@ -1412,27 +2005,25 @@ clickable: boolean;
|
|
|
1412
2005
|
sort: null;
|
|
1413
2006
|
caption: string;
|
|
1414
2007
|
}>>> & Readonly<{
|
|
1415
|
-
onSort?: ((value: TaoTableSort | null) => any) | undefined;
|
|
1416
2008
|
onChange?: ((value: TaoTableSort | null) => any) | undefined;
|
|
1417
2009
|
"onUpdate:sort"?: ((value: TaoTableSort | null) => any) | undefined;
|
|
1418
2010
|
"onRow-click"?: ((row: Record<string, unknown>, index: number) => any) | undefined;
|
|
1419
2011
|
}>, {
|
|
2012
|
+
sort: TaoTableSort | null;
|
|
1420
2013
|
caption: string;
|
|
1421
2014
|
head: boolean;
|
|
1422
|
-
sort: TaoTableSort | null;
|
|
1423
2015
|
hover: boolean;
|
|
1424
2016
|
loading: boolean;
|
|
2017
|
+
sticky: boolean;
|
|
1425
2018
|
rows: Record<string, unknown>[];
|
|
1426
2019
|
maxHeight: TaoLength;
|
|
1427
2020
|
clickable: boolean;
|
|
1428
2021
|
lines: boolean;
|
|
1429
2022
|
rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
1430
2023
|
striped: boolean | "odd" | "even";
|
|
1431
|
-
compact: boolean;
|
|
1432
|
-
sticky: boolean;
|
|
1433
2024
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1434
2025
|
|
|
1435
|
-
declare const
|
|
2026
|
+
declare const __VLS_component_57: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
|
|
1436
2027
|
page?: number;
|
|
1437
2028
|
total?: number;
|
|
1438
2029
|
pageSize?: number;
|
|
@@ -1443,6 +2034,13 @@ showTotal?: boolean;
|
|
|
1443
2034
|
size?: TaoSize;
|
|
1444
2035
|
/** Click ellipsis to skip this many pages. 0 keeps … decorative. */
|
|
1445
2036
|
jump?: number;
|
|
2037
|
+
/**
|
|
2038
|
+
* A field to type a page in: `true` always, a number — from this many pages on (hundreds of pages are not
|
|
2039
|
+
* walked by clicks), `false` never.
|
|
2040
|
+
* Поле для ввода страницы: `true` всегда, число — начиная с такого числа страниц (сотни страниц кликами
|
|
2041
|
+
* не пролистать), `false` никогда.
|
|
2042
|
+
*/
|
|
2043
|
+
pageInput?: boolean | number;
|
|
1446
2044
|
ariaLabel?: string;
|
|
1447
2045
|
prevLabel?: string;
|
|
1448
2046
|
nextLabel?: string;
|
|
@@ -1451,6 +2049,8 @@ pageLabel?: string;
|
|
|
1451
2049
|
/** `{n}` — сколько страниц перескакивает «…». */
|
|
1452
2050
|
jumpPrevLabel?: string;
|
|
1453
2051
|
jumpNextLabel?: string;
|
|
2052
|
+
goToText?: string;
|
|
2053
|
+
goToLabel?: string;
|
|
1454
2054
|
}>, {
|
|
1455
2055
|
page: number;
|
|
1456
2056
|
total: number;
|
|
@@ -1459,10 +2059,11 @@ siblingCount: number;
|
|
|
1459
2059
|
disabled: boolean;
|
|
1460
2060
|
showTotal: boolean;
|
|
1461
2061
|
jump: number;
|
|
2062
|
+
pageInput: boolean;
|
|
1462
2063
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1463
2064
|
change: (value: number) => void;
|
|
1464
2065
|
"update:page": (value: number) => void;
|
|
1465
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2066
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
|
|
1466
2067
|
page?: number;
|
|
1467
2068
|
total?: number;
|
|
1468
2069
|
pageSize?: number;
|
|
@@ -1473,6 +2074,13 @@ showTotal?: boolean;
|
|
|
1473
2074
|
size?: TaoSize;
|
|
1474
2075
|
/** Click ellipsis to skip this many pages. 0 keeps … decorative. */
|
|
1475
2076
|
jump?: number;
|
|
2077
|
+
/**
|
|
2078
|
+
* A field to type a page in: `true` always, a number — from this many pages on (hundreds of pages are not
|
|
2079
|
+
* walked by clicks), `false` never.
|
|
2080
|
+
* Поле для ввода страницы: `true` всегда, число — начиная с такого числа страниц (сотни страниц кликами
|
|
2081
|
+
* не пролистать), `false` никогда.
|
|
2082
|
+
*/
|
|
2083
|
+
pageInput?: boolean | number;
|
|
1476
2084
|
ariaLabel?: string;
|
|
1477
2085
|
prevLabel?: string;
|
|
1478
2086
|
nextLabel?: string;
|
|
@@ -1481,6 +2089,8 @@ pageLabel?: string;
|
|
|
1481
2089
|
/** `{n}` — сколько страниц перескакивает «…». */
|
|
1482
2090
|
jumpPrevLabel?: string;
|
|
1483
2091
|
jumpNextLabel?: string;
|
|
2092
|
+
goToText?: string;
|
|
2093
|
+
goToLabel?: string;
|
|
1484
2094
|
}>, {
|
|
1485
2095
|
page: number;
|
|
1486
2096
|
total: number;
|
|
@@ -1489,6 +2099,7 @@ siblingCount: number;
|
|
|
1489
2099
|
disabled: boolean;
|
|
1490
2100
|
showTotal: boolean;
|
|
1491
2101
|
jump: number;
|
|
2102
|
+
pageInput: boolean;
|
|
1492
2103
|
}>>> & Readonly<{
|
|
1493
2104
|
onChange?: ((value: number) => any) | undefined;
|
|
1494
2105
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
@@ -1500,119 +2111,126 @@ pageSize: number;
|
|
|
1500
2111
|
siblingCount: number;
|
|
1501
2112
|
showTotal: boolean;
|
|
1502
2113
|
jump: number;
|
|
2114
|
+
pageInput: boolean | number;
|
|
1503
2115
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1504
2116
|
|
|
1505
|
-
declare const
|
|
2117
|
+
declare const __VLS_component_58: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
|
|
1506
2118
|
title?: string;
|
|
1507
|
-
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2119
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
|
|
1508
2120
|
title?: string;
|
|
1509
2121
|
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1510
2122
|
|
|
1511
|
-
declare const
|
|
1512
|
-
|
|
2123
|
+
declare const __VLS_component_59: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
|
|
2124
|
+
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
2125
|
+
size?: TaoSize;
|
|
2126
|
+
/** Рамка, как у списка файлов. */
|
|
2127
|
+
bordered?: boolean;
|
|
2128
|
+
/** Линии между строками. */
|
|
2129
|
+
divided?: boolean;
|
|
2130
|
+
/** Скролл, если строки не влезают. Число — пиксели. */
|
|
2131
|
+
maxHeight?: TaoLength;
|
|
2132
|
+
/** Показать `#empty` вместо строк. */
|
|
2133
|
+
empty?: boolean;
|
|
2134
|
+
ariaLabel?: string;
|
|
2135
|
+
}>, {
|
|
2136
|
+
bordered: boolean;
|
|
2137
|
+
divided: boolean;
|
|
2138
|
+
empty: boolean;
|
|
2139
|
+
ariaLabel: string;
|
|
2140
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<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
|
+
}>>> & Readonly<{}>, {
|
|
2158
|
+
empty: boolean;
|
|
2159
|
+
ariaLabel: string;
|
|
2160
|
+
bordered: boolean;
|
|
2161
|
+
divided: boolean;
|
|
2162
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2163
|
+
|
|
2164
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
|
|
2165
|
+
modelValue?: number;
|
|
1513
2166
|
min?: number;
|
|
1514
2167
|
max?: number;
|
|
1515
|
-
step?: number;
|
|
1516
|
-
precision?: number;
|
|
1517
2168
|
disabled?: boolean;
|
|
1518
2169
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1519
2170
|
error?: boolean;
|
|
1520
2171
|
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1521
2172
|
size?: TaoSize;
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
2173
|
+
/** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
|
|
2174
|
+
allowRemove?: boolean;
|
|
2175
|
+
/** Clamp to max on blur and when the incoming value is above stock. */
|
|
2176
|
+
forceMaxLimit?: boolean;
|
|
1525
2177
|
decrementLabel?: string;
|
|
2178
|
+
removeLabel?: string;
|
|
2179
|
+
incrementLabel?: string;
|
|
1526
2180
|
}>, {
|
|
1527
|
-
modelValue:
|
|
1528
|
-
|
|
2181
|
+
modelValue: number;
|
|
2182
|
+
min: number;
|
|
1529
2183
|
disabled: boolean;
|
|
1530
2184
|
error: boolean;
|
|
1531
|
-
|
|
1532
|
-
|
|
2185
|
+
allowRemove: boolean;
|
|
2186
|
+
forceMaxLimit: boolean;
|
|
1533
2187
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1534
|
-
|
|
1535
|
-
|
|
2188
|
+
blur: (value: number) => void;
|
|
2189
|
+
change: (value: number, source: TaoQuantityChangeSource) => void;
|
|
1536
2190
|
focus: (event: FocusEvent) => void;
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
2191
|
+
"update:modelValue": (value: number) => void;
|
|
2192
|
+
dec: (value: number) => void;
|
|
2193
|
+
inc: (value: number) => void;
|
|
2194
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<{
|
|
2195
|
+
modelValue?: number;
|
|
1540
2196
|
min?: number;
|
|
1541
2197
|
max?: number;
|
|
1542
|
-
step?: number;
|
|
1543
|
-
precision?: number;
|
|
1544
2198
|
disabled?: boolean;
|
|
1545
2199
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
1546
2200
|
error?: boolean;
|
|
1547
2201
|
/** Control size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1548
2202
|
size?: TaoSize;
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
2203
|
+
/** Minus stays enabled at min and still emits `dec` — parent can remove the line. */
|
|
2204
|
+
allowRemove?: boolean;
|
|
2205
|
+
/** Clamp to max on blur and when the incoming value is above stock. */
|
|
2206
|
+
forceMaxLimit?: boolean;
|
|
1552
2207
|
decrementLabel?: string;
|
|
2208
|
+
removeLabel?: string;
|
|
2209
|
+
incrementLabel?: string;
|
|
1553
2210
|
}>, {
|
|
1554
|
-
modelValue:
|
|
1555
|
-
|
|
2211
|
+
modelValue: number;
|
|
2212
|
+
min: number;
|
|
1556
2213
|
disabled: boolean;
|
|
1557
2214
|
error: boolean;
|
|
1558
|
-
|
|
1559
|
-
|
|
2215
|
+
allowRemove: boolean;
|
|
2216
|
+
forceMaxLimit: boolean;
|
|
1560
2217
|
}>>> & Readonly<{
|
|
1561
|
-
|
|
1562
|
-
|
|
2218
|
+
onBlur?: ((value: number) => any) | undefined;
|
|
2219
|
+
onChange?: ((value: number, source: TaoQuantityChangeSource) => any) | undefined;
|
|
1563
2220
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1564
|
-
|
|
2221
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2222
|
+
onDec?: ((value: number) => any) | undefined;
|
|
2223
|
+
onInc?: ((value: number) => any) | undefined;
|
|
1565
2224
|
}>, {
|
|
1566
|
-
error: boolean;
|
|
1567
2225
|
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;
|
|
2226
|
+
error: boolean;
|
|
2227
|
+
modelValue: number;
|
|
2228
|
+
min: number;
|
|
2229
|
+
allowRemove: boolean;
|
|
2230
|
+
forceMaxLimit: boolean;
|
|
1613
2231
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1614
2232
|
|
|
1615
|
-
declare const
|
|
2233
|
+
declare const __VLS_component_60: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
|
|
1616
2234
|
title?: string;
|
|
1617
2235
|
description?: string;
|
|
1618
2236
|
selected?: boolean;
|
|
@@ -1635,7 +2253,7 @@ clickable: boolean;
|
|
|
1635
2253
|
actionAlways: boolean;
|
|
1636
2254
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1637
2255
|
click: (event: MouseEvent) => void;
|
|
1638
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2256
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
|
|
1639
2257
|
title?: string;
|
|
1640
2258
|
description?: string;
|
|
1641
2259
|
selected?: boolean;
|
|
@@ -1668,7 +2286,7 @@ clickable: boolean;
|
|
|
1668
2286
|
actionAlways: boolean;
|
|
1669
2287
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1670
2288
|
|
|
1671
|
-
declare const
|
|
2289
|
+
declare const __VLS_component_61: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
|
|
1672
2290
|
modelValue: boolean;
|
|
1673
2291
|
title?: string;
|
|
1674
2292
|
side?: "left" | "right";
|
|
@@ -1681,7 +2299,7 @@ closable: boolean;
|
|
|
1681
2299
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1682
2300
|
close: (...args: any[]) => void;
|
|
1683
2301
|
"update:modelValue": (...args: any[]) => void;
|
|
1684
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2302
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
|
|
1685
2303
|
modelValue: boolean;
|
|
1686
2304
|
title?: string;
|
|
1687
2305
|
side?: "left" | "right";
|
|
@@ -1700,17 +2318,29 @@ closable: boolean;
|
|
|
1700
2318
|
side: "left" | "right";
|
|
1701
2319
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1702
2320
|
|
|
1703
|
-
declare const
|
|
2321
|
+
declare const __VLS_component_62: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
|
|
1704
2322
|
modelValue?: number;
|
|
1705
2323
|
peek?: number;
|
|
1706
2324
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
1707
2325
|
perView?: number;
|
|
1708
2326
|
controls?: boolean;
|
|
1709
|
-
/**
|
|
2327
|
+
/**
|
|
2328
|
+
* Time per slide in ms. 0 — off. The current indicator fills over this time and the slide changes when it is full.
|
|
2329
|
+
* Pauses on hover, keyboard focus, touch / drag and a hidden tab; off with reduced motion.
|
|
2330
|
+
* Время на слайд в мс. 0 — выключено. Текущий индикатор заливается за это время, по заполнении слайд меняется.
|
|
2331
|
+
*/
|
|
1710
2332
|
autoplay?: number;
|
|
1711
2333
|
loop?: boolean;
|
|
1712
|
-
/**
|
|
1713
|
-
dots
|
|
2334
|
+
/**
|
|
2335
|
+
* Under the track, one mark per snap: `dots` (the current one stretches into a pill), `bars` (equal bars),
|
|
2336
|
+
* `progress` (one bar: the fill of the current slide, or the position when there is no autoplay).
|
|
2337
|
+
* Под лентой, по метке на каждую позицию: `dots`, `bars` (полоски), `progress` (одна полоска).
|
|
2338
|
+
*/
|
|
2339
|
+
indicator?: "dots" | "bars" | "progress";
|
|
2340
|
+
/** With autoplay: a button that stops and resumes it (autoplay that moves for more than 5 s must be stoppable). / С autoplay: кнопка остановки и запуска. */
|
|
2341
|
+
pausable?: boolean;
|
|
2342
|
+
pauseLabel?: string;
|
|
2343
|
+
playLabel?: string;
|
|
1714
2344
|
ariaLabel?: string;
|
|
1715
2345
|
prevLabel?: string;
|
|
1716
2346
|
nextLabel?: string;
|
|
@@ -1724,21 +2354,34 @@ perView: number;
|
|
|
1724
2354
|
controls: boolean;
|
|
1725
2355
|
autoplay: number;
|
|
1726
2356
|
loop: boolean;
|
|
1727
|
-
|
|
2357
|
+
indicator: undefined;
|
|
2358
|
+
pausable: boolean;
|
|
1728
2359
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1729
|
-
"update:modelValue": (value: number) => void;
|
|
1730
2360
|
change: (value: number) => void;
|
|
1731
|
-
|
|
2361
|
+
"update:modelValue": (value: number) => void;
|
|
2362
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
|
|
1732
2363
|
modelValue?: number;
|
|
1733
2364
|
peek?: number;
|
|
1734
2365
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
|
|
1735
2366
|
perView?: number;
|
|
1736
2367
|
controls?: boolean;
|
|
1737
|
-
/**
|
|
2368
|
+
/**
|
|
2369
|
+
* Time per slide in ms. 0 — off. The current indicator fills over this time and the slide changes when it is full.
|
|
2370
|
+
* Pauses on hover, keyboard focus, touch / drag and a hidden tab; off with reduced motion.
|
|
2371
|
+
* Время на слайд в мс. 0 — выключено. Текущий индикатор заливается за это время, по заполнении слайд меняется.
|
|
2372
|
+
*/
|
|
1738
2373
|
autoplay?: number;
|
|
1739
2374
|
loop?: boolean;
|
|
1740
|
-
/**
|
|
1741
|
-
dots
|
|
2375
|
+
/**
|
|
2376
|
+
* Under the track, one mark per snap: `dots` (the current one stretches into a pill), `bars` (equal bars),
|
|
2377
|
+
* `progress` (one bar: the fill of the current slide, or the position when there is no autoplay).
|
|
2378
|
+
* Под лентой, по метке на каждую позицию: `dots`, `bars` (полоски), `progress` (одна полоска).
|
|
2379
|
+
*/
|
|
2380
|
+
indicator?: "dots" | "bars" | "progress";
|
|
2381
|
+
/** With autoplay: a button that stops and resumes it (autoplay that moves for more than 5 s must be stoppable). / С autoplay: кнопка остановки и запуска. */
|
|
2382
|
+
pausable?: boolean;
|
|
2383
|
+
pauseLabel?: string;
|
|
2384
|
+
playLabel?: string;
|
|
1742
2385
|
ariaLabel?: string;
|
|
1743
2386
|
prevLabel?: string;
|
|
1744
2387
|
nextLabel?: string;
|
|
@@ -1752,10 +2395,11 @@ perView: number;
|
|
|
1752
2395
|
controls: boolean;
|
|
1753
2396
|
autoplay: number;
|
|
1754
2397
|
loop: boolean;
|
|
1755
|
-
|
|
2398
|
+
indicator: undefined;
|
|
2399
|
+
pausable: boolean;
|
|
1756
2400
|
}>>> & Readonly<{
|
|
1757
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1758
2401
|
onChange?: ((value: number) => any) | undefined;
|
|
2402
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1759
2403
|
}>, {
|
|
1760
2404
|
modelValue: number;
|
|
1761
2405
|
peek: number;
|
|
@@ -1763,114 +2407,39 @@ perView: number;
|
|
|
1763
2407
|
controls: boolean;
|
|
1764
2408
|
autoplay: number;
|
|
1765
2409
|
loop: boolean;
|
|
1766
|
-
|
|
2410
|
+
indicator: "dots" | "bars" | "progress";
|
|
2411
|
+
pausable: boolean;
|
|
1767
2412
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1768
2413
|
|
|
1769
|
-
declare const
|
|
2414
|
+
declare const __VLS_component_63: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
|
|
1770
2415
|
items?: TaoStageItem[];
|
|
1771
2416
|
/** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
|
|
1772
2417
|
direction?: "row" | "column";
|
|
1773
|
-
/** @deprecated Use `direction`. / Используйте `direction`. */
|
|
1774
|
-
vertical?: boolean;
|
|
1775
2418
|
ariaLabel?: string;
|
|
1776
2419
|
statusLabels?: Partial<Record<TaoStageStatus, string>>;
|
|
1777
2420
|
}>, {
|
|
1778
2421
|
items: () => never[];
|
|
1779
|
-
direction:
|
|
1780
|
-
vertical: undefined;
|
|
2422
|
+
direction: string;
|
|
1781
2423
|
statusLabels: () => {};
|
|
1782
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2424
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
|
|
1783
2425
|
items?: TaoStageItem[];
|
|
1784
2426
|
/** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
|
|
1785
2427
|
direction?: "row" | "column";
|
|
1786
|
-
/** @deprecated Use `direction`. / Используйте `direction`. */
|
|
1787
|
-
vertical?: boolean;
|
|
1788
2428
|
ariaLabel?: string;
|
|
1789
2429
|
statusLabels?: Partial<Record<TaoStageStatus, string>>;
|
|
1790
2430
|
}>, {
|
|
1791
2431
|
items: () => never[];
|
|
1792
|
-
direction:
|
|
1793
|
-
vertical: undefined;
|
|
2432
|
+
direction: string;
|
|
1794
2433
|
statusLabels: () => {};
|
|
1795
2434
|
}>>> & Readonly<{}>, {
|
|
1796
2435
|
items: TaoStageItem[];
|
|
1797
|
-
vertical: boolean;
|
|
1798
2436
|
direction: "row" | "column";
|
|
1799
2437
|
statusLabels: Partial<Record<TaoStageStatus, string>>;
|
|
1800
2438
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1801
2439
|
|
|
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
2440
|
declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
1872
|
-
padding:
|
|
1873
|
-
radius:
|
|
2441
|
+
padding: undefined;
|
|
2442
|
+
radius: undefined;
|
|
1874
2443
|
shadow: boolean;
|
|
1875
2444
|
shadowBottomOnly: boolean;
|
|
1876
2445
|
hover: boolean;
|
|
@@ -1878,9 +2447,14 @@ active: boolean;
|
|
|
1878
2447
|
overflow: boolean;
|
|
1879
2448
|
flush: boolean;
|
|
1880
2449
|
surface: string;
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
2450
|
+
closable: boolean;
|
|
2451
|
+
stripe: undefined;
|
|
2452
|
+
stripeTone: string;
|
|
2453
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2454
|
+
close: () => void;
|
|
2455
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
2456
|
+
padding: undefined;
|
|
2457
|
+
radius: undefined;
|
|
1884
2458
|
shadow: boolean;
|
|
1885
2459
|
shadowBottomOnly: boolean;
|
|
1886
2460
|
hover: boolean;
|
|
@@ -1888,12 +2462,20 @@ active: boolean;
|
|
|
1888
2462
|
overflow: boolean;
|
|
1889
2463
|
flush: boolean;
|
|
1890
2464
|
surface: string;
|
|
1891
|
-
|
|
2465
|
+
closable: boolean;
|
|
2466
|
+
stripe: undefined;
|
|
2467
|
+
stripeTone: string;
|
|
2468
|
+
}>>> & Readonly<{
|
|
2469
|
+
onClose?: (() => any) | undefined;
|
|
2470
|
+
}>, {
|
|
1892
2471
|
surface: TaoSurface;
|
|
1893
|
-
|
|
2472
|
+
closable: boolean;
|
|
1894
2473
|
radius: TaoLength;
|
|
2474
|
+
padding: TaoLength | TaoLength[];
|
|
1895
2475
|
shadow: boolean;
|
|
1896
2476
|
hover: boolean;
|
|
2477
|
+
stripe: TaoStripe;
|
|
2478
|
+
stripeTone: TaoStripeTone;
|
|
1897
2479
|
shadowBottomOnly: boolean;
|
|
1898
2480
|
active: boolean;
|
|
1899
2481
|
overflow: boolean;
|
|
@@ -1920,41 +2502,34 @@ closable: boolean;
|
|
|
1920
2502
|
declare const __VLS_component_9: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
|
|
1921
2503
|
/** Tabs: `{ value, label, disabled? }`, same shape as Select options. / Вкладки, как опции Select. */
|
|
1922
2504
|
items?: TaoTabItem[];
|
|
1923
|
-
/** @deprecated Use `items`, same as TaoBreadcrumb / TaoStages. / Используйте `items`. */
|
|
1924
|
-
tabs?: TaoTabItem[];
|
|
1925
2505
|
modelValue: string;
|
|
1926
|
-
/**
|
|
1927
|
-
justify?:
|
|
2506
|
+
/** Where the tabs sit along the row, as in TaoFlex; without it they start at the left. / Где вкладки стоят в ряду, как у TaoFlex; без него — слева. */
|
|
2507
|
+
justify?: TaoJustify;
|
|
1928
2508
|
/** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1929
2509
|
size?: TaoSize;
|
|
1930
2510
|
}>, {
|
|
1931
2511
|
items: undefined;
|
|
1932
|
-
|
|
1933
|
-
justify: string;
|
|
2512
|
+
justify: undefined;
|
|
1934
2513
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1935
|
-
"update:modelValue": (value: string) => void;
|
|
1936
2514
|
change: (value: string) => void;
|
|
2515
|
+
"update:modelValue": (value: string) => void;
|
|
1937
2516
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<{
|
|
1938
2517
|
/** Tabs: `{ value, label, disabled? }`, same shape as Select options. / Вкладки, как опции Select. */
|
|
1939
2518
|
items?: TaoTabItem[];
|
|
1940
|
-
/** @deprecated Use `items`, same as TaoBreadcrumb / TaoStages. / Используйте `items`. */
|
|
1941
|
-
tabs?: TaoTabItem[];
|
|
1942
2519
|
modelValue: string;
|
|
1943
|
-
/**
|
|
1944
|
-
justify?:
|
|
2520
|
+
/** Where the tabs sit along the row, as in TaoFlex; without it they start at the left. / Где вкладки стоят в ряду, как у TaoFlex; без него — слева. */
|
|
2521
|
+
justify?: TaoJustify;
|
|
1945
2522
|
/** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
|
|
1946
2523
|
size?: TaoSize;
|
|
1947
2524
|
}>, {
|
|
1948
2525
|
items: undefined;
|
|
1949
|
-
|
|
1950
|
-
justify: string;
|
|
2526
|
+
justify: undefined;
|
|
1951
2527
|
}>>> & Readonly<{
|
|
1952
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1953
2528
|
onChange?: ((value: string) => any) | undefined;
|
|
2529
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1954
2530
|
}>, {
|
|
1955
2531
|
items: TaoTabItem[];
|
|
1956
|
-
justify:
|
|
1957
|
-
tabs: TaoTabItem[];
|
|
2532
|
+
justify: TaoJustify;
|
|
1958
2533
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1959
2534
|
|
|
1960
2535
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -2077,8 +2652,26 @@ declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
|
|
|
2077
2652
|
|
|
2078
2653
|
declare type __VLS_NonUndefinedable_63<T> = T extends undefined ? never : T;
|
|
2079
2654
|
|
|
2655
|
+
declare type __VLS_NonUndefinedable_64<T> = T extends undefined ? never : T;
|
|
2656
|
+
|
|
2657
|
+
declare type __VLS_NonUndefinedable_65<T> = T extends undefined ? never : T;
|
|
2658
|
+
|
|
2659
|
+
declare type __VLS_NonUndefinedable_66<T> = T extends undefined ? never : T;
|
|
2660
|
+
|
|
2661
|
+
declare type __VLS_NonUndefinedable_67<T> = T extends undefined ? never : T;
|
|
2662
|
+
|
|
2663
|
+
declare type __VLS_NonUndefinedable_68<T> = T extends undefined ? never : T;
|
|
2664
|
+
|
|
2665
|
+
declare type __VLS_NonUndefinedable_69<T> = T extends undefined ? never : T;
|
|
2666
|
+
|
|
2080
2667
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
2081
2668
|
|
|
2669
|
+
declare type __VLS_NonUndefinedable_70<T> = T extends undefined ? never : T;
|
|
2670
|
+
|
|
2671
|
+
declare type __VLS_NonUndefinedable_71<T> = T extends undefined ? never : T;
|
|
2672
|
+
|
|
2673
|
+
declare type __VLS_NonUndefinedable_72<T> = T extends undefined ? never : T;
|
|
2674
|
+
|
|
2082
2675
|
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
|
2083
2676
|
|
|
2084
2677
|
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
|
@@ -2299,10 +2892,46 @@ declare type __VLS_Prettify_58<T> = {
|
|
|
2299
2892
|
[K in keyof T]: T[K];
|
|
2300
2893
|
} & {};
|
|
2301
2894
|
|
|
2895
|
+
declare type __VLS_Prettify_59<T> = {
|
|
2896
|
+
[K in keyof T]: T[K];
|
|
2897
|
+
} & {};
|
|
2898
|
+
|
|
2302
2899
|
declare type __VLS_Prettify_6<T> = {
|
|
2303
2900
|
[K in keyof T]: T[K];
|
|
2304
2901
|
} & {};
|
|
2305
2902
|
|
|
2903
|
+
declare type __VLS_Prettify_60<T> = {
|
|
2904
|
+
[K in keyof T]: T[K];
|
|
2905
|
+
} & {};
|
|
2906
|
+
|
|
2907
|
+
declare type __VLS_Prettify_61<T> = {
|
|
2908
|
+
[K in keyof T]: T[K];
|
|
2909
|
+
} & {};
|
|
2910
|
+
|
|
2911
|
+
declare type __VLS_Prettify_62<T> = {
|
|
2912
|
+
[K in keyof T]: T[K];
|
|
2913
|
+
} & {};
|
|
2914
|
+
|
|
2915
|
+
declare type __VLS_Prettify_63<T> = {
|
|
2916
|
+
[K in keyof T]: T[K];
|
|
2917
|
+
} & {};
|
|
2918
|
+
|
|
2919
|
+
declare type __VLS_Prettify_64<T> = {
|
|
2920
|
+
[K in keyof T]: T[K];
|
|
2921
|
+
} & {};
|
|
2922
|
+
|
|
2923
|
+
declare type __VLS_Prettify_65<T> = {
|
|
2924
|
+
[K in keyof T]: T[K];
|
|
2925
|
+
} & {};
|
|
2926
|
+
|
|
2927
|
+
declare type __VLS_Prettify_66<T> = {
|
|
2928
|
+
[K in keyof T]: T[K];
|
|
2929
|
+
} & {};
|
|
2930
|
+
|
|
2931
|
+
declare type __VLS_Prettify_67<T> = {
|
|
2932
|
+
[K in keyof T]: T[K];
|
|
2933
|
+
} & {};
|
|
2934
|
+
|
|
2306
2935
|
declare type __VLS_Prettify_7<T> = {
|
|
2307
2936
|
[K in keyof T]: T[K];
|
|
2308
2937
|
} & {};
|
|
@@ -2454,72 +3083,222 @@ declare function __VLS_template_30(): {
|
|
|
2454
3083
|
right?(_: {}): any;
|
|
2455
3084
|
};
|
|
2456
3085
|
|
|
2457
|
-
declare function __VLS_template_31(): Readonly<{
|
|
2458
|
-
/** Caption of a mark. / Подпись метки. */
|
|
2459
|
-
mark?(props: {
|
|
2460
|
-
mark: TaoSliderMark;
|
|
2461
|
-
active: boolean;
|
|
3086
|
+
declare function __VLS_template_31(): Readonly<{
|
|
3087
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3088
|
+
mark?(props: {
|
|
3089
|
+
mark: TaoSliderMark;
|
|
3090
|
+
active: boolean;
|
|
3091
|
+
}): unknown;
|
|
3092
|
+
'pre-value'?(): unknown;
|
|
3093
|
+
'post-value'?(): unknown;
|
|
3094
|
+
}> & {
|
|
3095
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3096
|
+
mark?(props: {
|
|
3097
|
+
mark: TaoSliderMark;
|
|
3098
|
+
active: boolean;
|
|
3099
|
+
}): unknown;
|
|
3100
|
+
'pre-value'?(): unknown;
|
|
3101
|
+
'post-value'?(): unknown;
|
|
3102
|
+
};
|
|
3103
|
+
|
|
3104
|
+
declare function __VLS_template_32(): Readonly<{
|
|
3105
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3106
|
+
mark?(props: {
|
|
3107
|
+
mark: TaoSliderMark;
|
|
3108
|
+
active: boolean;
|
|
3109
|
+
}): unknown;
|
|
3110
|
+
'pre-value'?(): unknown;
|
|
3111
|
+
'post-value'?(): unknown;
|
|
3112
|
+
}> & {
|
|
3113
|
+
/** Caption of a mark. / Подпись метки. */
|
|
3114
|
+
mark?(props: {
|
|
3115
|
+
mark: TaoSliderMark;
|
|
3116
|
+
active: boolean;
|
|
3117
|
+
}): unknown;
|
|
3118
|
+
'pre-value'?(): unknown;
|
|
3119
|
+
'post-value'?(): unknown;
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
declare function __VLS_template_33(): {
|
|
3123
|
+
"clear-icon"?(_: {}): any;
|
|
3124
|
+
default?(_: {}): any;
|
|
3125
|
+
"remove-icon"?(_: {}): any;
|
|
3126
|
+
};
|
|
3127
|
+
|
|
3128
|
+
declare function __VLS_template_34(): Readonly<{
|
|
3129
|
+
/** The whole trigger content, replaces the button face. / Всё содержимое кнопки. */
|
|
3130
|
+
button?(): unknown;
|
|
3131
|
+
/** The default button face (three dots). / Вид кнопки по умолчанию. */
|
|
3132
|
+
icon?(): unknown;
|
|
3133
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3134
|
+
item?(props: {
|
|
3135
|
+
item: TaoMenuItem;
|
|
3136
|
+
id: string;
|
|
3137
|
+
label: string;
|
|
3138
|
+
icon?: string;
|
|
3139
|
+
}): unknown;
|
|
3140
|
+
}> & {
|
|
3141
|
+
/** The whole trigger content, replaces the button face. / Всё содержимое кнопки. */
|
|
3142
|
+
button?(): unknown;
|
|
3143
|
+
/** The default button face (three dots). / Вид кнопки по умолчанию. */
|
|
3144
|
+
icon?(): unknown;
|
|
3145
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3146
|
+
item?(props: {
|
|
3147
|
+
item: TaoMenuItem;
|
|
3148
|
+
id: string;
|
|
3149
|
+
label: string;
|
|
3150
|
+
icon?: string;
|
|
3151
|
+
}): unknown;
|
|
3152
|
+
};
|
|
3153
|
+
|
|
3154
|
+
declare function __VLS_template_35(): Readonly<{
|
|
3155
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3156
|
+
item?(props: {
|
|
3157
|
+
item: TaoMenuItem;
|
|
3158
|
+
id: string;
|
|
3159
|
+
label: string;
|
|
3160
|
+
icon?: string;
|
|
3161
|
+
}): unknown;
|
|
3162
|
+
}> & {
|
|
3163
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3164
|
+
item?(props: {
|
|
3165
|
+
item: TaoMenuItem;
|
|
3166
|
+
id: string;
|
|
3167
|
+
label: string;
|
|
3168
|
+
icon?: string;
|
|
3169
|
+
}): unknown;
|
|
3170
|
+
};
|
|
3171
|
+
|
|
3172
|
+
declare function __VLS_template_36(): Readonly<{
|
|
3173
|
+
/** Replaces the text of one item inside the menus. / Заменяет содержимое пункта в меню. */
|
|
3174
|
+
item?(props: {
|
|
3175
|
+
item: TaoMenuItem;
|
|
3176
|
+
id: string;
|
|
3177
|
+
label: string;
|
|
3178
|
+
icon?: string;
|
|
2462
3179
|
}): unknown;
|
|
2463
|
-
'pre-value'?(): unknown;
|
|
2464
|
-
'post-value'?(): unknown;
|
|
2465
3180
|
}> & {
|
|
2466
|
-
/**
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
3181
|
+
/** Replaces the text of one item inside the menus. / Заменяет содержимое пункта в меню. */
|
|
3182
|
+
item?(props: {
|
|
3183
|
+
item: TaoMenuItem;
|
|
3184
|
+
id: string;
|
|
3185
|
+
label: string;
|
|
3186
|
+
icon?: string;
|
|
2470
3187
|
}): unknown;
|
|
2471
|
-
'pre-value'?(): unknown;
|
|
2472
|
-
'post-value'?(): unknown;
|
|
2473
3188
|
};
|
|
2474
3189
|
|
|
2475
|
-
declare function
|
|
2476
|
-
/**
|
|
2477
|
-
|
|
2478
|
-
|
|
3190
|
+
declare function __VLS_template_37(): Readonly<{
|
|
3191
|
+
/** The page: TaoNav lays it out next to the navigation. / Страница: TaoNav раскладывает её рядом с навигацией. */
|
|
3192
|
+
default?(): unknown;
|
|
3193
|
+
/** Replaces the label of one item. / Заменяет подпись пункта. */
|
|
3194
|
+
label?(props: {
|
|
3195
|
+
item: TaoNavItem;
|
|
2479
3196
|
active: boolean;
|
|
2480
3197
|
}): unknown;
|
|
2481
|
-
'pre-value'?(): unknown;
|
|
2482
|
-
'post-value'?(): unknown;
|
|
2483
3198
|
}> & {
|
|
2484
|
-
/**
|
|
2485
|
-
|
|
2486
|
-
|
|
3199
|
+
/** The page: TaoNav lays it out next to the navigation. / Страница: TaoNav раскладывает её рядом с навигацией. */
|
|
3200
|
+
default?(): unknown;
|
|
3201
|
+
/** Replaces the label of one item. / Заменяет подпись пункта. */
|
|
3202
|
+
label?(props: {
|
|
3203
|
+
item: TaoNavItem;
|
|
2487
3204
|
active: boolean;
|
|
2488
3205
|
}): unknown;
|
|
2489
|
-
'pre-value'?(): unknown;
|
|
2490
|
-
'post-value'?(): unknown;
|
|
2491
3206
|
};
|
|
2492
3207
|
|
|
2493
|
-
declare function
|
|
2494
|
-
|
|
3208
|
+
declare function __VLS_template_38(): Readonly<{
|
|
3209
|
+
/** The icon before the label. / Иконка перед подписью. */
|
|
3210
|
+
icon?(props: NodeSlot): unknown;
|
|
3211
|
+
/** The label. / Подпись. */
|
|
3212
|
+
label?(props: NodeSlot): unknown;
|
|
3213
|
+
/** Buttons at the end of the row, shown on hover and focus. / Кнопки в конце строки, видны при наведении и фокусе. */
|
|
3214
|
+
actions?(props: NodeSlot): unknown;
|
|
3215
|
+
}> & {
|
|
3216
|
+
/** The icon before the label. / Иконка перед подписью. */
|
|
3217
|
+
icon?(props: NodeSlot): unknown;
|
|
3218
|
+
/** The label. / Подпись. */
|
|
3219
|
+
label?(props: NodeSlot): unknown;
|
|
3220
|
+
/** Buttons at the end of the row, shown on hover and focus. / Кнопки в конце строки, видны при наведении и фокусе. */
|
|
3221
|
+
actions?(props: NodeSlot): unknown;
|
|
3222
|
+
};
|
|
3223
|
+
|
|
3224
|
+
declare function __VLS_template_39(): Readonly<{
|
|
3225
|
+
/** The text of one item. / Текст пункта. */
|
|
3226
|
+
item?(props: {
|
|
3227
|
+
item: TaoChecklistItem;
|
|
3228
|
+
checked: boolean;
|
|
3229
|
+
}): unknown;
|
|
3230
|
+
}> & {
|
|
3231
|
+
/** The text of one item. / Текст пункта. */
|
|
3232
|
+
item?(props: {
|
|
3233
|
+
item: TaoChecklistItem;
|
|
3234
|
+
checked: boolean;
|
|
3235
|
+
}): unknown;
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
declare function __VLS_template_4(): {
|
|
3239
|
+
before?(_: {}): any;
|
|
2495
3240
|
default?(_: {}): any;
|
|
2496
|
-
|
|
3241
|
+
after?(_: {}): any;
|
|
2497
3242
|
};
|
|
2498
3243
|
|
|
2499
|
-
declare function
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
3244
|
+
declare function __VLS_template_40(): Readonly<{
|
|
3245
|
+
/** The marker on the line. / Маркер на линии. */
|
|
3246
|
+
marker?(props: ItemSlot): unknown;
|
|
3247
|
+
/** The title line. / Строка заголовка. */
|
|
3248
|
+
title?(props: ItemSlot): unknown;
|
|
3249
|
+
/** Anything under the description: links, a card, buttons. / Что угодно под описанием. */
|
|
3250
|
+
content?(props: ItemSlot): unknown;
|
|
3251
|
+
}> & {
|
|
3252
|
+
/** The marker on the line. / Маркер на линии. */
|
|
3253
|
+
marker?(props: ItemSlot): unknown;
|
|
3254
|
+
/** The title line. / Строка заголовка. */
|
|
3255
|
+
title?(props: ItemSlot): unknown;
|
|
3256
|
+
/** Anything under the description: links, a card, buttons. / Что угодно под описанием. */
|
|
3257
|
+
content?(props: ItemSlot): unknown;
|
|
3258
|
+
};
|
|
3259
|
+
|
|
3260
|
+
declare function __VLS_template_41(): Readonly<{
|
|
3261
|
+
/** The content of the line (a link, an icon, words). / Содержимое строки. */
|
|
3262
|
+
default?(): unknown;
|
|
3263
|
+
}> & {
|
|
3264
|
+
/** The content of the line (a link, an icon, words). / Содержимое строки. */
|
|
3265
|
+
default?(): unknown;
|
|
3266
|
+
};
|
|
3267
|
+
|
|
3268
|
+
declare function __VLS_template_42(): Readonly<{
|
|
3269
|
+
default?(): unknown;
|
|
3270
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3271
|
+
item?(props: {
|
|
3272
|
+
item: TaoMenuItem;
|
|
2503
3273
|
id: string;
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
}):
|
|
3274
|
+
label: string;
|
|
3275
|
+
icon?: string;
|
|
3276
|
+
}): unknown;
|
|
3277
|
+
}> & {
|
|
3278
|
+
default?(): unknown;
|
|
3279
|
+
/** Replaces the text of one item. / Заменяет содержимое пункта. */
|
|
3280
|
+
item?(props: {
|
|
3281
|
+
item: TaoMenuItem;
|
|
3282
|
+
id: string;
|
|
3283
|
+
label: string;
|
|
3284
|
+
icon?: string;
|
|
3285
|
+
}): unknown;
|
|
2507
3286
|
};
|
|
2508
3287
|
|
|
2509
|
-
declare function
|
|
3288
|
+
declare function __VLS_template_43(): {
|
|
2510
3289
|
default?(_: {}): any;
|
|
2511
3290
|
};
|
|
2512
3291
|
|
|
2513
|
-
declare function
|
|
3292
|
+
declare function __VLS_template_44(): {
|
|
2514
3293
|
default?(_: {}): any;
|
|
2515
3294
|
};
|
|
2516
3295
|
|
|
2517
|
-
declare function
|
|
3296
|
+
declare function __VLS_template_45(): {
|
|
2518
3297
|
chevron?(_: {}): any;
|
|
2519
3298
|
clear?(_: {}): any;
|
|
2520
3299
|
};
|
|
2521
3300
|
|
|
2522
|
-
declare function
|
|
3301
|
+
declare function __VLS_template_46(): {
|
|
2523
3302
|
chevron?(_: {}): any;
|
|
2524
3303
|
empty?(_: {}): any;
|
|
2525
3304
|
create?(_: {
|
|
@@ -2528,7 +3307,19 @@ declare function __VLS_template_38(): {
|
|
|
2528
3307
|
clear?(_: {}): any;
|
|
2529
3308
|
};
|
|
2530
3309
|
|
|
2531
|
-
declare function
|
|
3310
|
+
declare function __VLS_template_47(): Readonly<{
|
|
3311
|
+
'prev-icon'?(): unknown;
|
|
3312
|
+
'next-icon'?(): unknown;
|
|
3313
|
+
today?(): unknown;
|
|
3314
|
+
clear?(): unknown;
|
|
3315
|
+
}> & {
|
|
3316
|
+
'prev-icon'?(): unknown;
|
|
3317
|
+
'next-icon'?(): unknown;
|
|
3318
|
+
today?(): unknown;
|
|
3319
|
+
clear?(): unknown;
|
|
3320
|
+
};
|
|
3321
|
+
|
|
3322
|
+
declare function __VLS_template_48(): {
|
|
2532
3323
|
icon?(_: {}): any;
|
|
2533
3324
|
"prev-icon"?(_: {}): any;
|
|
2534
3325
|
"next-icon"?(_: {}): any;
|
|
@@ -2536,13 +3327,7 @@ declare function __VLS_template_39(): {
|
|
|
2536
3327
|
clear?(_: {}): any;
|
|
2537
3328
|
};
|
|
2538
3329
|
|
|
2539
|
-
declare function
|
|
2540
|
-
before?(_: {}): any;
|
|
2541
|
-
default?(_: {}): any;
|
|
2542
|
-
after?(_: {}): any;
|
|
2543
|
-
};
|
|
2544
|
-
|
|
2545
|
-
declare function __VLS_template_40(): {
|
|
3330
|
+
declare function __VLS_template_49(): {
|
|
2546
3331
|
icon?(_: {}): any;
|
|
2547
3332
|
"prev-icon"?(_: {}): any;
|
|
2548
3333
|
"next-icon"?(_: {}): any;
|
|
@@ -2550,33 +3335,38 @@ declare function __VLS_template_40(): {
|
|
|
2550
3335
|
clear?(_: {}): any;
|
|
2551
3336
|
};
|
|
2552
3337
|
|
|
2553
|
-
declare function
|
|
3338
|
+
declare function __VLS_template_5(): {
|
|
3339
|
+
"increment-icon"?(_: {}): any;
|
|
3340
|
+
"decrement-icon"?(_: {}): any;
|
|
3341
|
+
};
|
|
3342
|
+
|
|
3343
|
+
declare function __VLS_template_50(): {
|
|
2554
3344
|
default?(_: {}): any;
|
|
2555
3345
|
};
|
|
2556
3346
|
|
|
2557
|
-
declare function
|
|
3347
|
+
declare function __VLS_template_51(): {
|
|
2558
3348
|
default?(_: {}): any;
|
|
2559
3349
|
};
|
|
2560
3350
|
|
|
2561
|
-
declare function
|
|
3351
|
+
declare function __VLS_template_52(): {
|
|
2562
3352
|
default?(_: {}): any;
|
|
2563
3353
|
};
|
|
2564
3354
|
|
|
2565
|
-
declare function
|
|
3355
|
+
declare function __VLS_template_53(): {
|
|
2566
3356
|
default?(_: {}): any;
|
|
2567
3357
|
};
|
|
2568
3358
|
|
|
2569
|
-
declare function
|
|
3359
|
+
declare function __VLS_template_54(): {
|
|
2570
3360
|
icon?(_: {}): any;
|
|
2571
3361
|
default?(_: {}): any;
|
|
2572
3362
|
};
|
|
2573
3363
|
|
|
2574
|
-
declare function
|
|
3364
|
+
declare function __VLS_template_55(): {
|
|
2575
3365
|
default?(_: {}): any;
|
|
2576
3366
|
"close-icon"?(_: {}): any;
|
|
2577
3367
|
};
|
|
2578
3368
|
|
|
2579
|
-
declare function
|
|
3369
|
+
declare function __VLS_template_56(): Partial<Record<`cell-${string}`, (_: {
|
|
2580
3370
|
row: Record<string, unknown>;
|
|
2581
3371
|
column: TaoTableColumn<Record<string, unknown>>;
|
|
2582
3372
|
value: unknown;
|
|
@@ -2592,7 +3382,7 @@ declare function __VLS_template_47(): Partial<Record<`cell-${string}`, (_: {
|
|
|
2592
3382
|
loading?(_: {}): any;
|
|
2593
3383
|
};
|
|
2594
3384
|
|
|
2595
|
-
declare function
|
|
3385
|
+
declare function __VLS_template_57(): {
|
|
2596
3386
|
total?(_: {
|
|
2597
3387
|
from: number;
|
|
2598
3388
|
to: number;
|
|
@@ -2602,23 +3392,23 @@ declare function __VLS_template_48(): {
|
|
|
2602
3392
|
"next-icon"?(_: {}): any;
|
|
2603
3393
|
};
|
|
2604
3394
|
|
|
2605
|
-
declare function
|
|
3395
|
+
declare function __VLS_template_58(): {
|
|
2606
3396
|
icon?(_: {}): any;
|
|
2607
3397
|
default?(_: {}): any;
|
|
2608
3398
|
action?(_: {}): any;
|
|
2609
3399
|
};
|
|
2610
3400
|
|
|
2611
|
-
declare function
|
|
2612
|
-
"increment-icon"?(_: {}): any;
|
|
2613
|
-
"decrement-icon"?(_: {}): any;
|
|
2614
|
-
};
|
|
2615
|
-
|
|
2616
|
-
declare function __VLS_template_50(): {
|
|
3401
|
+
declare function __VLS_template_59(): {
|
|
2617
3402
|
empty?(_: {}): any;
|
|
2618
3403
|
default?(_: {}): any;
|
|
2619
3404
|
};
|
|
2620
3405
|
|
|
2621
|
-
declare function
|
|
3406
|
+
declare function __VLS_template_6(): {
|
|
3407
|
+
"decrement-icon"?(_: {}): any;
|
|
3408
|
+
"increment-icon"?(_: {}): any;
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
declare function __VLS_template_60(): {
|
|
2622
3412
|
prefix?(_: {}): any;
|
|
2623
3413
|
default?(_: {}): any;
|
|
2624
3414
|
description?(_: {}): any;
|
|
@@ -2626,13 +3416,13 @@ declare function __VLS_template_51(): {
|
|
|
2626
3416
|
action?(_: {}): any;
|
|
2627
3417
|
};
|
|
2628
3418
|
|
|
2629
|
-
declare function
|
|
3419
|
+
declare function __VLS_template_61(): {
|
|
2630
3420
|
"close-icon"?(_: {}): any;
|
|
2631
3421
|
default?(_: {}): any;
|
|
2632
3422
|
footer?(_: {}): any;
|
|
2633
3423
|
};
|
|
2634
3424
|
|
|
2635
|
-
declare function
|
|
3425
|
+
declare function __VLS_template_62(): Readonly<{
|
|
2636
3426
|
default(): unknown;
|
|
2637
3427
|
prev(props: {
|
|
2638
3428
|
disabled: boolean;
|
|
@@ -2678,7 +3468,7 @@ declare function __VLS_template_53(): Readonly<{
|
|
|
2678
3468
|
}): unknown;
|
|
2679
3469
|
};
|
|
2680
3470
|
|
|
2681
|
-
declare function
|
|
3471
|
+
declare function __VLS_template_63(): Readonly<{
|
|
2682
3472
|
default(props: {
|
|
2683
3473
|
item: TaoStageItem;
|
|
2684
3474
|
index: number;
|
|
@@ -2702,21 +3492,32 @@ declare function __VLS_template_54(): Readonly<{
|
|
|
2702
3492
|
}): unknown;
|
|
2703
3493
|
};
|
|
2704
3494
|
|
|
2705
|
-
declare function
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
title
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
3495
|
+
declare function __VLS_template_7(): Readonly<{
|
|
3496
|
+
/** A picture or a carousel at the top. / Картинка или карусель сверху. */
|
|
3497
|
+
media?(): unknown;
|
|
3498
|
+
/** A scrim over the media (or over the whole tile). / Подложка поверх media (или всей плитки). */
|
|
3499
|
+
overlay?(): unknown;
|
|
3500
|
+
/** The top row: anything, laid out as you like. / Верхняя строка: что угодно, раскладка ваша. */
|
|
3501
|
+
header?(): unknown;
|
|
3502
|
+
title?(): unknown;
|
|
3503
|
+
sub?(): unknown;
|
|
3504
|
+
default?(): unknown;
|
|
3505
|
+
footer?(): unknown;
|
|
3506
|
+
/** The top right corner of the card (a tag, a menu button); the title leaves room for it. / Правый верхний угол (тег, кнопка меню); заголовок оставляет ему место. */
|
|
3507
|
+
corner?(): unknown;
|
|
3508
|
+
}> & {
|
|
3509
|
+
/** A picture or a carousel at the top. / Картинка или карусель сверху. */
|
|
3510
|
+
media?(): unknown;
|
|
3511
|
+
/** A scrim over the media (or over the whole tile). / Подложка поверх media (или всей плитки). */
|
|
3512
|
+
overlay?(): unknown;
|
|
3513
|
+
/** The top row: anything, laid out as you like. / Верхняя строка: что угодно, раскладка ваша. */
|
|
3514
|
+
header?(): unknown;
|
|
3515
|
+
title?(): unknown;
|
|
3516
|
+
sub?(): unknown;
|
|
3517
|
+
default?(): unknown;
|
|
3518
|
+
footer?(): unknown;
|
|
3519
|
+
/** The top right corner of the card (a tag, a menu button); the title leaves room for it. / Правый верхний угол (тег, кнопка меню); заголовок оставляет ему место. */
|
|
3520
|
+
corner?(): unknown;
|
|
2720
3521
|
};
|
|
2721
3522
|
|
|
2722
3523
|
declare function __VLS_template_8(): {
|
|
@@ -3276,6 +4077,60 @@ declare type __VLS_TypePropsToRuntimeProps_63<T> = {
|
|
|
3276
4077
|
};
|
|
3277
4078
|
};
|
|
3278
4079
|
|
|
4080
|
+
declare type __VLS_TypePropsToRuntimeProps_64<T> = {
|
|
4081
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4082
|
+
type: PropType<__VLS_NonUndefinedable_64<T[K]>>;
|
|
4083
|
+
} : {
|
|
4084
|
+
type: PropType<T[K]>;
|
|
4085
|
+
required: true;
|
|
4086
|
+
};
|
|
4087
|
+
};
|
|
4088
|
+
|
|
4089
|
+
declare type __VLS_TypePropsToRuntimeProps_65<T> = {
|
|
4090
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4091
|
+
type: PropType<__VLS_NonUndefinedable_65<T[K]>>;
|
|
4092
|
+
} : {
|
|
4093
|
+
type: PropType<T[K]>;
|
|
4094
|
+
required: true;
|
|
4095
|
+
};
|
|
4096
|
+
};
|
|
4097
|
+
|
|
4098
|
+
declare type __VLS_TypePropsToRuntimeProps_66<T> = {
|
|
4099
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4100
|
+
type: PropType<__VLS_NonUndefinedable_66<T[K]>>;
|
|
4101
|
+
} : {
|
|
4102
|
+
type: PropType<T[K]>;
|
|
4103
|
+
required: true;
|
|
4104
|
+
};
|
|
4105
|
+
};
|
|
4106
|
+
|
|
4107
|
+
declare type __VLS_TypePropsToRuntimeProps_67<T> = {
|
|
4108
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4109
|
+
type: PropType<__VLS_NonUndefinedable_67<T[K]>>;
|
|
4110
|
+
} : {
|
|
4111
|
+
type: PropType<T[K]>;
|
|
4112
|
+
required: true;
|
|
4113
|
+
};
|
|
4114
|
+
};
|
|
4115
|
+
|
|
4116
|
+
declare type __VLS_TypePropsToRuntimeProps_68<T> = {
|
|
4117
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4118
|
+
type: PropType<__VLS_NonUndefinedable_68<T[K]>>;
|
|
4119
|
+
} : {
|
|
4120
|
+
type: PropType<T[K]>;
|
|
4121
|
+
required: true;
|
|
4122
|
+
};
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
declare type __VLS_TypePropsToRuntimeProps_69<T> = {
|
|
4126
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4127
|
+
type: PropType<__VLS_NonUndefinedable_69<T[K]>>;
|
|
4128
|
+
} : {
|
|
4129
|
+
type: PropType<T[K]>;
|
|
4130
|
+
required: true;
|
|
4131
|
+
};
|
|
4132
|
+
};
|
|
4133
|
+
|
|
3279
4134
|
declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
3280
4135
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
3281
4136
|
type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
|
|
@@ -3285,6 +4140,33 @@ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
|
|
|
3285
4140
|
};
|
|
3286
4141
|
};
|
|
3287
4142
|
|
|
4143
|
+
declare type __VLS_TypePropsToRuntimeProps_70<T> = {
|
|
4144
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4145
|
+
type: PropType<__VLS_NonUndefinedable_70<T[K]>>;
|
|
4146
|
+
} : {
|
|
4147
|
+
type: PropType<T[K]>;
|
|
4148
|
+
required: true;
|
|
4149
|
+
};
|
|
4150
|
+
};
|
|
4151
|
+
|
|
4152
|
+
declare type __VLS_TypePropsToRuntimeProps_71<T> = {
|
|
4153
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4154
|
+
type: PropType<__VLS_NonUndefinedable_71<T[K]>>;
|
|
4155
|
+
} : {
|
|
4156
|
+
type: PropType<T[K]>;
|
|
4157
|
+
required: true;
|
|
4158
|
+
};
|
|
4159
|
+
};
|
|
4160
|
+
|
|
4161
|
+
declare type __VLS_TypePropsToRuntimeProps_72<T> = {
|
|
4162
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
4163
|
+
type: PropType<__VLS_NonUndefinedable_72<T[K]>>;
|
|
4164
|
+
} : {
|
|
4165
|
+
type: PropType<T[K]>;
|
|
4166
|
+
required: true;
|
|
4167
|
+
};
|
|
4168
|
+
};
|
|
4169
|
+
|
|
3288
4170
|
declare type __VLS_TypePropsToRuntimeProps_8<T> = {
|
|
3289
4171
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
3290
4172
|
type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
|
|
@@ -3627,12 +4509,66 @@ declare type __VLS_WithDefaults_58<P, D> = {
|
|
|
3627
4509
|
}> : P[K];
|
|
3628
4510
|
};
|
|
3629
4511
|
|
|
4512
|
+
declare type __VLS_WithDefaults_59<P, D> = {
|
|
4513
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_59<P[K] & {
|
|
4514
|
+
default: D[K];
|
|
4515
|
+
}> : P[K];
|
|
4516
|
+
};
|
|
4517
|
+
|
|
3630
4518
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
3631
4519
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
|
|
3632
4520
|
default: D[K];
|
|
3633
4521
|
}> : P[K];
|
|
3634
4522
|
};
|
|
3635
4523
|
|
|
4524
|
+
declare type __VLS_WithDefaults_60<P, D> = {
|
|
4525
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_60<P[K] & {
|
|
4526
|
+
default: D[K];
|
|
4527
|
+
}> : P[K];
|
|
4528
|
+
};
|
|
4529
|
+
|
|
4530
|
+
declare type __VLS_WithDefaults_61<P, D> = {
|
|
4531
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_61<P[K] & {
|
|
4532
|
+
default: D[K];
|
|
4533
|
+
}> : P[K];
|
|
4534
|
+
};
|
|
4535
|
+
|
|
4536
|
+
declare type __VLS_WithDefaults_62<P, D> = {
|
|
4537
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_62<P[K] & {
|
|
4538
|
+
default: D[K];
|
|
4539
|
+
}> : P[K];
|
|
4540
|
+
};
|
|
4541
|
+
|
|
4542
|
+
declare type __VLS_WithDefaults_63<P, D> = {
|
|
4543
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_63<P[K] & {
|
|
4544
|
+
default: D[K];
|
|
4545
|
+
}> : P[K];
|
|
4546
|
+
};
|
|
4547
|
+
|
|
4548
|
+
declare type __VLS_WithDefaults_64<P, D> = {
|
|
4549
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_64<P[K] & {
|
|
4550
|
+
default: D[K];
|
|
4551
|
+
}> : P[K];
|
|
4552
|
+
};
|
|
4553
|
+
|
|
4554
|
+
declare type __VLS_WithDefaults_65<P, D> = {
|
|
4555
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_65<P[K] & {
|
|
4556
|
+
default: D[K];
|
|
4557
|
+
}> : P[K];
|
|
4558
|
+
};
|
|
4559
|
+
|
|
4560
|
+
declare type __VLS_WithDefaults_66<P, D> = {
|
|
4561
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_66<P[K] & {
|
|
4562
|
+
default: D[K];
|
|
4563
|
+
}> : P[K];
|
|
4564
|
+
};
|
|
4565
|
+
|
|
4566
|
+
declare type __VLS_WithDefaults_67<P, D> = {
|
|
4567
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_67<P[K] & {
|
|
4568
|
+
default: D[K];
|
|
4569
|
+
}> : P[K];
|
|
4570
|
+
};
|
|
4571
|
+
|
|
3636
4572
|
declare type __VLS_WithDefaults_7<P, D> = {
|
|
3637
4573
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
|
|
3638
4574
|
default: D[K];
|
|
@@ -3873,85 +4809,139 @@ declare type __VLS_WithTemplateSlots_42<T, S> = T & {
|
|
|
3873
4809
|
};
|
|
3874
4810
|
};
|
|
3875
4811
|
|
|
3876
|
-
declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
4812
|
+
declare type __VLS_WithTemplateSlots_43<T, S> = T & {
|
|
4813
|
+
new (): {
|
|
4814
|
+
$slots: S;
|
|
4815
|
+
};
|
|
4816
|
+
};
|
|
4817
|
+
|
|
4818
|
+
declare type __VLS_WithTemplateSlots_44<T, S> = T & {
|
|
4819
|
+
new (): {
|
|
4820
|
+
$slots: S;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
|
|
4824
|
+
declare type __VLS_WithTemplateSlots_45<T, S> = T & {
|
|
4825
|
+
new (): {
|
|
4826
|
+
$slots: S;
|
|
4827
|
+
};
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
declare type __VLS_WithTemplateSlots_46<T, S> = T & {
|
|
4831
|
+
new (): {
|
|
4832
|
+
$slots: S;
|
|
4833
|
+
};
|
|
4834
|
+
};
|
|
4835
|
+
|
|
4836
|
+
declare type __VLS_WithTemplateSlots_47<T, S> = T & {
|
|
4837
|
+
new (): {
|
|
4838
|
+
$slots: S;
|
|
4839
|
+
};
|
|
4840
|
+
};
|
|
4841
|
+
|
|
4842
|
+
declare type __VLS_WithTemplateSlots_48<T, S> = T & {
|
|
4843
|
+
new (): {
|
|
4844
|
+
$slots: S;
|
|
4845
|
+
};
|
|
4846
|
+
};
|
|
4847
|
+
|
|
4848
|
+
declare type __VLS_WithTemplateSlots_49<T, S> = T & {
|
|
4849
|
+
new (): {
|
|
4850
|
+
$slots: S;
|
|
4851
|
+
};
|
|
4852
|
+
};
|
|
4853
|
+
|
|
4854
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
4855
|
+
new (): {
|
|
4856
|
+
$slots: S;
|
|
4857
|
+
};
|
|
4858
|
+
};
|
|
4859
|
+
|
|
4860
|
+
declare type __VLS_WithTemplateSlots_50<T, S> = T & {
|
|
4861
|
+
new (): {
|
|
4862
|
+
$slots: S;
|
|
4863
|
+
};
|
|
4864
|
+
};
|
|
4865
|
+
|
|
4866
|
+
declare type __VLS_WithTemplateSlots_51<T, S> = T & {
|
|
3877
4867
|
new (): {
|
|
3878
4868
|
$slots: S;
|
|
3879
4869
|
};
|
|
3880
4870
|
};
|
|
3881
4871
|
|
|
3882
|
-
declare type
|
|
4872
|
+
declare type __VLS_WithTemplateSlots_52<T, S> = T & {
|
|
3883
4873
|
new (): {
|
|
3884
4874
|
$slots: S;
|
|
3885
4875
|
};
|
|
3886
4876
|
};
|
|
3887
4877
|
|
|
3888
|
-
declare type
|
|
4878
|
+
declare type __VLS_WithTemplateSlots_53<T, S> = T & {
|
|
3889
4879
|
new (): {
|
|
3890
4880
|
$slots: S;
|
|
3891
4881
|
};
|
|
3892
4882
|
};
|
|
3893
4883
|
|
|
3894
|
-
declare type
|
|
4884
|
+
declare type __VLS_WithTemplateSlots_54<T, S> = T & {
|
|
3895
4885
|
new (): {
|
|
3896
4886
|
$slots: S;
|
|
3897
4887
|
};
|
|
3898
4888
|
};
|
|
3899
4889
|
|
|
3900
|
-
declare type
|
|
4890
|
+
declare type __VLS_WithTemplateSlots_55<T, S> = T & {
|
|
3901
4891
|
new (): {
|
|
3902
4892
|
$slots: S;
|
|
3903
4893
|
};
|
|
3904
4894
|
};
|
|
3905
4895
|
|
|
3906
|
-
declare type
|
|
4896
|
+
declare type __VLS_WithTemplateSlots_56<T, S> = T & {
|
|
3907
4897
|
new (): {
|
|
3908
4898
|
$slots: S;
|
|
3909
4899
|
};
|
|
3910
4900
|
};
|
|
3911
4901
|
|
|
3912
|
-
declare type
|
|
4902
|
+
declare type __VLS_WithTemplateSlots_57<T, S> = T & {
|
|
3913
4903
|
new (): {
|
|
3914
4904
|
$slots: S;
|
|
3915
4905
|
};
|
|
3916
4906
|
};
|
|
3917
4907
|
|
|
3918
|
-
declare type
|
|
4908
|
+
declare type __VLS_WithTemplateSlots_58<T, S> = T & {
|
|
3919
4909
|
new (): {
|
|
3920
4910
|
$slots: S;
|
|
3921
4911
|
};
|
|
3922
4912
|
};
|
|
3923
4913
|
|
|
3924
|
-
declare type
|
|
4914
|
+
declare type __VLS_WithTemplateSlots_59<T, S> = T & {
|
|
3925
4915
|
new (): {
|
|
3926
4916
|
$slots: S;
|
|
3927
4917
|
};
|
|
3928
4918
|
};
|
|
3929
4919
|
|
|
3930
|
-
declare type
|
|
4920
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
3931
4921
|
new (): {
|
|
3932
4922
|
$slots: S;
|
|
3933
4923
|
};
|
|
3934
4924
|
};
|
|
3935
4925
|
|
|
3936
|
-
declare type
|
|
4926
|
+
declare type __VLS_WithTemplateSlots_60<T, S> = T & {
|
|
3937
4927
|
new (): {
|
|
3938
4928
|
$slots: S;
|
|
3939
4929
|
};
|
|
3940
4930
|
};
|
|
3941
4931
|
|
|
3942
|
-
declare type
|
|
4932
|
+
declare type __VLS_WithTemplateSlots_61<T, S> = T & {
|
|
3943
4933
|
new (): {
|
|
3944
4934
|
$slots: S;
|
|
3945
4935
|
};
|
|
3946
4936
|
};
|
|
3947
4937
|
|
|
3948
|
-
declare type
|
|
4938
|
+
declare type __VLS_WithTemplateSlots_62<T, S> = T & {
|
|
3949
4939
|
new (): {
|
|
3950
4940
|
$slots: S;
|
|
3951
4941
|
};
|
|
3952
4942
|
};
|
|
3953
4943
|
|
|
3954
|
-
declare type
|
|
4944
|
+
declare type __VLS_WithTemplateSlots_63<T, S> = T & {
|
|
3955
4945
|
new (): {
|
|
3956
4946
|
$slots: S;
|
|
3957
4947
|
};
|
|
@@ -3975,6 +4965,22 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
3975
4965
|
};
|
|
3976
4966
|
};
|
|
3977
4967
|
|
|
4968
|
+
/**
|
|
4969
|
+
* APCA lightness contrast (Lc, 0.0.98G): how well a text reads on a background, as the eye sees it. Positive for dark
|
|
4970
|
+
* text on a light background, negative the other way; |Lc| 75 is body text, 60 a label, 45 a large heading.
|
|
4971
|
+
* WCAG 2 contrast overrates black on mid-tone colours (a teal button gets black text it reads worse with); APCA does not.
|
|
4972
|
+
* Контраст APCA: как текст читается на фоне глазом. WCAG 2 переоценивает чёрный на средних по яркости цветах.
|
|
4973
|
+
*/
|
|
4974
|
+
export declare function apcaContrast(text: string, background: string): number;
|
|
4975
|
+
|
|
4976
|
+
/**
|
|
4977
|
+
* 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:
|
|
4978
|
+
* the same roles the preset files carry, as inline custom properties. Returns a function that takes them off.
|
|
4979
|
+
* Кладёт палитру на элемент (по умолчанию на страницу) в рантайме: те же роли, что в файлах пресетов, как inline-переменные.
|
|
4980
|
+
* Возвращает функцию, которая их снимает.
|
|
4981
|
+
*/
|
|
4982
|
+
export declare function applyTaoPalette(def: TaoPaletteDef, mode: TaoPaletteMode, el?: HTMLElement): () => void;
|
|
4983
|
+
|
|
3978
4984
|
/** Способ ввода цвета в палитре: строка hex, числа RGB или числа HSL. */
|
|
3979
4985
|
export declare type ColorMode = 'hex' | 'rgb' | 'hsl';
|
|
3980
4986
|
|
|
@@ -4001,6 +5007,9 @@ export declare interface ColorModelOptions {
|
|
|
4001
5007
|
declare const confirm_2: TaoConfirmApi;
|
|
4002
5008
|
export { confirm_2 as confirm }
|
|
4003
5009
|
|
|
5010
|
+
/** WCAG contrast ratio, 1…21. */
|
|
5011
|
+
export declare function contrastRatio(a: string, b: string): number;
|
|
5012
|
+
|
|
4004
5013
|
declare function copy(): Promise<void>;
|
|
4005
5014
|
|
|
4006
5015
|
declare type DeepPartial<T> = T extends string | unknown[] ? T : {
|
|
@@ -4030,6 +5039,13 @@ export declare interface Hsva {
|
|
|
4030
5039
|
|
|
4031
5040
|
export declare const hsvaToRgba: (c: Hsva) => Rgba;
|
|
4032
5041
|
|
|
5042
|
+
declare interface ItemSlot {
|
|
5043
|
+
item: TaoTimelineItem;
|
|
5044
|
+
index: number;
|
|
5045
|
+
state: TaoTimelineState;
|
|
5046
|
+
active: boolean;
|
|
5047
|
+
}
|
|
5048
|
+
|
|
4033
5049
|
/** Линейный цвет (0…1) в sRGB (0…1). */
|
|
4034
5050
|
export declare const linearToSrgb: (c: number) => number;
|
|
4035
5051
|
|
|
@@ -4038,6 +5054,21 @@ export declare const localeEn: TaoLocale;
|
|
|
4038
5054
|
/** Default locale. / Локаль по умолчанию. */
|
|
4039
5055
|
export declare const localeRu: TaoLocale;
|
|
4040
5056
|
|
|
5057
|
+
declare function measure(): void;
|
|
5058
|
+
|
|
5059
|
+
/**
|
|
5060
|
+
* Should the owner give the focus back to its trigger? Not when the user went elsewhere (a press, a scroll).
|
|
5061
|
+
* Возвращать ли фокус на кнопку? Нет, если пользователь ушёл в другое место (нажатие, прокрутка).
|
|
5062
|
+
*/
|
|
5063
|
+
export declare function menuReturnsFocus(reason: TaoMenuCloseReason): boolean;
|
|
5064
|
+
|
|
5065
|
+
declare interface NodeSlot {
|
|
5066
|
+
node: TaoTreeNode;
|
|
5067
|
+
level: number;
|
|
5068
|
+
expanded: boolean;
|
|
5069
|
+
selected: boolean;
|
|
5070
|
+
}
|
|
5071
|
+
|
|
4041
5072
|
/** Нормализует строку из поля ввода к `#rrggbb` / `#rrggbbaa`; не цвет: null. */
|
|
4042
5073
|
export declare function normalizeHex(input: string, alpha?: boolean): string | null;
|
|
4043
5074
|
|
|
@@ -4051,17 +5082,22 @@ export declare function parseTaoDate(value: string | null | undefined): TaoDateP
|
|
|
4051
5082
|
|
|
4052
5083
|
export declare function parseTaoDateRange(value: TaoDateRangeValue | null | undefined): TaoDateRangeValue | null;
|
|
4053
5084
|
|
|
5085
|
+
declare function play(): void;
|
|
5086
|
+
|
|
4054
5087
|
declare interface Props {
|
|
4055
5088
|
type?: 'button' | 'submit' | 'reset';
|
|
4056
5089
|
/** Without it the button takes the size of its ancestors (medium by default). / Без него — размер предков (по умолчанию medium). */
|
|
4057
5090
|
size?: TaoSize;
|
|
4058
|
-
variant?: 'primary' | 'secondary' | 'ghost' | 'text'
|
|
4059
|
-
/**
|
|
4060
|
-
tone?:
|
|
5091
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'text';
|
|
5092
|
+
/** Colour of the button, on any `variant`: `danger` / `success` / `warning` / `info` / `neutral`; without it the theme accent. / Цвет кнопки на любом `variant`; без него — акцент темы. */
|
|
5093
|
+
tone?: TaoToneName;
|
|
4061
5094
|
disabled?: boolean;
|
|
4062
5095
|
loading?: boolean;
|
|
4063
5096
|
block?: boolean;
|
|
5097
|
+
/** Icon before the text: a name for TaoIcon (`tao-plus`, a registered or font icon). Without text the button is a square. / Иконка перед текстом: имя для TaoIcon. Без текста кнопка квадратная. */
|
|
4064
5098
|
icon?: string;
|
|
5099
|
+
/** Icon after the text. / Иконка после текста. */
|
|
5100
|
+
iconEnd?: string;
|
|
4065
5101
|
/** Minimum width (number = px). Same as the `--tao-button-min-width` variable. / Минимальная ширина (число = px). То же, что переменная `--tao-button-min-width`. */
|
|
4066
5102
|
minWidth?: number | string;
|
|
4067
5103
|
}
|
|
@@ -4082,17 +5118,13 @@ declare interface Props_11 {
|
|
|
4082
5118
|
}
|
|
4083
5119
|
|
|
4084
5120
|
declare interface Props_12 {
|
|
4085
|
-
/** Status color
|
|
4086
|
-
tone?: TaoTone
|
|
4087
|
-
/** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
|
|
4088
|
-
type?: TaoTone | 'error' | '';
|
|
5121
|
+
/** Status color. / Цвет статуса. */
|
|
5122
|
+
tone?: TaoTone;
|
|
4089
5123
|
color?: string;
|
|
4090
5124
|
background?: string;
|
|
4091
5125
|
borderColor?: string;
|
|
4092
5126
|
/** Pointer cursor, same as TaoListItem / TaoTable. / Курсор-рука, как у TaoListItem / TaoTable. */
|
|
4093
5127
|
clickable?: boolean;
|
|
4094
|
-
/** @deprecated Use `clickable`. / Используйте `clickable`. */
|
|
4095
|
-
pointer?: boolean;
|
|
4096
5128
|
closable?: boolean;
|
|
4097
5129
|
closeLabel?: string;
|
|
4098
5130
|
/** Без рамки, заливка остаётся. Высота как у обычного тега. */
|
|
@@ -4102,6 +5134,14 @@ declare interface Props_12 {
|
|
|
4102
5134
|
}
|
|
4103
5135
|
|
|
4104
5136
|
declare interface Props_13 {
|
|
5137
|
+
/**
|
|
5138
|
+
* What the border runs through: `rainbow` (the default) or the colours of a tone (`tone`, the accent without it).
|
|
5139
|
+
* Из чего состоит рамка: `rainbow` (по умолчанию) или цвета тона (`tone`, без него — акцент).
|
|
5140
|
+
*/
|
|
5141
|
+
variant?: 'rainbow' | 'tone';
|
|
5142
|
+
tone?: TaoToneName;
|
|
5143
|
+
/** Your own colours, any CSS colour; they win over `variant`. / Свои цвета, любые CSS-цвета; главнее `variant`. */
|
|
5144
|
+
colors?: string[];
|
|
4105
5145
|
borderWidth?: number;
|
|
4106
5146
|
speed?: number;
|
|
4107
5147
|
/** Радиус размытия glow-эффекта позади рамки, px. Работает только при light. */
|
|
@@ -4110,6 +5150,8 @@ declare interface Props_13 {
|
|
|
4110
5150
|
* компонент остаётся именно рамкой (переливается только контур),
|
|
4111
5151
|
* без "света", выходящего за её пределы. */
|
|
4112
5152
|
light?: boolean;
|
|
5153
|
+
/** Corner radius of the content; the border outside it is that plus its width. Number — px, string — CSS. / Скругление содержимого; рамка снаружи — оно плюс её ширина. */
|
|
5154
|
+
radius?: TaoLength;
|
|
4113
5155
|
}
|
|
4114
5156
|
|
|
4115
5157
|
declare interface Props_14 {
|
|
@@ -4142,10 +5184,6 @@ declare interface Props_14 {
|
|
|
4142
5184
|
boundary?: number;
|
|
4143
5185
|
/** Focus outline. / Обводка фокуса. */
|
|
4144
5186
|
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
5187
|
ariaLabel?: string;
|
|
4150
5188
|
}
|
|
4151
5189
|
|
|
@@ -4172,8 +5210,6 @@ declare interface Props_16 {
|
|
|
4172
5210
|
to?: string | Record<string, unknown>;
|
|
4173
5211
|
/** Open in a new tab. / Открыть в новой вкладке. */
|
|
4174
5212
|
newTab?: boolean;
|
|
4175
|
-
/** @deprecated Use `newTab`. / Используйте `newTab`. */
|
|
4176
|
-
asNewTab?: boolean;
|
|
4177
5213
|
private?: boolean;
|
|
4178
5214
|
exactPath?: boolean;
|
|
4179
5215
|
}
|
|
@@ -4187,6 +5223,10 @@ declare interface Props_2 {
|
|
|
4187
5223
|
hover?: boolean;
|
|
4188
5224
|
/** `flat` fill, `grain` film grain, `glass` blurred translucent. / Из чего сделана панель. */
|
|
4189
5225
|
surface?: TaoSurface;
|
|
5226
|
+
/** A coloured stripe on one side; the corners clip it. / Цветная полоса с одной стороны; углы её обрезают. */
|
|
5227
|
+
stripe?: TaoStripe;
|
|
5228
|
+
/** The stripe colour: a tone or `gradient`; accent by default. / Цвет полосы: тон или `gradient`. */
|
|
5229
|
+
stripeTone?: TaoStripeTone;
|
|
4190
5230
|
}
|
|
4191
5231
|
|
|
4192
5232
|
declare interface Props_3 {
|
|
@@ -4198,10 +5238,6 @@ declare interface Props_3 {
|
|
|
4198
5238
|
size?: TaoSize;
|
|
4199
5239
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
4200
5240
|
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
5241
|
id?: string;
|
|
4206
5242
|
}
|
|
4207
5243
|
|
|
@@ -4219,6 +5255,14 @@ declare interface Props_4 {
|
|
|
4219
5255
|
flush?: boolean;
|
|
4220
5256
|
/** `flat` fill, `grain` film grain, `glass` blurred translucent. / Из чего сделана панель. */
|
|
4221
5257
|
surface?: TaoSurface;
|
|
5258
|
+
/** A close button in the top right corner; the parent removes the card on `close`. / Кнопка закрытия в правом верхнем углу; карточку убирает родитель по `close`. */
|
|
5259
|
+
closable?: boolean;
|
|
5260
|
+
/** Screen-reader name of the close button. / Имя кнопки закрытия для скринридера. */
|
|
5261
|
+
closeLabel?: string;
|
|
5262
|
+
/** A coloured stripe on one side, over the media too; the corners clip it. / Цветная полоса с одной стороны, поверх media тоже. */
|
|
5263
|
+
stripe?: TaoStripe;
|
|
5264
|
+
/** The stripe colour: a tone or `gradient`; accent by default. / Цвет полосы: тон или `gradient`. */
|
|
5265
|
+
stripeTone?: TaoStripeTone;
|
|
4222
5266
|
}
|
|
4223
5267
|
|
|
4224
5268
|
declare interface Props_5 {
|
|
@@ -4231,15 +5275,13 @@ declare interface Props_5 {
|
|
|
4231
5275
|
declare interface Props_6 {
|
|
4232
5276
|
/** max-width: 1120 / 500 / 400px. */
|
|
4233
5277
|
width?: TaoContainerWidth;
|
|
4234
|
-
/** @deprecated Use `width` — this is a width, not a size. / Используйте `width` — это ширина, не размер. */
|
|
4235
|
-
size?: TaoContainerWidth;
|
|
4236
5278
|
/** "свободно" болтается в разметке, без авто-центровки по горизонтали */
|
|
4237
5279
|
free?: boolean;
|
|
4238
5280
|
}
|
|
4239
5281
|
|
|
4240
5282
|
declare interface Props_7 {
|
|
4241
5283
|
tag?: string;
|
|
4242
|
-
justify?:
|
|
5284
|
+
justify?: TaoJustify;
|
|
4243
5285
|
align?: 'stretch' | 'flex-start' | 'center' | 'flex-end' | 'baseline';
|
|
4244
5286
|
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4245
5287
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
@@ -4252,17 +5294,35 @@ declare interface Props_8 {
|
|
|
4252
5294
|
expand?: boolean;
|
|
4253
5295
|
/** Same as TaoFlex / TaoRadioGroup. / Как у TaoFlex / TaoRadioGroup. */
|
|
4254
5296
|
direction?: 'row' | 'column';
|
|
4255
|
-
/** @deprecated Use `direction="column"`. / Используйте `direction="column"`. */
|
|
4256
|
-
vertical?: boolean;
|
|
4257
5297
|
}
|
|
4258
5298
|
|
|
4259
5299
|
declare interface Props_9 {
|
|
5300
|
+
/**
|
|
5301
|
+
* `tao-check` and the rest of the built-in set; a name registered with `registerTaoIcons`;
|
|
5302
|
+
* any other name is the `icon-<name>` class of your own icon font.
|
|
5303
|
+
* `tao-check` и остальной встроенный набор; имя из `registerTaoIcons`; любое другое — класс `icon-<name>` вашего шрифта.
|
|
5304
|
+
*/
|
|
4260
5305
|
name: string;
|
|
4261
5306
|
margin?: string;
|
|
5307
|
+
/** Pixels. Without it an SVG icon is 1em (follows the font size), a font icon keeps its own size. / Пиксели; без него SVG-иконка 1em. */
|
|
4262
5308
|
size?: number;
|
|
4263
5309
|
invert?: boolean;
|
|
4264
5310
|
}
|
|
4265
5311
|
|
|
5312
|
+
/**
|
|
5313
|
+
* Gives the components below the calling one another language, without touching the global one:
|
|
5314
|
+
* `provideTaoLocale(localeRu)` in the setup of a bilingual block.
|
|
5315
|
+
* Даёт компонентам ниже другой язык, не трогая глобальный: `provideTaoLocale(localeRu)` в setup двуязычного блока.
|
|
5316
|
+
*/
|
|
5317
|
+
export declare function provideTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocale): void;
|
|
5318
|
+
|
|
5319
|
+
/**
|
|
5320
|
+
* Registers your own SVG icons: `registerTaoIcons({ rocket: { body: '<path d="..."/>' } })`, then `<TaoIcon name="rocket" />`.
|
|
5321
|
+
* The names must not start with `tao-`: that prefix belongs to the built-in set.
|
|
5322
|
+
* Регистрирует ваши SVG-иконки. Имена не должны начинаться с `tao-`: приставка принадлежит встроенному набору.
|
|
5323
|
+
*/
|
|
5324
|
+
export declare function registerTaoIcons(icons: Record<string, TaoIconDef>): void;
|
|
5325
|
+
|
|
4266
5326
|
/** Цвет: r, g, b от 0 до 255, a (прозрачность) от 0 до 1. Это обычный sRGB, как в CSS. */
|
|
4267
5327
|
export declare interface Rgba {
|
|
4268
5328
|
r: number;
|
|
@@ -4292,19 +5352,19 @@ export declare function setTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocal
|
|
|
4292
5352
|
/** sRGB (0…1) в линейный цвет (0…1). */
|
|
4293
5353
|
export declare const srgbToLinear: (c: number) => number;
|
|
4294
5354
|
|
|
4295
|
-
export declare const TaoAlert:
|
|
5355
|
+
export declare const TaoAlert: __VLS_WithTemplateSlots_55<typeof __VLS_component_55, ReturnType<typeof __VLS_template_55>>;
|
|
4296
5356
|
|
|
4297
5357
|
export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, ReturnType<typeof __VLS_template_28>>;
|
|
4298
5358
|
|
|
4299
|
-
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<
|
|
5359
|
+
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
|
|
4300
5360
|
src?: string;
|
|
4301
5361
|
name?: string;
|
|
4302
5362
|
alt?: string;
|
|
4303
5363
|
/**
|
|
4304
|
-
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
5364
|
+
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
4305
5365
|
* Контент, не контрол: размер предков не наследует. `s` / `m` / `l` устарели.
|
|
4306
5366
|
*/
|
|
4307
|
-
size?: TaoSize
|
|
5367
|
+
size?: TaoSize;
|
|
4308
5368
|
/** Точка статуса. `true` = success (в сети). */
|
|
4309
5369
|
dot?: boolean | TaoAvatarDot;
|
|
4310
5370
|
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
@@ -4312,7 +5372,7 @@ count?: number | string;
|
|
|
4312
5372
|
fallbackLabel?: string;
|
|
4313
5373
|
/** `{count}` — число в бейдже. */
|
|
4314
5374
|
notificationsLabel?: string;
|
|
4315
|
-
dotLabels?: Partial<Record<
|
|
5375
|
+
dotLabels?: Partial<Record<TaoAvatarDot, string>>;
|
|
4316
5376
|
}>, {
|
|
4317
5377
|
src: string;
|
|
4318
5378
|
name: string;
|
|
@@ -4321,15 +5381,15 @@ size: string;
|
|
|
4321
5381
|
dot: boolean;
|
|
4322
5382
|
count: undefined;
|
|
4323
5383
|
dotLabels: () => {};
|
|
4324
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5384
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
|
|
4325
5385
|
src?: string;
|
|
4326
5386
|
name?: string;
|
|
4327
5387
|
alt?: string;
|
|
4328
5388
|
/**
|
|
4329
|
-
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
5389
|
+
* 24 / 32 / 48px. Content, not a control: does not inherit the size of ancestors.
|
|
4330
5390
|
* Контент, не контрол: размер предков не наследует. `s` / `m` / `l` устарели.
|
|
4331
5391
|
*/
|
|
4332
|
-
size?: TaoSize
|
|
5392
|
+
size?: TaoSize;
|
|
4333
5393
|
/** Точка статуса. `true` = success (в сети). */
|
|
4334
5394
|
dot?: boolean | TaoAvatarDot;
|
|
4335
5395
|
/** Счётчик в углу. 0 и пустое не рисуются, больше 99 — «99+». */
|
|
@@ -4337,7 +5397,7 @@ count?: number | string;
|
|
|
4337
5397
|
fallbackLabel?: string;
|
|
4338
5398
|
/** `{count}` — число в бейдже. */
|
|
4339
5399
|
notificationsLabel?: string;
|
|
4340
|
-
dotLabels?: Partial<Record<
|
|
5400
|
+
dotLabels?: Partial<Record<TaoAvatarDot, string>>;
|
|
4341
5401
|
}>, {
|
|
4342
5402
|
src: string;
|
|
4343
5403
|
name: string;
|
|
@@ -4348,22 +5408,22 @@ count: undefined;
|
|
|
4348
5408
|
dotLabels: () => {};
|
|
4349
5409
|
}>>> & Readonly<{}>, {
|
|
4350
5410
|
name: string;
|
|
5411
|
+
size: TaoSize;
|
|
4351
5412
|
src: string;
|
|
4352
5413
|
alt: string;
|
|
4353
|
-
size: TaoSize | "s" | "m" | "l";
|
|
4354
5414
|
dot: boolean | TaoAvatarDot;
|
|
4355
5415
|
count: number | string;
|
|
4356
|
-
dotLabels: Partial<Record<
|
|
5416
|
+
dotLabels: Partial<Record<TaoAvatarDot, string>>;
|
|
4357
5417
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4358
5418
|
|
|
4359
|
-
declare type TaoAvatarDot =
|
|
5419
|
+
declare type TaoAvatarDot = TaoTone;
|
|
4360
5420
|
|
|
4361
5421
|
export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
4362
5422
|
|
|
4363
|
-
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<
|
|
5423
|
+
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
|
|
4364
5424
|
items: TaoBreadcrumbItem[];
|
|
4365
5425
|
ariaLabel?: string;
|
|
4366
|
-
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5426
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
|
|
4367
5427
|
items: TaoBreadcrumbItem[];
|
|
4368
5428
|
ariaLabel?: string;
|
|
4369
5429
|
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -4375,13 +5435,26 @@ export declare interface TaoBreadcrumbItem {
|
|
|
4375
5435
|
|
|
4376
5436
|
export declare const TaoButton: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
4377
5437
|
|
|
5438
|
+
export declare const TaoCalendar: __VLS_WithTemplateSlots_47<typeof __VLS_component_47, ReturnType<typeof __VLS_template_47>>;
|
|
5439
|
+
|
|
4378
5440
|
export declare const TaoCard: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, ReturnType<typeof __VLS_template_7>>;
|
|
4379
5441
|
|
|
4380
|
-
export declare const TaoCarousel:
|
|
5442
|
+
export declare const TaoCarousel: __VLS_WithTemplateSlots_62<typeof __VLS_component_62, ReturnType<typeof __VLS_template_62>>;
|
|
4381
5443
|
|
|
4382
5444
|
export declare const TaoCheckbox: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, ReturnType<typeof __VLS_template_24>>;
|
|
4383
5445
|
|
|
4384
|
-
export declare const
|
|
5446
|
+
export declare const TaoChecklist: __VLS_WithTemplateSlots_39<typeof __VLS_component_39, ReturnType<typeof __VLS_template_39>>;
|
|
5447
|
+
|
|
5448
|
+
/** One line of TaoChecklist. / Одна строка TaoChecklist. */
|
|
5449
|
+
export declare interface TaoChecklistItem {
|
|
5450
|
+
value: string | number;
|
|
5451
|
+
label: string;
|
|
5452
|
+
/** A second, quieter line. / Вторая, тихая строка. */
|
|
5453
|
+
description?: string;
|
|
5454
|
+
disabled?: boolean;
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
export declare const TaoColorInput: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
|
|
4385
5458
|
/** Color as a hex string. / Цвет строкой hex. */
|
|
4386
5459
|
modelValue: string;
|
|
4387
5460
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4395,7 +5468,7 @@ eyedropper?: boolean;
|
|
|
4395
5468
|
disabled?: boolean;
|
|
4396
5469
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
4397
5470
|
error?: boolean;
|
|
4398
|
-
|
|
5471
|
+
placement?: TaoPlacement;
|
|
4399
5472
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
4400
5473
|
size?: TaoSize;
|
|
4401
5474
|
chooseLabel?: string;
|
|
@@ -4405,12 +5478,12 @@ modes: () => string[];
|
|
|
4405
5478
|
eyedropper: boolean;
|
|
4406
5479
|
disabled: boolean;
|
|
4407
5480
|
error: boolean;
|
|
4408
|
-
|
|
5481
|
+
placement: string;
|
|
4409
5482
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4410
|
-
"update:modelValue": (hex: string) => void;
|
|
4411
5483
|
change: (hex: string) => void;
|
|
5484
|
+
"update:modelValue": (hex: string) => void;
|
|
4412
5485
|
"update:mode": (mode: ColorMode) => void;
|
|
4413
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5486
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
|
|
4414
5487
|
/** Color as a hex string. / Цвет строкой hex. */
|
|
4415
5488
|
modelValue: string;
|
|
4416
5489
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4424,7 +5497,7 @@ eyedropper?: boolean;
|
|
|
4424
5497
|
disabled?: boolean;
|
|
4425
5498
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
4426
5499
|
error?: boolean;
|
|
4427
|
-
|
|
5500
|
+
placement?: TaoPlacement;
|
|
4428
5501
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
4429
5502
|
size?: TaoSize;
|
|
4430
5503
|
chooseLabel?: string;
|
|
@@ -4434,21 +5507,21 @@ modes: () => string[];
|
|
|
4434
5507
|
eyedropper: boolean;
|
|
4435
5508
|
disabled: boolean;
|
|
4436
5509
|
error: boolean;
|
|
4437
|
-
|
|
5510
|
+
placement: string;
|
|
4438
5511
|
}>>> & Readonly<{
|
|
4439
|
-
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4440
5512
|
onChange?: ((hex: string) => any) | undefined;
|
|
5513
|
+
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4441
5514
|
"onUpdate:mode"?: ((mode: ColorMode) => any) | undefined;
|
|
4442
5515
|
}>, {
|
|
4443
|
-
error: boolean;
|
|
4444
|
-
position: "top" | "bottom" | "left" | "right";
|
|
4445
5516
|
disabled: boolean;
|
|
5517
|
+
error: boolean;
|
|
5518
|
+
placement: TaoPlacement;
|
|
4446
5519
|
alpha: boolean;
|
|
4447
5520
|
modes: readonly ColorMode[];
|
|
4448
5521
|
eyedropper: boolean;
|
|
4449
5522
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4450
5523
|
|
|
4451
|
-
export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<
|
|
5524
|
+
export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
|
|
4452
5525
|
/** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
|
|
4453
5526
|
modelValue: string;
|
|
4454
5527
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4477,10 +5550,10 @@ modes: () => string[];
|
|
|
4477
5550
|
eyedropper: boolean;
|
|
4478
5551
|
disabled: boolean;
|
|
4479
5552
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4480
|
-
"update:modelValue": (hex: string) => void;
|
|
4481
5553
|
change: (hex: string) => void;
|
|
5554
|
+
"update:modelValue": (hex: string) => void;
|
|
4482
5555
|
"update:mode": (mode: ColorMode) => void;
|
|
4483
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5556
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
|
|
4484
5557
|
/** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
|
|
4485
5558
|
modelValue: string;
|
|
4486
5559
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -4509,8 +5582,8 @@ modes: () => string[];
|
|
|
4509
5582
|
eyedropper: boolean;
|
|
4510
5583
|
disabled: boolean;
|
|
4511
5584
|
}>>> & Readonly<{
|
|
4512
|
-
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4513
5585
|
onChange?: ((hex: string) => any) | undefined;
|
|
5586
|
+
"onUpdate:modelValue"?: ((hex: string) => any) | undefined;
|
|
4514
5587
|
"onUpdate:mode"?: ((mode: ColorMode) => any) | undefined;
|
|
4515
5588
|
}>, {
|
|
4516
5589
|
disabled: boolean;
|
|
@@ -4519,7 +5592,7 @@ modes: readonly ColorMode[];
|
|
|
4519
5592
|
eyedropper: boolean;
|
|
4520
5593
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4521
5594
|
|
|
4522
|
-
export declare const TaoCombobox:
|
|
5595
|
+
export declare const TaoCombobox: __VLS_WithTemplateSlots_46<typeof __VLS_component_46, ReturnType<typeof __VLS_template_46>>;
|
|
4523
5596
|
|
|
4524
5597
|
export declare interface TaoConfirmApi {
|
|
4525
5598
|
(): TaoConfirmBuilder;
|
|
@@ -4570,15 +5643,17 @@ export declare const TaoContainer: __VLS_WithTemplateSlots_16<typeof __VLS_compo
|
|
|
4570
5643
|
|
|
4571
5644
|
declare type TaoContainerWidth = 'wide' | 'slim' | 'ultra-slim';
|
|
4572
5645
|
|
|
5646
|
+
export declare const TaoContextMenu: __VLS_WithTemplateSlots_42<typeof __VLS_component_42, ReturnType<typeof __VLS_template_42>>;
|
|
5647
|
+
|
|
4573
5648
|
export declare const TaoCopy: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, ReturnType<typeof __VLS_template_15>>;
|
|
4574
5649
|
|
|
4575
|
-
export declare const TaoCounter: DefineComponent<ExtractPropTypes<
|
|
5650
|
+
export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
|
|
4576
5651
|
value?: number;
|
|
4577
5652
|
maxDigits?: number;
|
|
4578
5653
|
}>, {
|
|
4579
5654
|
value: number;
|
|
4580
5655
|
maxDigits: number;
|
|
4581
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
5656
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
|
|
4582
5657
|
value?: number;
|
|
4583
5658
|
maxDigits?: number;
|
|
4584
5659
|
}>, {
|
|
@@ -4589,7 +5664,7 @@ value: number;
|
|
|
4589
5664
|
maxDigits: number;
|
|
4590
5665
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4591
5666
|
|
|
4592
|
-
export declare const TaoDate:
|
|
5667
|
+
export declare const TaoDate: __VLS_WithTemplateSlots_48<typeof __VLS_component_48, ReturnType<typeof __VLS_template_48>>;
|
|
4593
5668
|
|
|
4594
5669
|
export declare interface TaoDateCell {
|
|
4595
5670
|
iso: string;
|
|
@@ -4603,26 +5678,28 @@ export declare interface TaoDateParts {
|
|
|
4603
5678
|
d: number;
|
|
4604
5679
|
}
|
|
4605
5680
|
|
|
4606
|
-
export declare const TaoDateRange:
|
|
5681
|
+
export declare const TaoDateRange: __VLS_WithTemplateSlots_49<typeof __VLS_component_49, ReturnType<typeof __VLS_template_49>>;
|
|
4607
5682
|
|
|
4608
5683
|
export declare interface TaoDateRangeValue {
|
|
4609
5684
|
start: string;
|
|
4610
5685
|
end: string;
|
|
4611
5686
|
}
|
|
4612
5687
|
|
|
4613
|
-
|
|
5688
|
+
/**
|
|
5689
|
+
* How roomy the controls are, on top of their size: `compact` for dense tools and tables, `comfortable` for touch,
|
|
5690
|
+
* `auto` — comfortable on a touch screen and default with a mouse. A context: set it on a container.
|
|
5691
|
+
* Насколько просторны контролы поверх их размера: `compact` для плотных инструментов и таблиц, `comfortable` под палец,
|
|
5692
|
+
* `auto` — comfortable на сенсорном экране и обычная с мышью. Это контекст: ставится на контейнер.
|
|
5693
|
+
*/
|
|
5694
|
+
export declare type TaoDensity = 'compact' | 'default' | 'comfortable' | 'auto';
|
|
4614
5695
|
|
|
4615
|
-
export declare const
|
|
5696
|
+
export declare const TaoDivider: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, ReturnType<typeof __VLS_template_26>>;
|
|
4616
5697
|
|
|
4617
|
-
export declare
|
|
4618
|
-
id: string;
|
|
4619
|
-
name: string;
|
|
4620
|
-
ico?: string;
|
|
4621
|
-
}
|
|
5698
|
+
export declare const TaoDrawer: __VLS_WithTemplateSlots_61<typeof __VLS_component_61, ReturnType<typeof __VLS_template_61>>;
|
|
4622
5699
|
|
|
4623
5700
|
export declare const TaoDropdownMenu: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, ReturnType<typeof __VLS_template_34>>;
|
|
4624
5701
|
|
|
4625
|
-
export declare const TaoEmpty:
|
|
5702
|
+
export declare const TaoEmpty: __VLS_WithTemplateSlots_58<typeof __VLS_component_58, ReturnType<typeof __VLS_template_58>>;
|
|
4626
5703
|
|
|
4627
5704
|
export declare const TaoFieldset: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, ReturnType<typeof __VLS_template_27>>;
|
|
4628
5705
|
|
|
@@ -4630,7 +5707,7 @@ export declare const TaoFileDrop: __VLS_WithTemplateSlots_33<typeof __VLS_compon
|
|
|
4630
5707
|
|
|
4631
5708
|
export declare const TaoFlex: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, ReturnType<typeof __VLS_template_17>>;
|
|
4632
5709
|
|
|
4633
|
-
export declare const TaoFormField:
|
|
5710
|
+
export declare const TaoFormField: __VLS_WithTemplateSlots_44<typeof __VLS_component_44, ReturnType<typeof __VLS_template_44>>;
|
|
4634
5711
|
|
|
4635
5712
|
export declare interface TaoFormFieldContext {
|
|
4636
5713
|
id: string;
|
|
@@ -4642,8 +5719,44 @@ export declare const TaoGrid: __VLS_WithTemplateSlots_19<typeof __VLS_component_
|
|
|
4642
5719
|
|
|
4643
5720
|
export declare const TaoGridItem: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, ReturnType<typeof __VLS_template_20>>;
|
|
4644
5721
|
|
|
5722
|
+
/**
|
|
5723
|
+
* The width classes of TaoGrid, by the width of the grid itself (not of the window): compact below 600px, medium below
|
|
5724
|
+
* 840px, expanded from 840px — the same as TaoNav.
|
|
5725
|
+
* Классы ширины TaoGrid по ширине самой сетки (не окна): compact до 600px, medium до 840px, expanded от 840px — как у TaoNav.
|
|
5726
|
+
*/
|
|
5727
|
+
export declare type TaoGridSize = 'compact' | 'medium' | 'expanded';
|
|
5728
|
+
|
|
5729
|
+
/** How many columns an item takes: a number, or `'full'` for the whole row. / Сколько колонок: число или `'full'` — весь ряд. */
|
|
5730
|
+
export declare type TaoGridSpan = number | 'full';
|
|
5731
|
+
|
|
4645
5732
|
export declare const TaoIcon: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, ReturnType<typeof __VLS_template_22>>;
|
|
4646
5733
|
|
|
5734
|
+
/**
|
|
5735
|
+
* Built-in icons: 24x24, a 2px round stroke, `currentColor`, so an icon follows the text colour and the font size.
|
|
5736
|
+
* They live under the reserved prefix `tao-` (`<TaoIcon name="tao-check" />`), so they never clash with the names of
|
|
5737
|
+
* your own icon font (`name="check"` still means `icon-check` of your font) or with icons you register.
|
|
5738
|
+
*
|
|
5739
|
+
* Встроенные иконки: 24x24, обводка 2px со скруглениями, `currentColor`: иконка следует цвету и размеру текста.
|
|
5740
|
+
* Живут под зарезервированной приставкой `tao-` (`<TaoIcon name="tao-check" />`), поэтому не пересекаются с именами
|
|
5741
|
+
* вашего шрифта (`name="check"` по-прежнему значит `icon-check` из вашего шрифта) и с зарегистрированными иконками.
|
|
5742
|
+
*/
|
|
5743
|
+
export declare interface TaoIconDef {
|
|
5744
|
+
/** The inner markup of the `<svg>` (paths, circles). Trusted: it is written by the library or by your app. / Внутренняя разметка `<svg>`. */
|
|
5745
|
+
body: string;
|
|
5746
|
+
/** `0 0 24 24` unless the icon is drawn on another grid. / `0 0 24 24`, если не другая сетка. */
|
|
5747
|
+
viewBox?: string;
|
|
5748
|
+
/**
|
|
5749
|
+
* Only straight horizontal and vertical lines through the middle (a plus, a minus). Scaled down, such a line falls
|
|
5750
|
+
* between two pixels and goes soft; with `grid` it is drawn 2 screen pixels wide and snapped to the pixel grid.
|
|
5751
|
+
* Только прямые линии через середину (плюс, минус). При уменьшении такая линия ложится между пикселями и мылится;
|
|
5752
|
+
* с `grid` она рисуется шириной 2 экранных пикселя и привязывается к пиксельной сетке.
|
|
5753
|
+
*/
|
|
5754
|
+
grid?: boolean;
|
|
5755
|
+
}
|
|
5756
|
+
|
|
5757
|
+
/** Names of the built-in icons, with the prefix. / Имена встроенных иконок с приставкой. */
|
|
5758
|
+
export declare const taoIconNames: string[];
|
|
5759
|
+
|
|
4647
5760
|
export declare const TaoImage: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, ReturnType<typeof __VLS_template_23>>;
|
|
4648
5761
|
|
|
4649
5762
|
export declare const TaoInput: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, ReturnType<typeof __VLS_template_3>>;
|
|
@@ -4652,17 +5765,17 @@ export declare const TaoInputGroup: __VLS_WithTemplateSlots_4<typeof __VLS_compo
|
|
|
4652
5765
|
|
|
4653
5766
|
export declare const TaoInputNumber: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, ReturnType<typeof __VLS_template_5>>;
|
|
4654
5767
|
|
|
5768
|
+
/** The `justify-content` keywords the library accepts, same for TaoFlex and TaoTabs. / Ключевые слова `justify-content`, общие для TaoFlex и TaoTabs. */
|
|
5769
|
+
export declare type TaoJustify = 'flex-start' | 'flex-end' | 'center' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5770
|
+
|
|
4655
5771
|
/** Length prop: a number is pixels, a string goes to CSS as is (`1rem`, `50%`, `var(--tao-space-4)`). / Число — пиксели, строка уходит в CSS как есть. */
|
|
4656
5772
|
export declare type TaoLength = number | string;
|
|
4657
5773
|
|
|
4658
|
-
export declare const TaoLink:
|
|
4659
|
-
|
|
4660
|
-
export declare const TaoList: __VLS_WithTemplateSlots_50<typeof __VLS_component_50, ReturnType<typeof __VLS_template_50>>;
|
|
5774
|
+
export declare const TaoLink: __VLS_WithTemplateSlots_43<typeof __VLS_component_43, ReturnType<typeof __VLS_template_43>>;
|
|
4661
5775
|
|
|
4662
|
-
export declare const
|
|
5776
|
+
export declare const TaoList: __VLS_WithTemplateSlots_59<typeof __VLS_component_59, ReturnType<typeof __VLS_template_59>>;
|
|
4663
5777
|
|
|
4664
|
-
|
|
4665
|
-
export declare type TaoListSize = TaoSize;
|
|
5778
|
+
export declare const TaoListItem: __VLS_WithTemplateSlots_60<typeof __VLS_component_60, ReturnType<typeof __VLS_template_60>>;
|
|
4666
5779
|
|
|
4667
5780
|
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_23<Props_10>, {
|
|
4668
5781
|
color: string;
|
|
@@ -4690,6 +5803,12 @@ export declare interface TaoLocale {
|
|
|
4690
5803
|
code: string;
|
|
4691
5804
|
alert: {
|
|
4692
5805
|
closeLabel: string;
|
|
5806
|
+
detailsLabel: string;
|
|
5807
|
+
};
|
|
5808
|
+
/** What a screen reader hears when the status of TaoPinCode changes. / Что слышит скринридер при смене статуса. */
|
|
5809
|
+
pinCode: {
|
|
5810
|
+
successText: string;
|
|
5811
|
+
errorText: string;
|
|
4693
5812
|
};
|
|
4694
5813
|
avatar: {
|
|
4695
5814
|
fallbackLabel: string;
|
|
@@ -4700,11 +5819,16 @@ export declare interface TaoLocale {
|
|
|
4700
5819
|
breadcrumb: {
|
|
4701
5820
|
ariaLabel: string;
|
|
4702
5821
|
};
|
|
5822
|
+
card: {
|
|
5823
|
+
closeLabel: string;
|
|
5824
|
+
};
|
|
4703
5825
|
carousel: {
|
|
4704
5826
|
ariaLabel: string;
|
|
4705
5827
|
prevLabel: string;
|
|
4706
5828
|
nextLabel: string;
|
|
4707
5829
|
dotsLabel: string;
|
|
5830
|
+
pauseLabel: string;
|
|
5831
|
+
playLabel: string;
|
|
4708
5832
|
/** `{n}`, `{count}`. */
|
|
4709
5833
|
slideLabel: string;
|
|
4710
5834
|
};
|
|
@@ -4743,6 +5867,25 @@ export declare interface TaoLocale {
|
|
|
4743
5867
|
dropdownMenu: {
|
|
4744
5868
|
menuLabel: string;
|
|
4745
5869
|
};
|
|
5870
|
+
menubar: {
|
|
5871
|
+
ariaLabel: string;
|
|
5872
|
+
};
|
|
5873
|
+
nav: {
|
|
5874
|
+
ariaLabel: string;
|
|
5875
|
+
moreLabel: string;
|
|
5876
|
+
};
|
|
5877
|
+
tree: {
|
|
5878
|
+
ariaLabel: string;
|
|
5879
|
+
loadingLabel: string;
|
|
5880
|
+
};
|
|
5881
|
+
/** `counterText`: `{checked}`, `{total}`. */
|
|
5882
|
+
checklist: {
|
|
5883
|
+
selectAllLabel: string;
|
|
5884
|
+
counterText: string;
|
|
5885
|
+
};
|
|
5886
|
+
contextMenu: {
|
|
5887
|
+
menuLabel: string;
|
|
5888
|
+
};
|
|
4746
5889
|
empty: {
|
|
4747
5890
|
title: string;
|
|
4748
5891
|
};
|
|
@@ -4775,6 +5918,10 @@ export declare interface TaoLocale {
|
|
|
4775
5918
|
/** `{n}` — pages skipped by «…». / сколько страниц перескакивает «…». */
|
|
4776
5919
|
jumpPrevLabel: string;
|
|
4777
5920
|
jumpNextLabel: string;
|
|
5921
|
+
/** The text before the page field. / Текст перед полем страницы. */
|
|
5922
|
+
goToText: string;
|
|
5923
|
+
/** `{count}` — the number of pages. / число страниц. */
|
|
5924
|
+
goToLabel: string;
|
|
4778
5925
|
/** `{from}`, `{to}`, `{total}`. */
|
|
4779
5926
|
totalText: string;
|
|
4780
5927
|
/** When there are no rows. / Когда строк нет. */
|
|
@@ -4815,7 +5962,7 @@ export declare interface TaoLocale {
|
|
|
4815
5962
|
/** Trigger of TaoColorInput. / Кнопка TaoColorInput. */
|
|
4816
5963
|
chooseLabel: string;
|
|
4817
5964
|
};
|
|
4818
|
-
|
|
5965
|
+
scrubber: {
|
|
4819
5966
|
playLabel: string;
|
|
4820
5967
|
pauseLabel: string;
|
|
4821
5968
|
restartLabel: string;
|
|
@@ -4831,9 +5978,98 @@ export declare function taoLocale(): TaoLocale;
|
|
|
4831
5978
|
/** Any subset of a locale, at any depth; the rest comes from the base. / Любая часть локали на любой глубине; остальное — из базовой. */
|
|
4832
5979
|
export declare type TaoLocaleOverrides = DeepPartial<TaoLocale>;
|
|
4833
5980
|
|
|
5981
|
+
export declare const TaoMarquee: __VLS_WithTemplateSlots_41<typeof __VLS_component_41, ReturnType<typeof __VLS_template_41>>;
|
|
5982
|
+
|
|
5983
|
+
export declare const TaoMenu: __VLS_WithTemplateSlots_35<typeof __VLS_component_35, ReturnType<typeof __VLS_template_35>>;
|
|
5984
|
+
|
|
5985
|
+
/**
|
|
5986
|
+
* One entry of a menu. A plain data tree: TaoMenu / TaoDropdownMenu know nothing about commands or editors.
|
|
5987
|
+
* `type` tells what the entry is, so a checkbox can be told from a plain item and radios can be grouped.
|
|
5988
|
+
* Один пункт меню. Простое дерево данных: меню ничего не знает о командах и редакторах.
|
|
5989
|
+
* `type` говорит, что это за пункт: чекбокс отличается от обычного, радио группируются.
|
|
5990
|
+
*/
|
|
5991
|
+
export declare interface TaoMenuActionItem {
|
|
5992
|
+
type?: 'item';
|
|
5993
|
+
id: string;
|
|
5994
|
+
label: string;
|
|
5995
|
+
/** Icon name for TaoIcon. / Имя иконки для TaoIcon. */
|
|
5996
|
+
icon?: string;
|
|
5997
|
+
/** Shortcut as a ready string to show («Ctrl+S», «⌘S»); the menu does not parse or listen to it. / Готовая строка для показа. */
|
|
5998
|
+
shortcut?: string;
|
|
5999
|
+
disabled?: boolean;
|
|
6000
|
+
/** A submenu. / Подменю. */
|
|
6001
|
+
items?: TaoMenuItem[];
|
|
6002
|
+
}
|
|
6003
|
+
|
|
6004
|
+
export declare const TaoMenubar: __VLS_WithTemplateSlots_36<typeof __VLS_component_36, ReturnType<typeof __VLS_template_36>>;
|
|
6005
|
+
|
|
6006
|
+
export declare interface TaoMenuCheckboxItem {
|
|
6007
|
+
type: 'checkbox';
|
|
6008
|
+
id: string;
|
|
6009
|
+
label: string;
|
|
6010
|
+
checked: boolean;
|
|
6011
|
+
shortcut?: string;
|
|
6012
|
+
disabled?: boolean;
|
|
6013
|
+
}
|
|
6014
|
+
|
|
6015
|
+
/**
|
|
6016
|
+
* Why a menu closed: `outside` is a press elsewhere, `scroll` the page scrolled (`closeOnScroll`).
|
|
6017
|
+
* Почему меню закрылось: `outside` — нажатие в другом месте, `scroll` — прокрутка страницы (`closeOnScroll`).
|
|
6018
|
+
*/
|
|
6019
|
+
export declare type TaoMenuCloseReason = 'escape' | 'select' | 'outside' | 'tab' | 'scroll';
|
|
6020
|
+
|
|
6021
|
+
export declare type TaoMenuItem = TaoMenuActionItem | TaoMenuCheckboxItem | TaoMenuRadioItem | TaoMenuLabelItem | TaoMenuSeparatorItem;
|
|
6022
|
+
|
|
6023
|
+
/** A non-interactive caption of the group that follows. / Подпись следующей группы. */
|
|
6024
|
+
export declare interface TaoMenuLabelItem {
|
|
6025
|
+
type: 'label';
|
|
6026
|
+
label: string;
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
export declare interface TaoMenuRadioItem {
|
|
6030
|
+
type: 'radio';
|
|
6031
|
+
id: string;
|
|
6032
|
+
/** Radios of one group: the checked one is the value. / Радио одной группы. */
|
|
6033
|
+
group: string;
|
|
6034
|
+
label: string;
|
|
6035
|
+
checked: boolean;
|
|
6036
|
+
shortcut?: string;
|
|
6037
|
+
disabled?: boolean;
|
|
6038
|
+
}
|
|
6039
|
+
|
|
6040
|
+
export declare interface TaoMenuSeparatorItem {
|
|
6041
|
+
type: 'separator';
|
|
6042
|
+
}
|
|
6043
|
+
|
|
4834
6044
|
export declare const TaoModal: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, ReturnType<typeof __VLS_template_8>>;
|
|
4835
6045
|
|
|
4836
|
-
export declare const
|
|
6046
|
+
export declare const TaoNav: __VLS_WithTemplateSlots_37<typeof __VLS_component_37, ReturnType<typeof __VLS_template_37>>;
|
|
6047
|
+
|
|
6048
|
+
/**
|
|
6049
|
+
* One section of the app in TaoNav. The same data for every layout: a bottom bar, a rail, a drawer.
|
|
6050
|
+
* Один раздел приложения в TaoNav. Одни данные для всех видов: нижняя панель, рейка, боковая панель.
|
|
6051
|
+
*/
|
|
6052
|
+
export declare interface TaoNavItem {
|
|
6053
|
+
id: string;
|
|
6054
|
+
label: string;
|
|
6055
|
+
/** Icon name for TaoIcon (the bar and the rail show it above the label). / Имя иконки для TaoIcon. */
|
|
6056
|
+
icon?: string;
|
|
6057
|
+
/** A link: rendered as `<a href>`; without it a button. / Ссылка: рендерится как `<a href>`, без неё кнопка. */
|
|
6058
|
+
href?: string;
|
|
6059
|
+
/** A count (`3`, `'99+'`) or `true` for a dot. / Счётчик или `true` для точки. */
|
|
6060
|
+
badge?: number | string | boolean;
|
|
6061
|
+
disabled?: boolean;
|
|
6062
|
+
}
|
|
6063
|
+
|
|
6064
|
+
/**
|
|
6065
|
+
* `bar` — a bottom bar for 3–5 sections, `rail` — a narrow side rail with icons, `drawer` — a side panel with labels,
|
|
6066
|
+
* `auto` — chosen by the width of TaoNav itself: bar below 600px, rail below 840px, drawer from 840px.
|
|
6067
|
+
* `bar` — нижняя панель на 3–5 разделов, `rail` — узкая боковая рейка с иконками, `drawer` — боковая панель с подписями,
|
|
6068
|
+
* `auto` — по ширине самого TaoNav: bar до 600px, rail до 840px, drawer от 840px.
|
|
6069
|
+
*/
|
|
6070
|
+
export declare type TaoNavLayout = 'auto' | 'bar' | 'rail' | 'drawer';
|
|
6071
|
+
|
|
6072
|
+
export declare const TaoPagination: __VLS_WithTemplateSlots_57<typeof __VLS_component_57, ReturnType<typeof __VLS_template_57>>;
|
|
4837
6073
|
|
|
4838
6074
|
export declare type TaoPaginationItem = {
|
|
4839
6075
|
type: 'page';
|
|
@@ -4843,7 +6079,37 @@ export declare type TaoPaginationItem = {
|
|
|
4843
6079
|
id: 'left' | 'right';
|
|
4844
6080
|
};
|
|
4845
6081
|
|
|
4846
|
-
|
|
6082
|
+
/**
|
|
6083
|
+
* The CSS of a palette: `[data-tao-theme="name"]` is its dark mode, `[data-tao-theme="name"][data-tao-mode="light"]` the
|
|
6084
|
+
* light one. Only what the palette decides: the neutral roles come from the dark / light theme underneath.
|
|
6085
|
+
* CSS палитры: `[data-tao-theme="name"]` — тёмный режим, с `[data-tao-mode="light"]` — светлый. Только то, что решает
|
|
6086
|
+
* палитра: нейтральные роли приходят из тёмной / светлой темы под ней.
|
|
6087
|
+
*/
|
|
6088
|
+
export declare function taoPaletteCss(def: TaoPaletteDef): string;
|
|
6089
|
+
|
|
6090
|
+
export declare interface TaoPaletteDef {
|
|
6091
|
+
/** The value of `data-tao-theme`. / Значение `data-tao-theme`. */
|
|
6092
|
+
name: string;
|
|
6093
|
+
/** What a picker shows. / Что показывает выбор. */
|
|
6094
|
+
label: string;
|
|
6095
|
+
/** Four stops, from the darkest to the lightest. / Четыре стопа от тёмного к светлому. */
|
|
6096
|
+
stops: readonly [string, string, string, string];
|
|
6097
|
+
/** Which stop is the accent (0–3). By default it is picked by lightness. / Какой стоп акцентный; по умолчанию выбирается по яркости. */
|
|
6098
|
+
accent?: 0 | 1 | 2 | 3;
|
|
6099
|
+
/** Your own colour (dark mode fill) for a status, when the automatic one does not suit. / Свой цвет статуса, если автоматический не подошёл. */
|
|
6100
|
+
status?: Partial<Record<TaoStatusName, string>>;
|
|
6101
|
+
}
|
|
6102
|
+
|
|
6103
|
+
export declare type TaoPaletteMode = 'dark' | 'light';
|
|
6104
|
+
|
|
6105
|
+
/**
|
|
6106
|
+
* The ready-made palettes. `data-tao-theme="<name>"` turns one on (dark); add `data-tao-mode="light"` for its light twin.
|
|
6107
|
+
* The CSS is `@1337exp/taoui/styles/palettes/<name>.css` (or `index.css` for all), generated from these stops.
|
|
6108
|
+
* Готовые палитры. `data-tao-theme="<name>"` включает палитру (тёмную), `data-tao-mode="light"` — её светлую версию.
|
|
6109
|
+
*/
|
|
6110
|
+
export declare const taoPalettes: readonly TaoPaletteDef[];
|
|
6111
|
+
|
|
6112
|
+
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
|
|
4847
6113
|
/** Number of cells. Not needed with `format` (it is counted from the mask). / Число ячеек. С `format` не нужно (считается по маске). */
|
|
4848
6114
|
length?: number;
|
|
4849
6115
|
/**
|
|
@@ -4855,8 +6121,6 @@ length?: number;
|
|
|
4855
6121
|
format?: string;
|
|
4856
6122
|
/** Cells show dots instead of characters. / Ячейки показывают точки вместо символов. */
|
|
4857
6123
|
masked?: boolean;
|
|
4858
|
-
/** @deprecated Use `masked` — `hidden` is a native attribute. / Используйте `masked` — `hidden` это нативный атрибут. */
|
|
4859
|
-
hidden?: boolean;
|
|
4860
6124
|
placeholder?: string;
|
|
4861
6125
|
disabled?: boolean;
|
|
4862
6126
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
@@ -4868,22 +6132,36 @@ numbersOnly?: boolean;
|
|
|
4868
6132
|
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
4869
6133
|
* `input` — цифра остаётся, пока не введут новую. */
|
|
4870
6134
|
clearOn?: "focus" | "input";
|
|
6135
|
+
/**
|
|
6136
|
+
* The result of the check, set by the app: `error` shakes the cells and paints them red, `success` runs a soft
|
|
6137
|
+
* glow over them and paints them green; a screen reader hears it too. Set `idle` again when the user edits.
|
|
6138
|
+
* Результат проверки, его ставит приложение: `error` встряхивает ячейки и красит красным, `success` проводит по
|
|
6139
|
+
* ним мягкое свечение и красит зелёным; скринридер тоже слышит. Верните `idle`, когда пользователь правит код.
|
|
6140
|
+
*/
|
|
6141
|
+
status?: "idle" | "success" | "error";
|
|
6142
|
+
successText?: string;
|
|
6143
|
+
errorText?: string;
|
|
4871
6144
|
}>, {
|
|
4872
6145
|
masked: boolean;
|
|
4873
|
-
hidden: boolean;
|
|
4874
6146
|
placeholder: string;
|
|
4875
6147
|
disabled: boolean;
|
|
4876
6148
|
error: boolean;
|
|
4877
6149
|
modelValue: string;
|
|
4878
6150
|
numbersOnly: boolean;
|
|
4879
6151
|
clearOn: string;
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
6152
|
+
status: string;
|
|
6153
|
+
successText: undefined;
|
|
6154
|
+
errorText: undefined;
|
|
6155
|
+
}>>, {
|
|
6156
|
+
/** Plays the status animation again (a second wrong code). / Проигрывает анимацию статуса ещё раз. */
|
|
6157
|
+
play: typeof play;
|
|
6158
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4884
6159
|
blur: () => void;
|
|
6160
|
+
change: (value: string) => void;
|
|
6161
|
+
"update:modelValue": (value: string) => void;
|
|
6162
|
+
active: (el: HTMLInputElement | null, index: number) => void;
|
|
4885
6163
|
complete: (value: string) => void;
|
|
4886
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
6164
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
|
|
4887
6165
|
/** Number of cells. Not needed with `format` (it is counted from the mask). / Число ячеек. С `format` не нужно (считается по маске). */
|
|
4888
6166
|
length?: number;
|
|
4889
6167
|
/**
|
|
@@ -4895,8 +6173,6 @@ length?: number;
|
|
|
4895
6173
|
format?: string;
|
|
4896
6174
|
/** Cells show dots instead of characters. / Ячейки показывают точки вместо символов. */
|
|
4897
6175
|
masked?: boolean;
|
|
4898
|
-
/** @deprecated Use `masked` — `hidden` is a native attribute. / Используйте `masked` — `hidden` это нативный атрибут. */
|
|
4899
|
-
hidden?: boolean;
|
|
4900
6176
|
placeholder?: string;
|
|
4901
6177
|
disabled?: boolean;
|
|
4902
6178
|
/** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
|
|
@@ -4908,35 +6184,53 @@ numbersOnly?: boolean;
|
|
|
4908
6184
|
/** `focus` — клик сбрасывает ячейку и все справа (неверный код, набор заново).
|
|
4909
6185
|
* `input` — цифра остаётся, пока не введут новую. */
|
|
4910
6186
|
clearOn?: "focus" | "input";
|
|
6187
|
+
/**
|
|
6188
|
+
* The result of the check, set by the app: `error` shakes the cells and paints them red, `success` runs a soft
|
|
6189
|
+
* glow over them and paints them green; a screen reader hears it too. Set `idle` again when the user edits.
|
|
6190
|
+
* Результат проверки, его ставит приложение: `error` встряхивает ячейки и красит красным, `success` проводит по
|
|
6191
|
+
* ним мягкое свечение и красит зелёным; скринридер тоже слышит. Верните `idle`, когда пользователь правит код.
|
|
6192
|
+
*/
|
|
6193
|
+
status?: "idle" | "success" | "error";
|
|
6194
|
+
successText?: string;
|
|
6195
|
+
errorText?: string;
|
|
4911
6196
|
}>, {
|
|
4912
6197
|
masked: boolean;
|
|
4913
|
-
hidden: boolean;
|
|
4914
6198
|
placeholder: string;
|
|
4915
6199
|
disabled: boolean;
|
|
4916
6200
|
error: boolean;
|
|
4917
6201
|
modelValue: string;
|
|
4918
6202
|
numbersOnly: boolean;
|
|
4919
6203
|
clearOn: string;
|
|
6204
|
+
status: string;
|
|
6205
|
+
successText: undefined;
|
|
6206
|
+
errorText: undefined;
|
|
4920
6207
|
}>>> & Readonly<{
|
|
4921
|
-
onActive?: ((el: HTMLInputElement | null, index: number) => any) | undefined;
|
|
4922
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
4923
|
-
onChange?: ((value: string) => any) | undefined;
|
|
4924
6208
|
onBlur?: (() => any) | undefined;
|
|
6209
|
+
onChange?: ((value: string) => any) | undefined;
|
|
6210
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6211
|
+
onActive?: ((el: HTMLInputElement | null, index: number) => any) | undefined;
|
|
4925
6212
|
onComplete?: ((value: string) => any) | undefined;
|
|
4926
6213
|
}>, {
|
|
4927
|
-
|
|
6214
|
+
status: "idle" | "success" | "error";
|
|
4928
6215
|
disabled: boolean;
|
|
4929
6216
|
placeholder: string;
|
|
6217
|
+
error: boolean;
|
|
4930
6218
|
modelValue: string;
|
|
4931
|
-
|
|
6219
|
+
successText: string;
|
|
4932
6220
|
masked: boolean;
|
|
4933
6221
|
numbersOnly: boolean;
|
|
4934
6222
|
clearOn: "focus" | "input";
|
|
6223
|
+
errorText: string;
|
|
4935
6224
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4936
6225
|
|
|
4937
|
-
|
|
6226
|
+
/**
|
|
6227
|
+
* Where a floating panel sits against its anchor: a side, optionally aligned to the start or the end of it
|
|
6228
|
+
* (`bottom-start` = below, left edges aligned; `bottom-end` = below, right edges aligned; `top` = above, centred).
|
|
6229
|
+
* Где панель стоит относительно якоря: сторона и, при желании, выравнивание по началу или концу.
|
|
6230
|
+
*/
|
|
6231
|
+
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
6232
|
|
|
4939
|
-
declare
|
|
6233
|
+
export declare const TaoPopover: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, ReturnType<typeof __VLS_template_12>>;
|
|
4940
6234
|
|
|
4941
6235
|
export declare const TaoProgress: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, ReturnType<typeof __VLS_template_30>>;
|
|
4942
6236
|
|
|
@@ -4944,24 +6238,29 @@ export declare const TaoQuantity: __VLS_WithTemplateSlots_6<typeof __VLS_compone
|
|
|
4944
6238
|
|
|
4945
6239
|
export declare type TaoQuantityChangeSource = 'input' | 'dec' | 'inc';
|
|
4946
6240
|
|
|
4947
|
-
export declare const TaoRadio:
|
|
6241
|
+
export declare const TaoRadio: __VLS_WithTemplateSlots_51<typeof __VLS_component_51, ReturnType<typeof __VLS_template_51>>;
|
|
4948
6242
|
|
|
4949
|
-
export declare const TaoRadioGroup:
|
|
6243
|
+
export declare const TaoRadioGroup: __VLS_WithTemplateSlots_52<typeof __VLS_component_52, ReturnType<typeof __VLS_template_52>>;
|
|
4950
6244
|
|
|
4951
6245
|
export declare type TaoRadioValue = string | number | boolean;
|
|
4952
6246
|
|
|
4953
6247
|
export declare const TaoRangeSlider: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, ReturnType<typeof __VLS_template_32>>;
|
|
4954
6248
|
|
|
6249
|
+
/** What `--tao-density` can hold: `auto` resolves to one of these. / Что лежит в `--tao-density`. */
|
|
6250
|
+
export declare type TaoResolvedDensity = Exclude<TaoDensity, 'auto'>;
|
|
6251
|
+
|
|
6252
|
+
/** One value for every width, or a value per width class. / Одно значение на все ширины или по классам ширины. */
|
|
6253
|
+
export declare type TaoResponsive<T> = T | Partial<Record<TaoGridSize, T>>;
|
|
6254
|
+
|
|
4955
6255
|
export declare const TaoScrollTop: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, ReturnType<typeof __VLS_template_29>>;
|
|
4956
6256
|
|
|
4957
|
-
export declare const
|
|
6257
|
+
export declare const TaoScrubber: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, ReturnType<typeof __VLS_template_10>>;
|
|
4958
6258
|
|
|
4959
|
-
export declare const
|
|
6259
|
+
export declare const TaoSegmented: __VLS_WithTemplateSlots_53<typeof __VLS_component_53, ReturnType<typeof __VLS_template_53>>;
|
|
4960
6260
|
|
|
4961
|
-
|
|
4962
|
-
export declare type TaoSegmentedSize = TaoSize;
|
|
6261
|
+
export declare const TaoSegmentedOption: __VLS_WithTemplateSlots_54<typeof __VLS_component_54, ReturnType<typeof __VLS_template_54>>;
|
|
4963
6262
|
|
|
4964
|
-
export declare const TaoSelect:
|
|
6263
|
+
export declare const TaoSelect: __VLS_WithTemplateSlots_45<typeof __VLS_component_45, ReturnType<typeof __VLS_template_45>>;
|
|
4965
6264
|
|
|
4966
6265
|
export declare interface TaoSelectOption {
|
|
4967
6266
|
value: string | number;
|
|
@@ -4972,7 +6271,7 @@ export declare interface TaoSelectOption {
|
|
|
4972
6271
|
/** One size scale for every control. / Единая шкала размеров для всех контролов. */
|
|
4973
6272
|
export declare type TaoSize = 'small' | 'medium' | 'large';
|
|
4974
6273
|
|
|
4975
|
-
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<
|
|
6274
|
+
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
|
|
4976
6275
|
variant?: "text" | "title" | "circle" | "rect";
|
|
4977
6276
|
lines?: number;
|
|
4978
6277
|
width?: string;
|
|
@@ -4982,7 +6281,7 @@ variant: string;
|
|
|
4982
6281
|
lines: number;
|
|
4983
6282
|
width: string;
|
|
4984
6283
|
height: string;
|
|
4985
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
6284
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
|
|
4986
6285
|
variant?: "text" | "title" | "circle" | "rect";
|
|
4987
6286
|
lines?: number;
|
|
4988
6287
|
width?: string;
|
|
@@ -4993,9 +6292,9 @@ lines: number;
|
|
|
4993
6292
|
width: string;
|
|
4994
6293
|
height: string;
|
|
4995
6294
|
}>>> & Readonly<{}>, {
|
|
4996
|
-
variant: "text" | "title" | "circle" | "rect";
|
|
4997
6295
|
width: string;
|
|
4998
6296
|
height: string;
|
|
6297
|
+
variant: "text" | "title" | "circle" | "rect";
|
|
4999
6298
|
lines: number;
|
|
5000
6299
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5001
6300
|
|
|
@@ -5071,41 +6370,40 @@ export declare type TaoSpoilerName = string | number;
|
|
|
5071
6370
|
export declare interface TaoStageItem {
|
|
5072
6371
|
key: string;
|
|
5073
6372
|
label?: string;
|
|
5074
|
-
|
|
5075
|
-
status?: TaoStageStatus | 'danger';
|
|
6373
|
+
status?: TaoStageStatus;
|
|
5076
6374
|
}
|
|
5077
6375
|
|
|
5078
|
-
export declare const TaoStages:
|
|
6376
|
+
export declare const TaoStages: __VLS_WithTemplateSlots_63<typeof __VLS_component_63, ReturnType<typeof __VLS_template_63>>;
|
|
5079
6377
|
|
|
5080
6378
|
export declare type TaoStageStatus = 'wait' | 'work' | 'ok' | 'bad';
|
|
5081
6379
|
|
|
6380
|
+
export declare type TaoStatusName = 'danger' | 'warning' | 'success' | 'info';
|
|
6381
|
+
|
|
6382
|
+
/** Which side of a panel the stripe is on. / С какой стороны панели полоса. */
|
|
6383
|
+
export declare type TaoStripe = 'top' | 'left' | 'bottom';
|
|
6384
|
+
|
|
6385
|
+
/** The stripe colour: a tone (the accent by default) or the palette gradient. / Цвет полосы: тон или градиент палитры. */
|
|
6386
|
+
export declare type TaoStripeTone = TaoToneName | 'gradient';
|
|
6387
|
+
|
|
5082
6388
|
/**
|
|
5083
6389
|
* What a panel is made of: `flat` fill, `grain` (film grain), `glass` (blurred, translucent).
|
|
5084
6390
|
* Из чего сделана панель: `flat` — заливка, `grain` — плёночное зерно, `glass` — размытое стекло.
|
|
5085
6391
|
*/
|
|
5086
6392
|
export declare type TaoSurface = 'flat' | 'grain' | 'glass';
|
|
5087
6393
|
|
|
5088
|
-
export declare const TaoSwitch:
|
|
5089
|
-
|
|
5090
|
-
declare interface TaoTabBase {
|
|
5091
|
-
label: string;
|
|
5092
|
-
disabled?: boolean;
|
|
5093
|
-
}
|
|
6394
|
+
export declare const TaoSwitch: __VLS_WithTemplateSlots_50<typeof __VLS_component_50, ReturnType<typeof __VLS_template_50>>;
|
|
5094
6395
|
|
|
5095
6396
|
/**
|
|
5096
|
-
* One tab. `value` is what v-model holds, same as TaoSelectOption
|
|
5097
|
-
* Одна вкладка. `value` — то, что хранит v-model, как у TaoSelectOption
|
|
6397
|
+
* One tab. `value` is what v-model holds, same as TaoSelectOption.
|
|
6398
|
+
* Одна вкладка. `value` — то, что хранит v-model, как у TaoSelectOption.
|
|
5098
6399
|
*/
|
|
5099
|
-
export declare
|
|
6400
|
+
export declare interface TaoTabItem {
|
|
5100
6401
|
value: string;
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
key: string;
|
|
5105
|
-
value?: never;
|
|
5106
|
-
});
|
|
6402
|
+
label: string;
|
|
6403
|
+
disabled?: boolean;
|
|
6404
|
+
}
|
|
5107
6405
|
|
|
5108
|
-
export declare const TaoTable:
|
|
6406
|
+
export declare const TaoTable: __VLS_WithTemplateSlots_56<typeof __VLS_component_56, ReturnType<typeof __VLS_template_56>>;
|
|
5109
6407
|
|
|
5110
6408
|
export declare type TaoTableAlign = 'left' | 'center' | 'right';
|
|
5111
6409
|
|
|
@@ -5145,38 +6443,25 @@ variant?: TaoTextareaVariant;
|
|
|
5145
6443
|
readonly?: boolean;
|
|
5146
6444
|
/** Spaces are not entered: neither typed nor pasted. / Пробелы не вводятся — ни с клавиатуры, ни вставкой. */
|
|
5147
6445
|
noSpace?: boolean;
|
|
5148
|
-
/** @deprecated Use `readonly`. Renders the text instead of the field. / Используйте `readonly`. */
|
|
5149
|
-
dummy?: boolean;
|
|
5150
6446
|
rows?: number;
|
|
5151
6447
|
resize?: boolean;
|
|
5152
6448
|
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
6449
|
/** Focus on mount. / Фокус при монтировании. */
|
|
5158
6450
|
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
6451
|
/** Text alignment. / Выравнивание текста. */
|
|
5164
6452
|
align?: "start" | "center" | "end";
|
|
5165
|
-
/** @deprecated Use `align="center"`. / Используйте `align="center"`. */
|
|
5166
|
-
textCenter?: boolean;
|
|
5167
6453
|
/**
|
|
5168
6454
|
* Enter leaves the field instead of a new line (Shift+Enter still breaks the line); `keydown` is emitted first.
|
|
5169
6455
|
* Enter снимает фокус вместо переноса (Shift+Enter переносит); `keydown` уходит раньше.
|
|
5170
6456
|
*/
|
|
5171
6457
|
blurOnEnter?: boolean;
|
|
5172
|
-
/** @deprecated It never submitted anything — use `blurOnEnter`. / Ничего не отправлял — используйте `blurOnEnter`. */
|
|
5173
|
-
submitOnEnter?: boolean;
|
|
5174
6458
|
error?: boolean;
|
|
5175
6459
|
id?: string;
|
|
5176
6460
|
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
5177
6461
|
count?: boolean;
|
|
5178
6462
|
}>, {
|
|
5179
6463
|
placeholder: string;
|
|
6464
|
+
variant: string;
|
|
5180
6465
|
spellcheck: boolean;
|
|
5181
6466
|
autocomplete: string;
|
|
5182
6467
|
minlength: number;
|
|
@@ -5184,27 +6469,20 @@ maxlength: undefined;
|
|
|
5184
6469
|
disabled: boolean;
|
|
5185
6470
|
readonly: boolean;
|
|
5186
6471
|
noSpace: boolean;
|
|
5187
|
-
dummy: boolean;
|
|
5188
6472
|
rows: number;
|
|
5189
6473
|
resize: boolean;
|
|
5190
6474
|
modelValue: string;
|
|
5191
|
-
noBorder: boolean;
|
|
5192
|
-
noBackground: boolean;
|
|
5193
6475
|
autofocus: boolean;
|
|
5194
|
-
|
|
5195
|
-
borderInverse: boolean;
|
|
5196
|
-
align: undefined;
|
|
5197
|
-
textCenter: boolean;
|
|
6476
|
+
align: string;
|
|
5198
6477
|
blurOnEnter: boolean;
|
|
5199
|
-
submitOnEnter: boolean;
|
|
5200
6478
|
error: boolean;
|
|
5201
6479
|
count: boolean;
|
|
5202
6480
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5203
|
-
"update:modelValue": (...args: any[]) => void;
|
|
5204
|
-
change: (...args: any[]) => void;
|
|
5205
|
-
keydown: (...args: any[]) => void;
|
|
5206
6481
|
blur: (...args: any[]) => void;
|
|
6482
|
+
change: (...args: any[]) => void;
|
|
5207
6483
|
focus: (...args: any[]) => void;
|
|
6484
|
+
keydown: (...args: any[]) => void;
|
|
6485
|
+
"update:modelValue": (...args: any[]) => void;
|
|
5208
6486
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_30<{
|
|
5209
6487
|
placeholder?: string;
|
|
5210
6488
|
spellcheck?: boolean;
|
|
@@ -5223,38 +6501,25 @@ variant?: TaoTextareaVariant;
|
|
|
5223
6501
|
readonly?: boolean;
|
|
5224
6502
|
/** Spaces are not entered: neither typed nor pasted. / Пробелы не вводятся — ни с клавиатуры, ни вставкой. */
|
|
5225
6503
|
noSpace?: boolean;
|
|
5226
|
-
/** @deprecated Use `readonly`. Renders the text instead of the field. / Используйте `readonly`. */
|
|
5227
|
-
dummy?: boolean;
|
|
5228
6504
|
rows?: number;
|
|
5229
6505
|
resize?: boolean;
|
|
5230
6506
|
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
6507
|
/** Focus on mount. / Фокус при монтировании. */
|
|
5236
6508
|
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
6509
|
/** Text alignment. / Выравнивание текста. */
|
|
5242
6510
|
align?: "start" | "center" | "end";
|
|
5243
|
-
/** @deprecated Use `align="center"`. / Используйте `align="center"`. */
|
|
5244
|
-
textCenter?: boolean;
|
|
5245
6511
|
/**
|
|
5246
6512
|
* Enter leaves the field instead of a new line (Shift+Enter still breaks the line); `keydown` is emitted first.
|
|
5247
6513
|
* Enter снимает фокус вместо переноса (Shift+Enter переносит); `keydown` уходит раньше.
|
|
5248
6514
|
*/
|
|
5249
6515
|
blurOnEnter?: boolean;
|
|
5250
|
-
/** @deprecated It never submitted anything — use `blurOnEnter`. / Ничего не отправлял — используйте `blurOnEnter`. */
|
|
5251
|
-
submitOnEnter?: boolean;
|
|
5252
6516
|
error?: boolean;
|
|
5253
6517
|
id?: string;
|
|
5254
6518
|
/** Показать «введено / максимум» под полем. Имеет смысл вместе с `maxlength`. */
|
|
5255
6519
|
count?: boolean;
|
|
5256
6520
|
}>, {
|
|
5257
6521
|
placeholder: string;
|
|
6522
|
+
variant: string;
|
|
5258
6523
|
spellcheck: boolean;
|
|
5259
6524
|
autocomplete: string;
|
|
5260
6525
|
minlength: number;
|
|
@@ -5262,56 +6527,67 @@ maxlength: undefined;
|
|
|
5262
6527
|
disabled: boolean;
|
|
5263
6528
|
readonly: boolean;
|
|
5264
6529
|
noSpace: boolean;
|
|
5265
|
-
dummy: boolean;
|
|
5266
6530
|
rows: number;
|
|
5267
6531
|
resize: boolean;
|
|
5268
6532
|
modelValue: string;
|
|
5269
|
-
noBorder: boolean;
|
|
5270
|
-
noBackground: boolean;
|
|
5271
6533
|
autofocus: boolean;
|
|
5272
|
-
|
|
5273
|
-
borderInverse: boolean;
|
|
5274
|
-
align: undefined;
|
|
5275
|
-
textCenter: boolean;
|
|
6534
|
+
align: string;
|
|
5276
6535
|
blurOnEnter: boolean;
|
|
5277
|
-
submitOnEnter: boolean;
|
|
5278
6536
|
error: boolean;
|
|
5279
6537
|
count: boolean;
|
|
5280
6538
|
}>>> & Readonly<{
|
|
5281
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
5282
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
5283
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
5284
6539
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
6540
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5285
6541
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
6542
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
6543
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
5286
6544
|
}>, {
|
|
5287
|
-
error: boolean;
|
|
5288
|
-
count: boolean;
|
|
5289
6545
|
disabled: boolean;
|
|
5290
6546
|
placeholder: string;
|
|
5291
|
-
|
|
6547
|
+
variant: TaoTextareaVariant;
|
|
6548
|
+
count: boolean;
|
|
6549
|
+
error: boolean;
|
|
5292
6550
|
resize: boolean;
|
|
6551
|
+
modelValue: string;
|
|
6552
|
+
align: "start" | "center" | "end";
|
|
5293
6553
|
autocomplete: string;
|
|
5294
6554
|
rows: number;
|
|
5295
|
-
align: "start" | "center" | "end";
|
|
5296
6555
|
maxlength: number;
|
|
5297
6556
|
spellcheck: boolean;
|
|
5298
6557
|
minlength: number;
|
|
5299
6558
|
readonly: boolean;
|
|
5300
6559
|
noSpace: boolean;
|
|
5301
|
-
dummy: boolean;
|
|
5302
|
-
noBorder: boolean;
|
|
5303
|
-
noBackground: boolean;
|
|
5304
6560
|
autofocus: boolean;
|
|
5305
|
-
autoFocus: boolean;
|
|
5306
|
-
borderInverse: boolean;
|
|
5307
|
-
textCenter: boolean;
|
|
5308
6561
|
blurOnEnter: boolean;
|
|
5309
|
-
submitOnEnter: boolean;
|
|
5310
6562
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5311
6563
|
|
|
5312
6564
|
declare type TaoTextareaVariant = 'bar' | 'outline' | 'filled' | 'plain';
|
|
5313
6565
|
|
|
5314
|
-
export declare const TaoTimeline:
|
|
6566
|
+
export declare const TaoTimeline: __VLS_WithTemplateSlots_40<typeof __VLS_component_40, ReturnType<typeof __VLS_template_40>>;
|
|
6567
|
+
|
|
6568
|
+
/** `start` — every event on one side, `alternate` — on both sides of the line. / По одну или по обе стороны линии. */
|
|
6569
|
+
export declare type TaoTimelineAlign = 'start' | 'alternate';
|
|
6570
|
+
|
|
6571
|
+
/**
|
|
6572
|
+
* One event of TaoTimeline: an order step, a release, a log line.
|
|
6573
|
+
* Одно событие TaoTimeline: шаг заказа, релиз, строка журнала.
|
|
6574
|
+
*/
|
|
6575
|
+
export declare interface TaoTimelineItem {
|
|
6576
|
+
id: string;
|
|
6577
|
+
title: string;
|
|
6578
|
+
/** The time to show: «12 May, 14:03», «2 hours ago». / Время для показа. */
|
|
6579
|
+
time?: string;
|
|
6580
|
+
/** The machine-readable time for `<time datetime>`: `2026-05-12T14:03`. / Время для машины. */
|
|
6581
|
+
datetime?: string;
|
|
6582
|
+
description?: string;
|
|
6583
|
+
/** Icon name for TaoIcon inside the marker. / Имя иконки для TaoIcon в маркере. */
|
|
6584
|
+
icon?: string;
|
|
6585
|
+
/** Colours the marker by status; without it the accent. / Красит маркер по статусу; без него — акцент. */
|
|
6586
|
+
tone?: TaoTone;
|
|
6587
|
+
}
|
|
6588
|
+
|
|
6589
|
+
/** Where an event stands against the current one. / Где событие относительно текущего. */
|
|
6590
|
+
export declare type TaoTimelineState = 'done' | 'current' | 'upcoming';
|
|
5315
6591
|
|
|
5316
6592
|
export declare interface TaoToastAction {
|
|
5317
6593
|
label: string;
|
|
@@ -5321,7 +6597,6 @@ export declare interface TaoToastAction {
|
|
|
5321
6597
|
export declare interface TaoToastApi {
|
|
5322
6598
|
(): TaoToastBuilder;
|
|
5323
6599
|
success(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5324
|
-
error(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5325
6600
|
danger(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5326
6601
|
warning(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
5327
6602
|
info(message: string, options?: TaoToastShortcutOptions): TaoToastBuilder;
|
|
@@ -5336,7 +6611,6 @@ export declare interface TaoToastApi {
|
|
|
5336
6611
|
|
|
5337
6612
|
export declare interface TaoToastBuilder {
|
|
5338
6613
|
success(): TaoToastBuilder;
|
|
5339
|
-
error(): TaoToastBuilder;
|
|
5340
6614
|
danger(): TaoToastBuilder;
|
|
5341
6615
|
warning(): TaoToastBuilder;
|
|
5342
6616
|
info(): TaoToastBuilder;
|
|
@@ -5411,16 +6685,43 @@ export declare interface TaoToastShortcutOptions {
|
|
|
5411
6685
|
onClosed?: () => void;
|
|
5412
6686
|
}
|
|
5413
6687
|
|
|
5414
|
-
export declare type TaoToastType = 'success' | '
|
|
6688
|
+
export declare type TaoToastType = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
5415
6689
|
|
|
5416
6690
|
export declare const TaoToastViewport: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5417
6691
|
|
|
5418
|
-
/** Status color shared by Alert, Tag, Button `tone`, Avatar `dot
|
|
6692
|
+
/** Status color shared by Alert, Tag, Button `tone`, Avatar `dot`, toast. / Цвет статуса, общий для Alert, Tag, Button `tone`, Avatar `dot`, toast. */
|
|
5419
6693
|
export declare type TaoTone = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
5420
6694
|
|
|
6695
|
+
/** A tone, or the theme's own accent (what a component uses when no tone is given). / Тон или акцент темы (то, что берёт компонент без тона). */
|
|
6696
|
+
export declare type TaoToneName = TaoTone | 'accent';
|
|
6697
|
+
|
|
5421
6698
|
export declare const TaoTooltip: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, ReturnType<typeof __VLS_template_11>>;
|
|
5422
6699
|
|
|
5423
|
-
declare
|
|
6700
|
+
export declare const TaoTree: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, ReturnType<typeof __VLS_template_38>>;
|
|
6701
|
+
|
|
6702
|
+
/** The state of a checkbox: `mixed` is a parent with only some of its leaves checked. / Состояние чекбокса. */
|
|
6703
|
+
export declare type TaoTreeCheckState = 'checked' | 'unchecked' | 'mixed';
|
|
6704
|
+
|
|
6705
|
+
/**
|
|
6706
|
+
* One node of TaoTree: a file, a folder, an object. A plain data tree; the tree never changes it.
|
|
6707
|
+
* Один узел TaoTree: файл, папка, объект. Простое дерево данных; TaoTree его не меняет.
|
|
6708
|
+
*/
|
|
6709
|
+
export declare interface TaoTreeNode {
|
|
6710
|
+
id: string;
|
|
6711
|
+
label: string;
|
|
6712
|
+
/** Icon name for TaoIcon. / Имя иконки для TaoIcon. */
|
|
6713
|
+
icon?: string;
|
|
6714
|
+
children?: TaoTreeNode[];
|
|
6715
|
+
/**
|
|
6716
|
+
* It has children that are not here yet: the tree calls `load(node)` when it opens.
|
|
6717
|
+
* У узла есть дети, которых ещё нет: дерево зовёт `load(node)` при раскрытии.
|
|
6718
|
+
*/
|
|
6719
|
+
hasChildren?: boolean;
|
|
6720
|
+
disabled?: boolean;
|
|
6721
|
+
}
|
|
6722
|
+
|
|
6723
|
+
/** `none` — nothing to select, `single` — one node, `multiple` — a set. / Режим выбора. */
|
|
6724
|
+
export declare type TaoTreeSelection = 'none' | 'single' | 'multiple';
|
|
5424
6725
|
|
|
5425
6726
|
declare const TaoUI: Plugin_2<[TaoUIOptions?]>;
|
|
5426
6727
|
export { TaoUI }
|
|
@@ -5443,4 +6744,11 @@ declare function toggle(): void;
|
|
|
5443
6744
|
/** Строка hex: `#rrggbb`, а с `alpha` и `#rrggbbaa`. Значения вне диапазона зажимаются, дробные округляются. */
|
|
5444
6745
|
export declare function toHex(color: Rgba, alpha?: boolean): string;
|
|
5445
6746
|
|
|
6747
|
+
/**
|
|
6748
|
+
* Class that sets the `--tao-tone*` tokens on an element (see styles/contexts/tone.css).
|
|
6749
|
+
* Unlike a size, a tone does not inherit: no tone → the accent.
|
|
6750
|
+
* Класс с токенами тона для элемента (см. styles/contexts/tone.css). В отличие от размера, тон не наследуется: без тона — акцент.
|
|
6751
|
+
*/
|
|
6752
|
+
export declare function toneClass(tone?: TaoToneName | null): string;
|
|
6753
|
+
|
|
5446
6754
|
export { }
|