@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,15 +1,10 @@
1
1
  import * as polytype from 'polytype';
2
2
  import * as i0 from '@angular/core';
3
3
  import { TemplateRef, EventEmitter, AfterViewInit } from '@angular/core';
4
- import * as i5 from '@acorex/cdk/common';
5
4
  import { MXBaseComponent, AXItemClickEvent, AXRangeChangedEvent, MXValueComponent, AXRange, MXInteractiveComponent, AXClickEvent, MXComponentOptionChanged } from '@acorex/cdk/common';
6
- import * as i2 from '@acorex/core/date-time';
7
5
  import { AXCalendarService, AXDateTime, AXDateTimeRange } from '@acorex/core/date-time';
8
6
  import { AXLocaleService } from '@acorex/core/locale';
9
- import * as i3 from '@acorex/core/translation';
10
7
  import { AXTranslationService } from '@acorex/core/translation';
11
- import * as i1 from '@angular/common';
12
- import * as i4 from '@acorex/components/tooltip';
13
8
 
14
9
  type AXCalendarViewType = 'year' | 'month' | 'day';
15
10
  type AXCalendarViewDepth = AXCalendarViewType;
@@ -176,7 +171,7 @@ declare class AXCalendarRangeComponent extends AXCalendarRangeComponent_base imp
176
171
  */
177
172
  private _syncNav2;
178
173
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarRangeComponent, never>;
179
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarRangeComponent, "ax-calendar-range", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; }, never, ["*"], true, never>;
174
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarRangeComponent, "ax-calendar-range", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dayCellTemplate": { "alias": "dayCellTemplate"; "required": false; }; "monthCellTemplate": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplate": { "alias": "yearCellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; }, never, ["*"], true, never>;
180
175
  }
181
176
 
