@acorex/components 21.0.1-next.3 → 21.0.1-next.30

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 (255) hide show
  1. package/accordion/index.d.ts +0 -1
  2. package/action-sheet/index.d.ts +116 -34
  3. package/button-group/index.d.ts +6 -4
  4. package/chips/index.d.ts +3 -8
  5. package/collapse/index.d.ts +4 -6
  6. package/command/index.d.ts +8 -1
  7. package/conversation2/README.md +71 -31
  8. package/conversation2/index.d.ts +36 -35
  9. package/data-table/index.d.ts +4 -253
  10. package/datetime-picker/index.d.ts +1 -1
  11. package/dialog/index.d.ts +18 -14
  12. package/dropdown/index.d.ts +3 -8
  13. package/fesm2022/acorex-components-accordion.mjs +16 -21
  14. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  15. package/fesm2022/acorex-components-action-sheet.mjs +284 -118
  16. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  17. package/fesm2022/acorex-components-alert.mjs +13 -13
  18. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  19. package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
  20. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  21. package/fesm2022/acorex-components-audio-wave.mjs +11 -10
  22. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  23. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  24. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  25. package/fesm2022/acorex-components-avatar.mjs +12 -12
  26. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  27. package/fesm2022/acorex-components-badge.mjs +9 -9
  28. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  29. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  30. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  31. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  32. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  33. package/fesm2022/acorex-components-button-group.mjs +23 -19
  34. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  35. package/fesm2022/acorex-components-button.mjs +18 -18
  36. package/fesm2022/acorex-components-button.mjs.map +1 -1
  37. package/fesm2022/acorex-components-calendar.mjs +17 -17
  38. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  39. package/fesm2022/acorex-components-check-box.mjs +10 -10
  40. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  41. package/fesm2022/acorex-components-chips.mjs +12 -14
  42. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  43. package/fesm2022/acorex-components-circular-progress.mjs +12 -10
  44. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  45. package/fesm2022/acorex-components-code-editor.mjs +10 -10
  46. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  47. package/fesm2022/acorex-components-collapse.mjs +22 -19
  48. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  49. package/fesm2022/acorex-components-color-box.mjs +9 -9
  50. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  51. package/fesm2022/acorex-components-color-palette.mjs +30 -30
  52. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  53. package/fesm2022/acorex-components-command.mjs +17 -11
  54. package/fesm2022/acorex-components-command.mjs.map +1 -1
  55. package/fesm2022/acorex-components-comment.mjs +32 -32
  56. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  57. package/fesm2022/acorex-components-conversation.mjs +51 -51
  58. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  59. package/fesm2022/acorex-components-conversation2.mjs +309 -303
  60. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  61. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  62. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  63. package/fesm2022/acorex-components-data-list.mjs +3 -3
  64. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  65. package/fesm2022/acorex-components-data-pager.mjs +33 -33
  66. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  67. package/fesm2022/acorex-components-data-table.mjs +50 -486
  68. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  69. package/fesm2022/acorex-components-datetime-box.mjs +9 -9
  70. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  71. package/fesm2022/acorex-components-datetime-input.mjs +9 -9
  72. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  73. package/fesm2022/acorex-components-datetime-picker.mjs +40 -38
  74. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  75. package/fesm2022/acorex-components-decorators.mjs +43 -36
  76. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  77. package/fesm2022/acorex-components-dialog.mjs +75 -54
  78. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  79. package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
  80. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
  81. package/fesm2022/acorex-components-drawer.mjs +15 -16
  82. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  83. package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
  84. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  85. package/fesm2022/acorex-components-dropdown.mjs +25 -28
  86. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  87. package/fesm2022/acorex-components-editor.mjs +11 -11
  88. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  89. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  90. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  91. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  92. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  93. package/fesm2022/acorex-components-form.mjs +48 -42
  94. package/fesm2022/acorex-components-form.mjs.map +1 -1
  95. package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -14
  96. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  97. package/fesm2022/acorex-components-image-editor.mjs +44 -44
  98. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  99. package/fesm2022/acorex-components-image.mjs +9 -9
  100. package/fesm2022/acorex-components-image.mjs.map +1 -1
  101. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  102. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  103. package/fesm2022/acorex-components-kanban.mjs +140 -13
  104. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  105. package/fesm2022/acorex-components-kbd.mjs +29 -11
  106. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  107. package/fesm2022/acorex-components-label.mjs +9 -9
  108. package/fesm2022/acorex-components-label.mjs.map +1 -1
  109. package/fesm2022/acorex-components-list.mjs +9 -9
  110. package/fesm2022/acorex-components-list.mjs.map +1 -1
  111. package/fesm2022/acorex-components-loading-dialog.mjs +82 -45
  112. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  113. package/fesm2022/acorex-components-loading.mjs +23 -23
  114. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  115. package/fesm2022/acorex-components-map.mjs +14 -14
  116. package/fesm2022/acorex-components-map.mjs.map +1 -1
  117. package/fesm2022/acorex-components-media-viewer.mjs +72 -54
  118. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  119. package/fesm2022/acorex-components-menu.mjs +43 -22
  120. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  121. package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs} +47 -23
  122. package/fesm2022/acorex-components-modal-acorex-components-modal-BajlPo_n.mjs.map +1 -0
  123. package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs} +9 -7
  124. package/fesm2022/acorex-components-modal-modal-content.component-BVrBX4Qf.mjs.map +1 -0
  125. package/fesm2022/acorex-components-modal.mjs +1 -1
  126. package/fesm2022/acorex-components-navbar.mjs +9 -9
  127. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  128. package/fesm2022/acorex-components-notification.mjs +381 -260
  129. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  130. package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
  131. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
  132. package/fesm2022/acorex-components-number-box.mjs +9 -9
  133. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  134. package/fesm2022/acorex-components-otp.mjs +9 -9
  135. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  136. package/fesm2022/acorex-components-page.mjs +10 -10
  137. package/fesm2022/acorex-components-page.mjs.map +1 -1
  138. package/fesm2022/acorex-components-paint.mjs +34 -39
  139. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  140. package/fesm2022/acorex-components-password-box.mjs +13 -13
  141. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  142. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  143. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  144. package/fesm2022/acorex-components-phone-box.mjs +88 -47
  145. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  146. package/fesm2022/acorex-components-picker.mjs +19 -18
  147. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  148. package/fesm2022/acorex-components-popover.mjs +213 -197
  149. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  150. package/fesm2022/acorex-components-popup.mjs +308 -113
  151. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  152. package/fesm2022/acorex-components-progress-bar.mjs +11 -9
  153. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  154. package/fesm2022/acorex-components-qrcode.mjs +9 -9
  155. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  156. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  157. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  158. package/fesm2022/acorex-components-radio.mjs +9 -9
  159. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  160. package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
  161. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  162. package/fesm2022/acorex-components-range-slider.mjs +10 -10
  163. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  164. package/fesm2022/acorex-components-rate-picker.mjs +20 -35
  165. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  166. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  167. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  168. package/fesm2022/acorex-components-result.mjs +8 -8
  169. package/fesm2022/acorex-components-result.mjs.map +1 -1
  170. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  171. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  172. package/fesm2022/acorex-components-rrule.mjs +9 -9
  173. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  174. package/fesm2022/acorex-components-scheduler-picker.mjs +56 -56
  175. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  176. package/fesm2022/acorex-components-scheduler.mjs +43 -43
  177. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  178. package/fesm2022/acorex-components-scss.mjs +4 -4
  179. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  180. package/fesm2022/acorex-components-search-box.mjs +16 -10
  181. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  182. package/fesm2022/acorex-components-select-box.mjs +11 -9
  183. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  184. package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
  185. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  186. package/fesm2022/acorex-components-selection-list.mjs +9 -9
  187. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  188. package/fesm2022/acorex-components-side-menu.mjs +74 -25
  189. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  190. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  191. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  192. package/fesm2022/acorex-components-slider.mjs +12 -12
  193. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  194. package/fesm2022/acorex-components-sliding-item.mjs +14 -14
  195. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  196. package/fesm2022/acorex-components-step-wizard.mjs +14 -14
  197. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  198. package/fesm2022/acorex-components-switch.mjs +14 -14
  199. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  200. package/fesm2022/acorex-components-tabs.mjs +15 -15
  201. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  202. package/fesm2022/acorex-components-tag-box.mjs +9 -9
  203. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  204. package/fesm2022/acorex-components-tag.mjs +9 -9
  205. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  206. package/fesm2022/acorex-components-text-area.mjs +9 -9
  207. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  208. package/fesm2022/acorex-components-text-box.mjs +14 -12
  209. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  210. package/fesm2022/acorex-components-time-duration.mjs +18 -20
  211. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  212. package/fesm2022/acorex-components-time-line.mjs +12 -12
  213. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  214. package/fesm2022/acorex-components-toast.mjs +239 -131
  215. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  216. package/fesm2022/acorex-components-toolbar.mjs +8 -8
  217. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  218. package/fesm2022/acorex-components-tooltip.mjs +67 -67
  219. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  220. package/fesm2022/acorex-components-tree-view-legacy.mjs +16 -12
  221. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
  222. package/fesm2022/acorex-components-tree-view.mjs +26 -11
  223. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  224. package/fesm2022/acorex-components-uploader.mjs +16 -16
  225. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  226. package/fesm2022/acorex-components-video-player.mjs +8 -8
  227. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  228. package/fesm2022/acorex-components-wysiwyg.mjs +42 -42
  229. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  230. package/fesm2022/acorex-components.mjs.map +1 -1
  231. package/form/index.d.ts +2 -1
  232. package/grid-layout-builder/index.d.ts +1 -2
  233. package/kanban/index.d.ts +62 -4
  234. package/kbd/index.d.ts +13 -7
  235. package/loading/index.d.ts +1 -1
  236. package/loading-dialog/index.d.ts +31 -15
  237. package/media-viewer/index.d.ts +2 -1
  238. package/menu/index.d.ts +4 -0
  239. package/modal/index.d.ts +7 -0
  240. package/notification/index.d.ts +47 -32
  241. package/package.json +3 -3
  242. package/paint/index.d.ts +1 -6
  243. package/phone-box/index.d.ts +12 -7
  244. package/popover/index.d.ts +32 -30
  245. package/popup/index.d.ts +100 -27
  246. package/rate-picker/index.d.ts +5 -15
  247. package/side-menu/index.d.ts +9 -2
  248. package/slider/index.d.ts +2 -2
  249. package/time-duration/index.d.ts +0 -1
  250. package/toast/index.d.ts +24 -18
  251. package/tooltip/index.d.ts +4 -9
  252. package/tree-view/index.d.ts +11 -0
  253. package/tree-view-legacy/index.d.ts +1 -0
  254. package/fesm2022/acorex-components-modal-acorex-components-modal-CXXcFToK.mjs.map +0 -1
  255. package/fesm2022/acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnDestroy, ElementRef, ComponentRef, TemplateRef, EventEmitter } from '@angular/core';
