@central-design-system/components 3.0.0-beta.22 → 3.0.0-beta.23

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 (104) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +6 -3
  3. package/dist/cds.es.js +13734 -10958
  4. package/dist/cds.umd.js +5 -5
  5. package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +25 -25
  6. package/dist/components/CdsButton/CdsButton.vue.d.ts +14 -14
  7. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +82 -64
  8. package/dist/components/CdsContainer/CdsContainer.vue.d.ts +18 -18
  9. package/dist/components/CdsContentSwitcher/CdsContentSwitcherItem.vue.d.ts +20 -20
  10. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +90 -66
  11. package/dist/components/CdsExpandablePanel/CdsExpandablePanel.vue.d.ts +10 -10
  12. package/dist/components/CdsExpandablePanel/CdsExpandablePanelTitle.vue.d.ts +10 -10
  13. package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +2 -2
  14. package/dist/components/CdsIcon/CdsIcon.vue.d.ts +3 -3
  15. package/dist/components/CdsInput/CdsInput.vue.d.ts +10 -10
  16. package/dist/components/CdsList/CdsListGroup.vue.d.ts +7 -7
  17. package/dist/components/CdsList/CdsListItem.vue.d.ts +10 -10
  18. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +18 -0
  19. package/dist/components/CdsModal/CdsModal.vue.d.ts +24 -2
  20. package/dist/components/CdsNotification/CdsNotification.vue.d.ts +13 -13
  21. package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +31 -13
  22. package/dist/components/CdsNotification/composable/notification.d.ts +3 -3
  23. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +34 -8
  24. package/dist/components/CdsOverlay/composable/activator.d.ts +18 -5
  25. package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +1 -0
  26. package/dist/components/CdsOverlay/composable/scrollStrategies.d.ts +1 -1
  27. package/dist/components/CdsOverlay/composable/teleport.d.ts +20 -1
  28. package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +10 -10
  29. package/dist/components/CdsSelect/CdsSelect.vue.d.ts +34 -34
  30. package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.vue.d.ts +3 -3
  31. package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +18 -18
  32. package/dist/components/CdsSteps/CdsSteps.vue.d.ts +18 -18
  33. package/dist/components/CdsTable/CdsTable.vue.d.ts +39 -30
  34. package/dist/components/CdsTable/components/Table/InternalTable.d.ts +33 -3
  35. package/dist/components/CdsTable/components/TableProvider.d.ts +33 -3
  36. package/dist/components/CdsTable/composable/table.d.ts +11 -1
  37. package/dist/components/CdsTable/interface.d.ts +2 -5
  38. package/dist/components/CdsTable/utils/column.d.ts +1 -3
  39. package/dist/components/CdsTable/utils/index.d.ts +0 -1
  40. package/dist/components/CdsTabs/CdsTab.vue.d.ts +10 -10
  41. package/dist/components/CdsTabs/CdsTabs.vue.d.ts +18 -18
  42. package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +34 -34
  43. package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +34 -34
  44. package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +18 -0
  45. package/dist/components/CdsTree/CdsTree.vue.d.ts +698 -0
  46. package/dist/components/CdsTree/CdsTreeDirectory.vue.d.ts +446 -0
  47. package/dist/components/CdsTree/CdsTreeNode.vue.d.ts +119 -0
  48. package/dist/components/CdsTree/components/DropIndicator.d.ts +9 -0
  49. package/dist/components/CdsTree/components/Indent.d.ts +10 -0
  50. package/dist/components/CdsTree/components/MotionTreeNode.d.ts +128 -0
  51. package/dist/components/CdsTree/components/NodeList.d.ts +191 -0
  52. package/dist/components/CdsTree/components/SwitcherIcon.d.ts +12 -0
  53. package/dist/components/CdsTree/components/TreeContext.d.ts +81 -0
  54. package/dist/components/CdsTree/components/TreeProvider.d.ts +619 -0
  55. package/dist/components/CdsTree/components/VirtualList/Filler.d.ts +12 -0
  56. package/dist/components/CdsTree/components/VirtualList/Item.d.ts +6 -0
  57. package/dist/components/CdsTree/components/VirtualList/ScrollBar.d.ts +33 -0
  58. package/dist/components/CdsTree/components/VirtualList/VirtualList.d.ts +84 -0
  59. package/dist/components/CdsTree/components/VirtualList/features/index.d.ts +5 -0
  60. package/dist/components/CdsTree/components/VirtualList/features/useFrameWheel.d.ts +10 -0
  61. package/dist/components/CdsTree/components/VirtualList/features/useHeights.d.ts +9 -0
  62. package/dist/components/CdsTree/components/VirtualList/features/useMobileTouchMove.d.ts +2 -0
  63. package/dist/components/CdsTree/components/VirtualList/features/useOriginScroll.d.ts +2 -0
  64. package/dist/components/CdsTree/components/VirtualList/features/useScrollTo.d.ts +4 -0
  65. package/dist/components/CdsTree/components/VirtualList/index.d.ts +2 -0
  66. package/dist/components/CdsTree/components/VirtualList/interface.d.ts +10 -0
  67. package/dist/components/CdsTree/composable/events.d.ts +133 -0
  68. package/dist/components/CdsTree/composable/index.d.ts +2 -0
  69. package/dist/components/CdsTree/composable/tree.d.ts +273 -0
  70. package/dist/components/CdsTree/composable/treeNode.d.ts +75 -0
  71. package/dist/components/CdsTree/index.d.ts +5 -0
  72. package/dist/components/CdsTree/interface.d.ts +104 -4
  73. package/dist/components/CdsTree/utils/data.d.ts +70 -0
  74. package/dist/components/CdsTree/utils/diff.d.ts +6 -0
  75. package/dist/components/CdsTree/utils/directory.d.ts +9 -0
  76. package/dist/components/CdsTree/utils/index.d.ts +2 -0
  77. package/dist/components/CdsUploader/CdsUploader.vue.d.ts +26 -26
  78. package/dist/components/CdsUploader/components/AjaxUploader.d.ts +15 -15
  79. package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +15 -15
  80. package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +15 -15
  81. package/dist/components/CdsUploader/composable/upload.d.ts +6 -6
  82. package/dist/components/index.d.ts +5 -1
  83. package/dist/composable/delay.d.ts +3 -2
  84. package/dist/composable/field.d.ts +2 -2
  85. package/dist/composable/icon.d.ts +2 -2
  86. package/dist/composable/overlay.d.ts +9 -1
  87. package/dist/composable/select.d.ts +1 -1
  88. package/dist/composable/transition.d.ts +2 -0
  89. package/dist/create.d.ts +2 -0
  90. package/dist/globals.d.ts +7 -0
  91. package/dist/transitions/collapseTransition.d.ts +11 -0
  92. package/dist/transitions/index.d.ts +1 -0
  93. package/dist/utils/dom/bindProps.d.ts +2 -0
  94. package/dist/utils/dom/box.d.ts +1 -0
  95. package/dist/utils/helpers.d.ts +7 -5
  96. package/dist/utils/index.d.ts +3 -0
  97. package/dist/utils/use/flattenChildren.d.ts +3 -0
  98. package/package.json +1 -1
  99. package/src/scss/mixins/typo.scss +0 -3
  100. package/src/scss/modules/_transition.scss +31 -0
  101. package/src/scss/themes/b2b/tokens.json +104 -104
  102. package/src/scss/themes/cds/tokens.json +104 -104
  103. package/src/scss/themes/index.ts +1 -1
  104. /package/dist/{components/CdsTable/utils → utils/use}/listener.d.ts +0 -0
