@retailcrm/embed-ui-v1-components 0.9.19 → 0.9.22-alpha.1

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 (123) hide show
  1. package/AGENTS.md +9 -1
  2. package/README.md +5 -2
  3. package/assets/sprites/actions/add-square-outlined.svg +8 -0
  4. package/assets/sprites/actions/drag.svg +8 -0
  5. package/bin/embed-ui-v1-components.mjs +231 -46
  6. package/bin/postinstall.mjs +3 -2
  7. package/dist/host.cjs +1223 -501
  8. package/dist/host.css +637 -10
  9. package/dist/host.d.ts +152 -78
  10. package/dist/host.js +1224 -502
  11. package/dist/remote.cjs +1358 -298
  12. package/dist/remote.d.ts +805 -67
  13. package/dist/remote.js +1360 -300
  14. package/docs/AI.md +99 -17
  15. package/docs/COMPONENTS.md +58 -59
  16. package/docs/FORMAT.md +10 -10
  17. package/docs/PROFILES.md +39 -22
  18. package/docs/README.md +11 -5
  19. package/docs/profiles/components/UiAddButton.yml +134 -0
  20. package/docs/profiles/components/UiAlert.yml +105 -0
  21. package/docs/profiles/components/UiAvatar.yml +88 -0
  22. package/docs/profiles/{UiAvatarList.yml → components/UiAvatarList.yml} +26 -0
  23. package/docs/profiles/{UiButton.yml → components/UiButton.yml} +14 -8
  24. package/docs/profiles/components/UiCalendar.yml +190 -0
  25. package/docs/profiles/components/UiCheckbox.yml +111 -0
  26. package/docs/profiles/components/UiCollapse.yml +129 -0
  27. package/docs/profiles/components/UiCollapseBox.yml +143 -0
  28. package/docs/profiles/{UiCollapseGroup.yml → components/UiCollapseGroup.yml} +24 -0
  29. package/docs/profiles/components/UiCopyButton.yml +104 -0
  30. package/docs/profiles/components/UiDate.yml +84 -0
  31. package/docs/profiles/components/UiDatePicker.yml +138 -0
  32. package/docs/profiles/components/UiError.yml +123 -0
  33. package/docs/profiles/{UiField.yml → components/UiField.yml} +46 -15
  34. package/docs/profiles/components/UiInfobox.yml +130 -0
  35. package/docs/profiles/components/UiLink.yml +111 -0
  36. package/docs/profiles/components/UiLoader.yml +71 -0
  37. package/docs/profiles/components/UiMenuItem.yml +93 -0
  38. package/docs/profiles/{UiMenuItemGroup.yml → components/UiMenuItemGroup.yml} +25 -0
  39. package/docs/profiles/components/UiModalSidebar.yml +156 -0
  40. package/docs/profiles/components/UiModalWindow.yml +181 -0
  41. package/docs/profiles/{UiModalWindowSurface.yml → components/UiModalWindowSurface.yml} +30 -0
  42. package/docs/profiles/components/UiNumberStepper.yml +100 -0
  43. package/docs/profiles/{UiPageHeader.yml → components/UiPageHeader.yml} +39 -23
  44. package/docs/profiles/components/UiPopconfirm.yml +164 -0
  45. package/docs/profiles/{UiPopper.yml → components/UiPopper.yml} +66 -13
  46. package/docs/profiles/{UiPopperConnector.yml → components/UiPopperConnector.yml} +5 -25
  47. package/docs/profiles/{UiPopperTarget.yml → components/UiPopperTarget.yml} +5 -25
  48. package/docs/profiles/components/UiRadio.yml +91 -0
  49. package/docs/profiles/{UiRadioSwitch.yml → components/UiRadioSwitch.yml} +55 -32
  50. package/docs/profiles/{UiRadioSwitchOption.yml → components/UiRadioSwitchOption.yml} +7 -13
  51. package/docs/profiles/components/UiScrollBox.yml +108 -0
  52. package/docs/profiles/{UiSelect.yml → components/UiSelect.yml} +133 -44
  53. package/docs/profiles/components/UiSelectOption.yml +74 -0
  54. package/docs/profiles/components/UiSelectOptionGroup.yml +66 -0
  55. package/docs/profiles/components/UiSkeleton.yml +82 -0
  56. package/docs/profiles/components/UiSlider.yml +161 -0
  57. package/docs/profiles/components/UiSwitch.yml +123 -0
  58. package/docs/profiles/components/UiTab.yml +234 -0
  59. package/docs/profiles/{UiTabGroup.yml → components/UiTabGroup.yml} +0 -30
  60. package/docs/profiles/components/UiTable.yml +622 -0
  61. package/docs/profiles/{UiTableBodyCell.yml → components/UiTableBodyCell.yml} +26 -0
  62. package/docs/profiles/components/UiTableColumn.yml +87 -0
  63. package/docs/profiles/components/UiTableFooterButton.yml +85 -0
  64. package/docs/profiles/components/UiTableFooterSection.yml +73 -0
  65. package/docs/profiles/{UiTableHeadCell.yml → components/UiTableHeadCell.yml} +26 -0
  66. package/docs/profiles/{UiTableSorter.yml → components/UiTableSorter.yml} +27 -0
  67. package/docs/profiles/components/UiTag.yml +90 -0
  68. package/docs/profiles/{UiTextbox.yml → components/UiTextbox.yml} +20 -32
  69. package/docs/profiles/components/UiTimePicker.yml +144 -0
  70. package/docs/profiles/{UiToggleButton.yml → components/UiToggleButton.yml} +16 -11
  71. package/docs/profiles/{UiToggleGroup.yml → components/UiToggleGroup.yml} +25 -13
  72. package/docs/profiles/{UiToggleGroupOption.yml → components/UiToggleGroupOption.yml} +7 -11
  73. package/docs/profiles/components/UiToolbarButton.yml +87 -0
  74. package/docs/profiles/components/UiToolbarLink.yml +80 -0
  75. package/docs/profiles/components/UiTooltip.yml +97 -0
  76. package/docs/profiles/components/UiTransition.yml +62 -0
  77. package/docs/profiles/components/UiYandexMap.yml +104 -0
  78. package/docs/profiles/pages/CardSettingsPage.yml +58 -0
  79. package/docs/profiles/pages/CollapseBlockPage.yml +46 -0
  80. package/docs/profiles/pages/EntityListPage.yml +66 -0
  81. package/docs/profiles/pages/ModalSidebar.yml +158 -0
  82. package/docs/profiles/pages/ModalWindow.yml +55 -0
  83. package/docs/profiles/pages/MultiColumnPage.yml +27 -0
  84. package/docs/profiles/pages/PageComposition.yml +56 -0
  85. package/package.json +15 -15
  86. package/docs/profiles/UiAddButton.yml +0 -57
  87. package/docs/profiles/UiAlert.yml +0 -48
  88. package/docs/profiles/UiAvatar.yml +0 -48
  89. package/docs/profiles/UiCalendar.yml +0 -48
  90. package/docs/profiles/UiCheckbox.yml +0 -53
  91. package/docs/profiles/UiCollapse.yml +0 -40
  92. package/docs/profiles/UiCollapseBox.yml +0 -51
  93. package/docs/profiles/UiCopyButton.yml +0 -52
  94. package/docs/profiles/UiDate.yml +0 -38
  95. package/docs/profiles/UiDatePicker.yml +0 -59
  96. package/docs/profiles/UiError.yml +0 -32
  97. package/docs/profiles/UiImage.yml +0 -39
  98. package/docs/profiles/UiInfobox.yml +0 -45
  99. package/docs/profiles/UiLink.yml +0 -51
  100. package/docs/profiles/UiLoader.yml +0 -38
  101. package/docs/profiles/UiMenuItem.yml +0 -57
  102. package/docs/profiles/UiModalSidebar.yml +0 -46
  103. package/docs/profiles/UiModalWindow.yml +0 -44
  104. package/docs/profiles/UiNumberStepper.yml +0 -52
  105. package/docs/profiles/UiRadio.yml +0 -38
  106. package/docs/profiles/UiScrollBox.yml +0 -31
  107. package/docs/profiles/UiSelectOption.yml +0 -44
  108. package/docs/profiles/UiSelectOptionGroup.yml +0 -38
  109. package/docs/profiles/UiSkeleton.yml +0 -41
  110. package/docs/profiles/UiSlider.yml +0 -38
  111. package/docs/profiles/UiSwitch.yml +0 -37
  112. package/docs/profiles/UiTab.yml +0 -119
  113. package/docs/profiles/UiTable.yml +0 -152
  114. package/docs/profiles/UiTableColumn.yml +0 -50
  115. package/docs/profiles/UiTableFooterButton.yml +0 -44
  116. package/docs/profiles/UiTableFooterSection.yml +0 -38
  117. package/docs/profiles/UiTag.yml +0 -41
  118. package/docs/profiles/UiTimePicker.yml +0 -46
  119. package/docs/profiles/UiToolbarButton.yml +0 -37
  120. package/docs/profiles/UiToolbarLink.yml +0 -32
  121. package/docs/profiles/UiTooltip.yml +0 -43
  122. package/docs/profiles/UiTransition.yml +0 -27
  123. package/docs/profiles/UiYandexMap.yml +0 -29
package/dist/remote.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Alignment } from '@floating-ui/dom';
2
2
  import { AllowedComponentProps } from 'vue';
3
+ import { Attrs } from 'vue';
3
4
  import { Channel } from '@omnicajs/vue-remote/remote';
4
5
  import { ComponentCustomProperties } from 'vue';
5
6
  import { ComponentCustomProps } from 'vue';
@@ -134,7 +135,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
134
135
  label: string;
135
136
  hintAriaLabel: string;
136
137
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
137
- declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
138
+ declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
139
+ disabled: boolean;
140
+ for: string;
141
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
142
+ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
138
143
  /** Уникальный идентификатор корневого элемента */
139
144
  id: {
140
145
  type: PropType<UiPageHeaderProperties["id"]>;
@@ -271,9 +276,7 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
271
276
  $props: Partial<{}> & Omit<{
272
277
  readonly [x: string]: any;
273
278
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
274
- $attrs: {
275
- [x: string]: unknown;
276
- };
279
+ $attrs: Attrs;
277
280
  $refs: {
278
281
  [x: string]: unknown;
279
282
  };
@@ -328,9 +331,9 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
328
331
  any,
329
332
  OnCleanup
330
333
  ]) => any, options?: WatchOptions): WatchStopHandle;
331
- } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & ShallowUnwrapRef<{
334
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & {
332
335
  [x: string]: unknown;
333
- }> & {
336
+ } & {
334
337
  [x: string]: never;
335
338
  } & {
336
339
  [x: string]: unknown;
@@ -345,7 +348,227 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
345
348
  };
346
349
  }) | null;
347
350
  }, any>;