3
3
  import { MXBaseComponent, AXPlacementType, AXEvent } from '@acorex/cdk/common';
4
- import { ComponentType } from '@angular/cdk/portal';
4
+ import { AXComponentType } from '@acorex/core/components';
5
5
  import * as i1 from '@angular/common';
6
6
 
7
7
  type AXPopoverOpenTrigger = 'manual' | 'click' | 'hover' | 'toggle';
@@ -12,26 +12,19 @@ type AXPopoverCloseTrigger = 'manual' | 'clickOut' | 'leave';
12
12
  */
13
13
  declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
14
14
  #private;
15
+ private platform;
15
16
  private document;
16
17
  private platformID;
17
- private renderer;
18
- private onKeyDownListenerFn;
19
- /** @ignore */
20
- private _platform;
21
- /** @ignore */
22
- private _overlay;
18
+ private overlayService;
19
+ private onKeyDownHandler;
23
20
  /** @ignore */
24
21
  private _overlayRef;
25
22
  /** @ignore */
26
- private _isMouseOverButton;
27
- /** @ignore */
28
- private _isMouseOverTooltip;
29
- /** @ignore */
30
23
  private _lastActiveElement;
31
24
  /** @ignore */
32
25
  private _targetEvents;
33
26
  /** @ignore */
34
- private _overlayEvents;
27
+ private _outsideClickHandler;
35
28
  /** @ignore */
36
29
  private resizeObserver;
37
30
  /** @ignore */
@@ -39,6 +32,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
39
32
  /** @ignore */
40
33
  private _disabled;
41
34
  readonly width: i0.InputSignal<string>;
35
+ private translateService;
42
36
  /**
43
37
  * Gets or sets whether the popover is disabled.
44
38
  * When disabled, the popover will not open and will close if already open.
@@ -76,8 +70,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
76
70
  */
77
71
  set target(v: Element | ElementRef | MXBaseComponent);
78
72
  /** @ignore */
79
- private _defautPlacements;
80
- /** @ignore */
81
73
  private _placements;
82
74
  /** @ignore */
83
75
  private _placement;
@@ -90,13 +82,11 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
90
82
  */
91
83
  set placement(v: AXPlacementType);
92
84
  /** @ignore */
93
- private _portal;
94
- /** @ignore */
95
85
  private _componentRef;
96
86
  /**
97
87
  * Gets the reference to the component.
98
88
  */
99
- get componentRef(): ComponentRef<unknown>;
89
+ get componentRef(): ComponentRef<unknown> | null;
100
90
  /**
101
91
  * Holds the context data for the component.
102
92
  */
@@ -106,7 +96,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
106
96
  /**
107
97
  * Defines the content to be displayed, which can be a template or a component.
108
98
  */
109
- content: TemplateRef<unknown> | ComponentType<unknown>;
99
+ content: TemplateRef<unknown> | AXComponentType<unknown>;
110
100
  /** @ignore */
111
101
  private _openOn;
112
102
  /**
@@ -125,7 +115,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
125
115
  get closeOn(): AXPopoverCloseTrigger;
126
116
  /**
127
117
  * Sets the trigger for closing the popover and rebinds target events.
128
- * @param v
129
118
  */
130
119
  set closeOn(v: AXPopoverCloseTrigger);
131
120
  /**
@@ -135,17 +124,21 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
135
124
  /**
136
125
  * Delay in milliseconds before the popover opens after a trigger event.
137
126
  */
138
- openAfter: number;
127
+ private _openAfter;
128
+ get openAfter(): number;
129
+ set openAfter(value: number);
139
130
  /**
140
131
  * Delay in milliseconds before the popover closes after a trigger event.
141
132
  */
142
- closeAfter: number;
133
+ private _closeAfter;
134
+ get closeAfter(): number;
135
+ set closeAfter(value: number);
143
136
  /**
144
137
  * CSS class to apply to the backdrop element.
145
138
  */
146
139
  backdropClass: string;
147
140
  /**
148
- * CSS class to apply to the backdrop element.
141
+ * CSS class to apply to the panel element.
149
142
  */
150
143
  panelClass: string;
151
144
  /**
@@ -167,10 +160,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
167
160
  /** @ignore */
