@retailcrm/embed-ui-v1-components 0.9.15 → 0.9.16
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 +993 -516
- package/dist/host.css +261 -0
- package/dist/host.d.ts +222 -112
- package/dist/host.js +993 -516
- package/dist/remote.cjs +446 -60
- package/dist/remote.d.ts +573 -81
- package/dist/remote.js +447 -61
- package/docs/COMPONENTS.md +3 -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/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/remote.d.ts
CHANGED
|
@@ -364,13 +364,13 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
364
364
|
/** Внешний вид */
|
|
365
365
|
appearance: {
|
|
366
366
|
type: PropType<UiRadioSwitchProperties["appearance"]>;
|
|
367
|
-
default:
|
|
367
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
368
368
|
validator: (appearance: string) => boolean;
|
|
369
369
|
};
|
|
370
370
|
/** Размер */
|
|
371
371
|
size: {
|
|
372
372
|
type: PropType<UiRadioSwitchProperties["size"]>;
|
|
373
|
-
default:
|
|
373
|
+
default: RADIO_SWITCH_SIZE;
|
|
374
374
|
validator: (size: string) => boolean;
|
|
375
375
|
};
|
|
376
376
|
/** Растягивание контейнера в зависимости от контента */
|
|
@@ -400,13 +400,13 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
400
400
|
/** Внешний вид */
|
|
401
401
|
appearance: {
|
|
402
402
|
type: PropType<UiRadioSwitchProperties["appearance"]>;
|
|
403
|
-
default:
|
|
403
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
404
404
|
validator: (appearance: string) => boolean;
|
|
405
405
|
};
|
|
406
406
|
/** Размер */
|
|
407
407
|
size: {
|
|
408
408
|
type: PropType<UiRadioSwitchProperties["size"]>;
|
|
409
|
-
default:
|
|
409
|
+
default: RADIO_SWITCH_SIZE;
|
|
410
410
|
validator: (size: string) => boolean;
|
|
411
411
|
};
|
|
412
412
|
/** Растягивание контейнера в зависимости от контента */
|
|
@@ -418,14 +418,116 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
418
418
|
onChange?: ((value: unknown) => any) | undefined;
|
|
419
419
|
"onUpdate:value"?: ((value: unknown) => any) | undefined;
|
|
420
420
|
}>, {
|
|
421
|
-
size: "sm" | "lg" | "md" |
|
|
422
|
-
appearance: "default" | "section" |
|
|
421
|
+
size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
|
|
422
|
+
appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
|
|
423
423
|
value: null;
|
|
424
424
|
options: Option_2[];
|
|
425
425
|
rubber: boolean;
|
|
426
426
|
equalFn: EqualPredicate;
|
|
427
427
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
428
428
|
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
|
|
429
|
+
model: {
|
|
430
|
+
type: PropType<UiToggleGroupProperties["model"]>;
|
|
431
|
+
default: () => never[];
|
|
432
|
+
};
|
|
433
|
+
options: {
|
|
434
|
+
type: PropType<UiToggleGroupItem[]>;
|
|
435
|
+
default: () => never[];
|
|
436
|
+
};
|
|
437
|
+
equalFn: {
|
|
438
|
+
type: PropType<UiToggleGroupEqualPredicate>;
|
|
439
|
+
default: (a: unknown, b: unknown) => boolean;
|
|
440
|
+
};
|
|
441
|
+
size: {
|
|
442
|
+
type: PropType<UiToggleGroupProperties["size"]>;
|
|
443
|
+
default: UiToggleButtonSize;
|
|
444
|
+
validator: (size: string) => boolean;
|
|
445
|
+
};
|
|
446
|
+
rubber: {
|
|
447
|
+
type: BooleanConstructor;
|
|
448
|
+
default: boolean;
|
|
449
|
+
};
|
|
450
|
+
disabled: {
|
|
451
|
+
type: BooleanConstructor;
|
|
452
|
+
default: boolean;
|
|
453
|
+
};
|
|
454
|
+
ariaLabel: {
|
|
455
|
+
type: StringConstructor;
|
|
456
|
+
default: undefined;
|
|
457
|
+
};
|
|
458
|
+
ariaLabelledby: {
|
|
459
|
+
type: StringConstructor;
|
|
460
|
+
default: undefined;
|
|
461
|
+
};
|
|
462
|
+
ariaDescribedby: {
|
|
463
|
+
type: StringConstructor;
|
|
464
|
+
default: undefined;
|
|
465
|
+
};
|
|
466
|
+
ariaOrientation: {
|
|
467
|
+
type: PropType<UiToggleGroupProperties["ariaOrientation"]>;
|
|
468
|
+
default: string;
|
|
469
|
+
};
|
|
470
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
471
|
+
change: (value: unknown[]) => any;
|
|
472
|
+
"update:model": (value: unknown[]) => any;
|
|
473
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
474
|
+
model: {
|
|
475
|
+
type: PropType<UiToggleGroupProperties["model"]>;
|
|
476
|
+
default: () => never[];
|
|
477
|
+
};
|
|
478
|
+
options: {
|
|
479
|
+
type: PropType<UiToggleGroupItem[]>;
|
|
480
|
+
default: () => never[];
|
|
481
|
+
};
|
|
482
|
+
equalFn: {
|
|
483
|
+
type: PropType<UiToggleGroupEqualPredicate>;
|
|
484
|
+
default: (a: unknown, b: unknown) => boolean;
|
|
485
|
+
};
|
|
486
|
+
size: {
|
|
487
|
+
type: PropType<UiToggleGroupProperties["size"]>;
|
|
488
|
+
default: UiToggleButtonSize;
|
|
489
|
+
validator: (size: string) => boolean;
|
|
490
|
+
};
|
|
491
|
+
rubber: {
|
|
492
|
+
type: BooleanConstructor;
|
|
493
|
+
default: boolean;
|
|
494
|
+
};
|
|
495
|
+
disabled: {
|
|
496
|
+
type: BooleanConstructor;
|
|
497
|
+
default: boolean;
|
|
498
|
+
};
|
|
499
|
+
ariaLabel: {
|
|
500
|
+
type: StringConstructor;
|
|
501
|
+
default: undefined;
|
|
502
|
+
};
|
|
503
|
+
ariaLabelledby: {
|
|
504
|
+
type: StringConstructor;
|
|
505
|
+
default: undefined;
|
|
506
|
+
};
|
|
507
|
+
ariaDescribedby: {
|
|
508
|
+
type: StringConstructor;
|
|
509
|
+
default: undefined;
|
|
510
|
+
};
|
|
511
|
+
ariaOrientation: {
|
|
512
|
+
type: PropType<UiToggleGroupProperties["ariaOrientation"]>;
|
|
513
|
+
default: string;
|
|
514
|
+
};
|
|
515
|
+
}>> & Readonly<{
|
|
516
|
+
onChange?: ((value: unknown[]) => any) | undefined;
|
|
517
|
+
"onUpdate:model"?: ((value: unknown[]) => any) | undefined;
|
|
518
|
+
}>, {
|
|
519
|
+
disabled: boolean;
|
|
520
|
+
size: "xs" | "sm" | "lg" | "md" | UiToggleButtonSize | undefined;
|
|
521
|
+
model: unknown[] | undefined;
|
|
522
|
+
options: UiToggleGroupItem[];
|
|
523
|
+
rubber: boolean;
|
|
524
|
+
equalFn: UiToggleGroupEqualPredicate;
|
|
525
|
+
ariaLabel: string;
|
|
526
|
+
ariaLabelledby: string;
|
|
527
|
+
ariaDescribedby: string;
|
|
528
|
+
ariaOrientation: "horizontal" | "vertical" | undefined;
|
|
529
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
530
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
|
|
429
531
|
/** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
|
|
430
532
|
id: {
|
|
431
533
|
type: StringConstructor;
|
|
@@ -511,9 +613,9 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
|
|
|
511
613
|
};
|
|
512
614
|
/** Размер поля ввода */
|
|
513
615
|
textboxSize: {
|
|
514
|
-
type: PropType<
|
|
616
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
515
617
|
validator: (size: string) => boolean;
|
|
516
|
-
default:
|
|
618
|
+
default: SIZE_4;
|
|
517
619
|
};
|
|
518
620
|
/** Наличие множественного выбора среди элементов выпадающего списка */
|
|
519
621
|
multiple: {
|
|
@@ -621,9 +723,9 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
|
|
|
621
723
|
};
|
|
622
724
|
/** Размер поля ввода */
|
|
623
725
|
textboxSize: {
|
|
624
|
-
type: PropType<
|
|
726
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
625
727
|
validator: (size: string) => boolean;
|
|
626
|
-
default:
|
|
728
|
+
default: SIZE_4;
|
|
627
729
|
};
|
|
628
730
|
/** Наличие множественного выбора среди элементов выпадающего списка */
|
|
629
731
|
multiple: {
|
|
@@ -662,7 +764,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
|
|
|
662
764
|
filterable: boolean;
|
|
663
765
|
multiple: boolean;
|
|
664
766
|
placeholderOnly: boolean;
|
|
665
|
-
textboxSize: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
767
|
+
textboxSize: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
666
768
|
popperFitTrigger: boolean;
|
|
667
769
|
equalsFn: (a: unknown, b: unknown) => boolean;
|
|
668
770
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
@@ -749,7 +851,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
|
|
|
749
851
|
};
|
|
750
852
|
}) | null;
|
|
751
853
|
}, any>;
|
|
752
|
-
declare const
|
|
854
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
|
|
753
855
|
/** Значение опции */
|
|
754
856
|
value: {
|
|
755
857
|
type: PropType<unknown>;
|
|
@@ -777,9 +879,9 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
|
|
|
777
879
|
};
|
|
778
880
|
/** Размер шрифта, иконок и внутренних отступов компонента */
|
|
779
881
|
size: {
|
|
780
|
-
type: PropType<
|
|
882
|
+
type: PropType<SIZE_8>;
|
|
781
883
|
validator: (size: string) => boolean;
|
|
782
|
-
default:
|
|
884
|
+
default: SIZE_8;
|
|
783
885
|
};
|
|
784
886
|
/** Счетчик количества */
|
|
785
887
|
counter: {
|
|
@@ -820,9 +922,9 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
|
|
|
820
922
|
};
|
|
821
923
|
/** Размер шрифта, иконок и внутренних отступов компонента */
|
|
822
924
|
size: {
|
|
823
|
-
type: PropType<
|
|
925
|
+
type: PropType<SIZE_8>;
|
|
824
926
|
validator: (size: string) => boolean;
|
|
825
|
-
default:
|
|
927
|
+
default: SIZE_8;
|
|
826
928
|
};
|
|
827
929
|
/** Счетчик количества */
|
|
828
930
|
counter: {
|
|
@@ -838,12 +940,12 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
|
|
|
838
940
|
}>> & Readonly<{}>, {
|
|
839
941
|
description: string;
|
|
840
942
|
disabled: boolean;
|
|
841
|
-
size:
|
|
943
|
+
size: SIZE_8;
|
|
842
944
|
active: boolean;
|
|
843
945
|
accent: boolean;
|
|
844
946
|
counter: string | number | null;
|
|
845
947
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
846
|
-
declare const
|
|
948
|
+
declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
|
|
847
949
|
/** Заголовок группы опций */
|
|
848
950
|
label: {
|
|
849
951
|
type: StringConstructor;
|
|
@@ -989,6 +1091,22 @@ declare function __VLS_template_3(): {
|
|
|
989
1091
|
rootEl: any;
|
|
990
1092
|
};
|
|
991
1093
|
declare function __VLS_template_4(): {
|
|
1094
|
+
attrs: Partial<{}>;
|
|
1095
|
+
slots: Readonly<{
|
|
1096
|
+
default?: () => VNodeChild;
|
|
1097
|
+
icon?: (props: {
|
|
1098
|
+
option: UiToggleGroupItem;
|
|
1099
|
+
}) => VNodeChild;
|
|
1100
|
+
}> & {
|
|
1101
|
+
default?: () => VNodeChild;
|
|
1102
|
+
icon?: (props: {
|
|
1103
|
+
option: UiToggleGroupItem;
|
|
1104
|
+
}) => VNodeChild;
|
|
1105
|
+
};
|
|
1106
|
+
refs: {};
|
|
1107
|
+
rootEl: any;
|
|
1108
|
+
};
|
|
1109
|
+
declare function __VLS_template_5(): {
|
|
992
1110
|
attrs: Partial<{}>;
|
|
993
1111
|
slots: {
|
|
994
1112
|
default?(_: {}): any;
|
|
@@ -1079,7 +1197,7 @@ declare function __VLS_template_4(): {
|
|
|
1079
1197
|
};
|
|
1080
1198
|
rootEl: any;
|
|
1081
1199
|
};
|
|
1082
|
-
declare function
|
|
1200
|
+
declare function __VLS_template_6(): {
|
|
1083
1201
|
attrs: Partial<{}>;
|
|
1084
1202
|
slots: {
|
|
1085
1203
|
default?(_: {
|
|
@@ -1099,7 +1217,7 @@ declare function __VLS_template_5(): {
|
|
|
1099
1217
|
refs: {};
|
|
1100
1218
|
rootEl: HTMLDivElement;
|
|
1101
1219
|
};
|
|
1102
|
-
declare function
|
|
1220
|
+
declare function __VLS_template_7(): {
|
|
1103
1221
|
attrs: Partial<{}>;
|
|
1104
1222
|
slots: {
|
|
1105
1223
|
option?(_: {}): any;
|
|
@@ -1118,6 +1236,7 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
1118
1236
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1119
1237
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1120
1238
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
1239
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
1121
1240
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1122
1241
|
new (): {
|
|
1123
1242
|
$slots: S;
|
|
@@ -1153,6 +1272,16 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
|
1153
1272
|
$slots: S;
|
|
1154
1273
|
};
|
|
1155
1274
|
};
|
|
1275
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
1276
|
+
new (): {
|
|
1277
|
+
$slots: S;
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1281
|
+
new (): {
|
|
1282
|
+
$slots: S;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1156
1285
|
declare type Adaptation = 'flip' | 'shift';
|
|
1157
1286
|
export declare enum ALIGN {
|
|
1158
1287
|
LEFT = "left",
|
|
@@ -1163,37 +1292,29 @@ declare enum ALIGN_2 {
|
|
|
1163
1292
|
LEFT = "left",
|
|
1164
1293
|
RIGHT = "right"
|
|
1165
1294
|
}
|
|
1166
|
-
|
|
1167
|
-
DEFAULT = "default",
|
|
1168
|
-
SECTION = "section"
|
|
1169
|
-
}
|
|
1170
|
-
declare enum APPEARANCE_2 {
|
|
1295
|
+
declare enum APPEARANCE {
|
|
1171
1296
|
OUTLINED = "outlined",
|
|
1172
1297
|
PRIMARY = "primary",
|
|
1173
1298
|
SECONDARY = "secondary",
|
|
1174
1299
|
TERTIARY = "tertiary"
|
|
1175
1300
|
}
|
|
1176
|
-
declare enum
|
|
1301
|
+
declare enum APPEARANCE_2 {
|
|
1177
1302
|
SINGLE = "single",
|
|
1178
1303
|
DOUBLE = "double"
|
|
1179
1304
|
}
|
|
1180
|
-
declare enum
|
|
1305
|
+
declare enum APPEARANCE_3 {
|
|
1181
1306
|
BREADCRUMBS = "breadcrumbs",
|
|
1182
1307
|
DEFAULT = "default",
|
|
1183
1308
|
NAVIGATION = "navigation",
|
|
1184
1309
|
NAVIGATION_ANCHOR = "navigation-anchor",
|
|
1185
1310
|
TITLE = "title"
|
|
1186
1311
|
}
|
|
1187
|
-
declare enum
|
|
1312
|
+
declare enum APPEARANCE_4 {
|
|
1188
1313
|
ALERT = "alert",
|
|
1189
1314
|
DIALOG = "dialog",
|
|
1190
1315
|
POPUP = "popup",
|
|
1191
1316
|
HINT = "hint"
|
|
1192
1317
|
}
|
|
1193
|
-
declare enum APPEARANCE_6 {
|
|
1194
|
-
TEXT = "text",
|
|
1195
|
-
FILLED = "filled"
|
|
1196
|
-
}
|
|
1197
1318
|
export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
|
|
1198
1319
|
export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
|
|
1199
1320
|
export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
|
|
@@ -1335,6 +1456,15 @@ declare type QuickOption = {
|
|
|
1335
1456
|
label: string;
|
|
1336
1457
|
value: Exclude<QuickDate, null>;
|
|
1337
1458
|
};
|
|
1459
|
+
export declare enum RADIO_SWITCH_APPEARANCE {
|
|
1460
|
+
DEFAULT = "default",
|
|
1461
|
+
SECTION = "section"
|
|
1462
|
+
}
|
|
1463
|
+
export declare enum RADIO_SWITCH_SIZE {
|
|
1464
|
+
SM = "sm",
|
|
1465
|
+
MD = "md",
|
|
1466
|
+
LG = "lg"
|
|
1467
|
+
}
|
|
1338
1468
|
declare type RemoteProperties<T> = HTMLAttributes & T & Record<string, never>;
|
|
1339
1469
|
export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
|
|
1340
1470
|
class?: CssClass;
|
|
@@ -1377,40 +1507,29 @@ declare type ShowingOptions = {
|
|
|
1377
1507
|
disabled?: boolean;
|
|
1378
1508
|
container?: string | null;
|
|
1379
1509
|
};
|
|
1380
|
-
|
|
1381
|
-
SM = "sm",
|
|
1382
|
-
MD = "md",
|
|
1383
|
-
LG = "lg"
|
|
1384
|
-
}
|
|
1385
|
-
declare enum SIZE_10 {
|
|
1510
|
+
declare enum SIZE {
|
|
1386
1511
|
XS = "xs",
|
|
1387
1512
|
SM = "sm",
|
|
1388
|
-
MD = "md",
|
|
1389
1513
|
LG = "lg"
|
|
1390
1514
|
}
|
|
1391
1515
|
declare enum SIZE_2 {
|
|
1392
|
-
XS = "xs",
|
|
1393
|
-
SM = "sm",
|
|
1394
|
-
LG = "lg"
|
|
1395
|
-
}
|
|
1396
|
-
declare enum SIZE_3 {
|
|
1397
1516
|
LG = "lg",
|
|
1398
1517
|
MD = "md",
|
|
1399
1518
|
SM = "sm",
|
|
1400
1519
|
XS = "xs"
|
|
1401
1520
|
}
|
|
1402
|
-
declare enum
|
|
1521
|
+
declare enum SIZE_3 {
|
|
1403
1522
|
SM = "sm",
|
|
1404
1523
|
MD = "md"
|
|
1405
1524
|
}
|
|
1406
|
-
declare enum
|
|
1525
|
+
declare enum SIZE_4 {
|
|
1407
1526
|
XS = "xs",
|
|
1408
1527
|
SM = "sm",
|
|
1409
1528
|
MD = "md",
|
|
1410
1529
|
LG = "lg",
|
|
1411
1530
|
XL = "xl"
|
|
1412
1531
|
}
|
|
1413
|
-
declare enum
|
|
1532
|
+
declare enum SIZE_5 {
|
|
1414
1533
|
ARTICLE = "article",
|
|
1415
1534
|
BODY = "body",
|
|
1416
1535
|
PARAGRAPH = "paragraph",
|
|
@@ -1419,21 +1538,22 @@ declare enum SIZE_6 {
|
|
|
1419
1538
|
TITLE01 = "title-01",
|
|
1420
1539
|
TITLE02 = "title-02"
|
|
1421
1540
|
}
|
|
1422
|
-
declare enum
|
|
1541
|
+
declare enum SIZE_6 {
|
|
1423
1542
|
LG = "lg",
|
|
1424
1543
|
SM = "sm"
|
|
1425
1544
|
}
|
|
1426
|
-
declare enum
|
|
1427
|
-
SM = "sm",
|
|
1428
|
-
MD = "md",
|
|
1429
|
-
LG = "lg"
|
|
1430
|
-
}
|
|
1431
|
-
declare enum SIZE_9 {
|
|
1545
|
+
declare enum SIZE_7 {
|
|
1432
1546
|
LG = "lg",
|
|
1433
1547
|
MD = "md",
|
|
1434
1548
|
SM = "sm",
|
|
1435
1549
|
XS = "xs"
|
|
1436
1550
|
}
|
|
1551
|
+
declare enum SIZE_8 {
|
|
1552
|
+
XS = "xs",
|
|
1553
|
+
SM = "sm",
|
|
1554
|
+
MD = "md",
|
|
1555
|
+
LG = "lg"
|
|
1556
|
+
}
|
|
1437
1557
|
declare enum STATUS {
|
|
1438
1558
|
NONE = "",
|
|
1439
1559
|
BUSY = "busy",
|
|
@@ -1445,6 +1565,15 @@ declare enum SYNCHRONIZATION {
|
|
|
1445
1565
|
INSTANT = "instant",
|
|
1446
1566
|
CONFIRMED = "confirmed"
|
|
1447
1567
|
}
|
|
1568
|
+
export declare enum TAB_APPEARANCE {
|
|
1569
|
+
TEXT = "text",
|
|
1570
|
+
FILLED = "filled"
|
|
1571
|
+
}
|
|
1572
|
+
export declare enum TAB_SIZE {
|
|
1573
|
+
SM = "sm",
|
|
1574
|
+
MD = "md",
|
|
1575
|
+
LG = "lg"
|
|
1576
|
+
}
|
|
1448
1577
|
export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
|
|
1449
1578
|
export declare type TabItem = {
|
|
1450
1579
|
id: string;
|
|
@@ -1717,7 +1846,7 @@ declare type UiAvatarListProperties = {
|
|
|
1717
1846
|
src: string;
|
|
1718
1847
|
name: string;
|
|
1719
1848
|
}>;
|
|
1720
|
-
size?:
|
|
1849
|
+
size?: SIZE;
|
|
1721
1850
|
};
|
|
1722
1851
|
export declare const UiAvatarListType: SchemaType<"UiAvatarList", RemoteProperties<UiAvatarListProperties>>;
|
|
1723
1852
|
declare type UiAvatarProperties = {
|
|
@@ -1727,7 +1856,7 @@ declare type UiAvatarProperties = {
|
|
|
1727
1856
|
status?: STATUS;
|
|
1728
1857
|
vip?: boolean;
|
|
1729
1858
|
bad?: boolean;
|
|
1730
|
-
size?:
|
|
1859
|
+
size?: SIZE;
|
|
1731
1860
|
optimize?: boolean | {
|
|
1732
1861
|
resize?: Dimensions;
|
|
1733
1862
|
crop?: Dimensions;
|
|
@@ -1794,9 +1923,9 @@ declare type UiButtonMethods = {
|
|
|
1794
1923
|
declare type UiButtonProperties = {
|
|
1795
1924
|
type?: HTMLButtonElement['type'];
|
|
1796
1925
|
href?: HTMLAnchorElement['href'] | undefined;
|
|
1797
|
-
appearance?:
|
|
1926
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
1798
1927
|
variant?: VARIANT_2 | `${VARIANT_2}`;
|
|
1799
|
-
size?:
|
|
1928
|
+
size?: SIZE_2 | `${SIZE_2}`;
|
|
1800
1929
|
active?: boolean;
|
|
1801
1930
|
disabled?: boolean;
|
|
1802
1931
|
locked?: boolean;
|
|
@@ -1858,7 +1987,7 @@ declare type UiCalendarMethods = {
|
|
|
1858
1987
|
declare type UiCalendarProperties = {
|
|
1859
1988
|
value?: null | Date | Date[];
|
|
1860
1989
|
type?: TYPE | `${TYPE}`;
|
|
1861
|
-
appearance?:
|
|
1990
|
+
appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
|
|
1862
1991
|
firstDayOfWeek?: number;
|
|
1863
1992
|
minDate?: Date | null;
|
|
1864
1993
|
maxDate?: Date | null;
|
|
@@ -2065,7 +2194,7 @@ declare type UiCollapseBoxProperties = {
|
|
|
2065
2194
|
collapseDuration?: number | string;
|
|
2066
2195
|
disabled?: boolean;
|
|
2067
2196
|
color?: COLOR_2 | `${COLOR_2}`;
|
|
2068
|
-
iconSize?:
|
|
2197
|
+
iconSize?: SIZE_3 | `${SIZE_3}`;
|
|
2069
2198
|
bordered?: boolean;
|
|
2070
2199
|
};
|
|
2071
2200
|
export declare const UiCollapseBoxType: SchemaType<"UiCollapseBox", RemoteProperties<UiCollapseBoxProperties>, RemoteCallable<UiCollapseBoxMethods>>;
|
|
@@ -2198,7 +2327,7 @@ export declare const UiCopyButton: {
|
|
|
2198
2327
|
});
|
|
2199
2328
|
declare type UiCopyButtonProperties = {
|
|
2200
2329
|
text: string;
|
|
2201
|
-
size:
|
|
2330
|
+
size: SIZE_2;
|
|
2202
2331
|
tooltipOptions?: TooltipOptions;
|
|
2203
2332
|
};
|
|
2204
2333
|
export declare const UiCopyButtonType: SchemaType<"UiCopyButton", RemoteProperties<UiCopyButtonProperties>>;
|
|
@@ -2534,8 +2663,8 @@ export declare const UiLink: {
|
|
|
2534
2663
|
declare type UiLinkProperties = {
|
|
2535
2664
|
href?: string;
|
|
2536
2665
|
external?: boolean;
|
|
2537
|
-
appearance?:
|
|
2538
|
-
size?:
|
|
2666
|
+
appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
|
|
2667
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
2539
2668
|
light?: boolean;
|
|
2540
2669
|
accent?: boolean;
|
|
2541
2670
|
dotted?: boolean;
|
|
@@ -2705,7 +2834,7 @@ declare type UiMenuItemProperties = {
|
|
|
2705
2834
|
danger?: boolean;
|
|
2706
2835
|
ticker?: boolean;
|
|
2707
2836
|
simple?: boolean;
|
|
2708
|
-
size?: `${
|
|
2837
|
+
size?: `${SIZE_8}`;
|
|
2709
2838
|
disabled?: boolean;
|
|
2710
2839
|
};
|
|
2711
2840
|
export declare const UiMenuItemType: SchemaType<"UiMenuItem", RemoteProperties<UiMenuItemProperties>>;
|
|
@@ -2785,7 +2914,7 @@ declare type UiModalSidebarProperties = {
|
|
|
2785
2914
|
disposeTimeout?: number | string | null;
|
|
2786
2915
|
fixed?: boolean;
|
|
2787
2916
|
scrolling?: SCROLLING | `${SCROLLING}`;
|
|
2788
|
-
size?:
|
|
2917
|
+
size?: SIZE_6 | `${SIZE_6}`;
|
|
2789
2918
|
role?: MODAL_SIDEBAR_ROLE;
|
|
2790
2919
|
};
|
|
2791
2920
|
export declare const UiModalSidebarType: SchemaType<"UiModalSidebar", RemoteProperties<UiModalSidebarProperties>, Record<string, never>>;
|
|
@@ -2933,7 +3062,7 @@ declare type UiModalWindowSurfaceProperties = {
|
|
|
2933
3062
|
id?: string;
|
|
2934
3063
|
opened?: boolean;
|
|
2935
3064
|
closable?: boolean;
|
|
2936
|
-
appearance?:
|
|
3065
|
+
appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
|
|
2937
3066
|
fullscreen?: boolean;
|
|
2938
3067
|
responsive?: boolean;
|
|
2939
3068
|
disposeTimeout?: number | string | null;
|
|
@@ -3021,7 +3150,7 @@ declare type UiNumberStepperProperties = {
|
|
|
3021
3150
|
readonly?: boolean;
|
|
3022
3151
|
required?: boolean;
|
|
3023
3152
|
direction?: DIRECTION_3 | `${DIRECTION_3}`;
|
|
3024
|
-
size?:
|
|
3153
|
+
size?: SIZE_4 | `${SIZE_4}`;
|
|
3025
3154
|
outlined?: boolean;
|
|
3026
3155
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
3027
3156
|
};
|
|
@@ -3326,7 +3455,110 @@ export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineCompon
|
|
|
3326
3455
|
id: string;
|
|
3327
3456
|
disabled: boolean;
|
|
3328
3457
|
label: string;
|
|
3329
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true,
|
|
3458
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
3459
|
+
shell: ({
|
|
3460
|
+
$: ComponentInternalInstance;
|
|
3461
|
+
$data: {
|
|
3462
|
+
[x: string]: never;
|
|
3463
|
+
};
|
|
3464
|
+
$props: Partial<{}> & Omit<{
|
|
3465
|
+
readonly [x: string]: any;
|
|
3466
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
3467
|
+
$attrs: {
|
|
3468
|
+
[x: string]: unknown;
|
|
3469
|
+
};
|
|
3470
|
+
$refs: {
|
|
3471
|
+
[x: string]: unknown;
|
|
3472
|
+
};
|
|
3473
|
+
$slots: Readonly<{
|
|
3474
|
+
[name: string]: Slot<any> | undefined;
|
|
3475
|
+
}>;
|
|
3476
|
+
$root: ComponentPublicInstance | null;
|
|
3477
|
+
$parent: ComponentPublicInstance | null;
|
|
3478
|
+
$host: Element | null;
|
|
3479
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3480
|
+
$el: any;
|
|
3481
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, {
|
|
3482
|
+
[x: string]: unknown;
|
|
3483
|
+
}, {
|
|
3484
|
+
[x: string]: never;
|
|
3485
|
+
}, {
|
|
3486
|
+
[x: string]: never;
|
|
3487
|
+
}, {
|
|
3488
|
+
focus: () => Promise<void>;
|
|
3489
|
+
blur: () => Promise<void>;
|
|
3490
|
+
}, {
|
|
3491
|
+
click: (event: SerializedEvent) => boolean;
|
|
3492
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
3493
|
+
blur: (event: SerializedEvent) => boolean;
|
|
3494
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
3495
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
3496
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3497
|
+
created?: (() => void) | (() => void)[];
|
|
3498
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3499
|
+
mounted?: (() => void) | (() => void)[];
|
|
3500
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3501
|
+
updated?: (() => void) | (() => void)[];
|
|
3502
|
+
activated?: (() => void) | (() => void)[];
|
|
3503
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3504
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3505
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3506
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3507
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3508
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3509
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3510
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3511
|
+
};
|
|
3512
|
+
$forceUpdate: () => void;
|
|
3513
|
+
$nextTick: nextTick;
|
|
3514
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
3515
|
+
R,
|
|
3516
|
+
R,
|
|
3517
|
+
OnCleanup
|
|
3518
|
+
]) => any : (...args: [
|
|
3519
|
+
any,
|
|
3520
|
+
any,
|
|
3521
|
+
OnCleanup
|
|
3522
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
3523
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, string> & ShallowUnwrapRef<{
|
|
3524
|
+
[x: string]: unknown;
|
|
3525
|
+
}> & {
|
|
3526
|
+
[x: string]: never;
|
|
3527
|
+
} & {
|
|
3528
|
+
[x: string]: unknown;
|
|
3529
|
+
} & MethodOptions & {
|
|
3530
|
+
focus: () => Promise<void>;
|
|
3531
|
+
blur: () => Promise<void>;
|
|
3532
|
+
} & ComponentCustomProperties & {} & {
|
|
3533
|
+
$slots: {
|
|
3534
|
+
[x: string]: never;
|
|
3535
|
+
} & {
|
|
3536
|
+
default?: (...args: never[]) => unknown;
|
|
3537
|
+
};
|
|
3538
|
+
}) | null;
|
|
3539
|
+
}, any>, Readonly<{
|
|
3540
|
+
/** Полный пользовательский шаблон опции */
|
|
3541
|
+
default?: () => VNodeChild;
|
|
3542
|
+
/** Иконка опции */
|
|
3543
|
+
icon?: () => VNodeChild;
|
|
3544
|
+
/** Заголовок опции */
|
|
3545
|
+
label?: () => VNodeChild;
|
|
3546
|
+
/** Дополнительное описание опции */
|
|
3547
|
+
description?: () => VNodeChild;
|
|
3548
|
+
/** Иконка выбранного состояния */
|
|
3549
|
+
checkmark?: () => VNodeChild;
|
|
3550
|
+
}> & {
|
|
3551
|
+
/** Полный пользовательский шаблон опции */
|
|
3552
|
+
default?: () => VNodeChild;
|
|
3553
|
+
/** Иконка опции */
|
|
3554
|
+
icon?: () => VNodeChild;
|
|
3555
|
+
/** Заголовок опции */
|
|
3556
|
+
label?: () => VNodeChild;
|
|
3557
|
+
/** Дополнительное описание опции */
|
|
3558
|
+
description?: () => VNodeChild;
|
|
3559
|
+
/** Иконка выбранного состояния */
|
|
3560
|
+
checkmark?: () => VNodeChild;
|
|
3561
|
+
}>;
|
|
3330
3562
|
export declare type UiRadioSwitchOptionProperties = {
|
|
3331
3563
|
id?: string;
|
|
3332
3564
|
label?: string;
|
|
@@ -3340,8 +3572,8 @@ export declare type UiRadioSwitchOptionShellMethods = {
|
|
|
3340
3572
|
};
|
|
3341
3573
|
export declare type UiRadioSwitchOptionShellProperties = {
|
|
3342
3574
|
id?: string;
|
|
3343
|
-
appearance?:
|
|
3344
|
-
size?:
|
|
3575
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3576
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3345
3577
|
checked?: boolean;
|
|
3346
3578
|
disabled?: boolean;
|
|
3347
3579
|
};
|
|
@@ -3349,13 +3581,13 @@ export declare type UiRadioSwitchProperties = {
|
|
|
3349
3581
|
value?: unknown;
|
|
3350
3582
|
options?: Option_2[];
|
|
3351
3583
|
equalFn?: EqualPredicate;
|
|
3352
|
-
appearance?:
|
|
3353
|
-
size?:
|
|
3584
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3585
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3354
3586
|
rubber?: boolean;
|
|
3355
3587
|
};
|
|
3356
3588
|
export declare type UiRadioSwitchRootProperties = {
|
|
3357
|
-
appearance?:
|
|
3358
|
-
size?:
|
|
3589
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3590
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3359
3591
|
rubber?: boolean;
|
|
3360
3592
|
};
|
|
3361
3593
|
export declare const UiRadioType: SchemaType<"UiRadio", RemoteProperties<UiRadioProperties>, RemoteCallable<UiRadioMethods>>;
|
|
@@ -3426,9 +3658,9 @@ declare type UiScrollBoxProperties = {
|
|
|
3426
3658
|
showOnMac?: boolean;
|
|
3427
3659
|
};
|
|
3428
3660
|
export declare const UiScrollBoxType: SchemaType<"UiScrollBox", RemoteProperties<UiScrollBoxProperties>, RemoteCallable<UiScrollBoxMethods & Record<string, never>>>;
|
|
3429
|
-
export declare const UiSelect:
|
|
3430
|
-
export declare const UiSelectOption:
|
|
3431
|
-
export declare const UiSelectOptionGroup:
|
|
3661
|
+
export declare const UiSelect: __VLS_WithTemplateSlots_7<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
3662
|
+
export declare const UiSelectOption: __VLS_WithTemplateSlots_8<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
3663
|
+
export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_9<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
3432
3664
|
declare type UiSelectPopperProperties = {
|
|
3433
3665
|
opened?: boolean;
|
|
3434
3666
|
targetTriggers?: Trigger[] | TriggerSchema;
|
|
@@ -3667,8 +3899,8 @@ export declare type UiTabGroupProperties = {
|
|
|
3667
3899
|
focusableId?: string | null;
|
|
3668
3900
|
items?: TabItem[];
|
|
3669
3901
|
menuExpanded?: boolean;
|
|
3670
|
-
size?:
|
|
3671
|
-
appearance?:
|
|
3902
|
+
size?: TAB_SIZE | `${TAB_SIZE}`;
|
|
3903
|
+
appearance?: TAB_APPEARANCE | `${TAB_APPEARANCE}`;
|
|
3672
3904
|
overflowing?: boolean;
|
|
3673
3905
|
};
|
|
3674
3906
|
export declare const UiTabGroupType: SchemaType<"UiTabGroup", RemoteProperties<UiTabGroupProperties>>;
|
|
@@ -4252,7 +4484,7 @@ export declare const UiTag: {
|
|
|
4252
4484
|
};
|
|
4253
4485
|
});
|
|
4254
4486
|
declare type UiTagProperties = {
|
|
4255
|
-
size?:
|
|
4487
|
+
size?: SIZE_7 | `${SIZE_7}`;
|
|
4256
4488
|
pinned?: boolean;
|
|
4257
4489
|
removable?: boolean;
|
|
4258
4490
|
interactive?: boolean;
|
|
@@ -4376,7 +4608,7 @@ declare type UiTextboxProperties = {
|
|
|
4376
4608
|
maxlength?: number | string;
|
|
4377
4609
|
/** Максимальное количество знаков после запятой (для inputmode="decimal"). '*' — без ограничений */
|
|
4378
4610
|
decimals?: number | `${number}` | '*';
|
|
4379
|
-
size?:
|
|
4611
|
+
size?: SIZE_4 | `${SIZE_4}`;
|
|
4380
4612
|
placeholder?: string;
|
|
4381
4613
|
prefix?: string;
|
|
4382
4614
|
suffix?: string;
|
|
@@ -4480,6 +4712,257 @@ declare type UiTimePickerProperties = {
|
|
|
4480
4712
|
maxTime?: TimeArray | null;
|
|
4481
4713
|
};
|
|
4482
4714
|
export declare const UiTimePickerType: SchemaType<"UiTimePicker", RemoteProperties<UiTimePickerProperties>, RemoteCallable<UiTimePickerMethods>>;
|
|
4715
|
+
export declare const UiToggleButton: {
|
|
4716
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4717
|
+
[x: string]: unknown;
|
|
4718
|
+
}, {
|
|
4719
|
+
[x: string]: never;
|
|
4720
|
+
}, {
|
|
4721
|
+
[x: string]: never;
|
|
4722
|
+
}, {
|
|
4723
|
+
focus: () => Promise<void>;
|
|
4724
|
+
blur: () => Promise<void>;
|
|
4725
|
+
click: () => Promise<void>;
|
|
4726
|
+
}, {
|
|
4727
|
+
click: (event: SerializedEvent) => boolean;
|
|
4728
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
4729
|
+
blur: (event: SerializedEvent) => boolean;
|
|
4730
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
4731
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
4732
|
+
P: {};
|
|
4733
|
+
B: {};
|
|
4734
|
+
D: {};
|
|
4735
|
+
C: ComputedOptions;
|
|
4736
|
+
M: MethodOptions;
|
|
4737
|
+
Defaults: {};
|
|
4738
|
+
} & {
|
|
4739
|
+
P: {};
|
|
4740
|
+
B: {};
|
|
4741
|
+
D: {};
|
|
4742
|
+
C: {};
|
|
4743
|
+
M: {};
|
|
4744
|
+
Defaults: {};
|
|
4745
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4746
|
+
[x: string]: unknown;
|
|
4747
|
+
}, {
|
|
4748
|
+
[x: string]: never;
|
|
4749
|
+
}, ComputedOptions & {
|
|
4750
|
+
[x: string]: never;
|
|
4751
|
+
}, MethodOptions & {
|
|
4752
|
+
focus: () => Promise<void>;
|
|
4753
|
+
blur: () => Promise<void>;
|
|
4754
|
+
click: () => Promise<void>;
|
|
4755
|
+
}, {}>;
|
|
4756
|
+
__isFragment?: never;
|
|
4757
|
+
__isTeleport?: never;
|
|
4758
|
+
__isSuspense?: never;
|
|
4759
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4760
|
+
[x: string]: unknown;
|
|
4761
|
+
}, {
|
|
4762
|
+
[x: string]: never;
|
|
4763
|
+
}, {
|
|
4764
|
+
[x: string]: never;
|
|
4765
|
+
}, {
|
|
4766
|
+
focus: () => Promise<void>;
|
|
4767
|
+
blur: () => Promise<void>;
|
|
4768
|
+
click: () => Promise<void>;
|
|
4769
|
+
}, {
|
|
4770
|
+
click: (event: SerializedEvent) => boolean;
|
|
4771
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
4772
|
+
blur: (event: SerializedEvent) => boolean;
|
|
4773
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
4774
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4775
|
+
$slots: {
|
|
4776
|
+
[x: string]: never;
|
|
4777
|
+
} & {
|
|
4778
|
+
default?: (...args: never[]) => unknown;
|
|
4779
|
+
};
|
|
4780
|
+
});
|
|
4781
|
+
export declare type UiToggleButtonMethods = {
|
|
4782
|
+
click(): void;
|
|
4783
|
+
focus(): void;
|
|
4784
|
+
blur(): void;
|
|
4785
|
+
};
|
|
4786
|
+
export declare type UiToggleButtonProperties = {
|
|
4787
|
+
id?: string;
|
|
4788
|
+
type?: HTMLButtonElement['type'];
|
|
4789
|
+
pressed?: boolean;
|
|
4790
|
+
disabled?: boolean;
|
|
4791
|
+
focused?: boolean;
|
|
4792
|
+
grouped?: boolean;
|
|
4793
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
4794
|
+
};
|
|
4795
|
+
export declare enum UiToggleButtonSize {
|
|
4796
|
+
LG = "lg",
|
|
4797
|
+
MD = "md",
|
|
4798
|
+
SM = "sm",
|
|
4799
|
+
XS = "xs"
|
|
4800
|
+
}
|
|
4801
|
+
export declare const UiToggleButtonType: SchemaType<"UiToggleButton", RemoteProperties<UiToggleButtonProperties>, RemoteCallable<UiToggleButtonMethods>>;
|
|
4802
|
+
export declare const UiToggleGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
4803
|
+
export declare type UiToggleGroupEqualPredicate = (a: unknown, b: unknown) => boolean;
|
|
4804
|
+
export declare type UiToggleGroupItem = {
|
|
4805
|
+
value: unknown;
|
|
4806
|
+
label: string;
|
|
4807
|
+
disabled?: boolean;
|
|
4808
|
+
};
|
|
4809
|
+
export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<{
|
|
4810
|
+
id: {
|
|
4811
|
+
type: StringConstructor;
|
|
4812
|
+
default: () => string;
|
|
4813
|
+
};
|
|
4814
|
+
label: {
|
|
4815
|
+
type: StringConstructor;
|
|
4816
|
+
default: string;
|
|
4817
|
+
};
|
|
4818
|
+
value: {
|
|
4819
|
+
type: PropType<UiToggleGroupOptionProperties["value"]>;
|
|
4820
|
+
required: true;
|
|
4821
|
+
};
|
|
4822
|
+
disabled: {
|
|
4823
|
+
type: BooleanConstructor;
|
|
4824
|
+
default: boolean;
|
|
4825
|
+
};
|
|
4826
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
4827
|
+
id: {
|
|
4828
|
+
type: StringConstructor;
|
|
4829
|
+
default: () => string;
|
|
4830
|
+
};
|
|
4831
|
+
label: {
|
|
4832
|
+
type: StringConstructor;
|
|
4833
|
+
default: string;
|
|
4834
|
+
};
|
|
4835
|
+
value: {
|
|
4836
|
+
type: PropType<UiToggleGroupOptionProperties["value"]>;
|
|
4837
|
+
required: true;
|
|
4838
|
+
};
|
|
4839
|
+
disabled: {
|
|
4840
|
+
type: BooleanConstructor;
|
|
4841
|
+
default: boolean;
|
|
4842
|
+
};
|
|
4843
|
+
}>> & Readonly<{}>, {
|
|
4844
|
+
id: string;
|
|
4845
|
+
disabled: boolean;
|
|
4846
|
+
label: string;
|
|
4847
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
4848
|
+
button: ({
|
|
4849
|
+
$: ComponentInternalInstance;
|
|
4850
|
+
$data: {
|
|
4851
|
+
[x: string]: never;
|
|
4852
|
+
};
|
|
4853
|
+
$props: Partial<{}> & Omit<{
|
|
4854
|
+
readonly [x: string]: any;
|
|
4855
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
4856
|
+
$attrs: {
|
|
4857
|
+
[x: string]: unknown;
|
|
4858
|
+
};
|
|
4859
|
+
$refs: {
|
|
4860
|
+
[x: string]: unknown;
|
|
4861
|
+
};
|
|
4862
|
+
$slots: Readonly<{
|
|
4863
|
+
[name: string]: Slot<any> | undefined;
|
|
4864
|
+
}>;
|
|
4865
|
+
$root: ComponentPublicInstance | null;
|
|
4866
|
+
$parent: ComponentPublicInstance | null;
|
|
4867
|
+
$host: Element | null;
|
|
4868
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
4869
|
+
$el: any;
|
|
4870
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4871
|
+
[x: string]: unknown;
|
|
4872
|
+
}, {
|
|
4873
|
+
[x: string]: never;
|
|
4874
|
+
}, {
|
|
4875
|
+
[x: string]: never;
|
|
4876
|
+
}, {
|
|
4877
|
+
focus: () => Promise<void>;
|
|
4878
|
+
blur: () => Promise<void>;
|
|
4879
|
+
click: () => Promise<void>;
|
|
4880
|
+
}, {
|
|
4881
|
+
click: (event: SerializedEvent) => boolean;
|
|
4882
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
4883
|
+
blur: (event: SerializedEvent) => boolean;
|
|
4884
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
4885
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
4886
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
4887
|
+
created?: (() => void) | (() => void)[];
|
|
4888
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
4889
|
+
mounted?: (() => void) | (() => void)[];
|
|
4890
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
4891
|
+
updated?: (() => void) | (() => void)[];
|
|
4892
|
+
activated?: (() => void) | (() => void)[];
|
|
4893
|
+
deactivated?: (() => void) | (() => void)[];
|
|
4894
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
4895
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
4896
|
+
destroyed?: (() => void) | (() => void)[];
|
|
4897
|
+
unmounted?: (() => void) | (() => void)[];
|
|
4898
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
4899
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
4900
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
4901
|
+
};
|
|
4902
|
+
$forceUpdate: () => void;
|
|
4903
|
+
$nextTick: nextTick;
|
|
4904
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
4905
|
+
R,
|
|
4906
|
+
R,
|
|
4907
|
+
OnCleanup
|
|
4908
|
+
]) => any : (...args: [
|
|
4909
|
+
any,
|
|
4910
|
+
any,
|
|
4911
|
+
OnCleanup
|
|
4912
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
4913
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, string> & ShallowUnwrapRef<{
|
|
4914
|
+
[x: string]: unknown;
|
|
4915
|
+
}> & {
|
|
4916
|
+
[x: string]: never;
|
|
4917
|
+
} & {
|
|
4918
|
+
[x: string]: unknown;
|
|
4919
|
+
} & MethodOptions & {
|
|
4920
|
+
focus: () => Promise<void>;
|
|
4921
|
+
blur: () => Promise<void>;
|
|
4922
|
+
click: () => Promise<void>;
|
|
4923
|
+
} & ComponentCustomProperties & {} & {
|
|
4924
|
+
$slots: {
|
|
4925
|
+
[x: string]: never;
|
|
4926
|
+
} & {
|
|
4927
|
+
default?: (...args: never[]) => unknown;
|
|
4928
|
+
};
|
|
4929
|
+
}) | null;
|
|
4930
|
+
}, any>, Readonly<{
|
|
4931
|
+
default?: () => VNodeChild;
|
|
4932
|
+
icon?: () => VNodeChild;
|
|
4933
|
+
label?: () => VNodeChild;
|
|
4934
|
+
}> & {
|
|
4935
|
+
default?: () => VNodeChild;
|
|
4936
|
+
icon?: () => VNodeChild;
|
|
4937
|
+
label?: () => VNodeChild;
|
|
4938
|
+
}>;
|
|
4939
|
+
export declare type UiToggleGroupOptionProperties = {
|
|
4940
|
+
id?: string;
|
|
4941
|
+
label?: string;
|
|
4942
|
+
value: unknown;
|
|
4943
|
+
disabled?: boolean;
|
|
4944
|
+
};
|
|
4945
|
+
export declare type UiToggleGroupProperties = {
|
|
4946
|
+
model?: unknown[];
|
|
4947
|
+
options?: UiToggleGroupItem[];
|
|
4948
|
+
equalFn?: UiToggleGroupEqualPredicate;
|
|
4949
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
4950
|
+
rubber?: boolean;
|
|
4951
|
+
disabled?: boolean;
|
|
4952
|
+
ariaLabel?: string;
|
|
4953
|
+
ariaLabelledby?: string;
|
|
4954
|
+
ariaDescribedby?: string;
|
|
4955
|
+
ariaOrientation?: 'horizontal' | 'vertical';
|
|
4956
|
+
};
|
|
4957
|
+
export declare type UiToggleGroupRootProperties = {
|
|
4958
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
4959
|
+
rubber?: boolean;
|
|
4960
|
+
disabled?: boolean;
|
|
4961
|
+
ariaLabel?: string;
|
|
4962
|
+
ariaLabelledby?: string;
|
|
4963
|
+
ariaDescribedby?: string;
|
|
4964
|
+
ariaOrientation?: 'horizontal' | 'vertical';
|
|
4965
|
+
};
|
|
4483
4966
|
export declare const UiToolbarButton: {
|
|
4484
4967
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiToolbarButtonProperties>>>, {
|
|
4485
4968
|
[x: string]: unknown;
|
|
@@ -4743,6 +5226,7 @@ export declare const UiYandexMap: {
|
|
|
4743
5226
|
declare type UiYandexMapProperties = {
|
|
4744
5227
|
apiKey: string;
|
|
4745
5228
|
address?: string;
|
|
5229
|
+
plugins?: YandexMapPlugin[];
|
|
4746
5230
|
};
|
|
4747
5231
|
export declare const UiYandexMapType: SchemaType<"UiYandexMap", RemoteProperties<UiYandexMapProperties>, Record<string, never>>;
|
|
4748
5232
|
export declare const usePreview: (workers?: Ref<string[]>) => {
|
|
@@ -4774,5 +5258,13 @@ declare type ViolationPayload = {
|
|
|
4774
5258
|
value: number | null;
|
|
4775
5259
|
codes: VIOLATION[];
|
|
4776
5260
|
};
|
|
5261
|
+
declare const YANDEX_MAP_PLUGIN: {
|
|
5262
|
+
readonly LOCATOR: "locator";
|
|
5263
|
+
};
|
|
5264
|
+
declare type YandexMapLocatorPlugin = {
|
|
5265
|
+
type: typeof YANDEX_MAP_PLUGIN.LOCATOR;
|
|
5266
|
+
url: string;
|
|
5267
|
+
};
|
|
5268
|
+
declare type YandexMapPlugin = YandexMapLocatorPlugin;
|
|
4777
5269
|
export {};
|
|
4778
5270
|
|