@onemrvapublic/design-system 19.4.0-alpha.9 → 20.0.0-develop.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 (325) hide show
  1. package/address/index.d.ts +8 -0
  2. package/address/src/address.scss +0 -0
  3. package/fesm2022/onemrvapublic-design-system-address.mjs +22 -0
  4. package/fesm2022/onemrvapublic-design-system-address.mjs.map +1 -0
  5. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +10 -9
  6. package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
  7. package/fesm2022/onemrvapublic-design-system-layout.mjs +125 -141
  8. package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
  9. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +119 -118
  10. package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
  11. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +37 -32
  12. package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
  13. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +30 -24
  14. package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
  15. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +43 -5
  16. package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
  17. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +14 -16
  18. package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
  19. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +33 -0
  20. package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -0
  21. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +30 -29
  22. package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
  23. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -10
  24. package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
  25. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +92 -106
  26. package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
  27. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +18 -15
  28. package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
  29. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +43 -48
  30. package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
  31. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +17 -17
  32. package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
  33. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +15 -15
  34. package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
  35. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +26 -36
  36. package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
  37. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +18 -18
  38. package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
  39. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +18 -8
  40. package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
  41. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +20 -26
  42. package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
  43. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +11 -13
  44. package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
  45. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +40 -42
  46. package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
  47. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +29 -29
  48. package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
  49. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +19 -19
  50. package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
  51. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
  52. package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
  53. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +36 -56
  54. package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
  55. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +11 -11
  56. package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
  57. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +14 -15
  58. package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
  59. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +9 -9
  60. package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
  61. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +16 -16
  62. package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
  63. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +35 -17
  64. package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
  65. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
  66. package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
  67. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +35 -36
  68. package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
  69. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +33 -33
  70. package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
  71. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +75 -96
  72. package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
  73. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +13 -16
  74. package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
  75. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +17 -17
  76. package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
  77. package/fesm2022/onemrvapublic-design-system-page-error.mjs +18 -18
  78. package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
  79. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +25 -31
  80. package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
  81. package/fesm2022/onemrvapublic-design-system-shared.mjs +207 -187
  82. package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
  83. package/fesm2022/onemrvapublic-design-system.mjs +10269 -3
  84. package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
  85. package/flag-icon/index.d.ts +18 -1
  86. package/index.d.ts +3063 -3
  87. package/layout/index.d.ts +259 -7
  88. package/mat-avatar/index.d.ts +248 -2
  89. package/mat-avatar/src/onemrva-mat-avatar.component.scss +48 -11
  90. package/mat-breadcrumb/index.d.ts +40 -3
  91. package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +7 -11
  92. package/mat-carousel/index.d.ts +52 -2
  93. package/mat-carousel/src/onemrva-mat-carousel.component.scss +4 -3
  94. package/mat-choice-chip/index.d.ts +19 -1
  95. package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +10 -2
  96. package/mat-copy-to-clipboard/index.d.ts +26 -1
  97. package/mat-country-item/index.d.ts +10 -0
  98. package/mat-datepicker-header/index.d.ts +44 -1
  99. package/mat-empty-row/index.d.ts +19 -1
  100. package/mat-file-upload/index.d.ts +301 -8
  101. package/mat-input-address/index.d.ts +31 -1
  102. package/mat-input-birthplace/index.d.ts +36 -1
  103. package/mat-input-country/index.d.ts +30 -1
  104. package/mat-input-country/src/onemrva-mat-input-country.component.scss +1 -1
  105. package/mat-input-enterprise-number/index.d.ts +37 -1
  106. package/mat-input-iban/index.d.ts +79 -1
  107. package/mat-input-phone/index.d.ts +44 -2
  108. package/mat-message-box/index.d.ts +101 -2
  109. package/mat-multi-select/index.d.ts +57 -2
  110. package/mat-notification/index.d.ts +43 -1
  111. package/mat-paginator/index.d.ts +58 -2
  112. package/mat-panel/index.d.ts +55 -6
  113. package/mat-panel/src/onemrva-mat-panel.component.scss +34 -2
  114. package/mat-pop-over/index.d.ts +40 -4
  115. package/mat-pop-over/src/onemrva-mat-pop-over.component.scss +9 -9
  116. package/mat-progress-bar/index.d.ts +18 -1
  117. package/mat-select-search/index.d.ts +197 -3
  118. package/mat-selectable-box/index.d.ts +29 -2
  119. package/mat-side-menu/index.d.ts +33 -2
  120. package/mat-skeleton/index.d.ts +100 -3
  121. package/mat-spinner/index.d.ts +25 -3
  122. package/mat-stepper/index.d.ts +36 -2
  123. package/mat-stepper/src/onemrva-mat-stepper.scss +2 -0
  124. package/mat-sticker/index.d.ts +14 -2
  125. package/mat-sticker/src/onemrva-mat-sticker.component.scss +5 -0
  126. package/mat-table-of-content/index.d.ts +84 -4
  127. package/mat-task-list/index.d.ts +57 -5
  128. package/mat-timepicker/index.d.ts +386 -6
  129. package/mat-timepicker/src/clock/clock.component.scss +7 -6
  130. package/mat-toast/index.d.ts +30 -2
  131. package/mat-tooltip/index.d.ts +39 -4
  132. package/package.json +24 -15
  133. package/page-error/index.d.ts +34 -2
  134. package/page-not-found/index.d.ts +54 -5
  135. package/shared/index.d.ts +532 -15
  136. package/utils/index.d.ts +32 -2
  137. package/flag-icon/src/flag-icon.component.d.ts +0 -16
  138. package/layout/src/components/index.d.ts +0 -23
  139. package/layout/src/components/layout/layout.component.d.ts +0 -60
  140. package/layout/src/components/layout-after-nav/layout-after-nav.component.d.ts +0 -11
  141. package/layout/src/components/layout-content/layout-content.component.d.ts +0 -11
  142. package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.d.ts +0 -8
  143. package/layout/src/components/layout-drawer-content/layout-drawer-content.component.d.ts +0 -8
  144. package/layout/src/components/layout-drawer-title/layout-drawer-title.component.d.ts +0 -9
  145. package/layout/src/components/layout-footer/layout-footer.component.d.ts +0 -7
  146. package/layout/src/components/layout-login-menu/layout-login-menu.component.d.ts +0 -11
  147. package/layout/src/components/layout-route/layout-route.component.d.ts +0 -24
  148. package/layout/src/components/layout-sidenav/layout-sidenav.component.d.ts +0 -24
  149. package/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.d.ts +0 -7
  150. package/layout/src/components/layout-subroute/layout-subroute.component.d.ts +0 -20
  151. package/layout/src/components/layout-title/layout-title.component.d.ts +0 -11
  152. package/layout/src/decorators/coerce-boolean-input.decorator.d.ts +0 -1
  153. package/layout/src/decorators/index.d.ts +0 -2
  154. package/layout/src/decorators/observable-content.decorator.d.ts +0 -1
  155. package/layout/src/directives/drawer-host.directive.d.ts +0 -14
  156. package/layout/src/directives/index.d.ts +0 -2
  157. package/layout/src/directives/striphtml.pipe.d.ts +0 -7
  158. package/layout/src/enums/environment.enum.d.ts +0 -6
  159. package/layout/src/enums/index.d.ts +0 -1
  160. package/layout/src/layout.module.d.ts +0 -32
  161. package/layout/src/models/index.d.ts +0 -2
  162. package/layout/src/models/onem-language.model.d.ts +0 -4
  163. package/layout/src/models/onemrva-profile.model.d.ts +0 -16
  164. package/layout/src/services/drawer.service.d.ts +0 -13
  165. package/layout/src/services/index.d.ts +0 -1
  166. package/mat-avatar/src/onemrva-mat-avatar.component.d.ts +0 -240
  167. package/mat-avatar/src/onemrva-mat-avatar.module.d.ts +0 -7
  168. package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.d.ts +0 -11
  169. package/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.d.ts +0 -5
  170. package/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.d.ts +0 -10
  171. package/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.d.ts +0 -12
  172. package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.d.ts +0 -11
  173. package/mat-carousel/src/onemrva-mat-carousel.component.d.ts +0 -40
  174. package/mat-choice-chip/src/onemrva-mat-choice-chip.component.d.ts +0 -10
  175. package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.d.ts +0 -26
  176. package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.d.ts +0 -43
  177. package/mat-empty-row/src/onemrva-mat-empty-row.component.d.ts +0 -19
  178. package/mat-file-upload/src/components/index.d.ts +0 -3
  179. package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.d.ts +0 -29
  180. package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.d.ts +0 -60
  181. package/mat-file-upload/src/directives/dnd.directive.d.ts +0 -11
  182. package/mat-file-upload/src/models/action-config.model.d.ts +0 -9
  183. package/mat-file-upload/src/models/progress-file.model.d.ts +0 -28
  184. package/mat-file-upload/src/onemrva-mat-file-upload-itf.store.d.ts +0 -55
  185. package/mat-file-upload/src/onemrva-mat-file-upload.module.d.ts +0 -17
  186. package/mat-file-upload/src/onemrva-mat-file-upload.service.d.ts +0 -23
  187. package/mat-file-upload/src/onemrva-mat-file-upload.store.d.ts +0 -79
  188. package/mat-input-address/src/onemrva-mat-input-address.component.d.ts +0 -28
  189. package/mat-input-birthplace/src/country-item.component.d.ts +0 -11
  190. package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.d.ts +0 -31
  191. package/mat-input-country/src/onemrva-mat-input-country.component.d.ts +0 -27
  192. package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.d.ts +0 -34
  193. package/mat-input-iban/src/onemrva-mat-input-iban.component.d.ts +0 -77
  194. package/mat-input-phone/src/onemrva-mat-input-phone.component.d.ts +0 -35
  195. package/mat-input-phone/src/phone-number.directive.d.ts +0 -6
  196. package/mat-message-box/src/onemrva-mat-message-box.component.d.ts +0 -90
  197. package/mat-message-box/src/onemrva-mat-message-box.module.d.ts +0 -7
  198. package/mat-multi-select/src/onemrva-mat-multi-select.component.d.ts +0 -48
  199. package/mat-multi-select/src/onemrva-mat-multi-select.module.d.ts +0 -7
  200. package/mat-notification/src/onemrva-mat-notification.component.d.ts +0 -40
  201. package/mat-paginator/src/onemrva-mat-paginator.component.d.ts +0 -50
  202. package/mat-paginator/src/onemrva-mat-paginator.module.d.ts +0 -7
  203. package/mat-panel/src/onemrva-mat-panel-content.component.d.ts +0 -8
  204. package/mat-panel/src/onemrva-mat-panel-icon.component.d.ts +0 -8
  205. package/mat-panel/src/onemrva-mat-panel-title-action.component.d.ts +0 -8
  206. package/mat-panel/src/onemrva-mat-panel-title.component.d.ts +0 -13
  207. package/mat-panel/src/onemrva-mat-panel.component.d.ts +0 -19
  208. package/mat-panel/src/onemrva-mat-panel.module.d.ts +0 -11
  209. package/mat-pop-over/src/onemrva-mat-pop-over-content.component.d.ts +0 -8
  210. package/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.d.ts +0 -8
  211. package/mat-pop-over/src/onemrva-mat-pop-over.component.d.ts +0 -20
  212. package/mat-pop-over/src/onemrva-mat-pop-over.module.d.ts +0 -9
  213. package/mat-progress-bar/src/onemrva-mat-progress-bar.component.d.ts +0 -15
  214. package/mat-select-search/src/default-options.d.ts +0 -25
  215. package/mat-select-search/src/mat-select-no-entries-found.directive.d.ts +0 -14
  216. package/mat-select-search/src/mat-select-search-clear.directive.d.ts +0 -12
  217. package/mat-select-search/src/mat-select-search.component.d.ts +0 -141
  218. package/mat-select-search/src/mat-select-search.module.d.ts +0 -13
  219. package/mat-selectable-box/src/onemrva-mat-selectable-box.component.d.ts +0 -21
  220. package/mat-selectable-box/src/onemrva-mat-selectable-box.module.d.ts +0 -7
  221. package/mat-side-menu/src/onemrva-mat-side-menu.component.d.ts +0 -24
  222. package/mat-side-menu/src/onemrva-mat-side-menu.module.d.ts +0 -7
  223. package/mat-skeleton/src/onemrva-mat-skeleton-enums.d.ts +0 -21
  224. package/mat-skeleton/src/onemrva-mat-skeleton.component.d.ts +0 -69
  225. package/mat-skeleton/src/onemrva-mat-skeleton.module.d.ts +0 -7
  226. package/mat-spinner/src/onemrva-mat-loading.directive.d.ts +0 -12
  227. package/mat-spinner/src/onemrva-mat-spinner.component.d.ts +0 -5
  228. package/mat-spinner/src/onemrva-mat-spinner.module.d.ts +0 -8
  229. package/mat-stepper/src/_stepper-variables.scss +0 -29
  230. package/mat-stepper/src/onemrva-mat-stepper.component.d.ts +0 -21
  231. package/mat-stepper/src/onemrva-mat-stepper.module.d.ts +0 -8
  232. package/mat-stepper/src/onemrva-stepper-animations.d.ts +0 -16
  233. package/mat-sticker/src/onemrva-mat-sticker.component.d.ts +0 -5
  234. package/mat-sticker/src/onemrva-mat-sticker.module.d.ts +0 -7
  235. package/mat-table-of-content/src/onemrva-mat-table-of-content.component.d.ts +0 -31
  236. package/mat-table-of-content/src/onemrva-mat-table-of-content.directive.d.ts +0 -27
  237. package/mat-table-of-content/src/onemrva-mat-table-of-content.service.d.ts +0 -12
  238. package/mat-table-of-content/src/onemrva-mat-toc-anchor.model.d.ts +0 -19
  239. package/mat-task-list/src/onemrva-mat-task-content.component.d.ts +0 -8
  240. package/mat-task-list/src/onemrva-mat-task-list.component.d.ts +0 -13
  241. package/mat-task-list/src/onemrva-mat-task-list.module.d.ts +0 -10
  242. package/mat-task-list/src/onemrva-mat-task-title.component.d.ts +0 -11
  243. package/mat-task-list/src/onemrva-mat-task.component.d.ts +0 -25
  244. package/mat-timepicker/src/clock/clock.component.d.ts +0 -50
  245. package/mat-timepicker/src/interfaces-and-types.d.ts +0 -13
  246. package/mat-timepicker/src/onemrva-mat-timepicker.component.d.ts +0 -129
  247. package/mat-timepicker/src/onemrva-mat-timepicker.module.d.ts +0 -11
  248. package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.d.ts +0 -60
  249. package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.d.ts +0 -42
  250. package/mat-timepicker/src/timepicker.directive.d.ts +0 -102
  251. package/mat-timepicker/src/util.d.ts +0 -12
  252. package/mat-toast/src/onemrva-mat-toast.component.d.ts +0 -24
  253. package/mat-toast/src/onemrva-mat-toast.module.d.ts +0 -8
  254. package/mat-tooltip/src/onemrva-mat-tooltip.component.d.ts +0 -8
  255. package/mat-tooltip/src/onemrva-mat-tooltip.directive.d.ts +0 -24
  256. package/mat-tooltip/src/onemrva-mat-tooltip.module.d.ts +0 -8
  257. package/page-error/src/page-error-action.component.d.ts +0 -7
  258. package/page-error/src/page-error.component.d.ts +0 -27
  259. package/page-not-found/src/page-not-found-action.component.d.ts +0 -7
  260. package/page-not-found/src/page-not-found-extra.component.d.ts +0 -7
  261. package/page-not-found/src/page-not-found-invader.component.d.ts +0 -21
  262. package/page-not-found/src/page-not-found.component.d.ts +0 -17
  263. package/page-not-found/src/page-not-found.module.d.ts +0 -10
  264. package/public-api.d.ts +0 -1
  265. package/shared/src/lib/adapters/index.d.ts +0 -2
  266. package/shared/src/lib/adapters/luxon.date.adapter.d.ts +0 -50
  267. package/shared/src/lib/adapters/luxon.utils.d.ts +0 -26
  268. package/shared/src/lib/adapters/native.date.adapter.d.ts +0 -17
  269. package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.d.ts +0 -10
  270. package/shared/src/lib/components/index.d.ts +0 -1
  271. package/shared/src/lib/constants/CDNUrlModeOptions.d.ts +0 -4
  272. package/shared/src/lib/constants/cdn.d.ts +0 -2
  273. package/shared/src/lib/constants/constants.d.ts +0 -6
  274. package/shared/src/lib/constants/date.format.d.ts +0 -5
  275. package/shared/src/lib/constants/index.d.ts +0 -4
  276. package/shared/src/lib/containers/WebComponentOverlayContainer.d.ts +0 -25
  277. package/shared/src/lib/containers/index.d.ts +0 -1
  278. package/shared/src/lib/decorators/HttpCacheDecorator.d.ts +0 -28
  279. package/shared/src/lib/decorators/index.d.ts +0 -1
  280. package/shared/src/lib/directives/clipboard.directive.d.ts +0 -21
  281. package/shared/src/lib/directives/color.directive.d.ts +0 -24
  282. package/shared/src/lib/directives/date-format.directive.d.ts +0 -19
  283. package/shared/src/lib/directives/digit-only.directive.d.ts +0 -6
  284. package/shared/src/lib/directives/iconRight.directive.d.ts +0 -9
  285. package/shared/src/lib/directives/if-width-is.directive.d.ts +0 -16
  286. package/shared/src/lib/directives/index.d.ts +0 -10
  287. package/shared/src/lib/directives/mask.directive.d.ts +0 -21
  288. package/shared/src/lib/directives/mat-row-clickable.directive.d.ts +0 -12
  289. package/shared/src/lib/directives/size.directive.d.ts +0 -20
  290. package/shared/src/lib/helpers/index.d.ts +0 -1
  291. package/shared/src/lib/helpers/translation-helper.d.ts +0 -17
  292. package/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.d.ts +0 -23
  293. package/shared/src/lib/interfaces/index.d.ts +0 -1
  294. package/shared/src/lib/loaders/index.d.ts +0 -2
  295. package/shared/src/lib/loaders/onemrva-translate-cdn-loader.d.ts +0 -14
  296. package/shared/src/lib/loaders/onemrva-translate-http-loader.d.ts +0 -14
  297. package/shared/src/lib/pipes/index.d.ts +0 -2
  298. package/shared/src/lib/pipes/onemrva-bce.pipe.d.ts +0 -7
  299. package/shared/src/lib/pipes/onemrva-niss.pipe.d.ts +0 -7
  300. package/shared/src/lib/providers/index.d.ts +0 -5
  301. package/shared/src/lib/providers/onemrva.date.luxon.provider.d.ts +0 -2
  302. package/shared/src/lib/providers/onemrva.date.luxon.year.month.provider.d.ts +0 -2
  303. package/shared/src/lib/providers/onemrva.date.native.provider.d.ts +0 -2
  304. package/shared/src/lib/providers/onemrva.date.native.year.month.provider.d.ts +0 -2
  305. package/shared/src/lib/providers/onemrva.theme.provider.d.ts +0 -2
  306. package/shared/src/lib/services/cache.service.d.ts +0 -10
  307. package/shared/src/lib/services/cdn.service.d.ts +0 -30
  308. package/shared/src/lib/services/country-cdn.service.d.ts +0 -30
  309. package/shared/src/lib/services/country-lookup.service.d.ts +0 -15
  310. package/shared/src/lib/services/index.d.ts +0 -8
  311. package/shared/src/lib/services/mime-cdn.service.d.ts +0 -15
  312. package/shared/src/lib/services/onemrva-error-handler.service.d.ts +0 -12
  313. package/shared/src/lib/services/onemrva-missing-translation.service.d.ts +0 -4
  314. package/shared/src/lib/services/osm.service.d.ts +0 -45
  315. package/shared/src/lib/shared.module.d.ts +0 -14
  316. package/shared/src/lib/tokens/index.d.ts +0 -1
  317. package/shared/src/lib/tokens/lookup.token.d.ts +0 -2
  318. package/shared/src/lib/validators/bank-account.validator.utils.d.ts +0 -4
  319. package/shared/src/lib/validators/index.d.ts +0 -2
  320. package/shared/src/lib/validators/onemrva-validators.d.ts +0 -8
  321. package/utils/src/enum.utils.d.ts +0 -6
  322. package/utils/src/enums/color.enum.d.ts +0 -12
  323. package/utils/src/enums/index.d.ts +0 -2
  324. package/utils/src/enums/size.enum.d.ts +0 -10
  325. /package/{mat-input-birthplace/src/country-item.component.scss → mat-country-item/src/onemrva-mat-country-item.component.scss} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-stepper.mjs","sources":["../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-stepper-animations.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.html","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.module.ts","../../../../projects/onemrva/design-system/mat-stepper/index.ts","../../../../projects/onemrva/design-system/mat-stepper/onemrvapublic-design-system-mat-stepper.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const DEFAULT_VERTICAL_ANIMATION_DURATION = '225ms';\n\n/**\n * Animations used by the Material steppers.\n * @docs-private\n */\nexport const onemrvaMatStepperAnimations: {\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the Y axis in a vertical summary-stepper. */\n verticalStepTransition: trigger('verticalStepTransition', [\n state('previous', style({ height: '*', visibility: 'inherit' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n // Transition to `inherit`, rather than `visible`,\n // because visibility on a child element the one from the parent,\n // making this element focusable inside of a `hidden` element.\n state('current', style({ height: '*', visibility: 'inherit' })),\n transition(\n '* <=> current',\n animate('{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)'),\n {\n params: { animationDuration: DEFAULT_VERTICAL_ANIMATION_DURATION },\n },\n ),\n ]),\n};\n","import { Directionality } from '@angular/cdk/bidi';\nimport { CdkStepper, StepperOrientation } from '@angular/cdk/stepper';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Input,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { onemrvaMatStepperAnimations } from './onemrva-stepper-animations';\nimport { MatStep, MatStepHeader, MatStepper } from '@angular/material/stepper';\nimport { Subject, takeUntil } from 'rxjs';\nimport { NgForOf, NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector:\n 'onemrva-mat-stepper, ' +\n 'onemrva-mat-vertical-stepper, ' +\n '[onemrvaMatStepper]',\n exportAs: 'matStepper, ' + 'matVerticalStepper, ' + 'matHorizontalStepper',\n templateUrl: 'onemrva-mat-stepper.html',\n styleUrls: ['onemrva-mat-stepper.scss'],\n // eslint-disable-next-line\n inputs: ['selectedIndex'],\n animations: [onemrvaMatStepperAnimations.verticalStepTransition],\n providers: [\n { provide: MatStepper, useExisting: OnemrvaMatStepperComponent },\n { provide: CdkStepper, useExisting: MatStepper },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n standalone: true,\n imports: [NgForOf, NgTemplateOutlet, MatStepHeader],\n})\nexport class OnemrvaMatStepperComponent\n extends MatStepper\n implements AfterContentInit, OnDestroy\n{\n destroyNotifier$: Subject<void> = new Subject<void>();\n\n /** Orientation of the summary-stepper. */\n @Input()\n override get orientation(): StepperOrientation {\n return 'vertical';\n }\n override set orientation(value: StepperOrientation) {\n this.matStepperVertical = true;\n }\n\n @HostBinding('class.mat-stepper-vertical') matStepperVertical = true;\n @HostBinding('attr.aria-orientation') ariaOrientation = 'vertical';\n @HostBinding('role') role = 'tablist';\n _animationDone = new Subject<any>();\n\n scrollToElement(elementId: string): void {\n const element = document.getElementById(elementId);\n if (element) {\n const yOffset = -100; // Optional: offset from the top for better positioning\n const y =\n element.getBoundingClientRect().top + window.pageYOffset + yOffset;\n window.scrollTo({ top: y, behavior: 'smooth' });\n }\n }\n\n constructor(\n @Optional() dir: Directionality,\n changeDetectorRef: ChangeDetectorRef,\n elementRef: ElementRef<HTMLElement>,\n ) {\n super(dir, changeDetectorRef, elementRef);\n\n this.selectionChange\n .pipe(takeUntil(this.destroyNotifier$))\n .subscribe(value => {\n const timeBeforeScroll = parseInt(this.animationDuration || '0') + 400;\n setTimeout(() => {\n const el = `cdk-step-label-${this._getStepLabelId(value.selectedIndex)}`; // TODO check ??\n this.scrollToElement(el);\n }, timeBeforeScroll);\n });\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.destroyNotifier$.next();\n this.destroyNotifier$.complete();\n }\n}\n","<!-- Vertical summary-stepper -->\n<ng-container>\n <div\n class=\"mat-step\"\n *ngFor=\"let step of steps; let i = index; let isLast = last\"\n >\n <ng-container\n [ngTemplateOutlet]=\"stepTemplate\"\n [ngTemplateOutletContext]=\"{step: step, i: i}\"\n ></ng-container>\n <div\n class=\"mat-vertical-content-container\"\n [class.mat-stepper-vertical-line]=\"!isLast\"\n >\n <div\n class=\"mat-vertical-stepper-content\"\n role=\"tabpanel\"\n [@verticalStepTransition]=\"{\n 'value': _getAnimationDirection(i),\n 'params': {'animationDuration': _getAnimationDuration()}\n }\"\n (@verticalStepTransition.done)=\"_animationDone.next($event)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <div class=\"mat-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n\n<!-- Common step templating -->\n<ng-template let-step=\"step\" let-i=\"i\" #stepTemplate>\n <mat-step-header\n [class.mat-horizontal-stepper-header]=\"orientation === 'horizontal'\"\n [class.mat-vertical-stepper-header]=\"orientation === 'vertical'\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\"\n [attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"_stepIsNavigable(i, step)\"\n [optional]=\"step.optional\"\n [errorMessage]=\"step.errorMessage\"\n [iconOverrides]=\"_iconOverrides\"\n [disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\n ></mat-step-header>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStepperComponent } from './onemrva-mat-stepper.component';\nimport { CommonModule } from '@angular/common';\nimport { MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatStepperModule } from '@angular/material/stepper';\n\n@NgModule({\n imports: [OnemrvaMatStepperComponent],\n exports: [MatStepperModule, OnemrvaMatStepperComponent],\n declarations: [],\n providers: [],\n})\nexport class OnemrvaMatStepperModule {}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-stepper.component';\nexport * from './src/onemrva-mat-stepper.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;AAMG;AAUI,MAAM,mCAAmC,GAAG,OAAO;AAE1D;;;AAGG;AACI,MAAM,2BAA2B,GAEpC;;AAEF,IAAA,sBAAsB,EAAE,OAAO,CAAC,wBAAwB,EAAE;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAChE,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;;;;AAI7D,QAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAC/D,QAAA,UAAU,CACR,eAAe,EACf,OAAO,CAAC,sDAAsD,CAAC,EAC/D;AACE,YAAA,MAAM,EAAE,EAAE,iBAAiB,EAAE,mCAAmC,EAAE;SACnE,CACF;KACF,CAAC;CACH;;ACDK,MAAO,0BACX,SAAQ,UAAU,CAAA;;AAMlB,IAAA,IACa,WAAW,GAAA;AACtB,QAAA,OAAO,UAAU;;IAEnB,IAAa,WAAW,CAAC,KAAyB,EAAA;AAChD,QAAA,IAAI,CAAC,kBAAkB,GAAG,IAAI;;AAQhC,IAAA,eAAe,CAAC,SAAiB,EAAA;QAC/B,MAAM,OAAO,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC;QAClD,IAAI,OAAO,EAAE;AACX,YAAA,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC;AACrB,YAAA,MAAM,CAAC,GACL,OAAO,CAAC,qBAAqB,EAAE,CAAC,GAAG,GAAG,MAAM,CAAC,WAAW,GAAG,OAAO;AACp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CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EALxB,OAAA,EAAA,CAAA,0BAA0B,CAC1B,EAAA,OAAA,EAAA,CAAA,gBAAgB,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA;gHAI3C,uBAAuB,EAAA,OAAA,EAAA,CALxB,0BAA0B,EAC1B,gBAAgB,CAAA,EAAA,CAAA,CAAA;;4FAIf,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACrC,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;AACvD,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-mat-stepper.mjs","sources":["../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-stepper-animations.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.html","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.module.ts","../../../../projects/onemrva/design-system/mat-stepper/index.ts","../../../../projects/onemrva/design-system/mat-stepper/onemrvapublic-design-system-mat-stepper.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const DEFAULT_VERTICAL_ANIMATION_DURATION = '225ms';\n\n/**\n * Animations used by the Material steppers.\n * @docs-private\n */\nexport const onemrvaMatStepperAnimations: {\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the Y axis in a vertical summary-stepper. */\n verticalStepTransition: trigger('verticalStepTransition', [\n state('previous', style({ height: '*', visibility: 'inherit' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n // Transition to `inherit`, rather than `visible`,\n // because visibility on a child element the one from the parent,\n // making this element focusable inside of a `hidden` element.\n state('current', style({ height: '*', visibility: 'inherit' })),\n transition(\n '* <=> current',\n animate('{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)'),\n {\n params: { animationDuration: DEFAULT_VERTICAL_ANIMATION_DURATION },\n },\n ),\n ]),\n};\n","import { Directionality } from '@angular/cdk/bidi';\nimport { CdkStepper, StepperOrientation } from '@angular/cdk/stepper';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Input,\n OnDestroy,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\n\nimport { onemrvaMatStepperAnimations } from './onemrva-stepper-animations';\nimport { MatStep, MatStepHeader, MatStepper } from '@angular/material/stepper';\nimport { Subject, takeUntil } from 'rxjs';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector:\n 'onemrva-mat-stepper, ' +\n 'onemrva-mat-vertical-stepper, ' +\n '[onemrvaMatStepper]',\n exportAs: 'matStepper, ' + 'matVerticalStepper, ' + 'matHorizontalStepper',\n templateUrl: 'onemrva-mat-stepper.html',\n styleUrls: ['onemrva-mat-stepper.scss'],\n // eslint-disable-next-line\n inputs: ['selectedIndex'],\n animations: [onemrvaMatStepperAnimations.verticalStepTransition],\n providers: [\n { provide: MatStepper, useExisting: OnemrvaMatStepperComponent },\n { provide: CdkStepper, useExisting: MatStepper },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n standalone: true,\n imports: [NgTemplateOutlet, MatStepHeader],\n})\nexport class OnemrvaMatStepperComponent\n extends MatStepper\n implements AfterContentInit, OnDestroy\n{\n destroyNotifier$: Subject<void> = new Subject<void>();\n\n /** Orientation of the summary-stepper. */\n @Input()\n override get orientation(): StepperOrientation {\n return 'vertical';\n }\n override set orientation(value: StepperOrientation) {\n this.matStepperVertical = true;\n }\n\n @HostBinding('class.mat-stepper-vertical') matStepperVertical = true;\n @HostBinding('attr.aria-orientation') ariaOrientation = 'vertical';\n @HostBinding('role') role = 'tablist';\n _animationDone = new Subject<any>();\n\n private readonly dir = inject(Directionality, { optional: true });\n private readonly cd = inject(ChangeDetectorRef);\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n\n scrollToElement(elementId: string): void {\n const element = document.getElementById(elementId);\n if (element) {\n const yOffset = -100; // Optional: offset from the top for better positioning\n const y =\n element.getBoundingClientRect().top + window.pageYOffset + yOffset;\n window.scrollTo({ top: y, behavior: 'smooth' });\n }\n }\n\n constructor() {\n super(\n inject(Directionality, { optional: true }),\n inject(ChangeDetectorRef),\n inject(ElementRef<HTMLElement>),\n );\n }\n\n override ngAfterContentInit(): void {\n super.ngAfterContentInit();\n this.selectionChange\n .pipe(takeUntil(this.destroyNotifier$))\n .subscribe(value => {\n const timeBeforeScroll = parseInt(this.animationDuration || '0') + 400;\n setTimeout(() => {\n const el = `cdk-step-label-${this._getStepLabelId(value.selectedIndex)}`; // TODO check ??\n this.scrollToElement(el);\n }, timeBeforeScroll);\n });\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.destroyNotifier$.next();\n this.destroyNotifier$.complete();\n }\n\n _stepIsNavigable(index: number, step: MatStep): boolean {\n return (\n step.completed ||\n this.selectedIndex === index ||\n this.selectedIndex > index\n );\n }\n\n _getIndicatorType(index: number, state?: string): string {\n if (state) {\n return state;\n }\n if (this.selectedIndex === index) {\n return 'number';\n }\n return 'number';\n }\n}\n","<!-- Vertical summary-stepper -->\n<ng-container>\n @for (step of steps; track step; let i = $index; let isLast = $last) {\n <div class=\"mat-step\">\n <ng-container\n [ngTemplateOutlet]=\"stepTemplate\"\n [ngTemplateOutletContext]=\"{step: step, i: i}\"\n ></ng-container>\n <div\n class=\"mat-vertical-content-container\"\n [class.mat-stepper-vertical-line]=\"!isLast\"\n >\n <div\n class=\"mat-vertical-stepper-content\"\n role=\"tabpanel\"\n [@verticalStepTransition]=\"{\n 'value': _getAnimationDirection(i),\n 'params': {'animationDuration': _getAnimationDuration()}\n }\"\n (@verticalStepTransition.done)=\"_animationDone.next($event)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <div class=\"mat-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n }\n</ng-container>\n\n<!-- Common step templating -->\n<ng-template let-step=\"step\" let-i=\"i\" #stepTemplate>\n <mat-step-header\n [class.mat-horizontal-stepper-header]=\"orientation === 'horizontal'\"\n [class.mat-vertical-stepper-header]=\"orientation === 'vertical'\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\"\n [attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"_stepIsNavigable(i, step)\"\n [optional]=\"step.optional\"\n [errorMessage]=\"step.errorMessage\"\n [iconOverrides]=\"_iconOverrides\"\n [disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\n ></mat-step-header>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStepperComponent } from './onemrva-mat-stepper.component';\nimport { MatStepperModule } from '@angular/material/stepper';\n\n@NgModule({\n imports: [OnemrvaMatStepperComponent],\n exports: [MatStepperModule, OnemrvaMatStepperComponent],\n declarations: [],\n providers: [],\n})\nexport class OnemrvaMatStepperModule {}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-stepper.component';\nexport * from './src/onemrva-mat-stepper.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;AAMG;AAUI,MAAM,mCAAmC,GAAG,OAAO;AAE1D;;;AAGG;AACI,MAAM,2BAA2B,GAEpC;;AAEF,IAAA,sBAAsB,EAAE,OAAO,CAAC,wBAAwB,EAAE;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAChE,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;;;;AAI7D,QAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAC/D,QAAA,UAAU,CACR,eAAe,EACf,OAAO,CAAC,sDAAsD,CAAC,EAC/D;AACE,YAAA,MAAM,EAAE,EAAE,iBAAiB,EAAE,mCAAmC,EAAE;SACnE,CACF;KACF,CAAC;CACH;;ACDK,MAAO,0BACX,SAAQ,UAAU,CAAA;;AAMlB,IAAA,IACa,WAAW,GAAA;AACtB,QAAA,OAAO,UAAU;;IAEnB,IAAa,WAAW,CAAC,KAAyB,EAAA;AAChD,QAAA,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
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatStickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatStickerComponent, isStandalone: true, selector: "onemrva-mat-sticker", ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, styles: [":host{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;cursor:default;background:var(--mat-sys-surface);opacity:1;border-radius:var(--small-border-radius);padding:2px 8px;font:var(--mat-sys-label-medium);box-sizing:border-box;border:2px solid var(--mat-sys-primary);color:var(--mat-sys-primary)}:host.mat-accent{background:var(--background-gradient)!important;border:none;color:var(--on-background-gradient)}\n"] }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatStickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatStickerComponent, isStandalone: true, selector: "onemrva-mat-sticker", ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, styles: [":host{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;cursor:default;background:var(--mat-sys-surface);opacity:1;border-radius:var(--small-border-radius);padding:2px 8px;font:var(--mat-sys-label-medium);box-sizing:border-box;border:2px solid var(--mat-sys-primary);color:var(--mat-sys-primary)}:host.mat-accent{background:var(--background-gradient)!important;border:none;color:var(--on-background-gradient)}:host.mat-error{background:var(--mat-sys-error-container)!important;border:none;color:var(--mat-sys-on-error-container)}\n"] }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatStickerComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatStickerComponent, decorators: [{
9
9
  type: Component,
10
- args: [{ selector: 'onemrva-mat-sticker', template: ` <ng-content></ng-content>`, imports: [], standalone: true, encapsulation: ViewEncapsulation.Emulated, styles: [":host{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;cursor:default;background:var(--mat-sys-surface);opacity:1;border-radius:var(--small-border-radius);padding:2px 8px;font:var(--mat-sys-label-medium);box-sizing:border-box;border:2px solid var(--mat-sys-primary);color:var(--mat-sys-primary)}:host.mat-accent{background:var(--background-gradient)!important;border:none;color:var(--on-background-gradient)}\n"] }]
10
+ args: [{ selector: 'onemrva-mat-sticker', template: ` <ng-content></ng-content>`, imports: [], standalone: true, encapsulation: ViewEncapsulation.Emulated, styles: [":host{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;cursor:default;background:var(--mat-sys-surface);opacity:1;border-radius:var(--small-border-radius);padding:2px 8px;font:var(--mat-sys-label-medium);box-sizing:border-box;border:2px solid var(--mat-sys-primary);color:var(--mat-sys-primary)}:host.mat-accent{background:var(--background-gradient)!important;border:none;color:var(--on-background-gradient)}:host.mat-error{background:var(--mat-sys-error-container)!important;border:none;color:var(--mat-sys-on-error-container)}\n"] }]
11
11
  }] });
12
12
 
13
13
  class OnemrvaMatStickerModule {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatStickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatStickerModule, imports: [OnemrvaMatStickerComponent], exports: [OnemrvaMatStickerComponent] }); }
