@retailcrm/embed-ui-v1-components 0.9.15 → 0.9.17
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/assets/sprites/map-and-places/navigate.svg +3 -0
- package/dist/host.cjs +1229 -616
- package/dist/host.css +346 -0
- package/dist/host.d.ts +300 -118
- package/dist/host.js +1229 -616
- package/dist/remote.cjs +501 -61
- package/dist/remote.d.ts +667 -81
- package/dist/remote.js +502 -62
- package/docs/COMPONENTS.md +4 -0
- package/docs/FORMAT.md +19 -0
- package/docs/PROFILES.md +2 -0
- package/docs/profiles/UiAddButton.yml +12 -0
- package/docs/profiles/UiAlert.yml +12 -0
- package/docs/profiles/UiAvatar.yml +12 -0
- package/docs/profiles/UiAvatarList.yml +12 -0
- package/docs/profiles/UiButton.yml +8 -0
- package/docs/profiles/UiCalendar.yml +12 -0
- package/docs/profiles/UiCheckbox.yml +12 -0
- package/docs/profiles/UiCollapse.yml +12 -0
- package/docs/profiles/UiCollapseBox.yml +12 -0
- package/docs/profiles/UiCollapseGroup.yml +12 -0
- package/docs/profiles/UiCopyButton.yml +12 -0
- package/docs/profiles/UiDate.yml +12 -0
- package/docs/profiles/UiDatePicker.yml +12 -0
- package/docs/profiles/UiError.yml +12 -0
- package/docs/profiles/UiField.yml +5 -1
- package/docs/profiles/UiImage.yml +12 -0
- package/docs/profiles/UiInfobox.yml +12 -0
- package/docs/profiles/UiLink.yml +12 -0
- package/docs/profiles/UiLoader.yml +12 -0
- package/docs/profiles/UiMenuItem.yml +12 -0
- package/docs/profiles/UiMenuItemGroup.yml +12 -0
- package/docs/profiles/UiModalSidebar.yml +12 -0
- package/docs/profiles/UiModalWindow.yml +12 -0
- package/docs/profiles/UiModalWindowSurface.yml +12 -0
- package/docs/profiles/UiNumberStepper.yml +12 -0
- package/docs/profiles/UiPageHeader.yml +5 -1
- package/docs/profiles/UiPopper.yml +5 -1
- package/docs/profiles/UiPopperConnector.yml +6 -0
- package/docs/profiles/UiPopperTarget.yml +6 -0
- package/docs/profiles/UiRadio.yml +12 -0
- package/docs/profiles/UiRadioSwitch.yml +7 -0
- package/docs/profiles/UiRadioSwitchOption.yml +8 -0
- package/docs/profiles/UiScrollBox.yml +12 -0
- package/docs/profiles/UiSelect.yml +9 -0
- package/docs/profiles/UiSelectOption.yml +12 -0
- package/docs/profiles/UiSelectOptionGroup.yml +12 -0
- package/docs/profiles/UiSkeleton.yml +41 -0
- package/docs/profiles/UiSlider.yml +12 -0
- package/docs/profiles/UiSwitch.yml +12 -0
- package/docs/profiles/UiTab.yml +5 -0
- package/docs/profiles/UiTabGroup.yml +5 -0
- package/docs/profiles/UiTable.yml +5 -1
- package/docs/profiles/UiTableBodyCell.yml +12 -0
- package/docs/profiles/UiTableColumn.yml +12 -0
- package/docs/profiles/UiTableFooterButton.yml +12 -0
- package/docs/profiles/UiTableFooterSection.yml +12 -0
- package/docs/profiles/UiTableHeadCell.yml +12 -0
- package/docs/profiles/UiTableSorter.yml +12 -0
- package/docs/profiles/UiTag.yml +12 -0
- package/docs/profiles/UiTextbox.yml +5 -1
- package/docs/profiles/UiTimePicker.yml +12 -0
- package/docs/profiles/UiToggleButton.yml +211 -0
- package/docs/profiles/UiToggleGroup.yml +211 -0
- package/docs/profiles/UiToggleGroupOption.yml +116 -0
- package/docs/profiles/UiToolbarButton.yml +12 -0
- package/docs/profiles/UiToolbarLink.yml +12 -0
- package/docs/profiles/UiTooltip.yml +12 -0
- package/docs/profiles/UiTransition.yml +12 -0
- package/docs/profiles/UiYandexMap.yml +12 -0
- package/package.json +2 -2
package/dist/host.d.ts
CHANGED
|
@@ -57,9 +57,9 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
57
57
|
};
|
|
58
58
|
/** Внешний вид: алерт, диалог, popup, hint */
|
|
59
59
|
appearance: {
|
|
60
|
-
type: PropType<
|
|
60
|
+
type: PropType<APPEARANCE_4>;
|
|
61
61
|
validator: (value: string) => boolean;
|
|
62
|
-
default:
|
|
62
|
+
default: APPEARANCE_4;
|
|
63
63
|
};
|
|
64
64
|
/** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
|
|
65
65
|
disposeTimeout: {
|
|
@@ -125,9 +125,9 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
125
125
|
};
|
|
126
126
|
/** Внешний вид: алерт, диалог, popup, hint */
|
|
127
127
|
appearance: {
|
|
128
|
-
type: PropType<
|
|
128
|
+
type: PropType<APPEARANCE_4>;
|
|
129
129
|
validator: (value: string) => boolean;
|
|
130
|
-
default:
|
|
130
|
+
default: APPEARANCE_4;
|
|
131
131
|
};
|
|
132
132
|
/** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
|
|
133
133
|
disposeTimeout: {
|
|
@@ -176,7 +176,7 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
176
176
|
closable: boolean;
|
|
177
177
|
id: string;
|
|
178
178
|
role: MODAL_WINDOW_ROLE;
|
|
179
|
-
appearance:
|
|
179
|
+
appearance: APPEARANCE_4;
|
|
180
180
|
disposeTimeout: string | number | null;
|
|
181
181
|
opened: boolean;
|
|
182
182
|
scrolling: SCROLLING_2;
|
|
@@ -390,10 +390,11 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
390
390
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
391
391
|
invalid: boolean;
|
|
392
392
|
placeholder: string;
|
|
393
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
393
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
394
394
|
id: string | undefined;
|
|
395
395
|
max: number | `${number}`;
|
|
396
396
|
min: number | `${number}`;
|
|
397
|
+
width: WidthValue;
|
|
397
398
|
step: number | `${number}` | "any";
|
|
398
399
|
disabled: boolean;
|
|
399
400
|
outlined: boolean;
|
|
@@ -419,9 +420,10 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
419
420
|
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
420
421
|
readonly invalid: boolean;
|
|
421
422
|
readonly placeholder: string;
|
|
422
|
-
readonly size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
423
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
423
424
|
readonly max: number | `${number}`;
|
|
424
425
|
readonly min: number | `${number}`;
|
|
426
|
+
readonly width: WidthValue;
|
|
425
427
|
readonly step: number | `${number}` | "any";
|
|
426
428
|
readonly disabled: boolean;
|
|
427
429
|
readonly outlined: boolean;
|
|
@@ -453,7 +455,7 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
453
455
|
readonly onClear?: (() => any) | undefined;
|
|
454
456
|
readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
455
457
|
readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
456
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
458
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
457
459
|
$attrs: {
|
|
458
460
|
[x: string]: unknown;
|
|
459
461
|
};
|
|
@@ -521,8 +523,13 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
521
523
|
default: "*";
|
|
522
524
|
};
|
|
523
525
|
size: {
|
|
524
|
-
type: PropType<
|
|
525
|
-
default:
|
|
526
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
527
|
+
default: SIZE_4;
|
|
528
|
+
};
|
|
529
|
+
width: {
|
|
530
|
+
type: PropType<WidthValue>;
|
|
531
|
+
validator: (value: unknown) => value is WidthValue | null | undefined;
|
|
532
|
+
default: WIDTH;
|
|
526
533
|
};
|
|
527
534
|
placeholder: {
|
|
528
535
|
type: StringConstructor;
|
|
@@ -627,10 +634,11 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
627
634
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
628
635
|
invalid: boolean;
|
|
629
636
|
placeholder: string;
|
|
630
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
637
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
631
638
|
id: string | undefined;
|
|
632
639
|
max: number | `${number}`;
|
|
633
640
|
min: number | `${number}`;
|
|
641
|
+
width: WidthValue;
|
|
634
642
|
step: number | `${number}` | "any";
|
|
635
643
|
disabled: boolean;
|
|
636
644
|
outlined: boolean;
|
|
@@ -684,10 +692,11 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
684
692
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
685
693
|
invalid: boolean;
|
|
686
694
|
placeholder: string;
|
|
687
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
695
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
688
696
|
id: string | undefined;
|
|
689
697
|
max: number | `${number}`;
|
|
690
698
|
min: number | `${number}`;
|
|
699
|
+
width: WidthValue;
|
|
691
700
|
step: number | `${number}` | "any";
|
|
692
701
|
disabled: boolean;
|
|
693
702
|
outlined: boolean;
|
|
@@ -758,8 +767,13 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
758
767
|
default: "*";
|
|
759
768
|
};
|
|
760
769
|
size: {
|
|
761
|
-
type: PropType<
|
|
762
|
-
default:
|
|
770
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
771
|
+
default: SIZE_4;
|
|
772
|
+
};
|
|
773
|
+
width: {
|
|
774
|
+
type: PropType<WidthValue>;
|
|
775
|
+
validator: (value: unknown) => value is WidthValue | null | undefined;
|
|
776
|
+
default: WIDTH;
|
|
763
777
|
};
|
|
764
778
|
placeholder: {
|
|
765
779
|
type: StringConstructor;
|
|
@@ -841,7 +855,7 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
841
855
|
onClear?: (() => any) | undefined;
|
|
842
856
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
843
857
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
844
|
-
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
858
|
+
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
845
859
|
getSelectionStart(): number | null;
|
|
846
860
|
getSelectionEnd(): number | null;
|
|
847
861
|
setSelectionRange(start: number, end: number): void;
|
|
@@ -932,16 +946,16 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
932
946
|
declare const __VLS_component_3: DefineComponent_2<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
933
947
|
declare const __VLS_component_4: DefineComponent_2<ExtractPropTypes<{
|
|
934
948
|
size: {
|
|
935
|
-
type: PropType<
|
|
936
|
-
default:
|
|
949
|
+
type: PropType<SIZE_10 | `${SIZE_10}`>;
|
|
950
|
+
default: SIZE_10;
|
|
937
951
|
};
|
|
938
952
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
939
953
|
size: {
|
|
940
|
-
type: PropType<
|
|
941
|
-
default:
|
|
954
|
+
type: PropType<SIZE_10 | `${SIZE_10}`>;
|
|
955
|
+
default: SIZE_10;
|
|
942
956
|
};
|
|
943
957
|
}>> & Readonly<{}>, {
|
|
944
|
-
size: "sm" | "md" |
|
|
958
|
+
size: "sm" | "md" | SIZE_10;
|
|
945
959
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
946
960
|
declare function __VLS_template(): {
|
|
947
961
|
attrs: Partial<{}>;
|
|
@@ -1051,10 +1065,11 @@ declare function __VLS_template_2(): {
|
|
|
1051
1065
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1052
1066
|
invalid: boolean;
|
|
1053
1067
|
placeholder: string;
|
|
1054
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1068
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1055
1069
|
id: string | undefined;
|
|
1056
1070
|
max: number | `${number}`;
|
|
1057
1071
|
min: number | `${number}`;
|
|
1072
|
+
width: WidthValue;
|
|
1058
1073
|
step: number | `${number}` | "any";
|
|
1059
1074
|
disabled: boolean;
|
|
1060
1075
|
outlined: boolean;
|
|
@@ -1080,9 +1095,10 @@ declare function __VLS_template_2(): {
|
|
|
1080
1095
|
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1081
1096
|
readonly invalid: boolean;
|
|
1082
1097
|
readonly placeholder: string;
|
|
1083
|
-
readonly size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1098
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1084
1099
|
readonly max: number | `${number}`;
|
|
1085
1100
|
readonly min: number | `${number}`;
|
|
1101
|
+
readonly width: WidthValue;
|
|
1086
1102
|
readonly step: number | `${number}` | "any";
|
|
1087
1103
|
readonly disabled: boolean;
|
|
1088
1104
|
readonly outlined: boolean;
|
|
@@ -1114,7 +1130,7 @@ declare function __VLS_template_2(): {
|
|
|
1114
1130
|
readonly onClear?: (() => any) | undefined;
|
|
1115
1131
|
readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1116
1132
|
readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
1117
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
1133
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
1118
1134
|
$attrs: {
|
|
1119
1135
|
[x: string]: unknown;
|
|
1120
1136
|
};
|
|
@@ -1182,8 +1198,13 @@ declare function __VLS_template_2(): {
|
|
|
1182
1198
|
default: "*";
|
|
1183
1199
|
};
|
|
1184
1200
|
size: {
|
|
1185
|
-
type: PropType<
|
|
1186
|
-
default:
|
|
1201
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
1202
|
+
default: SIZE_4;
|
|
1203
|
+
};
|
|
1204
|
+
width: {
|
|
1205
|
+
type: PropType<WidthValue>;
|
|
1206
|
+
validator: (value: unknown) => value is WidthValue | null | undefined;
|
|
1207
|
+
default: WIDTH;
|
|
1187
1208
|
};
|
|
1188
1209
|
placeholder: {
|
|
1189
1210
|
type: StringConstructor;
|
|
@@ -1288,10 +1309,11 @@ declare function __VLS_template_2(): {
|
|
|
1288
1309
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1289
1310
|
invalid: boolean;
|
|
1290
1311
|
placeholder: string;
|
|
1291
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1312
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1292
1313
|
id: string | undefined;
|
|
1293
1314
|
max: number | `${number}`;
|
|
1294
1315
|
min: number | `${number}`;
|
|
1316
|
+
width: WidthValue;
|
|
1295
1317
|
step: number | `${number}` | "any";
|
|
1296
1318
|
disabled: boolean;
|
|
1297
1319
|
outlined: boolean;
|
|
@@ -1345,10 +1367,11 @@ declare function __VLS_template_2(): {
|
|
|
1345
1367
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1346
1368
|
invalid: boolean;
|
|
1347
1369
|
placeholder: string;
|
|
1348
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1370
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1349
1371
|
id: string | undefined;
|
|
1350
1372
|
max: number | `${number}`;
|
|
1351
1373
|
min: number | `${number}`;
|
|
1374
|
+
width: WidthValue;
|
|
1352
1375
|
step: number | `${number}` | "any";
|
|
1353
1376
|
disabled: boolean;
|
|
1354
1377
|
outlined: boolean;
|
|
@@ -1419,8 +1442,13 @@ declare function __VLS_template_2(): {
|
|
|
1419
1442
|
default: "*";
|
|
1420
1443
|
};
|
|
1421
1444
|
size: {
|
|
1422
|
-
type: PropType<
|
|
1423
|
-
default:
|
|
1445
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
1446
|
+
default: SIZE_4;
|
|
1447
|
+
};
|
|
1448
|
+
width: {
|
|
1449
|
+
type: PropType<WidthValue>;
|
|
1450
|
+
validator: (value: unknown) => value is WidthValue | null | undefined;
|
|
1451
|
+
default: WIDTH;
|
|
1424
1452
|
};
|
|
1425
1453
|
placeholder: {
|
|
1426
1454
|
type: StringConstructor;
|
|
@@ -1502,7 +1530,7 @@ declare function __VLS_template_2(): {
|
|
|
1502
1530
|
onClear?: (() => any) | undefined;
|
|
1503
1531
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1504
1532
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
1505
|
-
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
1533
|
+
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
1506
1534
|
getSelectionStart(): number | null;
|
|
1507
1535
|
getSelectionEnd(): number | null;
|
|
1508
1536
|
setSelectionRange(start: number, end: number): void;
|
|
@@ -1642,37 +1670,29 @@ declare enum ALIGN_2 {
|
|
|
1642
1670
|
LEFT = "left",
|
|
1643
1671
|
RIGHT = "right"
|
|
1644
1672
|
}
|
|
1645
|
-
|
|
1646
|
-
DEFAULT = "default",
|
|
1647
|
-
SECTION = "section"
|
|
1648
|
-
}
|
|
1649
|
-
declare enum APPEARANCE_2 {
|
|
1673
|
+
declare enum APPEARANCE {
|
|
1650
1674
|
OUTLINED = "outlined",
|
|
1651
1675
|
PRIMARY = "primary",
|
|
1652
1676
|
SECONDARY = "secondary",
|
|
1653
1677
|
TERTIARY = "tertiary"
|
|
1654
1678
|
}
|
|
1655
|
-
declare enum
|
|
1679
|
+
declare enum APPEARANCE_2 {
|
|
1656
1680
|
SINGLE = "single",
|
|
1657
1681
|
DOUBLE = "double"
|
|
1658
1682
|
}
|
|
1659
|
-
declare enum
|
|
1683
|
+
declare enum APPEARANCE_3 {
|
|
1660
1684
|
BREADCRUMBS = "breadcrumbs",
|
|
1661
1685
|
DEFAULT = "default",
|
|
1662
1686
|
NAVIGATION = "navigation",
|
|
1663
1687
|
NAVIGATION_ANCHOR = "navigation-anchor",
|
|
1664
1688
|
TITLE = "title"
|
|
1665
1689
|
}
|
|
1666
|
-
declare enum
|
|
1690
|
+
declare enum APPEARANCE_4 {
|
|
1667
1691
|
ALERT = "alert",
|
|
1668
1692
|
DIALOG = "dialog",
|
|
1669
1693
|
POPUP = "popup",
|
|
1670
1694
|
HINT = "hint"
|
|
1671
1695
|
}
|
|
1672
|
-
declare enum APPEARANCE_6 {
|
|
1673
|
-
TEXT = "text",
|
|
1674
|
-
FILLED = "filled"
|
|
1675
|
-
}
|
|
1676
1696
|
export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
|
|
1677
1697
|
export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
|
|
1678
1698
|
export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
|
|
@@ -1763,6 +1783,7 @@ export declare type Group<T, GroupData> = {
|
|
|
1763
1783
|
rows: readonly T[];
|
|
1764
1784
|
};
|
|
1765
1785
|
export declare type GroupBy<T, GroupData> = (rows: readonly T[]) => Group<T, GroupData>[];
|
|
1786
|
+
export declare function guessSkeletonDimensionStyleValue(value: Numeric | null): string | null;
|
|
1766
1787
|
export declare const I18nPlugin: Plugin_2;
|
|
1767
1788
|
export declare const ImageWorkersKey: InjectionKey<Ref<string[]>>;
|
|
1768
1789
|
declare enum INPUTMODE {
|
|
@@ -1810,6 +1831,15 @@ declare type QuickOption = {
|
|
|
1810
1831
|
label: string;
|
|
1811
1832
|
value: Exclude<QuickDate, null>;
|
|
1812
1833
|
};
|
|
1834
|
+
export declare enum RADIO_SWITCH_APPEARANCE {
|
|
1835
|
+
DEFAULT = "default",
|
|
1836
|
+
SECTION = "section"
|
|
1837
|
+
}
|
|
1838
|
+
export declare enum RADIO_SWITCH_SIZE {
|
|
1839
|
+
SM = "sm",
|
|
1840
|
+
MD = "md",
|
|
1841
|
+
LG = "lg"
|
|
1842
|
+
}
|
|
1813
1843
|
declare type ResolveProps<PropsOrPropOptions, E extends EmitsOptions> = Readonly<PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions> & (Record<string, never> extends E ? Record<string, never> : EmitsToProps<E>);
|
|
1814
1844
|
export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
|
|
1815
1845
|
class?: CssClass;
|
|
@@ -1849,49 +1879,33 @@ declare type ShowingOptions = {
|
|
|
1849
1879
|
disabled?: boolean;
|
|
1850
1880
|
container?: string | null;
|
|
1851
1881
|
};
|
|
1852
|
-
|
|
1882
|
+
declare enum SIZE {
|
|
1883
|
+
XS = "xs",
|
|
1853
1884
|
SM = "sm",
|
|
1854
|
-
MD = "md",
|
|
1855
1885
|
LG = "lg"
|
|
1856
1886
|
}
|
|
1857
1887
|
declare enum SIZE_10 {
|
|
1858
|
-
SM = "sm",
|
|
1859
|
-
MD = "md",
|
|
1860
|
-
LG = "lg"
|
|
1861
|
-
}
|
|
1862
|
-
declare enum SIZE_11 {
|
|
1863
|
-
LG = "lg",
|
|
1864
|
-
MD = "md",
|
|
1865
|
-
SM = "sm",
|
|
1866
|
-
XS = "xs"
|
|
1867
|
-
}
|
|
1868
|
-
declare enum SIZE_12 {
|
|
1869
1888
|
SM = "sm",
|
|
1870
1889
|
MD = "md"
|
|
1871
1890
|
}
|
|
1872
1891
|
declare enum SIZE_2 {
|
|
1873
|
-
XS = "xs",
|
|
1874
|
-
SM = "sm",
|
|
1875
|
-
LG = "lg"
|
|
1876
|
-
}
|
|
1877
|
-
declare enum SIZE_3 {
|
|
1878
1892
|
LG = "lg",
|
|
1879
1893
|
MD = "md",
|
|
1880
1894
|
SM = "sm",
|
|
1881
1895
|
XS = "xs"
|
|
1882
1896
|
}
|
|
1883
|
-
declare enum
|
|
1897
|
+
declare enum SIZE_3 {
|
|
1884
1898
|
SM = "sm",
|
|
1885
1899
|
MD = "md"
|
|
1886
1900
|
}
|
|
1887
|
-
declare enum
|
|
1901
|
+
declare enum SIZE_4 {
|
|
1888
1902
|
XS = "xs",
|
|
1889
1903
|
SM = "sm",
|
|
1890
1904
|
MD = "md",
|
|
1891
1905
|
LG = "lg",
|
|
1892
1906
|
XL = "xl"
|
|
1893
1907
|
}
|
|
1894
|
-
declare enum
|
|
1908
|
+
declare enum SIZE_5 {
|
|
1895
1909
|
ARTICLE = "article",
|
|
1896
1910
|
BODY = "body",
|
|
1897
1911
|
PARAGRAPH = "paragraph",
|
|
@@ -1900,21 +1914,41 @@ declare enum SIZE_6 {
|
|
|
1900
1914
|
TITLE01 = "title-01",
|
|
1901
1915
|
TITLE02 = "title-02"
|
|
1902
1916
|
}
|
|
1903
|
-
declare enum
|
|
1917
|
+
declare enum SIZE_6 {
|
|
1904
1918
|
XS = "xs",
|
|
1905
1919
|
SM = "sm",
|
|
1906
1920
|
MD = "md",
|
|
1907
1921
|
LG = "lg"
|
|
1908
1922
|
}
|
|
1909
|
-
declare enum
|
|
1923
|
+
declare enum SIZE_7 {
|
|
1910
1924
|
LG = "lg",
|
|
1911
1925
|
SM = "sm"
|
|
1912
1926
|
}
|
|
1913
|
-
declare enum
|
|
1927
|
+
declare enum SIZE_8 {
|
|
1914
1928
|
XS = "xs",
|
|
1915
1929
|
SM = "sm",
|
|
1916
1930
|
XL = "xl"
|
|
1917
1931
|
}
|
|
1932
|
+
declare enum SIZE_9 {
|
|
1933
|
+
LG = "lg",
|
|
1934
|
+
MD = "md",
|
|
1935
|
+
SM = "sm",
|
|
1936
|
+
XS = "xs"
|
|
1937
|
+
}
|
|
1938
|
+
export declare enum SKELETON_ANIMATION {
|
|
1939
|
+
PULSE = "pulse",
|
|
1940
|
+
SHIMMER = "shimmer"
|
|
1941
|
+
}
|
|
1942
|
+
export declare enum SKELETON_APPEARANCE {
|
|
1943
|
+
CIRCLE = "circle",
|
|
1944
|
+
RECTANGLE = "rectangle",
|
|
1945
|
+
TEXT = "text"
|
|
1946
|
+
}
|
|
1947
|
+
export declare enum SKELETON_SIZE {
|
|
1948
|
+
SM = "sm",
|
|
1949
|
+
MD = "md",
|
|
1950
|
+
LG = "lg"
|
|
1951
|
+
}
|
|
1918
1952
|
declare enum STATUS {
|
|
1919
1953
|
NONE = "",
|
|
1920
1954
|
BUSY = "busy",
|
|
@@ -1926,6 +1960,15 @@ declare enum SYNCHRONIZATION {
|
|
|
1926
1960
|
INSTANT = "instant",
|
|
1927
1961
|
CONFIRMED = "confirmed"
|
|
1928
1962
|
}
|
|
1963
|
+
export declare enum TAB_APPEARANCE {
|
|
1964
|
+
TEXT = "text",
|
|
1965
|
+
FILLED = "filled"
|
|
1966
|
+
}
|
|
1967
|
+
export declare enum TAB_SIZE {
|
|
1968
|
+
SM = "sm",
|
|
1969
|
+
MD = "md",
|
|
1970
|
+
LG = "lg"
|
|
1971
|
+
}
|
|
1929
1972
|
export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
|
|
1930
1973
|
export declare type TabItem = {
|
|
1931
1974
|
id: string;
|
|
@@ -1998,7 +2041,7 @@ declare type UiAvatarListProperties = {
|
|
|
1998
2041
|
src: string;
|
|
1999
2042
|
name: string;
|
|
2000
2043
|
}>;
|
|
2001
|
-
size?:
|
|
2044
|
+
size?: SIZE;
|
|
2002
2045
|
};
|
|
2003
2046
|
declare type UiAvatarProperties = {
|
|
2004
2047
|
src?: string;
|
|
@@ -2007,7 +2050,7 @@ declare type UiAvatarProperties = {
|
|
|
2007
2050
|
status?: STATUS;
|
|
2008
2051
|
vip?: boolean;
|
|
2009
2052
|
bad?: boolean;
|
|
2010
|
-
size?:
|
|
2053
|
+
size?: SIZE;
|
|
2011
2054
|
optimize?: boolean | {
|
|
2012
2055
|
resize?: Dimensions;
|
|
2013
2056
|
crop?: Dimensions;
|
|
@@ -2022,9 +2065,9 @@ declare type UiButtonMethods = {
|
|
|
2022
2065
|
declare type UiButtonProperties = {
|
|
2023
2066
|
type?: HTMLButtonElement['type'];
|
|
2024
2067
|
href?: HTMLAnchorElement['href'] | undefined;
|
|
2025
|
-
appearance?:
|
|
2068
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
2026
2069
|
variant?: VARIANT_2 | `${VARIANT_2}`;
|
|
2027
|
-
size?:
|
|
2070
|
+
size?: SIZE_2 | `${SIZE_2}`;
|
|
2028
2071
|
active?: boolean;
|
|
2029
2072
|
disabled?: boolean;
|
|
2030
2073
|
locked?: boolean;
|
|
@@ -2036,7 +2079,7 @@ declare type UiCalendarMethods = {
|
|
|
2036
2079
|
declare type UiCalendarProperties = {
|
|
2037
2080
|
value?: null | Date | Date[];
|
|
2038
2081
|
type?: TYPE | `${TYPE}`;
|
|
2039
|
-
appearance?:
|
|
2082
|
+
appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
|
|
2040
2083
|
firstDayOfWeek?: number;
|
|
2041
2084
|
minDate?: Date | null;
|
|
2042
2085
|
maxDate?: Date | null;
|
|
@@ -2080,7 +2123,7 @@ declare type UiCollapseBoxProperties = {
|
|
|
2080
2123
|
collapseDuration?: number | string;
|
|
2081
2124
|
disabled?: boolean;
|
|
2082
2125
|
color?: COLOR_2 | `${COLOR_2}`;
|
|
2083
|
-
iconSize?:
|
|
2126
|
+
iconSize?: SIZE_3 | `${SIZE_3}`;
|
|
2084
2127
|
bordered?: boolean;
|
|
2085
2128
|
};
|
|
2086
2129
|
export declare const UiCollapseGroup: DefineComponent<UiCollapseGroupProperties, UiCollapseGroupMethods>;
|
|
@@ -2102,7 +2145,7 @@ declare type UiCollapseProperties = {
|
|
|
2102
2145
|
export declare const UiCopyButton: DefineComponent<UiCopyButtonProperties>;
|
|
2103
2146
|
declare type UiCopyButtonProperties = {
|
|
2104
2147
|
text: string;
|
|
2105
|
-
size:
|
|
2148
|
+
size: SIZE_2;
|
|
2106
2149
|
tooltipOptions?: TooltipOptions;
|
|
2107
2150
|
};
|
|
2108
2151
|
export declare const UiDate: DefineComponent<UiDateProperties>;
|
|
@@ -2174,8 +2217,8 @@ export declare const UiLink: DefineComponent<UiLinkProperties>;
|
|
|
2174
2217
|
declare type UiLinkProperties = {
|
|
2175
2218
|
href?: string;
|
|
2176
2219
|
external?: boolean;
|
|
2177
|
-
appearance?:
|
|
2178
|
-
size?:
|
|
2220
|
+
appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
|
|
2221
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
2179
2222
|
light?: boolean;
|
|
2180
2223
|
accent?: boolean;
|
|
2181
2224
|
dotted?: boolean;
|
|
@@ -2199,7 +2242,7 @@ declare type UiMenuItemProperties = {
|
|
|
2199
2242
|
danger?: boolean;
|
|
2200
2243
|
ticker?: boolean;
|
|
2201
2244
|
simple?: boolean;
|
|
2202
|
-
size?: `${
|
|
2245
|
+
size?: `${SIZE_6}`;
|
|
2203
2246
|
disabled?: boolean;
|
|
2204
2247
|
};
|
|
2205
2248
|
export declare const UiModalSidebar: DefineComponent<UiModalSidebarProperties>;
|
|
@@ -2211,7 +2254,7 @@ declare type UiModalSidebarProperties = {
|
|
|
2211
2254
|
disposeTimeout?: number | string | null;
|
|
2212
2255
|
fixed?: boolean;
|
|
2213
2256
|
scrolling?: SCROLLING | `${SCROLLING}`;
|
|
2214
|
-
size?:
|
|
2257
|
+
size?: SIZE_7 | `${SIZE_7}`;
|
|
2215
2258
|
role?: MODAL_SIDEBAR_ROLE;
|
|
2216
2259
|
};
|
|
2217
2260
|
export declare const UiModalWindow: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2224,7 +2267,7 @@ declare type UiModalWindowSurfaceProperties = {
|
|
|
2224
2267
|
id?: string;
|
|
2225
2268
|
opened?: boolean;
|
|
2226
2269
|
closable?: boolean;
|
|
2227
|
-
appearance?:
|
|
2270
|
+
appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
|
|
2228
2271
|
fullscreen?: boolean;
|
|
2229
2272
|
responsive?: boolean;
|
|
2230
2273
|
disposeTimeout?: number | string | null;
|
|
@@ -2251,7 +2294,7 @@ declare type UiNumberStepperProperties = {
|
|
|
2251
2294
|
readonly?: boolean;
|
|
2252
2295
|
required?: boolean;
|
|
2253
2296
|
direction?: DIRECTION_3 | `${DIRECTION_3}`;
|
|
2254
|
-
size?:
|
|
2297
|
+
size?: SIZE_4 | `${SIZE_4}`;
|
|
2255
2298
|
outlined?: boolean;
|
|
2256
2299
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
2257
2300
|
};
|
|
@@ -2411,10 +2454,11 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2411
2454
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2412
2455
|
invalid: boolean;
|
|
2413
2456
|
placeholder: string;
|
|
2414
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2457
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2415
2458
|
id: string | undefined;
|
|
2416
2459
|
max: number | `${number}`;
|
|
2417
2460
|
min: number | `${number}`;
|
|
2461
|
+
width: WidthValue;
|
|
2418
2462
|
step: number | `${number}` | "any";
|
|
2419
2463
|
disabled: boolean;
|
|
2420
2464
|
outlined: boolean;
|
|
@@ -2440,9 +2484,10 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2440
2484
|
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2441
2485
|
readonly invalid: boolean;
|
|
2442
2486
|
readonly placeholder: string;
|
|
2443
|
-
readonly size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2487
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2444
2488
|
readonly max: number | `${number}`;
|
|
2445
2489
|
readonly min: number | `${number}`;
|
|
2490
|
+
readonly width: WidthValue;
|
|
2446
2491
|
readonly step: number | `${number}` | "any";
|
|
2447
2492
|
readonly disabled: boolean;
|
|
2448
2493
|
readonly outlined: boolean;
|
|
@@ -2474,7 +2519,7 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2474
2519
|
readonly onClear?: (() => any) | undefined;
|
|
2475
2520
|
readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
2476
2521
|
readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
2477
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
2522
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
2478
2523
|
$attrs: {
|
|
2479
2524
|
[x: string]: unknown;
|
|
2480
2525
|
};
|
|
@@ -2542,8 +2587,13 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2542
2587
|
default: "*";
|
|
2543
2588
|
};
|
|
2544
2589
|
size: {
|
|
2545
|
-
type: PropType<
|
|
2546
|
-
default:
|
|
2590
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
2591
|
+
default: SIZE_4;
|
|
2592
|
+
};
|
|
2593
|
+
width: {
|
|
2594
|
+
type: PropType<WidthValue>;
|
|
2595
|
+
validator: (value: unknown) => value is WidthValue | null | undefined;
|
|
2596
|
+
default: WIDTH;
|
|
2547
2597
|
};
|
|
2548
2598
|
placeholder: {
|
|
2549
2599
|
type: StringConstructor;
|
|
@@ -2648,10 +2698,11 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2648
2698
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2649
2699
|
invalid: boolean;
|
|
2650
2700
|
placeholder: string;
|
|
2651
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2701
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2652
2702
|
id: string | undefined;
|
|
2653
2703
|
max: number | `${number}`;
|
|
2654
2704
|
min: number | `${number}`;
|
|
2705
|
+
width: WidthValue;
|
|
2655
2706
|
step: number | `${number}` | "any";
|
|
2656
2707
|
disabled: boolean;
|
|
2657
2708
|
outlined: boolean;
|
|
@@ -2705,10 +2756,11 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2705
2756
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2706
2757
|
invalid: boolean;
|
|
2707
2758
|
placeholder: string;
|
|
2708
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2759
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2709
2760
|
id: string | undefined;
|
|
2710
2761
|
max: number | `${number}`;
|
|
2711
2762
|
min: number | `${number}`;
|
|
2763
|
+
width: WidthValue;
|
|
2712
2764
|
step: number | `${number}` | "any";
|
|
2713
2765
|
disabled: boolean;
|
|
2714
2766
|
outlined: boolean;
|
|
@@ -2779,8 +2831,13 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2779
2831
|
default: "*";
|
|
2780
2832
|
};
|
|
2781
2833
|
size: {
|
|
2782
|
-
type: PropType<
|
|
2783
|
-
default:
|
|
2834
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
2835
|
+
default: SIZE_4;
|
|
2836
|
+
};
|
|
2837
|
+
width: {
|
|
2838
|
+
type: PropType<WidthValue>;
|
|
2839
|
+
validator: (value: unknown) => value is WidthValue | null | undefined;
|
|
2840
|
+
default: WIDTH;
|
|
2784
2841
|
};
|
|
2785
2842
|
placeholder: {
|
|
2786
2843
|
type: StringConstructor;
|
|
@@ -2862,7 +2919,7 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2862
2919
|
onClear?: (() => any) | undefined;
|
|
2863
2920
|
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
2864
2921
|
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
2865
|
-
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
2922
|
+
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
2866
2923
|
getSelectionStart(): number | null;
|
|
2867
2924
|
getSelectionEnd(): number | null;
|
|
2868
2925
|
setSelectionRange(start: number, end: number): void;
|
|
@@ -2924,12 +2981,12 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
|
|
|
2924
2981
|
};
|
|
2925
2982
|
appearance: {
|
|
2926
2983
|
type: PropType<UiRadioSwitchOptionShellProperties["appearance"]>;
|
|
2927
|
-
default:
|
|
2984
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
2928
2985
|
validator: (appearance: string) => boolean;
|
|
2929
2986
|
};
|
|
2930
2987
|
size: {
|
|
2931
2988
|
type: PropType<UiRadioSwitchOptionShellProperties["size"]>;
|
|
2932
|
-
default:
|
|
2989
|
+
default: RADIO_SWITCH_SIZE;
|
|
2933
2990
|
validator: (size: string) => boolean;
|
|
2934
2991
|
};
|
|
2935
2992
|
checked: {
|
|
@@ -2949,12 +3006,12 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
|
|
|
2949
3006
|
};
|
|
2950
3007
|
appearance: {
|
|
2951
3008
|
type: PropType<UiRadioSwitchOptionShellProperties["appearance"]>;
|
|
2952
|
-
default:
|
|
3009
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
2953
3010
|
validator: (appearance: string) => boolean;
|
|
2954
3011
|
};
|
|
2955
3012
|
size: {
|
|
2956
3013
|
type: PropType<UiRadioSwitchOptionShellProperties["size"]>;
|
|
2957
|
-
default:
|
|
3014
|
+
default: RADIO_SWITCH_SIZE;
|
|
2958
3015
|
validator: (size: string) => boolean;
|
|
2959
3016
|
};
|
|
2960
3017
|
checked: {
|
|
@@ -2966,10 +3023,10 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
|
|
|
2966
3023
|
default: boolean;
|
|
2967
3024
|
};
|
|
2968
3025
|
}>> & Readonly<{}>, {
|
|
2969
|
-
size: "sm" | "lg" | "md" |
|
|
3026
|
+
size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
|
|
2970
3027
|
id: string;
|
|
2971
3028
|
disabled: boolean;
|
|
2972
|
-
appearance: "default" | "section" |
|
|
3029
|
+
appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
|
|
2973
3030
|
checked: boolean;
|
|
2974
3031
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2975
3032
|
export declare type UiRadioSwitchOptionShellMethods = {
|
|
@@ -2978,8 +3035,8 @@ export declare type UiRadioSwitchOptionShellMethods = {
|
|
|
2978
3035
|
};
|
|
2979
3036
|
export declare type UiRadioSwitchOptionShellProperties = {
|
|
2980
3037
|
id?: string;
|
|
2981
|
-
appearance?:
|
|
2982
|
-
size?:
|
|
3038
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3039
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
2983
3040
|
checked?: boolean;
|
|
2984
3041
|
disabled?: boolean;
|
|
2985
3042
|
};
|
|
@@ -2987,19 +3044,19 @@ export declare type UiRadioSwitchProperties = {
|
|
|
2987
3044
|
value?: unknown;
|
|
2988
3045
|
options?: Option_2[];
|
|
2989
3046
|
equalFn?: EqualPredicate;
|
|
2990
|
-
appearance?:
|
|
2991
|
-
size?:
|
|
3047
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3048
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
2992
3049
|
rubber?: boolean;
|
|
2993
3050
|
};
|
|
2994
3051
|
export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
2995
3052
|
appearance: {
|
|
2996
3053
|
type: PropType<UiRadioSwitchRootProperties["appearance"]>;
|
|
2997
|
-
default:
|
|
3054
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
2998
3055
|
validator: (appearance: string) => boolean;
|
|
2999
3056
|
};
|
|
3000
3057
|
size: {
|
|
3001
3058
|
type: PropType<UiRadioSwitchRootProperties["size"]>;
|
|
3002
|
-
default:
|
|
3059
|
+
default: RADIO_SWITCH_SIZE;
|
|
3003
3060
|
validator: (size: string) => boolean;
|
|
3004
3061
|
};
|
|
3005
3062
|
rubber: {
|
|
@@ -3011,12 +3068,12 @@ export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
|
3011
3068
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3012
3069
|
appearance: {
|
|
3013
3070
|
type: PropType<UiRadioSwitchRootProperties["appearance"]>;
|
|
3014
|
-
default:
|
|
3071
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
3015
3072
|
validator: (appearance: string) => boolean;
|
|
3016
3073
|
};
|
|
3017
3074
|
size: {
|
|
3018
3075
|
type: PropType<UiRadioSwitchRootProperties["size"]>;
|
|
3019
|
-
default:
|
|
3076
|
+
default: RADIO_SWITCH_SIZE;
|
|
3020
3077
|
validator: (size: string) => boolean;
|
|
3021
3078
|
};
|
|
3022
3079
|
rubber: {
|
|
@@ -3024,13 +3081,13 @@ export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
|
3024
3081
|
default: boolean;
|
|
3025
3082
|
};
|
|
3026
3083
|
}>> & Readonly<{}>, {
|
|
3027
|
-
size: "sm" | "lg" | "md" |
|
|
3028
|
-
appearance: "default" | "section" |
|
|
3084
|
+
size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
|
|
3085
|
+
appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
|
|
3029
3086
|
rubber: boolean;
|
|
3030
3087
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3031
3088
|
export declare type UiRadioSwitchRootProperties = {
|
|
3032
|
-
appearance?:
|
|
3033
|
-
size?:
|
|
3089
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3090
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3034
3091
|
rubber?: boolean;
|
|
3035
3092
|
};
|
|
3036
3093
|
export declare const UiScrollBox: DefineComponent<UiScrollBoxProperties, UiScrollBoxMethods>;
|
|
@@ -3090,7 +3147,16 @@ declare type UiSelectTriggerProperties = {
|
|
|
3090
3147
|
placeholderOnly?: boolean;
|
|
3091
3148
|
readonly?: boolean;
|
|
3092
3149
|
disabled?: boolean;
|
|
3093
|
-
textboxSize?:
|
|
3150
|
+
textboxSize?: SIZE_8 | `${SIZE_8}`;
|
|
3151
|
+
width?: WidthValue;
|
|
3152
|
+
};
|
|
3153
|
+
export declare const UiSkeleton: DefineComponent<UiSkeletonProperties>;
|
|
3154
|
+
export declare type UiSkeletonProperties = {
|
|
3155
|
+
appearance?: SKELETON_APPEARANCE | `${SKELETON_APPEARANCE}`;
|
|
3156
|
+
size?: SKELETON_SIZE | `${SKELETON_SIZE}`;
|
|
3157
|
+
animation?: SKELETON_ANIMATION | `${SKELETON_ANIMATION}`;
|
|
3158
|
+
width?: Numeric | null;
|
|
3159
|
+
height?: Numeric | null;
|
|
3094
3160
|
};
|
|
3095
3161
|
export declare const UiSlider: DefineComponent<UiSliderProperties>;
|
|
3096
3162
|
declare type UiSliderProperties = {
|
|
@@ -3174,12 +3240,12 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
|
3174
3240
|
};
|
|
3175
3241
|
size: {
|
|
3176
3242
|
type: PropType<UiTabGroupProperties["size"]>;
|
|
3177
|
-
default:
|
|
3243
|
+
default: TAB_SIZE;
|
|
3178
3244
|
validator: (size: string) => boolean;
|
|
3179
3245
|
};
|
|
3180
3246
|
appearance: {
|
|
3181
3247
|
type: PropType<UiTabGroupProperties["appearance"]>;
|
|
3182
|
-
default:
|
|
3248
|
+
default: TAB_APPEARANCE;
|
|
3183
3249
|
validator: (appearance: string) => boolean;
|
|
3184
3250
|
};
|
|
3185
3251
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
@@ -3213,12 +3279,12 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
|
3213
3279
|
};
|
|
3214
3280
|
size: {
|
|
3215
3281
|
type: PropType<UiTabGroupProperties["size"]>;
|
|
3216
|
-
default:
|
|
3282
|
+
default: TAB_SIZE;
|
|
3217
3283
|
validator: (size: string) => boolean;
|
|
3218
3284
|
};
|
|
3219
3285
|
appearance: {
|
|
3220
3286
|
type: PropType<UiTabGroupProperties["appearance"]>;
|
|
3221
|
-
default:
|
|
3287
|
+
default: TAB_APPEARANCE;
|
|
3222
3288
|
validator: (appearance: string) => boolean;
|
|
3223
3289
|
};
|
|
3224
3290
|
}>> & Readonly<{
|
|
@@ -3228,8 +3294,8 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
|
3228
3294
|
"onUpdate:activeId"?: ((id: string) => any) | undefined;
|
|
3229
3295
|
"onUpdate:focusableId"?: ((id: string | null) => any) | undefined;
|
|
3230
3296
|
}>, {
|
|
3231
|
-
size: "sm" | "lg" | "md" |
|
|
3232
|
-
appearance: "text" | "filled" |
|
|
3297
|
+
size: "sm" | "lg" | "md" | TAB_SIZE | undefined;
|
|
3298
|
+
appearance: "text" | "filled" | TAB_APPEARANCE | undefined;
|
|
3233
3299
|
items: TabItem[] | undefined;
|
|
3234
3300
|
activeId: string | null | undefined;
|
|
3235
3301
|
focusableId: string | null | undefined;
|
|
@@ -3241,8 +3307,8 @@ export declare type UiTabGroupProperties = {
|
|
|
3241
3307
|
focusableId?: string | null;
|
|
3242
3308
|
items?: TabItem[];
|
|
3243
3309
|
menuExpanded?: boolean;
|
|
3244
|
-
size?:
|
|
3245
|
-
appearance?:
|
|
3310
|
+
size?: TAB_SIZE | `${TAB_SIZE}`;
|
|
3311
|
+
appearance?: TAB_APPEARANCE | `${TAB_APPEARANCE}`;
|
|
3246
3312
|
overflowing?: boolean;
|
|
3247
3313
|
};
|
|
3248
3314
|
export declare const UiTableBodyCell: DefineComponent<UiTableBodyCellProperties>;
|
|
@@ -3351,7 +3417,7 @@ export declare type UiTabProperties = {
|
|
|
3351
3417
|
};
|
|
3352
3418
|
export declare const UiTag: DefineComponent<UiTagProperties>;
|
|
3353
3419
|
declare type UiTagProperties = {
|
|
3354
|
-
size?:
|
|
3420
|
+
size?: SIZE_9 | `${SIZE_9}`;
|
|
3355
3421
|
pinned?: boolean;
|
|
3356
3422
|
removable?: boolean;
|
|
3357
3423
|
interactive?: boolean;
|
|
@@ -3384,7 +3450,8 @@ declare type UiTextboxProperties = {
|
|
|
3384
3450
|
maxlength?: number | string;
|
|
3385
3451
|
/** Максимальное количество знаков после запятой (для inputmode="decimal"). '*' — без ограничений */
|
|
3386
3452
|
decimals?: number | `${number}` | '*';
|
|
3387
|
-
size?:
|
|
3453
|
+
size?: SIZE_4 | `${SIZE_4}`;
|
|
3454
|
+
width?: WidthValue;
|
|
3388
3455
|
placeholder?: string;
|
|
3389
3456
|
prefix?: string;
|
|
3390
3457
|
suffix?: string;
|
|
@@ -3421,6 +3488,107 @@ declare type UiTimePickerProperties = {
|
|
|
3421
3488
|
minTime?: TimeArray | null;
|
|
3422
3489
|
maxTime?: TimeArray | null;
|
|
3423
3490
|
};
|
|
3491
|
+
export declare const UiToggleButton: DefineComponent<UiToggleButtonProperties, UiToggleButtonMethods>;
|
|
3492
|
+
declare type UiToggleButtonMethods = {
|
|
3493
|
+
click(): void;
|
|
3494
|
+
focus(): void;
|
|
3495
|
+
blur(): void;
|
|
3496
|
+
};
|
|
3497
|
+
declare type UiToggleButtonProperties = {
|
|
3498
|
+
id?: string;
|
|
3499
|
+
type?: HTMLButtonElement['type'];
|
|
3500
|
+
pressed?: boolean;
|
|
3501
|
+
disabled?: boolean;
|
|
3502
|
+
focused?: boolean;
|
|
3503
|
+
grouped?: boolean;
|
|
3504
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
3505
|
+
};
|
|
3506
|
+
declare enum UiToggleButtonSize {
|
|
3507
|
+
LG = "lg",
|
|
3508
|
+
MD = "md",
|
|
3509
|
+
SM = "sm",
|
|
3510
|
+
XS = "xs"
|
|
3511
|
+
}
|
|
3512
|
+
export declare const UiToggleGroupRoot: DefineComponent_2<ExtractPropTypes<{
|
|
3513
|
+
size: {
|
|
3514
|
+
type: PropType<UiToggleGroupRootProperties["size"]>;
|
|
3515
|
+
default: UiToggleButtonSize;
|
|
3516
|
+
validator: (size: string) => boolean;
|
|
3517
|
+
};
|
|
3518
|
+
rubber: {
|
|
3519
|
+
type: BooleanConstructor;
|
|
3520
|
+
default: boolean;
|
|
3521
|
+
};
|
|
3522
|
+
disabled: {
|
|
3523
|
+
type: BooleanConstructor;
|
|
3524
|
+
default: boolean;
|
|
3525
|
+
};
|
|
3526
|
+
ariaLabel: {
|
|
3527
|
+
type: StringConstructor;
|
|
3528
|
+
default: undefined;
|
|
3529
|
+
};
|
|
3530
|
+
ariaLabelledby: {
|
|
3531
|
+
type: StringConstructor;
|
|
3532
|
+
default: undefined;
|
|
3533
|
+
};
|
|
3534
|
+
ariaDescribedby: {
|
|
3535
|
+
type: StringConstructor;
|
|
3536
|
+
default: undefined;
|
|
3537
|
+
};
|
|
3538
|
+
ariaOrientation: {
|
|
3539
|
+
type: PropType<UiToggleGroupRootProperties["ariaOrientation"]>;
|
|
3540
|
+
default: string;
|
|
3541
|
+
};
|
|
3542
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
3543
|
+
[key: string]: any;
|
|
3544
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3545
|
+
size: {
|
|
3546
|
+
type: PropType<UiToggleGroupRootProperties["size"]>;
|
|
3547
|
+
default: UiToggleButtonSize;
|
|
3548
|
+
validator: (size: string) => boolean;
|
|
3549
|
+
};
|
|
3550
|
+
rubber: {
|
|
3551
|
+
type: BooleanConstructor;
|
|
3552
|
+
default: boolean;
|
|
3553
|
+
};
|
|
3554
|
+
disabled: {
|
|
3555
|
+
type: BooleanConstructor;
|
|
3556
|
+
default: boolean;
|
|
3557
|
+
};
|
|
3558
|
+
ariaLabel: {
|
|
3559
|
+
type: StringConstructor;
|
|
3560
|
+
default: undefined;
|
|
3561
|
+
};
|
|
3562
|
+
ariaLabelledby: {
|
|
3563
|
+
type: StringConstructor;
|
|
3564
|
+
default: undefined;
|
|
3565
|
+
};
|
|
3566
|
+
ariaDescribedby: {
|
|
3567
|
+
type: StringConstructor;
|
|
3568
|
+
default: undefined;
|
|
3569
|
+
};
|
|
3570
|
+
ariaOrientation: {
|
|
3571
|
+
type: PropType<UiToggleGroupRootProperties["ariaOrientation"]>;
|
|
3572
|
+
default: string;
|
|
3573
|
+
};
|
|
3574
|
+
}>> & Readonly<{}>, {
|
|
3575
|
+
size: "xs" | "sm" | "lg" | "md" | UiToggleButtonSize | undefined;
|
|
3576
|
+
disabled: boolean;
|
|
3577
|
+
rubber: boolean;
|
|
3578
|
+
ariaOrientation: "horizontal" | "vertical" | undefined;
|
|
3579
|
+
ariaLabel: string;
|
|
3580
|
+
ariaLabelledby: string;
|
|
3581
|
+
ariaDescribedby: string;
|
|
3582
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3583
|
+
declare type UiToggleGroupRootProperties = {
|
|
3584
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
3585
|
+
rubber?: boolean;
|
|
3586
|
+
disabled?: boolean;
|
|
3587
|
+
ariaLabel?: string;
|
|
3588
|
+
ariaLabelledby?: string;
|
|
3589
|
+
ariaDescribedby?: string;
|
|
3590
|
+
ariaOrientation?: 'horizontal' | 'vertical';
|
|
3591
|
+
};
|
|
3424
3592
|
export declare const UiToolbar: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
3425
3593
|
export declare const UiToolbarButton: DefineComponent<UiToolbarButtonProperties, UiButtonMethods>;
|
|
3426
3594
|
declare type UiToolbarButtonProperties = Omit<UiButtonProperties, 'appearance' | 'size' | 'type'>;
|
|
@@ -3438,6 +3606,7 @@ export declare const UiYandexMap: DefineComponent<UiYandexMapProperties>;
|
|
|
3438
3606
|
declare type UiYandexMapProperties = {
|
|
3439
3607
|
apiKey: string;
|
|
3440
3608
|
address?: string;
|
|
3609
|
+
plugins?: YandexMapPlugin[];
|
|
3441
3610
|
};
|
|
3442
3611
|
export declare enum VALIGN {
|
|
3443
3612
|
TOP = "top",
|
|
@@ -3461,5 +3630,18 @@ export declare class VueI18n {
|
|
|
3461
3630
|
get locale(): Locale | undefined;
|
|
3462
3631
|
set locale(locale: Locale | undefined);
|
|
3463
3632
|
}
|
|
3633
|
+
declare enum WIDTH {
|
|
3634
|
+
FIT = "fit",
|
|
3635
|
+
FLUID = "fluid"
|
|
3636
|
+
}
|
|
3637
|
+
declare type WidthValue = Numeric | WIDTH | `${WIDTH}`;
|
|
3638
|
+
declare const YANDEX_MAP_PLUGIN: {
|
|
3639
|
+
readonly LOCATOR: "locator";
|
|
3640
|
+
};
|
|
3641
|
+
declare type YandexMapLocatorPlugin = {
|
|
3642
|
+
type: typeof YANDEX_MAP_PLUGIN.LOCATOR;
|
|
3643
|
+
url: string;
|
|
3644
|
+
};
|
|
3645
|
+
declare type YandexMapPlugin = YandexMapLocatorPlugin;
|
|
3464
3646
|
export {};
|
|
3465
3647
|
|