@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.
Files changed (71) hide show
  1. package/assets/sprites/map-and-places/navigate.svg +3 -0
  2. package/dist/host.cjs +1229 -616
  3. package/dist/host.css +346 -0
  4. package/dist/host.d.ts +300 -118
  5. package/dist/host.js +1229 -616
  6. package/dist/remote.cjs +501 -61
  7. package/dist/remote.d.ts +667 -81
  8. package/dist/remote.js +502 -62
  9. package/docs/COMPONENTS.md +4 -0
  10. package/docs/FORMAT.md +19 -0
  11. package/docs/PROFILES.md +2 -0
  12. package/docs/profiles/UiAddButton.yml +12 -0
  13. package/docs/profiles/UiAlert.yml +12 -0
  14. package/docs/profiles/UiAvatar.yml +12 -0
  15. package/docs/profiles/UiAvatarList.yml +12 -0
  16. package/docs/profiles/UiButton.yml +8 -0
  17. package/docs/profiles/UiCalendar.yml +12 -0
  18. package/docs/profiles/UiCheckbox.yml +12 -0
  19. package/docs/profiles/UiCollapse.yml +12 -0
  20. package/docs/profiles/UiCollapseBox.yml +12 -0
  21. package/docs/profiles/UiCollapseGroup.yml +12 -0
  22. package/docs/profiles/UiCopyButton.yml +12 -0
  23. package/docs/profiles/UiDate.yml +12 -0
  24. package/docs/profiles/UiDatePicker.yml +12 -0
  25. package/docs/profiles/UiError.yml +12 -0
  26. package/docs/profiles/UiField.yml +5 -1
  27. package/docs/profiles/UiImage.yml +12 -0
  28. package/docs/profiles/UiInfobox.yml +12 -0
  29. package/docs/profiles/UiLink.yml +12 -0
  30. package/docs/profiles/UiLoader.yml +12 -0
  31. package/docs/profiles/UiMenuItem.yml +12 -0
  32. package/docs/profiles/UiMenuItemGroup.yml +12 -0
  33. package/docs/profiles/UiModalSidebar.yml +12 -0
  34. package/docs/profiles/UiModalWindow.yml +12 -0
  35. package/docs/profiles/UiModalWindowSurface.yml +12 -0
  36. package/docs/profiles/UiNumberStepper.yml +12 -0
  37. package/docs/profiles/UiPageHeader.yml +5 -1
  38. package/docs/profiles/UiPopper.yml +5 -1
  39. package/docs/profiles/UiPopperConnector.yml +6 -0
  40. package/docs/profiles/UiPopperTarget.yml +6 -0
  41. package/docs/profiles/UiRadio.yml +12 -0
  42. package/docs/profiles/UiRadioSwitch.yml +7 -0
  43. package/docs/profiles/UiRadioSwitchOption.yml +8 -0
  44. package/docs/profiles/UiScrollBox.yml +12 -0
  45. package/docs/profiles/UiSelect.yml +9 -0
  46. package/docs/profiles/UiSelectOption.yml +12 -0
  47. package/docs/profiles/UiSelectOptionGroup.yml +12 -0
  48. package/docs/profiles/UiSkeleton.yml +41 -0
  49. package/docs/profiles/UiSlider.yml +12 -0
  50. package/docs/profiles/UiSwitch.yml +12 -0
  51. package/docs/profiles/UiTab.yml +5 -0
  52. package/docs/profiles/UiTabGroup.yml +5 -0
  53. package/docs/profiles/UiTable.yml +5 -1
  54. package/docs/profiles/UiTableBodyCell.yml +12 -0
  55. package/docs/profiles/UiTableColumn.yml +12 -0
  56. package/docs/profiles/UiTableFooterButton.yml +12 -0
  57. package/docs/profiles/UiTableFooterSection.yml +12 -0
  58. package/docs/profiles/UiTableHeadCell.yml +12 -0
  59. package/docs/profiles/UiTableSorter.yml +12 -0
  60. package/docs/profiles/UiTag.yml +12 -0
  61. package/docs/profiles/UiTextbox.yml +5 -1
  62. package/docs/profiles/UiTimePicker.yml +12 -0
  63. package/docs/profiles/UiToggleButton.yml +211 -0
  64. package/docs/profiles/UiToggleGroup.yml +211 -0
  65. package/docs/profiles/UiToggleGroupOption.yml +116 -0
  66. package/docs/profiles/UiToolbarButton.yml +12 -0
  67. package/docs/profiles/UiToolbarLink.yml +12 -0
  68. package/docs/profiles/UiTooltip.yml +12 -0
  69. package/docs/profiles/UiTransition.yml +12 -0
  70. package/docs/profiles/UiYandexMap.yml +12 -0
  71. 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: APPEARANCE;
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: SIZE;
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: APPEARANCE;
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: SIZE;
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" | SIZE | undefined;
422
- appearance: "default" | "section" | APPEARANCE | undefined;
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,15 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
511
613
  };
512
614
  /** Размер поля ввода */
513
615
  textboxSize: {
514
- type: PropType<SIZE_5 | `${SIZE_5}`>;
616
+ type: PropType<SIZE_4 | `${SIZE_4}`>;
515
617
  validator: (size: string) => boolean;
516
- default: SIZE_5;
618
+ default: SIZE_4;
619
+ };
620
+ /** Ширина селекта. fit — по содержимому, fluid — на всю ширину контейнера */
621
+ width: {
622
+ type: PropType<WidthValue>;
623
+ validator: (value: unknown) => value is WidthValue | null | undefined;
624
+ default: WIDTH;
517
625
  };
518
626
  /** Наличие множественного выбора среди элементов выпадающего списка */
519
627
  multiple: {
@@ -621,9 +729,15 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
621
729
  };
622
730
  /** Размер поля ввода */
