@acorex/components 21.0.1-next.9 → 21.0.1-next.91

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 (343) hide show
  1. package/fab/README.md +3 -0
  2. package/fesm2022/acorex-components-accordion.mjs +19 -22
  3. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  4. package/fesm2022/acorex-components-action-sheet.mjs +170 -52
  5. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  6. package/fesm2022/acorex-components-alert.mjs +13 -13
  7. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  8. package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
  9. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  10. package/fesm2022/acorex-components-audio-wave.mjs +11 -10
  11. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  12. package/fesm2022/acorex-components-autocomplete.mjs +9 -9
  13. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  14. package/fesm2022/acorex-components-avatar.mjs +12 -12
  15. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  16. package/fesm2022/acorex-components-badge.mjs +9 -9
  17. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  18. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  19. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  20. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  21. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  22. package/fesm2022/acorex-components-button-group.mjs +39 -24
  23. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  24. package/fesm2022/acorex-components-button.mjs +20 -20
  25. package/fesm2022/acorex-components-button.mjs.map +1 -1
  26. package/fesm2022/acorex-components-calendar.mjs +17 -17
  27. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  28. package/fesm2022/acorex-components-check-box.mjs +10 -10
  29. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  30. package/fesm2022/acorex-components-chips.mjs +12 -14
  31. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  32. package/fesm2022/acorex-components-circular-progress.mjs +12 -10
  33. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  34. package/fesm2022/acorex-components-code-editor.mjs +13 -13
  35. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  36. package/fesm2022/acorex-components-color-box.mjs +9 -9
  37. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  38. package/fesm2022/acorex-components-color-palette.mjs +33 -38
  39. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  40. package/fesm2022/acorex-components-command.mjs +31 -14
  41. package/fesm2022/acorex-components-command.mjs.map +1 -1
  42. package/fesm2022/acorex-components-comment.mjs +94 -91
  43. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  44. package/fesm2022/acorex-components-conversation.mjs +59 -59
  45. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  46. package/fesm2022/acorex-components-conversation2.mjs +5860 -4756
  47. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  48. package/fesm2022/acorex-components-cron-job.mjs +48 -48
  49. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  50. package/fesm2022/acorex-components-data-list.mjs +4 -4
  51. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  52. package/fesm2022/acorex-components-data-pager.mjs +33 -33
  53. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  54. package/fesm2022/acorex-components-data-table.mjs +211 -531
  55. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  56. package/fesm2022/acorex-components-datetime-box.mjs +9 -10
  57. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  58. package/fesm2022/acorex-components-datetime-input.mjs +12 -12
  59. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  60. package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
  61. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  62. package/fesm2022/acorex-components-decorators.mjs +44 -37
  63. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  64. package/fesm2022/acorex-components-dialog.mjs +12 -12
  65. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  66. package/fesm2022/acorex-components-drawer.mjs +15 -16
  67. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  68. package/fesm2022/acorex-components-dropdown-button.mjs +19 -11
  69. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  70. package/fesm2022/acorex-components-dropdown.mjs +21 -51
  71. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  72. package/fesm2022/acorex-components-editor.mjs +11 -11
  73. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  74. package/fesm2022/acorex-components-fab.mjs +114 -0
  75. package/fesm2022/acorex-components-fab.mjs.map +1 -0
  76. package/fesm2022/acorex-components-flow-chart.mjs +20 -20
  77. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  78. package/fesm2022/acorex-components-form.mjs +49 -43
  79. package/fesm2022/acorex-components-form.mjs.map +1 -1
  80. package/fesm2022/acorex-components-grid-layout-builder.mjs +44 -23
  81. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  82. package/fesm2022/acorex-components-image-editor.mjs +44 -44
  83. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  84. package/fesm2022/acorex-components-image.mjs +9 -9
  85. package/fesm2022/acorex-components-image.mjs.map +1 -1
  86. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  87. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  88. package/fesm2022/acorex-components-kanban.mjs +19 -32
  89. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  90. package/fesm2022/acorex-components-kbd.mjs +29 -11
  91. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  92. package/fesm2022/acorex-components-label.mjs +9 -9
  93. package/fesm2022/acorex-components-label.mjs.map +1 -1
  94. package/fesm2022/acorex-components-list.mjs +69 -21
  95. package/fesm2022/acorex-components-list.mjs.map +1 -1
  96. package/fesm2022/acorex-components-loading-dialog.mjs +11 -11
  97. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  98. package/fesm2022/acorex-components-loading.mjs +92 -52
  99. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  100. package/fesm2022/acorex-components-map.mjs +14 -14
  101. package/fesm2022/acorex-components-map.mjs.map +1 -1
  102. package/fesm2022/acorex-components-media-viewer.mjs +294 -92
  103. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  104. package/fesm2022/acorex-components-menu.mjs +56 -36
  105. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  106. package/fesm2022/{acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs → acorex-components-modal-acorex-components-modal-DWNqU6or.mjs} +23 -23
  107. package/fesm2022/acorex-components-modal-acorex-components-modal-DWNqU6or.mjs.map +1 -0
  108. package/fesm2022/acorex-components-modal-modal-content.component-DplJbJyk.mjs +214 -0
  109. package/fesm2022/acorex-components-modal-modal-content.component-DplJbJyk.mjs.map +1 -0
  110. package/fesm2022/acorex-components-modal.mjs +1 -1
  111. package/fesm2022/acorex-components-navbar.mjs +9 -9
  112. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  113. package/fesm2022/acorex-components-notification.mjs +28 -24
  114. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  115. package/fesm2022/acorex-components-number-box.mjs +45 -26
  116. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  117. package/fesm2022/acorex-components-otp.mjs +10 -10
  118. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  119. package/fesm2022/acorex-components-page.mjs +10 -10
  120. package/fesm2022/acorex-components-page.mjs.map +1 -1
  121. package/fesm2022/acorex-components-paint.mjs +55 -39
  122. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  123. package/fesm2022/acorex-components-password-box.mjs +19 -15
  124. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  125. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  126. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  127. package/fesm2022/acorex-components-phone-box.mjs +88 -41
  128. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  129. package/fesm2022/acorex-components-picker.mjs +24 -23
  130. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  131. package/fesm2022/acorex-components-popover.mjs +132 -40
  132. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  133. package/fesm2022/acorex-components-popup.mjs +94 -101
  134. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  135. package/fesm2022/acorex-components-progress-bar.mjs +11 -9
  136. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  137. package/fesm2022/acorex-components-qrcode.mjs +9 -9
  138. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  139. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  140. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  141. package/fesm2022/acorex-components-radio.mjs +10 -9
  142. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  143. package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
  144. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  145. package/fesm2022/acorex-components-range-slider.mjs +10 -10
  146. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  147. package/fesm2022/acorex-components-rate-picker.mjs +20 -35
  148. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  149. package/fesm2022/acorex-components-rest-api-generator.mjs +27 -27
  150. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  151. package/fesm2022/acorex-components-result.mjs +8 -8
  152. package/fesm2022/acorex-components-result.mjs.map +1 -1
  153. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  154. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  155. package/fesm2022/acorex-components-rrule.mjs +9 -9
  156. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  157. package/fesm2022/acorex-components-scheduler-picker.mjs +158 -164
  158. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  159. package/fesm2022/acorex-components-scheduler.mjs +159 -83
  160. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  161. package/fesm2022/acorex-components-search-box.mjs +16 -10
  162. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  163. package/fesm2022/acorex-components-select-box.mjs +28 -9
  164. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  165. package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
  166. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  167. package/fesm2022/acorex-components-selection-list.mjs +9 -9
  168. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  169. package/fesm2022/acorex-components-side-menu.mjs +81 -24
  170. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  171. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  172. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  173. package/fesm2022/acorex-components-slider.mjs +12 -12
  174. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  175. package/fesm2022/acorex-components-sliding-item.mjs +16 -16
  176. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  177. package/fesm2022/acorex-components-step-wizard.mjs +14 -14
  178. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  179. package/fesm2022/acorex-components-switch.mjs +14 -14
  180. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  181. package/fesm2022/acorex-components-tabs.mjs +15 -15
  182. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  183. package/fesm2022/acorex-components-tag-box.mjs +9 -9
  184. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  185. package/fesm2022/acorex-components-tag.mjs +9 -9
  186. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  187. package/fesm2022/acorex-components-text-area.mjs +9 -9
  188. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  189. package/fesm2022/acorex-components-text-box.mjs +51 -129
  190. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  191. package/fesm2022/acorex-components-time-duration.mjs +40 -25
  192. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  193. package/fesm2022/acorex-components-time-line.mjs +12 -12
  194. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  195. package/fesm2022/acorex-components-toast.mjs +12 -12
  196. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  197. package/fesm2022/acorex-components-toolbar.mjs +9 -9
  198. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  199. package/fesm2022/acorex-components-tooltip.mjs +76 -64
  200. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  201. package/fesm2022/acorex-components-tree-view.mjs +32 -11
  202. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  203. package/fesm2022/acorex-components-uploader.mjs +16 -16
  204. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  205. package/fesm2022/acorex-components-video-player.mjs +8 -8
  206. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  207. package/fesm2022/acorex-components-wysiwyg.mjs +43 -43
  208. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  209. package/fesm2022/acorex-components.mjs.map +1 -1
  210. package/package.json +146 -175
  211. package/{accordion/index.d.ts → types/acorex-components-accordion.d.ts} +7 -4
  212. package/{action-sheet/index.d.ts → types/acorex-components-action-sheet.d.ts} +91 -31
  213. package/{button-group/index.d.ts → types/acorex-components-button-group.d.ts} +14 -12
  214. package/{button/index.d.ts → types/acorex-components-button.d.ts} +3 -3
  215. package/{calendar/index.d.ts → types/acorex-components-calendar.d.ts} +1 -1
  216. package/{check-box/index.d.ts → types/acorex-components-check-box.d.ts} +1 -1
  217. package/{chips/index.d.ts → types/acorex-components-chips.d.ts} +3 -8
  218. package/{code-editor/index.d.ts → types/acorex-components-code-editor.d.ts} +1 -1
  219. package/{color-palette/index.d.ts → types/acorex-components-color-palette.d.ts} +1 -2
  220. package/{command/index.d.ts → types/acorex-components-command.d.ts} +35 -13
  221. package/{comment/index.d.ts → types/acorex-components-comment.d.ts} +23 -22
  222. package/{conversation/index.d.ts → types/acorex-components-conversation.d.ts} +1 -1
  223. package/{conversation2/index.d.ts → types/acorex-components-conversation2.d.ts} +3183 -3079
  224. package/{data-pager/index.d.ts → types/acorex-components-data-pager.d.ts} +1 -1
  225. package/{data-table/index.d.ts → types/acorex-components-data-table.d.ts} +48 -258
  226. package/{datetime-input/index.d.ts → types/acorex-components-datetime-input.d.ts} +1 -1
  227. package/{dropdown-button/index.d.ts → types/acorex-components-dropdown-button.d.ts} +4 -2
  228. package/{dropdown/index.d.ts → types/acorex-components-dropdown.d.ts} +2 -10
  229. package/types/acorex-components-fab.d.ts +50 -0
  230. package/{form/index.d.ts → types/acorex-components-form.d.ts} +25 -24
  231. package/{grid-layout-builder/index.d.ts → types/acorex-components-grid-layout-builder.d.ts} +16 -2
  232. package/{kanban/index.d.ts → types/acorex-components-kanban.d.ts} +2 -1
  233. package/types/acorex-components-kbd.d.ts +29 -0
  234. package/{list/index.d.ts → types/acorex-components-list.d.ts} +24 -2
  235. package/{loading/index.d.ts → types/acorex-components-loading.d.ts} +4 -2
  236. package/types/acorex-components-media-viewer.d.ts +184 -0
  237. package/{menu/index.d.ts → types/acorex-components-menu.d.ts} +9 -7
  238. package/{number-box/index.d.ts → types/acorex-components-number-box.d.ts} +3 -0
  239. package/{otp/index.d.ts → types/acorex-components-otp.d.ts} +1 -1
  240. package/{paint/index.d.ts → types/acorex-components-paint.d.ts} +7 -6
  241. package/{password-box/index.d.ts → types/acorex-components-password-box.d.ts} +2 -1
  242. package/{phone-box/index.d.ts → types/acorex-components-phone-box.d.ts} +13 -3
  243. package/{popover/index.d.ts → types/acorex-components-popover.d.ts} +28 -11
  244. package/{popup/index.d.ts → types/acorex-components-popup.d.ts} +39 -42
  245. package/{radio/index.d.ts → types/acorex-components-radio.d.ts} +1 -1
  246. package/{rate-picker/index.d.ts → types/acorex-components-rate-picker.d.ts} +5 -15
  247. package/{scheduler-picker/index.d.ts → types/acorex-components-scheduler-picker.d.ts} +82 -81
  248. package/{scheduler/index.d.ts → types/acorex-components-scheduler.d.ts} +46 -23
  249. package/{select-box/index.d.ts → types/acorex-components-select-box.d.ts} +8 -7
  250. package/{side-menu/index.d.ts → types/acorex-components-side-menu.d.ts} +10 -3
  251. package/{slider/index.d.ts → types/acorex-components-slider.d.ts} +2 -2
  252. package/{tabs/index.d.ts → types/acorex-components-tabs.d.ts} +1 -1
  253. package/{tag/index.d.ts → types/acorex-components-tag.d.ts} +3 -3
  254. package/types/acorex-components-text-box.d.ts +79 -0
  255. package/{time-duration/index.d.ts → types/acorex-components-time-duration.d.ts} +7 -5
  256. package/{tooltip/index.d.ts → types/acorex-components-tooltip.d.ts} +5 -7
  257. package/{tree-view/index.d.ts → types/acorex-components-tree-view.d.ts} +17 -0
  258. package/collapse/README.md +0 -3
  259. package/collapse/index.d.ts +0 -174
  260. package/drawer-legacy/README.md +0 -3
  261. package/drawer-legacy/index.d.ts +0 -86
  262. package/fesm2022/acorex-components-collapse.mjs +0 -366
  263. package/fesm2022/acorex-components-collapse.mjs.map +0 -1
  264. package/fesm2022/acorex-components-drawer-legacy.mjs +0 -218
  265. package/fesm2022/acorex-components-drawer-legacy.mjs.map +0 -1
  266. package/fesm2022/acorex-components-file-explorer.mjs +0 -307
  267. package/fesm2022/acorex-components-file-explorer.mjs.map +0 -1
  268. package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +0 -1
  269. package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.mjs +0 -212
  270. package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map +0 -1
  271. package/fesm2022/acorex-components-number-box-legacy.mjs +0 -412
  272. package/fesm2022/acorex-components-number-box-legacy.mjs.map +0 -1
  273. package/fesm2022/acorex-components-scss.mjs +0 -22
  274. package/fesm2022/acorex-components-scss.mjs.map +0 -1
  275. package/fesm2022/acorex-components-tree-view-legacy.mjs +0 -511
  276. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +0 -1
  277. package/file-explorer/README.md +0 -3
  278. package/file-explorer/index.d.ts +0 -103
  279. package/kbd/index.d.ts +0 -23
  280. package/media-viewer/index.d.ts +0 -145
  281. package/number-box-legacy/README.md +0 -3
  282. package/number-box-legacy/index.d.ts +0 -191
  283. package/scss/README.md +0 -3
  284. package/scss/index.d.ts +0 -10
  285. package/text-box/index.d.ts +0 -95
  286. package/tree-view-legacy/README.md +0 -3
  287. package/tree-view-legacy/index.d.ts +0 -184
  288. /package/{alert/index.d.ts → types/acorex-components-alert.d.ts} +0 -0
  289. /package/{aspect-ratio/index.d.ts → types/acorex-components-aspect-ratio.d.ts} +0 -0
  290. /package/{audio-wave/index.d.ts → types/acorex-components-audio-wave.d.ts} +0 -0
  291. /package/{autocomplete/index.d.ts → types/acorex-components-autocomplete.d.ts} +0 -0
  292. /package/{avatar/index.d.ts → types/acorex-components-avatar.d.ts} +0 -0
  293. /package/{badge/index.d.ts → types/acorex-components-badge.d.ts} +0 -0
  294. /package/{bottom-navigation/index.d.ts → types/acorex-components-bottom-navigation.d.ts} +0 -0
  295. /package/{breadcrumbs/index.d.ts → types/acorex-components-breadcrumbs.d.ts} +0 -0
  296. /package/{circular-progress/index.d.ts → types/acorex-components-circular-progress.d.ts} +0 -0
  297. /package/{color-box/index.d.ts → types/acorex-components-color-box.d.ts} +0 -0
  298. /package/{cron-job/index.d.ts → types/acorex-components-cron-job.d.ts} +0 -0
  299. /package/{data-list/index.d.ts → types/acorex-components-data-list.d.ts} +0 -0
  300. /package/{datetime-box/index.d.ts → types/acorex-components-datetime-box.d.ts} +0 -0
  301. /package/{datetime-picker/index.d.ts → types/acorex-components-datetime-picker.d.ts} +0 -0
  302. /package/{decorators/index.d.ts → types/acorex-components-decorators.d.ts} +0 -0
  303. /package/{dialog/index.d.ts → types/acorex-components-dialog.d.ts} +0 -0
  304. /package/{drawer/index.d.ts → types/acorex-components-drawer.d.ts} +0 -0
  305. /package/{editor/index.d.ts → types/acorex-components-editor.d.ts} +0 -0
  306. /package/{flow-chart/index.d.ts → types/acorex-components-flow-chart.d.ts} +0 -0
  307. /package/{image-editor/index.d.ts → types/acorex-components-image-editor.d.ts} +0 -0
  308. /package/{image/index.d.ts → types/acorex-components-image.d.ts} +0 -0
  309. /package/{json-viewer/index.d.ts → types/acorex-components-json-viewer.d.ts} +0 -0
  310. /package/{label/index.d.ts → types/acorex-components-label.d.ts} +0 -0
  311. /package/{loading-dialog/index.d.ts → types/acorex-components-loading-dialog.d.ts} +0 -0
  312. /package/{map/index.d.ts → types/acorex-components-map.d.ts} +0 -0
  313. /package/{modal/index.d.ts → types/acorex-components-modal.d.ts} +0 -0
  314. /package/{navbar/index.d.ts → types/acorex-components-navbar.d.ts} +0 -0
  315. /package/{notification/index.d.ts → types/acorex-components-notification.d.ts} +0 -0
  316. /package/{page/index.d.ts → types/acorex-components-page.d.ts} +0 -0
  317. /package/{pdf-reader/index.d.ts → types/acorex-components-pdf-reader.d.ts} +0 -0
  318. /package/{picker/index.d.ts → types/acorex-components-picker.d.ts} +0 -0
  319. /package/{progress-bar/index.d.ts → types/acorex-components-progress-bar.d.ts} +0 -0
  320. /package/{qrcode/index.d.ts → types/acorex-components-qrcode.d.ts} +0 -0
  321. /package/{query-builder/index.d.ts → types/acorex-components-query-builder.d.ts} +0 -0
  322. /package/{rail-navigation/index.d.ts → types/acorex-components-rail-navigation.d.ts} +0 -0
  323. /package/{range-slider/index.d.ts → types/acorex-components-range-slider.d.ts} +0 -0
  324. /package/{rest-api-generator/index.d.ts → types/acorex-components-rest-api-generator.d.ts} +0 -0
  325. /package/{result/index.d.ts → types/acorex-components-result.d.ts} +0 -0
  326. /package/{routing-progress/index.d.ts → types/acorex-components-routing-progress.d.ts} +0 -0
  327. /package/{rrule/index.d.ts → types/acorex-components-rrule.d.ts} +0 -0
  328. /package/{search-box/index.d.ts → types/acorex-components-search-box.d.ts} +0 -0
  329. /package/{selection-list-2/index.d.ts → types/acorex-components-selection-list-2.d.ts} +0 -0
  330. /package/{selection-list/index.d.ts → types/acorex-components-selection-list.d.ts} +0 -0
  331. /package/{skeleton/index.d.ts → types/acorex-components-skeleton.d.ts} +0 -0
  332. /package/{sliding-item/index.d.ts → types/acorex-components-sliding-item.d.ts} +0 -0
  333. /package/{step-wizard/index.d.ts → types/acorex-components-step-wizard.d.ts} +0 -0
  334. /package/{switch/index.d.ts → types/acorex-components-switch.d.ts} +0 -0
  335. /package/{tag-box/index.d.ts → types/acorex-components-tag-box.d.ts} +0 -0
  336. /package/{text-area/index.d.ts → types/acorex-components-text-area.d.ts} +0 -0
  337. /package/{time-line/index.d.ts → types/acorex-components-time-line.d.ts} +0 -0
  338. /package/{toast/index.d.ts → types/acorex-components-toast.d.ts} +0 -0
  339. /package/{toolbar/index.d.ts → types/acorex-components-toolbar.d.ts} +0 -0
  340. /package/{uploader/index.d.ts → types/acorex-components-uploader.d.ts} +0 -0
  341. /package/{video-player/index.d.ts → types/acorex-components-video-player.d.ts} +0 -0
  342. /package/{wysiwyg/index.d.ts → types/acorex-components-wysiwyg.d.ts} +0 -0
  343. /package/{index.d.ts → types/acorex-components.d.ts} +0 -0
