@retailcrm/embed-ui-v1-components 0.9.21 → 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 (96) hide show
  1. package/AGENTS.md +3 -3
  2. package/README.md +3 -4
  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 +227 -50
  6. package/bin/postinstall.mjs +2 -1
  7. package/dist/host.cjs +1204 -488
  8. package/dist/host.css +629 -0
  9. package/dist/host.d.ts +100 -20
  10. package/dist/host.js +1205 -489
  11. package/dist/remote.cjs +1210 -153
  12. package/dist/remote.d.ts +786 -36
  13. package/dist/remote.js +1212 -155
  14. package/docs/AI.md +19 -20
  15. package/docs/COMPONENTS.md +58 -59
  16. package/docs/FORMAT.md +6 -8
  17. package/docs/PROFILES.md +34 -21
  18. package/docs/README.md +3 -6
  19. package/docs/profiles/{UiAddButton.yml → components/UiAddButton.yml} +49 -2
  20. package/docs/profiles/{UiAlert.yml → components/UiAlert.yml} +32 -2
  21. package/docs/profiles/{UiAvatar.yml → components/UiAvatar.yml} +17 -3
  22. package/docs/profiles/{UiAvatarList.yml → components/UiAvatarList.yml} +0 -2
  23. package/docs/profiles/{UiButton.yml → components/UiButton.yml} +14 -1
  24. package/docs/profiles/components/UiCalendar.yml +190 -0
  25. package/docs/profiles/{UiCheckbox.yml → components/UiCheckbox.yml} +28 -2
  26. package/docs/profiles/{UiCollapse.yml → components/UiCollapse.yml} +57 -2
  27. package/docs/profiles/{UiCollapseBox.yml → components/UiCollapseBox.yml} +64 -2
  28. package/docs/profiles/{UiCollapseGroup.yml → components/UiCollapseGroup.yml} +0 -2
  29. package/docs/profiles/{UiCopyButton.yml → components/UiCopyButton.yml} +19 -2
  30. package/docs/profiles/{UiDate.yml → components/UiDate.yml} +20 -2
  31. package/docs/profiles/{UiDatePicker.yml → components/UiDatePicker.yml} +51 -2
  32. package/docs/profiles/{UiError.yml → components/UiError.yml} +48 -2
  33. package/docs/profiles/{UiField.yml → components/UiField.yml} +46 -1
  34. package/docs/profiles/{UiInfobox.yml → components/UiInfobox.yml} +54 -2
  35. package/docs/profiles/{UiLink.yml → components/UiLink.yml} +22 -2
  36. package/docs/profiles/{UiLoader.yml → components/UiLoader.yml} +0 -2
  37. package/docs/profiles/{UiMenuItem.yml → components/UiMenuItem.yml} +0 -2
  38. package/docs/profiles/{UiMenuItemGroup.yml → components/UiMenuItemGroup.yml} +0 -2
  39. package/docs/profiles/{UiModalSidebar.yml → components/UiModalSidebar.yml} +80 -2
  40. package/docs/profiles/components/UiModalWindow.yml +181 -0
  41. package/docs/profiles/{UiModalWindowSurface.yml → components/UiModalWindowSurface.yml} +0 -2
  42. package/docs/profiles/{UiNumberStepper.yml → components/UiNumberStepper.yml} +14 -2
  43. package/docs/profiles/{UiPageHeader.yml → components/UiPageHeader.yml} +39 -1
  44. package/docs/profiles/components/UiPopconfirm.yml +164 -0
  45. package/docs/profiles/{UiPopper.yml → components/UiPopper.yml} +66 -1
  46. package/docs/profiles/{UiPopperConnector.yml → components/UiPopperConnector.yml} +0 -2
  47. package/docs/profiles/{UiPopperTarget.yml → components/UiPopperTarget.yml} +0 -2
  48. package/docs/profiles/{UiRadio.yml → components/UiRadio.yml} +15 -2
  49. package/docs/profiles/{UiRadioSwitch.yml → components/UiRadioSwitch.yml} +55 -1
  50. package/docs/profiles/{UiRadioSwitchOption.yml → components/UiRadioSwitchOption.yml} +0 -2
  51. package/docs/profiles/{UiScrollBox.yml → components/UiScrollBox.yml} +45 -2
  52. package/docs/profiles/{UiSelect.yml → components/UiSelect.yml} +133 -1
  53. package/docs/profiles/{UiSelectOption.yml → components/UiSelectOption.yml} +0 -2
  54. package/docs/profiles/{UiSelectOptionGroup.yml → components/UiSelectOptionGroup.yml} +0 -2
  55. package/docs/profiles/{UiSkeleton.yml → components/UiSkeleton.yml} +11 -2
  56. package/docs/profiles/{UiSlider.yml → components/UiSlider.yml} +85 -2
  57. package/docs/profiles/{UiSwitch.yml → components/UiSwitch.yml} +50 -2
  58. package/docs/profiles/{UiTab.yml → components/UiTab.yml} +126 -2
  59. package/docs/profiles/{UiTabGroup.yml → components/UiTabGroup.yml} +0 -1
  60. package/docs/profiles/components/UiTable.yml +622 -0
  61. package/docs/profiles/{UiTableBodyCell.yml → components/UiTableBodyCell.yml} +0 -2
  62. package/docs/profiles/{UiTableColumn.yml → components/UiTableColumn.yml} +0 -2
  63. package/docs/profiles/{UiTableFooterButton.yml → components/UiTableFooterButton.yml} +0 -2
  64. package/docs/profiles/{UiTableFooterSection.yml → components/UiTableFooterSection.yml} +0 -2
  65. package/docs/profiles/{UiTableHeadCell.yml → components/UiTableHeadCell.yml} +0 -2
  66. package/docs/profiles/{UiTableSorter.yml → components/UiTableSorter.yml} +0 -2
  67. package/docs/profiles/{UiTag.yml → components/UiTag.yml} +13 -2
  68. package/docs/profiles/{UiTextbox.yml → components/UiTextbox.yml} +20 -1
  69. package/docs/profiles/{UiTimePicker.yml → components/UiTimePicker.yml} +60 -2
  70. package/docs/profiles/{UiToggleButton.yml → components/UiToggleButton.yml} +16 -1
  71. package/docs/profiles/{UiToggleGroup.yml → components/UiToggleGroup.yml} +25 -1
  72. package/docs/profiles/{UiToggleGroupOption.yml → components/UiToggleGroupOption.yml} +0 -2
  73. package/docs/profiles/{UiToolbarButton.yml → components/UiToolbarButton.yml} +15 -2
  74. package/docs/profiles/{UiToolbarLink.yml → components/UiToolbarLink.yml} +13 -2
  75. package/docs/profiles/{UiTooltip.yml → components/UiTooltip.yml} +18 -2
  76. package/docs/profiles/{UiTransition.yml → components/UiTransition.yml} +0 -2
  77. package/docs/profiles/{UiYandexMap.yml → components/UiYandexMap.yml} +24 -2
  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 +1 -1
  86. package/docs/AGENT-DESIGN-GUIDELINES.md +0 -463
  87. package/docs/assets/page-guidelines/card-settings-page.png +0 -0
  88. package/docs/assets/page-guidelines/collapse-block-page.png +0 -0
  89. package/docs/assets/page-guidelines/entity-list-page.png +0 -0
  90. package/docs/assets/page-guidelines/modal-sidebar.png +0 -0
  91. package/docs/assets/page-guidelines/modal-window.png +0 -0
  92. package/docs/assets/page-guidelines/multi-column-page.png +0 -0
  93. package/docs/profiles/UiCalendar.yml +0 -76
  94. package/docs/profiles/UiImage.yml +0 -67
  95. package/docs/profiles/UiModalWindow.yml +0 -86
  96. package/docs/profiles/UiTable.yml +0 -300