@@ -86,6 +86,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
86
86
  type: PropType<Record<string, any>>;
87
87
  default: () => {};
88
88
  };
89
+ target: {
90
+ type: PropType<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined>;
91
+ default: undefined;
92
+ };
89
93
  openOnClick: {
90
94
  type: PropType<boolean | undefined>;
91
95
  default: undefined;
@@ -146,6 +150,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
146
150
  type: PropType<boolean>;
147
151
  default: boolean;
148
152
  };
153
+ opacity: {
154
+ type: PropType<string | number>;
155
+ default: undefined;
156
+ };
149
157
  locale: {
150
158
  type: PropType<"ru" | "en" | import("../../locale").ILocale>;
151
159
  default: undefined;
@@ -168,13 +176,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
168
176
  validator: (value: "default" | "important") => boolean;
169
177
  };
170
178
  icon: {
171
- type: PropType<false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
179
+ type: PropType<false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
172
180
  default: null;
173
181
  };
174
182
  customIcon: {
175
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
183
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
176
184
  default: undefined;
177
- validator: (value?: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined) => boolean;
185
+ validator: (value?: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined) => boolean;
178
186
  };
179
187
  closable: {
180
188
  type: BooleanConstructor;
@@ -185,9 +193,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
185
193
  default: string;
186
194
  };
