@acorex/components 21.0.1-next.7 → 21.0.1-next.9

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 +1 -0
  2. package/action-sheet/index.d.ts +41 -19
  3. package/button-group/index.d.ts +4 -6
  4. package/chips/index.d.ts +8 -3
  5. package/collapse/index.d.ts +6 -4
  6. package/conversation2/README.md +71 -31
  7. package/conversation2/index.d.ts +36 -35
  8. package/data-table/index.d.ts +253 -4
  9. package/dialog/index.d.ts +19 -15
  10. package/dropdown/index.d.ts +3 -4
  11. package/fesm2022/acorex-components-accordion.mjs +13 -8
  12. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  13. package/fesm2022/acorex-components-action-sheet.mjs +141 -93
  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 +4 -5
  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 +11 -15
  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 +8 -6
  38. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  39. package/fesm2022/acorex-components-circular-progress.mjs +4 -6
  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 +10 -13
  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 +161 -155
  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 +452 -16
  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 +12 -10
  67. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  68. package/fesm2022/acorex-components-decorators.mjs +13 -20
  69. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  70. package/fesm2022/acorex-components-dialog.mjs +67 -47
  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 +7 -6
  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 +12 -13
  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 +9 -17
  84. package/fesm2022/acorex-components-form.mjs.map +1 -1
  85. package/fesm2022/acorex-components-grid-layout-builder.mjs +5 -4
  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 +4 -6
  94. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  95. package/fesm2022/acorex-components-kbd.mjs +7 -25
  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 +73 -36
  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 +27 -6
  110. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  111. package/fesm2022/{acorex-components-modal-acorex-components-modal-BnUdtPke.mjs → acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs} +29 -5
  112. package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +1 -0
  113. package/fesm2022/{acorex-components-modal-modal-content.component-Cgq-wx_m.mjs → acorex-components-modal-modal-content.component-CSJU1vRi.mjs} +5 -7
  114. package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.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 +374 -250
  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 +19 -14
  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 +136 -175
  138. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  139. package/fesm2022/acorex-components-popup.mjs +308 -105
  140. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  141. package/fesm2022/acorex-components-progress-bar.mjs +3 -5
  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 +25 -27
  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 +29 -14
  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 +3 -9
  167. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  168. package/fesm2022/acorex-components-select-box.mjs +2 -4
  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 +14 -63
  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 +233 -125
  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 +2 -1
  215. package/kbd/index.d.ts +7 -13
  216. package/loading/index.d.ts +1 -1
  217. package/loading-dialog/index.d.ts +31 -15
  218. package/menu/index.d.ts +4 -0
  219. package/modal/index.d.ts +7 -0
  220. package/notification/index.d.ts +47 -30
  221. package/package.json +7 -7
  222. package/paint/index.d.ts +6 -1
  223. package/popover/index.d.ts +20 -27
  224. package/popup/index.d.ts +103 -27
  225. package/rate-picker/index.d.ts +15 -5
  226. package/side-menu/index.d.ts +2 -9
  227. package/slider/index.d.ts +2 -2
  228. package/toast/index.d.ts +24 -18
  229. package/tooltip/index.d.ts +2 -2
  230. package/fesm2022/acorex-components-modal-acorex-components-modal-BnUdtPke.mjs.map +0 -1
  231. package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.mjs.map +0 -1
@@ -1,8 +1,9 @@
1
1
  import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
2
+ import { AXOverlayRef } from '@acorex/cdk/overlay';
2
3
  import { AXDialogButtonItem } from '@acorex/components/dialog';
3
4
  import { AXProgressMode } from '@acorex/components/progress-bar';
4
5
  import * as i0 from '@angular/core';
5
- import { WritableSignal } from '@angular/core';
6
+ import { OnInit, WritableSignal } from '@angular/core';
6
7
 
7
8
  interface AXLoadingDialogConfig {
8
9
  title: string;
@@ -28,22 +29,36 @@ interface AXLoadingDialogButtonItem {
28
29
  handled?: boolean;
29
30
  }) => void;
30
31
  }