16
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatStickerModule }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatStickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatStickerModule, imports: [OnemrvaMatStickerComponent], exports: [OnemrvaMatStickerComponent] }); }
16
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatStickerModule }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatStickerModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatStickerModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-sticker.mjs","sources":["../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.component.ts","../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.module.ts","../../../../projects/onemrva/design-system/mat-sticker/index.ts","../../../../projects/onemrva/design-system/mat-sticker/onemrvapublic-design-system-mat-sticker.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'onemrva-mat-sticker',\n template: ` <ng-content></ng-content>`,\n styleUrl: 'onemrva-mat-sticker.component.scss',\n imports: [],\n standalone: true,\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatStickerComponent {}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStickerComponent } from './onemrva-mat-sticker.component';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatStickerComponent],\n exports: [OnemrvaMatStickerComponent],\n})\nexport class OnemrvaMatStickerModule {}\n","/*\n * Public API Surface of mat-sticker\n */\n\nexport * from './src/onemrva-mat-sticker.component';\nexport * from './src/onemrva-mat-sticker.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAUa,0BAA0B,CAAA;+GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,+EAN3B,CAA4B,0BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,4cAAA,CAAA,EAAA,CAAA,CAAA;;4FAM3B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBARtC,SAAS;+BACE,qBAAqB,EAAA,QAAA,EACrB,4BAA4B,EAE7B,OAAA,EAAA,EAAE,cACC,IAAI,EAAA,aAAA,EACD,iBAAiB,CAAC,QAAQ,EAAA,MAAA,EAAA,CAAA,4cAAA,CAAA,EAAA;;;MCA9B,uBAAuB,CAAA;+GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAvB,uBAAuB,EAAA,OAAA,EAAA,CAHxB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC1B,0BAA0B,CAAA,EAAA,CAAA,CAAA;gHAEzB,uBAAuB,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAE,CAAC,0BAA0B,CAAC;oBACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACtC,iBAAA;;;ACPD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-mat-sticker.mjs","sources":["../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.component.ts","../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.module.ts","../../../../projects/onemrva/design-system/mat-sticker/index.ts","../../../../projects/onemrva/design-system/mat-sticker/onemrvapublic-design-system-mat-sticker.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'onemrva-mat-sticker',\n template: ` <ng-content></ng-content>`,\n styleUrl: 'onemrva-mat-sticker.component.scss',\n imports: [],\n standalone: true,\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatStickerComponent {}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStickerComponent } from './onemrva-mat-sticker.component';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatStickerComponent],\n exports: [OnemrvaMatStickerComponent],\n})\nexport class OnemrvaMatStickerModule {}\n","/*\n * Public API Surface of mat-sticker\n */\n\nexport * from './src/onemrva-mat-sticker.component';\nexport * from './src/onemrva-mat-sticker.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAUa,0BAA0B,CAAA;8GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,+EAN3B,CAA4B,0BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,okBAAA,CAAA,EAAA,CAAA,CAAA;;2FAM3B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBARtC,SAAS;+BACE,qBAAqB,EAAA,QAAA,EACrB,4BAA4B,EAE7B,OAAA,EAAA,EAAE,cACC,IAAI,EAAA,aAAA,EACD,iBAAiB,CAAC,QAAQ,EAAA,MAAA,EAAA,CAAA,okBAAA,CAAA,EAAA;;;MCA9B,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAvB,uBAAuB,EAAA,OAAA,EAAA,CAHxB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC1B,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GAEzB,uBAAuB,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAE,CAAC,0BAA0B,CAAC;oBACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACtC,iBAAA;;;ACPD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,16 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Input, HostBinding, ViewEncapsulation, Component, Directive } from '@angular/core';
3
- import * as i4 from '@angular/material/list';
2
+ import { Injectable, inject, Input, HostBinding, ViewEncapsulation, Component, ChangeDetectorRef, Directive } from '@angular/core';
3
+ import * as i1 from '@angular/material/list';
4
4
  import { MatListModule } from '@angular/material/list';