187
195
  closeIcon: {
188
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
196
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
189
197
  default: string;
190
- validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
198
+ validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
191
199
  };
192
200
  text: {
193
201
  type: PropType<string | number>;
@@ -292,6 +300,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
292
300
  type: PropType<Record<string, any>>;
293
301
  default: () => {};
294
302
  };
303
+ target: {
304
+ type: PropType<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined>;
305
+ default: undefined;
306
+ };
295
307
  openOnClick: {
296
308
  type: PropType<boolean | undefined>;
297
309
  default: undefined;
@@ -352,6 +364,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
352
364
  type: PropType<boolean>;
353
365
  default: boolean;
354
366
  };
367
+ opacity: {
368
+ type: PropType<string | number>;
369
+ default: undefined;
370
+ };
355
371
  locale: {
356
372
  type: PropType<"ru" | "en" | import("../../locale").ILocale>;
357
373
  default: undefined;
@@ -374,13 +390,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
374
390
  validator: (value: "default" | "important") => boolean;
375
391
  };
376
392
  icon: {
377
- type: PropType<false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
393
+ type: PropType<false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
378
394
  default: null;
379
395
  };
380
396
  customIcon: {
381
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
397
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
382
398
  default: undefined;
383
- validator: (value?: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined) => boolean;
399
+ validator: (value?: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined) => boolean;
384
400
  };
385
401
  closable: {
386
402
  type: BooleanConstructor;
@@ -391,9 +407,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
391
407
  default: string;
392
408
  };
393
409
  closeIcon: {
394
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
410
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
395
411
  default: string;
396
- validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
412
+ validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
397
413
  };
