@acorex/components 21.0.1-next.12 → 21.0.1-next.13

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 (231) hide show
  1. package/accordion/index.d.ts +0 -1
  2. package/action-sheet/index.d.ts +19 -41
  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/conversation2/README.md +31 -71
  7. package/conversation2/index.d.ts +35 -36
  8. package/data-table/index.d.ts +4 -253
  9. package/dialog/index.d.ts +15 -19
  10. package/dropdown/index.d.ts +4 -3
  11. package/fesm2022/acorex-components-accordion.mjs +8 -13
  12. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  13. package/fesm2022/acorex-components-action-sheet.mjs +93 -141
  14. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  15. package/fesm2022/acorex-components-alert.mjs +6 -6
  16. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  17. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  18. package/fesm2022/acorex-components-audio-wave.mjs +5 -4
  19. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  20. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  21. package/fesm2022/acorex-components-avatar.mjs +3 -3
  22. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  23. package/fesm2022/acorex-components-badge.mjs +3 -3
  24. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  25. package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
  26. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  27. package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
  28. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  29. package/fesm2022/acorex-components-button-group.mjs +15 -11
  30. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  31. package/fesm2022/acorex-components-button.mjs +5 -5
  32. package/fesm2022/acorex-components-button.mjs.map +1 -1
  33. package/fesm2022/acorex-components-calendar.mjs +4 -4
  34. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  35. package/fesm2022/acorex-components-check-box.mjs +3 -3
  36. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  37. package/fesm2022/acorex-components-chips.mjs +6 -8
  38. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  39. package/fesm2022/acorex-components-circular-progress.mjs +6 -4
  40. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  41. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  42. package/fesm2022/acorex-components-collapse.mjs +13 -10
  43. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  44. package/fesm2022/acorex-components-color-box.mjs +2 -2
  45. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  46. package/fesm2022/acorex-components-color-palette.mjs +2 -2
  47. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  48. package/fesm2022/acorex-components-command.mjs +2 -2
  49. package/fesm2022/acorex-components-command.mjs.map +1 -1
  50. package/fesm2022/acorex-components-comment.mjs +8 -8
  51. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  52. package/fesm2022/acorex-components-conversation.mjs +2 -2
  53. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  54. package/fesm2022/acorex-components-conversation2.mjs +155 -161
  55. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  56. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  57. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  58. package/fesm2022/acorex-components-data-pager.mjs +2 -2
  59. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  60. package/fesm2022/acorex-components-data-table.mjs +16 -452
  61. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  62. package/fesm2022/acorex-components-datetime-box.mjs +2 -2
  63. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  64. package/fesm2022/acorex-components-datetime-input.mjs +2 -2
  65. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  66. package/fesm2022/acorex-components-datetime-picker.mjs +10 -12
  67. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  68. package/fesm2022/acorex-components-decorators.mjs +20 -13
  69. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  70. package/fesm2022/acorex-components-dialog.mjs +47 -67
  71. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  72. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
  73. package/fesm2022/acorex-components-drawer.mjs +6 -7
  74. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  75. package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
  76. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  77. package/fesm2022/acorex-components-dropdown.mjs +13 -12
  78. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  79. package/fesm2022/acorex-components-editor.mjs +4 -4
  80. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  81. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  82. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  83. package/fesm2022/acorex-components-form.mjs +17 -9
  84. package/fesm2022/acorex-components-form.mjs.map +1 -1
  85. package/fesm2022/acorex-components-grid-layout-builder.mjs +4 -5
  86. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  87. package/fesm2022/acorex-components-image-editor.mjs +18 -18
  88. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  89. package/fesm2022/acorex-components-image.mjs +2 -2
  90. package/fesm2022/acorex-components-image.mjs.map +1 -1
  91. package/fesm2022/acorex-components-json-viewer.mjs +2 -2
  92. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  93. package/fesm2022/acorex-components-kanban.mjs +6 -4
  94. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  95. package/fesm2022/acorex-components-kbd.mjs +25 -7
  96. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  97. package/fesm2022/acorex-components-label.mjs +2 -2
  98. package/fesm2022/acorex-components-label.mjs.map +1 -1
  99. package/fesm2022/acorex-components-list.mjs +2 -2
  100. package/fesm2022/acorex-components-list.mjs.map +1 -1
  101. package/fesm2022/acorex-components-loading-dialog.mjs +36 -73
  102. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  103. package/fesm2022/acorex-components-loading.mjs +8 -8
  104. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  105. package/fesm2022/acorex-components-map.mjs +2 -2
  106. package/fesm2022/acorex-components-map.mjs.map +1 -1
  107. package/fesm2022/acorex-components-media-viewer.mjs +10 -10
  108. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  109. package/fesm2022/acorex-components-menu.mjs +6 -27
  110. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  111. package/fesm2022/{acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs → acorex-components-modal-acorex-components-modal-BnUdtPke.mjs} +5 -29
  112. package/fesm2022/acorex-components-modal-acorex-components-modal-BnUdtPke.mjs.map +1 -0
  113. package/fesm2022/{acorex-components-modal-modal-content.component-CSJU1vRi.mjs → acorex-components-modal-modal-content.component-Cgq-wx_m.mjs} +7 -5
  114. package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.mjs.map +1 -0
  115. package/fesm2022/acorex-components-modal.mjs +1 -1
  116. package/fesm2022/acorex-components-navbar.mjs +3 -3
  117. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  118. package/fesm2022/acorex-components-notification.mjs +250 -378
  119. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  120. package/fesm2022/acorex-components-number-box-legacy.mjs +2 -2
  121. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
  122. package/fesm2022/acorex-components-number-box.mjs +2 -2
  123. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  124. package/fesm2022/acorex-components-otp.mjs +2 -2
  125. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  126. package/fesm2022/acorex-components-page.mjs.map +1 -1
  127. package/fesm2022/acorex-components-paint.mjs +14 -19
  128. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  129. package/fesm2022/acorex-components-password-box.mjs +4 -4
  130. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  131. package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
  132. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  133. package/fesm2022/acorex-components-phone-box.mjs +2 -2
  134. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  135. package/fesm2022/acorex-components-picker.mjs +6 -6
  136. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  137. package/fesm2022/acorex-components-popover.mjs +175 -136
  138. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  139. package/fesm2022/acorex-components-popup.mjs +106 -296
  140. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  141. package/fesm2022/acorex-components-progress-bar.mjs +5 -3
  142. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  143. package/fesm2022/acorex-components-qrcode.mjs +2 -2
  144. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  145. package/fesm2022/acorex-components-query-builder.mjs +2 -2
  146. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  147. package/fesm2022/acorex-components-radio.mjs +2 -2
  148. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  149. package/fesm2022/acorex-components-rail-navigation.mjs +27 -25
  150. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  151. package/fesm2022/acorex-components-range-slider.mjs +3 -3
  152. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  153. package/fesm2022/acorex-components-rate-picker.mjs +14 -29
  154. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  155. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  156. package/fesm2022/acorex-components-result.mjs +2 -2
  157. package/fesm2022/acorex-components-result.mjs.map +1 -1
  158. package/fesm2022/acorex-components-routing-progress.mjs +2 -2
  159. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  160. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  161. package/fesm2022/acorex-components-scheduler-picker.mjs +2 -2
  162. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  163. package/fesm2022/acorex-components-scheduler.mjs +18 -18
  164. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  165. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  166. package/fesm2022/acorex-components-search-box.mjs +9 -3
  167. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  168. package/fesm2022/acorex-components-select-box.mjs +4 -2
  169. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  170. package/fesm2022/acorex-components-selection-list-2.mjs +4 -4
  171. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  172. package/fesm2022/acorex-components-selection-list.mjs +2 -2
  173. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  174. package/fesm2022/acorex-components-side-menu.mjs +63 -14
  175. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  176. package/fesm2022/acorex-components-skeleton.mjs +2 -2
  177. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  178. package/fesm2022/acorex-components-slider.mjs +5 -5
  179. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  180. package/fesm2022/acorex-components-sliding-item.mjs +2 -2
  181. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  182. package/fesm2022/acorex-components-step-wizard.mjs +2 -2
  183. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  184. package/fesm2022/acorex-components-switch.mjs +4 -4
  185. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  186. package/fesm2022/acorex-components-tabs.mjs +2 -2
  187. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  188. package/fesm2022/acorex-components-tag-box.mjs +2 -2
  189. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  190. package/fesm2022/acorex-components-tag.mjs +3 -3
  191. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  192. package/fesm2022/acorex-components-text-area.mjs +2 -2
  193. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  194. package/fesm2022/acorex-components-text-box.mjs +2 -2
  195. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  196. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  197. package/fesm2022/acorex-components-time-line.mjs +4 -4
  198. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  199. package/fesm2022/acorex-components-toast.mjs +125 -233
  200. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  201. package/fesm2022/acorex-components-toolbar.mjs +2 -2
  202. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  203. package/fesm2022/acorex-components-tooltip.mjs +12 -12
  204. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  205. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
  206. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  207. package/fesm2022/acorex-components-uploader.mjs +6 -6
  208. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  209. package/fesm2022/acorex-components-video-player.mjs +2 -2
  210. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  211. package/fesm2022/acorex-components-wysiwyg.mjs +12 -12
  212. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  213. package/fesm2022/acorex-components.mjs.map +1 -1
  214. package/grid-layout-builder/index.d.ts +1 -2
  215. package/kbd/index.d.ts +13 -7
  216. package/loading/index.d.ts +1 -1
  217. package/loading-dialog/index.d.ts +15 -31
  218. package/menu/index.d.ts +0 -4
  219. package/modal/index.d.ts +0 -7
  220. package/notification/index.d.ts +30 -47
  221. package/package.json +15 -15
  222. package/paint/index.d.ts +1 -6
  223. package/popover/index.d.ts +27 -20
  224. package/popup/index.d.ts +27 -98
  225. package/rate-picker/index.d.ts +5 -15
  226. package/side-menu/index.d.ts +9 -2
  227. package/slider/index.d.ts +2 -2
  228. package/toast/index.d.ts +18 -24
  229. package/tooltip/index.d.ts +2 -2
  230. package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +0 -1
  231. package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map +0 -1