623
731
  textboxSize: {
624
- type: PropType<SIZE_5 | `${SIZE_5}`>;
732
+ type: PropType<SIZE_4 | `${SIZE_4}`>;
625
733
  validator: (size: string) => boolean;
626
- default: SIZE_5;
734
+ default: SIZE_4;
735
+ };
736
+ /** Ширина селекта. fit — по содержимому, fluid — на всю ширину контейнера */
737
+ width: {
738
+ type: PropType<WidthValue>;
739
+ validator: (value: unknown) => value is WidthValue | null | undefined;
740
+ default: WIDTH;
627
741
  };
628
742
  /** Наличие множественного выбора среди элементов выпадающего списка */
629
743
  multiple: {
@@ -649,6 +763,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
649
763
  id: string;
650
764
  placeholder: string;
651
765
  disabled: boolean;
766
+ width: WidthValue;
652
767
  expanded: boolean;
653
768
  targetTriggers: TriggerSchema | Trigger[];
654
769
  popperTriggers: TriggerSchema | Trigger[];
@@ -662,7 +777,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
662
777
  filterable: boolean;
663
778
  multiple: boolean;
664
779
  placeholderOnly: boolean;
665
- textboxSize: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
780
+ textboxSize: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
666
781
  popperFitTrigger: boolean;
667
782
  equalsFn: (a: unknown, b: unknown) => boolean;
668
783
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -727,7 +842,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
727
842
  R,
728
843
  R,
729
844
  OnCleanup
730
- ]) => any : (...args: [
845
+ ]) => any : (... /** @type { [typeof __VLS_components.UiPopperConnector, typeof __VLS_components.UiPopperConnector, ] } */args: [
731
846
  any,
732
847
  any,
733
848
  OnCleanup
@@ -749,7 +864,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
749
864
  };
750
865
  }) | null;
751
866
  }, any>;
752
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
867
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
753
868
  /** Значение опции */
754
869
  value: {
755
870
  type: PropType<unknown>;
@@ -777,9 +892,9 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
777
892
  };
778
893
  /** Размер шрифта, иконок и внутренних отступов компонента */
779
894
  size: {
780
- type: PropType<SIZE_10>;
895
+ type: PropType<SIZE_8>;
781
896
  validator: (size: string) => boolean;
782
- default: SIZE_10;
897
+ default: SIZE_8;
783
898
  };
784
899
  /** Счетчик количества */
785
900
  counter: {
@@ -820,9 +935,9 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
820
935
  };
821
936
  /** Размер шрифта, иконок и внутренних отступов компонента */
822
937
  size: {
823
- type: PropType<SIZE_10>;
938
+ type: PropType<SIZE_8>;
824
939
  validator: (size: string) => boolean;
825
- default: SIZE_10;
940
+ default: SIZE_8;
826
941
  };
827
942
  /** Счетчик количества */
