@hmcts/opal-frontend-common 0.0.109 → 0.0.111
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.
- package/fesm2022/hmcts-opal-frontend-common-access-denied.component-DuQgLlU6.mjs +57 -0
- package/fesm2022/hmcts-opal-frontend-common-account-created.component-DtlFlzU9.mjs +47 -0
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.mjs +73 -81
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.mjs +71 -92
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs +133 -233
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs +123 -251
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-parent-base.mjs +24 -43
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs +66 -94
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs +340 -616
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-base.mjs +25 -61
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs +88 -142
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-instances-table-base.mjs +48 -29
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-constants.mjs +14 -19
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base.mjs +144 -273
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs +104 -129
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs +123 -204
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.mjs +35 -121
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs +111 -183
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs +278 -275
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-accessible-monetary.mjs +66 -53
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.mjs +44 -21
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.mjs +44 -21
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.mjs +54 -27
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information.mjs +38 -17
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs +70 -37
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-deferred-live-region-announcement.mjs +109 -119
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs +38 -17
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs +40 -17
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.mjs +66 -27
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.mjs +44 -21
- 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
- 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
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.mjs +67 -42
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.mjs +40 -17
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.mjs +66 -27
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.mjs +42 -21
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs +36 -17
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs +125 -119
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs +46 -30
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs +72 -39
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs +54 -34
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs +303 -134
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs +163 -79
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs +45 -21
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.mjs +49 -33
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs +42 -20
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs +103 -41
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs +90 -39
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs +60 -26
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.mjs +53 -30
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list.mjs +36 -17
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs +75 -44
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs +80 -85
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs +53 -25
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs +397 -267
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs +164 -80
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-skip-link.mjs +61 -0
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs +153 -85
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs +246 -121
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs +224 -90
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +99 -76
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs +78 -51
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs +79 -72
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs +55 -25
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs +112 -46
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs +185 -104
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs +165 -95
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs +151 -81
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-helpers.mjs +5 -16
- package/fesm2022/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.mjs +65 -32
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs +396 -243
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs +55 -25
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.mjs +53 -28
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs +92 -60
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs +216 -165
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.mjs +44 -21
- 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
- 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
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.mjs +52 -33
- 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
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.mjs +63 -42
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.mjs +38 -17
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter.mjs +56 -34
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs +100 -41
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-inset-text.mjs +62 -26
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs +46 -21
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs +47 -21
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs +119 -164
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs +225 -172
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs +355 -188
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs +152 -96
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs +61 -29
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs +74 -26
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-BqsP0gj2.mjs +41 -0
- package/fesm2022/hmcts-opal-frontend-common-constants.mjs +7 -13
- package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs +55 -43
- package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs +86 -60
- package/fesm2022/hmcts-opal-frontend-common-directives-moj-multi-select.mjs +184 -223
- package/fesm2022/hmcts-opal-frontend-common-directives-trim-leading-trailing-whitespace.mjs +56 -40
- package/fesm2022/hmcts-opal-frontend-common-guards-account.mjs +17 -37
- package/fesm2022/hmcts-opal-frontend-common-guards-auth.mjs +30 -41
- package/fesm2022/hmcts-opal-frontend-common-guards-business-unit-route-permissions.mjs +31 -90
- package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate.mjs +3 -9
- package/fesm2022/hmcts-opal-frontend-common-guards-feature-flag.mjs +29 -64
- package/fesm2022/hmcts-opal-frontend-common-guards-has-flow-state.mjs +13 -20
- package/fesm2022/hmcts-opal-frontend-common-guards-has-url-state-match.mjs +19 -48
- package/fesm2022/hmcts-opal-frontend-common-guards-helpers.mjs +21 -54
- package/fesm2022/hmcts-opal-frontend-common-guards-route-permissions.mjs +20 -30
- package/fesm2022/hmcts-opal-frontend-common-guards-signed-in.mjs +13 -24
- package/fesm2022/hmcts-opal-frontend-common-guards-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-interceptors-content-digest.mjs +59 -107
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error-constants.mjs +11 -17
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error.mjs +74 -148
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry-constants.mjs +18 -13
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry.mjs +65 -134
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-8EP_PgKk.mjs +55 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-DuQgLlU6.mjs +57 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-DtlFlzU9.mjs +47 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-BqsP0gj2.mjs +41 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page.mjs +112 -62
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-8EP_PgKk.mjs +55 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-B3EkD8uw.mjs +41 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-routing-constants.mjs +22 -27
- package/fesm2022/hmcts-opal-frontend-common-pages-routing-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-CT2Bh7gD.mjs +127 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-BxpouMug.mjs +55 -0
- package/fesm2022/hmcts-opal-frontend-common-pages.mjs +51 -52
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-B3EkD8uw.mjs +41 -0
- package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs +41 -28
- package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs +43 -40
- package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs +43 -39
- package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs +41 -29
- package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs +37 -25
- package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs +68 -91
- package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs +74 -65
- package/fesm2022/hmcts-opal-frontend-common-services-auth-service-constants.mjs +6 -10
- package/fesm2022/hmcts-opal-frontend-common-services-auth-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs +49 -42
- package/fesm2022/hmcts-opal-frontend-common-services-date-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +118 -233
- package/fesm2022/hmcts-opal-frontend-common-services-history-transformation-service.mjs +185 -484
- package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.mjs +12 -11
- package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs +77 -115
- package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service-mocks.mjs +150 -159
- package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs +119 -202
- package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs +47 -68
- package/fesm2022/hmcts-opal-frontend-common-services-session-service-constants.mjs +3 -9
- package/fesm2022/hmcts-opal-frontend-common-services-session-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-session-service-mocks.mjs +4 -8
- package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs +50 -40
- package/fesm2022/hmcts-opal-frontend-common-services-sort-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs +56 -96
- package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-mocks.mjs +19 -26
- package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs +71 -99
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-constants.mjs +4 -8
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +65 -106
- package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs +104 -193
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-CT2Bh7gD.mjs +127 -0
- package/fesm2022/hmcts-opal-frontend-common-sign-in.component-Dz97ji3i.mjs +55 -0
- package/fesm2022/hmcts-opal-frontend-common-stores-global-constants.mjs +6 -10
- package/fesm2022/hmcts-opal-frontend-common-stores-global-interfaces.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-stores-global-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-stores-global.mjs +52 -57
- package/fesm2022/hmcts-opal-frontend-common-types.mjs +0 -4
- package/fesm2022/hmcts-opal-frontend-common-validators-amount.mjs +7 -18
- package/fesm2022/hmcts-opal-frontend-common-validators-date-after-year.mjs +8 -15
- package/fesm2022/hmcts-opal-frontend-common-validators-date-before.mjs +9 -18
- package/fesm2022/hmcts-opal-frontend-common-validators-date-of-birth.mjs +13 -21
- package/fesm2022/hmcts-opal-frontend-common-validators-future-date.mjs +9 -18
- package/fesm2022/hmcts-opal-frontend-common-validators-invalid-value.mjs +6 -12
- package/fesm2022/hmcts-opal-frontend-common-validators-national-insurance-number.mjs +9 -17
- package/fesm2022/hmcts-opal-frontend-common-validators-non-negative-value.mjs +10 -26
- package/fesm2022/hmcts-opal-frontend-common-validators-non-zero-value.mjs +10 -26
- package/fesm2022/hmcts-opal-frontend-common-validators-optional-max-length.mjs +7 -14
- package/fesm2022/hmcts-opal-frontend-common-validators-optional-valid-date.mjs +13 -26
- package/fesm2022/hmcts-opal-frontend-common-validators-optional-valid-telephone.mjs +12 -17
- package/fesm2022/hmcts-opal-frontend-common-validators-over-eighteen.mjs +19 -48
- package/fesm2022/hmcts-opal-frontend-common-validators-past-date.mjs +11 -19
- package/fesm2022/hmcts-opal-frontend-common-validators-pattern-validator.mjs +7 -26
- package/fesm2022/hmcts-opal-frontend-common-validators-valid-value.mjs +6 -12
- package/fesm2022/hmcts-opal-frontend-common.mjs +56 -76
- package/package.json +6 -1
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.d.ts +95 -104
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.d.ts +75 -78
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.d.ts +4 -7
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.d.ts +123 -126
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base-interfaces.d.ts +4 -7
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.d.ts +156 -159
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-parent-base.d.ts +13 -16
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base-interfaces.d.ts +5 -7
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.d.ts +46 -50
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-base-interfaces.d.ts +27 -35
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-base.d.ts +323 -328
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-base.d.ts +33 -36
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.d.ts +75 -78
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-instances-table-base.d.ts +15 -13
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-constants.d.ts +16 -19
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-interfaces.d.ts +23 -30
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-types.d.ts +1 -3
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base.d.ts +179 -188
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-interfaces.d.ts +6 -9
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.d.ts +66 -66
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-types.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.d.ts +112 -113
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.d.ts +83 -86
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-interfaces.d.ts +12 -15
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-types.d.ts +1 -3
- package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.d.ts +113 -116
- package/types/hmcts-opal-frontend-common-components-abstract-interfaces.d.ts +16 -23
- package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete-interfaces.d.ts +4 -6
- package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.d.ts +136 -95
- package/types/hmcts-opal-frontend-common-components-custom-custom-accessible-monetary.d.ts +35 -29
- package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.d.ts +6 -9
- package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.d.ts +6 -9
- package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.d.ts +12 -10
- package/types/hmcts-opal-frontend-common-components-custom-custom-account-information.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-custom-custom-action-links.d.ts +18 -12
- package/types/hmcts-opal-frontend-common-components-custom-custom-deferred-live-region-announcement.d.ts +67 -57
- package/types/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-custom-custom-page-header.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.d.ts +16 -10
- package/types/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.d.ts +11 -9
- 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
- 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
- package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.d.ts +26 -20
- package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.d.ts +16 -10
- package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.d.ts +11 -9
- package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-accordion.d.ts +72 -64
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-back-link.d.ts +16 -17
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-button.d.ts +29 -17
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.d.ts +22 -18
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes-interfaces.d.ts +14 -16
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.d.ts +96 -43
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input-interfaces.d.ts +13 -15
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input.d.ts +75 -34
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-details.d.ts +11 -9
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.d.ts +23 -19
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-footer-interfaces.d.ts +5 -7
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-footer.d.ts +14 -13
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-header-interfaces.d.ts +4 -6
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-header.d.ts +25 -23
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption-types.d.ts +1 -3
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.d.ts +32 -14
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.d.ts +16 -10
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.d.ts +16 -12
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-list.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.d.ts +37 -20
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-pagination.d.ts +59 -47
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-panel.d.ts +12 -10
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio-interfaces.d.ts +17 -20
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio.d.ts +162 -101
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-select-interfaces.d.ts +4 -6
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-select.d.ts +67 -26
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-skip-link.d.ts +20 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.d.ts +67 -35
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.d.ts +80 -47
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-table.d.ts +47 -30
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.d.ts +44 -34
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.d.ts +19 -17
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs.d.ts +44 -36
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tag.d.ts +16 -10
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-task-list.d.ts +35 -17
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-area.d.ts +83 -29
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.d.ts +74 -28
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input.d.ts +65 -23
- package/types/hmcts-opal-frontend-common-components-govuk-helpers.d.ts +1 -3
- package/types/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.d.ts +18 -12
- package/types/hmcts-opal-frontend-common-components-moj-moj-alert.d.ts +89 -69
- package/types/hmcts-opal-frontend-common-components-moj-moj-badge.d.ts +16 -10
- package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.d.ts +16 -12
- package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu.d.ts +32 -26
- package/types/hmcts-opal-frontend-common-components-moj-moj-date-picker.d.ts +116 -60
- package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.d.ts +11 -9
- 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
- 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
- package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.d.ts +22 -18
- 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
- package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.d.ts +29 -21
- package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.d.ts +5 -8
- package/types/hmcts-opal-frontend-common-components-moj-moj-filter.d.ts +23 -17
- package/types/hmcts-opal-frontend-common-components-moj-moj-header-interfaces.d.ts +4 -6
- package/types/hmcts-opal-frontend-common-components-moj-moj-header.d.ts +25 -23
- package/types/hmcts-opal-frontend-common-components-moj-moj-inset-text.d.ts +16 -10
- package/types/hmcts-opal-frontend-common-components-moj-moj-notification-badge.d.ts +11 -9
- package/types/hmcts-opal-frontend-common-components-moj-moj-page-header.d.ts +11 -9
- package/types/hmcts-opal-frontend-common-components-moj-moj-pagination.d.ts +99 -83
- package/types/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.d.ts +102 -67
- package/types/hmcts-opal-frontend-common-components-moj-moj-sortable-table.d.ts +83 -51
- package/types/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.d.ts +62 -42
- package/types/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.d.ts +21 -11
- package/types/hmcts-opal-frontend-common-components-moj-moj-timeline.d.ts +8 -12
- package/types/hmcts-opal-frontend-common-constants.d.ts +20 -25
- package/types/hmcts-opal-frontend-common-directives-capitalisation.d.ts +17 -15
- package/types/hmcts-opal-frontend-common-directives-govuk-button.d.ts +33 -21
- package/types/hmcts-opal-frontend-common-directives-moj-multi-select.d.ts +92 -69
- package/types/hmcts-opal-frontend-common-directives-trim-leading-trailing-whitespace.d.ts +13 -11
- package/types/hmcts-opal-frontend-common-guards-account.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-guards-auth.d.ts +4 -7
- package/types/hmcts-opal-frontend-common-guards-business-unit-route-permissions.d.ts +14 -19
- package/types/hmcts-opal-frontend-common-guards-can-deactivate-interfaces.d.ts +4 -7
- package/types/hmcts-opal-frontend-common-guards-can-deactivate-types.d.ts +3 -6
- package/types/hmcts-opal-frontend-common-guards-can-deactivate.d.ts +4 -8
- package/types/hmcts-opal-frontend-common-guards-feature-flag.d.ts +4 -7
- package/types/hmcts-opal-frontend-common-guards-has-flow-state.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-guards-has-url-state-match.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-guards-helpers.d.ts +8 -15
- package/types/hmcts-opal-frontend-common-guards-route-permissions.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-guards-signed-in.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-guards-types.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-interceptors-content-digest.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-interceptors-http-error-constants.d.ts +4 -9
- package/types/hmcts-opal-frontend-common-interceptors-http-error-interfaces.d.ts +9 -11
- package/types/hmcts-opal-frontend-common-interceptors-http-error.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-interceptors-http-retry-constants.d.ts +5 -11
- package/types/hmcts-opal-frontend-common-interceptors-http-retry-interfaces.d.ts +7 -9
- package/types/hmcts-opal-frontend-common-interceptors-http-retry.d.ts +9 -15
- package/types/hmcts-opal-frontend-common-pages-dashboard-page-interfaces.d.ts +17 -21
- package/types/hmcts-opal-frontend-common-pages-dashboard-page.d.ts +89 -96
- package/types/hmcts-opal-frontend-common-pages-routing-constants.d.ts +3 -7
- package/types/hmcts-opal-frontend-common-pages-routing-interfaces.d.ts +24 -29
- package/types/hmcts-opal-frontend-common-pages.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-pipes-date-format.d.ts +8 -11
- package/types/hmcts-opal-frontend-common-pipes-days-ago.d.ts +7 -10
- package/types/hmcts-opal-frontend-common-pipes-monetary.d.ts +8 -11
- package/types/hmcts-opal-frontend-common-pipes-national-insurance.d.ts +7 -10
- package/types/hmcts-opal-frontend-common-resolvers-title.d.ts +8 -11
- package/types/hmcts-opal-frontend-common-services-app-initializer-service.d.ts +37 -41
- package/types/hmcts-opal-frontend-common-services-app-insights-service.d.ts +14 -17
- package/types/hmcts-opal-frontend-common-services-auth-service-constants.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-services-auth-service-interfaces.d.ts +6 -8
- package/types/hmcts-opal-frontend-common-services-auth-service.d.ts +8 -12
- package/types/hmcts-opal-frontend-common-services-date-service-interfaces.d.ts +7 -9
- package/types/hmcts-opal-frontend-common-services-date-service.d.ts +149 -153
- package/types/hmcts-opal-frontend-common-services-history-transformation-service.d.ts +104 -125
- package/types/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.d.ts +13 -16
- package/types/hmcts-opal-frontend-common-services-launch-darkly-service.d.ts +46 -49
- package/types/hmcts-opal-frontend-common-services-opal-user-service-interfaces.d.ts +28 -36
- package/types/hmcts-opal-frontend-common-services-opal-user-service-mocks.d.ts +4 -9
- package/types/hmcts-opal-frontend-common-services-opal-user-service.d.ts +97 -104
- package/types/hmcts-opal-frontend-common-services-permissions-service.d.ts +33 -36
- package/types/hmcts-opal-frontend-common-services-session-service-constants.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-services-session-service-interfaces.d.ts +6 -9
- package/types/hmcts-opal-frontend-common-services-session-service-mocks.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-services-session-service.d.ts +17 -20
- package/types/hmcts-opal-frontend-common-services-sort-service-interfaces.d.ts +9 -13
- package/types/hmcts-opal-frontend-common-services-sort-service.d.ts +64 -67
- package/types/hmcts-opal-frontend-common-services-transfer-state-service-interfaces.d.ts +20 -26
- package/types/hmcts-opal-frontend-common-services-transfer-state-service-mocks.d.ts +11 -17
- package/types/hmcts-opal-frontend-common-services-transfer-state-service.d.ts +44 -47
- package/types/hmcts-opal-frontend-common-services-transformation-service-constants.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-services-transformation-service-interfaces.d.ts +12 -14
- package/types/hmcts-opal-frontend-common-services-transformation-service.d.ts +41 -44
- package/types/hmcts-opal-frontend-common-services-utils-service.d.ts +119 -114
- package/types/hmcts-opal-frontend-common-stores-global-constants.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-stores-global-interfaces.d.ts +6 -8
- package/types/hmcts-opal-frontend-common-stores-global-types.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-stores-global.d.ts +52 -57
- package/types/hmcts-opal-frontend-common-types.d.ts +1 -3
- package/types/hmcts-opal-frontend-common-validators-amount.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-date-after-year.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-date-before.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-date-of-birth.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-future-date.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-invalid-value.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-national-insurance-number.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-non-negative-value.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-non-zero-value.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-optional-max-length.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-optional-valid-date.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-optional-valid-telephone.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-over-eighteen.d.ts +3 -6
- package/types/hmcts-opal-frontend-common-validators-past-date.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-pattern-validator.d.ts +2 -5
- package/types/hmcts-opal-frontend-common-validators-valid-value.d.ts +2 -5
- package/types/hmcts-opal-frontend-common.d.ts +23 -31
- package/fesm2022/hmcts-opal-frontend-common-access-denied.component-DeYZkvfj.mjs +0 -21
- package/fesm2022/hmcts-opal-frontend-common-account-created.component-DUd7qbuq.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-BfPeI980.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-DzHlkMqq.mjs +0 -26
- package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-DeYZkvfj.mjs +0 -21
- package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-DUd7qbuq.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-BfPeI980.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-DzHlkMqq.mjs +0 -26
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-C28WmjEQ.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-BKGzFqXC.mjs +0 -42
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-DgVojWf0.mjs +0 -28
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-C28WmjEQ.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-BKGzFqXC.mjs +0 -42
- package/fesm2022/hmcts-opal-frontend-common-sign-in.component-BZz2kmre.mjs +0 -28
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { UrlTree } from
|
|
2
|
-
import { Observable } from
|
|
3
|
-
|
|
4
|
-
type CanDeactivateTypes = Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
5
|
-
|
|
6
|
-
export type { CanDeactivateTypes };
|
|
1
|
+
import { UrlTree } from "@angular/router";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
export type CanDeactivateTypes = Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { CanDeactivateFn } from
|
|
2
|
-
import { CanDeactivateTypes } from
|
|
3
|
-
|
|
1
|
+
import { CanDeactivateFn } from "@angular/router";
|
|
2
|
+
import { CanDeactivateTypes } from "@hmcts/opal-frontend-common/guards/can-deactivate/types";
|
|
4
3
|
interface ICanDeactivateCanComponentDeactivate {
|
|
5
|
-
|
|
4
|
+
canDeactivate: () => CanDeactivateTypes;
|
|
6
5
|
}
|
|
7
|
-
|
|
8
|
-
declare const canDeactivateGuard: CanDeactivateFn<ICanDeactivateCanComponentDeactivate>;
|
|
9
|
-
|
|
10
|
-
export { canDeactivateGuard };
|
|
6
|
+
export declare const canDeactivateGuard: CanDeactivateFn<ICanDeactivateCanComponentDeactivate>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivateFn, RouterStateSnapshot } from "@angular/router";
|
|
3
2
|
/**
|
|
4
3
|
* Resolves a feature flag route guard to a boolean result.
|
|
5
4
|
*
|
|
@@ -9,7 +8,7 @@ import { CanActivateFn, ActivatedRouteSnapshot, RouterStateSnapshot } from '@ang
|
|
|
9
8
|
* @returns A boolean that is true only when the feature flag guard allows access
|
|
10
9
|
*
|
|
11
10
|
*/
|
|
12
|
-
declare const resolveFeatureFlagGuard: (flagKey: string, route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Promise<boolean>;
|
|
11
|
+
export declare const resolveFeatureFlagGuard: (flagKey: string, route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Promise<boolean>;
|
|
13
12
|
/**
|
|
14
13
|
* Creates a route guard that checks if a specific feature flag is enabled before allowing access.
|
|
15
14
|
*
|
|
@@ -17,7 +16,7 @@ declare const resolveFeatureFlagGuard: (flagKey: string, route: ActivatedRouteSn
|
|
|
17
16
|
* @returns A CanActivateFn that returns true if the feature flag is enabled, false otherwise
|
|
18
17
|
*
|
|
19
18
|
*/
|
|
20
|
-
declare function featureFlagGuard(flagKey: string): CanActivateFn;
|
|
19
|
+
export declare function featureFlagGuard(flagKey: string): CanActivateFn;
|
|
21
20
|
/**
|
|
22
21
|
* Creates a route guard that redirects when a specific feature flag is not enabled.
|
|
23
22
|
*
|
|
@@ -26,6 +25,4 @@ declare function featureFlagGuard(flagKey: string): CanActivateFn;
|
|
|
26
25
|
* @returns A CanActivateFn that returns true if the feature flag is enabled, otherwise a UrlTree
|
|
27
26
|
*
|
|
28
27
|
*/
|
|
29
|
-
declare function featureFlagRedirectGuard(flagKey: string, redirectPath?: string): CanActivateFn;
|
|
30
|
-
|
|
31
|
-
export { featureFlagGuard, featureFlagRedirectGuard, resolveFeatureFlagGuard };
|
|
28
|
+
export declare function featureFlagRedirectGuard(flagKey: string, redirectPath?: string): CanActivateFn;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import { CanActivateFn } from
|
|
2
|
-
|
|
3
|
-
declare function hasFlowStateGuard<T>(getState: () => T, checkCondition: (state: T) => boolean, getNavigationPath: () => string): CanActivateFn;
|
|
4
|
-
|
|
5
|
-
export { hasFlowStateGuard };
|
|
1
|
+
import { CanActivateFn } from "@angular/router";
|
|
2
|
+
export declare function hasFlowStateGuard<T>(getState: () => T, checkCondition: (state: T) => boolean, getNavigationPath: () => string): CanActivateFn;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivateFn } from
|
|
2
|
-
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivateFn } from "@angular/router";
|
|
3
2
|
/**
|
|
4
3
|
* Creates a route guard that checks whether the current URL state matches specific conditions.
|
|
5
4
|
*
|
|
@@ -20,6 +19,4 @@ import { ActivatedRouteSnapshot, CanActivateFn } from '@angular/router';
|
|
|
20
19
|
* @returns A function implementing the CanActivate guard that returns `true` if the route and state meet the required conditions,
|
|
21
20
|
* or a UrlTree for redirection if they do not.
|
|
22
21
|
*/
|
|
23
|
-
declare function hasUrlStateMatchGuard<T>(getState: () => T, hasRouteParams: (route: ActivatedRouteSnapshot) => boolean, checkCondition: (state: T, route: ActivatedRouteSnapshot) => boolean, getNavigationPath: (route: ActivatedRouteSnapshot) => string): CanActivateFn;
|
|
24
|
-
|
|
25
|
-
export { hasUrlStateMatchGuard };
|
|
22
|
+
export declare function hasUrlStateMatchGuard<T>(getState: () => T, hasRouteParams: (route: ActivatedRouteSnapshot) => boolean, checkCondition: (state: T, route: ActivatedRouteSnapshot) => boolean, getNavigationPath: (route: ActivatedRouteSnapshot) => string): CanActivateFn;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CanActivateFn,
|
|
2
|
-
import { Observable } from
|
|
3
|
-
import { GuardReturnType } from
|
|
4
|
-
|
|
1
|
+
import { CanActivateFn, GuardResult, MaybeAsync } from "@angular/router";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { GuardReturnType } from "@hmcts/opal-frontend-common/guards/types";
|
|
5
4
|
/**
|
|
6
5
|
* Returns a function that invokes the specified guard with a dummy route and state.
|
|
7
6
|
* The dummy route and state are created using the provided `urlPath`.
|
|
@@ -10,28 +9,22 @@ import { GuardReturnType } from '@hmcts/opal-frontend-common/guards/types';
|
|
|
10
9
|
* @param urlPath - The URL path to be used in the dummy route and state.
|
|
11
10
|
* @returns A function that invokes the guard with the dummy route and state.
|
|
12
11
|
*/
|
|
13
|
-
declare function getGuardWithDummyUrl(guard: CanActivateFn, urlPath: string): () => GuardReturnType | Promise<GuardReturnType> | Observable<GuardReturnType>;
|
|
14
|
-
|
|
12
|
+
export declare function getGuardWithDummyUrl(guard: CanActivateFn, urlPath: string): () => GuardReturnType | Promise<GuardReturnType> | Observable<GuardReturnType>;
|
|
15
13
|
/**
|
|
16
14
|
* Converts an Observable result to a Promise.
|
|
17
15
|
* @param result The Observable result to handle.
|
|
18
16
|
* @returns A Promise that resolves with the value of the Observable.
|
|
19
17
|
*/
|
|
20
|
-
declare function handleObservableResult(result: Observable<GuardReturnType>): Promise<GuardReturnType>;
|
|
21
|
-
|
|
18
|
+
export declare function handleObservableResult(result: Observable<GuardReturnType>): Promise<GuardReturnType>;
|
|
22
19
|
/**
|
|
23
20
|
* Converts any valid Angular guard result into a promise so callers can await the final value consistently.
|
|
24
21
|
*/
|
|
25
|
-
declare const resolveGuardResult: (result: MaybeAsync<GuardResult>) => Promise<GuardResult>;
|
|
26
|
-
|
|
22
|
+
export declare const resolveGuardResult: (result: MaybeAsync<GuardResult>) => Promise<GuardResult>;
|
|
27
23
|
/**
|
|
28
24
|
* Runs an authentication guard function within the injection context of TestBed.
|
|
29
25
|
*
|
|
30
26
|
* @param authGuard - The authentication guard function to run.
|
|
31
27
|
* @returns A promise that resolves to a boolean or UrlTree indicating whether the user is authenticated.
|
|
32
28
|
*/
|
|
33
|
-
declare function runAuthGuardWithContext(authGuard: () => GuardReturnType | Promise<GuardReturnType> | Observable<GuardReturnType>): Promise<GuardReturnType>;
|
|
34
|
-
|
|
35
|
-
declare function runHasFlowStateGuardWithContext(hasFlowStateGuard: () => GuardReturnType | Promise<GuardReturnType> | Observable<GuardReturnType>): Promise<GuardReturnType>;
|
|
36
|
-
|
|
37
|
-
export { getGuardWithDummyUrl, handleObservableResult, resolveGuardResult, runAuthGuardWithContext, runHasFlowStateGuardWithContext };
|
|
29
|
+
export declare function runAuthGuardWithContext(authGuard: () => GuardReturnType | Promise<GuardReturnType> | Observable<GuardReturnType>): Promise<GuardReturnType>;
|
|
30
|
+
export declare function runHasFlowStateGuardWithContext(hasFlowStateGuard: () => GuardReturnType | Promise<GuardReturnType> | Observable<GuardReturnType>): Promise<GuardReturnType>;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { CanActivateFn } from
|
|
2
|
-
|
|
1
|
+
import { CanActivateFn } from "@angular/router";
|
|
3
2
|
/**
|
|
4
3
|
* A guard that checks if the user is signed in.
|
|
5
4
|
* If the user is signed in, it redirects to the default route.
|
|
6
5
|
* If the user is not signed in, it allows access to the route.
|
|
7
6
|
* @returns An Observable<boolean> indicating whether the user is signed in or not.
|
|
8
7
|
*/
|
|
9
|
-
declare const signedInGuard: CanActivateFn;
|
|
10
|
-
|
|
11
|
-
export { signedInGuard };
|
|
8
|
+
export declare const signedInGuard: CanActivateFn;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type GuardReturnType = boolean | UrlTree | RedirectCommand;
|
|
4
|
-
|
|
5
|
-
export type { GuardReturnType };
|
|
1
|
+
import { RedirectCommand, UrlTree } from "@angular/router";
|
|
2
|
+
export type GuardReturnType = boolean | UrlTree | RedirectCommand;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import { HttpInterceptorFn } from
|
|
2
|
-
|
|
3
|
-
declare const contentDigestInterceptor: HttpInterceptorFn;
|
|
4
|
-
|
|
5
|
-
export { contentDigestInterceptor };
|
|
1
|
+
import { HttpInterceptorFn } from "@angular/common/http";
|
|
2
|
+
export declare const contentDigestInterceptor: HttpInterceptorFn;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import { IErrorResponse } from
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
declare const GENERIC_HTTP_ERROR_MESSAGE = "You can try again. If the problem persists, contact the service desk.";
|
|
6
|
-
|
|
7
|
-
declare const GENERIC_HTTP_ERROR_TITLE = "There was a problem";
|
|
8
|
-
|
|
9
|
-
export { ERROR_RESPONSE, GENERIC_HTTP_ERROR_MESSAGE, GENERIC_HTTP_ERROR_TITLE };
|
|
1
|
+
import { IErrorResponse } from "@hmcts/opal-frontend-common/interceptors/http-error/interfaces";
|
|
2
|
+
export declare const ERROR_RESPONSE: IErrorResponse;
|
|
3
|
+
export declare const GENERIC_HTTP_ERROR_MESSAGE = "You can try again. If the problem persists, contact the service desk.";
|
|
4
|
+
export declare const GENERIC_HTTP_ERROR_TITLE = "There was a problem";
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
interface IErrorResponse {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type { IErrorResponse };
|
|
1
|
+
export interface IErrorResponse {
|
|
2
|
+
type: string | null;
|
|
3
|
+
title: string | null;
|
|
4
|
+
status: number | null;
|
|
5
|
+
detail: string | null;
|
|
6
|
+
instance: string | null;
|
|
7
|
+
operation_id: string | null;
|
|
8
|
+
retriable: boolean | null;
|
|
9
|
+
}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import { HttpInterceptorFn } from
|
|
2
|
-
|
|
3
|
-
declare const httpErrorInterceptor: HttpInterceptorFn;
|
|
4
|
-
|
|
5
|
-
export { httpErrorInterceptor };
|
|
1
|
+
import { HttpInterceptorFn } from "@angular/common/http";
|
|
2
|
+
export declare const httpErrorInterceptor: HttpInterceptorFn;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
declare const MAX_HTTP_RETRY_BACKOFF_MULTIPLIER = 10;
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
declare const HTTP_NON_RETRYABLE_STATUS_CODES: readonly number[];
|
|
8
|
-
|
|
9
|
-
declare const HTTP_RETRYABLE_STATUS_CODES: readonly number[];
|
|
10
|
-
|
|
11
|
-
export { HTTP_NON_RETRYABLE_STATUS_CODES, HTTP_RETRYABLE_STATUS_CODES, MAX_HTTP_RETRY_BACKOFF_MULTIPLIER, MAX_HTTP_RETRY_COUNT, MAX_HTTP_RETRY_DELAY_MS };
|
|
1
|
+
export declare const MAX_HTTP_RETRY_BACKOFF_MULTIPLIER = 10;
|
|
2
|
+
export declare const MAX_HTTP_RETRY_COUNT = 2;
|
|
3
|
+
export declare const MAX_HTTP_RETRY_DELAY_MS = 30000;
|
|
4
|
+
export declare const HTTP_NON_RETRYABLE_STATUS_CODES: readonly number[];
|
|
5
|
+
export declare const HTTP_RETRYABLE_STATUS_CODES: readonly number[];
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
interface IHttpRetryPolicy {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export interface IHttpRetryPolicy {
|
|
2
|
+
retryCount: number;
|
|
3
|
+
delayMs: number;
|
|
4
|
+
backoffMultiplier: number;
|
|
5
|
+
maxDelayMs: number;
|
|
6
|
+
retryableStatusCodes: readonly number[];
|
|
7
7
|
}
|
|
8
|
-
type IHttpRetryPolicyOptions = Partial<IHttpRetryPolicy>;
|
|
9
|
-
|
|
10
|
-
export type { IHttpRetryPolicy, IHttpRetryPolicyOptions };
|
|
8
|
+
export type IHttpRetryPolicyOptions = Partial<IHttpRetryPolicy>;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { HttpContext, HttpInterceptorFn } from "@angular/common/http";
|
|
3
2
|
/**
|
|
4
3
|
* Retries opted-in GET requests when they fail with configured transient HTTP errors.
|
|
5
4
|
*/
|
|
6
|
-
declare const httpRetryInterceptor: HttpInterceptorFn;
|
|
7
|
-
|
|
5
|
+
export declare const httpRetryInterceptor: HttpInterceptorFn;
|
|
8
6
|
interface IHttpRetryPolicy {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
retryCount: number;
|
|
8
|
+
delayMs: number;
|
|
9
|
+
backoffMultiplier: number;
|
|
10
|
+
maxDelayMs: number;
|
|
11
|
+
retryableStatusCodes: readonly number[];
|
|
14
12
|
}
|
|
15
13
|
type IHttpRetryPolicyOptions = Partial<IHttpRetryPolicy>;
|
|
16
|
-
|
|
17
14
|
/**
|
|
18
15
|
* Enables HTTP retry for a request by adding the normalized retry policy to its context.
|
|
19
16
|
*/
|
|
20
|
-
declare function withHttpRetry(policy: IHttpRetryPolicyOptions, context?: HttpContext): HttpContext;
|
|
21
|
-
|
|
17
|
+
export declare function withHttpRetry(policy: IHttpRetryPolicyOptions, context?: HttpContext): HttpContext;
|
|
22
18
|
/**
|
|
23
19
|
* Disables HTTP retry for a request by setting a zero retry count on its context.
|
|
24
20
|
*/
|
|
25
|
-
declare function withoutHttpRetry(context?: HttpContext): HttpContext;
|
|
26
|
-
|
|
27
|
-
export { httpRetryInterceptor, withHttpRetry, withoutHttpRetry };
|
|
21
|
+
export declare function withoutHttpRetry(context?: HttpContext): HttpContext;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
interface IDashboardPageConfigurationLink {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export interface IDashboardPageConfigurationLink {
|
|
2
|
+
id: string;
|
|
3
|
+
text: string;
|
|
4
|
+
routerLink: string[];
|
|
5
|
+
fragment: string | null;
|
|
6
|
+
permissionIds: number[];
|
|
7
|
+
newTab: boolean;
|
|
8
|
+
style: string | null;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
links: IDashboardPageConfigurationLink[];
|
|
10
|
+
export interface IDashboardPageConfigurationLinkGroup {
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
links: IDashboardPageConfigurationLink[];
|
|
15
14
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export type { IDashboardPageConfiguration, IDashboardPageConfigurationLink, IDashboardPageConfigurationLinkGroup };
|
|
15
|
+
export interface IDashboardPageConfiguration {
|
|
16
|
+
title: string;
|
|
17
|
+
highlights: IDashboardPageConfigurationLink[];
|
|
18
|
+
groups: IDashboardPageConfigurationLinkGroup[];
|
|
19
|
+
}
|
|
@@ -1,103 +1,96 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as _hmcts_opal_frontend_common_stores_global_interfaces from '@hmcts/opal-frontend-common/stores/global/interfaces';
|
|
3
|
-
import * as _hmcts_opal_frontend_common_services_session_service_interfaces from '@hmcts/opal-frontend-common/services/session-service/interfaces';
|
|
4
|
-
import * as _hmcts_opal_frontend_common_services_transfer_state_service_interfaces from '@hmcts/opal-frontend-common/services/transfer-state-service/interfaces';
|
|
5
|
-
import * as _hmcts_opal_frontend_common_services_opal_user_service_interfaces from '@hmcts/opal-frontend-common/services/opal-user-service/interfaces';
|
|
6
|
-
import * as _ngrx_signals from '@ngrx/signals';
|
|
7
|
-
import * as _angular_core from '@angular/core';
|
|
8
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
9
2
|
interface IDashboardPageConfigurationLink {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
routerLink: string[];
|
|
6
|
+
fragment: string | null;
|
|
7
|
+
permissionIds: number[];
|
|
8
|
+
newTab: boolean;
|
|
9
|
+
style: string | null;
|
|
17
10
|
}
|
|
18
|
-
|
|
19
11
|
interface IDashboardPageConfigurationLinkGroup {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
links: IDashboardPageConfigurationLink[];
|
|
23
15
|
}
|
|
24
|
-
|
|
25
16
|
interface IDashboardPageConfiguration {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
title: string;
|
|
18
|
+
highlights: IDashboardPageConfigurationLink[];
|
|
19
|
+
groups: IDashboardPageConfigurationLinkGroup[];
|
|
29
20
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
operationId: string | null;
|
|
40
|
-
}>;
|
|
41
|
-
featureFlags: _angular_core.Signal<{}>;
|
|
42
|
-
userState: _ngrx_signals.DeepSignal<_hmcts_opal_frontend_common_services_opal_user_service_interfaces.IOpalUserState>;
|
|
43
|
-
ssoEnabled: _angular_core.Signal<boolean>;
|
|
44
|
-
launchDarklyConfig: _ngrx_signals.DeepSignal<_hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateLaunchDarklyConfig>;
|
|
45
|
-
appInsightsConfig: _ngrx_signals.DeepSignal<_hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateAppInsightsConfig>;
|
|
46
|
-
tokenExpiry: _ngrx_signals.DeepSignal<_hmcts_opal_frontend_common_services_session_service_interfaces.ISessionTokenExpiry>;
|
|
47
|
-
userStateCacheExpirationMilliseconds: _angular_core.Signal<number>;
|
|
48
|
-
userStateDomain: _angular_core.Signal<string | undefined>;
|
|
49
|
-
featureFlagConfig: _ngrx_signals.DeepSignal<_hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateFeatureFlagConfig>;
|
|
50
|
-
setAuthenticated: (authenticated: boolean) => void;
|
|
51
|
-
setBannerError: (error: _hmcts_opal_frontend_common_stores_global_interfaces.IGlobalErrorState) => void;
|
|
52
|
-
resetBannerError: () => void;
|
|
53
|
-
setFeatureFlags: (featureFlags: launchdarkly_js_sdk_common.LDFlagSet) => void;
|
|
54
|
-
setUserState: (userState: _hmcts_opal_frontend_common_services_opal_user_service_interfaces.IOpalUserState) => void;
|
|
55
|
-
setSsoEnabled: (ssoEnabled: boolean) => void;
|
|
56
|
-
setLaunchDarklyConfig: (config: _hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateLaunchDarklyConfig) => void;
|
|
57
|
-
setAppInsightsConfig: (config: _hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateAppInsightsConfig) => void;
|
|
58
|
-
setTokenExpiry: (tokenExpiry: _hmcts_opal_frontend_common_services_session_service_interfaces.ISessionTokenExpiry) => void;
|
|
59
|
-
setUserStateCacheExpirationMilliseconds: (milliseconds: number) => void;
|
|
60
|
-
setUserStateDomain: (domain: string) => void;
|
|
61
|
-
setFeatureFlagConfig: (config: _hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateFeatureFlagConfig) => void;
|
|
62
|
-
} & _ngrx_signals.StateSource<{
|
|
63
|
-
authenticated: boolean;
|
|
64
|
-
bannerError: {
|
|
65
|
-
error: boolean | null;
|
|
66
|
-
title: string | null;
|
|
67
|
-
message: string | null;
|
|
68
|
-
operationId: string | null;
|
|
69
|
-
};
|
|
70
|
-
featureFlags: {};
|
|
71
|
-
userState: _hmcts_opal_frontend_common_services_opal_user_service_interfaces.IOpalUserState;
|
|
72
|
-
ssoEnabled: boolean;
|
|
73
|
-
launchDarklyConfig: _hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateLaunchDarklyConfig;
|
|
74
|
-
appInsightsConfig: _hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateAppInsightsConfig;
|
|
75
|
-
tokenExpiry: _hmcts_opal_frontend_common_services_session_service_interfaces.ISessionTokenExpiry;
|
|
76
|
-
userStateCacheExpirationMilliseconds: number;
|
|
77
|
-
userStateDomain: string | undefined;
|
|
78
|
-
featureFlagConfig: _hmcts_opal_frontend_common_services_transfer_state_service_interfaces.ITransferStateFeatureFlagConfig;
|
|
21
|
+
export declare class DashboardPage {
|
|
22
|
+
private readonly permissionService;
|
|
23
|
+
readonly globalStore: {
|
|
24
|
+
authenticated: import("@angular/core").Signal<boolean>;
|
|
25
|
+
bannerError: import("@ngrx/signals").DeepSignal<{
|
|
26
|
+
error: boolean | null;
|
|
27
|
+
title: string | null;
|
|
28
|
+
message: string | null;
|
|
29
|
+
operationId: string | null;
|
|
79
30
|
}>;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
31
|
+
featureFlags: import("@angular/core").Signal<{}>;
|
|
32
|
+
userState: import("@ngrx/signals").DeepSignal<import("@hmcts/opal-frontend-common/services/opal-user-service/interfaces").IOpalUserState>;
|
|
33
|
+
ssoEnabled: import("@angular/core").Signal<boolean>;
|
|
34
|
+
launchDarklyConfig: import("@ngrx/signals").DeepSignal<import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateLaunchDarklyConfig>;
|
|
35
|
+
appInsightsConfig: import("@ngrx/signals").DeepSignal<import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateAppInsightsConfig>;
|
|
36
|
+
tokenExpiry: import("@ngrx/signals").DeepSignal<import("@hmcts/opal-frontend-common/services/session-service/interfaces").ISessionTokenExpiry>;
|
|
37
|
+
userStateCacheExpirationMilliseconds: import("@angular/core").Signal<number>;
|
|
38
|
+
userStateDomain: import("@angular/core").Signal<string | undefined>;
|
|
39
|
+
featureFlagConfig: import("@ngrx/signals").DeepSignal<import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateFeatureFlagConfig>;
|
|
40
|
+
setAuthenticated: (authenticated: boolean) => void;
|
|
41
|
+
setBannerError: (error: import("@hmcts/opal-frontend-common/stores/global/interfaces").IGlobalErrorState) => void;
|
|
42
|
+
resetBannerError: () => void;
|
|
43
|
+
setFeatureFlags: (featureFlags: import("launchdarkly-js-sdk-common").LDFlagSet) => void;
|
|
44
|
+
setUserState: (userState: import("@hmcts/opal-frontend-common/services/opal-user-service/interfaces").IOpalUserState) => void;
|
|
45
|
+
setSsoEnabled: (ssoEnabled: boolean) => void;
|
|
46
|
+
setLaunchDarklyConfig: (config: import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateLaunchDarklyConfig) => void;
|
|
47
|
+
setAppInsightsConfig: (config: import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateAppInsightsConfig) => void;
|
|
48
|
+
setTokenExpiry: (tokenExpiry: import("@hmcts/opal-frontend-common/services/session-service/interfaces").ISessionTokenExpiry) => void;
|
|
49
|
+
setUserStateCacheExpirationMilliseconds: (milliseconds: number) => void;
|
|
50
|
+
setUserStateDomain: (domain: string) => void;
|
|
51
|
+
setFeatureFlagConfig: (config: import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateFeatureFlagConfig) => void;
|
|
52
|
+
} & import("@ngrx/signals").StateSource<{
|
|
53
|
+
authenticated: boolean;
|
|
54
|
+
bannerError: {
|
|
55
|
+
error: boolean | null;
|
|
56
|
+
title: string | null;
|
|
57
|
+
message: string | null;
|
|
58
|
+
operationId: string | null;
|
|
59
|
+
};
|
|
60
|
+
featureFlags: {};
|
|
61
|
+
userState: import("@hmcts/opal-frontend-common/services/opal-user-service/interfaces").IOpalUserState;
|
|
62
|
+
ssoEnabled: boolean;
|
|
63
|
+
launchDarklyConfig: import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateLaunchDarklyConfig;
|
|
64
|
+
appInsightsConfig: import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateAppInsightsConfig;
|
|
65
|
+
tokenExpiry: import("@hmcts/opal-frontend-common/services/session-service/interfaces").ISessionTokenExpiry;
|
|
66
|
+
userStateCacheExpirationMilliseconds: number;
|
|
67
|
+
userStateDomain: string | undefined;
|
|
68
|
+
featureFlagConfig: import("@hmcts/opal-frontend-common/services/transfer-state-service/interfaces").ITransferStateFeatureFlagConfig;
|
|
69
|
+
}>;
|
|
70
|
+
dashboardConfig: IDashboardPageConfiguration;
|
|
71
|
+
/**
|
|
72
|
+
* Computes the unique permission ids for the current user from the global store.
|
|
73
|
+
*/
|
|
74
|
+
readonly permissionIds: import("@angular/core").Signal<number[]>;
|
|
75
|
+
/**
|
|
76
|
+
* Returns whether a dashboard link is visible for the current user.
|
|
77
|
+
* Empty permission arrays are treated as unrestricted links.
|
|
78
|
+
* @param linkPermissionIds - Permission ids configured for the link.
|
|
79
|
+
*/
|
|
80
|
+
private hasLinkPermission;
|
|
81
|
+
/**
|
|
82
|
+
* Returns highlights that the current user is permitted to view.
|
|
83
|
+
*/
|
|
84
|
+
get visibleHighlights(): IDashboardPageConfigurationLink[];
|
|
85
|
+
/**
|
|
86
|
+
* Returns groups with links filtered by permissions, excluding empty groups.
|
|
87
|
+
*/
|
|
88
|
+
get visibleGroups(): IDashboardPageConfigurationLinkGroup[];
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardPage, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardPage, "opal-lib-dashboard-page", never, {
|
|
91
|
+
"dashboardConfig": {
|
|
92
|
+
"alias": "dashboardConfig";
|
|
93
|
+
"required": true;
|
|
94
|
+
};
|
|
95
|
+
}, {}, never, never, true, never>;
|
|
96
|
+
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { IPagesRoutingPaths } from
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
declare const PAGES_ROUTING_TITLES: IPagesRoutingPaths;
|
|
6
|
-
|
|
7
|
-
export { PAGES_ROUTING_PATHS, PAGES_ROUTING_TITLES };
|
|
1
|
+
import { IPagesRoutingPaths } from "@hmcts/opal-frontend-common/pages/routing/interfaces";
|
|
2
|
+
export declare const PAGES_ROUTING_PATHS: IPagesRoutingPaths;
|
|
3
|
+
export declare const PAGES_ROUTING_TITLES: IPagesRoutingPaths;
|
|
@@ -1,32 +1,27 @@
|
|
|
1
|
-
interface IChildRoutingPaths {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export interface IChildRoutingPaths {
|
|
2
|
+
root: string;
|
|
3
|
+
children: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
buttonText: string;
|
|
7
|
+
export interface INestedRoutes {
|
|
8
|
+
nextRoute: string;
|
|
9
|
+
buttonText: string;
|
|
11
10
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
11
|
+
export interface IParentRoutingPaths {
|
|
12
|
+
root: string;
|
|
13
|
+
children: {
|
|
14
|
+
[key: string]: IChildRoutingPaths;
|
|
15
|
+
};
|
|
18
16
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type { IChildRoutingPaths, INestedRoutes, IPagesRoutingPaths, IParentRoutingPaths };
|
|
17
|
+
export interface IPagesRoutingPaths extends IChildRoutingPaths {
|
|
18
|
+
children: {
|
|
19
|
+
accessDenied: string;
|
|
20
|
+
concurrencyFailure: string;
|
|
21
|
+
permissionDenied: string;
|
|
22
|
+
internalServerError: string;
|
|
23
|
+
signIn: string;
|
|
24
|
+
signInStub: string;
|
|
25
|
+
accountCreated: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { PipeTransform } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { DateFormatPipe };
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { PipeTransform } from "@angular/core";
|
|
3
|
+
export declare class DateFormatPipe implements PipeTransform {
|
|
4
|
+
private readonly dateService;
|
|
5
|
+
transform(value: string | null | undefined, inputFormat: string, outputFormat: string): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "dateFormat", true>;
|
|
8
|
+
}
|