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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/accordion/index.d.ts +0 -1
  2. package/action-sheet/index.d.ts +116 -34
  3. package/button-group/index.d.ts +6 -4
  4. package/chips/index.d.ts +3 -8
  5. package/collapse/index.d.ts +4 -6
  6. package/command/index.d.ts +8 -1
  7. package/conversation2/README.md +71 -31
  8. package/conversation2/index.d.ts +36 -35
  9. package/data-table/index.d.ts +4 -253
  10. package/datetime-picker/index.d.ts +1 -1
  11. package/dialog/index.d.ts +18 -14
  12. package/dropdown/index.d.ts +3 -8
  13. package/fesm2022/acorex-components-accordion.mjs +16 -21
  14. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  15. package/fesm2022/acorex-components-action-sheet.mjs +284 -118
  16. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  17. package/fesm2022/acorex-components-alert.mjs +13 -13
  18. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  19. package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
  20. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  21. package/fesm2022/acorex-components-audio-wave.mjs +11 -10
  22. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  23. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  24. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  25. package/fesm2022/acorex-components-avatar.mjs +12 -12
  26. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  27. package/fesm2022/acorex-components-badge.mjs +9 -9
  28. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  29. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  30. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  31. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  32. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  33. package/fesm2022/acorex-components-button-group.mjs +23 -19
  34. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  35. package/fesm2022/acorex-components-button.mjs +18 -18
  36. package/fesm2022/acorex-components-button.mjs.map +1 -1
  37. package/fesm2022/acorex-components-calendar.mjs +17 -17
  38. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  39. package/fesm2022/acorex-components-check-box.mjs +10 -10
  40. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  41. package/fesm2022/acorex-components-chips.mjs +12 -14
  42. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  43. package/fesm2022/acorex-components-circular-progress.mjs +12 -10
  44. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  45. package/fesm2022/acorex-components-code-editor.mjs +10 -10
  46. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  47. package/fesm2022/acorex-components-collapse.mjs +22 -19
  48. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  49. package/fesm2022/acorex-components-color-box.mjs +9 -9
  50. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  51. package/fesm2022/acorex-components-color-palette.mjs +30 -30
  52. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  53. package/fesm2022/acorex-components-command.mjs +17 -11
  54. package/fesm2022/acorex-components-command.mjs.map +1 -1
  55. package/fesm2022/acorex-components-comment.mjs +32 -32
  56. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  57. package/fesm2022/acorex-components-conversation.mjs +51 -51
  58. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  59. package/fesm2022/acorex-components-conversation2.mjs +309 -303
  60. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  61. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  62. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  63. package/fesm2022/acorex-components-data-list.mjs +3 -3
  64. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  65. package/fesm2022/acorex-components-data-pager.mjs +33 -33
  66. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  67. package/fesm2022/acorex-components-data-table.mjs +50 -486
  68. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  69. package/fesm2022/acorex-components-datetime-box.mjs +9 -9
  70. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  71. package/fesm2022/acorex-components-datetime-input.mjs +9 -9
  72. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  73. package/fesm2022/acorex-components-datetime-picker.mjs +40 -38
  74. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  75. package/fesm2022/acorex-components-decorators.mjs +43 -36
  76. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  77. package/fesm2022/acorex-components-dialog.mjs +75 -54
  78. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  79. package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
  80. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
  81. package/fesm2022/acorex-components-drawer.mjs +15 -16
  82. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  83. package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
  84. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  85. package/fesm2022/acorex-components-dropdown.mjs +25 -28
  86. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  87. package/fesm2022/acorex-components-editor.mjs +11 -11
  88. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  89. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  90. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  91. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  92. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  93. package/fesm2022/acorex-components-form.mjs +48 -42
  94. package/fesm2022/acorex-components-form.mjs.map +1 -1
  95. package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -14
  96. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  97. package/fesm2022/acorex-components-image-editor.mjs +44 -44
  98. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  99. package/fesm2022/acorex-components-image.mjs +9 -9
  100. package/fesm2022/acorex-components-image.mjs.map +1 -1
  101. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  102. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  103. package/fesm2022/acorex-components-kanban.mjs +140 -13
  104. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  105. package/fesm2022/acorex-components-kbd.mjs +29 -11
  106. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  107. package/fesm2022/acorex-components-label.mjs +9 -9
  108. package/fesm2022/acorex-components-label.mjs.map +1 -1
  109. package/fesm2022/acorex-components-list.mjs +9 -9
  110. package/fesm2022/acorex-components-list.mjs.map +1 -1
  111. package/fesm2022/acorex-components-loading-dialog.mjs +82 -45
  112. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  113. package/fesm2022/acorex-components-loading.mjs +23 -23
  114. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  115. package/fesm2022/acorex-components-map.mjs +14 -14
  116. package/fesm2022/acorex-components-map.mjs.map +1 -1
  117. package/fesm2022/acorex-components-media-viewer.mjs +72 -54
  118. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  119. package/fesm2022/acorex-components-menu.mjs +43 -22
  120. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  121. package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs} +47 -23
  122. package/fesm2022/acorex-components-modal-acorex-components-modal-BajlPo_n.mjs.map +1 -0
  123. package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs} +9 -7
  124. package/fesm2022/acorex-components-modal-modal-content.component-BVrBX4Qf.mjs.map +1 -0
  125. package/fesm2022/acorex-components-modal.mjs +1 -1
  126. package/fesm2022/acorex-components-navbar.mjs +9 -9
  127. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  128. package/fesm2022/acorex-components-notification.mjs +381 -260
  129. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  130. package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
  131. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
  132. package/fesm2022/acorex-components-number-box.mjs +9 -9
  133. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  134. package/fesm2022/acorex-components-otp.mjs +9 -9
  135. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  136. package/fesm2022/acorex-components-page.mjs +10 -10
  137. package/fesm2022/acorex-components-page.mjs.map +1 -1
  138. package/fesm2022/acorex-components-paint.mjs +34 -39
  139. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  140. package/fesm2022/acorex-components-password-box.mjs +13 -13
  141. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  142. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  143. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  144. package/fesm2022/acorex-components-phone-box.mjs +88 -47
  145. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  146. package/fesm2022/acorex-components-picker.mjs +19 -18
  147. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  148. package/fesm2022/acorex-components-popover.mjs +213 -197
  149. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  150. package/fesm2022/acorex-components-popup.mjs +308 -113
  151. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  152. package/fesm2022/acorex-components-progress-bar.mjs +11 -9
  153. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  154. package/fesm2022/acorex-components-qrcode.mjs +9 -9
  155. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  156. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  157. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  158. package/fesm2022/acorex-components-radio.mjs +9 -9
  159. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  160. package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
  161. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  162. package/fesm2022/acorex-components-range-slider.mjs +10 -10
  163. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  164. package/fesm2022/acorex-components-rate-picker.mjs +20 -35
  165. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  166. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  167. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  168. package/fesm2022/acorex-components-result.mjs +8 -8
  169. package/fesm2022/acorex-components-result.mjs.map +1 -1
  170. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  171. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  172. package/fesm2022/acorex-components-rrule.mjs +9 -9
  173. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  174. package/fesm2022/acorex-components-scheduler-picker.mjs +56 -56
  175. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  176. package/fesm2022/acorex-components-scheduler.mjs +43 -43
  177. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  178. package/fesm2022/acorex-components-scss.mjs +4 -4
  179. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  180. package/fesm2022/acorex-components-search-box.mjs +16 -10
  181. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  182. package/fesm2022/acorex-components-select-box.mjs +11 -9
  183. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  184. package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
  185. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  186. package/fesm2022/acorex-components-selection-list.mjs +9 -9
  187. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  188. package/fesm2022/acorex-components-side-menu.mjs +74 -25
  189. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  190. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  191. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  192. package/fesm2022/acorex-components-slider.mjs +12 -12
  193. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  194. package/fesm2022/acorex-components-sliding-item.mjs +14 -14
  195. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  196. package/fesm2022/acorex-components-step-wizard.mjs +14 -14
  197. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  198. package/fesm2022/acorex-components-switch.mjs +14 -14
  199. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  200. package/fesm2022/acorex-components-tabs.mjs +15 -15
  201. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  202. package/fesm2022/acorex-components-tag-box.mjs +9 -9
  203. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  204. package/fesm2022/acorex-components-tag.mjs +9 -9
  205. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  206. package/fesm2022/acorex-components-text-area.mjs +9 -9
  207. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  208. package/fesm2022/acorex-components-text-box.mjs +14 -12
  209. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  210. package/fesm2022/acorex-components-time-duration.mjs +18 -20
  211. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  212. package/fesm2022/acorex-components-time-line.mjs +12 -12
  213. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  214. package/fesm2022/acorex-components-toast.mjs +239 -131
  215. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  216. package/fesm2022/acorex-components-toolbar.mjs +8 -8
  217. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  218. package/fesm2022/acorex-components-tooltip.mjs +67 -67
  219. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  220. package/fesm2022/acorex-components-tree-view-legacy.mjs +16 -12
  221. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
  222. package/fesm2022/acorex-components-tree-view.mjs +26 -11
  223. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  224. package/fesm2022/acorex-components-uploader.mjs +16 -16
  225. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  226. package/fesm2022/acorex-components-video-player.mjs +8 -8
  227. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  228. package/fesm2022/acorex-components-wysiwyg.mjs +42 -42
  229. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  230. package/fesm2022/acorex-components.mjs.map +1 -1
  231. package/form/index.d.ts +2 -1
  232. package/grid-layout-builder/index.d.ts +1 -2
  233. package/kanban/index.d.ts +62 -4
  234. package/kbd/index.d.ts +13 -7
  235. package/loading/index.d.ts +1 -1
  236. package/loading-dialog/index.d.ts +31 -15
  237. package/media-viewer/index.d.ts +2 -1
  238. package/menu/index.d.ts +4 -0
  239. package/modal/index.d.ts +7 -0
  240. package/notification/index.d.ts +47 -32
  241. package/package.json +3 -3
  242. package/paint/index.d.ts +1 -6
  243. package/phone-box/index.d.ts +12 -7
  244. package/popover/index.d.ts +32 -30
  245. package/popup/index.d.ts +100 -27
  246. package/rate-picker/index.d.ts +5 -15
  247. package/side-menu/index.d.ts +9 -2
  248. package/slider/index.d.ts +2 -2
  249. package/time-duration/index.d.ts +0 -1
  250. package/toast/index.d.ts +24 -18
  251. package/tooltip/index.d.ts +4 -9
  252. package/tree-view/index.d.ts +11 -0
  253. package/tree-view-legacy/index.d.ts +1 -0
  254. package/fesm2022/acorex-components-modal-acorex-components-modal-CXXcFToK.mjs.map +0 -1
  255. package/fesm2022/acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map +0 -1