@@ -1,9 +1,8 @@
1
1
  import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
2
- import { AXOverlayRef } from '@acorex/cdk/overlay';
3
2
  import { AXDialogButtonItem } from '@acorex/components/dialog';
4
3
  import { AXProgressMode } from '@acorex/components/progress-bar';
5
4
  import * as i0 from '@angular/core';
6
- import { OnInit, WritableSignal } from '@angular/core';
5
+ import { WritableSignal } from '@angular/core';
7
6
 
8
7
  interface AXLoadingDialogConfig {
9
8
  title: string;
@@ -29,36 +28,22 @@ interface AXLoadingDialogButtonItem {
29
28
  handled?: boolean;
30
29
  }) => void;
31
30
  }
32
- interface AXLoadingDialogRef {
31
+ interface AXDialogRef {
33
32
  close(): void;
34
- setProgressValue(value: number): void;
35
- setProgressText(text: string): void;
36
- setDialogTitle(text: string): void;
37
- setProgressColor(color: AXStyleColorType): void;
38
- setProgressStatus(status: string): void;
39
- }
40
- /**
41
- * @deprecated Use AXLoadingDialogRef instead
42
- */
43
- type AXDialogRef = AXLoadingDialogRef;
44
- /**
45
- * @internal
46
- * Internal reference used by loading dialog service to manage overlay instances
47
- */
48
- interface AXLoadingDialogInternalRef {
49
- overlayRef: AXOverlayRef<unknown>;
50
- close: () => void;
33
+ setProgressValue(value: number): any;
34
+ setProgressText(text: string): any;
35
+ setDialogTitle(text: string): any;
36
+ setProgressColor(color: AXStyleColorType): any;
37
+ setProgressStatus(status: string): any;
51
38
  }
52
39
 
53
40
  /**
54
41
  * Represents a loading dialog component with custom styles and encapsulation.
55
42
  * @category components
56
43
  */
57
- declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {
58
- /** Loading dialog configuration data */
59
- data: i0.InputSignal<AXLoadingDialogConfig>;
60
- /** @internal Callback function to close the dialog */
61
- onClose: i0.InputSignal<() => void>;
44
+ declare class AXLoadingDialogComponent extends MXBaseComponent {
45
+ data: AXLoadingDialogConfig;
46
+ private dialogRef;
62
47
  /** @ignore */
63
48
  protected progressText: WritableSignal<string>;
64
49
  /** @ignore */
@@ -69,7 +54,6 @@ declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit
69
54
  protected dialogTitle: WritableSignal<string>;
70
55
  /** @ignore */
71
56
  protected progressValue: WritableSignal<number>;
72
- ngOnInit(): void;
73
57
  /**
74
58
  * Closes the loading dialog.
75
59
  *
@@ -116,7 +100,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit
116
100
  /** @ignore */
117
101
  protected _hasAutoFocus(button: AXLoadingDialogButtonItem): boolean;
118
102
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
119
- static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, {}, {}, never, never, true, never>;
120
104
  }
121
105
 
122
106
  declare class AXLoadingDialogModule {
@@ -126,17 +110,17 @@ declare class AXLoadingDialogModule {
126
110
  }
127
111
 
128
112
  declare class AXLoadingDialogService {
129
- private overlayService;
113
+ private dialog;
130
114
  /**
131
115
  * Opens a loading dialog with the specified configuration.
132
116
  *
133
117
  * @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.
134
- * @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
118
+ * @returns AXDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
135
119
  */
136
- show(options: AXLoadingDialogConfig): AXLoadingDialogRef;
120
+ show(options: AXLoadingDialogConfig): AXDialogRef;
137
121
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
138
122
  static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingDialogService>;
139
123
  }
140
124
 
141
125
  export { AXLoadingDialogComponent, AXLoadingDialogModule, AXLoadingDialogService };
142
- export type { AXDialogRef, AXLoadingDialogButtonItem, AXLoadingDialogConfig, AXLoadingDialogInternalRef, AXLoadingDialogRef };
126
+ export type { AXDialogRef, AXLoadingDialogButtonItem, AXLoadingDialogConfig };
package/menu/index.d.ts CHANGED
@@ -65,8 +65,6 @@ declare class AXContextMenuComponent extends NXComponent {
65
65
  private renderer;
66
66
  private document;
67
67
  private platformID;
68
- private zIndexService;
69
- private zToken;
70
68
  /** @ignore */
71
69
  constructor();
72
70
  ngOnDestroy(): void;
@@ -129,8 +127,6 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
129
127
  private scrollableParents;
130
128
  private unsuscriber;
131
129
  private renderer;
132
- private zIndexService;
133
- private zToken;
134
130
  protected arrowIcon: _angular_core.Signal<string>;
135
131
  onClick: _angular_core.OutputEmitterRef<AXMenuItemClickEvent>;
136
132
  name: _angular_core.InputSignal<string>;
package/modal/index.d.ts CHANGED
@@ -33,8 +33,6 @@ interface AXModalRef<TResult = any> {
33
33
  restore: () => void;
34
34
  close: (data?: TResult) => void;
35
35
  setInputs: (values: AXComponentInputs) => void;
36
- /** Brings this modal to the front of all other overlays */
37
- bringToFront: () => void;
38
36
  onClose: Subject<TResult>;
39
37
  }
40
38
  declare abstract class AXModalComponentBase {
@@ -43,7 +41,6 @@ declare abstract class AXModalComponentBase {
43
41
  minimize(): void;
44
42
  restore(): void;
45
43
  maximize(): void;
46
- bringToFront(): void;
47
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
48
45
  static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
49
46
  }
@@ -120,10 +117,6 @@ declare class AXModalService {
120
117
  * Restores the modal from minimized or maximized state.
121
118
  */
122
119
  restore(): Promise<void>;
123
- /**
124
- * Brings the modal to the front of all other overlays.
125
- */
126
- bringToFront(): void;
127
120
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalService, never>;
128
121
  static ɵprov: i0.ɵɵInjectableDeclaration<AXModalService>;
129
122
  }
@@ -1,9 +1,10 @@
1
- import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent } from '@acorex/cdk/common';
2
- import { AXOverlayRef } from '@acorex/cdk/overlay';
3
- import * as _angular_core from '@angular/core';
4
- import { TemplateRef, Type, OnInit, InjectionToken } from '@angular/core';
1
+ import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent, AXComponentCloseEvent } from '@acorex/cdk/common';
2
+ import { ComponentType, Portal } from '@angular/cdk/portal';
3
+ import * as i0 from '@angular/core';
4
+ import { TemplateRef, OnInit, InjectionToken } from '@angular/core';
5
+ import { DialogRef } from '@angular/cdk/dialog';
5
6
 
6
- type AXNotificationContentType = string | TemplateRef<unknown> | Type<unknown>;
7
+ type AXNotificationContentType = string | TemplateRef<unknown> | ComponentType<unknown>;
7
8
  interface AXNotificationButtonItem {
8
9
  color?: AXStyleColorType;
9
10
  look?: AXStyleLookType;
@@ -42,16 +43,6 @@ interface AXNotificationData {
42
43
  interface AXNotificationRef {
43
44
  close(): void;
44
45
  }
45
- /**
46
- * @internal
47
- * Internal reference used by notification service to manage overlay instances
48
- */
49
- interface AXNotificationInternalRef {
50
- id: string;
51
- overlayRef: AXOverlayRef<unknown>;
52
- config: AXNotificationData;
53
- close: () => void;
54
- }
55
46
 
56
47
  /**
57
48
  * The Button is a component which detects user interaction and triggers a corresponding event
@@ -59,40 +50,33 @@ interface AXNotificationInternalRef {
59
50
  * @category Components
60
51
  */
61
52
  declare class AXNotificationComponent extends MXBaseComponent implements OnInit {
62
- /** Notification configuration data */
63
- config: _angular_core.InputSignal<AXNotificationData>;
64
- /** @internal Callback function to close the notification */
65
- onClose: _angular_core.InputSignal<() => void>;
66
- private notificationService;
53
+ config: AXNotificationData;
54
+ dialogRef: DialogRef<AXComponentCloseEvent, unknown>;
67
55
  /** @ignore */
68
- protected _icon: string;
56
+ _selectedPortal: Portal<unknown>;
57
+ /** @ignore */
58
+ _icon: string;
69
59
  private intervalId;
70
60
  private isPaused;
71
- protected remainingTime: _angular_core.WritableSignal<number>;
72
- protected transitionDuration: _angular_core.WritableSignal<number>;
73
- /** Template content if config.content is a TemplateRef */
74
- protected templateContent: _angular_core.Signal<TemplateRef<unknown>>;
75
- /** Component content if config.content is a component Type */
76
- protected componentContent: _angular_core.Signal<Type<unknown>>;
77
- /** String content if config.content is a string */
78
- protected stringContent: _angular_core.Signal<string>;
61
+ protected remainingTime: i0.WritableSignal<number>;
62
+ protected transitionDuration: i0.WritableSignal<number>;
79
63
  ngOnInit(): void;
80
64
  private pauseAnimation;
81
65
  private _handleTimeOut;
82
66
  /** @ignore */
67
+ private _initContent;
68
+ /** @ignore */
83
69
  private _initIcon;
84
70
  /** @ignore */
71
+ protected get _stringContent(): string;
72
+ /** @ignore */
85
73
  protected _handleButtonClick(button: AXNotificationButtonItem): void;
86
74
  /**
87
- * Closes the notification.
75
+ * Closes the dialog and provides the component and HTML element for reference.
88
76
  */
89
77
  close(): void;
90
- /**
91
- * Closes all notifications.
92
- */
93
- closeAll(): void;
94
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationComponent, never>;
95
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXNotificationComponent, "ax-notification", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXNotificationComponent, "ax-notification", never, {}, {}, never, never, true, never>;
96
80
  }
97
81
 
98
82
  interface AXNotificationConfig {
@@ -110,18 +94,18 @@ type PartialNotificationConfig = Partial<AXNotificationConfig>;
110
94
  declare function notificationConfig(config?: PartialNotificationConfig): AXNotificationConfig;
111
95
 
112
96
  declare class AXNotificationModule {
113
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationModule, never>;
114
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
115
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXNotificationModule>;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationModule, never>;
98
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
99
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXNotificationModule>;
116
100
  }
117
101
 
118
102
  declare class AXNotificationService {
119
- private overlayService;
103
+ private dialog;
120
104
  private translationService;
121
105
  private defaultConfig;
122
106
  private activeNotifications;
123
107
  private reservedNotifications;
124
- private notificationCounterRef;
108
+ private notificationCounterElement;
125
109
  private moreNotificationsColor;
126
110
  private moreNotificationsLocation;
127
111
  private reserveCounter;
@@ -130,15 +114,14 @@ declare class AXNotificationService {
130
114
  hideAll(): void;
131
115
  private handleShowReservedNotification;
132
116
  private handleReservedNotificationCounter;
133
- private createReservedCounterNotification;
134
- private positionNotification;
117
+ private createReservedCounternotification;
135
118
  private reposition;
136
119
  private getRepositionPosition;
137
- private applyRepositionPosition;
138
120
  private getPosition;
139
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationService, never>;
140
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXNotificationService>;
121
+ private getPositionStrategy;
122
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationService, never>;
123
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXNotificationService>;
141
124
  }
142
125
 
143
126
  export { AXNotificationComponent, AXNotificationDefaultConfig, AXNotificationModule, AXNotificationService, AX_NOTIFICATION_CONFIG, notificationConfig };
144
- export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationInternalRef, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
127
+ export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "21.0.1-next.12",
3
+ "version": "21.0.1-next.13",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.1-next.12",
6
- "@acorex/cdk": "21.0.1-next.12",
5
+ "@acorex/core": "21.0.1-next.13",
6
+ "@acorex/cdk": "21.0.1-next.13",
7
7
  "@angular/common": "^20.0.0",
8
8
  "@angular/core": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
@@ -137,14 +137,14 @@
137
137
  "types": "./collapse/index.d.ts",
138
138
  "default": "./fesm2022/acorex-components-collapse.mjs"
139
139
  },
140
- "./color-palette": {
141
- "types": "./color-palette/index.d.ts",
142
- "default": "./fesm2022/acorex-components-color-palette.mjs"
143
- },
144
140
  "./color-box": {
145
141
  "types": "./color-box/index.d.ts",
146
142
  "default": "./fesm2022/acorex-components-color-box.mjs"
147
143
  },
144
+ "./color-palette": {
145
+ "types": "./color-palette/index.d.ts",
146
+ "default": "./fesm2022/acorex-components-color-palette.mjs"
147
+ },
148
148
  "./command": {
149
149
  "types": "./command/index.d.ts",
150
150
  "default": "./fesm2022/acorex-components-command.mjs"
@@ -217,18 +217,22 @@
217
217
  "types": "./editor/index.d.ts",
218
218
  "default": "./fesm2022/acorex-components-editor.mjs"
219
219
  },
220
- "./flow-chart": {
221
- "types": "./flow-chart/index.d.ts",
222
- "default": "./fesm2022/acorex-components-flow-chart.mjs"
223
- },
224
220
  "./file-explorer": {
225
221
  "types": "./file-explorer/index.d.ts",
226
222
  "default": "./fesm2022/acorex-components-file-explorer.mjs"
227
223
  },
224
+ "./flow-chart": {
225
+ "types": "./flow-chart/index.d.ts",
226
+ "default": "./fesm2022/acorex-components-flow-chart.mjs"
227
+ },
228
228
  "./form": {
229
229
  "types": "./form/index.d.ts",
230
230
  "default": "./fesm2022/acorex-components-form.mjs"
231
231
  },
232
+ "./grid-layout-builder": {
233
+ "types": "./grid-layout-builder/index.d.ts",
234
+ "default": "./fesm2022/acorex-components-grid-layout-builder.mjs"
235
+ },
232
236
  "./image": {
233
237
  "types": "./image/index.d.ts",
234
238
  "default": "./fesm2022/acorex-components-image.mjs"
@@ -241,10 +245,6 @@
241
245
  "types": "./json-viewer/index.d.ts",
242
246
  "default": "./fesm2022/acorex-components-json-viewer.mjs"
243
247
  },
244
- "./grid-layout-builder": {
245
- "types": "./grid-layout-builder/index.d.ts",
246
- "default": "./fesm2022/acorex-components-grid-layout-builder.mjs"
247
- },
248
248
  "./kanban": {
249
249
  "types": "./kanban/index.d.ts",
250
250
  "default": "./fesm2022/acorex-components-kanban.mjs"
package/paint/index.d.ts CHANGED
@@ -98,11 +98,6 @@ declare class AXPaintViewComponent implements OnDestroy {
98
98
  protected hostElem: ElementRef<any>;
99
99
  /** @ignore */
100
100
  private resizeEvent;
101
- /**
102
- * Specifies the class that pass to component.
103
- *
104
- */
105
- readonly customClass: _angular_core.InputSignal<string>;
106
101
  readonly paintBackgroundColor: _angular_core.InputSignal<"black" | "white">;
107
102
  /** @ignore */
108
103
  protected canvasElem: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
@@ -134,7 +129,7 @@ declare class AXPaintViewComponent implements OnDestroy {
134
129
  getOutPut(e: 'image/webp' | 'image/png' | 'image/jpeg'): void;
135
130
  get __hostClass(): string[];
136
131
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPaintViewComponent, never>;
137
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPaintViewComponent, "ax-paint-view", never, { "customClass": { "alias": "class"; "required": false; "isSignal": true; }; "paintBackgroundColor": { "alias": "paintBackgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
132
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPaintViewComponent, "ax-paint-view", never, { "paintBackgroundColor": { "alias": "paintBackgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
138
133
  }
139
134
 
140
135
  declare class AXPaintToolsSelectorComponent {
@@ -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 { AXComponentType } from '@acorex/core/components';
4
+ import { ComponentType } from '@angular/cdk/portal';
5
5
  import * as i1 from '@angular/common';
6
6
 
7
7
  type AXPopoverOpenTrigger = 'manual' | 'click' | 'hover' | 'toggle';
@@ -11,19 +11,27 @@ type AXPopoverCloseTrigger = 'manual' | 'clickOut' | 'leave';
11
11
  * A popover component with custom encapsulation and change detection settings.
12
12
  */
13
13
  declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
14
- private platform;
14
+ #private;
15
15
  private document;
16
16
  private platformID;
17
- private overlayService;
18
- private onKeyDownHandler;
17
+ private renderer;
18
+ private onKeyDownListenerFn;
19
+ /** @ignore */
20
+ private _platform;
21
+ /** @ignore */
22
+ private _overlay;
19
23
  /** @ignore */
20
24
  private _overlayRef;
21
25
  /** @ignore */
26
+ private _isMouseOverButton;
27
+ /** @ignore */
28
+ private _isMouseOverTooltip;
29
+ /** @ignore */
22
30
  private _lastActiveElement;
23
31
  /** @ignore */
24
32
  private _targetEvents;
25
33
  /** @ignore */
26
- private _outsideClickHandler;
34
+ private _overlayEvents;
27
35
  /** @ignore */
28
36
  private resizeObserver;
29
37
  /** @ignore */
@@ -68,7 +76,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
68
76
  */
69
77
  set target(v: Element | ElementRef | MXBaseComponent);
70
78
  /** @ignore */
71
- private _defaultPlacements;
79
+ private _defautPlacements;
72
80
  /** @ignore */
73
81
  private _placements;
74
82
  /** @ignore */
@@ -82,11 +90,13 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
82
90
  */
83
91
  set placement(v: AXPlacementType);
84
92
  /** @ignore */
93
+ private _portal;
94
+ /** @ignore */
85
95
  private _componentRef;
86
96
  /**
87
97
  * Gets the reference to the component.
88
98
  */
89
- get componentRef(): ComponentRef<unknown> | null;
99
+ get componentRef(): ComponentRef<unknown>;
90
100
  /**
91
101
  * Holds the context data for the component.
92
102
  */
@@ -96,7 +106,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
96
106
  /**
97
107
  * Defines the content to be displayed, which can be a template or a component.
98
108
  */
99
- content: TemplateRef<unknown> | AXComponentType<unknown>;
109
+ content: TemplateRef<unknown> | ComponentType<unknown>;
100
110
  /** @ignore */
101
111
  private _openOn;
102
112
  /**
@@ -115,6 +125,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
115
125
  get closeOn(): AXPopoverCloseTrigger;
116
126
  /**
117
127
  * Sets the trigger for closing the popover and rebinds target events.
128
+ * @param v
118
129
  */
119
130
  set closeOn(v: AXPopoverCloseTrigger);
120
131
  /**
@@ -134,7 +145,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
134
145
  */
135
146
  backdropClass: string;
136
147
  /**
137
- * CSS class to apply to the panel element.
148
+ * CSS class to apply to the backdrop element.
138
149
  */
139
150
  panelClass: string;
140
151
  /**
@@ -156,6 +167,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
156
167
  /** @ignore */
157
168
  private _emitOnClosedEvent;
158
169
  /** @ignore */
170
+ protected _handleMouseEnter(e: MouseEvent): void;
171
+ /** @ignore */
172
+ protected _handleMouseLeave(e: MouseEvent): void;
173
+ /** @ignore */
159
174
  private removeTargetEvents;
160
175
  /** @ignore */
161
176
  private bindTargetEvents;
@@ -163,8 +178,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
163
178
  private bindOverlayEvents;
164
179
  /** @ignore */
165
180
  private removeOverlayEvents;
166
- /** @ignore */
167
- private handleOverlayDisposed;
168
181
  /**
169
182
  * Toggles the component's open state.
170
183
  */
@@ -176,11 +189,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
176
189
  /**
177
190
  * Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
178
191
  */
179
- open(): Promise<void>;
180
- /** @ignore */
181
- private addKeyDownListener;
182
- /** @ignore */
183
- private removeKeyDownListener;
192
+ open(): void;
184
193
  /** @ignore */
185
194
  private saveFocus;
186
195
  /** @ignore */
@@ -198,6 +207,8 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
198
207
  */
199
208
  get isActionsheetStyle(): boolean;
200
209
  /** @ignore */
210
+ private updatePositionStrategy;
211
+ /** @ignore */
201
212
  private updateOffset;
202
213
  /**
203
214
  * Updates the position of the overlay and focuses on it.
@@ -207,10 +218,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
207
218
  * Focuses the overlay element.
208
219
  */
209
220
  focus(): void;
210
- /**
211
- * Brings this popover to the front of all other overlays.
212
- */
213
- bringToFront(): void;
214
221
  /** @ignore */
215
222
  private initializeResizeObserver;
216
223
  /** @ignore */