@acorex/components 19.14.1 → 19.14.3

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 (425) hide show
  1. package/action-sheet/lib/action-sheet.class.d.ts +1 -1
  2. package/action-sheet/lib/action-sheet.component.d.ts +1 -1
  3. package/action-sheet/lib/action-sheet.module.d.ts +1 -1
  4. package/alert/lib/alert.component.d.ts +1 -1
  5. package/audio-wave/lib/interfaces/audio-wave.interface.d.ts +1 -1
  6. package/autocomplete/lib/autocomplete.component.d.ts +1 -1
  7. package/avatar/lib/avatar.component.d.ts +1 -1
  8. package/badge/lib/badge.component.d.ts +1 -1
  9. package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +2 -2
  10. package/bottom-navigation/lib/bottom-navigation.component.d.ts +1 -1
  11. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
  12. package/breadcrumbs/lib/breadcrumbs.component.d.ts +1 -1
  13. package/button/lib/button-item-list.component.d.ts +2 -2
  14. package/button/lib/button-item.class.d.ts +1 -1
  15. package/button/lib/button-item.component.d.ts +1 -1
  16. package/button/lib/button.component.d.ts +1 -1
  17. package/button/lib/button.module.d.ts +1 -1
  18. package/button-group/lib/button-group-item.component.d.ts +1 -1
  19. package/button-group/lib/button-group.component.d.ts +1 -1
  20. package/calendar/lib/calendar-range.component.d.ts +1 -1
  21. package/calendar/lib/calendar.class.d.ts +1 -1
  22. package/calendar/lib/calendar.component.d.ts +1 -1
  23. package/calendar/lib/calendar.module.d.ts +1 -1
  24. package/check-box/lib/check-box.component.d.ts +1 -1
  25. package/chips/lib/chips.component.d.ts +2 -2
  26. package/circular-progress/lib/circular-progress.component.d.ts +1 -1
  27. package/collapse/lib/collapse-group.component.d.ts +1 -1
  28. package/collapse/lib/collapse.component.d.ts +1 -1
  29. package/color-box/lib/color-box.component.d.ts +1 -1
  30. package/color-palette/lib/color-palette-input.component.d.ts +1 -1
  31. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  32. package/color-palette/lib/color-palette-preview.component.d.ts +1 -1
  33. package/color-palette/lib/color-palette-swatches.component.d.ts +1 -1
  34. package/color-palette/lib/color-palette.class.d.ts +1 -1
  35. package/color-palette/lib/color-palette.component.d.ts +1 -1
  36. package/conversation/lib/classes/events.interface.d.ts +1 -1
  37. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  38. package/conversation/lib/conversation-message/conversation-message.component.d.ts +1 -1
  39. package/conversation/lib/conversation-view/conversation-view.component.d.ts +1 -1
  40. package/conversation/lib/conversation.module.d.ts +1 -1
  41. package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +1 -1
  42. package/cron-job/lib/day/day.component.d.ts +1 -1
  43. package/cron-job/lib/hours/hours.component.d.ts +1 -1
  44. package/cron-job/lib/minutes/minutes.component.d.ts +1 -1
  45. package/cron-job/lib/month/month.component.d.ts +1 -1
  46. package/cron-job/lib/seconds/seconds.component.d.ts +1 -1
  47. package/cron-job/lib/year/year.component.d.ts +1 -1
  48. package/data-pager/lib/data-pager-base.component.d.ts +1 -1
  49. package/data-pager/lib/data-pager-input-selector.component.d.ts +1 -1
  50. package/data-pager/lib/data-pager-next-buttons.component.d.ts +1 -1
  51. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +1 -1
  52. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +1 -1
  53. package/data-pager/lib/data-pager.component.d.ts +1 -1
  54. package/data-table/lib/base-data-table.class.d.ts +1 -1
  55. package/data-table/lib/columns/data-table-column.d.ts +1 -1
  56. package/data-table/lib/columns/row-command-column.component.d.ts +1 -1
  57. package/data-table/lib/columns/row-select-column.component.d.ts +1 -1
  58. package/data-table/lib/data-table.module.d.ts +1 -1
  59. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +1 -1
  60. package/datetime-box/lib/datetime-box.component.d.ts +1 -1
  61. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  62. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -1
  63. package/decorators/lib/components/clear-button/clear-button.component.d.ts +2 -2
  64. package/decorators/lib/components/close-button/close-button.component.d.ts +2 -2
  65. package/decorators/lib/components/full-screen/full-screen-button.component.d.ts +1 -1
  66. package/decorators/lib/components/generic-content.component.d.ts +1 -1
  67. package/decorators/lib/components/heading/heading.component.d.ts +1 -1
  68. package/decorators/lib/components/icon/icon.component.d.ts +1 -1
  69. package/dialog/lib/dialog.class.d.ts +1 -1
  70. package/dialog/lib/dialog.component.d.ts +1 -1
  71. package/dialog/lib/dialog.module.d.ts +1 -1
  72. package/dialog/lib/dialog.service.d.ts +1 -1
  73. package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +1 -1
  74. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +1 -1
  75. package/dropdown/lib/dropdown-box.class.d.ts +1 -1
  76. package/dropdown/lib/dropdown-box.component.d.ts +2 -2
  77. package/dropdown/lib/dropdown-panel.component.d.ts +2 -2
  78. package/dropdown/lib/dropdown.module.d.ts +1 -1
  79. package/dropdown-button/lib/dropdown-button.component.d.ts +2 -2
  80. package/dropdown-button/lib/dropdown-button.module.d.ts +1 -1
  81. package/fesm2022/acorex-components-action-sheet.mjs +15 -13
  82. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  83. package/fesm2022/acorex-components-alert.mjs +15 -9
  84. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  85. package/fesm2022/acorex-components-audio-wave.mjs +9 -8
  86. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  87. package/fesm2022/acorex-components-autocomplete.mjs +10 -10
  88. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  89. package/fesm2022/acorex-components-avatar.mjs +13 -12
  90. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  91. package/fesm2022/acorex-components-badge.mjs +9 -9
  92. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  93. package/fesm2022/acorex-components-bottom-navigation.mjs +14 -14
  94. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  95. package/fesm2022/acorex-components-breadcrumbs.mjs +13 -13
  96. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  97. package/fesm2022/acorex-components-button-group.mjs +13 -12
  98. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  99. package/fesm2022/acorex-components-button.mjs +22 -22
  100. package/fesm2022/acorex-components-button.mjs.map +1 -1
  101. package/fesm2022/acorex-components-calendar.mjs +18 -14
  102. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  103. package/fesm2022/acorex-components-check-box.mjs +12 -10
  104. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  105. package/fesm2022/acorex-components-chips.mjs +10 -10
  106. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  107. package/fesm2022/acorex-components-circular-progress.mjs +9 -9
  108. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  109. package/fesm2022/acorex-components-collapse.mjs +15 -13
  110. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  111. package/fesm2022/acorex-components-color-box.mjs +8 -8
  112. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  113. package/fesm2022/acorex-components-color-palette.mjs +36 -26
  114. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  115. package/fesm2022/acorex-components-comment.mjs +37 -36
  116. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  117. package/fesm2022/acorex-components-conversation.mjs +61 -63
  118. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  119. package/fesm2022/acorex-components-cron-job.mjs +57 -53
  120. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  121. package/fesm2022/acorex-components-data-pager.mjs +75 -37
  122. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  123. package/fesm2022/acorex-components-data-table.mjs +59 -39
  124. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  125. package/fesm2022/acorex-components-datetime-box.mjs +8 -8
  126. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  127. package/fesm2022/acorex-components-datetime-input.mjs +8 -8
  128. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  129. package/fesm2022/acorex-components-datetime-picker.mjs +10 -10
  130. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  131. package/fesm2022/acorex-components-decorators.mjs +46 -36
  132. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  133. package/fesm2022/acorex-components-dialog.mjs +21 -13
  134. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  135. package/fesm2022/acorex-components-drawer.mjs +17 -17
  136. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  137. package/fesm2022/acorex-components-dropdown-button.mjs +12 -10
  138. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  139. package/fesm2022/acorex-components-dropdown.mjs +19 -17
  140. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  141. package/fesm2022/acorex-components-file-explorer.mjs +39 -31
  142. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  143. package/fesm2022/acorex-components-flow-chart.mjs +30 -20
  144. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  145. package/fesm2022/acorex-components-form.mjs +20 -18
  146. package/fesm2022/acorex-components-form.mjs.map +1 -1
  147. package/fesm2022/acorex-components-grid-layout-builder.mjs +55 -16
  148. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  149. package/fesm2022/acorex-components-image-editor.mjs +43 -45
  150. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  151. package/fesm2022/acorex-components-image.mjs +15 -9
  152. package/fesm2022/acorex-components-image.mjs.map +1 -1
  153. package/fesm2022/acorex-components-json-viewer.mjs +9 -8
  154. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  155. package/fesm2022/acorex-components-kbd.mjs +13 -12
  156. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  157. package/fesm2022/acorex-components-label.mjs +15 -9
  158. package/fesm2022/acorex-components-label.mjs.map +1 -1
  159. package/fesm2022/acorex-components-list.mjs +8 -8
  160. package/fesm2022/acorex-components-list.mjs.map +1 -1
  161. package/fesm2022/acorex-components-loading-dialog.mjs +12 -12
  162. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  163. package/fesm2022/acorex-components-loading.mjs +19 -19
  164. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  165. package/fesm2022/acorex-components-map.mjs +265 -108
  166. package/fesm2022/acorex-components-map.mjs.map +1 -1
  167. package/fesm2022/acorex-components-media-viewer.mjs +42 -41
  168. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  169. package/fesm2022/acorex-components-menu.mjs +41 -17
  170. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  171. package/fesm2022/{acorex-components-modal-acorex-components-modal-Ckn70-o5.mjs → acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs} +24 -23
  172. package/fesm2022/acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs.map +1 -0
  173. package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs +216 -0
  174. package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs.map +1 -0
  175. package/fesm2022/acorex-components-modal.mjs +1 -1
  176. package/fesm2022/acorex-components-navbar.mjs +9 -9
  177. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  178. package/fesm2022/acorex-components-notification.mjs +18 -12
  179. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  180. package/fesm2022/acorex-components-number-box.mjs +8 -8
  181. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  182. package/fesm2022/acorex-components-otp.mjs +20 -8
  183. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  184. package/fesm2022/acorex-components-page.mjs +11 -11
  185. package/fesm2022/acorex-components-page.mjs.map +1 -1
  186. package/fesm2022/acorex-components-paint.mjs +31 -33
  187. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  188. package/fesm2022/acorex-components-password-box.mjs +21 -23
  189. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  190. package/fesm2022/acorex-components-pdf-reader.mjs +9 -8
  191. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  192. package/fesm2022/acorex-components-phone-box.mjs +8 -8
  193. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  194. package/fesm2022/acorex-components-picker.mjs +18 -16
  195. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  196. package/fesm2022/acorex-components-popover.mjs +15 -9
  197. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  198. package/fesm2022/acorex-components-popup.mjs +18 -12
  199. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  200. package/fesm2022/acorex-components-progress-bar.mjs +9 -9
  201. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  202. package/fesm2022/acorex-components-qrcode.mjs +10 -8
  203. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  204. package/fesm2022/acorex-components-query-builder.mjs +9 -9
  205. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  206. package/fesm2022/acorex-components-radio.mjs +10 -8
  207. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  208. package/fesm2022/acorex-components-rail-navigation.mjs +16 -16
  209. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  210. package/fesm2022/acorex-components-range-slider.mjs +13 -11
  211. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  212. package/fesm2022/acorex-components-rate-picker.mjs +10 -8
  213. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  214. package/fesm2022/acorex-components-rest-api-generator.mjs +28 -27
  215. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  216. package/fesm2022/acorex-components-result.mjs +9 -9
  217. package/fesm2022/acorex-components-result.mjs.map +1 -1
  218. package/fesm2022/acorex-components-routing-progress.mjs +9 -9
  219. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  220. package/fesm2022/acorex-components-scheduler.mjs +329 -275
  221. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  222. package/fesm2022/acorex-components-scss.mjs +4 -4
  223. package/fesm2022/acorex-components-search-box.mjs +9 -9
  224. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  225. package/fesm2022/acorex-components-select-box.mjs +18 -12
  226. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  227. package/fesm2022/acorex-components-selection-list.mjs +8 -8
  228. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  229. package/fesm2022/acorex-components-side-menu.mjs +16 -16
  230. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  231. package/fesm2022/acorex-components-skeleton.mjs +9 -9
  232. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  233. package/fesm2022/acorex-components-slider.mjs +10 -8
  234. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  235. package/fesm2022/acorex-components-sliding-item.mjs +17 -16
  236. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  237. package/fesm2022/acorex-components-step-wizard.mjs +16 -16
  238. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  239. package/fesm2022/acorex-components-switch.mjs +14 -11
  240. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  241. package/fesm2022/acorex-components-tabs.mjs +16 -15
  242. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  243. package/fesm2022/acorex-components-tag-box.mjs +10 -10
  244. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  245. package/fesm2022/acorex-components-tag.mjs +9 -9
  246. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  247. package/fesm2022/acorex-components-text-area.mjs +8 -8
  248. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  249. package/fesm2022/acorex-components-text-box.mjs +13 -13
  250. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  251. package/fesm2022/acorex-components-time-duration.mjs +59 -98
  252. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  253. package/fesm2022/acorex-components-time-line.mjs +13 -12
  254. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  255. package/fesm2022/acorex-components-toast.mjs +18 -12
  256. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  257. package/fesm2022/acorex-components-toolbar.mjs +9 -8
  258. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  259. package/fesm2022/acorex-components-tooltip.mjs +12 -12
  260. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  261. package/fesm2022/acorex-components-tree-view.mjs +12 -12
  262. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  263. package/fesm2022/acorex-components-uploader.mjs +27 -27
  264. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  265. package/fesm2022/acorex-components-video-player.mjs +9 -8
  266. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  267. package/fesm2022/acorex-components-wysiwyg.mjs +39 -41
  268. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  269. package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +1 -1
  270. package/flow-chart/lib/flow-chart-creator/flow-chart-creator.component.d.ts +1 -1
  271. package/flow-chart/lib/flow-chart-renderer/flow-chart-renderer.component.d.ts +1 -1
  272. package/flow-chart/lib/flow-chart.component.d.ts +1 -1
  273. package/form/lib/form-field.component.d.ts +1 -1
  274. package/form/lib/form.component.d.ts +1 -1
  275. package/form/lib/validation-summary.component.d.ts +1 -1
  276. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +4 -3
  277. package/grid-layout-builder/lib/types.d.ts +1 -1
  278. package/image/lib/image.component.d.ts +1 -1
  279. package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -1
  280. package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -1
  281. package/label/lib/label.component.d.ts +1 -1
  282. package/list/lib/list.component.d.ts +1 -1
  283. package/loading/lib/loading-spinner.component.d.ts +1 -1
  284. package/loading/lib/loading.component.d.ts +1 -1
  285. package/loading-dialog/lib/loading-dialog.class.d.ts +1 -1
  286. package/loading-dialog/lib/loading-dialog.component.d.ts +1 -1
  287. package/loading-dialog/lib/loading-dialog.module.d.ts +1 -1
  288. package/map/lib/map.component.d.ts +38 -11
  289. package/menu/lib/context-menu.component.d.ts +1 -1
  290. package/menu/lib/menu-item.component.d.ts +1 -1
  291. package/menu/lib/menu.component.d.ts +1 -1
  292. package/menu/lib/menu.types.d.ts +1 -1
  293. package/modal/lib/modal-content/modal-content.component.d.ts +1 -1
  294. package/modal/lib/modal.component.d.ts +1 -1
  295. package/navbar/lib/navbar.component.d.ts +1 -1
  296. package/notification/lib/notification.class.d.ts +1 -1
  297. package/notification/lib/notification.component.d.ts +1 -1
  298. package/notification/lib/notification.config.d.ts +1 -1
  299. package/number-box/lib/number-box.component.d.ts +1 -1
  300. package/otp/lib/otp.class.d.ts +1 -1
  301. package/otp/lib/otp.component.d.ts +1 -1
  302. package/package.json +1 -5
  303. package/page/lib/base-page.class.d.ts +1 -1
  304. package/page/lib/page.component.d.ts +1 -1
  305. package/paint/lib/paint/paint-container/paint-container.component.d.ts +1 -1
  306. package/password-box/lib/password-box.component.d.ts +1 -1
  307. package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +9 -11
  308. package/phone-box/lib/phone-box.component.d.ts +1 -1
  309. package/picker/lib/picker-items/picker-items.component.d.ts +1 -1
  310. package/popover/lib/popover.component.d.ts +1 -1
  311. package/popup/lib/popup.component.d.ts +1 -1
  312. package/popup/lib/popup.module.d.ts +1 -1
  313. package/popup/lib/popup.service.d.ts +1 -1
  314. package/progress-bar/lib/progress-bar.component.d.ts +1 -1
  315. package/query-builder/lib/query-builder.component.d.ts +1 -1
  316. package/radio/lib/radio.component.d.ts +1 -1
  317. package/rail-navigation/lib/rail-navigation-item/rail-navigation-item.component.d.ts +1 -1
  318. package/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  319. package/range-slider/lib/range-slider.class.d.ts +1 -1
  320. package/range-slider/lib/range-slider.component.d.ts +1 -1
  321. package/rate-picker/lib/rate-picker.component.d.ts +1 -1
  322. package/rest-api-generator/lib/query-params/query-params.component.d.ts +1 -1
  323. package/rest-api-generator/lib/request-body/request-body.component.d.ts +1 -1
  324. package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
  325. package/rest-api-generator/lib/rest-api-auth/rest-api-auth.component.d.ts +1 -1
  326. package/rest-api-generator/lib/rest-api-generator.component.d.ts +1 -1
  327. package/result/lib/result.component.d.ts +1 -1
  328. package/routing-progress/lib/routing-progress.component.d.ts +1 -1
  329. package/scheduler/lib/scheduler.class.d.ts +36 -31
  330. package/scheduler/lib/scheduler.component.d.ts +54 -41
  331. package/scheduler/lib/scheduler.service.d.ts +15 -14
  332. package/scheduler/lib/views/agenda/scheduler-agenda-view.component.d.ts +14 -12
  333. package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +19 -17
  334. package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +17 -15
  335. package/scheduler/lib/views/timeline-day/scheduler-timeline-day-view.component.d.ts +17 -15
  336. package/scheduler/lib/views/timeline-month/scheduler-timeline-month-view.component.d.ts +15 -13
  337. package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts +15 -14
  338. package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +19 -17
  339. package/search-box/lib/search-box.component.d.ts +1 -1
  340. package/search-box/lib/search-box.module.d.ts +1 -1
  341. package/select-box/lib/select-box.component.d.ts +2 -1
  342. package/select-box/lib/select-box.module.d.ts +1 -1
  343. package/selection-list/lib/selection-list.component.d.ts +1 -1
  344. package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +1 -1
  345. package/side-menu/lib/side-menu.component.d.ts +1 -1
  346. package/side-menu/lib/side-menu.module.d.ts +1 -1
  347. package/skeleton/lib/skeleton.component.d.ts +1 -1
  348. package/slider/lib/slider.component.d.ts +1 -1
  349. package/slider/lib/slider.module.d.ts +1 -1
  350. package/sliding-item/lib/sliding-item-prefix/sliding-item-prefix.component.d.ts +1 -1
  351. package/sliding-item/lib/sliding-item-suffix/sliding-item-suffix.component.d.ts +1 -1
  352. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +1 -1
  353. package/step-wizard/lib/step-wizard.component.d.ts +1 -1
  354. package/switch/lib/switch-content.component.d.ts +1 -1
  355. package/switch/lib/switch.component.d.ts +1 -1
  356. package/tabs/lib/tab-item.component.d.ts +1 -1
  357. package/tabs/lib/tabs.class.d.ts +1 -1
  358. package/tabs/lib/tabs.component.d.ts +1 -1
  359. package/tag/lib/tag.component.d.ts +1 -1
  360. package/tag-box/lib/tag-box.component.d.ts +1 -1
  361. package/text-area/lib/text-area.component.d.ts +1 -1
  362. package/text-box/lib/text-box.component.d.ts +1 -1
  363. package/text-box/lib/text-box.module.d.ts +1 -1
  364. package/time-duration/lib/time-duration.component.d.ts +3 -5
  365. package/toast/lib/toast.class.d.ts +1 -1
  366. package/toast/lib/toast.component.d.ts +1 -1
  367. package/toast/lib/toast.config.d.ts +1 -1
  368. package/tooltip/lib/tooltip.component.d.ts +1 -1
  369. package/tooltip/lib/tooltip.directive.d.ts +1 -1
  370. package/tree-view/lib/tree-view-item.component.d.ts +1 -1
  371. package/tree-view/lib/tree-view.class.d.ts +1 -1
  372. package/tree-view/lib/tree-view.component.d.ts +1 -1
  373. package/tree-view/lib/tree-view.component.module.d.ts +1 -1
  374. package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
  375. package/uploader/lib/uploader.models.d.ts +1 -1
  376. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
  377. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +1 -1
  378. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +1 -1
  379. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +1 -1
  380. package/common/README.md +0 -3
  381. package/common/index.d.ts +0 -32
  382. package/common/lib/classes/components.class.d.ts +0 -97
  383. package/common/lib/classes/datalist.class.d.ts +0 -37
  384. package/common/lib/classes/datasource.class.d.ts +0 -87
  385. package/common/lib/classes/events.class.d.ts +0 -96
  386. package/common/lib/classes/styles.class.d.ts +0 -12
  387. package/common/lib/common.module.d.ts +0 -10
  388. package/common/lib/components/base-component.class.d.ts +0 -42
  389. package/common/lib/components/button-base-component.class.d.ts +0 -55
  390. package/common/lib/components/color-component.class.d.ts +0 -12
  391. package/common/lib/components/colorlook-component.class.d.ts +0 -6
  392. package/common/lib/components/input-base-value-component.class.d.ts +0 -35
  393. package/common/lib/components/interactive-component.class.d.ts +0 -57
  394. package/common/lib/components/look-component.class.d.ts +0 -18
  395. package/common/lib/components/selection-base.component.class.d.ts +0 -53
  396. package/common/lib/components/value-component.class.d.ts +0 -70
  397. package/common/lib/directives/auto-focus.directive.d.ts +0 -17
  398. package/common/lib/directives/copy-clipboard.directive.d.ts +0 -40
  399. package/common/lib/directives/delayed-value-changed.directive.d.ts +0 -17
  400. package/common/lib/directives/hotkey.directive.d.ts +0 -22
  401. package/common/lib/directives/infinite-scroll.directive.d.ts +0 -25
  402. package/common/lib/directives/inverted-color.directive.d.ts +0 -12
  403. package/common/lib/directives/responsive.directive.d.ts +0 -10
  404. package/common/lib/directives/ripple.directive.d.ts +0 -18
  405. package/common/lib/interfaces/component.interface.d.ts +0 -4
  406. package/common/lib/services/dom.service.d.ts +0 -6
  407. package/common/lib/services/hotkey.service.d.ts +0 -31
  408. package/common/lib/types/base/button.type.d.ts +0 -8
  409. package/common/lib/types/base/color.type.d.ts +0 -7
  410. package/common/lib/types/base/component.types.d.ts +0 -8
  411. package/common/lib/types/base/events.types.d.ts +0 -21
  412. package/common/lib/types/base/index.d.ts +0 -7
  413. package/common/lib/types/base/interactive.type.d.ts +0 -13
  414. package/common/lib/types/base/look.type.d.ts +0 -7
  415. package/common/lib/types/base/value.type.d.ts +0 -9
  416. package/common/lib/types/direction.d.ts +0 -4
  417. package/common/lib/types/orientation.d.ts +0 -4
  418. package/common/lib/types/placement.d.ts +0 -30
  419. package/common/lib/types/range.d.ts +0 -4
  420. package/common/lib/types/selection-mode.d.ts +0 -4
  421. package/fesm2022/acorex-components-common.mjs +0 -2087
  422. package/fesm2022/acorex-components-common.mjs.map +0 -1
  423. package/fesm2022/acorex-components-modal-acorex-components-modal-Ckn70-o5.mjs.map +0 -1
  424. package/fesm2022/acorex-components-modal-modal-content.component-DzRhA-Nt.mjs +0 -216
  425. package/fesm2022/acorex-components-modal-modal-content.component-DzRhA-Nt.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import * as i1 from '@acorex/components/common';