package/kanban/index.d.ts CHANGED
@@ -21,6 +21,7 @@ declare class AXKanbanComponent extends NXComponent {
21
21
  footerTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
22
22
  contentFooterTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
23
23
  tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
24
+ onBeforeDrop: _angular_core.OutputEmitterRef<AXKanbanBeforeDropEvent>;
24
25
  onSortChanged: _angular_core.OutputEmitterRef<AXKanbanSortEvent>;
25
26
  onItemClick: _angular_core.OutputEmitterRef<AXKanbanMouseEvent>;
26
27
  onActionClick: _angular_core.OutputEmitterRef<AXKanbanMouseEvent>;
@@ -35,9 +36,57 @@ declare class AXKanbanComponent extends NXComponent {
35
36
  * the updated data source.
36
37
  *
37
38
  * @param event AXDropListDroppedEvent - The drag-and-drop event including indices and container information.
38
- * @returns void
39
+ * @returns Promise<void>
39
40
  */
40
- drop(event: AXDropListDroppedEvent): void;
41
+ drop(event: AXDropListDroppedEvent): Promise<void>;
42
+ /**
43
+ * Programmatically move an item to a different status or reorder within the same status.
44
+ * @param itemId The ID of the item to move (using keyField)
45
+ * @param targetStatusKey The target status key to move the item to
46
+ * @param targetIndex Optional target index within the target status. If not provided, item will be appended to the end.
47
+ * @returns Promise<boolean> - true if the move was successful, false otherwise
48
+ */
49
+ moveItem(itemId: any, targetStatusKey: any, targetIndex?: number): Promise<boolean>;
50
+ /**
51
+ * Programmatically reorder an item within the same status.
52
+ * @param itemId The ID of the item to reorder (using keyField)
53
+ * @param newIndex The new index position within the same status
54
+ * @returns Promise<boolean> - true if the reorder was successful, false otherwise
55
+ */
56
+ reorderItem(itemId: any, newIndex: number): Promise<boolean>;
57
+ /**
58
+ * Programmatically move an item to a different status.
59
+ * @param itemId The ID of the item to move (using keyField)
60
+ * @param targetStatusKey The target status key to move the item to
61
+ * @param targetIndex Optional target index within the target status. If not provided, item will be appended to the end.
62
+ * @returns Promise<boolean> - true if the move was successful, false otherwise
63
+ */
64
+ moveItemToStatus(itemId: any, targetStatusKey: any, targetIndex?: number): Promise<boolean>;
65
+ /**
66
+ * Core method that performs the move operation, handles re-indexing, and emits events.
67
+ * This is used by both drag-and-drop operations and programmatic moves.
68
+ *
69
+ * @param originalItem The original item from dataSource that is being moved
70
+ * @param previousStatusKey The status key the item is moving from
71
+ * @param currentStatusKey The status key the item is moving to
72
+ * @param previousIndex The index the item is moving from
73
+ * @param currentIndex The index the item is moving to
74
+ * @param nativeEvent The native mouse event (null for programmatic moves)
75
+ * @returns Promise<boolean> - true if the move was successful, false otherwise
76
+ */
77
+ private performMove;
78
+ /**
79
+ * Emit beforeDrop event and return whether to continue with the drop operation.
80
+ * Supports both synchronous and asynchronous event handlers via the `wait()` method.
81
+ * @param item The original item from dataSource that is being moved
82
+ * @param previousStatusKey The status key the item is moving from
83
+ * @param currentStatusKey The status key the item is moving to
84
+ * @param previousIndex The index the item is moving from
85
+ * @param currentIndex The index the item is moving to
86
+ * @param nativeEvent The native mouse event (null for programmatic moves)
87
+ * @returns Promise<boolean> - true if the drop should proceed, false if it should be canceled
88
+ */
89
+ private emitBeforeDropEvent;
41
90
  protected getItemsById(key: any): AXKanbanItem[];
42
91
  protected getOriginalItemsById(key: any): any[];
43
92
  protected stringify(value: any): string;
@@ -46,7 +95,7 @@ declare class AXKanbanComponent extends NXComponent {
46
95
  protected handleDblClick(event: MouseEvent, item: AXKanbanItem): void;
47
96
  protected handleRightClick(event: MouseEvent, item: AXKanbanItem): void;
48
97
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXKanbanComponent, never>;
49
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKanbanComponent, "ax-kanban", never, { "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "indexField": { "alias": "indexField"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "cssClassField": { "alias": "cssClassField"; "required": false; "isSignal": true; }; "priorityField": { "alias": "priorityField"; "required": false; "isSignal": true; }; "statusKeyField": { "alias": "statusKeyField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "contentFooterTemplate": { "alias": "contentFooterTemplate"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "onSortChanged": "onSortChanged"; "onItemClick": "onItemClick"; "onActionClick": "onActionClick"; "onItemDblClick": "onItemDblClick"; "onItemRightClick": "onItemRightClick"; }, never, never, true, never>;
98
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKanbanComponent, "ax-kanban", never, { "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "indexField": { "alias": "indexField"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "cssClassField": { "alias": "cssClassField"; "required": false; "isSignal": true; }; "priorityField": { "alias": "priorityField"; "required": false; "isSignal": true; }; "statusKeyField": { "alias": "statusKeyField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "contentFooterTemplate": { "alias": "contentFooterTemplate"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "onBeforeDrop": "onBeforeDrop"; "onSortChanged": "onSortChanged"; "onItemClick": "onItemClick"; "onActionClick": "onActionClick"; "onItemDblClick": "onItemDblClick"; "onItemRightClick": "onItemRightClick"; }, never, never, true, never>;
50
99
  }
51
100
 
52
101
  type AXKanbanItem = {
@@ -75,6 +124,15 @@ interface AXKanbanSortEvent extends NXNativeEvent<AXKanbanComponent, MouseEvent>
75
124
  interface AXKanbanMouseEvent extends NXNativeEvent<AXKanbanComponent, MouseEvent> {
76
125
  item: any;
77
126
  }
127
+ interface AXKanbanBeforeDropEvent extends NXNativeEvent<AXKanbanComponent, MouseEvent> {
128
+ item: any;
129
+ previousStatusKey: any;
130
+ currentStatusKey: any;
131
+ previousIndex: number;
132
+ currentIndex: number;
133
+ canceled: boolean;
134
+ wait: (promise: Promise<any>) => void;
135
+ }
78
136
 
79
137
  export { AXKanbanComponent };
80
- export type { AXKanbanItem, AXKanbanMouseEvent, AXKanbanSortEvent, AXKanbanStatus };
138
+ export type { AXKanbanBeforeDropEvent, AXKanbanItem, AXKanbanMouseEvent, AXKanbanSortEvent, AXKanbanStatus };
package/kbd/index.d.ts CHANGED
@@ -1,9 +1,12 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { NXComponent } from '@acorex/cdk/common';
3
3
 
4
4
  declare class AXKBDItemComponent extends NXComponent {
5
- keys: i0.InputSignal<string | string[]>;
6
- modifierKeys: i0.WritableSignal<string[]>;
5
+ keys: _angular_core.InputSignal<string | string[]>;
6
+ modifierKeys: _angular_core.WritableSignal<string[]>;
7
+ join: _angular_core.InputSignal<"split" | "joined">;
8
+ look: _angular_core.ModelSignal<"fill" | "solid">;
9
+ lookClass: _angular_core.Signal<string>;
7
10
  /**
8
11
  * Capitalizes the first letter of the provided text.
9
12
  *
@@ -11,13 +14,16 @@ declare class AXKBDItemComponent extends NXComponent {
11
14
  * @returns The text with its first character uppercased
12
15
  */
13
16
  protected capitalizeFirstLetter(text: string): string;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AXKBDItemComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AXKBDItemComponent, "ax-kbd-item", never, { "keys": { "alias": "keys"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXKBDItemComponent, never>;
18
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKBDItemComponent, "ax-kbd-item", never, { "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "join": { "alias": "join"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; }, never, never, true, never>;
16
19
  }
17
20
 
18
21
  declare class AXKBDComponent extends NXComponent {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<AXKBDComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AXKBDComponent, "ax-kbd", never, {}, {}, never, ["ax-kbd-item"], true, never>;
22
+ #private;
23
+ private kbdItem;
24
+ look: _angular_core.InputSignal<"fill" | "solid">;
25
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXKBDComponent, never>;
26
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKBDComponent, "ax-kbd", never, { "look": { "alias": "look"; "required": false; "isSignal": true; }; }, {}, ["kbdItem"], ["ax-kbd-item"], true, never>;
21
27
  }
22
28
 
23
29
  export { AXKBDComponent, AXKBDItemComponent };
@@ -81,7 +81,7 @@ declare class AXLoadingComponent extends MXBaseComponent implements OnInit {
81
81
  /**
82
82
  * @ignore
83
83
  */
84
- protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
84
+ protected _handleAttached(ref: CdkPortalOutletAttachedRef): void;
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingComponent, never>;
86
86
  static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingComponent, "ax-loading", never, { "visible": { "alias": "visible"; "required": false; }; "type": { "alias": "type"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
87
87
  }
@@ -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 };
@@ -69,8 +69,9 @@ declare class AXMediaViewerContainerComponent implements OnDestroy {
69
69
  ngOnDestroy(): void;
70
70
  next(): void;
71
71
  prev(): void;
72
- interVal: any;
72
+ private interVal?;
73
73
  goToIndex(index: number, speed?: number): void;
74
+ private init;
74
75
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMediaViewerContainerComponent, never>;
75
76
  static ɵcmp: i0.ɵɵComponentDeclaration<AXMediaViewerContainerComponent, "ax-media-viewer-container", never, { "dataArray": { "alias": "dataArray"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; }, {}, ["fullScreenButton"], ["ax-header", "ax-suffix", "ax-prefix"], true, never>;
76
77
  }
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,35 +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>;
55
- /** @ignore */
56
- _selectedPortal: Portal<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;
57
67
  /** @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
- /** @ignore */
75
- private get __hostClass();
76
86
  /**
77
- * Closes the dialog and provides the component and HTML element for reference.
87
+ * Closes the notification.
78
88
  */
79
89
  close(): void;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationComponent, never>;
81
- 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>;
82
96
  }
83
97
 
84
98
  interface AXNotificationConfig {
@@ -96,18 +110,18 @@ type PartialNotificationConfig = Partial<AXNotificationConfig>;
96
110
  declare function notificationConfig(config?: PartialNotificationConfig): AXNotificationConfig;
97
111
 
98
112
  declare class AXNotificationModule {
99
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationModule, never>;
100
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
101
- 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>;
102
116
  }
103
117
 
104
118
  declare class AXNotificationService {
105
- private dialog;
119
+ private overlayService;
106
120
  private translationService;
107
121
  private defaultConfig;
108
122
  private activeNotifications;
109
123
  private reservedNotifications;
110
- private notificationCounterElement;
124
+ private notificationCounterRef;
111
125
  private moreNotificationsColor;
112
126
  private moreNotificationsLocation;
113
127
  private reserveCounter;
@@ -116,14 +130,15 @@ declare class AXNotificationService {
116
130
  hideAll(): void;
117
131
  private handleShowReservedNotification;
118
132
  private handleReservedNotificationCounter;
119
- private createReservedCounternotification;
133
+ private createReservedCounterNotification;
134
+ private positionNotification;
120
135
  private reposition;
121
136
  private getRepositionPosition;
137
+ private applyRepositionPosition;
122
138
  private getPosition;
123
- private getPositionStrategy;
124
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationService, never>;
125
- static ɵprov: i0.ɵɵInjectableDeclaration<AXNotificationService>;
139
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationService, never>;
140
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXNotificationService>;
126
141
  }
127
142
 
128
143
  export { AXNotificationComponent, AXNotificationDefaultConfig, AXNotificationModule, AXNotificationService, AX_NOTIFICATION_CONFIG, notificationConfig };
129
- 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.3",
3
+ "version": "21.0.1-next.30",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.1-next.3",
6
- "@acorex/cdk": "21.0.1-next.3",
5
+ "@acorex/core": "21.0.1-next.30",
6
+ "@acorex/cdk": "21.0.1-next.30",
7
7
  "@angular/common": "^20.0.0",
8
8
  "@angular/core": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
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,6 +1,6 @@
1
1
  import * as polytype from 'polytype';
2
2
  import * as _angular_core from '@angular/core';
3
- import { MXInputBaseValueComponent, MXLookComponent, AXDataSource, AXValueChangedEvent } from '@acorex/cdk/common';
3
+ import { MXInputBaseValueComponent, MXLookComponent, AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
4
4
  import { CountryItem } from '@acorex/core/constants';
5
5
  import * as i1 from '@angular/common';
6
6
  import * as i2 from '@angular/forms';
@@ -56,7 +56,8 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
56
56
  /** @ignore */
57
57
  protected selectedCountry: _angular_core.WritableSignal<CountryItem>;
58
58
  /** @ignore */
59
- protected _handleModelChange(value: string | null): void;
59
+ protected _handleModelChange(e: AXValueChangedEvent<any>): void;
60
+ protected internalValueChanged(value: any): void;
60
61
  /** @ignore */
61
62
  protected dataSource: AXDataSource<CountryItem>;
62
63
  /** @ignore */
@@ -74,16 +75,20 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
74
75
  * @returns void - No return value. Updates the internal countries list.
75
76
  */
76
77
  setCountries(): void;
78
+ protected handleKeyDown(e: KeyboardEvent): void;
79
+ private parsePhoneNumber;
77
80
  /**
78
- * Sets the default selected country based on the provided country code or the first country in the list.
81
+ * Formats a national phone number according to the country's format pattern.
82
+ * The format pattern uses '0' as digit placeholders and preserves other characters (like spaces).
79
83
  *
80
- * @returns void - No return value. Updates the selected country.
84
+ * @param number - The raw national number (digits only)
85
+ * @param format - The country's phone number format pattern (e.g., '000 000 0000')
86
+ * @returns The formatted national number with spaces according to the format
81
87
  */
82
- setDefaultValue(): void;
83
- protected handleKeyDown(e: KeyboardEvent): void;
84
- private parsePhoneNumber;
88
+ private formatNationalNumber;
85
89
  /** @ignore */
86
90
  _handleCountryValueChanged(event: AXValueChangedEvent): void;
91
+ private removeValidation;
87
92
  private get __hostName();
88
93
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPhoneBoxComponent, never>;
89
94
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPhoneBoxComponent, "ax-phone-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; "precode": { "alias": "precode"; "required": false; "isSignal": true; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "included": { "alias": "included"; "required": false; "isSignal": true; }; "excluded": { "alias": "excluded"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "country": "countryChange"; }, never, ["ax-validation-rule", "ax-clear-button "], true, never>;