5
- import * as i2$1 from '@ngx-translate/core';
6
- import { TranslateModule } from '@ngx-translate/core';
5
+ import * as i2 from '@ngx-translate/core';
6
+ import { TranslateModule, TranslateService } from '@ngx-translate/core';
7
7
  import { BehaviorSubject, Subject, takeUntil, map, tap } from 'rxjs';
8
- import * as i1 from '@angular/common';
9
- import { CommonModule } from '@angular/common';
10
- import * as i6 from '@angular/material/icon';
8
+ import * as i3 from '@angular/common';
9
+ import { Location, CommonModule } from '@angular/common';
10
+ import * as i4 from '@angular/material/icon';
11
11
  import { MatIconModule } from '@angular/material/icon';
12
- import * as i2 from '@angular/router';
13
- import { RouterLink } from '@angular/router';
12
+ import { ActivatedRoute, Router, RouterLink } from '@angular/router';
14
13
 
15
14
  var OnemrvaMatTocAnchorStatus;
16
15
  (function (OnemrvaMatTocAnchorStatus) {
@@ -58,25 +57,25 @@ class OnemrvaMatTableOfContentService {
58
57
  this._toc = {};
59
58
  this._toc$.next(this._toc);
60
59
  }
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
62
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentService }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
61
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentService }); }
63
62
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentService, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentService, decorators: [{
65
64
  type: Injectable
66
65
  }] });