@@ -120,10 +120,10 @@ class AXLoadingDialogComponent extends MXBaseComponent {
120
120
  }
121
121
  return false;
122
122
  }
123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
124
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: AXLoadingDialogComponent, isStandalone: true, selector: "ax-loading-dialog", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, onClose: { classPropertyName: "onClose", publicName: "onClose", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], usesInheritance: true, ngImport: i0, template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\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", styles: ["ax-loading-dialog{display:flex;flex-direction:column;gap:.5rem;width:33vw;background-color:rgba(var(--ax-comp-loading-dialog-bg-color, var(--ax-sys-color-lightest-surface)));padding:1rem;border-radius:var(--ax-comp-loading-dialog-border-radius, var(--ax-sys-border-radius))}ax-loading-dialog ax-title{font-weight:500;font-size:1rem;margin-bottom:.5rem}@media (min-width: 320px) and (max-width: 640px){ax-loading-dialog{width:93vw!important}}@media (min-width: 768px){ax-loading-dialog{width:55vw!important}}@media (min-width: 1280px){ax-loading-dialog{width:30vw!important}}@media (min-width: 1536px){ax-loading-dialog{width:25vw!important}}ax-loading-dialog .progress-decorators{display:flex;justify-content:space-between;font-size:.875rem}ax-loading-dialog ax-footer{justify-content:flex-end;padding-top:.75rem}\n"], dependencies: [{ 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: AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { 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: AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
124
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: AXLoadingDialogComponent, isStandalone: true, selector: "ax-loading-dialog", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, onClose: { classPropertyName: "onClose", publicName: "onClose", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], usesInheritance: true, ngImport: i0, template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n <div class=\"button-wrapper\">\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\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 class=\"button-item\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n</ax-footer>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial}}}@layer components{ax-loading-dialog{gap:calc(var(--spacing,.25rem) * 2);border-radius:var(--radius-lg,.5rem);background-color:rgba(var(--ax-sys-color-lightest-surface));padding:calc(var(--spacing,.25rem) * 4);flex-direction:column;display:flex}@media(min-width:40rem){ax-loading-dialog{width:93vw}}@media(min-width:48rem){ax-loading-dialog{width:55vw}}@media(min-width:80rem){ax-loading-dialog{width:30vw}}@media(min-width:96rem){ax-loading-dialog{width:26vw}}ax-loading-dialog ax-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}ax-loading-dialog .progress-decorators{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;display:flex}ax-loading-dialog ax-footer{padding-top:calc(var(--spacing,.25rem) * 3);justify-content:flex-end}ax-loading-dialog .button-wrapper{justify-content:center;align-items:center;gap:calc(var(--spacing,.25rem) * 2);flex-wrap:wrap;display:flex}ax-loading-dialog .button-item{flex:1;display:flex}}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ 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: AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { 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: AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
125
125
  }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{
127
127
  type: Component,
128
128
  args: [{ selector: 'ax-loading-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [
129
129
  AXDecoratorGenericComponent,
@@ -134,15 +134,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
134
134
  AXLoadingComponent,
135
135
  AXTranslatorPipe,
136
136
  AsyncPipe,
137
- ], providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\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", styles: ["ax-loading-dialog{display:flex;flex-direction:column;gap:.5rem;width:33vw;background-color:rgba(var(--ax-comp-loading-dialog-bg-color, var(--ax-sys-color-lightest-surface)));padding:1rem;border-radius:var(--ax-comp-loading-dialog-border-radius, var(--ax-sys-border-radius))}ax-loading-dialog ax-title{font-weight:500;font-size:1rem;margin-bottom:.5rem}@media (min-width: 320px) and (max-width: 640px){ax-loading-dialog{width:93vw!important}}@media (min-width: 768px){ax-loading-dialog{width:55vw!important}}@media (min-width: 1280px){ax-loading-dialog{width:30vw!important}}@media (min-width: 1536px){ax-loading-dialog{width:25vw!important}}ax-loading-dialog .progress-decorators{display:flex;justify-content:space-between;font-size:.875rem}ax-loading-dialog ax-footer{justify-content:flex-end;padding-top:.75rem}\n"] }]
137
+ ], providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n <div class=\"button-wrapper\">\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\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 class=\"button-item\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n</ax-footer>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial}}}@layer components{ax-loading-dialog{gap:calc(var(--spacing,.25rem) * 2);border-radius:var(--radius-lg,.5rem);background-color:rgba(var(--ax-sys-color-lightest-surface));padding:calc(var(--spacing,.25rem) * 4);flex-direction:column;display:flex}@media(min-width:40rem){ax-loading-dialog{width:93vw}}@media(min-width:48rem){ax-loading-dialog{width:55vw}}@media(min-width:80rem){ax-loading-dialog{width:30vw}}@media(min-width:96rem){ax-loading-dialog{width:26vw}}ax-loading-dialog ax-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}ax-loading-dialog .progress-decorators{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;display:flex}ax-loading-dialog ax-footer{padding-top:calc(var(--spacing,.25rem) * 3);justify-content:flex-end}ax-loading-dialog .button-wrapper{justify-content:center;align-items:center;gap:calc(var(--spacing,.25rem) * 2);flex-wrap:wrap;display:flex}ax-loading-dialog .button-item{flex:1;display:flex}}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
138
138
  }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], onClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "onClose", required: false }] }] } });
