@hmcts/opal-frontend-common 0.0.55 → 0.0.57
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/govuk/govuk-tabs/govuk-tabs-list-item/README.md +15 -5
- package/fesm2022/{hmcts-opal-frontend-common-access-denied.component-GXcZeEZc.mjs → hmcts-opal-frontend-common-access-denied.component-Bh_bwG8W.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-access-denied.component-GXcZeEZc.mjs.map → hmcts-opal-frontend-common-access-denied.component-Bh_bwG8W.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-account-created.component-CnWM00dp.mjs → hmcts-opal-frontend-common-account-created.component-DyJukw2Z.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-account-created.component-CnWM00dp.mjs.map → hmcts-opal-frontend-common-account-created.component-DyJukw2Z.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-array-base.mjs +3 -3
- 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-base.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs +3 -3
- 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.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs +90 -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-value.mjs +3 -3
- 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.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs +3 -3
- 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.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 +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 +3 -3
- 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.mjs +3 -3
- 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-outer-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs +105 -16
- 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-button.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs +23 -13
- 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 +14 -4
- 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-error-summary.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs +3 -3
- 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.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs +16 -4
- 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 +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs +24 -14
- 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 +14 -4
- 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-list.mjs +12 -12
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs +12 -12
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +35 -14
- 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 +40 -6
- 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 +26 -6
- 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-task-list.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs +17 -4
- 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 +10 -4
- 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 +15 -4
- 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 +7 -4
- 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 +21 -21
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs +3 -3
- 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.mjs +11 -13
- 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 +14 -4
- 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-option-moj-filter-panel-option-form-group-item.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 +4 -4
- 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-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.mjs +3 -3
- 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.mjs +9 -4
- 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-notification-badge.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs +18 -18
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs +6 -6
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs +6 -6
- package/fesm2022/{hmcts-opal-frontend-common-concurrency-failure.component-CMrT3Rgc.mjs → hmcts-opal-frontend-common-concurrency-failure.component-DlRSu1M1.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-concurrency-failure.component-CMrT3Rgc.mjs.map → hmcts-opal-frontend-common-concurrency-failure.component-DlRSu1M1.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs +3 -3
- package/fesm2022/{hmcts-opal-frontend-common-internal-server-error.component-2YW-gEtF.mjs → hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-internal-server-error.component-2YW-gEtF.mjs.map → hmcts-opal-frontend-common-internal-server-error.component-CUrAQABP.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-GXcZeEZc.mjs → hmcts-opal-frontend-common-pages-access-denied.component-Bh_bwG8W.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-GXcZeEZc.mjs.map → hmcts-opal-frontend-common-pages-access-denied.component-Bh_bwG8W.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-account-created.component-CnWM00dp.mjs → hmcts-opal-frontend-common-pages-account-created.component-DyJukw2Z.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-account-created.component-CnWM00dp.mjs.map → hmcts-opal-frontend-common-pages-account-created.component-DyJukw2Z.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-concurrency-failure.component-CMrT3Rgc.mjs → hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-concurrency-failure.component-CMrT3Rgc.mjs.map → hmcts-opal-frontend-common-pages-concurrency-failure.component-DlRSu1M1.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-internal-server-error.component-2YW-gEtF.mjs → hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-internal-server-error.component-2YW-gEtF.mjs.map → hmcts-opal-frontend-common-pages-internal-server-error.component-CUrAQABP.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-permission-denied.component-DkLF7y3R.mjs → hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-permission-denied.component-DkLF7y3R.mjs.map → hmcts-opal-frontend-common-pages-permission-denied.component-D2ftUh_2.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-vKSMYfXq.mjs → hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-vKSMYfXq.mjs.map → hmcts-opal-frontend-common-pages-sign-in-stub.component-poQu8P9k.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-DVDmyTKi.mjs → hmcts-opal-frontend-common-pages-sign-in.component-EQuYEb0P.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-DVDmyTKi.mjs.map → hmcts-opal-frontend-common-pages-sign-in.component-EQuYEb0P.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pages.mjs +6 -6
- package/fesm2022/{hmcts-opal-frontend-common-permission-denied.component-DkLF7y3R.mjs → hmcts-opal-frontend-common-permission-denied.component-D2ftUh_2.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-permission-denied.component-DkLF7y3R.mjs.map → hmcts-opal-frontend-common-permission-denied.component-D2ftUh_2.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs +3 -3
- package/fesm2022/{hmcts-opal-frontend-common-sign-in-stub.component-vKSMYfXq.mjs → hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-sign-in-stub.component-vKSMYfXq.mjs.map → hmcts-opal-frontend-common-sign-in-stub.component-poQu8P9k.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-sign-in.component-D9_GhRtz.mjs → hmcts-opal-frontend-common-sign-in.component-D5yCVKi6.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-sign-in.component-D9_GhRtz.mjs.map → hmcts-opal-frontend-common-sign-in.component-D5yCVKi6.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-validators-amount.mjs +1 -1
- package/fesm2022/hmcts-opal-frontend-common-validators-amount.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common.mjs +6 -6
- package/package.json +1 -1
- package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.d.ts +25 -2
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-accordion.d.ts +57 -8
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.d.ts +7 -1
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-select.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.d.ts +16 -3
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.d.ts +10 -1
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs.d.ts +10 -1
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-area.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.d.ts +2 -1
- package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu.d.ts +2 -3
- package/types/hmcts-opal-frontend-common-components-moj-moj-date-picker.d.ts +1 -0
- package/types/hmcts-opal-frontend-common-components-moj-moj-filter.d.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-validators-amount.mjs","sources":["../../../projects/opal-frontend-common/validators/amount/amount.validator.ts","../../../projects/opal-frontend-common/validators/amount/hmcts-opal-frontend-common-validators-amount.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\n\nexport function amountValidator(maxIntegers: number, maxDecimals: number): ValidatorFn {\n return (control: AbstractControl): ValidationErrors | null => {\n if (control.value === null || control.value === undefined || control.value === '') {\n return null;\n }\n\n // Ensure the value is numerical, allowing only digits and optionally one decimal point\n if (Number.isNaN(Number(control.value))) {\n return { invalidAmountValue: true };\n }\n\n // Regex to match numbers with the specified integer and decimal places\n const regex = new RegExp(`^-?(0|[1-9]
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-validators-amount.mjs","sources":["../../../projects/opal-frontend-common/validators/amount/amount.validator.ts","../../../projects/opal-frontend-common/validators/amount/hmcts-opal-frontend-common-validators-amount.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\n\nexport function amountValidator(maxIntegers: number, maxDecimals: number): ValidatorFn {\n return (control: AbstractControl): ValidationErrors | null => {\n if (control.value === null || control.value === undefined || control.value === '') {\n return null;\n }\n\n // Ensure the value is numerical, allowing only digits and optionally one decimal point\n if (Number.isNaN(Number(control.value))) {\n return { invalidAmountValue: true };\n }\n\n // Regex to match numbers with the specified integer and decimal places\n const regex = new RegExp(String.raw`^-?(0|[1-9]\\d{0,${maxIntegers - 1}})(.\\d{0,${maxDecimals}})?$`);\n\n return regex.test(control.value) ? null : { invalidAmount: true };\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAEM,SAAU,eAAe,CAAC,WAAmB,EAAE,WAAmB,EAAA;IACtE,OAAO,CAAC,OAAwB,KAA6B;AAC3D,QAAA,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,IAAI,OAAO,CAAC,KAAK,KAAK,EAAE,EAAE;AACjF,YAAA,OAAO,IAAI;QACb;;AAGA,QAAA,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE;AACvC,YAAA,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACrC;;AAGA,QAAA,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,GAAG,CAAA,CAAA,gBAAA,EAAmB,WAAW,GAAG,CAAC,YAAY,WAAW,CAAA,IAAA,CAAM,CAAC;QAEnG,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE;AACnE,IAAA,CAAC;AACH;;AClBA;;AAEG;;;;"}
|
|
@@ -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-Bh_bwG8W.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-DlRSu1M1.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-D2ftUh_2.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-CUrAQABP.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-D5yCVKi6.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-DyJukw2Z.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
package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, OnChanges, ElementRef, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { AbstractControl, FormControl } from '@angular/forms';
|
|
4
4
|
|
|
5
5
|
interface IAlphagovAccessibleAutocompleteItem {
|
|
@@ -7,10 +7,12 @@ interface IAlphagovAccessibleAutocompleteItem {
|
|
|
7
7
|
value: string | number;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
declare class AlphagovAccessibleAutocompleteComponent implements OnInit, OnDestroy {
|
|
10
|
+
declare class AlphagovAccessibleAutocompleteComponent implements OnInit, OnDestroy, OnChanges {
|
|
11
11
|
private readonly changeDetector;
|
|
12
12
|
private _control;
|
|
13
13
|
private readonly ngUnsubscribe;
|
|
14
|
+
private describedByObserver;
|
|
15
|
+
private containerObserver;
|
|
14
16
|
labelText: string;
|
|
15
17
|
labelClasses: string;
|
|
16
18
|
inputId: string;
|
|
@@ -57,6 +59,26 @@ declare class AlphagovAccessibleAutocompleteComponent implements OnInit, OnDestr
|
|
|
57
59
|
* Configures the auto-complete functionality using the accessible-autocomplete library.
|
|
58
60
|
*/
|
|
59
61
|
private configureAutoComplete;
|
|
62
|
+
/**
|
|
63
|
+
* Gets the rendered autocomplete text input, if present.
|
|
64
|
+
*/
|
|
65
|
+
private getVisibleInput;
|
|
66
|
+
/**
|
|
67
|
+
* Builds the hint/error ids to apply to aria-describedby.
|
|
68
|
+
*/
|
|
69
|
+
private buildDescribedByIds;
|
|
70
|
+
/**
|
|
71
|
+
* Updates aria-describedby on the visible input, preserving any non-managed ids.
|
|
72
|
+
*/
|
|
73
|
+
private applyDescribedBy;
|
|
74
|
+
/**
|
|
75
|
+
* Observes aria-describedby changes on the visible input to reapply managed ids.
|
|
76
|
+
*/
|
|
77
|
+
private observeDescribedBy;
|
|
78
|
+
/**
|
|
79
|
+
* Waits for the visible input to appear, then applies describedby and observers.
|
|
80
|
+
*/
|
|
81
|
+
private waitForInputAndApply;
|
|
60
82
|
/**
|
|
61
83
|
* Sets up the control subscription for value changes.
|
|
62
84
|
* Whenever the control value changes, this method is called to handle the changes.
|
|
@@ -64,6 +86,7 @@ declare class AlphagovAccessibleAutocompleteComponent implements OnInit, OnDestr
|
|
|
64
86
|
*/
|
|
65
87
|
private setupControlSub;
|
|
66
88
|
ngOnInit(): void;
|
|
89
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
67
90
|
ngOnDestroy(): void;
|
|
68
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlphagovAccessibleAutocompleteComponent, never>;
|
|
69
92
|
static ɵcmp: i0.ɵɵComponentDeclaration<AlphagovAccessibleAutocompleteComponent, "opal-lib-alphagov-accessible-autocomplete", 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; }; "autoCompleteItems": { "alias": "autoCompleteItems"; "required": true; }; "showAllValues": { "alias": "showAllValues"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "control": { "alias": "control"; "required": true; }; }, {}, never, never, true, never>;
|
|
@@ -1,16 +1,65 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TemplateRef, EventEmitter } from '@angular/core';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
interface GovukAccordionSection {
|
|
5
|
+
id?: string;
|
|
6
|
+
heading: string;
|
|
7
|
+
content?: string | TemplateRef<unknown>;
|
|
8
|
+
expanded?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare class GovukAccordionComponent {
|
|
11
|
+
private _sections;
|
|
12
|
+
private expandedStates;
|
|
13
|
+
accordionId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Sets accordion sections and syncs default expanded states.
|
|
16
|
+
*/
|
|
17
|
+
set sections(value: GovukAccordionSection[]);
|
|
18
|
+
/**
|
|
19
|
+
* Returns the current accordion sections.
|
|
20
|
+
*/
|
|
21
|
+
get sections(): GovukAccordionSection[];
|
|
22
|
+
expand: EventEmitter<string>;
|
|
23
|
+
collapse: EventEmitter<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Resolves the unique section ID for a given index.
|
|
26
|
+
*/
|
|
27
|
+
private getSectionId;
|
|
28
|
+
/**
|
|
29
|
+
* Toggles a section by its resolved ID.
|
|
30
|
+
*/
|
|
31
|
+
toggleSection(sectionId: string): void;
|
|
32
|
+
/**
|
|
33
|
+
* Expands all sections and emits expand events.
|
|
34
|
+
*/
|
|
35
|
+
expandAllSections(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Collapses all sections and emits collapse events.
|
|
38
|
+
*/
|
|
39
|
+
collapseAllSections(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Returns whether a section is expanded by index.
|
|
42
|
+
*/
|
|
43
|
+
isExpanded(index: number): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Toggles a section by index and emits the appropriate event.
|
|
46
|
+
*/
|
|
47
|
+
toggleSectionByIndex(index: number): void;
|
|
48
|
+
/**
|
|
49
|
+
* Builds the heading ID for a section.
|
|
50
|
+
*/
|
|
51
|
+
getHeadingId(index: number): string;
|
|
52
|
+
/**
|
|
53
|
+
* Builds the content ID for a section.
|
|
54
|
+
*/
|
|
55
|
+
getContentId(index: number): string;
|
|
6
56
|
/**
|
|
7
|
-
*
|
|
8
|
-
* It is called only once after the first ngAfterContentChecked.
|
|
9
|
-
* We use it to initialize the govuk-frontend component.
|
|
57
|
+
* Type guard for template content.
|
|
10
58
|
*/
|
|
11
|
-
|
|
59
|
+
isTemplateRef(content: GovukAccordionSection['content']): content is TemplateRef<unknown>;
|
|
12
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukAccordionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovukAccordionComponent, "opal-lib-govuk-accordion", never, {}, {}, never, never, true, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukAccordionComponent, "opal-lib-govuk-accordion", never, { "accordionId": { "alias": "accordionId"; "required": false; }; "sections": { "alias": "sections"; "required": true; }; }, { "expand": "expand"; "collapse": "collapse"; }, never, never, true, never>;
|
|
14
62
|
}
|
|
15
63
|
|
|
16
64
|
export { GovukAccordionComponent };
|
|
65
|
+
export type { GovukAccordionSection };
|
|
@@ -38,6 +38,7 @@ declare class GovukCheckboxesComponent {
|
|
|
38
38
|
legendClasses: string;
|
|
39
39
|
checkboxClasses: string;
|
|
40
40
|
errors: string | null;
|
|
41
|
+
get describedBy(): string | null;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukCheckboxesComponent, never>;
|
|
42
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<GovukCheckboxesComponent, "opal-lib-govuk-checkboxes", never, { "fieldSetId": { "alias": "fieldSetId"; "required": true; }; "legendText": { "alias": "legendText"; "required": true; }; "legendHint": { "alias": "legendHint"; "required": false; }; "legendClasses": { "alias": "legendClasses"; "required": false; }; "checkboxClasses": { "alias": "checkboxClasses"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
43
44
|
}
|
|
@@ -25,6 +25,7 @@ declare class GovukDateInputComponent {
|
|
|
25
25
|
dateInputs: IGovUkDateInput;
|
|
26
26
|
set group(abstractControl: AbstractControl | null);
|
|
27
27
|
get getGroup(): FormGroup<any>;
|
|
28
|
+
get describedBy(): string | null;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukDateInputComponent, never>;
|
|
29
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<GovukDateInputComponent, "opal-lib-govuk-date-input", never, { "fieldSetId": { "alias": "fieldSetId"; "required": true; }; "legendText": { "alias": "legendText"; "required": true; }; "legendHint": { "alias": "legendHint"; "required": false; }; "legendClasses": { "alias": "legendClasses"; "required": false; }; "errorDay": { "alias": "errorDay"; "required": false; }; "errorMonth": { "alias": "errorMonth"; "required": false; }; "errorYear": { "alias": "errorYear"; "required": false; }; "dateInputs": { "alias": "dateInputs"; "required": true; }; "group": { "alias": "group"; "required": true; }; }, {}, never, never, true, never>;
|
|
30
31
|
}
|
|
@@ -2,12 +2,18 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
|
|
3
3
|
type GovukBannerType = 'success' | 'information';
|
|
4
4
|
declare class GovukNotificationBannerComponent {
|
|
5
|
+
private readonly generatedTitleId;
|
|
5
6
|
titleText: string;
|
|
6
7
|
headingText: string;
|
|
7
8
|
messageText: string;
|
|
8
9
|
type: GovukBannerType;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Resolves the title ID, preferring the provided one.
|
|
13
|
+
*/
|
|
14
|
+
get computedTitleId(): string;
|
|
9
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukNotificationBannerComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovukNotificationBannerComponent, "opal-lib-govuk-notification-banner", never, { "titleText": { "alias": "titleText"; "required": true; }; "headingText": { "alias": "headingText"; "required": true; }; "messageText": { "alias": "messageText"; "required": true; }; "type": { "alias": "type"; "required": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukNotificationBannerComponent, "opal-lib-govuk-notification-banner", never, { "titleText": { "alias": "titleText"; "required": true; }; "headingText": { "alias": "headingText"; "required": true; }; "messageText": { "alias": "messageText"; "required": true; }; "type": { "alias": "type"; "required": true; }; "titleId": { "alias": "titleId"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
export { GovukNotificationBannerComponent };
|
|
@@ -40,6 +40,7 @@ declare class GovukRadioComponent {
|
|
|
40
40
|
legendClasses: string;
|
|
41
41
|
radioClasses: string;
|
|
42
42
|
errors: string | null;
|
|
43
|
+
get describedBy(): string | null;
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukRadioComponent, never>;
|
|
44
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<GovukRadioComponent, "opal-lib-govuk-radio", never, { "fieldSetId": { "alias": "fieldSetId"; "required": true; }; "legendText": { "alias": "legendText"; "required": false; }; "legendHint": { "alias": "legendHint"; "required": false; }; "legendClasses": { "alias": "legendClasses"; "required": false; }; "radioClasses": { "alias": "radioClasses"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
45
46
|
}
|
|
@@ -18,6 +18,7 @@ declare class GovukSelectComponent {
|
|
|
18
18
|
options: IGovUkSelectOptions[];
|
|
19
19
|
set control(abstractControl: AbstractControl);
|
|
20
20
|
get getControl(): FormControl<any>;
|
|
21
|
+
get describedBy(): string | null;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukSelectComponent, never>;
|
|
22
23
|
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>;
|
|
23
24
|
}
|
package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.d.ts
CHANGED
|
@@ -3,19 +3,32 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
declare class GovukTabsListItemComponent {
|
|
4
4
|
private readonly router;
|
|
5
5
|
private readonly route;
|
|
6
|
-
|
|
6
|
+
private readonly elementRef;
|
|
7
|
+
tabItemId?: string;
|
|
7
8
|
tabItemFragment: string;
|
|
8
9
|
activeTabItemFragment: string;
|
|
9
10
|
get hostClass(): string;
|
|
10
|
-
get
|
|
11
|
+
get hostRole(): string;
|
|
12
|
+
/**
|
|
13
|
+
* Resolves the tab item ID, using the tabs prefix when none is provided.
|
|
14
|
+
*/
|
|
15
|
+
get resolvedTabItemId(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Indicates whether this tab matches the active fragment.
|
|
18
|
+
*/
|
|
19
|
+
get isActive(): boolean;
|
|
11
20
|
/**
|
|
12
21
|
* Handles the click event of a sub-navigation item.
|
|
13
22
|
* @param event - The click event.
|
|
14
23
|
* @param item - The item string.
|
|
15
24
|
*/
|
|
16
25
|
handleItemClick(event: Event, item: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Navigates to the provided fragment.
|
|
28
|
+
*/
|
|
29
|
+
activate(fragment: string): void;
|
|
17
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTabsListItemComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsListItemComponent, "opal-lib-govuk-tabs-list-item, [opal-lib-govuk-tabs-list-item]", never, { "tabItemId": { "alias": "tabItemId"; "required":
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsListItemComponent, "opal-lib-govuk-tabs-list-item, [opal-lib-govuk-tabs-list-item]", never, { "tabItemId": { "alias": "tabItemId"; "required": false; }; "tabItemFragment": { "alias": "tabItemFragment"; "required": true; }; "activeTabItemFragment": { "alias": "activeTabItemFragment"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
19
32
|
}
|
|
20
33
|
|
|
21
34
|
export { GovukTabsListItemComponent };
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class GovukTabsPanelComponent {
|
|
4
|
+
private readonly elementRef;
|
|
5
|
+
tabItemId?: string;
|
|
6
|
+
hostClass: string;
|
|
7
|
+
role: string;
|
|
8
|
+
/**
|
|
9
|
+
* Ensures the panel renders as a block element so GOV.UK padding/border styles wrap content correctly.
|
|
10
|
+
*/
|
|
11
|
+
display: string;
|
|
12
|
+
get ariaLabelledBy(): string | null;
|
|
4
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTabsPanelComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsPanelComponent, "opal-lib-govuk-tabs-panel", never, {}, {}, never, ["*"], true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsPanelComponent, "opal-lib-govuk-tabs-panel", never, { "tabItemId": { "alias": "tabItemId"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
15
|
}
|
|
7
16
|
|
|
8
17
|
export { GovukTabsPanelComponent };
|
|
@@ -5,7 +5,16 @@ declare class GovukTabsComponent implements OnInit, OnDestroy {
|
|
|
5
5
|
private readonly route;
|
|
6
6
|
private readonly ngUnsubscribe;
|
|
7
7
|
tabId: string;
|
|
8
|
+
titleText: string;
|
|
8
9
|
activeTabFragmentChange: EventEmitter<string>;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the ID for the tabs title element.
|
|
12
|
+
*/
|
|
13
|
+
get titleId(): string;
|
|
14
|
+
get role(): string;
|
|
15
|
+
/**
|
|
16
|
+
* Subscribes to URL fragment changes and emits active tab updates.
|
|
17
|
+
*/
|
|
9
18
|
private setupListeners;
|
|
10
19
|
/**
|
|
11
20
|
* Angular lifecycle hook that is called after the component's data-bound properties have been initialized.
|
|
@@ -21,7 +30,7 @@ declare class GovukTabsComponent implements OnInit, OnDestroy {
|
|
|
21
30
|
*/
|
|
22
31
|
ngOnDestroy(): void;
|
|
23
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTabsComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsComponent, "opal-lib-govuk-tabs", never, { "tabId": { "alias": "tabId"; "required":
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTabsComponent, "opal-lib-govuk-tabs", never, { "tabId": { "alias": "tabId"; "required": false; }; "titleText": { "alias": "titleText"; "required": false; }; }, { "activeTabFragmentChange": "activeTabFragmentChange"; }, never, ["[tab-list-items]", "[tab-panels]"], true, never>;
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
export { GovukTabsComponent };
|
|
@@ -19,6 +19,7 @@ declare class GovukTextAreaComponent {
|
|
|
19
19
|
maxCharacterLimit: number;
|
|
20
20
|
set control(abstractControl: AbstractControl | null);
|
|
21
21
|
get getControl(): FormControl<any>;
|
|
22
|
+
get describedBy(): string | null;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTextAreaComponent, never>;
|
|
23
24
|
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>;
|
|
24
25
|
}
|
package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare class GovukTextInputPrefixSuffixComponent {
|
|
|
18
18
|
*/
|
|
19
19
|
onBlurFormatToTwoDecimalPlaces(): void;
|
|
20
20
|
get getControl(): FormControl<any>;
|
|
21
|
+
get describedBy(): string | null;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTextInputPrefixSuffixComponent, never>;
|
|
22
23
|
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>;
|
|
23
24
|
}
|
|
@@ -13,6 +13,7 @@ declare class GovukTextInputComponent {
|
|
|
13
13
|
errors: string | null;
|
|
14
14
|
set control(abstractControl: AbstractControl | null);
|
|
15
15
|
get getControl(): FormControl<any>;
|
|
16
|
+
get describedBy(): string | null;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTextInputComponent, never>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTextInputComponent, "opal-lib-govuk-text-input", 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; }; "hintHtml": { "alias": "hintHtml"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "control": { "alias": "control"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
18
19
|
}
|
|
@@ -2,10 +2,11 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
|
|
3
3
|
declare class HodLoadingSpinnerComponent {
|
|
4
4
|
spinnerId: string;
|
|
5
|
+
statusText: string;
|
|
5
6
|
hostClasses: string;
|
|
6
7
|
role: string;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<HodLoadingSpinnerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HodLoadingSpinnerComponent, "opal-lib-hod-loading-spinner, [opal-lib-hod-loading-spinner]", never, { "spinnerId": { "alias": "spinnerId"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HodLoadingSpinnerComponent, "opal-lib-hod-loading-spinner, [opal-lib-hod-loading-spinner]", never, { "spinnerId": { "alias": "spinnerId"; "required": true; }; "statusText": { "alias": "statusText"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export { HodLoadingSpinnerComponent };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
2
|
|
|
4
3
|
declare class MojButtonMenuComponent {
|
|
5
4
|
menuButtonTitle: string;
|
|
6
|
-
|
|
5
|
+
menuId: string;
|
|
7
6
|
hostClasses: string;
|
|
8
7
|
dataModule: string;
|
|
9
8
|
get dataButtonText(): string;
|
|
@@ -21,7 +20,7 @@ declare class MojButtonMenuComponent {
|
|
|
21
20
|
*/
|
|
22
21
|
toggleButtonMenu(): void;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<MojButtonMenuComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MojButtonMenuComponent, "opal-lib-moj-button-menu", never, { "menuButtonTitle": { "alias": "menuButtonTitle"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojButtonMenuComponent, "opal-lib-moj-button-menu", never, { "menuButtonTitle": { "alias": "menuButtonTitle"; "required": true; }; "menuId": { "alias": "menuId"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
export { MojButtonMenuComponent };
|
|
@@ -20,6 +20,7 @@ declare class MojDatePickerComponent implements OnInit {
|
|
|
20
20
|
dateChange: EventEmitter<string>;
|
|
21
21
|
set control(abstractControl: AbstractControl);
|
|
22
22
|
get getControl(): FormControl<any>;
|
|
23
|
+
get describedBy(): string | null;
|
|
23
24
|
constructor();
|
|
24
25
|
/**
|
|
25
26
|
* Retrieves the disabled dates and concatenates them into a single string.
|
|
@@ -2,6 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
|
|
3
3
|
declare class MojFilterComponent {
|
|
4
4
|
showFilter: boolean;
|
|
5
|
+
filterId: string;
|
|
5
6
|
/**
|
|
6
7
|
* Toggles the visibility of the filter panel.
|
|
7
8
|
*
|
|
@@ -10,7 +11,7 @@ declare class MojFilterComponent {
|
|
|
10
11
|
*/
|
|
11
12
|
toggleFilter(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MojFilterComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MojFilterComponent, "opal-lib-moj-filter", never, { "showFilter": { "alias": "showFilter"; "required": false; }; }, {}, never, ["[mojFilterPanel]", "[mojFilterContent]"], true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MojFilterComponent, "opal-lib-moj-filter", never, { "showFilter": { "alias": "showFilter"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; }, {}, never, ["[mojFilterPanel]", "[mojFilterContent]"], true, never>;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
export { MojFilterComponent };
|