348
- declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
351
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
352
+ id: {
353
+ type: PropType<UiPopconfirmProperties["id"]>;
354
+ default: undefined;
355
+ };
356
+ visible: {
357
+ type: BooleanConstructor;
358
+ default: boolean;
359
+ };
360
+ title: {
361
+ type: StringConstructor;
362
+ default: string;
363
+ };
364
+ okVariant: {
365
+ type: PropType<UiPopconfirmProperties["okVariant"]>;
366
+ default: VARIANT;
367
+ };
368
+ okTitle: {
369
+ type: PropType<UiPopconfirmProperties["okTitle"]>;
370
+ default: null;
371
+ };
372
+ cancelTitle: {
373
+ type: PropType<UiPopconfirmProperties["cancelTitle"]>;
374
+ default: null;
375
+ };
376
+ cancelAppearance: {
377
+ type: PropType<UiPopconfirmProperties["cancelAppearance"]>;
378
+ default: APPEARANCE;
379
+ };
380
+ cancelVariant: {
381
+ type: PropType<UiPopconfirmProperties["cancelVariant"]>;
382
+ default: VARIANT;
383
+ };
384
+ buttonSize: {
385
+ type: PropType<UiPopconfirmProperties["buttonSize"]>;
386
+ default: SIZE;
387
+ };
388
+ placement: {
389
+ type: PropType<UiPopconfirmProperties["placement"]>;
390
+ default: string;
391
+ };
392
+ popperClass: {
393
+ type: PropType<UiPopconfirmProperties["popperClass"]>;
394
+ default: null;
395
+ };
396
+ popperOptions: {
397
+ type: PropType<UiPopconfirmPopperOptions>;
398
+ default: () => {};
399
+ };
400
+ locale: {
401
+ type: PropType<UiPopconfirmProperties["locale"]>;
402
+ default: undefined;
403
+ };
404
+ }>, {
405
+ adjust: () => Promise<void>;
406
+ close: () => Promise<void>;
407
+ dispose: () => Promise<void>;
408
+ open: () => Promise<void>;
409
+ toggle: () => Promise<void>;
410
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
411
+ toggle: (visible: boolean) => any;
412
+ "update:visible": (visible: boolean) => any;
413
+ cancel: () => any;
414
+ ok: () => any;
415
+ }, string, PublicProps, Readonly<ExtractPropTypes<{
416
+ id: {
417
+ type: PropType<UiPopconfirmProperties["id"]>;
418
+ default: undefined;
419
+ };
420
+ visible: {
421
+ type: BooleanConstructor;
422
+ default: boolean;
423
+ };
424
+ title: {
425
+ type: StringConstructor;
426
+ default: string;
427
+ };
428
+ okVariant: {
429
+ type: PropType<UiPopconfirmProperties["okVariant"]>;
430
+ default: VARIANT;
431
+ };
432
+ okTitle: {
433
+ type: PropType<UiPopconfirmProperties["okTitle"]>;
434
+ default: null;
435
+ };
436
+ cancelTitle: {
437
+ type: PropType<UiPopconfirmProperties["cancelTitle"]>;
438
+ default: null;
439
+ };
440
+ cancelAppearance: {
441
+ type: PropType<UiPopconfirmProperties["cancelAppearance"]>;
442
+ default: APPEARANCE;
443
+ };
444
+ cancelVariant: {
445
+ type: PropType<UiPopconfirmProperties["cancelVariant"]>;
446
+ default: VARIANT;
447
+ };
448
+ buttonSize: {
449
+ type: PropType<UiPopconfirmProperties["buttonSize"]>;
450
+ default: SIZE;
451
+ };
452
+ placement: {
453
+ type: PropType<UiPopconfirmProperties["placement"]>;
454
+ default: string;
455
+ };
456
+ popperClass: {
457
+ type: PropType<UiPopconfirmProperties["popperClass"]>;
458
+ default: null;
459
+ };
460
+ popperOptions: {
461
+ type: PropType<UiPopconfirmPopperOptions>;
462
+ default: () => {};
463
+ };
464
+ locale: {
465
+ type: PropType<UiPopconfirmProperties["locale"]>;
466
+ default: undefined;
467
+ };
468
+ }>> & Readonly<{
469
+ onToggle?: ((visible: boolean) => any) | undefined;
470
+ "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
471
+ onCancel?: (() => any) | undefined;
472
+ onOk?: (() => any) | undefined;
473
+ }>, {
474
+ id: string | undefined;
475
+ title: string;
476
+ locale: Locale | undefined;
477
+ placement: PlacementLiteral | PlacementOptions | undefined;
478
+ visible: boolean;
479
+ popperClass: string | null | undefined;
480
+ popperOptions: Partial<Omit<UiPopperProperties, "target" | "targetTriggers" | "popperTriggers" | "globalTriggers" | "placement" | "visible" | "withArrow">>;
481
+ okVariant: "success" | "danger" | "default" | VARIANT | undefined;
482
+ okTitle: string | null | undefined;
483
+ cancelTitle: string | null | undefined;
484
+ cancelAppearance: "primary" | "outlined" | "secondary" | "tertiary" | APPEARANCE | undefined;
485
+ cancelVariant: "success" | "danger" | "default" | VARIANT | undefined;
486
+ buttonSize: "xs" | "sm" | "lg" | "md" | SIZE | undefined;
487
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
488
+ popper: ({
489
+ $: ComponentInternalInstance;
490
+ $data: {
491
+ [x: string]: never;
492
+ };
493
+ $props: Partial<{}> & Omit<{
494
+ readonly [x: string]: any;
495
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
496
+ $attrs: Attrs;
497
+ $refs: {
498
+ [x: string]: unknown;
499
+ };
500
+ $slots: Readonly<{
501
+ [name: string]: Slot<any> | undefined;
502
+ }>;
503
+ $root: ComponentPublicInstance | null;
504
+ $parent: ComponentPublicInstance | null;
505
+ $host: Element | null;
506
+ $emit: (event: string, ...args: any[]) => void;
507
+ $el: any;
508
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiPopconfirmPopperProperties>>>, {
509
+ [x: string]: unknown;
510
+ }, {
511
+ [x: string]: never;
512
+ }, {
513
+ [x: string]: never;
514
+ }, {
515
+ adjust: () => Promise<void>;
516
+ close: () => Promise<void>;
517
+ dispose: () => Promise<void>;
518
+ open: () => Promise<void>;
519
+ }, {
520
+ 'update:visible': (visible: boolean) => boolean;
521
+ toggle: (visible: boolean) => boolean;
522
+ cancel: () => boolean;
523
+ ok: () => boolean;
524
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
525
+ beforeCreate?: (() => void) | (() => void)[];
526
+ created?: (() => void) | (() => void)[];
527
+ beforeMount?: (() => void) | (() => void)[];
528
+ mounted?: (() => void) | (() => void)[];
529
+ beforeUpdate?: (() => void) | (() => void)[];
530
+ updated?: (() => void) | (() => void)[];
531
+ activated?: (() => void) | (() => void)[];
532
+ deactivated?: (() => void) | (() => void)[];
533
+ beforeDestroy?: (() => void) | (() => void)[];
534
+ beforeUnmount?: (() => void) | (() => void)[];
535
+ destroyed?: (() => void) | (() => void)[];
536
+ unmounted?: (() => void) | (() => void)[];
537
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
538
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
539
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
540
+ };
541
+ $forceUpdate: () => void;
542
+ $nextTick: nextTick;
543
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
544
+ R,
545
+ R,
546
+ OnCleanup
547
+ ]) => any : (...args: [
548
+ any,
549
+ any,
550
+ OnCleanup
551
+ ]) => any, options?: WatchOptions): WatchStopHandle;
552
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPopconfirmPopperProperties>>>, string> & {
553
+ [x: string]: unknown;
554
+ } & {
555
+ [x: string]: never;
556
+ } & {
557
+ [x: string]: unknown;
558
+ } & MethodOptions & {
559
+ adjust: () => Promise<void>;
560
+ close: () => Promise<void>;
561
+ dispose: () => Promise<void>;
562
+ open: () => Promise<void>;
563
+ } & ComponentCustomProperties & {} & {
564
+ $slots: {
565
+ [x: string]: unknown;
566
+ } & {
567
+ default?: (...args: never[]) => unknown;
568
+ };
569
+ }) | null;
570
+ }, any>;
571
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
349
572
  /** Выбранное значение */