31
- interface AXDialogRef {
32
+ interface AXLoadingDialogRef {
32
33
  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;
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;
38
51
  }
39
52
 
40
53
  /**
41
54
  * Represents a loading dialog component with custom styles and encapsulation.
42
55
  * @category components
43
56
  */
44
- declare class AXLoadingDialogComponent extends MXBaseComponent {
45
- data: AXLoadingDialogConfig;
46
- private dialogRef;
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>;
47
62
  /** @ignore */
48
63
  protected progressText: WritableSignal<string>;
49
64
  /** @ignore */
@@ -54,6 +69,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
54
69
  protected dialogTitle: WritableSignal<string>;
55
70
  /** @ignore */
56
71
  protected progressValue: WritableSignal<number>;
72
+ ngOnInit(): void;
57
73
  /**
58
74
  * Closes the loading dialog.
59
75
  *
@@ -100,7 +116,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
100
116
  /** @ignore */
101
117
  protected _hasAutoFocus(button: AXLoadingDialogButtonItem): boolean;
102
118
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, {}, {}, never, never, true, 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>;
104
120
  }
105
121
 
106
122
  declare class AXLoadingDialogModule {
@@ -110,17 +126,17 @@ declare class AXLoadingDialogModule {
110
126
  }
111
127
 
112
128
  declare class AXLoadingDialogService {
113
- private dialog;
129
+ private overlayService;
114
130
  /**
115
131
  * Opens a loading dialog with the specified configuration.
116
132
  *
117
133
  * @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.
118
- * @returns AXDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
134
+ * @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
119
135
  */
120
- show(options: AXLoadingDialogConfig): AXDialogRef;
136
+ show(options: AXLoadingDialogConfig): AXLoadingDialogRef;
121
137
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
122
138
  static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingDialogService>;
123
139
  }
124
140
 
125
141
  export { AXLoadingDialogComponent, AXLoadingDialogModule, AXLoadingDialogService };
126
- export type { AXDialogRef, AXLoadingDialogButtonItem, AXLoadingDialogConfig };
142
+ export type { AXDialogRef, AXLoadingDialogButtonItem, AXLoadingDialogConfig, AXLoadingDialogInternalRef, AXLoadingDialogRef };
package/menu/index.d.ts CHANGED
@@ -65,6 +65,8 @@ declare class AXContextMenuComponent extends NXComponent {
65
65
  private renderer;
66
66
  private document;
67
67
  private platformID;
68
+ private zIndexService;
69
+ private zToken;
68
70
  /** @ignore */
69
71
  constructor();
70
72
  ngOnDestroy(): void;
@@ -127,6 +129,8 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
127
129
  private scrollableParents;
128
130
  private unsuscriber;
129
131
  private renderer;
132
+ private zIndexService;
133
+ private zToken;
130
134
  protected arrowIcon: _angular_core.Signal<string>;
131
135
  onClick: _angular_core.OutputEmitterRef<AXMenuItemClickEvent>;
132
136
  name: _angular_core.InputSignal<string>;
package/modal/index.d.ts CHANGED
@@ -33,6 +33,8 @@ 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;
36
38
  onClose: Subject<TResult>;
37
39
  }
38
40
  declare abstract class AXModalComponentBase {
@@ -41,6 +43,7 @@ declare abstract class AXModalComponentBase {
41
43
  minimize(): void;
42
44
  restore(): void;
43
45
  maximize(): void;
46
+ bringToFront(): void;
44
47
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
45
48
  static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
46
49
  }
@@ -117,6 +120,10 @@ declare class AXModalService {
117
120
  * Restores the modal from minimized or maximized state.
118
121
  */
119
122
  restore(): Promise<void>;
123
+ /**
124
+ * Brings the modal to the front of all other overlays.
125
+ */
126
+ bringToFront(): void;
120
127
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalService, never>;
121
128
  static ɵprov: i0.ɵɵInjectableDeclaration<AXModalService>;
122
129
  }
@@ -1,10 +1,9 @@
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';
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';
6
5
 
7
- type AXNotificationContentType = string | TemplateRef<unknown> | ComponentType<unknown>;
6
+ type AXNotificationContentType = string | TemplateRef<unknown> | Type<unknown>;
8
7
  interface AXNotificationButtonItem {
9
8
  color?: AXStyleColorType;
10
9
  look?: AXStyleLookType;
@@ -43,6 +42,16 @@ interface AXNotificationData {
43
42
  interface AXNotificationRef {
44
43
  close(): void;
45
44
  }
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
+ }
46
55
 
47
56
  /**
48
57
  * The Button is a component which detects user interaction and triggers a corresponding event
@@ -50,33 +59,40 @@ interface AXNotificationRef {
50
59
  * @category Components
51
60
  */
52
61
  declare class AXNotificationComponent extends MXBaseComponent implements OnInit {
53
- config: AXNotificationData;
54
- dialogRef: DialogRef<AXComponentCloseEvent, unknown>;
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;
55
67
  /** @ignore */
56
- _selectedPortal: Portal<unknown>;
57
- /** @ignore */
58
- _icon: string;
68
+ protected _icon: string;
59
69
  private intervalId;
60
70
  private isPaused;
61
- protected remainingTime: i0.WritableSignal<number>;
62
- protected transitionDuration: i0.WritableSignal<number>;
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>;
63
79
  ngOnInit(): void;
64
80
  private pauseAnimation;
65
81
  private _handleTimeOut;
66
82
  /** @ignore */
67
- private _initContent;
68
- /** @ignore */
69
83
  private _initIcon;
70
84
  /** @ignore */
71
- protected get _stringContent(): string;
72
- /** @ignore */
73
85
  protected _handleButtonClick(button: AXNotificationButtonItem): void;
74
86
  /**
75
- * Closes the dialog and provides the component and HTML element for reference.
87
+ * Closes the notification.
76
88
  */
77
89
  close(): void;
78
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationComponent, never>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<AXNotificationComponent, "ax-notification", never, {}, {}, never, never, true, never>;
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>;
80
96
  }
81
97
 
82
98
  interface AXNotificationConfig {
@@ -94,18 +110,18 @@ type PartialNotificationConfig = Partial<AXNotificationConfig>;
94
110
  declare function notificationConfig(config?: PartialNotificationConfig): AXNotificationConfig;
95
111
 
96
112
  declare class 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>;
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>;
100
116
  }
101
117
 
102
118
  declare class AXNotificationService {
103
- private dialog;
119
+ private overlayService;
104
120
  private translationService;
105
121
  private defaultConfig;
106
122
  private activeNotifications;
107
123
  private reservedNotifications;
108
- private notificationCounterElement;
124
+ private notificationCounterRef;
109
125
  private moreNotificationsColor;
110
126
  private moreNotificationsLocation;
111
127
  private reserveCounter;
@@ -114,14 +130,15 @@ declare class AXNotificationService {
114
130
  hideAll(): void;
115
131
  private handleShowReservedNotification;
116
132
  private handleReservedNotificationCounter;
117
- private createReservedCounternotification;
133
+ private createReservedCounterNotification;
134
+ private positionNotification;
118
135
  private reposition;
119
136
  private getRepositionPosition;
137
+ private applyRepositionPosition;
120
138
  private getPosition;
121
- private getPositionStrategy;
122
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationService, never>;
123
- static ɵprov: i0.ɵɵInjectableDeclaration<AXNotificationService>;
139
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationService, never>;
140
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXNotificationService>;
124
141
  }
125
142
 
126
143
  export { AXNotificationComponent, AXNotificationDefaultConfig, AXNotificationModule, AXNotificationService, AX_NOTIFICATION_CONFIG, notificationConfig };
127
- export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
144
+ export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationInternalRef, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "21.0.1-next.7",
3
+ "version": "21.0.1-next.9",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.1-next.7",
6
- "@acorex/cdk": "21.0.1-next.7",
5
+ "@acorex/core": "21.0.1-next.9",
6
+ "@acorex/cdk": "21.0.1-next.9",
7
7
  "@angular/common": "^20.0.0",
8
8
  "@angular/core": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
@@ -177,10 +177,6 @@
177
177
  "types": "./data-table/index.d.ts",
178
178
  "default": "./fesm2022/acorex-components-data-table.mjs"
179
179
  },
180
- "./datetime-box": {
181
- "types": "./datetime-box/index.d.ts",
182
- "default": "./fesm2022/acorex-components-datetime-box.mjs"
183
- },
184
180
  "./datetime-input": {
185
181
  "types": "./datetime-input/index.d.ts",
186
182
  "default": "./fesm2022/acorex-components-datetime-input.mjs"
@@ -189,6 +185,10 @@
189
185
  "types": "./datetime-picker/index.d.ts",
190
186
  "default": "./fesm2022/acorex-components-datetime-picker.mjs"
191
187
  },
188
+ "./datetime-box": {
189
+ "types": "./datetime-box/index.d.ts",
190
+ "default": "./fesm2022/acorex-components-datetime-box.mjs"
191
+ },
192
192
  "./decorators": {
193
193
  "types": "./decorators/index.d.ts",
194
194
  "default": "./fesm2022/acorex-components-decorators.mjs"
package/paint/index.d.ts CHANGED
@@ -98,6 +98,11 @@ 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>;
101
106
  readonly paintBackgroundColor: _angular_core.InputSignal<"black" | "white">;
102
107
  /** @ignore */
103
108
  protected canvasElem: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
@@ -129,7 +134,7 @@ declare class AXPaintViewComponent implements OnDestroy {
129
134
  getOutPut(e: 'image/webp' | 'image/png' | 'image/jpeg'): void;
130
135
  get __hostClass(): string[];
131
136
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPaintViewComponent, never>;
132
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPaintViewComponent, "ax-paint-view", never, { "paintBackgroundColor": { "alias": "paintBackgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, 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>;
133
138
  }
134
139
 
135
140
  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 { 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';
@@ -11,27 +11,19 @@ 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;
14
+ private platform;
15
15
  private document;
16
16
  private platformID;
17
- private renderer;
18
- private onKeyDownListenerFn;
19
- /** @ignore */
20
- private _platform;
21
- /** @ignore */
22
- private _overlay;
17
+ private overlayService;
18
+ private onKeyDownHandler;
23
19
  /** @ignore */
24
20
  private _overlayRef;
25
21
  /** @ignore */
26
- private _isMouseOverButton;
27
- /** @ignore */
28
- private _isMouseOverTooltip;
29
- /** @ignore */
30
22
  private _lastActiveElement;
31
23
  /** @ignore */
32
24
  private _targetEvents;
33
25
  /** @ignore */
34
- private _overlayEvents;
26
+ private _outsideClickHandler;
35
27
  /** @ignore */
36
28
  private resizeObserver;
37
29
  /** @ignore */
@@ -76,7 +68,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
76
68
  */
77
69
  set target(v: Element | ElementRef | MXBaseComponent);
78
70
  /** @ignore */
79
- private _defautPlacements;
71
+ private _defaultPlacements;
80
72
  /** @ignore */
81
73
  private _placements;
82
74
  /** @ignore */
@@ -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
  /**
@@ -145,7 +134,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
145
134
  */
146
135
  backdropClass: string;
147
136
  /**
148
- * CSS class to apply to the backdrop element.
137
+ * CSS class to apply to the panel element.
149
138
  */
150
139
  panelClass: string;
151
140
  /**
@@ -167,10 +156,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
167
156
  /** @ignore */
168
157
  private _emitOnClosedEvent;
169
158
  /** @ignore */
170
- protected _handleMouseEnter(e: MouseEvent): void;
171
- /** @ignore */
172
- protected _handleMouseLeave(e: MouseEvent): void;
173
- /** @ignore */
174
159
  private removeTargetEvents;
175
160
  /** @ignore */
176
161
  private bindTargetEvents;
@@ -178,6 +163,8 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
178
163
  private bindOverlayEvents;
179
164
  /** @ignore */
180
165
  private removeOverlayEvents;
166
+ /** @ignore */
167
+ private handleOverlayDisposed;
181
168
  /**
182
169
  * Toggles the component's open state.
183
170
  */
@@ -189,7 +176,11 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
189
176
  /**
190
177
  * Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
191
178
  */
192
- open(): void;
179
+ open(): Promise<void>;
180
+ /** @ignore */
181
+ private addKeyDownListener;
182
+ /** @ignore */
183
+ private removeKeyDownListener;
193
184
  /** @ignore */
194
185
  private saveFocus;
195
186
  /** @ignore */
@@ -207,8 +198,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
207
198
  */
208
199
  get isActionsheetStyle(): boolean;
209
200
  /** @ignore */
210
- private updatePositionStrategy;
211
- /** @ignore */
212
201
  private updateOffset;
213
202
  /**
214
203
  * Updates the position of the overlay and focuses on it.
@@ -218,6 +207,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
218
207
  * Focuses the overlay element.
219
208
  */
220
209
  focus(): void;
210
+ /**
211
+ * Brings this popover to the front of all other overlays.
212
+ */
213
+ bringToFront(): void;
221
214
  /** @ignore */
222
215
  private initializeResizeObserver;
223
216
  /** @ignore */
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';
1
+ import { AXComponentType, AXComponentInputs } from '@acorex/core/components';
3
2
  import * as i0 from '@angular/core';
4
- import { TemplateRef, ViewContainerRef, StaticProvider, OnInit } from '@angular/core';
3
+ import { TemplateRef, ViewContainerRef, StaticProvider, OnInit, OnDestroy } from '@angular/core';
4
+ import { Subject } from 'rxjs';
5
5
  import * as i2 from '@acorex/cdk/common';
6
6
  import { MXBaseComponent, AXComponentClosedPromise } from '@acorex/cdk/common';
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;
@@ -39,19 +36,77 @@ interface AXPopupData {
39
36
  draggable: boolean;
40
37
  content: AXPopupContentType;
41
38
  }
39
+ interface AXPopupRef<TResult = any> {
40
+ close: (data?: TResult) => void;
41
+ setInputs: (values: AXComponentInputs) => void;
42
+ setTitle: (title: string) => void;
43
+ /** Brings this popup to the front of all other overlays */
44
+ bringToFront: () => void;
45
+ onClose: Subject<TResult>;
46
+ }
47
+ declare abstract class AXPopupComponentBase {
48
+ __popup__: i0.InputSignal<AXPopupRef<any>>;
49
+ close(data?: any): void;
50
+ setTitle(title: string): void;
51
+ bringToFront(): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponentBase, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXPopupComponentBase, never, never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
54
+ }
55
+
56
+ declare class AXPopupStateService {
57
+ private popupList;
58
+ private overlayService;
59
+ /**
60
+ * Opens a popup with the specified content and configuration.
61
+ * @param content - Component or template to display
62
+ * @param config - Configuration options for the popup
63
+ * @returns Promise<AXPopupRef> - Reference to the opened popup
64
+ */
65
+ open<TResult = any>(content: AXPopupContentType, config: AXPopupConfig): Promise<AXPopupRef<TResult>>;
66
+ /**
67
+ * Closes a popup by its ID.
68
+ * @param id - The popup ID to close
69
+ * @param data - Optional data to pass to the close event
70
+ */
71
+ close<TResult = any>(id: number, data?: TResult): Promise<void>;
72
+ /**
73
+ * Sets input values for a popup by its ID.
74
+ * @param id - The popup ID
75
+ * @param values - Object containing input values to set
76
+ */
77
+ setInputs(id: number, values: AXComponentInputs): Promise<void>;
78
+ /**
79
+ * Sets the title for a popup by its ID.
80
+ * @param id - The popup ID
81
+ * @param title - The new title
82
+ */
83
+ setTitle(id: number, title: string): Promise<void>;
84
+ /**
85
+ * Brings a popup to the front of all other overlays.
86
+ * @param id - The popup ID to bring to front
87
+ */
88
+ bringToFront(id: number): void;
89
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupStateService, never>;
90
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupStateService>;
91
+ }
42
92
 
43
93
  /**
44
- * The Button is a component which detects user interaction and triggers a corresponding event
94
+ * The Popup is a component which displays content in a dialog overlay
45
95
  *
46
96
  * @category Components
47
97
  */
48
- declare class AXPopupComponent extends MXBaseComponent implements OnInit {
98
+ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDestroy {
49
99
  private _zone;
50
- private _viewContainerRef;
100
+ private _document;
51
101
  private loadingService;
52
102
  private _platform;
53
- protected data: AXPopupData;
54
- private dialogRef;
103
+ private componentService;
104
+ private contentContainerRef;
105
+ private contentContainerEl;
106
+ readonly __content__: i0.InputSignal<AXPopupContentType>;
107
+ readonly __config__: i0.InputSignal<AXPopupConfig>;
108
+ readonly __popupRef__: i0.InputSignal<AXPopupRef<any>>;
109
+ readonly __id__: i0.InputSignal<number>;
55
110
  /**
56
111
  * Indicates whether the component is loading.
57
112
  * @defaultValue true
@@ -60,19 +115,28 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
60
115
  /** @ignore */
61
116
  private _loadingId;
62
117
  /** @ignore */
63
- protected _selectedPortal: Portal<unknown>;
118
+ private _componentRef;
119
+ /** Current title */
120
+ protected title: i0.WritableSignal<string>;
64
121
  /** @ignore */
65
- protected _footerPortal: Portal<unknown>;
122
+ protected isDragging: i0.WritableSignal<boolean>;
66
123
  /** @ignore */
67
- protected _headerPortal: Portal<unknown>;
124
+ protected dragOffset: i0.WritableSignal<{
125
+ x: number;
126
+ y: number;
127
+ }>;
68
128
  /** @ignore */
69
- private _componentRef;
129
+ private dragStartPos;
130
+ /** @ignore */
131
+ private elementStartPos;
70
132
  /** @ignore */
71
133
  ngOnInit(): void;
72
134
  /** @ignore */
73
- protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
135
+ private renderContent;
74
136
  /** @ignore */
75
- onKeydownHandler(event: KeyboardEvent): void;
137
+ private handleContentRendered;
138
+ /** @ignore */
139
+ onKeydownHandler(): void;
76
140
  /** @ignore */
77
141
  protected _handleCloseClick(): void;
78
142
  /** @ignore */
@@ -82,17 +146,30 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
82
146
  */
83
147
  focus(): void;
84
148
  /**
85
- * Closes the dialog, emitting component reference, host element, and optional data.
149
+ * Closes the popup, emitting component reference, host element, and optional data.
86
150
  * @param {unknown} [data]
87
151
  */
88
152
  close(data?: unknown): void;
153
+ /**
154
+ * Sets inputs on the content component.
155
+ * @param values - Object containing input values to set
156
+ */
157
+ setContentInputs(values: AXComponentInputs): void;
158
+ /**
159
+ * Sets the popup title.
160
+ * @param title - The new title
161
+ */
162
+ setTitle(title: string): void;
163
+ protected onDragStart(event: MouseEvent): void;
164
+ onDragMove(event: MouseEvent): void;
165
+ onDragEnd(): void;
89
166
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponent, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, {}, {}, never, never, true, never>;
167
+ 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
168
  }
92
169
 
93
170
  declare class AXPopupModule {
94
171
  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]>;
172
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.AXDecoratorModule, typeof i4.AXTranslationModule, typeof AXPopupComponent], [typeof AXPopupComponent]>;
96
173
  static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
97
174
  }
98
175
 
@@ -102,8 +179,7 @@ declare class AXPopupModule {
102
179
  * @category Components
103
180
  */
104
181
  declare class AXPopupService {
105
- #private;
106
- private dialog;
182
+ private stateService;
107
183
  /**
108
184
  * Open popup 1
109
185
  */
@@ -116,5 +192,5 @@ declare class AXPopupService {
116
192
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupService>;
117
193
  }
118
194
 
119
- export { AXPopupComponent, AXPopupModule, AXPopupService };
120
- export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupSizeType };
195
+ export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService, AXPopupStateService };
196
+ export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupRef, AXPopupSizeType };