@hmcts/opal-frontend-common 0.0.108 → 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.
- 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 -263
- 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-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 +102 -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 +3 -3
- 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 -93
- 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-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 +111 -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-BDTGvQ4J.mjs +0 -21
- package/fesm2022/hmcts-opal-frontend-common-account-created.component-6jzTqXSI.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-D43W-peK.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-DftC2eY-.mjs +0 -26
- package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-BDTGvQ4J.mjs +0 -21
- package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-6jzTqXSI.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-D43W-peK.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-DftC2eY-.mjs +0 -26
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-CNGPX5k_.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-BIgTV7f1.mjs +0 -42
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-0pu6fIcO.mjs +0 -28
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-CNGPX5k_.mjs +0 -14
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-BIgTV7f1.mjs +0 -42
- package/fesm2022/hmcts-opal-frontend-common-sign-in.component-BxUlQIYI.mjs +0 -28
|
@@ -1,43 +1,63 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
3
|
+
export declare class MojSubNavigationItemComponent {
|
|
4
|
+
private readonly router;
|
|
5
|
+
private readonly route;
|
|
6
|
+
subNavItemId: string;
|
|
7
|
+
subNavItemFragment: string;
|
|
8
|
+
subNavItemText: string;
|
|
9
|
+
activeSubNavItemFragment: string;
|
|
10
|
+
hostClass: string;
|
|
11
|
+
hostId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Handles the click event of a sub-navigation item.
|
|
14
|
+
* @param event - The click event.
|
|
15
|
+
* @param item - The item string.
|
|
16
|
+
*/
|
|
17
|
+
handleItemClick(event: Event, item: string): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojSubNavigationItemComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojSubNavigationItemComponent, "opal-lib-moj-sub-navigation-item, [opal-lib-moj-sub-navigation-item]", never, {
|
|
20
|
+
"subNavItemId": {
|
|
21
|
+
"alias": "subNavItemId";
|
|
22
|
+
"required": true;
|
|
23
|
+
};
|
|
24
|
+
"subNavItemFragment": {
|
|
25
|
+
"alias": "subNavItemFragment";
|
|
26
|
+
"required": true;
|
|
27
|
+
};
|
|
28
|
+
"subNavItemText": {
|
|
29
|
+
"alias": "subNavItemText";
|
|
30
|
+
"required": true;
|
|
31
|
+
};
|
|
32
|
+
"activeSubNavItemFragment": {
|
|
33
|
+
"alias": "activeSubNavItemFragment";
|
|
34
|
+
"required": true;
|
|
35
|
+
};
|
|
36
|
+
}, {}, never, ["[badge]"], true, never>;
|
|
21
37
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
export declare class MojSubNavigationComponent implements OnInit, OnDestroy {
|
|
39
|
+
private readonly route;
|
|
40
|
+
private readonly ngUnsubscribe;
|
|
41
|
+
subNavId: string;
|
|
42
|
+
activeSubNavItemFragment: EventEmitter<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Sets up the listeners for the route fragment changes.
|
|
45
|
+
* Emits the active navigation item when a fragment is present in the route.
|
|
46
|
+
*/
|
|
47
|
+
private setupListeners;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Lifecycle hook that is called when the component is about to be destroyed.
|
|
51
|
+
* Unsubscribes from the route fragment subscription.
|
|
52
|
+
*/
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojSubNavigationComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojSubNavigationComponent, "opal-lib-moj-sub-navigation", never, {
|
|
56
|
+
"subNavId": {
|
|
57
|
+
"alias": "subNavId";
|
|
58
|
+
"required": true;
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
"activeSubNavItemFragment": "activeSubNavItemFragment";
|
|
62
|
+
}, never, ["*"], true, never>;
|
|
63
|
+
}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojTicketPanelComponent {
|
|
3
|
+
componentClasses: string;
|
|
4
|
+
sectionClasses: string;
|
|
5
|
+
alert: boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojTicketPanelComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojTicketPanelComponent, "opal-lib-moj-ticket-panel", never, {
|
|
8
|
+
"componentClasses": {
|
|
9
|
+
"alias": "componentClasses";
|
|
10
|
+
"required": false;
|
|
11
|
+
};
|
|
12
|
+
"sectionClasses": {
|
|
13
|
+
"alias": "sectionClasses";
|
|
14
|
+
"required": false;
|
|
15
|
+
};
|
|
16
|
+
"alert": {
|
|
17
|
+
"alias": "alert";
|
|
18
|
+
"required": false;
|
|
19
|
+
};
|
|
20
|
+
}, {}, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MojTimelineItemComponent, "opal-lib-moj-timeline-item", never, {}, {}, never, ["[title]", "[user]", "[date]", "[description]"], true, never>;
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojTimelineItemComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojTimelineItemComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojTimelineItemComponent, "opal-lib-moj-timeline-item", never, {}, {}, never, ["[title]", "[user]", "[date]", "[description]"], true, never>;
|
|
6
5
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { MojTimelineComponent, MojTimelineItemComponent };
|
|
6
|
+
export declare class MojTimelineComponent {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojTimelineComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojTimelineComponent, "opal-lib-moj-timeline", never, {}, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
import { IGovukFooterLinks } from
|
|
2
|
-
import { IMojHeaderLinks } from
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
declare const
|
|
7
|
-
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
12
|
-
declare const
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
15
|
-
declare const
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
18
|
-
declare const
|
|
19
|
-
declare const
|
|
20
|
-
declare const
|
|
21
|
-
declare const ACCOUNT_NUMBER_PATTERN: RegExp;
|
|
22
|
-
declare const SINGLE_ASCII_CHARACTERS: RegExp;
|
|
23
|
-
declare const SINGLE_ASCII_CHARACTERS_WITH_POUND: RegExp;
|
|
24
|
-
|
|
25
|
-
export { ACCOUNT_NUMBER_PATTERN, ADDRESS_LINE_PATTERN, ALPHANUMERIC_WITH_HYPHENS_SPACES_APOSTROPHES_COMMAS_DOT_PATTERN, ALPHANUMERIC_WITH_HYPHENS_SPACES_APOSTROPHES_DOT_PATTERN, ALPHANUMERIC_WITH_SPACES_PATTERN, DRIVING_LICENCE_NUMBER_PATTERN, EMAIL_ADDRESS_PATTERN, FOOTER_LINKS, HEADER_LINKS, LETTERS_SPACES_HYPHENS_APOSTROPHES_DOT_PATTERN, LETTERS_WITH_SPACES_DOT_PATTERN, LETTERS_WITH_SPACES_PATTERN, NUMERIC_PATTERN, SINGLE_ASCII_CHARACTERS, SINGLE_ASCII_CHARACTERS_WITH_POUND, SPECIAL_CHARACTERS_PATTERN, TIME_FORMAT_PATTERN, TWO_DECIMAL_PLACES_PATTERN };
|
|
1
|
+
import { IGovukFooterLinks } from "@hmcts/opal-frontend-common/components/govuk/govuk-footer/interfaces";
|
|
2
|
+
import { IMojHeaderLinks } from "@hmcts/opal-frontend-common/components/moj/moj-header/interfaces";
|
|
3
|
+
export declare const FOOTER_LINKS: IGovukFooterLinks;
|
|
4
|
+
export declare const HEADER_LINKS: IMojHeaderLinks;
|
|
5
|
+
export declare const ALPHANUMERIC_WITH_SPACES_PATTERN: RegExp;
|
|
6
|
+
export declare const ADDRESS_LINE_PATTERN: RegExp;
|
|
7
|
+
export declare const ALPHANUMERIC_WITH_HYPHENS_SPACES_APOSTROPHES_DOT_PATTERN: RegExp;
|
|
8
|
+
export declare const ALPHANUMERIC_WITH_HYPHENS_SPACES_APOSTROPHES_COMMAS_DOT_PATTERN: RegExp;
|
|
9
|
+
export declare const LETTERS_WITH_SPACES_PATTERN: RegExp;
|
|
10
|
+
export declare const LETTERS_WITH_SPACES_DOT_PATTERN: RegExp;
|
|
11
|
+
export declare const LETTERS_SPACES_HYPHENS_APOSTROPHES_DOT_PATTERN: RegExp;
|
|
12
|
+
export declare const SPECIAL_CHARACTERS_PATTERN: RegExp;
|
|
13
|
+
export declare const NUMERIC_PATTERN: RegExp;
|
|
14
|
+
export declare const DRIVING_LICENCE_NUMBER_PATTERN: RegExp;
|
|
15
|
+
export declare const EMAIL_ADDRESS_PATTERN: RegExp;
|
|
16
|
+
export declare const TIME_FORMAT_PATTERN: RegExp;
|
|
17
|
+
export declare const TWO_DECIMAL_PLACES_PATTERN: RegExp;
|
|
18
|
+
export declare const ACCOUNT_NUMBER_PATTERN: RegExp;
|
|
19
|
+
export declare const SINGLE_ASCII_CHARACTERS: RegExp;
|
|
20
|
+
export declare const SINGLE_ASCII_CHARACTERS_WITH_POUND: RegExp;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { AbstractControl } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
3
|
+
import { AbstractControl } from "@angular/forms";
|
|
4
|
+
export declare class CapitalisationDirective implements OnInit, OnDestroy {
|
|
5
|
+
private readonly destroy$;
|
|
6
|
+
private readonly utilsService;
|
|
7
|
+
control: AbstractControl;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalisationDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CapitalisationDirective, "[opalLibCapitaliseAllCharacters]", never, {
|
|
12
|
+
"control": {
|
|
13
|
+
"alias": "opalLibCapitaliseAllCharacters";
|
|
14
|
+
"required": false;
|
|
15
|
+
};
|
|
16
|
+
}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -1,21 +1,33 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { EventEmitter } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
3
|
+
export declare class GovukButtonDirective {
|
|
4
|
+
buttonId: string;
|
|
5
|
+
buttonClasses: string;
|
|
6
|
+
type: 'button' | 'submit' | 'reset';
|
|
7
|
+
buttonClickEvent: EventEmitter<boolean>;
|
|
8
|
+
get id(): string;
|
|
9
|
+
get buttonType(): "button" | "submit" | "reset";
|
|
10
|
+
get classes(): string;
|
|
11
|
+
dataModule: string;
|
|
12
|
+
/**
|
|
13
|
+
* Handles the button click event.
|
|
14
|
+
*/
|
|
15
|
+
handleButtonClick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukButtonDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GovukButtonDirective, "[opalLibGovukButton]", never, {
|
|
18
|
+
"buttonId": {
|
|
19
|
+
"alias": "buttonId";
|
|
20
|
+
"required": true;
|
|
21
|
+
};
|
|
22
|
+
"buttonClasses": {
|
|
23
|
+
"alias": "buttonClasses";
|
|
24
|
+
"required": false;
|
|
25
|
+
};
|
|
26
|
+
"type": {
|
|
27
|
+
"alias": "type";
|
|
28
|
+
"required": false;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
"buttonClickEvent": "buttonClickEvent";
|
|
32
|
+
}, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -1,70 +1,96 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
3
|
+
export type MultiSelectRowIdentifier = string | number;
|
|
4
|
+
export declare class MojMultiSelectBodyDirective implements OnInit, OnChanges {
|
|
5
|
+
private readonly hostElementRef;
|
|
6
|
+
private readonly baseClasses;
|
|
7
|
+
rowId: MultiSelectRowIdentifier;
|
|
8
|
+
ariaLabel: string;
|
|
9
|
+
extraClasses: string;
|
|
10
|
+
selectionChange: EventEmitter<{
|
|
9
11
|
rowId: MultiSelectRowIdentifier;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
12
|
+
checked: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Synchronises the nested checkbox aria-label based on directive inputs.
|
|
16
|
+
*/
|
|
17
|
+
private syncInputState;
|
|
18
|
+
get classes(): string;
|
|
19
|
+
/**
|
|
20
|
+
* Applies initial input aria-label after directive initialisation.
|
|
21
|
+
*/
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Re-syncs checkbox aria-label when aria-related inputs change.
|
|
25
|
+
*
|
|
26
|
+
* @param changes - Angular change map for current input updates.
|
|
27
|
+
*/
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
+
onCheckboxChange(event: Event): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojMultiSelectBodyDirective, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MojMultiSelectBodyDirective, "opal-lib-govuk-checkboxes-item[opalLibMojMultiSelectBody], [opal-lib-govuk-checkboxes-item][opalLibMojMultiSelectBody]", never, {
|
|
32
|
+
"rowId": {
|
|
33
|
+
"alias": "rowId";
|
|
34
|
+
"required": true;
|
|
35
|
+
};
|
|
36
|
+
"ariaLabel": {
|
|
37
|
+
"alias": "ariaLabel";
|
|
38
|
+
"required": false;
|
|
39
|
+
};
|
|
40
|
+
"extraClasses": {
|
|
41
|
+
"alias": "extraClasses";
|
|
42
|
+
"required": false;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
"selectionChange": "selectionChange";
|
|
46
|
+
}, never, never, true, never>;
|
|
34
47
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
48
|
+
export declare class MojMultiSelectHeadDirective implements OnInit, OnChanges {
|
|
49
|
+
private readonly hostElementRef;
|
|
50
|
+
private readonly baseClasses;
|
|
51
|
+
extraClasses: string;
|
|
52
|
+
selectAllIndeterminate: boolean;
|
|
53
|
+
ariaLabel: string;
|
|
54
|
+
toggleAll: EventEmitter<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* Synchronises the nested checkbox UI state with directive inputs.
|
|
57
|
+
* Updates indeterminate and aria-label when the input element is present.
|
|
58
|
+
*/
|
|
59
|
+
private syncInputState;
|
|
60
|
+
get classes(): string;
|
|
61
|
+
/**
|
|
62
|
+
* Applies the initial checkbox aria and indeterminate state after init.
|
|
63
|
+
*/
|
|
64
|
+
ngOnInit(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Re-syncs checkbox state when relevant inputs change.
|
|
67
|
+
*
|
|
68
|
+
* @param changes - Angular change map for current input updates.
|
|
69
|
+
*/
|
|
70
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
71
|
+
onCheckboxChange(event: Event): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojMultiSelectHeadDirective, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MojMultiSelectHeadDirective, "opal-lib-govuk-checkboxes-item[opalLibMojMultiSelectHead], [opal-lib-govuk-checkboxes-item][opalLibMojMultiSelectHead]", never, {
|
|
74
|
+
"extraClasses": {
|
|
75
|
+
"alias": "extraClasses";
|
|
76
|
+
"required": false;
|
|
77
|
+
};
|
|
78
|
+
"selectAllIndeterminate": {
|
|
79
|
+
"alias": "selectAllIndeterminate";
|
|
80
|
+
"required": false;
|
|
81
|
+
};
|
|
82
|
+
"ariaLabel": {
|
|
83
|
+
"alias": "ariaLabel";
|
|
84
|
+
"required": false;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
"toggleAll": "toggleAll";
|
|
88
|
+
}, never, never, true, never>;
|
|
62
89
|
}
|
|
63
|
-
|
|
64
90
|
/**
|
|
65
91
|
* Resolves a unique row id from a row value and its index.
|
|
66
92
|
*/
|
|
67
|
-
type MultiSelectRowIdResolver<TRow, TRowId extends MultiSelectRowIdentifier> = (row: TRow, index: number) => TRowId;
|
|
93
|
+
export type MultiSelectRowIdResolver<TRow, TRowId extends MultiSelectRowIdentifier> = (row: TRow, index: number) => TRowId;
|
|
68
94
|
/**
|
|
69
95
|
* Checks whether a single row is currently selected.
|
|
70
96
|
*
|
|
@@ -73,7 +99,7 @@ type MultiSelectRowIdResolver<TRow, TRowId extends MultiSelectRowIdentifier> = (
|
|
|
73
99
|
* @param selectedRowIds - Current selected row id set.
|
|
74
100
|
* @param getRowId - Resolver used to extract row id.
|
|
75
101
|
*/
|
|
76
|
-
declare const isMultiSelectRowSelected: <TRow, TRowId extends MultiSelectRowIdentifier>(row: TRow, index: number, selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>) => boolean;
|
|
102
|
+
export declare const isMultiSelectRowSelected: <TRow, TRowId extends MultiSelectRowIdentifier>(row: TRow, index: number, selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>) => boolean;
|
|
77
103
|
/**
|
|
78
104
|
* Checks whether all visible rows are selected.
|
|
79
105
|
* Returns false when there are no rows.
|
|
@@ -82,7 +108,7 @@ declare const isMultiSelectRowSelected: <TRow, TRowId extends MultiSelectRowIden
|
|
|
82
108
|
* @param selectedRowIds - Current selected row id set.
|
|
83
109
|
* @param getRowId - Resolver used to extract row id.
|
|
84
110
|
*/
|
|
85
|
-
declare const areAllMultiSelectRowsSelected: <TRow, TRowId extends MultiSelectRowIdentifier>(rows: readonly TRow[], selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>) => boolean;
|
|
111
|
+
export declare const areAllMultiSelectRowsSelected: <TRow, TRowId extends MultiSelectRowIdentifier>(rows: readonly TRow[], selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>) => boolean;
|
|
86
112
|
/**
|
|
87
113
|
* Checks whether selection is partial for the current rows.
|
|
88
114
|
* Returns true only when at least one row is selected and at least one is unselected.
|
|
@@ -91,7 +117,7 @@ declare const areAllMultiSelectRowsSelected: <TRow, TRowId extends MultiSelectRo
|
|
|
91
117
|
* @param selectedRowIds - Current selected row id set.
|
|
92
118
|
* @param getRowId - Resolver used to extract row id.
|
|
93
119
|
*/
|
|
94
|
-
declare const areSomeMultiSelectRowsSelected: <TRow, TRowId extends MultiSelectRowIdentifier>(rows: readonly TRow[], selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>) => boolean;
|
|
120
|
+
export declare const areSomeMultiSelectRowsSelected: <TRow, TRowId extends MultiSelectRowIdentifier>(rows: readonly TRow[], selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>) => boolean;
|
|
95
121
|
/**
|
|
96
122
|
* Toggles selection for a single row id and returns a new selection set.
|
|
97
123
|
*
|
|
@@ -99,7 +125,7 @@ declare const areSomeMultiSelectRowsSelected: <TRow, TRowId extends MultiSelectR
|
|
|
99
125
|
* @param rowId - Row id to add or remove.
|
|
100
126
|
* @param checked - True to add; false to remove.
|
|
101
127
|
*/
|
|
102
|
-
declare const toggleMultiSelectRow: <TRowId extends MultiSelectRowIdentifier>(selectedRowIds: ReadonlySet<TRowId>, rowId: TRowId, checked: boolean) => Set<TRowId>;
|
|
128
|
+
export declare const toggleMultiSelectRow: <TRowId extends MultiSelectRowIdentifier>(selectedRowIds: ReadonlySet<TRowId>, rowId: TRowId, checked: boolean) => Set<TRowId>;
|
|
103
129
|
/**
|
|
104
130
|
* Toggles selection for all visible rows and returns a new selection set.
|
|
105
131
|
* Existing ids not present in `rows` are preserved.
|
|
@@ -109,7 +135,4 @@ declare const toggleMultiSelectRow: <TRowId extends MultiSelectRowIdentifier>(se
|
|
|
109
135
|
* @param getRowId - Resolver used to extract row id.
|
|
110
136
|
* @param checked - True to add visible ids; false to remove visible ids.
|
|
111
137
|
*/
|
|
112
|
-
declare const toggleAllMultiSelectRows: <TRow, TRowId extends MultiSelectRowIdentifier>(rows: readonly TRow[], selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>, checked: boolean) => Set<TRowId>;
|
|
113
|
-
|
|
114
|
-
export { MojMultiSelectBodyDirective, MojMultiSelectHeadDirective, areAllMultiSelectRowsSelected, areSomeMultiSelectRowsSelected, isMultiSelectRowSelected, toggleAllMultiSelectRows, toggleMultiSelectRow };
|
|
115
|
-
export type { MultiSelectRowIdResolver, MultiSelectRowIdentifier };
|
|
138
|
+
export declare const toggleAllMultiSelectRows: <TRow, TRowId extends MultiSelectRowIdentifier>(rows: readonly TRow[], selectedRowIds: ReadonlySet<TRowId>, getRowId: MultiSelectRowIdResolver<TRow, TRowId>, checked: boolean) => Set<TRowId>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { AbstractControl } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { AbstractControl } from "@angular/forms";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TrimLeadingTrailingWhitespaceDirective {
|
|
4
|
+
control: AbstractControl;
|
|
5
|
+
onFocusOut(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrimLeadingTrailingWhitespaceDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TrimLeadingTrailingWhitespaceDirective, "[opalLibTrimLeadingTrailingWhitespace]", never, {
|
|
8
|
+
"control": {
|
|
9
|
+
"alias": "opalLibTrimLeadingTrailingWhitespace";
|
|
10
|
+
"required": false;
|
|
11
|
+
};
|
|
12
|
+
}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { CanActivateFn } from
|
|
2
|
-
|
|
1
|
+
import { CanActivateFn } from "@angular/router";
|
|
3
2
|
/**
|
|
4
3
|
* A route guard that determines whether a user can activate a route based on their account status.
|
|
5
4
|
*
|
|
@@ -11,6 +10,4 @@ import { CanActivateFn } from '@angular/router';
|
|
|
11
10
|
*
|
|
12
11
|
* @returns An observable that emits either `true` to activate the route or a `UrlTree` to redirect the user.
|
|
13
12
|
*/
|
|
14
|
-
declare const accountGuard: CanActivateFn;
|
|
15
|
-
|
|
16
|
-
export { accountGuard };
|
|
13
|
+
export declare const accountGuard: CanActivateFn;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { CanActivateFn } from
|
|
2
|
-
import { InjectionToken } from
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
declare const authGuard: CanActivateFn;
|
|
6
|
-
|
|
7
|
-
export { REDIRECT_TO_SSO, authGuard };
|
|
1
|
+
import { CanActivateFn } from "@angular/router";
|
|
2
|
+
import { InjectionToken } from "@angular/core";
|
|
3
|
+
export declare const REDIRECT_TO_SSO: InjectionToken<() => void>;
|
|
4
|
+
export declare const authGuard: CanActivateFn;
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import { InjectionToken } from
|
|
2
|
-
import { ActivatedRouteSnapshot,
|
|
3
|
-
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { ActivatedRouteSnapshot, CanActivateFn, MaybeAsync } from "@angular/router";
|
|
4
3
|
/**
|
|
5
4
|
* Contract implemented by consuming apps to resolve the business unit for the active route.
|
|
6
5
|
*/
|
|
7
|
-
interface BusinessUnitIdResolver {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
export interface BusinessUnitIdResolver {
|
|
7
|
+
/**
|
|
8
|
+
* Resolves the business unit id that should be used for route-level permission checks.
|
|
9
|
+
*
|
|
10
|
+
* Return `null` when the business unit cannot be determined for the route.
|
|
11
|
+
*
|
|
12
|
+
* @param route - The route being protected by the business-unit permission guard.
|
|
13
|
+
* @returns The business unit id, or `null` when no valid business unit is available.
|
|
14
|
+
*/
|
|
15
|
+
resolveBusinessUnitId(route: ActivatedRouteSnapshot): MaybeAsync<number | null>;
|
|
17
16
|
}
|
|
18
|
-
|
|
19
17
|
/**
|
|
20
18
|
* Injection token used by consuming applications to provide a resolver that can
|
|
21
19
|
* determine the business unit for the current route context.
|
|
22
20
|
*/
|
|
23
|
-
declare const BUSINESS_UNIT_ID_RESOLVER: InjectionToken<BusinessUnitIdResolver>;
|
|
21
|
+
export declare const BUSINESS_UNIT_ID_RESOLVER: InjectionToken<BusinessUnitIdResolver>;
|
|
24
22
|
/**
|
|
25
23
|
* Guard that checks route permissions against the business unit resolved for the
|
|
26
24
|
* current route instead of against the user's global permission set.
|
|
@@ -32,7 +30,4 @@ declare const BUSINESS_UNIT_ID_RESOLVER: InjectionToken<BusinessUnitIdResolver>;
|
|
|
32
30
|
* @param route - The route being activated.
|
|
33
31
|
* @returns `true` when access is allowed, otherwise a redirect to access denied.
|
|
34
32
|
*/
|
|
35
|
-
declare const businessUnitRoutePermissionsGuard: CanActivateFn;
|
|
36
|
-
|
|
37
|
-
export { BUSINESS_UNIT_ID_RESOLVER, businessUnitRoutePermissionsGuard };
|
|
38
|
-
export type { BusinessUnitIdResolver };
|
|
33
|
+
export declare const businessUnitRoutePermissionsGuard: CanActivateFn;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { CanDeactivateTypes } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export type { ICanDeactivateCanComponentDeactivate };
|
|
1
|
+
import { CanDeactivateTypes } from "@hmcts/opal-frontend-common/guards/can-deactivate/types";
|
|
2
|
+
export interface ICanDeactivateCanComponentDeactivate {
|
|
3
|
+
canDeactivate: () => CanDeactivateTypes;
|
|
4
|
+
}
|