@hmcts/opal-frontend-common 0.0.59 → 0.0.61
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/README.md +3 -3
- package/fesm2022/{hmcts-opal-frontend-common-access-denied.component-Bh_bwG8W.mjs → hmcts-opal-frontend-common-access-denied.component-DhkG2aeg.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-access-denied.component-Bh_bwG8W.mjs.map → hmcts-opal-frontend-common-access-denied.component-DhkG2aeg.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-account-created.component-DyJukw2Z.mjs → hmcts-opal-frontend-common-account-created.component-bCjHzuzd.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-account-created.component-DyJukw2Z.mjs.map → hmcts-opal-frontend-common-account-created.component-bCjHzuzd.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs +14 -15
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs +7 -8
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs +4 -6
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs +15 -15
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs +12 -12
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs +12 -12
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs +4 -5
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs +22 -23
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs +5 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.mjs.map +1 -1
- 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 +4 -5
- 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.map +1 -1
- 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 +3 -3
- 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.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs +19 -19
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-DRCH9Xu0.mjs +14 -0
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-DRCH9Xu0.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error.mjs +2 -1
- package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-x5s4YjgP.mjs +24 -0
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-x5s4YjgP.mjs.map +1 -0
- package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-Bh_bwG8W.mjs → hmcts-opal-frontend-common-pages-access-denied.component-DhkG2aeg.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-Bh_bwG8W.mjs.map → hmcts-opal-frontend-common-pages-access-denied.component-DhkG2aeg.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-account-created.component-DyJukw2Z.mjs → hmcts-opal-frontend-common-pages-account-created.component-bCjHzuzd.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-account-created.component-DyJukw2Z.mjs.map → hmcts-opal-frontend-common-pages-account-created.component-bCjHzuzd.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-DRCH9Xu0.mjs +14 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-DRCH9Xu0.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-x5s4YjgP.mjs +24 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-x5s4YjgP.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-DXMQ6ph7.mjs +14 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-DXMQ6ph7.mjs.map +1 -0
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs → hmcts-opal-frontend-common-pages-sign-in-stub.component-xfXjcDuV.mjs} +4 -4
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-xfXjcDuV.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-DMJcQYOi.mjs +28 -0
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-EQuYEb0P.mjs.map → hmcts-opal-frontend-common-pages-sign-in.component-DMJcQYOi.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pages.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-DXMQ6ph7.mjs +14 -0
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-DXMQ6ph7.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-constants.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs.map +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs → hmcts-opal-frontend-common-sign-in-stub.component-xfXjcDuV.mjs} +4 -4
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-xfXjcDuV.mjs.map +1 -0
- package/fesm2022/hmcts-opal-frontend-common-sign-in.component-BrDPl8AC.mjs +28 -0
- package/fesm2022/{hmcts-opal-frontend-common-sign-in.component-D5yCVKi6.mjs.map → hmcts-opal-frontend-common-sign-in.component-BrDPl8AC.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common.mjs +6 -6
- package/package.json +3 -3
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-DlRSu1M1.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-DlRSu1M1.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs +0 -24
- package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs +0 -24
- package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-EQuYEb0P.mjs +0 -28
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-D2ftUh_2.mjs +0 -15
- package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-D2ftUh_2.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs.map +0 -1
- package/fesm2022/hmcts-opal-frontend-common-sign-in.component-D5yCVKi6.mjs +0 -28
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { DOCUMENT } from '@angular/common';
|
|
4
|
+
import { GlobalStore } from '@hmcts/opal-frontend-common/stores/global';
|
|
5
|
+
import { SSO_ENDPOINTS } from '@hmcts/opal-frontend-common/services/auth-service/constants';
|
|
6
|
+
|
|
7
|
+
class SignInComponent {
|
|
8
|
+
document = inject(DOCUMENT);
|
|
9
|
+
globalStore = inject(GlobalStore);
|
|
10
|
+
ssoEnabled = true;
|
|
11
|
+
/**
|
|
12
|
+
* Handles the submission of the stub sign-in form.
|
|
13
|
+
* Redirects the user to the SSO login page with the provided email.
|
|
14
|
+
* @param formData - The form data containing the email.
|
|
15
|
+
*/
|
|
16
|
+
handleStubSignInFormSubmit(formData) {
|
|
17
|
+
this.document.location.href = `${SSO_ENDPOINTS.login}?email=${formData.email}`;
|
|
18
|
+
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: SignInComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: SignInComponent, isStandalone: true, selector: "opal-lib-sign-in", ngImport: i0, template: "@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('./hmcts-opal-frontend-common-sign-in-stub.component-xfXjcDuV.mjs').then(m => m.SignInStubComponent)]] });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.3", ngImport: i0, type: SignInComponent, resolveDeferredDeps: () => [import('./hmcts-opal-frontend-common-sign-in-stub.component-xfXjcDuV.mjs').then(m => m.SignInStubComponent)], resolveMetadata: SignInStubComponent => ({ decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'opal-lib-sign-in', imports: [SignInStubComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n" }]
|
|
25
|
+
}], ctorParameters: null, propDecorators: null }) });
|
|
26
|
+
|
|
27
|
+
export { SignInComponent };
|
|
28
|
+
//# sourceMappingURL=hmcts-opal-frontend-common-sign-in.component-BrDPl8AC.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-sign-in.component-
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-sign-in.component-BrDPl8AC.mjs","sources":["../../../projects/opal-frontend-common/pages/sign-in/sign-in.component.ts","../../../projects/opal-frontend-common/pages/sign-in/sign-in.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { SignInStubComponent } from './sign-in-stub/sign-in-stub.component';\nimport { ISignInStubForm } from './interfaces/sign-in-stub-form.interface';\nimport { GlobalStore } from '@hmcts/opal-frontend-common/stores/global';\nimport { SSO_ENDPOINTS } from '@hmcts/opal-frontend-common/services/auth-service/constants';\n\n@Component({\n selector: 'opal-lib-sign-in',\n imports: [SignInStubComponent],\n templateUrl: './sign-in.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SignInComponent {\n private readonly document = inject(DOCUMENT);\n\n public readonly globalStore = inject(GlobalStore);\n public ssoEnabled: boolean | null = true;\n\n /**\n * Handles the submission of the stub sign-in form.\n * Redirects the user to the SSO login page with the provided email.\n * @param formData - The form data containing the email.\n */\n public handleStubSignInFormSubmit(formData: ISignInStubForm): void {\n this.document.location.href = `${SSO_ENDPOINTS.login}?email=${formData.email}`;\n }\n}\n","@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n"],"names":[],"mappings":";;;;;;MAaa,eAAe,CAAA;AACT,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAE5B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;IAC1C,UAAU,GAAmB,IAAI;AAExC;;;;AAIG;AACI,IAAA,0BAA0B,CAAC,QAAyB,EAAA;AACzD,QAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAA,EAAG,aAAa,CAAC,KAAK,CAAA,OAAA,EAAU,QAAQ,CAAC,KAAK,EAAE;IAChF;uGAbW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,4ECb5B,6JAGA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,sBAAA,EAAA,CAAA,MAAA,CAAA,OAAA,kEAAA,CAAA,CAAA,IAAA,CAAA,CAAA,IAAA,CAAA,CAAA,mBAAA,CAAA,CAAA,CAAA,EAAA,CAAA;;gGDUa,eAAe,EAAA,mBAAA,EAAA,MAAA,CAAA,OAAA,kEAAA,CAAA,CAAA,IAAA,CAAA,CAAA,IAAA,CAAA,CAAA,mBAAA,CAAA,CAAA,EAAA,eAAA,EAAA,mBAAA,KAAA,EAAA,UAAA,EAAA,CAAA;sBAN3B,SAAS;AACE,gBAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WACnB,CAAC,mBAAmB,CAAC,EAAA,eAAA,EAEb,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6JAAA,EAAA;;;;;"}
|
|
@@ -31,39 +31,39 @@ const routing = [
|
|
|
31
31
|
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
|
|
32
32
|
{
|
|
33
33
|
path: PAGES_ROUTING_PATHS.children.accessDenied,
|
|
34
|
-
loadComponent: () => import('./hmcts-opal-frontend-common-access-denied.component-
|
|
34
|
+
loadComponent: () => import('./hmcts-opal-frontend-common-access-denied.component-DhkG2aeg.mjs').then((c) => c.AccessDeniedComponent),
|
|
35
35
|
canActivate: [authGuard, accountGuard],
|
|
36
36
|
data: { title: PAGES_ROUTING_TITLES.children.accessDenied },
|
|
37
37
|
resolve: { title: TitleResolver },
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
path: PAGES_ROUTING_PATHS.children.concurrencyFailure,
|
|
41
|
-
loadComponent: () => import('./hmcts-opal-frontend-common-concurrency-failure.component-
|
|
41
|
+
loadComponent: () => import('./hmcts-opal-frontend-common-concurrency-failure.component-DRCH9Xu0.mjs').then((c) => c.ConcurrencyFailureComponent),
|
|
42
42
|
data: { title: PAGES_ROUTING_TITLES.children.concurrencyFailure },
|
|
43
43
|
resolve: { title: TitleResolver },
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
path: PAGES_ROUTING_PATHS.children.permissionDenied,
|
|
47
|
-
loadComponent: () => import('./hmcts-opal-frontend-common-permission-denied.component-
|
|
47
|
+
loadComponent: () => import('./hmcts-opal-frontend-common-permission-denied.component-DXMQ6ph7.mjs').then((c) => c.PermissionDeniedComponent),
|
|
48
48
|
data: { title: PAGES_ROUTING_TITLES.children.permissionDenied },
|
|
49
49
|
resolve: { title: TitleResolver },
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
path: PAGES_ROUTING_PATHS.children.internalServerError,
|
|
53
|
-
loadComponent: () => import('./hmcts-opal-frontend-common-internal-server-error.component-
|
|
53
|
+
loadComponent: () => import('./hmcts-opal-frontend-common-internal-server-error.component-x5s4YjgP.mjs').then((c) => c.InternalServerErrorComponent),
|
|
54
54
|
data: { title: PAGES_ROUTING_TITLES.children.internalServerError },
|
|
55
55
|
resolve: { title: TitleResolver },
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
path: PAGES_ROUTING_PATHS.children.signIn,
|
|
59
|
-
loadComponent: () => import('./hmcts-opal-frontend-common-sign-in.component-
|
|
59
|
+
loadComponent: () => import('./hmcts-opal-frontend-common-sign-in.component-BrDPl8AC.mjs').then((c) => c.SignInComponent),
|
|
60
60
|
canActivate: [signedInGuard],
|
|
61
61
|
data: { title: PAGES_ROUTING_TITLES.children.signIn },
|
|
62
62
|
resolve: { title: TitleResolver },
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
path: PAGES_ROUTING_PATHS.children.accountCreated,
|
|
66
|
-
loadComponent: () => import('./hmcts-opal-frontend-common-account-created.component-
|
|
66
|
+
loadComponent: () => import('./hmcts-opal-frontend-common-account-created.component-bCjHzuzd.mjs').then((c) => c.AccountCreated),
|
|
67
67
|
canActivate: [authGuard],
|
|
68
68
|
data: { title: PAGES_ROUTING_TITLES.children.accountCreated },
|
|
69
69
|
resolve: { title: TitleResolver },
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/opal-frontend-common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/hmcts/opal-frontend-common-ui-lib"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@angular/common": "^18.2.0 || ^19.0.0 || ^20.0.0",
|
|
11
|
-
"@angular/core": "^18.2.0 || ^19.0.0 || ^20.0.0"
|
|
10
|
+
"@angular/common": "^18.2.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
11
|
+
"@angular/core": "^18.2.0 || ^19.0.0 || ^20.0.0 || ^21.0.0"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"tslib": "^2.3.0"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class ConcurrencyFailureComponent {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ConcurrencyFailureComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ConcurrencyFailureComponent, isStandalone: true, selector: "opal-lib-concurrency-failure", ngImport: i0, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem</h1>\n <p class=\"govuk-body\">Something else was changed while you were doing this.</p>\n <p class=\"govuk-body\">Your changes have not been saved. You will need to start again.</p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ConcurrencyFailureComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'opal-lib-concurrency-failure', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem</h1>\n <p class=\"govuk-body\">Something else was changed while you were doing this.</p>\n <p class=\"govuk-body\">Your changes have not been saved. You will need to start again.</p>\n</div>\n" }]
|
|
12
|
-
}] });
|
|
13
|
-
|
|
14
|
-
export { ConcurrencyFailureComponent };
|
|
15
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-concurrency-failure.component-DlRSu1M1.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-concurrency-failure.component-DlRSu1M1.mjs","sources":["../../../projects/opal-frontend-common/pages/concurrency-failure/concurrency-failure.component.ts","../../../projects/opal-frontend-common/pages/concurrency-failure/concurrency-failure.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'opal-lib-concurrency-failure',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './concurrency-failure.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ConcurrencyFailureComponent {}\n","<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem</h1>\n <p class=\"govuk-body\">Something else was changed while you were doing this.</p>\n <p class=\"govuk-body\">Your changes have not been saved. You will need to start again.</p>\n</div>\n"],"names":[],"mappings":";;;;MAUa,2BAA2B,CAAA;wGAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVxC,4SAKA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDCY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIX,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAPvC,SAAS;+BACE,8BAA8B,EAAA,UAAA,EAC5B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4SAAA,EAAA;;;;;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { Location, CommonModule } from '@angular/common';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
5
|
-
|
|
6
|
-
class InternalServerErrorComponent {
|
|
7
|
-
router = inject(Router);
|
|
8
|
-
location = inject(Location);
|
|
9
|
-
operationIdDisplay = computed(() => {
|
|
10
|
-
const navigationState = this.router.currentNavigation()?.extras?.state;
|
|
11
|
-
const persistedState = this.location.getState();
|
|
12
|
-
const operationId = navigationState?.operationId ?? persistedState?.operationId;
|
|
13
|
-
return operationId && operationId.trim().length > 0 ? operationId : 'Unavailable';
|
|
14
|
-
}, ...(ngDevMode ? [{ debugName: "operationIdDisplay" }] : []));
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InternalServerErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: InternalServerErrorComponent, isStandalone: true, selector: "opal-lib-internal-server-error", ngImport: i0, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\" data-testid=\"error-code\">Error code: {{ operationIdDisplay() }}.</p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InternalServerErrorComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'opal-lib-internal-server-error', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\" data-testid=\"error-code\">Error code: {{ operationIdDisplay() }}.</p>\n</div>\n" }]
|
|
21
|
-
}] });
|
|
22
|
-
|
|
23
|
-
export { InternalServerErrorComponent };
|
|
24
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs.map
|
package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs","sources":["../../../projects/opal-frontend-common/pages/internal-server-error/internal-server-error.component.ts","../../../projects/opal-frontend-common/pages/internal-server-error/internal-server-error.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { CommonModule, Location } from '@angular/common';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'opal-lib-internal-server-error',\n imports: [CommonModule],\n templateUrl: './internal-server-error.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InternalServerErrorComponent {\n private readonly router = inject(Router);\n private readonly location = inject(Location);\n\n public readonly operationIdDisplay = computed(() => {\n const navigationState = this.router.currentNavigation()?.extras?.state as { operationId?: string } | undefined;\n const persistedState = this.location.getState() as { operationId?: string } | undefined;\n const operationId = navigationState?.operationId ?? persistedState?.operationId;\n return operationId && operationId.trim().length > 0 ? operationId : 'Unavailable';\n });\n}\n","<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\" data-testid=\"error-code\">Error code: {{ operationIdDisplay() }}.</p>\n</div>\n"],"names":[],"mappings":";;;;;MAUa,4BAA4B,CAAA;AACtB,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAE5B,IAAA,kBAAkB,GAAG,QAAQ,CAAC,MAAK;AACjD,QAAA,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,KAA6C;QAC9G,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAA0C;QACvF,MAAM,WAAW,GAAG,eAAe,EAAE,WAAW,IAAI,cAAc,EAAE,WAAW;AAC/E,QAAA,OAAO,WAAW,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,WAAW,GAAG,aAAa;AACnF,IAAA,CAAC,8DAAC;wGATS,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVzC,2OAIA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDEY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIX,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBANxC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gCAAgC,WACjC,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2OAAA,EAAA;;;;;"}
|
package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class ConcurrencyFailureComponent {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ConcurrencyFailureComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ConcurrencyFailureComponent, isStandalone: true, selector: "opal-lib-concurrency-failure", ngImport: i0, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem</h1>\n <p class=\"govuk-body\">Something else was changed while you were doing this.</p>\n <p class=\"govuk-body\">Your changes have not been saved. You will need to start again.</p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ConcurrencyFailureComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'opal-lib-concurrency-failure', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem</h1>\n <p class=\"govuk-body\">Something else was changed while you were doing this.</p>\n <p class=\"govuk-body\">Your changes have not been saved. You will need to start again.</p>\n</div>\n" }]
|
|
12
|
-
}] });
|
|
13
|
-
|
|
14
|
-
export { ConcurrencyFailureComponent };
|
|
15
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs.map
|
package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs","sources":["../../../projects/opal-frontend-common/pages/concurrency-failure/concurrency-failure.component.ts","../../../projects/opal-frontend-common/pages/concurrency-failure/concurrency-failure.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'opal-lib-concurrency-failure',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './concurrency-failure.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ConcurrencyFailureComponent {}\n","<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem</h1>\n <p class=\"govuk-body\">Something else was changed while you were doing this.</p>\n <p class=\"govuk-body\">Your changes have not been saved. You will need to start again.</p>\n</div>\n"],"names":[],"mappings":";;;;MAUa,2BAA2B,CAAA;wGAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVxC,4SAKA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDCY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIX,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAPvC,SAAS;+BACE,8BAA8B,EAAA,UAAA,EAC5B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4SAAA,EAAA;;;;;"}
|
package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { Location, CommonModule } from '@angular/common';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
5
|
-
|
|
6
|
-
class InternalServerErrorComponent {
|
|
7
|
-
router = inject(Router);
|
|
8
|
-
location = inject(Location);
|
|
9
|
-
operationIdDisplay = computed(() => {
|
|
10
|
-
const navigationState = this.router.currentNavigation()?.extras?.state;
|
|
11
|
-
const persistedState = this.location.getState();
|
|
12
|
-
const operationId = navigationState?.operationId ?? persistedState?.operationId;
|
|
13
|
-
return operationId && operationId.trim().length > 0 ? operationId : 'Unavailable';
|
|
14
|
-
}, ...(ngDevMode ? [{ debugName: "operationIdDisplay" }] : []));
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InternalServerErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: InternalServerErrorComponent, isStandalone: true, selector: "opal-lib-internal-server-error", ngImport: i0, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\" data-testid=\"error-code\">Error code: {{ operationIdDisplay() }}.</p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InternalServerErrorComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'opal-lib-internal-server-error', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\" data-testid=\"error-code\">Error code: {{ operationIdDisplay() }}.</p>\n</div>\n" }]
|
|
21
|
-
}] });
|
|
22
|
-
|
|
23
|
-
export { InternalServerErrorComponent };
|
|
24
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs.map
|
package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs","sources":["../../../projects/opal-frontend-common/pages/internal-server-error/internal-server-error.component.ts","../../../projects/opal-frontend-common/pages/internal-server-error/internal-server-error.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { CommonModule, Location } from '@angular/common';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'opal-lib-internal-server-error',\n imports: [CommonModule],\n templateUrl: './internal-server-error.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InternalServerErrorComponent {\n private readonly router = inject(Router);\n private readonly location = inject(Location);\n\n public readonly operationIdDisplay = computed(() => {\n const navigationState = this.router.currentNavigation()?.extras?.state as { operationId?: string } | undefined;\n const persistedState = this.location.getState() as { operationId?: string } | undefined;\n const operationId = navigationState?.operationId ?? persistedState?.operationId;\n return operationId && operationId.trim().length > 0 ? operationId : 'Unavailable';\n });\n}\n","<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\" data-testid=\"error-code\">Error code: {{ operationIdDisplay() }}.</p>\n</div>\n"],"names":[],"mappings":";;;;;MAUa,4BAA4B,CAAA;AACtB,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAE5B,IAAA,kBAAkB,GAAG,QAAQ,CAAC,MAAK;AACjD,QAAA,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,KAA6C;QAC9G,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAA0C;QACvF,MAAM,WAAW,GAAG,eAAe,EAAE,WAAW,IAAI,cAAc,EAAE,WAAW;AAC/E,QAAA,OAAO,WAAW,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,WAAW,GAAG,aAAa;AACnF,IAAA,CAAC,8DAAC;wGATS,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVzC,2OAIA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDEY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIX,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBANxC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gCAAgC,WACjC,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2OAAA,EAAA;;;;;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class PermissionDeniedComponent {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PermissionDeniedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PermissionDeniedComponent, isStandalone: true, selector: "opal-lib-permission-denied", ngImport: i0, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">You do not have permission for this</h1>\n <p class=\"govuk-body\">This may be because:</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>the account is outside your business unit and some features are restricted</li>\n <li>you are not permitted to use this feature</li>\n </ul>\n <p class=\"govuk-body\">If you think this is incorrect, contact your line manager.</p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PermissionDeniedComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'opal-lib-permission-denied', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">You do not have permission for this</h1>\n <p class=\"govuk-body\">This may be because:</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>the account is outside your business unit and some features are restricted</li>\n <li>you are not permitted to use this feature</li>\n </ul>\n <p class=\"govuk-body\">If you think this is incorrect, contact your line manager.</p>\n</div>\n" }]
|
|
12
|
-
}] });
|
|
13
|
-
|
|
14
|
-
export { PermissionDeniedComponent };
|
|
15
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs.map
|
package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs","sources":["../../../projects/opal-frontend-common/pages/permission-denied/permission-denied.component.ts","../../../projects/opal-frontend-common/pages/permission-denied/permission-denied.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'opal-lib-permission-denied',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './permission-denied.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PermissionDeniedComponent {}\n","<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">You do not have permission for this</h1>\n <p class=\"govuk-body\">This may be because:</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>the account is outside your business unit and some features are restricted</li>\n <li>you are not permitted to use this feature</li>\n </ul>\n <p class=\"govuk-body\">If you think this is incorrect, contact your line manager.</p>\n</div>\n"],"names":[],"mappings":";;;;MAUa,yBAAyB,CAAA;wGAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVtC,0dASA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDHY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIX,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;+BACE,4BAA4B,EAAA,UAAA,EAC1B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0dAAA,EAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs","sources":["../../../projects/opal-frontend-common/pages/sign-in/sign-in-stub/sign-in-stub.component.ts","../../../projects/opal-frontend-common/pages/sign-in/sign-in-stub/sign-in-stub.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, OnInit, Output } from '@angular/core';\nimport { FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { ISignInStubForm } from '../interfaces';\nimport { GovukTextInputComponent } from '@hmcts/opal-frontend-common/components/govuk/govuk-text-input';\nimport { GovukButtonComponent } from '@hmcts/opal-frontend-common/components/govuk/govuk-button';\n\n@Component({\n selector: 'opal-lib-sign-in-stub',\n imports: [FormsModule, ReactiveFormsModule, GovukTextInputComponent, GovukButtonComponent],\n templateUrl: './sign-in-stub.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SignInStubComponent implements OnInit {\n @Output() private readonly signInFormSubmit = new EventEmitter<ISignInStubForm>();\n\n public signInForm!: FormGroup;\n\n /**\n * Sets up the sign-in form.\n */\n private setupSignInForm(): void {\n this.signInForm = new FormGroup({\n email: new FormControl(null, [Validators.required]),\n });\n }\n\n /**\n * Handles the form submission.\n * If the signInForm is valid, emits the signInForm value using the signInFormSubmit event.\n */\n public handleFormSubmit(): void {\n if (this.signInForm.valid) {\n this.signInFormSubmit.emit(this.signInForm.value);\n }\n }\n\n public ngOnInit(): void {\n this.setupSignInForm();\n }\n}\n","<form (submit)=\"handleFormSubmit()\">\n <div class=\"govuk-grid-column-two-thirds\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">Sign in</h1>\n </legend>\n\n <div [formGroup]=\"signInForm\">\n <opal-lib-govuk-text-input\n labelText=\"Email\"\n inputId=\"email\"\n inputName=\"email\"\n inputClasses=\"govuk-!-width-one-half\"\n [control]=\"signInForm.controls['email']\"\n ></opal-lib-govuk-text-input>\n </div>\n </fieldset>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-one-third\">\n <opal-lib-govuk-button buttonId=\"submitForm\" type=\"submit\"> Sign in</opal-lib-govuk-button>\n </div>\n </div>\n </div>\n</form>\n"],"names":[],"mappings":";;;;;;;MAYa,mBAAmB,CAAA;AACH,IAAA,gBAAgB,GAAG,IAAI,YAAY,EAAmB;AAE1E,IAAA,UAAU;AAEjB;;AAEG;IACK,eAAe,GAAA;AACrB,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,SAAS,CAAC;YAC9B,KAAK,EAAE,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AACpD,SAAA,CAAC;IACJ;AAEA;;;AAGG;IACI,gBAAgB,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE;YACzB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;QACnD;IACF;IAEO,QAAQ,GAAA;QACb,IAAI,CAAC,eAAe,EAAE;IACxB;wGA1BW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,OAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZhC,g2BAwBA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDhBY,WAAW,udAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,uBAAuB,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,cAAA,EAAA,SAAA,EAAA,WAAA,EAAA,cAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,oBAAoB,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAI9E,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,EAAA,OAAA,EACxB,CAAC,WAAW,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAA,eAAA,EAEzE,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,g2BAAA,EAAA;;sBAG9C;;;;;"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
4
|
-
import { GlobalStore } from '@hmcts/opal-frontend-common/stores/global';
|
|
5
|
-
import { SSO_ENDPOINTS } from '@hmcts/opal-frontend-common/services/auth-service/constants';
|
|
6
|
-
|
|
7
|
-
class SignInComponent {
|
|
8
|
-
document = inject(DOCUMENT);
|
|
9
|
-
globalStore = inject(GlobalStore);
|
|
10
|
-
ssoEnabled = true;
|
|
11
|
-
/**
|
|
12
|
-
* Handles the submission of the stub sign-in form.
|
|
13
|
-
* Redirects the user to the SSO login page with the provided email.
|
|
14
|
-
* @param formData - The form data containing the email.
|
|
15
|
-
*/
|
|
16
|
-
handleStubSignInFormSubmit(formData) {
|
|
17
|
-
this.document.location.href = `${SSO_ENDPOINTS.login}?email=${formData.email}`;
|
|
18
|
-
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SignInComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SignInComponent, isStandalone: true, selector: "opal-lib-sign-in", ngImport: i0, template: "@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('./hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs').then(m => m.SignInStubComponent)]] });
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "20.3.16", ngImport: i0, type: SignInComponent, resolveDeferredDeps: () => [import('./hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs').then(m => m.SignInStubComponent)], resolveMetadata: SignInStubComponent => ({ decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'opal-lib-sign-in', imports: [CommonModule, SignInStubComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n" }]
|
|
25
|
-
}], ctorParameters: null, propDecorators: null }) });
|
|
26
|
-
|
|
27
|
-
export { SignInComponent };
|
|
28
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-pages-sign-in.component-EQuYEb0P.mjs.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class PermissionDeniedComponent {
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PermissionDeniedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PermissionDeniedComponent, isStandalone: true, selector: "opal-lib-permission-denied", ngImport: i0, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">You do not have permission for this</h1>\n <p class=\"govuk-body\">This may be because:</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>the account is outside your business unit and some features are restricted</li>\n <li>you are not permitted to use this feature</li>\n </ul>\n <p class=\"govuk-body\">If you think this is incorrect, contact your line manager.</p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PermissionDeniedComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'opal-lib-permission-denied', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">You do not have permission for this</h1>\n <p class=\"govuk-body\">This may be because:</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>the account is outside your business unit and some features are restricted</li>\n <li>you are not permitted to use this feature</li>\n </ul>\n <p class=\"govuk-body\">If you think this is incorrect, contact your line manager.</p>\n</div>\n" }]
|
|
12
|
-
}] });
|
|
13
|
-
|
|
14
|
-
export { PermissionDeniedComponent };
|
|
15
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-permission-denied.component-D2ftUh_2.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-permission-denied.component-D2ftUh_2.mjs","sources":["../../../projects/opal-frontend-common/pages/permission-denied/permission-denied.component.ts","../../../projects/opal-frontend-common/pages/permission-denied/permission-denied.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'opal-lib-permission-denied',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './permission-denied.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PermissionDeniedComponent {}\n","<div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">You do not have permission for this</h1>\n <p class=\"govuk-body\">This may be because:</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>the account is outside your business unit and some features are restricted</li>\n <li>you are not permitted to use this feature</li>\n </ul>\n <p class=\"govuk-body\">If you think this is incorrect, contact your line manager.</p>\n</div>\n"],"names":[],"mappings":";;;;MAUa,yBAAyB,CAAA;wGAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVtC,0dASA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDHY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIX,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;+BACE,4BAA4B,EAAA,UAAA,EAC1B,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0dAAA,EAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs","sources":["../../../projects/opal-frontend-common/pages/sign-in/sign-in-stub/sign-in-stub.component.ts","../../../projects/opal-frontend-common/pages/sign-in/sign-in-stub/sign-in-stub.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, OnInit, Output } from '@angular/core';\nimport { FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { ISignInStubForm } from '../interfaces';\nimport { GovukTextInputComponent } from '@hmcts/opal-frontend-common/components/govuk/govuk-text-input';\nimport { GovukButtonComponent } from '@hmcts/opal-frontend-common/components/govuk/govuk-button';\n\n@Component({\n selector: 'opal-lib-sign-in-stub',\n imports: [FormsModule, ReactiveFormsModule, GovukTextInputComponent, GovukButtonComponent],\n templateUrl: './sign-in-stub.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SignInStubComponent implements OnInit {\n @Output() private readonly signInFormSubmit = new EventEmitter<ISignInStubForm>();\n\n public signInForm!: FormGroup;\n\n /**\n * Sets up the sign-in form.\n */\n private setupSignInForm(): void {\n this.signInForm = new FormGroup({\n email: new FormControl(null, [Validators.required]),\n });\n }\n\n /**\n * Handles the form submission.\n * If the signInForm is valid, emits the signInForm value using the signInFormSubmit event.\n */\n public handleFormSubmit(): void {\n if (this.signInForm.valid) {\n this.signInFormSubmit.emit(this.signInForm.value);\n }\n }\n\n public ngOnInit(): void {\n this.setupSignInForm();\n }\n}\n","<form (submit)=\"handleFormSubmit()\">\n <div class=\"govuk-grid-column-two-thirds\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">Sign in</h1>\n </legend>\n\n <div [formGroup]=\"signInForm\">\n <opal-lib-govuk-text-input\n labelText=\"Email\"\n inputId=\"email\"\n inputName=\"email\"\n inputClasses=\"govuk-!-width-one-half\"\n [control]=\"signInForm.controls['email']\"\n ></opal-lib-govuk-text-input>\n </div>\n </fieldset>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-one-third\">\n <opal-lib-govuk-button buttonId=\"submitForm\" type=\"submit\"> Sign in</opal-lib-govuk-button>\n </div>\n </div>\n </div>\n</form>\n"],"names":[],"mappings":";;;;;;;MAYa,mBAAmB,CAAA;AACH,IAAA,gBAAgB,GAAG,IAAI,YAAY,EAAmB;AAE1E,IAAA,UAAU;AAEjB;;AAEG;IACK,eAAe,GAAA;AACrB,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,SAAS,CAAC;YAC9B,KAAK,EAAE,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AACpD,SAAA,CAAC;IACJ;AAEA;;;AAGG;IACI,gBAAgB,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE;YACzB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;QACnD;IACF;IAEO,QAAQ,GAAA;QACb,IAAI,CAAC,eAAe,EAAE;IACxB;wGA1BW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,OAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZhC,g2BAwBA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDhBY,WAAW,udAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,uBAAuB,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,cAAA,EAAA,SAAA,EAAA,WAAA,EAAA,cAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,oBAAoB,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAI9E,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,EAAA,OAAA,EACxB,CAAC,WAAW,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAA,eAAA,EAEzE,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,g2BAAA,EAAA;;sBAG9C;;;;;"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
4
|
-
import { GlobalStore } from '@hmcts/opal-frontend-common/stores/global';
|
|
5
|
-
import { SSO_ENDPOINTS } from '@hmcts/opal-frontend-common/services/auth-service/constants';
|
|
6
|
-
|
|
7
|
-
class SignInComponent {
|
|
8
|
-
document = inject(DOCUMENT);
|
|
9
|
-
globalStore = inject(GlobalStore);
|
|
10
|
-
ssoEnabled = true;
|
|
11
|
-
/**
|
|
12
|
-
* Handles the submission of the stub sign-in form.
|
|
13
|
-
* Redirects the user to the SSO login page with the provided email.
|
|
14
|
-
* @param formData - The form data containing the email.
|
|
15
|
-
*/
|
|
16
|
-
handleStubSignInFormSubmit(formData) {
|
|
17
|
-
this.document.location.href = `${SSO_ENDPOINTS.login}?email=${formData.email}`;
|
|
18
|
-
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SignInComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SignInComponent, isStandalone: true, selector: "opal-lib-sign-in", ngImport: i0, template: "@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('./hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs').then(m => m.SignInStubComponent)]] });
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "20.3.16", ngImport: i0, type: SignInComponent, resolveDeferredDeps: () => [import('./hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs').then(m => m.SignInStubComponent)], resolveMetadata: SignInStubComponent => ({ decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'opal-lib-sign-in', imports: [CommonModule, SignInStubComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@defer (when !globalStore.ssoEnabled()) {\n <opal-lib-sign-in-stub (signInFormSubmit)=\"handleStubSignInFormSubmit($event)\"></opal-lib-sign-in-stub>\n}\n" }]
|
|
25
|
-
}], ctorParameters: null, propDecorators: null }) });
|
|
26
|
-
|
|
27
|
-
export { SignInComponent };
|
|
28
|
-
//# sourceMappingURL=hmcts-opal-frontend-common-sign-in.component-D5yCVKi6.mjs.map
|