@acorex/components 21.0.1-next.11 → 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 -374
  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 +105 -308
  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 +7 -7
  222. package/paint/index.d.ts +1 -6
  223. package/popover/index.d.ts +27 -20
  224. package/popup/index.d.ts +27 -104
  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.11",
3
+ "version": "21.0.1-next.13",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.1-next.11",
6
- "@acorex/cdk": "21.0.1-next.11",
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",
@@ -241,14 +241,14 @@
241
241
  "types": "./image-editor/index.d.ts",
242
242
  "default": "./fesm2022/acorex-components-image-editor.mjs"
243
243
  },
244
- "./kanban": {
245
- "types": "./kanban/index.d.ts",
246
- "default": "./fesm2022/acorex-components-kanban.mjs"
247
- },
248
244
  "./json-viewer": {
249
245
  "types": "./json-viewer/index.d.ts",
250
246
  "default": "./fesm2022/acorex-components-json-viewer.mjs"
251
247
  },
248
+ "./kanban": {
249
+ "types": "./kanban/index.d.ts",
250
+ "default": "./fesm2022/acorex-components-kanban.mjs"
251
+ },
252
252
  "./kbd": {
253
253
  "types": "./kbd/index.d.ts",
254
254
  "default": "./fesm2022/acorex-components-kbd.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 */
package/popup/index.d.ts CHANGED
@@ -1,14 +1,17 @@
1
- import { AXComponentType, AXComponentInputs } from '@acorex/core/components';
1
+ import * as i5 from '@angular/cdk/portal';
2
+ import { ComponentType, Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
2
3
  import * as i0 from '@angular/core';
3
- import { TemplateRef, ViewContainerRef, StaticProvider, OnInit, OnDestroy } from '@angular/core';
4
- import { Subject } from 'rxjs';
4
+ import { TemplateRef, ViewContainerRef, StaticProvider, OnInit } from '@angular/core';
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 '@acorex/components/decorators';
9
- import * as i4 from '@acorex/core/translation';
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';
10
13
 
11
- type AXPopupContentType = TemplateRef<unknown> | AXComponentType<unknown>;
14
+ type AXPopupContentType = TemplateRef<unknown> | ComponentType<unknown>;
12
15
  type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
13
16
  interface AXPopupConfig {
14
17
  title?: string;
@@ -16,9 +19,7 @@ interface AXPopupConfig {
16
19
  header?: boolean;
17
20
  maximizable?: boolean;
18
21
  size?: AXPopupSizeType;
19
- /** @deprecated Use `inputs` instead to pass data to the popup component. */
20
22
  data?: unknown;
21
- inputs?: unknown;
22
23
  draggable?: boolean;
23
24
  hasBackdrop?: boolean;
24
25
  backdropClass?: string;
@@ -38,76 +39,19 @@ interface AXPopupData {
38
39
  draggable: boolean;
39
40
  content: AXPopupContentType;
40
41
  }
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
- }
49
- declare abstract class AXPopupComponentBase {
50
- __popup__: i0.InputSignal<AXPopupRef<any>>;
51
- close(data?: any): void;
52
- setTitle(title: string): void;
53
- bringToFront(): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponentBase, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXPopupComponentBase, never, never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
56
- }
57
-
58
- declare class AXPopupStateService {
59
- private popupList;
60
- private overlayService;
61
- /**
62
- * Opens a popup with the specified content and configuration.
63
- * @param content - Component or template to display
64
- * @param config - Configuration options for the popup
65
- * @returns Promise<AXPopupRef> - Reference to the opened popup
66
- */
67
- open<TResult = any>(content: AXPopupContentType, config: AXPopupConfig): Promise<AXPopupRef<TResult>>;
68
- /**
69
- * Closes a popup by its ID.
70
- * @param id - The popup ID to close
71
- * @param data - Optional data to pass to the close event
72
- */
73
- close<TResult = any>(id: number, data?: TResult): Promise<void>;
74
- /**
75
- * Sets input values for a popup by its ID.
76
- * @param id - The popup ID
77
- * @param values - Object containing input values to set
78
- */
79
- setInputs(id: number, values: AXComponentInputs): Promise<void>;
80
- /**
81
- * Sets the title for a popup by its ID.
82
- * @param id - The popup ID
83
- * @param title - The new title
84
- */
85
- setTitle(id: number, title: string): Promise<void>;
86
- /**
87
- * Brings a popup to the front of all other overlays.
88
- * @param id - The popup ID to bring to front
89
- */
90
- bringToFront(id: number): void;
91
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupStateService, never>;
92
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupStateService>;
93
- }
94
42
 
95
43
  /**
96
- * The Popup is a component which displays content in a dialog overlay
44
+ * The Button is a component which detects user interaction and triggers a corresponding event
97
45
  *
98
46
  * @category Components
99
47
  */
100
- declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDestroy {
48
+ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
101
49
  private _zone;
50
+ private _viewContainerRef;
102
51
  private loadingService;
103
52
  private _platform;
104
- private componentService;
105
- private contentContainerRef;
106
- private contentContainerEl;
107
- readonly __content__: i0.InputSignal<AXPopupContentType>;
108
- readonly __config__: i0.InputSignal<AXPopupConfig>;
109
- readonly __popupRef__: i0.InputSignal<AXPopupRef<any>>;
110
- readonly __id__: i0.InputSignal<number>;
53
+ protected data: AXPopupData;
54
+ private dialogRef;
111
55
  /**
112
56
  * Indicates whether the component is loading.
113
57
  * @defaultValue true
@@ -116,28 +60,19 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
116
60
  /** @ignore */
117
61
  private _loadingId;
118
62
  /** @ignore */
119
- private _componentRef;
120
- /** Current title */
121
- protected title: i0.WritableSignal<string>;
122
- /** @ignore */
123
- protected isDragging: i0.WritableSignal<boolean>;
63
+ protected _selectedPortal: Portal<unknown>;
124
64
  /** @ignore */
125
- protected dragOffset: i0.WritableSignal<{
126
- x: number;
127
- y: number;
128
- }>;
65
+ protected _footerPortal: Portal<unknown>;
129
66
  /** @ignore */
130
- private dragStartPos;
67
+ protected _headerPortal: Portal<unknown>;
131
68
  /** @ignore */
132
- private elementStartPos;
69
+ private _componentRef;
133
70
  /** @ignore */
134
71
  ngOnInit(): void;
135
72
  /** @ignore */
136
- private renderContent;
73
+ protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
137
74
  /** @ignore */
138
- private handleContentRendered;
139
- /** @ignore */
140
- onKeydownHandler(): void;
75
+ onKeydownHandler(event: KeyboardEvent): void;
141
76
  /** @ignore */
142
77
  protected _handleCloseClick(): void;
143
78
  /** @ignore */
@@ -147,30 +82,17 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
147
82
  */
148
83
  focus(): void;
149
84
  /**
150
- * Closes the popup, emitting component reference, host element, and optional data.
85
+ * Closes the dialog, emitting component reference, host element, and optional data.
151
86
  * @param {unknown} [data]
152
87
  */
153
88
  close(data?: unknown): void;
154
- /**
155
- * Sets inputs on the content component.
156
- * @param values - Object containing input values to set
157
- */
158
- setContentInputs(values: AXComponentInputs): void;
159
- /**
160
- * Sets the popup title.
161
- * @param title - The new title
162
- */
163
- setTitle(title: string): void;
164
- protected onDragStart(event: MouseEvent): void;
165
- onDragMove(event: MouseEvent): void;
166
- onDragEnd(): void;
167
89
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponent, never>;
168
- 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>;
90
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, {}, {}, never, never, true, never>;
169
91
  }
170
92
 
171
93
  declare class AXPopupModule {
172
94
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupModule, never>;
173
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.AXDecoratorModule, typeof i4.AXTranslationModule, typeof AXPopupComponent], [typeof AXPopupComponent]>;
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]>;
174
96
  static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
175
97
  }
176
98
 
@@ -180,7 +102,8 @@ declare class AXPopupModule {
180
102
  * @category Components
181
103
  */
182
104
  declare class AXPopupService {
183
- private stateService;
105
+ #private;
106
+ private dialog;
184
107
  /**
185
108
  * Open popup 1
186
109
  */
@@ -193,5 +116,5 @@ declare class AXPopupService {
193
116
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupService>;
194
117
  }
195
118
 
196
- export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService, AXPopupStateService };
197
- export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupRef, AXPopupSizeType };
119
+ export { AXPopupComponent, AXPopupModule, AXPopupService };
120
+ export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupSizeType };