@hmcts/opal-frontend-common 0.0.109 → 0.0.110

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 (417) hide show
  1. package/fesm2022/hmcts-opal-frontend-common-access-denied.component-DuQgLlU6.mjs +57 -0
  2. package/fesm2022/hmcts-opal-frontend-common-account-created.component-DtlFlzU9.mjs +47 -0
  3. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.mjs +73 -81
  4. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.mjs +71 -92
  5. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.mjs +0 -4
  6. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs +133 -233
  7. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base-interfaces.mjs +0 -4
  8. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs +123 -251
  9. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-parent-base.mjs +24 -43
  10. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base-interfaces.mjs +0 -4
  11. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs +66 -94
  12. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base-interfaces.mjs +0 -4
  13. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs +340 -616
  14. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-base.mjs +25 -61
  15. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs +88 -142
  16. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-instances-table-base.mjs +48 -29
  17. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-constants.mjs +14 -19
  18. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-interfaces.mjs +0 -4
  19. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-types.mjs +0 -4
  20. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base.mjs +144 -273
  21. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-interfaces.mjs +0 -4
  22. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs +104 -129
  23. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-types.mjs +0 -4
  24. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs +123 -204
  25. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.mjs +35 -121
  26. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-interfaces.mjs +0 -4
  27. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-types.mjs +0 -4
  28. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs +111 -183
  29. package/fesm2022/hmcts-opal-frontend-common-components-abstract-interfaces.mjs +0 -4
  30. package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete-interfaces.mjs +0 -4
  31. package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs +278 -275
  32. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-accessible-monetary.mjs +66 -53
  33. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.mjs +44 -21
  34. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.mjs +44 -21
  35. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.mjs +54 -27
  36. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information.mjs +38 -17
  37. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs +70 -37
  38. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-deferred-live-region-announcement.mjs +109 -119
  39. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs +38 -17
  40. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs +40 -17
  41. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.mjs +66 -27
  42. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.mjs +44 -21
  43. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.mjs +54 -27
  44. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.mjs +54 -27
  45. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.mjs +67 -42
  46. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.mjs +40 -17
  47. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.mjs +66 -27
  48. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.mjs +42 -21
  49. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs +36 -17
  50. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs +125 -119
  51. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs +46 -30
  52. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs +72 -39
  53. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs +54 -34
  54. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes-interfaces.mjs +0 -4
  55. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs +303 -134
  56. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input-interfaces.mjs +0 -4
  57. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs +163 -79
  58. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs +45 -21
  59. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.mjs +49 -33
  60. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer-interfaces.mjs +0 -4
  61. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs +42 -20
  62. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header-interfaces.mjs +0 -4
  63. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs +103 -41
  64. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption-types.mjs +0 -4
  65. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs +90 -39
  66. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs +60 -26
  67. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.mjs +53 -30
  68. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list.mjs +36 -17
  69. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs +75 -44
  70. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs +80 -85
  71. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs +53 -25
  72. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio-interfaces.mjs +0 -4
  73. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs +397 -267
  74. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select-interfaces.mjs +0 -4
  75. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs +164 -80
  76. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs +153 -85
  77. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs +246 -121
  78. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs +224 -90
  79. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +99 -76
  80. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs +78 -51
  81. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs +79 -72
  82. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs +55 -25
  83. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs +112 -46
  84. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs +185 -104
  85. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs +165 -95
  86. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs +151 -81
  87. package/fesm2022/hmcts-opal-frontend-common-components-govuk-helpers.mjs +5 -16
  88. package/fesm2022/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.mjs +65 -32
  89. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs +396 -243
  90. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs +55 -25
  91. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.mjs +53 -28
  92. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs +92 -60
  93. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs +216 -165
  94. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.mjs +44 -21
  95. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-item.mjs +64 -42
  96. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-keyword.mjs +68 -47
  97. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.mjs +52 -33
  98. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.mjs +61 -40
  99. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.mjs +63 -42
  100. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.mjs +38 -17
  101. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter.mjs +56 -34
  102. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header-interfaces.mjs +0 -4
  103. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs +100 -41
  104. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-inset-text.mjs +62 -26
  105. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs +46 -21
  106. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs +47 -21
  107. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs +119 -164
  108. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs +225 -172
  109. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs +355 -188
  110. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs +152 -96
  111. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs +61 -29
  112. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs +74 -26
  113. package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-BqsP0gj2.mjs +41 -0
  114. package/fesm2022/hmcts-opal-frontend-common-constants.mjs +7 -13
  115. package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs +55 -43
  116. package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs +86 -60
  117. package/fesm2022/hmcts-opal-frontend-common-directives-moj-multi-select.mjs +184 -223
  118. package/fesm2022/hmcts-opal-frontend-common-directives-trim-leading-trailing-whitespace.mjs +56 -40
  119. package/fesm2022/hmcts-opal-frontend-common-guards-account.mjs +17 -37
  120. package/fesm2022/hmcts-opal-frontend-common-guards-auth.mjs +30 -41
  121. package/fesm2022/hmcts-opal-frontend-common-guards-business-unit-route-permissions.mjs +31 -90
  122. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate-interfaces.mjs +0 -4
  123. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate-types.mjs +0 -4
  124. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate.mjs +3 -9
  125. package/fesm2022/hmcts-opal-frontend-common-guards-feature-flag.mjs +29 -64
  126. package/fesm2022/hmcts-opal-frontend-common-guards-has-flow-state.mjs +13 -20
  127. package/fesm2022/hmcts-opal-frontend-common-guards-has-url-state-match.mjs +19 -48
  128. package/fesm2022/hmcts-opal-frontend-common-guards-helpers.mjs +21 -54
  129. package/fesm2022/hmcts-opal-frontend-common-guards-route-permissions.mjs +20 -30
  130. package/fesm2022/hmcts-opal-frontend-common-guards-signed-in.mjs +13 -24
  131. package/fesm2022/hmcts-opal-frontend-common-guards-types.mjs +0 -4
  132. package/fesm2022/hmcts-opal-frontend-common-interceptors-content-digest.mjs +59 -107
  133. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error-constants.mjs +11 -17
  134. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error-interfaces.mjs +0 -4
  135. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error.mjs +74 -148
  136. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry-constants.mjs +18 -13
  137. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry-interfaces.mjs +0 -4
  138. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry.mjs +65 -134
  139. package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-8EP_PgKk.mjs +55 -0
  140. package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-DuQgLlU6.mjs +57 -0
  141. package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-DtlFlzU9.mjs +47 -0
  142. package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-BqsP0gj2.mjs +41 -0
  143. package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page-interfaces.mjs +0 -4
  144. package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page.mjs +112 -62
  145. package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-8EP_PgKk.mjs +55 -0
  146. package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-B3EkD8uw.mjs +41 -0
  147. package/fesm2022/hmcts-opal-frontend-common-pages-routing-constants.mjs +22 -27
  148. package/fesm2022/hmcts-opal-frontend-common-pages-routing-interfaces.mjs +0 -4
  149. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-CT2Bh7gD.mjs +127 -0
  150. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-BxpouMug.mjs +55 -0
  151. package/fesm2022/hmcts-opal-frontend-common-pages.mjs +51 -52
  152. package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-B3EkD8uw.mjs +41 -0
  153. package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs +41 -28
  154. package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs +43 -40
  155. package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs +43 -39
  156. package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs +41 -29
  157. package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs +37 -25
  158. package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs +68 -91
  159. package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs +74 -65
  160. package/fesm2022/hmcts-opal-frontend-common-services-auth-service-constants.mjs +6 -10
  161. package/fesm2022/hmcts-opal-frontend-common-services-auth-service-interfaces.mjs +0 -4
  162. package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs +49 -42
  163. package/fesm2022/hmcts-opal-frontend-common-services-date-service-interfaces.mjs +0 -4
  164. package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +118 -233
  165. package/fesm2022/hmcts-opal-frontend-common-services-history-transformation-service.mjs +185 -484
  166. package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.mjs +12 -11
  167. package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs +77 -115
  168. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service-interfaces.mjs +0 -4
  169. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service-mocks.mjs +150 -159
  170. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs +119 -202
  171. package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs +47 -68
  172. package/fesm2022/hmcts-opal-frontend-common-services-session-service-constants.mjs +3 -9
  173. package/fesm2022/hmcts-opal-frontend-common-services-session-service-interfaces.mjs +0 -4
  174. package/fesm2022/hmcts-opal-frontend-common-services-session-service-mocks.mjs +4 -8
  175. package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs +50 -40
  176. package/fesm2022/hmcts-opal-frontend-common-services-sort-service-interfaces.mjs +0 -4
  177. package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs +56 -96
  178. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-interfaces.mjs +0 -4
  179. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-mocks.mjs +19 -26
  180. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs +71 -99
  181. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-constants.mjs +4 -8
  182. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-interfaces.mjs +0 -4
  183. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +65 -106
  184. package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs +102 -193
  185. package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-CT2Bh7gD.mjs +127 -0
  186. package/fesm2022/hmcts-opal-frontend-common-sign-in.component-Dz97ji3i.mjs +55 -0
  187. package/fesm2022/hmcts-opal-frontend-common-stores-global-constants.mjs +6 -10
  188. package/fesm2022/hmcts-opal-frontend-common-stores-global-interfaces.mjs +0 -4
  189. package/fesm2022/hmcts-opal-frontend-common-stores-global-types.mjs +0 -4
  190. package/fesm2022/hmcts-opal-frontend-common-stores-global.mjs +52 -57
  191. package/fesm2022/hmcts-opal-frontend-common-types.mjs +0 -4
  192. package/fesm2022/hmcts-opal-frontend-common-validators-amount.mjs +7 -18
  193. package/fesm2022/hmcts-opal-frontend-common-validators-date-after-year.mjs +8 -15
  194. package/fesm2022/hmcts-opal-frontend-common-validators-date-before.mjs +9 -18
  195. package/fesm2022/hmcts-opal-frontend-common-validators-date-of-birth.mjs +13 -21
  196. package/fesm2022/hmcts-opal-frontend-common-validators-future-date.mjs +9 -18
  197. package/fesm2022/hmcts-opal-frontend-common-validators-invalid-value.mjs +6 -12
  198. package/fesm2022/hmcts-opal-frontend-common-validators-national-insurance-number.mjs +9 -17
  199. package/fesm2022/hmcts-opal-frontend-common-validators-non-negative-value.mjs +10 -26
  200. package/fesm2022/hmcts-opal-frontend-common-validators-non-zero-value.mjs +10 -26
  201. package/fesm2022/hmcts-opal-frontend-common-validators-optional-max-length.mjs +7 -14
  202. package/fesm2022/hmcts-opal-frontend-common-validators-optional-valid-date.mjs +13 -26
  203. package/fesm2022/hmcts-opal-frontend-common-validators-optional-valid-telephone.mjs +12 -17
  204. package/fesm2022/hmcts-opal-frontend-common-validators-over-eighteen.mjs +19 -48
  205. package/fesm2022/hmcts-opal-frontend-common-validators-past-date.mjs +11 -19
  206. package/fesm2022/hmcts-opal-frontend-common-validators-pattern-validator.mjs +7 -26
  207. package/fesm2022/hmcts-opal-frontend-common-validators-valid-value.mjs +6 -12
  208. package/fesm2022/hmcts-opal-frontend-common.mjs +56 -76
  209. package/package.json +1 -1
  210. package/types/hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.d.ts +95 -104
  211. package/types/hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.d.ts +75 -78
  212. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.d.ts +4 -7
  213. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.d.ts +123 -126
  214. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base-interfaces.d.ts +4 -7
  215. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.d.ts +156 -159
  216. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-parent-base.d.ts +13 -16
  217. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base-interfaces.d.ts +5 -7
  218. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.d.ts +46 -50
  219. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-base-interfaces.d.ts +27 -35
  220. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-base.d.ts +323 -328
  221. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-base.d.ts +33 -36
  222. package/types/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.d.ts +75 -78
  223. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-instances-table-base.d.ts +15 -13
  224. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-constants.d.ts +16 -19
  225. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-interfaces.d.ts +23 -30
  226. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-types.d.ts +1 -3
  227. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base.d.ts +179 -188
  228. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-interfaces.d.ts +6 -9
  229. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.d.ts +66 -66
  230. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-types.d.ts +2 -5
  231. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.d.ts +112 -113
  232. package/types/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.d.ts +83 -86
  233. package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-interfaces.d.ts +12 -15
  234. package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-types.d.ts +1 -3
  235. package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.d.ts +113 -116
  236. package/types/hmcts-opal-frontend-common-components-abstract-interfaces.d.ts +16 -23
  237. package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete-interfaces.d.ts +4 -6
  238. package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.d.ts +136 -95
  239. package/types/hmcts-opal-frontend-common-components-custom-custom-accessible-monetary.d.ts +35 -29
  240. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.d.ts +6 -9
  241. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.d.ts +6 -9
  242. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.d.ts +12 -10
  243. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information.d.ts +5 -8
  244. package/types/hmcts-opal-frontend-common-components-custom-custom-action-links.d.ts +18 -12
  245. package/types/hmcts-opal-frontend-common-components-custom-custom-deferred-live-region-announcement.d.ts +67 -57
  246. package/types/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.d.ts +5 -8
  247. package/types/hmcts-opal-frontend-common-components-custom-custom-page-header.d.ts +5 -8
  248. package/types/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.d.ts +16 -10
  249. package/types/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.d.ts +11 -9
  250. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.d.ts +12 -10
  251. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.d.ts +12 -10
  252. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.d.ts +26 -20
  253. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.d.ts +5 -8
  254. package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.d.ts +16 -10
  255. package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.d.ts +11 -9
  256. package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.d.ts +5 -8
  257. package/types/hmcts-opal-frontend-common-components-govuk-govuk-accordion.d.ts +72 -64
  258. package/types/hmcts-opal-frontend-common-components-govuk-govuk-back-link.d.ts +16 -17
  259. package/types/hmcts-opal-frontend-common-components-govuk-govuk-button.d.ts +29 -17
  260. package/types/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.d.ts +22 -18
  261. package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes-interfaces.d.ts +14 -16
  262. package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.d.ts +96 -43
  263. package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input-interfaces.d.ts +13 -15
  264. package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input.d.ts +75 -34
  265. package/types/hmcts-opal-frontend-common-components-govuk-govuk-details.d.ts +11 -9
  266. package/types/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.d.ts +23 -19
  267. package/types/hmcts-opal-frontend-common-components-govuk-govuk-footer-interfaces.d.ts +5 -7
  268. package/types/hmcts-opal-frontend-common-components-govuk-govuk-footer.d.ts +14 -13
  269. package/types/hmcts-opal-frontend-common-components-govuk-govuk-header-interfaces.d.ts +4 -6
  270. package/types/hmcts-opal-frontend-common-components-govuk-govuk-header.d.ts +25 -23
  271. package/types/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption-types.d.ts +1 -3
  272. package/types/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.d.ts +32 -14
  273. package/types/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.d.ts +16 -10
  274. package/types/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.d.ts +16 -12
  275. package/types/hmcts-opal-frontend-common-components-govuk-govuk-list.d.ts +5 -8
  276. package/types/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.d.ts +37 -20
  277. package/types/hmcts-opal-frontend-common-components-govuk-govuk-pagination.d.ts +59 -47
  278. package/types/hmcts-opal-frontend-common-components-govuk-govuk-panel.d.ts +12 -10
  279. package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio-interfaces.d.ts +17 -20
  280. package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio.d.ts +162 -101
  281. package/types/hmcts-opal-frontend-common-components-govuk-govuk-select-interfaces.d.ts +4 -6
  282. package/types/hmcts-opal-frontend-common-components-govuk-govuk-select.d.ts +67 -26
  283. package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.d.ts +67 -35
  284. package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.d.ts +80 -47
  285. package/types/hmcts-opal-frontend-common-components-govuk-govuk-table.d.ts +47 -30
  286. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.d.ts +44 -34
  287. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.d.ts +19 -17
  288. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs.d.ts +44 -36
  289. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tag.d.ts +16 -10
  290. package/types/hmcts-opal-frontend-common-components-govuk-govuk-task-list.d.ts +35 -17
  291. package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-area.d.ts +83 -29
  292. package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.d.ts +74 -28
  293. package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input.d.ts +65 -23
  294. package/types/hmcts-opal-frontend-common-components-govuk-helpers.d.ts +1 -3
  295. package/types/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.d.ts +18 -12
  296. package/types/hmcts-opal-frontend-common-components-moj-moj-alert.d.ts +89 -69
  297. package/types/hmcts-opal-frontend-common-components-moj-moj-badge.d.ts +16 -10
  298. package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.d.ts +16 -12
  299. package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu.d.ts +32 -26
  300. package/types/hmcts-opal-frontend-common-components-moj-moj-date-picker.d.ts +116 -60
  301. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.d.ts +11 -9
  302. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-item.d.ts +33 -29
  303. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-keyword.d.ts +34 -22
  304. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.d.ts +22 -18
  305. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.d.ts +32 -24
  306. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.d.ts +29 -21
  307. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.d.ts +5 -8
  308. package/types/hmcts-opal-frontend-common-components-moj-moj-filter.d.ts +23 -17
  309. package/types/hmcts-opal-frontend-common-components-moj-moj-header-interfaces.d.ts +4 -6
  310. package/types/hmcts-opal-frontend-common-components-moj-moj-header.d.ts +25 -23
  311. package/types/hmcts-opal-frontend-common-components-moj-moj-inset-text.d.ts +16 -10
  312. package/types/hmcts-opal-frontend-common-components-moj-moj-notification-badge.d.ts +11 -9
  313. package/types/hmcts-opal-frontend-common-components-moj-moj-page-header.d.ts +11 -9
  314. package/types/hmcts-opal-frontend-common-components-moj-moj-pagination.d.ts +99 -83
  315. package/types/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.d.ts +102 -67
  316. package/types/hmcts-opal-frontend-common-components-moj-moj-sortable-table.d.ts +83 -51
  317. package/types/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.d.ts +62 -42
  318. package/types/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.d.ts +21 -11
  319. package/types/hmcts-opal-frontend-common-components-moj-moj-timeline.d.ts +8 -12
  320. package/types/hmcts-opal-frontend-common-constants.d.ts +20 -25
  321. package/types/hmcts-opal-frontend-common-directives-capitalisation.d.ts +17 -15
  322. package/types/hmcts-opal-frontend-common-directives-govuk-button.d.ts +33 -21
  323. package/types/hmcts-opal-frontend-common-directives-moj-multi-select.d.ts +92 -69
  324. package/types/hmcts-opal-frontend-common-directives-trim-leading-trailing-whitespace.d.ts +13 -11
  325. package/types/hmcts-opal-frontend-common-guards-account.d.ts +2 -5
  326. package/types/hmcts-opal-frontend-common-guards-auth.d.ts +4 -7
  327. package/types/hmcts-opal-frontend-common-guards-business-unit-route-permissions.d.ts +14 -19
  328. package/types/hmcts-opal-frontend-common-guards-can-deactivate-interfaces.d.ts +4 -7
  329. package/types/hmcts-opal-frontend-common-guards-can-deactivate-types.d.ts +3 -6
  330. package/types/hmcts-opal-frontend-common-guards-can-deactivate.d.ts +4 -8
  331. package/types/hmcts-opal-frontend-common-guards-feature-flag.d.ts +4 -7
  332. package/types/hmcts-opal-frontend-common-guards-has-flow-state.d.ts +2 -5
  333. package/types/hmcts-opal-frontend-common-guards-has-url-state-match.d.ts +2 -5
  334. package/types/hmcts-opal-frontend-common-guards-helpers.d.ts +8 -15
  335. package/types/hmcts-opal-frontend-common-guards-route-permissions.d.ts +2 -5
  336. package/types/hmcts-opal-frontend-common-guards-signed-in.d.ts +2 -5
  337. package/types/hmcts-opal-frontend-common-guards-types.d.ts +2 -5
  338. package/types/hmcts-opal-frontend-common-interceptors-content-digest.d.ts +2 -5
  339. package/types/hmcts-opal-frontend-common-interceptors-http-error-constants.d.ts +4 -9
  340. package/types/hmcts-opal-frontend-common-interceptors-http-error-interfaces.d.ts +9 -11
  341. package/types/hmcts-opal-frontend-common-interceptors-http-error.d.ts +2 -5
  342. package/types/hmcts-opal-frontend-common-interceptors-http-retry-constants.d.ts +5 -11
  343. package/types/hmcts-opal-frontend-common-interceptors-http-retry-interfaces.d.ts +7 -9
  344. package/types/hmcts-opal-frontend-common-interceptors-http-retry.d.ts +9 -15
  345. package/types/hmcts-opal-frontend-common-pages-dashboard-page-interfaces.d.ts +17 -21
  346. package/types/hmcts-opal-frontend-common-pages-dashboard-page.d.ts +89 -96
  347. package/types/hmcts-opal-frontend-common-pages-routing-constants.d.ts +3 -7
  348. package/types/hmcts-opal-frontend-common-pages-routing-interfaces.d.ts +24 -29
  349. package/types/hmcts-opal-frontend-common-pages.d.ts +2 -5
  350. package/types/hmcts-opal-frontend-common-pipes-date-format.d.ts +8 -11
  351. package/types/hmcts-opal-frontend-common-pipes-days-ago.d.ts +7 -10
  352. package/types/hmcts-opal-frontend-common-pipes-monetary.d.ts +8 -11
  353. package/types/hmcts-opal-frontend-common-pipes-national-insurance.d.ts +7 -10
  354. package/types/hmcts-opal-frontend-common-resolvers-title.d.ts +8 -11
  355. package/types/hmcts-opal-frontend-common-services-app-initializer-service.d.ts +37 -41
  356. package/types/hmcts-opal-frontend-common-services-app-insights-service.d.ts +14 -17
  357. package/types/hmcts-opal-frontend-common-services-auth-service-constants.d.ts +2 -5
  358. package/types/hmcts-opal-frontend-common-services-auth-service-interfaces.d.ts +6 -8
  359. package/types/hmcts-opal-frontend-common-services-auth-service.d.ts +8 -12
  360. package/types/hmcts-opal-frontend-common-services-date-service-interfaces.d.ts +7 -9
  361. package/types/hmcts-opal-frontend-common-services-date-service.d.ts +149 -153
  362. package/types/hmcts-opal-frontend-common-services-history-transformation-service.d.ts +104 -125
  363. package/types/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.d.ts +13 -16
  364. package/types/hmcts-opal-frontend-common-services-launch-darkly-service.d.ts +46 -49
  365. package/types/hmcts-opal-frontend-common-services-opal-user-service-interfaces.d.ts +28 -36
  366. package/types/hmcts-opal-frontend-common-services-opal-user-service-mocks.d.ts +4 -9
  367. package/types/hmcts-opal-frontend-common-services-opal-user-service.d.ts +97 -104
  368. package/types/hmcts-opal-frontend-common-services-permissions-service.d.ts +33 -36
  369. package/types/hmcts-opal-frontend-common-services-session-service-constants.d.ts +2 -5
  370. package/types/hmcts-opal-frontend-common-services-session-service-interfaces.d.ts +6 -9
  371. package/types/hmcts-opal-frontend-common-services-session-service-mocks.d.ts +2 -5
  372. package/types/hmcts-opal-frontend-common-services-session-service.d.ts +17 -20
  373. package/types/hmcts-opal-frontend-common-services-sort-service-interfaces.d.ts +9 -13
  374. package/types/hmcts-opal-frontend-common-services-sort-service.d.ts +64 -67
  375. package/types/hmcts-opal-frontend-common-services-transfer-state-service-interfaces.d.ts +20 -26
  376. package/types/hmcts-opal-frontend-common-services-transfer-state-service-mocks.d.ts +11 -17
  377. package/types/hmcts-opal-frontend-common-services-transfer-state-service.d.ts +44 -47
  378. package/types/hmcts-opal-frontend-common-services-transformation-service-constants.d.ts +2 -5
  379. package/types/hmcts-opal-frontend-common-services-transformation-service-interfaces.d.ts +12 -14
  380. package/types/hmcts-opal-frontend-common-services-transformation-service.d.ts +41 -44
  381. package/types/hmcts-opal-frontend-common-services-utils-service.d.ts +111 -114
  382. package/types/hmcts-opal-frontend-common-stores-global-constants.d.ts +2 -5
  383. package/types/hmcts-opal-frontend-common-stores-global-interfaces.d.ts +6 -8
  384. package/types/hmcts-opal-frontend-common-stores-global-types.d.ts +2 -5
  385. package/types/hmcts-opal-frontend-common-stores-global.d.ts +52 -57
  386. package/types/hmcts-opal-frontend-common-types.d.ts +1 -3
  387. package/types/hmcts-opal-frontend-common-validators-amount.d.ts +2 -5
  388. package/types/hmcts-opal-frontend-common-validators-date-after-year.d.ts +2 -5
  389. package/types/hmcts-opal-frontend-common-validators-date-before.d.ts +2 -5
  390. package/types/hmcts-opal-frontend-common-validators-date-of-birth.d.ts +2 -5
  391. package/types/hmcts-opal-frontend-common-validators-future-date.d.ts +2 -5
  392. package/types/hmcts-opal-frontend-common-validators-invalid-value.d.ts +2 -5
  393. package/types/hmcts-opal-frontend-common-validators-national-insurance-number.d.ts +2 -5
  394. package/types/hmcts-opal-frontend-common-validators-non-negative-value.d.ts +2 -5
  395. package/types/hmcts-opal-frontend-common-validators-non-zero-value.d.ts +2 -5
  396. package/types/hmcts-opal-frontend-common-validators-optional-max-length.d.ts +2 -5
  397. package/types/hmcts-opal-frontend-common-validators-optional-valid-date.d.ts +2 -5
  398. package/types/hmcts-opal-frontend-common-validators-optional-valid-telephone.d.ts +2 -5
  399. package/types/hmcts-opal-frontend-common-validators-over-eighteen.d.ts +3 -6
  400. package/types/hmcts-opal-frontend-common-validators-past-date.d.ts +2 -5
  401. package/types/hmcts-opal-frontend-common-validators-pattern-validator.d.ts +2 -5
  402. package/types/hmcts-opal-frontend-common-validators-valid-value.d.ts +2 -5
  403. package/types/hmcts-opal-frontend-common.d.ts +23 -31
  404. package/fesm2022/hmcts-opal-frontend-common-access-denied.component-DeYZkvfj.mjs +0 -21
  405. package/fesm2022/hmcts-opal-frontend-common-account-created.component-DUd7qbuq.mjs +0 -15
  406. package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-BfPeI980.mjs +0 -14
  407. package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-DzHlkMqq.mjs +0 -26
  408. package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-DeYZkvfj.mjs +0 -21
  409. package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-DUd7qbuq.mjs +0 -15
  410. package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-BfPeI980.mjs +0 -14
  411. package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-DzHlkMqq.mjs +0 -26
  412. package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-C28WmjEQ.mjs +0 -14
  413. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-BKGzFqXC.mjs +0 -42
  414. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-DgVojWf0.mjs +0 -28
  415. package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-C28WmjEQ.mjs +0 -14
  416. package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-BKGzFqXC.mjs +0 -42
  417. package/fesm2022/hmcts-opal-frontend-common-sign-in.component-BZz2kmre.mjs +0 -28
@@ -1,111 +1,94 @@
1
- import * as i0 from '@angular/core';
2
-
3
- interface IHistoryDetailsLink {
4
- type: string;
5
- emit: string;
1
+ import * as i0 from "@angular/core";
2
+ export interface IHistoryDetailsLink {
3
+ type: string;
4
+ emit: string;
6
5
  }
7
-
8
- interface IHistoryDetailsFragment {
9
- text: string;
10
- bold: boolean;
11
- hyphen: boolean;
12
- link?: IHistoryDetailsLink | null;
6
+ export interface IHistoryDetailsFragment {
7
+ text: string;
8
+ bold: boolean;
9
+ hyphen: boolean;
10
+ link?: IHistoryDetailsLink | null;
13
11
  }
14
-
15
- interface IHistoryDetailsPart {
16
- fragments: IHistoryDetailsFragment[];
12
+ export interface IHistoryDetailsPart {
13
+ fragments: IHistoryDetailsFragment[];
17
14
  }
18
-
19
- interface IHistoryDetails {
20
- line1: IHistoryDetailsPart[];
21
- line2: IHistoryDetailsPart[] | null;
15
+ export interface IHistoryDetails {
16
+ line1: IHistoryDetailsPart[];
17
+ line2: IHistoryDetailsPart[] | null;
22
18
  }
23
-
24
- interface IHistoryDetailsDateFormat {
25
- input: string;
26
- output: string;
19
+ export interface IHistoryDetailsDateFormat {
20
+ input: string;
21
+ output: string;
27
22
  }
28
-
29
- type THistoryDetailsRawItem = Record<string, unknown>;
30
-
31
- type THistoryDetailsTransformer = (item: THistoryDetailsRawItem) => IHistoryDetails;
32
-
33
- type THistoryDetailsTransformerConfig = Record<string, THistoryDetailsTransformer>;
34
-
35
- interface IHistoryTransformationConfig {
36
- aliasPathPrefixes: string[];
37
- dateFormat: IHistoryDetailsDateFormat;
38
- emptyValues: readonly unknown[];
39
- fallbackAliases: string[];
40
- historyItemTypeAliases: string[];
41
- transformers: THistoryDetailsTransformerConfig;
23
+ export type THistoryDetailsRawItem = Record<string, unknown>;
24
+ export type THistoryDetailsTransformer = (item: THistoryDetailsRawItem) => IHistoryDetails;
25
+ export type THistoryDetailsTransformerConfig = Record<string, THistoryDetailsTransformer>;
26
+ export interface IHistoryTransformationConfig {
27
+ aliasPathPrefixes: string[];
28
+ dateFormat: IHistoryDetailsDateFormat;
29
+ emptyValues: readonly unknown[];
30
+ fallbackAliases: string[];
31
+ historyItemTypeAliases: string[];
32
+ transformers: THistoryDetailsTransformerConfig;
42
33
  }
43
-
44
- declare class HistoryTransformationService {
45
- /**
46
- * Transforms a raw history item into the structured details model.
47
- *
48
- * @param item - The raw history item.
49
- * @param config - The domain-specific transformation configuration.
50
- * @returns The transformed history details.
51
- */
52
- transformDetails(item: THistoryDetailsRawItem, config: IHistoryTransformationConfig): IHistoryDetails;
53
- /**
54
- * Transforms raw history items while preserving the rest of each item.
55
- *
56
- * @param items - The raw history items.
57
- * @param config - The domain-specific transformation configuration.
58
- * @returns The items with transformed structured details.
59
- */
60
- transformItems<T extends THistoryDetailsRawItem>(items: T[], config: IHistoryTransformationConfig): Array<Omit<T, 'details'> & {
61
- details: IHistoryDetails;
62
- }>;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<HistoryTransformationService, never>;
64
- static ɵprov: i0.ɵɵInjectableDeclaration<HistoryTransformationService>;
34
+ export declare class HistoryTransformationService {
35
+ /**
36
+ * Transforms a raw history item into the structured details model.
37
+ *
38
+ * @param item - The raw history item.
39
+ * @param config - The domain-specific transformation configuration.
40
+ * @returns The transformed history details.
41
+ */
42
+ transformDetails(item: THistoryDetailsRawItem, config: IHistoryTransformationConfig): IHistoryDetails;
43
+ /**
44
+ * Transforms raw history items while preserving the rest of each item.
45
+ *
46
+ * @param items - The raw history items.
47
+ * @param config - The domain-specific transformation configuration.
48
+ * @returns The items with transformed structured details.
49
+ */
50
+ transformItems<T extends THistoryDetailsRawItem>(items: T[], config: IHistoryTransformationConfig): Array<Omit<T, 'details'> & {
51
+ details: IHistoryDetails;
52
+ }>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<HistoryTransformationService, never>;
54
+ static ɵprov: i0.ɵɵInjectableDeclaration<HistoryTransformationService>;
65
55
  }
66
-
67
- declare const HISTORY_DETAILS_PATTERNS: {
68
- keyNormalise: RegExp;
69
- snakeCaseBoundary: RegExp;
70
- snakeCaseSeparator: RegExp;
71
- transactionTypeSpace: RegExp;
56
+ export declare const HISTORY_DETAILS_PATTERNS: {
57
+ keyNormalise: RegExp;
58
+ snakeCaseBoundary: RegExp;
59
+ snakeCaseSeparator: RegExp;
60
+ transactionTypeSpace: RegExp;
72
61
  };
73
-
74
- interface IHistoryFragmentOptions {
75
- bold?: boolean;
76
- hyphen?: boolean;
77
- link?: IHistoryDetailsLink | null;
62
+ export interface IHistoryFragmentOptions {
63
+ bold?: boolean;
64
+ hyphen?: boolean;
65
+ link?: IHistoryDetailsLink | null;
78
66
  }
79
-
80
- interface IHistoryMappingFragmentPrefixOptions {
81
- fragmentEmptyPrefix: string | null;
82
- fragmentSpacePrefix: string;
83
- hyphenPrefix: string;
67
+ export interface IHistoryMappingFragmentPrefixOptions {
68
+ fragmentEmptyPrefix: string | null;
69
+ fragmentSpacePrefix: string;
70
+ hyphenPrefix: string;
84
71
  }
85
-
86
- interface IHistoryMappingDetailsTextOptions extends IHistoryMappingFragmentPrefixOptions {
87
- detailsLineSeparator: string;
88
- fragmentJoiner: string | null;
89
- partSeparator: string;
72
+ export interface IHistoryMappingDetailsTextOptions extends IHistoryMappingFragmentPrefixOptions {
73
+ detailsLineSeparator: string;
74
+ fragmentJoiner: string | null;
75
+ partSeparator: string;
90
76
  }
91
-
92
- interface IHistoryMappingItemsEntry {
93
- key: string;
94
- items: THistoryDetailsRawItem[];
77
+ export interface IHistoryMappingItemsEntry {
78
+ key: string;
79
+ items: THistoryDetailsRawItem[];
95
80
  }
96
-
97
- interface IHistoryMappingNumberOptions {
98
- fieldPathSeparator: string | null;
99
- numberSanitisePattern: RegExp | null;
81
+ export interface IHistoryMappingNumberOptions {
82
+ fieldPathSeparator: string | null;
83
+ numberSanitisePattern: RegExp | null;
100
84
  }
101
-
102
85
  /**
103
86
  * Checks whether a value can be mapped as a raw history item.
104
87
  *
105
88
  * @param value - The value to check.
106
89
  * @returns True when the value is an object record.
107
90
  */
108
- declare function isHistoryMappingItem(value: unknown): value is THistoryDetailsRawItem;
91
+ export declare function isHistoryMappingItem(value: unknown): value is THistoryDetailsRawItem;
109
92
  /**
110
93
  * Finds the first supported history item collection and filters it to mappable object items.
111
94
  *
@@ -113,7 +96,7 @@ declare function isHistoryMappingItem(value: unknown): value is THistoryDetailsR
113
96
  * @param keys - Candidate history item collection keys in priority order.
114
97
  * @returns The matched collection entry, or null when no array is present.
115
98
  */
116
- declare function getHistoryMappingItemsEntry(source: Record<string, unknown>, keys: readonly string[]): IHistoryMappingItemsEntry | null;
99
+ export declare function getHistoryMappingItemsEntry(source: Record<string, unknown>, keys: readonly string[]): IHistoryMappingItemsEntry | null;
117
100
  /**
118
101
  * Maps the first supported history item collection into consumer-owned row objects.
119
102
  *
@@ -122,7 +105,7 @@ declare function getHistoryMappingItemsEntry(source: Record<string, unknown>, ke
122
105
  * @param mapItemToRow - Row mapper owned by the consuming flow.
123
106
  * @returns Mapped rows.
124
107
  */
125
- declare function getHistoryMappingRows<TRow>(source: Record<string, unknown>, keys: readonly string[], mapItemToRow: (item: THistoryDetailsRawItem, index: number) => TRow): TRow[];
108
+ export declare function getHistoryMappingRows<TRow>(source: Record<string, unknown>, keys: readonly string[], mapItemToRow: (item: THistoryDetailsRawItem, index: number) => TRow): TRow[];
126
109
  /**
127
110
  * Gets a value from a history item using a field path.
128
111
  *
@@ -131,7 +114,7 @@ declare function getHistoryMappingRows<TRow>(source: Record<string, unknown>, ke
131
114
  * @param fieldPathSeparator - The path segment separator.
132
115
  * @returns The matched field value.
133
116
  */
134
- declare function getHistoryMappingValue(source: THistoryDetailsRawItem, path: string, fieldPathSeparator?: string): unknown;
117
+ export declare function getHistoryMappingValue(source: THistoryDetailsRawItem, path: string, fieldPathSeparator?: string): unknown;
135
118
  /**
136
119
  * Gets the first present string or number from the supplied history item paths.
137
120
  *
@@ -140,7 +123,7 @@ declare function getHistoryMappingValue(source: THistoryDetailsRawItem, path: st
140
123
  * @param fieldPathSeparator - The path segment separator.
141
124
  * @returns The first present string value.
142
125
  */
143
- declare function getHistoryMappingString(item: THistoryDetailsRawItem, paths: readonly string[], fieldPathSeparator?: string): string | null;
126
+ export declare function getHistoryMappingString(item: THistoryDetailsRawItem, paths: readonly string[], fieldPathSeparator?: string): string | null;
144
127
  /**
145
128
  * Gets the first finite number from the supplied history item paths.
146
129
  *
@@ -149,7 +132,7 @@ declare function getHistoryMappingString(item: THistoryDetailsRawItem, paths: re
149
132
  * @param options - Number mapping options.
150
133
  * @returns The first finite number value.
151
134
  */
152
- declare function getHistoryMappingNumber(item: THistoryDetailsRawItem, paths: readonly string[], options?: IHistoryMappingNumberOptions): number | null;
135
+ export declare function getHistoryMappingNumber(item: THistoryDetailsRawItem, paths: readonly string[], options?: IHistoryMappingNumberOptions): number | null;
153
136
  /**
154
137
  * Parses supported history date values to sortable UTC timestamps.
155
138
  *
@@ -157,7 +140,7 @@ declare function getHistoryMappingNumber(item: THistoryDetailsRawItem, paths: re
157
140
  * @param dateFormat - The configured input date format.
158
141
  * @returns The UTC timestamp in milliseconds, or null when parsing fails.
159
142
  */
160
- declare function parseHistoryDateTimestamp(value: unknown, dateFormat: IHistoryDetailsDateFormat): number | null;
143
+ export declare function parseHistoryDateTimestamp(value: unknown, dateFormat: IHistoryDetailsDateFormat): number | null;
161
144
  /**
162
145
  * Gets the first parseable date timestamp from the supplied history item paths.
163
146
  *
@@ -167,7 +150,7 @@ declare function parseHistoryDateTimestamp(value: unknown, dateFormat: IHistoryD
167
150
  * @param fieldPathSeparator - The path segment separator.
168
151
  * @returns The first parseable UTC timestamp in milliseconds.
169
152
  */
170
- declare function getHistoryMappingDateTimestamp(item: THistoryDetailsRawItem, paths: readonly string[], dateFormat: IHistoryDetailsDateFormat, fieldPathSeparator?: string): number | null;
153
+ export declare function getHistoryMappingDateTimestamp(item: THistoryDetailsRawItem, paths: readonly string[], dateFormat: IHistoryDetailsDateFormat, fieldPathSeparator?: string): number | null;
171
154
  /**
172
155
  * Gets the rendered prefix for a history details fragment.
173
156
  *
@@ -176,7 +159,7 @@ declare function getHistoryMappingDateTimestamp(item: THistoryDetailsRawItem, pa
176
159
  * @param options - Prefix display options.
177
160
  * @returns The rendered prefix.
178
161
  */
179
- declare function getHistoryMappingFragmentPrefix(fragment: Pick<IHistoryDetailsFragment, 'hyphen'>, index: number, options: IHistoryMappingFragmentPrefixOptions): string;
162
+ export declare function getHistoryMappingFragmentPrefix(fragment: Pick<IHistoryDetailsFragment, 'hyphen'>, index: number, options: IHistoryMappingFragmentPrefixOptions): string;
180
163
  /**
181
164
  * Converts transformed history details into plain text for table sorting.
182
165
  *
@@ -184,7 +167,7 @@ declare function getHistoryMappingFragmentPrefix(fragment: Pick<IHistoryDetailsF
184
167
  * @param options - Details text display options.
185
168
  * @returns Details text.
186
169
  */
187
- declare function getHistoryMappingDetailsText(details: IHistoryDetails, options: IHistoryMappingDetailsTextOptions): string;
170
+ export declare function getHistoryMappingDetailsText(details: IHistoryDetails, options: IHistoryMappingDetailsTextOptions): string;
188
171
  /**
189
172
  * Converts transformed history details parts into plain text for table sorting.
190
173
  *
@@ -192,8 +175,7 @@ declare function getHistoryMappingDetailsText(details: IHistoryDetails, options:
192
175
  * @param options - Details text display options.
193
176
  * @returns Details parts text.
194
177
  */
195
- declare function getHistoryMappingPartsText(parts: IHistoryDetailsPart[], options: IHistoryMappingDetailsTextOptions): string;
196
-
178
+ export declare function getHistoryMappingPartsText(parts: IHistoryDetailsPart[], options: IHistoryMappingDetailsTextOptions): string;
197
179
  /**
198
180
  * Transforms a raw history item into the configured structured details model.
199
181
  *
@@ -201,7 +183,7 @@ declare function getHistoryMappingPartsText(parts: IHistoryDetailsPart[], option
201
183
  * @param config - The domain-specific transformation configuration.
202
184
  * @returns The transformed details model.
203
185
  */
204
- declare function transformHistoryDetails(item: THistoryDetailsRawItem, config: IHistoryTransformationConfig): IHistoryDetails;
186
+ export declare function transformHistoryDetails(item: THistoryDetailsRawItem, config: IHistoryTransformationConfig): IHistoryDetails;
205
187
  /**
206
188
  * Transforms raw history items while preserving the rest of each item.
207
189
  *
@@ -209,8 +191,8 @@ declare function transformHistoryDetails(item: THistoryDetailsRawItem, config: I
209
191
  * @param config - The domain-specific transformation configuration.
210
192
  * @returns The items with transformed structured details.
211
193
  */
212
- declare function transformHistoryItems<T extends THistoryDetailsRawItem>(items: T[], config: IHistoryTransformationConfig): Array<Omit<T, 'details'> & {
213
- details: IHistoryDetails;
194
+ export declare function transformHistoryItems<T extends THistoryDetailsRawItem>(items: T[], config: IHistoryTransformationConfig): Array<Omit<T, 'details'> & {
195
+ details: IHistoryDetails;
214
196
  }>;
215
197
  /**
216
198
  * Builds fallback details from configured fallback fields when no transformer matches.
@@ -219,7 +201,7 @@ declare function transformHistoryItems<T extends THistoryDetailsRawItem>(items:
219
201
  * @param config - The domain-specific transformation configuration.
220
202
  * @returns The fallback structured details model.
221
203
  */
222
- declare function transformHistoryFallbackDetails(item: THistoryDetailsRawItem, config: IHistoryTransformationConfig): IHistoryDetails;
204
+ export declare function transformHistoryFallbackDetails(item: THistoryDetailsRawItem, config: IHistoryTransformationConfig): IHistoryDetails;
223
205
  /**
224
206
  * Creates a details object and normalises an empty secondary line to null.
225
207
  *
@@ -227,21 +209,21 @@ declare function transformHistoryFallbackDetails(item: THistoryDetailsRawItem, c
227
209
  * @param line2Parts - The secondary line parts.
228
210
  * @returns The structured details object.
229
211
  */
230
- declare function createHistoryDetails(line1Parts: Array<IHistoryDetailsPart | null>, line2Parts?: Array<IHistoryDetailsPart | null>): IHistoryDetails;
212
+ export declare function createHistoryDetails(line1Parts: Array<IHistoryDetailsPart | null>, line2Parts?: Array<IHistoryDetailsPart | null>): IHistoryDetails;
231
213
  /**
232
214
  * Creates a details part after removing empty fragments.
233
215
  *
234
216
  * @param fragments - The fragments for the part.
235
217
  * @returns The details part or null when no fragments are visible.
236
218
  */
237
- declare function createHistoryDetailsPart(fragments: IHistoryDetailsFragment[]): IHistoryDetailsPart | null;
219
+ export declare function createHistoryDetailsPart(fragments: IHistoryDetailsFragment[]): IHistoryDetailsPart | null;
238
220
  /**
239
221
  * Creates a text-only details part.
240
222
  *
241
223
  * @param text - The part text.
242
224
  * @returns The details part or null when text is empty.
243
225
  */
244
- declare function createHistoryTextPart(text: string | null): IHistoryDetailsPart | null;
226
+ export declare function createHistoryTextPart(text: string | null): IHistoryDetailsPart | null;
245
227
  /**
246
228
  * Creates a details part containing a bold label and plain value.
247
229
  *
@@ -249,7 +231,7 @@ declare function createHistoryTextPart(text: string | null): IHistoryDetailsPart
249
231
  * @param value - The value text.
250
232
  * @returns The labelled details part or null when value is empty.
251
233
  */
252
- declare function createHistoryLabelValuePart(label: string, value: string | null): IHistoryDetailsPart | null;
234
+ export declare function createHistoryLabelValuePart(label: string, value: string | null): IHistoryDetailsPart | null;
253
235
  /**
254
236
  * Creates a text fragment with default styling flags.
255
237
  *
@@ -257,7 +239,7 @@ declare function createHistoryLabelValuePart(label: string, value: string | null
257
239
  * @param options - Optional fragment styling and link metadata.
258
240
  * @returns The details fragment.
259
241
  */
260
- declare function createHistoryFragment(text: string, options?: IHistoryFragmentOptions): IHistoryDetailsFragment;
242
+ export declare function createHistoryFragment(text: string, options?: IHistoryFragmentOptions): IHistoryDetailsFragment;
261
243
  /**
262
244
  * Creates link metadata for a details fragment.
263
245
  *
@@ -265,7 +247,7 @@ declare function createHistoryFragment(text: string, options?: IHistoryFragmentO
265
247
  * @param emit - The emitted linked entity identifier.
266
248
  * @returns The fragment link metadata.
267
249
  */
268
- declare function createHistoryLink(type: string, emit: string): IHistoryDetailsLink;
250
+ export declare function createHistoryLink(type: string, emit: string): IHistoryDetailsLink;
269
251
  /**
270
252
  * Reads the first non-empty scalar value from candidate aliases as a string.
271
253
  *
@@ -275,7 +257,7 @@ declare function createHistoryLink(type: string, emit: string): IHistoryDetailsL
275
257
  * @param emptyValues - Values that should be treated as empty.
276
258
  * @returns The string value or null.
277
259
  */
278
- declare function getHistoryString(item: THistoryDetailsRawItem, aliases: string[], aliasPathPrefixes: string[], emptyValues: readonly unknown[]): string | null;
260
+ export declare function getHistoryString(item: THistoryDetailsRawItem, aliases: string[], aliasPathPrefixes: string[], emptyValues: readonly unknown[]): string | null;
279
261
  /**
280
262
  * Reads the first non-empty value from candidate aliases.
281
263
  *
@@ -285,7 +267,7 @@ declare function getHistoryString(item: THistoryDetailsRawItem, aliases: string[
285
267
  * @param emptyValues - Values that should be treated as empty.
286
268
  * @returns The matched value or null.
287
269
  */
288
- declare function getHistoryValue(item: THistoryDetailsRawItem, aliases: string[], aliasPathPrefixes: string[], emptyValues: readonly unknown[]): unknown;
270
+ export declare function getHistoryValue(item: THistoryDetailsRawItem, aliases: string[], aliasPathPrefixes: string[], emptyValues: readonly unknown[]): unknown;
289
271
  /**
290
272
  * Expands an alias into candidate dot-notated paths.
291
273
  *
@@ -293,7 +275,7 @@ declare function getHistoryValue(item: THistoryDetailsRawItem, aliases: string[]
293
275
  * @param aliasPathPrefixes - The prefixes used for unqualified aliases.
294
276
  * @returns The candidate paths.
295
277
  */
296
- declare function getHistoryAliasPaths(alias: string, aliasPathPrefixes: string[]): string[];
278
+ export declare function getHistoryAliasPaths(alias: string, aliasPathPrefixes: string[]): string[];
297
279
  /**
298
280
  * Reads a value from an history item using a dot-notated path.
299
281
  *
@@ -301,14 +283,14 @@ declare function getHistoryAliasPaths(alias: string, aliasPathPrefixes: string[]
301
283
  * @param path - The dot-notated path.
302
284
  * @returns The matched value or undefined.
303
285
  */
304
- declare function getHistoryValueByPath(item: THistoryDetailsRawItem, path: string): unknown;
286
+ export declare function getHistoryValueByPath(item: THistoryDetailsRawItem, path: string): unknown;
305
287
  /**
306
288
  * Checks whether a value is a non-null record.
307
289
  *
308
290
  * @param value - The value to check.
309
291
  * @returns True when the value is a record.
310
292
  */
311
- declare function isHistoryRecord(value: unknown): value is Record<string, unknown>;
293
+ export declare function isHistoryRecord(value: unknown): value is Record<string, unknown>;
312
294
  /**
313
295
  * Checks whether a value should be treated as empty.
314
296
  *
@@ -316,35 +298,35 @@ declare function isHistoryRecord(value: unknown): value is Record<string, unknow
316
298
  * @param emptyValues - Values that should be treated as empty.
317
299
  * @returns True when the value is empty.
318
300
  */
319
- declare function isHistoryEmptyValue(value: unknown, emptyValues: readonly unknown[]): boolean;
301
+ export declare function isHistoryEmptyValue(value: unknown, emptyValues: readonly unknown[]): boolean;
320
302
  /**
321
303
  * Checks whether a string value is present.
322
304
  *
323
305
  * @param value - The value to check.
324
306
  * @returns True when the value is a non-empty string.
325
307
  */
326
- declare function isHistoryPresentString(value: string | null): value is string;
308
+ export declare function isHistoryPresentString(value: string | null): value is string;
327
309
  /**
328
310
  * Normalises a history item type key for transformer lookup.
329
311
  *
330
312
  * @param value - The raw key.
331
313
  * @returns The normalised key or null.
332
314
  */
333
- declare function normaliseHistoryKey(value: string | null): string | null;
315
+ export declare function normaliseHistoryKey(value: string | null): string | null;
334
316
  /**
335
317
  * Normalises a transaction type code for switch matching.
336
318
  *
337
319
  * @param value - The raw transaction type.
338
320
  * @returns The normalised transaction type or null.
339
321
  */
340
- declare function normaliseHistoryTransactionType(value: string | null): string | null;
322
+ export declare function normaliseHistoryTransactionType(value: string | null): string | null;
341
323
  /**
342
324
  * Converts a camel, space, or hyphen value to snake case.
343
325
  *
344
326
  * @param value - The raw value.
345
327
  * @returns The snake case value.
346
328
  */
347
- declare function toHistorySnakeCase(value: string): string;
329
+ export declare function toHistorySnakeCase(value: string): string;
348
330
  /**
349
331
  * Formats configured date strings to the configured output format.
350
332
  *
@@ -352,7 +334,7 @@ declare function toHistorySnakeCase(value: string): string;
352
334
  * @param dateFormat - The input and output date formats.
353
335
  * @returns The formatted date or original value when parsing fails.
354
336
  */
355
- declare function formatHistoryDate(value: string | null, dateFormat: IHistoryDetailsDateFormat): string | null;
337
+ export declare function formatHistoryDate(value: string | null, dateFormat: IHistoryDetailsDateFormat): string | null;
356
338
  /**
357
339
  * Formats numeric values as currency while preserving preformatted text.
358
340
  *
@@ -361,7 +343,4 @@ declare function formatHistoryDate(value: string | null, dateFormat: IHistoryDet
361
343
  * @param emptyValues - Values that should be treated as empty.
362
344
  * @returns The formatted money text or null.
363
345
  */
364
- declare function formatHistoryMoney(value: unknown, currencyPrefix: string, emptyValues: readonly unknown[]): string | null;
365
-
366
- export { HISTORY_DETAILS_PATTERNS, HistoryTransformationService, createHistoryDetails, createHistoryDetailsPart, createHistoryFragment, createHistoryLabelValuePart, createHistoryLink, createHistoryTextPart, formatHistoryDate, formatHistoryMoney, getHistoryAliasPaths, getHistoryMappingDateTimestamp, getHistoryMappingDetailsText, getHistoryMappingFragmentPrefix, getHistoryMappingItemsEntry, getHistoryMappingNumber, getHistoryMappingPartsText, getHistoryMappingRows, getHistoryMappingString, getHistoryMappingValue, getHistoryString, getHistoryValue, getHistoryValueByPath, isHistoryEmptyValue, isHistoryMappingItem, isHistoryPresentString, isHistoryRecord, normaliseHistoryKey, normaliseHistoryTransactionType, parseHistoryDateTimestamp, toHistorySnakeCase, transformHistoryDetails, transformHistoryFallbackDetails, transformHistoryItems };
367
- export type { IHistoryDetails, IHistoryDetailsDateFormat, IHistoryDetailsFragment, IHistoryDetailsLink, IHistoryDetailsPart, IHistoryFragmentOptions, IHistoryMappingDetailsTextOptions, IHistoryMappingFragmentPrefixOptions, IHistoryMappingItemsEntry, IHistoryMappingNumberOptions, IHistoryTransformationConfig, THistoryDetailsRawItem, THistoryDetailsTransformer, THistoryDetailsTransformerConfig };
346
+ export declare function formatHistoryMoney(value: unknown, currencyPrefix: string, emptyValues: readonly unknown[]): string | null;
@@ -1,17 +1,14 @@
1
- declare const LAUNCH_DARKLY_CHANGE_FLAGS_MOCK: {
2
- flag1: {
3
- current: boolean;
4
- previous: boolean;
5
- };
6
- flag2: {
7
- current: boolean;
8
- previous: boolean;
9
- };
1
+ export declare const LAUNCH_DARKLY_CHANGE_FLAGS_MOCK: {
2
+ flag1: {
3
+ current: boolean;
4
+ previous: boolean;
5
+ };
6
+ flag2: {
7
+ current: boolean;
8
+ previous: boolean;
9
+ };
10
10
  };
11
-
12
- declare const LAUNCH_DARKLY_FLAGS_MOCK: {
13
- flag1: boolean;
14
- flag2: boolean;
15
- };
16
-
17
- export { LAUNCH_DARKLY_CHANGE_FLAGS_MOCK, LAUNCH_DARKLY_FLAGS_MOCK };
11
+ export declare const LAUNCH_DARKLY_FLAGS_MOCK: {
12
+ flag1: boolean;
13
+ flag2: boolean;
14
+ };
@@ -1,49 +1,46 @@
1
- import * as i0 from '@angular/core';
2
- import { OnDestroy } from '@angular/core';
3
-
4
- declare class LaunchDarklyService implements OnDestroy {
5
- private readonly globalStore;
6
- private ldClient;
7
- /**
8
- * Checks if the feature flag override is enabled in the global store's feature flag configuration.
9
- * @returns A boolean indicating whether the feature flag override is enabled or not.
10
- */
11
- private isFeatureFlagOverrideEnabled;
12
- /**
13
- * Sets the LaunchDarkly flags by updating the featureFlags in the state service.
14
- */
15
- private setLaunchDarklyFlags;
16
- /**
17
- * Formats the LDFlagChangeset into an LDFlagSet.
18
- *
19
- * @param flags - The LDFlagChangeset to be formatted.
20
- * @returns The formatted LDFlagSet.
21
- */
22
- private formatChangeFlags;
23
- /**
24
- * Closes the LaunchDarkly client if it is open.
25
- */
26
- private closeLaunchDarklyClient;
27
- /**
28
- * Initializes the LaunchDarkly change listener.
29
- * This method listens for changes in feature flags and updates the state accordingly.
30
- */
31
- initializeLaunchDarklyChangeListener(): void;
32
- /**
33
- * Initializes the LaunchDarkly flags and sets them.
34
- * If the LD client is already initialized, it waits for initialization and then sets the flags.
35
- * If the LD client is not initialized, it returns a resolved promise.
36
- * @returns A promise that resolves when the flags are set.
37
- */
38
- initializeLaunchDarklyFlags(): Promise<void>;
39
- /**
40
- * Initializes the LaunchDarkly client.
41
- * If a stored LaunchDarkly client ID exists, it initializes the client with the ID and anonymous mode enabled.
42
- */
43
- initializeLaunchDarklyClient(): void;
44
- ngOnDestroy(): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<LaunchDarklyService, never>;
46
- static ɵprov: i0.ɵɵInjectableDeclaration<LaunchDarklyService>;
47
- }
48
-
49
- export { LaunchDarklyService };
1
+ import * as i0 from "@angular/core";
2
+ import { OnDestroy } from "@angular/core";
3
+ export declare class LaunchDarklyService implements OnDestroy {
4
+ private readonly globalStore;
5
+ private ldClient;
6
+ /**
7
+ * Checks if the feature flag override is enabled in the global store's feature flag configuration.
8
+ * @returns A boolean indicating whether the feature flag override is enabled or not.
9
+ */
10
+ private isFeatureFlagOverrideEnabled;
11
+ /**
12
+ * Sets the LaunchDarkly flags by updating the featureFlags in the state service.
13
+ */
14
+ private setLaunchDarklyFlags;
15
+ /**
16
+ * Formats the LDFlagChangeset into an LDFlagSet.
17
+ *
18
+ * @param flags - The LDFlagChangeset to be formatted.
19
+ * @returns The formatted LDFlagSet.
20
+ */
21
+ private formatChangeFlags;
22
+ /**
23
+ * Closes the LaunchDarkly client if it is open.
24
+ */
25
+ private closeLaunchDarklyClient;
26
+ /**
27
+ * Initializes the LaunchDarkly change listener.
28
+ * This method listens for changes in feature flags and updates the state accordingly.
29
+ */
30
+ initializeLaunchDarklyChangeListener(): void;
31
+ /**
32
+ * Initializes the LaunchDarkly flags and sets them.
33
+ * If the LD client is already initialized, it waits for initialization and then sets the flags.
34
+ * If the LD client is not initialized, it returns a resolved promise.
35
+ * @returns A promise that resolves when the flags are set.
36
+ */
37
+ initializeLaunchDarklyFlags(): Promise<void>;
38
+ /**
39
+ * Initializes the LaunchDarkly client.
40
+ * If a stored LaunchDarkly client ID exists, it initializes the client with the ID and anonymous mode enabled.
41
+ */
42
+ initializeLaunchDarklyClient(): void;
43
+ ngOnDestroy(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<LaunchDarklyService, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<LaunchDarklyService>;
46
+ }
@@ -1,42 +1,34 @@
1
- interface IOpalUserPermissions {
2
- permission_id: number;
3
- permission_name: string;
1
+ export interface IOpalUserPermissions {
2
+ permission_id: number;
3
+ permission_name: string;
4
4
  }
5
-
6
- interface IOpalUserBusinessUnitUser {
7
- business_unit_user_id: string;
8
- business_unit_id: number;
9
- permissions: IOpalUserPermissions[];
5
+ export interface IOpalUserBusinessUnitUser {
6
+ business_unit_user_id: string;
7
+ business_unit_id: number;
8
+ permissions: IOpalUserPermissions[];
10
9
  }
11
-
12
- type OpalUserStateStatus = 'active' | 'created' | 'suspended' | 'deactivated';
13
-
14
- interface IOpalUserState {
15
- user_id: number;
16
- username: string;
17
- name: string;
18
- status: OpalUserStateStatus | null;
19
- version: number | null;
20
- business_unit_users: IOpalUserBusinessUnitUser[];
10
+ export type OpalUserStateStatus = 'active' | 'created' | 'suspended' | 'deactivated';
11
+ export interface IOpalUserState {
12
+ user_id: number;
13
+ username: string;
14
+ name: string;
15
+ status: OpalUserStateStatus | null;
16
+ version: number | null;
17
+ business_unit_users: IOpalUserBusinessUnitUser[];
21
18
  }
22
-
23
- type OpalUserStateResponseStatus = 'ACTIVE' | 'PENDING' | 'SUSPENDED' | 'DEACTIVATED';
24
-
19
+ export type OpalUserStateResponseStatus = 'ACTIVE' | 'PENDING' | 'SUSPENDED' | 'DEACTIVATED';
25
20
  interface IOpalUserStateResponseDomain {
26
- business_unit_users: IOpalUserBusinessUnitUser[];
21
+ business_unit_users: IOpalUserBusinessUnitUser[];
27
22
  }
28
- interface IOpalUserStateResponse {
29
- user_id: number;
30
- username: string;
31
- name: string;
32
- status: OpalUserStateResponseStatus | null;
33
- version: number | null;
34
- cache_name: string | null;
35
- domains: Record<string, IOpalUserStateResponseDomain | undefined>;
23
+ export interface IOpalUserStateResponse {
24
+ user_id: number;
25
+ username: string;
26
+ name: string;
27
+ status: OpalUserStateResponseStatus | null;
28
+ version: number | null;
29
+ cache_name: string | null;
30
+ domains: Record<string, IOpalUserStateResponseDomain | undefined>;
36
31
  }
37
-
38
- interface IOpalUserPaths {
39
- loggedInUserState: string;
40
- }
41
-
42
- export type { IOpalUserBusinessUnitUser, IOpalUserPaths, IOpalUserPermissions, IOpalUserState, IOpalUserStateResponse, OpalUserStateResponseStatus, OpalUserStateStatus };
32
+ export interface IOpalUserPaths {
33
+ loggedInUserState: string;
34
+ }