350
573
  value: {
351
574
  type: PropType<UiRadioSwitchProperties["value"]>;
@@ -425,7 +648,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
425
648
  rubber: boolean;
426
649
  equalFn: EqualPredicate;
427
650
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
428
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
651
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
429
652
  model: {
430
653
  type: PropType<UiToggleGroupProperties["model"]>;
431
654
  default: () => never[];
@@ -527,7 +750,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
527
750
  ariaDescribedby: string;
528
751
  ariaOrientation: "horizontal" | "vertical" | undefined;
529
752
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
530
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
753
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
531
754
  /** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
532
755
  id: {
533
756
  type: StringConstructor;
@@ -795,9 +1018,7 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
795
1018
  $props: Partial<{}> & Omit<{
796
1019
  readonly [x: string]: any;
797
1020
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
798
- $attrs: {
799
- [x: string]: unknown;
800
- };
1021
+ $attrs: Attrs;
801
1022
  $refs: {
802
1023
  [x: string]: unknown;
803
1024
  };
@@ -853,9 +1074,9 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
853
1074
  any,
854
1075
  OnCleanup
855
1076
  ]) => any, options?: WatchOptions): WatchStopHandle;
856
- } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, string> & ShallowUnwrapRef<{
1077
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, string> & {
857
1078
  [x: string]: unknown;
858
- }> & {
1079
+ } & {
859
1080
  [x: string]: never;
860
1081
  } & {
861
1082
  [x: string]: unknown;
@@ -870,7 +1091,7 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
870
1091
  };
871
1092
  }) | null;
872
1093
  }, any>;
873
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
1094
+ declare const __VLS_component_8: DefineComponent<ExtractPropTypes<{
874
1095
  /** Значение опции */
875
1096
  value: {
876
1097
  type: PropType<unknown>;
@@ -964,7 +1185,7 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
964
1185
  accent: boolean;
965
1186
  counter: string | number | null;
966
1187
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
967
- declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
1188
+ declare const __VLS_component_9: DefineComponent<ExtractPropTypes<{
968
1189
  /** Заголовок группы опций */
969
1190
  label: {
970
1191
  type: StringConstructor;
@@ -979,6 +1200,13 @@ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
979
1200
  }>> & Readonly<{}>, {
980
1201
  label: string;
981
1202
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1203
+ declare type __VLS_PrettifyLocal<T> = {
1204
+ [K in keyof T]: T[K];
1205
+ } & {};
1206
+ declare type __VLS_Props = {
1207
+ disabled?: boolean;
1208
+ for?: string;
1209
+ };
982
1210
  declare function __VLS_template(): {
983
1211
  attrs: Partial<{}>;
984
1212
  slots: {
@@ -1001,8 +1229,16 @@ declare function __VLS_template(): {
1001
1229
  declare function __VLS_template_2(): {
1002
1230
  attrs: Partial<{}>;
1003
1231
  slots: {
1004
- addon?(_: {}): any;
1232
+ default?(_: {}): any;
1233
+ };
1234
+ refs: {};
1235
+ rootEl: any;
1236
+ };
1237
+ declare function __VLS_template_3(): {
1238
+ attrs: Partial<{}>;
1239
+ slots: {
1005
1240
  actions?(_: {}): any;
1241
+ addon?(_: {}): any;
1006
1242
  };
1007
1243
  refs: {
1008
1244
  header: ({
@@ -1013,9 +1249,7 @@ declare function __VLS_template_2(): {
1013
1249
  $props: Partial<{}> & Omit<{
1014
1250
  readonly [x: string]: any;
1015
1251
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
1016
- $attrs: {
1017
- [x: string]: unknown;
1018
- };
1252
+ $attrs: Attrs;
1019
1253
  $refs: {
1020
1254
  [x: string]: unknown;
1021
1255
  };
@@ -1070,9 +1304,9 @@ declare function __VLS_template_2(): {
1070
1304
  any,
1071
1305
  OnCleanup
1072
1306
  ]) => any, options?: WatchOptions): WatchStopHandle;
1073
- } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & ShallowUnwrapRef<{
1307
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & {
1074
1308
  [x: string]: unknown;
1075
- }> & {
1309
+ } & {
1076
1310
  [x: string]: never;
1077
1311
  } & {
1078
1312
  [x: string]: unknown;
@@ -1089,7 +1323,104 @@ declare function __VLS_template_2(): {
1089
1323
  };
1090
1324
  rootEl: any;
1091
1325
  };
1092
- declare function __VLS_template_3(): {
1326
+ declare function __VLS_template_4(): {
1327
+ attrs: Partial<{}>;
1328
+ slots: {
1329
+ trigger?(_: {
1330
+ open: boolean;
1331
+ }): any;
1332
+ title?(_: {}): any;
1333
+ default?(_: {}): any;
1334
+ 'cancel-text'?(_: {}): any;
1335
+ 'ok-text'?(_: {}): any;
1336
+ };
1337
+ refs: {
1338
+ popper: ({
1339
+ $: ComponentInternalInstance;
1340
+ $data: {
1341
+ [x: string]: never;
1342
+ };
1343
+ $props: Partial<{}> & Omit<{
1344
+ readonly [x: string]: any;
1345
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
1346
+ $attrs: Attrs;
1347
+ $refs: {
1348
+ [x: string]: unknown;
1349
+ };
1350
+ $slots: Readonly<{
1351
+ [name: string]: Slot<any> | undefined;
1352
+ }>;
1353
+ $root: ComponentPublicInstance | null;
1354
+ $parent: ComponentPublicInstance | null;
1355
+ $host: Element | null;
1356
+ $emit: (event: string, ...args: any[]) => void;
1357
+ $el: any;
1358
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiPopconfirmPopperProperties>>>, {
1359
+ [x: string]: unknown;
1360
+ }, {
1361
+ [x: string]: never;
1362
+ }, {
1363
+ [x: string]: never;
1364
+ }, {
1365
+ adjust: () => Promise<void>;
1366
+ close: () => Promise<void>;
1367
+ dispose: () => Promise<void>;
1368
+ open: () => Promise<void>;
1369
+ }, {
1370
+ 'update:visible': (visible: boolean) => boolean;
1371
+ toggle: (visible: boolean) => boolean;
1372
+ cancel: () => boolean;
1373
+ ok: () => boolean;
1374
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1375
+ beforeCreate?: (() => void) | (() => void)[];
1376
+ created?: (() => void) | (() => void)[];
1377
+ beforeMount?: (() => void) | (() => void)[];
1378
+ mounted?: (() => void) | (() => void)[];
1379
+ beforeUpdate?: (() => void) | (() => void)[];
1380
+ updated?: (() => void) | (() => void)[];
1381
+ activated?: (() => void) | (() => void)[];
1382
+ deactivated?: (() => void) | (() => void)[];
1383
+ beforeDestroy?: (() => void) | (() => void)[];
1384
+ beforeUnmount?: (() => void) | (() => void)[];
1385
+ destroyed?: (() => void) | (() => void)[];
1386
+ unmounted?: (() => void) | (() => void)[];
1387
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1388
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1389
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1390
+ };
1391
+ $forceUpdate: () => void;
1392
+ $nextTick: nextTick;
1393
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
1394
+ R,
1395
+ R,
1396
+ OnCleanup
1397
+ ]) => any : (...args: [
1398
+ any,
1399
+ any,
1400
+ OnCleanup
1401
+ ]) => any, options?: WatchOptions): WatchStopHandle;
1402
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPopconfirmPopperProperties>>>, string> & {
1403
+ [x: string]: unknown;
1404
+ } & {
1405
+ [x: string]: never;
1406
+ } & {
1407
+ [x: string]: unknown;
1408
+ } & MethodOptions & {
1409
+ adjust: () => Promise<void>;
1410
+ close: () => Promise<void>;
1411
+ dispose: () => Promise<void>;
1412
+ open: () => Promise<void>;
1413
+ } & ComponentCustomProperties & {} & {
1414
+ $slots: {
1415
+ [x: string]: unknown;
1416
+ } & {
1417
+ default?: (...args: never[]) => unknown;
1418
+ };
1419
+ }) | null;
1420
+ };
1421
+ rootEl: any;
1422
+ };
1423
+ declare function __VLS_template_5(): {
1093
1424
  attrs: Partial<{}>;
1094
1425
  slots: Readonly<{
1095
1426
  /** Набор опций переключателя */
@@ -1109,7 +1440,7 @@ declare function __VLS_template_3(): {
1109
1440
  refs: {};
1110
1441
  rootEl: any;
1111
1442
  };
1112
- declare function __VLS_template_4(): {
1443
+ declare function __VLS_template_6(): {
1113
1444
  attrs: Partial<{}>;
1114
1445
  slots: Readonly<{
1115
1446
  default?: () => VNodeChild;
@@ -1125,7 +1456,7 @@ declare function __VLS_template_4(): {
1125
1456
  refs: {};
1126
1457
  rootEl: any;
1127
1458
  };
1128
- declare function __VLS_template_5(): {
1459
+ declare function __VLS_template_7(): {
1129
1460
  attrs: Partial<{}>;
1130
1461
  slots: {
1131
1462
  default?(_: {}): any;
@@ -1139,9 +1470,7 @@ declare function __VLS_template_5(): {
1139
1470
  $props: Partial<{}> & Omit<{
1140
1471
  readonly [x: string]: any;
1141
1472
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
1142
- $attrs: {
1143
- [x: string]: unknown;
1144
- };
1473
+ $attrs: Attrs;
1145
1474
  $refs: {
1146
1475
  [x: string]: unknown;
1147
1476
  };
@@ -1197,9 +1526,9 @@ declare function __VLS_template_5(): {
1197
1526
  any,
1198
1527
  OnCleanup
1199
1528
  ]) => any, options?: WatchOptions): WatchStopHandle;
1200
- } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, string> & ShallowUnwrapRef<{
1529
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, string> & {
1201
1530
  [x: string]: unknown;
1202
- }> & {
1531
+ } & {
1203
1532
  [x: string]: never;
1204
1533
  } & {
1205
1534
  [x: string]: unknown;
@@ -1216,7 +1545,7 @@ declare function __VLS_template_5(): {
1216
1545
  };
1217
1546
  rootEl: any;
1218
1547
  };
1219
- declare function __VLS_template_6(): {
1548
+ declare function __VLS_template_8(): {
1220
1549
  attrs: Partial<{}>;
1221
1550
  slots: {
1222
1551
  default?(_: {
@@ -1236,7 +1565,7 @@ declare function __VLS_template_6(): {
1236
1565
  refs: {};
1237
1566
  rootEl: HTMLDivElement;
1238
1567
  };
1239
- declare function __VLS_template_7(): {
1568
+ declare function __VLS_template_9(): {
1240
1569
  attrs: Partial<{}>;
1241
1570
  slots: {
1242
1571
  option?(_: {}): any;
@@ -1256,11 +1585,23 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1256
1585
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
1257
1586
  declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
1258
1587
  declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
1588
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
1589
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
1259
1590
  declare type __VLS_WithTemplateSlots<T, S> = T & {
1260
1591
  new (): {
1261
1592
  $slots: S;
1262
1593
  };
1263
1594
  };
1595
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
1596
+ new (): {
1597
+ $slots: S;
1598
+ };
1599
+ };
1600
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1601
+ new (): {
1602
+ $slots: S;
1603
+ };
1604
+ };
1264
1605
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1265
1606
  new (): {
1266
1607
  $slots: S;
@@ -1444,6 +1785,30 @@ declare enum INPUTMODE {
1444
1785
  URL = "url"
1445
1786
  }
1446
1787
  declare type Locale = 'en-GB' | 'es-ES' | 'ru-RU';
1788
+ export declare enum LogicTreeChildrenView {
1789
+ GROUPED = "grouped",
1790
+ PLAIN = "plain"
1791
+ }
1792
+ export declare enum LogicTreeConjunction {
1793
+ AND = "and",
1794
+ OR = "or"
1795
+ }
1796
+ export declare enum LogicTreeNodeKind {
1797
+ BRANCH = "branch",
1798
+ CONDITION = "condition",
1799
+ GROUP = "group"
1800
+ }
1801
+ export declare enum LogicTreeNodeView {
1802
+ ACTIONS = "actions",
1803
+ SUMMARY = "summary"
1804
+ }
1805
+ export declare enum LogicTreeTone {
1806
+ BLUE = "blue",
1807
+ GREEN = "green",
1808
+ GREY = "grey",
1809
+ RED = "red",
1810
+ YELLOW = "yellow"
1811
+ }
1447
1812
  declare type MODAL_SIDEBAR_ROLE = 'dialog' | 'alertdialog';
1448
1813
  declare type MODAL_WINDOW_ROLE = 'dialog' | 'alertdialog';
1449
1814
  export declare const mountEndpointRoot: (channel: Channel) => Promise<RemoteRoot<SchemaOf<string>>>;
@@ -1518,6 +1883,7 @@ declare type SerializedDOMRect = {
1518
1883
  [K in Exclude<keyof DOMRect, 'toJSON'>]: DOMRect[K];
1519
1884
  };
1520
1885
  declare type ShowingOptions = {
1886
+ visible?: boolean;
1521
1887
  shown?: boolean;
1522
1888
  targetTriggers?: Trigger[] | TriggerSchema;
1523
1889
  popperTriggers?: Trigger[] | TriggerSchema;
@@ -1528,16 +1894,16 @@ declare type ShowingOptions = {
1528
1894
  container?: string | null;
1529
1895
  };
1530
1896
  declare enum SIZE {
1531
- XS = "xs",
1532
- SM = "sm",
1533
- LG = "lg"
1534
- }
1535
- declare enum SIZE_2 {
1536
1897
  LG = "lg",
1537
1898
  MD = "md",
1538
1899
  SM = "sm",
1539
1900
  XS = "xs"
1540
1901
  }
1902
+ declare enum SIZE_2 {
1903
+ XS = "xs",
1904
+ SM = "sm",
1905
+ LG = "lg"
1906
+ }
1541
1907
  declare enum SIZE_3 {
1542
1908
  SM = "sm",
1543
1909
  MD = "md"
@@ -1768,7 +2134,7 @@ declare type UiAlertMethods = {
1768
2134
  scrollIntoView(): void;
1769
2135
  };
1770
2136
  declare type UiAlertProperties = {
1771
- variant?: VARIANT | `${VARIANT}`;
2137
+ variant?: VARIANT_2 | `${VARIANT_2}`;
1772
2138
  text?: string;
1773
2139
  shown?: boolean;
1774
2140
  closable?: boolean;
@@ -1880,7 +2246,7 @@ declare type UiAvatarListProperties = {
1880
2246
  src: string;
1881
2247
  name: string;
1882
2248
  }>;
1883
- size?: SIZE;
2249
+ size?: SIZE_2;
1884
2250
  };
1885
2251
  export declare const UiAvatarListType: SchemaType<"UiAvatarList", RemoteProperties<UiAvatarListProperties>>;
1886
2252
  declare type UiAvatarProperties = {
@@ -1890,7 +2256,7 @@ declare type UiAvatarProperties = {
1890
2256
  status?: STATUS;
1891
2257
  vip?: boolean;
1892
2258
  bad?: boolean;
1893
- size?: SIZE;
2259
+ size?: SIZE_2;
1894
2260
  optimize?: boolean | {
1895
2261
  resize?: Dimensions;
1896
2262
  crop?: Dimensions;
@@ -1958,8 +2324,8 @@ declare type UiButtonProperties = {
1958
2324
  type?: HTMLButtonElement['type'];
1959
2325
  href?: HTMLAnchorElement['href'] | undefined;
1960
2326
  appearance?: APPEARANCE | `${APPEARANCE}`;
1961
- variant?: VARIANT_2 | `${VARIANT_2}`;
1962
- size?: SIZE_2 | `${SIZE_2}`;
2327
+ variant?: VARIANT | `${VARIANT}`;
2328
+ size?: SIZE | `${SIZE}`;
1963
2329
  active?: boolean;
1964
2330
  disabled?: boolean;
1965
2331
  locked?: boolean;
@@ -2361,7 +2727,7 @@ export declare const UiCopyButton: {
2361
2727
  });
2362
2728
  declare type UiCopyButtonProperties = {
2363
2729
  text: string;
2364
- size: SIZE_2;
2730
+ size: SIZE;
2365
2731
  tooltipOptions?: TooltipOptions;
2366
2732
  };
2367
2733
  export declare const UiCopyButtonType: SchemaType<"UiCopyButton", RemoteProperties<UiCopyButtonProperties>>;
@@ -2765,6 +3131,330 @@ declare type UiLoaderProperties = {
2765
3131
  overlay?: boolean;
2766
3132
  };
2767
3133
  export declare const UiLoaderType: SchemaType_2<"UiLoader", RemoteProperties<UiLoaderProperties>, Record<string, never>>;
3134
+ export declare const UiLogicTree: <TNodeData extends object = Record<string, never>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3135
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3136
+ readonly onToggle?: ((payload: {
3137
+ expanded: boolean;
3138
+ nodeId: string;
3139
+ }) => any) | undefined;
3140
+ readonly onRemove?: ((nodeId: string) => any) | undefined;
3141
+ readonly onDrop?: ((payload: UiLogicTreeDropPayload) => any) | undefined;
3142
+ readonly onAction?: ((payload: {
3143
+ actionId: string;
3144
+ nodeId: string;
3145
+ }) => any) | undefined;
3146
+ readonly "onControl-action"?: ((payload: {
3147
+ controlId: string;
3148
+ nodeId: string;
3149
+ }) => any) | undefined;
3150
+ readonly "onControl:update"?: ((payload: {
3151
+ controlId: string;
3152
+ nodeId: string;
3153
+ value: string | number | null;
3154
+ }) => any) | undefined;
3155
+ readonly "onNode:add"?: ((payload: UiLogicTreeNodeAddPayload) => any) | undefined;
3156
+ readonly "onNode:edit"?: ((payload: UiLogicTreeNodeEditPayload) => any) | undefined;
3157
+ readonly "onNode:remove"?: ((payload: UiLogicTreeNodeRemovePayload) => any) | undefined;
3158
+ readonly "onUpdate:items"?: ((items: UiLogicTreeNode<TNodeData>[]) => any) | undefined;
3159
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onDrop" | "onToggle" | "onRemove" | "onAction" | "onControl-action" | "onControl:update" | "onNode:add" | "onNode:edit" | "onNode:remove" | "onUpdate:items"> & UiLogicTreeProperties<TNodeData> & Partial<{}>> & PublicProps;
3160
+ expose(exposed: ShallowUnwrapRef<{}>): void;
3161
+ attrs: any;
3162
+ slots: Readonly<{
3163
+ 'conjunction-poppers'?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3164
+ node?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3165
+ 'node-prefix'?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3166
+ 'node-trailing'?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3167
+ }> & {
3168
+ 'conjunction-poppers'?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3169
+ node?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3170
+ 'node-prefix'?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3171
+ 'node-trailing'?: (props: UiLogicTreeNodeSlotProps<TNodeData>) => unknown;
3172
+ };
3173
+ emit: ((evt: "toggle", payload: {
3174
+ expanded: boolean;
3175
+ nodeId: string;
3176
+ }) => void) & ((evt: "remove", nodeId: string) => void) & ((evt: "drop", payload: UiLogicTreeDropPayload) => void) & ((evt: "action", payload: {
3177
+ actionId: string;
3178
+ nodeId: string;
3179
+ }) => void) & ((evt: "control-action", payload: {
3180
+ controlId: string;
3181
+ nodeId: string;
3182
+ }) => void) & ((evt: "control:update", payload: {
3183
+ controlId: string;
3184
+ nodeId: string;
3185
+ value: string | number | null;
3186
+ }) => void) & ((evt: "node:add", payload: UiLogicTreeNodeAddPayload) => void) & ((evt: "node:edit", payload: UiLogicTreeNodeEditPayload) => void) & ((evt: "node:remove", payload: UiLogicTreeNodeRemovePayload) => void) & ((evt: "update:items", items: UiLogicTreeNode<TNodeData>[]) => void);
3187
+ }>) => VNode & {
3188
+ __ctx?: Awaited<typeof __VLS_setup>;
3189
+ };
3190
+ export declare const UiLogicTreeCaret: {
3191
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiLogicTreeCaretProperties>>>, {
3192
+ [x: string]: unknown;
3193
+ }, {
3194
+ [x: string]: never;
3195
+ }, {
3196
+ [x: string]: never;
3197
+ }, MethodOptions, {
3198
+ [x: string]: never;
3199
+ }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
3200
+ P: {};
3201
+ B: {};
3202
+ D: {};
3203
+ C: ComputedOptions;
3204
+ M: MethodOptions;
3205
+ Defaults: {};
3206
+ } & {
3207
+ P: {};
3208
+ B: {};
3209
+ D: {};
3210
+ C: {};
3211
+ M: {};
3212
+ Defaults: {};
3213
+ }, Readonly<ExtractPropTypes<RemoteProperties<UiLogicTreeCaretProperties>>>, {
3214
+ [x: string]: unknown;
3215
+ }, {
3216
+ [x: string]: never;
3217
+ }, ComputedOptions & {
3218
+ [x: string]: never;
3219
+ }, MethodOptions, {}>;
3220
+ __isFragment?: never;
3221
+ __isTeleport?: never;
3222
+ __isSuspense?: never;
3223
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiLogicTreeCaretProperties>>>, {
3224
+ [x: string]: unknown;
3225
+ }, {
3226
+ [x: string]: never;
3227
+ }, {
3228
+ [x: string]: never;
3229
+ }, MethodOptions, {
3230
+ [x: string]: never;
3231
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3232
+ $slots: {
3233
+ [x: string]: never;
3234
+ } & {
3235
+ default?: (...args: never[]) => unknown;
3236
+ };
3237
+ });
3238
+ export declare type UiLogicTreeCaretProperties = {
3239
+ active?: boolean;
3240
+ };
3241
+ export declare type UiLogicTreeConnector = {
3242
+ continues: boolean;
3243
+ placeholder?: boolean;
3244
+ tone: LogicTreeTone;
3245
+ visible: boolean;
3246
+ };
3247
+ export declare const UiLogicTreeDragHandle: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
3248
+ export declare type UiLogicTreeDropPayload = {
3249
+ itemId: string;
3250
+ sourceContainerId: string;
3251
+ targetContainerId: string;
3252
+ targetIndex: number | null;
3253
+ targetItemId: string | null;
3254
+ placement: 'after' | 'before';
3255
+ payload?: unknown;
3256
+ };
3257
+ export declare type UiLogicTreeNode<TNodeData extends object = Record<string, never>> = {
3258
+ id: string;
3259
+ kind: LogicTreeNodeKind;
3260
+ tone?: LogicTreeTone;
3261
+ conjunction?: LogicTreeConjunction | string;
3262
+ collapsible?: boolean;
3263
+ expanded?: boolean;
3264
+ childrenView?: LogicTreeChildrenView;
3265
+ children?: UiLogicTreeNode<TNodeData>[];
3266
+ data: UiLogicTreeNodeData<TNodeData>;
3267
+ };
3268
+ export declare type UiLogicTreeNodeAddPayload = {
3269
+ actionId: string;
3270
+ kind: Exclude<UiLogicTreeNode['kind'], LogicTreeNodeKind.BRANCH>;
3271
+ parentNodeId: string | null;
3272
+ parentPathKey: string | null;
3273
+ triggerNodeId: string;
3274
+ };
3275
+ export declare type UiLogicTreeNodeData<TNodeData extends object = Record<string, never>> = {
3276
+ view: LogicTreeNodeView;
3277
+ editable: boolean;
3278
+ disabled?: boolean;
3279
+ draggable?: boolean;
3280
+ selected?: boolean;
3281
+ highlighted?: boolean;
3282
+ } & TNodeData;
3283
+ export declare type UiLogicTreeNodeEditPayload = {
3284
+ controlId: string;
3285
+ nodeId: string;
3286
+ pathKey: string;
3287
+ value: string | number | null;
3288
+ };
3289
+ export declare const UiLogicTreeNodeIcon: {
3290
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
3291
+ [x: string]: never;
3292
+ }>>, {
3293
+ [x: string]: unknown;
3294
+ }, {
3295
+ [x: string]: never;
3296
+ }, {
3297
+ [x: string]: never;
3298
+ }, {
3299
+ [x: string]: never;
3300
+ }, {
3301
+ [x: string]: never;
3302
+ }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
3303
+ P: {};
3304
+ B: {};
3305
+ D: {};
3306
+ C: ComputedOptions;
3307
+ M: MethodOptions;
3308
+ Defaults: {};
3309
+ } & {
3310
+ P: {};
3311
+ B: {};
3312
+ D: {};
3313
+ C: {};
3314
+ M: {};
3315
+ Defaults: {};
3316
+ }, Readonly<ExtractPropTypes<{
3317
+ [x: string]: never;
3318
+ }>>, {
3319
+ [x: string]: unknown;
3320
+ }, {
3321
+ [x: string]: never;
3322
+ }, ComputedOptions & {
3323
+ [x: string]: never;
3324
+ }, MethodOptions & {
3325
+ [x: string]: never;
3326
+ }, {}>;
3327
+ __isFragment?: never;
3328
+ __isTeleport?: never;
3329
+ __isSuspense?: never;
3330
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
3331
+ [x: string]: never;
3332
+ }>>, {
3333
+ [x: string]: unknown;
3334
+ }, {
3335
+ [x: string]: never;
3336
+ }, {
3337
+ [x: string]: never;
3338
+ }, {
3339
+ [x: string]: never;
3340
+ }, {
3341
+ [x: string]: never;
3342
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3343
+ $slots: {
3344
+ [x: string]: unknown;
3345
+ } & {
3346
+ default?: (...args: never[]) => unknown;
3347
+ };
3348
+ });
3349
+ export declare const UiLogicTreeNodeItem: {
3350
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
3351
+ [x: string]: never;
3352
+ }>>, {
3353
+ [x: string]: unknown;
3354
+ }, {
3355
+ [x: string]: never;
3356
+ }, {
3357
+ [x: string]: never;
3358
+ }, {
3359
+ [x: string]: never;
3360
+ }, {
3361
+ [x: string]: never;
3362
+ }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
3363
+ P: {};
3364
+ B: {};
3365
+ D: {};
3366
+ C: ComputedOptions;
3367
+ M: MethodOptions;
3368
+ Defaults: {};
3369
+ } & {
3370
+ P: {};
3371
+ B: {};
3372
+ D: {};
3373
+ C: {};
3374
+ M: {};
3375
+ Defaults: {};
3376
+ }, Readonly<ExtractPropTypes<{
3377
+ [x: string]: never;
3378
+ }>>, {
3379
+ [x: string]: unknown;
3380
+ }, {
3381
+ [x: string]: never;
3382
+ }, ComputedOptions & {
3383
+ [x: string]: never;
3384
+ }, MethodOptions & {
3385
+ [x: string]: never;
3386
+ }, {}>;
3387
+ __isFragment?: never;
3388
+ __isTeleport?: never;
3389
+ __isSuspense?: never;
3390
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
3391
+ [x: string]: never;
3392
+ }>>, {
3393
+ [x: string]: unknown;
3394
+ }, {
3395
+ [x: string]: never;
3396
+ }, {
3397
+ [x: string]: never;
3398
+ }, {
3399
+ [x: string]: never;
3400
+ }, {
3401
+ [x: string]: never;
3402
+ }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3403
+ $slots: {
3404
+ [x: string]: unknown;
3405
+ } & {
3406
+ default?: (...args: never[]) => unknown;
3407
+ };
3408
+ });
3409
+ export declare type UiLogicTreeNodeProperties = {
3410
+ pathKey?: string;
3411
+ nodeView?: LogicTreeNodeView;
3412
+ connectors?: UiLogicTreeConnector[];
3413
+ conjunction?: string;
3414
+ conjunctionEndPathKey?: string;
3415
+ conjunctionLabel?: string;
3416
+ conjunctionOffset?: number;
3417
+ conjunctionStartPathKey?: string;
3418
+ conjunctionTone?: LogicTreeTone;
3419
+ groupedHeader?: boolean;
3420
+ grouped?: boolean;
3421
+ groupedPosition?: 'end' | 'middle' | 'single' | 'start';
3422
+ editable?: boolean;
3423
+ disabled?: boolean;
3424
+ highlighted?: boolean;
3425
+ selected?: boolean;
3426
+ };
3427
+ export declare type UiLogicTreeNodeRemovePayload = {
3428
+ index: number;
3429
+ nodeId: string;
3430
+ parentNodeId: string | null;
3431
+ parentPathKey: string | null;
3432
+ pathKey: string;
3433
+ };
3434
+ export declare type UiLogicTreeNodeSlotProps<TNodeData extends object = Record<string, never>> = {
3435
+ editing: boolean;
3436
+ expanded: boolean;
3437
+ grouped: boolean;
3438
+ groupedHeader: boolean;
3439
+ groupedPosition?: UiLogicTreeNodeProperties['groupedPosition'];
3440
+ hasChildren: boolean;
3441
+ highlighted: boolean;
3442
+ disabled: boolean;
3443
+ node: UiLogicTreeNode<TNodeData>;
3444
+ path: number[];
3445
+ pathKey: string;
3446
+ nodeView: LogicTreeNodeView;
3447
+ selected: boolean;
3448
+ onAction: (actionId: string, kind: Exclude<UiLogicTreeNode<TNodeData>['kind'], LogicTreeNodeKind.BRANCH>) => void;
3449
+ onControlAction: (controlId: string) => void;
3450
+ onControlUpdate: (controlId: string, value: string | number | null) => void;
3451
+ onRemove: () => void;
3452
+ onToggle: () => void;
3453
+ };
3454
+ export declare type UiLogicTreeProperties<TNodeData extends object = Record<string, never>> = {
3455
+ items?: UiLogicTreeNode<TNodeData>[];
3456
+ };
3457
+ export declare type UiLogicTreeRootProperties = Record<string, never>;
2768
3458
  export declare const UiMenuItem: {
2769
3459
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiMenuItemProperties>>>, {
2770
3460
  [x: string]: unknown;
@@ -3189,7 +3879,7 @@ declare type UiNumberStepperProperties = {
3189
3879
  textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
3190
3880
  };
3191
3881
  export declare const UiNumberStepperType: SchemaType<"UiNumberStepper", RemoteProperties<UiNumberStepperProperties>, RemoteCallable<UiNumberStepperMethods>>;
3192
- export declare const UiPageHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
3882
+ export declare const UiPageHeader: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
3193
3883
  declare type UiPageHeaderProperties = {
3194
3884
  id?: string;
3195
3885
  value?: string | number | null;
@@ -3202,6 +3892,40 @@ declare type UiPageHeaderProperties = {
3202
3892
  disabled?: boolean;
3203
3893
  invalid?: boolean;
3204
3894
  };
3895
+ export declare const UiPopconfirm: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
3896
+ export declare type UiPopconfirmMethods = {
3897
+ adjust(): Promise<void>;
3898
+ close(): void;
3899
+ dispose(): void;
3900
+ open(): void;
3901
+ toggle(): void;
3902
+ };
3903
+ export declare type UiPopconfirmPopperMethods = {
3904
+ adjust(): Promise<void>;
3905
+ close(): void;
3906
+ dispose(): void;
3907
+ open(): void;
3908
+ };
3909
+ export declare type UiPopconfirmPopperOptions = Partial<Omit<UiPopperProperties, 'target' | 'visible' | 'targetTriggers' | 'popperTriggers' | 'globalTriggers' | 'placement' | 'withArrow'>>;
3910
+ export declare type UiPopconfirmPopperProperties = {
3911
+ id?: string;
3912
+ visible?: boolean;
3913
+ title?: string;
3914
+ okVariant?: VARIANT | `${VARIANT}`;
3915
+ okTitle?: string | null;
3916
+ cancelTitle?: string | null;
3917
+ cancelAppearance?: APPEARANCE | `${APPEARANCE}`;
3918
+ cancelVariant?: VARIANT | `${VARIANT}`;
3919
+ buttonSize?: SIZE | `${SIZE}`;
3920
+ placement?: UiPopperProperties['placement'];
3921
+ popperClass?: string | null;
3922
+ popperOptions?: UiPopconfirmPopperOptions;
3923
+ locale?: Locale;
3924
+ };
3925
+ export declare type UiPopconfirmProperties = UiPopconfirmPopperProperties;
3926
+ export declare type UiPopconfirmTriggerProperties = {
3927
+ visible?: boolean;
3928
+ };
3205
3929
  export declare const UiPopper: {
3206
3930
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiPopperProperties>>>, {
3207
3931
  [x: string]: unknown;
@@ -3209,8 +3933,16 @@ export declare const UiPopper: {
3209
3933
  [x: string]: never;
3210
3934
  }, {
3211
3935
  [x: string]: never;
3212
- }, MethodOptions, {
3936
+ }, {
3213
3937
  [x: string]: never;
3938
+ }, {
3939
+ attached: () => boolean;
3940
+ dispose: () => boolean;
3941
+ hide: (reason?: "generic" | "by-miss-click") => boolean;
3942
+ hidden: () => boolean;
3943
+ show: () => boolean;
3944
+ shown: () => boolean;
3945
+ 'update:visible': (visible: boolean) => boolean;
3214
3946
  }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
3215
3947
  P: {};
3216
3948
  B: {};
@@ -3231,7 +3963,9 @@ export declare const UiPopper: {
3231
3963
  [x: string]: never;
3232
3964
  }, ComputedOptions & {
3233
3965
  [x: string]: never;
3234
- }, MethodOptions, {}>;
3966
+ }, MethodOptions & {
3967
+ [x: string]: never;
3968
+ }, {}>;
3235
3969
  __isFragment?: never;
3236
3970
  __isTeleport?: never;
3237
3971
  __isSuspense?: never;
@@ -3241,8 +3975,16 @@ export declare const UiPopper: {
3241
3975
  [x: string]: never;
3242
3976
  }, {
3243
3977
  [x: string]: never;
3244
- }, MethodOptions, {
3978
+ }, {
3245
3979
  [x: string]: never;
3980
+ }, {
3981
+ attached: () => boolean;
3982
+ dispose: () => boolean;
3983
+ hide: (reason?: "generic" | "by-miss-click") => boolean;
3984
+ hidden: () => boolean;
3985
+ show: () => boolean;
3986
+ shown: () => boolean;
3987
+ 'update:visible': (visible: boolean) => boolean;
3246
3988
  }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3247
3989
  $slots: {
3248
3990
  [x: string]: never;
@@ -3431,8 +4173,8 @@ declare type UiRadioProperties = {
3431
4173
  required?: boolean;
3432
4174
  disabled?: boolean;
3433
4175
  };
3434
- export declare const UiRadioSwitch: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
3435
- export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineComponent<ExtractPropTypes<{
4176
+ export declare const UiRadioSwitch: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
4177
+ export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<{
3436
4178
  /** Идентификатор */
3437
4179
  id: {
3438
4180
  type: StringConstructor;
@@ -3498,9 +4240,7 @@ export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineCompon
3498
4240
  $props: Partial<{}> & Omit<{
3499
4241
  readonly [x: string]: any;
3500
4242
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
3501
- $attrs: {
3502
- [x: string]: unknown;
3503
- };
4243
+ $attrs: Attrs;
3504
4244
  $refs: {
3505
4245
  [x: string]: unknown;
3506
4246
  };
@@ -3554,9 +4294,9 @@ export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineCompon
3554
4294
  any,
3555
4295
  OnCleanup
3556
4296
  ]) => any, options?: WatchOptions): WatchStopHandle;
3557
- } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, string> & ShallowUnwrapRef<{
4297
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, string> & {
3558
4298
  [x: string]: unknown;
3559
- }> & {
4299
+ } & {
3560
4300
  [x: string]: never;
3561
4301
  } & {
3562
4302
  [x: string]: unknown;
@@ -3692,9 +4432,9 @@ declare type UiScrollBoxProperties = {
3692
4432
  showOnMac?: boolean;
3693
4433
  };
3694
4434
  export declare const UiScrollBoxType: SchemaType<"UiScrollBox", RemoteProperties<UiScrollBoxProperties>, RemoteCallable<UiScrollBoxMethods & Record<string, never>>>;
3695
- export declare const UiSelect: __VLS_WithTemplateSlots_7<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
3696
- export declare const UiSelectOption: __VLS_WithTemplateSlots_8<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
3697
- export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_9<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
4435
+ export declare const UiSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
4436
+ export declare const UiSelectOption: __VLS_WithTemplateSlots_10<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
4437
+ export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_11<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
3698
4438
  declare type UiSelectPopperProperties = {
3699
4439
  opened?: boolean;
3700
4440
  targetTriggers?: Trigger[] | TriggerSchema;
@@ -4894,14 +5634,14 @@ export declare enum UiToggleButtonSize {
4894
5634
  XS = "xs"
4895
5635
  }
4896
5636
  export declare const UiToggleButtonType: SchemaType<"UiToggleButton", RemoteProperties<UiToggleButtonProperties>, RemoteCallable<UiToggleButtonMethods>>;
4897
- export declare const UiToggleGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
5637
+ export declare const UiToggleGroup: __VLS_WithTemplateSlots_7<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
4898
5638
  export declare type UiToggleGroupEqualPredicate = (a: unknown, b: unknown) => boolean;
4899
5639
  export declare type UiToggleGroupItem = {
4900
5640
  value: unknown;
4901
5641
  label: string;
4902
5642
  disabled?: boolean;
4903
5643
  };
4904
- export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<{
5644
+ export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_8<DefineComponent<ExtractPropTypes<{
4905
5645
  id: {
4906
5646
  type: StringConstructor;
4907
5647
  default: () => string;
@@ -4948,9 +5688,7 @@ export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineCompon
4948
5688
  $props: Partial<{}> & Omit<{
4949
5689
  readonly [x: string]: any;
4950
5690
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
4951
- $attrs: {
4952
- [x: string]: unknown;
4953
- };
5691
+ $attrs: Attrs;
4954
5692
  $refs: {
4955
5693
  [x: string]: unknown;
4956
5694
  };
@@ -5005,9 +5743,9 @@ export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineCompon
5005
5743
  any,
5006
5744
  OnCleanup
5007
5745
  ]) => any, options?: WatchOptions): WatchStopHandle;
5008
- } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, string> & ShallowUnwrapRef<{
5746
+ } & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, string> & {
5009
5747
  [x: string]: unknown;
5010
- }> & {
5748
+ } & {
5011
5749
  [x: string]: never;
5012
5750
  } & {
5013
5751
  [x: string]: unknown;
@@ -5334,13 +6072,13 @@ export declare enum VALIGN {
5334
6072
  BOTTOM = "bottom"
5335
6073
  }
5336
6074
  declare enum VARIANT {
5337
- PRIMARY = "primary",
5338
- WARNING = "warning",
6075
+ DEFAULT = "default",
5339
6076
  SUCCESS = "success",
5340
6077
  DANGER = "danger"
5341
6078
  }
5342
6079
  declare enum VARIANT_2 {
5343
- DEFAULT = "default",
6080
+ PRIMARY = "primary",
6081
+ WARNING = "warning",
5344
6082
  SUCCESS = "success",
5345
6083
  DANGER = "danger"
5346
6084
  }