@1337exp/taoui 5.30.2 → 5.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -276,54 +276,75 @@ tip: boolean;
276
276
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
277
277
 
278
278
  declare const __VLS_component_16: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<{
279
- /** The mode, `v-model`. Without it the button reads the mode of `<html>` and follows it. / Режим, `v-model`. Без него кнопка читает режим `<html>` и следует за ним. */
280
- modelValue?: TaoMode;
279
+ /** The mode, `v-model` (`'system'` too with `system`). Without it the button reads the mode of `<html>` and follows it. / Режим, `v-model` (с `system` ещё и `'system'`). Без него кнопка читает режим `<html>` и следует за ним. */
280
+ modelValue?: TaoModeChoice;
281
281
  /** Write the mode to `<html>` (`data-tao-mode`). Turn it off to do it yourself from `v-model`. / Писать режим в `<html>`. Выключите, чтобы делать это самим из `v-model`. */
282
282
  apply?: boolean;
283
+ /** A third state, «system»: the page follows the operating system. The click goes system → light → dark; the icon shows the state it is in (a monitor for the system). / Третье состояние, «системная»: страница идёт за операционной системой. Клик: системная → светлая → тёмная; иконка показывает текущее состояние (монитор для системной). */
284
+ system?: boolean;
283
285
  size?: TaoSize;
284
286
  variant?: "primary" | "secondary" | "ghost" | "text";
285
- /** aria-label while the page is dark (what a click does). / aria-label в тёмной теме (что сделает клик). */
287
+ /** The colour of the button, as for `TaoButton`. `neutral` by default: a switch is a quiet tool, the accent is not for it. / Цвет кнопки, как у `TaoButton`. По умолчанию `neutral`: переключатель — тихий инструмент, акцент не для него. */
288
+ tone?: TaoToneName;
289
+ /** aria-label while a click leads to the light theme. / aria-label, пока клик ведёт к светлой теме. */
286
290
  toLightLabel?: string;
287
- /** aria-label while the page is light. / aria-label в светлой теме. */
291
+ /** aria-label while a click leads to the dark theme. / aria-label, пока клик ведёт к тёмной теме. */
288
292
  toDarkLabel?: string;
293
+ /** aria-label while a click leads to the system theme (`system`). / aria-label, пока клик ведёт к системной теме (`system`). */
294
+ toSystemLabel?: string;
289
295
  }>, {
290
296
  modelValue: undefined;
291
297
  apply: boolean;
298
+ system: boolean;
292
299
  size: undefined;
293
300
  variant: string;
301
+ tone: string;
294
302
  toLightLabel: undefined;
295
303
  toDarkLabel: undefined;
304
+ toSystemLabel: undefined;
296
305
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
297
- change: (mode: TaoMode) => void;
298
- "update:modelValue": (mode: TaoMode) => void;
306
+ change: (mode: TaoModeChoice) => void;
307
+ "update:modelValue": (mode: TaoModeChoice) => void;
299
308
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_16<{
300
- /** The mode, `v-model`. Without it the button reads the mode of `<html>` and follows it. / Режим, `v-model`. Без него кнопка читает режим `<html>` и следует за ним. */
301
- modelValue?: TaoMode;
309
+ /** The mode, `v-model` (`'system'` too with `system`). Without it the button reads the mode of `<html>` and follows it. / Режим, `v-model` (с `system` ещё и `'system'`). Без него кнопка читает режим `<html>` и следует за ним. */
310
+ modelValue?: TaoModeChoice;
302
311
  /** Write the mode to `<html>` (`data-tao-mode`). Turn it off to do it yourself from `v-model`. / Писать режим в `<html>`. Выключите, чтобы делать это самим из `v-model`. */
303
312
  apply?: boolean;
313
+ /** A third state, «system»: the page follows the operating system. The click goes system → light → dark; the icon shows the state it is in (a monitor for the system). / Третье состояние, «системная»: страница идёт за операционной системой. Клик: системная → светлая → тёмная; иконка показывает текущее состояние (монитор для системной). */
314
+ system?: boolean;
304
315
  size?: TaoSize;
305
316
  variant?: "primary" | "secondary" | "ghost" | "text";
306
- /** aria-label while the page is dark (what a click does). / aria-label в тёмной теме (что сделает клик). */
317
+ /** The colour of the button, as for `TaoButton`. `neutral` by default: a switch is a quiet tool, the accent is not for it. / Цвет кнопки, как у `TaoButton`. По умолчанию `neutral`: переключатель — тихий инструмент, акцент не для него. */
318
+ tone?: TaoToneName;
319
+ /** aria-label while a click leads to the light theme. / aria-label, пока клик ведёт к светлой теме. */
307
320
  toLightLabel?: string;
308
- /** aria-label while the page is light. / aria-label в светлой теме. */
321
+ /** aria-label while a click leads to the dark theme. / aria-label, пока клик ведёт к тёмной теме. */
309
322
  toDarkLabel?: string;
323
+ /** aria-label while a click leads to the system theme (`system`). / aria-label, пока клик ведёт к системной теме (`system`). */
324
+ toSystemLabel?: string;
310
325
  }>, {
311
326
  modelValue: undefined;
312
327
  apply: boolean;
328
+ system: boolean;
313
329
  size: undefined;
314
330
  variant: string;
331
+ tone: string;
315
332
  toLightLabel: undefined;
316
333
  toDarkLabel: undefined;
334
+ toSystemLabel: undefined;
317
335
  }>>> & Readonly<{
318
- onChange?: ((mode: TaoMode) => any) | undefined;
319
- "onUpdate:modelValue"?: ((mode: TaoMode) => any) | undefined;
336
+ onChange?: ((mode: TaoModeChoice) => any) | undefined;
337
+ "onUpdate:modelValue"?: ((mode: TaoModeChoice) => any) | undefined;
320
338
  }>, {
321
339
  size: TaoSize;
340
+ tone: TaoToneName;
322
341
  variant: "primary" | "secondary" | "ghost" | "text";
323
- modelValue: TaoMode;
342
+ modelValue: TaoModeChoice;
343
+ system: boolean;
324
344
  apply: boolean;
325
345
  toLightLabel: string;
326
346
  toDarkLabel: string;
347
+ toSystemLabel: string;
327
348
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
328
349
 
329
350
  declare const __VLS_component_17: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_17<Props_6>, {
@@ -1118,13 +1139,26 @@ orientation?: TaoToolbarOrientation;
1118
1139
  variant?: "panel" | "plain";
1119
1140
  /** The frame of a `panel`; not set, it follows the frames context (`.tao-frames-soft`). / Рамка `panel`; не задан — идёт за контекстом рамок. */
1120
1141
  bordered?: boolean;
1142
+ /**
1143
+ * One row, never wrapped: the groups (`TaoToolbarGroup`) that do not fit go, the last one first, under a «more» button that
1144
+ * opens them in a panel. A group with `pinned` stays. Horizontal bars only.
1145
+ * Одна строка без переноса: группы, которые не влезли, уходят (последняя первой) под кнопку «more», которая открывает их
1146
+ * в панели. Группа с `pinned` остаётся. Только горизонтальные панели.
1147
+ */
1148
+ overflow?: boolean;
1149
+ /** Name of the «more» button; not set, the text of the locale. / Имя кнопки «more»; не задано — текст локали. */
1150
+ overflowLabel?: string;
1121
1151
  }>, {
1122
1152
  label: undefined;
1123
1153
  size: undefined;
1124
1154
  orientation: string;
1125
1155
  variant: string;
1126
1156
  bordered: undefined;
1127
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_41<{
1157
+ overflow: boolean;
1158
+ overflowLabel: undefined;
1159
+ }>>, {
1160
+ reveal: typeof reveal;
1161
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_41<{
1128
1162
  /** Accessible name: «Formatting», «Tools». / Доступное имя: «Форматирование», «Инструменты». */
1129
1163
  label?: string;
1130
1164
  /** The controls inside, as for any control. / Размер контролов внутри, как у любого контрола. */
@@ -1135,18 +1169,31 @@ orientation?: TaoToolbarOrientation;
1135
1169
  variant?: "panel" | "plain";
1136
1170
  /** The frame of a `panel`; not set, it follows the frames context (`.tao-frames-soft`). / Рамка `panel`; не задан — идёт за контекстом рамок. */
1137
1171
  bordered?: boolean;
1172
+ /**
1173
+ * One row, never wrapped: the groups (`TaoToolbarGroup`) that do not fit go, the last one first, under a «more» button that
1174
+ * opens them in a panel. A group with `pinned` stays. Horizontal bars only.
1175
+ * Одна строка без переноса: группы, которые не влезли, уходят (последняя первой) под кнопку «more», которая открывает их
1176
+ * в панели. Группа с `pinned` остаётся. Только горизонтальные панели.
1177
+ */
1178
+ overflow?: boolean;
1179
+ /** Name of the «more» button; not set, the text of the locale. / Имя кнопки «more»; не задано — текст локали. */
1180
+ overflowLabel?: string;
1138
1181
  }>, {
1139
1182
  label: undefined;
1140
1183
  size: undefined;
1141
1184
  orientation: string;
1142
1185
  variant: string;
1143
1186
  bordered: undefined;
1187
+ overflow: boolean;
1188
+ overflowLabel: undefined;
1144
1189
  }>>> & Readonly<{}>, {
1145
1190
  size: TaoSize;
1146
1191
  label: string;
1147
1192
  bordered: boolean;
1148
1193
  variant: "panel" | "plain";
1194
+ overflow: boolean;
1149
1195
  orientation: TaoToolbarOrientation;
1196
+ overflowLabel: string;
1150
1197
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1151
1198
 
1152
1199
  declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
@@ -1162,20 +1209,27 @@ declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDef
1162
1209
  label?: string;
1163
1210
  /** A sunken pill behind the group: its buttons read as one set. / Утопленная подложка: кнопки читаются как набор. */
1164
1211
  inset?: boolean;
1212
+ /** In a toolbar with `overflow`: this group never goes to the «⋮» menu. / В панели с `overflow`: эта группа не уходит в меню «⋮». */
1213
+ pinned?: boolean;
1165
1214
  }>, {
1166
1215
  label: undefined;
1167
1216
  inset: boolean;
1217
+ pinned: boolean;
1168
1218
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_42<{
1169
1219
  /** Accessible name of the group: «Text style», «Alignment». / Доступное имя группы. */
1170
1220
  label?: string;
1171
1221
  /** A sunken pill behind the group: its buttons read as one set. / Утопленная подложка: кнопки читаются как набор. */
1172
1222
  inset?: boolean;
1223
+ /** In a toolbar with `overflow`: this group never goes to the «⋮» menu. / В панели с `overflow`: эта группа не уходит в меню «⋮». */
1224
+ pinned?: boolean;
1173
1225
  }>, {
1174
1226
  label: undefined;
1175
1227
  inset: boolean;
1228
+ pinned: boolean;
1176
1229
  }>>> & Readonly<{}>, {
1177
1230
  label: string;
1178
1231
  inset: boolean;
1232
+ pinned: boolean;
1179
1233
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1180
1234
 
1181
1235
  declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
@@ -2067,7 +2121,7 @@ options: TaoSelectOption[];
2067
2121
  allowCreate: boolean;
2068
2122
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2069
2123
 
2070
- declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
2124
+ declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
2071
2125
  /** `single`: `v-model` is `YYYY-MM-DD`; `range`: `{ start, end }`. / `single` — строка `YYYY-MM-DD`; `range` — `{ start, end }`. */
2072
2126
  mode?: "single" | "range";
2073
2127
  modelValue?: string | TaoDateRangeValue | null;
@@ -2089,7 +2143,7 @@ focus: () => Promise<void>;
2089
2143
  view: () => void;
2090
2144
  change: (value: string | TaoDateRangeValue | null) => void;
2091
2145
  "update:modelValue": (value: string | TaoDateRangeValue | null) => void;
2092
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
2146
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
2093
2147
  /** `single`: `v-model` is `YYYY-MM-DD`; `range`: `{ start, end }`. / `single` — строка `YYYY-MM-DD`; `range` — `{ start, end }`. */
2094
2148
  mode?: "single" | "range";
2095
2149
  modelValue?: string | TaoDateRangeValue | null;
@@ -2116,7 +2170,7 @@ modelValue: string | TaoDateRangeValue | null;
2116
2170
  min: string;
2117
2171
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2118
2172
 
2119
- declare const __VLS_component_55: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
2173
+ declare const __VLS_component_55: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
2120
2174
  modelValue?: string | null;
2121
2175
  placeholder?: string;
2122
2176
  disabled?: boolean;
@@ -2159,7 +2213,7 @@ format: undefined;
2159
2213
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2160
2214
  change: (value: string | null) => void;
2161
2215
  "update:modelValue": (value: string | null) => void;
2162
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
2216
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
2163
2217
  modelValue?: string | null;
2164
2218
  placeholder?: string;
2165
2219
  disabled?: boolean;
@@ -2216,7 +2270,7 @@ reference: string;
2216
2270
  }) => string | null;
2217
2271
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2218
2272
 
2219
- declare const __VLS_component_56: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
2273
+ declare const __VLS_component_56: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
2220
2274
  modelValue?: TaoDateRangeValue | null;
2221
2275
  placeholder?: string;
2222
2276
  disabled?: boolean;
@@ -2239,7 +2293,7 @@ max: undefined;
2239
2293
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2240
2294
  change: (value: TaoDateRangeValue | null) => void;
2241
2295
  "update:modelValue": (value: TaoDateRangeValue | null) => void;
2242
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
2296
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
2243
2297
  modelValue?: TaoDateRangeValue | null;
2244
2298
  placeholder?: string;
2245
2299
  disabled?: boolean;
@@ -2270,7 +2324,7 @@ modelValue: TaoDateRangeValue | null;
2270
2324
  min: string;
2271
2325
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2272
2326
 
2273
- declare const __VLS_component_57: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
2327
+ declare const __VLS_component_57: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
2274
2328
  modelValue?: boolean;
2275
2329
  label?: string;
2276
2330
  disabled?: boolean;
@@ -2294,7 +2348,7 @@ loading: boolean;
2294
2348
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2295
2349
  change: (value: boolean) => void;
2296
2350
  "update:modelValue": (value: boolean) => void;
2297
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<{
2351
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
2298
2352
  modelValue?: boolean;
2299
2353
  label?: string;
2300
2354
  disabled?: boolean;
@@ -2326,7 +2380,7 @@ error: boolean;
2326
2380
  modelValue: boolean;
2327
2381
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2328
2382
 
2329
- declare const __VLS_component_58: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
2383
+ declare const __VLS_component_58: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
2330
2384
  value: TaoRadioValue;
2331
2385
  modelValue?: TaoRadioValue;
2332
2386
  name?: string;
@@ -2343,7 +2397,7 @@ error: boolean;
2343
2397
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2344
2398
  change: (value: TaoRadioValue) => void;
2345
2399
  "update:modelValue": (value: TaoRadioValue) => void;
2346
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<{
2400
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
2347
2401
  value: TaoRadioValue;
2348
2402
  modelValue?: TaoRadioValue;
2349
2403
  name?: string;
@@ -2366,7 +2420,7 @@ disabled: boolean;
2366
2420
  error: boolean;
2367
2421
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2368
2422
 
2369
- declare const __VLS_component_59: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
2423
+ declare const __VLS_component_59: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
2370
2424
  modelValue?: TaoRadioValue;
2371
2425
  name?: string;
2372
2426
  legend?: string;
@@ -2383,7 +2437,7 @@ direction: string;
2383
2437
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2384
2438
  change: (value: TaoRadioValue) => void;
2385
2439
  "update:modelValue": (value: TaoRadioValue) => void;
2386
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_66<{
2440
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
2387
2441
  modelValue?: TaoRadioValue;
2388
2442
  name?: string;
2389
2443
  legend?: string;
@@ -2475,7 +2529,7 @@ allowRemove: boolean;
2475
2529
  forceMaxLimit: boolean;
2476
2530
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2477
2531
 
2478
- declare const __VLS_component_60: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
2532
+ declare const __VLS_component_60: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
2479
2533
  modelValue?: TaoRadioValue;
2480
2534
  name?: string;
2481
2535
  legend?: string;
@@ -2494,7 +2548,7 @@ block: boolean;
2494
2548
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2495
2549
  change: (value: TaoRadioValue) => void;
2496
2550
  "update:modelValue": (value: TaoRadioValue) => void;
2497
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_67<{
2551
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
2498
2552
  modelValue?: TaoRadioValue;
2499
2553
  name?: string;
2500
2554
  legend?: string;
@@ -2519,7 +2573,7 @@ error: boolean;
2519
2573
  block: boolean;
2520
2574
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2521
2575
 
2522
- declare const __VLS_component_61: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
2576
+ declare const __VLS_component_61: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
2523
2577
  value: TaoRadioValue;
2524
2578
  modelValue?: TaoRadioValue;
2525
2579
  name?: string;
@@ -2535,7 +2589,7 @@ disabled: boolean;
2535
2589
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2536
2590
  change: (value: TaoRadioValue) => void;
2537
2591
  "update:modelValue": (value: TaoRadioValue) => void;
2538
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_68<{
2592
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
2539
2593
  value: TaoRadioValue;
2540
2594
  modelValue?: TaoRadioValue;
2541
2595
  name?: string;
@@ -2557,7 +2611,7 @@ icon: string;
2557
2611
  disabled: boolean;
2558
2612
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2559
2613
 
2560
- declare const __VLS_component_62: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
2614
+ declare const __VLS_component_62: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
2561
2615
  /** Status color. / Цвет статуса. */
2562
2616
  tone?: TaoTone;
2563
2617
  title?: string;
@@ -2588,7 +2642,7 @@ bordered: undefined;
2588
2642
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2589
2643
  close: () => void;
2590
2644
  "update:collapsed": (value: boolean) => void;
2591
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_69<{
2645
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
2592
2646
  /** Status color. / Цвет статуса. */
2593
2647
  tone?: TaoTone;
2594
2648
  title?: string;
@@ -2629,7 +2683,7 @@ collapsed: boolean;
2629
2683
  bordered: boolean;
2630
2684
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2631
2685
 
2632
- declare const __VLS_component_63: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
2686
+ declare const __VLS_component_63: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
2633
2687
  columns: TaoTableColumn[];
2634
2688
  rows?: Record<string, unknown>[];
2635
2689
  rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -2670,7 +2724,7 @@ bordered: undefined;
2670
2724
  change: (value: TaoTableSort | null) => void;
2671
2725
  "update:sort": (value: TaoTableSort | null) => void;
2672
2726
  "row-click": (row: Record<string, unknown>, index: number) => void;
2673
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_70<{
2727
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
2674
2728
  columns: TaoTableColumn[];
2675
2729
  rows?: Record<string, unknown>[];
2676
2730
  rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -2727,7 +2781,7 @@ rowKey: string | ((row: Record<string, unknown>, index: number) => string | numb
2727
2781
  striped: boolean | "odd" | "even";
2728
2782
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2729
2783
 
2730
- declare const __VLS_component_64: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
2784
+ declare const __VLS_component_64: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
2731
2785
  page?: number;
2732
2786
  total?: number;
2733
2787
  pageSize?: number;
@@ -2776,7 +2830,7 @@ pageInput: boolean;
2776
2830
  change: (value: number) => void;
2777
2831
  "update:page": (value: number) => void;
2778
2832
  "update:pageSize": (value: number) => void;
2779
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_71<{
2833
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
2780
2834
  page?: number;
2781
2835
  total?: number;
2782
2836
  pageSize?: number;
@@ -2836,13 +2890,13 @@ jump: number;
2836
2890
  pageInput: boolean | number;
2837
2891
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2838
2892
 
2839
- declare const __VLS_component_65: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
2893
+ declare const __VLS_component_65: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_73<{
2840
2894
  title?: string;
2841
- }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_72<{
2895
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_73<{
2842
2896
  title?: string;
2843
2897
  }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2844
2898
 
2845
- declare const __VLS_component_66: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_73<{
2899
+ declare const __VLS_component_66: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_74<{
2846
2900
  /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
2847
2901
  size?: TaoSize;
2848
2902
  /** Рамка, как у списка файлов. */
@@ -2869,7 +2923,7 @@ divided: boolean;
2869
2923
  empty: boolean;
2870
2924
  ariaLabel: string;
2871
2925
  roving: boolean;
2872
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_73<{
2926
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_74<{
2873
2927
  /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
2874
2928
  size?: TaoSize;
2875
2929
  /** Рамка, как у списка файлов. */
@@ -2904,7 +2958,7 @@ divided: boolean;
2904
2958
  roving: boolean;
2905
2959
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2906
2960
 
2907
- declare const __VLS_component_67: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_74<{
2961
+ declare const __VLS_component_67: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_75<{
2908
2962
  title?: string;
2909
2963
  description?: string;
2910
2964
  selected?: boolean;
@@ -2927,7 +2981,7 @@ clickable: boolean;
2927
2981
  actionAlways: boolean;
2928
2982
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2929
2983
  click: (event: MouseEvent) => void;
2930
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_74<{
2984
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_75<{
2931
2985
  title?: string;
2932
2986
  description?: string;
2933
2987
  selected?: boolean;
@@ -2960,7 +3014,7 @@ clickable: boolean;
2960
3014
  actionAlways: boolean;
2961
3015
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2962
3016
 
2963
- declare const __VLS_component_68: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_76<{
3017
+ declare const __VLS_component_68: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_77<{
2964
3018
  modelValue: boolean;
2965
3019
  title?: string;
2966
3020
  /**
@@ -3013,7 +3067,7 @@ swipeThreshold: number;
3013
3067
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3014
3068
  close: (...args: any[]) => void;
3015
3069
  "update:modelValue": (...args: any[]) => void;
3016
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_76<{
3070
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_77<{
3017
3071
  modelValue: boolean;
3018
3072
  title?: string;
3019
3073
  /**
@@ -3076,7 +3130,7 @@ swipeToClose: boolean;
3076
3130
  swipeThreshold: number;
3077
3131
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3078
3132
 
3079
- declare const __VLS_component_69: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_80<{
3133
+ declare const __VLS_component_69: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_81<{
3080
3134
  modelValue?: number;
3081
3135
  peek?: number;
3082
3136
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
@@ -3117,7 +3171,7 @@ pausable: boolean;
3117
3171
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3118
3172
  change: (value: number) => void;
3119
3173
  "update:modelValue": (value: number) => void;
3120
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_80<{
3174
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_81<{
3121
3175
  modelValue?: number;
3122
3176
  peek?: number;
3123
3177
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
@@ -3214,7 +3268,7 @@ overflow: boolean;
3214
3268
  flush: boolean;
3215
3269
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3216
3270
 
3217
- declare const __VLS_component_70: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_81<{
3271
+ declare const __VLS_component_70: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_82<{
3218
3272
  items?: TaoStageItem[];
3219
3273
  /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
3220
3274
  direction?: "row" | "column";
@@ -3224,7 +3278,7 @@ statusLabels?: Partial<Record<TaoStageStatus, string>>;
3224
3278
  items: () => never[];
3225
3279
  direction: string;
3226
3280
  statusLabels: () => {};
3227
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_81<{
3281
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_82<{
3228
3282
  items?: TaoStageItem[];
3229
3283
  /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
3230
3284
  direction?: "row" | "column";
@@ -3456,6 +3510,8 @@ declare type __VLS_NonUndefinedable_80<T> = T extends undefined ? never : T;
3456
3510
 
3457
3511
  declare type __VLS_NonUndefinedable_81<T> = T extends undefined ? never : T;
3458
3512
 
3513
+ declare type __VLS_NonUndefinedable_82<T> = T extends undefined ? never : T;
3514
+
3459
3515
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
3460
3516
 
3461
3517
  declare type __VLS_Prettify<T> = {
@@ -3754,6 +3810,10 @@ declare type __VLS_Prettify_76<T> = {
3754
3810
  [K in keyof T]: T[K];
3755
3811
  } & {};
3756
3812
 
3813
+ declare type __VLS_Prettify_77<T> = {
3814
+ [K in keyof T]: T[K];
3815
+ } & {};
3816
+
3757
3817
  declare type __VLS_Prettify_8<T> = {
3758
3818
  [K in keyof T]: T[K];
3759
3819
  } & {};
@@ -3823,7 +3883,8 @@ declare function __VLS_template_15(): {
3823
3883
  declare function __VLS_template_16(): {
3824
3884
  icon?(_: {
3825
3885
  mode: TaoMode;
3826
- next: string;
3886
+ choice: TaoModeChoice;
3887
+ next: TaoModeChoice;
3827
3888
  }): any;
3828
3889
  };
3829
3890
 
@@ -5199,6 +5260,15 @@ declare type __VLS_TypePropsToRuntimeProps_81<T> = {
5199
5260
  };
5200
5261
  };
5201
5262
 
5263
+ declare type __VLS_TypePropsToRuntimeProps_82<T> = {
5264
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
5265
+ type: PropType<__VLS_NonUndefinedable_82<T[K]>>;
5266
+ } : {
5267
+ type: PropType<T[K]>;
5268
+ required: true;
5269
+ };
5270
+ };
5271
+
5202
5272
  declare type __VLS_TypePropsToRuntimeProps_9<T> = {
5203
5273
  [K in keyof T]-?: {} extends Pick<T, K> ? {
5204
5274
  type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
@@ -5652,6 +5722,12 @@ declare type __VLS_WithDefaults_76<P, D> = {
5652
5722
  }> : P[K];
5653
5723
  };
5654
5724
 
5725
+ declare type __VLS_WithDefaults_77<P, D> = {
5726
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_77<P[K] & {
5727
+ default: D[K];
5728
+ }> : P[K];
5729
+ };
5730
+
5655
5731
  declare type __VLS_WithDefaults_8<P, D> = {
5656
5732
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
5657
5733
  default: D[K];
@@ -6605,12 +6681,23 @@ export declare function readTaoMode(el: Element): TaoMode;
6605
6681
  */
6606
6682
  export declare function registerTaoIcons(icons: Record<string, TaoIconDef>): void;
6607
6683
 
6684
+ /** A choice as the mode to put on the page. / Выбор как режим для страницы. */
6685
+ export declare function resolveTaoMode(choice: TaoModeChoice): TaoMode;
6686
+
6608
6687
  /**
6609
6688
  * The element a step points at, or null (no target, a selector that finds nothing, a hidden element).
6610
6689
  * Элемент, на который указывает шаг, или null (цели нет, селектор ничего не нашёл, элемент скрыт).
6611
6690
  */
6612
6691
  export declare function resolveTourTarget(target: TaoTourStep['target'], root?: ParentNode): HTMLElement | null;
6613
6692
 
6693
+ /**
6694
+ * Makes a control of the bar visible and returns it: a control of a group that went under «more» opens the menu first. The element
6695
+ * is the same one in both places, so an app that anchors a list to a button anchors it to what the person sees.
6696
+ * Делает элемент панели видимым и возвращает его: элемент группы, ушедшей под «more», сначала открывает меню. Элемент один и
6697
+ * тот же в обоих местах, поэтому список, привязанный к кнопке, привязан к тому, что видит человек.
6698
+ */
6699
+ declare function reveal<T extends HTMLElement>(el: T): Promise<T>;
6700
+
6614
6701
  /** Цвет: r, g, b от 0 до 255, a (прозрачность) от 0 до 1. Это обычный sRGB, как в CSS. */
6615
6702
  export declare interface Rgba {
6616
6703
  r: number;
@@ -6640,6 +6727,9 @@ export declare function setTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocal
6640
6727
  /** sRGB (0…1) в линейный цвет (0…1). */
6641
6728
  export declare const srgbToLinear: (c: number) => number;
6642
6729
 
6730
+ /** The mode the system asks for now (`prefers-color-scheme`); dark where there is no `matchMedia` (SSR). / Режим, который сейчас просит система. */
6731
+ export declare function systemTaoMode(): TaoMode;
6732
+
6643
6733
  /** The series colours, in order: `--tao-color-chart-1` … `-6`. / Цвета серий по порядку. */
6644
6734
  export declare const TAO_CHART_COLORS = 6;
6645
6735
 
@@ -6647,7 +6737,7 @@ export declare const TaoAlert: __VLS_WithTemplateSlots_62<typeof __VLS_component
6647
6737
 
6648
6738
  export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, ReturnType<typeof __VLS_template_30>>;
6649
6739
 
6650
- export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_77<{
6740
+ export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_78<{
6651
6741
  src?: string;
6652
6742
  name?: string;
6653
6743
  alt?: string;
@@ -6672,7 +6762,7 @@ size: string;
6672
6762
  dot: boolean;
6673
6763
  count: undefined;
6674
6764
  dotLabels: () => {};
6675
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_77<{
6765
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_78<{
6676
6766
  src?: string;
6677
6767
  name?: string;
6678
6768
  alt?: string;
@@ -6711,10 +6801,10 @@ declare type TaoAvatarDot = TaoTone;
6711
6801
 
6712
6802
  export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
6713
6803
 
6714
- export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_78<{
6804
+ export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_79<{
6715
6805
  items: TaoBreadcrumbItem[];
6716
6806
  ariaLabel?: string;
6717
- }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_78<{
6807
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_79<{
6718
6808
  items: TaoBreadcrumbItem[];
6719
6809
  ariaLabel?: string;
6720
6810
  }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -6985,13 +7075,13 @@ export declare const TaoContextMenu: __VLS_WithTemplateSlots_48<typeof __VLS_com
6985
7075
 
6986
7076
  export declare const TaoCopy: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, ReturnType<typeof __VLS_template_15>>;
6987
7077
 
6988
- export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_79<{
7078
+ export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_80<{
6989
7079
  value?: number;
6990
7080
  maxDigits?: number;
6991
7081
  }>, {
6992
7082
  value: number;
6993
7083
  maxDigits: number;
6994
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_79<{
7084
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_80<{
6995
7085
  value?: number;
6996
7086
  maxDigits?: number;
6997
7087
  }>, {
@@ -7239,9 +7329,14 @@ export declare interface TaoLocale {
7239
7329
  doneLabel: string;
7240
7330
  progressLabel: string;
7241
7331
  };
7332
+ presetInput: {
7333
+ nextLabel: string;
7334
+ prevLabel: string;
7335
+ };
7242
7336
  themeToggle: {
7243
7337
  toLightLabel: string;
7244
7338
  toDarkLabel: string;
7339
+ toSystemLabel: string;
7245
7340
  };
7246
7341
  loader: {
7247
7342
  label: string;
@@ -7314,6 +7409,9 @@ export declare interface TaoLocale {
7314
7409
  modal: {
7315
7410
  closeLabel: string;
7316
7411
  };
7412
+ toolbar: {
7413
+ overflowLabel: string;
7414
+ };
7317
7415
  pagination: {
7318
7416
  ariaLabel: string;
7319
7417
  prevLabel: string;
@@ -7529,6 +7627,14 @@ export declare const TaoModal: __VLS_WithTemplateSlots_8<typeof __VLS_component_
7529
7627
  */
7530
7628
  export declare type TaoMode = 'dark' | 'light';
7531
7629
 
7630
+ /**
7631
+ * What a person picks: a mode, or `system` (follow the operating system). The page itself is always `dark` or `light`:
7632
+ * `system` is resolved to one of them.
7633
+ * Что выбирает человек: режим или `system` (идти за операционной системой). Сама страница всегда `dark` или `light`:
7634
+ * `system` сводится к одному из них.
7635
+ */
7636
+ export declare type TaoModeChoice = TaoMode | 'system';
7637
+
7532
7638
  export declare const TaoNav: __VLS_WithTemplateSlots_43<typeof __VLS_component_43, ReturnType<typeof __VLS_template_43>>;
7533
7639
 
7534
7640
  /**
@@ -7757,6 +7863,119 @@ export declare interface TaoPluralForms {
7757
7863
 
7758
7864
  export declare const TaoPopover: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, ReturnType<typeof __VLS_template_12>>;
7759
7865
 
7866
+ export declare const TaoPresetInput: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
7867
+ /** The value, `v-model`: an option's value, or a number typed by hand (`custom`). / Значение, `v-model`: значение пункта или число, набранное руками (`custom`). */
7868
+ modelValue?: TaoPresetValue;
7869
+ /**
7870
+ * The presets. They are shown in this order in the pop-up, and the arrows walk them in it («up» is the next one).
7871
+ * The option with `default: true` is what an empty field means («Auto»): the pop-up shows it first, and the arrows
7872
+ * reach it after the last one.
7873
+ * Заготовки. В окне идут в этом порядке, и стрелки ходят по ним в нём («вверх» — следующая). Пункт с `default: true` —
7874
+ * то, что значит пустое поле («Авто»): окно показывает его первым, а стрелки доходят до него после последнего.
7875
+ */
7876
+ options?: TaoPresetOption[];
7877
+ /** The arrows go round: past the last one the first, before the first one the last. / Стрелки идут по кругу: после последнего первый, перед первым последний. */
7878
+ loop?: boolean;
7879
+ /** A whole number that is not in the list is a value too (between `min` and `max`). Off: only the presets. / Целое число вне списка тоже значение (между `min` и `max`). Выключено: только заготовки. */
7880
+ custom?: boolean;
7881
+ min?: number;
7882
+ max?: number;
7883
+ disabled?: boolean;
7884
+ error?: boolean;
7885
+ /** Control size, same scale as TaoButton; without it the size of the ancestors. / Размер контрола, шкала как у TaoButton; без него — размер предков. */
7886
+ size?: TaoSize;
7887
+ /** `filled` — a fill, the frame shows while the field is edited; `outline` — a frame. / `filled` — заливка, рамка видна, пока поле правят; `outline` — рамка. */
7888
+ variant?: "filled" | "outline";
7889
+ /** aria-label of the arrow that goes to the next value. / aria-label стрелки к следующему значению. */
7890
+ nextLabel?: string;
7891
+ /** aria-label of the arrow that goes to the previous value. / aria-label стрелки к предыдущему значению. */
7892
+ prevLabel?: string;
7893
+ }>, {
7894
+ modelValue: null;
7895
+ options: () => never[];
7896
+ loop: boolean;
7897
+ custom: boolean;
7898
+ min: number;
7899
+ max: number;
7900
+ disabled: boolean;
7901
+ error: boolean;
7902
+ size: undefined;
7903
+ variant: string;
7904
+ nextLabel: undefined;
7905
+ prevLabel: undefined;
7906
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7907
+ change: (value: TaoPresetValue) => void;
7908
+ "update:modelValue": (value: TaoPresetValue) => void;
7909
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
7910
+ /** The value, `v-model`: an option's value, or a number typed by hand (`custom`). / Значение, `v-model`: значение пункта или число, набранное руками (`custom`). */
7911
+ modelValue?: TaoPresetValue;
7912
+ /**
7913
+ * The presets. They are shown in this order in the pop-up, and the arrows walk them in it («up» is the next one).
7914
+ * The option with `default: true` is what an empty field means («Auto»): the pop-up shows it first, and the arrows
7915
+ * reach it after the last one.
7916
+ * Заготовки. В окне идут в этом порядке, и стрелки ходят по ним в нём («вверх» — следующая). Пункт с `default: true` —
7917
+ * то, что значит пустое поле («Авто»): окно показывает его первым, а стрелки доходят до него после последнего.
7918
+ */
7919
+ options?: TaoPresetOption[];
7920
+ /** The arrows go round: past the last one the first, before the first one the last. / Стрелки идут по кругу: после последнего первый, перед первым последний. */
7921
+ loop?: boolean;
7922
+ /** A whole number that is not in the list is a value too (between `min` and `max`). Off: only the presets. / Целое число вне списка тоже значение (между `min` и `max`). Выключено: только заготовки. */
7923
+ custom?: boolean;
7924
+ min?: number;
7925
+ max?: number;
7926
+ disabled?: boolean;
7927
+ error?: boolean;
7928
+ /** Control size, same scale as TaoButton; without it the size of the ancestors. / Размер контрола, шкала как у TaoButton; без него — размер предков. */
7929
+ size?: TaoSize;
7930
+ /** `filled` — a fill, the frame shows while the field is edited; `outline` — a frame. / `filled` — заливка, рамка видна, пока поле правят; `outline` — рамка. */
7931
+ variant?: "filled" | "outline";
7932
+ /** aria-label of the arrow that goes to the next value. / aria-label стрелки к следующему значению. */
7933
+ nextLabel?: string;
7934
+ /** aria-label of the arrow that goes to the previous value. / aria-label стрелки к предыдущему значению. */
7935
+ prevLabel?: string;
7936
+ }>, {
7937
+ modelValue: null;
7938
+ options: () => never[];
7939
+ loop: boolean;
7940
+ custom: boolean;
7941
+ min: number;
7942
+ max: number;
7943
+ disabled: boolean;
7944
+ error: boolean;
7945
+ size: undefined;
7946
+ variant: string;
7947
+ nextLabel: undefined;
7948
+ prevLabel: undefined;
7949
+ }>>> & Readonly<{
7950
+ onChange?: ((value: TaoPresetValue) => any) | undefined;
7951
+ "onUpdate:modelValue"?: ((value: TaoPresetValue) => any) | undefined;
7952
+ }>, {
7953
+ size: TaoSize;
7954
+ disabled: boolean;
7955
+ max: number;
7956
+ error: boolean;
7957
+ variant: "filled" | "outline";
7958
+ modelValue: TaoPresetValue;
7959
+ min: number;
7960
+ loop: boolean;
7961
+ prevLabel: string;
7962
+ nextLabel: string;
7963
+ options: TaoPresetOption[];
7964
+ custom: boolean;
7965
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7966
+
7967
+ /**
7968
+ * An option of `TaoPresetInput`. The one with `default` is what the field means when it is empty («Auto», «None»):
7969
+ * it is shown first in the pop-up, and the arrows reach it after the last one.
7970
+ * Пункт `TaoPresetInput`. Пункт с `default` — то, что поле значит, когда оно пустое («Авто», «Нет»): он показан первым в
7971
+ * окне, а стрелки доходят до него после последнего.
7972
+ */
7973
+ export declare interface TaoPresetOption extends TaoSelectOption {
7974
+ default?: boolean;
7975
+ }
7976
+
7977
+ export declare type TaoPresetValue = string | number | null;
7978
+
7760
7979
  export declare const TaoProgress: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, ReturnType<typeof __VLS_template_32>>;
7761
7980
 
7762
7981
  export declare const TaoQuantity: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, ReturnType<typeof __VLS_template_6>>;
@@ -7796,7 +8015,7 @@ export declare interface TaoSelectOption {
7796
8015
  /** One size scale for every control. / Единая шкала размеров для всех контролов. */
7797
8016
  export declare type TaoSize = 'small' | 'medium' | 'large';
7798
8017
 
7799
- export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_75<{
8018
+ export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_76<{
7800
8019
  variant?: "text" | "title" | "circle" | "rect";
7801
8020
  lines?: number;
7802
8021
  width?: string;
@@ -7806,7 +8025,7 @@ variant: string;
7806
8025
  lines: number;
7807
8026
  width: string;
7808
8027
  height: string;
7809
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_75<{
8028
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_76<{
7810
8029
  variant?: "text" | "title" | "circle" | "rect";
7811
8030
  lines?: number;
7812
8031
  width?: string;