139
139
 
140
140
  class AXLoadingDialogModule {
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
142
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent], exports: [AXLoadingDialogComponent] }); }
143
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent] }); }
141
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
142
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent], exports: [AXLoadingDialogComponent] }); }
143
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent] }); }
144
144
  }
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogModule, decorators: [{
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, decorators: [{
146
146
  type: NgModule,
147
147
  args: [{
148
148
  imports: [AXLoadingDialogComponent],
@@ -201,10 +201,10 @@ class AXLoadingDialogService {
201
201
  setProgressColor: (color) => componentInstance?.setProgressColor(color),
202
202
  };
203
203
  }
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
205
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogService, providedIn: 'root' }); }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
205
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogService, providedIn: 'root' }); }
206
206
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDialogService, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogService, decorators: [{
208
208
  type: Injectable,
209
209
  args: [{
210
210
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-loading-dialog.mjs","sources":["../tmp-esm2022/loading-dialog/lib/loading-dialog.component.js","../tmp-esm2022/loading-dialog/lib/loading-dialog.module.js","../tmp-esm2022/loading-dialog/lib/loading-dialog.service.js","../tmp-esm2022/loading-dialog/acorex-components-loading-dialog.js"],"sourcesContent":["import { AXAutoFocusDirective, AXComponent, AXHotkeyDirective, MXBaseComponent, } from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { AXProgressBarComponent } from '@acorex/components/progress-bar';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation, input, signal } from '@angular/core';\nimport * as i0 from \"@angular/core\";\n/**\n * Represents a loading dialog component with custom styles and encapsulation.\n * @category components\n */\nexport class AXLoadingDialogComponent extends MXBaseComponent {\n constructor() {\n super(...arguments);\n /** Loading dialog configuration data */\n this.data = input.required(...(ngDevMode ? [{ debugName: \"data\" }] : []));\n /** @internal Callback function to close the dialog */\n this.onClose = input(...(ngDevMode ? [undefined, { debugName: \"onClose\" }] : []));\n /** @ignore */\n this.progressText = signal('', ...(ngDevMode ? [{ debugName: \"progressText\" }] : []));\n /** @ignore */\n this.progressStatus = signal('', ...(ngDevMode ? [{ debugName: \"progressStatus\" }] : []));\n /** @ignore */\n this.progressColor = signal('primary', ...(ngDevMode ? [{ debugName: \"progressColor\" }] : []));\n /** @ignore */\n this.dialogTitle = signal('', ...(ngDevMode ? [{ debugName: \"dialogTitle\" }] : []));\n /** @ignore */\n this.progressValue = signal(0, ...(ngDevMode ? [{ debugName: \"progressValue\" }] : []));\n }\n ngOnInit() {\n super.ngOnInit();\n // Initialize signals from input data\n const config = this.data();\n this.progressText.set(config.text ?? '');\n this.progressStatus.set(config.status ?? '');\n this.progressColor.set(config.progressColor ?? 'primary');\n this.dialogTitle.set(config.title ?? '');\n this.progressValue.set(config.progressValue ?? 0);\n }\n /**\n * Closes the loading dialog.\n *\n * @returns void - No return value. The dialog is closed and control returns to the caller.\n */\n close() {\n const closeCallback = this.onClose();\n if (closeCallback) {\n closeCallback();\n }\n }\n /**\n * Sets the displayed progress text inside the dialog.\n *\n * @param text The text to display under the progress bar.\n * @returns void\n */\n setProgressText(text) {\n this.progressText.set(text);\n }\n /**\n * Sets the status text, typically representing the current step out of total steps (e.g., \"5/10\").\n *\n * @param status The status text to display.\n * @returns void\n */\n setProgressStatus(status) {\n this.progressStatus.set(status);\n }\n /**\n * Sets the color used by the progress indicator.\n *\n * @param color The color token to apply to the progress UI.\n * @returns void\n */\n setProgressColor(color) {\n this.progressColor.set(color);\n }\n /**\n * Sets the dialog title text.\n *\n * @param text The title text to display at the top of the dialog.\n * @returns void\n */\n setDialogTitle(text) {\n this.dialogTitle.set(text);\n }\n /**\n * Sets the numeric progress value.\n *\n * @param value A number in the range 0–100 representing the current progress.\n * @returns void\n */\n setProgressValue(value) {\n this.progressValue.set(value);\n }\n /** @ignore */\n _handleButtonClick(button) {\n if (button.onClick) {\n button.onClick({ source: button });\n }\n }\n /** @ignore */\n _hasAutoFocus(button) {\n const buttons = this.data().buttons;\n if (!buttons || buttons.length === 0)\n return false;\n const autoFocusItem = buttons.find((item) => item.autofocus === true);\n if (autoFocusItem && autoFocusItem.text === button.text) {\n return true;\n }\n if (!autoFocusItem) {\n if (buttons.length > 0) {\n buttons[0].autofocus = true;\n return buttons[0].text === button.text;\n }\n }\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.15\", type: AXLoadingDialogComponent, isStandalone: true, selector: \"ax-loading-dialog\", inputs: { data: { classPropertyName: \"data\", publicName: \"data\", isSignal: true, isRequired: true, transformFunction: null }, onClose: { classPropertyName: \"onClose\", publicName: \"onClose\", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], usesInheritance: true, ngImport: i0, template: \"<ax-title>{{ dialogTitle() }}</ax-title>\\n\\n<ax-progress-bar [mode]=\\\"data().mode\\\" [progress]=\\\"progressValue()\\\" [color]=\\\"progressColor()\\\"></ax-progress-bar>\\n<div class=\\\"progress-decorators\\\">\\n <div>{{ progressText() }}</div>\\n <div>{{ progressStatus() }}</div>\\n</div>\\n<ax-footer>\\n @for (button of data().buttons; track $index) {\\n <ax-button\\n [text]=\\\"button.text | translate | async\\\"\\n [tabindex]=\\\"$index\\\"\\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\", styles: [\"ax-loading-dialog{display:flex;flex-direction:column;gap:.5rem;width:33vw;background-color:rgba(var(--ax-comp-loading-dialog-bg-color, var(--ax-sys-color-lightest-surface)));padding:1rem;border-radius:var(--ax-comp-loading-dialog-border-radius, var(--ax-sys-border-radius))}ax-loading-dialog ax-title{font-weight:500;font-size:1rem;margin-bottom:.5rem}@media (min-width: 320px) and (max-width: 640px){ax-loading-dialog{width:93vw!important}}@media (min-width: 768px){ax-loading-dialog{width:55vw!important}}@media (min-width: 1280px){ax-loading-dialog{width:30vw!important}}@media (min-width: 1536px){ax-loading-dialog{width:25vw!important}}ax-loading-dialog .progress-decorators{display:flex;justify-content:space-between;font-size:.875rem}ax-loading-dialog ax-footer{justify-content:flex-end;padding-top:.75rem}\\n\"], dependencies: [{ 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: AXProgressBarComponent, selector: \"ax-progress-bar\", inputs: [\"color\", \"mode\", \"progress\", \"height\"], outputs: [\"ValueChange\", \"sizeChange\"] }, { 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: AXTranslatorPipe, name: \"translate\" }, { kind: \"pipe\", type: AsyncPipe, name: \"async\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-loading-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [\n AXDecoratorGenericComponent,\n AXProgressBarComponent,\n AXButtonComponent,\n AXHotkeyDirective,\n AXAutoFocusDirective,\n AXLoadingComponent,\n AXTranslatorPipe,\n AsyncPipe,\n ], providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], template: \"<ax-title>{{ dialogTitle() }}</ax-title>\\n\\n<ax-progress-bar [mode]=\\\"data().mode\\\" [progress]=\\\"progressValue()\\\" [color]=\\\"progressColor()\\\"></ax-progress-bar>\\n<div class=\\\"progress-decorators\\\">\\n <div>{{ progressText() }}</div>\\n <div>{{ progressStatus() }}</div>\\n</div>\\n<ax-footer>\\n @for (button of data().buttons; track $index) {\\n <ax-button\\n [text]=\\\"button.text | translate | async\\\"\\n [tabindex]=\\\"$index\\\"\\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\", styles: [\"ax-loading-dialog{display:flex;flex-direction:column;gap:.5rem;width:33vw;background-color:rgba(var(--ax-comp-loading-dialog-bg-color, var(--ax-sys-color-lightest-surface)));padding:1rem;border-radius:var(--ax-comp-loading-dialog-border-radius, var(--ax-sys-border-radius))}ax-loading-dialog ax-title{font-weight:500;font-size:1rem;margin-bottom:.5rem}@media (min-width: 320px) and (max-width: 640px){ax-loading-dialog{width:93vw!important}}@media (min-width: 768px){ax-loading-dialog{width:55vw!important}}@media (min-width: 1280px){ax-loading-dialog{width:30vw!important}}@media (min-width: 1536px){ax-loading-dialog{width:25vw!important}}ax-loading-dialog .progress-decorators{display:flex;justify-content:space-between;font-size:.875rem}ax-loading-dialog ax-footer{justify-content:flex-end;padding-top:.75rem}\\n\"] }]\n }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: \"data\", required: true }] }], onClose: [{ type: i0.Input, args: [{ isSignal: true, alias: \"onClose\", required: false }] }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9sb2FkaW5nLWRpYWxvZy9zcmMvbGliL2xvYWRpbmctZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvbG9hZGluZy1kaWFsb2cvc3JjL2xpYi9sb2FkaW5nLWRpYWxvZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsb0JBQW9CLEVBQ3BCLFdBQVcsRUFDWCxpQkFBaUIsRUFFakIsZUFBZSxHQUNoQixNQUFNLG9CQUFvQixDQUFDO0FBQzVCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlELE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzVFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUF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RpbmRleCkge1xuICAgIDxheC1idXR0b25cbiAgICAgIFt0ZXh0XT1cImJ1dHRvbi50ZXh0IHwgdHJhbnNsYXRlIHwgYXN5bmNcIlxuICAgICAgW3RhYmluZGV4XT1cIiRpbmRleFwiXG4gICAgICBbYXhIb3RrZXldPVwiYnV0dG9uLmhvdGtleVwiXG4gICAgICBbYXhBdXRvRm9jdXNdPVwiX2hhc0F1dG9Gb2N1cyhidXR0b24pXCJcbiAgICAgIChvbkNsaWNrKT1cIl9oYW5kbGVCdXR0b25DbGljayhidXR0b24pXCJcbiAgICAgIFtsb29rXT1cImJ1dHRvbi5sb29rXCJcbiAgICAgIFtkaXNhYmxlZF09XCJidXR0b24uZGlzYWJsZWRcIlxuICAgICAgW2NvbG9yXT1cImJ1dHRvbi5jb2xvclwiXG4gICAgPlxuICAgICAgQGlmIChidXR0b24ubG9hZGluZykge1xuICAgICAgICA8YXgtbG9hZGluZz48L2F4LWxvYWRpbmc+XG4gICAgICB9XG4gICAgPC9heC1idXR0b24+XG4gIH1cbjwvYXgtZm9vdGVyPlxuIl19","import { NgModule } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\nimport * as i0 from \"@angular/core\";\nexport class AXLoadingDialogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent], exports: [AXLoadingDialogComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [AXLoadingDialogComponent],\n exports: [AXLoadingDialogComponent],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9sb2FkaW5nLWRpYWxvZy9zcmMvbGliL2xvYWRpbmctZGlhbG9nLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQU10RSxNQUFNLE9BQU8scUJBQXFCOytHQUFyQixxQkFBcUI7Z0hBQXJCLHFCQUFxQixZQUh0Qix3QkFBd0IsYUFDeEIsd0JBQXdCO2dIQUV2QixxQkFBcUIsWUFIdEIsd0JBQXdCOzs0RkFHdkIscUJBQXFCO2tCQUpqQyxRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLHdCQUF3QixDQUFDO29CQUNuQyxPQUFPLEVBQUUsQ0FBQyx3QkFBd0IsQ0FBQztpQkFDcEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhMb2FkaW5nRGlhbG9nQ29tcG9uZW50IH0gZnJvbSAnLi9sb2FkaW5nLWRpYWxvZy5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbQVhMb2FkaW5nRGlhbG9nQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW0FYTG9hZGluZ0RpYWxvZ0NvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEFYTG9hZGluZ0RpYWxvZ01vZHVsZSB7fVxuIl19","import { AXOverlayService } from '@acorex/cdk/overlay';\nimport { ComponentRef, Injectable, inject } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\nimport * as i0 from \"@angular/core\";\nexport class AXLoadingDialogService {\n constructor() {\n this.overlayService = inject(AXOverlayService);\n }\n /**\n * Opens a loading dialog with the specified configuration.\n *\n * @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.\n * @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).\n */\n show(options) {\n let internalRef;\n let componentInstance = null;\n const closeDialog = () => {\n if (internalRef) {\n internalRef.overlayRef.dispose();\n }\n };\n this.overlayService\n .create(AXLoadingDialogComponent, {\n inputs: {\n data: options,\n onClose: closeDialog,\n },\n backdrop: {\n enabled: true,\n background: true,\n closeOnClick: false, // disableClose: true equivalent\n },\n panelClass: ['ax-loading-dialog-panel', 'ax-animate-fadeIn'],\n })\n .then((overlayRef) => {\n internalRef = {\n overlayRef,\n close: closeDialog,\n };\n // Get the component instance for method calls\n if (overlayRef.instance instanceof ComponentRef) {\n componentInstance = overlayRef.instance.instance;\n }\n });\n // Return the dialog ref with methods that will work once the component is created\n return {\n close: () => closeDialog(),\n setProgressValue: (value) => componentInstance?.setProgressValue(value),\n setDialogTitle: (text) => componentInstance?.setDialogTitle(text),\n setProgressText: (text) => componentInstance?.setProgressText(text),\n setProgressStatus: (status) => componentInstance?.setProgressStatus(status),\n setProgressColor: (color) => componentInstance?.setProgressColor(color),\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvbG9hZGluZy1kaWFsb2cvc3JjL2xpYi9sb2FkaW5nLWRpYWxvZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVqRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7QUFLdEUsTUFBTSxPQUFPLHNCQUFzQjtJQUhuQztRQUlVLG1CQUFjLEdBQUcsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7S0FxRG5EO0lBbkRDOzs7OztPQUtHO0lBQ0gsSUFBSSxDQUFDLE9BQThCO1FBQ2pDLElBQUksV0FBdUMsQ0FBQztRQUM1QyxJQUFJLGlCQUFpQixHQUFvQyxJQUFJLENBQUM7UUFFOUQsTUFBTSxXQUFXLEdBQUcsR0FBRyxFQUFFO1lBQ3ZCLElBQUksV0FBVyxFQUFFLENBQUM7Z0JBQ2hCLFdBQVcsQ0FBQyxVQUFVLENBQUMsT0FBTyxFQUFFLENBQUM7WUFDbkMsQ0FBQztRQUNILENBQUMsQ0FBQztRQUVGLElBQUksQ0FBQyxjQUFjO2FBQ2hCLE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5zdGFuY2U/LnNldFByb2dyZXNzVmFsdWUodmFsdWUpLFxuICAgICAgc2V0RGlhbG9nVGl0bGU6ICh0ZXh0OiBzdHJpbmcpID0+IGNvbXBvbmVudEluc3RhbmNlPy5zZXREaWFsb2dUaXRsZSh0ZXh0KSxcbiAgICAgIHNldFByb2dyZXNzVGV4dDogKHRleHQ6IHN0cmluZykgPT4gY29tcG9uZW50SW5zdGFuY2U/LnNldFByb2dyZXNzVGV4dCh0ZXh0KSxcbiAgICAgIHNldFByb2dyZXNzU3RhdHVzOiAoc3RhdHVzOiBzdHJpbmcpID0+IGNvbXBvbmVudEluc3RhbmNlPy5zZXRQcm9ncmVzc1N0YXR1cyhzdGF0dXMpLFxuICAgICAgc2V0UHJvZ3Jlc3NDb2xvcjogKGNvbG9yOiBBWFN0eWxlQ29sb3JUeXBlKSA9PiBjb21wb25lbnRJbnN0YW5jZT8uc2V0UHJvZ3Jlc3NDb2xvcihjb2xvciksXG4gICAgfTtcbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtbG9hZGluZy1kaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2xvYWRpbmctZGlhbG9nL3NyYy9hY29yZXgtY29tcG9uZW50cy1sb2FkaW5nLWRpYWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;;;;;;;;;AASA;AACA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,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC,CAAC;AAC1L,IAAI,SAAS,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;AACjK;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,CAAC;AACjI,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC/Db;AACA;AACA;;;;"}
1
+ {"version":3,"file":"acorex-components-loading-dialog.mjs","sources":["../../../../packages/components/loading-dialog/src/lib/loading-dialog.component.ts","../../../../packages/components/loading-dialog/src/lib/loading-dialog.component.html","../../../../packages/components/loading-dialog/src/lib/loading-dialog.module.ts","../../../../packages/components/loading-dialog/src/lib/loading-dialog.service.ts","../../../../packages/components/loading-dialog/src/acorex-components-loading-dialog.ts"],"sourcesContent":["import {\n AXAutoFocusDirective,\n AXComponent,\n AXHotkeyDirective,\n AXStyleColorType,\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 { AXProgressBarComponent } from '@acorex/components/progress-bar';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation, WritableSignal, input, signal } from '@angular/core';\nimport { AXLoadingDialogButtonItem, AXLoadingDialogConfig } from './loading-dialog.class';\n\n/**\n * Represents a loading dialog component with custom styles and encapsulation.\n * @category components\n */\n@Component({\n selector: 'ax-loading-dialog',\n templateUrl: './loading-dialog.component.html',\n styleUrls: ['./loading-dialog.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n AXDecoratorGenericComponent,\n AXProgressBarComponent,\n AXButtonComponent,\n AXHotkeyDirective,\n AXAutoFocusDirective,\n AXLoadingComponent,\n AXTranslatorPipe,\n AsyncPipe,\n ],\n providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }],\n})\nexport class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {\n /** Loading dialog configuration data */\n data = input.required<AXLoadingDialogConfig>();\n\n /** @internal Callback function to close the dialog */\n onClose = input<() => void>();\n\n /** @ignore */\n protected progressText: WritableSignal<string> = signal('');\n\n /** @ignore */\n protected progressStatus: WritableSignal<string> = signal('');\n\n /** @ignore */\n protected progressColor: WritableSignal<AXStyleColorType> = signal('primary');\n\n /** @ignore */\n protected dialogTitle: WritableSignal<string> = signal('');\n\n /** @ignore */\n protected progressValue: WritableSignal<number> = signal(0);\n\n override ngOnInit(): void {\n super.ngOnInit();\n // Initialize signals from input data\n const config = this.data();\n this.progressText.set(config.text ?? '');\n this.progressStatus.set(config.status ?? '');\n this.progressColor.set(config.progressColor ?? 'primary');\n this.dialogTitle.set(config.title ?? '');\n this.progressValue.set(config.progressValue ?? 0);\n }\n\n /**\n * Closes the loading dialog.\n *\n * @returns void - No return value. The dialog is closed and control returns to the caller.\n */\n close() {\n const closeCallback = this.onClose();\n if (closeCallback) {\n closeCallback();\n }\n }\n\n /**\n * Sets the displayed progress text inside the dialog.\n *\n * @param text The text to display under the progress bar.\n * @returns void\n */\n setProgressText(text: string) {\n this.progressText.set(text);\n }\n\n /**\n * Sets the status text, typically representing the current step out of total steps (e.g., \"5/10\").\n *\n * @param status The status text to display.\n * @returns void\n */\n setProgressStatus(status: string) {\n this.progressStatus.set(status);\n }\n\n /**\n * Sets the color used by the progress indicator.\n *\n * @param color The color token to apply to the progress UI.\n * @returns void\n */\n setProgressColor(color: AXStyleColorType) {\n this.progressColor.set(color);\n }\n\n /**\n * Sets the dialog title text.\n *\n * @param text The title text to display at the top of the dialog.\n * @returns void\n */\n setDialogTitle(text: string) {\n this.dialogTitle.set(text);\n }\n\n /**\n * Sets the numeric progress value.\n *\n * @param value A number in the range 0–100 representing the current progress.\n * @returns void\n */\n setProgressValue(value: number) {\n this.progressValue.set(value);\n }\n\n /** @ignore */\n protected _handleButtonClick(button: AXLoadingDialogButtonItem) {\n if (button.onClick) {\n button.onClick({ source: button });\n }\n }\n\n /** @ignore */\n protected _hasAutoFocus(button: AXLoadingDialogButtonItem) {\n const buttons = this.data().buttons;\n if (!buttons || buttons.length === 0) return false;\n\n const autoFocusItem = buttons.find((item) => item.autofocus === true);\n if (autoFocusItem && autoFocusItem.text === button.text) {\n return true;\n }\n if (!autoFocusItem) {\n if (buttons.length > 0) {\n buttons[0].autofocus = true;\n return buttons[0].text === button.text;\n }\n }\n return false;\n }\n}\n","<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n <div class=\"button-wrapper\">\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\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 class=\"button-item\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n</ax-footer>\n","import { NgModule } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\n\n@NgModule({\n imports: [AXLoadingDialogComponent],\n exports: [AXLoadingDialogComponent],\n})\nexport class AXLoadingDialogModule {}\n","import { AXStyleColorType } from '@acorex/cdk/common';\nimport { AXOverlayService } from '@acorex/cdk/overlay';\nimport { ComponentRef, Injectable, inject } from '@angular/core';\nimport { AXLoadingDialogConfig, AXLoadingDialogInternalRef, AXLoadingDialogRef } from './loading-dialog.class';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXLoadingDialogService {\n private overlayService = inject(AXOverlayService);\n\n /**\n * Opens a loading dialog with the specified configuration.\n *\n * @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.\n * @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).\n */\n show(options: AXLoadingDialogConfig): AXLoadingDialogRef {\n let internalRef: AXLoadingDialogInternalRef;\n let componentInstance: AXLoadingDialogComponent | null = null;\n\n const closeDialog = () => {\n if (internalRef) {\n internalRef.overlayRef.dispose();\n }\n };\n\n this.overlayService\n .create<AXLoadingDialogComponent>(AXLoadingDialogComponent, {\n inputs: {\n data: options,\n onClose: closeDialog,\n },\n backdrop: {\n enabled: true,\n background: true,\n closeOnClick: false, // disableClose: true equivalent\n },\n panelClass: ['ax-loading-dialog-panel', 'ax-animate-fadeIn'],\n })\n .then((overlayRef) => {\n internalRef = {\n overlayRef,\n close: closeDialog,\n };\n\n // Get the component instance for method calls\n if (overlayRef.instance instanceof ComponentRef) {\n componentInstance = overlayRef.instance.instance as AXLoadingDialogComponent;\n }\n });\n\n // Return the dialog ref with methods that will work once the component is created\n return {\n close: () => closeDialog(),\n setProgressValue: (value: number) => componentInstance?.setProgressValue(value),\n setDialogTitle: (text: string) => componentInstance?.setDialogTitle(text),\n setProgressText: (text: string) => componentInstance?.setProgressText(text),\n setProgressStatus: (status: string) => componentInstance?.setProgressStatus(status),\n setProgressColor: (color: AXStyleColorType) => componentInstance?.setProgressColor(color),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAgBA;;;AAGG;AAmBG,MAAO,wBAAyB,SAAQ,eAAe,CAAA;AAlB7D,IAAA,WAAA,GAAA;;;AAoBE,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAyB;;QAG9C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAc;;AAGnB,QAAA,IAAA,CAAA,YAAY,GAA2B,MAAM,CAAC,EAAE,wDAAC;;AAGjD,QAAA,IAAA,CAAA,cAAc,GAA2B,MAAM,CAAC,EAAE,0DAAC;;AAGnD,QAAA,IAAA,CAAA,aAAa,GAAqC,MAAM,CAAC,SAAS,yDAAC;;AAGnE,QAAA,IAAA,CAAA,WAAW,GAA2B,MAAM,CAAC,EAAE,uDAAC;;AAGhD,QAAA,IAAA,CAAA,aAAa,GAA2B,MAAM,CAAC,CAAC,yDAAC;AAmG5D,IAAA;IAjGU,QAAQ,GAAA;QACf,KAAK,CAAC,QAAQ,EAAE;;AAEhB,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE;QAC1B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;QACxC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;QAC5C,IAA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E,cAAc,EAAE,CAAC,IAAY,KAAK,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;YACzE,eAAe,EAAE,CAAC,IAAY,KAAK,iBAAiB,EAAE,eAAe,CAAC,IAAI,CAAC;YAC3E,iBAAiB,EAAE,CAAC,MAAc,KAAK,iBAAiB,EAAE,iBAAiB,CAAC,MAAM,CAAC;YACnF,gBAAgB,EAAE,CAAC,KAAuB,KAAK,iBAAiB,EAAE,gBAAgB,CAAC,KAAK,CAAC;SAC1F;IACH;8GArDW,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,cAFrB,MAAM,EAAA,CAAA,CAAA;;2FAEP,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAHlC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,8 +1,9 @@
1
1
  import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';
2
2
  import * as i0 from '@angular/core';
3
- import { HostBinding, Input, ViewEncapsulation, Component, InjectionToken, inject, EventEmitter, Output, ChangeDetectionStrategy, Injectable, ElementRef, Directive, NgModule } from '@angular/core';
3
+ import { HostBinding, Input, ViewEncapsulation, Component, InjectionToken, inject, EventEmitter, Output, ChangeDetectionStrategy, ComponentRef, Injectable, ElementRef, Directive, NgModule } from '@angular/core';
4
4
  import { ComponentPortal, CdkPortalOutlet } from '@angular/cdk/portal';
5
- import { Dialog } from '@angular/cdk/dialog';
5
+ import { AXOverlayService } from '@acorex/cdk/overlay';
6
+ import { DOCUMENT } from '@angular/common';
6
7
  import { asyncScheduler, BehaviorSubject } from 'rxjs';
7
8
  import { observeOn, finalize } from 'rxjs/operators';
8
9
 
@@ -34,8 +35,8 @@ class AXLoadingSpinnerComponent {
34
35
  get __hostClass() {
35
36
  return `ax-${this.color}`;
36
37
  }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: AXLoadingSpinnerComponent, isStandalone: true, selector: "ax-loading-spinner", inputs: { text: "text", color: "color", size: "size", stroke: "stroke" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXLoadingSpinnerComponent }], ngImport: i0, template: `
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
39
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: AXLoadingSpinnerComponent, isStandalone: true, selector: "ax-loading-spinner", inputs: { text: "text", color: "color", size: "size", stroke: "stroke" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXLoadingSpinnerComponent }], ngImport: i0, template: `
39
40
  <span
40
41
  class="ax-loader"
41
42
  [style.width.px]="size"
@@ -46,9 +47,9 @@ class AXLoadingSpinnerComponent {
46
47
  @if (text) {
47
48
  <span> {{ text }} </span>
48
49
  }
49
- `, isInline: true, styles: ["ax-loading-spinner{--ax-comp-loading-spinner-loader-height: 3rem;--ax-comp-loading-spinner-loader-width: 3rem;--ax-comp-loading-spinner-loader-border-width: 6px}ax-loading-spinner.ax-black{--ax-comp-loading-spinner-loader-border-color: 0, 0, 0}ax-loading-spinner.ax-white{--ax-comp-loading-spinner-loader-border-color: 255, 255, 255}ax-loading-spinner.ax-primary{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-primary-surface)}ax-loading-spinner.ax-secondary{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-secondary-surface)}ax-loading-spinner.ax-success{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-success-surface)}ax-loading-spinner.ax-warning{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-warning-surface)}ax-loading-spinner.ax-danger{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-danger-surface)}ax-loading-spinner.ax-accent1{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent1-surface)}ax-loading-spinner.ax-accent2{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent2-surface)}ax-loading-spinner.ax-accent3{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent3-surface)}ax-loading-spinner.ax-accent4{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent4-surface)}ax-loading-spinner.ax-accent5{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent5-surface)}ax-loading-spinner.ax-accent6{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent6-surface)}ax-loading-spinner.ax-accent7{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent7-surface)}ax-loading-spinner .ax-loader{margin:auto;border-style:solid;display:inline-block;border-radius:9999px;box-sizing:border-box;animation:rotation .5s linear infinite;border-bottom-color:transparent!important;width:var(--ax-comp-loading-spinner-loader-width);height:var(--ax-comp-loading-spinner-loader-height);border-width:var(--ax-comp-loading-spinner-loader-border-width);border-color:rgba(var(--ax-comp-loading-spinner-loader-border-color))}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], encapsulation: i0.ViewEncapsulation.None }); }
50
+ `, isInline: true, styles: ["@layer components{ax-loading-spinner .ax-loader{box-sizing:border-box;animation:var(--animate-spin,spin 1s linear infinite);border-color:var(--ax-comp-bg);border-radius:3.40282e38px;margin:auto;display:inline-block;border-bottom-color:#0000!important}ax-loading-spinner.ax-white .ax-loader{border-color:var(--color-white,#fff)}ax-loading-spinner.ax-default .ax-loader{border-color:var(--color-black,#000)}ax-loading-spinner.ax-default .ax-loader:where(.ax-dark,.ax-dark *){border-color:var(--color-white,#fff)}ax-loading-spinner.ax-black .ax-loader{border-color:var(--color-black,#000)}}@keyframes spin{to{transform:rotate(360deg)}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], encapsulation: i0.ViewEncapsulation.None }); }
50
51
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
52
53
  type: Component,
53
54
  args: [{ selector: 'ax-loading-spinner', template: `
54
55
  <span
@@ -61,7 +62,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
61
62
  @if (text) {
62
63
  <span> {{ text }} </span>
63
64
  }
64
- `, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXLoadingSpinnerComponent }], styles: ["ax-loading-spinner{--ax-comp-loading-spinner-loader-height: 3rem;--ax-comp-loading-spinner-loader-width: 3rem;--ax-comp-loading-spinner-loader-border-width: 6px}ax-loading-spinner.ax-black{--ax-comp-loading-spinner-loader-border-color: 0, 0, 0}ax-loading-spinner.ax-white{--ax-comp-loading-spinner-loader-border-color: 255, 255, 255}ax-loading-spinner.ax-primary{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-primary-surface)}ax-loading-spinner.ax-secondary{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-secondary-surface)}ax-loading-spinner.ax-success{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-success-surface)}ax-loading-spinner.ax-warning{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-warning-surface)}ax-loading-spinner.ax-danger{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-danger-surface)}ax-loading-spinner.ax-accent1{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent1-surface)}ax-loading-spinner.ax-accent2{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent2-surface)}ax-loading-spinner.ax-accent3{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent3-surface)}ax-loading-spinner.ax-accent4{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent4-surface)}ax-loading-spinner.ax-accent5{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent5-surface)}ax-loading-spinner.ax-accent6{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent6-surface)}ax-loading-spinner.ax-accent7{--ax-comp-loading-spinner-loader-border-color: var(--ax-sys-color-accent7-surface)}ax-loading-spinner .ax-loader{margin:auto;border-style:solid;display:inline-block;border-radius:9999px;box-sizing:border-box;animation:rotation .5s linear infinite;border-bottom-color:transparent!important;width:var(--ax-comp-loading-spinner-loader-width);height:var(--ax-comp-loading-spinner-loader-height);border-width:var(--ax-comp-loading-spinner-loader-border-width);border-color:rgba(var(--ax-comp-loading-spinner-loader-border-color))}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
65
+ `, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXLoadingSpinnerComponent }], styles: ["@layer components{ax-loading-spinner .ax-loader{box-sizing:border-box;animation:var(--animate-spin,spin 1s linear infinite);border-color:var(--ax-comp-bg);border-radius:3.40282e38px;margin:auto;display:inline-block;border-bottom-color:#0000!important}ax-loading-spinner.ax-white .ax-loader{border-color:var(--color-white,#fff)}ax-loading-spinner.ax-default .ax-loader{border-color:var(--color-black,#000)}ax-loading-spinner.ax-default .ax-loader:where(.ax-dark,.ax-dark *){border-color:var(--color-white,#fff)}ax-loading-spinner.ax-black .ax-loader{border-color:var(--color-black,#000)}}@keyframes spin{to{transform:rotate(360deg)}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
65
66
  }], propDecorators: { text: [{
66
67
  type: Input
67
68
  }], color: [{
@@ -123,7 +124,7 @@ class AXLoadingComponent extends MXBaseComponent {
123
124
  set visible(v) {
124
125
  if (v != this._visible) {
125
126
  this._visible = v;
126
- v ? this.getHostElement().classList.remove('ax-hide') : this.getHostElement().classList.add('ax-hide');
127
+ v ? this.getHostElement().classList.remove('hidden') : this.getHostElement().classList.add('hidden');
127
128
  this.visibleChange.emit(v);
128
129
  }
129
130
  }
@@ -138,18 +139,18 @@ class AXLoadingComponent extends MXBaseComponent {
138
139
  /**
139
140
  * @ignore
140
141
  */
141
- _handleAttched(ref) {
142
+ _handleAttached(ref) {
142
143
  ref = ref;
143
144
  if (ref.instance && this.context) {
144
145
  Object.assign(ref.instance, this.context);
145
146
  }
146
147
  }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: AXLoadingComponent, isStandalone: true, selector: "ax-loading", inputs: { visible: "visible", type: "type", context: "context" }, outputs: { visibleChange: "visibleChange" }, providers: [{ provide: AXComponent, useExisting: AXLoadingComponent }], usesInheritance: true, ngImport: i0, template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template> `, isInline: true, styles: ["ax-loading{--ax-comp-loading-padding-x: .25rem;--ax-comp-loading-inner-scale: 0;--ax-comp-loading-pulse-scale: 1.05;--ax-comp-loading-animation-duration: 2s;--ax-comp-loading-spinner-gap: .75rem}.ax-loading-overlay-backdrop{--ax-comp-loading-overlay-opacity: .6}.ax-loading-pane{--ax-comp-loading-pane-outline-width: 2px;--ax-comp-loading-pane-outline-offset: 2px}ax-loading{position:relative;padding-left:var(--ax-comp-loading-padding-x);padding-right:var(--ax-comp-loading-padding-x)}ax-loading:before,ax-loading:after{content:\"\";top:50%;width:100%;height:100%;position:absolute;border-radius:9999px;inset-inline-start:50%;transform:translate(-50%,-50%) scale(var(--ax-comp-loading-inner-scale));background-color:transparent;animation:var(--ax-comp-loading-animation-duration) ease-in-out both ax-pulse;animation-iteration-count:infinite}@keyframes ax-pulse{50%{transform:scale3d(var(--ax-comp-loading-pulse-scale),var(--ax-comp-loading-pulse-scale),var(--ax-comp-loading-pulse-scale))}}ax-loading ax-loading-spinner{display:flex;gap:var(--ax-comp-loading-spinner-gap)}.ax-loading-overlay-backdrop{opacity:var(--ax-comp-loading-overlay-opacity);background-color:rgba(var(--ax-comp-loading-overlay-bg-color, var(--ax-sys-color-surface)))}.ax-loading-pane{top:0;bottom:0;inset-inline-end:0px;inset-inline-start:0px;width:100%!important;height:100%!important}.ax-loading-pane .cdk-dialog-container{display:flex!important;align-items:center;justify-content:center}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline-style:solid;outline-color:transparent;outline-width:var(--ax-comp-loading-pane-outline-width);outline-offset:var(--ax-comp-loading-pane-outline-offset)}\n"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
149
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: AXLoadingComponent, isStandalone: true, selector: "ax-loading", inputs: { visible: "visible", type: "type", context: "context" }, outputs: { visibleChange: "visibleChange" }, providers: [{ provide: AXComponent, useExisting: AXLoadingComponent }], usesInheritance: true, ngImport: i0, template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttached($event)"></ng-template> `, isInline: true, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-content:\"\";--tw-outline-style:solid}}}@layer components{ax-loading{padding-inline:calc(var(--spacing,.25rem) * 2);position:relative}ax-loading:before,ax-loading:after{--tw-translate-x:-50%;--tw-translate-y:-50%;width:100%;height:100%;translate:var(--tw-translate-x) var(--tw-translate-y);transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);animation:var(--animate-pulse,1s ease-in-out both pulse);--tw-content:\"\";content:var(--tw-content);inset-inline-start:50%;background-color:#0000;border-radius:3.40282e38px;animation-iteration-count:infinite;position:absolute;top:50%}ax-loading ax-loading-spinner{gap:calc(var(--spacing,.25rem) * 3);display:flex}.ax-loading-overlay-backdrop{background-color:rgba(var(--ax-sys-color-surface));opacity:.6!important}.ax-loading-pane{inset-inline-start:calc(var(--spacing,.25rem) * 0);inset-inline-end:calc(var(--spacing,.25rem) * 0);top:calc(var(--spacing,.25rem) * 0);bottom:calc(var(--spacing,.25rem) * 0);width:100%!important;height:100%!important}.ax-loading-pane .cdk-dialog-container{justify-content:center;align-items:center;display:flex!important}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline-style:var(--tw-outline-style);outline-offset:2px;--tw-outline-style:solid;outline:2px solid #0000}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
149
150
  }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingComponent, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingComponent, decorators: [{
151
152
  type: Component,
152
- args: [{ selector: 'ax-loading', template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template> `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CdkPortalOutlet], providers: [{ provide: AXComponent, useExisting: AXLoadingComponent }], styles: ["ax-loading{--ax-comp-loading-padding-x: .25rem;--ax-comp-loading-inner-scale: 0;--ax-comp-loading-pulse-scale: 1.05;--ax-comp-loading-animation-duration: 2s;--ax-comp-loading-spinner-gap: .75rem}.ax-loading-overlay-backdrop{--ax-comp-loading-overlay-opacity: .6}.ax-loading-pane{--ax-comp-loading-pane-outline-width: 2px;--ax-comp-loading-pane-outline-offset: 2px}ax-loading{position:relative;padding-left:var(--ax-comp-loading-padding-x);padding-right:var(--ax-comp-loading-padding-x)}ax-loading:before,ax-loading:after{content:\"\";top:50%;width:100%;height:100%;position:absolute;border-radius:9999px;inset-inline-start:50%;transform:translate(-50%,-50%) scale(var(--ax-comp-loading-inner-scale));background-color:transparent;animation:var(--ax-comp-loading-animation-duration) ease-in-out both ax-pulse;animation-iteration-count:infinite}@keyframes ax-pulse{50%{transform:scale3d(var(--ax-comp-loading-pulse-scale),var(--ax-comp-loading-pulse-scale),var(--ax-comp-loading-pulse-scale))}}ax-loading ax-loading-spinner{display:flex;gap:var(--ax-comp-loading-spinner-gap)}.ax-loading-overlay-backdrop{opacity:var(--ax-comp-loading-overlay-opacity);background-color:rgba(var(--ax-comp-loading-overlay-bg-color, var(--ax-sys-color-surface)))}.ax-loading-pane{top:0;bottom:0;inset-inline-end:0px;inset-inline-start:0px;width:100%!important;height:100%!important}.ax-loading-pane .cdk-dialog-container{display:flex!important;align-items:center;justify-content:center}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline-style:solid;outline-color:transparent;outline-width:var(--ax-comp-loading-pane-outline-width);outline-offset:var(--ax-comp-loading-pane-outline-offset)}\n"] }]
153
+ args: [{ selector: 'ax-loading', template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttached($event)"></ng-template> `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CdkPortalOutlet], providers: [{ provide: AXComponent, useExisting: AXLoadingComponent }], styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-content:\"\";--tw-outline-style:solid}}}@layer components{ax-loading{padding-inline:calc(var(--spacing,.25rem) * 2);position:relative}ax-loading:before,ax-loading:after{--tw-translate-x:-50%;--tw-translate-y:-50%;width:100%;height:100%;translate:var(--tw-translate-x) var(--tw-translate-y);transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);animation:var(--animate-pulse,1s ease-in-out both pulse);--tw-content:\"\";content:var(--tw-content);inset-inline-start:50%;background-color:#0000;border-radius:3.40282e38px;animation-iteration-count:infinite;position:absolute;top:50%}ax-loading ax-loading-spinner{gap:calc(var(--spacing,.25rem) * 3);display:flex}.ax-loading-overlay-backdrop{background-color:rgba(var(--ax-sys-color-surface));opacity:.6!important}.ax-loading-pane{inset-inline-start:calc(var(--spacing,.25rem) * 0);inset-inline-end:calc(var(--spacing,.25rem) * 0);top:calc(var(--spacing,.25rem) * 0);bottom:calc(var(--spacing,.25rem) * 0);width:100%!important;height:100%!important}.ax-loading-pane .cdk-dialog-container{justify-content:center;align-items:center;display:flex!important}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline-style:var(--tw-outline-style);outline-offset:2px;--tw-outline-style:solid;outline:2px solid #0000}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
153
154
  }], propDecorators: { visibleChange: [{
154
155
  type: Output
155
156
  }], visible: [{
@@ -169,7 +170,9 @@ class AXLoadingService {
169
170
  // Both loading state maps are kept in-sync such that
170
171
  // they can be used by both sync and async methods.
171
172
  this.loadingStates$ = new WeakMap();
172
- this.dialog = inject(Dialog);
173
+ this.overlayService = inject(AXOverlayService);
174
+ this.document = inject(DOCUMENT);
175
+ this.activeOverlays = new Map();
173
176
  }
174
177
  /**
175
178
  * Shows a modal loading overlay.
@@ -181,34 +184,70 @@ class AXLoadingService {
181
184
  * @returns number Unique loading reference id to be used with {@link hide}.
182
185
  */
183
186
  show(config) {
184
- const ce = (config?.location ?? document.body);
185
- const dialogRef = this.dialog.open(AXLoadingComponent, {
186
- hasBackdrop: true,
187
- disableClose: true,
188
- restoreFocus: true,
189
- closeOnDestroy: true,
190
- closeOnNavigation: true,
191
- ariaModal: true,
192
- role: 'alertdialog',
187
+ const ce = (config?.location ?? this.document.body);
188
+ const id = new Date().getTime();
189
+ const isElementLevel = ce !== this.document.body;
190
+ const inputs = {};
191
+ if (config?.type)
192
+ inputs['type'] = config.type;
193
+ if (config?.context)
194
+ inputs['context'] = config.context;
195
+ const entry = {
196
+ dispose: () => {
197
+ /* noop until overlay is created */
198
+ },
199
+ };
200
+ this.activeOverlays.set(id, entry);
201
+ this.overlayService
202
+ .create(AXLoadingComponent, {
203
+ inputs,
204
+ backdrop: isElementLevel
205
+ ? { enabled: false }
206
+ : {
207
+ enabled: true,
208
+ background: true,
209
+ closeOnClick: false,
210
+ backdropClass: 'ax-loading-overlay-backdrop',
211
+ },
193
212
  panelClass: ['ax-loading-pane', 'ax-animate-fadeIn'],
194
- backdropClass: ['ax-loading-overlay-backdrop', 'ax-animate-fadeIn'],
213
+ })
214
+ .then((overlayRef) => {
215
+ if (overlayRef.instance instanceof ComponentRef) {
216
+ const instance = overlayRef.instance.instance;
217
+ instance.visible = true;
218
+ instance.id = id.toString();
219
+ }
220
+ if (isElementLevel) {
221
+ const backdrop = this.document.createElement('div');
222
+ backdrop.classList.add('ax-loading-overlay-backdrop', 'ax-animate-fadeIn');
223
+ backdrop.style.position = 'absolute';
224
+ backdrop.style.top = '0';
225
+ backdrop.style.left = '0';
226
+ backdrop.style.width = '100%';
227
+ backdrop.style.height = '100%';
228
+ ce.style.position = 'relative';
229
+ const ov = overlayRef.overlayElement;
230
+ if (ov) {
231
+ ov.style.position = 'absolute';
232
+ ce.appendChild(backdrop);
233
+ ce.appendChild(ov);
234
+ setTimeout(() => {
235
+ ov.style.position = 'absolute';
236
+ });
237
+ }
238
+ entry.dispose = () => {
239
+ backdrop.remove();
240
+ overlayRef.dispose();
241
+ };
242
+ }
243
+ else {
244
+ entry.dispose = () => overlayRef.dispose();
245
+ }
246
+ if (!this.activeOverlays.has(id)) {
247
+ entry.dispose();
248
+ }
195
249
  });
196
- const id = new Date().getTime();
197
- dialogRef.componentInstance.visible = true;
198
- dialogRef.componentInstance.id = id.toString();
199
- if (ce != document.body) {
200
- const bg = dialogRef.overlayRef.backdropElement;
201
- const ov = dialogRef.overlayRef.overlayElement;
202
- ce.style.position = 'relative';
203
- ov.style.position = 'absolute';
204
- ce.appendChild(bg);
205
- ce.appendChild(ov);
206
- setTimeout(() => {
207
- ov.style.position = 'absolute';
208
- });
209
- }
210
250
  return id;
211
- // TODO: diabled focus and click, maybe we need a service and directive for it
212
251
  }
213
252
  /**
214
253
  * Hides a previously shown modal loading overlay.
@@ -216,9 +255,10 @@ class AXLoadingService {
216
255
  * @param id Loading reference id returned by {@link show}.
217
256
  */
218
257
  hide(id) {
219
- const f = this.dialog.openDialogs.find((c) => c.componentInstance.id === id.toString());
220
- if (f) {
221
- f.close();
258
+ const entry = this.activeOverlays.get(id);
259
+ if (entry) {
260
+ entry.dispose();
261
+ this.activeOverlays.delete(id);
222
262
  }
223
263
  }
224
264
  /**
@@ -328,10 +368,10 @@ class AXLoadingService {
328
368
  getLoaderId(loaderId) {
329
369
  return loaderId ?? DEFAULT_LOADER_ID;
330
370
  }
331
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
332
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingService, providedIn: 'root' }); }
371
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
372
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingService, providedIn: 'root' }); }
333
373
  }
334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingService, decorators: [{
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingService, decorators: [{
335
375
  type: Injectable,
336
376
  args: [{
337
377
  providedIn: 'root',
@@ -360,10 +400,10 @@ class AXLoadingDirective {
360
400
  this.loadingService = inject(AXLoadingService);
361
401
  this._hostElement = this.elementRef.nativeElement;
362
402
  }
363
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
364
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: AXLoadingDirective, isStandalone: true, selector: "[axIsLoading]", inputs: { isLoading: ["axIsLoading", "isLoading"] }, ngImport: i0 }); }
403
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
404
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: AXLoadingDirective, isStandalone: true, selector: "[axIsLoading]", inputs: { isLoading: ["axIsLoading", "isLoading"] }, ngImport: i0 }); }
365
405
  }
366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingDirective, decorators: [{
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDirective, decorators: [{
367
407
  type: Directive,
368
408
  args: [{ selector: '[axIsLoading]' }]
369
409
  }], ctorParameters: () => [], propDecorators: { isLoading: [{
@@ -372,11 +412,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
372
412
  }] } });
373
413
 
374
414
  class AXLoadingModule {
375
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
376
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingModule, imports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] }); }
377
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingModule }); }
415
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
416
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingModule, imports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] }); }
417
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingModule }); }
378
418
  }
379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXLoadingModule, decorators: [{
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingModule, decorators: [{
380
420
  type: NgModule,
381
421
  args: [{
382
422
  imports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent],