@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,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Input, Component, HostListener, Directive, NgModule } from '@angular/core';
2
+ import { Input, Component, inject, ElementRef, HostListener, Directive, NgModule } from '@angular/core';
3
3
  import { NgTemplateOutlet } from '@angular/common';
4
4
  import { ComponentPortal } from '@angular/cdk/portal';
5
- import * as i1 from '@angular/cdk/overlay';
5
+ import { Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
6
6
 
7
7
  class OnemrvaMatTooltipComponent {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTooltipComponent, isStandalone: true, selector: "onemrva-mat-tooltip", inputs: { text: "text", contentTemplate: "contentTemplate" }, ngImport: i0, template: `
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTooltipComponent, isStandalone: true, selector: "onemrva-mat-tooltip", inputs: { text: "text", contentTemplate: "contentTemplate" }, ngImport: i0, template: `
10
10
  <div>
11
11
  <div class="tooltip-container">
12
12
  <ng-template #simpleText>
@@ -18,7 +18,7 @@ class OnemrvaMatTooltipComponent {
18
18
  </div>
19
19
  `, isInline: true, styles: [".tooltip-container{font-family:var(--text-font);background:#fff;font-size:12px;color:inherit;box-shadow:0 2px 6px #00000052;border-radius:4px;padding:var(--spacer);font-weight:400;font-style:normal;line-height:18px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipComponent, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'onemrva-mat-tooltip', template: `
24
24
  <div>
@@ -38,10 +38,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
38
38
  }] } });
39
39
 
40
40
  class OnemrvaMatTooltipDirective {
41
- constructor(_overlay, _overlayPositionBuilder, _elementRef) {
42
- this._overlay = _overlay;
43
- this._overlayPositionBuilder = _overlayPositionBuilder;
44
- this._elementRef = _elementRef;
41
+ constructor() {
42
+ this._overlay = inject(Overlay);
43
+ this._overlayPositionBuilder = inject(OverlayPositionBuilder);
44
+ this._elementRef = inject(ElementRef);
45
45
  this.showToolTip = true;
46
46
  this.position = 'after';
47
47
  this.positionOffset = 5;
@@ -117,16 +117,16 @@ class OnemrvaMatTooltipDirective {
117
117
  this._overlayRef.detach();
118
118
  }
119
119
  }
120
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipDirective, deps: [{ token: i1.Overlay }, { token: i1.OverlayPositionBuilder }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
121
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMatTooltipDirective, isStandalone: true, selector: "[OnemrvaMatTooltip]", inputs: { showToolTip: "showToolTip", customToolTip: "customToolTip", contentTemplate: "contentTemplate", position: "position", positionOffset: "positionOffset" }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()" } }, ngImport: i0 }); }
120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
121
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTooltipDirective, isStandalone: true, selector: "[OnemrvaMatTooltip]", inputs: { showToolTip: "showToolTip", customToolTip: "customToolTip", contentTemplate: "contentTemplate", position: "position", positionOffset: "positionOffset" }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()" } }, ngImport: i0 }); }
122
122
  }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipDirective, decorators: [{
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipDirective, decorators: [{
124
124
  type: Directive,
125
125
  args: [{
126
126
  selector: '[OnemrvaMatTooltip]',
127
127
  standalone: true,
128
128
  }]
129
- }], ctorParameters: () => [{ type: i1.Overlay }, { type: i1.OverlayPositionBuilder }, { type: i0.ElementRef }], propDecorators: { showToolTip: [{
129
+ }], propDecorators: { showToolTip: [{
130
130
  type: Input
131
131
  }], customToolTip: [{
132
132
  type: Input
@@ -145,11 +145,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
145
145
  }] } });
146
146
 
147
147
  class OnemrvaMatTooltipModule {
148
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
149
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipModule, imports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent], exports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent] }); }
150
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipModule }); }
148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
149
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipModule, imports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent], exports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent] }); }
150
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipModule }); }
151
151
  }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMatTooltipModule, decorators: [{
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTooltipModule, decorators: [{
153
153
  type: NgModule,
154
154
  args: [{
155
155
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-mat-tooltip.mjs","sources":["../../../../projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.component.ts","../../../../projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.directive.ts","../../../../projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.module.ts","../../../../projects/onemrva/design-system/mat-tooltip/onemrvapublic-design-system-mat-tooltip.ts"],"sourcesContent":["import { Component, Input, TemplateRef } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-tooltip',\n styleUrls: ['./onemrva-mat-tooltip.component.scss'],\n template: `\n <div>\n <div class=\"tooltip-container\">\n <ng-template #simpleText>\n {{ text }}\n </ng-template>\n <ng-container *ngTemplateOutlet=\"contentTemplate || simpleText\">\n </ng-container>\n </div>\n </div>\n `,\n standalone: true,\n imports: [NgTemplateOutlet],\n})\nexport class OnemrvaMatTooltipComponent {\n @Input() text!: string;\n @Input() contentTemplate!: TemplateRef<any>;\n}\n","import {\n ComponentRef,\n Directive,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n TemplateRef,\n} from '@angular/core';\nimport { OnemrvaMatTooltipComponent } from './onemrva-mat-tooltip.component';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n ConnectedPosition,\n Overlay,\n OverlayPositionBuilder,\n OverlayRef,\n} from '@angular/cdk/overlay';\nimport { TooltipPosition } from '@angular/material/tooltip';\n\n@Directive({\n selector: '[OnemrvaMatTooltip]',\n standalone: true,\n})\nexport class OnemrvaMatTooltipDirective implements OnInit, OnDestroy {\n @Input() showToolTip = true;\n\n @Input() customToolTip!: string;\n\n @Input() contentTemplate!: TemplateRef<any>;\n\n @Input() position: TooltipPosition = 'after';\n @Input() positionOffset = 5;\n\n private _overlayRef!: OverlayRef;\n\n constructor(\n private _overlay: Overlay,\n private _overlayPositionBuilder: OverlayPositionBuilder,\n private _elementRef: ElementRef,\n ) {}\n\n ngOnInit() {\n if (!this.showToolTip) {\n return;\n }\n\n const positionStrategy = this._overlayPositionBuilder\n .flexibleConnectedTo(this._elementRef)\n .withPositions(this.defineStrategy());\n this._overlayRef = this._overlay.create({ positionStrategy });\n }\n\n defineStrategy(): ConnectedPosition[] {\n switch (this.position) {\n case 'above':\n return [\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ];\n\n case 'below':\n return [\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n ];\n\n case 'after':\n case 'right':\n return [\n {\n originX: 'end',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'top',\n },\n ];\n\n case 'before':\n case 'left':\n return [\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'top',\n },\n ];\n default:\n return [];\n }\n }\n\n @HostListener('mouseenter')\n show() {\n if (this._overlayRef && !this._overlayRef.hasAttached()) {\n const tooltipRef: ComponentRef<OnemrvaMatTooltipComponent> =\n this._overlayRef.attach(\n new ComponentPortal(OnemrvaMatTooltipComponent),\n );\n tooltipRef.instance.text = this.customToolTip;\n tooltipRef.instance.contentTemplate = this.contentTemplate;\n }\n }\n\n @HostListener('mouseleave')\n hide() {\n this.closeToolTip();\n }\n\n ngOnDestroy() {\n this.closeToolTip();\n }\n\n private closeToolTip() {\n if (this._overlayRef) {\n this._overlayRef.detach();\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatTooltipComponent } from './onemrva-mat-tooltip.component';\nimport { OnemrvaMatTooltipDirective } from './onemrva-mat-tooltip.directive';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent],\n exports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent],\n})\nexport class OnemrvaMatTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAoBa,0BAA0B,CAAA;+GAA1B,0BAA0B,EAAA,IAAA,EAAA,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ip/src/onemrva-mat-tooltip.component.ts","../../../../projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.directive.ts","../../../../projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.module.ts","../../../../projects/onemrva/design-system/mat-tooltip/onemrvapublic-design-system-mat-tooltip.ts"],"sourcesContent":["import { Component, Input, TemplateRef } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-tooltip',\n styleUrls: ['./onemrva-mat-tooltip.component.scss'],\n template: `\n <div>\n <div class=\"tooltip-container\">\n <ng-template #simpleText>\n {{ text }}\n </ng-template>\n <ng-container *ngTemplateOutlet=\"contentTemplate || simpleText\">\n </ng-container>\n </div>\n </div>\n `,\n standalone: true,\n imports: [NgTemplateOutlet],\n})\nexport class OnemrvaMatTooltipComponent {\n @Input() text!: string;\n @Input() contentTemplate!: TemplateRef<any>;\n}\n","import {\n ComponentRef,\n Directive,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n TemplateRef,\n inject,\n} from '@angular/core';\nimport { OnemrvaMatTooltipComponent } from './onemrva-mat-tooltip.component';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n ConnectedPosition,\n Overlay,\n OverlayPositionBuilder,\n OverlayRef,\n} from '@angular/cdk/overlay';\nimport { TooltipPosition } from '@angular/material/tooltip';\n\n@Directive({\n selector: '[OnemrvaMatTooltip]',\n standalone: true,\n})\nexport class OnemrvaMatTooltipDirective implements OnInit, OnDestroy {\n private _overlay = inject(Overlay);\n private _overlayPositionBuilder = inject(OverlayPositionBuilder);\n private _elementRef = inject(ElementRef);\n\n @Input() showToolTip = true;\n\n @Input() customToolTip!: string;\n\n @Input() contentTemplate!: TemplateRef<any>;\n\n @Input() position: TooltipPosition = 'after';\n @Input() positionOffset = 5;\n\n private _overlayRef!: OverlayRef;\n\n ngOnInit() {\n if (!this.showToolTip) {\n return;\n }\n\n const positionStrategy = this._overlayPositionBuilder\n .flexibleConnectedTo(this._elementRef)\n .withPositions(this.defineStrategy());\n this._overlayRef = this._overlay.create({ positionStrategy });\n }\n\n defineStrategy(): ConnectedPosition[] {\n switch (this.position) {\n case 'above':\n return [\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ];\n\n case 'below':\n return [\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n ];\n\n case 'after':\n case 'right':\n return [\n {\n originX: 'end',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'top',\n },\n ];\n\n case 'before':\n case 'left':\n return [\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'top',\n },\n ];\n default:\n return [];\n }\n }\n\n @HostListener('mouseenter')\n show() {\n if (this._overlayRef && !this._overlayRef.hasAttached()) {\n const tooltipRef: ComponentRef<OnemrvaMatTooltipComponent> =\n this._overlayRef.attach(\n new ComponentPortal(OnemrvaMatTooltipComponent),\n );\n tooltipRef.instance.text = this.customToolTip;\n tooltipRef.instance.contentTemplate = this.contentTemplate;\n }\n }\n\n @HostListener('mouseleave')\n hide() {\n this.closeToolTip();\n }\n\n ngOnDestroy() {\n this.closeToolTip();\n }\n\n private closeToolTip() {\n if (this._overlayRef) {\n this._overlayRef.detach();\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatTooltipComponent } from './onemrva-mat-tooltip.component';\nimport { OnemrvaMatTooltipDirective } from './onemrva-mat-tooltip.directive';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent],\n exports: [OnemrvaMatTooltipDirective, OnemrvaMatTooltipComponent],\n})\nexport class OnemrvaMatTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAoBa,0BAA0B,CAAA;8GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CA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I;AACjB,iBAAA;8BAMU,WAAW,EAAA,CAAA;sBAAnB;gBAEQ,aAAa,EAAA,CAAA;sBAArB;gBAEQ,eAAe,EAAA,CAAA;sBAAvB;gBAEQ,QAAQ,EAAA,CAAA;sBAAhB;gBACQ,cAAc,EAAA,CAAA;sBAAtB;gBAgED,IAAI,EAAA,CAAA;sBADH,YAAY;uBAAC,YAAY;gBAa1B,IAAI,EAAA,CAAA;sBADH,YAAY;uBAAC,YAAY;;;MCvGf,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHxB,0BAA0B,EAAE,0BAA0B,CACtD,EAAA,OAAA,EAAA,CAAA,0BAA0B,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GAErD,uBAAuB,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;AACjE,oBAAA,OAAO,EAAE,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;AAClE,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, ViewChild, Component, Input, ContentChildren } from '@angular/core';
3
- import * as i2 from '@ngx-translate/core';
4
- import { TranslateModule } from '@ngx-translate/core';
5
- import { NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';
6
- import * as i1 from '@onemrvapublic/design-system/shared';
2
+ import { TemplateRef, ViewChild, Component, inject, Renderer2, ChangeDetectorRef, Input, ContentChildren } from '@angular/core';
3
+ import * as i1 from '@ngx-translate/core';
4
+ import { TranslateService, TranslateModule } from '@ngx-translate/core';
5
+ import { OnemRvaCDNService } from '@onemrvapublic/design-system/shared';
6
+ import { NgTemplateOutlet } from '@angular/common';
7
7
 
8
8
  class PageErrorActionComponent {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageErrorActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: PageErrorActionComponent, isStandalone: true, selector: "page-error-action", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageErrorActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: PageErrorActionComponent, isStandalone: true, selector: "page-error-action", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageErrorActionComponent, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageErrorActionComponent, decorators: [{
13
13
  type: Component,
14
14
  args: [{
15
15
  selector: 'page-error-action',
@@ -22,14 +22,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
22
22
  }] } });
23
23
 
24
24
  class PageErrorComponent {
25
- constructor(cdn, renderer, translate, cd) {
26
- this.cdn = cdn;
27
- this.renderer = renderer;
28
- this.translate = translate;
29
- this.cd = cd;
25
+ constructor() {
30
26
  this.defaultCode = 500;
31
27
  this.mdc = null;
32
28
  this.code = this.defaultCode;
29
+ this.cdn = inject(OnemRvaCDNService);
30
+ this.renderer = inject(Renderer2);
31
+ this.translate = inject(TranslateService);
32
+ this.cd = inject(ChangeDetectorRef);
33
33
  }
34
34
  ngAfterViewInit() {
35
35
  this.cd.detectChanges();
@@ -59,13 +59,13 @@ class PageErrorComponent {
59
59
  ? this.code
60
60
  : this.defaultCode;
61
61
  }
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageErrorComponent, deps: [{ token: i1.OnemRvaCDNService }, { token: i0.Renderer2 }, { token: i2.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
63
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: PageErrorComponent, isStandalone: true, selector: "page-error", inputs: { code: "code" }, queries: [{ propertyName: "actions", predicate: PageErrorActionComponent }], usesOnChanges: true, ngImport: i0, template: "<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n", styles: [".page-error section.row{min-height:calc(100vh - 200px)}.page-error section.row .col-right{display:grid!important;place-items:center}.page-error section.row .col-right img.ori{height:428px}.page-error section.row .col-left{display:flex!important;align-items:center;justify-content:flex-start;text-align:left}.page-error section.row .col-left .error-content{display:block;height:auto}.page-error section.row .col-left .error-content h1{font-size:70px;font-style:normal;font-weight:700;line-height:105px}.page-error section.row .col-left .error-content h2{font-size:23px;font-style:normal;font-weight:600;line-height:40px}.page-error section.row .col-left .error-content p{font-size:16px;font-style:normal;font-weight:400;line-height:26px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
63
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: PageErrorComponent, isStandalone: true, selector: "page-error", inputs: { code: "code" }, queries: [{ propertyName: "actions", predicate: PageErrorActionComponent }], usesOnChanges: true, ngImport: i0, template: "<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n @for (action of actions?.toArray(); track action.template) {\n @if (action.template) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n }\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n", styles: [".page-error section.row{min-height:calc(100vh - 200px)}.page-error section.row .col-right{display:grid!important;place-items:center}.page-error section.row .col-right img.ori{height:428px}.page-error section.row .col-left{display:flex!important;align-items:center;justify-content:flex-start;text-align:left}.page-error section.row .col-left .error-content{display:block;height:auto}.page-error section.row .col-left .error-content h1{font-size:70px;font-style:normal;font-weight:700;line-height:105px}.page-error section.row .col-left .error-content h2{font-size:23px;font-style:normal;font-weight:600;line-height:40px}.page-error section.row .col-left .error-content p{font-size:16px;font-style:normal;font-weight:400;line-height:26px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageErrorComponent, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageErrorComponent, decorators: [{
66
66
  type: Component,
67
- args: [{ selector: 'page-error', standalone: true, imports: [TranslateModule, NgForOf, NgIf, NgTemplateOutlet], template: "<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n", styles: [".page-error section.row{min-height:calc(100vh - 200px)}.page-error section.row .col-right{display:grid!important;place-items:center}.page-error section.row .col-right img.ori{height:428px}.page-error section.row .col-left{display:flex!important;align-items:center;justify-content:flex-start;text-align:left}.page-error section.row .col-left .error-content{display:block;height:auto}.page-error section.row .col-left .error-content h1{font-size:70px;font-style:normal;font-weight:700;line-height:105px}.page-error section.row .col-left .error-content h2{font-size:23px;font-style:normal;font-weight:600;line-height:40px}.page-error section.row .col-left .error-content p{font-size:16px;font-style:normal;font-weight:400;line-height:26px}\n"] }]
68
- }], ctorParameters: () => [{ type: i1.OnemRvaCDNService }, { type: i0.Renderer2 }, { type: i2.TranslateService }, { type: i0.ChangeDetectorRef }], propDecorators: { actions: [{
67
+ args: [{ selector: 'page-error', standalone: true, imports: [TranslateModule, NgTemplateOutlet], template: "<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n @for (action of actions?.toArray(); track action.template) {\n @if (action.template) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n }\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n", styles: [".page-error section.row{min-height:calc(100vh - 200px)}.page-error section.row .col-right{display:grid!important;place-items:center}.page-error section.row .col-right img.ori{height:428px}.page-error section.row .col-left{display:flex!important;align-items:center;justify-content:flex-start;text-align:left}.page-error section.row .col-left .error-content{display:block;height:auto}.page-error section.row .col-left .error-content h1{font-size:70px;font-style:normal;font-weight:700;line-height:105px}.page-error section.row .col-left .error-content h2{font-size:23px;font-style:normal;font-weight:600;line-height:40px}.page-error section.row .col-left .error-content p{font-size:16px;font-style:normal;font-weight:400;line-height:26px}\n"] }]
68
+ }], propDecorators: { actions: [{
69
69
  type: ContentChildren,
70
70
  args: [PageErrorActionComponent]
71
71
  }], code: [{
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-page-error.mjs","sources":["../../../../projects/onemrva/design-system/page-error/src/page-error-action.component.ts","../../../../projects/onemrva/design-system/page-error/src/page-error.component.ts","../../../../projects/onemrva/design-system/page-error/src/page-error.component.html","../../../../projects/onemrva/design-system/page-error/onemrvapublic-design-system-page-error.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'page-error-action',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n standalone: true,\n})\nexport class PageErrorActionComponent {\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Input,\n OnChanges,\n OnDestroy,\n QueryList,\n Renderer2,\n SimpleChanges,\n} from '@angular/core';\nimport { TranslateModule, TranslateService } from '@ngx-translate/core';\nimport { OnemRvaCDNService } from '@onemrvapublic/design-system/shared';\nimport { NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';\nimport { PageErrorActionComponent } from './page-error-action.component';\n\n@Component({\n selector: 'page-error',\n styleUrls: ['./page-error.component.scss'],\n templateUrl: 'page-error.component.html',\n standalone: true,\n imports: [TranslateModule, NgForOf, NgIf, NgTemplateOutlet],\n})\nexport class PageErrorComponent implements OnDestroy, AfterViewInit, OnChanges {\n defaultCode = 500;\n\n mdc: HTMLElement | null = null;\n\n @ContentChildren(PageErrorActionComponent)\n actions?: QueryList<PageErrorActionComponent>;\n\n @Input()\n code = this.defaultCode;\n\n constructor(\n private cdn: OnemRvaCDNService,\n private renderer: Renderer2,\n public translate: TranslateService,\n private cd: ChangeDetectorRef,\n ) {}\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n this.mdc = document.querySelector('#onemrva-drawer-container');\n if (this.mdc !== null) {\n this.renderer.addClass(this.mdc, 'bkg');\n }\n }\n\n ngOnDestroy(): void {\n if (this.mdc !== null) {\n this.renderer.removeClass(this.mdc, 'bkg');\n }\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.updateTexts();\n }\n\n get ori() {\n return this.cdn.getOri(\n this.translate.instant('error.' + this.code + '.ori'),\n );\n }\n /**\n *\n * @private\n */\n private updateTexts() {\n const suppoertedCodes = [500, 404, 403, 401, 400, 503, 502, 408, 429];\n this.code = suppoertedCodes.includes(this.code)\n ? this.code\n : this.defaultCode;\n }\n}\n","<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,wBAAwB,CAAA;+GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EACxB,WAAW,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAA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AA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,OAAO,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAE/C,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;+BACE,YAAY,EAAA,UAAA,EAGV,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,2zBAAA,EAAA,MAAA,EAAA,CAAA,ouBAAA,CAAA,EAAA;6KAQ3D,OAAO,EAAA,CAAA;sBADN,eAAe;uBAAC,wBAAwB;gBAIzC,IAAI,EAAA,CAAA;sBADH;;;AEhCH;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-page-error.mjs","sources":["../../../../projects/onemrva/design-system/page-error/src/page-error-action.component.ts","../../../../projects/onemrva/design-system/page-error/src/page-error.component.ts","../../../../projects/onemrva/design-system/page-error/src/page-error.component.html","../../../../projects/onemrva/design-system/page-error/onemrvapublic-design-system-page-error.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'page-error-action',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n standalone: true,\n})\nexport class PageErrorActionComponent {\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Input,\n OnChanges,\n OnDestroy,\n QueryList,\n Renderer2,\n SimpleChanges,\n inject,\n} from '@angular/core';\nimport { TranslateModule, TranslateService } from '@ngx-translate/core';\nimport { OnemRvaCDNService } from '@onemrvapublic/design-system/shared';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { PageErrorActionComponent } from './page-error-action.component';\n\n@Component({\n selector: 'page-error',\n styleUrls: ['./page-error.component.scss'],\n templateUrl: 'page-error.component.html',\n standalone: true,\n imports: [TranslateModule, NgTemplateOutlet],\n})\nexport class PageErrorComponent implements OnDestroy, AfterViewInit, OnChanges {\n defaultCode = 500;\n\n mdc: HTMLElement | null = null;\n\n @ContentChildren(PageErrorActionComponent)\n actions?: QueryList<PageErrorActionComponent>;\n\n @Input()\n code = this.defaultCode;\n\n cdn = inject(OnemRvaCDNService);\n renderer = inject(Renderer2);\n translate = inject(TranslateService);\n cd = inject(ChangeDetectorRef);\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n this.mdc = document.querySelector('#onemrva-drawer-container');\n if (this.mdc !== null) {\n this.renderer.addClass(this.mdc, 'bkg');\n }\n }\n\n ngOnDestroy(): void {\n if (this.mdc !== null) {\n this.renderer.removeClass(this.mdc, 'bkg');\n }\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.updateTexts();\n }\n\n get ori() {\n return this.cdn.getOri(\n this.translate.instant('error.' + this.code + '.ori'),\n );\n }\n /**\n *\n * @private\n */\n private updateTexts() {\n const suppoertedCodes = [500, 404, 403, 401, 400, 503, 502, 408, 429];\n this.code = suppoertedCodes.includes(this.code)\n ? this.code\n : this.defaultCode;\n }\n}\n","<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n @for (action of actions?.toArray(); track action.template) {\n @if (action.template) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n }\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EACxB,WAAW,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAJZ,sDAAsD,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;2FAGrD,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,sDAAsD;AAChE,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;8BAEyB,QAAQ,EAAA,CAAA;sBAA/B,SAAS;uBAAC,WAAW;;;MCiBX,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;QAQE,IAAW,CAAA,WAAA,GAAG,GAAG;QAEjB,IAAG,CAAA,GAAA,GAAuB,IAAI;AAM9B,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,WAAW;AAEvB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,QAAA,IAA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AA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,wHAKZ,wBAAwB,EAAA,CAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC9B3C,iwBAuBA,EDAY,MAAA,EAAA,CAAA,ouBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,4FAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAEhC,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,cAGV,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,iwBAAA,EAAA,MAAA,EAAA,CAAA,ouBAAA,CAAA,EAAA;8BAQ5C,OAAO,EAAA,CAAA;sBADN,eAAe;uBAAC,wBAAwB;gBAIzC,IAAI,EAAA,CAAA;sBADH;;;AEjCH;;AAEG;;;;"}
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, ViewChild, Component, ContentChild, ContentChildren, NgModule } from '@angular/core';
2
+ import { TemplateRef, ViewChild, Component, inject, ChangeDetectorRef, ContentChild, ContentChildren, NgModule } from '@angular/core';
3
3
  import { Subject, of, timer } from 'rxjs';
4
4
  import { startWith, switchMap, map } from 'rxjs/operators';
5
- import { AsyncPipe, NgStyle, NgClass, NgForOf, NgTemplateOutlet, NgIf } from '@angular/common';
5
+ import { AsyncPipe, NgStyle, NgClass, NgTemplateOutlet } from '@angular/common';
6
6
  import { TranslatePipe } from '@ngx-translate/core';
7
7
 
8
8
  class PageNotFoundActionComponent {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: PageNotFoundActionComponent, isStandalone: true, selector: "page-not-found-action", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: PageNotFoundActionComponent, isStandalone: true, selector: "page-not-found-action", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundActionComponent, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundActionComponent, decorators: [{
13
13
  type: Component,
14
14
  args: [{
15
15
  selector: 'page-not-found-action',
@@ -22,10 +22,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
22
22
  }] } });
23
23
 
24
24
  class PageNotFoundExtraComponent {
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundExtraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: PageNotFoundExtraComponent, isStandalone: true, selector: "page-not-found-extra", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundExtraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: PageNotFoundExtraComponent, isStandalone: true, selector: "page-not-found-extra", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundExtraComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundExtraComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{
31
31
  selector: 'page-not-found-extra',
@@ -38,8 +38,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
38
38
  }] } });
39
39
 
40
40
  class PageNotFoundInvaderComponent {
41
- constructor(cd) {
42
- this.cd = cd;
41
+ constructor() {
42
+ this.cd = inject(ChangeDetectorRef);
43
43
  this.level = 0;
44
44
  this.start = new Date();
45
45
  this.score = 0;
@@ -82,8 +82,8 @@ class PageNotFoundInvaderComponent {
82
82
  this.score++;
83
83
  this.score$.next(this.score);
84
84
  }
85
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundInvaderComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
86
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: PageNotFoundInvaderComponent, isStandalone: true, selector: "page-not-found-invader", ngImport: i0, template: `
85
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundInvaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
86
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: PageNotFoundInvaderComponent, isStandalone: true, selector: "page-not-found-invader", ngImport: i0, template: `
87
87
  <img
88
88
  role="button"
89
89
  tabindex="1"
@@ -103,7 +103,7 @@ class PageNotFoundInvaderComponent {
103
103
  <!--div class="laser"></div-->
104
104
  `, isInline: true, styles: [".invader{max-height:20px;max-width:20px;position:absolute;border-radius:50%;z-index:100}.invader.game-over{padding:10px;border:2px solid red}.invader:hover{cursor:crosshair}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
105
105
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundInvaderComponent, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundInvaderComponent, decorators: [{
107
107
  type: Component,
108
108
  args: [{ selector: 'page-not-found-invader', template: `
109
109
  <img
@@ -124,7 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
124
124
  <div class="score">Score: {{ score }}</div>
125
125
  <!--div class="laser"></div-->
126
126
  `, standalone: true, imports: [AsyncPipe, NgStyle, NgClass], styles: [".invader{max-height:20px;max-width:20px;position:absolute;border-radius:50%;z-index:100}.invader.game-over{padding:10px;border:2px solid red}.invader:hover{cursor:crosshair}\n"] }]
127
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
127
+ }] });
128
128
 
129
129
  const konamiPattern = [
130
130
  'ArrowUp',
@@ -139,10 +139,10 @@ const konamiPattern = [
139
139
  'a',
140
140
  ];
141
141
  class PageNotFoundComponent {
142
- constructor(cd) {
143
- this.cd = cd;
142
+ constructor() {
144
143
  this.sequence = ['', '', '', '', '', '', '', '', '', ''];
145
144
  this.konamiMatch = false;
145
+ this.cd = inject(ChangeDetectorRef);
146
146
  }
147
147
  ngAfterViewInit() {
148
148
  this.cd.detectChanges();
@@ -159,19 +159,13 @@ class PageNotFoundComponent {
159
159
  this.konamiMatch = true;
160
160
  }
161
161
  }
162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
163
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: PageNotFoundComponent, isStandalone: true, selector: "page-not-found", queries: [{ propertyName: "extra", first: true, predicate: PageNotFoundExtraComponent, descendants: true }, { propertyName: "actions", predicate: PageNotFoundActionComponent }], ngImport: i0, template: "<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arri\u00E8re-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n <ng-container *ngIf=\"extra?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n </ng-container>\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n\n <page-not-found-invader *ngIf=\"konamiMatch\"></page-not-found-invader>\n</div>\n", styles: [".page-not-found{display:flex;flex-flow:row wrap;position:relative;background-image:url(https://cdn.services.rvaonem.fgov.be/img/404/background.svg);background-size:auto 160vh;background-position:40vw -30vh;min-height:100vh;background-repeat:no-repeat}.page-not-found .ap{position:absolute;top:0;right:0}.page-not-found .not-found-section{flex:1 1 300px;padding:48px 146px}.page-not-found .not-found-section .oops{font-size:7vw;line-height:11vw;font-weight:700;margin-bottom:21px}.page-not-found .not-found-section .nf-title{margin-bottom:21px}.page-not-found .not-found-section .nf-body{margin-bottom:40px}.page-not-found .not-found-section .nf-actions{margin-bottom:32px;font-size:24px;line-height:36px;font-weight:700}.page-not-found .not-found-section .actions{display:flex;gap:8px;margin-bottom:40px}.page-not-found .not-found-section.section-flying-saucer{padding-top:96px}.page-not-found not-found-invader{position:absolute}.flying-saucer-container{position:relative}.flying-saucer-container .soucoupe{position:absolute;top:0;left:0;z-index:10;transform:translateY(0);animation-name:takeOff;animation-duration:10s}.flying-saucer-container .halo{position:absolute;top:143px;left:42px;height:395px;width:273px;border-radius:0 0 130px 130px;opacity:1;animation-name:retractHalo;animation-duration:10s}.flying-saucer-container .page-container{position:absolute;top:147px;left:100px;height:350px;overflow:hidden;animation-direction:normal}.flying-saucer-container .page-container .page{transform:translateY(100px);animation-name:suckPage;animation-duration:10s}.flying-saucer-container .ombre{position:absolute;top:536px;animation-name:shadowFade;animation-duration:10s;opacity:1;width:250px;left:60px}@keyframes suckPage{0%{transform:translateY(100px);opacity:1}35%{transform:translateY(100px);opacity:1}55%{opacity:0}85%{transform:translateY(-300px);opacity:0}to{transform:translateY(100px)}}@keyframes retractHalo{0%{opacity:0}25%{opacity:0}35%{opacity:1}55%{opacity:1}85%{opacity:0}99%{opacity:0}to{opacity:1}}@keyframes takeOff{0%{transform:translateY(-300px)}25%{transform:translateY(0)}70%{transform:translateY(0)}90%{transform:translateY(-300px)}96%{transform:translateY(-300px)}to{transform:translateY(0)}}@keyframes shadowFade{0%{opacity:0;width:370px;left:0}25%{opacity:1;width:250px;left:60px}70%{opacity:1;width:250px;left:60px}90%{opacity:0;width:370px;left:0}96%{opacity:0;width:370px;left:0}to{opacity:1;width:250px;left:60px}}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PageNotFoundInvaderComponent, selector: "page-not-found-invader" }] }); }
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
163
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: PageNotFoundComponent, isStandalone: true, selector: "page-not-found", queries: [{ propertyName: "extra", first: true, predicate: PageNotFoundExtraComponent, descendants: true }, { propertyName: "actions", predicate: PageNotFoundActionComponent }], ngImport: i0, template: "<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arri\u00E8re-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n @for (action of actions?.toArray(); track action.template) {\n @if (action.template) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n }\n </div>\n @if (extra?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n }\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n @if (konamiMatch) {\n <page-not-found-invader></page-not-found-invader>\n }\n</div>\n", styles: [".page-not-found{display:flex;flex-flow:row wrap;position:relative;background-image:url(https://cdn.services.rvaonem.fgov.be/img/404/background.svg);background-size:auto 160vh;background-position:40vw -30vh;min-height:100vh;background-repeat:no-repeat}.page-not-found .ap{position:absolute;top:0;right:0}.page-not-found .not-found-section{flex:1 1 300px;padding:48px 146px}.page-not-found .not-found-section .oops{font-size:7vw;line-height:11vw;font-weight:700;margin-bottom:21px}.page-not-found .not-found-section .nf-title{margin-bottom:21px}.page-not-found .not-found-section .nf-body{margin-bottom:40px}.page-not-found .not-found-section .nf-actions{margin-bottom:32px;font-size:24px;line-height:36px;font-weight:700}.page-not-found .not-found-section .actions{display:flex;gap:8px;margin-bottom:40px}.page-not-found .not-found-section.section-flying-saucer{padding-top:96px}.page-not-found not-found-invader{position:absolute}.flying-saucer-container{position:relative}.flying-saucer-container .soucoupe{position:absolute;top:0;left:0;z-index:10;transform:translateY(0);animation-name:takeOff;animation-duration:10s}.flying-saucer-container .halo{position:absolute;top:143px;left:42px;height:395px;width:273px;border-radius:0 0 130px 130px;opacity:1;animation-name:retractHalo;animation-duration:10s}.flying-saucer-container .page-container{position:absolute;top:147px;left:100px;height:350px;overflow:hidden;animation-direction:normal}.flying-saucer-container .page-container .page{transform:translateY(100px);animation-name:suckPage;animation-duration:10s}.flying-saucer-container .ombre{position:absolute;top:536px;animation-name:shadowFade;animation-duration:10s;opacity:1;width:250px;left:60px}@keyframes suckPage{0%{transform:translateY(100px);opacity:1}35%{transform:translateY(100px);opacity:1}55%{opacity:0}85%{transform:translateY(-300px);opacity:0}to{transform:translateY(100px)}}@keyframes retractHalo{0%{opacity:0}25%{opacity:0}35%{opacity:1}55%{opacity:1}85%{opacity:0}99%{opacity:0}to{opacity:1}}@keyframes takeOff{0%{transform:translateY(-300px)}25%{transform:translateY(0)}70%{transform:translateY(0)}90%{transform:translateY(-300px)}96%{transform:translateY(-300px)}to{transform:translateY(0)}}@keyframes shadowFade{0%{opacity:0;width:370px;left:0}25%{opacity:1;width:250px;left:60px}70%{opacity:1;width:250px;left:60px}90%{opacity:0;width:370px;left:0}96%{opacity:0;width:370px;left:0}to{opacity:1;width:250px;left:60px}}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageNotFoundInvaderComponent, selector: "page-not-found-invader" }] }); }
164
164
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: PageNotFoundComponent, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PageNotFoundComponent, decorators: [{
166
166
  type: Component,
167
- args: [{ selector: 'page-not-found', standalone: true, imports: [
168
- NgForOf,
169
- TranslatePipe,
170
- NgTemplateOutlet,
171
- NgIf,
172
- PageNotFoundInvaderComponent,
173
- ], template: "<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arri\u00E8re-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n <ng-container *ngIf=\"extra?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n </ng-container>\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n\n <page-not-found-invader *ngIf=\"konamiMatch\"></page-not-found-invader>\n</div>\n", styles: [".page-not-found{display:flex;flex-flow:row wrap;position:relative;background-image:url(https://cdn.services.rvaonem.fgov.be/img/404/background.svg);background-size:auto 160vh;background-position:40vw -30vh;min-height:100vh;background-repeat:no-repeat}.page-not-found .ap{position:absolute;top:0;right:0}.page-not-found .not-found-section{flex:1 1 300px;padding:48px 146px}.page-not-found .not-found-section .oops{font-size:7vw;line-height:11vw;font-weight:700;margin-bottom:21px}.page-not-found .not-found-section .nf-title{margin-bottom:21px}.page-not-found .not-found-section .nf-body{margin-bottom:40px}.page-not-found .not-found-section .nf-actions{margin-bottom:32px;font-size:24px;line-height:36px;font-weight:700}.page-not-found .not-found-section .actions{display:flex;gap:8px;margin-bottom:40px}.page-not-found .not-found-section.section-flying-saucer{padding-top:96px}.page-not-found not-found-invader{position:absolute}.flying-saucer-container{position:relative}.flying-saucer-container .soucoupe{position:absolute;top:0;left:0;z-index:10;transform:translateY(0);animation-name:takeOff;animation-duration:10s}.flying-saucer-container .halo{position:absolute;top:143px;left:42px;height:395px;width:273px;border-radius:0 0 130px 130px;opacity:1;animation-name:retractHalo;animation-duration:10s}.flying-saucer-container .page-container{position:absolute;top:147px;left:100px;height:350px;overflow:hidden;animation-direction:normal}.flying-saucer-container .page-container .page{transform:translateY(100px);animation-name:suckPage;animation-duration:10s}.flying-saucer-container .ombre{position:absolute;top:536px;animation-name:shadowFade;animation-duration:10s;opacity:1;width:250px;left:60px}@keyframes suckPage{0%{transform:translateY(100px);opacity:1}35%{transform:translateY(100px);opacity:1}55%{opacity:0}85%{transform:translateY(-300px);opacity:0}to{transform:translateY(100px)}}@keyframes retractHalo{0%{opacity:0}25%{opacity:0}35%{opacity:1}55%{opacity:1}85%{opacity:0}99%{opacity:0}to{opacity:1}}@keyframes takeOff{0%{transform:translateY(-300px)}25%{transform:translateY(0)}70%{transform:translateY(0)}90%{transform:translateY(-300px)}96%{transform:translateY(-300px)}to{transform:translateY(0)}}@keyframes shadowFade{0%{opacity:0;width:370px;left:0}25%{opacity:1;width:250px;left:60px}70%{opacity:1;width:250px;left:60px}90%{opacity:0;width:370px;left:0}96%{opacity:0;width:370px;left:0}to{opacity:1;width:250px;left:60px}}\n"] }]
174
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { actions: [{
167
+ args: [{ selector: 'page-not-found', standalone: true, imports: [TranslatePipe, NgTemplateOutlet, PageNotFoundInvaderComponent], template: "<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arri\u00E8re-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n @for (action of actions?.toArray(); track action.template) {\n @if (action.template) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n }\n </div>\n @if (extra?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n }\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n @if (konamiMatch) {\n <page-not-found-invader></page-not-found-invader>\n }\n</div>\n", styles: [".page-not-found{display:flex;flex-flow:row wrap;position:relative;background-image:url(https://cdn.services.rvaonem.fgov.be/img/404/background.svg);background-size:auto 160vh;background-position:40vw -30vh;min-height:100vh;background-repeat:no-repeat}.page-not-found .ap{position:absolute;top:0;right:0}.page-not-found .not-found-section{flex:1 1 300px;padding:48px 146px}.page-not-found .not-found-section .oops{font-size:7vw;line-height:11vw;font-weight:700;margin-bottom:21px}.page-not-found .not-found-section .nf-title{margin-bottom:21px}.page-not-found .not-found-section .nf-body{margin-bottom:40px}.page-not-found .not-found-section .nf-actions{margin-bottom:32px;font-size:24px;line-height:36px;font-weight:700}.page-not-found .not-found-section .actions{display:flex;gap:8px;margin-bottom:40px}.page-not-found .not-found-section.section-flying-saucer{padding-top:96px}.page-not-found not-found-invader{position:absolute}.flying-saucer-container{position:relative}.flying-saucer-container .soucoupe{position:absolute;top:0;left:0;z-index:10;transform:translateY(0);animation-name:takeOff;animation-duration:10s}.flying-saucer-container .halo{position:absolute;top:143px;left:42px;height:395px;width:273px;border-radius:0 0 130px 130px;opacity:1;animation-name:retractHalo;animation-duration:10s}.flying-saucer-container .page-container{position:absolute;top:147px;left:100px;height:350px;overflow:hidden;animation-direction:normal}.flying-saucer-container .page-container .page{transform:translateY(100px);animation-name:suckPage;animation-duration:10s}.flying-saucer-container .ombre{position:absolute;top:536px;animation-name:shadowFade;animation-duration:10s;opacity:1;width:250px;left:60px}@keyframes suckPage{0%{transform:translateY(100px);opacity:1}35%{transform:translateY(100px);opacity:1}55%{opacity:0}85%{transform:translateY(-300px);opacity:0}to{transform:translateY(100px)}}@keyframes retractHalo{0%{opacity:0}25%{opacity:0}35%{opacity:1}55%{opacity:1}85%{opacity:0}99%{opacity:0}to{opacity:1}}@keyframes takeOff{0%{transform:translateY(-300px)}25%{transform:translateY(0)}70%{transform:translateY(0)}90%{transform:translateY(-300px)}96%{transform:translateY(-300px)}to{transform:translateY(0)}}@keyframes shadowFade{0%{opacity:0;width:370px;left:0}25%{opacity:1;width:250px;left:60px}70%{opacity:1;width:250px;left:60px}90%{opacity:0;width:370px;left:0}96%{opacity:0;width:370px;left:0}to{opacity:1;width:250px;left:60px}}\n"] }]
168
+ }], propDecorators: { actions: [{
175
169
  type: ContentChildren,
176
170
  args: [PageNotFoundActionComponent]
177
171
  }], extra: [{
@@ -180,17 +174,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
180
174
  }] } });
181
175
 
182
176
  class OnemrvaPageNotFoundModule {
183
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaPageNotFoundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
184
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaPageNotFoundModule, imports: [PageNotFoundComponent,
177
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaPageNotFoundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
178
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaPageNotFoundModule, imports: [PageNotFoundComponent,
185
179
  PageNotFoundInvaderComponent,
186
180
  PageNotFoundActionComponent,
187
181
  PageNotFoundExtraComponent], exports: [PageNotFoundComponent,
188
182
  PageNotFoundInvaderComponent,
189
183
  PageNotFoundActionComponent,
190
184
  PageNotFoundExtraComponent] }); }
191
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaPageNotFoundModule }); }
185
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaPageNotFoundModule }); }
192
186
  }
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaPageNotFoundModule, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaPageNotFoundModule, decorators: [{
194
188
  type: NgModule,
195
189
  args: [{
196
190
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system-page-not-found.mjs","sources":["../../../../projects/onemrva/design-system/page-not-found/src/page-not-found-action.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found-extra.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found-invader.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found.component.html","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found.module.ts","../../../../projects/onemrva/design-system/page-not-found/onemrvapublic-design-system-page-not-found.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'page-not-found-action',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n standalone: true,\n})\nexport class PageNotFoundActionComponent {\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'page-not-found-extra',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n standalone: true,\n})\nexport class PageNotFoundExtraComponent {\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n OnDestroy,\n} from '@angular/core';\nimport { Observable, of, Subject, Subscription, timer } from 'rxjs';\nimport { map, startWith, switchMap } from 'rxjs/operators';\nimport { AsyncPipe, NgClass, NgStyle } from '@angular/common';\n\n@Component({\n selector: 'page-not-found-invader',\n styleUrls: ['page-not-found-invader.component.scss'],\n template: `\n <img\n role=\"button\"\n tabindex=\"1\"\n src=\"https://cdn.services.rvaonem.fgov.be/assets/404/saucer.svg\"\n class=\"invader\"\n alt=\"invader\"\n [ngClass]=\"{ 'game-over': gameOver }\"\n [ngStyle]=\"{\n width: (size$ | async) + 'px',\n height: (size$ | async) + 'px',\n left: left + 'px',\n top: top + 'px',\n }\"\n (click)=\"getScore()\"\n />\n <div class=\"score\">Score: {{ score }}</div>\n <!--div class=\"laser\"></div-->\n `,\n standalone: true,\n imports: [AsyncPipe, NgStyle, NgClass],\n})\nexport class PageNotFoundInvaderComponent implements AfterViewInit, OnDestroy {\n level = 0;\n size$?: Observable<number>;\n\n start: Date = new Date();\n score = 0;\n gameOver = false;\n sub?: Subscription;\n\n score$ = new Subject<number>();\n top = 0;\n left = 0;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.size$ = this.score$.pipe(\n startWith(0),\n switchMap(score => {\n this.level++;\n if (this.gameOver) {\n this.sub?.unsubscribe();\n return of(10);\n }\n\n const width = window.innerWidth;\n const height = window.innerHeight;\n\n this.left = (Math.random() * width) / 2 + width / 3;\n this.top = Math.random() * height * 0.8 + height / 10;\n\n const lvl = score < 39 ? score : 39.5;\n return timer(0, 10).pipe(map(i => i / (40 - lvl)));\n }),\n );\n\n this.sub = this.size$.subscribe(s => {\n if (s > 20) {\n this.gameOver = true;\n this.score$.next(this.score);\n }\n });\n\n this.cd.detectChanges();\n }\n\n ngOnDestroy(): void {\n this.sub?.unsubscribe();\n }\n\n getScore() {\n if (this.gameOver) {\n this.score$.next(this.score);\n this.sub?.unsubscribe();\n return;\n }\n this.score++;\n this.score$.next(this.score);\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n OnDestroy,\n QueryList,\n} from '@angular/core';\nimport { PageNotFoundActionComponent } from './page-not-found-action.component';\nimport { PageNotFoundExtraComponent } from './page-not-found-extra.component';\nimport { NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { OnemrvaPageNotFoundModule } from './page-not-found.module';\nimport { PageNotFoundInvaderComponent } from './page-not-found-invader.component';\n\nconst konamiPattern = [\n 'ArrowUp',\n 'ArrowUp',\n 'ArrowDown',\n 'ArrowDown',\n 'ArrowLeft',\n 'ArrowRight',\n 'ArrowLeft',\n 'ArrowRight',\n 'b',\n 'a',\n];\n@Component({\n selector: 'page-not-found',\n styleUrls: ['./page-not-found.component.scss'],\n templateUrl: 'page-not-found.component.html',\n standalone: true,\n imports: [\n NgForOf,\n TranslatePipe,\n NgTemplateOutlet,\n NgIf,\n PageNotFoundInvaderComponent,\n ],\n})\nexport class PageNotFoundComponent implements AfterViewInit, OnDestroy {\n @ContentChildren(PageNotFoundActionComponent)\n actions?: QueryList<PageNotFoundActionComponent>;\n @ContentChild(PageNotFoundExtraComponent)\n extra?: PageNotFoundExtraComponent;\n\n sequence: string[] = ['', '', '', '', '', '', '', '', '', ''];\n konamiMatch = false;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n window.addEventListener('keydown', this.konami.bind(this));\n }\n\n ngOnDestroy() {\n window.removeEventListener('keydown', this.konami.bind(this));\n }\n\n konami($event: any) {\n this.sequence.shift();\n this.sequence = [...this.sequence, $event.key];\n\n if (\n this.sequence.length === konamiPattern.length &&\n !this.sequence.map((s, idx) => s === konamiPattern[idx]).includes(false)\n ) {\n this.konamiMatch = true;\n }\n }\n}\n","<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arrière-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n <ng-container *ngIf=\"extra?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n </ng-container>\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n\n <page-not-found-invader *ngIf=\"konamiMatch\"></page-not-found-invader>\n</div>\n","import { NgModule } from '@angular/core';\nimport { PageNotFoundComponent } from './page-not-found.component';\nimport { PageNotFoundInvaderComponent } from './page-not-found-invader.component';\nimport { PageNotFoundActionComponent } from './page-not-found-action.component';\nimport { PageNotFoundExtraComponent } from './page-not-found-extra.component';\n\n@NgModule({\n declarations: [],\n imports: [\n PageNotFoundComponent,\n PageNotFoundInvaderComponent,\n PageNotFoundActionComponent,\n PageNotFoundExtraComponent,\n ],\n exports: [\n PageNotFoundComponent,\n PageNotFoundInvaderComponent,\n PageNotFoundActionComponent,\n PageNotFoundExtraComponent,\n ],\n})\nexport class OnemrvaPageNotFoundModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,2BAA2B,CAAA;+GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,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B;YAC5B,2BAA2B;YAC3B,0BAA0B,CAAA,EAAA,CAAA,CAAA;gHAGjB,yBAAyB,EAAA,CAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAfrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,4BAA4B;wBAC5B,2BAA2B;wBAC3B,0BAA0B;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,4BAA4B;wBAC5B,2BAA2B;wBAC3B,0BAA0B;AAC3B,qBAAA;AACF,iBAAA;;;ACpBD;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system-page-not-found.mjs","sources":["../../../../projects/onemrva/design-system/page-not-found/src/page-not-found-action.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found-extra.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found-invader.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found.component.ts","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found.component.html","../../../../projects/onemrva/design-system/page-not-found/src/page-not-found.module.ts","../../../../projects/onemrva/design-system/page-not-found/onemrvapublic-design-system-page-not-found.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'page-not-found-action',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n standalone: true,\n})\nexport class PageNotFoundActionComponent {\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'page-not-found-extra',\n template: '<ng-template><ng-content></ng-content></ng-template>',\n standalone: true,\n})\nexport class PageNotFoundExtraComponent {\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport { Observable, of, Subject, Subscription, timer } from 'rxjs';\nimport { map, startWith, switchMap } from 'rxjs/operators';\nimport { AsyncPipe, NgClass, NgStyle } from '@angular/common';\n\n@Component({\n selector: 'page-not-found-invader',\n styleUrls: ['page-not-found-invader.component.scss'],\n template: `\n <img\n role=\"button\"\n tabindex=\"1\"\n src=\"https://cdn.services.rvaonem.fgov.be/assets/404/saucer.svg\"\n class=\"invader\"\n alt=\"invader\"\n [ngClass]=\"{ 'game-over': gameOver }\"\n [ngStyle]=\"{\n width: (size$ | async) + 'px',\n height: (size$ | async) + 'px',\n left: left + 'px',\n top: top + 'px',\n }\"\n (click)=\"getScore()\"\n />\n <div class=\"score\">Score: {{ score }}</div>\n <!--div class=\"laser\"></div-->\n `,\n standalone: true,\n imports: [AsyncPipe, NgStyle, NgClass],\n})\nexport class PageNotFoundInvaderComponent implements AfterViewInit, OnDestroy {\n private cd = inject(ChangeDetectorRef);\n\n level = 0;\n size$?: Observable<number>;\n\n start: Date = new Date();\n score = 0;\n gameOver = false;\n sub?: Subscription;\n\n score$ = new Subject<number>();\n top = 0;\n left = 0;\n\n ngAfterViewInit() {\n this.size$ = this.score$.pipe(\n startWith(0),\n switchMap(score => {\n this.level++;\n if (this.gameOver) {\n this.sub?.unsubscribe();\n return of(10);\n }\n\n const width = window.innerWidth;\n const height = window.innerHeight;\n\n this.left = (Math.random() * width) / 2 + width / 3;\n this.top = Math.random() * height * 0.8 + height / 10;\n\n const lvl = score < 39 ? score : 39.5;\n return timer(0, 10).pipe(map(i => i / (40 - lvl)));\n }),\n );\n\n this.sub = this.size$.subscribe(s => {\n if (s > 20) {\n this.gameOver = true;\n this.score$.next(this.score);\n }\n });\n\n this.cd.detectChanges();\n }\n\n ngOnDestroy(): void {\n this.sub?.unsubscribe();\n }\n\n getScore() {\n if (this.gameOver) {\n this.score$.next(this.score);\n this.sub?.unsubscribe();\n return;\n }\n this.score++;\n this.score$.next(this.score);\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n OnDestroy,\n QueryList,\n inject,\n} from '@angular/core';\nimport { PageNotFoundActionComponent } from './page-not-found-action.component';\nimport { PageNotFoundExtraComponent } from './page-not-found-extra.component';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { PageNotFoundInvaderComponent } from './page-not-found-invader.component';\n\nconst konamiPattern = [\n 'ArrowUp',\n 'ArrowUp',\n 'ArrowDown',\n 'ArrowDown',\n 'ArrowLeft',\n 'ArrowRight',\n 'ArrowLeft',\n 'ArrowRight',\n 'b',\n 'a',\n];\n@Component({\n selector: 'page-not-found',\n styleUrls: ['./page-not-found.component.scss'],\n templateUrl: 'page-not-found.component.html',\n standalone: true,\n imports: [TranslatePipe, NgTemplateOutlet, PageNotFoundInvaderComponent],\n})\nexport class PageNotFoundComponent implements AfterViewInit, OnDestroy {\n @ContentChildren(PageNotFoundActionComponent)\n actions?: QueryList<PageNotFoundActionComponent>;\n @ContentChild(PageNotFoundExtraComponent)\n extra?: PageNotFoundExtraComponent;\n\n sequence: string[] = ['', '', '', '', '', '', '', '', '', ''];\n konamiMatch = false;\n\n cd = inject(ChangeDetectorRef);\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n window.addEventListener('keydown', this.konami.bind(this));\n }\n\n ngOnDestroy() {\n window.removeEventListener('keydown', this.konami.bind(this));\n }\n\n konami($event: any) {\n this.sequence.shift();\n this.sequence = [...this.sequence, $event.key];\n\n if (\n this.sequence.length === konamiPattern.length &&\n !this.sequence.map((s, idx) => s === konamiPattern[idx]).includes(false)\n ) {\n this.konamiMatch = true;\n }\n }\n}\n","<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arrière-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n @for (action of actions?.toArray(); track action.template) {\n @if (action.template) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n }\n </div>\n @if (extra?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n }\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n @if (konamiMatch) {\n <page-not-found-invader></page-not-found-invader>\n }\n</div>\n","import { NgModule } from '@angular/core';\nimport { PageNotFoundComponent } from './page-not-found.component';\nimport { PageNotFoundInvaderComponent } from './page-not-found-invader.component';\nimport { PageNotFoundActionComponent } from './page-not-found-action.component';\nimport { PageNotFoundExtraComponent } from './page-not-found-extra.component';\n\n@NgModule({\n declarations: [],\n imports: [\n PageNotFoundComponent,\n PageNotFoundInvaderComponent,\n PageNotFoundActionComponent,\n PageNotFoundExtraComponent,\n ],\n exports: [\n PageNotFoundComponent,\n PageNotFoundInvaderComponent,\n PageNotFoundActionComponent,\n PageNotFoundExtraComponent,\n ],\n})\nexport class OnemrvaPageNotFoundModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,2BAA2B,CAAA;8GAA3B,2BAA2B,EAAA,I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