package/dist/remote.d.ts CHANGED
@@ -35,6 +35,7 @@ import { SerializedEvent } from '@omnicajs/vue-remote/types/events';
35
35
  import { SerializedFocusEvent } from '@omnicajs/vue-remote/types/events';
36
36
  import { SerializedInputEvent } from '@omnicajs/vue-remote/types/events';
37
37
  import { SerializedKeyboardEvent } from '@omnicajs/vue-remote/types/events';
38
+ import { ShallowUnwrapRef } from 'vue';
38
39
  import { Side } from '@floating-ui/dom';
39
40
  import { Slot } from 'vue';
40
41
  import { Strategy } from '@floating-ui/dom';
@@ -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"]>;
@@ -343,7 +348,227 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
343
348
  };
344
349
  }) | null;
345
350
  }, any>;
346
- 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<{
347
572
  /** Выбранное значение */
348
573
  value: {
349
574
  type: PropType<UiRadioSwitchProperties["value"]>;
@@ -423,7 +648,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
423
648
  rubber: boolean;
424
649
  equalFn: EqualPredicate;
425
650
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
426
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
651
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
427
652
  model: {
428
653
  type: PropType<UiToggleGroupProperties["model"]>;
429
654
  default: () => never[];
@@ -525,7 +750,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
525
750
  ariaDescribedby: string;
526
751
  ariaOrientation: "horizontal" | "vertical" | undefined;
527
752
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
528
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
753
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
529
754
  /** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
530
755
  id: {
531
756
  type: StringConstructor;
@@ -866,7 +1091,7 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
866
1091
  };
867
1092
  }) | null;
868
1093
  }, any>;
869
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
1094
+ declare const __VLS_component_8: DefineComponent<ExtractPropTypes<{
870
1095
  /** Значение опции */
871
1096
  value: {
872
1097
  type: PropType<unknown>;
@@ -960,7 +1185,7 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
960
1185
  accent: boolean;
961
1186
  counter: string | number | null;
962
1187
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
963
- declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
1188
+ declare const __VLS_component_9: DefineComponent<ExtractPropTypes<{
964
1189
  /** Заголовок группы опций */
965
1190
  label: {
966
1191
  type: StringConstructor;
@@ -975,6 +1200,13 @@ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
975
1200
  }>> & Readonly<{}>, {
976
1201
  label: string;
977
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
+ };
978
1210
  declare function __VLS_template(): {
979
1211
  attrs: Partial<{}>;
980
1212
  slots: {
@@ -995,6 +1227,14 @@ declare function __VLS_template(): {
995
1227
  rootEl: any;
996
1228
  };
997
1229
  declare function __VLS_template_2(): {
1230
+ attrs: Partial<{}>;
1231
+ slots: {
1232
+ default?(_: {}): any;
1233
+ };
1234
+ refs: {};
1235
+ rootEl: any;
1236
+ };
1237
+ declare function __VLS_template_3(): {
998
1238
  attrs: Partial<{}>;
999
1239
  slots: {
1000
1240
  actions?(_: {}): any;
@@ -1083,7 +1323,104 @@ declare function __VLS_template_2(): {
1083
1323
  };
1084
1324
  rootEl: any;
1085
1325
  };
1086
- 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(): {
1087
1424
  attrs: Partial<{}>;
1088
1425
  slots: Readonly<{
1089
1426
  /** Набор опций переключателя */
@@ -1103,7 +1440,7 @@ declare function __VLS_template_3(): {
1103
1440
  refs: {};
1104
1441
  rootEl: any;
1105
1442
  };
1106
- declare function __VLS_template_4(): {
1443
+ declare function __VLS_template_6(): {
1107
1444
  attrs: Partial<{}>;
1108
1445
  slots: Readonly<{
1109
1446
  default?: () => VNodeChild;
@@ -1119,7 +1456,7 @@ declare function __VLS_template_4(): {
1119
1456
  refs: {};
1120
1457
  rootEl: any;
1121
1458
  };
1122
- declare function __VLS_template_5(): {
1459
+ declare function __VLS_template_7(): {
1123
1460
  attrs: Partial<{}>;
1124
1461
  slots: {
1125
1462
  default?(_: {}): any;
@@ -1208,7 +1545,7 @@ declare function __VLS_template_5(): {
1208
1545
  };
1209
1546
  rootEl: any;
1210
1547
  };
1211
- declare function __VLS_template_6(): {
1548
+ declare function __VLS_template_8(): {
1212
1549
  attrs: Partial<{}>;
1213
1550
  slots: {
1214
1551
  default?(_: {
@@ -1228,7 +1565,7 @@ declare function __VLS_template_6(): {
1228
1565
  refs: {};
1229
1566
  rootEl: HTMLDivElement;
1230
1567
  };
1231
- declare function __VLS_template_7(): {
1568
+ declare function __VLS_template_9(): {
1232
1569
  attrs: Partial<{}>;
1233
1570
  slots: {
1234
1571
  option?(_: {}): any;
@@ -1248,11 +1585,23 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1248
1585
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
1249
1586
  declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
1250
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>;
1251
1590
  declare type __VLS_WithTemplateSlots<T, S> = T & {
1252
1591
  new (): {
1253
1592
  $slots: S;
1254
1593
  };
1255
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
+ };
1256
1605
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1257
1606
  new (): {
1258
1607
  $slots: S;
@@ -1436,6 +1785,30 @@ declare enum INPUTMODE {
1436
1785
  URL = "url"
1437
1786
  }
1438
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
+ }
1439
1812
  declare type MODAL_SIDEBAR_ROLE = 'dialog' | 'alertdialog';
1440
1813
  declare type MODAL_WINDOW_ROLE = 'dialog' | 'alertdialog';
1441
1814
  export declare const mountEndpointRoot: (channel: Channel) => Promise<RemoteRoot<SchemaOf<string>>>;
@@ -1510,6 +1883,7 @@ declare type SerializedDOMRect = {
1510
1883
  [K in Exclude<keyof DOMRect, 'toJSON'>]: DOMRect[K];
1511
1884
  };
1512
1885
  declare type ShowingOptions = {
1886
+ visible?: boolean;
1513
1887
  shown?: boolean;
1514
1888
  targetTriggers?: Trigger[] | TriggerSchema;
1515
1889
  popperTriggers?: Trigger[] | TriggerSchema;
@@ -1520,16 +1894,16 @@ declare type ShowingOptions = {
1520
1894
  container?: string | null;
1521
1895
  };
1522
1896
  declare enum SIZE {
1523
- XS = "xs",
1524
- SM = "sm",
1525
- LG = "lg"
1526
- }
1527
- declare enum SIZE_2 {
1528
1897
  LG = "lg",
1529
1898
  MD = "md",
1530
1899
  SM = "sm",
1531
1900
  XS = "xs"
1532
1901
  }
1902
+ declare enum SIZE_2 {
1903
+ XS = "xs",
1904
+ SM = "sm",
1905
+ LG = "lg"
1906
+ }
1533
1907
  declare enum SIZE_3 {
1534
1908
  SM = "sm",
1535
1909
  MD = "md"
@@ -1760,7 +2134,7 @@ declare type UiAlertMethods = {
1760
2134
  scrollIntoView(): void;
1761
2135
  };
1762
2136
  declare type UiAlertProperties = {
1763
- variant?: VARIANT | `${VARIANT}`;
2137
+ variant?: VARIANT_2 | `${VARIANT_2}`;
1764
2138
  text?: string;
1765
2139
  shown?: boolean;
1766
2140
  closable?: boolean;
@@ -1872,7 +2246,7 @@ declare type UiAvatarListProperties = {
1872
2246
  src: string;
1873
2247
  name: string;
1874
2248
  }>;
1875
- size?: SIZE;
2249
+ size?: SIZE_2;
1876
2250
  };
1877
2251
  export declare const UiAvatarListType: SchemaType<"UiAvatarList", RemoteProperties<UiAvatarListProperties>>;
1878
2252
  declare type UiAvatarProperties = {
@@ -1882,7 +2256,7 @@ declare type UiAvatarProperties = {
1882
2256
  status?: STATUS;
1883
2257
  vip?: boolean;
1884
2258
  bad?: boolean;
1885
- size?: SIZE;
2259
+ size?: SIZE_2;
1886
2260
  optimize?: boolean | {
1887
2261
  resize?: Dimensions;
1888
2262
  crop?: Dimensions;
@@ -1950,8 +2324,8 @@ declare type UiButtonProperties = {
1950
2324
  type?: HTMLButtonElement['type'];
1951
2325
  href?: HTMLAnchorElement['href'] | undefined;
1952
2326
  appearance?: APPEARANCE | `${APPEARANCE}`;
1953
- variant?: VARIANT_2 | `${VARIANT_2}`;
1954
- size?: SIZE_2 | `${SIZE_2}`;
2327
+ variant?: VARIANT | `${VARIANT}`;
2328
+ size?: SIZE | `${SIZE}`;
1955
2329
  active?: boolean;
1956
2330
  disabled?: boolean;
1957
2331
  locked?: boolean;
@@ -2353,7 +2727,7 @@ export declare const UiCopyButton: {
2353
2727
  });
2354
2728
  declare type UiCopyButtonProperties = {
2355
2729
  text: string;
2356
- size: SIZE_2;
2730
+ size: SIZE;
2357
2731
  tooltipOptions?: TooltipOptions;
2358
2732
  };
2359
2733
  export declare const UiCopyButtonType: SchemaType<"UiCopyButton", RemoteProperties<UiCopyButtonProperties>>;
@@ -2757,6 +3131,330 @@ declare type UiLoaderProperties = {
2757
3131
  overlay?: boolean;
2758
3132
  };
2759
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>;
2760
3458
  export declare const UiMenuItem: {
2761
3459
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiMenuItemProperties>>>, {
2762
3460
  [x: string]: unknown;
@@ -3181,7 +3879,7 @@ declare type UiNumberStepperProperties = {
3181
3879
  textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
3182
3880
  };
3183
3881
  export declare const UiNumberStepperType: SchemaType<"UiNumberStepper", RemoteProperties<UiNumberStepperProperties>, RemoteCallable<UiNumberStepperMethods>>;
3184
- 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"]>;
3185
3883
  declare type UiPageHeaderProperties = {
3186
3884
  id?: string;
3187
3885
  value?: string | number | null;
@@ -3194,6 +3892,40 @@ declare type UiPageHeaderProperties = {
3194
3892
  disabled?: boolean;
3195
3893
  invalid?: boolean;
3196
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
+ };
3197
3929
  export declare const UiPopper: {
3198
3930
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiPopperProperties>>>, {
3199
3931
  [x: string]: unknown;
@@ -3201,8 +3933,16 @@ export declare const UiPopper: {
3201
3933
  [x: string]: never;
3202
3934
  }, {
3203
3935
  [x: string]: never;
3204
- }, MethodOptions, {
3936
+ }, {
3205
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;
3206
3946
  }, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
3207
3947
  P: {};
3208
3948
  B: {};
@@ -3223,7 +3963,9 @@ export declare const UiPopper: {
3223
3963
  [x: string]: never;
3224
3964
  }, ComputedOptions & {
3225
3965
  [x: string]: never;
3226
- }, MethodOptions, {}>;
3966
+ }, MethodOptions & {
3967
+ [x: string]: never;
3968
+ }, {}>;
3227
3969
  __isFragment?: never;
3228
3970
  __isTeleport?: never;
3229
3971
  __isSuspense?: never;
@@ -3233,8 +3975,16 @@ export declare const UiPopper: {
3233
3975
  [x: string]: never;
3234
3976
  }, {
3235
3977
  [x: string]: never;
3236
- }, MethodOptions, {
3978
+ }, {
3237
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;
3238
3988
  }, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3239
3989
  $slots: {
3240
3990
  [x: string]: never;
@@ -3423,8 +4173,8 @@ declare type UiRadioProperties = {
3423
4173
  required?: boolean;
3424
4174
  disabled?: boolean;
3425
4175
  };
3426
- export declare const UiRadioSwitch: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
3427
- 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<{
3428
4178
  /** Идентификатор */
3429
4179
  id: {
3430
4180
  type: StringConstructor;
@@ -3682,9 +4432,9 @@ declare type UiScrollBoxProperties = {
3682
4432
  showOnMac?: boolean;
3683
4433
  };
3684
4434
  export declare const UiScrollBoxType: SchemaType<"UiScrollBox", RemoteProperties<UiScrollBoxProperties>, RemoteCallable<UiScrollBoxMethods & Record<string, never>>>;
3685
- export declare const UiSelect: __VLS_WithTemplateSlots_7<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
3686
- export declare const UiSelectOption: __VLS_WithTemplateSlots_8<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
3687
- 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"]>;
3688
4438
  declare type UiSelectPopperProperties = {
3689
4439
  opened?: boolean;
3690
4440
  targetTriggers?: Trigger[] | TriggerSchema;
@@ -4884,14 +5634,14 @@ export declare enum UiToggleButtonSize {
4884
5634
  XS = "xs"
4885
5635
  }
4886
5636
  export declare const UiToggleButtonType: SchemaType<"UiToggleButton", RemoteProperties<UiToggleButtonProperties>, RemoteCallable<UiToggleButtonMethods>>;
4887
- 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"]>;
4888
5638
  export declare type UiToggleGroupEqualPredicate = (a: unknown, b: unknown) => boolean;
4889
5639
  export declare type UiToggleGroupItem = {
4890
5640
  value: unknown;
4891
5641
  label: string;
4892
5642
  disabled?: boolean;
4893
5643
  };
4894
- export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<{
5644
+ export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_8<DefineComponent<ExtractPropTypes<{
4895
5645
  id: {
4896
5646
  type: StringConstructor;
4897
5647
  default: () => string;
@@ -5322,13 +6072,13 @@ export declare enum VALIGN {
5322
6072
  BOTTOM = "bottom"
5323
6073
  }
5324
6074
  declare enum VARIANT {
5325
- PRIMARY = "primary",
5326
- WARNING = "warning",
6075
+ DEFAULT = "default",
5327
6076
  SUCCESS = "success",
5328
6077
  DANGER = "danger"
5329
6078
  }
5330
6079
  declare enum VARIANT_2 {
5331
- DEFAULT = "default",
6080
+ PRIMARY = "primary",
6081
+ WARNING = "warning",
5332
6082
  SUCCESS = "success",
5333
6083
  DANGER = "danger"
5334
6084
  }