@acorex/components 20.2.0-next.8 → 20.2.0

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 (303) hide show
  1. package/accordion/index.d.ts +6 -5
  2. package/action-sheet/index.d.ts +57 -10
  3. package/alert/index.d.ts +2 -4
  4. package/aspect-ratio/README.md +3 -0
  5. package/aspect-ratio/index.d.ts +11 -0
  6. package/autocomplete/index.d.ts +7 -2
  7. package/avatar/index.d.ts +12 -6
  8. package/badge/index.d.ts +1 -2
  9. package/bottom-navigation/index.d.ts +10 -2
  10. package/breadcrumbs/index.d.ts +17 -4
  11. package/button/index.d.ts +56 -17
  12. package/button-group/index.d.ts +10 -6
  13. package/calendar/index.d.ts +32 -18
  14. package/check-box/index.d.ts +2 -5
  15. package/chips/index.d.ts +1 -2
  16. package/circular-progress/index.d.ts +23 -18
  17. package/code-editor/README.md +3 -0
  18. package/code-editor/index.d.ts +103 -0
  19. package/collapse/index.d.ts +7 -6
  20. package/color-box/index.d.ts +6 -8
  21. package/color-palette/index.d.ts +19 -24
  22. package/command/README.md +3 -0
  23. package/command/index.d.ts +60 -0
  24. package/comment/index.d.ts +18 -13
  25. package/conversation/index.d.ts +107 -78
  26. package/cron-job/index.d.ts +5 -4
  27. package/data-list/README.md +356 -0
  28. package/data-list/index.d.ts +102 -0
  29. package/data-pager/index.d.ts +22 -17
  30. package/data-table/index.d.ts +59 -3
  31. package/datetime-box/index.d.ts +12 -15
  32. package/datetime-input/index.d.ts +2 -4
  33. package/datetime-picker/index.d.ts +12 -11
  34. package/decorators/index.d.ts +2 -2
  35. package/dialog/index.d.ts +29 -4
  36. package/drawer-2/index.d.ts +22 -8
  37. package/dropdown/index.d.ts +44 -3
  38. package/dropdown-button/index.d.ts +7 -2
  39. package/fesm2022/acorex-components-accordion.mjs +74 -72
  40. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  41. package/fesm2022/acorex-components-action-sheet.mjs +78 -48
  42. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  43. package/fesm2022/acorex-components-alert.mjs +13 -17
  44. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  45. package/fesm2022/acorex-components-aspect-ratio.mjs +36 -0
  46. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -0
  47. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  48. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  49. package/fesm2022/acorex-components-autocomplete.mjs +32 -11
  50. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  51. package/fesm2022/acorex-components-avatar.mjs +24 -21
  52. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  53. package/fesm2022/acorex-components-badge.mjs +9 -11
  54. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  55. package/fesm2022/acorex-components-bottom-navigation.mjs +18 -16
  56. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  57. package/fesm2022/acorex-components-breadcrumbs.mjs +36 -21
  58. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  59. package/fesm2022/acorex-components-button-group.mjs +35 -26
  60. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  61. package/fesm2022/acorex-components-button.mjs +78 -38
  62. package/fesm2022/acorex-components-button.mjs.map +1 -1
  63. package/fesm2022/acorex-components-calendar.mjs +76 -47
  64. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  65. package/fesm2022/acorex-components-check-box.mjs +11 -14
  66. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  67. package/fesm2022/acorex-components-chips.mjs +9 -11
  68. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  69. package/fesm2022/acorex-components-circular-progress.mjs +31 -26
  70. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  71. package/fesm2022/acorex-components-code-editor.mjs +591 -0
  72. package/fesm2022/acorex-components-code-editor.mjs.map +1 -0
  73. package/fesm2022/acorex-components-collapse.mjs +21 -21
  74. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  75. package/fesm2022/acorex-components-color-box.mjs +39 -33
  76. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  77. package/fesm2022/acorex-components-color-palette.mjs +69 -85
  78. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  79. package/fesm2022/acorex-components-command.mjs +144 -0
  80. package/fesm2022/acorex-components-command.mjs.map +1 -0
  81. package/fesm2022/acorex-components-comment.mjs +51 -45
  82. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  83. package/fesm2022/acorex-components-conversation.mjs +128 -90
  84. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  85. package/fesm2022/acorex-components-cron-job.mjs +54 -48
  86. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  87. package/fesm2022/acorex-components-data-list.mjs +386 -0
  88. package/fesm2022/acorex-components-data-list.mjs.map +1 -0
  89. package/fesm2022/acorex-components-data-pager.mjs +41 -36
  90. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  91. package/fesm2022/acorex-components-data-table.mjs +98 -42
  92. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  93. package/fesm2022/acorex-components-datetime-box.mjs +28 -36
  94. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  95. package/fesm2022/acorex-components-datetime-input.mjs +20 -18
  96. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  97. package/fesm2022/acorex-components-datetime-picker.mjs +92 -44
  98. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  99. package/fesm2022/acorex-components-decorators.mjs +27 -27
  100. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  101. package/fesm2022/acorex-components-dialog.mjs +44 -19
  102. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  103. package/fesm2022/acorex-components-drawer-2.mjs +28 -14
  104. package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
  105. package/fesm2022/acorex-components-drawer.mjs +13 -13
  106. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  107. package/fesm2022/acorex-components-dropdown-button.mjs +16 -11
  108. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  109. package/fesm2022/acorex-components-dropdown.mjs +57 -13
  110. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  111. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  112. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  113. package/fesm2022/acorex-components-flow-chart.mjs +40 -16
  114. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  115. package/fesm2022/acorex-components-form.mjs +36 -17
  116. package/fesm2022/acorex-components-form.mjs.map +1 -1
  117. package/fesm2022/acorex-components-grid-layout-builder.mjs +125 -15
  118. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  119. package/fesm2022/acorex-components-image-editor.mjs +121 -92
  120. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  121. package/fesm2022/acorex-components-image.mjs +7 -7
  122. package/fesm2022/acorex-components-image.mjs.map +1 -1
  123. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  124. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  125. package/fesm2022/acorex-components-kanban.mjs +11 -7
  126. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  127. package/fesm2022/acorex-components-kbd.mjs +21 -29
  128. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  129. package/fesm2022/acorex-components-label.mjs +11 -15
  130. package/fesm2022/acorex-components-label.mjs.map +1 -1
  131. package/fesm2022/acorex-components-list.mjs +23 -32
  132. package/fesm2022/acorex-components-list.mjs.map +1 -1
  133. package/fesm2022/acorex-components-loading-dialog.mjs +58 -59
  134. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  135. package/fesm2022/acorex-components-loading.mjs +84 -28
  136. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  137. package/fesm2022/acorex-components-map.mjs +484 -112
  138. package/fesm2022/acorex-components-map.mjs.map +1 -1
  139. package/fesm2022/acorex-components-media-viewer.mjs +37 -37
  140. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  141. package/fesm2022/acorex-components-menu.mjs +67 -37
  142. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  143. package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs → acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs} +117 -40
  144. package/fesm2022/acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map +1 -0
  145. package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs +235 -0
  146. package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +1 -0
  147. package/fesm2022/acorex-components-modal.mjs +1 -1
  148. package/fesm2022/acorex-components-navbar.mjs +14 -10
  149. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  150. package/fesm2022/acorex-components-notification.mjs +31 -45
  151. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  152. package/fesm2022/acorex-components-number-box-2.mjs +28 -9
  153. package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
  154. package/fesm2022/acorex-components-number-box.mjs +16 -10
  155. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  156. package/fesm2022/acorex-components-otp.mjs +14 -15
  157. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  158. package/fesm2022/acorex-components-page.mjs +10 -10
  159. package/fesm2022/acorex-components-page.mjs.map +1 -1
  160. package/fesm2022/acorex-components-paint.mjs +74 -33
  161. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  162. package/fesm2022/acorex-components-password-box.mjs +21 -18
  163. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  164. package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
  165. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  166. package/fesm2022/acorex-components-phone-box.mjs +51 -15
  167. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  168. package/fesm2022/acorex-components-picker.mjs +26 -16
  169. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  170. package/fesm2022/acorex-components-popover.mjs +13 -18
  171. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  172. package/fesm2022/acorex-components-popup.mjs +10 -10
  173. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  174. package/fesm2022/acorex-components-progress-bar.mjs +8 -8
  175. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  176. package/fesm2022/acorex-components-qrcode.mjs +7 -7
  177. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  178. package/fesm2022/acorex-components-query-builder.mjs +7 -7
  179. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  180. package/fesm2022/acorex-components-radio.mjs +8 -8
  181. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  182. package/fesm2022/acorex-components-rail-navigation.mjs +26 -16
  183. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  184. package/fesm2022/acorex-components-range-slider.mjs +13 -9
  185. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  186. package/fesm2022/acorex-components-rate-picker.mjs +7 -7
  187. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  188. package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
  189. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  190. package/fesm2022/acorex-components-result.mjs +7 -7
  191. package/fesm2022/acorex-components-result.mjs.map +1 -1
  192. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  193. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  194. package/fesm2022/acorex-components-rrule.mjs +222 -102
  195. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  196. package/fesm2022/acorex-components-scheduler.mjs +1581 -167
  197. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  198. package/fesm2022/acorex-components-scss.mjs +4 -4
  199. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  200. package/fesm2022/acorex-components-search-box.mjs +13 -7
  201. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  202. package/fesm2022/acorex-components-select-box.mjs +105 -38
  203. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  204. package/fesm2022/acorex-components-selection-list-2.mjs +12 -9
  205. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  206. package/fesm2022/acorex-components-selection-list.mjs +14 -11
  207. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  208. package/fesm2022/acorex-components-side-menu.mjs +98 -43
  209. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  210. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  211. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  212. package/fesm2022/acorex-components-slider.mjs +9 -9
  213. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  214. package/fesm2022/acorex-components-sliding-item.mjs +16 -16
  215. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  216. package/fesm2022/acorex-components-step-wizard.mjs +31 -32
  217. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  218. package/fesm2022/acorex-components-switch.mjs +12 -12
  219. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  220. package/fesm2022/acorex-components-tabs.mjs +26 -19
  221. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  222. package/fesm2022/acorex-components-tag-box.mjs +55 -21
  223. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  224. package/fesm2022/acorex-components-tag.mjs +8 -8
  225. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  226. package/fesm2022/acorex-components-text-area.mjs +17 -12
  227. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  228. package/fesm2022/acorex-components-text-box.mjs +29 -13
  229. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  230. package/fesm2022/acorex-components-time-duration.mjs +15 -9
  231. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  232. package/fesm2022/acorex-components-time-line.mjs +13 -10
  233. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  234. package/fesm2022/acorex-components-toast.mjs +59 -14
  235. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  236. package/fesm2022/acorex-components-toolbar.mjs +7 -7
  237. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  238. package/fesm2022/acorex-components-tooltip.mjs +12 -11
  239. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  240. package/fesm2022/acorex-components-tree-view.mjs +12 -12
  241. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  242. package/fesm2022/acorex-components-uploader.mjs +252 -56
  243. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  244. package/fesm2022/acorex-components-video-player.mjs +7 -7
  245. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  246. package/fesm2022/acorex-components-wysiwyg.mjs +104 -62
  247. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  248. package/flow-chart/index.d.ts +24 -0
  249. package/form/index.d.ts +27 -13
  250. package/grid-layout-builder/index.d.ts +115 -4
  251. package/image/index.d.ts +4 -4
  252. package/image-editor/index.d.ts +17 -14
  253. package/json-viewer/index.d.ts +3 -3
  254. package/kanban/index.d.ts +7 -3
  255. package/kbd/index.d.ts +11 -11
  256. package/label/index.d.ts +1 -2
  257. package/list/index.d.ts +4 -14
  258. package/loading/index.d.ts +59 -6
  259. package/loading-dialog/index.d.ts +30 -19
  260. package/map/index.d.ts +95 -2
  261. package/menu/index.d.ts +38 -13
  262. package/modal/index.d.ts +47 -2
  263. package/navbar/index.d.ts +7 -3
  264. package/notification/index.d.ts +1 -8
  265. package/number-box/index.d.ts +1 -0
  266. package/number-box-2/index.d.ts +2 -1
  267. package/otp/index.d.ts +1 -3
  268. package/package.json +43 -4
  269. package/paint/index.d.ts +43 -7
  270. package/password-box/index.d.ts +8 -10
  271. package/phone-box/index.d.ts +18 -16
  272. package/picker/index.d.ts +10 -8
  273. package/popover/index.d.ts +2 -2
  274. package/popup/index.d.ts +2 -2
  275. package/qrcode/index.d.ts +7 -7
  276. package/query-builder/index.d.ts +1 -1
  277. package/radio/index.d.ts +1 -1
  278. package/rail-navigation/index.d.ts +12 -3
  279. package/range-slider/index.d.ts +13 -13
  280. package/rate-picker/index.d.ts +5 -5
  281. package/rest-api-generator/index.d.ts +1 -1
  282. package/rrule/index.d.ts +40 -17
  283. package/scheduler/index.d.ts +541 -191
  284. package/search-box/index.d.ts +3 -2
  285. package/select-box/index.d.ts +22 -10
  286. package/selection-list-2/index.d.ts +3 -3
  287. package/side-menu/index.d.ts +24 -15
  288. package/sliding-item/index.d.ts +4 -5
  289. package/step-wizard/index.d.ts +10 -13
  290. package/switch/index.d.ts +0 -1
  291. package/tabs/index.d.ts +6 -1
  292. package/tag-box/index.d.ts +19 -2
  293. package/text-area/index.d.ts +2 -2
  294. package/text-box/index.d.ts +3 -0
  295. package/time-duration/index.d.ts +1 -0
  296. package/time-line/index.d.ts +3 -0
  297. package/toast/index.d.ts +45 -1
  298. package/tooltip/index.d.ts +2 -1
  299. package/uploader/index.d.ts +215 -5
  300. package/wysiwyg/index.d.ts +27 -5
  301. package/fesm2022/acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs.map +0 -1
  302. package/fesm2022/acorex-components-modal-modal-content.component-DfhgA_WL.mjs +0 -218
  303. package/fesm2022/acorex-components-modal-modal-content.component-DfhgA_WL.mjs.map +0 -1