398
414
  text: {
399
415
  type: PropType<string | number>;
@@ -421,7 +437,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
421
437
  text: string | number;
422
438
  modelValue: boolean;
423
439
  locale: "ru" | "en" | import("../../locale").ILocale;
424
- icon: false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
440
+ icon: false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
425
441
  eager: boolean;
426
442
  transition: NonNullable<string | boolean | (import("vue").TransitionProps & {
427
443
  component?: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
@@ -435,8 +451,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
435
451
  contentClasses: string | string[] | Record<string, boolean>;
436
452
  contentProps: Record<string, unknown>;
437
453
  noClickAnimation: boolean;
454
+ opacity: string | number;
438
455
  activator: string | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element;
439
456
  activatorProps: Record<string, any>;
457
+ target: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined;
440
458
  openOnClick: boolean | undefined;
441
459
  openOnHover: boolean;
442
460
  openOnFocus: boolean | undefined;
@@ -455,10 +473,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
455
473
  minHeight: string | number;
456
474
  minWidth: string | number;
457
475
  variant: "default" | "important";
458
- customIcon: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined;
476
+ customIcon: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined;
459
477
  closable: boolean;
460
478
  closeLabel: string;
461
- closeIcon: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
479
+ closeIcon: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
462
480
  status: "error" | "info" | "success" | "warning" | "progress";
463
481
  timeout: string | number;
464
482
  }>;
@@ -27,14 +27,14 @@ export declare const makeNotificationProps: <Defaults extends {
27
27
  * Иконка
28
28
  */
29
29
  icon: {
30
- type: PropType<false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
30
+ type: PropType<false | "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
31
31
  default: null;
32
32
  };
33
33
  /**
34
34
  * Своя иконка
35
35
  */
36
36
  customIcon: {
37
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
37
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
38
38
  default: undefined;
39
39
  validator: (value?: TCdsIconsName) => boolean;
40
40
  };
@@ -56,7 +56,7 @@ export declare const makeNotificationProps: <Defaults extends {
56
56
  * Иконка кнопки закрытия
57
57
  */
58
58
  closeIcon: {
59
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
59
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
60
60
  default: string;
61
61
  validator: (value: TCdsIconsName) => boolean;
62
62
  };
@@ -1,6 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
2
  export declare const componentName = "CdsOverlay";
3
3
  declare const _sfc_main: import("vue").DefineComponent<{
4
+ _disableGlobalStack: {
5
+ type: BooleanConstructor;
6
+ default: undefined;
7
+ };
4
8
  transition: {
5
9
  type: PropType<string | boolean | (import("vue").TransitionProps & {
6
10
  component?: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
@@ -76,6 +80,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
76
80
  type: PropType<Record<string, any>>;
77
81
  default: () => {};
78
82
  };
83
+ target: {
84
+ type: PropType<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined>;
85
+ default: undefined;
86
+ };
79
87
  openOnClick: {
80
88
  type: PropType<boolean | undefined>;
81
89
  default: undefined;
@@ -106,10 +114,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
106
114
  };
107
115
  persistent: {
108
116
  type: PropType<boolean>;
109
- default: boolean; /**
110
- * Событие при изменении значения (v-model)
111
- * @type { boolean }
112
- */
117
+ default: boolean;
113
118
  };
114
119
  scrim: {
115
120
  type: PropType<string | boolean>;
@@ -139,6 +144,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
139
144
  type: PropType<boolean>;
140
145
  default: boolean;
141
146
  };
147
+ opacity: {
148
+ type: PropType<string | number>;
149
+ default: undefined;
150
+ };
142
151
  /**
143
152
  * Применяет position: absolute к содержимому оверлея
144
153
  */
@@ -156,11 +165,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
156
165
  * Событие, которое срабатывает при клике вне оверлея.
157
166
  */
158
167
  'click:outside': (event: MouseEvent) => true;
168
+ /**
169
+ * Событие после появления оверлея
170
+ */
171
+ afterEnter: () => true;
159
172
  /**
160
173
  * Событие после исчезновения оверлея
161
174
  */
162
175
  afterLeave: () => true;
163
176
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
177
+ _disableGlobalStack: {
178
+ type: BooleanConstructor;
179
+ default: undefined;
180
+ };
164
181
  transition: {
165
182
  type: PropType<string | boolean | (import("vue").TransitionProps & {
166
183
  component?: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
@@ -236,6 +253,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
236
253
  type: PropType<Record<string, any>>;
237
254
  default: () => {};
238
255
  };
256
+ target: {
257
+ type: PropType<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined>;
258
+ default: undefined;
259
+ };
239
260
  openOnClick: {
240
261
  type: PropType<boolean | undefined>;
241
262
  default: undefined;
@@ -266,10 +287,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
266
287
  };
267
288
  persistent: {
268
289
  type: PropType<boolean>;
269
- default: boolean; /**
270
- * Событие при изменении значения (v-model)
271
- * @type { boolean }
272
- */
290
+ default: boolean;
273
291
  };
274
292
  scrim: {
275
293
  type: PropType<string | boolean>;
@@ -299,6 +317,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
299
317
  type: PropType<boolean>;
300
318
  default: boolean;
301
319
  };
320
+ opacity: {
321
+ type: PropType<string | number>;
322
+ default: undefined;
323
+ };
302
324
  /**
303
325
  * Применяет position: absolute к содержимому оверлея
304
326
  */
@@ -308,6 +330,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
308
330
  };
309
331
  }>> & {
310
332
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
333
+ onAfterEnter?: (() => any) | undefined;
311
334
  onAfterLeave?: (() => any) | undefined;
312
335
  "onClick:outside"?: ((event: MouseEvent) => any) | undefined;
313
336
  }, {
@@ -327,8 +350,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
327
350
  contentClasses: string | string[] | Record<string, boolean>;
328
351
  contentProps: Record<string, unknown>;
329
352
  noClickAnimation: boolean;
353
+ opacity: string | number;
330
354
  activator: string | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element;
331
355
  activatorProps: Record<string, any>;
356
+ target: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined;
332
357
  openOnClick: boolean | undefined;
333
358
  openOnHover: boolean;
334
359
  openOnFocus: boolean | undefined;
@@ -348,5 +373,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
348
373
  minHeight: string | number;
349
374
  minWidth: string | number;
350
375
  absolute: boolean;
376
+ _disableGlobalStack: boolean;
351
377
  }>;
352
378
  export default _sfc_main;
@@ -4,6 +4,7 @@ import type { ComponentPublicInstance, PropType, Ref } from 'vue';
4
4
  export interface IActivatorProps extends IDelayProps {
5
5
  activator: 'parent' | string | Element | ComponentPublicInstance;
6
6
  activatorProps: Record<string, any>;
7
+ target: 'parent' | 'cursor' | (string & {}) | Element | ComponentPublicInstance | [x: number, y: number] | undefined;
7
8
  openOnClick: boolean | undefined;
8
9
  openOnHover: boolean;
9
10
  openOnFocus: boolean | undefined;
@@ -12,20 +13,24 @@ export interface IActivatorProps extends IDelayProps {
12
13
  export interface IUseActivator {
13
14
  activatorEl: Ref<HTMLElement | undefined>;
14
15
  activatorRef: Ref<HTMLElement | undefined>;
16
+ target: ComputedRef<HTMLElement | [x: number, y: number] | undefined>;
17
+ targetEl: ComputedRef<HTMLElement | undefined>;
18
+ targetRef: Ref<HTMLElement | undefined>;
15
19
  activatorEvents: ComputedRef<Partial<TAvailableEvents>>;
16
20
  contentEvents: ComputedRef<Partial<TAvailableEvents>>;
17
21
  scrimEvents: ComputedRef<Partial<TAvailableEvents>>;
18
22
  }
19
23
  declare type TAvailableEvents = {
20
- click: (event: MouseEvent) => void;
21
- mouseenter: (event: MouseEvent) => void;
22
- mouseleave: (event: MouseEvent) => void;
23
- focus: (event: FocusEvent) => void;
24
- blur: (event: FocusEvent) => void;
24
+ onClick: (event: MouseEvent) => void;
25
+ onMouseenter: (event: MouseEvent) => void;
26
+ onMouseleave: (event: MouseEvent) => void;
27
+ onFocus: (event: FocusEvent) => void;
28
+ onBlur: (event: FocusEvent) => void;
25
29
  };
26
30
  export declare const makeActivatorProps: <Defaults extends {
27
31
  activator?: unknown;
28
32
  activatorProps?: unknown;
33
+ target?: unknown;
29
34
  openOnClick?: unknown;
30
35
  openOnHover?: unknown;
31
36
  openOnFocus?: unknown;
@@ -45,6 +50,14 @@ export declare const makeActivatorProps: <Defaults extends {
45
50
  type: PropType<Record<string, any>>;
46
51
  default: () => {};
47
52
  };
53
+ /**
54
+ * Для locationStrategy="connected" укажите элемент или массив координат x,y, относительно которого должен позиционироваться оверлей.
55
+ * По умолчанию это будет элемент активатора.
56
+ */
57
+ target: {
58
+ type: PropType<ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined>;
59
+ default: undefined;
60
+ };
48
61
  /**
49
62
  * Показать компонент по клику на активатор
50
63
  */
@@ -3,6 +3,7 @@ import { Box, TAnchor } from '../../../utils';
3
3
  import type { PropType, Ref } from 'vue';
4
4
  export interface ILocationStrategyData {
5
5
  contentEl: Ref<HTMLElement | undefined>;
6
+ target: Ref<HTMLElement | [x: number, y: number] | undefined>;
6
7
  activatorEl: Ref<HTMLElement | undefined>;
7
8
  isActive: Ref<boolean>;
8
9
  }
@@ -2,7 +2,7 @@ import type { EffectScope, PropType, Ref } from 'vue';
2
2
  export interface IScrollStrategyData {
3
3
  root: Ref<HTMLElement | undefined>;
4
4
  contentEl: Ref<HTMLElement | undefined>;
5
- activatorEl: Ref<HTMLElement | undefined>;
5
+ targetEl: Ref<HTMLElement | undefined>;
6
6
  isActive: Ref<boolean>;
7
7
  updateLocation: Ref<((event: Event) => void) | undefined>;
8
8
  }
@@ -1,6 +1,25 @@
1
- import { ComputedRef } from 'vue';
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
2
  import type { Ref } from 'vue';
3
3
  export interface IUseTeleport {
4
4
  teleportTarget: ComputedRef<Element | undefined>;
5
5
  }
6
+ export interface ITeleportOptions {
7
+ /**
8
+ * Указывает, к какому DOM элементу будут прикреплены компоненты использующие телепорт.
9
+ * По-умолчанию прикрепляется к body.
10
+ */
11
+ target: Element;
12
+ /**
13
+ * Указывает, что все всплывающие компоненты будут прикреплены к родительскому элементу-активатору автоматически.
14
+ * Игнорирует переданный target во всех случаях.
15
+ * ВНИМАНИЕ! Возможны проблемы с позиционированием элементов вложенных в другие плавающие элементы в DOM.
16
+ * Используйте только если вы уверены, что это необходимо. В противном случае используйте свойства attach и contained непосредственно в самих компонентах.
17
+ */
18
+ contained: boolean;
19
+ /**
20
+ * Класс контейнера для компонентов телепорта.
21
+ */
22
+ containerClassName: string;
23
+ }
24
+ export declare const TeleportSymbol: InjectionKey<ITeleportOptions>;
6
25
  export declare function useTeleport(target: Ref<boolean | string | Element>, overlayContainerClassName: string): IUseTeleport;