@hmcts/opal-frontend-common 0.0.2 → 0.0.4
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/components/abstract/abstract-form-alias-base/abstract-form-alias-base.d.ts +117 -0
- package/components/abstract/abstract-form-alias-base/interfaces/abstract-form-alias-base-alias-controls.interface.d.ts +4 -0
- package/components/abstract/abstract-form-array-base/abstract-form-array-base.d.ts +158 -0
- package/components/abstract/abstract-form-array-parent-base/abstract-form-array-parent-base.component.d.ts +13 -0
- package/components/abstract/abstract-form-array-removal-base/abstract-form-array-removal-base.component.d.ts +44 -0
- package/components/abstract/abstract-form-array-removal-base/interfaces/abstract-form-array-removal-base-control-value.interface.d.ts +5 -0
- package/components/abstract/abstract-form-base/abstract-form-base.component.d.ts +232 -0
- package/components/abstract/abstract-form-base/interfaces/abstract-form-base-field-error.interface.d.ts +6 -0
- package/components/abstract/abstract-form-base/interfaces/abstract-form-base-field-errors.interface.d.ts +4 -0
- package/components/abstract/abstract-form-base/interfaces/abstract-form-base-form-error.interface.d.ts +6 -0
- package/components/abstract/abstract-form-base/interfaces/abstract-form-base-form.interface.d.ts +4 -0
- package/components/abstract/abstract-form-base/interfaces/abstract-form-base-high-priority-form-error.interface.d.ts +5 -0
- package/components/abstract/abstract-form-base/interfaces/abstract-form-base-status.interface.d.ts +3 -0
- package/components/abstract/abstract-form-parent-base/abstract-form-parent-base.component.d.ts +29 -0
- package/components/abstract/abstract-sortable-table/abstract-sortable-table.component.d.ts +79 -0
- package/components/abstract/abstract-sortable-table/interfaces/abstract-sortable-table-interfaces.d.ts +7 -0
- package/components/abstract/abstract-sortable-table-pagination/abstract-sortable-table-pagination.component.d.ts +31 -0
- package/components/abstract/index.d.ts +5 -0
- package/components/abstract/interfaces/abstract-form-array-control-validation.interface.d.ts +5 -0
- package/components/abstract/interfaces/abstract-form-array-control.interface.d.ts +5 -0
- package/components/abstract/interfaces/abstract-form-array-controls.interface.d.ts +4 -0
- package/components/abstract/interfaces/abstract-form-base-form-error-summary-message.interface.d.ts +4 -0
- package/components/abstract/interfaces/abstract-form-control-error-message.interface.d.ts +3 -0
- package/components/abstract/public-api.d.ts +21 -0
- package/components/alphagov/alphagov-accessible-autocomplete/alphagov-accessible-autocomplete.component.d.ts +59 -0
- package/components/alphagov/alphagov-accessible-autocomplete/interfaces/alphagov-accessible-autocomplete-item.interface.d.ts +4 -0
- package/components/alphagov/index.d.ts +5 -0
- package/components/alphagov/public-api.d.ts +2 -0
- package/components/govuk/govuk-accordion/govuk-accordion.component.d.ts +13 -0
- package/components/govuk/govuk-back-link/govuk-back-link.component.d.ts +14 -0
- package/components/govuk/govuk-cancel-link/govuk-cancel-link.component.d.ts +12 -0
- package/components/govuk/govuk-checkboxes/govuk-checkboxes-conditional/govuk-checkboxes-conditional.component.d.ts +10 -0
- package/components/govuk/govuk-checkboxes/govuk-checkboxes-divider/govuk-checkboxes-divider.component.d.ts +5 -0
- package/components/govuk/govuk-checkboxes/govuk-checkboxes-item/govuk-checkboxes-item.component.d.ts +16 -0
- package/components/govuk/govuk-checkboxes/govuk-checkboxes.component.d.ts +10 -0
- package/components/govuk/govuk-checkboxes/interfaces/govuk-checkboxes-input.interface.d.ts +17 -0
- package/components/govuk/govuk-date-input/govuk-date-input.component.d.ts +18 -0
- package/components/govuk/govuk-date-input/interfaces/govuk-date-input.interface.d.ts +12 -0
- package/components/govuk/govuk-details/govuk-details.component.d.ts +6 -0
- package/components/govuk/govuk-error-summary/govuk-error-summary.component.d.ts +16 -0
- package/components/govuk/govuk-footer/constants/govuk-footer-links.constant.d.ts +2 -0
- package/components/govuk/govuk-footer/govuk-footer.component.d.ts +6 -0
- package/components/govuk/govuk-footer/interfaces/govuk-footer-links.interface.d.ts +5 -0
- package/components/govuk/govuk-header/constants/govuk-header-links.constant.d.ts +2 -0
- package/components/govuk/govuk-header/govuk-header-navigation-item/govuk-header-navigation-item.component.d.ts +12 -0
- package/components/govuk/govuk-header/govuk-header.component.d.ts +6 -0
- package/components/govuk/govuk-header/interfaces/govuk-header-links.interface.d.ts +4 -0
- package/components/govuk/govuk-heading-with-caption/govuk-heading-with-caption.component.d.ts +9 -0
- package/components/govuk/govuk-inset-text/govuk-inset-text.component.d.ts +6 -0
- package/components/govuk/govuk-notification-banner/govuk-notification-banner.component.d.ts +10 -0
- package/components/govuk/govuk-pagination/govuk-pagination.component.d.ts +44 -0
- package/components/govuk/govuk-panel/govuk-panel.component.d.ts +7 -0
- package/components/govuk/govuk-radio/govuk-radio.component.d.ts +11 -0
- package/components/govuk/govuk-radio/govuk-radios-conditional/govuk-radios-conditional.component.d.ts +10 -0
- package/components/govuk/govuk-radio/govuk-radios-divider/govuk-radios-divider.component.d.ts +5 -0
- package/components/govuk/govuk-radio/govuk-radios-item/govuk-radios-item.component.d.ts +18 -0
- package/components/govuk/govuk-radio/interfaces/govuk-radio-input.interface.d.ts +17 -0
- package/components/govuk/govuk-radio/interfaces/govuk-radio-options.interface.d.ts +4 -0
- package/components/govuk/govuk-select/govuk-select.component.d.ts +18 -0
- package/components/govuk/govuk-select/interfaces/govuk-select-options.interface.d.ts +4 -0
- package/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.d.ts +17 -0
- package/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.d.ts +12 -0
- package/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-action-item/govuk-summary-list-row-action-item.component.d.ts +15 -0
- package/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-actions.component.d.ts +5 -0
- package/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row.component.d.ts +20 -0
- package/components/govuk/govuk-summary-list/govuk-summary-list.component.d.ts +7 -0
- package/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row-data/govuk-table-body-row-data.component.d.ts +8 -0
- package/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row.component.d.ts +7 -0
- package/components/govuk/govuk-table/govuk-table-heading/govuk-table-heading.component.d.ts +7 -0
- package/components/govuk/govuk-table/govuk-table.component.d.ts +6 -0
- package/components/govuk/govuk-tabs/govuk-tab-list-item/govuk-tab-list-item.component.d.ts +11 -0
- package/components/govuk/govuk-tabs/govuk-tab-panel/govuk-tab-panel.component.d.ts +9 -0
- package/components/govuk/govuk-tabs/govuk-tabs.component.d.ts +14 -0
- package/components/govuk/govuk-tag/govuk-tag.component.d.ts +7 -0
- package/components/govuk/govuk-task-list/govuk-task-list-item/govuk-task-list-item.component.d.ts +8 -0
- package/components/govuk/govuk-task-list/govuk-task-list.component.d.ts +7 -0
- package/components/govuk/govuk-text-area/govuk-text-area.component.d.ts +21 -0
- package/components/govuk/govuk-text-input-prefix-suffix/govuk-text-input-prefix-suffix.component.d.ts +22 -0
- package/components/govuk/index.d.ts +5 -0
- package/components/govuk/public-api.d.ts +52 -0
- package/components/moj/index.d.ts +5 -0
- package/components/moj/moj-badge/moj.badge.component.d.ts +7 -0
- package/components/moj/moj-banner/moj-banner.component.d.ts +8 -0
- package/components/moj/moj-button-menu/moj-button-menu-item/moj-button-menu-item.component.d.ts +8 -0
- package/components/moj/moj-button-menu/moj-button-menu.component.d.ts +10 -0
- package/components/moj/moj-date-picker/moj-date-picker.component.d.ts +40 -0
- package/components/moj/moj-header/constants/moj-header-links.constant.d.ts +2 -0
- package/components/moj/moj-header/interfaces/moj-header-links.interface.d.ts +4 -0
- package/components/moj/moj-header/moj-header-navigation-item/moj-header-navigation-item.component.d.ts +12 -0
- package/components/moj/moj-header/moj-header.component.d.ts +6 -0
- package/components/moj/moj-notification-badge/moj-notification-badge.component.d.ts +6 -0
- package/components/moj/moj-page-header/moj-page-header.component.d.ts +6 -0
- package/components/moj/moj-pagination/moj-pagination-item/moj-pagination-item.component.d.ts +6 -0
- package/components/moj/moj-pagination/moj-pagination-link/moj-pagination-link.component.d.ts +43 -0
- package/components/moj/moj-pagination/moj-pagination-list/moj-pagination-list.component.d.ts +6 -0
- package/components/moj/moj-pagination/moj-pagination.component.d.ts +108 -0
- package/components/moj/moj-primary-navigation/moj-primary-navigation-item/moj-primary-navigation-item.component.d.ts +18 -0
- package/components/moj/moj-primary-navigation/moj-primary-navigation.component.d.ts +26 -0
- package/components/moj/moj-sortable-table/moj-sortable-table-header/moj-sortable-table-header.component.d.ts +24 -0
- package/components/moj/moj-sortable-table/moj-sortable-table-row/moj-sortable-table-row-data/moj-sortable-table-row-data.component.d.ts +8 -0
- package/components/moj/moj-sortable-table/moj-sortable-table-row/moj-sortable-table-row.component.d.ts +7 -0
- package/components/moj/moj-sortable-table/moj-sortable-table-status/moj-sortable-table-status.component.d.ts +7 -0
- package/components/moj/moj-sortable-table/moj-sortable-table.component.d.ts +6 -0
- package/components/moj/moj-sub-navigation/moj-sub-navigation-item/moj-sub-navigation-item.component.d.ts +18 -0
- package/components/moj/moj-sub-navigation/moj-sub-navigation.component.d.ts +21 -0
- package/components/moj/moj-ticket-panel/moj-ticket-panel.component.d.ts +8 -0
- package/components/moj/moj-timeline/moj-timeline-item/moj-timeline-item.component.d.ts +5 -0
- package/components/moj/moj-timeline/moj-timeline.component.d.ts +5 -0
- package/components/moj/public-api.d.ts +27 -0
- package/constants/index.d.ts +5 -0
- package/constants/public-api.d.ts +4 -0
- package/constants/src/routing-paths.constant.d.ts +2 -0
- package/constants/src/routing-titles.constant.d.ts +2 -0
- package/constants/src/session-endpoints.constant.d.ts +2 -0
- package/constants/src/sso-endpoints.constant.d.ts +2 -0
- package/fesm2022/hmcts-opal-frontend-common-components-abstract.mjs +1288 -0
- package/fesm2022/hmcts-opal-frontend-common-components-abstract.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov.mjs +170 -0
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-components-govuk.mjs +1259 -0
- package/fesm2022/hmcts-opal-frontend-common-components-govuk.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-components-moj.mjs +861 -0
- package/fesm2022/hmcts-opal-frontend-common-components-moj.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-constants.mjs +36 -0
- package/fesm2022/hmcts-opal-frontend-common-constants.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-guards.mjs +134 -0
- package/fesm2022/hmcts-opal-frontend-common-guards.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-interceptors.mjs +31 -0
- package/fesm2022/hmcts-opal-frontend-common-interceptors.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-interfaces.mjs +4 -0
- package/fesm2022/hmcts-opal-frontend-common-interfaces.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-mocks.mjs +429 -0
- package/fesm2022/hmcts-opal-frontend-common-mocks.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-eGVOJLC2.mjs +41 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-eGVOJLC2.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pages.mjs +109 -0
- package/fesm2022/hmcts-opal-frontend-common-pages.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pipes.mjs +64 -0
- package/fesm2022/hmcts-opal-frontend-common-pipes.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-resolvers.mjs +40 -0
- package/fesm2022/hmcts-opal-frontend-common-resolvers.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-services.mjs +817 -0
- package/fesm2022/hmcts-opal-frontend-common-services.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-stores.mjs +40 -0
- package/fesm2022/hmcts-opal-frontend-common-stores.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-types.mjs +4 -0
- package/fesm2022/hmcts-opal-frontend-common-types.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-validators.mjs +278 -0
- package/fesm2022/hmcts-opal-frontend-common-validators.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common.mjs +0 -1943
- package/fesm2022/hmcts-opal-frontend-common.mjs.map +1 -1
- package/{lib/guards → guards}/can-deactivate/can-deactivate.guard.d.ts +1 -1
- package/{lib/guards → guards}/can-deactivate/interfaces/can-deactivate-can-component-deactivate.interface.d.ts +1 -1
- package/{lib/guards → guards}/helpers/get-guard-with-dummy-url.d.ts +1 -1
- package/{lib/guards → guards}/helpers/handle-observable-result.d.ts +1 -1
- package/{lib/guards → guards}/helpers/run-has-flow-state-guard-with-context.d.ts +1 -1
- package/guards/index.d.ts +5 -0
- package/guards/public-api.d.ts +9 -0
- package/interceptors/index.d.ts +5 -0
- package/interceptors/public-api.d.ts +1 -0
- package/interfaces/index.d.ts +5 -0
- package/interfaces/public-api.d.ts +13 -0
- package/interfaces/src/parent-routing-paths.interface.d.ts +7 -0
- package/{lib/pages/routing/interfaces → interfaces/src}/routing-paths.interface.d.ts +1 -1
- package/mocks/index.d.ts +5 -0
- package/mocks/public-api.d.ts +8 -0
- package/mocks/src/route-permissions.mock.d.ts +3 -0
- package/mocks/src/session-token-expiry.mock.d.ts +2 -0
- package/mocks/src/session-user-state.mock.d.ts +2 -0
- package/mocks/src/transfer-state.mock.d.ts +2 -0
- package/package.json +106 -9
- package/pages/index.d.ts +5 -0
- package/{lib/pages → pages}/sign-in/sign-in.component.d.ts +10 -10
- package/pipes/date-format/date-format.pipe.d.ts +10 -0
- package/pipes/days-ago/days-ago.pipe.d.ts +7 -0
- package/pipes/index.d.ts +5 -0
- package/pipes/public-api.d.ts +2 -0
- package/public-api.d.ts +1 -10
- package/resolvers/index.d.ts +5 -0
- package/resolvers/public-api.d.ts +2 -0
- package/{lib/resolvers → resolvers}/user-state/user-state.resolver.d.ts +1 -1
- package/{lib/services → services}/date-service/date.service.d.ts +8 -0
- package/services/index.d.ts +5 -0
- package/{lib/services → services}/permissions-service/permissions.service.d.ts +1 -1
- package/services/public-api.d.ts +11 -0
- package/{lib/services → services}/session-service/session.service.d.ts +1 -1
- package/services/sort-service/interfaces/sort-service-values.interface.d.ts +7 -0
- package/{lib/services → services}/sort-service/sort-service.d.ts +1 -1
- package/{lib/services → services}/transfer-state-service/transfer-state.service.d.ts +1 -1
- package/{lib/services → services}/transformation-service/transformation.service.d.ts +1 -1
- package/{lib/stores → stores}/global/global.store.d.ts +1 -4
- package/stores/index.d.ts +5 -0
- package/stores/public-api.d.ts +1 -0
- package/types/index.d.ts +5 -0
- package/types/public-api.d.ts +4 -0
- package/types/src/abstract-sortable-table.type.d.ts +1 -0
- package/types/src/global-store.type.d.ts +2 -0
- package/types/src/sort-service.type.d.ts +1 -0
- package/validators/index.d.ts +5 -0
- package/{lib/validators → validators}/over-eighteen/over-eighteen.validator.d.ts +1 -1
- package/validators/public-api.d.ts +18 -0
- package/esm2022/hmcts-opal-frontend-common.mjs +0 -5
- package/esm2022/lib/components/govuk/govuk-button/govuk-button.component.mjs +0 -34
- package/esm2022/lib/components/govuk/govuk-text-input/govuk-text-input.component.mjs +0 -57
- package/esm2022/lib/components/govuk/index.mjs +0 -3
- package/esm2022/lib/guards/auth/auth.guard.mjs +0 -20
- package/esm2022/lib/guards/auth/index.mjs +0 -2
- package/esm2022/lib/guards/can-deactivate/can-deactivate.guard.mjs +0 -6
- package/esm2022/lib/guards/can-deactivate/index.mjs +0 -5
- package/esm2022/lib/guards/can-deactivate/interfaces/can-deactivate-can-component-deactivate.interface.mjs +0 -2
- package/esm2022/lib/guards/can-deactivate/interfaces/index.mjs +0 -2
- package/esm2022/lib/guards/has-flow-state/has-flow-state.guard.mjs +0 -16
- package/esm2022/lib/guards/has-flow-state/index.mjs +0 -2
- package/esm2022/lib/guards/helpers/get-guard-with-dummy-url.mjs +0 -19
- package/esm2022/lib/guards/helpers/handle-observable-result.mjs +0 -13
- package/esm2022/lib/guards/helpers/index.mjs +0 -5
- package/esm2022/lib/guards/helpers/run-auth-guard-with-context.mjs +0 -15
- package/esm2022/lib/guards/helpers/run-has-flow-state-guard-with-context.mjs +0 -9
- package/esm2022/lib/guards/index.mjs +0 -10
- package/esm2022/lib/guards/route-permissions/index.mjs +0 -2
- package/esm2022/lib/guards/route-permissions/route-permissions.guard.mjs +0 -25
- package/esm2022/lib/guards/signed-in/index.mjs +0 -3
- package/esm2022/lib/guards/signed-in/signed-in.guard.mjs +0 -20
- package/esm2022/lib/guards/types/can-deactivate.type.mjs +0 -2
- package/esm2022/lib/guards/types/guard-return.type.mjs +0 -2
- package/esm2022/lib/guards/types/index.mjs +0 -3
- package/esm2022/lib/interceptors/http-error/http-error.interceptor.mjs +0 -24
- package/esm2022/lib/interceptors/index.mjs +0 -3
- package/esm2022/lib/opal-frontend-common.module.mjs +0 -22
- package/esm2022/lib/pages/access-denied/access-denied.component.mjs +0 -18
- package/esm2022/lib/pages/index.mjs +0 -4
- package/esm2022/lib/pages/routing/constants/routing-paths.constant.mjs +0 -9
- package/esm2022/lib/pages/routing/constants/routing-titles.constant.mjs +0 -9
- package/esm2022/lib/pages/routing/interfaces/routing-paths.interface.mjs +0 -2
- package/esm2022/lib/pages/routing/pages.routes.mjs +0 -24
- package/esm2022/lib/pages/sign-in/interfaces/index.mjs +0 -2
- package/esm2022/lib/pages/sign-in/interfaces/sign-in-stub-form.interface.mjs +0 -2
- package/esm2022/lib/pages/sign-in/sign-in-sso/sign-in-sso.component.mjs +0 -23
- package/esm2022/lib/pages/sign-in/sign-in-stub/sign-in-stub.component.mjs +0 -39
- package/esm2022/lib/pages/sign-in/sign-in.component.mjs +0 -38
- package/esm2022/lib/resolvers/index.mjs +0 -3
- package/esm2022/lib/resolvers/title/index.mjs +0 -2
- package/esm2022/lib/resolvers/title/title.resolver.mjs +0 -22
- package/esm2022/lib/resolvers/user-state/index.mjs +0 -2
- package/esm2022/lib/resolvers/user-state/user-state.resolver.mjs +0 -12
- package/esm2022/lib/routing/constants/index.mjs +0 -2
- package/esm2022/lib/routing/constants/sso-endpoints.constant.mjs +0 -7
- package/esm2022/lib/routing/index.mjs +0 -3
- package/esm2022/lib/routing/interfaces/child-routing-paths.interface.mjs +0 -2
- package/esm2022/lib/routing/interfaces/index.mjs +0 -4
- package/esm2022/lib/routing/interfaces/nested-routes.interface.mjs +0 -2
- package/esm2022/lib/routing/interfaces/sso-endpoints.interface.mjs +0 -2
- package/esm2022/lib/services/app-initializer-service/app-initializer.service.mjs +0 -36
- package/esm2022/lib/services/app-initializer-service/index.mjs +0 -2
- package/esm2022/lib/services/app-insights/app-insights.service.mjs +0 -73
- package/esm2022/lib/services/app-insights/index.mjs +0 -4
- package/esm2022/lib/services/auth-service/auth.service.mjs +0 -36
- package/esm2022/lib/services/auth-service/index.mjs +0 -2
- package/esm2022/lib/services/date-service/date.service.mjs +0 -182
- package/esm2022/lib/services/date-service/index.mjs +0 -4
- package/esm2022/lib/services/index.mjs +0 -12
- package/esm2022/lib/services/launch-darkly/index.mjs +0 -5
- package/esm2022/lib/services/launch-darkly/launch-darkly.service.mjs +0 -94
- package/esm2022/lib/services/launch-darkly/mocks/index.mjs +0 -3
- package/esm2022/lib/services/launch-darkly/mocks/launch-darkly-change-flags.mock.mjs +0 -5
- package/esm2022/lib/services/launch-darkly/mocks/launch-darkly-flags.mock.mjs +0 -5
- package/esm2022/lib/services/permissions-service/index.mjs +0 -4
- package/esm2022/lib/services/permissions-service/permissions.service.mjs +0 -40
- package/esm2022/lib/services/session-service/constants/index.mjs +0 -2
- package/esm2022/lib/services/session-service/constants/session-endpoints.constant.mjs +0 -5
- package/esm2022/lib/services/session-service/index.mjs +0 -7
- package/esm2022/lib/services/session-service/interfaces/index.mjs +0 -4
- package/esm2022/lib/services/session-service/interfaces/session-endpoints.interface.mjs +0 -2
- package/esm2022/lib/services/session-service/interfaces/session-token-expiry.interface.mjs +0 -2
- package/esm2022/lib/services/session-service/interfaces/session-user-state.interface.mjs +0 -2
- package/esm2022/lib/services/session-service/mocks/index.mjs +0 -3
- package/esm2022/lib/services/session-service/mocks/session-token-expiry.mock.mjs +0 -5
- package/esm2022/lib/services/session-service/mocks/session-user-state.mock.mjs +0 -386
- package/esm2022/lib/services/session-service/session.service.mjs +0 -64
- package/esm2022/lib/services/sort-service/index.mjs +0 -6
- package/esm2022/lib/services/sort-service/interfaces/index.mjs +0 -3
- package/esm2022/lib/services/sort-service/interfaces/sort-service-values.interface.mjs +0 -2
- package/esm2022/lib/services/sort-service/interfaces/sort-service.interface.mjs +0 -2
- package/esm2022/lib/services/sort-service/sort-service.mjs +0 -90
- package/esm2022/lib/services/sort-service/types/index.mjs +0 -2
- package/esm2022/lib/services/sort-service/types/sort-service.type.mjs +0 -2
- package/esm2022/lib/services/transfer-state-service/index.mjs +0 -6
- package/esm2022/lib/services/transfer-state-service/interfaces/index.mjs +0 -4
- package/esm2022/lib/services/transfer-state-service/interfaces/transfer-state-app-insights-config.interface.mjs +0 -2
- package/esm2022/lib/services/transfer-state-service/interfaces/transfer-state-launch-darkly-config.interface.mjs +0 -2
- package/esm2022/lib/services/transfer-state-service/interfaces/transfer-state-server-state.interface.mjs +0 -2
- package/esm2022/lib/services/transfer-state-service/mocks/index.mjs +0 -4
- package/esm2022/lib/services/transfer-state-service/mocks/transfer-state-app-insights-config.mock.mjs +0 -6
- package/esm2022/lib/services/transfer-state-service/mocks/transfer-state-launch-darkly-config.mock.mjs +0 -6
- package/esm2022/lib/services/transfer-state-service/mocks/transfer-state.mock.mjs +0 -8
- package/esm2022/lib/services/transfer-state-service/transfer-state.service.mjs +0 -59
- package/esm2022/lib/services/transformation-service/index.mjs +0 -5
- package/esm2022/lib/services/transformation-service/interfaces/index.mjs +0 -2
- package/esm2022/lib/services/transformation-service/interfaces/transform-item.interface.mjs +0 -2
- package/esm2022/lib/services/transformation-service/transformation.service.mjs +0 -69
- package/esm2022/lib/services/utils/index.mjs +0 -4
- package/esm2022/lib/services/utils/utils.service.mjs +0 -86
- package/esm2022/lib/stores/global/global.store.mjs +0 -33
- package/esm2022/lib/stores/global/index.mjs +0 -6
- package/esm2022/lib/stores/global/interfaces/error-state.interface.mjs +0 -2
- package/esm2022/lib/stores/global/interfaces/index.mjs +0 -2
- package/esm2022/lib/stores/global/types/global-store.type.mjs +0 -2
- package/esm2022/lib/stores/global/types/index.mjs +0 -2
- package/esm2022/lib/stores/index.mjs +0 -2
- package/esm2022/lib/validators/alphabetical-text/alphabetical-text.validator.mjs +0 -10
- package/esm2022/lib/validators/amount/amount.validator.mjs +0 -15
- package/esm2022/lib/validators/date-after-year/date-after-year.validator.mjs +0 -12
- package/esm2022/lib/validators/date-before/date-before.validator.mjs +0 -15
- package/esm2022/lib/validators/date-of-birth/date-of-birth.validator.mjs +0 -18
- package/esm2022/lib/validators/future-date/future-date.validator.mjs +0 -15
- package/esm2022/lib/validators/index.mjs +0 -20
- package/esm2022/lib/validators/invalid-value/invalid-value.validator.mjs +0 -9
- package/esm2022/lib/validators/national-insurance-number/national-insurance-number.validator.mjs +0 -16
- package/esm2022/lib/validators/numerical-only/numerical-only.validator.mjs +0 -10
- package/esm2022/lib/validators/optional-max-length/optional-max-length.validator.mjs +0 -10
- package/esm2022/lib/validators/optional-valid-date/optional-valid-date.validator.mjs +0 -23
- package/esm2022/lib/validators/optional-valid-email-address/optional-valid-email-address.validator.mjs +0 -11
- package/esm2022/lib/validators/optional-valid-telephone/optional-valid-telephone.validator.mjs +0 -14
- package/esm2022/lib/validators/over-eighteen/over-eighteen.validator.mjs +0 -45
- package/esm2022/lib/validators/past-date/past-date.validator.mjs +0 -16
- package/esm2022/lib/validators/special-characters/special-characters.validator.mjs +0 -11
- package/esm2022/lib/validators/two-decimal-places/two-decimal-places.validator.mjs +0 -12
- package/esm2022/lib/validators/valid-value/valid-value.validator.mjs +0 -9
- package/esm2022/public-api.mjs +0 -11
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-CysPzJGJ.mjs +0 -41
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-CysPzJGJ.mjs.map +0 -1
- package/lib/components/govuk/index.d.ts +0 -2
- package/lib/guards/auth/index.d.ts +0 -1
- package/lib/guards/can-deactivate/index.d.ts +0 -2
- package/lib/guards/can-deactivate/interfaces/index.d.ts +0 -2
- package/lib/guards/has-flow-state/index.d.ts +0 -1
- package/lib/guards/helpers/index.d.ts +0 -4
- package/lib/guards/index.d.ts +0 -7
- package/lib/guards/route-permissions/index.d.ts +0 -1
- package/lib/guards/signed-in/index.d.ts +0 -1
- package/lib/guards/types/index.d.ts +0 -2
- package/lib/interceptors/index.d.ts +0 -2
- package/lib/opal-frontend-common.module.d.ts +0 -14
- package/lib/pages/routing/constants/routing-paths.constant.d.ts +0 -2
- package/lib/pages/routing/constants/routing-titles.constant.d.ts +0 -2
- package/lib/resolvers/index.d.ts +0 -2
- package/lib/resolvers/title/index.d.ts +0 -1
- package/lib/resolvers/user-state/index.d.ts +0 -1
- package/lib/routing/constants/index.d.ts +0 -1
- package/lib/routing/constants/sso-endpoints.constant.d.ts +0 -2
- package/lib/routing/index.d.ts +0 -2
- package/lib/routing/interfaces/index.d.ts +0 -3
- package/lib/services/app-initializer-service/index.d.ts +0 -1
- package/lib/services/app-insights/index.d.ts +0 -1
- package/lib/services/auth-service/index.d.ts +0 -1
- package/lib/services/date-service/index.d.ts +0 -1
- package/lib/services/index.d.ts +0 -11
- package/lib/services/launch-darkly/index.d.ts +0 -2
- package/lib/services/launch-darkly/mocks/index.d.ts +0 -2
- package/lib/services/permissions-service/index.d.ts +0 -1
- package/lib/services/session-service/constants/index.d.ts +0 -1
- package/lib/services/session-service/constants/session-endpoints.constant.d.ts +0 -2
- package/lib/services/session-service/index.d.ts +0 -4
- package/lib/services/session-service/interfaces/index.d.ts +0 -3
- package/lib/services/session-service/mocks/index.d.ts +0 -2
- package/lib/services/session-service/mocks/session-token-expiry.mock.d.ts +0 -2
- package/lib/services/session-service/mocks/session-user-state.mock.d.ts +0 -2
- package/lib/services/sort-service/index.d.ts +0 -3
- package/lib/services/sort-service/interfaces/index.d.ts +0 -2
- package/lib/services/sort-service/interfaces/sort-service-values.interface.d.ts +0 -6
- package/lib/services/sort-service/types/index.d.ts +0 -1
- package/lib/services/sort-service/types/sort-service.type.d.ts +0 -1
- package/lib/services/transfer-state-service/index.d.ts +0 -3
- package/lib/services/transfer-state-service/interfaces/index.d.ts +0 -3
- package/lib/services/transfer-state-service/mocks/index.d.ts +0 -3
- package/lib/services/transfer-state-service/mocks/transfer-state.mock.d.ts +0 -2
- package/lib/services/transformation-service/index.d.ts +0 -2
- package/lib/services/transformation-service/interfaces/index.d.ts +0 -1
- package/lib/services/utils/index.d.ts +0 -1
- package/lib/stores/global/index.d.ts +0 -3
- package/lib/stores/global/interfaces/index.d.ts +0 -1
- package/lib/stores/global/types/global-store.type.d.ts +0 -2
- package/lib/stores/global/types/index.d.ts +0 -1
- package/lib/stores/index.d.ts +0 -1
- package/lib/validators/index.d.ts +0 -19
- /package/{lib/components → components}/govuk/govuk-button/govuk-button.component.d.ts +0 -0
- /package/{lib/components → components}/govuk/govuk-text-input/govuk-text-input.component.d.ts +0 -0
- /package/{lib/guards → guards}/auth/auth.guard.d.ts +0 -0
- /package/{lib/guards → guards}/has-flow-state/has-flow-state.guard.d.ts +0 -0
- /package/{lib/guards → guards}/helpers/run-auth-guard-with-context.d.ts +0 -0
- /package/{lib/guards → guards}/route-permissions/route-permissions.guard.d.ts +0 -0
- /package/{lib/guards → guards}/signed-in/signed-in.guard.d.ts +0 -0
- /package/{lib/guards → guards}/types/guard-return.type.d.ts +0 -0
- /package/{lib/interceptors → interceptors}/http-error/http-error.interceptor.d.ts +0 -0
- /package/{lib/routing/interfaces → interfaces/src}/child-routing-paths.interface.d.ts +0 -0
- /package/{lib/stores/global/interfaces → interfaces/src}/error-state.interface.d.ts +0 -0
- /package/{lib/routing/interfaces → interfaces/src}/nested-routes.interface.d.ts +0 -0
- /package/{lib/services/session-service/interfaces → interfaces/src}/session-endpoints.interface.d.ts +0 -0
- /package/{lib/services/session-service/interfaces → interfaces/src}/session-token-expiry.interface.d.ts +0 -0
- /package/{lib/services/session-service/interfaces → interfaces/src}/session-user-state.interface.d.ts +0 -0
- /package/{lib/routing/interfaces → interfaces/src}/sso-endpoints.interface.d.ts +0 -0
- /package/{lib/services/transfer-state-service/interfaces → interfaces/src}/transfer-state-app-insights-config.interface.d.ts +0 -0
- /package/{lib/services/transfer-state-service/interfaces → interfaces/src}/transfer-state-launch-darkly-config.interface.d.ts +0 -0
- /package/{lib/services/transfer-state-service/interfaces → interfaces/src}/transfer-state-server-state.interface.d.ts +0 -0
- /package/{lib/services/transformation-service/interfaces → interfaces/src}/transform-item.interface.d.ts +0 -0
- /package/{lib/services/launch-darkly/mocks → mocks/src}/launch-darkly-change-flags.mock.d.ts +0 -0
- /package/{lib/services/launch-darkly/mocks → mocks/src}/launch-darkly-flags.mock.d.ts +0 -0
- /package/{lib/services/transfer-state-service/mocks → mocks/src}/transfer-state-app-insights-config.mock.d.ts +0 -0
- /package/{lib/services/transfer-state-service/mocks → mocks/src}/transfer-state-launch-darkly-config.mock.d.ts +0 -0
- /package/{lib/pages → pages}/access-denied/access-denied.component.d.ts +0 -0
- /package/{lib/pages/index.d.ts → pages/public-api.d.ts} +0 -0
- /package/{lib/pages → pages}/routing/pages.routes.d.ts +0 -0
- /package/{lib/pages → pages}/sign-in/interfaces/index.d.ts +0 -0
- /package/{lib/pages → pages}/sign-in/interfaces/sign-in-stub-form.interface.d.ts +0 -0
- /package/{lib/pages → pages}/sign-in/sign-in-sso/sign-in-sso.component.d.ts +0 -0
- /package/{lib/pages → pages}/sign-in/sign-in-stub/sign-in-stub.component.d.ts +0 -0
- /package/{lib/resolvers → resolvers}/title/title.resolver.d.ts +0 -0
- /package/{lib/services → services}/app-initializer-service/app-initializer.service.d.ts +0 -0
- /package/{lib/services → services}/app-insights/app-insights.service.d.ts +0 -0
- /package/{lib/services → services}/auth-service/auth.service.d.ts +0 -0
- /package/{lib/services → services}/launch-darkly/launch-darkly.service.d.ts +0 -0
- /package/{lib/services → services}/sort-service/interfaces/sort-service.interface.d.ts +0 -0
- /package/{lib/services → services}/utils/utils.service.d.ts +0 -0
- /package/{lib/guards/types → types/src}/can-deactivate.type.d.ts +0 -0
- /package/{lib/validators → validators}/alphabetical-text/alphabetical-text.validator.d.ts +0 -0
- /package/{lib/validators → validators}/amount/amount.validator.d.ts +0 -0
- /package/{lib/validators → validators}/date-after-year/date-after-year.validator.d.ts +0 -0
- /package/{lib/validators → validators}/date-before/date-before.validator.d.ts +0 -0
- /package/{lib/validators → validators}/date-of-birth/date-of-birth.validator.d.ts +0 -0
- /package/{lib/validators → validators}/future-date/future-date.validator.d.ts +0 -0
- /package/{lib/validators → validators}/invalid-value/invalid-value.validator.d.ts +0 -0
- /package/{lib/validators → validators}/national-insurance-number/national-insurance-number.validator.d.ts +0 -0
- /package/{lib/validators → validators}/numerical-only/numerical-only.validator.d.ts +0 -0
- /package/{lib/validators → validators}/optional-max-length/optional-max-length.validator.d.ts +0 -0
- /package/{lib/validators → validators}/optional-valid-date/optional-valid-date.validator.d.ts +0 -0
- /package/{lib/validators → validators}/optional-valid-email-address/optional-valid-email-address.validator.d.ts +0 -0
- /package/{lib/validators → validators}/optional-valid-telephone/optional-valid-telephone.validator.d.ts +0 -0
- /package/{lib/validators → validators}/past-date/past-date.validator.d.ts +0 -0
- /package/{lib/validators → validators}/special-characters/special-characters.validator.d.ts +0 -0
- /package/{lib/validators → validators}/two-decimal-places/two-decimal-places.validator.d.ts +0 -0
- /package/{lib/validators → validators}/valid-value/valid-value.validator.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface IGovUkRadioInputConditional {
|
|
2
|
+
inputName: string;
|
|
3
|
+
inputClasses: string;
|
|
4
|
+
inputId: string;
|
|
5
|
+
inputLabel: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGovUkRadioInput {
|
|
8
|
+
inputName: string;
|
|
9
|
+
inputClasses?: string | null;
|
|
10
|
+
inputId: string;
|
|
11
|
+
inputValue: string;
|
|
12
|
+
inputLabel: string;
|
|
13
|
+
inputTextDivider?: string | null;
|
|
14
|
+
inputHint?: string | null;
|
|
15
|
+
conditional?: IGovUkRadioInputConditional;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AbstractControl, FormControl } from '@angular/forms';
|
|
2
|
+
import { IGovUkSelectOptions } from './interfaces/govuk-select-options.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GovukSelectComponent {
|
|
5
|
+
private _control;
|
|
6
|
+
labelText: string;
|
|
7
|
+
labelClasses: string;
|
|
8
|
+
selectId: string;
|
|
9
|
+
selectName: string;
|
|
10
|
+
selectClasses: string;
|
|
11
|
+
selectHint: string;
|
|
12
|
+
errors: string | null;
|
|
13
|
+
options: IGovUkSelectOptions[];
|
|
14
|
+
set control(abstractControl: AbstractControl);
|
|
15
|
+
get getControl(): FormControl<any>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSelectComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSelectComponent, "opal-lib-govuk-select", never, { "labelText": { "alias": "labelText"; "required": true; }; "labelClasses": { "alias": "labelClasses"; "required": false; }; "selectId": { "alias": "selectId"; "required": true; }; "selectName": { "alias": "selectName"; "required": true; }; "selectClasses": { "alias": "selectClasses"; "required": false; }; "selectHint": { "alias": "selectHint"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "options": { "alias": "options"; "required": true; }; "control": { "alias": "control"; "required": true; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukSummaryCardActionComponent {
|
|
4
|
+
actionText: string;
|
|
5
|
+
actionRoute: string;
|
|
6
|
+
clickEvent: EventEmitter<string>;
|
|
7
|
+
hostClass: string;
|
|
8
|
+
/**
|
|
9
|
+
* Handles click events, prevents default behavior, and emits a route.
|
|
10
|
+
*
|
|
11
|
+
* @param {Event} event - The DOM event triggered by the user action.
|
|
12
|
+
* @param {string} route - The route to be emitted when the event is triggered.
|
|
13
|
+
*/
|
|
14
|
+
onClick(event: Event, route: string): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSummaryCardActionComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSummaryCardActionComponent, "opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]", never, { "actionText": { "alias": "actionText"; "required": true; }; "actionRoute": { "alias": "actionRoute"; "required": true; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukSummaryCardListComponent implements OnInit {
|
|
4
|
+
summaryCardListId: string;
|
|
5
|
+
cardTitle: string;
|
|
6
|
+
contentHidden: boolean;
|
|
7
|
+
id: string;
|
|
8
|
+
private setId;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSummaryCardListComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSummaryCardListComponent, "opal-lib-govuk-summary-card-list", never, { "summaryCardListId": { "alias": "summaryCardListId"; "required": true; }; "cardTitle": { "alias": "cardTitle"; "required": false; }; "contentHidden": { "alias": "contentHidden"; "required": false; }; }, {}, never, ["[actions]", "[content]"], true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukSummaryListRowActionItemComponent {
|
|
4
|
+
actionName: string;
|
|
5
|
+
actionId: string;
|
|
6
|
+
linkClick: EventEmitter<string>;
|
|
7
|
+
hostClass: string;
|
|
8
|
+
/**
|
|
9
|
+
* Handles the click event for the action button.
|
|
10
|
+
* @param event - The click event.
|
|
11
|
+
*/
|
|
12
|
+
handleActionClick(event: Event, linkClicked: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSummaryListRowActionItemComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSummaryListRowActionItemComponent, "opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]", never, { "actionName": { "alias": "actionName"; "required": true; }; "actionId": { "alias": "actionId"; "required": true; }; }, { "linkClick": "linkClick"; }, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukSummaryListRowActionsComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSummaryListRowActionsComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSummaryListRowActionsComponent, "opal-lib-govuk-summary-list-row-actions", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukSummaryListRowComponent implements OnInit {
|
|
4
|
+
private readonly utilService;
|
|
5
|
+
_summaryListRowId: string;
|
|
6
|
+
actionClick: EventEmitter<boolean>;
|
|
7
|
+
actionEnabled: boolean;
|
|
8
|
+
summaryListId: string;
|
|
9
|
+
set summaryListRowId(summaryListRowId: string);
|
|
10
|
+
class: string;
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Handles the click event for the action button.
|
|
14
|
+
* @param event - The click event.
|
|
15
|
+
*/
|
|
16
|
+
handleActionClick(event: Event): void;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSummaryListRowComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSummaryListRowComponent, "opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]", never, { "actionEnabled": { "alias": "actionEnabled"; "required": false; }; "summaryListId": { "alias": "summaryListId"; "required": true; }; "summaryListRowId": { "alias": "summaryListRowId"; "required": true; }; }, { "actionClick": "actionClick"; }, never, ["[name]", "[value]", "[action]"], true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukSummaryListComponent {
|
|
3
|
+
summaryListId: string;
|
|
4
|
+
classes: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSummaryListComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukSummaryListComponent, "opal-lib-govuk-summary-list", never, { "summaryListId": { "alias": "summaryListId"; "required": true; }; "classes": { "alias": "classes"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTableBodyRowDataComponent {
|
|
3
|
+
id: string;
|
|
4
|
+
hostClass: string;
|
|
5
|
+
get hostId(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTableBodyRowDataComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTableBodyRowDataComponent, "opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]", never, { "id": { "alias": "id"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTableBodyRowComponent {
|
|
3
|
+
bodyRowClasses: string;
|
|
4
|
+
get hostClass(): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTableBodyRowComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTableBodyRowComponent, "opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]", never, { "bodyRowClasses": { "alias": "bodyRowClasses"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTableHeadingComponent {
|
|
3
|
+
hostClass: string;
|
|
4
|
+
get hostScope(): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTableHeadingComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTableHeadingComponent, "opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]", never, {}, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTableComponent {
|
|
3
|
+
tableClasses: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTableComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTableComponent, "opal-lib-govuk-table", never, { "tableClasses": { "alias": "tableClasses"; "required": false; }; }, {}, never, ["[head]", "[body]", "[results]"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTabListItemComponent {
|
|
3
|
+
private readonly utilService;
|
|
4
|
+
_tabsListItemId: string;
|
|
5
|
+
tabsId: string;
|
|
6
|
+
set tabsListItemId(tabsListItemId: string);
|
|
7
|
+
tabListItemHref: string;
|
|
8
|
+
tabListItemName: string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTabListItemComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabListItemComponent, "opal-lib-govuk-tab-list-item", never, { "tabsId": { "alias": "tabsId"; "required": true; }; "tabsListItemId": { "alias": "tabsListItemId"; "required": true; }; "tabListItemHref": { "alias": "tabListItemHref"; "required": true; }; "tabListItemName": { "alias": "tabListItemName"; "required": true; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTabPanelComponent {
|
|
3
|
+
private readonly utilService;
|
|
4
|
+
_tabsPanelId: string;
|
|
5
|
+
tabsId: string;
|
|
6
|
+
set tabsPanelId(tabsPanelId: string);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTabPanelComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabPanelComponent, "opal-lib-govuk-tab-panel", never, { "tabsId": { "alias": "tabsId"; "required": true; }; "tabsPanelId": { "alias": "tabsPanelId"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukTabsComponent implements AfterViewInit {
|
|
4
|
+
private readonly platformId;
|
|
5
|
+
tabsId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Lifecycle hook that is called after Angular has fully initialized the component's view.
|
|
8
|
+
* It is called only once after the first ngAfterContentChecked.
|
|
9
|
+
* We use it to initialize the govuk-frontend component.
|
|
10
|
+
*/
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTabsComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsComponent, "opal-lib-govuk-tabs", never, { "tabsId": { "alias": "tabsId"; "required": true; }; }, {}, never, ["[items]", "[panels]"], true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTagComponent {
|
|
3
|
+
tagId: string;
|
|
4
|
+
tagClasses: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTagComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTagComponent, "opal-lib-govuk-tag", never, { "tagId": { "alias": "tagId"; "required": true; }; "tagClasses": { "alias": "tagClasses"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
package/components/govuk/govuk-task-list/govuk-task-list-item/govuk-task-list-item.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTaskListItemComponent {
|
|
3
|
+
taskListItemId: string;
|
|
4
|
+
taskListStatusId: string;
|
|
5
|
+
taskListItemClasses: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTaskListItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTaskListItemComponent, "opal-lib-govuk-task-list-item", never, { "taskListItemId": { "alias": "taskListItemId"; "required": true; }; "taskListStatusId": { "alias": "taskListStatusId"; "required": true; }; "taskListItemClasses": { "alias": "taskListItemClasses"; "required": false; }; }, {}, never, ["[name]", "[status]"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GovukTaskListComponent {
|
|
3
|
+
taskListId: string;
|
|
4
|
+
taskListClasses: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTaskListComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTaskListComponent, "opal-lib-govuk-task-list", never, { "taskListId": { "alias": "taskListId"; "required": true; }; "taskListClasses": { "alias": "taskListClasses"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AbstractControl, FormControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukTextAreaComponent {
|
|
4
|
+
private _control;
|
|
5
|
+
labelText: string;
|
|
6
|
+
labelClasses: string;
|
|
7
|
+
inputId: string;
|
|
8
|
+
inputName: string;
|
|
9
|
+
inputClasses: string;
|
|
10
|
+
hintText: string;
|
|
11
|
+
inputMode: string;
|
|
12
|
+
errors: string | null;
|
|
13
|
+
rows: number;
|
|
14
|
+
characterCountEnabled: boolean;
|
|
15
|
+
maxCharacterLimit: number;
|
|
16
|
+
set control(abstractControl: AbstractControl | null);
|
|
17
|
+
get getControl(): FormControl<any>;
|
|
18
|
+
get remainingCharacterCount(): number;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTextAreaComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTextAreaComponent, "opal-lib-govuk-text-area", never, { "labelText": { "alias": "labelText"; "required": true; }; "labelClasses": { "alias": "labelClasses"; "required": false; }; "inputId": { "alias": "inputId"; "required": true; }; "inputName": { "alias": "inputName"; "required": true; }; "inputClasses": { "alias": "inputClasses"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "characterCountEnabled": { "alias": "characterCountEnabled"; "required": false; }; "maxCharacterLimit": { "alias": "maxCharacterLimit"; "required": false; }; "control": { "alias": "control"; "required": true; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormControl, AbstractControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GovukTextInputPrefixSuffixComponent {
|
|
4
|
+
private _control;
|
|
5
|
+
labelText: string;
|
|
6
|
+
labelClasses: string;
|
|
7
|
+
inputId: string;
|
|
8
|
+
inputName: string;
|
|
9
|
+
inputClasses: string;
|
|
10
|
+
errors: string | null;
|
|
11
|
+
prefixText: string;
|
|
12
|
+
suffixText: string;
|
|
13
|
+
forceTwoDecimalPoints: boolean;
|
|
14
|
+
set control(abstractControl: AbstractControl | null);
|
|
15
|
+
/**
|
|
16
|
+
* Formats the value of the control to two decimal places when the control loses focus.
|
|
17
|
+
*/
|
|
18
|
+
onBlurFormatToTwoDecimalPlaces(): void;
|
|
19
|
+
get getControl(): FormControl<any>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTextInputPrefixSuffixComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTextInputPrefixSuffixComponent, "opal-lib-govuk-text-input-prefix-suffix", never, { "labelText": { "alias": "labelText"; "required": true; }; "labelClasses": { "alias": "labelClasses"; "required": false; }; "inputId": { "alias": "inputId"; "required": true; }; "inputName": { "alias": "inputName"; "required": true; }; "inputClasses": { "alias": "inputClasses"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "prefixText": { "alias": "prefixText"; "required": false; }; "suffixText": { "alias": "suffixText"; "required": false; }; "forceTwoDecimalPoints": { "alias": "forceTwoDecimalPoints"; "required": false; }; "control": { "alias": "control"; "required": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export * from './govuk-accordion/govuk-accordion.component';
|
|
2
|
+
export * from './govuk-back-link/govuk-back-link.component';
|
|
3
|
+
export * from './govuk-button/govuk-button.component';
|
|
4
|
+
export * from './govuk-cancel-link/govuk-cancel-link.component';
|
|
5
|
+
export * from './govuk-checkboxes/govuk-checkboxes-conditional/govuk-checkboxes-conditional.component';
|
|
6
|
+
export * from './govuk-checkboxes/govuk-checkboxes-divider/govuk-checkboxes-divider.component';
|
|
7
|
+
export * from './govuk-checkboxes/govuk-checkboxes-item/govuk-checkboxes-item.component';
|
|
8
|
+
export * from './govuk-checkboxes/govuk-checkboxes.component';
|
|
9
|
+
export * from './govuk-date-input/govuk-date-input.component';
|
|
10
|
+
export * from './govuk-details/govuk-details.component';
|
|
11
|
+
export * from './govuk-error-summary/govuk-error-summary.component';
|
|
12
|
+
export * from './govuk-footer/govuk-footer.component';
|
|
13
|
+
export * from './govuk-header/govuk-header-navigation-item/govuk-header-navigation-item.component';
|
|
14
|
+
export * from './govuk-header/govuk-header.component';
|
|
15
|
+
export * from './govuk-heading-with-caption/govuk-heading-with-caption.component';
|
|
16
|
+
export * from './govuk-inset-text/govuk-inset-text.component';
|
|
17
|
+
export * from './govuk-notification-banner/govuk-notification-banner.component';
|
|
18
|
+
export * from './govuk-pagination/govuk-pagination.component';
|
|
19
|
+
export * from './govuk-panel/govuk-panel.component';
|
|
20
|
+
export * from './govuk-radio/govuk-radios-conditional/govuk-radios-conditional.component';
|
|
21
|
+
export * from './govuk-radio/govuk-radios-divider/govuk-radios-divider.component';
|
|
22
|
+
export * from './govuk-radio/govuk-radios-item/govuk-radios-item.component';
|
|
23
|
+
export * from './govuk-radio/govuk-radio.component';
|
|
24
|
+
export * from './govuk-select/govuk-select.component';
|
|
25
|
+
export * from './govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component';
|
|
26
|
+
export * from './govuk-summary-card-list/govuk-summary-card-list.component';
|
|
27
|
+
export * from './govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-action-item/govuk-summary-list-row-action-item.component';
|
|
28
|
+
export * from './govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-actions.component';
|
|
29
|
+
export * from './govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row.component';
|
|
30
|
+
export * from './govuk-summary-list/govuk-summary-list.component';
|
|
31
|
+
export * from './govuk-table/govuk-table-body-row/govuk-table-body-row-data/govuk-table-body-row-data.component';
|
|
32
|
+
export * from './govuk-table/govuk-table-body-row/govuk-table-body-row.component';
|
|
33
|
+
export * from './govuk-table/govuk-table-heading/govuk-table-heading.component';
|
|
34
|
+
export * from './govuk-table/govuk-table.component';
|
|
35
|
+
export * from './govuk-tabs/govuk-tab-list-item/govuk-tab-list-item.component';
|
|
36
|
+
export * from './govuk-tabs/govuk-tab-panel/govuk-tab-panel.component';
|
|
37
|
+
export * from './govuk-tabs/govuk-tabs.component';
|
|
38
|
+
export * from './govuk-tag/govuk-tag.component';
|
|
39
|
+
export * from './govuk-task-list/govuk-task-list-item/govuk-task-list-item.component';
|
|
40
|
+
export * from './govuk-task-list/govuk-task-list.component';
|
|
41
|
+
export * from './govuk-text-area/govuk-text-area.component';
|
|
42
|
+
export * from './govuk-text-input/govuk-text-input.component';
|
|
43
|
+
export * from './govuk-text-input-prefix-suffix/govuk-text-input-prefix-suffix.component';
|
|
44
|
+
export * from './govuk-checkboxes/interfaces/govuk-checkboxes-input.interface';
|
|
45
|
+
export * from './govuk-date-input/interfaces/govuk-date-input.interface';
|
|
46
|
+
export * from './govuk-footer/interfaces/govuk-footer-links.interface';
|
|
47
|
+
export * from './govuk-header/interfaces/govuk-header-links.interface';
|
|
48
|
+
export * from './govuk-radio/interfaces/govuk-radio-input.interface';
|
|
49
|
+
export * from './govuk-radio/interfaces/govuk-radio-options.interface';
|
|
50
|
+
export * from './govuk-select/interfaces/govuk-select-options.interface';
|
|
51
|
+
export * from './govuk-footer/constants/govuk-footer-links.constant';
|
|
52
|
+
export * from './govuk-header/constants/govuk-header-links.constant';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojBadgeComponent {
|
|
3
|
+
badgeId: string;
|
|
4
|
+
badgeClasses: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojBadgeComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojBadgeComponent, "opal-lib-moj-badge", never, { "badgeId": { "alias": "badgeId"; "required": true; }; "badgeClasses": { "alias": "badgeClasses"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type MojBannerType = 'success' | 'warning' | 'information';
|
|
3
|
+
export declare class MojBannerComponent {
|
|
4
|
+
text: string;
|
|
5
|
+
type: MojBannerType;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojBannerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojBannerComponent, "opal-lib-moj-banner", never, { "text": { "alias": "text"; "required": true; }; "type": { "alias": "type"; "required": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
package/components/moj/moj-button-menu/moj-button-menu-item/moj-button-menu-item.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MojButtonMenuItemComponent {
|
|
4
|
+
actionClick: EventEmitter<boolean>;
|
|
5
|
+
handleClick(event: Event): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojButtonMenuItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojButtonMenuItemComponent, "opal-lib-moj-button-menu-item", never, {}, { "actionClick": "actionClick"; }, never, ["[linkText]"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojButtonMenuComponent {
|
|
3
|
+
menuButtonTitle: string;
|
|
4
|
+
/**
|
|
5
|
+
* Toggles the button menu by changing the `aria-expanded` attribute of the toggle button.
|
|
6
|
+
*/
|
|
7
|
+
toggleButtonMenu(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojButtonMenuComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojButtonMenuComponent, "opal-lib-moj-button-menu", never, { "menuButtonTitle": { "alias": "menuButtonTitle"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, AbstractControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MojDatePickerComponent implements OnInit {
|
|
5
|
+
private _control;
|
|
6
|
+
disabledDatesConcatenated: string;
|
|
7
|
+
private readonly dateService;
|
|
8
|
+
labelText: string;
|
|
9
|
+
labelClasses: string;
|
|
10
|
+
hintText: string;
|
|
11
|
+
inputId: string;
|
|
12
|
+
inputName: string;
|
|
13
|
+
inputClasses: string;
|
|
14
|
+
minDate: string;
|
|
15
|
+
maxDate: string;
|
|
16
|
+
disabledDates: string[];
|
|
17
|
+
disabledDays: string;
|
|
18
|
+
errors: string | null;
|
|
19
|
+
dateChange: EventEmitter<string>;
|
|
20
|
+
set control(abstractControl: AbstractControl);
|
|
21
|
+
get getControl(): FormControl<any>;
|
|
22
|
+
constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves the disabled dates and concatenates them into a single string.
|
|
25
|
+
*/
|
|
26
|
+
private concatenateDisabledDates;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the date value and emits the updated value through the `dateChange` event.
|
|
29
|
+
*
|
|
30
|
+
* @param value - The new date value to set.
|
|
31
|
+
*/
|
|
32
|
+
protected setDateValue(value: string): void;
|
|
33
|
+
/**
|
|
34
|
+
* Configures the date picker functionality using the moj library.
|
|
35
|
+
*/
|
|
36
|
+
configureDatePicker(): void;
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojDatePickerComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojDatePickerComponent, "opal-lib-moj-date-picker", never, { "labelText": { "alias": "labelText"; "required": true; }; "labelClasses": { "alias": "labelClasses"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "inputId": { "alias": "inputId"; "required": true; }; "inputName": { "alias": "inputName"; "required": true; }; "inputClasses": { "alias": "inputClasses"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "control": { "alias": "control"; "required": true; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MojHeaderNavigationItemComponent {
|
|
4
|
+
actionClick: EventEmitter<boolean>;
|
|
5
|
+
/**
|
|
6
|
+
* Handles the click event for the action button.
|
|
7
|
+
* @param event - The click event.
|
|
8
|
+
*/
|
|
9
|
+
handleClick(event: Event): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojHeaderNavigationItemComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojHeaderNavigationItemComponent, "opal-lib-moj-header-navigation-item, [opal-lib-moj-header-navigation-item]", never, {}, { "actionClick": "actionClick"; }, never, ["[linkText]"], true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojHeaderComponent {
|
|
3
|
+
readonly headerLinks: import("@hmcts/opal-frontend-common/components/moj").IMojHeaderLinks;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojHeaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojHeaderComponent, "opal-lib-moj-header", never, {}, {}, never, ["[organisationName]", "[serviceName]", "[organisationName]", "[serviceName]", "*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojNotificationBadgeComponent {
|
|
3
|
+
badgeId: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojNotificationBadgeComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojNotificationBadgeComponent, "opal-lib-moj-notification-badge", never, { "badgeId": { "alias": "badgeId"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojPageHeaderComponent {
|
|
3
|
+
title: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojPageHeaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojPageHeaderComponent, "opal-lib-moj-page-header", never, { "title": { "alias": "title"; "required": true; }; }, {}, never, ["[buttons]"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojPaginationItemComponent {
|
|
3
|
+
class: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojPaginationItemComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojPaginationItemComponent, "opal-lib-moj-pagination-item , [opal-lib-moj-pagination-item]", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MojPaginationLinkComponent {
|
|
4
|
+
page: number | string;
|
|
5
|
+
currentPage: number;
|
|
6
|
+
totalPages: number;
|
|
7
|
+
changePage: EventEmitter<number>;
|
|
8
|
+
/**
|
|
9
|
+
* Checks if the given page number is not the current page.
|
|
10
|
+
*
|
|
11
|
+
* @param page - The page number to check.
|
|
12
|
+
* @returns A boolean indicating whether the given page is not the current page.
|
|
13
|
+
*/
|
|
14
|
+
private pageIsNotCurrentPage;
|
|
15
|
+
/**
|
|
16
|
+
* Checks if the given page number is not negative.
|
|
17
|
+
*
|
|
18
|
+
* @param page - The page number to check.
|
|
19
|
+
* @returns `true` if the page number is greater than 0, otherwise `false`.
|
|
20
|
+
*/
|
|
21
|
+
private pageIsNotNegative;
|
|
22
|
+
/**
|
|
23
|
+
* Checks if the given page number is not greater than the total number of pages.
|
|
24
|
+
*
|
|
25
|
+
* @param page - The page number to check.
|
|
26
|
+
* @returns `true` if the page number is less than or equal to the total number of pages, otherwise `false`.
|
|
27
|
+
*/
|
|
28
|
+
private pageIsNotGreaterThanTotalPages;
|
|
29
|
+
/**
|
|
30
|
+
* Handles the page change event.
|
|
31
|
+
*
|
|
32
|
+
* @param event - The mouse event that triggered the page change.
|
|
33
|
+
* @param page - The page number to change to.
|
|
34
|
+
*
|
|
35
|
+
* Prevents the default action of the event and checks if the page number is valid.
|
|
36
|
+
* A valid page number is one that is not the current page, is greater than 0,
|
|
37
|
+
* and is less than or equal to the total number of pages.
|
|
38
|
+
* If the page number is valid, emits the changePage event with the new page number.
|
|
39
|
+
*/
|
|
40
|
+
changePageEvent(event: MouseEvent, page: number): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojPaginationLinkComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojPaginationLinkComponent, "opal-lib-moj-pagination-link", never, { "page": { "alias": "page"; "required": true; }; "currentPage": { "alias": "currentPage"; "required": true; }; "totalPages": { "alias": "totalPages"; "required": true; }; "changePage": { "alias": "changePage"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MojPaginationListComponent {
|
|
3
|
+
class: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MojPaginationListComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojPaginationListComponent, "opal-lib-moj-pagination-list , [opal-lib-moj-pagination-list]", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|