@acorex/components 19.11.0-next.0 → 19.11.0-next.1

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 (482) hide show
  1. package/README.md +22 -20
  2. package/action-sheet/lib/action-sheet.component.d.ts +1 -1
  3. package/action-sheet/lib/action-sheet.module.d.ts +11 -11
  4. package/alert/lib/alert.component.d.ts +1 -1
  5. package/alert/lib/alert.module.d.ts +4 -4
  6. package/audio-wave/lib/audio-wave.component.d.ts +1 -1
  7. package/audio-wave/lib/audio-wave.module.d.ts +7 -7
  8. package/avatar/lib/avatar-group.component.d.ts +1 -1
  9. package/avatar/lib/avatar.component.d.ts +1 -1
  10. package/avatar/lib/avatar.module.d.ts +4 -4
  11. package/badge/lib/badge.component.d.ts +1 -1
  12. package/badge/lib/badge.module.d.ts +3 -3
  13. package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +1 -1
  14. package/bottom-navigation/lib/bottom-navigation.component.d.ts +1 -1
  15. package/bottom-navigation/lib/bottom-navigation.module.d.ts +4 -4
  16. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
  17. package/breadcrumbs/lib/breadcrumbs.component.d.ts +1 -1
  18. package/breadcrumbs/lib/breadcrumbs.module.d.ts +5 -5
  19. package/button/lib/button-item-list.component.d.ts +1 -1
  20. package/button/lib/button-item.component.d.ts +1 -1
  21. package/button/lib/button.component.d.ts +1 -1
  22. package/button/lib/button.module.d.ts +8 -8
  23. package/button-group/lib/button-group-item.component.d.ts +1 -1
  24. package/button-group/lib/button-group.component.d.ts +1 -1
  25. package/button-group/lib/button-group.module.d.ts +6 -6
  26. package/calendar/lib/calendar-range.component.d.ts +1 -1
  27. package/calendar/lib/calendar.component.d.ts +1 -1
  28. package/calendar/lib/calendar.module.d.ts +8 -8
  29. package/check-box/lib/check-box.component.d.ts +1 -1
  30. package/check-box/lib/check-box.module.d.ts +5 -5
  31. package/chips/lib/chips.component.d.ts +1 -1
  32. package/chips/lib/chips.module.d.ts +3 -3
  33. package/circular-progress/lib/circular-progress.component.d.ts +1 -1
  34. package/circular-progress/lib/circular-progress.module.d.ts +1 -1
  35. package/collapse/lib/collapse-group.component.d.ts +1 -1
  36. package/collapse/lib/collapse.component.d.ts +1 -1
  37. package/collapse/lib/collapse.module.d.ts +5 -5
  38. package/color-box/lib/color-box.component.d.ts +1 -1
  39. package/color-box/lib/color-box.module.d.ts +6 -6
  40. package/color-palette/lib/color-palette-input.component.d.ts +1 -1
  41. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  42. package/color-palette/lib/color-palette-preview.component.d.ts +3 -3
  43. package/color-palette/lib/color-palette-swatches.component.d.ts +1 -1
  44. package/color-palette/lib/color-palette.component.d.ts +3 -3
  45. package/color-palette/lib/color-palette.module.d.ts +17 -17
  46. package/comment/lib/comment-container/comment-container.component.d.ts +1 -1
  47. package/comment/lib/comment-item/comment-item.component.d.ts +1 -1
  48. package/comment/lib/comment-tools/comment-date/comment-date.component.d.ts +1 -1
  49. package/comment/lib/comment-tools/comment-like/comment-like.component.d.ts +1 -1
  50. package/comment/lib/comment-tools/comment-menu-options/comment-menu-options.component.d.ts +1 -1
  51. package/comment/lib/comment-tools/comment-reply-more/comment-reply-more.component.d.ts +1 -1
  52. package/comment/lib/comment-tools/comment-reply-text/comment-reply-text.component.d.ts +1 -1
  53. package/comment/lib/comment-view/comment-view.component.d.ts +1 -1
  54. package/comment/lib/comment.module.d.ts +16 -16
  55. package/common/lib/common.module.d.ts +1 -1
  56. package/common/lib/directives/auto-focus.directive.d.ts +1 -1
  57. package/common/lib/directives/hotkey.directive.d.ts +1 -1
  58. package/common/lib/directives/infinite-scroll.directive.d.ts +1 -1
  59. package/common/lib/directives/responsive.directive.d.ts +1 -1
  60. package/conversation/lib/conversation-container/conversation-container.component.d.ts +2 -3
  61. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  62. package/conversation/lib/conversation-message/conversation-message.component.d.ts +2 -1
  63. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +1 -1
  64. package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +1 -1
  65. package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +1 -1
  66. package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +1 -1
  67. package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +1 -1
  68. package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +1 -1
  69. package/conversation/lib/conversation-view/conversation-view.component.d.ts +1 -1
  70. package/conversation/lib/conversation.module.d.ts +29 -29
  71. package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +1 -1
  72. package/cron-job/lib/cron-job.module.d.ts +20 -20
  73. package/cron-job/lib/day/day.component.d.ts +1 -1
  74. package/cron-job/lib/hours/hours.component.d.ts +1 -1
  75. package/cron-job/lib/minutes/minutes.component.d.ts +1 -1
  76. package/cron-job/lib/month/month.component.d.ts +1 -1
  77. package/cron-job/lib/seconds/seconds.component.d.ts +1 -1
  78. package/cron-job/lib/year/year.component.d.ts +1 -1
  79. package/data-pager/lib/data-pager-info.component.d.ts +1 -1
  80. package/data-pager/lib/data-pager-input-selector.component.d.ts +1 -1
  81. package/data-pager/lib/data-pager-next-buttons.component.d.ts +1 -1
  82. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +1 -1
  83. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +1 -1
  84. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +1 -1
  85. package/data-pager/lib/data-pager.component.d.ts +1 -1
  86. package/data-pager/lib/data-pager.module.d.ts +17 -17
  87. package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +1 -1
  88. package/data-table/lib/columns/data-text-column.component.d.ts +1 -1
  89. package/data-table/lib/columns/row-command-column.component.d.ts +2 -2
  90. package/data-table/lib/columns/row-expand-column.component.d.ts +1 -1
  91. package/data-table/lib/columns/row-index-column.component.d.ts +10 -10
  92. package/data-table/lib/columns/row-select-column.component.d.ts +1 -1
  93. package/data-table/lib/data-table/data-table.component.d.ts +19 -4
  94. package/data-table/lib/data-table.module.d.ts +22 -22
  95. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +1 -1
  96. package/datetime-box/lib/datetime-box.component.d.ts +3 -1
  97. package/datetime-box/lib/datetime-box.module.d.ts +8 -8
  98. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  99. package/datetime-input/lib/datetime-input.module.d.ts +5 -5
  100. package/datetime-picker/lib/datetime-picker.component.d.ts +3 -1
  101. package/datetime-picker/lib/datetime-picker.module.d.ts +11 -11
  102. package/decorators/lib/components/clear-button/clear-button.component.d.ts +1 -1
  103. package/decorators/lib/components/close-button/close-button.component.d.ts +1 -1
  104. package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +1 -1
  105. package/decorators/lib/components/full-screen/full-screen-button.component.d.ts +1 -1
  106. package/decorators/lib/components/generic-content.component.d.ts +1 -1
  107. package/decorators/lib/components/heading/heading.component.d.ts +1 -3
  108. package/decorators/lib/components/icon/icon.component.d.ts +1 -1
  109. package/decorators/lib/decorators.module.d.ts +9 -9
  110. package/dialog/lib/dialog.class.d.ts +1 -0
  111. package/dialog/lib/dialog.component.d.ts +1 -1
  112. package/dialog/lib/dialog.module.d.ts +11 -11
  113. package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +1 -1
  114. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +1 -1
  115. package/drawer/lib/drawer.module.d.ts +4 -4
  116. package/dropdown/lib/dropdown-box.component.d.ts +1 -1
  117. package/dropdown/lib/dropdown-panel.component.d.ts +1 -1
  118. package/dropdown/lib/dropdown.module.d.ts +9 -9
  119. package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
  120. package/dropdown-button/lib/dropdown-button.module.d.ts +8 -8
  121. package/fesm2022/acorex-components-action-sheet.mjs +20 -53
  122. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  123. package/fesm2022/acorex-components-alert.mjs +11 -13
  124. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  125. package/fesm2022/acorex-components-audio-wave.mjs +12 -15
  126. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  127. package/fesm2022/acorex-components-avatar.mjs +14 -16
  128. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  129. package/fesm2022/acorex-components-badge.mjs +10 -11
  130. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  131. package/fesm2022/acorex-components-bottom-navigation.mjs +14 -15
  132. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  133. package/fesm2022/acorex-components-breadcrumbs.mjs +15 -17
  134. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  135. package/fesm2022/acorex-components-button-group.mjs +16 -18
  136. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  137. package/fesm2022/acorex-components-button.mjs +28 -51
  138. package/fesm2022/acorex-components-button.mjs.map +1 -1
  139. package/fesm2022/acorex-components-calendar.mjs +26 -42
  140. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  141. package/fesm2022/acorex-components-check-box.mjs +11 -12
  142. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  143. package/fesm2022/acorex-components-chips.mjs +10 -11
  144. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  145. package/fesm2022/acorex-components-circular-progress.mjs +10 -11
  146. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  147. package/fesm2022/acorex-components-collapse.mjs +16 -20
  148. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  149. package/fesm2022/acorex-components-color-box.mjs +23 -40
  150. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  151. package/fesm2022/acorex-components-color-palette.mjs +50 -56
  152. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  153. package/fesm2022/acorex-components-comment.mjs +47 -63
  154. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  155. package/fesm2022/acorex-components-common.mjs +107 -127
  156. package/fesm2022/acorex-components-common.mjs.map +1 -1
  157. package/fesm2022/acorex-components-conversation.mjs +109 -104
  158. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  159. package/fesm2022/acorex-components-cron-job.mjs +312 -248
  160. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  161. package/fesm2022/acorex-components-data-pager.mjs +79 -67
  162. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  163. package/fesm2022/acorex-components-data-table.mjs +173 -219
  164. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  165. package/fesm2022/acorex-components-datetime-box.mjs +18 -41
  166. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  167. package/fesm2022/acorex-components-datetime-input.mjs +17 -33
  168. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  169. package/fesm2022/acorex-components-datetime-picker.mjs +41 -30
  170. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  171. package/fesm2022/acorex-components-decorators.mjs +43 -61
  172. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  173. package/fesm2022/acorex-components-dialog.mjs +34 -30
  174. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  175. package/fesm2022/acorex-components-drawer.mjs +17 -18
  176. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  177. package/fesm2022/acorex-components-dropdown-button.mjs +15 -20
  178. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  179. package/fesm2022/acorex-components-dropdown.mjs +18 -21
  180. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  181. package/fesm2022/acorex-components-file-explorer.mjs +190 -143
  182. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  183. package/fesm2022/acorex-components-form.mjs +56 -50
  184. package/fesm2022/acorex-components-form.mjs.map +1 -1
  185. package/fesm2022/acorex-components-grid-layout-builder.mjs +18 -23
  186. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  187. package/fesm2022/acorex-components-image-editor.mjs +44 -52
  188. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  189. package/fesm2022/acorex-components-image.mjs +11 -16
  190. package/fesm2022/acorex-components-image.mjs.map +1 -1
  191. package/fesm2022/acorex-components-json-viewer.mjs +12 -18
  192. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  193. package/fesm2022/acorex-components-kbd.mjs +18 -16
  194. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  195. package/fesm2022/acorex-components-label.mjs +10 -11
  196. package/fesm2022/acorex-components-label.mjs.map +1 -1
  197. package/fesm2022/acorex-components-list.mjs +29 -34
  198. package/fesm2022/acorex-components-list.mjs.map +1 -1
  199. package/fesm2022/acorex-components-loading-dialog.mjs +46 -45
  200. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  201. package/fesm2022/acorex-components-loading.mjs +22 -31
  202. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  203. package/fesm2022/acorex-components-map.mjs +14 -18
  204. package/fesm2022/acorex-components-map.mjs.map +1 -1
  205. package/fesm2022/acorex-components-media-viewer.mjs +73 -78
  206. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  207. package/fesm2022/acorex-components-menu.mjs +28 -41
  208. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  209. package/fesm2022/acorex-components-navbar.mjs +10 -11
  210. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  211. package/fesm2022/acorex-components-notification.mjs +19 -26
  212. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  213. package/fesm2022/acorex-components-number-box.mjs +11 -13
  214. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  215. package/fesm2022/acorex-components-otp.mjs +13 -15
  216. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  217. package/fesm2022/acorex-components-page.mjs +11 -11
  218. package/fesm2022/acorex-components-paint.mjs +34 -68
  219. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  220. package/fesm2022/acorex-components-password-box.mjs +21 -51
  221. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  222. package/fesm2022/acorex-components-pdf-reader.mjs +10 -11
  223. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  224. package/fesm2022/acorex-components-phone-box.mjs +19 -66
  225. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  226. package/fesm2022/acorex-components-picker.mjs +21 -23
  227. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  228. package/fesm2022/acorex-components-popover.mjs +14 -29
  229. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  230. package/fesm2022/acorex-components-popup.mjs +28 -51
  231. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  232. package/fesm2022/acorex-components-progress-bar.mjs +10 -11
  233. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  234. package/fesm2022/acorex-components-qrcode.mjs +10 -11
  235. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  236. package/fesm2022/acorex-components-query-builder.mjs +31 -28
  237. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  238. package/fesm2022/acorex-components-radio.mjs +11 -12
  239. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  240. package/fesm2022/acorex-components-rail-navigation.mjs +19 -22
  241. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  242. package/fesm2022/acorex-components-range-slider.mjs +12 -14
  243. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  244. package/fesm2022/acorex-components-rate-picker.mjs +10 -11
  245. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  246. package/fesm2022/acorex-components-rest-api-generator.mjs +361 -0
  247. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -0
  248. package/fesm2022/acorex-components-result.mjs +16 -17
  249. package/fesm2022/acorex-components-result.mjs.map +1 -1
  250. package/fesm2022/acorex-components-routing-progress.mjs +16 -17
  251. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  252. package/fesm2022/acorex-components-scheduler.mjs +30 -27
  253. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  254. package/fesm2022/acorex-components-scss.mjs +4 -4
  255. package/fesm2022/acorex-components-search-box.mjs +20 -58
  256. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  257. package/fesm2022/acorex-components-select-box.mjs +55 -48
  258. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  259. package/fesm2022/acorex-components-selection-list.mjs +15 -34
  260. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  261. package/fesm2022/acorex-components-side-menu.mjs +26 -56
  262. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  263. package/fesm2022/acorex-components-skeleton.mjs +10 -11
  264. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  265. package/fesm2022/acorex-components-slider.mjs +11 -12
  266. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  267. package/fesm2022/acorex-components-sliding-item.mjs +19 -22
  268. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  269. package/fesm2022/acorex-components-step-wizard.mjs +20 -24
  270. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  271. package/fesm2022/acorex-components-switch.mjs +13 -15
  272. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  273. package/fesm2022/acorex-components-tabs.mjs +19 -22
  274. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  275. package/fesm2022/acorex-components-tag.mjs +10 -11
  276. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  277. package/fesm2022/acorex-components-text-area.mjs +12 -24
  278. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  279. package/fesm2022/acorex-components-text-box.mjs +17 -47
  280. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  281. package/fesm2022/acorex-components-time-line.mjs +16 -18
  282. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  283. package/fesm2022/acorex-components-toast.mjs +27 -31
  284. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  285. package/fesm2022/acorex-components-toolbar.mjs +10 -12
  286. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  287. package/fesm2022/acorex-components-tooltip.mjs +31 -32
  288. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  289. package/fesm2022/acorex-components-tree-view.mjs +51 -39
  290. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  291. package/fesm2022/acorex-components-uploader.mjs +47 -55
  292. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  293. package/fesm2022/acorex-components-video-player.mjs +10 -11
  294. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  295. package/fesm2022/acorex-components-wysiwyg.mjs +66 -72
  296. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  297. package/file-explorer/index.d.ts +2 -0
  298. package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +1 -6
  299. package/file-explorer/lib/file-explorer-header/file-explorer-header.component.d.ts +9 -0
  300. package/file-explorer/lib/file-explorer-internal.service.d.ts +18 -0
  301. package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +1 -1
  302. package/file-explorer/lib/file-explorer-tree/file-explorer-tree.component.d.ts +13 -0
  303. package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +3 -16
  304. package/file-explorer/lib/file-explorer.module.d.ts +14 -11
  305. package/file-explorer/lib/file-explorer.service.d.ts +6 -1
  306. package/form/lib/form-field.component.d.ts +1 -1
  307. package/form/lib/form.component.d.ts +1 -1
  308. package/form/lib/form.module.d.ts +11 -11
  309. package/form/lib/validation-rule.directive.d.ts +1 -1
  310. package/form/lib/validation-summary.component.d.ts +1 -1
  311. package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +5 -5
  312. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +1 -1
  313. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +1 -1
  314. package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +1 -1
  315. package/image/lib/image.component.d.ts +1 -1
  316. package/image/lib/image.module.d.ts +3 -3
  317. package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -1
  318. package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +1 -1
  319. package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -1
  320. package/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.d.ts +1 -1
  321. package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -1
  322. package/image-editor/lib/image-editor.module.d.ts +16 -16
  323. package/json-viewer/lib/json-viewer/json-viewer.component.d.ts +1 -1
  324. package/json-viewer/lib/json-viewer.module.d.ts +5 -5
  325. package/kbd/lib/kbd-item/kbd-item.component.d.ts +2 -1
  326. package/kbd/lib/kbd.component.d.ts +1 -1
  327. package/kbd/lib/kbd.module.d.ts +4 -4
  328. package/label/lib/label.component.d.ts +1 -1
  329. package/label/lib/label.module.d.ts +3 -3
  330. package/list/lib/list.component.d.ts +2 -2
  331. package/list/lib/list.module.d.ts +5 -5
  332. package/loading/lib/loading-spinner.component.d.ts +1 -1
  333. package/loading/lib/loading.component.d.ts +1 -1
  334. package/loading/lib/loading.directive.d.ts +1 -1
  335. package/loading/lib/loading.module.d.ts +8 -8
  336. package/loading-dialog/lib/loading-dialog.component.d.ts +18 -18
  337. package/loading-dialog/lib/loading-dialog.module.d.ts +9 -9
  338. package/map/lib/map.component.d.ts +1 -1
  339. package/map/lib/map.module.d.ts +3 -3
  340. package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -1
  341. package/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.d.ts +1 -1
  342. package/media-viewer/lib/media-viewer-tools/audio-player/audio-player.component.d.ts +1 -1
  343. package/media-viewer/lib/media-viewer-tools/file-info/file-info.component.d.ts +1 -1
  344. package/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.d.ts +1 -1
  345. package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +1 -1
  346. package/media-viewer/lib/media-viewer-tools/video-player/video-player.component.d.ts +1 -1
  347. package/media-viewer/lib/media-viewer.module.d.ts +18 -18
  348. package/menu/lib/context-menu.component.d.ts +1 -1
  349. package/menu/lib/menu-item.component.d.ts +1 -1
  350. package/menu/lib/menu.component.d.ts +1 -1
  351. package/menu/lib/menu.module.d.ts +10 -10
  352. package/navbar/lib/navbar.component.d.ts +1 -1
  353. package/navbar/lib/navbar.module.d.ts +3 -3
  354. package/notification/lib/notification.component.d.ts +1 -1
  355. package/notification/lib/notification.module.d.ts +9 -9
  356. package/number-box/lib/number-box.component.d.ts +1 -1
  357. package/number-box/lib/number-box.module.d.ts +7 -7
  358. package/otp/lib/otp.component.d.ts +1 -1
  359. package/otp/lib/otp.module.d.ts +4 -4
  360. package/package.json +5 -1
  361. package/paint/lib/paint/paint-container/paint-container.component.d.ts +1 -1
  362. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +1 -1
  363. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +1 -1
  364. package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
  365. package/paint/lib/paint.module.d.ts +13 -13
  366. package/password-box/lib/password-box.component.d.ts +1 -1
  367. package/password-box/lib/password-box.module.d.ts +10 -10
  368. package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +1 -1
  369. package/pdf-reader/lib/pdf-reader/pdf-reader.component.d.ts +1 -1
  370. package/pdf-reader/lib/pdf-reader.module.d.ts +1 -1
  371. package/phone-box/lib/phone-box.component.d.ts +2 -2
  372. package/phone-box/lib/phone-box.module.d.ts +10 -10
  373. package/picker/lib/picker-container/picker-container.component.d.ts +1 -1
  374. package/picker/lib/picker-items/picker-items.component.d.ts +1 -1
  375. package/picker/lib/picker-title/picker-title.component.d.ts +1 -1
  376. package/picker/lib/picker.module.d.ts +6 -6
  377. package/popover/lib/popover.component.d.ts +1 -1
  378. package/popover/lib/popover.module.d.ts +3 -3
  379. package/popup/lib/popup.component.d.ts +9 -9
  380. package/popup/lib/popup.module.d.ts +10 -10
  381. package/progress-bar/lib/progress-bar.component.d.ts +1 -1
  382. package/progress-bar/lib/progress-bar.module.d.ts +3 -3
  383. package/qrcode/lib/qrcode.component.d.ts +1 -1
  384. package/qrcode/lib/qrcode.module.d.ts +3 -3
  385. package/query-builder/lib/query-builder.component.d.ts +1 -1
  386. package/query-builder/lib/query-builder.module.d.ts +10 -10
  387. package/radio/lib/radio.component.d.ts +1 -1
  388. package/radio/lib/radio.module.d.ts +4 -4
  389. package/rail-navigation/lib/rail-navigation-item/rail-navigation-item.component.d.ts +1 -1
  390. package/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  391. package/rail-navigation/lib/rail-navigation.module.d.ts +5 -5
  392. package/range-slider/lib/range-slider.component.d.ts +1 -1
  393. package/range-slider/lib/range-slider.module.d.ts +3 -3
  394. package/rate-picker/lib/rate-picker.component.d.ts +1 -1
  395. package/rate-picker/lib/rate-picker.module.d.ts +3 -3
  396. package/rest-api-generator/README.md +3 -0
  397. package/rest-api-generator/index.d.ts +8 -0
  398. package/rest-api-generator/lib/query-params/query-params.component.d.ts +16 -0
  399. package/rest-api-generator/lib/request-body/request-body.component.d.ts +22 -0
  400. package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +22 -0
  401. package/rest-api-generator/lib/rest-api-auth/rest-api-auth.component.d.ts +22 -0
  402. package/rest-api-generator/lib/rest-api-generator.component.d.ts +14 -0
  403. package/rest-api-generator/lib/rest-api-generator.module.d.ts +19 -0
  404. package/rest-api-generator/lib/rest-api-generator.service.d.ts +7 -0
  405. package/rest-api-generator/lib/types.d.ts +20 -0
  406. package/result/lib/result.component.d.ts +7 -7
  407. package/result/lib/result.module.d.ts +3 -3
  408. package/routing-progress/lib/routing-progress.component.d.ts +7 -7
  409. package/routing-progress/lib/routing-progress.module.d.ts +3 -3
  410. package/scheduler/lib/scheduler-month-view.component.d.ts +1 -1
  411. package/scheduler/lib/scheduler-week-view.component.d.ts +1 -1
  412. package/scheduler/lib/scheduler.component.d.ts +1 -1
  413. package/scheduler/lib/scheduler.module.d.ts +9 -9
  414. package/search-box/lib/search-box.component.d.ts +2 -1
  415. package/search-box/lib/search-box.module.d.ts +9 -9
  416. package/select-box/lib/select-box.component.d.ts +12 -4
  417. package/select-box/lib/select-box.module.d.ts +15 -15
  418. package/selection-list/lib/selection-list.component.d.ts +1 -1
  419. package/selection-list/lib/selection-list.module.d.ts +8 -8
  420. package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +1 -1
  421. package/side-menu/lib/side-menu.component.d.ts +1 -1
  422. package/side-menu/lib/side-menu.directive.d.ts +1 -1
  423. package/side-menu/lib/side-menu.module.d.ts +10 -10
  424. package/skeleton/lib/skeleton.component.d.ts +1 -1
  425. package/skeleton/lib/skeleton.module.d.ts +3 -3
  426. package/slider/lib/slider.component.d.ts +1 -1
  427. package/slider/lib/slider.module.d.ts +5 -5
  428. package/sliding-item/lib/sliding-item/sliding-item.component.d.ts +1 -1
  429. package/sliding-item/lib/sliding-item-prefix/sliding-item-prefix.component.d.ts +1 -1
  430. package/sliding-item/lib/sliding-item-suffix/sliding-item-suffix.component.d.ts +1 -1
  431. package/sliding-item/lib/sliding-item.module.d.ts +6 -6
  432. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +1 -1
  433. package/step-wizard/lib/step-wizard.component.d.ts +1 -1
  434. package/step-wizard/lib/step-wizard.directive.d.ts +1 -1
  435. package/step-wizard/lib/step-wizard.module.d.ts +8 -8
  436. package/switch/lib/switch-content.component.d.ts +1 -1
  437. package/switch/lib/switch.component.d.ts +1 -1
  438. package/switch/lib/switch.module.d.ts +5 -5
  439. package/tabs/lib/tab-content.directive.d.ts +1 -1
  440. package/tabs/lib/tab-item.component.d.ts +1 -1
  441. package/tabs/lib/tabs.component.d.ts +1 -1
  442. package/tabs/lib/tabs.module.d.ts +7 -7
  443. package/tag/lib/tag.component.d.ts +1 -1
  444. package/tag/lib/tag.module.d.ts +3 -3
  445. package/text-area/lib/text-area.component.d.ts +1 -1
  446. package/text-area/lib/text-area.module.d.ts +4 -4
  447. package/text-box/lib/mask-options.directive.d.ts +1 -1
  448. package/text-box/lib/text-box.component.d.ts +1 -1
  449. package/text-box/lib/text-box.module.d.ts +8 -8
  450. package/time-line/lib/time-line-item.component.d.ts +1 -1
  451. package/time-line/lib/time-line.component.d.ts +1 -1
  452. package/time-line/lib/time-line.module.d.ts +4 -4
  453. package/toast/lib/toast.component.d.ts +1 -1
  454. package/toast/lib/toast.module.d.ts +8 -8
  455. package/toast/lib/toast.service.d.ts +1 -0
  456. package/toolbar/lib/toolbar.component.d.ts +1 -1
  457. package/toolbar/lib/toolbar.module.d.ts +3 -3
  458. package/tooltip/lib/tooltip.component.d.ts +1 -1
  459. package/tooltip/lib/tooltip.directive.d.ts +3 -2
  460. package/tooltip/lib/tooltip.module.d.ts +5 -5
  461. package/tree-view/lib/tree-view-item.component.d.ts +1 -1
  462. package/tree-view/lib/tree-view.class.d.ts +2 -0
  463. package/tree-view/lib/tree-view.component.d.ts +5 -3
  464. package/tree-view/lib/tree-view.component.module.d.ts +11 -11
  465. package/uploader/lib/uploader-browse-handle.directive.d.ts +1 -1
  466. package/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.d.ts +1 -1
  467. package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
  468. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -1
  469. package/uploader/lib/uploader-zone.directive.d.ts +1 -1
  470. package/uploader/lib/uploader.models.d.ts +4 -2
  471. package/uploader/lib/uploader.module.d.ts +16 -16
  472. package/video-player/lib/video-player/video-player.component.d.ts +1 -1
  473. package/video-player/lib/video-player.module.d.ts +1 -1
  474. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
  475. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +1 -1
  476. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +1 -1
  477. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +1 -1
  478. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +1 -1
  479. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +1 -1
  480. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +1 -1
  481. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +1 -1
  482. package/wysiwyg/lib/wysiwyg.module.d.ts +16 -16