168
161
  private _emitOnClosedEvent;
169
162
  /** @ignore */
170
- protected _handleMouseEnter(e: MouseEvent): void;
171
- /** @ignore */
172
- protected _handleMouseLeave(e: MouseEvent): void;
173
- /** @ignore */
174
163
  private removeTargetEvents;
175
164
  /** @ignore */
176
165
  private bindTargetEvents;
@@ -178,6 +167,14 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
178
167
  private bindOverlayEvents;
179
168
  /** @ignore */
180
169
  private removeOverlayEvents;
170
+ /**
171
+ * Checks if the clicked element is inside a child overlay (e.g., selectbox dropdown).
172
+ * Child overlays are identified by having a higher z-index than this popover's overlay.
173
+ * @ignore
174
+ */
175
+ private isClickInsideChildOverlay;
176
+ /** @ignore */
177
+ private handleOverlayDisposed;
181
178
  /**
182
179
  * Toggles the component's open state.
183
180
  */
@@ -189,7 +186,11 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
189
186
  /**
190
187
  * Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
191
188
  */
192
- open(): void;
189
+ open(): Promise<void>;
190
+ /** @ignore */
191
+ private addKeyDownListener;
192
+ /** @ignore */
193
+ private removeKeyDownListener;
193
194
  /** @ignore */
194
195
  private saveFocus;
195
196
  /** @ignore */
@@ -207,8 +208,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
207
208
  */
208
209
  get isActionsheetStyle(): boolean;
209
210
  /** @ignore */
210
- private updatePositionStrategy;
211
- /** @ignore */
212
211
  private updateOffset;
213
212
  /**
214
213
  * Updates the position of the overlay and focuses on it.
@@ -218,11 +217,14 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
218
217
  * Focuses the overlay element.
219
218
  */
220
219
  focus(): void;
220
+ /**
221
+ * Brings this popover to the front of all other overlays.
222
+ */
223
+ bringToFront(): void;
221
224
  /** @ignore */
222
225
  private initializeResizeObserver;
223
226
  /** @ignore */
224
227
  private disconnectResizeObserver;
225
- protected ngOnInit(): void;
226
228
  /** @ignore */
227
229
  ngOnDestroy(): void;
