@1337exp/taoui 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -6,6 +6,8 @@ import { ExtractPropTypes } from 'vue';
6
6
  import { Plugin as Plugin_2 } from 'vue';
7
7
  import { PropType } from 'vue';
8
8
  import { PublicProps } from 'vue';
9
+ import { Ref } from 'vue';
10
+ import { WritableComputedRef } from 'vue';
9
11
 
10
12
  declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
13
  type: string;
@@ -298,8 +300,8 @@ direction: undefined;
298
300
  vertical: boolean;
299
301
  }>>> & Readonly<{}>, {
300
302
  block: boolean;
301
- direction: "row" | "column";
302
303
  vertical: boolean;
304
+ direction: "row" | "column";
303
305
  expand: boolean;
304
306
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
305
307
 
@@ -634,8 +636,8 @@ tabindex: number;
634
636
  }>>> & Readonly<{}>, {
635
637
  size: number;
636
638
  tabindex: number;
637
- right: string | number;
638
639
  bottom: string | number;
640
+ right: string | number;
639
641
  zIndex: number;
640
642
  boundary: number;
641
643
  outline: boolean;
@@ -897,7 +899,7 @@ options: TaoSelectOption[];
897
899
  clearable: boolean;
898
900
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
899
901
 
900
- declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_41<{
902
+ declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_43<{
901
903
  modelValue?: string | number | null;
902
904
  options?: TaoSelectOption[];
903
905
  placeholder?: string;
@@ -923,7 +925,7 @@ allowCreate: boolean;
923
925
  "update:modelValue": (value: string | number | null) => void;
924
926
  change: (value: string | number | null) => void;
925
927
  create: (value: string) => void;
926
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_41<{
928
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_43<{
927
929
  modelValue?: string | number | null;
928
930
  options?: TaoSelectOption[];
929
931
  placeholder?: string;
@@ -958,7 +960,7 @@ clearable: boolean;
958
960
  allowCreate: boolean;
959
961
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
960
962
 
961
- declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_42<{
963
+ declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_44<{
962
964
  modelValue?: string | null;
963
965
  placeholder?: string;
964
966
  disabled?: boolean;
@@ -981,7 +983,7 @@ max: undefined;
981
983
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
982
984
  "update:modelValue": (value: string | null) => void;
983
985
  change: (value: string | null) => void;
984
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_42<{
986
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_44<{
985
987
  modelValue?: string | null;
986
988
  placeholder?: string;
987
989
  disabled?: boolean;
@@ -1020,7 +1022,7 @@ size?: TaoSize;
1020
1022
  size?: TaoSize;
1021
1023
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1022
1024
 
1023
- declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_43<{
1025
+ declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_45<{
1024
1026
  modelValue?: TaoDateRangeValue | null;
1025
1027
  placeholder?: string;
1026
1028
  disabled?: boolean;
@@ -1043,7 +1045,7 @@ max: undefined;
1043
1045
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1044
1046
  "update:modelValue": (value: TaoDateRangeValue | null) => void;
1045
1047
  change: (value: TaoDateRangeValue | null) => void;
1046
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_43<{
1048
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_45<{
1047
1049
  modelValue?: TaoDateRangeValue | null;
1048
1050
  placeholder?: string;
1049
1051
  disabled?: boolean;
@@ -1074,7 +1076,7 @@ modelValue: TaoDateRangeValue | null;
1074
1076
  min: string;
1075
1077
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1076
1078
 
1077
- declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_44<{
1079
+ declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_46<{
1078
1080
  modelValue?: boolean;
1079
1081
  label?: string;
1080
1082
  disabled?: boolean;
@@ -1090,7 +1092,7 @@ error: boolean;
1090
1092
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1091
1093
  "update:modelValue": (value: boolean) => void;
1092
1094
  change: (value: boolean) => void;
1093
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_44<{
1095
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_46<{
1094
1096
  modelValue?: boolean;
1095
1097
  label?: string;
1096
1098
  disabled?: boolean;
@@ -1113,7 +1115,7 @@ disabled: boolean;
1113
1115
  modelValue: boolean;
1114
1116
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1115
1117
 
1116
- declare const __VLS_component_42: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_45<{
1118
+ declare const __VLS_component_42: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_47<{
1117
1119
  value: TaoRadioValue;
1118
1120
  modelValue?: TaoRadioValue;
1119
1121
  name?: string;
@@ -1130,7 +1132,7 @@ error: boolean;
1130
1132
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1131
1133
  "update:modelValue": (value: TaoRadioValue) => void;
1132
1134
  change: (value: TaoRadioValue) => void;
1133
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_45<{
1135
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_47<{
1134
1136
  value: TaoRadioValue;
1135
1137
  modelValue?: TaoRadioValue;
1136
1138
  name?: string;
@@ -1153,7 +1155,7 @@ error: boolean;
1153
1155
  disabled: boolean;
1154
1156
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1155
1157
 
1156
- declare const __VLS_component_43: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_46<{
1158
+ declare const __VLS_component_43: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_48<{
1157
1159
  modelValue?: TaoRadioValue;
1158
1160
  name?: string;
1159
1161
  legend?: string;
@@ -1170,7 +1172,7 @@ direction: string;
1170
1172
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1171
1173
  "update:modelValue": (value: TaoRadioValue) => void;
1172
1174
  change: (value: TaoRadioValue) => void;
1173
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_46<{
1175
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_48<{
1174
1176
  modelValue?: TaoRadioValue;
1175
1177
  name?: string;
1176
1178
  legend?: string;
@@ -1193,7 +1195,7 @@ disabled: boolean;
1193
1195
  direction: "row" | "column";
1194
1196
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1195
1197
 
1196
- declare const __VLS_component_44: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_47<{
1198
+ declare const __VLS_component_44: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
1197
1199
  modelValue?: TaoRadioValue;
1198
1200
  name?: string;
1199
1201
  legend?: string;
@@ -1210,7 +1212,7 @@ block: boolean;
1210
1212
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1211
1213
  "update:modelValue": (value: TaoRadioValue) => void;
1212
1214
  change: (value: TaoRadioValue) => void;
1213
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_47<{
1215
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
1214
1216
  modelValue?: TaoRadioValue;
1215
1217
  name?: string;
1216
1218
  legend?: string;
@@ -1233,7 +1235,7 @@ disabled: boolean;
1233
1235
  block: boolean;
1234
1236
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1235
1237
 
1236
- declare const __VLS_component_45: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_48<{
1238
+ declare const __VLS_component_45: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
1237
1239
  value: TaoRadioValue;
1238
1240
  modelValue?: TaoRadioValue;
1239
1241
  name?: string;
@@ -1249,7 +1251,7 @@ disabled: boolean;
1249
1251
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1250
1252
  "update:modelValue": (value: TaoRadioValue) => void;
1251
1253
  change: (value: TaoRadioValue) => void;
1252
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_48<{
1254
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
1253
1255
  value: TaoRadioValue;
1254
1256
  modelValue?: TaoRadioValue;
1255
1257
  name?: string;
@@ -1271,7 +1273,7 @@ icon: string;
1271
1273
  disabled: boolean;
1272
1274
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1273
1275
 
1274
- declare const __VLS_component_46: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
1276
+ declare const __VLS_component_46: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_51<{
1275
1277
  /** Status color; `error` is an alias of `danger`. / Цвет статуса; `error` — алиас `danger`. */
1276
1278
  tone?: TaoTone | "error";
1277
1279
  /** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
@@ -1286,7 +1288,7 @@ title: string;
1286
1288
  closable: boolean;
1287
1289
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1288
1290
  close: () => void;
1289
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_49<{
1291
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_51<{
1290
1292
  /** Status color; `error` is an alias of `danger`. / Цвет статуса; `error` — алиас `danger`. */
1291
1293
  tone?: TaoTone | "error";
1292
1294
  /** @deprecated Use `tone`, same as TaoButton. / Используйте `tone`, как у TaoButton. */
@@ -1308,7 +1310,7 @@ closable: boolean;
1308
1310
  tone: TaoTone | "error";
1309
1311
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1310
1312
 
1311
- declare const __VLS_component_47: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
1313
+ declare const __VLS_component_47: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_52<{
1312
1314
  columns: TaoTableColumn[];
1313
1315
  rows?: Record<string, unknown>[];
1314
1316
  rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -1350,7 +1352,7 @@ sort: (value: TaoTableSort | null) => void;
1350
1352
  change: (value: TaoTableSort | null) => void;
1351
1353
  "update:sort": (value: TaoTableSort | null) => void;
1352
1354
  "row-click": (row: Record<string, unknown>, index: number) => void;
1353
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_50<{
1355
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_52<{
1354
1356
  columns: TaoTableColumn[];
1355
1357
  rows?: Record<string, unknown>[];
1356
1358
  rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
@@ -1408,7 +1410,7 @@ compact: boolean;
1408
1410
  sticky: boolean;
1409
1411
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1410
1412
 
1411
- declare const __VLS_component_48: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_51<{
1413
+ declare const __VLS_component_48: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_53<{
1412
1414
  page?: number;
1413
1415
  total?: number;
1414
1416
  pageSize?: number;
@@ -1438,7 +1440,7 @@ jump: number;
1438
1440
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1439
1441
  change: (value: number) => void;
1440
1442
  "update:page": (value: number) => void;
1441
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_51<{
1443
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_53<{
1442
1444
  page?: number;
1443
1445
  total?: number;
1444
1446
  pageSize?: number;
@@ -1478,9 +1480,9 @@ showTotal: boolean;
1478
1480
  jump: number;
1479
1481
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1480
1482
 
1481
- declare const __VLS_component_49: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_52<{
1483
+ declare const __VLS_component_49: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_54<{
1482
1484
  title?: string;
1483
- }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_52<{
1485
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_54<{
1484
1486
  title?: string;
1485
1487
  }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1486
1488
 
@@ -1547,7 +1549,7 @@ modelValue: number | null;
1547
1549
  controls: boolean;
1548
1550
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1549
1551
 
1550
- declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_53<{
1552
+ declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
1551
1553
  /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
1552
1554
  size?: TaoSize;
1553
1555
  /** Рамка, как у списка файлов. */
@@ -1564,7 +1566,7 @@ bordered: boolean;
1564
1566
  divided: boolean;
1565
1567
  empty: boolean;
1566
1568
  ariaLabel: string;
1567
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_53<{
1569
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
1568
1570
  /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
1569
1571
  size?: TaoSize;
1570
1572
  /** Рамка, как у списка файлов. */
@@ -1588,7 +1590,7 @@ bordered: boolean;
1588
1590
  divided: boolean;
1589
1591
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1590
1592
 
1591
- declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_54<{
1593
+ declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
1592
1594
  title?: string;
1593
1595
  description?: string;
1594
1596
  selected?: boolean;
@@ -1611,7 +1613,7 @@ clickable: boolean;
1611
1613
  actionAlways: boolean;
1612
1614
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1613
1615
  click: (event: MouseEvent) => void;
1614
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_54<{
1616
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
1615
1617
  title?: string;
1616
1618
  description?: string;
1617
1619
  selected?: boolean;
@@ -1644,7 +1646,7 @@ clickable: boolean;
1644
1646
  actionAlways: boolean;
1645
1647
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1646
1648
 
1647
- declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
1649
+ declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
1648
1650
  modelValue: boolean;
1649
1651
  title?: string;
1650
1652
  side?: "left" | "right";
@@ -1657,7 +1659,7 @@ closable: boolean;
1657
1659
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1658
1660
  close: (...args: any[]) => void;
1659
1661
  "update:modelValue": (...args: any[]) => void;
1660
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_56<{
1662
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
1661
1663
  modelValue: boolean;
1662
1664
  title?: string;
1663
1665
  side?: "left" | "right";
@@ -1676,7 +1678,7 @@ closable: boolean;
1676
1678
  side: "left" | "right";
1677
1679
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1678
1680
 
1679
- declare const __VLS_component_53: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
1681
+ declare const __VLS_component_53: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
1680
1682
  modelValue?: number;
1681
1683
  peek?: number;
1682
1684
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
@@ -1704,7 +1706,7 @@ dots: boolean;
1704
1706
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1705
1707
  "update:modelValue": (value: number) => void;
1706
1708
  change: (value: number) => void;
1707
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
1709
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
1708
1710
  modelValue?: number;
1709
1711
  peek?: number;
1710
1712
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. */
@@ -1742,7 +1744,7 @@ loop: boolean;
1742
1744
  dots: boolean;
1743
1745
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1744
1746
 
1745
- declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
1747
+ declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
1746
1748
  items?: TaoStageItem[];
1747
1749
  /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
1748
1750
  direction?: "row" | "column";
@@ -1755,7 +1757,7 @@ items: () => never[];
1755
1757
  direction: undefined;
1756
1758
  vertical: undefined;
1757
1759
  statusLabels: () => {};
1758
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
1760
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
1759
1761
  items?: TaoStageItem[];
1760
1762
  /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
1761
1763
  direction?: "row" | "column";
@@ -1770,8 +1772,8 @@ vertical: undefined;
1770
1772
  statusLabels: () => {};
1771
1773
  }>>> & Readonly<{}>, {
1772
1774
  items: TaoStageItem[];
1773
- direction: "row" | "column";
1774
1775
  vertical: boolean;
1776
+ direction: "row" | "column";
1775
1777
  statusLabels: Partial<Record<TaoStageStatus, string>>;
1776
1778
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1777
1779
 
@@ -2049,6 +2051,10 @@ declare type __VLS_NonUndefinedable_60<T> = T extends undefined ? never : T;
2049
2051
 
2050
2052
  declare type __VLS_NonUndefinedable_61<T> = T extends undefined ? never : T;
2051
2053
 
2054
+ declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
2055
+
2056
+ declare type __VLS_NonUndefinedable_63<T> = T extends undefined ? never : T;
2057
+
2052
2058
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
2053
2059
 
2054
2060
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
@@ -2263,6 +2269,14 @@ declare type __VLS_Prettify_56<T> = {
2263
2269
  [K in keyof T]: T[K];
2264
2270
  } & {};
2265
2271
 
2272
+ declare type __VLS_Prettify_57<T> = {
2273
+ [K in keyof T]: T[K];
2274
+ } & {};
2275
+
2276
+ declare type __VLS_Prettify_58<T> = {
2277
+ [K in keyof T]: T[K];
2278
+ } & {};
2279
+
2266
2280
  declare type __VLS_Prettify_6<T> = {
2267
2281
  [K in keyof T]: T[K];
2268
2282
  } & {};
@@ -3222,6 +3236,24 @@ declare type __VLS_TypePropsToRuntimeProps_61<T> = {
3222
3236
  };
3223
3237
  };
3224
3238
 
3239
+ declare type __VLS_TypePropsToRuntimeProps_62<T> = {
3240
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
3241
+ type: PropType<__VLS_NonUndefinedable_62<T[K]>>;
3242
+ } : {
3243
+ type: PropType<T[K]>;
3244
+ required: true;
3245
+ };
3246
+ };
3247
+
3248
+ declare type __VLS_TypePropsToRuntimeProps_63<T> = {
3249
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
3250
+ type: PropType<__VLS_NonUndefinedable_63<T[K]>>;
3251
+ } : {
3252
+ type: PropType<T[K]>;
3253
+ required: true;
3254
+ };
3255
+ };
3256
+
3225
3257
  declare type __VLS_TypePropsToRuntimeProps_7<T> = {
3226
3258
  [K in keyof T]-?: {} extends Pick<T, K> ? {
3227
3259
  type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
@@ -3561,6 +3593,18 @@ declare type __VLS_WithDefaults_56<P, D> = {
3561
3593
  }> : P[K];
3562
3594
  };
3563
3595
 
3596
+ declare type __VLS_WithDefaults_57<P, D> = {
3597
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_57<P[K] & {
3598
+ default: D[K];
3599
+ }> : P[K];
3600
+ };
3601
+
3602
+ declare type __VLS_WithDefaults_58<P, D> = {
3603
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_58<P[K] & {
3604
+ default: D[K];
3605
+ }> : P[K];
3606
+ };
3607
+
3564
3608
  declare type __VLS_WithDefaults_6<P, D> = {
3565
3609
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & {
3566
3610
  default: D[K];
@@ -3909,6 +3953,29 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
3909
3953
  };
3910
3954
  };
3911
3955
 
3956
+ /** Способ ввода цвета в палитре: строка hex, числа RGB или числа HSL. */
3957
+ export declare type ColorMode = 'hex' | 'rgb' | 'hsl';
3958
+
3959
+ /**
3960
+ * Превращает ваше хранилище цвета в записываемую строку hex для `v-model` у TaoColorPicker и TaoColorInput:
3961
+ * `const hex = colorModel(rgba, { format: 'array', range: 1, space: 'linear' })`. Чтение переводит ваш вид в sRGB hex,
3962
+ * запись переводит обратно (и округляет). Строка, которая не цвет, игнорируется.
3963
+ */
3964
+ export declare function colorModel<T>(source: Ref<T>, options?: ColorModelOptions): WritableComputedRef<string>;
3965
+
3966
+ export declare interface ColorModelOptions {
3967
+ /** Как цвет хранится у вас: объект `{ r, g, b, a }`, массив `[r, g, b, a]` или строка `rgb(r g b / a)`. По умолчанию объект. */
3968
+ format?: 'object' | 'array' | 'css';
3969
+ /** Диапазон r, g, b: 255 (по умолчанию) или 1. Прозрачность всегда 0…1. */
3970
+ range?: 255 | 1;
3971
+ /** Пространство r, g, b: `srgb` (по умолчанию, как в CSS) или `linear` (рендер: у градиента TaoFX). Линейный цвет только с `range: 1`. */
3972
+ space?: 'srgb' | 'linear';
3973
+ /** Хранить и показывать прозрачность. Без неё цвет отдаётся как `#rrggbb`, а у массива и объекта нет поля прозрачности. */
3974
+ alpha?: boolean;
3975
+ /** Знаков после запятой у дробных значений (range 1). По умолчанию 5: у линейного цвета меньше даёт видимые ступени в тёмном. */
3976
+ precision?: number;
3977
+ }
3978
+
3912
3979
  declare const confirm_2: TaoConfirmApi;
3913
3980
  export { confirm_2 as confirm }
3914
3981
 
@@ -3924,11 +3991,40 @@ export declare function formatTaoDateLabel(iso: string, locale?: string): string
3924
3991
 
3925
3992
  export declare function formatTaoDateRangeLabel(start: string, end: string, locale?: string): string;
3926
3993
 
3994
+ /** HSL в RGB (0…255, целые). */
3995
+ export declare function hslToRgb(h: number, s: number, l: number): {
3996
+ r: number;
3997
+ g: number;
3998
+ b: number;
3999
+ };
4000
+
4001
+ /** Цвет в HSV: h (оттенок) от 0 до 360, s и v от 0 до 1, a от 0 до 1. Внутреннее состояние палитры: оттенок не теряется на сером. */
4002
+ export declare interface Hsva {
4003
+ h: number;
4004
+ s: number;
4005
+ v: number;
4006
+ a: number;
4007
+ }
4008
+
4009
+ export declare const hsvaToRgba: (c: Hsva) => Rgba;
4010
+
4011
+ /** Линейный цвет (0…1) в sRGB (0…1). */
4012
+ export declare const linearToSrgb: (c: number) => number;
4013
+
3927
4014
  export declare const localeEn: TaoLocale;
3928
4015
 
3929
4016
  /** Default locale. / Локаль по умолчанию. */
3930
4017
  export declare const localeRu: TaoLocale;
3931
4018
 
4019
+ /** Нормализует строку из поля ввода к `#rrggbb` / `#rrggbbaa`; не цвет: null. */
4020
+ export declare function normalizeHex(input: string, alpha?: boolean): string | null;
4021
+
4022
+ /**
4023
+ * Разбирает цвет из строки: `#rgb`, `#rgba`, `#rrggbb`, `#rrggbbaa`, `rgb(255 136 0)`, `rgba(255, 136, 0, 0.5)`,
4024
+ * `rgb(255 136 0 / 50%)`, `hsl(30 100% 50%)`, `hsla(30, 100%, 50%, 0.5)`. Не цвет: null.
4025
+ */
4026
+ export declare function parseColor(input: string): Rgba | null;
4027
+
3932
4028
  export declare function parseTaoDate(value: string | null | undefined): TaoDateParts | null;
3933
4029
 
3934
4030
  export declare function parseTaoDateRange(value: TaoDateRangeValue | null | undefined): TaoDateRangeValue | null;
@@ -4121,6 +4217,23 @@ declare interface Props_9 {
4121
4217
  invert?: boolean;
4122
4218
  }
4123
4219
 
4220
+ /** Цвет: r, g, b от 0 до 255, a (прозрачность) от 0 до 1. Это обычный sRGB, как в CSS. */
4221
+ export declare interface Rgba {
4222
+ r: number;
4223
+ g: number;
4224
+ b: number;
4225
+ a: number;
4226
+ }
4227
+
4228
+ export declare const rgbaToHsva: (c: Rgba) => Hsva;
4229
+
4230
+ /** RGB (0…255) в HSL: h 0…360, s и l 0…1. У серого оттенок 0. */
4231
+ export declare function rgbToHsl(r: number, g: number, b: number): {
4232
+ h: number;
4233
+ s: number;
4234
+ l: number;
4235
+ };
4236
+
4124
4237
  /**
4125
4238
  * Sets the language of built-in texts: a whole locale (`localeEn`) or a few keys on top of `base`
4126
4239
  * (Russian by default). Works at any moment: components already on the page switch at once.
@@ -4130,11 +4243,14 @@ declare interface Props_9 {
4130
4243
  */
4131
4244
  export declare function setTaoLocale(locale: TaoLocaleOverrides, base?: TaoLocale): void;
4132
4245
 
4246
+ /** sRGB (0…1) в линейный цвет (0…1). */
4247
+ export declare const srgbToLinear: (c: number) => number;
4248
+
4133
4249
  export declare const TaoAlert: __VLS_WithTemplateSlots_46<typeof __VLS_component_46, ReturnType<typeof __VLS_template_46>>;
4134
4250
 
4135
4251
  export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, ReturnType<typeof __VLS_template_28>>;
4136
4252
 
4137
- export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
4253
+ export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
4138
4254
  src?: string;
4139
4255
  name?: string;
4140
4256
  alt?: string;
@@ -4159,7 +4275,7 @@ size: string;
4159
4275
  dot: boolean;
4160
4276
  count: undefined;
4161
4277
  dotLabels: () => {};
4162
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
4278
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
4163
4279
  src?: string;
4164
4280
  name?: string;
4165
4281
  alt?: string;
@@ -4198,10 +4314,10 @@ declare type TaoAvatarDot = 'success' | 'danger' | 'warning' | 'info' | 'neutral
4198
4314
 
4199
4315
  export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
4200
4316
 
4201
- export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
4317
+ export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
4202
4318
  items: TaoBreadcrumbItem[];
4203
4319
  ariaLabel?: string;
4204
- }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_58<{
4320
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
4205
4321
  items: TaoBreadcrumbItem[];
4206
4322
  ariaLabel?: string;
4207
4323
  }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -4219,6 +4335,144 @@ export declare const TaoCarousel: __VLS_WithTemplateSlots_53<typeof __VLS_compon
4219
4335
 
4220
4336
  export declare const TaoCheckbox: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, ReturnType<typeof __VLS_template_24>>;
4221
4337
 
4338
+ export declare const TaoColorInput: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_41<{
4339
+ /** Color as a hex string. / Цвет строкой hex. */
4340
+ modelValue: string;
4341
+ /** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
4342
+ alpha?: boolean;
4343
+ swatches?: readonly string[];
4344
+ /** Ways to enter the colour in the popover (HEX, RGB, HSL). / Способы ввода цвета в окне (HEX, RGB, HSL). */
4345
+ modes?: readonly ColorMode[];
4346
+ /** The current mode (`v-model:mode` remembers the choice). / Текущий способ ввода (`v-model:mode` запоминает выбор). */
4347
+ mode?: ColorMode;
4348
+ eyedropper?: boolean;
4349
+ disabled?: boolean;
4350
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
4351
+ error?: boolean;
4352
+ position?: "top" | "bottom" | "left" | "right";
4353
+ /** Without it the size of ancestors. / Без него — размер предков. */
4354
+ size?: TaoSize;
4355
+ chooseLabel?: string;
4356
+ }>, {
4357
+ alpha: boolean;
4358
+ modes: () => string[];
4359
+ eyedropper: boolean;
4360
+ disabled: boolean;
4361
+ error: boolean;
4362
+ position: string;
4363
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4364
+ "update:modelValue": (hex: string) => void;
4365
+ change: (hex: string) => void;
4366
+ "update:mode": (mode: ColorMode) => void;
4367
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_41<{
4368
+ /** Color as a hex string. / Цвет строкой hex. */
4369
+ modelValue: string;
4370
+ /** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
4371
+ alpha?: boolean;
4372
+ swatches?: readonly string[];
4373
+ /** Ways to enter the colour in the popover (HEX, RGB, HSL). / Способы ввода цвета в окне (HEX, RGB, HSL). */
4374
+ modes?: readonly ColorMode[];
4375
+ /** The current mode (`v-model:mode` remembers the choice). / Текущий способ ввода (`v-model:mode` запоминает выбор). */
4376
+ mode?: ColorMode;
4377
+ eyedropper?: boolean;
4378
+ disabled?: boolean;
4379
+ /** Red frame. The message goes to TaoFormField `error`. / Красная рамка. Текст ошибки — в `error` у TaoFormField. */
4380
+ error?: boolean;
4381
+ position?: "top" | "bottom" | "left" | "right";
4382
+ /** Without it the size of ancestors. / Без него — размер предков. */
4383
+ size?: TaoSize;
4384
+ chooseLabel?: string;
4385
+ }>, {
4386
+ alpha: boolean;
4387
+ modes: () => string[];
4388
+ eyedropper: boolean;
4389
+ disabled: boolean;
4390
+ error: boolean;
4391
+ position: string;
4392
+ }>>> & Readonly<{
4393
+ "onUpdate:modelValue"?: ((hex: string) => any) | undefined;
4394
+ onChange?: ((hex: string) => any) | undefined;
4395
+ "onUpdate:mode"?: ((mode: ColorMode) => any) | undefined;
4396
+ }>, {
4397
+ error: boolean;
4398
+ position: "top" | "bottom" | "left" | "right";
4399
+ disabled: boolean;
4400
+ alpha: boolean;
4401
+ modes: readonly ColorMode[];
4402
+ eyedropper: boolean;
4403
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4404
+
4405
+ export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_42<{
4406
+ /** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
4407
+ modelValue: string;
4408
+ /** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
4409
+ alpha?: boolean;
4410
+ /** Ready colors under the picker. / Готовые цвета под палитрой. */
4411
+ swatches?: readonly string[];
4412
+ /** Ways to enter the colour; one mode hides the switch. / Способы ввода цвета; один способ скрывает переключатель. */
4413
+ modes?: readonly ColorMode[];
4414
+ /** The current mode (`v-model:mode` remembers the choice). / Текущий способ ввода (`v-model:mode` запоминает выбор). */
4415
+ mode?: ColorMode;
4416
+ /** The eyedropper button (only where the browser has `EyeDropper`). / Кнопка пипетки (только где браузер умеет `EyeDropper`). */
4417
+ eyedropper?: boolean;
4418
+ disabled?: boolean;
4419
+ /** Without it the size of ancestors. / Без него — размер предков. */
4420
+ size?: TaoSize;
4421
+ areaLabel?: string;
4422
+ hueLabel?: string;
4423
+ alphaLabel?: string;
4424
+ hexLabel?: string;
4425
+ modeLabel?: string;
4426
+ swatchesLabel?: string;
4427
+ eyedropperLabel?: string;
4428
+ }>, {
4429
+ alpha: boolean;
4430
+ modes: () => string[];
4431
+ eyedropper: boolean;
4432
+ disabled: boolean;
4433
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4434
+ "update:modelValue": (hex: string) => void;
4435
+ change: (hex: string) => void;
4436
+ "update:mode": (mode: ColorMode) => void;
4437
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_42<{
4438
+ /** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
4439
+ modelValue: string;
4440
+ /** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
4441
+ alpha?: boolean;
4442
+ /** Ready colors under the picker. / Готовые цвета под палитрой. */
4443
+ swatches?: readonly string[];
4444
+ /** Ways to enter the colour; one mode hides the switch. / Способы ввода цвета; один способ скрывает переключатель. */
4445
+ modes?: readonly ColorMode[];
4446
+ /** The current mode (`v-model:mode` remembers the choice). / Текущий способ ввода (`v-model:mode` запоминает выбор). */
4447
+ mode?: ColorMode;
4448
+ /** The eyedropper button (only where the browser has `EyeDropper`). / Кнопка пипетки (только где браузер умеет `EyeDropper`). */
4449
+ eyedropper?: boolean;
4450
+ disabled?: boolean;
4451
+ /** Without it the size of ancestors. / Без него — размер предков. */
4452
+ size?: TaoSize;
4453
+ areaLabel?: string;
4454
+ hueLabel?: string;
4455
+ alphaLabel?: string;
4456
+ hexLabel?: string;
4457
+ modeLabel?: string;
4458
+ swatchesLabel?: string;
4459
+ eyedropperLabel?: string;
4460
+ }>, {
4461
+ alpha: boolean;
4462
+ modes: () => string[];
4463
+ eyedropper: boolean;
4464
+ disabled: boolean;
4465
+ }>>> & Readonly<{
4466
+ "onUpdate:modelValue"?: ((hex: string) => any) | undefined;
4467
+ onChange?: ((hex: string) => any) | undefined;
4468
+ "onUpdate:mode"?: ((mode: ColorMode) => any) | undefined;
4469
+ }>, {
4470
+ disabled: boolean;
4471
+ alpha: boolean;
4472
+ modes: readonly ColorMode[];
4473
+ eyedropper: boolean;
4474
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4475
+
4222
4476
  export declare const TaoCombobox: __VLS_WithTemplateSlots_38<typeof __VLS_component_38, ReturnType<typeof __VLS_template_38>>;
4223
4477
 
4224
4478
  export declare interface TaoConfirmApi {
@@ -4272,13 +4526,13 @@ declare type TaoContainerWidth = 'wide' | 'slim' | 'ultra-slim';
4272
4526
 
4273
4527
  export declare const TaoCopy: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, ReturnType<typeof __VLS_template_15>>;
4274
4528
 
4275
- export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
4529
+ export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
4276
4530
  value?: number;
4277
4531
  maxDigits?: number;
4278
4532
  }>, {
4279
4533
  value: number;
4280
4534
  maxDigits: number;
4281
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
4535
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
4282
4536
  value?: number;
4283
4537
  maxDigits?: number;
4284
4538
  }>, {
@@ -4502,6 +4756,19 @@ export declare interface TaoLocale {
4502
4756
  tag: {
4503
4757
  closeLabel: string;
4504
4758
  };
4759
+ colorPicker: {
4760
+ /** Square of saturation and brightness. / Квадрат насыщенности и яркости. */
4761
+ areaLabel: string;
4762
+ hueLabel: string;
4763
+ alphaLabel: string;
4764
+ hexLabel: string;
4765
+ /** Switch of the input mode (HEX, RGB, HSL). / Переключатель способа ввода. */
4766
+ modeLabel: string;
4767
+ swatchesLabel: string;
4768
+ eyedropperLabel: string;
4769
+ /** Trigger of TaoColorInput. / Кнопка TaoColorInput. */
4770
+ chooseLabel: string;
4771
+ };
4505
4772
  timeline: {
4506
4773
  playLabel: string;
4507
4774
  pauseLabel: string;
@@ -4643,7 +4910,7 @@ export declare interface TaoSelectOption {
4643
4910
  /** One size scale for every control. / Единая шкала размеров для всех контролов. */
4644
4911
  export declare type TaoSize = 'small' | 'medium' | 'large';
4645
4912
 
4646
- export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
4913
+ export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
4647
4914
  variant?: "text" | "title" | "circle" | "rect";
4648
4915
  lines?: number;
4649
4916
  width?: string;
@@ -4653,7 +4920,7 @@ variant: string;
4653
4920
  lines: number;
4654
4921
  width: string;
4655
4922
  height: string;
4656
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_55<{
4923
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_57<{
4657
4924
  variant?: "text" | "title" | "circle" | "rect";
4658
4925
  lines?: number;
4659
4926
  width?: string;
@@ -4710,6 +4977,8 @@ declare interface TaoSliderBaseProps {
4710
4977
  variant?: 'bar' | 'thin';
4711
4978
  /** Size, same scale as TaoButton; without it — the size of ancestors. / Размер, шкала как у TaoButton; без него — размер предков. */
4712
4979
  size?: TaoSize;
4980
+ /** Accessible name of the thumbs. / Имя ручек для скринридеров. */
4981
+ ariaLabel?: string;
4713
4982
  /** Step for the mouse wheel (a single thumb only). 0 — off. / Шаг для колёсика мыши (только одна ручка). 0 — отключено. */
4714
4983
  wheel?: number;
4715
4984
  }
@@ -4959,8 +5228,8 @@ disabled: boolean;
4959
5228
  placeholder: string;
4960
5229
  modelValue: string;
4961
5230
  resize: boolean;
4962
- rows: number;
4963
5231
  autocomplete: string;
5232
+ rows: number;
4964
5233
  align: "start" | "center" | "end";
4965
5234
  maxlength: number;
4966
5235
  spellcheck: boolean;
@@ -5109,4 +5378,7 @@ export declare function todayTaoDate(): string;
5109
5378
 
5110
5379
  declare function toggle(): void;
5111
5380
 
5381
+ /** Строка hex: `#rrggbb`, а с `alpha` и `#rrggbbaa`. Значения вне диапазона зажимаются, дробные округляются. */
5382
+ export declare function toHex(color: Rgba, alpha?: boolean): string;
5383
+
5112
5384
  export { }