@@ -1,13 +1,10 @@
1
1
  import { MXSelectionValueComponent, convertArrayToDataSource, AXListDataSource, AXComponent, AXFocusableComponent, AXValuableComponent, AX_SELECTION_DATA_TOKEN, MXSelectionBridgeService } from '@acorex/components/common';
2
- import * as i2 from '@angular/cdk/scrolling';
3
- import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
4
- import * as i1 from '@angular/common';
5
- import { isPlatformBrowser, CommonModule } from '@angular/common';
2
+ import { AXTranslatorPipe, AXTranslationModule } from '@acorex/core/translation';
3
+ import { CdkVirtualScrollViewport, CdkVirtualScrollableElement, CdkFixedSizeVirtualScroll, CdkVirtualForOf, ScrollingModule } from '@angular/cdk/scrolling';
4
+ import { isPlatformBrowser, NgIf, NgTemplateOutlet, AsyncPipe, CommonModule } from '@angular/common';
6
5
  import * as i0 from '@angular/core';
7
- import { EventEmitter, signal, forwardRef, Optional, SkipSelf, HostBinding, HostListener, ViewChild, Input, Output, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
+ import { EventEmitter, signal, forwardRef, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewEncapsulation, Output, Input, ViewChild, HostListener, HostBinding, NgModule } from '@angular/core';
8
7
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
9
- import * as i3 from '@acorex/core/translation';
10
- import { AXTranslationModule } from '@acorex/core/translation';
11
8
 
12
9
  /**
13
10
  * provides a list control with various input options and events for user interaction.
@@ -186,8 +183,10 @@ class AXListComponent extends MXSelectionValueComponent {
186
183
  * Refreshes the list by clearing the selection cache and reloading the data source.
187
184
  * @ignore
188
185
  */
189
- refresh() {
190
- this.clearSelectionCache();
186
+ refresh(clearSelection = true) {
187
+ if (clearSelection) {
188
+ this.clearSelectionCache();
189
+ }
191
190
  this.listDataSource.refresh();
192
191
  }
193
192
  /**
@@ -203,8 +202,7 @@ class AXListComponent extends MXSelectionValueComponent {
203
202
  */
204
203
  focus() {
205
204
  const list = this.getHostElement().querySelector('ul');
206
- const focusable = list.querySelector('li.ax-state-selected') ??
207
- list.querySelector('li.list-item');
205
+ const focusable = list.querySelector('li.ax-state-selected') ?? list.querySelector('li.list-item');
208
206
  if (focusable) {
209
207
  focusable.focus();
210
208
  }
@@ -219,8 +217,8 @@ class AXListComponent extends MXSelectionValueComponent {
219
217
  const _class = `ax-default ${this.showEmptyTemplate() ? 'ax-state-empty' : ''}`;
220
218
  return this.itemTemplate ? '' : _class;
221
219
  }
222
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
223
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXListComponent, isStandalone: false, selector: "ax-list", inputs: { id: "id", name: "name", disabled: "disabled", readonly: "readonly", valueField: "valueField", textField: "textField", textTemplate: "textTemplate", disabledField: "disabledField", multiple: "multiple", selectionMode: "selectionMode", dataSource: "dataSource", itemHeight: "itemHeight", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate", checkbox: "checkbox" }, outputs: { onValueChanged: "onValueChanged", disabledChange: "disabledChange", readOnlyChange: "readOnlyChange", onBlur: "onBlur", onFocus: "onFocus", onItemClick: "onItemClick", onScrolledIndexChanged: "onScrolledIndexChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, properties: { "class": "this.__hostClass" } }, providers: [
220
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
221
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: AXListComponent, isStandalone: true, selector: "ax-list", inputs: { id: "id", name: "name", disabled: "disabled", readonly: "readonly", valueField: "valueField", textField: "textField", textTemplate: "textTemplate", disabledField: "disabledField", multiple: "multiple", selectionMode: "selectionMode", dataSource: "dataSource", itemHeight: "itemHeight", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate", checkbox: "checkbox" }, outputs: { onValueChanged: "onValueChanged", disabledChange: "disabledChange", readOnlyChange: "readOnlyChange", onBlur: "onBlur", onFocus: "onFocus", onItemClick: "onItemClick", onScrolledIndexChanged: "onScrolledIndexChanged" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, properties: { "class": "this.__hostClass" } }, providers: [
224
222
  { provide: AXComponent, useExisting: AXListComponent },
225
223
  { provide: AXFocusableComponent, useExisting: AXListComponent },
226
224
  { provide: AXValuableComponent, useExisting: AXListComponent },
@@ -236,22 +234,11 @@ class AXListComponent extends MXSelectionValueComponent {
236
234
  },
237
235
  deps: [[new Optional(), new SkipSelf(), AX_SELECTION_DATA_TOKEN]],
238
236
  },
239
- ], viewQueries: [{ propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"list-container\" cdkVirtualScrollingElement>\n <ng-content select=\"ax-header\"></ng-content>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemHeightSignal()\"\n [style.--item-height]=\"itemHeightSignal() + 'px'\"\n (scrolledIndexChange)=\"_handleOnscrolledIndexChange($event)\"\n >\n <ul>\n <!-- Item Template -->\n <ng-container *cdkVirtualFor=\"let item of listDataSource; let i = index; trackBy: trackByIdx\">\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <li\n [class.ax-state-selected]=\"isItemSelected(item)\"\n class=\"list-item\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"getValue(item)\"\n >\n <!-- Custom Item Template -->\n <ng-container *ngIf=\"itemTemplate; else defaultItemTpl\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: { data: item } }\">\n </ng-container>\n </ng-container>\n <!-- Default Item Template -->\n <ng-template #defaultItemTpl>\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <div class=\"ax-label-container\">\n <input\n class=\"ax-checkbox\"\n *ngIf=\"multiple && checkbox\"\n type=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n tabindex=\"0\"\n />\n <span [class.ax-checkbox-label]=\"multiple && checkbox\">{{ getDisplayText(item) }}</span>\n </div>\n <!-- <i class=\"ax-icon ax-icon-check ax-selected-icon\" *ngIf=\"isItemSelected(item) \"></i> -->\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </cdk-virtual-scroll-viewport>\n <ng-content select=\"ax-footer\"></ng-content>\n</div>\n<!-- Loading Template -->\n<ng-template #loadingTpl>\n <!-- Custom Loading Template -->\n <ng-container *ngIf=\"loadingTemplate; else defaultLoadingTpl\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <!-- Default Loading Template -->\n <ng-template #defaultLoadingTpl>\n <li>{{ 'loading' | translate | async }}</li>\n </ng-template>\n</ng-template>\n<!-- Empty Template -->\n@if (showEmptyTemplate()) {\n <div class=\"empty-container\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </div>\n}\n", styles: ["ax-list{--ax-comp-list-item-height: var(--ax-sys-size-base);--ax-comp-list-empty-container-height: var(--ax-sys-size-base)}ax-list{--ax-comp-list-item-selected-bg-color: var(--ax-sys-color-primary-surface), .2;--ax-comp-list-item-header: var(--ax-sys-color-lighter-surface);--ax-comp-list-item-footer: var(--ax-sys-color-lighter-surface)}ax-list{display:block;height:100%;width:100%;font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .list-container{display:flex;height:100%;flex-direction:column}ax-list ax-header{background-color:rgba(var(--ax-comp-list-item-header))}ax-list ax-footer{background-color:rgba(var(--ax-comp-list-item-footer))}ax-list .empty-container{display:flex;height:var(--ax-comp-list-empty-container-height);width:100%;align-items:center;justify-content:center;padding-left:var(--ax-comp-list-empty-container-padding-x, .75rem);padding-right:var(--ax-comp-list-empty-container-padding-x, .75rem)}ax-list .cdk-virtual-scroll-viewport ul li{position:relative;display:flex;height:var(--ax-comp-list-item-height);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding-inline-end:var(--ax-comp-list-item-padding-e, 1rem);padding-inline-start:var(--ax-comp-list-item-padding-s, .75rem);font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .cdk-virtual-scroll-viewport ul li:hover{background:rgba(var(--ax-comp-list-item-hover-bg-color, var(--ax-sys-color-surface)))}ax-list .cdk-virtual-scroll-viewport ul li:focus,ax-list .cdk-virtual-scroll-viewport ul li:focus-within,ax-list .cdk-virtual-scroll-viewport ul li:focus-visible{outline-width:var(--ax-comp-list-item-focus-outline-width, 2px);outline-offset:var(--ax-comp-list-item-focus-outline-offset, -4px);outline-color:rgba(var(--ax-comp-list-item-focus-outline-color, var(--ax-sys-color-primary-surface)))}ax-list .cdk-virtual-scroll-viewport ul li .ax-label-container{display:flex;align-items:center}ax-list .cdk-virtual-scroll-viewport ul li .ax-checkbox-label{margin-inline-start:var(--ax-comp-list-checkbox-label-margin-s, .5rem)}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-selected{background-color:rgba(var(--ax-comp-list-item-selected-bg-color))}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-disabled{cursor:not-allowed;opacity:var(--ax-comp-list-item-disabled-opacity, .5)}ax-list.ax-state-empty{height:auto!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i2.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i2.CdkVirtualScrollableElement, selector: "[cdkVirtualScrollingElement]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
237
+ ], viewQueries: [{ propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"list-container\" cdkVirtualScrollingElement>\n <ng-content select=\"ax-header\"></ng-content>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemHeightSignal()\"\n [style.--item-height]=\"itemHeightSignal() + 'px'\"\n (scrolledIndexChange)=\"_handleOnscrolledIndexChange($event)\"\n >\n <ul>\n <!-- Item Template -->\n <ng-container *cdkVirtualFor=\"let item of listDataSource; let i = index; trackBy: trackByIdx\">\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <li\n [class.ax-state-selected]=\"isItemSelected(item)\"\n class=\"list-item\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"getValue(item)\"\n >\n <!-- Custom Item Template -->\n <ng-container *ngIf=\"itemTemplate; else defaultItemTpl\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: { data: item } }\">\n </ng-container>\n </ng-container>\n <!-- Default Item Template -->\n <ng-template #defaultItemTpl>\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <div class=\"ax-label-container\">\n <input\n class=\"ax-checkbox\"\n *ngIf=\"multiple && checkbox\"\n type=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n tabindex=\"0\"\n />\n <span [class.ax-checkbox-label]=\"multiple && checkbox\">{{ getDisplayText(item) }}</span>\n </div>\n <!-- <i class=\"ax-icon ax-icon-check ax-selected-icon\" *ngIf=\"isItemSelected(item) \"></i> -->\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </cdk-virtual-scroll-viewport>\n <ng-content select=\"ax-footer\"></ng-content>\n</div>\n<!-- Loading Template -->\n<ng-template #loadingTpl>\n <!-- Custom Loading Template -->\n <ng-container *ngIf=\"loadingTemplate; else defaultLoadingTpl\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <!-- Default Loading Template -->\n <ng-template #defaultLoadingTpl>\n <li>{{ 'loading' | translate | async }}</li>\n </ng-template>\n</ng-template>\n<!-- Empty Template -->\n@if (showEmptyTemplate()) {\n <div class=\"empty-container\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </div>\n}\n", styles: ["ax-list{--ax-comp-list-item-height: var(--ax-sys-size-base);--ax-comp-list-empty-container-height: var(--ax-sys-size-base)}ax-list{--ax-comp-list-item-selected-bg-color: var(--ax-sys-color-primary-surface), .2;--ax-comp-list-item-header: var(--ax-sys-color-lighter-surface);--ax-comp-list-item-footer: var(--ax-sys-color-lighter-surface)}ax-list{display:block;height:100%;width:100%;font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .list-container{display:flex;height:100%;flex-direction:column}ax-list ax-header{background-color:rgba(var(--ax-comp-list-item-header))}ax-list ax-footer{background-color:rgba(var(--ax-comp-list-item-footer))}ax-list .empty-container{display:flex;height:var(--ax-comp-list-empty-container-height);width:100%;align-items:center;justify-content:center;padding-left:var(--ax-comp-list-empty-container-padding-x, .75rem);padding-right:var(--ax-comp-list-empty-container-padding-x, .75rem)}ax-list .cdk-virtual-scroll-viewport ul li{position:relative;display:flex;height:var(--ax-comp-list-item-height);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding-inline-end:var(--ax-comp-list-item-padding-e, 1rem);padding-inline-start:var(--ax-comp-list-item-padding-s, .75rem);font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .cdk-virtual-scroll-viewport ul li:hover{background:rgba(var(--ax-comp-list-item-hover-bg-color, var(--ax-sys-color-surface)))}ax-list .cdk-virtual-scroll-viewport ul li:focus,ax-list .cdk-virtual-scroll-viewport ul li:focus-within,ax-list .cdk-virtual-scroll-viewport ul li:focus-visible{outline-width:var(--ax-comp-list-item-focus-outline-width, 2px);outline-offset:var(--ax-comp-list-item-focus-outline-offset, -4px);outline-color:rgba(var(--ax-comp-list-item-focus-outline-color, var(--ax-sys-color-primary-surface)))}ax-list .cdk-virtual-scroll-viewport ul li .ax-label-container{display:flex;align-items:center}ax-list .cdk-virtual-scroll-viewport ul li .ax-checkbox-label{margin-inline-start:var(--ax-comp-list-checkbox-label-margin-s, .5rem)}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-selected{background-color:rgba(var(--ax-comp-list-item-selected-bg-color))}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-disabled{cursor:not-allowed;opacity:var(--ax-comp-list-item-disabled-opacity, .5)}ax-list.ax-state-empty{height:auto!important}\n"], dependencies: [{ kind: "directive", type: CdkVirtualScrollableElement, selector: "[cdkVirtualScrollingElement]" }, { kind: "component", type: CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
240
238
  }
241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXListComponent, decorators: [{
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXListComponent, decorators: [{
242
240
  type: Component,
243
- args: [{ selector: 'ax-list', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [
244
- 'id',
245
- 'name',
246
- 'disabled',
247
- 'readonly',
248
- 'valueField',
249
- 'textField',
250
- 'textTemplate',
251
- 'disabledField',
252
- 'multiple',
253
- 'selectionMode',
254
- ], outputs: ['onValueChanged', 'disabledChange', 'readOnlyChange', 'onBlur', 'onFocus'], providers: [
241
+ args: [{ selector: 'ax-list', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: ['id', 'name', 'disabled', 'readonly', 'valueField', 'textField', 'textTemplate', 'disabledField', 'multiple', 'selectionMode'], outputs: ['onValueChanged', 'disabledChange', 'readOnlyChange', 'onBlur', 'onFocus'], providers: [
255
242
  { provide: AXComponent, useExisting: AXListComponent },
256
243
  { provide: AXFocusableComponent, useExisting: AXListComponent },
257
244
  { provide: AXValuableComponent, useExisting: AXListComponent },
@@ -267,7 +254,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
267
254
  },
268
255
  deps: [[new Optional(), new SkipSelf(), AX_SELECTION_DATA_TOKEN]],
269
256
  },
270
- ], standalone: false, template: "<div class=\"list-container\" cdkVirtualScrollingElement>\n <ng-content select=\"ax-header\"></ng-content>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemHeightSignal()\"\n [style.--item-height]=\"itemHeightSignal() + 'px'\"\n (scrolledIndexChange)=\"_handleOnscrolledIndexChange($event)\"\n >\n <ul>\n <!-- Item Template -->\n <ng-container *cdkVirtualFor=\"let item of listDataSource; let i = index; trackBy: trackByIdx\">\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <li\n [class.ax-state-selected]=\"isItemSelected(item)\"\n class=\"list-item\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"getValue(item)\"\n >\n <!-- Custom Item Template -->\n <ng-container *ngIf=\"itemTemplate; else defaultItemTpl\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: { data: item } }\">\n </ng-container>\n </ng-container>\n <!-- Default Item Template -->\n <ng-template #defaultItemTpl>\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <div class=\"ax-label-container\">\n <input\n class=\"ax-checkbox\"\n *ngIf=\"multiple && checkbox\"\n type=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n tabindex=\"0\"\n />\n <span [class.ax-checkbox-label]=\"multiple && checkbox\">{{ getDisplayText(item) }}</span>\n </div>\n <!-- <i class=\"ax-icon ax-icon-check ax-selected-icon\" *ngIf=\"isItemSelected(item) \"></i> -->\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </cdk-virtual-scroll-viewport>\n <ng-content select=\"ax-footer\"></ng-content>\n</div>\n<!-- Loading Template -->\n<ng-template #loadingTpl>\n <!-- Custom Loading Template -->\n <ng-container *ngIf=\"loadingTemplate; else defaultLoadingTpl\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <!-- Default Loading Template -->\n <ng-template #defaultLoadingTpl>\n <li>{{ 'loading' | translate | async }}</li>\n </ng-template>\n</ng-template>\n<!-- Empty Template -->\n@if (showEmptyTemplate()) {\n <div class=\"empty-container\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </div>\n}\n", styles: ["ax-list{--ax-comp-list-item-height: var(--ax-sys-size-base);--ax-comp-list-empty-container-height: var(--ax-sys-size-base)}ax-list{--ax-comp-list-item-selected-bg-color: var(--ax-sys-color-primary-surface), .2;--ax-comp-list-item-header: var(--ax-sys-color-lighter-surface);--ax-comp-list-item-footer: var(--ax-sys-color-lighter-surface)}ax-list{display:block;height:100%;width:100%;font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .list-container{display:flex;height:100%;flex-direction:column}ax-list ax-header{background-color:rgba(var(--ax-comp-list-item-header))}ax-list ax-footer{background-color:rgba(var(--ax-comp-list-item-footer))}ax-list .empty-container{display:flex;height:var(--ax-comp-list-empty-container-height);width:100%;align-items:center;justify-content:center;padding-left:var(--ax-comp-list-empty-container-padding-x, .75rem);padding-right:var(--ax-comp-list-empty-container-padding-x, .75rem)}ax-list .cdk-virtual-scroll-viewport ul li{position:relative;display:flex;height:var(--ax-comp-list-item-height);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding-inline-end:var(--ax-comp-list-item-padding-e, 1rem);padding-inline-start:var(--ax-comp-list-item-padding-s, .75rem);font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .cdk-virtual-scroll-viewport ul li:hover{background:rgba(var(--ax-comp-list-item-hover-bg-color, var(--ax-sys-color-surface)))}ax-list .cdk-virtual-scroll-viewport ul li:focus,ax-list .cdk-virtual-scroll-viewport ul li:focus-within,ax-list .cdk-virtual-scroll-viewport ul li:focus-visible{outline-width:var(--ax-comp-list-item-focus-outline-width, 2px);outline-offset:var(--ax-comp-list-item-focus-outline-offset, -4px);outline-color:rgba(var(--ax-comp-list-item-focus-outline-color, var(--ax-sys-color-primary-surface)))}ax-list .cdk-virtual-scroll-viewport ul li .ax-label-container{display:flex;align-items:center}ax-list .cdk-virtual-scroll-viewport ul li .ax-checkbox-label{margin-inline-start:var(--ax-comp-list-checkbox-label-margin-s, .5rem)}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-selected{background-color:rgba(var(--ax-comp-list-item-selected-bg-color))}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-disabled{cursor:not-allowed;opacity:var(--ax-comp-list-item-disabled-opacity, .5)}ax-list.ax-state-empty{height:auto!important}\n"] }]
257
+ ], imports: [
258
+ CdkVirtualScrollableElement,
259
+ CdkVirtualScrollViewport,
260
+ CdkFixedSizeVirtualScroll,
261
+ CdkVirtualForOf,
262
+ NgIf,
263
+ NgTemplateOutlet,
264
+ AsyncPipe,
265
+ AXTranslatorPipe,
266
+ ], template: "<div class=\"list-container\" cdkVirtualScrollingElement>\n <ng-content select=\"ax-header\"></ng-content>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemHeightSignal()\"\n [style.--item-height]=\"itemHeightSignal() + 'px'\"\n (scrolledIndexChange)=\"_handleOnscrolledIndexChange($event)\"\n >\n <ul>\n <!-- Item Template -->\n <ng-container *cdkVirtualFor=\"let item of listDataSource; let i = index; trackBy: trackByIdx\">\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <li\n [class.ax-state-selected]=\"isItemSelected(item)\"\n class=\"list-item\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"getValue(item)\"\n >\n <!-- Custom Item Template -->\n <ng-container *ngIf=\"itemTemplate; else defaultItemTpl\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: { data: item } }\">\n </ng-container>\n </ng-container>\n <!-- Default Item Template -->\n <ng-template #defaultItemTpl>\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <div class=\"ax-label-container\">\n <input\n class=\"ax-checkbox\"\n *ngIf=\"multiple && checkbox\"\n type=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n tabindex=\"0\"\n />\n <span [class.ax-checkbox-label]=\"multiple && checkbox\">{{ getDisplayText(item) }}</span>\n </div>\n <!-- <i class=\"ax-icon ax-icon-check ax-selected-icon\" *ngIf=\"isItemSelected(item) \"></i> -->\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </cdk-virtual-scroll-viewport>\n <ng-content select=\"ax-footer\"></ng-content>\n</div>\n<!-- Loading Template -->\n<ng-template #loadingTpl>\n <!-- Custom Loading Template -->\n <ng-container *ngIf=\"loadingTemplate; else defaultLoadingTpl\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <!-- Default Loading Template -->\n <ng-template #defaultLoadingTpl>\n <li>{{ 'loading' | translate | async }}</li>\n </ng-template>\n</ng-template>\n<!-- Empty Template -->\n@if (showEmptyTemplate()) {\n <div class=\"empty-container\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </div>\n}\n", styles: ["ax-list{--ax-comp-list-item-height: var(--ax-sys-size-base);--ax-comp-list-empty-container-height: var(--ax-sys-size-base)}ax-list{--ax-comp-list-item-selected-bg-color: var(--ax-sys-color-primary-surface), .2;--ax-comp-list-item-header: var(--ax-sys-color-lighter-surface);--ax-comp-list-item-footer: var(--ax-sys-color-lighter-surface)}ax-list{display:block;height:100%;width:100%;font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .list-container{display:flex;height:100%;flex-direction:column}ax-list ax-header{background-color:rgba(var(--ax-comp-list-item-header))}ax-list ax-footer{background-color:rgba(var(--ax-comp-list-item-footer))}ax-list .empty-container{display:flex;height:var(--ax-comp-list-empty-container-height);width:100%;align-items:center;justify-content:center;padding-left:var(--ax-comp-list-empty-container-padding-x, .75rem);padding-right:var(--ax-comp-list-empty-container-padding-x, .75rem)}ax-list .cdk-virtual-scroll-viewport ul li{position:relative;display:flex;height:var(--ax-comp-list-item-height);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:space-between;padding-inline-end:var(--ax-comp-list-item-padding-e, 1rem);padding-inline-start:var(--ax-comp-list-item-padding-s, .75rem);font-size:var(--ax-comp-list-font-size, .875rem);line-height:var(--ax-comp-list-line-height, 1.25rem)}ax-list .cdk-virtual-scroll-viewport ul li:hover{background:rgba(var(--ax-comp-list-item-hover-bg-color, var(--ax-sys-color-surface)))}ax-list .cdk-virtual-scroll-viewport ul li:focus,ax-list .cdk-virtual-scroll-viewport ul li:focus-within,ax-list .cdk-virtual-scroll-viewport ul li:focus-visible{outline-width:var(--ax-comp-list-item-focus-outline-width, 2px);outline-offset:var(--ax-comp-list-item-focus-outline-offset, -4px);outline-color:rgba(var(--ax-comp-list-item-focus-outline-color, var(--ax-sys-color-primary-surface)))}ax-list .cdk-virtual-scroll-viewport ul li .ax-label-container{display:flex;align-items:center}ax-list .cdk-virtual-scroll-viewport ul li .ax-checkbox-label{margin-inline-start:var(--ax-comp-list-checkbox-label-margin-s, .5rem)}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-selected{background-color:rgba(var(--ax-comp-list-item-selected-bg-color))}ax-list .cdk-virtual-scroll-viewport ul li.ax-state-disabled{cursor:not-allowed;opacity:var(--ax-comp-list-item-disabled-opacity, .5)}ax-list.ax-state-empty{height:auto!important}\n"] }]
271
267
  }], propDecorators: { onItemClick: [{
272
268
  type: Output
273
269
  }], dataSource: [{
@@ -298,15 +294,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
298
294
  const COMPONENT = [AXListComponent];
299
295
  const MODULES = [CommonModule, ScrollingModule, AXTranslationModule];
300
296
  class AXListModule {
301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
302
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXListModule, declarations: [AXListComponent], imports: [CommonModule, ScrollingModule, AXTranslationModule], exports: [AXListComponent] }); }
303
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXListModule, imports: [MODULES] }); }
297
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
298
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: AXListModule, imports: [CommonModule, ScrollingModule, AXTranslationModule, AXListComponent], exports: [AXListComponent] }); }
299
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXListModule, imports: [MODULES, COMPONENT] }); }
304
300
  }