828
943
  counter: {
@@ -838,12 +953,12 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
838
953
  }>> & Readonly<{}>, {
839
954
  description: string;
840
955
  disabled: boolean;
841
- size: SIZE_10;
956
+ size: SIZE_8;
842
957
  active: boolean;
843
958
  accent: boolean;
844
959
  counter: string | number | null;
845
960
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
846
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
961
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
847
962
  /** Заголовок группы опций */
848
963
  label: {
849
964
  type: StringConstructor;
@@ -989,6 +1104,22 @@ declare function __VLS_template_3(): {
989
1104
  rootEl: any;
990
1105
  };
991
1106
  declare function __VLS_template_4(): {
1107
+ attrs: Partial<{}>;
1108
+ slots: Readonly<{
1109
+ default?: () => VNodeChild;
1110
+ icon?: (props: {
1111
+ option: UiToggleGroupItem;
1112
+ }) => VNodeChild;
1113
+ }> & {
1114
+ default?: () => VNodeChild;
1115
+ icon?: (props: {
1116
+ option: UiToggleGroupItem;
1117
+ }) => VNodeChild;
1118
+ };
1119
+ refs: {};
1120
+ rootEl: any;
1121
+ };
1122
+ declare function __VLS_template_5(): {
992
1123
  attrs: Partial<{}>;
993
1124
  slots: {
994
1125
  default?(_: {}): any;
@@ -1055,7 +1186,7 @@ declare function __VLS_template_4(): {
1055
1186
  R,
1056
1187
  R,
1057
1188
  OnCleanup
1058
- ]) => any : (...args: [
1189
+ ]) => any : (... /** @type { [typeof __VLS_components.UiPopperConnector, typeof __VLS_components.UiPopperConnector, ] } */args: [
1059
1190
  any,
1060
1191
  any,
1061
1192
  OnCleanup
@@ -1079,7 +1210,7 @@ declare function __VLS_template_4(): {
1079
1210
  };
1080
1211
  rootEl: any;
1081
1212
  };
1082
- declare function __VLS_template_5(): {
1213
+ declare function __VLS_template_6(): {
1083
1214
  attrs: Partial<{}>;
1084
1215
  slots: {
1085
1216
  default?(_: {
@@ -1099,7 +1230,7 @@ declare function __VLS_template_5(): {
1099
1230
  refs: {};
1100
1231
  rootEl: HTMLDivElement;
1101
1232
  };
1102
- declare function __VLS_template_6(): {
1233
+ declare function __VLS_template_7(): {
1103
1234
  attrs: Partial<{}>;
1104
1235
  slots: {
1105
1236
  option?(_: {}): any;
@@ -1118,6 +1249,7 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1118
1249
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1119
1250
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
1120
1251
  declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
1252
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
1121
1253
  declare type __VLS_WithTemplateSlots<T, S> = T & {
1122
1254
  new (): {
1123
1255
  $slots: S;
@@ -1153,6 +1285,16 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
1153
1285
  $slots: S;
1154
1286
  };
1155
1287
  };
1288
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
1289
+ new (): {
1290
+ $slots: S;
1291
+ };
1292
+ };
1293
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
1294
+ new (): {
1295
+ $slots: S;
1296
+ };
1297
+ };
1156
1298
  declare type Adaptation = 'flip' | 'shift';
1157
1299
  export declare enum ALIGN {
1158
1300
  LEFT = "left",
@@ -1163,37 +1305,29 @@ declare enum ALIGN_2 {
1163
1305
  LEFT = "left",
1164
1306
  RIGHT = "right"
1165
1307
  }
1166
- export declare enum APPEARANCE {
1167
- DEFAULT = "default",
1168
- SECTION = "section"
1169
- }
1170
- declare enum APPEARANCE_2 {
1308
+ declare enum APPEARANCE {
1171
1309
  OUTLINED = "outlined",
1172
1310
  PRIMARY = "primary",
1173
1311
  SECONDARY = "secondary",
1174
1312
  TERTIARY = "tertiary"
1175
1313
  }
1176
- declare enum APPEARANCE_3 {
1314
+ declare enum APPEARANCE_2 {
1177
1315
  SINGLE = "single",
1178
1316
  DOUBLE = "double"
1179
1317
  }
1180
- declare enum APPEARANCE_4 {
1318
+ declare enum APPEARANCE_3 {
1181
1319
  BREADCRUMBS = "breadcrumbs",
1182
1320
  DEFAULT = "default",
1183
1321
  NAVIGATION = "navigation",
1184
1322
  NAVIGATION_ANCHOR = "navigation-anchor",
1185
1323
  TITLE = "title"
1186
1324
  }
1187
- declare enum APPEARANCE_5 {
1325
+ declare enum APPEARANCE_4 {
1188
1326
  ALERT = "alert",
1189
1327
  DIALOG = "dialog",
1190
1328
  POPUP = "popup",
1191
1329
  HINT = "hint"
1192
1330
  }
1193
- declare enum APPEARANCE_6 {
1194
- TEXT = "text",
1195
- FILLED = "filled"
1196
- }
1197
1331
  export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
1198
1332
  export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
1199
1333
  export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
@@ -1291,6 +1425,7 @@ export declare type Group<T, GroupData> = {
1291
1425
  rows: readonly T[];
1292
1426
  };
1293
1427
  export declare type GroupBy<T, GroupData> = (rows: readonly T[]) => Group<T, GroupData>[];
1428
+ export declare function guessSkeletonDimensionStyleValue(value: Numeric | null): string | null;
1294
1429
  export declare const ImageWorkersKey: InjectionKey<Ref<string[]>>;
1295
1430
  declare enum INPUTMODE {
1296
1431
  DECIMAL = "decimal",
@@ -1335,6 +1470,15 @@ declare type QuickOption = {
1335
1470
  label: string;
1336
1471
  value: Exclude<QuickDate, null>;
1337
1472
  };
1473
+ export declare enum RADIO_SWITCH_APPEARANCE {
1474
+ DEFAULT = "default",
1475
+ SECTION = "section"
1476
+ }
1477
+ export declare enum RADIO_SWITCH_SIZE {
1478
+ SM = "sm",
1479
+ MD = "md",
1480
+ LG = "lg"
1481
+ }
1338
1482
  declare type RemoteProperties<T> = HTMLAttributes & T & Record<string, never>;
1339
1483
  export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
1340
1484
  class?: CssClass;
@@ -1377,40 +1521,29 @@ declare type ShowingOptions = {
1377
1521
  disabled?: boolean;
1378
1522
  container?: string | null;
1379
1523
  };
1380
- export declare enum SIZE {
1381
- SM = "sm",
1382
- MD = "md",
1383
- LG = "lg"
1384
- }
1385
- declare enum SIZE_10 {
1524
+ declare enum SIZE {
1386
1525
  XS = "xs",
1387
1526
  SM = "sm",
1388
- MD = "md",
1389
1527
  LG = "lg"
1390
1528
  }
1391
1529
  declare enum SIZE_2 {
1392
- XS = "xs",
1393
- SM = "sm",
1394
- LG = "lg"
1395
- }
1396
- declare enum SIZE_3 {
1397
1530
  LG = "lg",
1398
1531
  MD = "md",
1399
1532
  SM = "sm",
1400
1533
  XS = "xs"
1401
1534
  }
1402
- declare enum SIZE_4 {
1535
+ declare enum SIZE_3 {
1403
1536
  SM = "sm",
1404
1537
  MD = "md"
1405
1538
  }
1406
- declare enum SIZE_5 {
1539
+ declare enum SIZE_4 {
1407
1540
  XS = "xs",
1408
1541
  SM = "sm",
1409
1542
  MD = "md",
1410
1543
  LG = "lg",
1411
1544
  XL = "xl"
1412
1545
  }
1413
- declare enum SIZE_6 {
1546
+ declare enum SIZE_5 {
1414
1547
  ARTICLE = "article",
1415
1548
  BODY = "body",
1416
1549
  PARAGRAPH = "paragraph",
@@ -1419,20 +1552,35 @@ declare enum SIZE_6 {
1419
1552
  TITLE01 = "title-01",
1420
1553
  TITLE02 = "title-02"
1421
1554
  }
1422
- declare enum SIZE_7 {
1555
+ declare enum SIZE_6 {
1423
1556
  LG = "lg",
1424
1557
  SM = "sm"
1425
1558
  }
1559
+ declare enum SIZE_7 {
1560
+ LG = "lg",
1561
+ MD = "md",
1562
+ SM = "sm",
1563
+ XS = "xs"
1564
+ }
1426
1565
  declare enum SIZE_8 {
1566
+ XS = "xs",
1427
1567
  SM = "sm",
1428
1568
  MD = "md",
1429
1569
  LG = "lg"
1430
1570
  }
1431
- declare enum SIZE_9 {
1432
- LG = "lg",
1433
- MD = "md",
1571
+ export declare enum SKELETON_ANIMATION {
1572
+ PULSE = "pulse",
1573
+ SHIMMER = "shimmer"
1574
+ }
1575
+ export declare enum SKELETON_APPEARANCE {
1576
+ CIRCLE = "circle",
1577
+ RECTANGLE = "rectangle",
1578
+ TEXT = "text"
1579
+ }
1580
+ export declare enum SKELETON_SIZE {
1434
1581
  SM = "sm",
1435
- XS = "xs"
1582
+ MD = "md",
1583
+ LG = "lg"
1436
1584
  }
1437
1585
  declare enum STATUS {
1438
1586
  NONE = "",
@@ -1445,6 +1593,15 @@ declare enum SYNCHRONIZATION {
1445
1593
  INSTANT = "instant",
1446
1594
  CONFIRMED = "confirmed"
1447
1595
  }
1596
+ export declare enum TAB_APPEARANCE {
1597
+ TEXT = "text",
1598
+ FILLED = "filled"
1599
+ }
1600
+ export declare enum TAB_SIZE {
1601
+ SM = "sm",
1602
+ MD = "md",
1603
+ LG = "lg"
1604
+ }
1448
1605
  export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
1449
1606
  export declare type TabItem = {
1450
1607
  id: string;
@@ -1717,7 +1874,7 @@ declare type UiAvatarListProperties = {
1717
1874
  src: string;
1718
1875
  name: string;
1719
1876
  }>;
1720
- size?: SIZE_2;
1877
+ size?: SIZE;
1721
1878
  };
1722
1879
  export declare const UiAvatarListType: SchemaType<"UiAvatarList", RemoteProperties<UiAvatarListProperties>>;
1723
1880
  declare type UiAvatarProperties = {
@@ -1727,7 +1884,7 @@ declare type UiAvatarProperties = {
1727
1884
  status?: STATUS;
1728
1885
  vip?: boolean;
1729
1886
  bad?: boolean;
1730
- size?: SIZE_2;
1887
+ size?: SIZE;
1731
1888
  optimize?: boolean | {
1732
1889
  resize?: Dimensions;
1733
1890
  crop?: Dimensions;
@@ -1794,9 +1951,9 @@ declare type UiButtonMethods = {
1794
1951
  declare type UiButtonProperties = {
1795
1952
  type?: HTMLButtonElement['type'];
1796
1953
  href?: HTMLAnchorElement['href'] | undefined;
1797
- appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
1954
+ appearance?: APPEARANCE | `${APPEARANCE}`;
1798
1955
  variant?: VARIANT_2 | `${VARIANT_2}`;
1799
- size?: SIZE_3 | `${SIZE_3}`;
1956
+ size?: SIZE_2 | `${SIZE_2}`;
1800
1957
  active?: boolean;
1801
1958
  disabled?: boolean;
1802
1959
  locked?: boolean;
@@ -1858,7 +2015,7 @@ declare type UiCalendarMethods = {
1858
2015
  declare type UiCalendarProperties = {
1859
2016
  value?: null | Date | Date[];
1860
2017
  type?: TYPE | `${TYPE}`;
1861
- appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
2018
+ appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
1862
2019
  firstDayOfWeek?: number;
1863
2020
  minDate?: Date | null;
1864
2021
  maxDate?: Date | null;
@@ -2065,7 +2222,7 @@ declare type UiCollapseBoxProperties = {
2065
2222
  collapseDuration?: number | string;
2066
2223
  disabled?: boolean;
2067
2224
  color?: COLOR_2 | `${COLOR_2}`;
2068
- iconSize?: SIZE_4 | `${SIZE_4}`;
2225
+ iconSize?: SIZE_3 | `${SIZE_3}`;
2069
2226
  bordered?: boolean;
2070
2227
  };
2071
2228
  export declare const UiCollapseBoxType: SchemaType<"UiCollapseBox", RemoteProperties<UiCollapseBoxProperties>, RemoteCallable<UiCollapseBoxMethods>>;
@@ -2198,7 +2355,7 @@ export declare const UiCopyButton: {
2198
2355
  });
2199
2356
  declare type UiCopyButtonProperties = {
2200
2357
  text: string;
2201
- size: SIZE_3;
2358
+ size: SIZE_2;
2202
2359
  tooltipOptions?: TooltipOptions;
2203
2360
  };
2204
2361
  export declare const UiCopyButtonType: SchemaType<"UiCopyButton", RemoteProperties<UiCopyButtonProperties>>;
@@ -2534,8 +2691,8 @@ export declare const UiLink: {
2534
2691
  declare type UiLinkProperties = {
2535
2692
  href?: string;
2536
2693
  external?: boolean;
2537
- appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
2538
- size?: SIZE_6 | `${SIZE_6}`;
2694
+ appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
2695
+ size?: SIZE_5 | `${SIZE_5}`;
2539
2696
  light?: boolean;
2540
2697
  accent?: boolean;
2541
2698
  dotted?: boolean;
@@ -2705,7 +2862,7 @@ declare type UiMenuItemProperties = {
2705
2862
  danger?: boolean;
2706
2863
  ticker?: boolean;
2707
2864
  simple?: boolean;
2708
- size?: `${SIZE_10}`;
2865
+ size?: `${SIZE_8}`;
2709
2866
  disabled?: boolean;
2710
2867
  };
2711
2868
  export declare const UiMenuItemType: SchemaType<"UiMenuItem", RemoteProperties<UiMenuItemProperties>>;
@@ -2785,7 +2942,7 @@ declare type UiModalSidebarProperties = {
2785
2942
  disposeTimeout?: number | string | null;
2786
2943
  fixed?: boolean;
2787
2944
  scrolling?: SCROLLING | `${SCROLLING}`;
2788
- size?: SIZE_7 | `${SIZE_7}`;
2945
+ size?: SIZE_6 | `${SIZE_6}`;
2789
2946
  role?: MODAL_SIDEBAR_ROLE;
2790
2947
  };
2791
2948
  export declare const UiModalSidebarType: SchemaType<"UiModalSidebar", RemoteProperties<UiModalSidebarProperties>, Record<string, never>>;
@@ -2933,7 +3090,7 @@ declare type UiModalWindowSurfaceProperties = {
2933
3090
  id?: string;
2934
3091
  opened?: boolean;
2935
3092
  closable?: boolean;
2936
- appearance?: APPEARANCE_5 | `${APPEARANCE_5}`;
3093
+ appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
2937
3094
  fullscreen?: boolean;
2938
3095
  responsive?: boolean;
2939
3096
  disposeTimeout?: number | string | null;
@@ -3021,7 +3178,7 @@ declare type UiNumberStepperProperties = {
3021
3178
  readonly?: boolean;
3022
3179
  required?: boolean;
3023
3180
  direction?: DIRECTION_3 | `${DIRECTION_3}`;
3024
- size?: SIZE_5 | `${SIZE_5}`;
3181
+ size?: SIZE_4 | `${SIZE_4}`;
3025
3182
  outlined?: boolean;
3026
3183
  textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
3027
3184
  };
@@ -3326,7 +3483,110 @@ export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineCompon
3326
3483
  id: string;
3327
3484
  disabled: boolean;
3328
3485
  label: string;
3329
- }, {}, {}, {}, string, ComponentProvideOptions, true, any, any>, any>;
3486
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
3487
+ shell: ({
3488
+ $: ComponentInternalInstance;
3489
+ $data: {
3490
+ [x: string]: never;
3491
+ };
3492
+ $props: Partial<{}> & Omit<{
3493
+ readonly [x: string]: any;
3494
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
3495
+ $attrs: {
3496
+ [x: string]: unknown;
3497
+ };
3498
+ $refs: {
3499
+ [x: string]: unknown;
3500
+ };
3501
+ $slots: Readonly<{
3502
+ [name: string]: Slot<any> | undefined;
3503
+ }>;
3504
+ $root: ComponentPublicInstance | null;
3505
+ $parent: ComponentPublicInstance | null;
3506
+ $host: Element | null;
3507
+ $emit: (event: string, ...args: any[]) => void;
3508
+ $el: any;
3509
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, {
3510
+ [x: string]: unknown;
3511
+ }, {
3512
+ [x: string]: never;
3513
+ }, {
3514
+ [x: string]: never;
3515
+ }, {
3516
+ focus: () => Promise<void>;
3517
+ blur: () => Promise<void>;
3518
+ }, {
3519
+ click: (event: SerializedEvent) => boolean;
3520
+ focus: (event: SerializedFocusEvent) => boolean;
3521
+ blur: (event: SerializedEvent) => boolean;
3522
+ keydown: (event: SerializedKeyboardEvent) => boolean;
3523
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
3524
+ beforeCreate?: (() => void) | (() => void)[];
3525
+ created?: (() => void) | (() => void)[];
3526
+ beforeMount?: (() => void) | (() => void)[];
3527
+ mounted?: (() => void) | (() => void)[];
3528
+ beforeUpdate?: (() => void) | (() => void)[];
3529
+ updated?: (() => void) | (() => void)[];
3530
+ activated?: (() => void) | (() => void)[];
3531
+ deactivated?: (() => void) | (() => void)[];
3532
+ beforeDestroy?: (() => void) | (() => void)[];
3533
+ beforeUnmount?: (() => void) | (() => void)[];
3534
+ destroyed?: (() => void) | (() => void)[];
3535
+ unmounted?: (() => void) | (() => void)[];
3536
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
3537
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
3538
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
3539
+ };
3540
+ $forceUpdate: () => void;
3541
+ $nextTick: nextTick;
3542
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
3543
+ R,
3544
+ R,
3545
+ OnCleanup
3546
+ ]) => any : (...args: [
3547
+ any,
3548
+ any,
3549
+ OnCleanup
3550
+ ]) => any, options?: WatchOptions): WatchStopHandle;
3551
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, string> & ShallowUnwrapRef<{
3552
+ [x: string]: unknown;
3553
+ }> & {
3554
+ [x: string]: never;
3555
+ } & {
3556
+ [x: string]: unknown;
3557
+ } & MethodOptions & {
3558
+ focus: () => Promise<void>;
3559
+ blur: () => Promise<void>;
3560
+ } & ComponentCustomProperties & {} & {
3561
+ $slots: {
3562
+ [x: string]: never;
3563
+ } & {
3564
+ default?: (...args: never[]) => unknown;
3565
+ };
3566
+ }) | null;
3567
+ }, any>, Readonly<{
3568
+ /** Полный пользовательский шаблон опции */
3569
+ default?: () => VNodeChild;
3570
+ /** Иконка опции */
3571
+ icon?: () => VNodeChild;
3572
+ /** Заголовок опции */
3573
+ label?: () => VNodeChild;
3574
+ /** Дополнительное описание опции */
3575
+ description?: () => VNodeChild;
3576
+ /** Иконка выбранного состояния */
3577
+ checkmark?: () => VNodeChild;
3578
+ }> & {
3579
+ /** Полный пользовательский шаблон опции */
3580
+ default?: () => VNodeChild;
3581
+ /** Иконка опции */
3582
+ icon?: () => VNodeChild;
3583
+ /** Заголовок опции */
3584
+ label?: () => VNodeChild;
3585
+ /** Дополнительное описание опции */
3586
+ description?: () => VNodeChild;
3587
+ /** Иконка выбранного состояния */
3588
+ checkmark?: () => VNodeChild;
3589
+ }>;
3330
3590
  export declare type UiRadioSwitchOptionProperties = {
3331
3591
  id?: string;
3332
3592
  label?: string;
@@ -3340,8 +3600,8 @@ export declare type UiRadioSwitchOptionShellMethods = {
3340
3600
  };
3341
3601
  export declare type UiRadioSwitchOptionShellProperties = {
3342
3602
  id?: string;
3343
- appearance?: APPEARANCE | `${APPEARANCE}`;
3344
- size?: SIZE | `${SIZE}`;
3603
+ appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
3604
+ size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
3345
3605
  checked?: boolean;
3346
3606
  disabled?: boolean;
3347
3607
  };
@@ -3349,13 +3609,13 @@ export declare type UiRadioSwitchProperties = {
3349
3609
  value?: unknown;
3350
3610
  options?: Option_2[];
3351
3611
  equalFn?: EqualPredicate;
3352
- appearance?: APPEARANCE | `${APPEARANCE}`;
3353
- size?: SIZE | `${SIZE}`;
3612
+ appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
3613
+ size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
3354
3614
  rubber?: boolean;
3355
3615
  };
3356
3616
  export declare type UiRadioSwitchRootProperties = {
3357
- appearance?: APPEARANCE | `${APPEARANCE}`;
3358
- size?: SIZE | `${SIZE}`;
3617
+ appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
3618
+ size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
3359
3619
  rubber?: boolean;
3360
3620
  };
3361
3621
  export declare const UiRadioType: SchemaType<"UiRadio", RemoteProperties<UiRadioProperties>, RemoteCallable<UiRadioMethods>>;
@@ -3426,9 +3686,9 @@ declare type UiScrollBoxProperties = {
3426
3686
  showOnMac?: boolean;
3427
3687
  };
3428
3688
  export declare const UiScrollBoxType: SchemaType<"UiScrollBox", RemoteProperties<UiScrollBoxProperties>, RemoteCallable<UiScrollBoxMethods & Record<string, never>>>;
3429
- export declare const UiSelect: __VLS_WithTemplateSlots_5<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
3430
- export declare const UiSelectOption: __VLS_WithTemplateSlots_6<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
3431
- export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_7<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
3689
+ export declare const UiSelect: __VLS_WithTemplateSlots_7<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
3690
+ export declare const UiSelectOption: __VLS_WithTemplateSlots_8<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
3691
+ export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_9<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
3432
3692
  declare type UiSelectPopperProperties = {
3433
3693
  opened?: boolean;
3434
3694
  targetTriggers?: Trigger[] | TriggerSchema;
@@ -3442,6 +3702,66 @@ declare type UiSelectPopperProperties = {
3442
3702
  multiple?: boolean;
3443
3703
  ticker?: boolean;
3444
3704
  };
3705
+ export declare const UiSkeleton: {
3706
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiSkeletonProperties>>>, {
3707
+ [x: string]: unknown;
3708
+ }, {
3709
+ [x: string]: never;
3710
+ }, {
3711
+ [x: string]: never;
3712
+ }, MethodOptions, {
3713
+ click: (event: SerializedEvent) => boolean;
3714
+ focus: (event: SerializedFocusEvent) => boolean;
3715
+ blur: (event: SerializedEvent) => boolean;
3716
+ }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
3717
+ P: {};
3718
+ B: {};
3719
+ D: {};
3720
+ C: ComputedOptions;
3721
+ M: MethodOptions;
3722
+ Defaults: {};
3723
+ } & {
3724
+ P: {};
3725
+ B: {};
3726
+ D: {};
3727
+ C: {};
3728
+ M: {};
3729
+ Defaults: {};
3730
+ }, Readonly<ExtractPropTypes<RemoteProperties<UiSkeletonProperties>>>, {
3731
+ [x: string]: unknown;
3732
+ }, {
3733
+ [x: string]: never;
3734
+ }, ComputedOptions & {
3735
+ [x: string]: never;
3736
+ }, MethodOptions, {}>;
3737
+ __isFragment?: never;
3738
+ __isTeleport?: never;
3739
+ __isSuspense?: never;
3740
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiSkeletonProperties>>>, {
3741
+ [x: string]: unknown;
3742
+ }, {
3743
+ [x: string]: never;
3744
+ }, {
3745
+ [x: string]: never;
3746
+ }, MethodOptions, {
3747
+ click: (event: SerializedEvent) => boolean;
3748
+ focus: (event: SerializedFocusEvent) => boolean;
3749
+ blur: (event: SerializedEvent) => boolean;
3750
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3751
+ $slots: {
3752
+ [x: string]: never;
3753
+ } & {
3754
+ default?: (...args: never[]) => unknown;
3755
+ };
3756
+ });
3757
+ export declare type UiSkeletonProperties = {
3758
+ appearance?: SKELETON_APPEARANCE | `${SKELETON_APPEARANCE}`;
3759
+ size?: SKELETON_SIZE | `${SKELETON_SIZE}`;
3760
+ animation?: SKELETON_ANIMATION | `${SKELETON_ANIMATION}`;
3761
+ width?: Numeric | null;
3762
+ height?: Numeric | null;
3763
+ };
3764
+ export declare const UiSkeletonType: SchemaType_2<"UiSkeleton", RemoteProperties<UiSkeletonProperties>, Record<string, never>>;
3445
3765
  export declare const UiSlider: {
3446
3766
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiSliderProperties>>>, {
3447
3767
  [x: string]: unknown;
@@ -3667,8 +3987,8 @@ export declare type UiTabGroupProperties = {
3667
3987
  focusableId?: string | null;
3668
3988
  items?: TabItem[];
3669
3989
  menuExpanded?: boolean;
3670
- size?: SIZE_8 | `${SIZE_8}`;
3671
- appearance?: APPEARANCE_6 | `${APPEARANCE_6}`;
3990
+ size?: TAB_SIZE | `${TAB_SIZE}`;
3991
+ appearance?: TAB_APPEARANCE | `${TAB_APPEARANCE}`;
3672
3992
  overflowing?: boolean;
3673
3993
  };
3674
3994
  export declare const UiTabGroupType: SchemaType<"UiTabGroup", RemoteProperties<UiTabGroupProperties>>;
@@ -4252,7 +4572,7 @@ export declare const UiTag: {
4252
4572
  };
4253
4573
  });
4254
4574
  declare type UiTagProperties = {
4255
- size?: SIZE_9 | `${SIZE_9}`;
4575
+ size?: SIZE_7 | `${SIZE_7}`;
4256
4576
  pinned?: boolean;
4257
4577
  removable?: boolean;
4258
4578
  interactive?: boolean;
@@ -4376,7 +4696,8 @@ declare type UiTextboxProperties = {
4376
4696
  maxlength?: number | string;
4377
4697
  /** Максимальное количество знаков после запятой (для inputmode="decimal"). '*' — без ограничений */
4378
4698
  decimals?: number | `${number}` | '*';
4379
- size?: SIZE_5 | `${SIZE_5}`;
4699
+ size?: SIZE_4 | `${SIZE_4}`;
4700
+ width?: WidthValue;
4380
4701
  placeholder?: string;
4381
4702
  prefix?: string;
4382
4703
  suffix?: string;
@@ -4480,6 +4801,257 @@ declare type UiTimePickerProperties = {
4480
4801
  maxTime?: TimeArray | null;
4481
4802
  };
4482
4803
  export declare const UiTimePickerType: SchemaType<"UiTimePicker", RemoteProperties<UiTimePickerProperties>, RemoteCallable<UiTimePickerMethods>>;
4804
+ export declare const UiToggleButton: {
4805
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
4806
+ [x: string]: unknown;
4807
+ }, {
4808
+ [x: string]: never;
4809
+ }, {
4810
+ [x: string]: never;
4811
+ }, {
4812
+ focus: () => Promise<void>;
4813
+ blur: () => Promise<void>;
4814
+ click: () => Promise<void>;
4815
+ }, {
4816
+ click: (event: SerializedEvent) => boolean;
4817
+ focus: (event: SerializedFocusEvent) => boolean;
4818
+ blur: (event: SerializedEvent) => boolean;
4819
+ keydown: (event: SerializedKeyboardEvent) => boolean;
4820
+ }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
4821
+ P: {};
4822
+ B: {};
4823
+ D: {};
4824
+ C: ComputedOptions;
4825
+ M: MethodOptions;
4826
+ Defaults: {};
4827
+ } & {
4828
+ P: {};
4829
+ B: {};
4830
+ D: {};
4831
+ C: {};
4832
+ M: {};
4833
+ Defaults: {};
4834
+ }, Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
4835
+ [x: string]: unknown;
4836
+ }, {
4837
+ [x: string]: never;
4838
+ }, ComputedOptions & {
4839
+ [x: string]: never;
4840
+ }, MethodOptions & {
4841
+ focus: () => Promise<void>;
4842
+ blur: () => Promise<void>;
4843
+ click: () => Promise<void>;
4844
+ }, {}>;
4845
+ __isFragment?: never;
4846
+ __isTeleport?: never;
4847
+ __isSuspense?: never;
4848
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
4849
+ [x: string]: unknown;
4850
+ }, {
4851
+ [x: string]: never;
4852
+ }, {
4853
+ [x: string]: never;
4854
+ }, {
4855
+ focus: () => Promise<void>;
4856
+ blur: () => Promise<void>;
4857
+ click: () => Promise<void>;
4858
+ }, {
4859
+ click: (event: SerializedEvent) => boolean;
4860
+ focus: (event: SerializedFocusEvent) => boolean;
4861
+ blur: (event: SerializedEvent) => boolean;
4862
+ keydown: (event: SerializedKeyboardEvent) => boolean;
4863
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
4864
+ $slots: {
4865
+ [x: string]: never;
4866
+ } & {
4867
+ default?: (...args: never[]) => unknown;
4868
+ };
4869
+ });
4870
+ export declare type UiToggleButtonMethods = {
4871
+ click(): void;
4872
+ focus(): void;
4873
+ blur(): void;
4874
+ };
4875
+ export declare type UiToggleButtonProperties = {
4876
+ id?: string;
4877
+ type?: HTMLButtonElement['type'];
4878
+ pressed?: boolean;
4879
+ disabled?: boolean;
4880
+ focused?: boolean;
4881
+ grouped?: boolean;
4882
+ size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
4883
+ };
4884
+ export declare enum UiToggleButtonSize {
4885
+ LG = "lg",
4886
+ MD = "md",
4887
+ SM = "sm",
4888
+ XS = "xs"
4889
+ }
4890
+ export declare const UiToggleButtonType: SchemaType<"UiToggleButton", RemoteProperties<UiToggleButtonProperties>, RemoteCallable<UiToggleButtonMethods>>;
4891
+ export declare const UiToggleGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
4892
+ export declare type UiToggleGroupEqualPredicate = (a: unknown, b: unknown) => boolean;
4893
+ export declare type UiToggleGroupItem = {
4894
+ value: unknown;
4895
+ label: string;
4896
+ disabled?: boolean;
4897
+ };
4898
+ export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<{
4899
+ id: {
4900
+ type: StringConstructor;
4901
+ default: () => string;
4902
+ };
4903
+ label: {
4904
+ type: StringConstructor;
4905
+ default: string;
4906
+ };
4907
+ value: {
4908
+ type: PropType<UiToggleGroupOptionProperties["value"]>;
4909
+ required: true;
4910
+ };
4911
+ disabled: {
4912
+ type: BooleanConstructor;
4913
+ default: boolean;
4914
+ };
4915
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
4916
+ id: {
4917
+ type: StringConstructor;
4918
+ default: () => string;
4919
+ };
4920
+ label: {
4921
+ type: StringConstructor;
4922
+ default: string;
4923
+ };
4924
+ value: {
4925
+ type: PropType<UiToggleGroupOptionProperties["value"]>;
4926
+ required: true;
4927
+ };
4928
+ disabled: {
4929
+ type: BooleanConstructor;
4930
+ default: boolean;
4931
+ };
4932
+ }>> & Readonly<{}>, {
4933
+ id: string;
4934
+ disabled: boolean;
4935
+ label: string;
4936
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
4937
+ button: ({
4938
+ $: ComponentInternalInstance;
4939
+ $data: {
4940
+ [x: string]: never;
4941
+ };
4942
+ $props: Partial<{}> & Omit<{
4943
+ readonly [x: string]: any;
4944
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
4945
+ $attrs: {
4946
+ [x: string]: unknown;
4947
+ };
4948
+ $refs: {
4949
+ [x: string]: unknown;
4950
+ };
4951
+ $slots: Readonly<{
4952
+ [name: string]: Slot<any> | undefined;
4953
+ }>;
4954
+ $root: ComponentPublicInstance | null;
4955
+ $parent: ComponentPublicInstance | null;
4956
+ $host: Element | null;
4957
+ $emit: (event: string, ...args: any[]) => void;
4958
+ $el: any;
4959
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
4960
+ [x: string]: unknown;
4961
+ }, {
4962
+ [x: string]: never;
4963
+ }, {
4964
+ [x: string]: never;
4965
+ }, {
4966
+ focus: () => Promise<void>;
4967
+ blur: () => Promise<void>;
4968
+ click: () => Promise<void>;
4969
+ }, {
4970
+ click: (event: SerializedEvent) => boolean;
4971
+ focus: (event: SerializedFocusEvent) => boolean;
4972
+ blur: (event: SerializedEvent) => boolean;
4973
+ keydown: (event: SerializedKeyboardEvent) => boolean;
4974
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
4975
+ beforeCreate?: (() => void) | (() => void)[];
4976
+ created?: (() => void) | (() => void)[];
4977
+ beforeMount?: (() => void) | (() => void)[];
4978
+ mounted?: (() => void) | (() => void)[];
4979
+ beforeUpdate?: (() => void) | (() => void)[];
4980
+ updated?: (() => void) | (() => void)[];
4981
+ activated?: (() => void) | (() => void)[];
4982
+ deactivated?: (() => void) | (() => void)[];
4983
+ beforeDestroy?: (() => void) | (() => void)[];
4984
+ beforeUnmount?: (() => void) | (() => void)[];
4985
+ destroyed?: (() => void) | (() => void)[];
4986
+ unmounted?: (() => void) | (() => void)[];
4987
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
4988
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
4989
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
4990
+ };
4991
+ $forceUpdate: () => void;
4992
+ $nextTick: nextTick;
4993
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
4994
+ R,
4995
+ R,
4996
+ OnCleanup
4997
+ ]) => any : (...args: [
4998
+ any,
4999
+ any,
5000
+ OnCleanup
5001
+ ]) => any, options?: WatchOptions): WatchStopHandle;
5002
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, string> & ShallowUnwrapRef<{
5003
+ [x: string]: unknown;
5004
+ }> & {
5005
+ [x: string]: never;
5006
+ } & {
5007
+ [x: string]: unknown;
5008
+ } & MethodOptions & {
5009
+ focus: () => Promise<void>;
5010
+ blur: () => Promise<void>;
5011
+ click: () => Promise<void>;
5012
+ } & ComponentCustomProperties & {} & {
5013
+ $slots: {
5014
+ [x: string]: never;
5015
+ } & {
5016
+ default?: (...args: never[]) => unknown;
5017
+ };
5018
+ }) | null;
5019
+ }, any>, Readonly<{
5020
+ default?: () => VNodeChild;
5021
+ icon?: () => VNodeChild;
5022
+ label?: () => VNodeChild;
5023
+ }> & {
5024
+ default?: () => VNodeChild;
5025
+ icon?: () => VNodeChild;
5026
+ label?: () => VNodeChild;
5027
+ }>;
5028
+ export declare type UiToggleGroupOptionProperties = {
5029
+ id?: string;
5030
+ label?: string;
5031
+ value: unknown;
5032
+ disabled?: boolean;
5033
+ };
5034
+ export declare type UiToggleGroupProperties = {
5035
+ model?: unknown[];
5036
+ options?: UiToggleGroupItem[];
5037
+ equalFn?: UiToggleGroupEqualPredicate;
5038
+ size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
5039
+ rubber?: boolean;
5040
+ disabled?: boolean;
5041
+ ariaLabel?: string;
5042
+ ariaLabelledby?: string;
5043
+ ariaDescribedby?: string;
5044
+ ariaOrientation?: 'horizontal' | 'vertical';
5045
+ };
5046
+ export declare type UiToggleGroupRootProperties = {
5047
+ size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
5048
+ rubber?: boolean;
5049
+ disabled?: boolean;
5050
+ ariaLabel?: string;
5051
+ ariaLabelledby?: string;
5052
+ ariaDescribedby?: string;
5053
+ ariaOrientation?: 'horizontal' | 'vertical';
5054
+ };
4483
5055
  export declare const UiToolbarButton: {
4484
5056
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiToolbarButtonProperties>>>, {
4485
5057
  [x: string]: unknown;
@@ -4743,6 +5315,7 @@ export declare const UiYandexMap: {
4743
5315
  declare type UiYandexMapProperties = {
4744
5316
  apiKey: string;
4745
5317
  address?: string;
5318
+ plugins?: YandexMapPlugin[];
4746
5319
  };
4747
5320
  export declare const UiYandexMapType: SchemaType<"UiYandexMap", RemoteProperties<UiYandexMapProperties>, Record<string, never>>;
4748
5321
  export declare const usePreview: (workers?: Ref<string[]>) => {
@@ -4774,5 +5347,18 @@ declare type ViolationPayload = {
4774
5347
  value: number | null;
4775
5348
  codes: VIOLATION[];
4776
5349
  };
5350
+ declare enum WIDTH {
5351
+ FIT = "fit",
5352
+ FLUID = "fluid"
5353
+ }
5354
+ declare type WidthValue = Numeric | WIDTH | `${WIDTH}`;
5355
+ declare const YANDEX_MAP_PLUGIN: {
5356
+ readonly LOCATOR: "locator";
5357
+ };
5358
+ declare type YandexMapLocatorPlugin = {
5359
+ type: typeof YANDEX_MAP_PLUGIN.LOCATOR;
5360
+ url: string;
5361
+ };
5362
+ declare type YandexMapPlugin = YandexMapLocatorPlugin;
4777
5363
  export {};
4778
5364