2
- import { MXBaseComponent, AXClearableComponent, AXClosbaleComponent } from '@acorex/components/common';
1
+ import * as i1 from '@acorex/cdk/common';
2
+ import { MXBaseComponent, AXClearableComponent, AXComponent, AXClosableComponent } from '@acorex/cdk/common';
3
3
  import { NgClass, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
5
  import { HostListener, HostBinding, Input, Optional, Inject, ViewEncapsulation, ChangeDetectionStrategy, Component, input, signal, NgModule } from '@angular/core';
@@ -45,20 +45,21 @@ class AXDecoratorClearButtonComponent extends MXBaseComponent {
45
45
  /**
46
46
  * @ignore
47
47
  */
48
- _handleOnClick() {
48
+ _handleOnClick(e) {
49
+ e.stopPropagation();
49
50
  if (!this._parent.disabled && !this._parent.readonly)
50
51
  this._parent?.reset(true);
51
52
  }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorClearButtonComponent, deps: [{ token: AXClearableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXDecoratorClearButtonComponent, isStandalone: true, selector: "ax-clear-button", inputs: { icon: "icon" }, host: { listeners: { "click": "_handleOnClick($event)" }, properties: { "class": "this.hostClass" } }, usesInheritance: true, ngImport: i0, template: `<button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorClearButtonComponent, deps: [{ token: AXClearableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: AXDecoratorClearButtonComponent, isStandalone: true, selector: "ax-clear-button", inputs: { icon: "icon" }, host: { listeners: { "click": "_handleOnClick($event)" }, properties: { "class": "this.hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXDecoratorClearButtonComponent }], usesInheritance: true, ngImport: i0, template: `<button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
54
55
  <i class="ax-icon-solid" [ngClass]="icon"></i>
55
56
  </button>`, isInline: true, styles: ["ax-clear-button{max-width:fit-content}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
56
57
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorClearButtonComponent, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorClearButtonComponent, decorators: [{
58
59
  type: Component,
59
60
  args: [{ selector: 'ax-clear-button', template: `<button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
60
61
  <i class="ax-icon-solid" [ngClass]="icon"></i>
61
- </button>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgClass], styles: ["ax-clear-button{max-width:fit-content}\n"] }]
62
+ </button>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgClass], providers: [{ provide: AXComponent, useExisting: AXDecoratorClearButtonComponent }], styles: ["ax-clear-button{max-width:fit-content}\n"] }]
62
63
  }], ctorParameters: () => [{ type: i1.AXClearableComponent, decorators: [{
63
64
  type: Optional
64
65
  }, {
@@ -86,7 +87,7 @@ class AXDecoratorCloseButtonComponent extends MXBaseComponent {
86
87
  constructor(_parent) {
87
88
  super();
88
89
  this._parent = _parent;
89
- // @Inject(AXClosbaleComponent) private _parent?: AXClosbaleComponent,
90
+ // @Inject(AXClosableComponent) private _parent?: AXClosableComponent,
90
91
  this.closeAll = input(false);
91
92
  /**
92
93
  * @ignore
@@ -118,8 +119,8 @@ class AXDecoratorCloseButtonComponent extends MXBaseComponent {
118
119
  this._parent?.close();
119
120
  }
120
121
  }
121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
122
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: AXDecoratorCloseButtonComponent, isStandalone: true, selector: "ax-close-button", inputs: { closeAll: { classPropertyName: "closeAll", publicName: "closeAll", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_handleOnClick($event)" } }, usesInheritance: true, ngImport: i0, template: `<button
122
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: AXClosableComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
123
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.11", type: AXDecoratorCloseButtonComponent, isStandalone: true, selector: "ax-close-button", inputs: { closeAll: { classPropertyName: "closeAll", publicName: "closeAll", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_handleOnClick($event)" } }, providers: [{ provide: AXComponent, useExisting: AXDecoratorCloseButtonComponent }], usesInheritance: true, ngImport: i0, template: `<button
123
124
  type="button"
124
125
  role="button"
125
126
  [attr.aria-label]="closeAll() ? 'Close All' : 'Close'"
@@ -128,7 +129,7 @@ class AXDecoratorCloseButtonComponent extends MXBaseComponent {
128
129
  <i [ngClass]="icon"></i>
129
130
  </button>`, isInline: true, styles: ["ax-close-button button{display:flex;cursor:pointer;background-color:transparent}ax-close-button button i{--ax-sys-icon-size: 1.5rem}ax-close-button button:hover{opacity:.7}ax-close-button button:focus{opacity:.8;outline:2px solid transparent;outline-offset:2px}ax-close-button button:active{opacity:1}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
130
131
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
132
133
  type: Component,
133
134
  args: [{ selector: 'ax-close-button', template: `<button
134
135
  type="button"
@@ -137,12 +138,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
137
138
  [title]="closeAll() ? 'Close All' : 'Close'"
138
139
  >
139
140
  <i [ngClass]="icon"></i>
140
- </button>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgClass], styles: ["ax-close-button button{display:flex;cursor:pointer;background-color:transparent}ax-close-button button i{--ax-sys-icon-size: 1.5rem}ax-close-button button:hover{opacity:.7}ax-close-button button:focus{opacity:.8;outline:2px solid transparent;outline-offset:2px}ax-close-button button:active{opacity:1}\n"] }]
141
- }], ctorParameters: () => [{ type: i1.AXClosbaleComponent, decorators: [{
141
+ </button>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgClass], providers: [{ provide: AXComponent, useExisting: AXDecoratorCloseButtonComponent }], styles: ["ax-close-button button{display:flex;cursor:pointer;background-color:transparent}ax-close-button button i{--ax-sys-icon-size: 1.5rem}ax-close-button button:hover{opacity:.7}ax-close-button button:focus{opacity:.8;outline:2px solid transparent;outline-offset:2px}ax-close-button button:active{opacity:1}\n"] }]
142
+ }], ctorParameters: () => [{ type: i1.AXClosableComponent, decorators: [{
142
143
  type: Optional
143
144
  }, {
144
145
  type: Inject,
145
- args: [AXClosbaleComponent]
146
+ args: [AXClosableComponent]
146
147
  }] }], propDecorators: { icon: [{
147
148
  type: Input
148
149
  }], _handleOnClick: [{
@@ -154,12 +155,12 @@ class AXDecoratorColorIndicatorComponent {
154
155
  constructor() {
155
156
  this.previewColor = input();
156
157
  }
157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorColorIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
158
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: AXDecoratorColorIndicatorComponent, isStandalone: true, selector: "ax-color-indicator", inputs: { previewColor: { classPropertyName: "previewColor", publicName: "previewColor", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n", styles: ["ax-color-indicator{margin-inline:.3rem;display:block}ax-color-indicator .ax-indicator-color{width:100%;height:.2rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorColorIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
159
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.11", type: AXDecoratorColorIndicatorComponent, isStandalone: true, selector: "ax-color-indicator", inputs: { previewColor: { classPropertyName: "previewColor", publicName: "previewColor", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: AXComponent, useExisting: AXDecoratorColorIndicatorComponent }], ngImport: i0, template: "<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n", styles: ["ax-color-indicator{margin-inline:.3rem;display:block}ax-color-indicator .ax-indicator-color{width:100%;height:.2rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
159
160
  }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorColorIndicatorComponent, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorColorIndicatorComponent, decorators: [{
161
162
  type: Component,
162
- args: [{ selector: 'ax-color-indicator', encapsulation: ViewEncapsulation.None, template: "<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n", styles: ["ax-color-indicator{margin-inline:.3rem;display:block}ax-color-indicator .ax-indicator-color{width:100%;height:.2rem}\n"] }]
163
+ args: [{ selector: 'ax-color-indicator', encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXDecoratorColorIndicatorComponent }], template: "<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n", styles: ["ax-color-indicator{margin-inline:.3rem;display:block}ax-color-indicator .ax-indicator-color{width:100%;height:.2rem}\n"] }]
163
164
  }] });
164
165
 
165
166
  class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {
@@ -167,12 +168,12 @@ class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {
167
168
  super(...arguments);
168
169
  this.isActive = signal(false);
169
170
  }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorFullScreenButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
171
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXDecoratorFullScreenButtonComponent, isStandalone: true, selector: "ax-fullscreen-button", usesInheritance: true, ngImport: i0, template: ` <button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
171
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorFullScreenButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
172
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: AXDecoratorFullScreenButtonComponent, isStandalone: true, selector: "ax-fullscreen-button", providers: [{ provide: AXComponent, useExisting: AXDecoratorFullScreenButtonComponent }], usesInheritance: true, ngImport: i0, template: ` <button type="button" tabIndex="-1" role="button" aria-label="Clear" title="Clear">
172
173
  <i class="ax-icon {{ this.isActive() ? 'ax-icon-close' : 'ax-icon-full-screen' }} "></i>
173
174
  </button>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
174
175
  }
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorFullScreenButtonComponent, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorFullScreenButtonComponent, decorators: [{
176
177
  type: Component,
177
178
  args: [{
178
179
  selector: 'ax-fullscreen-button',
@@ -181,6 +182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
181
182
  </button>`,
182
183
  changeDetection: ChangeDetectionStrategy.OnPush,
183
184
  encapsulation: ViewEncapsulation.None,
185
+ providers: [{ provide: AXComponent, useExisting: AXDecoratorFullScreenButtonComponent }],
184
186
  }]
185
187
  }] });
186
188
 
@@ -189,8 +191,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
189
191
  * @category Components
190
192
  */
191
193
  class AXDecoratorGenericComponent extends MXBaseComponent {
192
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorGenericComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
193
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXDecoratorGenericComponent, isStandalone: true, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay", providers: [
194
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorGenericComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
195
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: AXDecoratorGenericComponent, isStandalone: true, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay", providers: [
194
196
  { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },
195
197
  { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },
196
198
  { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },
@@ -203,9 +205,10 @@ class AXDecoratorGenericComponent extends MXBaseComponent {
203
205
  { provide: 'ax-subtitle', useExisting: AXDecoratorGenericComponent },
204
206
  { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },
205
207
  { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },
208
+ { provide: AXComponent, useExisting: AXDecoratorGenericComponent },
206
209
  ], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [".ax-decoration-container,ax-header,ax-footer{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.ax-decoration-container>ax-prefix,.ax-decoration-container>ax-suffix,ax-header>ax-prefix,ax-header>ax-suffix,ax-footer>ax-prefix,ax-footer>ax-suffix{display:flex;flex:1 1 0%;align-items:center;gap:.5rem}.ax-decoration-container>ax-prefix,ax-header>ax-prefix,ax-footer>ax-prefix{order:-9999;align-items:center;justify-content:flex-start}.ax-decoration-container>ax-suffix,ax-header>ax-suffix,ax-footer>ax-suffix{order:9999;align-items:center;justify-content:flex-end}ax-subtitle{opacity:.75;display:block;font-weight:400;font-size:.875rem;line-height:1.25rem}ax-form-hint{margin-top:.5rem;display:block;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface),.75)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
207
210
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorGenericComponent, decorators: [{
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorGenericComponent, decorators: [{
209
212
  type: Component,
210
213
  args: [{ selector: 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay', template: `<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
211
214
  { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },
@@ -220,6 +223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
220
223
  { provide: 'ax-subtitle', useExisting: AXDecoratorGenericComponent },
221
224
  { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },
222
225
  { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },
226
+ { provide: AXComponent, useExisting: AXDecoratorGenericComponent },
223
227
  ], styles: [".ax-decoration-container,ax-header,ax-footer{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.ax-decoration-container>ax-prefix,.ax-decoration-container>ax-suffix,ax-header>ax-prefix,ax-header>ax-suffix,ax-footer>ax-prefix,ax-footer>ax-suffix{display:flex;flex:1 1 0%;align-items:center;gap:.5rem}.ax-decoration-container>ax-prefix,ax-header>ax-prefix,ax-footer>ax-prefix{order:-9999;align-items:center;justify-content:flex-start}.ax-decoration-container>ax-suffix,ax-header>ax-suffix,ax-footer>ax-suffix{order:9999;align-items:center;justify-content:flex-end}ax-subtitle{opacity:.75;display:block;font-weight:400;font-size:.875rem;line-height:1.25rem}ax-form-hint{margin-top:.5rem;display:block;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface),.75)}\n"] }]
224
228
  }] });
225
229
 
@@ -238,12 +242,12 @@ class AXDecoratorHeadingComponent extends MXBaseComponent {
238
242
  get __hostClass() {
239
243
  return `ax-heading-${this.color()} ax-${this.weight()} ${!this.darkMode() && 'ax-heading-no-dark'}`;
240
244
  }
241
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorHeadingComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
242
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: AXDecoratorHeadingComponent, isStandalone: true, selector: "ax-heading", inputs: { darkMode: { classPropertyName: "darkMode", publicName: "darkMode", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: ["ax-heading{display:flex;flex-direction:column}ax-heading:has(h1,h2,h3){gap:.5rem}ax-heading:has(h4,h5,h6){gap:.25rem}ax-heading h1,ax-heading h2,ax-heading h3,ax-heading h4,ax-heading h5,ax-heading h6{font-weight:var(--ax-comp-heading-font-weight)}ax-heading p,ax-heading ax-subtitle{font-size:1rem;line-height:1.625rem}ax-heading h1{font-size:2rem;line-height:2.5rem;letter-spacing:-1.5%}ax-heading h2{font-size:1.625rem;line-height:2.125rem;letter-spacing:-1.5%}ax-heading h3{font-size:1.375rem;line-height:1.875rem;letter-spacing:-1%}ax-heading h4{font-size:1.125rem;line-height:1.625rem;letter-spacing:-.5%}ax-heading h5{font-size:1rem;line-height:1.5rem;letter-spacing:-.5%}ax-heading h6{font-size:.875rem;line-height:1.375rem}ax-heading.ax-regular{--ax-comp-heading-font-weight: 400}ax-heading.ax-medium{--ax-comp-heading-font-weight: 500}ax-heading.ax-semibold{--ax-comp-heading-font-weight: 600}ax-heading.ax-bold{--ax-comp-heading-font-weight: 700}ax-heading.ax-heading-lightest ax-subtitle{opacity:74%}ax-heading.ax-heading-lighter ax-subtitle{opacity:76%}ax-heading.ax-heading-light ax-subtitle{opacity:78%}ax-heading.ax-heading-surface ax-subtitle{opacity:80%}ax-heading.ax-heading-dark ax-subtitle{opacity:82%}ax-heading.ax-heading-darker ax-subtitle{opacity:84%}ax-heading.ax-heading-darkest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lightest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lighter ax-subtitle{opacity:84%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-light ax-subtitle{opacity:82%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-surface ax-subtitle{opacity:80%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-dark ax-subtitle{opacity:78%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darker ax-subtitle{opacity:76%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darkest ax-subtitle{opacity:74%}@media screen and (max-width: 768px){ax-heading h1{font-size:1.5rem;line-height:1.875rem}ax-heading h2{font-size:1.375rem;line-height:1.75rem}ax-heading h3{font-size:1.25rem;line-height:1.625rem}ax-heading h4{line-height:1.5rem}ax-heading h5{line-height:1.375rem}ax-heading h6{line-height:1.25rem}ax-heading p,ax-heading ax-subtitle{line-height:1.5rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
245
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorHeadingComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
246
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.11", type: AXDecoratorHeadingComponent, isStandalone: true, selector: "ax-heading", inputs: { darkMode: { classPropertyName: "darkMode", publicName: "darkMode", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXDecoratorHeadingComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: ["ax-heading{display:flex;flex-direction:column}ax-heading:has(h1,h2,h3){gap:.5rem}ax-heading:has(h4,h5,h6){gap:.25rem}ax-heading h1,ax-heading h2,ax-heading h3,ax-heading h4,ax-heading h5,ax-heading h6{font-weight:var(--ax-comp-heading-font-weight)}ax-heading p,ax-heading ax-subtitle{font-size:1rem;line-height:1.625rem}ax-heading h1{font-size:2rem;line-height:2.5rem;letter-spacing:-1.5%}ax-heading h2{font-size:1.625rem;line-height:2.125rem;letter-spacing:-1.5%}ax-heading h3{font-size:1.375rem;line-height:1.875rem;letter-spacing:-1%}ax-heading h4{font-size:1.125rem;line-height:1.625rem;letter-spacing:-.5%}ax-heading h5{font-size:1rem;line-height:1.5rem;letter-spacing:-.5%}ax-heading h6{font-size:.875rem;line-height:1.375rem}ax-heading.ax-regular{--ax-comp-heading-font-weight: 400}ax-heading.ax-medium{--ax-comp-heading-font-weight: 500}ax-heading.ax-semibold{--ax-comp-heading-font-weight: 600}ax-heading.ax-bold{--ax-comp-heading-font-weight: 700}ax-heading.ax-heading-lightest ax-subtitle{opacity:74%}ax-heading.ax-heading-lighter ax-subtitle{opacity:76%}ax-heading.ax-heading-light ax-subtitle{opacity:78%}ax-heading.ax-heading-surface ax-subtitle{opacity:80%}ax-heading.ax-heading-dark ax-subtitle{opacity:82%}ax-heading.ax-heading-darker ax-subtitle{opacity:84%}ax-heading.ax-heading-darkest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lightest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lighter ax-subtitle{opacity:84%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-light ax-subtitle{opacity:82%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-surface ax-subtitle{opacity:80%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-dark ax-subtitle{opacity:78%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darker ax-subtitle{opacity:76%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darkest ax-subtitle{opacity:74%}@media screen and (max-width: 768px){ax-heading h1{font-size:1.5rem;line-height:1.875rem}ax-heading h2{font-size:1.375rem;line-height:1.75rem}ax-heading h3{font-size:1.25rem;line-height:1.625rem}ax-heading h4{line-height:1.5rem}ax-heading h5{line-height:1.375rem}ax-heading h6{line-height:1.25rem}ax-heading p,ax-heading ax-subtitle{line-height:1.5rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
243
247
  }
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorHeadingComponent, decorators: [{
248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorHeadingComponent, decorators: [{
245
249
  type: Component,
246
- args: [{ selector: 'ax-heading', template: `<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["ax-heading{display:flex;flex-direction:column}ax-heading:has(h1,h2,h3){gap:.5rem}ax-heading:has(h4,h5,h6){gap:.25rem}ax-heading h1,ax-heading h2,ax-heading h3,ax-heading h4,ax-heading h5,ax-heading h6{font-weight:var(--ax-comp-heading-font-weight)}ax-heading p,ax-heading ax-subtitle{font-size:1rem;line-height:1.625rem}ax-heading h1{font-size:2rem;line-height:2.5rem;letter-spacing:-1.5%}ax-heading h2{font-size:1.625rem;line-height:2.125rem;letter-spacing:-1.5%}ax-heading h3{font-size:1.375rem;line-height:1.875rem;letter-spacing:-1%}ax-heading h4{font-size:1.125rem;line-height:1.625rem;letter-spacing:-.5%}ax-heading h5{font-size:1rem;line-height:1.5rem;letter-spacing:-.5%}ax-heading h6{font-size:.875rem;line-height:1.375rem}ax-heading.ax-regular{--ax-comp-heading-font-weight: 400}ax-heading.ax-medium{--ax-comp-heading-font-weight: 500}ax-heading.ax-semibold{--ax-comp-heading-font-weight: 600}ax-heading.ax-bold{--ax-comp-heading-font-weight: 700}ax-heading.ax-heading-lightest ax-subtitle{opacity:74%}ax-heading.ax-heading-lighter ax-subtitle{opacity:76%}ax-heading.ax-heading-light ax-subtitle{opacity:78%}ax-heading.ax-heading-surface ax-subtitle{opacity:80%}ax-heading.ax-heading-dark ax-subtitle{opacity:82%}ax-heading.ax-heading-darker ax-subtitle{opacity:84%}ax-heading.ax-heading-darkest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lightest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lighter ax-subtitle{opacity:84%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-light ax-subtitle{opacity:82%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-surface ax-subtitle{opacity:80%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-dark ax-subtitle{opacity:78%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darker ax-subtitle{opacity:76%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darkest ax-subtitle{opacity:74%}@media screen and (max-width: 768px){ax-heading h1{font-size:1.5rem;line-height:1.875rem}ax-heading h2{font-size:1.375rem;line-height:1.75rem}ax-heading h3{font-size:1.25rem;line-height:1.625rem}ax-heading h4{line-height:1.5rem}ax-heading h5{line-height:1.375rem}ax-heading h6{line-height:1.25rem}ax-heading p,ax-heading ax-subtitle{line-height:1.5rem}}\n"] }]
250
+ args: [{ selector: 'ax-heading', template: `<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXDecoratorHeadingComponent }], styles: ["ax-heading{display:flex;flex-direction:column}ax-heading:has(h1,h2,h3){gap:.5rem}ax-heading:has(h4,h5,h6){gap:.25rem}ax-heading h1,ax-heading h2,ax-heading h3,ax-heading h4,ax-heading h5,ax-heading h6{font-weight:var(--ax-comp-heading-font-weight)}ax-heading p,ax-heading ax-subtitle{font-size:1rem;line-height:1.625rem}ax-heading h1{font-size:2rem;line-height:2.5rem;letter-spacing:-1.5%}ax-heading h2{font-size:1.625rem;line-height:2.125rem;letter-spacing:-1.5%}ax-heading h3{font-size:1.375rem;line-height:1.875rem;letter-spacing:-1%}ax-heading h4{font-size:1.125rem;line-height:1.625rem;letter-spacing:-.5%}ax-heading h5{font-size:1rem;line-height:1.5rem;letter-spacing:-.5%}ax-heading h6{font-size:.875rem;line-height:1.375rem}ax-heading.ax-regular{--ax-comp-heading-font-weight: 400}ax-heading.ax-medium{--ax-comp-heading-font-weight: 500}ax-heading.ax-semibold{--ax-comp-heading-font-weight: 600}ax-heading.ax-bold{--ax-comp-heading-font-weight: 700}ax-heading.ax-heading-lightest ax-subtitle{opacity:74%}ax-heading.ax-heading-lighter ax-subtitle{opacity:76%}ax-heading.ax-heading-light ax-subtitle{opacity:78%}ax-heading.ax-heading-surface ax-subtitle{opacity:80%}ax-heading.ax-heading-dark ax-subtitle{opacity:82%}ax-heading.ax-heading-darker ax-subtitle{opacity:84%}ax-heading.ax-heading-darkest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lightest ax-subtitle{opacity:86%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-lighter ax-subtitle{opacity:84%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-light ax-subtitle{opacity:82%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-surface ax-subtitle{opacity:80%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-dark ax-subtitle{opacity:78%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darker ax-subtitle{opacity:76%}.ax-dark ax-heading.ax-heading-no-dark.ax-heading-darkest ax-subtitle{opacity:74%}@media screen and (max-width: 768px){ax-heading h1{font-size:1.5rem;line-height:1.875rem}ax-heading h2{font-size:1.375rem;line-height:1.75rem}ax-heading h3{font-size:1.25rem;line-height:1.625rem}ax-heading h4{line-height:1.5rem}ax-heading h5{line-height:1.375rem}ax-heading h6{line-height:1.25rem}ax-heading p,ax-heading ax-subtitle{line-height:1.5rem}}\n"] }]
247
251
  }], propDecorators: { __hostClass: [{
248
252
  type: HostBinding,
249
253
  args: ['class']
@@ -270,12 +274,18 @@ class AXDecoratorIconComponent extends MXBaseComponent {
270
274
  this.cdr.detectChanges();
271
275
  return `${this.icon}`;
272
276
  }
273
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorIconComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
274
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXDecoratorIconComponent, isStandalone: true, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["ax-icon{display:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
277
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorIconComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
278
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: AXDecoratorIconComponent, isStandalone: true, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, providers: [
279
+ { provide: 'ax-icon', useExisting: AXDecoratorIconComponent },
280
+ { provide: AXComponent, useExisting: AXDecoratorIconComponent },
281
+ ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["ax-icon{display:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
275
282
  }
276
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
277
284
  type: Component,
278
- args: [{ selector: 'ax-icon', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }], styles: ["ax-icon{display:inherit}\n"] }]
285
+ args: [{ selector: 'ax-icon', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
286
+ { provide: 'ax-icon', useExisting: AXDecoratorIconComponent },
287
+ { provide: AXComponent, useExisting: AXDecoratorIconComponent },
288
+ ], styles: ["ax-icon{display:inherit}\n"] }]
279
289
  }], propDecorators: { icon: [{
280
290
  type: Input
281
291
  }], __iconClass: [{
@@ -294,8 +304,8 @@ const COMPONENT = [
294
304
  ];
295
305
  const MODULES = [CommonModule];
296
306
  class AXDecoratorModule {
297
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
298
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorModule, imports: [CommonModule, AXDecoratorIconComponent,
307
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
308
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorModule, imports: [CommonModule, AXDecoratorIconComponent,
299
309
  AXDecoratorClearButtonComponent,
300
310
  AXDecoratorCloseButtonComponent,
301
311
  AXDecoratorGenericComponent,
@@ -308,9 +318,9 @@ class AXDecoratorModule {
308
318
  AXDecoratorFullScreenButtonComponent,
309
319
  AXDecoratorHeadingComponent,
310
320
  AXDecoratorColorIndicatorComponent] }); }
311
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorModule, imports: [MODULES] }); }
321
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorModule, imports: [MODULES] }); }
312
322
  }
313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDecoratorModule, decorators: [{
323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDecoratorModule, decorators: [{
314
324
  type: NgModule,
315
325
  args: [{
316
326
  imports: [...MODULES, ...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../packages/components/decorators/src/lib/components/clear-button/clear-button.component.ts","../../../../packages/components/decorators/src/lib/components/close-button/close-button.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.html","../../../../packages/components/decorators/src/lib/components/full-screen/full-screen-button.component.ts","../../../../packages/components/decorators/src/lib/components/generic-content.component.ts","../../../../packages/components/decorators/src/lib/components/heading/heading.component.ts","../../../../packages/components/decorators/src/lib/components/icon/icon.component.ts","../../../../packages/components/decorators/src/lib/decorators.module.ts","../../../../packages/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n styles: `\n ax-clear-button {\n max-width: fit-content;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass],\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-clear';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden =\n this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n input,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button\n type=\"button\"\n role=\"button\"\n [attr.aria-label]=\"closeAll() ? 'Close All' : 'Close'\"\n [title]=\"closeAll() ? 'Close All' : 'Close'\"\n >\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass],\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n // @Inject(AXClosbaleComponent) private _parent?: AXClosbaleComponent,\n closeAll = input(false);\n\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClosbaleComponent)\n private _parent?: AXClosbaleComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (this.closeAll()) {\n this._parent?.closeAll();\n } else {\n this._parent?.close();\n }\n }\n}\n","import { Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-color-indicator',\n templateUrl: './color-indicator.component.html',\n styleUrls: ['./color-indicator.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorColorIndicatorComponent {\n previewColor = input();\n}\n","<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, signal, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-fullscreen-button',\n template: ` <button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon {{ this.isActive() ? 'ax-icon-close' : 'ax-icon-full-screen' }} \"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {\n isActive = signal(false);\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-subtitle', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { AXSurfaceType, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, input, ViewEncapsulation } from '@angular/core';\n\ntype AXHeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-heading',\n template: `<ng-content></ng-content>`,\n styleUrls: ['heading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorHeadingComponent extends MXBaseComponent {\n darkMode = input(true);\n color = input<AXSurfaceType>('lightest');\n weight = input<AXHeadingWeight>('semibold');\n\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-heading-${this.color()} ax-${this.weight()} ${!this.darkMode() && 'ax-heading-no-dark'}`;\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button/close-button.component';\nimport { AXDecoratorColorIndicatorComponent } from './components/color-indicator/color-indicator.component';\nimport { AXDecoratorFullScreenButtonComponent } from './components/full-screen/full-screen-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorHeadingComponent } from './components/heading/heading.component';\nimport { AXDecoratorIconComponent } from './components/icon/icon.component';\n\nconst COMPONENT = [\n AXDecoratorIconComponent,\n AXDecoratorClearButtonComponent,\n AXDecoratorCloseButtonComponent,\n AXDecoratorGenericComponent,\n AXDecoratorFullScreenButtonComponent,\n AXDecoratorHeadingComponent,\n AXDecoratorColorIndicatorComponent,\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA;;;;AAIG;AAeG,MAAO,+BAAgC,SAAQ,eAAe,CAAA;AAClE;;AAEG;AACH,IAAA,WAAA,CAGU,OAA8B,EAAA;AAEtC,QAAA,KAAK,EAAE;QAFC,IAAO,CAAA,OAAA,GAAP,OAAO;AAKjB;;AAEG;QACK,IAAK,CAAA,KAAA,GAAG,uBAAuB;;AAEvC;;AAEG;AACH,IAAA,IACW,I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AE,EAAE;AACd,iBAAA;;;ACzBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../packages/components/decorators/src/lib/components/clear-button/clear-button.component.ts","../../../../packages/components/decorators/src/lib/components/close-button/close-button.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.html","../../../../packages/components/decorators/src/lib/components/full-screen/full-screen-button.component.ts","../../../../packages/components/decorators/src/lib/components/generic-content.component.ts","../../../../packages/components/decorators/src/lib/components/heading/heading.component.ts","../../../../packages/components/decorators/src/lib/components/icon/icon.component.ts","../../../../packages/components/decorators/src/lib/decorators.module.ts","../../../../packages/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n styles: `\n ax-clear-button {\n max-width: fit-content;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass],\n providers: [{ provide: AXComponent, useExisting: AXDecoratorClearButtonComponent }],\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-clear';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden =\n this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick(e: MouseEvent) {\n e.stopPropagation();\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n input,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button\n type=\"button\"\n role=\"button\"\n [attr.aria-label]=\"closeAll() ? 'Close All' : 'Close'\"\n [title]=\"closeAll() ? 'Close All' : 'Close'\"\n >\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass],\n providers: [{ provide: AXComponent, useExisting: AXDecoratorCloseButtonComponent }],\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n // @Inject(AXClosableComponent) private _parent?: AXClosableComponent,\n closeAll = input(false);\n\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClosableComponent)\n private _parent?: AXClosableComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (this.closeAll()) {\n this._parent?.closeAll();\n } else {\n this._parent?.close();\n }\n }\n}\n","import { AXComponent } from '@acorex/cdk/common';\nimport { Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-color-indicator',\n templateUrl: './color-indicator.component.html',\n styleUrls: ['./color-indicator.component.scss'],\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorColorIndicatorComponent }],\n})\nexport class AXDecoratorColorIndicatorComponent {\n previewColor = input();\n}\n","<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, signal, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-fullscreen-button',\n template: ` <button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon {{ this.isActive() ? 'ax-icon-close' : 'ax-icon-full-screen' }} \"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorFullScreenButtonComponent }],\n})\nexport class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {\n isActive = signal(false);\n}\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-subtitle', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n { provide: AXComponent, useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { AXComponent, AXSurfaceType, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, input, ViewEncapsulation } from '@angular/core';\n\ntype AXHeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-heading',\n template: `<ng-content></ng-content>`,\n styleUrls: ['heading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorHeadingComponent }],\n})\nexport class AXDecoratorHeadingComponent extends MXBaseComponent {\n darkMode = input(true);\n color = input<AXSurfaceType>('lightest');\n weight = input<AXHeadingWeight>('semibold');\n\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-heading-${this.color()} ax-${this.weight()} ${!this.darkMode() && 'ax-heading-no-dark'}`;\n }\n}\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-icon', useExisting: AXDecoratorIconComponent },\n { provide: AXComponent, useExisting: AXDecoratorIconComponent },\n ],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button/close-button.component';\nimport { AXDecoratorColorIndicatorComponent } from './components/color-indicator/color-indicator.component';\nimport { AXDecoratorFullScreenButtonComponent } from './components/full-screen/full-screen-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorHeadingComponent } from './components/heading/heading.component';\nimport { AXDecoratorIconComponent } from './components/icon/icon.component';\n\nconst COMPONENT = [\n AXDecoratorIconComponent,\n AXDecoratorClearButtonComponent,\n AXDecoratorCloseButtonComponent,\n AXDecoratorGenericComponent,\n AXDecoratorFullScreenButtonComponent,\n AXDecoratorHeadingComponent,\n AXDecoratorColorIndicatorComponent,\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA;;;;AAIG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orex/cdk/common';
1
2
  import { AXButtonComponent, AXButtonModule } from '@acorex/components/button';
2
- import { MXBaseComponent, AXHotkeyDirective, AXAutoFocusDirective, AXClosbaleComponent, AXCommonModule, AXHotkeysService } from '@acorex/components/common';
3
3
  import { AXDecoratorGenericComponent, AXDecoratorModule } from '@acorex/components/decorators';
4
4
  import { AXLoadingComponent, AXLoadingModule } from '@acorex/components/loading';
5
5
  import { AXTranslatorPipe, AXTranslationModule } from '@acorex/core/translation';
@@ -57,19 +57,27 @@ class AXDialogComponent extends MXBaseComponent {
57
57
  get __hostClass() {
58
58
  return `ax-${this.data.type}`;
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXDialogComponent, isStandalone: true, selector: "ax-dialog", host: { properties: { "attr.tabIndex": "this.tabIndex", "class": "this.__hostClass" } }, providers: [
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.11", type: AXDialogComponent, isStandalone: true, selector: "ax-dialog", host: { properties: { "attr.tabIndex": "this.tabIndex", "class": "this.__hostClass" } }, providers: [
62
62
  {
63
- provide: AXClosbaleComponent,
63
+ provide: AXClosableComponent,
64
+ useExisting: AXDialogComponent,
65
+ },
66
+ {
67
+ provide: AXComponent,
64
68
  useExisting: AXDialogComponent,
65
69
  },
66
70
  ], usesInheritance: true, ngImport: i0, template: "<div\n class=\"ax-dialog ax-orientation-{{ data.orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data.draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data.icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data.icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data.title }}</div>\n <div class=\"ax-dialog-content\">{{ data.content }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data.closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n <ax-footer>\n @for (button of data.buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n", styles: ["ax-dialog.ax-primary{--ax-comp-dialog-icon-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-dialog-icon-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-dialog-border-color: var(--ax-sys-color-border-primary-surface)}ax-dialog.ax-secondary{--ax-comp-dialog-icon-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-dialog-icon-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-dialog-border-color: var(--ax-sys-color-border-secondary-surface)}ax-dialog.ax-success{--ax-comp-dialog-icon-bg-color: var(--ax-sys-color-success-surface);--ax-comp-dialog-icon-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-dialog-border-color: var(--ax-sys-color-border-success-surface)}ax-dialog.ax-warning{--ax-comp-dialog-icon-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-dialog-icon-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-dialog-border-color: var(--ax-sys-color-border-warning-surface)}ax-dialog.ax-danger{--ax-comp-dialog-icon-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-dialog-icon-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-dialog-border-color: var(--ax-sys-color-border-danger-surface)}.ax-dialog{position:relative;display:flex;width:93vw;flex-direction:column;overflow:hidden;border-radius:var(--ax-sys-border-radius);border-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface));background-color:rgba(var(--ax-sys-color-lightest-surface));color:rgba(var(--ax-sys-color-on-lightest-surface));outline:2px solid transparent;outline-offset:2px}@media (min-width: 768px){.ax-dialog{width:75vw}}@media (min-width: 1024px){.ax-dialog{width:50vw}}@media (min-width: 1280px){.ax-dialog{width:35vw}}@media (min-width: 1536px){.ax-dialog{width:25vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:1rem}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{margin:0;text-align:center}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1 1 0%}.ax-dialog .ax-dialog-content-wrapper{display:flex;gap:.5rem;padding:1.5rem 1.5rem 1rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{background-color:rgba(var(--ax-comp-dialog-icon-bg-color));color:rgba(var(--ax-comp-dialog-icon-text-color));border-width:1px;border-color:rgba(var(--ax-comp-dialog-border-color));border-style:solid;display:flex;height:3rem;width:3rem;cursor:move;align-items:center;justify-content:center;border-radius:9999px;font-size:1.5rem;line-height:2rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{margin-inline-start:1rem;flex:1 1 0%}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.5rem;font-weight:500}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:.875rem;line-height:1.25rem}.ax-dialog ax-footer{justify-content:flex-end;padding:.75rem 1.5rem}\n"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "directive", type: AXHotkeyDirective, selector: "[axHotkey]", inputs: ["axHotkey"] }, { kind: "directive", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "component", type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
67
71
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogComponent, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogComponent, decorators: [{
69
73
  type: Component,
70
74
  args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
71
75
  {
72
- provide: AXClosbaleComponent,
76
+ provide: AXClosableComponent,
77
+ useExisting: AXDialogComponent,
78
+ },
79
+ {
80
+ provide: AXComponent,
73
81
  useExisting: AXDialogComponent,
74
82
  },
75
83
  ], imports: [
@@ -252,10 +260,10 @@ class AXDialogService {
252
260
  },
253
261
  };
254
262
  }
255
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
256
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogService }); }
263
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
264
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogService }); }
257
265
  }
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogService, decorators: [{
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogService, decorators: [{
259
267
  type: Injectable
260
268
  }] });
261
269
 
@@ -272,8 +280,8 @@ const MODULES = [
272
280
  AXTranslationModule,
273
281
  ];
274
282
  class AXDialogModule {
275
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
276
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXDialogModule, imports: [CommonModule,
283
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
284
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXDialogModule, imports: [CommonModule,
277
285
  AXCommonModule,
278
286
  DragDropModule,
279
287
  A11yModule,
@@ -282,9 +290,9 @@ class AXDialogModule {
282
290
  AXLoadingModule,
283
291
  DialogModule,
284
292
  AXTranslationModule, AXDialogComponent], exports: [AXDialogComponent] }); }
285
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogModule, providers: [AXDialogService, AXHotkeysService], imports: [MODULES, COMPONENT] }); }
293
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogModule, providers: [AXDialogService, AXHotkeysService], imports: [MODULES, COMPONENT] }); }
286
294
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXDialogModule, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXDialogModule, decorators: [{
288
296
  type: NgModule,
289
297
  args: [{
290
298
  imports: [...MODULES, ...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-dialog.mjs","sources":["../../../../packages/components/dialog/src/lib/dialog.component.ts","../../../../packages/components/dialog/src/lib/dialog.component.html","../../../../packages/components/dialog/src/lib/dialog.service.ts","../../../../packages/components/dialog/src/lib/dialog.module.ts","../../../../packages/components/dialog/src/acorex-components-dialog.ts"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\nimport {\n AXAutoFocusDirective,\n AXClosbaleComponent,\n AXComponentCloseEvent,\n AXHotkeyDirective,\n MXBaseComponent,\n} from '@acorex/components/common';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\nimport { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Inject, ViewEncapsulation } from '@angular/core';\nimport { AXDialogButtonItem, AXDialogData } from './dialog.class';\n\n/**\n * A dialog component that provides a modal interface for user interactions.\n * @category Components\n */\n@Component({\n selector: 'ax-dialog',\n templateUrl: './dialog.component.html',\n styleUrls: ['./dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosbaleComponent,\n useExisting: AXDialogComponent,\n },\n ],\n imports: [\n CdkDrag,\n CdkDragHandle,\n AXDecoratorGenericComponent,\n AXButtonComponent,\n AXHotkeyDirective,\n AXAutoFocusDirective,\n AXLoadingComponent,\n AsyncPipe,\n AXTranslatorPipe,\n ],\n})\nexport class AXDialogComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n protected _icon: string;\n\n /**\n * @ignore\n */\n constructor(\n @Inject(DIALOG_DATA)\n protected data: AXDialogData,\n private dialogRef: DialogRef<AXComponentCloseEvent>,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n protected _handleButtonClick(button: AXDialogButtonItem) {\n if (button.onClick) {\n button.onClick({ source: button });\n }\n }\n\n /**\n * @ignore\n */\n protected _hasAutoFocus(button: AXDialogButtonItem) {\n const result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);\n return result;\n }\n\n /**\n * Closes the dialog.\n * @ignore\n */\n close() {\n this.dialogRef.close();\n }\n\n /**\n * @ignore\n */\n @HostBinding('attr.tabIndex') get tabIndex() {\n return '-1';\n }\n\n /** @ignore */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-${this.data.type}`;\n }\n}\n","<div\n class=\"ax-dialog ax-orientation-{{ data.orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data.draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data.icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data.icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data.title }}</div>\n <div class=\"ax-dialog-content\">{{ data.content }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data.closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n <ax-footer>\n @for (button of data.buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n","import { AXStyleColorType } from '@acorex/components/common';\nimport { AXHtmlUtil } from '@acorex/core/utils';\nimport { Dialog } from '@angular/cdk/dialog';\nimport { Injectable, inject } from '@angular/core';\nimport { AXDialogConfig, AXDialogRef } from './dialog.class';\nimport { AXDialogComponent } from './dialog.component';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Injectable()\nexport class AXDialogService {\n private dialog: Dialog = inject(Dialog);\n\n private detectIcon(type) {\n let icon: string;\n switch (type) {\n case 'success':\n icon = 'ax-icon ax-icon-check';\n break;\n case 'danger':\n icon = 'ax-icon ax-icon-error';\n break;\n case 'warning':\n icon = 'ax-icon ax-icon-warning';\n break;\n default:\n icon = 'ax-icon ax-icon-info';\n break;\n }\n return icon;\n }\n /**\n * Show an alert box with 'Okay' button.\n */\n alert(\n title: string,\n content: string,\n type: AXStyleColorType = 'primary',\n orientation: 'horizontal' | 'vertical' = 'horizontal',\n draggable?: boolean,\n ): Promise<void> {\n return new Promise((resolve) => {\n const popup = this.open({\n title,\n type: type,\n content,\n icon: this.detectIcon(type),\n orientation,\n draggable,\n buttons: [\n {\n name: 'confirm',\n text: 'okay',\n color: type,\n autofocus: true,\n onClick: () => {\n popup.close();\n if (resolve) {\n resolve();\n }\n },\n },\n ],\n });\n });\n }\n\n /**\n * Show a confirm box with 'Okay' & 'Cancel' buttons.\n */\n\n confirm(\n title: string,\n content: string,\n type: AXStyleColorType = 'primary',\n orientation: 'horizontal' | 'vertical' = 'horizontal',\n draggable?: boolean,\n ): Promise<{ result: boolean }> {\n return new Promise<{ result: boolean }>((resolve) => {\n const popup = this.open({\n title,\n content,\n type,\n icon: this.detectIcon(type),\n orientation,\n draggable,\n buttons: [\n {\n name: 'confirm',\n text: 'okay',\n color: type,\n autofocus: true,\n onClick: () => {\n popup.close();\n if (resolve) {\n resolve({ result: true });\n }\n },\n },\n {\n name: 'cancel',\n text: 'cancel',\n color: 'default',\n onClick: () => {\n popup.close();\n if (resolve) {\n resolve({ result: false });\n }\n },\n hotkey: {\n Escape: () => {\n popup.close();\n if (resolve) {\n resolve({ result: false });\n }\n },\n },\n },\n ],\n });\n });\n }\n\n /**\n * Show a custom dialog box.\n */\n show(options: AXDialogConfig): Promise<{ name: string }> {\n return new Promise((resolve) => {\n options.orientation = options.orientation || 'horizontal';\n options.icon = options.icon ?? this.detectIcon(options.type);\n\n const popup = this.open(options);\n\n options.buttons?.forEach((b) => {\n const orginalClick = b.onClick;\n b.onClick = () => {\n const e = { source: b, handled: false };\n if (orginalClick) {\n orginalClick(e);\n if (e.handled) {\n resolve({ name: b.name ?? b.text });\n } else {\n popup.close();\n resolve({ name: b.name ?? b.text });\n }\n } else if (resolve) {\n popup.close();\n resolve({ name: b.name ?? b.text });\n } else {\n popup.close();\n }\n };\n });\n });\n }\n\n open(config: AXDialogConfig): AXDialogRef {\n config.orientation = config.orientation || 'horizontal';\n config.icon = config.icon ?? this.detectIcon(config.type);\n\n const dialogRef = this.dialog.open(AXDialogComponent, {\n data: config,\n role: 'alertdialog',\n ariaModal: true,\n restoreFocus: true,\n closeOnNavigation: true,\n closeOnDestroy: true,\n hasBackdrop: true,\n disableClose: true,\n panelClass: ['ax-animate-bounceIn', 'ax-animate-faster'],\n direction: config.direction ? config.direction : AXHtmlUtil.isRtl() ? 'rtl' : 'ltr',\n });\n return {\n close: () => {\n dialogRef.componentInstance?.close();\n },\n };\n }\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCommonModule, AXHotkeysService } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { DialogModule } from '@angular/cdk/dialog';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDialogComponent } from './dialog.component';\nimport { AXDialogService } from './dialog.service';\n\nconst COMPONENT = [AXDialogComponent];\nconst MODULES = [\n CommonModule,\n AXCommonModule,\n DragDropModule,\n A11yModule,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n DialogModule,\n AXTranslationModule,\n];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [AXDialogService, AXHotkeysService],\n})\nexport class AXDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAiBA;;;AAGG;AAyBG,MAAO,iBAAkB,SAAQ,eAAe,CAAA;AAMpD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SAAA,EAFd,CAAC,eAAe,EAAE,gBAAgB,CAAC,EAAA,OAAA,EAAA,CAFjC,OAAO,EAAK,SAAS,CAAA,EAAA,CAAA,CAAA;;4FAIvB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;AAC/C,iBAAA;;;AC9BD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-dialog.mjs","sources":["../../../../packages/components/dialog/src/lib/dialog.component.ts","../../../../packages/components/dialog/src/lib/dialog.component.html","../../../../packages/components/dialog/src/lib/dialog.service.ts","../../../../packages/components/dialog/src/lib/dialog.module.ts","../../../../packages/components/dialog/src/acorex-components-dialog.ts"],"sourcesContent":["import {\n AXAutoFocusDirective,\n AXClosableComponent,\n AXComponent,\n AXComponentCloseEvent,\n AXHotkeyDirective,\n MXBaseComponent,\n} from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\nimport { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Inject, ViewEncapsulation } from '@angular/core';\nimport { AXDialogButtonItem, AXDialogData } from './dialog.class';\n\n/**\n * A dialog component that provides a modal interface for user interactions.\n * @category Components\n */\n@Component({\n selector: 'ax-dialog',\n templateUrl: './dialog.component.html',\n styleUrls: ['./dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosableComponent,\n useExisting: AXDialogComponent,\n },\n {\n provide: AXComponent,\n useExisting: AXDialogComponent,\n },\n ],\n imports: [\n CdkDrag,\n CdkDragHandle,\n AXDecoratorGenericComponent,\n AXButtonComponent,\n AXHotkeyDirective,\n AXAutoFocusDirective,\n AXLoadingComponent,\n AsyncPipe,\n AXTranslatorPipe,\n ],\n})\nexport class AXDialogComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n protected _icon: string;\n\n /**\n * @ignore\n */\n constructor(\n @Inject(DIALOG_DATA)\n protected data: AXDialogData,\n private dialogRef: DialogRef<AXComponentCloseEvent>,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n protected _handleButtonClick(button: AXDialogButtonItem) {\n if (button.onClick) {\n button.onClick({ source: button });\n }\n }\n\n /**\n * @ignore\n */\n protected _hasAutoFocus(button: AXDialogButtonItem) {\n const result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);\n return result;\n }\n\n /**\n * Closes the dialog.\n * @ignore\n */\n close() {\n this.dialogRef.close();\n }\n\n /**\n * @ignore\n */\n @HostBinding('attr.tabIndex') get tabIndex() {\n return '-1';\n }\n\n /** @ignore */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-${this.data.type}`;\n }\n}\n","<div\n class=\"ax-dialog ax-orientation-{{ data.orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data.draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data.icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data.icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data.title }}</div>\n <div class=\"ax-dialog-content\">{{ data.content }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data.closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n <ax-footer>\n @for (button of data.buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n","import { AXStyleColorType } from '@acorex/cdk/common';\nimport { AXHtmlUtil } from '@acorex/core/utils';\nimport { Dialog } from '@angular/cdk/dialog';\nimport { Injectable, inject } from '@angular/core';\nimport { AXDialogConfig, AXDialogRef } from './dialog.class';\nimport { AXDialogComponent } from './dialog.component';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Injectable()\nexport class AXDialogService {\n private dialog: Dialog = inject(Dialog);\n\n private detectIcon(type) {\n let icon: string;\n switch (type) {\n case 'success':\n icon = 'ax-icon ax-icon-check';\n break;\n case 'danger':\n icon = 'ax-icon ax-icon-error';\n break;\n case 'warning':\n icon = 'ax-icon ax-icon-warning';\n break;\n default:\n icon = 'ax-icon ax-icon-info';\n break;\n }\n return icon;\n }\n /**\n * Show an alert box with 'Okay' button.\n */\n alert(\n title: string,\n content: string,\n type: AXStyleColorType = 'primary',\n orientation: 'horizontal' | 'vertical' = 'horizontal',\n draggable?: boolean,\n ): Promise<void> {\n return new Promise((resolve) => {\n const popup = this.open({\n title,\n type: type,\n content,\n icon: this.detectIcon(type),\n orientation,\n draggable,\n buttons: [\n {\n name: 'confirm',\n text: 'okay',\n color: type,\n autofocus: true,\n onClick: () => {\n popup.close();\n if (resolve) {\n resolve();\n }\n },\n },\n ],\n });\n });\n }\n\n /**\n * Show a confirm box with 'Okay' & 'Cancel' buttons.\n */\n\n confirm(\n title: string,\n content: string,\n type: AXStyleColorType = 'primary',\n orientation: 'horizontal' | 'vertical' = 'horizontal',\n draggable?: boolean,\n ): Promise<{ result: boolean }> {\n return new Promise<{ result: boolean }>((resolve) => {\n const popup = this.open({\n title,\n content,\n type,\n icon: this.detectIcon(type),\n orientation,\n draggable,\n buttons: [\n {\n name: 'confirm',\n text: 'okay',\n color: type,\n autofocus: true,\n onClick: () => {\n popup.close();\n if (resolve) {\n resolve({ result: true });\n }\n },\n },\n {\n name: 'cancel',\n text: 'cancel',\n color: 'default',\n onClick: () => {\n popup.close();\n if (resolve) {\n resolve({ result: false });\n }\n },\n hotkey: {\n Escape: () => {\n popup.close();\n if (resolve) {\n resolve({ result: false });\n }\n },\n },\n },\n ],\n });\n });\n }\n\n /**\n * Show a custom dialog box.\n */\n show(options: AXDialogConfig): Promise<{ name: string }> {\n return new Promise((resolve) => {\n options.orientation = options.orientation || 'horizontal';\n options.icon = options.icon ?? this.detectIcon(options.type);\n\n const popup = this.open(options);\n\n options.buttons?.forEach((b) => {\n const orginalClick = b.onClick;\n b.onClick = () => {\n const e = { source: b, handled: false };\n if (orginalClick) {\n orginalClick(e);\n if (e.handled) {\n resolve({ name: b.name ?? b.text });\n } else {\n popup.close();\n resolve({ name: b.name ?? b.text });\n }\n } else if (resolve) {\n popup.close();\n resolve({ name: b.name ?? b.text });\n } else {\n popup.close();\n }\n };\n });\n });\n }\n\n open(config: AXDialogConfig): AXDialogRef {\n config.orientation = config.orientation || 'horizontal';\n config.icon = config.icon ?? this.detectIcon(config.type);\n\n const dialogRef = this.dialog.open(AXDialogComponent, {\n data: config,\n role: 'alertdialog',\n ariaModal: true,\n restoreFocus: true,\n closeOnNavigation: true,\n closeOnDestroy: true,\n hasBackdrop: true,\n disableClose: true,\n panelClass: ['ax-animate-bounceIn', 'ax-animate-faster'],\n direction: config.direction ? config.direction : AXHtmlUtil.isRtl() ? 'rtl' : 'ltr',\n });\n return {\n close: () => {\n dialogRef.componentInstance?.close();\n },\n };\n }\n}\n","import { AXCommonModule, AXHotkeysService } from '@acorex/cdk/common';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { DialogModule } from '@angular/cdk/dialog';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDialogComponent } from './dialog.component';\nimport { AXDialogService } from './dialog.service';\n\nconst COMPONENT = [AXDialogComponent];\nconst MODULES = [\n CommonModule,\n AXCommonModule,\n DragDropModule,\n A11yModule,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n DialogModule,\n AXTranslationModule,\n];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [AXDialogService, AXHotkeysService],\n})\nexport class AXDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAkBA;;;AAGG;AA6BG,MAAO,iBAAkB,SAAQ,eAAe,CAAA;AAMpD;;AAEG;IACH,WAEY,CAAA,IAAkB,EACpB,SAA2C,EAAA;AAEnD,QAAA,KAAK,EAAE;QAHG,IAAI,CAAA,IAAA,GAAJ,IAAI;QACN,IAAS,CAAA,SAAA,GAAT,SAAS;;AAKnB;;AAEG;AACO,IAAA,kBAAkB,CAAC,MAA0B,EAAA;AACrD,QAAA,IAAI,MAAM,CAAC,OAAO,EAAE;YAClB,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;;;AAItC;;AAEG;AACO,IAAA,aAAa,CAAC,MAA0B,EAAA;AAChD,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KA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