67
66
 
68
67
  class OnemrvaMatTableOfContentComponent {
69
- constructor(location, route, router, tocService) {
70
- this.location = location;
71
- this.route = route;
72
- this.router = router;
73
- this.tocService = tocService;
68
+ constructor() {
74
69
  this.dataCy = 'onemrva-mat-toc';
75
70
  this.scrollShift = 0;
76
71
  this.activePath = '';
77
72
  this.destroy$ = new Subject();
78
73
  this.level = OnemrvaMatTocAnchorLevel;
79
74
  this.status = OnemrvaMatTocAnchorStatus;
75
+ this.location = inject(Location);
76
+ this.route = inject(ActivatedRoute);
77
+ this.router = inject(Router);
78
+ this.tocService = inject(OnemrvaMatTableOfContentService);
80
79
  this.timeoutId = null;
81
80
  }
82
81
  ngOnInit() {
@@ -126,10 +125,10 @@ class OnemrvaMatTableOfContentComponent {
126
125
  });
127
126
  elements.forEach(el => this.observer.observe(el));
128
127
  }
129
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentComponent, deps: [{ token: i1.Location }, { token: i2.ActivatedRoute }, { token: i2.Router }, { token: OnemrvaMatTableOfContentService }], target: i0.ɵɵFactoryTarget.Component }); }
130
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTableOfContentComponent, isStandalone: true, selector: "onemrva-mat-table-of-content", inputs: { titleKey: "titleKey", tocName: "tocName", dataCy: "dataCy", tableOfContentName: "tableOfContentName", scrollShift: "scrollShift" }, host: { properties: { "attr.data-cy": "this.dataCy" } }, ngImport: i0, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n [routerLink]=\"[]\"\n [fragment]=\"anchor.path\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive?.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"mat-success\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n", styles: [":host{position:fixed;width:var(--toc-width, 280px);top:var(--layout-header-height, 82px);left:0;bottom:0;overflow:auto;background-color:var(--mat-sys-surface-container);padding:var(--triple-spacer) var(--spacer) var(--spacer) var(--triple-spacer);box-sizing:border-box}:host .onemrva-mat-toc-title{color:var(--mat-sys-secondary);line-height:1.5rem;margin-bottom:var(--double-spacer)}:host mat-list{padding:0}:host mat-list mat-list-item{padding:var(--half-spacer) 0 var(--half-spacer) var(--spacer);height:2rem!important;border-left:1px solid var(--mat-sys-outline-variant)}:host mat-list mat-list-item.onemrva-mat-hidden-toc-anchor{display:none}:host mat-list mat-list-item .mdc-list-item__primary-text{font-weight:600;color:var(--mat-sys-outline)}:host mat-list mat-list-item.active-anchor{border-left:3px solid var(--mat-sys-secondary);padding-left:6px}:host mat-list mat-list-item.active-anchor .mdc-list-item__primary-text{color:var(--mat-sys-outline-variant)}:host mat-list mat-list-item:hover{cursor:pointer}:host mat-list mat-list-item mat-icon{vertical-align:bottom!important}:host mat-list mat-list-item mat-icon.anchor-warning{color:var(--mat-sys-secondary)}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i4.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i4.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
128
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
129
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: OnemrvaMatTableOfContentComponent, isStandalone: true, selector: "onemrva-mat-table-of-content", inputs: { titleKey: "titleKey", tocName: "tocName", dataCy: "dataCy", tableOfContentName: "tableOfContentName", scrollShift: "scrollShift" }, host: { properties: { "attr.data-cy": "this.dataCy" } }, ngImport: i0, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n @for (anchor of toc$ | async; track anchor.path) {\n <mat-list-item\n [routerLink]=\"[]\"\n [fragment]=\"anchor.path\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive?.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n @if (anchor.status === status.CHECKMARK) {\n <mat-icon class=\"mat-success\">check</mat-icon>\n }\n @if (anchor.status === status.WARNING) {\n <mat-icon class=\"anchor-warning\">priority_high</mat-icon>\n }\n </mat-list-item>\n }\n </mat-list>\n</div>\n", styles: [":host{position:fixed;width:var(--toc-width, 280px);top:var(--layout-header-height, 82px);left:0;bottom:0;overflow:auto;background-color:var(--mat-sys-surface-container);padding:var(--triple-spacer) var(--spacer) var(--spacer) var(--triple-spacer);box-sizing:border-box}:host .onemrva-mat-toc-title{color:var(--mat-sys-secondary);line-height:1.5rem;margin-bottom:var(--double-spacer)}:host mat-list{padding:0}:host mat-list mat-list-item{padding:var(--half-spacer) 0 var(--half-spacer) var(--spacer);height:2rem!important;border-left:1px solid var(--mat-sys-outline-variant)}:host mat-list mat-list-item.onemrva-mat-hidden-toc-anchor{display:none}:host mat-list mat-list-item .mdc-list-item__primary-text{font-weight:600;color:var(--mat-sys-outline)}:host mat-list mat-list-item.active-anchor{border-left:3px solid var(--mat-sys-secondary);padding-left:6px}:host mat-list mat-list-item.active-anchor .mdc-list-item__primary-text{color:var(--mat-sys-outline-variant)}:host mat-list mat-list-item:hover{cursor:pointer}:host mat-list mat-list-item mat-icon{vertical-align:bottom!important}:host mat-list mat-list-item mat-icon.anchor-warning{color:var(--mat-sys-secondary)}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
131
130
  }
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentComponent, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentComponent, decorators: [{
133
132
  type: Component,
134
133
  args: [{ selector: 'onemrva-mat-table-of-content', standalone: true, imports: [
135
134
  MatListModule,
@@ -137,8 +136,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
137
136
  CommonModule,
138
137
  MatIconModule,
139
138
  RouterLink,
140
- ], encapsulation: ViewEncapsulation.Emulated, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n [routerLink]=\"[]\"\n [fragment]=\"anchor.path\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive?.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"mat-success\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n", styles: [":host{position:fixed;width:var(--toc-width, 280px);top:var(--layout-header-height, 82px);left:0;bottom:0;overflow:auto;background-color:var(--mat-sys-surface-container);padding:var(--triple-spacer) var(--spacer) var(--spacer) var(--triple-spacer);box-sizing:border-box}:host .onemrva-mat-toc-title{color:var(--mat-sys-secondary);line-height:1.5rem;margin-bottom:var(--double-spacer)}:host mat-list{padding:0}:host mat-list mat-list-item{padding:var(--half-spacer) 0 var(--half-spacer) var(--spacer);height:2rem!important;border-left:1px solid var(--mat-sys-outline-variant)}:host mat-list mat-list-item.onemrva-mat-hidden-toc-anchor{display:none}:host mat-list mat-list-item .mdc-list-item__primary-text{font-weight:600;color:var(--mat-sys-outline)}:host mat-list mat-list-item.active-anchor{border-left:3px solid var(--mat-sys-secondary);padding-left:6px}:host mat-list mat-list-item.active-anchor .mdc-list-item__primary-text{color:var(--mat-sys-outline-variant)}:host mat-list mat-list-item:hover{cursor:pointer}:host mat-list mat-list-item mat-icon{vertical-align:bottom!important}:host mat-list mat-list-item mat-icon.anchor-warning{color:var(--mat-sys-secondary)}\n"] }]
141
- }], ctorParameters: () => [{ type: i1.Location }, { type: i2.ActivatedRoute }, { type: i2.Router }, { type: OnemrvaMatTableOfContentService }], propDecorators: { titleKey: [{
139
+ ], encapsulation: ViewEncapsulation.Emulated, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n @for (anchor of toc$ | async; track anchor.path) {\n <mat-list-item\n [routerLink]=\"[]\"\n [fragment]=\"anchor.path\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive?.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n @if (anchor.status === status.CHECKMARK) {\n <mat-icon class=\"mat-success\">check</mat-icon>\n }\n @if (anchor.status === status.WARNING) {\n <mat-icon class=\"anchor-warning\">priority_high</mat-icon>\n }\n </mat-list-item>\n }\n </mat-list>\n</div>\n", styles: [":host{position:fixed;width:var(--toc-width, 280px);top:var(--layout-header-height, 82px);left:0;bottom:0;overflow:auto;background-color:var(--mat-sys-surface-container);padding:var(--triple-spacer) var(--spacer) var(--spacer) var(--triple-spacer);box-sizing:border-box}:host .onemrva-mat-toc-title{color:var(--mat-sys-secondary);line-height:1.5rem;margin-bottom:var(--double-spacer)}:host mat-list{padding:0}:host mat-list mat-list-item{padding:var(--half-spacer) 0 var(--half-spacer) var(--spacer);height:2rem!important;border-left:1px solid var(--mat-sys-outline-variant)}:host mat-list mat-list-item.onemrva-mat-hidden-toc-anchor{display:none}:host mat-list mat-list-item .mdc-list-item__primary-text{font-weight:600;color:var(--mat-sys-outline)}:host mat-list mat-list-item.active-anchor{border-left:3px solid var(--mat-sys-secondary);padding-left:6px}:host mat-list mat-list-item.active-anchor .mdc-list-item__primary-text{color:var(--mat-sys-outline-variant)}:host mat-list mat-list-item:hover{cursor:pointer}:host mat-list mat-list-item mat-icon{vertical-align:bottom!important}:host mat-list mat-list-item mat-icon.anchor-warning{color:var(--mat-sys-secondary)}\n"] }]
140
+ }], propDecorators: { titleKey: [{
142
141
  type: Input
143
142
  }], tocName: [{
144
143
  type: Input
@@ -157,6 +156,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
157
156
  * For accessibility purpose, aria-label and will be displayed
158
157
  */
159
158
  class OnemrvaMatTableOfContentDirective {
159
+ constructor() {
160
+ this.role = '';
161
+ this.clazz = 'onemrva-mat-toc-anchor';
162
+ this.id = '';
163
+ this.hiddenInToc = false;
164
+ this.tocService = inject(OnemrvaMatTableOfContentService);
165
+ this.cd = inject(ChangeDetectorRef);
166
+ this.translateService = inject(TranslateService);
167
+ this.route = inject(ActivatedRoute);
168
+ }
160
169
  get ariaLabel() {
161
170
  return this.translateService.instant(this.onemrvaMatToc?.titleKey);
162
171
  }
@@ -167,16 +176,6 @@ class OnemrvaMatTableOfContentDirective {
167
176
  return '#' + this.onemrvaMatToc?.path;
168
177
  return this.onemrvaMatToc?.path;
169
178
  }
170
- constructor(tocService, cd, translateService, route) {
171
- this.tocService = tocService;
172
- this.cd = cd;
173
- this.translateService = translateService;
174
- this.route = route;
175
- this.role = '';
176
- this.clazz = 'onemrva-mat-toc-anchor';
177
- this.id = '';
178
- this.hiddenInToc = false;
179
- }
180
179
  ngOnInit() {
181
180
  this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });
182
181
  this.id = this.onemrvaMatToc.path.slice(1, this.onemrvaMatToc.path.length);
@@ -191,16 +190,16 @@ class OnemrvaMatTableOfContentDirective {
191
190
  }
192
191
  });
193
192
  }
194
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentDirective, deps: [{ token: OnemrvaMatTableOfContentService }, { token: i0.ChangeDetectorRef }, { token: i2$1.TranslateService }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Directive }); }
195
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTableOfContentDirective, isStandalone: true, selector: "[onemrvaMatToc]", inputs: { onemrvaMatToc: "onemrvaMatToc", hiddenInToc: "hiddenInToc" }, host: { properties: { "attr.role": "this.role", "attr.class": "this.clazz", "attr.id": "this.id", "attr.aria-label": "this.ariaLabel", "attr.rvaonem-toc-anchor": "this.ariaToc" } }, ngImport: i0 }); }
193
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
194
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTableOfContentDirective, isStandalone: true, selector: "[onemrvaMatToc]", inputs: { onemrvaMatToc: "onemrvaMatToc", hiddenInToc: "hiddenInToc" }, host: { properties: { "attr.role": "this.role", "attr.class": "this.clazz", "attr.id": "this.id", "attr.aria-label": "this.ariaLabel", "attr.rvaonem-toc-anchor": "this.ariaToc" } }, ngImport: i0 }); }
196
195
  }
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTableOfContentDirective, decorators: [{
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTableOfContentDirective, decorators: [{
198
197
  type: Directive,
199
198
  args: [{
200
199
  selector: '[onemrvaMatToc]',
201
200
  standalone: true,
202
201
  }]
203
- }], ctorParameters: () => [{ type: OnemrvaMatTableOfContentService }, { type: i0.ChangeDetectorRef }, { type: i2$1.TranslateService }, { type: i2.ActivatedRoute }], propDecorators: { onemrvaMatToc: [{
202
+ }], propDecorators: { onemrvaMatToc: [{
204
203
  type: Input
205
204
  }], role: [{
206
205
  type: HostBinding,
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-table-of-content.mjs","sources":["../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts","../../../../projects/onemrva/design-system/mat-table-of-content/index.ts","../../../../projects/onemrva/design-system/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.ts"],"sourcesContent":["export enum OnemrvaMatTocAnchorStatus {\n CHECKMARK,\n WARNING,\n}\n\nexport enum OnemrvaMatTocAnchorLevel {\n SECTION,\n SUBSECTION,\n}\n\nexport interface OnemrvaMatTocAnchor {\n tocName: string;\n titleKey: string;\n path: string;\n order?: number; // You can manually set the order of your links\n status?: OnemrvaMatTocAnchorStatus; // checkmarck add a checkmark icon at the end of the line. Warning adds an exclamation mark\n level?: OnemrvaMatTocAnchorLevel; // Section level by default\n hidden?: boolean;\n directive?: any;\n}\n\nexport type OnemrvaMatToc = Record<string, OnemrvaMatTocAnchor[]>;\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatToc,\n OnemrvaMatTocAnchorLevel,\n} from './onemrva-mat-toc-anchor.model';\n\n@Injectable()\nexport class OnemrvaMatTableOfContentService {\n private _toc: OnemrvaMatToc = {};\n private _toc$ = new BehaviorSubject<OnemrvaMatToc>({});\n toc$: Observable<OnemrvaMatToc> = this._toc$.asObservable();\n\n addAnchor(anchor: OnemrvaMatTocAnchor) {\n if (!anchor.level) {\n anchor.level = OnemrvaMatTocAnchorLevel.SECTION;\n }\n\n if (!this._toc[anchor.tocName])\n this._toc = { ...this._toc, [anchor.tocName]: [anchor] };\n else if (\n this._toc[anchor.tocName].findIndex(a => anchor.path === a.path) < 0\n ) {\n let idx = -1;\n if (anchor.order) {\n idx = this._toc[anchor.tocName].findIndex(\n a => a.order && anchor.order! < a.order,\n );\n }\n\n const newToc = [...this._toc[anchor.tocName]];\n if (idx >= 0) {\n newToc.splice(idx, 0, anchor);\n } else {\n newToc.push(anchor);\n }\n this._toc = {\n ...this._toc,\n [anchor.tocName]: newToc,\n };\n }\n\n this._toc$.next(this._toc);\n }\n\n resetToc() {\n this._toc = {};\n this._toc$.next(this._toc);\n }\n}\n","import {\n AfterViewInit,\n Component,\n HostBinding,\n Input,\n OnDestroy,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport { MatListModule } from '@angular/material/list';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { Observable, map, tap, Subject, takeUntil } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatTocAnchorLevel,\n OnemrvaMatTocAnchorStatus,\n} from './onemrva-mat-toc-anchor.model';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\nimport { Location } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-table-of-content',\n templateUrl: 'onemrva-mat-table-of-content.component.html',\n styleUrl: 'onemrva-mat-table-of-content.component.scss',\n standalone: true,\n imports: [\n MatListModule,\n TranslateModule,\n CommonModule,\n MatIconModule,\n RouterLink,\n ],\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatTableOfContentComponent\n implements OnInit, OnDestroy, AfterViewInit\n{\n @Input()\n titleKey!: string;\n\n @Input()\n tocName!: string;\n\n @HostBinding('attr.data-cy')\n @Input()\n dataCy = 'onemrva-mat-toc';\n\n @Input()\n tableOfContentName!: string;\n\n @Input()\n scrollShift = 0;\n\n toc$!: Observable<OnemrvaMatTocAnchor[]>;\n\n activePath = '';\n\n destroy$ = new Subject<boolean>();\n\n level = OnemrvaMatTocAnchorLevel;\n status = OnemrvaMatTocAnchorStatus;\n\n constructor(\n private location: Location,\n private route: ActivatedRoute,\n private router: Router,\n private tocService: OnemrvaMatTableOfContentService,\n ) {}\n\n ngOnInit(): void {\n this.route.fragment.pipe(takeUntil(this.destroy$)).subscribe(fragment => {\n this.activePath = fragment ?? '';\n });\n\n this.toc$ = this.tocService.toc$.pipe(\n map(tocMap => {\n const toc = tocMap[this.tocName]?.filter(entry => !entry.hidden) ?? [];\n return toc.map(entry => ({\n ...entry,\n path: entry.path?.startsWith('#') ? entry.path.slice(1) : entry.path,\n }));\n }),\n tap(toc => {\n if (!toc.length) {\n this.titleKey = 'tocName.notFound';\n } else {\n this.activePath = toc[0].path;\n }\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.tocService.resetToc();\n }\n\n private observer!: IntersectionObserver;\n private timeoutId: ReturnType<typeof setTimeout> | null = null;\n\n ngAfterViewInit(): void {\n const elements = document.querySelectorAll<HTMLElement>(\n '.onemrva-mat-toc-anchor',\n );\n\n this.observer = new IntersectionObserver(\n entries => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n const id = entry.target.getAttribute('id');\n if (id) {\n if (this.timeoutId !== null) clearTimeout(this.timeoutId);\n this.timeoutId = setTimeout(() => {\n this.location.replaceState(\n this.router.url.split('#')[0] + `#${id}`,\n );\n this.activePath = id;\n this.timeoutId = null;\n }, 200);\n }\n }\n });\n },\n {\n root: null,\n threshold: 0,\n rootMargin: '-92px 0px -75% 0px',\n },\n );\n elements.forEach(el => this.observer.observe(el));\n }\n}\n","<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n [routerLink]=\"[]\"\n [fragment]=\"anchor.path\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive?.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"mat-success\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n","import {\n OnInit,\n Directive,\n Input,\n HostBinding,\n AfterViewInit,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { OnemrvaMatTocAnchor } from './onemrva-mat-toc-anchor.model';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n/**\n * For accessibility purpose, aria-label and will be displayed\n */\n\n@Directive({\n selector: '[onemrvaMatToc]',\n standalone: true,\n})\nexport class OnemrvaMatTableOfContentDirective\n implements OnInit, AfterViewInit\n{\n @Input()\n onemrvaMatToc!: OnemrvaMatTocAnchor;\n\n @HostBinding('attr.role')\n role = '';\n\n @HostBinding('attr.class')\n clazz = 'onemrva-mat-toc-anchor';\n\n @HostBinding('attr.id')\n id = '';\n\n @HostBinding('attr.aria-label')\n get ariaLabel() {\n return this.translateService.instant(this.onemrvaMatToc?.titleKey);\n }\n\n @Input()\n hiddenInToc = false;\n\n @HostBinding('attr.rvaonem-toc-anchor')\n get ariaToc() {\n if (\n this.onemrvaMatToc &&\n this.onemrvaMatToc.path &&\n this.onemrvaMatToc.path[0] !== '#'\n )\n return '#' + this.onemrvaMatToc?.path;\n return this.onemrvaMatToc?.path;\n }\n\n constructor(\n private tocService: OnemrvaMatTableOfContentService,\n private cd: ChangeDetectorRef,\n private translateService: TranslateService,\n private route: ActivatedRoute,\n ) {}\n\n ngOnInit(): void {\n this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });\n\n this.id = this.onemrvaMatToc.path.slice(1, this.onemrvaMatToc.path.length);\n // console.log(' HWK this.hidden', this.hidden);\n }\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n this.route.fragment.subscribe(fragment => {\n const el = document.getElementById(fragment!);\n if (el) {\n el.scrollIntoView({ behavior: 'smooth' });\n }\n });\n }\n}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-table-of-content.component';\nexport * from './src/onemrva-mat-table-of-content.directive';\nexport * from './src/onemrva-mat-table-of-content.service';\nexport * from './src/onemrva-mat-toc-anchor.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3.OnemrvaMatTableOfContentService","i5","i1.OnemrvaMatTableOfContentService","i2","i3"],"mappings":";;;;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,yBAAyB,EAAA;AACnC,IAAA,yBAAA,CAAA,yBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS;AACT,IAAA,yBAAA,CAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACT,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,wBAAwB,EAAA;AAClC,IAAA,wBAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACP,IAAA,wBAAA,CAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU;AACZ,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,GAGnC,EAAA,CAAA,CAAA;;MCCY,+BAA+B,CAAA;AAD5C,IAAA,WAAA,GAAA;QAEU,IAAI,CAAA,IAAA,GAAkB,EAAE;AACxB,QAAA,IAAA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,CAAA,iBAAA,EAAA,EAAA,EAAA,KAAA,EAAAC,IAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAAC,EAAA,CAAA,cAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,WAAA,EAAA,YAAA,EAAA,YAAA,EAAA,SAAA,EAAA,SAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,yBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;+LAKC,aAAa,EAAA,CAAA;sBADZ;gBAID,IAAI,EAAA,CAAA;sBADH,WAAW;uBAAC,WAAW;gBAIxB,KAAK,EAAA,CAAA;sBADJ,WAAW;uBAAC,YAAY;gBAIzB,EAAE,EAAA,CAAA;sBADD,WAAW;uBAAC,SAAS;gBAIlB,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB;gBAM9B,WAAW,EAAA,CAAA;sBADV;gBAIG,OAAO,EAAA,CAAA;sBADV,WAAW;uBAAC,yBAAyB;;;AC5CxC;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-mat-table-of-content.mjs","sources":["../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts","../../../../projects/onemrva/design-system/mat-table-of-content/index.ts","../../../../projects/onemrva/design-system/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.ts"],"sourcesContent":["export enum OnemrvaMatTocAnchorStatus {\n CHECKMARK,\n WARNING,\n}\n\nexport enum OnemrvaMatTocAnchorLevel {\n SECTION,\n SUBSECTION,\n}\n\nexport interface OnemrvaMatTocAnchor {\n tocName: string;\n titleKey: string;\n path: string;\n order?: number; // You can manually set the order of your links\n status?: OnemrvaMatTocAnchorStatus; // checkmarck add a checkmark icon at the end of the line. Warning adds an exclamation mark\n level?: OnemrvaMatTocAnchorLevel; // Section level by default\n hidden?: boolean;\n directive?: any;\n}\n\nexport type OnemrvaMatToc = Record<string, OnemrvaMatTocAnchor[]>;\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatToc,\n OnemrvaMatTocAnchorLevel,\n} from './onemrva-mat-toc-anchor.model';\n\n@Injectable()\nexport class OnemrvaMatTableOfContentService {\n private _toc: OnemrvaMatToc = {};\n private _toc$ = new BehaviorSubject<OnemrvaMatToc>({});\n toc$: Observable<OnemrvaMatToc> = this._toc$.asObservable();\n\n addAnchor(anchor: OnemrvaMatTocAnchor) {\n if (!anchor.level) {\n anchor.level = OnemrvaMatTocAnchorLevel.SECTION;\n }\n\n if (!this._toc[anchor.tocName])\n this._toc = { ...this._toc, [anchor.tocName]: [anchor] };\n else if (\n this._toc[anchor.tocName].findIndex(a => anchor.path === a.path) < 0\n ) {\n let idx = -1;\n if (anchor.order) {\n idx = this._toc[anchor.tocName].findIndex(\n a => a.order && anchor.order! < a.order,\n );\n }\n\n const newToc = [...this._toc[anchor.tocName]];\n if (idx >= 0) {\n newToc.splice(idx, 0, anchor);\n } else {\n newToc.push(anchor);\n }\n this._toc = {\n ...this._toc,\n [anchor.tocName]: newToc,\n };\n }\n\n this._toc$.next(this._toc);\n }\n\n resetToc() {\n this._toc = {};\n this._toc$.next(this._toc);\n }\n}\n","import {\n AfterViewInit,\n Component,\n HostBinding,\n inject,\n Input,\n OnDestroy,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport { MatListModule } from '@angular/material/list';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { Observable, map, tap, Subject, takeUntil } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatTocAnchorLevel,\n OnemrvaMatTocAnchorStatus,\n} from './onemrva-mat-toc-anchor.model';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\nimport { Location } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-table-of-content',\n templateUrl: 'onemrva-mat-table-of-content.component.html',\n styleUrl: 'onemrva-mat-table-of-content.component.scss',\n standalone: true,\n imports: [\n MatListModule,\n TranslateModule,\n CommonModule,\n MatIconModule,\n RouterLink,\n ],\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatTableOfContentComponent\n implements OnInit, OnDestroy, AfterViewInit\n{\n @Input()\n titleKey!: string;\n\n @Input()\n tocName!: string;\n\n @HostBinding('attr.data-cy')\n @Input()\n dataCy = 'onemrva-mat-toc';\n\n @Input()\n tableOfContentName!: string;\n\n @Input()\n scrollShift = 0;\n\n toc$!: Observable<OnemrvaMatTocAnchor[]>;\n\n activePath = '';\n\n destroy$ = new Subject<boolean>();\n\n level = OnemrvaMatTocAnchorLevel;\n status = OnemrvaMatTocAnchorStatus;\n\n location = inject(Location);\n route = inject(ActivatedRoute);\n router = inject(Router);\n tocService = inject(OnemrvaMatTableOfContentService);\n\n ngOnInit(): void {\n this.route.fragment.pipe(takeUntil(this.destroy$)).subscribe(fragment => {\n this.activePath = fragment ?? '';\n });\n\n this.toc$ = this.tocService.toc$.pipe(\n map(tocMap => {\n const toc = tocMap[this.tocName]?.filter(entry => !entry.hidden) ?? [];\n return toc.map(entry => ({\n ...entry,\n path: entry.path?.startsWith('#') ? entry.path.slice(1) : entry.path,\n }));\n }),\n tap(toc => {\n if (!toc.length) {\n this.titleKey = 'tocName.notFound';\n } else {\n this.activePath = toc[0].path;\n }\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.tocService.resetToc();\n }\n\n private observer!: IntersectionObserver;\n private timeoutId: ReturnType<typeof setTimeout> | null = null;\n\n ngAfterViewInit(): void {\n const elements = document.querySelectorAll<HTMLElement>(\n '.onemrva-mat-toc-anchor',\n );\n\n this.observer = new IntersectionObserver(\n entries => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n const id = entry.target.getAttribute('id');\n if (id) {\n if (this.timeoutId !== null) clearTimeout(this.timeoutId);\n this.timeoutId = setTimeout(() => {\n this.location.replaceState(\n this.router.url.split('#')[0] + `#${id}`,\n );\n this.activePath = id;\n this.timeoutId = null;\n }, 200);\n }\n }\n });\n },\n {\n root: null,\n threshold: 0,\n rootMargin: '-92px 0px -75% 0px',\n },\n );\n elements.forEach(el => this.observer.observe(el));\n }\n}\n","<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n @for (anchor of toc$ | async; track anchor.path) {\n <mat-list-item\n [routerLink]=\"[]\"\n [fragment]=\"anchor.path\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive?.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n @if (anchor.status === status.CHECKMARK) {\n <mat-icon class=\"mat-success\">check</mat-icon>\n }\n @if (anchor.status === status.WARNING) {\n <mat-icon class=\"anchor-warning\">priority_high</mat-icon>\n }\n </mat-list-item>\n }\n </mat-list>\n</div>\n","import {\n OnInit,\n Directive,\n Input,\n HostBinding,\n AfterViewInit,\n ChangeDetectorRef,\n inject,\n} from '@angular/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { OnemrvaMatTocAnchor } from './onemrva-mat-toc-anchor.model';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ActivatedRoute } from '@angular/router';\n\n/**\n * For accessibility purpose, aria-label and will be displayed\n */\n\n@Directive({\n selector: '[onemrvaMatToc]',\n standalone: true,\n})\nexport class OnemrvaMatTableOfContentDirective\n implements OnInit, AfterViewInit\n{\n @Input()\n onemrvaMatToc!: OnemrvaMatTocAnchor;\n\n @HostBinding('attr.role')\n role = '';\n\n @HostBinding('attr.class')\n clazz = 'onemrva-mat-toc-anchor';\n\n @HostBinding('attr.id')\n id = '';\n\n @HostBinding('attr.aria-label')\n get ariaLabel() {\n return this.translateService.instant(this.onemrvaMatToc?.titleKey);\n }\n\n @Input()\n hiddenInToc = false;\n\n @HostBinding('attr.rvaonem-toc-anchor')\n get ariaToc() {\n if (\n this.onemrvaMatToc &&\n this.onemrvaMatToc.path &&\n this.onemrvaMatToc.path[0] !== '#'\n )\n return '#' + this.onemrvaMatToc?.path;\n return this.onemrvaMatToc?.path;\n }\n\n tocService = inject(OnemrvaMatTableOfContentService);\n cd = inject(ChangeDetectorRef);\n translateService = inject(TranslateService);\n route = inject(ActivatedRoute);\n\n ngOnInit(): void {\n this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });\n\n this.id = this.onemrvaMatToc.path.slice(1, this.onemrvaMatToc.path.length);\n // console.log(' HWK this.hidden', this.hidden);\n }\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n this.route.fragment.subscribe(fragment => {\n const el = document.getElementById(fragment!);\n if (el) {\n el.scrollIntoView({ behavior: 'smooth' });\n }\n });\n }\n}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-table-of-content.component';\nexport * from './src/onemrva-mat-table-of-content.directive';\nexport * from './src/onemrva-mat-table-of-content.service';\nexport * from './src/onemrva-mat-toc-anchor.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,yBAAyB,EAAA;AACnC,IAAA,yBAAA,CAAA,yBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS;AACT,IAAA,yBAAA,CAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACT,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,wBAAwB,EAAA;AAClC,IAAA,wBAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACP,IAAA,wBAAA,CAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU;AACZ,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,GAGnC,EAAA,CAAA,CAAA;;MCCY,+BAA+B,CAAA;AAD5C,IAAA,WAAA,GAAA;QAEU,IAAI,CAAA,IAAA,GAAkB,EAAE;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,eAAe,CAAgB,EAAE,CAAC;AACtD,QAAA,IAAA,CAAA,IAAI,GAA8B,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;AAsC5D;AApCC,IAAA,SAAS,CAAC,MAA2B,EAAA;AACnC,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;AACjB,YAAA,MAAM,CAAC,KAAK,GAAG,wBAAwB,CAAC,OAAO;;QAGjD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO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AS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB;gBAM9B,WAAW,EAAA,CAAA;sBADV;gBAIG,OAAO,EAAA,CAAA;sBADV,WAAW;uBAAC,yBAAyB;;;AC7CxC;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,26 +1,26 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, ViewChild, Input, ViewEncapsulation, Component, ContentChild, HostBinding, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { NgClass, NgTemplateOutlet, NgIf } from '@angular/common';
2
+ import { inject, ChangeDetectorRef, TemplateRef, ViewChild, Input, ViewEncapsulation, Component, ElementRef, ContentChild, HostBinding, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { NgClass, NgTemplateOutlet } from '@angular/common';
4
4
  import * as i1 from '@angular/forms';
5
5
  import { ReactiveFormsModule } from '@angular/forms';
6
6
  import { MatCheckbox } from '@angular/material/checkbox';
7
7
  import { MatIcon } from '@angular/material/icon';
8
8
 
9
9
  class OnemrvaMatTaskTitleComponent {
10
- constructor(cd) {
11
- this.cd = cd;
10
+ constructor() {
12
11
  this.customNgClass = ['onemrva-mat-task-title'];
12
+ this.cd = inject(ChangeDetectorRef);
13
13
  }
14
14
  ngAfterViewInit() {
15
15
  this.cd.detectChanges();
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskTitleComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskTitleComponent, isStandalone: true, selector: "onemrva-mat-task-title", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".onemrva-mat-task-title{font:var(--mat-sys-headline-small);margin-left:calc(var(--spacer) * 10)}.onemrva-mat-task-title.disabled{color:var(--mat-sys-outline-variant)}.onemrva-mat-task-title.mat-primary,.onemrva-mat-task-title.mat-secondary,.onemrva-mat-task-title.mat-tertiary,.onemrva-mat-task-title.mat-success,.onemrva-mat-task-title.mat-info,.onemrva-mat-task-title.mat-error,.onemrva-mat-task-title.mat-warn{color:var(--mat-sys-primary)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTaskTitleComponent, isStandalone: true, selector: "onemrva-mat-task-title", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".onemrva-mat-task-title{font:var(--mat-sys-headline-small);margin-left:calc(var(--spacer) * 10)}.onemrva-mat-task-title.disabled{color:var(--mat-sys-outline-variant)}.onemrva-mat-task-title.mat-primary,.onemrva-mat-task-title.mat-secondary,.onemrva-mat-task-title.mat-tertiary,.onemrva-mat-task-title.mat-success,.onemrva-mat-task-title.mat-info,.onemrva-mat-task-title.mat-error,.onemrva-mat-task-title.mat-warn{color:var(--mat-sys-primary)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskTitleComponent, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskTitleComponent, decorators: [{
21
21
  type: Component,
22
22
  args: [{ selector: 'onemrva-mat-task-title', standalone: true, imports: [NgClass], encapsulation: ViewEncapsulation.Emulated, template: "<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".onemrva-mat-task-title{font:var(--mat-sys-headline-small);margin-left:calc(var(--spacer) * 10)}.onemrva-mat-task-title.disabled{color:var(--mat-sys-outline-variant)}.onemrva-mat-task-title.mat-primary,.onemrva-mat-task-title.mat-secondary,.onemrva-mat-task-title.mat-tertiary,.onemrva-mat-task-title.mat-success,.onemrva-mat-task-title.mat-info,.onemrva-mat-task-title.mat-error,.onemrva-mat-task-title.mat-warn{color:var(--mat-sys-primary)}\n"] }]
23
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { customNgClass: [{
23
+ }], propDecorators: { customNgClass: [{
24
24
  type: Input
25
25
  }], template: [{
26
26
  type: ViewChild,
@@ -31,10 +31,10 @@ class OnemrvaMatTaskContentComponent {
31
31
  constructor() {
32
32
  this.customNgClass = ['onemrva-mat-task-content'];
33
33
  }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskContentComponent, isStandalone: true, selector: "onemrva-mat-task-content", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".onemrva-mat-task-content{margin-top:var(--double-spacer);margin-left:calc(var(--spacer) * 10)}.onemrva-mat-task-content p:last-child{margin:0}.onemrva-mat-task-content.disabled{color:var(--mat-sys-outline-variant)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTaskContentComponent, isStandalone: true, selector: "onemrva-mat-task-content", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".onemrva-mat-task-content{margin-top:var(--double-spacer);margin-left:calc(var(--spacer) * 10)}.onemrva-mat-task-content p:last-child{margin:0}.onemrva-mat-task-content.disabled{color:var(--mat-sys-outline-variant)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskContentComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskContentComponent, decorators: [{
38
38
  type: Component,
39
39
  args: [{ selector: 'onemrva-mat-task-content', standalone: true, imports: [NgClass], template: "<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".onemrva-mat-task-content{margin-top:var(--double-spacer);margin-left:calc(var(--spacer) * 10)}.onemrva-mat-task-content p:last-child{margin:0}.onemrva-mat-task-content.disabled{color:var(--mat-sys-outline-variant)}\n"] }]
40
40
  }], propDecorators: { customNgClass: [{
@@ -45,19 +45,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
45
45
  }] } });
46
46
 
47
47
  class OnemrvaMatTaskComponent {
48
- get showAriaDisabled() {
49
- return this.disabled;
50
- }
51
- constructor(cd, elRef) {
52
- this.cd = cd;
53
- this.elRef = elRef;
48
+ constructor() {
54
49
  this.arialLabel = 'select';
55
50
  /** @hidden @internal */
56
51
  this.disabled = false;
52
+ this.cd = inject(ChangeDetectorRef);
53
+ this.elRef = inject((ElementRef));
54
+ }
55
+ get showAriaDisabled() {
56
+ return this.disabled;
57
57
  }
58
58
  ngAfterViewInit() {
59
59
  this.hostClass = Array.from(this.elRef.nativeElement.classList)
60
- .filter(c => c.startsWith('mat-'))
60
+ .filter((c) => typeof c === 'string' && c.startsWith('mat-'))
61
61
  .join(' ');
62
62
  if (this.title) {
63
63
  this.title.customNgClass.push(this.hostClass);
@@ -73,13 +73,13 @@ class OnemrvaMatTaskComponent {
73
73
  }
74
74
  this.cd.detectChanges();
75
75
  }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
77
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskComponent, isStandalone: true, selector: "onemrva-mat-task", inputs: { customNgClass: "customNgClass", icon: "icon", form: "form", bubble: "bubble", arialLabel: "arialLabel", disabled: "disabled" }, host: { properties: { "class.disabled": "this.disabled", "attr.aria-disabled": "this.showAriaDisabled" } }, queries: [{ propertyName: "title", first: true, predicate: OnemrvaMatTaskTitleComponent, descendants: true }, { propertyName: "content", first: true, predicate: OnemrvaMatTaskContentComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n", styles: [":host{border-radius:var(--border-radius);border:1px solid var(--mat-sys-outline-variant);padding:var(--triple-spacer);display:block;align-items:center;position:relative;margin-bottom:var(--doube-spacer)}:host[class*=mat-]{background:var(--mat-sys-primary-container);border:none}:host .onemrva-mat-task-icon{position:absolute;float:left;width:3rem;text-align:center;top:50%;transform:translateY(-50%)}:host .onemrva-mat-task-icon .mat-checkbox .mat-checkbox-ripple{left:calc(50% - 10px);top:calc(50% - 10px);height:1.25rem;width:1.25rem}:host .onemrva-mat-task-icon span.bubble{display:block;text-align:center;color:var(--mat-sys-on-primary);font-size:1.5rem;width:2.5rem;height:2.5rem;line-height:2.5rem;border:2px solid var(--mat-sys-on-primary);background:var(--mat-sys-primary);border-radius:50%;outline:1px solid var(--mat-sys-primary)}:host .onemrva-mat-task-icon span.bubble mat-icon{font-size:24px;margin-top:8px;line-height:24px}:host.disabled .onemrva-mat-task-icon mat-icon{color:var(--mat-sys-on-primary)}:host.disabled .onemrva-mat-task-icon span{color:var(--mat-sys-on-primary);background:var(--mat-sys-outline);outline:1px solid var(--mat-sys-outline)}:host.disabled .onemrva-mat-task-icon span mat-icon{color:var(--mat-sys-outline)}\n"], dependencies: [{ kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
77
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: OnemrvaMatTaskComponent, isStandalone: true, selector: "onemrva-mat-task", inputs: { customNgClass: "customNgClass", icon: "icon", form: "form", bubble: "bubble", arialLabel: "arialLabel", disabled: "disabled" }, host: { properties: { "class.disabled": "this.disabled", "attr.aria-disabled": "this.showAriaDisabled" } }, queries: [{ propertyName: "title", first: true, predicate: OnemrvaMatTaskTitleComponent, descendants: true }, { propertyName: "content", first: true, predicate: OnemrvaMatTaskContentComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div class=\"onemrva-mat-task-icon\">\n @if (icon !== undefined) {\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n }\n @if (form !== undefined) {\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n }\n @if (bubble !== undefined) {\n <span class=\"bubble\">{{ bubble }}</span>\n }\n</div>\n\n@if (title?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n}\n@if (content?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n}\n", styles: [":host{border-radius:var(--border-radius);border:1px solid var(--mat-sys-outline-variant);padding:var(--triple-spacer);display:block;align-items:center;position:relative;margin-bottom:var(--doube-spacer)}:host[class*=mat-]{background:var(--mat-sys-primary-container);border:none}:host .onemrva-mat-task-icon{position:absolute;float:left;width:3rem;text-align:center;top:50%;transform:translateY(-50%)}:host .onemrva-mat-task-icon .mat-checkbox .mat-checkbox-ripple{left:calc(50% - 10px);top:calc(50% - 10px);height:1.25rem;width:1.25rem}:host .onemrva-mat-task-icon span.bubble{display:block;text-align:center;color:var(--mat-sys-on-primary);font-size:1.5rem;width:2.5rem;height:2.5rem;line-height:2.5rem;border:2px solid var(--mat-sys-on-primary);background:var(--mat-sys-primary);border-radius:50%;outline:1px solid var(--mat-sys-primary)}:host .onemrva-mat-task-icon span.bubble mat-icon{font-size:24px;margin-top:8px;line-height:24px}:host.disabled .onemrva-mat-task-icon mat-icon{color:var(--mat-sys-on-primary)}:host.disabled .onemrva-mat-task-icon span{color:var(--mat-sys-on-primary);background:var(--mat-sys-outline);outline:1px solid var(--mat-sys-outline)}:host.disabled .onemrva-mat-task-icon span mat-icon{color:var(--mat-sys-outline)}\n"], dependencies: [{ kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskComponent, decorators: [{
80
80
  type: Component,
81
- args: [{ selector: 'onemrva-mat-task', standalone: true, imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet, NgIf], encapsulation: ViewEncapsulation.Emulated, template: "<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n", styles: [":host{border-radius:var(--border-radius);border:1px solid var(--mat-sys-outline-variant);padding:var(--triple-spacer);display:block;align-items:center;position:relative;margin-bottom:var(--doube-spacer)}:host[class*=mat-]{background:var(--mat-sys-primary-container);border:none}:host .onemrva-mat-task-icon{position:absolute;float:left;width:3rem;text-align:center;top:50%;transform:translateY(-50%)}:host .onemrva-mat-task-icon .mat-checkbox .mat-checkbox-ripple{left:calc(50% - 10px);top:calc(50% - 10px);height:1.25rem;width:1.25rem}:host .onemrva-mat-task-icon span.bubble{display:block;text-align:center;color:var(--mat-sys-on-primary);font-size:1.5rem;width:2.5rem;height:2.5rem;line-height:2.5rem;border:2px solid var(--mat-sys-on-primary);background:var(--mat-sys-primary);border-radius:50%;outline:1px solid var(--mat-sys-primary)}:host .onemrva-mat-task-icon span.bubble mat-icon{font-size:24px;margin-top:8px;line-height:24px}:host.disabled .onemrva-mat-task-icon mat-icon{color:var(--mat-sys-on-primary)}:host.disabled .onemrva-mat-task-icon span{color:var(--mat-sys-on-primary);background:var(--mat-sys-outline);outline:1px solid var(--mat-sys-outline)}:host.disabled .onemrva-mat-task-icon span mat-icon{color:var(--mat-sys-outline)}\n"] }]
82
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { customNgClass: [{
81
+ args: [{ selector: 'onemrva-mat-task', standalone: true, imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet], encapsulation: ViewEncapsulation.Emulated, template: "<div class=\"onemrva-mat-task-icon\">\n @if (icon !== undefined) {\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n }\n @if (form !== undefined) {\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n }\n @if (bubble !== undefined) {\n <span class=\"bubble\">{{ bubble }}</span>\n }\n</div>\n\n@if (title?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n}\n@if (content?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n}\n", styles: [":host{border-radius:var(--border-radius);border:1px solid var(--mat-sys-outline-variant);padding:var(--triple-spacer);display:block;align-items:center;position:relative;margin-bottom:var(--doube-spacer)}:host[class*=mat-]{background:var(--mat-sys-primary-container);border:none}:host .onemrva-mat-task-icon{position:absolute;float:left;width:3rem;text-align:center;top:50%;transform:translateY(-50%)}:host .onemrva-mat-task-icon .mat-checkbox .mat-checkbox-ripple{left:calc(50% - 10px);top:calc(50% - 10px);height:1.25rem;width:1.25rem}:host .onemrva-mat-task-icon span.bubble{display:block;text-align:center;color:var(--mat-sys-on-primary);font-size:1.5rem;width:2.5rem;height:2.5rem;line-height:2.5rem;border:2px solid var(--mat-sys-on-primary);background:var(--mat-sys-primary);border-radius:50%;outline:1px solid var(--mat-sys-primary)}:host .onemrva-mat-task-icon span.bubble mat-icon{font-size:24px;margin-top:8px;line-height:24px}:host.disabled .onemrva-mat-task-icon mat-icon{color:var(--mat-sys-on-primary)}:host.disabled .onemrva-mat-task-icon span{color:var(--mat-sys-on-primary);background:var(--mat-sys-outline);outline:1px solid var(--mat-sys-outline)}:host.disabled .onemrva-mat-task-icon span mat-icon{color:var(--mat-sys-outline)}\n"] }]
82
+ }], propDecorators: { customNgClass: [{
83
83
  type: Input
84
84
  }], icon: [{
85
85
  type: Input
@@ -110,21 +110,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
110
110
 
111
111
  let NEXT_ID = 0;
112
112
  class OnemrvaMatTaskListComponent {
113
- constructor(cd) {
114
- this.cd = cd;
113
+ constructor() {
115
114
  this.id = `onemrva-mat-task-list-${NEXT_ID++}`;
116
115
  this.data_cy = 'onemrva-mat-task-list';
116
+ this.cd = inject(ChangeDetectorRef);
117
117
  }
118
118
  ngAfterViewInit() {
119
119
  this.cd.detectChanges();
120
120
  }
121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
122
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTaskListComponent, isStandalone: true, selector: "onemrva-mat-task-list", inputs: { id: "id", data_cy: "data_cy" }, host: { properties: { "attr.id": "this.id", "attr.data-cy": "this.data_cy" } }, queries: [{ propertyName: "_tasks", predicate: OnemrvaMatTaskComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
121
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
122
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTaskListComponent, isStandalone: true, selector: "onemrva-mat-task-list", inputs: { id: "id", data_cy: "data_cy" }, host: { properties: { "attr.id": "this.id", "attr.data-cy": "this.data_cy" } }, queries: [{ propertyName: "_tasks", predicate: OnemrvaMatTaskComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
123
123
  }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListComponent, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskListComponent, decorators: [{
125
125
  type: Component,
126
126
  args: [{ selector: 'onemrva-mat-task-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content></ng-content>\n" }]
127
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { id: [{
127
+ }], propDecorators: { id: [{
128
128
  type: HostBinding,
129
129
  args: ['attr.id']
130
130
  }, {
@@ -142,14 +142,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
142
142
  }] } });
143
143
 
144
144
  class OnemrvaMatTaskListModule {
145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
146
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskListComponent,
145
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
146
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskListComponent,
147
147
  OnemrvaMatTaskTitleComponent,
148
148
  OnemrvaMatTaskContentComponent,
149
149
  OnemrvaMatTaskComponent] }); }
150
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskComponent] }); }
150
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskComponent] }); }
151
151
  }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTaskListModule, decorators: [{
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, decorators: [{
153
153
  type: NgModule,
154
154
  args: [{
155
155
  imports: [