228
230
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
package/popup/index.d.ts CHANGED
@@ -1,17 +1,14 @@
1
- import * as i5 from '@angular/cdk/portal';
2
- import { ComponentType, Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
3
1
  import * as i0 from '@angular/core';
4
- import { TemplateRef, ViewContainerRef, StaticProvider, OnInit } from '@angular/core';
2
+ import { TemplateRef, ViewContainerRef, StaticProvider, OnInit, OnDestroy } from '@angular/core';
5
3
  import * as i2 from '@acorex/cdk/common';
6
4
  import { MXBaseComponent, AXComponentClosedPromise } from '@acorex/cdk/common';
5
+ import { AXComponentType, AXComponentInputs } from '@acorex/core/components';
6
+ import { Subject } from 'rxjs';
7
7
  import * as i1 from '@angular/common';
8
- import * as i3 from '@angular/cdk/drag-drop';
9
- import * as i4 from '@angular/cdk/a11y';
10
- import * as i6 from '@acorex/components/decorators';
11
- import * as i7 from '@angular/cdk/dialog';
12
- import * as i8 from '@acorex/core/translation';
8
+ import * as i3 from '@acorex/components/decorators';
9
+ import * as i4 from '@acorex/core/translation';
13
10
 
14
- type AXPopupContentType = TemplateRef<unknown> | ComponentType<unknown>;
11
+ type AXPopupContentType = TemplateRef<unknown> | AXComponentType<unknown>;
15
12
  type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
16
13
  interface AXPopupConfig {
17
14
  title?: string;
@@ -19,7 +16,9 @@ interface AXPopupConfig {
19
16
  header?: boolean;
20
17
  maximizable?: boolean;
21
18
  size?: AXPopupSizeType;
19
+ /** @deprecated Use `inputs` instead to pass data to the popup component. */
22
20
  data?: unknown;
21
+ inputs?: unknown;
23
22
  draggable?: boolean;
24
23
  hasBackdrop?: boolean;
25
24
  backdropClass?: string;
@@ -39,19 +38,41 @@ interface AXPopupData {
39
38
  draggable: boolean;
40
39
  content: AXPopupContentType;
41
40
  }
41
+ interface AXPopupRef<TResult = any> {
42
+ close: (data?: TResult) => void;
43
+ setInputs: (values: AXComponentInputs) => void;
44
+ setTitle: (title: string) => void;
45
+ /** Brings this popup to the front of all other overlays */
46
+ bringToFront: () => void;
47
+ onClose: Subject<TResult>;
48
+ /** The component instance rendered inside the popup (available after content is rendered) */
49
+ componentInstance?: unknown;
50
+ }
51
+ declare abstract class AXPopupComponentBase {
52
+ __popup__: i0.InputSignal<AXPopupRef<any>>;
53
+ close(data?: any): void;
54
+ setTitle(title: string): void;
55
+ bringToFront(): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponentBase, never>;
57
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXPopupComponentBase, never, never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
58
+ }
42
59
 
43
60
  /**
44
- * The Button is a component which detects user interaction and triggers a corresponding event
61
+ * The Popup is a component which displays content in a dialog overlay
45
62
  *
46
63
  * @category Components
47
64
  */
48
- declare class AXPopupComponent extends MXBaseComponent implements OnInit {
65
+ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDestroy {
49
66
  private _zone;
50
- private _viewContainerRef;
51
67
  private loadingService;
52
68
  private _platform;
53
- protected data: AXPopupData;
54
- private dialogRef;
69
+ private componentService;
70
+ private contentContainerRef;
71
+ private contentContainerEl;
72
+ readonly __content__: i0.InputSignal<AXPopupContentType>;
73
+ readonly __config__: i0.InputSignal<AXPopupConfig>;
74
+ readonly __popupRef__: i0.InputSignal<AXPopupRef<any>>;
75
+ readonly __id__: i0.InputSignal<number>;
55
76
  /**
56
77
  * Indicates whether the component is loading.
57
78
  * @defaultValue true
@@ -60,19 +81,28 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
60
81
  /** @ignore */
61
82
  private _loadingId;
62
83
  /** @ignore */
63
- protected _selectedPortal: Portal<unknown>;
84
+ private _componentRef;
85
+ /** Current title */
86
+ protected title: i0.WritableSignal<string>;
64
87
  /** @ignore */
65
- protected _footerPortal: Portal<unknown>;
88
+ protected isDragging: i0.WritableSignal<boolean>;
66
89
  /** @ignore */
67
- protected _headerPortal: Portal<unknown>;
90
+ protected dragOffset: i0.WritableSignal<{
91
+ x: number;
92
+ y: number;
93
+ }>;
68
94
  /** @ignore */
69
- private _componentRef;
95
+ private dragStartPos;
96
+ /** @ignore */
97
+ private elementStartPos;
70
98
  /** @ignore */
71
99
  ngOnInit(): void;
72
100
  /** @ignore */
73
- protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
101
+ private renderContent;
74
102
  /** @ignore */
75
- onKeydownHandler(event: KeyboardEvent): void;
103
+ private handleContentRendered;
104
+ /** @ignore */
105
+ onKeydownHandler(): void;
76
106
  /** @ignore */
77
107
  protected _handleCloseClick(): void;
78
108
  /** @ignore */
@@ -82,17 +112,30 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
82
112
  */
83
113
  focus(): void;
84
114
  /**
85
- * Closes the dialog, emitting component reference, host element, and optional data.
115
+ * Closes the popup, emitting component reference, host element, and optional data.
86
116
  * @param {unknown} [data]
87
117
  */
88
118
  close(data?: unknown): void;
119
+ /**
120
+ * Sets inputs on the content component.
121
+ * @param values - Object containing input values to set
122
+ */
123
+ setContentInputs(values: AXComponentInputs): void;
124
+ /**
125
+ * Sets the popup title.
126
+ * @param title - The new title
127
+ */
128
+ setTitle(title: string): void;
129
+ protected onDragStart(event: MouseEvent): void;
130
+ onDragMove(event: MouseEvent): void;
131
+ onDragEnd(): void;
89
132
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponent, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, {}, {}, never, never, true, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, { "__content__": { "alias": "__content__"; "required": false; "isSignal": true; }; "__config__": { "alias": "__config__"; "required": false; "isSignal": true; }; "__popupRef__": { "alias": "__popupRef__"; "required": false; "isSignal": true; }; "__id__": { "alias": "__id__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
91
134
  }
92
135
 
93
136
  declare class AXPopupModule {
94
137
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupModule, never>;
95
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.PortalModule, typeof i6.AXDecoratorModule, typeof i7.DialogModule, typeof i8.AXTranslationModule, typeof AXPopupComponent], [typeof AXPopupComponent]>;
138
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.AXDecoratorModule, typeof i4.AXTranslationModule, typeof AXPopupComponent], [typeof AXPopupComponent]>;
96
139
  static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
97
140
  }
98
141
 
@@ -102,8 +145,8 @@ declare class AXPopupModule {
102
145
  * @category Components
103
146
  */
104
147
  declare class AXPopupService {
105
- #private;
106
- private dialog;
148
+ private popupList;
149
+ private overlayService;
107
150
  /**
108
151
  * Open popup 1
109
152
  */
@@ -112,9 +155,39 @@ declare class AXPopupService {
112
155
  * Open popup 2
113
156
  */
114
157
  open(content: AXPopupContentType, config?: AXPopupConfig): AXComponentClosedPromise;
158
+ /**
159
+ * Opens a popup with the specified content and configuration.
160
+ * @param content - Component or template to display
161
+ * @param config - Configuration options for the popup
162
+ * @returns Promise<AXPopupRef> - Reference to the opened popup
163
+ */
164
+ private openInternal;
165
+ /**
166
+ * Closes a popup by its ID.
167
+ * @param id - The popup ID to close
168
+ * @param data - Optional data to pass to the close event
169
+ */
170
+ close<TResult = any>(id: number, data?: TResult): void;
171
+ /**
172
+ * Sets input values for a popup by its ID.
173
+ * @param id - The popup ID
174
+ * @param values - Object containing input values to set
175
+ */
176
+ setInputs(id: number, values: AXComponentInputs): void;
177
+ /**
178
+ * Sets the title for a popup by its ID.
179
+ * @param id - The popup ID
180
+ * @param title - The new title
181
+ */
182
+ setTitle(id: number, title: string): void;
183
+ /**
184
+ * Brings a popup to the front of all other overlays.
185
+ * @param id - The popup ID to bring to front
186
+ */
187
+ bringToFront(id: number): void;
115
188
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupService, never>;
116
189
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupService>;
117
190
  }
118
191
 
119
- export { AXPopupComponent, AXPopupModule, AXPopupService };
120
- export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupSizeType };
192
+ export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService };
193
+ export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupRef, AXPopupSizeType };
@@ -1,6 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { ElementRef, Renderer2 } from '@angular/core';
3
- import { MXValueComponent } from '@acorex/cdk/common';
3
+ import { MXValueComponent, AXStyleColorType } from '@acorex/cdk/common';
4
4
  import * as i1 from '@angular/common';
5
5
 
6
6
  /**
@@ -19,6 +19,7 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
19
19
  * @default 'fa-star'
20
20
  */
21
21
  readonly iconName: _angular_core.InputSignal<string>;
22
+ readonly color: _angular_core.InputSignal<AXStyleColorType>;
22
23
  /**
23
24
  * @description
24
25
  * Maximum value for the rating.
@@ -114,22 +115,11 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
114
115
  private onEnd;
115
116
  private countDecimals;
116
117
  /**
117
- * @description
118
- * Determines if the component is active (i.e., not readonly or disabled).
119
- */
120
- get isActive(): boolean;
121
- /**
122
- * @description
123
- * Determines if the component is in readonly mode.
124
- */
125
- get isReadonly(): boolean;
126
- /**
127
- * @description
128
- * Determines if the component is disabled.
118
+ * @ignore
129
119
  */
130
- get isDisabled(): boolean;
120
+ private get __hostClass();
131
121
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXRatePickerComponent, never>;
132
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXRatePickerComponent, "ax-rate-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hasTransition": { "alias": "hasTransition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
122
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXRatePickerComponent, "ax-rate-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hasTransition": { "alias": "hasTransition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
133
123
  }
134
124
 
135
125
  declare class AXRatePickerModule {
@@ -18,6 +18,8 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
18
18
  isLoading: _angular_core.ModelSignal<boolean>;
19
19
  isCollapsed: _angular_core.ModelSignal<boolean>;
20
20
  onClick: _angular_core.OutputEmitterRef<AXSideMenuItemClickEvent>;
21
+ tooltipStatus: _angular_core.WritableSignal<boolean>;
22
+ tooltipText: _angular_core.InputSignal<string>;
21
23
  private elem;
22
24
  readonly toggleOnClick: _angular_core.InputSignal<boolean>;
23
25
  readonly href: _angular_core.InputSignal<string>;
@@ -27,6 +29,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
27
29
  exact: boolean;
28
30
  } | IsActiveMatchOptions>;
29
31
  readonly target: _angular_core.InputSignal<"_blank" | "_self" | "_parent" | "_top">;
32
+ private childItems;
30
33
  protected hasChild: _angular_core.WritableSignal<boolean>;
31
34
  private checkForChildren;
32
35
  protected _handleClickEvent(e: MouseEvent): void;
@@ -34,7 +37,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
34
37
  open(): void;
35
38
  close(): void;
36
39
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSideMenuItemComponent, never>;
37
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "active": "activeChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; }, never, ["ax-title", "ax-side-menu-item, ng-container", "ax-divider", "ax-prefix", "ax-text", "*", "ax-suffix"], true, never>;
40
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "active": "activeChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; }, ["childItems"], ["ax-title", "ax-side-menu-item, ng-container", "ax-divider", "ax-prefix", "ax-text", "*", "ax-suffix"], true, never>;
38
41
  }
39
42
 
40
43
  type AXSideMenuLook = 'pills' | 'with-line' | 'with-line-color' | 'default';
@@ -64,14 +67,18 @@ type AXSideMenuItem = {
64
67
  * A component for displaying a side menu with customizable content.
65
68
  */
66
69
  declare class AXSideMenuComponent extends NXComponent {
70
+ #private;
67
71
  items: _angular_core.ModelSignal<AXSideMenuItem[]>;
68
72
  readonly look: _angular_core.InputSignal<AXSideMenuLook>;
69
73
  readonly location: _angular_core.InputSignal<AXSideMenuLocation>;
74
+ readonly mode: _angular_core.InputSignal<"full" | "compact">;
70
75
  children: _angular_core.Signal<readonly AXSideMenuItemComponent[]>;
76
+ private elementRef;
77
+ private firstLevelItems;
71
78
  /** @ignore */
72
79
  private get __hostClass();
73
80
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSideMenuComponent, never>;
74
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuComponent, "ax-side-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "location": { "alias": "location"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; }, never, ["ax-side-menu-item,ax-title,ng-container,ng-content"], true, never>;
81
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuComponent, "ax-side-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "location": { "alias": "location"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; }, ["children"], ["ax-side-menu-item,ax-title,ng-container,ng-content"], true, never>;
75
82
  }
76
83
 
77
84
  declare class AXOutlineSideMenuDirective {
package/slider/index.d.ts CHANGED
@@ -11,8 +11,8 @@ declare const AXSliderComponent_base: polytype.Polytype.ClusteredConstructor<[{
11
11
  ɵprov: i0.ɵɵInjectableDeclaration<MXValueComponent<any>>;
12
12
  }, typeof MXColorComponent]>;
13
13
  /**
14
- * @category
15
- * A customizable slider component for selecting a value within a range.
14
+ * @deprecated Use `range slider` instead.
15
+ * This component deprecated and no longer support.
16
16
  */
17
17
  declare class AXSliderComponent extends AXSliderComponent_base {
18
18
  private _zone;
@@ -21,7 +21,6 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
21
21
  protected maskOptions: _angular_core.WritableSignal<any>;
22
22
  private translationService;
23
23
  private timeDurationFormatter;
24
- private translation;
25
24
  private onInputFire;
26
25
  private onInternalValueChangedFire;
27
26
  private YEAR;
package/toast/index.d.ts CHANGED
@@ -1,15 +1,13 @@
1
- import { AXLocation, AXStyleColorType, MXBaseComponent, AXComponentCloseEvent } from '@acorex/cdk/common';
1
+ import { AXLocation, AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
2
+ import { AXOverlayRef } from '@acorex/cdk/overlay';
2
3
  import * as i0 from '@angular/core';
3
4
  import { OnInit, InjectionToken } from '@angular/core';
4
5
  import * as i2 from '@acorex/components/button';
5
6
  import { AXButtonItem } from '@acorex/components/button';
6
- import * as i5 from '@angular/cdk/dialog';
7
- import { DialogRef } from '@angular/cdk/dialog';
8
- import { ScrollStrategy } from '@angular/cdk/overlay';
9
7
  import * as i1 from '@angular/common';
10
8
  import * as i3 from '@acorex/components/decorators';
11
9
  import * as i4 from '@acorex/components/loading';
12
- import * as i6 from '@acorex/core/translation';
10
+ import * as i5 from '@acorex/core/translation';
13
11
 
14
12
  interface AXToastDisplayConfig {
15
13
  icon?: string;
@@ -37,19 +35,26 @@ interface AXToastData {
37
35
  interface AXToastRef {
38
36
  close(): void;
39
37
  }
38
+ /**
39
+ * @internal
40
+ * Internal reference used by toast service to manage overlay instances
41
+ */
42
+ interface AXToastInternalRef {
43
+ id: string;
44
+ overlayRef: AXOverlayRef<unknown>;
45
+ config: AXToastData;
46
+ close: () => void;
47
+ }
40
48
 
41
49
  declare class AXToastService {
42
- private readonly scrollStrategyOptions;
43
- private dialog;
50
+ private overlayService;
44
51
  private defaultConfig;
45
52
  private translationService;
46
53
  private reserveCounter;
47
54
  private activeToasts;
48
55
  private reservedToasts;
49
- private toastCounterElement;
56
+ private toastCounterRef;
50
57
  private moreToastsConfig;
51
- scrollStrategy: ScrollStrategy;
52
- constructor();
53
58
  /**
54
59
  * Shows a primary toast notification.
55
60
  *
@@ -101,10 +106,11 @@ declare class AXToastService {
101
106
  private handleShowReservedToast;
102
107
  private handleReservedToastCounter;
103
108
  private createReservedCounterToast;
109
+ private positionToast;
104
110
  private reposition;
105
111
  private getRepositionPosition;
112
+ private applyRepositionPosition;
106
113
  private getPosition;
107
- private getPositionStrategy;
108
114
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastService, never>;
109
115
  static ɵprov: i0.ɵɵInjectableDeclaration<AXToastService>;
110
116
  }
@@ -115,8 +121,10 @@ declare class AXToastService {
115
121
  * @category Components
116
122
  */
117
123
  declare class AXToastComponent extends MXBaseComponent implements OnInit {
118
- config: AXToastData;
119
- dialogRef: DialogRef<AXComponentCloseEvent, unknown>;
124
+ /** Toast configuration data */
125
+ config: i0.InputSignal<AXToastData>;
126
+ /** @internal Callback function to close the toast */
127
+ onClose: i0.InputSignal<() => void>;
120
128
  toastService: AXToastService;
121
129
  createdDate: i0.WritableSignal<number>;
122
130
  private intervalId;
@@ -134,8 +142,6 @@ declare class AXToastComponent extends MXBaseComponent implements OnInit {
134
142
  private _initIcon;
135
143
  /** @ignore */
136
144
  _handleButtonClick(button: AXButtonItem): void;
137
- /** @ignore */
138
- private get __hostClass();
139
145
  /**
140
146
  * Closes the toast notification.
141
147
  */
@@ -145,7 +151,7 @@ declare class AXToastComponent extends MXBaseComponent implements OnInit {
145
151
  */
146
152
  closeAll(): void;
147
153
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
148
- static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never, true, never>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
149
155
  }
150
156
 
151
157
  interface AXToastConfig {
@@ -163,9 +169,9 @@ declare function toastConfig(config?: PartialToastConfig): AXToastConfig;
163
169
 
164
170
  declare class AXToastModule {
165
171
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastModule, never>;
166
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, never, [typeof i1.CommonModule, typeof i2.AXButtonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.DialogModule, typeof i6.AXTranslationModule, typeof AXToastComponent], [typeof AXToastComponent]>;
172
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, never, [typeof i1.CommonModule, typeof i2.AXButtonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule, typeof AXToastComponent], [typeof AXToastComponent]>;
167
173
  static ɵinj: i0.ɵɵInjectorDeclaration<AXToastModule>;
168
174
  }
169
175
 
170
176
  export { AXToastComponent, AXToastDefaultConfig, AXToastModule, AXToastService, AX_TOAST_CONFIG, toastConfig };
171
- export type { AXToastConfig, AXToastData, AXToastDisplayConfig, AXToastRef, PartialToastConfig };
177
+ export type { AXToastConfig, AXToastData, AXToastDisplayConfig, AXToastInternalRef, AXToastRef, PartialToastConfig };
@@ -1,9 +1,7 @@
1
1
  import { MXBaseComponent, AXPlacement, AXPlacementType } from '@acorex/cdk/common';
2
2
  import * as i0 from '@angular/core';
3
- import { OnInit, TemplateRef } from '@angular/core';
4
- import { AXPopoverComponent } from '@acorex/components/popover';
3
+ import { TemplateRef } from '@angular/core';
5
4
  import * as i1 from '@angular/common';
6
- import * as i2 from '@angular/cdk/overlay';
7
5
 
8
6
  /**
9
7
  * A component for displaying tooltips with additional information or context when hovering over elements.
@@ -25,11 +23,10 @@ declare class AXTooltipComponent extends MXBaseComponent {
25
23
  static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
26
24
  }
27
25
 
28
- declare class AXTooltipDirective implements OnInit {
26
+ declare class AXTooltipDirective {
29
27
  #private;
30
28
  private vc;
31
29
  private elementRef;
32
- private dragRef;
33
30
  axTooltipDisabled: i0.InputSignal<boolean>;
34
31
  content: i0.InputSignal<string | TemplateRef<unknown>>;
35
32
  context: i0.InputSignal<unknown>;
@@ -48,16 +45,14 @@ declare class AXTooltipDirective implements OnInit {
48
45
  private _closeAfter;
49
46
  get closeAfter(): number;
50
47
  set closeAfter(v: number);
51
- readonly popupRef: AXPopoverComponent;
52
- constructor();
53
- ngOnInit(): void;
48
+ private popoverRef;
54
49
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
55
50
  static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "axTooltipDisabled": { "alias": "axTooltipDisabled"; "required": false; "isSignal": true; }; "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "context": { "alias": "axTooltipContext"; "required": false; "isSignal": true; }; "placement": { "alias": "axTooltipPlacement"; "required": false; }; "offsetX": { "alias": "axTooltipOffsetX"; "required": false; }; "offsetY": { "alias": "axTooltipOffsetY"; "required": false; }; "openAfter": { "alias": "axTooltipOpenAfter"; "required": false; }; "closeAfter": { "alias": "axTooltipCloseAfter"; "required": false; }; }, {}, never, never, true, never>;
56
51
  }
57
52
 
58
53
  declare class AXTooltipModule {
59
54
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipModule, never>;
60
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXTooltipModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof AXTooltipComponent, typeof AXTooltipDirective], [typeof AXTooltipComponent, typeof AXTooltipDirective]>;
55
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTooltipModule, never, [typeof i1.CommonModule, typeof AXTooltipComponent, typeof AXTooltipDirective], [typeof AXTooltipComponent, typeof AXTooltipDirective]>;
61
56
  static ɵinj: i0.ɵɵInjectorDeclaration<AXTooltipModule>;
62
57
  }
63
58
 
@@ -123,6 +123,17 @@ interface AXTreeViewItemTemplateContext {
123
123
  loading: boolean;
124
124
  /** Whether the node is effectively disabled (considering inheritance from parents) */
125
125
  disabled: boolean;
126
+ /** Whether checkbox should be shown for this node */
127
+ showCheckbox: boolean;
128
+ /** Checkbox value (null for indeterminate, boolean for checked/unchecked) */
129
+ checkboxValue: boolean | null;
130
+ /** Whether checkbox is in indeterminate state */
131
+ checkboxIndeterminate: boolean;
132
+ /** Handler function for checkbox value changes */
133
+ onCheckboxChange: (event: {
134
+ value: boolean | null;
135
+ isUserInteraction: boolean;
136
+ }) => void;
126
137
  }
127
138
  type AXTreeViewViewLook = 'default' | 'card' | 'with-line';
128
139
  type AXTreeViewDragArea = 'handler' | 'item';