@@ -1,12 +1,8 @@
1
1
  import { AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { OnInit, EventEmitter, InjectionToken, ElementRef } from '@angular/core';
4
- import * as i4 from '@angular/cdk/portal';
5
4
  import { Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
6
5
  import { BehaviorSubject, Observable } from 'rxjs';
7
- import * as i1 from '@angular/common';
8
- import * as i2 from '@angular/cdk/overlay';
9
- import * as i3 from '@angular/cdk/dialog';
10
6
 
11
7
  /**
12
8
  * A loading spinner component that displays a rotating spinner icon.
@@ -15,7 +11,6 @@ import * as i3 from '@angular/cdk/dialog';
15
11
  declare class AXLoadingSpinnerComponent {
16
12
  /**
17
13
  * The text to display alongside the spinner.
18
- * @ignore
19
14
  */
20
15
  text: string;
21
16
  /**
@@ -105,17 +100,75 @@ declare class AXLoadingService {
105
100
  protected loadingStates: WeakMap<object, Map<LoaderId, boolean>>;
106
101
  protected loadingStates$: WeakMap<object, Map<LoaderId, BehaviorSubject<boolean>>>;
107
102
  private dialog;
103
+ /**
104
+ * Shows a modal loading overlay.
105
+ *
106
+ * If a host element is provided via `config.location`, the overlay is attached to that
107
+ * element; otherwise it is attached to `document.body`.
108
+ *
109
+ * @param config Optional configuration: host `location`, `type`, and `context` passed to the spinner instance.
110
+ * @returns number Unique loading reference id to be used with {@link hide}.
111
+ */
108
112
  show(config?: {
109
113
  location?: Element;
110
114
  type?: string;
111
115
  context?: unknown;
112
116
  }): number;
117
+ /**
118
+ * Hides a previously shown modal loading overlay.
119
+ *
120
+ * @param id Loading reference id returned by {@link show}.
121
+ */
113
122
  hide(id: number): void;
123
+ /**
124
+ * Wraps an Observable and toggles loading for its duration.
125
+ *
126
+ * Starts loading before subscription settles and ends loading on finalize.
127
+ *
128
+ * @param source$ Source observable.
129
+ * @param context Loading context key.
130
+ * @param loaderId Optional id to scope multiple loaders per context.
131
+ * @returns Observable<V> The original stream with loading side effects.
132
+ */
114
133
  doLoading<V>(source$: Observable<V>, context: LoadingContext, loaderId?: LoaderId): Observable<V>;
134
+ /**
135
+ * Returns current loading state for the given context and optional loader id.
136
+ *
137
+ * @param context Loading context key.
138
+ * @param loaderId Optional loader id.
139
+ * @returns boolean True if any matching loader is active.
140
+ */
115
141
  isLoading(context: LoadingContext, loaderId?: LoaderId): boolean;
142
+ /**
143
+ * Observable loading state for the given context and optional loader id.
144
+ * Initializes the state if it does not exist yet.
145
+ *
146
+ * @param context Loading context key.
147
+ * @param loaderId Optional loader id.
148
+ * @returns Observable<boolean>
149
+ */
116
150
  isLoading$(context: LoadingContext, loaderId?: LoaderId | any): Observable<boolean>;
151
+ /**
152
+ * Sets loading state to true for the given context/loader id.
153
+ *
154
+ * @param context Loading context key.
155
+ * @param loaderId Optional loader id.
156
+ * @returns void
157
+ */
117
158
  startLoading(context: LoadingContext, loaderId?: LoaderId): void;
159
+ /**
160
+ * Sets loading state to false for the given context/loader id.
161
+ *
162
+ * @param context Loading context key.
163
+ * @param loaderId Optional loader id.
164
+ * @returns void
165
+ */
118
166
  endLoading(context: LoadingContext, loaderId?: LoaderId): void;
167
+ /**
168
+ * Clears all tracked loading states across all contexts.
169
+ *
170
+ * @returns void
171
+ */
119
172
  clearLoadings(): void;
120
173
  protected setLoadingState(context: LoadingContext, state: boolean, loaderId: LoaderId): void;
121
174
  protected hasLoadingStates(context: LoadingContext, loaderId: LoaderId): boolean;
@@ -141,7 +194,7 @@ declare class AXLoadingDirective {
141
194
 
142
195
  declare class AXLoadingModule {
143
196
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingModule, never>;
144
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.DialogModule, typeof i4.PortalModule, typeof AXLoadingComponent, typeof AXLoadingDirective, typeof AXLoadingSpinnerComponent], [typeof AXLoadingComponent, typeof AXLoadingDirective, typeof AXLoadingSpinnerComponent]>;
197
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, never, [typeof AXLoadingComponent, typeof AXLoadingDirective, typeof AXLoadingSpinnerComponent], [typeof AXLoadingComponent, typeof AXLoadingDirective, typeof AXLoadingSpinnerComponent]>;
145
198
  static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingModule>;
146
199
  }
147
200
 
@@ -1,15 +1,8 @@
1
- import * as i1 from '@acorex/cdk/common';
2
1
  import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
3
2
  import { AXDialogButtonItem } from '@acorex/components/dialog';
4
- import * as i2 from '@acorex/components/progress-bar';
5
3
  import { AXProgressMode } from '@acorex/components/progress-bar';
6
4
  import * as i0 from '@angular/core';
7
5
  import { WritableSignal } from '@angular/core';
8
- import * as i3 from '@acorex/components/loading';
9
- import * as i4 from '@acorex/components/decorators';
10
- import * as i5 from '@acorex/components/button';
11
- import * as i6 from '@acorex/core/translation';
12
- import * as i7 from '@angular/common';
13
6
 
14
7
  interface AXLoadingDialogConfig {
15
8
  title: string;
@@ -62,32 +55,44 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
62
55
  /** @ignore */
63
56
  protected progressValue: WritableSignal<number>;
64
57
  /**
65
- * Closes the dialog.
58
+ * Closes the loading dialog.
59
+ *
60
+ * @returns void - No return value. The dialog is closed and control returns to the caller.
66
61
  */
67
62
  close(): void;
68
63
  /**
69
- * Sets the progress text.
70
- * @param text
64
+ * Sets the displayed progress text inside the dialog.
65
+ *
66
+ * @param text The text to display under the progress bar.
67
+ * @returns void
71
68
  */
72
69
  setProgressText(text: string): void;
73
70
  /**
74
- * Sets the progress status.
75
- * @param status
71
+ * Sets the status text, typically representing the current step out of total steps (e.g., "5/10").
72
+ *
73
+ * @param status The status text to display.
74
+ * @returns void
76
75
  */
77
76
  setProgressStatus(status: string): void;
78
77
  /**
79
- * Sets the color for the progress.
80
- * @param color
78
+ * Sets the color used by the progress indicator.
79
+ *
80
+ * @param color The color token to apply to the progress UI.
81
+ * @returns void
81
82
  */
82
83
  setProgressColor(color: AXStyleColorType): void;
83
84
  /**
84
- * Sets the title for the dialog.
85
- * @param text
85
+ * Sets the dialog title text.
86
+ *
87
+ * @param text The title text to display at the top of the dialog.
88
+ * @returns void
86
89
  */
87
90
  setDialogTitle(text: string): void;
88
91
  /**
89
- * Sets the progress value.
90
- * @param value
92
+ * Sets the numeric progress value.
93
+ *
94
+ * @param value A number in the range 0–100 representing the current progress.
95
+ * @returns void
91
96
  */
92
97
  setProgressValue(value: number): void;
93
98
  /** @ignore */
@@ -100,12 +105,18 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
100
105
 
101
106
  declare class AXLoadingDialogModule {
102
107
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogModule, never>;
103
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof i1.AXCommonModule, typeof i2.AXProgressBarModule, typeof i3.AXLoadingModule, typeof i4.AXDecoratorModule, typeof i5.AXButtonModule, typeof i6.AXTranslationModule, typeof i7.AsyncPipe, typeof AXLoadingDialogComponent], [typeof AXLoadingDialogComponent]>;
108
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof AXLoadingDialogComponent], [typeof AXLoadingDialogComponent]>;
104
109
  static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingDialogModule>;
105
110
  }
106
111
 
107
112
  declare class AXLoadingDialogService {
108
113
  private dialog;
114
+ /**
115
+ * Opens a loading dialog with the specified configuration.
116
+ *
117
+ * @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).
119
+ */
109
120
  show(options: AXLoadingDialogConfig): AXDialogRef;
110
121
  static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
111
122
  static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingDialogService>;
package/map/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { OnDestroy, InjectionToken, EventEmitter } from '@angular/core';
3
+ import { NXComponent } from '@acorex/cdk/common';
3
4
  import * as i1 from '@angular/common';
4
5
  import * as leaflet from 'leaflet';
5
6
 
@@ -31,6 +32,14 @@ interface AXMapMarker extends AXMapLatLng {
31
32
  popup?: string;
32
33
  popupOpen?: boolean;
33
34
  popupCloseButton?: boolean;
35
+ /**
36
+ * If true, the marker cannot be deleted or moved/edited via draw interactions
37
+ */
38
+ isLocked?: boolean;
39
+ /**
40
+ * Optional unique identifier for id-based operations
41
+ */
42
+ id?: string | number;
34
43
  }
35
44
  /**
36
45
  * Represents a Point of Interest marker on the map with the same properties as AXMapMarker.
@@ -67,7 +76,7 @@ type AXMapControlPlace = 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
67
76
  * @example
68
77
  * <ax-map [latitude]="51.505" [longitude]="-0.09" [zoomLevel]="13" [hasMarker]="true"></ax-map>
69
78
  */
70
- declare class AXMapComponent implements OnDestroy {
79
+ declare class AXMapComponent extends NXComponent implements OnDestroy {
71
80
  #private;
72
81
  /**
73
82
  * @description
@@ -126,6 +135,12 @@ declare class AXMapComponent implements OnDestroy {
126
135
  * @default false
127
136
  */
128
137
  addPoiToFitDraw: _angular_core.InputSignal<boolean>;
138
+ /**
139
+ * @description
140
+ * If true, user can add a marker by clicking/tapping on the map.
141
+ * @default false
142
+ */
143
+ addMarkerOnTap: _angular_core.InputSignal<boolean>;
129
144
  /**
130
145
  * @description
131
146
  * Position of the marker control on the map.
@@ -212,6 +227,11 @@ declare class AXMapComponent implements OnDestroy {
212
227
  * Event triggered map is loaded.
213
228
  */
214
229
  onMapReady: _angular_core.OutputEmitterRef<void>;
230
+ /**
231
+ * @description
232
+ * Event triggered when map loading/initialization fails.
233
+ */
234
+ onLoadError: _angular_core.OutputEmitterRef<Error>;
215
235
  private mapContainer;
216
236
  private leafletService;
217
237
  private rendered;
@@ -234,6 +254,11 @@ declare class AXMapComponent implements OnDestroy {
234
254
  * @param emitEvents - Whether to emit events for the marker.
235
255
  */
236
256
  addMarker(location: AXMapMarker | AXMapMarker[], emitEvents?: boolean): Promise<void>;
257
+ /**
258
+ * @description
259
+ * Removes markers by id or location; if not provided removes all markers
260
+ */
261
+ removeMarker(location?: AXMapMarker | AXMapMarker[]): void;
237
262
  /**
238
263
  * @description
239
264
  * Adds a polygon to the specified location on the map.
@@ -241,6 +266,11 @@ declare class AXMapComponent implements OnDestroy {
241
266
  * @param emitEvents - Whether to emit events for the polygon.
242
267
  */
243
268
  addPolygon(location: AXMapPolygon | AXMapPolygon[], emitEvents?: boolean): void;
269
+ /**
270
+ * @description
271
+ * Removes polygons by id or geometry; if not provided removes all polygons
272
+ */
273
+ removePolygon(location?: AXMapPolygon | AXMapPolygon[]): void;
244
274
  /**
245
275
  * @description
246
276
  * Retrieves all markers currently placed on the map.
@@ -303,14 +333,42 @@ declare class AXMapComponent implements OnDestroy {
303
333
  * Setup map event listeners
304
334
  */
305
335
  private setupMapEvents;
336
+ /**
337
+ * Setup map movement event subscriptions
338
+ */
339
+ private setupMapMovementEvents;
306
340
  /**
307
341
  * Setup draw event subscriptions
308
342
  */
309
343
  private setupDrawEventSubscriptions;
344
+ /**
345
+ * Setup marker event subscriptions
346
+ */
347
+ private setupMarkerEventSubscriptions;
348
+ /**
349
+ * Setup polygon event subscriptions
350
+ */
351
+ private setupPolygonEventSubscriptions;
352
+ /**
353
+ * Setup POI event subscriptions
354
+ */
355
+ private setupPoiEventSubscriptions;
310
356
  /**
311
357
  * Unsubscribe from draw events
312
358
  */
313
359
  private unsubscribeFromDrawEvents;
360
+ /**
361
+ * Unsubscribe from marker events
362
+ */
363
+ private unsubscribeMarkerEvents;
364
+ /**
365
+ * Unsubscribe from polygon events
366
+ */
367
+ private unsubscribePolygonEvents;
368
+ /**
369
+ * Unsubscribe from POI events
370
+ */
371
+ private unsubscribePoiEvents;
314
372
  /**
315
373
  * @description
316
374
  * Update popup for a specific marker
@@ -342,8 +400,16 @@ declare class AXMapComponent implements OnDestroy {
342
400
  * Cleanup function that destroys the map and unsubscribes from all subscriptions.
343
401
  */
344
402
  ngOnDestroy(): void;
403
+ /**
404
+ * Unsubscribe from all event subscriptions
405
+ */
406
+ private unsubscribeFromAllEvents;
407
+ /**
408
+ * Unsubscribe from map-level events
409
+ */
410
+ private unsubscribeFromMapEvents;
345
411
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMapComponent, never>;
346
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMapComponent, "ax-map", never, { "zoomLevel": { "alias": "zoomLevel"; "required": false; "isSignal": true; }; "latitude": { "alias": "latitude"; "required": false; "isSignal": true; }; "longitude": { "alias": "longitude"; "required": false; "isSignal": true; }; "maxMarker": { "alias": "maxMarker"; "required": false; "isSignal": true; }; "maxPolygon": { "alias": "maxPolygon"; "required": false; "isSignal": true; }; "hasDraw": { "alias": "hasDraw"; "required": false; "isSignal": true; }; "hasLocator": { "alias": "hasLocator"; "required": false; "isSignal": true; }; "fitToDraw": { "alias": "fitToDraw"; "required": false; "isSignal": true; }; "limitDraw": { "alias": "limitDraw"; "required": false; "isSignal": true; }; "addPoiToFitDraw": { "alias": "addPoiToFitDraw"; "required": false; "isSignal": true; }; "markerPlace": { "alias": "markerPlace"; "required": false; "isSignal": true; }; "locatePlace": { "alias": "locatePlace"; "required": false; "isSignal": true; }; "poiMinZoom": { "alias": "poiMinZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "required": false; "isSignal": true; }; "polygons": { "alias": "polygons"; "required": false; "isSignal": true; }; "pois": { "alias": "pois"; "required": false; "isSignal": true; }; }, { "zoomLevel": "zoomLevelChange"; "latitude": "latitudeChange"; "longitude": "longitudeChange"; "onMarkerAdded": "onMarkerAdded"; "onMarkerClick": "onMarkerClick"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "onPolygonClick": "onPolygonClick"; "onPolygonChanged": "onPolygonChanged"; "onLocationFound": "onLocationFound"; "onPoiChanged": "onPoiChanged"; "onPoiAdded": "onPoiAdded"; "onMapReady": "onMapReady"; }, never, never, true, never>;
412
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMapComponent, "ax-map", never, { "zoomLevel": { "alias": "zoomLevel"; "required": false; "isSignal": true; }; "latitude": { "alias": "latitude"; "required": false; "isSignal": true; }; "longitude": { "alias": "longitude"; "required": false; "isSignal": true; }; "maxMarker": { "alias": "maxMarker"; "required": false; "isSignal": true; }; "maxPolygon": { "alias": "maxPolygon"; "required": false; "isSignal": true; }; "hasDraw": { "alias": "hasDraw"; "required": false; "isSignal": true; }; "hasLocator": { "alias": "hasLocator"; "required": false; "isSignal": true; }; "fitToDraw": { "alias": "fitToDraw"; "required": false; "isSignal": true; }; "limitDraw": { "alias": "limitDraw"; "required": false; "isSignal": true; }; "addPoiToFitDraw": { "alias": "addPoiToFitDraw"; "required": false; "isSignal": true; }; "addMarkerOnTap": { "alias": "addMarkerOnTap"; "required": false; "isSignal": true; }; "markerPlace": { "alias": "markerPlace"; "required": false; "isSignal": true; }; "locatePlace": { "alias": "locatePlace"; "required": false; "isSignal": true; }; "poiMinZoom": { "alias": "poiMinZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "required": false; "isSignal": true; }; "polygons": { "alias": "polygons"; "required": false; "isSignal": true; }; "pois": { "alias": "pois"; "required": false; "isSignal": true; }; }, { "zoomLevel": "zoomLevelChange"; "latitude": "latitudeChange"; "longitude": "longitudeChange"; "onMarkerAdded": "onMarkerAdded"; "onMarkerClick": "onMarkerClick"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "onPolygonClick": "onPolygonClick"; "onPolygonChanged": "onPolygonChanged"; "onLocationFound": "onLocationFound"; "onPoiChanged": "onPoiChanged"; "onPoiAdded": "onPoiAdded"; "onMapReady": "onMapReady"; "onLoadError": "onLoadError"; }, never, never, true, never>;
347
413
  }
348
414
 
349
415
  interface AXMapConfig {
@@ -387,6 +453,9 @@ declare class AXLeafletService {
387
453
  private poiLayer?;
388
454
  private boundary;
389
455
  private boundaryLayer;
456
+ private _addMarkerOnTapEnabled;
457
+ private _isCurrentlyDrawing;
458
+ private _hasDrawControl;
390
459
  /**
391
460
  * Emits when the zoom level of the map changes.
392
461
  */
@@ -427,6 +496,10 @@ declare class AXLeafletService {
427
496
  * Emits when polygon data changes.
428
497
  */
429
498
  onPolygonChanged: EventEmitter<AXMapPolygon[]>;
499
+ /**
500
+ * Emits when an error occurs during map load/initialization
501
+ */
502
+ onLoadError: EventEmitter<Error>;
430
503
  /**
431
504
  * Emits when a polygon is added.
432
505
  */
@@ -630,6 +703,26 @@ declare class AXLeafletService {
630
703
  * @param providerKey The key of the provider to refresh
631
704
  */
632
705
  refreshPoiByProvider(providerKey: string): Promise<void>;
706
+ /**
707
+ * Sets whether markers can be added by clicking/tapping on the map
708
+ * @param enabled Whether to enable marker-on-tap functionality
709
+ */
710
+ setAddMarkerOnTap(enabled: boolean): void;
711
+ /**
712
+ * Checks if the map is currently in drawing mode
713
+ * @returns True if currently drawing
714
+ */
715
+ private _isDrawingMode;
716
+ /**
717
+ * Removes markers by id or location. If no location provided, removes all markers.
718
+ */
719
+ removeMarker(locations?: AXMapMarker | AXMapMarker[]): void;
720
+ /**
721
+ * Removes polygons by id or geometry. If no location provided, removes all polygons.
722
+ */
723
+ removePolygon(locations?: AXMapPolygon | AXMapPolygon[]): void;
724
+ setMaxMarkers(maxMarkers: number): void;
725
+ setMaxPolygons(maxPolygons: number): void;
633
726
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLeafletService, never>;
634
727
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLeafletService>;
635
728
  }
package/menu/index.d.ts CHANGED
@@ -3,12 +3,6 @@ import { WritableSignal, OutputEmitterRef, OnDestroy } from '@angular/core';
3
3
  import { AXStyleColorType, NXComponent, NXClickEvent, AXOrientation, NXEvent } from '@acorex/cdk/common';
4
4
  import { AXPoint } from '@acorex/core/utils';
5
5
  import { Subject } from 'rxjs';
6
- import * as i1 from '@angular/common';
7
- import * as i2 from '@acorex/components/decorators';
8
- import * as i3 from '@acorex/components/loading';
9
- import * as i4 from '@acorex/core/translation';
10
- import * as i5 from '@angular/cdk/overlay';
11
- import * as i6 from '@acorex/components/popover';
12
6
 
13
7
  type AXMenuOpenTrigger = 'click' | 'hover';
14
8
  type AXMenuCloseTrigger = 'click' | 'leave';
@@ -59,11 +53,11 @@ type AXContextMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXContextMenuCompon
59
53
  * @category Components
60
54
  */
61
55
  declare class AXContextMenuComponent extends NXComponent {
62
- orientation: _angular_core.InputSignal<AXOrientation>;
63
- openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
64
- closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
65
- orginalItems: _angular_core.InputSignal<AXMenuItem[]>;
66
- target: _angular_core.InputSignal<string | HTMLElement | HTMLElement[]>;
56
+ readonly orientation: _angular_core.InputSignal<AXOrientation>;
57
+ readonly openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
58
+ readonly closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
59
+ readonly originalItems: _angular_core.InputSignal<AXMenuItem[]>;
60
+ readonly target: _angular_core.InputSignal<string | HTMLElement | HTMLElement[]>;
67
61
  onItemClick: _angular_core.OutputEmitterRef<AXContextMenuItemsClickEvent>;
68
62
  onOpening: _angular_core.OutputEmitterRef<AXContextMenuOpeningEvent>;
69
63
  hasArrow: _angular_core.WritableSignal<boolean>;
@@ -74,10 +68,24 @@ declare class AXContextMenuComponent extends NXComponent {
74
68
  /** @ignore */
75
69
  constructor();
76
70
  ngOnDestroy(): void;
71
+ /**
72
+ * Refreshes the context menu by rebinding event listeners to target elements.
73
+ */
77
74
  refresh(): void;
75
+ /**
76
+ * Shows the context menu at a specific point.
77
+ * @param point - The coordinates where the menu should appear
78
+ * @param targetElement - Optional target element for the context menu
79
+ * @param event - Optional opening event with menu items
80
+ */
78
81
  showAt(point: AXPoint, targetElement?: HTMLElement, event?: AXContextMenuOpeningEvent): void;
82
+ /**
83
+ * Closes the context menu and removes the backdrop.
84
+ */
79
85
  close(): void;
80
86
  private backdropElement;
87
+ private originalNextSibling;
88
+ private originalParent;
81
89
  protected items: _angular_core.WritableSignal<AXMenuItem[]>;
82
90
  /** @ignore */
83
91
  private getTargetElements;
@@ -99,7 +107,7 @@ declare class AXContextMenuComponent extends NXComponent {
99
107
  /** @ignore */
100
108
  get __hostClass(): any;
101
109
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
102
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "orginalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
110
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
103
111
  }
104
112
 
105
113
  type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
@@ -133,7 +141,19 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
133
141
  * Manually detect all `ax-menu-item` elements and check if this menu item has sub-items.
134
142
  */
135
143
  private detectSubItems;
144
+ /**
145
+ * Opens the submenu of this menu item if it has sub-items and is not disabled.
146
+ *
147
+ * Inherited behavior: Uses the injected service to notify other items to close.
148
+ *
149
+ * @returns void - No return value. Triggers submenu opening side-effects.
150
+ */
136
151
  open(): void;
152
+ /**
153
+ * Closes the submenu of this menu item if open.
154
+ *
155
+ * @returns void - No return value. Triggers submenu closing side-effects.
156
+ */
137
157
  close(): void;
138
158
  /**
139
159
  * Calculate the position of the submenu to avoid it going out of the viewport.
@@ -192,6 +212,11 @@ declare class AXMenuComponent extends NXComponent {
192
212
  hasArrow: _angular_core.InputSignal<boolean>;
193
213
  /** @ignore */
194
214
  get __hostClass(): string[];
215
+ /**
216
+ * Closes all open menus and submenus for this root menu.
217
+ *
218
+ * @returns void - No return value. All open menu overlays are closed and hidden.
219
+ */
195
220
  close(): void;
196
221
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuComponent, never>;
197
222
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "hasArrow": { "alias": "hasArrow"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
@@ -199,7 +224,7 @@ declare class AXMenuComponent extends NXComponent {
199
224
 
200
225
  declare class AXMenuModule {
201
226
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuModule, never>;
202
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMenuModule, never, [typeof i1.CommonModule, typeof i2.AXDecoratorModule, typeof i3.AXLoadingModule, typeof i4.AXTranslationModule, typeof i5.OverlayModule, typeof i6.AXPopoverModule, typeof AXMenuItemComponent, typeof AXMenuComponent, typeof AXContextMenuComponent], [typeof AXMenuItemComponent, typeof AXMenuComponent, typeof AXContextMenuComponent]>;
227
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXMenuModule, never, [typeof AXMenuItemComponent, typeof AXMenuComponent, typeof AXContextMenuComponent], [typeof AXMenuItemComponent, typeof AXMenuComponent, typeof AXContextMenuComponent]>;
203
228
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMenuModule>;
204
229
  }
205
230
 
package/modal/index.d.ts CHANGED
@@ -24,6 +24,8 @@ interface AXModalOptions extends AXOverlayOptions {
24
24
  size?: 'sm' | 'md' | 'lg' | 'full' | 'fit';
25
25
  header?: boolean;
26
26
  footer?: boolean;
27
+ panelClass?: string;
28
+ closeOnEscape?: boolean;
27
29
  }
28
30
  interface AXModalRef<TResult = any> {
29
31
  minimize: () => void;
@@ -34,24 +36,45 @@ interface AXModalRef<TResult = any> {
34
36
  onClose: Subject<TResult>;
35
37
  }
36
38
  declare abstract class AXModalComponentBase {
37
- private __modal__;
39
+ __modal__: i0.InputSignal<AXModalRef<any>>;
38
40
  close(data?: any): void;
39
41
  minimize(): void;
40
42
  restore(): void;
41
43
  maximize(): void;
42
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; }; }, {}, never, never, true, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
44
46
  }
45
47
 
46
48
  declare class AXModalComponent extends NXComponent {
47
49
  private service;
48
50
  protected template: i0.Signal<TemplateRef<any>>;
49
51
  private ref;
52
+ /**
53
+ * Opens the modal with the specified options.
54
+ * @param options - Configuration options for the modal
55
+ * @returns Promise<AXModalRef> - Reference to the opened modal
56
+ */
50
57
  open(options?: AXModalOptions): Promise<AXModalRef<any>>;
58
+ /**
59
+ * Closes the currently open modal.
60
+ */
51
61
  close(): Promise<void>;
62
+ /**
63
+ * Sets input values for the modal content component.
64
+ * @param values - Object containing input values to set
65
+ */
52
66
  setInputs(values: AXComponentInputs): Promise<void>;
67
+ /**
68
+ * Minimizes the modal to the bottom bar.
69
+ */
53
70
  minimize(): Promise<void>;
71
+ /**
72
+ * Maximizes the modal to fullscreen.
73
+ */
54
74
  maximize(): Promise<void>;
75
+ /**
76
+ * Restores the modal from minimized or maximized state.
77
+ */
55
78
  restore(): Promise<void>;
56
79
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponent, never>;
57
80
  static ɵcmp: i0.ɵɵComponentDeclaration<AXModalComponent, "ax-modal", never, {}, {}, never, ["*"], true, never>;
@@ -66,11 +89,33 @@ declare class AXModalModule {
66
89
  declare class AXModalService {
67
90
  private stateService;
68
91
  private ref;
92
+ /**
93
+ * Opens a modal with the specified content and options.
94
+ * @param content - Component, template, or HTML element to display
95
+ * @param options - Configuration options for the modal
96
+ * @returns Promise<AXModalRef> - Reference to the opened modal
97
+ */
69
98
  open(content: AXComponentContent | HTMLElement, options?: AXModalOptions): Promise<AXModalRef>;
99
+ /**
100
+ * Closes the currently open modal.
101
+ */
70
102
  close(): Promise<void>;
103
+ /**
104
+ * Sets input values for the modal content component.
105
+ * @param values - Object containing input values to set
106
+ */
71
107
  setInputs(values: AXComponentInputs): Promise<void>;
108
+ /**
109
+ * Minimizes the modal to the bottom bar.
110
+ */
72
111
  minimize(): Promise<void>;
112
+ /**
113
+ * Maximizes the modal to fullscreen.
114
+ */
73
115
  maximize(): Promise<void>;
116
+ /**
117
+ * Restores the modal from minimized or maximized state.
118
+ */
74
119
  restore(): Promise<void>;
75
120
  static ɵfac: i0.ɵɵFactoryDeclaration<AXModalService, never>;
76
121
  static ɵprov: i0.ɵɵInjectableDeclaration<AXModalService>;
package/navbar/index.d.ts CHANGED
@@ -1,13 +1,17 @@
1
1
  import { MXLookComponent } from '@acorex/cdk/common';
2
2
  import * as i0 from '@angular/core';
3
- import * as i1 from '@angular/common';
4
3
 
5
4
  /**
6
5
  * @category Components
7
6
  * A navigation bar component that supports custom styling and encapsulation.
7
+ * It provides a consistent way to display navigation elements with prefix, title, and suffix content areas.
8
8
  */
9
9
  declare class AXNavbarComponent extends MXLookComponent {
10
- /** @ignore */
10
+ /**
11
+ * Gets the host CSS classes for the navbar component.
12
+ *
13
+ * @returns string - The CSS classes for the navbar component
14
+ */
11
15
  get __hostClass(): string;
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXNavbarComponent, never>;
13
17
  static ɵcmp: i0.ɵɵComponentDeclaration<AXNavbarComponent, "ax-navbar", never, { "look": { "alias": "look"; "required": false; }; }, {}, never, ["ax-prefix", "ax-title", "*", "ax-suffix"], true, never>;
@@ -15,7 +19,7 @@ declare class AXNavbarComponent extends MXLookComponent {
15
19
 
16
20
  declare class AXNavbarModule {
17
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AXNavbarModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXNavbarModule, never, [typeof i1.CommonModule, typeof AXNavbarComponent], [typeof AXNavbarComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXNavbarModule, never, [typeof AXNavbarComponent], [typeof AXNavbarComponent]>;
19
23
  static ɵinj: i0.ɵɵInjectorDeclaration<AXNavbarModule>;
20
24
  }
21
25
 
@@ -1,15 +1,8 @@
1
1
  import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent, AXComponentCloseEvent } from '@acorex/cdk/common';
2
- import * as i2 from '@angular/cdk/portal';
3
2
  import { ComponentType, Portal } from '@angular/cdk/portal';
4
3
  import * as i0 from '@angular/core';
5
4
  import { TemplateRef, OnInit, InjectionToken } from '@angular/core';
6
- import * as i4 from '@angular/cdk/dialog';
7
5
  import { DialogRef } from '@angular/cdk/dialog';
8
- import * as i1 from '@angular/common';
9
- import * as i3 from '@acorex/components/button';
10
- import * as i5 from '@acorex/components/loading';
11
- import * as i6 from '@acorex/components/decorators';
12
- import * as i7 from '@acorex/core/translation';
13
6
 
14
7
  type AXNotificationContentType = string | TemplateRef<unknown> | ComponentType<unknown>;
15
8
  interface AXNotificationButtonItem {
@@ -102,7 +95,7 @@ declare function notificationConfig(config?: PartialNotificationConfig): AXNotif
102
95
 
103
96
  declare class AXNotificationModule {
104
97
  static ɵfac: i0.ɵɵFactoryDeclaration<AXNotificationModule, never>;
105
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof i1.CommonModule, typeof i2.PortalModule, typeof i3.AXButtonModule, typeof i4.DialogModule, typeof i5.AXLoadingModule, typeof i6.AXDecoratorModule, typeof i7.AXTranslationModule, typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
98
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
106
99
  static ɵinj: i0.ɵɵInjectorDeclaration<AXNotificationModule>;
107
100
  }
108
101
 
@@ -177,6 +177,7 @@ declare class AXNumberBoxComponent extends AXNumberBoxComponent_base implements
177
177
  */
178
178
  decimalStepDown(u?: boolean): void;
179
179
  onWheel(event: WheelEvent): void;
180
+ private get __hostName();
180
181
  static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
181
182
  static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; }; "allDigits": { "alias": "allDigits"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "padDecimalZeros": { "alias": "padDecimalZeros"; "required": false; }; "step": { "alias": "step"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "decimalStep": { "alias": "decimalStep"; "required": false; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
182
183
  }