182
177
  declare const AXCalendarComponent_base: polytype.Polytype.ClusteredConstructor<[{
@@ -191,8 +186,10 @@ declare const AXCalendarComponent_base: polytype.Polytype.ClusteredConstructor<[
191
186
  */
192
187
  declare class AXCalendarComponent extends AXCalendarComponent_base implements AfterViewInit {
193
188
  private formatService;
189
+ weekend: i0.InputSignal<number[]>;
190
+ weekdays: i0.InputSignal<number[]>;
194
191
  protected calendar: i0.WritableSignal<string>;
195
- get displayRange(): AXDateTimeRange;
192
+ get displayRange(): AXDateTimeRange | null;
196
193
  /**
197
194
  * @ignore
198
195
  */
@@ -277,6 +274,9 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
277
274
  * @ignore
278
275
  */
279
276
  protected _handleNavClick(e: AXClickEvent | any, view: AXCalendarViewType): void;
277
+ /**
278
+ * Toggles between different calendar views (day → month → year).
279
+ */
280
280
  toggleView(): void;
281
281
  /**
282
282
  * @ignore
@@ -295,18 +295,31 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
295
295
  */
296
296
  protected _handleGoToday(): void;
297
297
  /**
298
- * Navigates to the next item.
299
- * @ignore
298
+ * Navigates forward in the calendar based on the current active view and the configured count.
299
+ *
300
+ * Behavior by view:
301
+ * - day view: advances by count months
302
+ * - month view: advances by count years
303
+ * - year view: advances by 10 × count years
304
+ *
305
+ * @returns void
300
306
  */
301
307
  next(): void;
302
308
  /**
303
- * Navigates to the previous item.
304
- * @ignore
309
+ * Navigates backward in the calendar based on the current active view and the configured count.
310
+ *
311
+ * Behavior by view:
312
+ * - day view: goes back by count months
313
+ * - month view: goes back by count years
314
+ * - year view: goes back by 10 × count years
315
+ *
316
+ * @returns void
305
317
  */
306
318
  prev(): void;
307
319
  /**
308
320
  * Sets focus to the currently selected calendar slot or the first available slot.
309
- * @ignore
321
+ *
322
+ * @returns void
310
323
  */
311
324
  focus(): void;
312
325
  /**
@@ -314,15 +327,16 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
314
327
  */
315
328
  private _navNextPrev;
316
329
  /**
317
- * Navigates to the current date.
318
- * @ignore
330
+ * Navigates to the current date and emits the navigation event.
331
+ *
332
+ * @returns void
319
333
  */
320
334
  goToday(): void;
321
335
  /**
322
336
  * Navigates to a specified date and updates the view.
323
337
  *
324
- * @param date - The date to navigate to, which can be a `Date` object or an `AXDateTime` instance.
325
- * @ignore
338
+ * @param date The date to navigate to, which can be a Date object or an AXDateTime instance.
339
+ * @returns void
326
340
  */
327
341
  navTo(date: Date | AXDateTime): void;
328
342
  /**
@@ -354,12 +368,12 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
354
368
  */
355
369
  protected getMonthName(date: AXDateTime, style: 'short' | 'long'): string;
356
370
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
357
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "minValueChange": "minValueChange"; "maxValueChange": "maxValueChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], true, never>;
371
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dayCellTemplate": { "alias": "dayCellTemplate"; "required": false; }; "monthCellTemplate": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplate": { "alias": "yearCellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; "id": { "alias": "id"; "required": false; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "minValueChange": "minValueChange"; "maxValueChange": "maxValueChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], true, never>;
358
372
  }
359
373
 
360
374
  declare class AXCalendarModule {
361
375
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
362
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, never, [typeof i1.CommonModule, typeof i2.AXDateTimeModule, typeof i3.AXTranslationModule, typeof i4.AXTooltipModule, typeof i5.AXRippleDirective, typeof AXCalendarComponent, typeof AXCalendarRangeComponent], [typeof AXCalendarComponent, typeof AXCalendarRangeComponent]>;
376
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, never, [typeof AXCalendarComponent, typeof AXCalendarRangeComponent], [typeof AXCalendarComponent, typeof AXCalendarRangeComponent]>;
363
377
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
364
378
  }
365
379
 
@@ -1,9 +1,6 @@
1
1
  import * as polytype from 'polytype';
2
2
  import * as i0 from '@angular/core';
3
3
  import { MXValueComponent, MXColorComponent } from '@acorex/cdk/common';
4
- import * as i1 from '@angular/common';
5
- import * as i2 from '@angular/forms';
6
- import * as i3 from '@acorex/components/decorators';
7
4
 
8
5
  declare const AXCheckBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
9
6
  new (): MXValueComponent<boolean>;
@@ -63,12 +60,12 @@ declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
63
60
  private get __hostClass();
64
61
  protected changeValue(): void;
65
62
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
67
64
  }
68
65
 
69
66
  declare class AXCheckBoxModule {
70
67
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxModule, never>;
71
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXDecoratorModule, typeof AXCheckBoxComponent], [typeof AXCheckBoxComponent]>;
68
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, never, [typeof AXCheckBoxComponent], [typeof AXCheckBoxComponent]>;
72
69
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCheckBoxModule>;
73
70
  }
74
71
 
package/chips/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import * as i1 from '@acorex/cdk/common';
3
3
  import { AXStyleLookType, AXStyleSizeType, MXColorComponent } from '@acorex/cdk/common';
4
- import * as i1$1 from '@angular/common';
5
4
 
6
5
  type AXChipsLookType = Extract<AXStyleLookType, 'solid' | 'outline' | 'twotone'>;
7
6
  type AXChipsSizeType = Exclude<AXStyleSizeType, 'ax-xs' | 'ax-xl'>;
@@ -29,7 +28,7 @@ declare class AXChipsComponent extends MXColorComponent {
29
28
 
30
29
  declare class AXChipsModule {
31
30
  static ɵfac: i0.ɵɵFactoryDeclaration<AXChipsModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXChipsModule, never, [typeof i1$1.CommonModule, typeof AXChipsComponent], [typeof AXChipsComponent]>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXChipsModule, never, [typeof AXChipsComponent], [typeof AXChipsComponent]>;
33
32
  static ɵinj: i0.ɵɵInjectorDeclaration<AXChipsModule>;
34
33
  }
35
34
 
@@ -4,7 +4,8 @@ import { MXColorComponent } from '@acorex/cdk/common';
4
4
 
5
5
  type AXCircularProgressMode = 'determinate' | 'indeterminate';
6
6
  /**
7
- * The Button is a component which detects user interaction and triggers a corresponding event
7
+ * Displays the progress of an operation in a circular form. Supports determinate and indeterminate modes,
8
+ * configurable size and stroke, and color theming.
8
9
  *
9
10
  * @category Components
10
11
  */
@@ -14,29 +15,20 @@ declare class AXCircularProgressComponent extends MXColorComponent {
14
15
  */
15
16
  circle: _angular_core.Signal<ElementRef<HTMLDivElement>>;
16
17
  /**
17
- * Defines the current progress of the circular progress component.
18
- *
19
- * Change progress mode
20
- *
18
+ * Defines the progress calculation mode.
19
+ * Use 'determinate' to show a specific percentage or 'indeterminate' for ongoing/spinner state.
21
20
  */
22
21
  mode: _angular_core.InputSignal<AXCircularProgressMode>;
23
22
  /**
24
- * Defines the current progress of the circular progress component.
25
- *
26
- * The percentage value to set for the progress.
27
- *
23
+ * The percentage value to set for the progress (0–100).
28
24
  */
29
25
  progress: _angular_core.ModelSignal<number>;
30
26
  /**
31
- * Defines the stroke width of the circular progress component.
32
- *
33
- * The stroke width to be set for the circular progress component.
27
+ * Stroke width of the circular track, in pixels.
34
28
  */
35
29
  stroke: _angular_core.ModelSignal<number>;
36
30
  /**
37
- * Defines the stroke width of the circular progress component.
38
- *
39
- * Circle size
31
+ * Overall diameter of the circular progress, in pixels.
40
32
  */
41
33
  size: _angular_core.ModelSignal<number>;
42
34
  /**
@@ -48,15 +40,28 @@ declare class AXCircularProgressComponent extends MXColorComponent {
48
40
  */
49
41
  private get __hostClass();
50
42
  /**
51
- * @ignore
43
+ * Sets the CSS custom properties to reflect the current `size` and `stroke` values.
44
+ *
45
+ * Updates `--ax-comp-circular-progress-circle-size` and `--ax-comp-circular-progress-stroke-size` on the circle.
46
+ *
47
+ * @returns void - Styles are applied to the circle element when available.
52
48
  */
53
49
  setCircularSize(): void;
54
50
  /**
55
- * @ignore
51
+ * Recalculates and applies the progress arc background based on the current `progress` value.
52
+ *
53
+ * Uses a conic-gradient with `--ax-comp-progress-circular-color` and `--ax-comp-progress-circular-line-color`.
54
+ * The expected range for `progress` is 0–100.
55
+ *
56
+ * @returns void - Styles are applied to the circle element when available.
56
57
  */
57
58
  updateProgress(): void;
58
59
  /**
59
- * @ignore
60
+ * Applies a default visual state for the indeterminate mode when no explicit `progress` is set.
61
+ *
62
+ * If `mode` is 'indeterminate' and `progress` is not set, it sets `progress` to 65 to render a visible arc.
63
+ *
64
+ * @returns void
60
65
  */
61
66
  setIndeterminateMode(): void;
62
67
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCircularProgressComponent, never>;
@@ -0,0 +1,3 @@
1
+ # @acorex/components/code-editor
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/code-editor`.
@@ -0,0 +1,103 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
+ import * as _codemirror_autocomplete from '@codemirror/autocomplete';
4
+ import * as _codemirror_state from '@codemirror/state';
5
+ import { MXValueComponent } from '@acorex/cdk/common';
6
+ import * as i1 from '@angular/common';
7
+
8
+ type AXCodeEditorExtensionLike = _codemirror_state.Extension;
9
+ type AXCodeEditorCompletionLike = _codemirror_autocomplete.Completion;
10
+ type AXCodeEditorCompletionSourceLike = _codemirror_autocomplete.CompletionSource;
11
+ /**
12
+ * Supported syntax highlighting modes for the editor.
13
+ */
14
+ type AXCodeEditorSupportedLanguage = 'javascript' | 'js' | 'typescript' | 'ts' | 'json' | 'html' | 'css' | 'scss' | 'sass' | 'sql' | 'xml' | 'markdown' | 'text';
15
+ declare class AXCodeEditorComponent extends MXValueComponent<string> {
16
+ /** Active language mode. Default: 'javascript'. */
17
+ language: _angular_core.InputSignal<AXCodeEditorSupportedLanguage>;
18
+ /** When true, the editor becomes readonly (non-editable). */
19
+ readOnly: _angular_core.InputSignal<boolean>;
20
+ /** Placeholder text shown when the document is empty. */
21
+ placeholder: _angular_core.InputSignal<string>;
22
+ /** Toggle rendering of line numbers in the gutter. */
23
+ lineNumbers: _angular_core.InputSignal<boolean>;
24
+ /** Soft-wrap long lines when true. */
25
+ lineWrapping: _angular_core.InputSignal<boolean>;
26
+ /** Tab size (spaces per indent level). */
27
+ tabSize: _angular_core.InputSignal<number>;
28
+ /** When true, the Tab key indents instead of moving focus. */
29
+ indentWithTab: _angular_core.InputSignal<boolean>;
30
+ /** Fixed height for the editor (e.g., '320px'). */
31
+ height: _angular_core.InputSignal<string>;
32
+ /** Minimum height for the editor. */
33
+ minHeight: _angular_core.InputSignal<string>;
34
+ /** Maximum height for the editor. */
35
+ maxHeight: _angular_core.InputSignal<string>;
36
+ /** Additional CodeMirror extensions to apply. Reconfigures at runtime. */
37
+ extensions: _angular_core.InputSignal<readonly _codemirror_state.Extension[]>;
38
+ /** ARIA label for accessibility. */
39
+ ariaLabel: _angular_core.InputSignal<string>;
40
+ /** Focus the editor after first render. */
41
+ focusOnReady: _angular_core.InputSignal<boolean>;
42
+ /** If true, format the document via Prettier before emitting save. */
43
+ formatOnSave: _angular_core.InputSignal<boolean>;
44
+ /**
45
+ * Custom autocompletion options: either a static array of Completion items
46
+ * or a CodeMirror CompletionSource function.
47
+ */
48
+ customCompletions: _angular_core.InputSignal<_codemirror_autocomplete.CompletionSource | readonly _codemirror_autocomplete.Completion[]>;
49
+ /** Emits when the editor is fully initialized and ready. */
50
+ ready: _angular_core.OutputEmitterRef<void>;
51
+ /** Emits when the user triggers save (Ctrl/Cmd+S). Payload is the current text. */
52
+ save: _angular_core.OutputEmitterRef<string>;
53
+ host: _angular_core.Signal<ElementRef<HTMLDivElement>>;
54
+ private platformId;
55
+ private destroyRef;
56
+ private platformService;
57
+ private editorViewSig;
58
+ private languageCompartment;
59
+ private readOnlyCompartment;
60
+ private themeCompartment;
61
+ private placeholderCompartment;
62
+ private wrappingCompartment;
63
+ private keymapExtrasCompartment;
64
+ private tabSizeCompartment;
65
+ private lineNumbersCompartment;
66
+ private cm;
67
+ private isBrowser;
68
+ constructor();
69
+ private initializeEditor;
70
+ private reconfigure;
71
+ /**
72
+ * Handles Ctrl/Cmd+S on the host. If formatOnSave is enabled, attempts
73
+ * to format the document first, then emits the saved text.
74
+ */
75
+ onSaveShortcut(event: KeyboardEvent): Promise<void>;
76
+ private loadCodeMirrorModules;
77
+ private createCompartments;
78
+ private buildKeymaps;
79
+ private tryFormatWithPrettier;
80
+ private resolveLanguageExtension;
81
+ private resolveThemeExtension;
82
+ private buildCustomCompletionSources;
83
+ /** Programmatically focus the editor. */
84
+ focus(): void;
85
+ /** Select all text in the current document. */
86
+ selectAll(): void;
87
+ format(affect?: boolean): Promise<string | null>;
88
+ /** Returns the total number of characters in the current document. */
89
+ getTotalCharacters(): number;
90
+ /** Returns the total number of lines in the current document. */
91
+ getTotalLines(): number;
92
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCodeEditorComponent, never>;
93
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCodeEditorComponent, "ax-code-editor", never, { "language": { "alias": "language"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "lineNumbers": { "alias": "lineNumbers"; "required": false; "isSignal": true; }; "lineWrapping": { "alias": "lineWrapping"; "required": false; "isSignal": true; }; "tabSize": { "alias": "tabSize"; "required": false; "isSignal": true; }; "indentWithTab": { "alias": "indentWithTab"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "extensions": { "alias": "extensions"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "focusOnReady": { "alias": "focusOnReady"; "required": false; "isSignal": true; }; "formatOnSave": { "alias": "formatOnSave"; "required": false; "isSignal": true; }; "customCompletions": { "alias": "customCompletions"; "required": false; "isSignal": true; }; }, { "ready": "ready"; "save": "save"; }, never, never, true, never>;
94
+ }
95
+
96
+ declare class AXCodeEditorModule {
97
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCodeEditorModule, never>;
98
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXCodeEditorModule, never, [typeof i1.CommonModule, typeof AXCodeEditorComponent], [typeof AXCodeEditorComponent]>;
99
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXCodeEditorModule>;
100
+ }
101
+
102
+ export { AXCodeEditorComponent, AXCodeEditorModule };
103
+ export type { AXCodeEditorCompletionLike, AXCodeEditorCompletionSourceLike, AXCodeEditorExtensionLike, AXCodeEditorSupportedLanguage };
@@ -2,8 +2,6 @@ import * as polytype from 'polytype';
2
2
  import { MXBaseComponent, MXLookComponent, AXClickEvent, MXInteractiveComponent } from '@acorex/cdk/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { AfterViewInit, OnDestroy, EventEmitter, TemplateRef } from '@angular/core';
5
- import * as i1 from '@angular/common';
6
- import * as i2 from '@acorex/components/loading';
7
5
 
8
6
  declare const AXCollapseGroupComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXBaseComponent, typeof MXLookComponent]>;
9
7
  /**
@@ -143,17 +141,20 @@ declare class AXCollapseComponent extends AXCollapseComponent_base {
143
141
  handleHeaderClick(e: MouseEvent): void;
144
142
  /**
145
143
  * Expands the collapse component.
146
- * @ignore
144
+ *
145
+ * @returns void - No return value. Sets `isCollapsed` to false and expands the body.
147
146
  */
148
147
  open(): void;
149
148
  /**
150
149
  * Collapses the collapse component.
151
- * @ignore
150
+ *
151
+ * @returns void - No return value. Sets `isCollapsed` to true and hides the body.
152
152
  */
153
153
  close(): void;
154
154
  /**
155
155
  * Toggles the collapse state between expanded and collapsed.
156
- * @ignore
156
+ *
157
+ * @returns void - No return value. Flips the `isCollapsed` state.
157
158
  */
158
159
  toggle(): void;
159
160
  /**
@@ -166,7 +167,7 @@ declare class AXCollapseComponent extends AXCollapseComponent_base {
166
167
 
167
168
  declare class AXCollapseModule {
168
169
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseModule, never>;
169
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCollapseModule, never, [typeof i1.CommonModule, typeof i2.AXLoadingModule, typeof AXCollapseComponent, typeof AXCollapseGroupComponent], [typeof AXCollapseComponent, typeof AXCollapseGroupComponent]>;
170
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCollapseModule, never, [typeof AXCollapseComponent, typeof AXCollapseGroupComponent], [typeof AXCollapseComponent, typeof AXCollapseGroupComponent]>;
170
171
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCollapseModule>;
171
172
  }
172
173
 
@@ -1,12 +1,8 @@
1
1
  import * as polytype from 'polytype';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { MXInputBaseValueComponent, MXColorLookComponent, AXEvent } from '@acorex/cdk/common';
4
- import * as i3 from '@acorex/components/color-palette';
5
- import { AXColorPalleteComponent, AXColorPalettePickerComponent } from '@acorex/components/color-palette';
6
- import * as i4 from '@acorex/components/dropdown';
4
+ import { AXColorPaletteComponent, AXColorPalettePickerComponent } from '@acorex/components/color-palette';
7
5
  import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
8
- import * as i1 from '@angular/common';
9
- import * as i2 from '@angular/forms';
10
6
 
11
7
  declare const AXColorBoxComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXDropdownBoxBaseComponent, {
12
8
  new (): MXInputBaseValueComponent<string>;
@@ -26,7 +22,7 @@ declare class AXColorBoxComponent extends AXColorBoxComponent_base {
26
22
  /**
27
23
  * @ignore
28
24
  */
29
- protected picker: AXColorPalleteComponent;
25
+ protected picker: AXColorPaletteComponent;
30
26
  protected palettePicker: _angular_core.Signal<AXColorPalettePickerComponent>;
31
27
  /**
32
28
  * @ignore
@@ -59,14 +55,16 @@ declare class AXColorBoxComponent extends AXColorBoxComponent_base {
59
55
  * @ignore
60
56
  */
61
57
  internalValueChanged(value?: Date): void;
58
+ protected ngOnInit(): void;
62
59
  handleKeyboardEvent(event: KeyboardEvent): void;
60
+ private get __hostName();
63
61
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXColorBoxComponent, never>;
64
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
62
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-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; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
65
63
  }
66
64
 
67
65
  declare class AXColorBoxModule {
68
66
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXColorBoxModule, never>;
69
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXColorBoxModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXColorPaletteModule, typeof i4.AXDropdownModule, typeof AXColorBoxComponent], [typeof AXColorBoxComponent]>;
67
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXColorBoxModule, never, [typeof AXColorBoxComponent], [typeof AXColorBoxComponent]>;
70
68
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXColorBoxModule>;
71
69
  }
72
70
 
@@ -1,18 +1,7 @@
1
1
  import { AXValueChangedEvent, AXOptionChangedEvent, MXBaseComponent, MXValueComponent } from '@acorex/cdk/common';
2
- import * as i3 from '@acorex/components/text-box';
3
2
  import { AXMaskOptions } from '@acorex/components/text-box';
4
3
  import * as i0 from '@angular/core';
5
- import { EventEmitter, AfterViewInit, OnDestroy, Renderer2, NgZone, ElementRef, OnInit, QueryList } from '@angular/core';
6
- import * as i1 from '@angular/common';
7
- import * as i2 from '@angular/forms';
8
- import * as i4 from '@acorex/components/label';
9
- import * as i5 from '@acorex/components/button';
10
- import * as i6 from '@acorex/components/decorators';
11
- import * as i7 from '@acorex/components/number-box';
12
- import * as i8 from '@acorex/components/range-slider';
13
- import * as i9 from '@acorex/components/slider';
14
- import * as i10 from '@angular/cdk/drag-drop';
15
- import * as i11 from '@acorex/components/select-box';
4
+ import { EventEmitter, AfterViewInit, OnDestroy, ElementRef, OnInit, QueryList } from '@angular/core';
16
5
 
17
6
  /**
18
7
  * A token that specifies the display mode of datapager component.
@@ -46,7 +35,7 @@ declare const AXDefaultColorPalette: {
46
35
  * @category Components
47
36
  */
48
37
  declare class AXColorPaletteInputComponent extends MXBaseComponent implements AfterViewInit {
49
- _parent: AXColorPaletteParentComponent;
38
+ protected _parent: AXColorPaletteParentComponent;
50
39
  private _unsubscriber;
51
40
  private colorService;
52
41
  isValid: boolean;
@@ -80,11 +69,11 @@ declare class AXColorPaletteInputComponent extends MXBaseComponent implements Af
80
69
  /**
81
70
  * @ignore
82
71
  */
83
- _handleChangeInputMode(): void;
72
+ protected _handleChangeInputMode(): void;
84
73
  /**
85
74
  * @ignore
86
75
  */
87
- _handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
76
+ protected _handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
88
77
  /**
89
78
  * @ignore
90
79
  */
@@ -107,11 +96,11 @@ declare class AXColorPaletteInputComponent extends MXBaseComponent implements Af
107
96
  * @category Components
108
97
  */
109
98
  declare class AXColorPalettePickerComponent extends MXBaseComponent implements OnDestroy {
110
- _parent: AXColorPaletteParentComponent;
99
+ protected _parent: AXColorPaletteParentComponent;
111
100
  private _unsubscriber;
112
101
  private colorService;
113
- render: Renderer2;
114
- zone: NgZone;
102
+ private render;
103
+ private zone;
115
104
  _rgba: {
116
105
  r: number;
117
106
  g: number;
@@ -163,7 +152,13 @@ declare class AXColorPalettePickerComponent extends MXBaseComponent implements O
163
152
  */
164
153
  private setHSV;
165
154
  /**
166
- * @ignore
155
+ * Synchronizes internal RGBA and UI state with the parent palette value.
156
+ *
157
+ * Called when the parent emits onValueChanged. Updates local RGBA from the parent
158
+ * value, recalculates gradient and pointer when the user is not actively changing
159
+ * the color, and requests change detection.
160
+ *
161
+ * @returns void
167
162
  */
168
163
  parentColorChanged(): void;
169
164
  /**
@@ -275,21 +270,21 @@ declare class AXColorPaletteSwatchesComponent extends MXBaseComponent implements
275
270
  *
276
271
  * @category Components
277
272
  */
278
- declare class AXColorPalleteComponent extends MXValueComponent<string> {
273
+ declare class AXColorPaletteComponent extends MXValueComponent<string> {
279
274
  _children: QueryList<AXColorPaletteChildComponent>;
280
275
  /**
281
276
  * @ignore
282
277
  */
283
278
  private get __hostDisabled();
284
- static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalleteComponent, never>;
285
- static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", 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; }; "checked": { "alias": "checked"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"], true, never>;
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteComponent, never>;
280
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteComponent, "ax-color-palette", 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; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"], true, never>;
286
281
  }
287
282
 
288
283
  declare class AXColorPaletteModule {
289
284
  static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteModule, never>;
290
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXTextBoxModule, typeof i4.AXLabelModule, typeof i5.AXButtonModule, typeof i6.AXDecoratorModule, typeof i7.AXNumberBoxModule, typeof i8.AXRangeSliderModule, typeof i9.AXSliderModule, typeof i10.DragDropModule, typeof i11.AXSelectBoxModule, typeof AXColorPalleteComponent, typeof AXColorPalettePreviewComponent, typeof AXColorPaletteSwatchesComponent, typeof AXColorPaletteInputComponent, typeof AXColorPalettePickerComponent], [typeof AXColorPalleteComponent, typeof AXColorPalettePreviewComponent, typeof AXColorPaletteSwatchesComponent, typeof AXColorPaletteInputComponent, typeof AXColorPalettePickerComponent]>;
285
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, never, [typeof AXColorPaletteComponent, typeof AXColorPalettePreviewComponent, typeof AXColorPaletteSwatchesComponent, typeof AXColorPaletteInputComponent, typeof AXColorPalettePickerComponent], [typeof AXColorPaletteComponent, typeof AXColorPalettePreviewComponent, typeof AXColorPaletteSwatchesComponent, typeof AXColorPaletteInputComponent, typeof AXColorPalettePickerComponent]>;
291
286
  static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPaletteModule>;
292
287
  }
293
288
 
294
- export { AXColorPaletteChildComponent, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPaletteParentComponent, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXColorPalleteComponent, AXDefaultColorPalette };
289
+ export { AXColorPaletteChildComponent, AXColorPaletteComponent, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPaletteParentComponent, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXDefaultColorPalette };
295
290
  export type { AXColorChangedEvent, AXColorPaletteView };
@@ -0,0 +1,3 @@
1
+ # @acorex/components/command
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/command`.
@@ -0,0 +1,60 @@
1
+ import * as polytype from 'polytype';
2
+ import * as _angular_core from '@angular/core';
3
+ import { AXEvent, MXInputBaseValueComponent, MXLookComponent, AXHtmlEvent, AXFocusEvent } from '@acorex/cdk/common';
4
+ import { AXListNavigationDirective, AXListNavigationItemDirective } from '@acorex/cdk/list-navigation';
5
+ import { AXSearchBoxComponent } from '@acorex/components/search-box';
6
+
7
+ type CommandItem = {
8
+ id: string | number;
9
+ text: string;
10
+ icon?: string;
11
+ href?: string;
12
+ children?: CommandItem[];
13
+ index?: number;
14
+ data?: any;
15
+ };
16
+ type CommandMenuItem = {
17
+ pinned?: {
18
+ title: string;
19
+ items: CommandItem[];
20
+ };
21
+ items: CommandItem[];
22
+ };
23
+ declare class AXCommandComponentEvent extends AXEvent {
24
+ data: CommandItem;
25
+ }
26
+
27
+ declare const AXCommandComponent_base: polytype.Polytype.ClusteredConstructor<[{
28
+ new (): MXInputBaseValueComponent<CommandMenuItem>;
29
+ ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
30
+ ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
31
+ }, typeof MXLookComponent]>;
32
+ declare class AXCommandComponent extends AXCommandComponent_base {
33
+ protected searchValue: _angular_core.WritableSignal<string>;
34
+ protected searchBox: _angular_core.Signal<AXSearchBoxComponent>;
35
+ readonly onSubmit: _angular_core.OutputEmitterRef<AXCommandComponentEvent>;
36
+ readonly onEscape: _angular_core.OutputEmitterRef<AXHtmlEvent<KeyboardEvent>>;
37
+ readonly onSearchBoxFocus: _angular_core.OutputEmitterRef<AXHtmlEvent<FocusEvent>>;
38
+ readonly onSearchBoxBlur: _angular_core.OutputEmitterRef<AXHtmlEvent<FocusEvent>>;
39
+ protected listNavigation: _angular_core.Signal<AXListNavigationDirective>;
40
+ protected displayItems: _angular_core.Signal<CommandItem[]>;
41
+ protected focusHandler(e: AXFocusEvent): void;
42
+ protected blurHandler(e: AXFocusEvent): void;
43
+ private filterRecursive;
44
+ protected onItemClick(item: CommandItem): void;
45
+ protected keyPress(e: AXHtmlEvent<KeyboardEvent>, item: CommandItem): void;
46
+ protected searchEscapeHandler(e: AXHtmlEvent<KeyboardEvent>): void;
47
+ protected closeHandler(e: AXHtmlEvent<KeyboardEvent>): void;
48
+ protected activeHandler(l: AXListNavigationDirective, i: AXListNavigationItemDirective): void;
49
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCommandComponent, never>;
50
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCommandComponent, "ax-command", 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; }; }, { "onSubmit": "onSubmit"; "onEscape": "onEscape"; "onSearchBoxFocus": "onSearchBoxFocus"; "onSearchBoxBlur": "onSearchBoxBlur"; }, never, never, true, never>;
51
+ }
52
+
53
+ declare class AXCommandModule {
54
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCommandModule, never>;
55
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXCommandModule, never, [typeof AXCommandComponent], [typeof AXCommandComponent]>;
56
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXCommandModule>;
57
+ }
58
+
59
+ export { AXCommandComponent, AXCommandComponentEvent, AXCommandModule };
60
+ export type { CommandItem, CommandMenuItem };