305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXListModule, decorators: [{
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXListModule, decorators: [{
306
302
  type: NgModule,
307
303
  args: [{
308
- declarations: [...COMPONENT],
309
- imports: [...MODULES],
304
+ imports: [...MODULES, ...COMPONENT],
310
305
  exports: [...COMPONENT],
311
306
  providers: [],
312
307
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-list.mjs","sources":["../../../../libs/components/list/src/lib/list.component.ts","../../../../libs/components/list/src/lib/list.component.html","../../../../libs/components/list/src/lib/list.module.ts","../../../../libs/components/list/src/acorex-components-list.ts"],"sourcesContent":["import {\n AXComponent,\n AXDataSource,\n AXEvent,\n AXFocusableComponent,\n AXItemClickEvent,\n AXListDataSource,\n AXValuableComponent,\n AX_SELECTION_DATA_TOKEN,\n MXSelectionBridgeService,\n MXSelectionValueComponent,\n convertArrayToDataSource,\n} from '@acorex/components/common';\nimport { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n OnInit,\n Optional,\n Output,\n SkipSelf,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n WritableSignal,\n forwardRef,\n signal,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\nexport interface AXListScrollIndexChanged extends AXEvent {\n index: number;\n}\n\n/**\n * provides a list control with various input options and events for user interaction.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-list',\n templateUrl: './list.component.html',\n styleUrls: ['./list.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n inputs: [\n 'id',\n 'name',\n 'disabled',\n 'readonly',\n 'valueField',\n 'textField',\n 'textTemplate',\n 'disabledField',\n 'multiple',\n 'selectionMode',\n ],\n outputs: ['onValueChanged', 'disabledChange', 'readOnlyChange', 'onBlur', 'onFocus'],\n providers: [\n { provide: AXComponent, useExisting: AXListComponent },\n { provide: AXFocusableComponent, useExisting: AXListComponent },\n { provide: AXValuableComponent, useExisting: AXListComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXListComponent),\n multi: true,\n },\n {\n provide: AX_SELECTION_DATA_TOKEN,\n useFactory: (existingService: MXSelectionBridgeService) => {\n return existingService || new MXSelectionBridgeService();\n },\n deps: [[new Optional(), new SkipSelf(), AX_SELECTION_DATA_TOKEN]],\n },\n ],\n standalone: false\n})\nexport class AXListComponent extends MXSelectionValueComponent implements OnInit {\n /**\n * Emitted when an item in the list is clicked.\n *\n * @event\n */\n @Output()\n onItemClick: EventEmitter<AXItemClickEvent<any>> = new EventEmitter<AXItemClickEvent<any>>();\n\n /**\n * Defines the data source for the list.\n *\n * @defaultValue convertArrayToDataSource([])\n */\n @Input()\n dataSource: AXDataSource<unknown> = convertArrayToDataSource([]);\n\n /**\n * @ignore\n */\n itemHeightSignal: WritableSignal<number | 'auto'> = signal(40);\n\n /**\n * Sets the height of each item in the list.\n */\n @Input()\n public set itemHeight(v: number | 'auto') {\n this.itemHeightSignal.set(v);\n }\n\n /**\n * Template for rendering individual items in the list.\n */\n @Input()\n itemTemplate: TemplateRef<unknown>;\n\n /**\n * Template to display when the list is empty.\n */\n @Input()\n emptyTemplate: TemplateRef<unknown>;\n\n /**\n * Template to show while the list is loading.\n */\n @Input()\n loadingTemplate: TemplateRef<unknown>;\n\n /**\n * Emitted when the index of the scrolled item changes.\n *\n * @event\n */\n @Output()\n onScrolledIndexChanged: EventEmitter<AXListScrollIndexChanged> =\n new EventEmitter<AXListScrollIndexChanged>();\n\n /**\n * Specifies whether the checkbox is enabled.\n *\n * @defaultValue true\n */\n @Input()\n checkbox = true;\n\n /**\n * @ignore\n */\n protected listDataSource: AXListDataSource<unknown>;\n\n /**\n * @ignore\n */\n protected isLoading = signal(true);\n\n /**\n * @ignore\n */\n protected hasItems = false;\n\n /**\n * @ignore\n */\n private lastIndex = 0;\n\n /**\n * @ignore\n */\n private postponeFocus = false;\n\n /**\n * @ignore\n */\n @ViewChild(CdkVirtualScrollViewport)\n private viewport: CdkVirtualScrollViewport;\n\n trackByIdx(i) {\n return i;\n }\n\n /**\n * @ignore\n */\n override ngOnInit() {\n super.ngOnInit();\n this.listDataSource = new AXListDataSource<unknown>({\n source: this.dataSource,\n });\n this.listDataSource.source.onLoadingChanged.subscribe((data) => {\n this.isLoading.set(data);\n });\n this.listDataSource.source.onChanged.subscribe((data) => {\n this.hasItems = data.totalCount > 0;\n setTimeout(() => {\n this.render();\n }, 100);\n });\n }\n /**\n * @ignore\n */\n _handleOnItemClick(e: MouseEvent, item: any) {\n if (this.readonly || this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n if (this.isItemDisabled(item)) {\n return;\n }\n this.toggleSelect(item);\n this.onItemClick.emit({\n component: this,\n item,\n htmlElement: e.target as HTMLElement,\n isUserInteraction: true,\n nativeEvent: e,\n });\n }\n\n /**\n * @ignore\n */\n @HostListener('keydown', ['$event'])\n _handleKeydown(e: KeyboardEvent) {\n if ((e.code === 'ArrowDown' || e.code === 'ArrowUp') && this.hasItems) {\n this.focusItemByNav(e.key === 'ArrowDown' ? 1 : -1);\n e.preventDefault();\n }\n if ((e.code === 'Space' || e.code === 'Enter') && this.hasItems) {\n if (this.readonly || this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n if (isPlatformBrowser(this.platformID)) {\n const id = this.document.activeElement?.closest('li')?.dataset['id'];\n this.toggleSelect(id);\n }\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n /**\n * @ignore\n */\n private focusItemByNav(sign: -1 | 1): void {\n if (isPlatformBrowser(this.platformID)) {\n const list = this.getHostElement().querySelector('ul');\n const fn = (s) => list.querySelector<HTMLDivElement>(s);\n const itemDiv: HTMLElement =\n this.document.activeElement?.closest('li') || fn(`li.ax-state-selected`) || fn(`li`);\n const next = (sign == 1 ? itemDiv.nextElementSibling : itemDiv.previousElementSibling) as HTMLElement;\n if (next) {\n next.focus();\n }\n }\n }\n\n /**\n * @ignore\n */\n protected _handleOnscrolledIndexChange(e: number) {\n this.lastIndex = e;\n this.onScrolledIndexChanged.emit({\n component: this,\n index: this.lastIndex,\n isUserInteraction: true,\n });\n }\n\n /**\n * Retrieves an item from the data source based on the provided key.\n *\n * @param key The key used to identify the item.\n * @ignore\n */\n getItemByKey(key: unknown): Promise<unknown> | unknown {\n return this.dataSource.find(key);\n }\n\n /**\n * Renders the component by updating the viewport size, scrolling to the last index, and optionally focusing the element.\n */\n public render() {\n this.viewport.checkViewportSize();\n this.viewport.scrollToIndex(this.lastIndex);\n if (this.postponeFocus) {\n this.postponeFocus = false;\n this.focus();\n }\n }\n\n /**\n * Refreshes the list by clearing the selection cache and reloading the data source.\n * @ignore\n */\n public refresh() {\n this.clearSelectionCache();\n this.listDataSource.refresh();\n }\n\n /**\n * Scrolls the viewport to the specified item index.\n * @param index The index of the item to scroll to.\n * @ignore\n */\n public scrollToIndex(index: number) {\n this.viewport.scrollToIndex(index);\n }\n /**\n * Sets focus to the first selectable list item. If no item is available, postpones focus.\n */\n override focus(): void {\n const list = this.getHostElement().querySelector('ul');\n const focusable =\n list.querySelector<HTMLElement>('li.ax-state-selected') ??\n list.querySelector<HTMLElement>('li.list-item');\n if (focusable) {\n focusable.focus();\n } else {\n this.postponeFocus = true;\n }\n }\n\n /**\n * Determines whether to show the empty template based on the presence of items and loading state.\n * @ignore\n */\n showEmptyTemplate = () => this.emptyTemplate && this.hasItems === false && this.isLoading() === false;\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n const _class = `ax-default ${this.showEmptyTemplate() ? 'ax-state-empty' : ''}`;\n return this.itemTemplate ? '' : _class;\n }\n}\n","<div class=\"list-container\" cdkVirtualScrollingElement>\n <ng-content select=\"ax-header\"></ng-content>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemHeightSignal()\"\n [style.--item-height]=\"itemHeightSignal() + 'px'\"\n (scrolledIndexChange)=\"_handleOnscrolledIndexChange($event)\"\n >\n <ul>\n <!-- Item Template -->\n <ng-container *cdkVirtualFor=\"let item of listDataSource; let i = index; trackBy: trackByIdx\">\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <li\n [class.ax-state-selected]=\"isItemSelected(item)\"\n class=\"list-item\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"getValue(item)\"\n >\n <!-- Custom Item Template -->\n <ng-container *ngIf=\"itemTemplate; else defaultItemTpl\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: { data: item } }\">\n </ng-container>\n </ng-container>\n <!-- Default Item Template -->\n <ng-template #defaultItemTpl>\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <div class=\"ax-label-container\">\n <input\n class=\"ax-checkbox\"\n *ngIf=\"multiple && checkbox\"\n type=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n tabindex=\"0\"\n />\n <span [class.ax-checkbox-label]=\"multiple && checkbox\">{{ getDisplayText(item) }}</span>\n </div>\n <!-- <i class=\"ax-icon ax-icon-check ax-selected-icon\" *ngIf=\"isItemSelected(item) \"></i> -->\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </cdk-virtual-scroll-viewport>\n <ng-content select=\"ax-footer\"></ng-content>\n</div>\n<!-- Loading Template -->\n<ng-template #loadingTpl>\n <!-- Custom Loading Template -->\n <ng-container *ngIf=\"loadingTemplate; else defaultLoadingTpl\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <!-- Default Loading Template -->\n <ng-template #defaultLoadingTpl>\n <li>{{ 'loading' | translate | async }}</li>\n </ng-template>\n</ng-template>\n<!-- Empty Template -->\n@if (showEmptyTemplate()) {\n <div class=\"empty-container\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </div>\n}\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXListComponent } from './list.component';\n\nconst COMPONENT = [AXListComponent];\nconst MODULES = [CommonModule, ScrollingModule, AXTranslationModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAuCA;;;;AAIG;AAuCG,MAAO,eAAgB,SAAQ,yBAAyB,CAAA;AAtC9D,IAAA,WAAA,GAAA;;AAuCE;;;;AAIG;AAEH,QAAA,IAAA,CAAA,WAAW,GAAwC,IAAI,YAAY,EAAyB;AAE5F;;;;AAIG;AAEH,QAAA,IAAA,CAAA,UAAU,GAA0B,wBAAwB,CAAC,EAAE,CAAC;AAEhE;;AAEG;AACH,QAAA,IAAA,CAAA,gBAAgB,GAAoC,MAAM,CAAC,EAAE,CAAC;AA4B9D;;;;AAIG;AAEH,QAAA,IAAA,CAAA,sBAAsB,GACpB,IAAI,YAAY,EAA4B;AAE9C;;;;AAIG;QAEH,IAAQ,CAAA,QAAA,GAAG,IAAI;AAOf;;AAEG;AACO,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC;AAElC;;AAEG;QACO,IAAQ,CAAA,QAAA,GAAG,KAAK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B,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-list.mjs","sources":["../../../../libs/components/list/src/lib/list.component.ts","../../../../libs/components/list/src/lib/list.component.html","../../../../libs/components/list/src/lib/list.module.ts","../../../../libs/components/list/src/acorex-components-list.ts"],"sourcesContent":["import {\n AXComponent,\n AXDataSource,\n AXEvent,\n AXFocusableComponent,\n AXItemClickEvent,\n AXListDataSource,\n AXValuableComponent,\n AX_SELECTION_DATA_TOKEN,\n MXSelectionBridgeService,\n MXSelectionValueComponent,\n convertArrayToDataSource,\n} from '@acorex/components/common';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollableElement } from '@angular/cdk/scrolling';\nimport { AsyncPipe, NgIf, NgTemplateOutlet, isPlatformBrowser } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n OnInit,\n Optional,\n Output,\n SkipSelf,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n WritableSignal,\n forwardRef,\n signal,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\nexport interface AXListScrollIndexChanged extends AXEvent {\n index: number;\n}\n\n/**\n * provides a list control with various input options and events for user interaction.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-list',\n templateUrl: './list.component.html',\n styleUrls: ['./list.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n inputs: ['id', 'name', 'disabled', 'readonly', 'valueField', 'textField', 'textTemplate', 'disabledField', 'multiple', 'selectionMode'],\n outputs: ['onValueChanged', 'disabledChange', 'readOnlyChange', 'onBlur', 'onFocus'],\n providers: [\n { provide: AXComponent, useExisting: AXListComponent },\n { provide: AXFocusableComponent, useExisting: AXListComponent },\n { provide: AXValuableComponent, useExisting: AXListComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXListComponent),\n multi: true,\n },\n {\n provide: AX_SELECTION_DATA_TOKEN,\n useFactory: (existingService: MXSelectionBridgeService) => {\n return existingService || new MXSelectionBridgeService();\n },\n deps: [[new Optional(), new SkipSelf(), AX_SELECTION_DATA_TOKEN]],\n },\n ],\n imports: [\n CdkVirtualScrollableElement,\n CdkVirtualScrollViewport,\n CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n NgIf,\n NgTemplateOutlet,\n AsyncPipe,\n AXTranslatorPipe,\n ],\n})\nexport class AXListComponent extends MXSelectionValueComponent implements OnInit {\n /**\n * Emitted when an item in the list is clicked.\n *\n * @event\n */\n @Output()\n onItemClick: EventEmitter<AXItemClickEvent<any>> = new EventEmitter<AXItemClickEvent<any>>();\n\n /**\n * Defines the data source for the list.\n *\n * @defaultValue convertArrayToDataSource([])\n */\n @Input()\n dataSource: AXDataSource<unknown> = convertArrayToDataSource([]);\n\n /**\n * @ignore\n */\n itemHeightSignal: WritableSignal<number | 'auto'> = signal(40);\n\n /**\n * Sets the height of each item in the list.\n */\n @Input()\n public set itemHeight(v: number | 'auto') {\n this.itemHeightSignal.set(v);\n }\n\n /**\n * Template for rendering individual items in the list.\n */\n @Input()\n itemTemplate: TemplateRef<unknown>;\n\n /**\n * Template to display when the list is empty.\n */\n @Input()\n emptyTemplate: TemplateRef<unknown>;\n\n /**\n * Template to show while the list is loading.\n */\n @Input()\n loadingTemplate: TemplateRef<unknown>;\n\n /**\n * Emitted when the index of the scrolled item changes.\n *\n * @event\n */\n @Output()\n onScrolledIndexChanged: EventEmitter<AXListScrollIndexChanged> = new EventEmitter<AXListScrollIndexChanged>();\n\n /**\n * Specifies whether the checkbox is enabled.\n *\n * @defaultValue true\n */\n @Input()\n checkbox = true;\n\n /**\n * @ignore\n */\n protected listDataSource: AXListDataSource<unknown>;\n\n /**\n * @ignore\n */\n protected isLoading = signal(true);\n\n /**\n * @ignore\n */\n protected hasItems = false;\n\n /**\n * @ignore\n */\n private lastIndex = 0;\n\n /**\n * @ignore\n */\n private postponeFocus = false;\n\n /**\n * @ignore\n */\n @ViewChild(CdkVirtualScrollViewport)\n private viewport: CdkVirtualScrollViewport;\n\n trackByIdx(i) {\n return i;\n }\n\n /**\n * @ignore\n */\n override ngOnInit() {\n super.ngOnInit();\n this.listDataSource = new AXListDataSource<unknown>({\n source: this.dataSource,\n });\n this.listDataSource.source.onLoadingChanged.subscribe((data) => {\n this.isLoading.set(data);\n });\n this.listDataSource.source.onChanged.subscribe((data) => {\n this.hasItems = data.totalCount > 0;\n setTimeout(() => {\n this.render();\n }, 100);\n });\n }\n /**\n * @ignore\n */\n _handleOnItemClick(e: MouseEvent, item: any) {\n if (this.readonly || this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n if (this.isItemDisabled(item)) {\n return;\n }\n this.toggleSelect(item);\n this.onItemClick.emit({\n component: this,\n item,\n htmlElement: e.target as HTMLElement,\n isUserInteraction: true,\n nativeEvent: e,\n });\n }\n\n /**\n * @ignore\n */\n @HostListener('keydown', ['$event'])\n _handleKeydown(e: KeyboardEvent) {\n if ((e.code === 'ArrowDown' || e.code === 'ArrowUp') && this.hasItems) {\n this.focusItemByNav(e.key === 'ArrowDown' ? 1 : -1);\n e.preventDefault();\n }\n if ((e.code === 'Space' || e.code === 'Enter') && this.hasItems) {\n if (this.readonly || this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n if (isPlatformBrowser(this.platformID)) {\n const id = this.document.activeElement?.closest('li')?.dataset['id'];\n this.toggleSelect(id);\n }\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n /**\n * @ignore\n */\n private focusItemByNav(sign: -1 | 1): void {\n if (isPlatformBrowser(this.platformID)) {\n const list = this.getHostElement().querySelector('ul');\n const fn = (s) => list.querySelector<HTMLDivElement>(s);\n const itemDiv: HTMLElement = this.document.activeElement?.closest('li') || fn(`li.ax-state-selected`) || fn(`li`);\n const next = (sign == 1 ? itemDiv.nextElementSibling : itemDiv.previousElementSibling) as HTMLElement;\n if (next) {\n next.focus();\n }\n }\n }\n\n /**\n * @ignore\n */\n protected _handleOnscrolledIndexChange(e: number) {\n this.lastIndex = e;\n this.onScrolledIndexChanged.emit({\n component: this,\n index: this.lastIndex,\n isUserInteraction: true,\n });\n }\n\n /**\n * Retrieves an item from the data source based on the provided key.\n *\n * @param key The key used to identify the item.\n * @ignore\n */\n getItemByKey(key: unknown): Promise<unknown> | unknown {\n return this.dataSource.find(key);\n }\n\n /**\n * Renders the component by updating the viewport size, scrolling to the last index, and optionally focusing the element.\n */\n public render() {\n this.viewport.checkViewportSize();\n this.viewport.scrollToIndex(this.lastIndex);\n if (this.postponeFocus) {\n this.postponeFocus = false;\n this.focus();\n }\n }\n\n /**\n * Refreshes the list by clearing the selection cache and reloading the data source.\n * @ignore\n */\n public refresh(clearSelection = true) {\n if (clearSelection) {\n this.clearSelectionCache();\n }\n this.listDataSource.refresh();\n }\n\n /**\n * Scrolls the viewport to the specified item index.\n * @param index The index of the item to scroll to.\n * @ignore\n */\n public scrollToIndex(index: number) {\n this.viewport.scrollToIndex(index);\n }\n /**\n * Sets focus to the first selectable list item. If no item is available, postpones focus.\n */\n override focus(): void {\n const list = this.getHostElement().querySelector('ul');\n const focusable = list.querySelector<HTMLElement>('li.ax-state-selected') ?? list.querySelector<HTMLElement>('li.list-item');\n if (focusable) {\n focusable.focus();\n } else {\n this.postponeFocus = true;\n }\n }\n\n /**\n * Determines whether to show the empty template based on the presence of items and loading state.\n * @ignore\n */\n showEmptyTemplate = () => this.emptyTemplate && this.hasItems === false && this.isLoading() === false;\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n const _class = `ax-default ${this.showEmptyTemplate() ? 'ax-state-empty' : ''}`;\n return this.itemTemplate ? '' : _class;\n }\n}\n","<div class=\"list-container\" cdkVirtualScrollingElement>\n <ng-content select=\"ax-header\"></ng-content>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemHeightSignal()\"\n [style.--item-height]=\"itemHeightSignal() + 'px'\"\n (scrolledIndexChange)=\"_handleOnscrolledIndexChange($event)\"\n >\n <ul>\n <!-- Item Template -->\n <ng-container *cdkVirtualFor=\"let item of listDataSource; let i = index; trackBy: trackByIdx\">\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <li\n [class.ax-state-selected]=\"isItemSelected(item)\"\n class=\"list-item\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"getValue(item)\"\n >\n <!-- Custom Item Template -->\n <ng-container *ngIf=\"itemTemplate; else defaultItemTpl\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: { data: item } }\">\n </ng-container>\n </ng-container>\n <!-- Default Item Template -->\n <ng-template #defaultItemTpl>\n <ng-container *ngIf=\"item !== null && item !== undefined; else loadingTpl\">\n <div class=\"ax-label-container\">\n <input\n class=\"ax-checkbox\"\n *ngIf=\"multiple && checkbox\"\n type=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n tabindex=\"0\"\n />\n <span [class.ax-checkbox-label]=\"multiple && checkbox\">{{ getDisplayText(item) }}</span>\n </div>\n <!-- <i class=\"ax-icon ax-icon-check ax-selected-icon\" *ngIf=\"isItemSelected(item) \"></i> -->\n </ng-container>\n </ng-template>\n </li>\n </ng-container>\n </ng-container>\n </ul>\n </cdk-virtual-scroll-viewport>\n <ng-content select=\"ax-footer\"></ng-content>\n</div>\n<!-- Loading Template -->\n<ng-template #loadingTpl>\n <!-- Custom Loading Template -->\n <ng-container *ngIf=\"loadingTemplate; else defaultLoadingTpl\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <!-- Default Loading Template -->\n <ng-template #defaultLoadingTpl>\n <li>{{ 'loading' | translate | async }}</li>\n </ng-template>\n</ng-template>\n<!-- Empty Template -->\n@if (showEmptyTemplate()) {\n <div class=\"empty-container\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </div>\n}\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXListComponent } from './list.component';\n\nconst COMPONENT = [AXListComponent];\nconst MODULES = [CommonModule, ScrollingModule, AXTranslationModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAwCA;;;;AAIG;AAqCG,MAAO,eAAgB,SAAQ,yBAAyB,CAAA;AApC9D,IAAA,WAAA,GAAA;;AAqCE;;;;AAIG;AAEH,QAAA,IAAA,CAAA,WAAW,GAAwC,IAAI,YAAY,EAAyB;AAE5F;;;;AAIG;AAEH,QAAA,IAAA,CAAA,UAAU,GAA0B,wBAAwB,CAAC,EAAE,CAAC;AAEhE;;AAEG;AACH,QAAA,IAAA,CAAA,gBAAgB,GAAoC,MAAM,CAAC,EAAE,CAAC;AA4B9D;;;;AAIG;AAEH,QAAA,IAAA,CAAA,sBAAsB,GAA2C,IAAI,YAAY,EAA4B;AAE7G;;;;AAIG;QAEH,IAAQ,CAAA,QAAA,GAAG,IAAI;AAOf;;AAEG;AACO,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC;AAElC;;AAEG;QACO,IAAQ,CAAA,QAAA,GAAG,KAAK;AAE1B;;AAEG;QACK,IAAS,CAAA,SAAA,GAAG,CAAC;AAErB;;AAEG;QACK,IAAa,CAAA,aAAA,GAAG,KAAK;AA6J7B;;;AAGG;QACH,IAAiB,CAAA,iBAAA,GAAG,MAAM,IAAI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Q,EAAA,CAAA;sBADf,SAAS;uBAAC,wBAAwB;gBAmDnC,cAAc,EAAA,CAAA;sBADb,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC;gBAgH/B,WAAW,EAAA,CAAA;sBADd,WAAW;uBAAC,OAAO;;;AExUtB,MAAM,SAAS,GAAG,CAAC,eAAe,CAAC;AACnC,MAAM,OAAO,GAAG,CAAC,YAAY,EAAE,eAAe,EAAE,mBAAmB,CAAC;MAOvD,YAAY,CAAA;8GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAZ,YAAY,EAAA,OAAA,EAAA,CAPR,YAAY,EAAE,eAAe,EAAE,mBAAmB,EADhD,eAAe,CAAA,EAAA,OAAA,EAAA,CAAf,eAAe,CAAA,EAAA,CAAA,CAAA;+GAQrB,YAAY,EAAA,OAAA,EAAA,CAJV,OAAO,EAAK,SAAS,CAAA,EAAA,CAAA,CAAA;;2FAIvB,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACbD;;AAEG;;;;"}
@@ -1,21 +1,14 @@
1
- import * as i2 from '@acorex/components/common';
2
- import { MXBaseComponent, AXCommonModule } from '@acorex/components/common';
1
+ import { AXButtonComponent, AXButtonModule } from '@acorex/components/button';
2
+ import { MXBaseComponent, AXHotkeyDirective, AXAutoFocusDirective, AXCommonModule } from '@acorex/components/common';
3
+ import { AXDecoratorGenericComponent, AXDecoratorModule } from '@acorex/components/decorators';
4
+ import { AXLoadingComponent, AXLoadingModule } from '@acorex/components/loading';
5
+ import { AXProgressBarComponent, AXProgressBarModule } from '@acorex/components/progress-bar';
6
+ import { AXTranslatorPipe, AXTranslationModule } from '@acorex/core/translation';
3
7
  import * as i1 from '@angular/cdk/dialog';
4
8
  import { DIALOG_DATA, Dialog } from '@angular/cdk/dialog';
5
- import * as i0 from '@angular/core';
6
- import { signal, Inject, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, Injectable, NgModule } from '@angular/core';
7
- import * as i3 from '@acorex/components/progress-bar';
8
- import { AXProgressBarModule } from '@acorex/components/progress-bar';
9
- import * as i4 from '@acorex/components/loading';
10
- import { AXLoadingModule } from '@acorex/components/loading';
11
- import * as i5 from '@acorex/components/decorators';
12
- import { AXDecoratorModule } from '@acorex/components/decorators';
13
- import * as i6 from '@acorex/components/button';
14
- import { AXButtonModule } from '@acorex/components/button';
15
- import * as i7 from '@acorex/core/translation';
16
- import { AXTranslationModule } from '@acorex/core/translation';
17
- import * as i8 from '@angular/common';
18
9
  import { AsyncPipe } from '@angular/common';
10
+ import * as i0 from '@angular/core';
11
+ import { signal, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, inject, Injectable, NgModule } from '@angular/core';
19
12
 
20
13
  /**
21
14
  * Represents a loading dialog component with custom styles and encapsulation.
@@ -41,43 +34,43 @@ class AXLoadingDialogComponent extends MXBaseComponent {
41
34
  this.progressValue = signal(this.data.progressValue);
42
35
  }
43
36
  /**
44
- * Closes the dialog.
45
- */
37
+ * Closes the dialog.
38
+ */
46
39
  close() {
47
40
  this.dialogRef.close();
48
41
  }
49
42
  /**
50
- * Sets the progress text.
51
- * @param text
52
- */
43
+ * Sets the progress text.
44
+ * @param text
45
+ */
53
46
  setProgressText(text) {
54
47
  this.progressText.set(text);
55
48
  }
56
49
  /**
57
- * Sets the progress status.
58
- * @param status
59
- */
50
+ * Sets the progress status.
51
+ * @param status
52
+ */
60
53
  setProgressStatus(status) {
61
54
  this.progressStatus.set(status);
62
55
  }
63
56
  /**
64
- * Sets the color for the progress.
65
- * @param color
66
- */
57
+ * Sets the color for the progress.
58
+ * @param color
59
+ */
67
60
  setProgressColor(color) {
68
61
  this.progressColor.set(color);
69
62
  }
70
63
  /**
71
- * Sets the title for the dialog.
72
- * @param text
73
- */
64
+ * Sets the title for the dialog.
65
+ * @param text
66
+ */
74
67
  setDialogTitle(text) {
75
68
  this.dialogTitle.set(text);
76
69
  }
77
70
  /**
78
- * Sets the progress value.
79
- * @param value
80
- */
71
+ * Sets the progress value.
72
+ * @param value
73
+ */
81
74
  setProgressValue(value) {
82
75
  this.progressValue.set(value);
83
76
  }
@@ -92,12 +85,21 @@ class AXLoadingDialogComponent extends MXBaseComponent {
92
85
  const result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);
93
86
  return result;
94
87
  }
95
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
96
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXLoadingDialogComponent, isStandalone: false, selector: "ax-loading-dialog", usesInheritance: true, ngImport: i0, template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar\n [mode]=\"data.mode\"\n [progress]=\"this.progressValue()\"\n [color]=\"progressColor()\"\n></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-sys-color-lightest-surface));padding:1rem;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: "directive", type: i2.AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "directive", type: i2.AXHotkeyDirective, selector: "[axHotkey]", inputs: ["axHotkey"] }, { kind: "component", type: i3.AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "component", type: i5.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: i6.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
89
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: AXLoadingDialogComponent, isStandalone: true, selector: "ax-loading-dialog", usesInheritance: true, ngImport: i0, template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar\n [mode]=\"data.mode\"\n [progress]=\"this.progressValue()\"\n [color]=\"progressColor()\"\n></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-sys-color-lightest-surface));padding:1rem;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", "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 }); }
97
90
  }
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{
99
92
  type: Component,
100
- args: [{ selector: 'ax-loading-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar\n [mode]=\"data.mode\"\n [progress]=\"this.progressValue()\"\n [color]=\"progressColor()\"\n></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-sys-color-lightest-surface));padding:1rem;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"] }]
93
+ args: [{ selector: 'ax-loading-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [
94
+ AXDecoratorGenericComponent,
95
+ AXProgressBarComponent,
96
+ AXButtonComponent,
97
+ AXHotkeyDirective,
98
+ AXAutoFocusDirective,
99
+ AXLoadingComponent,
100
+ AXTranslatorPipe,
101
+ AsyncPipe,
102
+ ], template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar\n [mode]=\"data.mode\"\n [progress]=\"this.progressValue()\"\n [color]=\"progressColor()\"\n></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-sys-color-lightest-surface));padding:1rem;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"] }]
101
103
  }], ctorParameters: () => [{ type: undefined, decorators: [{
102
104
  type: Inject,
103
105
  args: [DIALOG_DATA]
@@ -129,24 +131,23 @@ class AXLoadingDialogService {
129
131
  setProgressColor: (color) => dialogRef.componentInstance?.setProgressColor(color),
130
132
  };
131
133
  }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
133
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogService }); }
134
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
135
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogService }); }
134
136
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogService, decorators: [{
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogService, decorators: [{
136
138
  type: Injectable
137
139
  }] });
138
140
 
139
141
  const COMPONENT = [AXLoadingDialogComponent];
140
142
  class AXLoadingDialogModule {
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
142
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogModule, declarations: [AXLoadingDialogComponent], imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe], exports: [AXLoadingDialogComponent] }); }
143
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogModule, providers: [AXLoadingDialogService], imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule] }); }
143
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
144
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogModule, imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe, AXLoadingDialogComponent], exports: [AXLoadingDialogComponent] }); }
145
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogModule, providers: [AXLoadingDialogService], imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, COMPONENT] }); }
144
146
  }
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXLoadingDialogModule, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXLoadingDialogModule, decorators: [{
146
148
  type: NgModule,
147
149
  args: [{
148
- declarations: [...COMPONENT],
149
- imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe],
150
+ imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe, ...COMPONENT],
150
151
  exports: [...COMPONENT],
151
152
  providers: [AXLoadingDialogService],
152
153
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-loading-dialog.mjs","sources":["../../../../libs/components/loading-dialog/src/lib/loading-dialog.component.ts","../../../../libs/components/loading-dialog/src/lib/loading-dialog.component.html","../../../../libs/components/loading-dialog/src/lib/loading-dialog.service.ts","../../../../libs/components/loading-dialog/src/lib/loading-dialog.module.ts","../../../../libs/components/loading-dialog/src/acorex-components-loading-dialog.ts"],"sourcesContent":["import { AXComponentCloseEvent, AXStyleColorType, MXBaseComponent } from '@acorex/components/common';\nimport { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\nimport { ChangeDetectionStrategy, Component, Inject, ViewEncapsulation, WritableSignal, 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.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: false\n})\nexport class AXLoadingDialogComponent extends MXBaseComponent {\n\n /** @ignore */\n constructor(\n @Inject(DIALOG_DATA) public data: AXLoadingDialogConfig,\n\n /** @ignore */\n private dialogRef: DialogRef<AXComponentCloseEvent>,\n ) {\n super();\n }\n\n /** @ignore */\n protected progressText: WritableSignal<string> = signal(this.data.text);\n\n /** @ignore */\n protected progressStatus: WritableSignal<string> = signal(this.data.status);\n\n /** @ignore */\n protected progressColor: WritableSignal<AXStyleColorType> = signal(this.data.progressColor);\n\n /** @ignore */\n protected dialogTitle: WritableSignal<string> = signal(this.data.title);\n\n /** @ignore */\n protected progressValue: WritableSignal<number> = signal(this.data.progressValue);\n\n /**\n * Closes the dialog.\n */\n close() {\n this.dialogRef.close();\n }\n\n /**\n * Sets the progress text.\n * @param text \n */\n setProgressText(text: string) {\n this.progressText.set(text);\n }\n\n /**\n * Sets the progress status.\n * @param status \n */\n setProgressStatus(status: string) {\n this.progressStatus.set(status);\n }\n\n /**\n * Sets the color for the progress.\n * @param color \n */\n setProgressColor(color: AXStyleColorType) {\n this.progressColor.set(color);\n }\n\n /**\n * Sets the title for the dialog.\n * @param text \n */\n setDialogTitle(text: string) {\n this.dialogTitle.set(text);\n }\n\n /**\n * Sets the progress value.\n * @param value \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 result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);\n return result;\n }\n}\n","<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar\n [mode]=\"data.mode\"\n [progress]=\"this.progressValue()\"\n [color]=\"progressColor()\"\n></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","import { AXStyleColorType } from '@acorex/components/common';\nimport { Dialog } from '@angular/cdk/dialog';\nimport { Injectable, inject } from '@angular/core';\nimport { AXDialogRef, AXLoadingDialogConfig } from './loading-dialog.class';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\n\n@Injectable()\nexport class AXLoadingDialogService {\n private dialog = inject(Dialog);\n\n // private data$: BehaviorSubject<AXLoadingDialogConfig> = new BehaviorSubject<AXLoadingDialogConfig>(null);\n\n show(options: AXLoadingDialogConfig): AXDialogRef {\n const dialogRef = this.dialog.open(AXLoadingDialogComponent, {\n hasBackdrop: true,\n disableClose: true,\n restoreFocus: true,\n closeOnDestroy: true,\n closeOnNavigation: true,\n ariaModal: true,\n role: 'alertdialog',\n panelClass: ['ax-animate-fadeIn'],\n data: options,\n });\n return {\n close: () => dialogRef.componentInstance?.close(),\n setProgressValue: (value: number) => dialogRef.componentInstance?.setProgressValue(value),\n setDialogTitle: (text: string) => dialogRef.componentInstance?.setDialogTitle(text),\n setProgressText: (text: string) => dialogRef.componentInstance?.setProgressText(text),\n setProgressStatus: (status: string) => dialogRef.componentInstance?.setProgressStatus(status),\n setProgressColor: (color: AXStyleColorType) => dialogRef.componentInstance?.setProgressColor(color),\n };\n }\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCommonModule } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXProgressBarModule } from '@acorex/components/progress-bar';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\nimport { AXLoadingDialogService } from './loading-dialog.service';\n\nconst COMPONENT = [AXLoadingDialogComponent];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe],\n exports: [...COMPONENT],\n providers: [AXLoadingDialogService],\n})\nexport class AXLoadingDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAKA;;;AAGG;AASG,MAAO,wBAAyB,SAAQ,eAAe,CAAA;;AAG3D,IAAA,WAAA,CAC8B,IAA2B;;IAG/C,SAA2C,EAAA;AAEnD,QAAA,KAAK,EAAE;QALqB,IAAI,CAAA,IAAA,GAAJ,IAAI;QAGxB,IAAS,CAAA,SAAA,GAAT,SAAS;;QAMT,IAAY,CAAA,YAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;QAG7D,IAAc,CAAA,cAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;;QAGjE,IAAa,CAAA,aAAA,GAAqC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;;QAGjF,IAAW,CAAA,WAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;;QAG7D,IAAa,CAAA,aAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;;AAEjF;;AAEC;IACD,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;;AAGxB;;;AAGC;AACD,IAAA,eAAe,CAAC,IAAY,EAAA;AAC1B,QAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC;;AAG7B;;;AAGC;AACD,IAAA,iBAAiB,CAAC,MAAc,EAAA;AAC9B,QAAA,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC;;AAGjC;;;AAGC;AACD,IAAA,gBAAgB,CAAC,KAAuB,EAAA;AACtC,QAAA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AAA,qBAAqB,EAFrB,SAAA,EAAA,CAAC,sBAAsB,CAAC,YAFzB,cAAc,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA;;2FAI3G,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,CAAC;AAClI,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;oBACvB,SAAS,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA;;;AClBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-loading-dialog.mjs","sources":["../../../../libs/components/loading-dialog/src/lib/loading-dialog.component.ts","../../../../libs/components/loading-dialog/src/lib/loading-dialog.component.html","../../../../libs/components/loading-dialog/src/lib/loading-dialog.service.ts","../../../../libs/components/loading-dialog/src/lib/loading-dialog.module.ts","../../../../libs/components/loading-dialog/src/acorex-components-loading-dialog.ts"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\nimport { AXAutoFocusDirective, AXComponentCloseEvent, AXHotkeyDirective, AXStyleColorType, MXBaseComponent } from '@acorex/components/common';\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 { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Inject, ViewEncapsulation, WritableSignal, 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.scss'],\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})\nexport class AXLoadingDialogComponent extends MXBaseComponent {\n /** @ignore */\n constructor(\n @Inject(DIALOG_DATA) public data: AXLoadingDialogConfig,\n\n /** @ignore */\n private dialogRef: DialogRef<AXComponentCloseEvent>,\n ) {\n super();\n }\n\n /** @ignore */\n protected progressText: WritableSignal<string> = signal(this.data.text);\n\n /** @ignore */\n protected progressStatus: WritableSignal<string> = signal(this.data.status);\n\n /** @ignore */\n protected progressColor: WritableSignal<AXStyleColorType> = signal(this.data.progressColor);\n\n /** @ignore */\n protected dialogTitle: WritableSignal<string> = signal(this.data.title);\n\n /** @ignore */\n protected progressValue: WritableSignal<number> = signal(this.data.progressValue);\n\n /**\n * Closes the dialog.\n */\n close() {\n this.dialogRef.close();\n }\n\n /**\n * Sets the progress text.\n * @param text\n */\n setProgressText(text: string) {\n this.progressText.set(text);\n }\n\n /**\n * Sets the progress status.\n * @param status\n */\n setProgressStatus(status: string) {\n this.progressStatus.set(status);\n }\n\n /**\n * Sets the color for the progress.\n * @param color\n */\n setProgressColor(color: AXStyleColorType) {\n this.progressColor.set(color);\n }\n\n /**\n * Sets the title for the dialog.\n * @param text\n */\n setDialogTitle(text: string) {\n this.dialogTitle.set(text);\n }\n\n /**\n * Sets the progress value.\n * @param value\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 result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);\n return result;\n }\n}\n","<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar\n [mode]=\"data.mode\"\n [progress]=\"this.progressValue()\"\n [color]=\"progressColor()\"\n></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","import { AXStyleColorType } from '@acorex/components/common';\nimport { Dialog } from '@angular/cdk/dialog';\nimport { Injectable, inject } from '@angular/core';\nimport { AXDialogRef, AXLoadingDialogConfig } from './loading-dialog.class';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\n\n@Injectable()\nexport class AXLoadingDialogService {\n private dialog = inject(Dialog);\n\n // private data$: BehaviorSubject<AXLoadingDialogConfig> = new BehaviorSubject<AXLoadingDialogConfig>(null);\n\n show(options: AXLoadingDialogConfig): AXDialogRef {\n const dialogRef = this.dialog.open(AXLoadingDialogComponent, {\n hasBackdrop: true,\n disableClose: true,\n restoreFocus: true,\n closeOnDestroy: true,\n closeOnNavigation: true,\n ariaModal: true,\n role: 'alertdialog',\n panelClass: ['ax-animate-fadeIn'],\n data: options,\n });\n return {\n close: () => dialogRef.componentInstance?.close(),\n setProgressValue: (value: number) => dialogRef.componentInstance?.setProgressValue(value),\n setDialogTitle: (text: string) => dialogRef.componentInstance?.setDialogTitle(text),\n setProgressText: (text: string) => dialogRef.componentInstance?.setProgressText(text),\n setProgressStatus: (status: string) => dialogRef.componentInstance?.setProgressStatus(status),\n setProgressColor: (color: AXStyleColorType) => dialogRef.componentInstance?.setProgressColor(color),\n };\n }\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCommonModule } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXProgressBarModule } from '@acorex/components/progress-bar';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\nimport { AXLoadingDialogService } from './loading-dialog.service';\n\nconst COMPONENT = [AXLoadingDialogComponent];\n\n@NgModule({\n imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [AXLoadingDialogService],\n})\nexport class AXLoadingDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAWA;;;AAGG;AAkBG,MAAO,wBAAyB,SAAQ,eAAe,CAAA;;AAE3D,IAAA,WAAA,CAC8B,IAA2B;;IAG/C,SAA2C,EAAA;AAEnD,QAAA,KAAK,EAAE;QALqB,IAAI,CAAA,IAAA,GAAJ,IAAI;QAGxB,IAAS,CAAA,SAAA,GAAT,SAAS;;QAMT,IAAY,CAAA,YAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;QAG7D,IAAc,CAAA,cAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;;QAGjE,IAAa,CAAA,aAAA,GAAqC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;;QAGjF,IAAW,CAAA,WAAA,GAA2B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;;QAG7D,I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